Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,152 @@
|
||||
/* Metro module 3905; source: unknown; dependencies: [29, 31, 33, 3906, 3907, 3909, 3887] */
|
||||
function _fun32129(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#32129, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4044:6, offset: 0x0100d049, size: 158 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const env0_2 = ['onError', 'hybridRef'];
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(29) /* metro dependency 29 */;
|
||||
const value = require(31) /* metro dependency 31 */;
|
||||
const env0_4 = value.useEffect;
|
||||
const env0_5 = value.useRef;
|
||||
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const defaultOnError = function(a0) {
|
||||
var console = global.console;
|
||||
var RiveErrorType = require(dependencyMap[3]).RiveErrorType;
|
||||
return console.error('[' + RiveErrorType[a0.type] + '] ' + a0.message);
|
||||
};
|
||||
exports.RiveView = RiveView;
|
||||
}
|
||||
|
||||
function RiveView(a0) { // fn#32131, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4044:298, offset: 0x0100d147, size: 507 bytes, params: 2, frame: 24
|
||||
var r2;
|
||||
var r4;
|
||||
var r6;
|
||||
var r8;
|
||||
var r10;
|
||||
var r5;
|
||||
var r0;
|
||||
var property;
|
||||
var property2;
|
||||
var onError;
|
||||
var hybridRef;
|
||||
var value3;
|
||||
var closure;
|
||||
var object;
|
||||
const NitroRiveView = (require(3887) /* metro dependency 3887 */).NitroRiveView;
|
||||
var Object;
|
||||
var nitroRiveView;
|
||||
const value2 = (require(3907) /* metro dependency 3907 */).c(16);
|
||||
if (value2[0] !== a0) {
|
||||
onError = a0.onError;
|
||||
hybridRef = a0.hybridRef;
|
||||
value3 = env0_3(a0, env0_2);
|
||||
value2[0] = a0;
|
||||
value2[1] = onError;
|
||||
value2[2] = value3;
|
||||
value2[3] = hybridRef;
|
||||
r2 = hybridRef;
|
||||
r4 = onError;
|
||||
r6 = value3;
|
||||
} else {
|
||||
property = value2[1];
|
||||
property2 = value2[2];
|
||||
r2 = value2[3];
|
||||
r4 = property;
|
||||
r6 = property2;
|
||||
}
|
||||
r4 = r4 ?? defaultOnError;
|
||||
const env0_1 = useRef(null);
|
||||
property = value2[4];
|
||||
const Symbol = global.Symbol;
|
||||
if (property === Symbol.for('react.memo_cache_sentinel')) {
|
||||
closure = function() {
|
||||
return _fun32133;
|
||||
};
|
||||
object = [];
|
||||
value2[4] = closure;
|
||||
value2[5] = object;
|
||||
r8 = object;
|
||||
r10 = closure;
|
||||
} else {
|
||||
property = value2[4];
|
||||
r8 = value2[5];
|
||||
r10 = property;
|
||||
}
|
||||
useEffect(r10, r8);
|
||||
if (value2[6] !== r2) {
|
||||
closure = RiveViewT2;
|
||||
value2[6] = r2;
|
||||
value2[7] = closure;
|
||||
r8 = closure;
|
||||
} else {
|
||||
r8 = value2[7];
|
||||
}
|
||||
if (value2[8] !== r4) {
|
||||
object = {f: r4};
|
||||
value2[8] = r4;
|
||||
value2[9] = object;
|
||||
r5 = object;
|
||||
} else {
|
||||
r5 = value2[9];
|
||||
}
|
||||
if (value2[10] !== r8) {
|
||||
object = {f: r8};
|
||||
value2[10] = r8;
|
||||
value2[11] = object;
|
||||
r4 = object;
|
||||
} else {
|
||||
r4 = value2[11];
|
||||
}
|
||||
if (value2[12] !== r6) {
|
||||
Object = global.Object;
|
||||
nitroRiveView = <NitroRiveView {...Object.assign({}, r6, {onError: r5, hybridRef: r4})} />;
|
||||
value2[12] = r6;
|
||||
value2[13] = r5;
|
||||
value2[14] = r4;
|
||||
value2[15] = nitroRiveView;
|
||||
r0 = nitroRiveView;
|
||||
} else if (value2[13] !== r5) {
|
||||
Object = global.Object;
|
||||
nitroRiveView = <NitroRiveView {...Object.assign({}, r6, {onError: r5, hybridRef: r4})} />;
|
||||
value2[12] = r6;
|
||||
value2[13] = r5;
|
||||
value2[14] = r4;
|
||||
value2[15] = nitroRiveView;
|
||||
r0 = nitroRiveView;
|
||||
} else if (value2[14] !== r4) {
|
||||
Object = global.Object;
|
||||
nitroRiveView = <NitroRiveView {...Object.assign({}, r6, {onError: r5, hybridRef: r4})} />;
|
||||
value2[12] = r6;
|
||||
value2[13] = r5;
|
||||
value2[14] = r4;
|
||||
value2[15] = nitroRiveView;
|
||||
r0 = nitroRiveView;
|
||||
} else {
|
||||
r0 = value2[15];
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function RiveViewT0() { // fn#32132, owner: RiveView.t0, offset: 0x0100d342, size: 9 bytes, params: 1, frame: 1
|
||||
return _fun32133;
|
||||
}
|
||||
|
||||
function RiveViewT2(a0) { // fn#32134, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4044:674, owner: RiveView.t2, offset: 0x0100d397, size: 57 bytes, params: 2, frame: 13
|
||||
env0_1.current = a0;
|
||||
const hybridRefBinding = hybridRef;
|
||||
if (hybridRefBinding != null && hybridRefBinding.f) {
|
||||
hybridRef.f(a0);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun32133() { // fn#32133, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4044:547, offset: 0x0100d34b, size: 76 bytes, params: 1, frame: 12
|
||||
var value2;
|
||||
var moduleValue;
|
||||
if (env1_1.current) {
|
||||
value2 = environment.__proto__.__proto__;
|
||||
moduleValue = require(3909) /* metro dependency 3909 */;
|
||||
moduleValue.callDispose(env1_1.current);
|
||||
env1_1.current = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user