Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,130 @@
|
||||
/* Metro module 1621; source: unknown; dependencies: [57] */
|
||||
function _fun17777(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17777, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1748:6, offset: 0x00e76358, size: 220 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_1 = importDefault(57) /* metro dependency 57 */;
|
||||
const closure = function(a0) {
|
||||
var r0;
|
||||
var Error = global.Error;
|
||||
var value = '[Reanimated]';
|
||||
r0 = a0 ? '' + value + ' ' + a0 : value;
|
||||
var value2 = new Error();
|
||||
value2.name = 'ReanimatedError';
|
||||
return value2;
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 17260882889510;
|
||||
closure.__initData = {code: 'function ReanimatedError_Pnpm_errorsTs1(message){const prefix=\'[Reanimated]\';const errorInstance=new Error(message?prefix+" "+message:prefix);errorInstance.name=\'ReanimatedError\';return errorInstance;}'};
|
||||
object = {code: "function registerReanimatedError_Pnpm_errorsTs2(){const{ReanimatedErrorConstructor}=this.__closure;if(!_WORKLET){throw new Error('[Reanimated] registerReanimatedError() must be called on Worklet runtime');}global.ReanimatedError=ReanimatedErrorConstructor;}"};
|
||||
let value = _fun17781();
|
||||
const Map = global.Map;
|
||||
const map = new Map();
|
||||
exports.ReanimatedError = closure;
|
||||
exports.registerReanimatedError = value;
|
||||
exports.registerWorkletStackDetails = registerWorkletStackDetails;
|
||||
exports.reportFatalErrorOnJS = reportFatalErrorOnJS;
|
||||
}
|
||||
|
||||
function processStack(a0) { // fn#17778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1748:1063, offset: 0x00e76434, size: 61 bytes, params: 2, frame: 12
|
||||
const value = a0.match(RegExp('worklet_(\\d+):(\\d+):(\\d+)', 'g'));
|
||||
const env0_0 = a0;
|
||||
if (value != null) {
|
||||
value.forEach(_fun17779);
|
||||
}
|
||||
return env0_0;
|
||||
}
|
||||
|
||||
function _fun17781() { // fn#17781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1748:775, offset: 0x00e76638, size: 57 bytes, params: 1, frame: 4
|
||||
const closure = registerReanimatedError;
|
||||
closure.__closure = {ReanimatedErrorConstructor: ReanimatedError};
|
||||
closure.__workletHash = 12525509537607;
|
||||
closure.__initData = env0_3;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function registerWorkletStackDetails(a0, a1) { // fn#17783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1748:1676, offset: 0x00e766b3, size: 28 bytes, params: 3, frame: 13
|
||||
env0_4.set(a0, a1);
|
||||
}
|
||||
|
||||
function reportFatalErrorOnJS({message, stack}) { // fn#17784, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1748:1753, offset: 0x00e766cf, size: 119 bytes, params: 2, frame: 13
|
||||
const Error = global.Error;
|
||||
const error = new Error();
|
||||
error.message = message;
|
||||
error.stack = stack ? processStack(stack) : undefined;
|
||||
error.name = 'ReanimatedError';
|
||||
error.jsEngine = 'reanimated';
|
||||
const ErrorUtils = env0_0.ErrorUtils;
|
||||
ErrorUtils.reportFatalError(error);
|
||||
}
|
||||
|
||||
function _fun17779(a0) { // fn#17779, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1748:1163, offset: 0x00e76471, size: 369 bytes, params: 2, frame: 30
|
||||
var r14;
|
||||
var r11;
|
||||
var property4;
|
||||
var property5;
|
||||
var stack;
|
||||
var items2;
|
||||
var property6;
|
||||
var property7;
|
||||
var value4;
|
||||
let value = a0.split(RegExp(':|_', ''));
|
||||
const map = value.map;
|
||||
let Number = global.Number;
|
||||
value = Reflect.apply(map, value, [Number]);
|
||||
const value3 = undefined;
|
||||
value = env1_1(value, 4);
|
||||
let property = value[1];
|
||||
const property2 = value[2];
|
||||
const property3 = value[3];
|
||||
value = env1_4.get(property);
|
||||
if (value) {
|
||||
value = env1_1(value, 3);
|
||||
property = value[0];
|
||||
property4 = value[1];
|
||||
property5 = value[2];
|
||||
stack = property.stack;
|
||||
if (stack == null) {
|
||||
r14 = value3;
|
||||
} else {
|
||||
value = stack.split('\n');
|
||||
r14 = value == null ? value3 : value[0];
|
||||
}
|
||||
if (r14) {
|
||||
value = RegExp('@([^@]+):(\\d+):(\\d+)', '').exec(r14);
|
||||
if (value) {
|
||||
value = env1_1(value, 4);
|
||||
property = value[1];
|
||||
property6 = value[2];
|
||||
property7 = value[3];
|
||||
items2 = [property];
|
||||
Number = global.Number;
|
||||
items2[1] = Number(property6);
|
||||
Number = global.Number;
|
||||
items2[2] = Number(property7);
|
||||
r11 = items2;
|
||||
} else {
|
||||
r11 = ['unknown', 0, 0];
|
||||
}
|
||||
} else {
|
||||
r11 = ['unknown', 0, 0];
|
||||
}
|
||||
value = env1_1(r11, 3);
|
||||
property = value[0];
|
||||
value4 = property2 + value[1] + property4;
|
||||
value = property3 + value[2] + property5;
|
||||
env0_0 = env0_0.replace(a0, '' + property + ':' + value4 + ':' + value);
|
||||
}
|
||||
return value3;
|
||||
}
|
||||
|
||||
function registerReanimatedError() { // fn#17782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1748:792, offset: 0x00e76671, size: 66 bytes, params: 1, frame: 11
|
||||
var value;
|
||||
if (global._WORKLET) {
|
||||
value = environment.__proto__;
|
||||
env1_0.ReanimatedError = ReanimatedError;
|
||||
return undefined;
|
||||
}
|
||||
const Error = global.Error;
|
||||
throw new Error('[Reanimated] registerReanimatedError() must be called on Worklet runtime');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user