Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,56 @@
|
||||
/* Metro module 8017; source: unknown; dependencies: [8018] */
|
||||
function _fun63684(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63684, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8195:6, offset: 0x01b8a27d, size: 68 bytes, params: 8, frame: 14
|
||||
const env0_0 = require;
|
||||
const closure = colorPropType;
|
||||
const value = closure.bind(null, false);
|
||||
value.isRequired = closure.bind(null, true);
|
||||
module.exports = value;
|
||||
}
|
||||
|
||||
function colorPropType(a0, a1, a2, a3, a4, a5) { // fn#63685, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8195:49, offset: 0x01b8a2c1, size: 288 bytes, params: 7, frame: 19
|
||||
var r0;
|
||||
var r1;
|
||||
var value3;
|
||||
var value4;
|
||||
var Error;
|
||||
var value7;
|
||||
var error;
|
||||
var value10;
|
||||
let value = a2;
|
||||
const value2 = a5;
|
||||
const property = a1[value];
|
||||
if (property == null) {
|
||||
if (a0) {
|
||||
Error = global.Error;
|
||||
value = 'Required ' + a4 + ' `' + (value2 || value) + '` was not specified in `' + a3;
|
||||
value10 = Object.create(Error.prototype, {constructor: {value: Error}});
|
||||
value += '`.';
|
||||
error = new Error(value);
|
||||
value = error instanceof Object ? error : value10;
|
||||
r1 = value;
|
||||
} else {
|
||||
r1 = undefined;
|
||||
}
|
||||
r0 = r1;
|
||||
} else {
|
||||
value3 = typeof property;
|
||||
value4 = undefined;
|
||||
if (value3 === 'number') {
|
||||
r0 = value4;
|
||||
} else if (value3 !== 'string') {
|
||||
r0 = value4;
|
||||
} else if ((require(8018) /* metro dependency 8018 */)(property) !== null) {
|
||||
r0 = value4;
|
||||
} else {
|
||||
Error = global.Error;
|
||||
value = 'Invalid ' + a4 + ' `' + (value2 || value) + '` supplied to `' + a3 + '`: ' + property;
|
||||
value7 = Object.create(Error.prototype, {constructor: {value: Error}});
|
||||
value += "\nValid color formats are\n - '#f0f' (#rgb)\n - '#f0fc' (#rgba)\n - '#ff00ff' (#rrggbb)\n - '#ff00ff00' (#rrggbbaa)\n - 'rgb(255, 255, 255)'\n - 'rgba(255, 255, 255, 1.0)'\n - 'hsl(360, 100%, 100%)'\n - 'hsla(360, 100%, 100%, 1.0)'\n - 'transparent'\n - 'red'\n - 0xff00ff00 (0xrrggbbaa)\n";
|
||||
error = new Error(value);
|
||||
value = error instanceof Object ? error : value7;
|
||||
r0 = value;
|
||||
}
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user