Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,32 @@
|
||||
/* Metro module 473; source: unknown; dependencies: [474] */
|
||||
function _fun6158(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6158, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:514:6, offset: 0x00cef1b2, size: 83 bytes, params: 8, frame: 16
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.default = {vibrate: vibrate, cancel: cancel};
|
||||
}
|
||||
|
||||
function vibrate() { // fn#6159, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:514:107, offset: 0x00cef205, size: 212 bytes, params: 1, frame: 16
|
||||
var defaultImport;
|
||||
let value = 0;
|
||||
const value2 = 400;
|
||||
const r3 = arguments.length > value ? arguments[value] === undefined ? value2 : arguments[value] : value2;
|
||||
const r6 = arguments.length > 1 && arguments[1] !== undefined && arguments[1];
|
||||
if (typeof r3 === 'number') {
|
||||
value = importDefault(dependencyMap[value]);
|
||||
value.vibrate(r3);
|
||||
return undefined;
|
||||
}
|
||||
const Array = global.Array;
|
||||
if (Array.isArray(r3)) {
|
||||
defaultImport = importDefault(dependencyMap[value]);
|
||||
defaultImport.vibrateByPattern(r3, r6 ? value : -1);
|
||||
return undefined;
|
||||
}
|
||||
const Error = global.Error;
|
||||
throw new Error('Vibration pattern should be a number or array');
|
||||
}
|
||||
|
||||
function cancel() { // fn#6160, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:514:425, offset: 0x00cef2d9, size: 36 bytes, params: 1, frame: 11
|
||||
(importDefault(474) /* metro dependency 474 */).cancel();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user