Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,78 @@
|
||||
/* Metro module 9770; source: modules/share/native/useShareChatInputActions.tsx; dependencies: [57, 31, 1881, 8529, 2] */
|
||||
function _fun76674(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76674, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9956:6, offset: 0x01ddf99b, size: 155 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_4 = (require(1881) /* metro dependency 1881: EmojiConstants */).EmojiIntention;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/share/native/useShareChatInputActions.tsx');
|
||||
exports.useShareChatInputActions = useShareChatInputActions;
|
||||
}
|
||||
|
||||
function useShareChatInputActions(a0, a1, a2) { // fn#76675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9956:251, offset: 0x01ddfa36, size: 308 bytes, params: 4, frame: 22
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const env0_2 = a2;
|
||||
const binding = env0_3;
|
||||
const value2 = binding.useRef(null);
|
||||
const env0_4 = binding.useRef({'start': 0, 'end': 0});
|
||||
let value = env0_2(binding.useState(false), 2);
|
||||
const property = value[0];
|
||||
const env0_5 = value[1];
|
||||
let useCallback = binding.useCallback;
|
||||
value = Reflect.apply(useCallback, binding, [_fun76676, []]);
|
||||
const value4 = binding.useCallback(_fun76677, []);
|
||||
const value5 = binding.useCallback(_fun76678, []);
|
||||
const value6 = binding.useCallback(_fun76679, [a0]);
|
||||
const value7 = binding.useCallback(_fun76681, []);
|
||||
useCallback = binding.useCallback;
|
||||
return {textInputRef: value2, isInputFocused: property, handleSelectionChange: value, handleMessageFocus: value4,
|
||||
handleMessageBlur: value5, handlePressEmoji: Reflect.apply(useCallback, binding, [_fun76682, [value7, value6,
|
||||
a1, a2]])};
|
||||
}
|
||||
|
||||
function _fun76676({nativeEvent}) { // fn#76676, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9956:398, offset: 0x01ddfb6a, size: 41 bytes, params: 2, frame: 12
|
||||
const binding = env0_4;
|
||||
const object2 = {};
|
||||
copyDataProperties(object2, nativeEvent.selection, nativeEvent);
|
||||
binding.current = object2;
|
||||
}
|
||||
|
||||
function _fun76679(a0) { // fn#76679, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9956:532, offset: 0x01ddfbb7, size: 156 bytes, params: 2, frame: 16
|
||||
(a0.id != null ? ':' + (a0.uniqueName == null ? a0.name : a0.uniqueName !== '' ? a0.uniqueName : a0.name) + ': ' : a0.surrogates ?? ':' + (a0.uniqueName == null ? a0.name : a0.uniqueName !== '' ? a0.uniqueName : a0.name) + ': ')(_fun76680);
|
||||
const current = env0_3.current;
|
||||
if (current != null) {
|
||||
current.focus();
|
||||
}
|
||||
}
|
||||
|
||||
function _fun76682() { // fn#76682, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9956:857, offset: 0x01ddfcb9, size: 169 bytes, params: 1, frame: 16
|
||||
const current = env0_3.current;
|
||||
if (current != null) {
|
||||
current.blur();
|
||||
}
|
||||
const value3 = undefined;
|
||||
const openEmojiPickerActionSheetModule = require(8529) /* metro dependency 8529: openEmojiPickerActionSheet */;
|
||||
const openEmojiPickerActionSheet = openEmojiPickerActionSheetModule.openEmojiPickerActionSheet;
|
||||
const object2 = {onPressEmoji: env0_6, onClose: env0_7};
|
||||
const CHAT = EmojiIntention.CHAT;
|
||||
object2.pickerIntention = CHAT;
|
||||
object2.autoFocus = false;
|
||||
object2.startExpanded = false;
|
||||
object2.channel = require;
|
||||
object2.appEntryKey = importDefault;
|
||||
object2.guildId = (require == null ? value3 : require.getGuildId()) ?? value3;
|
||||
Reflect.apply(openEmojiPickerActionSheet, openEmojiPickerActionSheetModule, [object2]);
|
||||
return value3;
|
||||
}
|
||||
|
||||
function _fun76680(a0) { // fn#76680, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9956:680, offset: 0x01ddfc53, size: 70 bytes, params: 2, frame: 14
|
||||
const slice = a0.slice;
|
||||
let value = environment.__proto__;
|
||||
const binding = env1_4;
|
||||
value = Reflect.apply(slice, a0, [0, binding.current.start]);
|
||||
value += surrogates;
|
||||
return value + a0.slice(binding.current.end);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user