84 lines
4.2 KiB
TypeScript
84 lines
4.2 KiB
TypeScript
/* Metro module 4138; source: errors/ClientOutdatedAcceptGiftError.tsx; dependencies: [7, 6, 15, 17, 18, 162, 661, 2] */
|
|
import ClassCallCheck from '../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from '../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from '../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Module00162 from '../by-id/module-00162.js'; /* Metro dependency 162 */
|
|
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 661 */
|
|
|
|
function _fun34348(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:6, offset: 0x01053af8, size: 227 bytes, params: 8, frame: 20
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = Module00162;
|
|
const Error = global.Error;
|
|
value = value(Error);
|
|
value = _fun34352(value);
|
|
(FileImportTrackerModule).fileFinishedImporting('errors/ClientOutdatedAcceptGiftError.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_34349() { // fn#34349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:179, offset: 0x01053bdb, size: 94 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_34349_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun34352(a0) { // fn#34352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:378, offset: 0x01053c39, size: 40 bytes, params: 2, frame: 14
|
|
const ClientOutdatedAcceptGiftError2 = ClientOutdatedAcceptGiftError;
|
|
Inherits(ClientOutdatedAcceptGiftError2, a0);
|
|
return CreateClass(ClientOutdatedAcceptGiftError2);
|
|
function ClientOutdatedAcceptGiftError(a0) { // fn#34353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:390, offset: 0x01053c61, size: 142 bytes, params: 2, frame: 20
|
|
var r0;
|
|
var Reflect;
|
|
let value = copyRestArgs(0, undefined);
|
|
let binding = env1_1;
|
|
binding(this, ClientOutdatedAcceptGiftError);
|
|
const items2 = [];
|
|
arraySpread(items2, value, 0, items2);
|
|
value = env1_3(ClientOutdatedAcceptGiftError);
|
|
binding = env1_2;
|
|
if (_isNativeReflectConstruct_34349()) {
|
|
Reflect = global.Reflect;
|
|
value = Reflect.construct(value, items2, env1_3(this).constructor);
|
|
r0 = value;
|
|
} else {
|
|
value = value.apply(this, items2);
|
|
r0 = value;
|
|
}
|
|
value = binding(this, r0);
|
|
const INVALID_GIFT_REDEMPTION_CLIENT_UPDATE_REQUIRED = AbortCodes.INVALID_GIFT_REDEMPTION_CLIENT_UPDATE_REQUIRED;
|
|
value.code = INVALID_GIFT_REDEMPTION_CLIENT_UPDATE_REQUIRED;
|
|
return value;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun34348, 4138, [7, 6, 15, 17, 18, 162, 661,
|
|
2]) /* metro module 4138, dependencies: [7, 6, 15, 17, 18, 162, 661, 2] */;
|