Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,104 @@
|
||||
/* Metro module 5453; source: unknown; dependencies: [31, 27] */
|
||||
function _fun47998(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:6, offset: 0x011d6e4b, size: 108 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importAll(31) /* metro dependency 31 */;
|
||||
const value = require(27) /* metro dependency 27 */;
|
||||
const env0_1 = value.Keyboard;
|
||||
const env0_2 = value.TextInput;
|
||||
exports.default = useKeyboardManager;
|
||||
}
|
||||
|
||||
function useKeyboardManager(a0) { // fn#47999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:153, offset: 0x011d6eb7, size: 212 bytes, params: 2, frame: 18
|
||||
const env0_0 = a0;
|
||||
const binding = env0_0;
|
||||
const env0_1 = binding.useRef(undefined);
|
||||
const env0_2 = binding.useRef(0);
|
||||
const env0_3 = binding.useRef();
|
||||
const value = binding.useCallback(_fun48000, []);
|
||||
const value2 = binding.useCallback(_fun48001, [value, a0]);
|
||||
const value3 = binding.useCallback(_fun48002, [value, a0]);
|
||||
const value4 = binding.useCallback(_fun48003, [value, a0]);
|
||||
binding.useEffect(function() {
|
||||
return _fun48006;
|
||||
}, [value]);
|
||||
return {onPageChangeStart: value2, onPageChangeConfirm: value3, onPageChangeCancel: value4};
|
||||
}
|
||||
|
||||
function _fun48000() { // fn#48000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:251, offset: 0x011d6f8b, size: 48 bytes, params: 1, frame: 12
|
||||
var clearTimeout;
|
||||
var binding;
|
||||
if (env0_3.current !== undefined) {
|
||||
clearTimeout = global.clearTimeout;
|
||||
binding = env0_3;
|
||||
clearTimeout(binding.current);
|
||||
binding.current = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun48001() { // fn#48001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:348, offset: 0x011d6fbb, size: 102 bytes, params: 1, frame: 11
|
||||
var value2;
|
||||
var value3;
|
||||
if (env0_0()) {
|
||||
env0_4();
|
||||
value2 = environment.__proto__;
|
||||
value3 = TextInput.State.currentlyFocusedInput();
|
||||
if (value3 != null) {
|
||||
value3.blur();
|
||||
}
|
||||
env0_1.current = value3;
|
||||
env0_2.current = global.Date.now();
|
||||
}
|
||||
}
|
||||
|
||||
function _fun48002(a0) { // fn#48002, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:487, offset: 0x011d7021, size: 86 bytes, params: 2, frame: 11
|
||||
var current;
|
||||
var value2;
|
||||
if (env0_0()) {
|
||||
env0_4();
|
||||
if (a0) {
|
||||
value2 = environment.__proto__;
|
||||
Keyboard.dismiss();
|
||||
} else {
|
||||
current = env0_1.current;
|
||||
if (current != null) {
|
||||
current.blur();
|
||||
}
|
||||
}
|
||||
env0_1.current = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun48003() { // fn#48003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:611, offset: 0x011d7077, size: 136 bytes, params: 1, frame: 16
|
||||
var current;
|
||||
if (env0_0()) {
|
||||
env0_4();
|
||||
current = env0_1.current;
|
||||
if (current) {
|
||||
if (global.Date.now() - env0_2.current < 100) {
|
||||
env0_3.current = global.setTimeout(_fun48004, 100);
|
||||
} else {
|
||||
if (current != null) {
|
||||
current.focus();
|
||||
}
|
||||
env0_1.current = undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun48005() { // fn#48005, offset: 0x011d712b, size: 9 bytes, params: 1, frame: 1
|
||||
return _fun48006;
|
||||
}
|
||||
|
||||
function _fun48004() { // fn#48004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:701, offset: 0x011d70ff, size: 44 bytes, params: 1, frame: 10
|
||||
if (current != null) {
|
||||
current.focus();
|
||||
}
|
||||
env1_1.current = undefined;
|
||||
}
|
||||
|
||||
function _fun48006() { // fn#48006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5631:842, offset: 0x011d7134, size: 15 bytes, params: 1, frame: 9
|
||||
return env1_4();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user