1276 lines
46 KiB
React
1276 lines
46 KiB
React
/* Metro module 5436; source: unknown; dependencies: [57, 65, 5437, 5441] */
|
|
function _fun47836(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6, offset: 0x011cf8bc, size: 1081 bytes, params: 8, frame: 32
|
|
var r9;
|
|
var r3;
|
|
var closure;
|
|
var closure2;
|
|
var closure3;
|
|
var value;
|
|
var object2;
|
|
var Object;
|
|
var keys;
|
|
var iterator;
|
|
var iterator2;
|
|
var item;
|
|
var item2;
|
|
var property;
|
|
var value2;
|
|
var labels;
|
|
var value3;
|
|
var sort;
|
|
var value4;
|
|
var join;
|
|
var value5;
|
|
var error;
|
|
var closure4;
|
|
var iterator3;
|
|
var item3;
|
|
exceptionSkip18: while (true) {
|
|
exceptionLanding18: while (true) {
|
|
exceptionSkip13: while (true) {
|
|
exceptionLanding13: while (true) {
|
|
var env0_0 = require;
|
|
var env0_1 = dependencyMap;
|
|
closure = exports_47837;
|
|
var exports_47837 = closure;
|
|
closure2 = getset;
|
|
closure3 = function(a0) {
|
|
var env0_0 = a0;
|
|
return _fun47841;
|
|
};
|
|
var zeroArrayBinding = zeroArray;
|
|
var env0_2 = require(dependencyMap[0]);
|
|
value = require(dependencyMap[1]);
|
|
var env0_3 = value;
|
|
var env0_4 = ['keyword', 'gray', 'hex'];
|
|
object2 = {};
|
|
var env0_5 = object2;
|
|
Object = global.Object;
|
|
keys = Object.keys;
|
|
iterator = Reflect.apply(keys, Object, [require(dependencyMap[2])])[Symbol.iterator]();
|
|
iterator2 = iterator.next;
|
|
for (r9 = iterator; true; r9 = item2) {
|
|
item2 = Reflect.apply(iterator2, r9, []);
|
|
item = item2.value;
|
|
item2 = item2.done ? undefined : r9;
|
|
if (item2 === undefined) {
|
|
break;
|
|
}
|
|
try {
|
|
property = dependencyMap[2];
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
value2 = require(property);
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
property = value2[item];
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
labels = property.labels;
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
value3 = value(labels);
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
sort = value3.sort;
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
value4 = Reflect.apply(sort, value3, []);
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
join = value4.join;
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(join, value4, ['']);
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
try {
|
|
object2[value5] = item;
|
|
} catch (error) {
|
|
break exceptionLanding13;
|
|
}
|
|
}
|
|
var env0_6 = {};
|
|
object2 = {toString: toString_47843, toJSON: toJSON_47844, string: string,
|
|
percentString: percentString,
|
|
array: array_47847, object: object2, unitArray: unitArray, unitObject: unitObject,
|
|
round: round_47851,
|
|
alpha: alpha};
|
|
value = closure3(255);
|
|
object2.red = closure2('rgb', 0, value);
|
|
object2.green = closure2('rgb', 1, closure3(255));
|
|
object2.blue = closure2('rgb', 2, closure3(255));
|
|
object2.hue = closure2(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, _fun47855);
|
|
value = closure3(100);
|
|
object2.saturationl = closure2('hsl', 1, value);
|
|
object2.lightness = closure2('hsl', 2, closure3(100));
|
|
value = closure3(100);
|
|
object2.saturationv = closure2('hsv', 1, value);
|
|
object2.value = closure2('hsv', 2, closure3(100));
|
|
value = closure3(100);
|
|
object2.chroma = closure2('hcg', 1, value);
|
|
object2.gray = closure2('hcg', 2, closure3(100));
|
|
value = closure3(100);
|
|
object2.white = closure2('hwb', 1, value);
|
|
object2.wblack = closure2('hwb', 2, closure3(100));
|
|
value = closure3(100);
|
|
object2.cyan = closure2('cmyk', 0, value);
|
|
object2.magenta = closure2('cmyk', 1, closure3(100));
|
|
object2.yellow = closure2('cmyk', 2, closure3(100));
|
|
value = closure3(100);
|
|
object2.black = closure2('cmyk', 3, value);
|
|
value = closure3(95.047);
|
|
object2.x = closure2('xyz', 0, value);
|
|
object2.y = closure2('xyz', 1, closure3(100));
|
|
object2.z = closure2('xyz', 2, closure3(108.833));
|
|
value = closure3(100);
|
|
object2.l = closure2('lab', 0, value);
|
|
object2.a = closure2('lab', 1);
|
|
object2.b = closure2('lab', 2);
|
|
object2.keyword = keyword;
|
|
object2.hex = hex;
|
|
object2.hexa = hexa;
|
|
object2.rgbNumber = rgbNumber;
|
|
object2.luminosity = luminosity;
|
|
object2.contrast = contrast;
|
|
object2.level = level;
|
|
object2.isDark = isDark;
|
|
object2.isLight = isLight;
|
|
object2.negate = negate;
|
|
object2.lighten = lighten;
|
|
object2.darken = darken;
|
|
object2.saturate = saturate;
|
|
object2.desaturate = desaturate;
|
|
object2.whiten = whiten;
|
|
object2.blacken = blacken;
|
|
object2.grayscale = grayscale;
|
|
object2.fade = fade;
|
|
object2.opaquer = opaquer;
|
|
object2.rotate = rotate;
|
|
object2.mix = mix;
|
|
closure.prototype = object2;
|
|
closure4 = _loop_47877;
|
|
Object = global.Object;
|
|
keys = Object.keys;
|
|
iterator = Reflect.apply(keys, Object, [require(dependencyMap[2])])[Symbol.iterator]();
|
|
iterator3 = iterator.next;
|
|
for (r3 = iterator; true; r3 = item3) {
|
|
item3 = Reflect.apply(iterator3, r3, []);
|
|
item = item3.value;
|
|
item3 = item3.done ? undefined : r3;
|
|
if (item3 === undefined) {
|
|
break;
|
|
}
|
|
try {
|
|
closure4(item);
|
|
} catch (error) {
|
|
break exceptionLanding18;
|
|
}
|
|
}
|
|
module.exports = closure;
|
|
return undefined;
|
|
break exceptionSkip13;
|
|
}
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
break exceptionSkip13;
|
|
}
|
|
break exceptionSkip18;
|
|
}
|
|
try {
|
|
item3.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
break exceptionSkip18;
|
|
}
|
|
}
|
|
|
|
function exports_47837(a0, a1) { // fn#47837, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:174, offset: 0x011cfcf5, size: 1188 bytes, params: 3, frame: 23
|
|
var r1;
|
|
var r3;
|
|
var alpha;
|
|
var r9;
|
|
var r0;
|
|
var value4;
|
|
var Error;
|
|
var length;
|
|
var value6;
|
|
var Object;
|
|
var splice;
|
|
var indexOf;
|
|
var model;
|
|
var labels;
|
|
var items2;
|
|
var push;
|
|
var channels;
|
|
var property;
|
|
var moduleValue;
|
|
var value8;
|
|
var binding;
|
|
var color;
|
|
var color2;
|
|
var Math;
|
|
var max;
|
|
var Math2;
|
|
var freeze;
|
|
let value = a1;
|
|
if (this instanceof exports_47837) {
|
|
reducibleJoin4: while (true) {
|
|
if (value) {
|
|
value4 = value in env0_4;
|
|
r1 = value4;
|
|
break reducibleJoin4;
|
|
}
|
|
r1 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
reducibleJoin6: while (true) {
|
|
if (r1) {
|
|
value = null;
|
|
r3 = value;
|
|
break reducibleJoin6;
|
|
}
|
|
r3 = value;
|
|
break reducibleJoin6;
|
|
}
|
|
if (r3) {
|
|
reducibleJoin9: while (true) {
|
|
if (!(r3 in (require(5437) /* metro dependency 5437 */))) {
|
|
throw new global.Error('Unknown model: ' + r3);
|
|
}
|
|
break reducibleJoin9;
|
|
}
|
|
}
|
|
if (a0 == null) {
|
|
this.model = 'rgb';
|
|
this.color = [0, 0, 0];
|
|
this.valpha = 1;
|
|
} else if (a0 instanceof exports_47837) {
|
|
this.model = a0.model;
|
|
binding = env0_3;
|
|
color = a0.color;
|
|
this.color = binding(color);
|
|
this.valpha = a0.valpha;
|
|
} else {
|
|
value = typeof a0;
|
|
if (value === 'string') {
|
|
value = require(5441) /* metro dependency 5441 */;
|
|
value = value.get(a0);
|
|
if (value === null) {
|
|
throw new global.Error('Unable to parse color from string: ' + a0);
|
|
}
|
|
model = value.model;
|
|
this.model = model;
|
|
moduleValue = require(5437) /* metro dependency 5437 */;
|
|
model = this.model;
|
|
channels = moduleValue[model].channels;
|
|
value8 = value.value;
|
|
this.color = value8.slice(0, channels);
|
|
reducibleJoin32: while (true) {
|
|
if (typeof value.value[channels] !== 'number') {
|
|
r1 = 1;
|
|
break reducibleJoin32;
|
|
}
|
|
value = value.value;
|
|
property = value[channels];
|
|
r1 = property;
|
|
break reducibleJoin32;
|
|
}
|
|
this.valpha = r1;
|
|
} else {
|
|
length = a0.length;
|
|
value6 = 0;
|
|
if (length > value6) {
|
|
reducibleJoin26: while (true) {
|
|
if (r3) {
|
|
break reducibleJoin26;
|
|
}
|
|
value = 'rgb';
|
|
r3 = value;
|
|
break reducibleJoin26;
|
|
}
|
|
this.model = r3;
|
|
value = require(5437) /* metro dependency 5437 */;
|
|
channels = value[this.model].channels;
|
|
value = global.Array.prototype.slice.call(a0, value6, channels);
|
|
zeroArray(value, channels);
|
|
this.color = value;
|
|
value = 1;
|
|
reducibleJoin28: while (true) {
|
|
if (typeof a0[channels] !== 'number') {
|
|
r3 = value;
|
|
break reducibleJoin28;
|
|
}
|
|
property = a0[channels];
|
|
r3 = property;
|
|
break reducibleJoin28;
|
|
}
|
|
this.valpha = r3;
|
|
} else if (value === 'number') {
|
|
this.model = 'rgb';
|
|
value = a0 >> 16;
|
|
this.color = [value & 255, a0 >> 8 & 255, 255 & a0];
|
|
this.valpha = 1;
|
|
} else {
|
|
this.valpha = 1;
|
|
value = global.Object.keys(a0);
|
|
reducibleJoin18: while (true) {
|
|
if ('alpha' in a0) {
|
|
splice = value.splice;
|
|
indexOf = value.indexOf;
|
|
Reflect.apply(splice, value, [Reflect.apply(indexOf, value, ['alpha']), 1]);
|
|
alpha = a0.alpha;
|
|
reducibleJoin17: while (true) {
|
|
if (typeof alpha !== 'number') {
|
|
alpha = value6;
|
|
break reducibleJoin17;
|
|
}
|
|
alpha = a0.alpha;
|
|
break reducibleJoin17;
|
|
}
|
|
this.valpha = alpha;
|
|
break reducibleJoin18;
|
|
}
|
|
break reducibleJoin18;
|
|
}
|
|
value = value.sort();
|
|
value = value.join('');
|
|
if (!(value in env0_5)) {
|
|
Error = global.Error;
|
|
value = global.JSON.stringify(a0);
|
|
value = 'Unable to parse color from object: ' + value;
|
|
throw new Error(value);
|
|
}
|
|
this.model = env0_5[value];
|
|
value = require(5437) /* metro dependency 5437 */;
|
|
labels = value[this.model].labels;
|
|
items2 = [];
|
|
length = labels.length;
|
|
if (value6 < length) {
|
|
r9 = value6;
|
|
reducibleLoop21: while (true) {
|
|
push = items2.push;
|
|
Reflect.apply(push, items2, [a0[labels[r9]]]);
|
|
value = typeof r9 === 'bigint' ? r9 + 1n : +r9 + 1;
|
|
length = labels.length;
|
|
if (value < length) {
|
|
r9 = value;
|
|
continue reducibleLoop21;
|
|
}
|
|
break reducibleLoop21;
|
|
}
|
|
}
|
|
zeroArray(items2);
|
|
this.color = items2;
|
|
}
|
|
}
|
|
}
|
|
binding = env0_6;
|
|
model = this.model;
|
|
reducibleJoin41: while (true) {
|
|
if (!binding[model]) {
|
|
break reducibleJoin41;
|
|
}
|
|
value = require(5437) /* metro dependency 5437 */;
|
|
model = this.model;
|
|
channels = value[model].channels;
|
|
value = 0;
|
|
if (!(value < channels)) {
|
|
break reducibleJoin41;
|
|
}
|
|
r0 = value;
|
|
reducibleLoop38: while (true) {
|
|
binding = env0_6;
|
|
model = this.model;
|
|
property = binding[model][r0];
|
|
reducibleJoin40: while (true) {
|
|
if (property) {
|
|
color = this.color;
|
|
color2 = this.color;
|
|
color[r0] = property(color2[r0]);
|
|
break reducibleJoin40;
|
|
}
|
|
break reducibleJoin40;
|
|
}
|
|
value = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (value < channels) {
|
|
r0 = value;
|
|
continue reducibleLoop38;
|
|
}
|
|
break reducibleJoin41;
|
|
}
|
|
}
|
|
Math = global.Math;
|
|
max = Math.max;
|
|
Math2 = global.Math;
|
|
value = Math2.min(1, this.valpha);
|
|
this.valpha = Reflect.apply(max, Math, [0, value]);
|
|
Object = global.Object;
|
|
freeze = Object.freeze;
|
|
reducibleJoin43: while (true) {
|
|
if (freeze) {
|
|
Object = global.Object;
|
|
freeze = Object.freeze;
|
|
Reflect.apply(freeze, Object, [this]);
|
|
break reducibleJoin43;
|
|
}
|
|
break reducibleJoin43;
|
|
}
|
|
return undefined;
|
|
}
|
|
exports_47837Binding = exports_47837;
|
|
const value3 = Object.create(exports_47837Binding.prototype, {constructor: {value: exports_47837Binding}});
|
|
const exports_478372 = new exports_47837Binding(a0, value);
|
|
return exports_478372 instanceof Object ? exports_478372 : value3;
|
|
}
|
|
|
|
function getset(a0, a1, a2) { // fn#47838, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6652, offset: 0x011d0199, size: 166 bytes, params: 4, frame: 21
|
|
var r2;
|
|
var r9;
|
|
var items2;
|
|
var binding;
|
|
var property;
|
|
var error;
|
|
const value = a0;
|
|
var env0_0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
const Array = global.Array;
|
|
reducibleJoin2: while (true) {
|
|
if (Array.isArray(value)) {
|
|
r2 = value;
|
|
break reducibleJoin2;
|
|
}
|
|
r2 = [value];
|
|
break reducibleJoin2;
|
|
}
|
|
const iterator = r2[Symbol.iterator]();
|
|
const iterator2 = iterator.next;
|
|
let r3 = iterator;
|
|
let item2 = Reflect.apply(iterator2, r3, []);
|
|
let item = item2.value;
|
|
item2 = item2.done ? undefined : r3;
|
|
reducibleJoin4: while (true) {
|
|
if (item2 === undefined) {
|
|
env0_0 = r2[0];
|
|
return _fun47839;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
reducibleLoop4: while (true) {
|
|
try {
|
|
binding = env0_6;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding[item];
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
reducibleJoin13: while (true) {
|
|
if (property) {
|
|
r9 = property;
|
|
break reducibleJoin13;
|
|
}
|
|
try {
|
|
binding = env0_6;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
items2 = [];
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
binding[item] = items2;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
r9 = items2;
|
|
break reducibleJoin13;
|
|
}
|
|
try {
|
|
r9[a1] = a2;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
r3 = item2;
|
|
item2 = Reflect.apply(iterator2, r3, []);
|
|
item = item2.value;
|
|
item2 = item2.done ? undefined : r3;
|
|
if (item2 === undefined) {
|
|
break reducibleLoop4;
|
|
}
|
|
continue reducibleLoop4;
|
|
}
|
|
env0_0 = r2[0];
|
|
return _fun47839;
|
|
}
|
|
|
|
function maxfn(a0) { // fn#47840, offset: 0x011d02af, size: 16 bytes, params: 2, frame: 2
|
|
const env0_0 = a0;
|
|
return _fun47841;
|
|
}
|
|
|
|
function zeroArray(a0, a1) { // fn#47842, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6936, offset: 0x011d02f1, size: 45 bytes, params: 3, frame: 6
|
|
var r1;
|
|
var value2;
|
|
const value = 0;
|
|
if (value < a1) {
|
|
r1 = value;
|
|
while (true) {
|
|
if (typeof a0[r1] !== 'number') {
|
|
a0[r1] = value;
|
|
}
|
|
value2 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value2 < a1) {
|
|
r1 = value2;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
return a0;
|
|
}
|
|
|
|
function toString_47843() { // fn#47843, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:1599, offset: 0x011d031e, size: 13 bytes, params: 1, frame: 9
|
|
return this.string();
|
|
}
|
|
|
|
function toJSON_47844() { // fn#47844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:1648, offset: 0x011d032b, size: 18 bytes, params: 1, frame: 9
|
|
return this[this.model]();
|
|
}
|
|
|
|
function string(a0) { // fn#47845, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:1700, offset: 0x011d033d, size: 190 bytes, params: 2, frame: 20
|
|
let value = a0;
|
|
const value2 = this;
|
|
const model = value2.model;
|
|
const to = (require(5441) /* metro dependency 5441 */).to;
|
|
const r7 = model in to ? value2 : value2.rgb();
|
|
const value5 = 1;
|
|
value = r7.round(typeof value !== 'number' ? value5 : value);
|
|
return to[value.model](value5 === value.valpha ? value.color : [].concat(env0_3(value.color), [value2.valpha]));
|
|
}
|
|
|
|
function percentString(a0) { // fn#47846, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:1904, offset: 0x011d03fb, size: 159 bytes, params: 2, frame: 17
|
|
var r2;
|
|
var items2;
|
|
var concat;
|
|
let value = a0;
|
|
const value2 = this.rgb();
|
|
const value3 = 1;
|
|
value = value2.round(typeof value !== 'number' ? value3 : value);
|
|
if (value3 === value.valpha) {
|
|
r2 = value.color;
|
|
} else {
|
|
items2 = [];
|
|
concat = items2.concat;
|
|
value = env0_3(value.color);
|
|
value = Reflect.apply(concat, items2, [value, [this.valpha]]);
|
|
r2 = value;
|
|
}
|
|
return (require(5441) /* metro dependency 5441 */).to.rgb.percent(r2);
|
|
}
|
|
|
|
function array_47847() { // fn#47847, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:2076, offset: 0x011d049a, size: 86 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var items2;
|
|
var concat;
|
|
var value;
|
|
if (this.valpha === 1) {
|
|
r0 = env0_3(this.color);
|
|
} else {
|
|
items2 = [];
|
|
concat = items2.concat;
|
|
value = env0_3(this.color);
|
|
value = Reflect.apply(concat, items2, [value, [this.valpha]]);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function object() { // fn#47848, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:2177, offset: 0x011d04f0, size: 130 bytes, params: 1, frame: 16
|
|
var r2;
|
|
var property;
|
|
var color;
|
|
const object2 = {};
|
|
const channels = (require(5437) /* metro dependency 5437 */)[this.model].channels;
|
|
const labels = (require(5437) /* metro dependency 5437 */)[this.model].labels;
|
|
let value = 0;
|
|
if (value < channels) {
|
|
r2 = value;
|
|
reducibleLoop1: while (true) {
|
|
property = labels[r2];
|
|
color = this.color;
|
|
object2[property] = color[r2];
|
|
value = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
|
if (value < channels) {
|
|
r2 = value;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
let valpha = this.valpha;
|
|
reducibleJoin4: while (true) {
|
|
if (valpha === 1) {
|
|
break reducibleJoin4;
|
|
}
|
|
valpha = this.valpha;
|
|
object2.alpha = valpha;
|
|
break reducibleJoin4;
|
|
}
|
|
return object2;
|
|
}
|
|
|
|
function unitArray() { // fn#47849, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:2361, offset: 0x011d0572, size: 92 bytes, params: 1, frame: 14
|
|
const color = this.rgb().color;
|
|
color[0] /= 255;
|
|
color[1] /= 255;
|
|
color[2] /= 255;
|
|
if (this.valpha !== 1) {
|
|
color.push(this.valpha);
|
|
}
|
|
return color;
|
|
}
|
|
|
|
function unitObject() { // fn#47850, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:2493, offset: 0x011d05ce, size: 98 bytes, params: 1, frame: 11
|
|
let value = this.rgb();
|
|
value = value.object();
|
|
value.r = value.r / 255;
|
|
value.g = value.g / 255;
|
|
value.b = value.b / 255;
|
|
if (this.valpha !== 1) {
|
|
value.alpha = this.valpha;
|
|
}
|
|
return value;
|
|
}
|
|
|
|
function round_47851(a0) { // fn#47851, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:2623, offset: 0x011d0630, size: 133 bytes, params: 2, frame: 19
|
|
let value = a0;
|
|
const Math = global.Math;
|
|
value = Math.max(value || 0, 0);
|
|
const exports_47837Binding = exports_47837;
|
|
const items2 = [];
|
|
const concat = items2.concat;
|
|
const binding = env0_3;
|
|
const color = this.color;
|
|
value = binding(color.map(((a0) => {
|
|
var env0_0 = a0;
|
|
return _fun47853;
|
|
})(value)));
|
|
value = Reflect.apply(concat, items2, [value, [this.valpha]]);
|
|
const model = this.model;
|
|
const value3 = Object.create(exports_47837Binding.prototype, {constructor: {value: exports_47837Binding}});
|
|
const exports_478372 = new exports_47837Binding(value, model);
|
|
return exports_478372 instanceof Object ? exports_478372 : value3;
|
|
}
|
|
|
|
function alpha(a0) { // fn#47854, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:2852, offset: 0x011d06eb, size: 132 bytes, params: 2, frame: 21
|
|
var r0;
|
|
var value;
|
|
var exports_47837Binding;
|
|
var items2;
|
|
var concat;
|
|
var Math;
|
|
var model;
|
|
if (a0 !== undefined) {
|
|
exports_47837Binding = exports_47837;
|
|
items2 = [];
|
|
concat = items2.concat;
|
|
value = env0_3(this.color);
|
|
Math = global.Math;
|
|
value = Reflect.apply(concat, items2, [value, [Math.max(0, global.Math.min(1, a0))]]);
|
|
model = this.model;
|
|
r0 = new exports_47837Binding();
|
|
} else {
|
|
r0 = this.valpha;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function _fun47855(a0) { // fn#47855, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:3118, offset: 0x011d076f, size: 23 bytes, params: 2, frame: 2
|
|
return (a0 % 360 + 360) % 360;
|
|
}
|
|
|
|
function keyword(a0) { // fn#47856, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:3741, offset: 0x011d0786, size: 94 bytes, params: 2, frame: 14
|
|
var r0;
|
|
var value;
|
|
var property;
|
|
if (a0 !== undefined) {
|
|
r0 = new exports_47837(a0);
|
|
} else {
|
|
value = require(5437) /* metro dependency 5437 */;
|
|
property = value[this.model];
|
|
value = property.keyword(this.color);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function hex(a0) { // fn#47857, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:3837, offset: 0x011d07e4, size: 108 bytes, params: 2, frame: 14
|
|
var r0;
|
|
var value;
|
|
var to;
|
|
var hex;
|
|
if (a0 !== undefined) {
|
|
r0 = new exports_47837(a0);
|
|
} else {
|
|
to = (require(5441) /* metro dependency 5441 */).to;
|
|
hex = to.hex;
|
|
value = this.rgb();
|
|
value = Reflect.apply(hex, to, [value.round().color]);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function hexa(a0) { // fn#47858, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:3931, offset: 0x011d0850, size: 194 bytes, params: 2, frame: 15
|
|
var value;
|
|
var exports_47837Binding;
|
|
var exports_478372;
|
|
if (a0 !== undefined) {
|
|
exports_47837Binding = exports_47837;
|
|
value = Object.create(exports_47837Binding.prototype, {constructor: {value: exports_47837Binding}});
|
|
exports_478372 = new exports_47837Binding(a0);
|
|
return exports_478372 instanceof Object ? exports_478372 : value;
|
|
}
|
|
value = this.rgb();
|
|
const color = value.round().color;
|
|
const Math = global.Math;
|
|
value = Math.round(255 * this.valpha);
|
|
value = value.toString(16);
|
|
value = value.toUpperCase();
|
|
const r1 = value.length !== 1 ? value : '0' + value;
|
|
const to = (require(5441) /* metro dependency 5441 */).to;
|
|
return to.hex(color) + r1;
|
|
}
|
|
|
|
function rgbNumber() { // fn#47859, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4132, offset: 0x011d0912, size: 76 bytes, params: 1, frame: 12
|
|
const color = this.rgb().color;
|
|
let value = 255 & color[0];
|
|
const value2 = 255 & color[1];
|
|
const value3 = 255 & color[2];
|
|
value <<= 16;
|
|
return value | value2 << 8 | value3;
|
|
}
|
|
|
|
function luminosity() { // fn#47860, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4232, offset: 0x011d095e, size: 254 bytes, params: 1, frame: 28
|
|
var r18;
|
|
var r15;
|
|
var binding;
|
|
var value2;
|
|
var property;
|
|
var property2;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var error;
|
|
const color = this.rgb().color;
|
|
const items2 = [];
|
|
const iterator = color.entries()[Symbol.iterator]();
|
|
const iterator2 = iterator.next;
|
|
const value = environment;
|
|
let r5 = iterator;
|
|
let item2 = Reflect.apply(iterator2, r5, []);
|
|
let item = item2.value;
|
|
item2 = item2.done ? undefined : r5;
|
|
reducibleJoin2: while (true) {
|
|
if (item2 === undefined) {
|
|
return 0.2126 * items2[0] + 0.7152 * items2[1] + 0.0722 * items2[2];
|
|
}
|
|
break reducibleJoin2;
|
|
}
|
|
reducibleLoop2: while (true) {
|
|
try {
|
|
binding = env0_2;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
value2 = binding(item, 2);
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
property = value2[0];
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
property2 = value2[1];
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
value3 = property2 / 255;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
value4 = value3 <= 0.04045;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
if (value4) {
|
|
try {
|
|
value8 = value3 / 12.92;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
r15 = value8;
|
|
r18 = value3;
|
|
} else {
|
|
try {
|
|
value5 = value3 + 0.055;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
value6 = value5 / 1.055;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
value7 = exponentiationOperator(value6, 2.4, r18);
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
r15 = value7;
|
|
}
|
|
try {
|
|
items2[property] = r15;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
r5 = item2;
|
|
item2 = Reflect.apply(iterator2, r5, []);
|
|
item = item2.value;
|
|
item2 = item2.done ? undefined : r5;
|
|
if (item2 === undefined) {
|
|
break reducibleLoop2;
|
|
}
|
|
continue reducibleLoop2;
|
|
}
|
|
return 0.2126 * items2[0] + 0.7152 * items2[1] + 0.0722 * items2[2];
|
|
}
|
|
|
|
function contrast(a0) { // fn#47861, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4433, offset: 0x011d0a5c, size: 77 bytes, params: 2, frame: 11
|
|
var r0;
|
|
let value = this.luminosity();
|
|
const value2 = a0.luminosity();
|
|
if (value > value2) {
|
|
value += 0.05;
|
|
value /= value2 + 0.05;
|
|
r0 = value;
|
|
} else {
|
|
value = (value2 + 0.05) / (value + 0.05);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function level(a0) { // fn#47862, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4545, offset: 0x011d0aa9, size: 64 bytes, params: 2, frame: 11
|
|
return this.contrast(a0) >= 7 ? 'AAA' : '' >= 4.5 ? 'AA' : '';
|
|
}
|
|
|
|
function isDark() { // fn#47863, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4627, offset: 0x011d0ae9, size: 94 bytes, params: 1, frame: 11
|
|
const color = this.rgb().color;
|
|
return (2126 * color[0] + 7152 * color[1] + 722 * color[2]) / 10000 < 128;
|
|
}
|
|
|
|
function negate() { // fn#47865, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4770, offset: 0x011d0b47, size: 51 bytes, params: 1, frame: 13
|
|
var color;
|
|
var color2;
|
|
var value3;
|
|
const value = this.rgb();
|
|
let r3 = 0;
|
|
reducibleLoop1: while (true) {
|
|
color = value.color;
|
|
color2 = value.color;
|
|
color[r3] = 255 - color2[r3];
|
|
value3 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (value3 < 3) {
|
|
r3 = value3;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
return value;
|
|
}
|
|
|
|
function lighten(a0) { // fn#47866, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4865, offset: 0x011d0b7a, size: 50 bytes, params: 2, frame: 13
|
|
const value = this.hsl();
|
|
const color = value.color;
|
|
color[2] = color[2] + value.color[2] * a0;
|
|
return value;
|
|
}
|
|
|
|
function darken(a0) { // fn#47867, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:4944, offset: 0x011d0bac, size: 50 bytes, params: 2, frame: 13
|
|
const value = this.hsl();
|
|
const color = value.color;
|
|
color[2] = color[2] - value.color[2] * a0;
|
|
return value;
|
|
}
|
|
|
|
function saturate(a0) { // fn#47868, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5024, offset: 0x011d0bde, size: 50 bytes, params: 2, frame: 13
|
|
const value = this.hsl();
|
|
const color = value.color;
|
|
color[1] = color[1] + value.color[1] * a0;
|
|
return value;
|
|
}
|
|
|
|
function desaturate(a0) { // fn#47869, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5108, offset: 0x011d0c10, size: 50 bytes, params: 2, frame: 13
|
|
const value = this.hsl();
|
|
const color = value.color;
|
|
color[1] = color[1] - value.color[1] * a0;
|
|
return value;
|
|
}
|
|
|
|
function whiten(a0) { // fn#47870, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5190, offset: 0x011d0c42, size: 50 bytes, params: 2, frame: 13
|
|
const value = this.hwb();
|
|
const color = value.color;
|
|
color[1] = color[1] + value.color[1] * a0;
|
|
return value;
|
|
}
|
|
|
|
function blacken(a0) { // fn#47871, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5269, offset: 0x011d0c74, size: 50 bytes, params: 2, frame: 13
|
|
const value = this.hwb();
|
|
const color = value.color;
|
|
color[2] = color[2] + value.color[2] * a0;
|
|
return value;
|
|
}
|
|
|
|
function grayscale() { // fn#47872, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5351, offset: 0x011d0ca6, size: 109 bytes, params: 1, frame: 14
|
|
const color = this.rgb().color;
|
|
let value = 0.3 * color[0];
|
|
value = value + 0.59 * color[1] + 0.11 * color[2];
|
|
return exports_47837.rgb(value, value, value);
|
|
}
|
|
|
|
function fade(a0) { // fn#47873, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5453, offset: 0x011d0d13, size: 38 bytes, params: 2, frame: 13
|
|
return this.alpha(this.valpha - this.valpha * a0);
|
|
}
|
|
|
|
function opaquer(a0) { // fn#47874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5524, offset: 0x011d0d39, size: 38 bytes, params: 2, frame: 13
|
|
return this.alpha(this.valpha + this.valpha * a0);
|
|
}
|
|
|
|
function rotate(a0) { // fn#47875, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5597, offset: 0x011d0d5f, size: 62 bytes, params: 2, frame: 13
|
|
const value = this.hsl();
|
|
const value2 = (value.color[0] + a0) % 360;
|
|
value.color[0] = value2 < 0 ? 360 + value2 : value2;
|
|
return value;
|
|
}
|
|
|
|
function mix(a0, a1) { // fn#47876, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:5699, offset: 0x011d0d9d, size: 339 bytes, params: 3, frame: 24
|
|
var r11;
|
|
var rgb;
|
|
var value3;
|
|
var value4;
|
|
var alpha;
|
|
var value6;
|
|
var value7;
|
|
var value9;
|
|
var exports_47837Binding;
|
|
var red;
|
|
var value11;
|
|
var value12;
|
|
var green;
|
|
var value13;
|
|
var value14;
|
|
var blue;
|
|
var value15;
|
|
let value = a1;
|
|
if (a0) {
|
|
rgb = a0.rgb;
|
|
if (rgb) {
|
|
value3 = a0.rgb();
|
|
value4 = this.rgb();
|
|
r11 = value === undefined ? 0.5 : value;
|
|
value = 2 * r11 - 1;
|
|
value6 = value3.alpha();
|
|
alpha = value4.alpha;
|
|
value7 = value6 - Reflect.apply(alpha, value4, []);
|
|
value = ((value * value7 === -1 ? value : (value + value7) / (1 + value * value7)) + 1) / 2;
|
|
value9 = 1 - value;
|
|
exports_47837Binding = exports_47837;
|
|
rgb = exports_47837Binding.rgb;
|
|
red = value3.red;
|
|
value11 = value * Reflect.apply(red, value3, []);
|
|
red = value4.red;
|
|
value12 = value9 * Reflect.apply(red, value4, []);
|
|
green = value3.green;
|
|
value13 = value * Reflect.apply(green, value3, []);
|
|
green = value4.green;
|
|
value14 = value9 * Reflect.apply(green, value4, []);
|
|
blue = value3.blue;
|
|
value *= Reflect.apply(blue, value3, []);
|
|
blue = value4.blue;
|
|
value15 = value9 * Reflect.apply(blue, value4, []);
|
|
alpha = value3.alpha;
|
|
return Reflect.apply(rgb, exports_47837Binding, [value11 + value12, value13 + value14, value + value15,
|
|
Reflect.apply(alpha, value3, []) * r11 + value4.alpha() * (1 - r11)]);
|
|
}
|
|
throw new global.Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof a0);
|
|
}
|
|
const Error = global.Error;
|
|
throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof a0);
|
|
}
|
|
|
|
function _loop_47877(a0) { // fn#47877, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6065, offset: 0x011d0ef0, size: 99 bytes, params: 2, frame: 14
|
|
const env0_0 = a0;
|
|
const binding = env0_4;
|
|
if (binding.includes(a0)) {
|
|
return 1;
|
|
}
|
|
const env0_1 = (require(5437) /* metro dependency 5437 */)[a0].channels;
|
|
const exports_47837Binding = exports_47837;
|
|
exports_47837Binding.prototype[a0] = _fun47878;
|
|
exports_47837Binding[a0] = _fun47879;
|
|
}
|
|
|
|
function _fun47839(a0) { // fn#47839, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6750, offset: 0x011d023f, size: 112 bytes, params: 2, frame: 15
|
|
var r0;
|
|
var r4;
|
|
var property;
|
|
let value = a0;
|
|
if (value !== undefined) {
|
|
if (importDefault) {
|
|
value = importDefault(value);
|
|
r4 = value;
|
|
} else {
|
|
r4 = value;
|
|
}
|
|
value = this[env0_0]();
|
|
value.color[require] = r4;
|
|
r0 = value;
|
|
} else {
|
|
property = this[env0_0]().color[require];
|
|
r0 = importDefault ? importDefault(property) : property;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function _fun47841(a0) { // fn#47841, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6890, offset: 0x011d02bf, size: 50 bytes, params: 2, frame: 15
|
|
const Math = global.Math;
|
|
const max = Math.max;
|
|
const Math2 = global.Math;
|
|
return Reflect.apply(max, Math, [0, Math2.min(env0_0, a0)]);
|
|
}
|
|
|
|
function roundToPlace(a0) { // fn#47852, owner: round_47851.roundToPlace, offset: 0x011d06b5, size: 16 bytes, params: 2, frame: 2
|
|
const env0_0 = a0;
|
|
return _fun47853;
|
|
}
|
|
|
|
function _fun47878() { // fn#47878, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6154, offset: 0x011d0f53, size: 322 bytes, params: 1, frame: 22
|
|
var r3;
|
|
var r0;
|
|
var value6;
|
|
var value7;
|
|
var exports_47837Binding;
|
|
var items2;
|
|
var concat;
|
|
var binding;
|
|
var property;
|
|
var value9;
|
|
var exports_478374;
|
|
const model = this.model;
|
|
var value;
|
|
if (model === env0_0) {
|
|
value = environment.__proto__;
|
|
exports_47837Binding = exports_47837;
|
|
value = Object.create(exports_47837Binding.prototype, {constructor: {value: exports_47837Binding}});
|
|
exports_478374 = new exports_47837Binding(this);
|
|
return exports_478374 instanceof Object ? exports_478374 : value;
|
|
}
|
|
const length = arguments.length;
|
|
let Array = global.Array;
|
|
const array = new Array(length);
|
|
const value5 = 0;
|
|
if (value5 < length) {
|
|
r3 = value5;
|
|
reducibleLoop2: while (true) {
|
|
array[r3] = arguments[r3];
|
|
value6 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (value6 < length) {
|
|
r3 = value6;
|
|
continue reducibleLoop2;
|
|
}
|
|
break reducibleLoop2;
|
|
}
|
|
}
|
|
if (array.length > value5) {
|
|
value9 = environment.__proto__;
|
|
exports_47837Binding = exports_47837;
|
|
binding = env0_0;
|
|
r0 = new exports_47837Binding(array);
|
|
} else {
|
|
value7 = environment.__proto__;
|
|
exports_47837Binding = exports_47837;
|
|
items2 = [];
|
|
concat = items2.concat;
|
|
binding = env1_3;
|
|
property = (require(5437) /* metro dependency 5437 */)[this.model];
|
|
property = property[env0_0];
|
|
value = property.raw(this.color);
|
|
Array = global.Array;
|
|
reducibleJoin6: while (true) {
|
|
if (Array.isArray(value)) {
|
|
r0 = value;
|
|
break reducibleJoin6;
|
|
}
|
|
r0 = [value];
|
|
break reducibleJoin6;
|
|
}
|
|
value = binding(r0);
|
|
value = Reflect.apply(concat, items2, [value, [this.valpha]]);
|
|
r0 = new exports_47837Binding();
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function _fun47879() { // fn#47879, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:6457, offset: 0x011d1095, size: 141 bytes, params: 1, frame: 16
|
|
var r2;
|
|
var r3;
|
|
var value5;
|
|
var zeroArrayBinding;
|
|
let value = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(value);
|
|
const value4 = 0;
|
|
if (value4 < value) {
|
|
r2 = value4;
|
|
reducibleLoop1: while (true) {
|
|
array[r2] = arguments[r2];
|
|
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
|
if (value5 < value) {
|
|
r2 = value5;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
const property = array[value4];
|
|
reducibleJoin4: while (true) {
|
|
if (typeof property !== 'number') {
|
|
r3 = property;
|
|
break reducibleJoin4;
|
|
}
|
|
value = environment.__proto__;
|
|
zeroArrayBinding = zeroArray;
|
|
value = environment;
|
|
zeroArrayBinding(array, channels);
|
|
r3 = array;
|
|
break reducibleJoin4;
|
|
}
|
|
value = environment.__proto__;
|
|
const exports_47837Binding = exports_47837;
|
|
const binding = env0_0;
|
|
value = Object.create(exports_47837Binding.prototype, {constructor: {value: exports_47837Binding}});
|
|
const exports_478372 = new exports_47837Binding(r3, binding);
|
|
return exports_478372 instanceof Object ? exports_478372 : value;
|
|
}
|
|
|
|
function _fun47853(a0) { // fn#47853, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5614:2736, offset: 0x011d06c5, size: 38 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const Number = global.Number;
|
|
return Number(a0.toFixed(binding));
|
|
}
|
|
|