44 lines
2.7 KiB
React
44 lines
2.7 KiB
React
/* Metro module 1630; source: unknown; dependencies: [6, 7, 99, 100, 1631, 1632, 1621] */
|
|
function _fun17827(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17827, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1757:6, offset: 0x00e77a54, size: 163 bytes, params: 8, frame: 18
|
|
const env0_1 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_5 = importDefault(99) /* metro dependency 99 */;
|
|
const env0_6 = (importDefault(100) /* metro dependency 100 */)('workletsModuleProxy');
|
|
const env0_7 = _fun17828();
|
|
exports.createNativeWorkletsModule = createNativeWorkletsModule;
|
|
}
|
|
|
|
function _fun17828() { // fn#17828, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1757:165, offset: 0x00e77af7, size: 55 bytes, params: 1, frame: 14
|
|
return env0_4(NativeWorklets, [{key: 'makeShareableClone', value: value_17830}]);
|
|
}
|
|
|
|
function NativeWorklets() { // fn#17829, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1757:186, offset: 0x00e77b2e, size: 262 bytes, params: 1, frame: 18
|
|
const WorkletsTurboModule = (require(1632) /* metro dependency 1632 */).WorkletsTurboModule;
|
|
const value = environment.__proto__;
|
|
let binding = env1_3;
|
|
binding(this, NativeWorklets);
|
|
const Object = global.Object;
|
|
Object.defineProperty(this, env1_6, {writable: true, value: undefined});
|
|
if (env1_0.__workletsModuleProxy === undefined) {
|
|
if (WorkletsTurboModule != null) {
|
|
WorkletsTurboModule.installTurboModule((require(1631) /* metro dependency 1631 */).getValueUnpackerCode());
|
|
}
|
|
}
|
|
if (env1_0.__workletsModuleProxy === undefined) {
|
|
throw new (require(1621) /* metro dependency 1621 */).ReanimatedError("Native part of Reanimated doesn't seem to be initialized (Worklets).\nSee https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#native-part-of-reanimated-doesnt-seem-to-be-initialized for more details.");
|
|
}
|
|
binding = env1_5;
|
|
const binding2 = env1_6;
|
|
binding(this, binding2)[binding2] = env1_0.__workletsModuleProxy;
|
|
}
|
|
|
|
function value_17830(a0, a1, a2) { // fn#17830, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1757:824, offset: 0x00e77c34, size: 50 bytes, params: 4, frame: 15
|
|
const binding = env1_5;
|
|
const binding2 = env1_6;
|
|
return binding(this, binding2)[binding2].makeShareableClone(a0, a1, a2);
|
|
}
|
|
|