Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,56 @@
|
||||
/* Metro module 3988; source: modules/routing/RouteParam.tsx; dependencies: [662, 1386, 484, 3989, 2] */
|
||||
function _fun32785(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#32785, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4146:6, offset: 0x0101e2d9, size: 168 bytes, params: 8, frame: 18
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(662) /* metro dependency 662: RouteConstants */).PSEUDO_GUILD_IDS;
|
||||
const env0_4 = (require(1386) /* metro dependency 1386: ChannelConstants */).StaticChannelRoutes;
|
||||
object2 = {guildId: guildId, channelId: channelId};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/routing/RouteParam.tsx');
|
||||
exports.RouteParam = object2;
|
||||
}
|
||||
|
||||
function paramPattern(a0, a1) { // fn#32786, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4146:153, offset: 0x0101e381, size: 151 bytes, params: 3, frame: 20
|
||||
let value = a2;
|
||||
let optional = (value !== undefined ? value : {}).optional;
|
||||
optional = !(optional === undefined) && optional;
|
||||
const UnescapedPathParam = (require(484) /* metro dependency 484: PathUtils */).UnescapedPathParam;
|
||||
value = importDefault(3989) /* metro dependency 3989 */;
|
||||
value = value(a0);
|
||||
value = ':' + value + '(' + a1 + ')' + (optional ? '?' : '');
|
||||
const value4 = Object.create(UnescapedPathParam.prototype, {constructor: {value: UnescapedPathParam}});
|
||||
const unescapedPathParam = new UnescapedPathParam(value);
|
||||
return unescapedPathParam instanceof Object ? unescapedPathParam : value4;
|
||||
}
|
||||
|
||||
function guildId() { // fn#32787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4146:288, offset: 0x0101e418, size: 136 bytes, params: 1, frame: 19
|
||||
let value = a0;
|
||||
const r0 = value !== undefined ? value : {};
|
||||
let name = r0.name;
|
||||
name = name === undefined ? 'guildId' : name;
|
||||
let optional = r0.optional;
|
||||
optional = !(optional === undefined) && optional;
|
||||
const paramPatternBinding = paramPattern;
|
||||
value = PSEUDO_GUILD_IDS.map(importDefault(3989) /* metro dependency 3989 */);
|
||||
value = value.join('|');
|
||||
value = '' + value + '|\\d+';
|
||||
return paramPatternBinding(name, value, {optional: optional});
|
||||
}
|
||||
|
||||
function channelId() { // fn#32788, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4146:401, offset: 0x0101e4a0, size: 149 bytes, params: 1, frame: 19
|
||||
let value = a0;
|
||||
const r0 = value !== undefined ? value : {};
|
||||
let name = r0.name;
|
||||
name = name === undefined ? 'channelId' : name;
|
||||
let optional = r0.optional;
|
||||
optional = !(optional === undefined) && optional;
|
||||
const paramPatternBinding = paramPattern;
|
||||
const items = [];
|
||||
arraySpread(items, StaticChannelRoutes, 0, undefined);
|
||||
value = items.map(importDefault(3989) /* metro dependency 3989 */);
|
||||
value = value.join('|');
|
||||
value = '' + value + '|\\d+';
|
||||
return paramPatternBinding(name, value, {optional: optional});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user