13212 lines
599 KiB
TypeScript
13212 lines
599 KiB
TypeScript
/* Metro module 9484; source: modules/quests/QuestActionCreators.tsx; dependencies: [5, 9485, 4897, 4896, 7093, 7095, 6528, 661, 507, 694, 4132, 6531, 1244, 7100, 1216, 5046, 480, 9486, 7110, 9489, 7091, 9490, 4875, 7113, 9491, 3987, 7121, 9492, 683, 7071, 9494, 9495, 672, 9509, 2] */
|
|
import Module00005 from '../../by-id/module-00005.js'; /* Metro dependency 5 */
|
|
import Durations from '../../utils/Durations.tsx'; /* Metro dependency 672 */
|
|
import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */
|
|
import SortedGuildStore from '../../stores/SortedGuildStore.tsx'; /* Metro dependency 4896 */
|
|
import ExpandedGuildFolderStore from '../../stores/ExpandedGuildFolderStore.tsx'; /* Metro dependency 4897 */
|
|
import QuestStore from './QuestStore.tsx'; /* Metro dependency 7093 */
|
|
import VideoQuestUIStore from './VideoQuestUIStore.tsx'; /* Metro dependency 7095 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
|
|
import * as QuestConstantsModule from './QuestConstants.tsx'; /* Metro dependency 6528 */
|
|
import * as VideoQuestUIStoreModule from './VideoQuestUIStore.tsx'; /* Metro dependency 7095 */
|
|
import * as SidebarVisibilityMethodStoreModule from '../guild_sidebar/SidebarVisibilityMethodStore.tsx'; /* Metro dependency 9485 */
|
|
|
|
function _fun73939(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73939, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:6, offset: 0x01d7b964, size: 1056 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Millis = (Durations).Millis;
|
|
const MINUTE = Millis.MINUTE;
|
|
const env0_14 = 5 * MINUTE;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/quests/QuestActionCreators.tsx');
|
|
exports.manuallyStartConsoleQuest = function() {
|
|
return _manuallyStartConsoleQuest.apply(this, arguments);
|
|
};
|
|
exports.manualStopConsoleQuest = function() {
|
|
return _manualStopConsoleQuest.apply(this, arguments);
|
|
};
|
|
exports.resetRecentQuestCompletions = function() {
|
|
return _resetRecentQuestCompletions.apply(this, arguments);
|
|
};
|
|
exports.fetchCurrentQuests = function() {
|
|
return _fetchCurrentQuests.apply(this, arguments);
|
|
};
|
|
exports.sendHeartbeat = function() {
|
|
return _sendHeartbeat.apply(this, arguments);
|
|
};
|
|
exports.QuestEnrollmentResultType = {SUCCESS: 'success', CAPTCHA_FAILED: 'captcha_failed',
|
|
UNKNOWN_ERROR: 'unknown_error', PREVIOUS_IN_FLIGHT_REQUEST: 'previous_in_flight_request'};
|
|
exports.enrollInQuest = function() {
|
|
return _enrollInQuest.apply(this, arguments);
|
|
};
|
|
exports.claimQuestReward = function() {
|
|
return _claimQuestReward.apply(this, arguments);
|
|
};
|
|
exports.fetchQuestRewardCode = function() {
|
|
return _fetchQuestRewardCode.apply(this, arguments);
|
|
};
|
|
exports.dismissQuestContent = function() {
|
|
return _dismissQuestContent.apply(this, arguments);
|
|
};
|
|
exports.dismissProgressTrackingFailureNotice = dismissProgressTrackingFailureNotice;
|
|
exports.completeQuestPreview = function() {
|
|
return _completeQuestPreview.apply(this, arguments);
|
|
};
|
|
exports.resetQuestPreviewStatus = function() {
|
|
return _resetQuestPreviewStatus.apply(this, arguments);
|
|
};
|
|
exports.resetQuestDismissibilityStatus = function() {
|
|
return _resetQuestDismissibilityStatus.apply(this, arguments);
|
|
};
|
|
exports.overrideQuestForPlacement = overrideQuestForPlacement;
|
|
exports.selectTaskPlatform = selectTaskPlatform;
|
|
exports.questsVisibleMobileMessagesChanged = questsVisibleMobileMessagesChanged;
|
|
exports.fetchClaimedQuests = function() {
|
|
return _fetchClaimedQuests.apply(this, arguments);
|
|
};
|
|
exports.updateOptimisticProgress = updateOptimisticProgress;
|
|
exports.resetOptimisticProgress = resetOptimisticProgress;
|
|
exports.fetchQuestToDeliver = function() {
|
|
return _fetchQuestToDeliver.apply(this, arguments);
|
|
};
|
|
exports.clearQuestAdDecision = clearQuestAdDecision;
|
|
exports.fetchEarnedQuestToDeliver = function() {
|
|
return _fetchEarnedQuestToDeliver.apply(this, arguments);
|
|
};
|
|
exports.updatePrevRestingQuestDockMode = updatePrevRestingQuestDockMode;
|
|
exports.updateVideoProgress = function() {
|
|
return _updateVideoProgress.apply(this, arguments);
|
|
};
|
|
exports.fetchVideoTranscript = function() {
|
|
return _fetchVideoTranscript.apply(this, arguments);
|
|
};
|
|
exports.updateQuestDockVisibilityEligibility = updateQuestDockVisibilityEligibility;
|
|
exports.fetchQuest = function() {
|
|
return _fetchQuest.apply(this, arguments);
|
|
};
|
|
exports.fetchQuestPreview = function() {
|
|
return _fetchQuestPreview.apply(this, arguments);
|
|
};
|
|
exports.fetchQuestHomeHero = function() {
|
|
return _fetchQuestHomeHero.apply(this, arguments);
|
|
};
|
|
exports.fetchQuestHomeHeroPreview = function() {
|
|
return _fetchQuestHomeHeroPreview.apply(this, arguments);
|
|
};
|
|
exports.dismissQuestActivityModal = dismissQuestActivityModal;
|
|
exports.setAutoEnroll = setAutoEnroll;
|
|
exports.markAdContentSeen = markAdContentSeen;
|
|
exports.markAdContentUnseen = markAdContentUnseen;
|
|
exports.markQuestDiscovered = markQuestDiscovered;
|
|
function _manuallyStartConsoleQuest() { // fn#73940, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:276, offset: 0x01d7bd84, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73942).apply(this, arguments);
|
|
async function _fun73942(a0) { // fn#73942, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:351, offset: 0x01d7bdca, size: 663 bytes, params: 2, frame: 23
|
|
var r1;
|
|
var r10;
|
|
var r4;
|
|
var value;
|
|
var value2;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value6;
|
|
var HTTP;
|
|
var post;
|
|
var object;
|
|
var QUEST_ON_CONSOLE_START;
|
|
var value7;
|
|
var object2;
|
|
var value8;
|
|
var value9;
|
|
var value10;
|
|
var body;
|
|
var quest_user_status;
|
|
var value11;
|
|
var error_hints_v2;
|
|
var value12;
|
|
var length;
|
|
var value13;
|
|
var slice;
|
|
var value14;
|
|
var binding3;
|
|
var value15;
|
|
var dispatch;
|
|
var error;
|
|
var value16;
|
|
var prototype;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var status;
|
|
var getAnyErrorMessage;
|
|
var value20;
|
|
var binding4;
|
|
var intl;
|
|
var string;
|
|
var t;
|
|
var xSCvBf;
|
|
var value21;
|
|
var object3;
|
|
var QuestConsoleStartErrorLocal;
|
|
var GENERIC;
|
|
var object4;
|
|
var binding5;
|
|
exceptionSkip66: while (true) {
|
|
exceptionLanding66: while (true) {
|
|
value = a1;
|
|
value2 = undefined;
|
|
value3 = false;
|
|
if (value3) {
|
|
return value2;
|
|
}
|
|
value4 = undefined;
|
|
if (value !== value4) {
|
|
r1 = value;
|
|
} else {
|
|
r1 = false;
|
|
}
|
|
await value4;
|
|
value = undefined;
|
|
value5 = false;
|
|
if (value5) {
|
|
return value;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value6 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
HTTP = value6.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
post = HTTP.post;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
QUEST_ON_CONSOLE_START = binding.QUEST_ON_CONSOLE_START;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value7 = Reflect.apply(QUEST_ON_CONSOLE_START, binding, [a0]);
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object.url = value7;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
if (r1) {
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object2.preview = r1;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
r10 = object2;
|
|
} else {
|
|
r10 = value4;
|
|
}
|
|
try {
|
|
object.query = r10;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object.failImmediatelyWhenRateLimited = true;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value8 = Reflect.apply(post, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
await value8;
|
|
try {
|
|
value9 = undefined;
|
|
value10 = false;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
if (value10) {
|
|
return value9;
|
|
}
|
|
try {
|
|
body = value9.body;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
quest_user_status = body.quest_user_status;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value11 = quest_user_status != null;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
if (value11) {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value15 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
dispatch = value15.dispatch;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_USER_STATUS_UPDATE';
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
quest_user_status = body.quest_user_status;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object.user_status = quest_user_status;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value15, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
return {errorHints: []};
|
|
}
|
|
try {
|
|
error_hints_v2 = body.error_hints_v2;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value12 = error_hints_v2 == null;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
if (value12) {
|
|
return {errorHints: []};
|
|
}
|
|
try {
|
|
error_hints_v2 = body.error_hints_v2;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
length = error_hints_v2.length;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value13 = length > 0;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
if (value13) {
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
error_hints_v2 = body.error_hints_v2;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
slice = error_hints_v2.slice;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
value14 = Reflect.apply(slice, error_hints_v2, [0, 5]);
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
try {
|
|
object.errorHints = value14;
|
|
} catch (error) {
|
|
break exceptionLanding66;
|
|
}
|
|
return object;
|
|
}
|
|
return {errorHints: []};
|
|
break exceptionSkip66;
|
|
}
|
|
binding = env2_1;
|
|
value16 = binding(env2_2[10]);
|
|
prototype = value16.prototype;
|
|
value17 = Object.create(prototype, {constructor: {value: value16}});
|
|
value18 = new value16();
|
|
value19 = value18 instanceof Object ? value18 : value17;
|
|
status = value19.status;
|
|
if (status === 429) {
|
|
object4 = {};
|
|
binding = env2_0;
|
|
binding5 = env2_2;
|
|
object4.type = binding(binding5[11]).QuestConsoleStartErrorLocal.RATE_LIMITED;
|
|
intl = binding(binding5[12]).intl;
|
|
object4.message = intl.string(binding(binding5[12]).t.Whhv4w);
|
|
object4.connected_account_id = '';
|
|
object4.connected_account_type = '';
|
|
return {errorHints: [object4]};
|
|
}
|
|
getAnyErrorMessage = value19.getAnyErrorMessage;
|
|
value20 = Reflect.apply(getAnyErrorMessage, value19, []);
|
|
if (value20 != null) {
|
|
r4 = value20;
|
|
object3 = {};
|
|
object3.type = env2_0(env2_2[11]).QuestConsoleStartErrorLocal.GENERIC;
|
|
object3.message = r4;
|
|
object3.connected_account_id = '';
|
|
object3.connected_account_type = '';
|
|
return {errorHints: [object3]};
|
|
}
|
|
binding = env2_0;
|
|
binding4 = env2_2;
|
|
intl = binding(binding4[12]).intl;
|
|
string = intl.string;
|
|
t = binding(binding4[12]).t;
|
|
xSCvBf = t.xSCvBf;
|
|
value21 = Reflect.apply(string, intl, [xSCvBf]);
|
|
r4 = value21;
|
|
binding = env2_0;
|
|
QuestConsoleStartErrorLocal = binding(env2_2[11]).QuestConsoleStartErrorLocal;
|
|
GENERIC = QuestConsoleStartErrorLocal.GENERIC;
|
|
return {errorHints: [{type: GENERIC, message: r4, connected_account_id: '', connected_account_type: ''}]};
|
|
break exceptionSkip66;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _manualStopConsoleQuest() { // fn#73943, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1234, offset: 0x01d7c061, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73945).apply(this, arguments);
|
|
function* _fun73945(a0) { // fn#73945, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1303, offset: 0x01d7c09e, size: 97 bytes, params: 2, frame: 16
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var HTTP = env2_0(env2_2[8]).HTTP;
|
|
var post = HTTP.post;
|
|
var object = {};
|
|
object.url = env2_12.QUEST_ON_CONSOLE_STOP(a0);
|
|
object.rejectWithError = false;
|
|
yield Reflect.apply(post, HTTP, [object]);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _resetRecentQuestCompletions() { // fn#73946, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1419, offset: 0x01d7c0ff, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73948).apply(this, arguments);
|
|
function* _fun73948() { // fn#73948, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1498, offset: 0x01d7c13c, size: 89 bytes, params: 1, frame: 14
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var HTTP = env2_0(env2_2[8]).HTTP;
|
|
var del = HTTP.del;
|
|
var QUESTS_RESET_RECENT_QUEST_COMPLETIONS = env2_12.QUESTS_RESET_RECENT_QUEST_COMPLETIONS;
|
|
yield Reflect.apply(del, HTTP, [{url: QUESTS_RESET_RECENT_QUEST_COMPLETIONS, rejectWithError: false}]);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchCurrentQuests() { // fn#73949, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1625, offset: 0x01d7c195, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73951).apply(this, arguments);
|
|
function* _fun73951() { // fn#73951, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1686, offset: 0x01d7c1d2, size: 654 bytes, params: 1, frame: 31
|
|
var environment;
|
|
var isFetchingCurrentQuests;
|
|
var quests;
|
|
var keys;
|
|
var value3;
|
|
var object;
|
|
var binding;
|
|
var value4;
|
|
var dispatch;
|
|
var binding2;
|
|
var property;
|
|
var value5;
|
|
var HTTP;
|
|
var get;
|
|
var object3;
|
|
var QUESTS_CURRENT_QUESTS;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var body;
|
|
var filter;
|
|
var closure;
|
|
var value9;
|
|
var map;
|
|
var value10;
|
|
var quest_enrollment_blocked_until;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
var value16;
|
|
var value17;
|
|
var binding3;
|
|
var value18;
|
|
var addBreadcrumb;
|
|
var object4;
|
|
var object5;
|
|
var length;
|
|
var excluded_quests;
|
|
var value19;
|
|
var value20;
|
|
var error;
|
|
var binding4;
|
|
var value21;
|
|
var prototype;
|
|
var value22;
|
|
var value23;
|
|
var value24;
|
|
let value = undefined;
|
|
if (false) {
|
|
return value;
|
|
}
|
|
reduciblePort91: while (true) {
|
|
exceptionLanding90: while (true) {
|
|
var env0_0 = undefined;
|
|
var env0_1 = undefined;
|
|
value = environment.__proto__.__proto__;
|
|
isFetchingCurrentQuests = env2_7.isFetchingCurrentQuests;
|
|
if (isFetchingCurrentQuests) {
|
|
break reduciblePort91;
|
|
}
|
|
quests = env2_7.quests;
|
|
keys = quests.keys;
|
|
value3 = Reflect.apply(keys, quests, []);
|
|
object = [];
|
|
arraySpread(object, value3, 0, undefined);
|
|
binding = env2_1;
|
|
value4 = binding(env2_2[9]);
|
|
dispatch = value4.dispatch;
|
|
Reflect.apply(dispatch, value4, [{type: 'QUESTS_FETCH_CURRENT_QUESTS_BEGIN'}]);
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value5 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
HTTP = value5.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object3 = {};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
QUESTS_CURRENT_QUESTS = binding.QUESTS_CURRENT_QUESTS;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object3.url = QUESTS_CURRENT_QUESTS;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object3.rejectWithError = false;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value6 = Reflect.apply(get, HTTP, [object3]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
yield value6;
|
|
try {
|
|
value7 = undefined;
|
|
value8 = false;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
if (value8) {
|
|
return value7;
|
|
}
|
|
try {
|
|
body = value7.body;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
quests = body.quests;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
filter = quests.filter;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73952;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value9 = Reflect.apply(filter, quests, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
map = value9.map;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73953;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(map, value9, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
body = value7.body;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
quest_enrollment_blocked_until = body.quest_enrollment_blocked_until;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
filter = value10.filter;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = function(a0) {
|
|
return a0.userStatus?.claimedAt != null || a0.config.rewardsConfig.platforms.length > 0;
|
|
};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(filter, value10, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
map = quests.map;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73955;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value12 = Reflect.apply(map, quests, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
map = value10.map;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73956;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value13 = Reflect.apply(map, value10, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
env0_0 = value13;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
filter = value12.filter;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73957;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value14 = Reflect.apply(filter, value12, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
map = value11.map;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73958;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value15 = Reflect.apply(map, value11, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
env0_1 = value15;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
filter = value13.filter;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73959;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value16 = Reflect.apply(filter, value13, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
filter = object.filter;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73960;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value17 = Reflect.apply(filter, object, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
property = binding3[14];
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value18 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
addBreadcrumb = value18.addBreadcrumb;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object4 = {'category': 'quests.fetch', 'message': 'fetchCurrentQuests completed'};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5 = {};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
length = value12.length;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.rawCount = length;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.rawIds = value12;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
length = value15.length;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.validCount = length;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.validIds = value15;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.prevQuestIds = object;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.droppedByConfigVersion = value14;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.droppedByPlatformFilter = value16;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object5.removedFromStore = value17;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object4.data = object5;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
Reflect.apply(addBreadcrumb, value18, [object4]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
body = value7.body;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
excluded_quests = body.excluded_quests;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
map = excluded_quests.map;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73961;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value19 = Reflect.apply(map, excluded_quests, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value20 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
dispatch = value20.dispatch;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_FETCH_CURRENT_QUESTS_SUCCESS';
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.quests = value11;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.excludedQuests = value19;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.questEnrollmentBlockedUntil = quest_enrollment_blocked_until;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value20, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
break reduciblePort91;
|
|
}
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value21 = binding(binding4[10]);
|
|
prototype = value21.prototype;
|
|
value22 = Object.create(prototype, {constructor: {value: value21}});
|
|
value23 = new value21();
|
|
value24 = value23 instanceof Object ? value23 : value22;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_CURRENT_QUESTS_FAILURE', error: value24}]);
|
|
break reduciblePort91;
|
|
}
|
|
function _fun73952(a0) { // fn#73952, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1928, offset: 0x01d7c460, size: 41 bytes, params: 2, frame: 11
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return env3_0(env3_2[13]).isQuestWithKnownConfigVersion(a0);
|
|
}
|
|
|
|
function _fun73953(a0) { // fn#73953, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:1980, offset: 0x01d7c489, size: 41 bytes, params: 2, frame: 11
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return env3_0(env3_2[13]).questWithUserStatusFromServer(a0);
|
|
}
|
|
|
|
function _fun73957(a0) { // fn#73957, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2242, offset: 0x00e67170, size: 25 bytes, params: 2, frame: 11
|
|
const binding = env0_0;
|
|
return !binding.includes(a0);
|
|
}
|
|
|
|
function _fun73959(a0) { // fn#73959, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2293, offset: 0x01211f95, size: 25 bytes, params: 2, frame: 11
|
|
const binding = env0_1;
|
|
return !binding.includes(a0);
|
|
}
|
|
|
|
function _fun73960(a0) { // fn#73960, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2325, offset: 0x01211f95, size: 25 bytes, params: 2, frame: 11
|
|
const binding = env0_1;
|
|
return !binding.includes(a0);
|
|
}
|
|
|
|
function _fun73961(a0) { // fn#73961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2618, offset: 0x01d7c4f2, size: 41 bytes, params: 2, frame: 11
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return env3_0(env3_2[13]).excludedQuestFromServer(a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function _sendHeartbeat() { // fn#73962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2901, offset: 0x01d7c51b, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73964).apply(this, arguments);
|
|
async function _fun73964({questId, streamKey, applicationId, terminal, executablePath, executableFingerprint}) { // fn#73964, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2952, offset: 0x01d7c561, size: 523 bytes, params: 2, frame: 26
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var post;
|
|
var object;
|
|
var QUESTS_HEARTBEAT;
|
|
var value5;
|
|
var object2;
|
|
var object3;
|
|
var value6;
|
|
var NetworkActionNames;
|
|
var QUEST_HEARTBEAT;
|
|
var object4;
|
|
var Error;
|
|
var prototype;
|
|
var error;
|
|
var value8;
|
|
var stack;
|
|
var value9;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var binding3;
|
|
var value14;
|
|
var dispatch;
|
|
var value15;
|
|
var questUserStatusFromServer;
|
|
var body;
|
|
var value16;
|
|
var binding4;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var value20;
|
|
if (true) {
|
|
terminal = !(terminal === undefined) && terminal;
|
|
await undefined;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding2[15];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
post = value4.post;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
QUESTS_HEARTBEAT = binding.QUESTS_HEARTBEAT;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(QUESTS_HEARTBEAT, binding, [questId]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.url = value5;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.stream_key = streamKey;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.application_id = applicationId;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.terminal = terminal;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.executable_path = executablePath;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.executable_fingerprint = executableFingerprint;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.body = object2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object3 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding2[16];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value6 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
NetworkActionNames = value6.NetworkActionNames;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
QUEST_HEARTBEAT = NetworkActionNames.QUEST_HEARTBEAT;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object3.event = QUEST_HEARTBEAT;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object4 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object4.quest_id = questId;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object4.application_id = applicationId;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object4.terminal = terminal;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object4.is_overlay = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
Error = global.Error;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
prototype = Error.prototype;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
error = new Error();
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value8 = error instanceof Object ? error : undefined;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
stack = value8.stack;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value9 = stack != null;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object4.stack_trace = value9 ? stack : '';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object4.is_playtime_eligible = true;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object3.properties = object4;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.trackedActionData = object3;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(post, value4, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
await value11;
|
|
try {
|
|
value12 = undefined;
|
|
value13 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
if (value13) {
|
|
return value12;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value14 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
dispatch = value14.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_SEND_HEARTBEAT_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[13];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value15 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
questUserStatusFromServer = value15.questUserStatusFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
body = value12.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value16 = Reflect.apply(questUserStatusFromServer, value15, [body]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.userStatus = value16;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.questId = questId;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.streamKey = streamKey;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value14, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value17 = binding(binding4[10]);
|
|
prototype = value17.prototype;
|
|
value18 = Object.create(prototype, {constructor: {value: value17}});
|
|
value19 = new value17();
|
|
value20 = value19 instanceof Object ? value19 : value18;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_SEND_HEARTBEAT_FAILURE', error: value20, questId: questId,
|
|
streamKey: streamKey}]);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _enrollInQuest() { // fn#73965, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:3881, offset: 0x01d7c76c, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73967).apply(this, arguments);
|
|
function* _fun73967(a0, a1) { // fn#73967, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:3932, offset: 0x01d7c7a9, size: 880 bytes, params: 3, frame: 28
|
|
var r12;
|
|
var r11;
|
|
var r3;
|
|
var captcha_key;
|
|
var r4;
|
|
var r8;
|
|
var r1;
|
|
var value;
|
|
var value2;
|
|
var questContentCTA;
|
|
var value3;
|
|
var value4;
|
|
var binding;
|
|
var value5;
|
|
var trackQuestContentClicked;
|
|
var object;
|
|
var questContent;
|
|
var questContentPosition;
|
|
var questContentRowIndex;
|
|
var sourceQuestContent;
|
|
var value6;
|
|
var value7;
|
|
var dismissOrbsOnboardingExperience;
|
|
var isEnrolling;
|
|
var value8;
|
|
var dispatch;
|
|
var binding2;
|
|
var property;
|
|
var value9;
|
|
var getAdMetadataSealed;
|
|
var value10;
|
|
var value11;
|
|
var getAdTrafficMetadataSealed;
|
|
var value12;
|
|
var value13;
|
|
var HTTP;
|
|
var post;
|
|
var binding3;
|
|
var QUESTS_ENROLL;
|
|
var value14;
|
|
var object2;
|
|
var value15;
|
|
var getAdDecisionData;
|
|
var questContent2;
|
|
var value16;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var value20;
|
|
var value21;
|
|
var binding4;
|
|
var value22;
|
|
var value23;
|
|
var questUserStatusFromServer;
|
|
var body;
|
|
var value24;
|
|
var SUCCESS;
|
|
var error;
|
|
var binding5;
|
|
var value25;
|
|
var CaptchaCancelError;
|
|
var value26;
|
|
var value27;
|
|
var value28;
|
|
var status;
|
|
var value29;
|
|
var value30;
|
|
var captchaFields;
|
|
var value31;
|
|
var Object;
|
|
var keys;
|
|
var length;
|
|
var value32;
|
|
var fields;
|
|
var UNKNOWN_ERROR;
|
|
var CAPTCHA_FAILED;
|
|
exceptionSkip84: while (true) {
|
|
exceptionLanding84: while (true) {
|
|
value = undefined;
|
|
value2 = false;
|
|
if (value2) {
|
|
return value;
|
|
}
|
|
value = undefined;
|
|
questContentCTA = a1.questContentCTA;
|
|
value3 = null;
|
|
if (value3 != questContentCTA) {
|
|
value4 = environment.__proto__.__proto__;
|
|
value5 = env2_0(env2_2[18]);
|
|
trackQuestContentClicked = value5.trackQuestContentClicked;
|
|
questContent = a1.questContent;
|
|
questContentCTA = a1.questContentCTA;
|
|
questContentPosition = a1.questContentPosition;
|
|
questContentRowIndex = a1.questContentRowIndex;
|
|
sourceQuestContent = a1.sourceQuestContent;
|
|
Reflect.apply(trackQuestContentClicked, value5, [{questId: a0, questContent: questContent,
|
|
questContentCTA: questContentCTA, questContentPosition: questContentPosition,
|
|
questContentRowIndex: questContentRowIndex, sourceQuestContent: sourceQuestContent}]);
|
|
}
|
|
value6 = environment.__proto__.__proto__;
|
|
if (a0 === env2_10) {
|
|
value7 = env2_0(env2_2[19]);
|
|
dismissOrbsOnboardingExperience = value7.dismissOrbsOnboardingExperience;
|
|
Reflect.apply(dismissOrbsOnboardingExperience, value7, []);
|
|
}
|
|
binding = env2_7;
|
|
isEnrolling = binding.isEnrolling;
|
|
if (Reflect.apply(isEnrolling, binding, [a0])) {
|
|
return {type: env2_13.PREVIOUS_IN_FLIGHT_REQUEST};
|
|
}
|
|
binding = env2_1;
|
|
value8 = binding(env2_2[9]);
|
|
dispatch = value8.dispatch;
|
|
Reflect.apply(dispatch, value8, [{type: 'QUESTS_ENROLL_BEGIN', questId: a0}]);
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
getAdMetadataSealed = value9.getAdMetadataSealed;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
questContent = a1.questContent;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(getAdMetadataSealed, value9, [questContent]);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value11 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
getAdTrafficMetadataSealed = value11.getAdTrafficMetadataSealed;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
questContent = a1.questContent;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value12 = Reflect.apply(getAdTrafficMetadataSealed, value11, [questContent, a0]);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value13 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
HTTP = value13.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
post = HTTP.post;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
binding3 = env2_12;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
QUESTS_ENROLL = binding3.QUESTS_ENROLL;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value14 = Reflect.apply(QUESTS_ENROLL, binding3, [a0]);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object.url = value14;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
questContent = a1.questContent;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object2.location = questContent;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value15 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
getAdDecisionData = value15.getAdDecisionData;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
questContent2 = a1.questContent;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value16 = Reflect.apply(getAdDecisionData, value15, [a0, questContent2]);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
copyDataProperties(object2, value16, questContent);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value17 = value3 != value10;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
r12 = value17 ? value10 : value3;
|
|
try {
|
|
object2['metadata_sealed'] = r12;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value18 = value3 != value12;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
r11 = value18 ? value12 : value3;
|
|
try {
|
|
object2['traffic_metadata_sealed'] = r11;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object.body = object2;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object.rejectWithError = true;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value19 = Reflect.apply(post, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
yield value19;
|
|
try {
|
|
value20 = undefined;
|
|
value21 = false;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
if (value21) {
|
|
return value20;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
property = binding4[9];
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value22 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
dispatch = value22.dispatch;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_ENROLL_SUCCESS';
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
property = binding4[13];
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value23 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
questUserStatusFromServer = value23.questUserStatusFromServer;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
body = value20.body;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
value24 = Reflect.apply(questUserStatusFromServer, value23, [body]);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object.enrolledQuestUserStatus = value24;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value22, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
binding = env2_13;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
SUCCESS = binding.SUCCESS;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
try {
|
|
object.type = SUCCESS;
|
|
} catch (error) {
|
|
break exceptionLanding84;
|
|
}
|
|
return object;
|
|
break exceptionSkip84;
|
|
}
|
|
binding = env2_1;
|
|
binding5 = env2_2;
|
|
value25 = binding(binding5[9]);
|
|
dispatch = value25.dispatch;
|
|
Reflect.apply(dispatch, value25, [{type: 'QUESTS_ENROLL_FAILURE', questId: a0}]);
|
|
binding = env2_0;
|
|
CaptchaCancelError = binding(binding5[17]).CaptchaCancelError;
|
|
value26 = error instanceof CaptchaCancelError;
|
|
reducibleJoin102: while (true) {
|
|
if (value26) {
|
|
r1 = value26;
|
|
break reducibleJoin102;
|
|
}
|
|
value27 = value3 != error;
|
|
reducibleJoin87: while (true) {
|
|
if (value27) {
|
|
value28 = typeof error === 'object';
|
|
r3 = value28;
|
|
break reducibleJoin87;
|
|
}
|
|
r3 = value27;
|
|
break reducibleJoin87;
|
|
}
|
|
reducibleJoin101: while (true) {
|
|
if (r3) {
|
|
status = error.status;
|
|
value29 = status === 400;
|
|
reducibleJoin92: while (true) {
|
|
if (value29) {
|
|
body = error.body;
|
|
reducibleJoin91: while (true) {
|
|
if (value3 == body) {
|
|
captcha_key = value;
|
|
break reducibleJoin91;
|
|
}
|
|
captcha_key = body.captcha_key;
|
|
break reducibleJoin91;
|
|
}
|
|
value30 = value3 != captcha_key;
|
|
r4 = value30;
|
|
break reducibleJoin92;
|
|
}
|
|
r4 = value29;
|
|
break reducibleJoin92;
|
|
}
|
|
reducibleJoin96: while (true) {
|
|
if (r4) {
|
|
break reducibleJoin96;
|
|
}
|
|
captchaFields = error.captchaFields;
|
|
value31 = value3 != captchaFields;
|
|
reducibleJoin95: while (true) {
|
|
if (value31) {
|
|
Object = global.Object;
|
|
keys = Object.keys;
|
|
captchaFields = error.captchaFields;
|
|
length = Reflect.apply(keys, Object, [captchaFields]).length;
|
|
value32 = length > 0;
|
|
r8 = value32;
|
|
break reducibleJoin95;
|
|
}
|
|
r8 = value31;
|
|
break reducibleJoin95;
|
|
}
|
|
r4 = r8;
|
|
break reducibleJoin96;
|
|
}
|
|
reducibleJoin100: while (true) {
|
|
if (r4) {
|
|
break reducibleJoin100;
|
|
}
|
|
fields = error.fields;
|
|
reducibleJoin99: while (true) {
|
|
if (value3 == fields) {
|
|
captcha_key = value;
|
|
break reducibleJoin99;
|
|
}
|
|
captcha_key = fields.captcha_key;
|
|
break reducibleJoin99;
|
|
}
|
|
value = value3 != captcha_key;
|
|
r4 = value;
|
|
break reducibleJoin100;
|
|
}
|
|
r3 = r4;
|
|
break reducibleJoin101;
|
|
}
|
|
break reducibleJoin101;
|
|
}
|
|
r1 = r3;
|
|
break reducibleJoin102;
|
|
}
|
|
object = {};
|
|
binding = env2_13;
|
|
if (r1) {
|
|
CAPTCHA_FAILED = binding.CAPTCHA_FAILED;
|
|
object.type = CAPTCHA_FAILED;
|
|
} else {
|
|
UNKNOWN_ERROR = binding.UNKNOWN_ERROR;
|
|
object.type = UNKNOWN_ERROR;
|
|
}
|
|
return object;
|
|
break exceptionSkip84;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _claimQuestReward() { // fn#73968, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:5290, offset: 0x01d7cb19, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73970).apply(this, arguments);
|
|
function* _fun73970(a0, a1, a2) { // fn#73970, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:5347, offset: 0x01d7cb56, size: 595 bytes, params: 4, frame: 29
|
|
var object2;
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var getAdMetadataSealed;
|
|
var value5;
|
|
var value6;
|
|
var getAdTrafficMetadataSealed;
|
|
var value7;
|
|
var value8;
|
|
var HTTP;
|
|
var post;
|
|
var binding3;
|
|
var QUESTS_CLAIM_REWARD;
|
|
var value9;
|
|
var object;
|
|
var value10;
|
|
var getAdDecisionData;
|
|
var value11;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
var value16;
|
|
var value17;
|
|
var binding4;
|
|
var value18;
|
|
var questsEntitlementsFromServer;
|
|
var body;
|
|
var value19;
|
|
var errors;
|
|
var length;
|
|
var value20;
|
|
var binding5;
|
|
var value21;
|
|
var binding6;
|
|
var value22;
|
|
var error;
|
|
var binding7;
|
|
var value23;
|
|
var prototype;
|
|
var value24;
|
|
var value25;
|
|
var value26;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
let binding = env2_7;
|
|
if (binding.isClaimingReward(a0)) {
|
|
return undefined;
|
|
}
|
|
env2_1(env2_2[9]).dispatch({type: 'QUESTS_CLAIM_REWARD_BEGIN', questId: a0});
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
getAdMetadataSealed = value4.getAdMetadataSealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(getAdMetadataSealed, value4, [a2]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value6 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
getAdTrafficMetadataSealed = value6.getAdTrafficMetadataSealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value7 = Reflect.apply(getAdTrafficMetadataSealed, value6, [a2, a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value8 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
HTTP = value8.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
post = HTTP.post;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding3 = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
QUESTS_CLAIM_REWARD = binding3.QUESTS_CLAIM_REWARD;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value9 = Reflect.apply(QUESTS_CLAIM_REWARD, binding3, [a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.url = value9;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.platform = a1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.location = a2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
getAdDecisionData = value10.getAdDecisionData;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(getAdDecisionData, value10, [a0, a2]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
copyDataProperties(object, value11, binding3);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
const value12 = null;
|
|
try {
|
|
value13 = value12 != value5;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object['metadata_sealed'] = value13 ? value5 : value12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value14 = value12 != value7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object['traffic_metadata_sealed'] = value14 ? value7 : value12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.body = object;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value15 = Reflect.apply(post, HTTP, [object2]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
yield value15;
|
|
try {
|
|
value16 = undefined;
|
|
value17 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
if (value17) {
|
|
return value16;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding4[13];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value18 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
questsEntitlementsFromServer = value18.questsEntitlementsFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
body = value16.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value19 = Reflect.apply(questsEntitlementsFromServer, value18, [body]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
errors = value19.errors;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
length = errors.length;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value20 = length === 0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
if (value20) {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding6 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding6[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value22 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
dispatch = value22.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.type = 'QUESTS_CLAIM_REWARD_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.questId = a0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.entitlements = value19;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value22, [object2]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
} else {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding5[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value21 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
dispatch = value21.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.type = 'QUESTS_CLAIM_REWARD_FAILURE';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
errors = value19.errors;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.error = errors;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.questId = a0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value21, [object2]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value = binding(binding7[9]);
|
|
dispatch = value.dispatch;
|
|
value23 = binding(binding7[10]);
|
|
prototype = value23.prototype;
|
|
value24 = Object.create(prototype, {constructor: {value: value23}});
|
|
value25 = new value23();
|
|
value26 = value25 instanceof Object ? value25 : value24;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_CLAIM_REWARD_FAILURE', error: value26, questId: a0}]);
|
|
throw error;
|
|
}
|
|
}
|
|
return value19;
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchQuestRewardCode() { // fn#73971, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:6120, offset: 0x01d7cda9, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73973).apply(this, arguments);
|
|
function* _fun73973(a0) { // fn#73973, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:6185, offset: 0x01d7cde6, size: 351 bytes, params: 2, frame: 20
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var HTTP;
|
|
var get;
|
|
var QUESTS_REWARD_CODE;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var binding3;
|
|
var value9;
|
|
var value10;
|
|
var questsRewardCodeFromServer;
|
|
var body;
|
|
var value11;
|
|
var error;
|
|
var binding4;
|
|
var value12;
|
|
var prototype;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_7;
|
|
if (!binding.isFetchingRewardCode(a0)) {
|
|
binding = env2_1;
|
|
binding(env2_2[9]).dispatch({type: 'QUESTS_FETCH_REWARD_CODE_BEGIN', questId: a0});
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
HTTP = value4.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
QUESTS_REWARD_CODE = binding.QUESTS_REWARD_CODE;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(QUESTS_REWARD_CODE, binding, [a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.url = value5;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value6 = Reflect.apply(get, HTTP, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
yield value6;
|
|
try {
|
|
value7 = undefined;
|
|
value8 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
if (value8) {
|
|
return value7;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
dispatch = value9.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_FETCH_REWARD_CODE_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.questId = a0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding3[13];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
questsRewardCodeFromServer = value10.questsRewardCodeFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
body = value7.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(questsRewardCodeFromServer, value10, [body]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.rewardCode = value11;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value9, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_REWARD_CODE_FAILURE', error: value15,
|
|
questId: a0}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _dismissQuestContent() { // fn#73974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:6643, offset: 0x01d7cf45, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73976).apply(this, arguments);
|
|
function* _fun73976(a0, a1) { // fn#73976, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:6706, offset: 0x01d7cf82, size: 477 bytes, params: 3, frame: 26
|
|
var r10;
|
|
var binding;
|
|
var isDismissingContent;
|
|
var isDismissingContent2;
|
|
var value3;
|
|
var isDismissible;
|
|
var isDismissible2;
|
|
var value4;
|
|
var dispatch;
|
|
var object;
|
|
var binding2;
|
|
var property;
|
|
var value5;
|
|
var getAdTrafficMetadataSealed;
|
|
var value6;
|
|
var value7;
|
|
var HTTP;
|
|
var post;
|
|
var binding3;
|
|
var QUESTS_DISMISS_CONTENT;
|
|
var value8;
|
|
var object2;
|
|
var value9;
|
|
var getAdDecisionData;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
var binding4;
|
|
var value16;
|
|
var value17;
|
|
var questUserStatusFromServer;
|
|
var body;
|
|
var value18;
|
|
var error;
|
|
var binding5;
|
|
var value19;
|
|
var prototype;
|
|
var value20;
|
|
var value21;
|
|
var value22;
|
|
let value = undefined;
|
|
if (false) {
|
|
return value;
|
|
}
|
|
reduciblePort60: while (true) {
|
|
exceptionLanding59: while (true) {
|
|
value = environment.__proto__.__proto__;
|
|
binding = env2_7;
|
|
isDismissingContent = binding.isDismissingContent;
|
|
isDismissingContent2 = Reflect.apply(isDismissingContent, binding, [a0]);
|
|
binding = env2_0;
|
|
value3 = binding(env2_2[20]);
|
|
isDismissible = value3.isDismissible;
|
|
isDismissible2 = Reflect.apply(isDismissible, value3, [a1]);
|
|
if (isDismissingContent2) {
|
|
break reduciblePort60;
|
|
}
|
|
if (isDismissible2) {
|
|
binding = env2_1;
|
|
value4 = binding(env2_2[9]);
|
|
dispatch = value4.dispatch;
|
|
Reflect.apply(dispatch, value4, [{type: 'QUESTS_DISMISS_CONTENT_BEGIN', questId: a0, content: a1}]);
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value5 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
getAdTrafficMetadataSealed = value5.getAdTrafficMetadataSealed;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value6 = Reflect.apply(getAdTrafficMetadataSealed, value5, [a1, a0]);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value7 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
HTTP = value7.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
post = HTTP.post;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
binding3 = env2_12;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
QUESTS_DISMISS_CONTENT = binding3.QUESTS_DISMISS_CONTENT;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value8 = Reflect.apply(QUESTS_DISMISS_CONTENT, binding3, [a0, a1]);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object.url = value8;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
property = binding2[20];
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
getAdDecisionData = value9.getAdDecisionData;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(getAdDecisionData, value9, [a0, a1]);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
copyDataProperties(object2, value10, binding3);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
value11 = null;
|
|
try {
|
|
value12 = value11 != value6;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
reducibleJoin32: while (true) {
|
|
if (value12) {
|
|
r10 = value6;
|
|
break reducibleJoin32;
|
|
}
|
|
r10 = value11;
|
|
break reducibleJoin32;
|
|
}
|
|
try {
|
|
object2['traffic_metadata_sealed'] = r10;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object.body = object2;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value13 = Reflect.apply(post, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
yield value13;
|
|
try {
|
|
value14 = undefined;
|
|
value15 = false;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
if (value15) {
|
|
return value14;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
property = binding4[9];
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value16 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
dispatch = value16.dispatch;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_DISMISS_CONTENT_SUCCESS';
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
property = binding4[13];
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value17 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
questUserStatusFromServer = value17.questUserStatusFromServer;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
body = value14.body;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
value18 = Reflect.apply(questUserStatusFromServer, value17, [body]);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
object.dismissedQuestUserStatus = value18;
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value16, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding59;
|
|
}
|
|
break reduciblePort60;
|
|
}
|
|
break reduciblePort60;
|
|
}
|
|
binding = env2_1;
|
|
binding5 = env2_2;
|
|
value = binding(binding5[9]);
|
|
dispatch = value.dispatch;
|
|
value19 = binding(binding5[10]);
|
|
prototype = value19.prototype;
|
|
value20 = Object.create(prototype, {constructor: {value: value19}});
|
|
value21 = new value19();
|
|
value22 = value21 instanceof Object ? value21 : value20;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_DISMISS_CONTENT_FAILURE', error: value22, questId: a0}]);
|
|
break reduciblePort60;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _completeQuestPreview() { // fn#73977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:7334, offset: 0x01d7d15f, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73979).apply(this, arguments);
|
|
async function _fun73979(a0) { // fn#73979, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:7399, offset: 0x01d7d1a5, size: 313 bytes, params: 2, frame: 20
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value5;
|
|
var HTTP;
|
|
var post;
|
|
var object;
|
|
var QUESTS_PREVIEW_COMPLETE;
|
|
var value6;
|
|
var object2;
|
|
var value7;
|
|
var value8;
|
|
var value9;
|
|
var binding3;
|
|
var value10;
|
|
var dispatch;
|
|
var value11;
|
|
var questUserStatusFromServer;
|
|
var body;
|
|
var value12;
|
|
var error;
|
|
var binding4;
|
|
var value13;
|
|
var prototype;
|
|
var value14;
|
|
var value15;
|
|
var value16;
|
|
let value = a1;
|
|
if (true) {
|
|
var r1 = value !== undefined ? value : 1;
|
|
await undefined;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value5 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
HTTP = value5.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
post = HTTP.post;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
QUESTS_PREVIEW_COMPLETE = binding.QUESTS_PREVIEW_COMPLETE;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value6 = Reflect.apply(QUESTS_PREVIEW_COMPLETE, binding, [a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.url = value6;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2.percent = r1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.body = object2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value7 = Reflect.apply(post, HTTP, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
await value7;
|
|
try {
|
|
value8 = undefined;
|
|
value9 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
if (value9) {
|
|
return value8;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
dispatch = value10.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_PREVIEW_UPDATE_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[13];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value11 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
questUserStatusFromServer = value11.questUserStatusFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
body = value8.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value12 = Reflect.apply(questUserStatusFromServer, value11, [body]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.previewQuestUserStatus = value12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value10, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value13 = binding(binding4[10]);
|
|
prototype = value13.prototype;
|
|
value14 = Object.create(prototype, {constructor: {value: value13}});
|
|
value15 = new value13();
|
|
value16 = value15 instanceof Object ? value15 : value14;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value16, questId: a0}]);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _resetQuestPreviewStatus() { // fn#73980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:7771, offset: 0x01d7d2de, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73982).apply(this, arguments);
|
|
function* _fun73982(a0) { // fn#73982, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:7842, offset: 0x01d7d31b, size: 283 bytes, params: 2, frame: 18
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value3;
|
|
var HTTP;
|
|
var del;
|
|
var object;
|
|
var QUESTS_PREVIEW_STATUS;
|
|
var value4;
|
|
var object2;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var binding3;
|
|
var value8;
|
|
var dispatch;
|
|
var value9;
|
|
var questUserStatusFromServer;
|
|
var body;
|
|
var value10;
|
|
var error;
|
|
var binding4;
|
|
var value11;
|
|
var prototype;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value3 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
HTTP = value3.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
del = HTTP.del;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
QUESTS_PREVIEW_STATUS = binding.QUESTS_PREVIEW_STATUS;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value4 = Reflect.apply(QUESTS_PREVIEW_STATUS, binding, [a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.url = value4;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.body = object2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(del, HTTP, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
yield value5;
|
|
try {
|
|
value6 = undefined;
|
|
value7 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
if (value7) {
|
|
return value6;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value8 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
dispatch = value8.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_PREVIEW_UPDATE_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[13];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
questUserStatusFromServer = value9.questUserStatusFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
body = value6.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(questUserStatusFromServer, value9, [body]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.previewQuestUserStatus = value10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value8, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value11 = binding(binding4[10]);
|
|
prototype = value11.prototype;
|
|
value12 = Object.create(prototype, {constructor: {value: value11}});
|
|
value13 = new value11();
|
|
value14 = value13 instanceof Object ? value13 : value12;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value14, questId: a0}]);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _resetQuestDismissibilityStatus() { // fn#73983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:8198, offset: 0x01d7d436, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73985).apply(this, arguments);
|
|
function* _fun73985(a0) { // fn#73985, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:8283, offset: 0x01d7d473, size: 318 bytes, params: 2, frame: 19
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value3;
|
|
var dispatch;
|
|
var object;
|
|
var value4;
|
|
var HTTP;
|
|
var del;
|
|
var QUESTS_PREVIEW_DISMISSIBILITY;
|
|
var value5;
|
|
var object2;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var binding3;
|
|
var value9;
|
|
var value10;
|
|
var questUserStatusFromServer;
|
|
var body;
|
|
var value11;
|
|
var error;
|
|
var binding4;
|
|
var value12;
|
|
var prototype;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding2[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value3 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
dispatch = value3.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_DOCK_RESET_SOFT_DISMISSAL';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value3, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
HTTP = value4.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
del = HTTP.del;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
QUESTS_PREVIEW_DISMISSIBILITY = binding.QUESTS_PREVIEW_DISMISSIBILITY;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(QUESTS_PREVIEW_DISMISSIBILITY, binding, [a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.url = value5;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.body = object2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value6 = Reflect.apply(del, HTTP, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
yield value6;
|
|
try {
|
|
value7 = undefined;
|
|
value8 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
if (value8) {
|
|
return value7;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
dispatch = value9.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_PREVIEW_UPDATE_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
property = binding3[13];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
questUserStatusFromServer = value10.questUserStatusFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
body = value7.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(questUserStatusFromServer, value10, [body]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
object.previewQuestUserStatus = value11;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
return undefined;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value9, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_PREVIEW_UPDATE_FAILURE', error: value15, questId: a0}]);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchClaimedQuests() { // fn#73986, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:8707, offset: 0x01d7d5b1, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73988).apply(this, arguments);
|
|
function* _fun73988() { // fn#73988, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:8768, offset: 0x01d7d5ee, size: 307 bytes, params: 1, frame: 18
|
|
var environment;
|
|
var isFetchingClaimedQuests;
|
|
var binding;
|
|
var value3;
|
|
var dispatch;
|
|
var object;
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var HTTP;
|
|
var get;
|
|
var QUESTS_CLAIMED_QUESTS;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var body;
|
|
var quests;
|
|
var map;
|
|
var closure;
|
|
var value8;
|
|
var binding3;
|
|
var value9;
|
|
var error;
|
|
var binding4;
|
|
var value10;
|
|
var prototype;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
let value = undefined;
|
|
if (false) {
|
|
return value;
|
|
}
|
|
reduciblePort38: while (true) {
|
|
exceptionLanding37: while (true) {
|
|
value = environment.__proto__.__proto__;
|
|
isFetchingClaimedQuests = env2_7.isFetchingClaimedQuests;
|
|
if (isFetchingClaimedQuests) {
|
|
break reduciblePort38;
|
|
}
|
|
binding = env2_1;
|
|
value3 = binding(env2_2[9]);
|
|
dispatch = value3.dispatch;
|
|
Reflect.apply(dispatch, value3, [{type: 'QUESTS_FETCH_CLAIMED_QUESTS_BEGIN'}]);
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
HTTP = value4.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
QUESTS_CLAIMED_QUESTS = binding.QUESTS_CLAIMED_QUESTS;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
object.url = QUESTS_CLAIMED_QUESTS;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(get, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
yield value5;
|
|
try {
|
|
value6 = undefined;
|
|
value7 = false;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
if (value7) {
|
|
return value6;
|
|
}
|
|
try {
|
|
body = value6.body;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
quests = body.quests;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
map = quests.map;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
closure = _fun73989;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
value8 = Reflect.apply(map, quests, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
dispatch = value9.dispatch;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_FETCH_CLAIMED_QUESTS_SUCCESS';
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
object.quests = value8;
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value9, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding37;
|
|
}
|
|
break reduciblePort38;
|
|
}
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value10 = binding(binding4[10]);
|
|
prototype = value10.prototype;
|
|
value11 = Object.create(prototype, {constructor: {value: value10}});
|
|
value12 = new value10();
|
|
value13 = value12 instanceof Object ? value12 : value11;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_CLAIMED_QUESTS_FAILURE', error: value13}]);
|
|
break reduciblePort38;
|
|
}
|
|
function _fun73989(a0) { // fn#73989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:8974, offset: 0x01d7d721, size: 41 bytes, params: 2, frame: 11
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return env3_0(env3_2[13]).getClaimedQuestWithUserStatusFromServer(a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchQuestToDeliver() { // fn#73990, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:9226, offset: 0x01d7d74a, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73992).apply(this, arguments);
|
|
function* _fun73992(a0, a1) { // fn#73992, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:9289, offset: 0x01d7d787, size: 1826 bytes, params: 3, frame: 48
|
|
var r36;
|
|
var r32;
|
|
var uuid;
|
|
var r16;
|
|
var r20;
|
|
var ad_id;
|
|
var adset_id;
|
|
var ad_set_id;
|
|
var campaign_id;
|
|
var creative_id;
|
|
var creative_type;
|
|
var id;
|
|
var r21;
|
|
var message;
|
|
var r9;
|
|
var binding3;
|
|
var property;
|
|
var value7;
|
|
var getSession;
|
|
var value8;
|
|
var value9;
|
|
var value10;
|
|
var binding4;
|
|
var value11;
|
|
var getOrRefreshAdSession;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
var binding5;
|
|
var value15;
|
|
var LessPersonalizedAdsExperiment;
|
|
var getConfig;
|
|
var value16;
|
|
var value17;
|
|
var value19;
|
|
var value20;
|
|
var getGuildsTree;
|
|
var value21;
|
|
var filter;
|
|
var closure;
|
|
var value22;
|
|
var slice;
|
|
var value23;
|
|
var enabled;
|
|
var URLSearchParams;
|
|
var String;
|
|
var value24;
|
|
var prototype;
|
|
var uRLSearchParams;
|
|
var value26;
|
|
var value27;
|
|
var value28;
|
|
var append;
|
|
var value29;
|
|
var value30;
|
|
var forEach;
|
|
var binding6;
|
|
var value31;
|
|
var HTTP;
|
|
var get;
|
|
var QUEST_FETCH_QUEST_TO_DELIVER;
|
|
var toString;
|
|
var value32;
|
|
var concat;
|
|
var value33;
|
|
var value34;
|
|
var value35;
|
|
var value36;
|
|
var body;
|
|
var creative;
|
|
var value37;
|
|
var quest;
|
|
var value38;
|
|
var binding7;
|
|
var value39;
|
|
var questConfigFromServer;
|
|
var value40;
|
|
var binding8;
|
|
var value41;
|
|
var AdCreativeType;
|
|
var QUEST;
|
|
var value42;
|
|
var binding9;
|
|
var value43;
|
|
var creative_content;
|
|
var value44;
|
|
var binding10;
|
|
var value45;
|
|
var object2;
|
|
var ad_identifiers;
|
|
var value46;
|
|
var value47;
|
|
var value48;
|
|
var value49;
|
|
var value50;
|
|
var value51;
|
|
var request_id;
|
|
var value52;
|
|
var metadata_sealed;
|
|
var traffic_metadata_sealed;
|
|
var ad_context;
|
|
var response_ttl_seconds;
|
|
var binding11;
|
|
var value53;
|
|
var recordQuestRequestApiResponse;
|
|
var value54;
|
|
var value55;
|
|
var value56;
|
|
var value57;
|
|
var binding12;
|
|
var value58;
|
|
var QuestPlacement;
|
|
var DESKTOP_ACCOUNT_PANEL_AREA;
|
|
var value59;
|
|
var binding13;
|
|
var value60;
|
|
var startTracking;
|
|
var binding14;
|
|
var value61;
|
|
var track;
|
|
var binding15;
|
|
var QUEST_DECISION_RECEIVED;
|
|
var value62;
|
|
var value63;
|
|
var value64;
|
|
var error;
|
|
var binding16;
|
|
var value65;
|
|
var value66;
|
|
var QUEST_DECISION_ROUNDTRIP_ERROR;
|
|
var value67;
|
|
var binding17;
|
|
var value68;
|
|
var value69;
|
|
var value70;
|
|
var value71;
|
|
var getAnyErrorMessage;
|
|
var value72;
|
|
var value73;
|
|
var value74;
|
|
var value75;
|
|
var value76;
|
|
var value77;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = undefined;
|
|
var env0_0;
|
|
var env0_1;
|
|
const Date = global.Date;
|
|
const value3 = Date.now();
|
|
let binding = env2_1;
|
|
const binding2 = env2_2;
|
|
binding(binding2[21]).recordQuestRequestAttempt('/quests/decision', a1, a0);
|
|
const value6 = binding(binding2[9]);
|
|
let dispatch = value6.dispatch;
|
|
let object = {type: 'QUESTS_FETCH_QUEST_TO_DELIVER_BEGIN', placement: a0};
|
|
Reflect.apply(dispatch, value6, [object]);
|
|
reducibleJoin3: while (true) {
|
|
reduciblePort305: while (true) {
|
|
exceptionLanding301: while (true) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin3;
|
|
}
|
|
binding = env2_1;
|
|
binding16 = env2_2;
|
|
value65 = binding(binding16[21]);
|
|
recordQuestRequestApiResponse = value65.recordQuestRequestApiResponse;
|
|
Reflect.apply(recordQuestRequestApiResponse, value65, ['/quests/decision', {wasSuccessful: false,
|
|
currentFetchedAt: value3}]);
|
|
value66 = binding(binding16[28]);
|
|
track = value66.track;
|
|
QUEST_DECISION_ROUNDTRIP_ERROR = env2_11.QUEST_DECISION_ROUNDTRIP_ERROR;
|
|
object = {};
|
|
copyDataProperties(object, binding(binding16[29])(), undefined);
|
|
value67 = null;
|
|
reducibleJoin303: while (true) {
|
|
if (value67 == error) {
|
|
message = value;
|
|
break reducibleJoin303;
|
|
}
|
|
message = error.message;
|
|
break reducibleJoin303;
|
|
}
|
|
r9 = value67 != message ? message : value67;
|
|
object['reason'] = r9;
|
|
binding = env2_1;
|
|
binding17 = env2_2;
|
|
value68 = binding(binding17[10]);
|
|
prototype = value68.prototype;
|
|
value69 = Object.create(prototype, {constructor: {value: value68}});
|
|
value70 = new value68();
|
|
value71 = value70 instanceof Object ? value70 : value69;
|
|
getAnyErrorMessage = value71.getAnyErrorMessage;
|
|
value72 = Reflect.apply(getAnyErrorMessage, value71, []);
|
|
object['api_error'] = value72;
|
|
object['caller_source'] = a1;
|
|
Reflect.apply(track, value66, [QUEST_DECISION_ROUNDTRIP_ERROR, object]);
|
|
value73 = binding(binding17[9]);
|
|
dispatch = value73.dispatch;
|
|
value74 = binding(binding17[10]);
|
|
prototype = value74.prototype;
|
|
value75 = Object.create(prototype, {constructor: {value: value74}});
|
|
value76 = new value74();
|
|
value77 = value76 instanceof Object ? value76 : value75;
|
|
Reflect.apply(dispatch, value73, [{type: 'QUESTS_FETCH_QUEST_TO_DELIVER_FAILURE', error: value77,
|
|
placement: a0}]);
|
|
break reduciblePort305;
|
|
}
|
|
return value;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding3[22];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value7 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
getSession = value7.getSession;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value8 = Reflect.apply(getSession, value7, []);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
yield value8;
|
|
try {
|
|
value9 = undefined;
|
|
value10 = false;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
if (value10) {
|
|
return value9;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding4[23];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value11 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
getOrRefreshAdSession = value11.getOrRefreshAdSession;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value12 = Reflect.apply(getOrRefreshAdSession, value11, []);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
yield value12;
|
|
try {
|
|
value13 = undefined;
|
|
value14 = false;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
if (value14) {
|
|
return value13;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding5[24];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value15 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
LessPersonalizedAdsExperiment = value15.LessPersonalizedAdsExperiment;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
getConfig = LessPersonalizedAdsExperiment.getConfig;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.location = 'QuestActionCreators.fetchQuestToDeliver';
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value16 = Reflect.apply(getConfig, LessPersonalizedAdsExperiment, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding = env2_4;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value17 = binding();
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
const value18 = null;
|
|
try {
|
|
value19 = value18 != value17;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
if (value19) {
|
|
try {
|
|
value20 = value17();
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
r36 = value20;
|
|
} else {
|
|
try {
|
|
object = [];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
r36 = object;
|
|
}
|
|
try {
|
|
binding = env2_6;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
getGuildsTree = binding.getGuildsTree;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value21 = Reflect.apply(getGuildsTree, binding, []);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
env0_0 = value21;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
filter = r36.filter;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
closure = _fun73993;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value22 = Reflect.apply(filter, r36, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
slice = value22.slice;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value23 = Reflect.apply(slice, value22, [0, 50]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
enabled = value16.enabled;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin55: while (true) {
|
|
if (enabled) {
|
|
r32 = value23;
|
|
break reducibleJoin55;
|
|
}
|
|
r32 = value;
|
|
break reducibleJoin55;
|
|
}
|
|
try {
|
|
URLSearchParams = global.URLSearchParams;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
String = global.String;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value24 = String(a0);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.placement = value24;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
prototype = URLSearchParams.prototype;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
uRLSearchParams = new URLSearchParams(object);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value26 = uRLSearchParams instanceof Object ? uRLSearchParams : undefined;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
env0_1 = value26;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value27 = value18 == value9;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin74: while (true) {
|
|
if (value27) {
|
|
uuid = value;
|
|
break reducibleJoin74;
|
|
}
|
|
try {
|
|
uuid = value9.uuid;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin74;
|
|
}
|
|
try {
|
|
value28 = value18 == uuid;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin80: while (true) {
|
|
if (value28) {
|
|
break reducibleJoin80;
|
|
}
|
|
try {
|
|
append = value26.append;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
uuid = value9.uuid;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
Reflect.apply(append, value26, ['client_heartbeat_session_id', uuid]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin80;
|
|
}
|
|
try {
|
|
uuid = value13.uuid;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value29 = value18 == uuid;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin88: while (true) {
|
|
if (value29) {
|
|
break reducibleJoin88;
|
|
}
|
|
try {
|
|
append = value26.append;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
uuid = value13.uuid;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
Reflect.apply(append, value26, ['client_ad_session_id', uuid]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin88;
|
|
}
|
|
try {
|
|
value30 = value18 == r32;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin94: while (true) {
|
|
if (value30) {
|
|
break reducibleJoin94;
|
|
}
|
|
try {
|
|
forEach = r32.forEach;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
closure = _fun73994;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
Reflect.apply(forEach, r32, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin94;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding6 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding6[8];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value31 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
HTTP = value31.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
QUEST_FETCH_QUEST_TO_DELIVER = binding.QUEST_FETCH_QUEST_TO_DELIVER;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
toString = value26.toString;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value32 = Reflect.apply(toString, value26, []);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value33 = Reflect.apply(concat, '', [QUEST_FETCH_QUEST_TO_DELIVER, '?', value32]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.url = value33;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value34 = Reflect.apply(get, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
yield value34;
|
|
try {
|
|
value35 = undefined;
|
|
value36 = false;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
if (value36) {
|
|
return value35;
|
|
}
|
|
try {
|
|
body = value35.body;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
creative = body.creative;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value37 = value18 != creative;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
if (value37) {
|
|
try {
|
|
creative_type = creative.creative_type;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding8 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding8[26];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value41 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
AdCreativeType = value41.AdCreativeType;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
QUEST = AdCreativeType.QUEST;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value42 = creative_type !== QUEST;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin154: while (true) {
|
|
if (value42) {
|
|
r20 = value;
|
|
break reducibleJoin154;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding9 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding9[13];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value43 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
questConfigFromServer = value43.questConfigFromServer;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
creative_content = creative.creative_content;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value44 = Reflect.apply(questConfigFromServer, value43, [creative_content]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
r20 = value44;
|
|
break reducibleJoin154;
|
|
}
|
|
} else {
|
|
try {
|
|
quest = body.quest;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value38 = value18 != quest;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin135: while (true) {
|
|
if (value38) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding7 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding7[13];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value39 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
questConfigFromServer = value39.questConfigFromServer;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value40 = Reflect.apply(questConfigFromServer, value39, [quest]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
r16 = value40;
|
|
break reducibleJoin135;
|
|
}
|
|
r16 = value;
|
|
break reducibleJoin135;
|
|
}
|
|
r20 = r16;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding10 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding10[9];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value45 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
dispatch = value45.dispatch;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_FETCH_QUEST_TO_DELIVER_SUCCESS';
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.quest = r20;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_identifiers = body.ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value46 = value18 == ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin171: while (true) {
|
|
if (value46) {
|
|
ad_id = value;
|
|
break reducibleJoin171;
|
|
}
|
|
try {
|
|
ad_id = ad_identifiers.ad_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin171;
|
|
}
|
|
try {
|
|
object2.ad_id = ad_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_identifiers = body.ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value47 = value18 == ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin178: while (true) {
|
|
if (value47) {
|
|
adset_id = value;
|
|
break reducibleJoin178;
|
|
}
|
|
try {
|
|
adset_id = ad_identifiers.adset_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin178;
|
|
}
|
|
try {
|
|
object2.adset_id = adset_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_identifiers = body.ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value48 = value18 == ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin185: while (true) {
|
|
if (value48) {
|
|
ad_set_id = value;
|
|
break reducibleJoin185;
|
|
}
|
|
try {
|
|
ad_set_id = ad_identifiers.ad_set_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin185;
|
|
}
|
|
try {
|
|
object2.ad_set_id = ad_set_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_identifiers = body.ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value49 = value18 == ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin192: while (true) {
|
|
if (value49) {
|
|
campaign_id = value;
|
|
break reducibleJoin192;
|
|
}
|
|
try {
|
|
campaign_id = ad_identifiers.campaign_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin192;
|
|
}
|
|
try {
|
|
object2.campaign_id = campaign_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_identifiers = body.ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value50 = value18 == ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin199: while (true) {
|
|
if (value50) {
|
|
creative_id = value;
|
|
break reducibleJoin199;
|
|
}
|
|
try {
|
|
creative_id = ad_identifiers.creative_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin199;
|
|
}
|
|
try {
|
|
object2.creative_id = creative_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_identifiers = body.ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value51 = value18 == ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin206: while (true) {
|
|
if (value51) {
|
|
creative_type = value;
|
|
break reducibleJoin206;
|
|
}
|
|
try {
|
|
creative_type = ad_identifiers.creative_type;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin206;
|
|
}
|
|
try {
|
|
object2.creative_type = creative_type;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
request_id = body.request_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object2.decision_id = request_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_identifiers = body.ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value52 = value18 != ad_identifiers;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object2.is_targeted = value52;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.adDecisionData = object2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
metadata_sealed = body.metadata_sealed;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.metadataSealed = metadata_sealed;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
traffic_metadata_sealed = body.traffic_metadata_sealed;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.trafficMetadataSealed = traffic_metadata_sealed;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
ad_context = body.ad_context;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.adContext = ad_context;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
response_ttl_seconds = body.response_ttl_seconds;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.responseTtlSeconds = response_ttl_seconds;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.placement = a0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.fetchedAt = value3;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value45, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding11 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding11[21];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value53 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
recordQuestRequestApiResponse = value53.recordQuestRequestApiResponse;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.wasSuccessful = true;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
String = global.String;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
request_id = body.request_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value54 = String(request_id);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.adRequestId = value54;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value55 = value18 == r20;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin243: while (true) {
|
|
if (value55) {
|
|
id = value;
|
|
break reducibleJoin243;
|
|
}
|
|
try {
|
|
id = r20.id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin243;
|
|
}
|
|
try {
|
|
value56 = value18 != id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin247: while (true) {
|
|
if (value56) {
|
|
r21 = id;
|
|
break reducibleJoin247;
|
|
}
|
|
r21 = value18;
|
|
break reducibleJoin247;
|
|
}
|
|
try {
|
|
object.currentQuestId = r21;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object.currentFetchedAt = value3;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
Reflect.apply(recordQuestRequestApiResponse, value53, ['/quests/decision', object]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value57 = value18 == r20;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
if (!value57) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding12 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding12[11];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value58 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
QuestPlacement = value58.QuestPlacement;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
DESKTOP_ACCOUNT_PANEL_AREA = QuestPlacement.DESKTOP_ACCOUNT_PANEL_AREA;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value59 = a0 !== DESKTOP_ACCOUNT_PANEL_AREA;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
reducibleJoin271: while (true) {
|
|
if (value59) {
|
|
break reducibleJoin271;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding13 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding13[27];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value60 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
startTracking = value60.startTracking;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
id = r20.id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
Reflect.apply(startTracking, value60, [id]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
break reducibleJoin271;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding14 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding14[28];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value61 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
track = value61.track;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
binding15 = env2_11;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
QUEST_DECISION_RECEIVED = binding15.QUEST_DECISION_RECEIVED;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
property = binding14[29];
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value62 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value63 = value62();
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
copyDataProperties(object, value63, undefined);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
id = r20.id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object['quest_id'] = id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object['caller_source'] = a1;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
String = global.String;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
request_id = body.request_id;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
value64 = String(request_id);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
object['ad_request_id'] = value64;
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
try {
|
|
Reflect.apply(track, value61, [QUEST_DECISION_RECEIVED, object]);
|
|
} catch (error) {
|
|
break exceptionLanding301;
|
|
}
|
|
}
|
|
return value;
|
|
function _fun73993(a0) { // fn#73993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:9710, offset: 0x01d7dea9, size: 111 bytes, params: 2, frame: 13
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
const binding = env3_0;
|
|
const value2 = undefined;
|
|
const value3 = binding(env3_2[25]);
|
|
if (value3.isPseudoGuildId(a0)) {
|
|
return false;
|
|
}
|
|
const node = env0_0.getNode(a0);
|
|
return (node == null ? value2 : node.parentId) == null || env3_5.isFolderExpanded(node.parentId);
|
|
}
|
|
|
|
function _fun73994(a0) { // fn#73994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:10079, offset: 0x01d7df18, size: 30 bytes, params: 2, frame: 13
|
|
return env0_1.append('visible_guild_ids', a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchEarnedQuestToDeliver() { // fn#73995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:11922, offset: 0x01d7df36, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun73997).apply(this, arguments);
|
|
function* _fun73997(a0, a1, a2) { // fn#73997, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:11997, offset: 0x01d7df73, size: 742 bytes, params: 4, frame: 33
|
|
var environment;
|
|
var earnedDecisionByQuestId;
|
|
var uuid;
|
|
var r13;
|
|
var value3;
|
|
var binding;
|
|
var isFetchingEarnedQuestToDeliverByPlacement;
|
|
var earnedQuestForPlacement;
|
|
var get;
|
|
var value4;
|
|
var value5;
|
|
var filter;
|
|
var value6;
|
|
var length;
|
|
var Date;
|
|
var now;
|
|
var value7;
|
|
var binding2;
|
|
var value8;
|
|
var recordEarnedRequestAttempt;
|
|
var value9;
|
|
var dispatch;
|
|
var object;
|
|
var binding3;
|
|
var property;
|
|
var value10;
|
|
var getSession;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var join;
|
|
var value14;
|
|
var binding4;
|
|
var value15;
|
|
var HTTP;
|
|
var QUEST_EARNED_DECISION;
|
|
var value16;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var value20;
|
|
var body;
|
|
var quests;
|
|
var response_ttl_seconds;
|
|
var Map;
|
|
var map;
|
|
var closure;
|
|
var value21;
|
|
var prototype;
|
|
var value23;
|
|
var binding5;
|
|
var value24;
|
|
var value25;
|
|
var recordEarnedRequestApiResponse;
|
|
var request_id;
|
|
var value26;
|
|
var error;
|
|
var binding6;
|
|
var value27;
|
|
var value28;
|
|
var value29;
|
|
var value30;
|
|
var value31;
|
|
var value32;
|
|
let value = undefined;
|
|
if (true) {
|
|
reduciblePort91: while (true) {
|
|
exceptionLanding90: while (true) {
|
|
value = undefined;
|
|
var env0_0 = value;
|
|
var env0_1 = value;
|
|
value3 = environment.__proto__.__proto__;
|
|
binding = env2_7;
|
|
isFetchingEarnedQuestToDeliverByPlacement = binding.isFetchingEarnedQuestToDeliverByPlacement;
|
|
if (Reflect.apply(isFetchingEarnedQuestToDeliverByPlacement, binding, [a1])) {
|
|
break reduciblePort91;
|
|
}
|
|
earnedQuestForPlacement = env2_7.earnedQuestForPlacement;
|
|
get = earnedQuestForPlacement.get;
|
|
value4 = Reflect.apply(get, earnedQuestForPlacement, [a1]);
|
|
value5 = null;
|
|
reducibleJoin4: while (true) {
|
|
if (value5 == value4) {
|
|
earnedDecisionByQuestId = value;
|
|
break reducibleJoin4;
|
|
}
|
|
earnedDecisionByQuestId = value4.earnedDecisionByQuestId;
|
|
break reducibleJoin4;
|
|
}
|
|
env0_0 = earnedDecisionByQuestId;
|
|
filter = a0.filter;
|
|
value6 = Reflect.apply(filter, a0, [_fun73998]);
|
|
length = value6.length;
|
|
if (length === 0) {
|
|
break reduciblePort91;
|
|
}
|
|
Date = global.Date;
|
|
now = Date.now;
|
|
value7 = Reflect.apply(now, Date, []);
|
|
binding = env2_1;
|
|
binding2 = env2_2;
|
|
value8 = binding(binding2[30]);
|
|
recordEarnedRequestAttempt = value8.recordEarnedRequestAttempt;
|
|
Reflect.apply(recordEarnedRequestAttempt, value8, [a1, a2]);
|
|
value9 = binding(binding2[9]);
|
|
dispatch = value9.dispatch;
|
|
Reflect.apply(dispatch, value9, [{type: 'QUESTS_FETCH_EARNED_QUEST_TO_DELIVER_BEGIN', content: a1}]);
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
property = binding3[22];
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
getSession = value10.getSession;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(getSession, value10, []);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
yield value11;
|
|
try {
|
|
value12 = undefined;
|
|
value13 = false;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
if (value13) {
|
|
return value12;
|
|
}
|
|
try {
|
|
join = value6.join;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value14 = Reflect.apply(join, value6, [',']);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
property = binding4[8];
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value15 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
HTTP = value15.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
QUEST_EARNED_DECISION = binding.QUEST_EARNED_DECISION;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value16 = value5 == value12;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
reducibleJoin34: while (true) {
|
|
if (value16) {
|
|
uuid = value;
|
|
break reducibleJoin34;
|
|
}
|
|
try {
|
|
uuid = value12.uuid;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
break reducibleJoin34;
|
|
}
|
|
try {
|
|
value17 = Reflect.apply(QUEST_EARNED_DECISION, binding, [value14, a1, uuid]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.url = value17;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value18 = Reflect.apply(get, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
yield value18;
|
|
try {
|
|
value19 = undefined;
|
|
value20 = false;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
if (value20) {
|
|
return value19;
|
|
}
|
|
try {
|
|
body = value19.body;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
quests = body.quests;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
env0_1 = quests;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
body = value19.body;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
response_ttl_seconds = body.response_ttl_seconds;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
Map = global.Map;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
map = value6.map;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
closure = _fun73999;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value21 = Reflect.apply(map, value6, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
prototype = Map.prototype;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
map = new Map();
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value23 = map instanceof Object ? map : undefined;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
property = binding5[9];
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value24 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
dispatch = value24.dispatch;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_FETCH_EARNED_QUEST_TO_DELIVER_SUCCESS';
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.serverQuests = value23;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.content = a1;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.fetchedAt = value7;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.responseTtlSeconds = response_ttl_seconds;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value24, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
property = binding5[30];
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value25 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
recordEarnedRequestApiResponse = value25.recordEarnedRequestApiResponse;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.wasSuccessful = true;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
body = value19.body;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
request_id = body.request_id;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
value26 = value5 != request_id;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
reducibleJoin84: while (true) {
|
|
if (value26) {
|
|
r13 = request_id;
|
|
break reducibleJoin84;
|
|
}
|
|
r13 = value5;
|
|
break reducibleJoin84;
|
|
}
|
|
try {
|
|
object.requestId = r13;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
object.fetchedAt = value7;
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
try {
|
|
Reflect.apply(recordEarnedRequestApiResponse, value25, [a1, object]);
|
|
} catch (error) {
|
|
break exceptionLanding90;
|
|
}
|
|
break reduciblePort91;
|
|
}
|
|
binding = env2_1;
|
|
binding6 = env2_2;
|
|
value27 = binding(binding6[30]);
|
|
recordEarnedRequestApiResponse = value27.recordEarnedRequestApiResponse;
|
|
Reflect.apply(recordEarnedRequestApiResponse, value27, [a1, {wasSuccessful: false, fetchedAt: value7}]);
|
|
value28 = binding(binding6[9]);
|
|
dispatch = value28.dispatch;
|
|
value29 = binding(binding6[10]);
|
|
prototype = value29.prototype;
|
|
value30 = Object.create(prototype, {constructor: {value: value29}});
|
|
value31 = new value29();
|
|
value32 = value31 instanceof Object ? value31 : value30;
|
|
Reflect.apply(dispatch, value28, [{type: 'QUESTS_FETCH_EARNED_QUEST_TO_DELIVER_FAILURE', error: value32,
|
|
content: a1}]);
|
|
break reduciblePort91;
|
|
}
|
|
}
|
|
return value;
|
|
function _fun73998(a0) { // fn#73998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:12166, offset: 0x01d7e259, size: 76 bytes, params: 2, frame: 13
|
|
const r2 = earnedDecisionByQuestId?.get(a0);
|
|
let value = environment.__proto__.__proto__.__proto__;
|
|
value = env3_0(env3_2[20]);
|
|
return !value.earnedDecisionIsValid(r2);
|
|
}
|
|
|
|
function _fun73999(a0) { // fn#73999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:12618, offset: 0x01d7e2a5, size: 96 bytes, params: 2, frame: 16
|
|
var r1;
|
|
var value;
|
|
const questsBinding = quests;
|
|
const value2 = null;
|
|
const r2 = value2 == questsBinding ? undefined : quests[a0];
|
|
if (value2 != r2) {
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
value = env3_0(env3_2[13]);
|
|
r1 = value.isQuestWithKnownConfigVersion(r2) ? r2 : value2;
|
|
} else {
|
|
r1 = value2;
|
|
}
|
|
return [a0, r1];
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function _updateVideoProgress() { // fn#74000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:13186, offset: 0x01d7e305, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun74002).apply(this, arguments);
|
|
function* _fun74002(a0, a1) { // fn#74002, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:13249, offset: 0x01d7e342, size: 232 bytes, params: 3, frame: 19
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_1;
|
|
var binding2 = env2_2;
|
|
var value3 = binding(binding2[15]);
|
|
var post = value3.post;
|
|
var object = {};
|
|
object.url = env2_12.QUESTS_VIDEO_PROGRESS(a0);
|
|
object.body = {timestamp: a1};
|
|
var object3 = {};
|
|
var NetworkActionNames = env2_0(binding2[16]).NetworkActionNames;
|
|
var QUEST_VIDEO_PROGRESS = NetworkActionNames.QUEST_VIDEO_PROGRESS;
|
|
object3.event = QUEST_VIDEO_PROGRESS;
|
|
var object4 = {quest_id: a0};
|
|
object4.timestamp_sec = a1.toString();
|
|
var Error = global.Error;
|
|
object4.stack_trace = new Error().stack ?? '';
|
|
object3.properties = object4;
|
|
object.trackedActionData = object3;
|
|
object.rejectWithError = false;
|
|
yield Reflect.apply(post, value3, [object]);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchVideoTranscript() { // fn#74003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:13559, offset: 0x01d7e42a, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun74005).apply(this, arguments);
|
|
async function _fun74005(a0) { // fn#74005, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:13624, offset: 0x01d7e470, size: 437 bytes, params: 2, frame: 24
|
|
var r10;
|
|
var binding;
|
|
var binding2;
|
|
var value5;
|
|
var getQuestAsset;
|
|
var QuestAssetType;
|
|
var VIDEO_PLAYER_TRANSCRIPT;
|
|
var value6;
|
|
var getState;
|
|
var value7;
|
|
var setTranscriptAsset;
|
|
var object;
|
|
var id;
|
|
var FAILURE;
|
|
var value8;
|
|
var FETCHING;
|
|
var binding3;
|
|
var property;
|
|
var value9;
|
|
var HTTP;
|
|
var get;
|
|
var url;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var SUCCESS;
|
|
var text;
|
|
var error;
|
|
var value14;
|
|
let value = a1;
|
|
if (true) {
|
|
reducibleJoin3: while (true) {
|
|
if (value !== undefined) {
|
|
r10 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
value = false;
|
|
r10 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
await undefined;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
reduciblePort43: while (true) {
|
|
exceptionLanding42: while (true) {
|
|
value = environment.__proto__.__proto__;
|
|
binding = env2_0;
|
|
binding2 = env2_2;
|
|
value5 = binding(binding2[31]);
|
|
getQuestAsset = value5.getQuestAsset;
|
|
QuestAssetType = binding(binding2[31]).QuestAssetType;
|
|
VIDEO_PLAYER_TRANSCRIPT = QuestAssetType.VIDEO_PLAYER_TRANSCRIPT;
|
|
value6 = Reflect.apply(getQuestAsset, value5, [a0, VIDEO_PLAYER_TRANSCRIPT, undefined, r10]);
|
|
if (value6 != null) {
|
|
binding = env2_8;
|
|
getState = binding.getState;
|
|
value8 = Reflect.apply(getState, binding, []);
|
|
setTranscriptAsset = value8.setTranscriptAsset;
|
|
id = a0.id;
|
|
FETCHING = env2_9.FETCHING;
|
|
Reflect.apply(setTranscriptAsset, value8, [{questId: id, fetchStatus: FETCHING}]);
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
property = binding3[8];
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
HTTP = value9.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
url = value6.url;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object.url = url;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object.rejectWithError = true;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(get, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
await value10;
|
|
try {
|
|
value11 = undefined;
|
|
value12 = false;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
if (value12) {
|
|
return value11;
|
|
}
|
|
try {
|
|
binding = env2_8;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
getState = binding.getState;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
value13 = Reflect.apply(getState, binding, []);
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
setTranscriptAsset = value13.setTranscriptAsset;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
id = a0.id;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object.questId = id;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
binding = env2_9;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
SUCCESS = binding.SUCCESS;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object.fetchStatus = SUCCESS;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
text = value11.text;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object.text = text;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
url = value6.url;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
object.url = url;
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
try {
|
|
Reflect.apply(setTranscriptAsset, value13, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding42;
|
|
}
|
|
break reduciblePort43;
|
|
}
|
|
binding = env2_8;
|
|
getState = binding.getState;
|
|
value7 = Reflect.apply(getState, binding, []);
|
|
setTranscriptAsset = value7.setTranscriptAsset;
|
|
id = a0.id;
|
|
FAILURE = env2_9.FAILURE;
|
|
Reflect.apply(setTranscriptAsset, value7, [{questId: id, fetchStatus: FAILURE}]);
|
|
break reduciblePort43;
|
|
}
|
|
binding = env2_8;
|
|
getState = binding.getState;
|
|
value14 = Reflect.apply(getState, binding, []);
|
|
setTranscriptAsset = value14.setTranscriptAsset;
|
|
id = a0.id;
|
|
FAILURE = env2_9.FAILURE;
|
|
Reflect.apply(setTranscriptAsset, value14, [{questId: id, fetchStatus: FAILURE}]);
|
|
break reduciblePort43;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchQuest() { // fn#74006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:14152, offset: 0x01d7e625, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun74008).apply(this, arguments);
|
|
function* _fun74008(a0) { // fn#74008, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:14197, offset: 0x01d7e662, size: 135 bytes, params: 2, frame: 17
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
const HTTP = env2_0(env2_2[8]).HTTP;
|
|
const get = HTTP.get;
|
|
const object = {};
|
|
object.url = env2_12.QUEST(a0);
|
|
object.rejectWithError = false;
|
|
yield Reflect.apply(get, HTTP, [object]);
|
|
const value3 = undefined;
|
|
if (false) {
|
|
return value3;
|
|
}
|
|
value = env2_0(env2_2[13]);
|
|
return value.questConfigFromServer(value3.body);
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchQuestPreview() { // fn#74009, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:14348, offset: 0x01d7e6e9, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun74011).apply(this, arguments);
|
|
function* _fun74011(a0) { // fn#74011, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:14407, offset: 0x01d7e726, size: 351 bytes, params: 2, frame: 20
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var HTTP;
|
|
var get;
|
|
var QUEST_PREVIEW;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var binding3;
|
|
var value9;
|
|
var value10;
|
|
var questWithUserStatusFromServer;
|
|
var body;
|
|
var value11;
|
|
var error;
|
|
var binding4;
|
|
var value12;
|
|
var prototype;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_7;
|
|
if (!binding.isFetchingQuestPreview(a0)) {
|
|
binding = env2_1;
|
|
binding(env2_2[9]).dispatch({type: 'QUESTS_FETCH_PREVIEW_BEGIN', questId: a0});
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
HTTP = value4.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
QUEST_PREVIEW = binding.QUEST_PREVIEW;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(QUEST_PREVIEW, binding, [a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.url = value5;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value6 = Reflect.apply(get, HTTP, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
yield value6;
|
|
try {
|
|
value7 = undefined;
|
|
value8 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
if (value8) {
|
|
return value7;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
dispatch = value9.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_FETCH_PREVIEW_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.questId = a0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding3[13];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value10 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
questWithUserStatusFromServer = value10.questWithUserStatusFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
body = value7.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(questWithUserStatusFromServer, value10, [body]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.quest = value11;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value9, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding4 = env2_2;
|
|
value = binding(binding4[9]);
|
|
dispatch = value.dispatch;
|
|
value12 = binding(binding4[10]);
|
|
prototype = value12.prototype;
|
|
value13 = Object.create(prototype, {constructor: {value: value12}});
|
|
value14 = new value12();
|
|
value15 = value14 instanceof Object ? value14 : value13;
|
|
Reflect.apply(dispatch, value, [{type: 'QUESTS_FETCH_PREVIEW_FAILURE', error: value15, questId: a0}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchQuestHomeHero() { // fn#74012, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:14879, offset: 0x01d7e885, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun74014).apply(this, arguments);
|
|
function* _fun74014() { // fn#74014, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:14940, offset: 0x01d7e8c2, size: 1285 bytes, params: 1, frame: 39
|
|
var uuid;
|
|
var r10;
|
|
var creative;
|
|
var r9;
|
|
var r12;
|
|
var ad_id;
|
|
var ad_set_id;
|
|
var campaign_id;
|
|
var creative_id;
|
|
var creative_type;
|
|
var ad_identifiers;
|
|
var metadata_sealed;
|
|
var traffic_metadata_sealed;
|
|
var ad_context;
|
|
var response_ttl_seconds;
|
|
var Date;
|
|
var value7;
|
|
var dispatch;
|
|
var object;
|
|
var binding2;
|
|
var property;
|
|
var value9;
|
|
var getSession;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var binding3;
|
|
var value13;
|
|
var getOrRefreshAdSession;
|
|
var value14;
|
|
var value15;
|
|
var value16;
|
|
var URLSearchParams;
|
|
var String;
|
|
var value17;
|
|
var prototype;
|
|
var uRLSearchParams;
|
|
var value19;
|
|
var value20;
|
|
var value21;
|
|
var append;
|
|
var value22;
|
|
var binding4;
|
|
var value23;
|
|
var HTTP;
|
|
var get;
|
|
var QUESTS_GET_DECISIONS;
|
|
var toString;
|
|
var value24;
|
|
var concat;
|
|
var value25;
|
|
var value26;
|
|
var value27;
|
|
var value28;
|
|
var body;
|
|
var decisions;
|
|
var value29;
|
|
var value30;
|
|
var value31;
|
|
var value32;
|
|
var value33;
|
|
var binding5;
|
|
var value34;
|
|
var AdCreativeType;
|
|
var QUEST_HOME_HERO;
|
|
var binding6;
|
|
var value36;
|
|
var questHomeHeroFromServer;
|
|
var value37;
|
|
var binding7;
|
|
var value38;
|
|
var object2;
|
|
var value39;
|
|
var value40;
|
|
var value41;
|
|
var value42;
|
|
var value43;
|
|
var value44;
|
|
var value45;
|
|
var value46;
|
|
var value47;
|
|
var value48;
|
|
var request_id;
|
|
var value49;
|
|
var value50;
|
|
var value51;
|
|
var value52;
|
|
var value53;
|
|
var value54;
|
|
var error;
|
|
var binding8;
|
|
var value55;
|
|
var value56;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = undefined;
|
|
let binding = env2_0;
|
|
const QuestPlacement = binding(env2_2[11]).QuestPlacement;
|
|
const QUEST_HOME_BANNER_DESKTOP = QuestPlacement.QUEST_HOME_BANNER_DESKTOP;
|
|
binding = env2_7;
|
|
if (!binding.isFetchingQuestToDeliverByPlacement(QUEST_HOME_BANNER_DESKTOP)) {
|
|
var lastFetchedQuestHomeHero = env2_7.getLastFetchedQuestHomeHero();
|
|
var value5 = null;
|
|
if (value5 == lastFetchedQuestHomeHero) {
|
|
value7 = global.Date.now();
|
|
binding = env2_1;
|
|
binding(env2_2[9]).dispatch({type: 'QUESTS_FETCH_QUEST_HOME_HERO_BEGIN',
|
|
placement: QUEST_HOME_BANNER_DESKTOP});
|
|
} else {
|
|
Date = global.Date;
|
|
if (Date.now() - lastFetchedQuestHomeHero <= env2_14) {
|
|
return value;
|
|
}
|
|
Date = global.Date;
|
|
value7 = Date.now();
|
|
binding = env2_1;
|
|
binding(env2_2[9]).dispatch({type: 'QUESTS_FETCH_QUEST_HOME_HERO_BEGIN',
|
|
placement: QUEST_HOME_BANNER_DESKTOP});
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[22];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
getSession = value9.getSession;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(getSession, value9, []);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
yield value10;
|
|
try {
|
|
value11 = undefined;
|
|
value12 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value12) {
|
|
return value11;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding3[23];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value13 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
getOrRefreshAdSession = value13.getOrRefreshAdSession;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value14 = Reflect.apply(getOrRefreshAdSession, value13, []);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
yield value14;
|
|
try {
|
|
value15 = undefined;
|
|
value16 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value16) {
|
|
return value15;
|
|
}
|
|
try {
|
|
URLSearchParams = global.URLSearchParams;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
String = global.String;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value17 = String(QUEST_HOME_BANNER_DESKTOP);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.placement = value17;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.num_decisions_requested = '1';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
prototype = URLSearchParams.prototype;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
uRLSearchParams = new URLSearchParams();
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value19 = uRLSearchParams instanceof Object ? uRLSearchParams : undefined;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value20 = value5 == value11;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value20) {
|
|
uuid = value;
|
|
} else {
|
|
try {
|
|
uuid = value11.uuid;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
value21 = value5 == uuid;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (!value21) {
|
|
try {
|
|
append = value19.append;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
uuid = value11.uuid;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(append, value19, ['client_heartbeat_session_id', uuid]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
uuid = value15.uuid;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value22 = value5 == uuid;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (!value22) {
|
|
try {
|
|
append = value19.append;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
uuid = value15.uuid;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(append, value19, ['client_ad_session_id', uuid]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding4[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value23 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
HTTP = value23.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
QUESTS_GET_DECISIONS = binding.QUESTS_GET_DECISIONS;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
toString = value19.toString;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value24 = Reflect.apply(toString, value19, []);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value25 = Reflect.apply(concat, '', [QUESTS_GET_DECISIONS, '?', value24]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.url = value25;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value26 = Reflect.apply(get, HTTP, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
yield value26;
|
|
try {
|
|
value27 = undefined;
|
|
value28 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value28) {
|
|
return value27;
|
|
}
|
|
try {
|
|
body = value27.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
decisions = body.decisions;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value29 = value5 == decisions;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value29) {
|
|
r10 = value;
|
|
} else {
|
|
try {
|
|
property = decisions[0];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r10 = property;
|
|
}
|
|
try {
|
|
value30 = value5 != r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r10 = !value30 ? value5 : r10;
|
|
try {
|
|
value31 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value31) {
|
|
creative = value;
|
|
} else {
|
|
try {
|
|
creative = r10.creative;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
value32 = value5 != creative;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
var r102 = value32 ? creative : value5;
|
|
try {
|
|
value33 = value5 != r102;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value33) {
|
|
try {
|
|
creative_type = r102.creative_type;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding5[26];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value34 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
AdCreativeType = value34.AdCreativeType;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
QUEST_HOME_HERO = AdCreativeType.QUEST_HOME_HERO;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r9 = creative_type === QUEST_HOME_HERO;
|
|
} else {
|
|
r9 = value33;
|
|
}
|
|
if (r9) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding6 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding6[33];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value36 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
questHomeHeroFromServer = value36.questHomeHeroFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value37 = Reflect.apply(questHomeHeroFromServer, value36, [r102]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r12 = value37;
|
|
} else {
|
|
r12 = value5;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding7 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding7[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value38 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
dispatch = value38.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.type = 'QUESTS_FETCH_QUEST_HOME_HERO_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.questHomeHero = r12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value39 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value39) {
|
|
ad_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r10.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value40 = value5 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value40) {
|
|
ad_id = value;
|
|
} else {
|
|
try {
|
|
ad_id = ad_identifiers.ad_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object2.ad_id = ad_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value41 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value41) {
|
|
ad_set_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r10.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value42 = value5 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value42) {
|
|
ad_set_id = value;
|
|
} else {
|
|
try {
|
|
ad_set_id = ad_identifiers.ad_set_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object2.ad_set_id = ad_set_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value43 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value43) {
|
|
campaign_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r10.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value44 = value5 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value44) {
|
|
campaign_id = value;
|
|
} else {
|
|
try {
|
|
campaign_id = ad_identifiers.campaign_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object2.campaign_id = campaign_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value45 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value45) {
|
|
creative_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r10.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value46 = value5 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value46) {
|
|
creative_id = value;
|
|
} else {
|
|
try {
|
|
creative_id = ad_identifiers.creative_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object2.creative_id = creative_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value47 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value47) {
|
|
creative_type = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r10.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value48 = value5 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value48) {
|
|
creative_type = value;
|
|
} else {
|
|
try {
|
|
creative_type = ad_identifiers.creative_type;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object2.creative_type = creative_type;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
request_id = body.request_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.decision_id = request_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value49 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value49) {
|
|
ad_identifiers = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r10.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
value50 = value5 != ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.is_targeted = value50;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.adDecisionData = object2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value51 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value51) {
|
|
metadata_sealed = value;
|
|
} else {
|
|
try {
|
|
metadata_sealed = r10.metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object.metadataSealed = metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value52 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value52) {
|
|
traffic_metadata_sealed = value;
|
|
} else {
|
|
try {
|
|
traffic_metadata_sealed = r10.traffic_metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object.trafficMetadataSealed = traffic_metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value53 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value53) {
|
|
ad_context = value;
|
|
} else {
|
|
try {
|
|
ad_context = r10.ad_context;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object.adContext = ad_context;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value54 = value5 == r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value54) {
|
|
response_ttl_seconds = value;
|
|
} else {
|
|
try {
|
|
response_ttl_seconds = r10.response_ttl_seconds;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object.responseTtlSeconds = response_ttl_seconds;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.placement = QUEST_HOME_BANNER_DESKTOP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.fetchedAt = value7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value38, [object]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding8 = env2_2;
|
|
value55 = binding(binding8[9]);
|
|
dispatch = value55.dispatch;
|
|
value = binding(binding8[10]);
|
|
prototype = value.prototype;
|
|
value56 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value56;
|
|
Reflect.apply(dispatch, value55, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
|
|
}
|
|
|
|
function _fetchQuestHomeHeroPreview() { // fn#74015, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:16716, offset: 0x01d7edc7, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun74017).apply(this, arguments);
|
|
function* _fun74017(a0) { // fn#74017, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:16791, offset: 0x01d7ee04, size: 999 bytes, params: 2, frame: 36
|
|
var object2;
|
|
var r7;
|
|
var creative;
|
|
var r6;
|
|
var r10;
|
|
var ad_id;
|
|
var ad_set_id;
|
|
var campaign_id;
|
|
var creative_id;
|
|
var creative_type;
|
|
var ad_identifiers;
|
|
var metadata_sealed;
|
|
var traffic_metadata_sealed;
|
|
var ad_context;
|
|
var response_ttl_seconds;
|
|
var URLSearchParams;
|
|
var prototype;
|
|
var uRLSearchParams;
|
|
var value7;
|
|
var append;
|
|
var binding3;
|
|
var property;
|
|
var value8;
|
|
var HTTP;
|
|
var get;
|
|
var QUESTS_CREATIVE_PREVIEW;
|
|
var toString;
|
|
var value9;
|
|
var concat;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var body;
|
|
var decisions;
|
|
var value15;
|
|
var value16;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var binding4;
|
|
var value20;
|
|
var AdCreativeType;
|
|
var QUEST_HOME_HERO;
|
|
var binding5;
|
|
var value22;
|
|
var questHomeHeroFromServer;
|
|
var value23;
|
|
var binding6;
|
|
var value24;
|
|
var object;
|
|
var value25;
|
|
var value26;
|
|
var value27;
|
|
var value28;
|
|
var value29;
|
|
var value30;
|
|
var value31;
|
|
var value32;
|
|
var value33;
|
|
var value34;
|
|
var request_id;
|
|
var value35;
|
|
var value36;
|
|
var value37;
|
|
var value38;
|
|
var value39;
|
|
var value40;
|
|
var error;
|
|
var binding7;
|
|
var value41;
|
|
var value42;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = undefined;
|
|
let binding = env2_0;
|
|
const binding2 = env2_2;
|
|
const QuestPlacement = binding(binding2[11]).QuestPlacement;
|
|
const QUEST_HOME_BANNER_DESKTOP = QuestPlacement.QUEST_HOME_BANNER_DESKTOP;
|
|
const Date = global.Date;
|
|
const value4 = Date.now();
|
|
const value5 = env2_1(binding2[9]);
|
|
let dispatch = value5.dispatch;
|
|
Reflect.apply(dispatch, value5, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_BEGIN',
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
try {
|
|
URLSearchParams = global.URLSearchParams;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
prototype = URLSearchParams.prototype;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
uRLSearchParams = new URLSearchParams();
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value7 = uRLSearchParams instanceof Object ? uRLSearchParams : undefined;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
append = value7.append;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(append, value7, ['ad_creative_ids', a0]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding3 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding3[8];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value8 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
HTTP = value8.HTTP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
get = HTTP.get;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_12;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
QUESTS_CREATIVE_PREVIEW = binding.QUESTS_CREATIVE_PREVIEW;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
toString = value7.toString;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value9 = Reflect.apply(toString, value7, []);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(concat, '', [QUESTS_CREATIVE_PREVIEW, '?', value9]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.url = value10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.rejectWithError = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value11 = Reflect.apply(get, HTTP, [object2]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
yield value11;
|
|
try {
|
|
value12 = undefined;
|
|
value13 = false;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value13) {
|
|
return value12;
|
|
}
|
|
try {
|
|
body = value12.body;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
decisions = body.decisions;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
const value14 = null;
|
|
try {
|
|
value15 = value14 == decisions;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value15) {
|
|
r7 = value;
|
|
} else {
|
|
try {
|
|
property = decisions[0];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r7 = property;
|
|
}
|
|
try {
|
|
value16 = value14 != r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r7 = !value16 ? value14 : r7;
|
|
try {
|
|
value17 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value17) {
|
|
creative = value;
|
|
} else {
|
|
try {
|
|
creative = r7.creative;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
value18 = value14 != creative;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
const r72 = value18 ? creative : value14;
|
|
try {
|
|
value19 = value14 != r72;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value19) {
|
|
try {
|
|
creative_type = r72.creative_type;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding4 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding4[26];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value20 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
AdCreativeType = value20.AdCreativeType;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
QUEST_HOME_HERO = AdCreativeType.QUEST_HOME_HERO;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r6 = creative_type === QUEST_HOME_HERO;
|
|
} else {
|
|
r6 = value19;
|
|
}
|
|
if (r6) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding5[33];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value22 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
questHomeHeroFromServer = value22.questHomeHeroFromServer;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value23 = Reflect.apply(questHomeHeroFromServer, value22, [r72]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
r10 = value23;
|
|
} else {
|
|
r10 = value14;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding6 = env2_2;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding6[9];
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value24 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
dispatch = value24.dispatch;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.type = 'QUESTS_FETCH_QUEST_HOME_HERO_SUCCESS';
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.questHomeHero = r10;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value25 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value25) {
|
|
ad_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r7.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value26 = value14 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value26) {
|
|
ad_id = value;
|
|
} else {
|
|
try {
|
|
ad_id = ad_identifiers.ad_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object.ad_id = ad_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value27 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value27) {
|
|
ad_set_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r7.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value28 = value14 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value28) {
|
|
ad_set_id = value;
|
|
} else {
|
|
try {
|
|
ad_set_id = ad_identifiers.ad_set_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object.ad_set_id = ad_set_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value29 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value29) {
|
|
campaign_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r7.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value30 = value14 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value30) {
|
|
campaign_id = value;
|
|
} else {
|
|
try {
|
|
campaign_id = ad_identifiers.campaign_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object.campaign_id = campaign_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value31 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value31) {
|
|
creative_id = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r7.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value32 = value14 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value32) {
|
|
creative_id = value;
|
|
} else {
|
|
try {
|
|
creative_id = ad_identifiers.creative_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object.creative_id = creative_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value33 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value33) {
|
|
creative_type = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r7.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value34 = value14 == ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value34) {
|
|
creative_type = value;
|
|
} else {
|
|
try {
|
|
creative_type = ad_identifiers.creative_type;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
object.creative_type = creative_type;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
request_id = body.request_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.decision_id = request_id;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value35 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value35) {
|
|
ad_identifiers = value;
|
|
} else {
|
|
try {
|
|
ad_identifiers = r7.ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
value36 = value14 != ad_identifiers;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object.is_targeted = value36;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.adDecisionData = object;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value37 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value37) {
|
|
metadata_sealed = value;
|
|
} else {
|
|
try {
|
|
metadata_sealed = r7.metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object2.metadataSealed = metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value38 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value38) {
|
|
traffic_metadata_sealed = value;
|
|
} else {
|
|
try {
|
|
traffic_metadata_sealed = r7.traffic_metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object2.trafficMetadataSealed = traffic_metadata_sealed;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value39 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value39) {
|
|
ad_context = value;
|
|
} else {
|
|
try {
|
|
ad_context = r7.ad_context;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object2.adContext = ad_context;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value40 = value14 == r7;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
if (value40) {
|
|
response_ttl_seconds = value;
|
|
} else {
|
|
try {
|
|
response_ttl_seconds = r7.response_ttl_seconds;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
}
|
|
try {
|
|
object2.responseTtlSeconds = response_ttl_seconds;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.placement = QUEST_HOME_BANNER_DESKTOP;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.fetchedAt = value4;
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value24, [object2]);
|
|
} catch (error) {
|
|
binding = env2_1;
|
|
binding7 = env2_2;
|
|
value41 = binding(binding7[9]);
|
|
dispatch = value41.dispatch;
|
|
value = binding(binding7[10]);
|
|
prototype = value.prototype;
|
|
value42 = Object.create(prototype, {constructor: {value: value}});
|
|
value = new value();
|
|
value = value instanceof Object ? value : value42;
|
|
Reflect.apply(dispatch, value41, [{type: 'QUESTS_FETCH_QUEST_HOME_HERO_FAILURE', error: value,
|
|
placement: QUEST_HOME_BANNER_DESKTOP}]);
|
|
throw error;
|
|
}
|
|
return value;
|
|
}
|
|
|
|
}
|
|
|
|
function dismissProgressTrackingFailureNotice(a0) { // fn#74027, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:19309, offset: 0x01d7f1eb, size: 57 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_DISMISS_PROGRESS_TRACKING_FAILURE_NOTICE',
|
|
streamKey: a0});
|
|
}
|
|
|
|
function overrideQuestForPlacement(a0, a1) { // fn#74031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:19834, offset: 0x01d7f224, size: 65 bytes, params: 3, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_PREVIEW_OVERRIDE',
|
|
placement: a0, questId: a1});
|
|
}
|
|
|
|
function selectTaskPlatform(a0, a1) { // fn#74032, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:19969, offset: 0x01d7f265, size: 65 bytes, params: 3, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_SELECT_TASK_PLATFORM',
|
|
questId: a0, platform: a1});
|
|
}
|
|
|
|
function questsVisibleMobileMessagesChanged(a0) { // fn#74033, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:20116, offset: 0x01d7f2a6, size: 57 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_VISIBLE_MOBILE_MESSAGES_CHANGED',
|
|
payload: a0});
|
|
}
|
|
|
|
function updateOptimisticProgress(a0, a1, a2) { // fn#74035, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:20368, offset: 0x01d7f2df, size: 73 bytes, params: 4, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_UPDATE_OPTIMISTIC_PROGRESS',
|
|
questId: a0, taskEventName: a1, progress: a2});
|
|
}
|
|
|
|
function resetOptimisticProgress(a0) { // fn#74036, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:20534, offset: 0x01d7f328, size: 57 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_RESET_OPTIMISTIC_PROGRESS',
|
|
questId: a0});
|
|
}
|
|
|
|
function clearQuestAdDecision(a0, a1) { // fn#74038, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:20768, offset: 0x01d7f361, size: 102 bytes, params: 3, frame: 14
|
|
const dispatch = Dispatcher.dispatch;
|
|
const object = {type: 'QUESTS_FETCH_QUEST_TO_DELIVER_SUCCESS', quest: undefined, placement: a0};
|
|
const Date = global.Date;
|
|
object.fetchedAt = Date.now();
|
|
object.responseTtlSeconds = a1 / 1000;
|
|
Reflect.apply(dispatch, Dispatcher, [object]);
|
|
}
|
|
|
|
function updatePrevRestingQuestDockMode(a0) { // fn#74040, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:21095, offset: 0x01d7f3c7, size: 56 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_PREV_RESTING_QUEST_DOCK_MODE_UPDATE',
|
|
mode: a0});
|
|
}
|
|
|
|
function updateQuestDockVisibilityEligibility({isEligibleToBeVisible}) { // fn#74043, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:21466, offset: 0x01d7f3ff, size: 63 bytes, params: 2, frame: 14
|
|
Dispatcher.dispatch({type: 'QUESTS_DOCK_VISIBILITY_ELIGIBILITY_UPDATE',
|
|
isEligibleToBeVisible: isEligibleToBeVisible});
|
|
}
|
|
|
|
function dismissQuestActivityModal(a0) { // fn#74048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:22059, offset: 0x01d7f43e, size: 57 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'UNENROLLED_ACTIVITY_QUEST_DISMISS',
|
|
questId: a0});
|
|
}
|
|
|
|
function setAutoEnroll(a0) { // fn#74049, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:22185, offset: 0x01d7f477, size: 57 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'UNENROLLED_ACTIVITY_QUEST_AUTO_ENROLL',
|
|
autoEnroll: a0});
|
|
}
|
|
|
|
function markAdContentSeen(a0, a1) { // fn#74050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:22310, offset: 0x01d7f4b0, size: 65 bytes, params: 3, frame: 13
|
|
(Dispatcher).dispatch({type: 'AD_CONTENT_MARK_SEEN',
|
|
adCreativeType: a0, contentIds: a1});
|
|
}
|
|
|
|
function markAdContentUnseen(a0, a1) { // fn#74051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:22443, offset: 0x01d7f4f1, size: 65 bytes, params: 3, frame: 13
|
|
(Dispatcher).dispatch({type: 'AD_CONTENT_MARK_UNSEEN',
|
|
adCreativeType: a0, contentIds: a1});
|
|
}
|
|
|
|
function markQuestDiscovered(a0) { // fn#74052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:22580, offset: 0x01d7f532, size: 57 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'QUESTS_MARK_DISCOVERED', questId: a0});
|
|
}
|
|
|
|
}
|
|
|
|
function _fun73955(a0) { // fn#73955, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2201, offset: 0x00e46f8c, size: 10 bytes, params: 2, frame: 1
|
|
return a0.id;
|
|
}
|
|
|
|
function _fun73956(a0) { // fn#73956, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2220, offset: 0x00e46f8c, size: 10 bytes, params: 2, frame: 1
|
|
return a0.id;
|
|
}
|
|
|
|
function _fun73958(a0) { // fn#73958, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9670:2271, offset: 0x00e46f8c, size: 10 bytes, params: 2, frame: 1
|
|
return a0.id;
|
|
}
|
|
|
|
global.__d(_fun73939, 9484, [5, 9485, 4897, 4896, 7093, 7095, 6528, 661, 507, 694, 4132, 6531, 1244, 7100, 1216,
|
|
5046, 480, 9486, 7110, 9489, 7091, 9490, 4875, 7113, 9491, 3987, 7121, 9492, 683, 7071, 9494, 9495, 672, 9509,
|
|
2]) /* metro module 9484, dependencies: [5, 9485, 4897, 4896, 7093, 7095, 6528, 661, 507, 694, 4132, 6531, 1244, 7100, 1216, 5046, 480, 9486, 7110, 9489, 7091, 9490, 4875, 7113, 9491, 3987, 7121, 9492, 683, 7071, 9494, 9495, 672, 9509, 2] */;
|