Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,63 @@
|
||||
/* Metro module 1535; source: unknown; dependencies: [31, 1536] */
|
||||
function _fun17346(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1662:6, offset: 0x00e6a70d, size: 84 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importAll(31) /* metro dependency 31 */;
|
||||
exports.default = useFocusEffect;
|
||||
}
|
||||
|
||||
function useFocusEffect(a0) { // fn#17347, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1662:116, offset: 0x00e6a761, size: 110 bytes, params: 2, frame: 17
|
||||
const env0_0 = a0;
|
||||
const value2 = (importDefault(1536) /* metro dependency 1536 */)();
|
||||
if (arguments[1] !== undefined) {
|
||||
global.console.error("You passed a second argument to 'useFocusEffect', but it only accepts one argument. If you want to pass a dependency array, you can use 'React.useCallback':\n\nuseFocusEffect(\n React.useCallback(() => {\n // Your code here\n }, [depA, depB])\n);\n\nSee usage guide: https://reactnavigation.org/docs/use-focus-effect");
|
||||
}
|
||||
env0_2.useEffect(_fun17348, [a0, value2]);
|
||||
}
|
||||
|
||||
function _fun17348() { // fn#17348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1662:537, offset: 0x00e6a7cf, size: 114 bytes, params: 1, frame: 14
|
||||
let env0_1 = false;
|
||||
const closure = callback_17349;
|
||||
let binding = env0_1;
|
||||
if (binding.isFocused()) {
|
||||
var env0_0 = closure();
|
||||
env0_1 = true;
|
||||
}
|
||||
binding = env0_1;
|
||||
const env0_3 = binding.addListener('focus', _fun17350);
|
||||
const env0_4 = binding.addListener('blur', _fun17351);
|
||||
return _fun17352;
|
||||
}
|
||||
|
||||
function callback_17349() { // fn#17349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1662:561, offset: 0x00e6a841, size: 32 bytes, params: 1, frame: 11
|
||||
let value = environment.__proto__;
|
||||
value = env1_0();
|
||||
if (value === undefined) {
|
||||
return value;
|
||||
}
|
||||
return typeof value === 'function' ? value : undefined;
|
||||
}
|
||||
|
||||
function _fun17350() { // fn#17350, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1662:694, offset: 0x00e6a861, size: 50 bytes, params: 1, frame: 10
|
||||
if (!env0_1) {
|
||||
if (env0_0 !== undefined) {
|
||||
env0_0();
|
||||
}
|
||||
env0_0 = callback_17349();
|
||||
}
|
||||
}
|
||||
|
||||
function _fun17351() { // fn#17351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1662:764, offset: 0x00e6a893, size: 33 bytes, params: 1, frame: 10
|
||||
if (env0_0 !== undefined) {
|
||||
env0_0();
|
||||
}
|
||||
}
|
||||
|
||||
function _fun17352() { // fn#17352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1662:815, offset: 0x00e6a8b4, size: 39 bytes, params: 1, frame: 10
|
||||
if (env0_0 !== undefined) {
|
||||
env0_0();
|
||||
}
|
||||
env0_3();
|
||||
env0_4();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user