Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,28 @@
|
||||
/* Metro module 7750; source: unknown; dependencies: [] */
|
||||
function _fun61995(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7928:6, offset: 0x01b51cc0, size: 52 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.default = extractOpacity;
|
||||
}
|
||||
|
||||
function extractOpacity(a0) { // fn#61996, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7928:102, offset: 0x01b51cf4, size: 131 bytes, params: 2, frame: 14
|
||||
var r0;
|
||||
var value;
|
||||
if (typeof a0 !== 'string') {
|
||||
r0 = Number(a0);
|
||||
} else {
|
||||
value = a0.trim();
|
||||
if (value.endsWith('%')) {
|
||||
value = Number(a0.slice(0, -1));
|
||||
value /= 100;
|
||||
r0 = value;
|
||||
} else {
|
||||
r0 = Number(a0);
|
||||
}
|
||||
}
|
||||
value = global.isNaN(r0);
|
||||
const value2 = 1;
|
||||
r0 = value || r0 > value2 ? value2 : global.Math.max(r0, 0);
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user