Files
discord-decomp/_bundle/Module4825.js
T
2026-11-01 12:12:55 +02:00

97 lines
4.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Metro module 4825 (f4826).
export default {
ApertureValue: (a0) => Math.pow(Math.sqrt(2), a0[0] / a0[1]).toFixed(2),
ColorSpace: (a0) => a0 !== 1 ? a0 === 65535 ? "Uncalibrated" : "Unknown" : "sRGB",
ComponentsConfiguration: (a0) => a0.map((item) => item !== 49 ? item !== 50 ? item !== 51 ? item !== 52 ? item !== 53 ? item === 54 ? "B" : void 0 : "G" : "R" : "Cr" : "Cb" : "Y").join(""),
Contrast: (a0) => a0 !== 0 ? a0 !== 1 ? a0 === 2 ? "Hard" : "Unknown" : "Soft" : "Normal",
CustomRendered: (a0) => a0 !== 0 ? a0 === 1 ? "Custom process" : "Unknown" : "Normal process",
ExposureMode: (a0) => a0 !== 0 ? a0 !== 1 ? a0 === 2 ? "Auto bracket" : "Unknown" : "Manual exposure" : "Auto exposure",
ExposureProgram: (a0) => {
let r1 = "Undefined";
if (a0 !== 0) {
let r2 = "Manual";
if (a0 !== 1) {
const r3 = a0 !== 2 ? a0 !== 3 ? a0 !== 4 ? a0 !== 5 ? a0 !== 6 ? a0 !== 7 ? a0 !== 8 ? a0 === 9 ? "Bulb" : "Unknown" : "Landscape mode" : "Portrait mode" : "Action program" : "Creative program" : "Shutter priority" : "Aperture priority" : "Normal program";
r2 = r3;
}
r1 = r2;
}
return r1;
},
ExposureTime: (a0) => {
if (a0[0] / a0[1] > 0.25) {
const r25 = a0[0] / a0[1];
return Number.isInteger(r25) ? "" + r25 : r25.toFixed(1);
}
return a0[0] !== 0 ? `1/${Math.round(a0[1] / a0[0])}` : `0/${a0[1]}`;
},
FNumber: (a0) => `f/${Number(a0[0] / a0[1]).toFixed(1)}`,
FocalLength: (a0) => a0[0] / a0[1] + " mm",
FocalPlaneResolutionUnit: (a0) => a0 !== 2 ? a0 !== 3 ? a0 === 4 ? "millimeters" : "Unknown" : "centimeters" : "inches",
LightSource: (a0) => {
let r1 = "Daylight";
if (a0 !== 1) {
let r2 = "Fluorescent";
if (a0 !== 2) {
let r3 = "Tungsten (incandescent light)";
if (a0 !== 3) {
let r4 = "Flash";
if (a0 !== 4) {
let r5 = "Fine weather";
if (a0 !== 9) {
let r6 = "Cloudy weather";
if (a0 !== 10) {
let r7 = "Shade";
if (a0 !== 11) {
let r8 = "Daylight fluorescent (D 5700 – 7100K)";
if (a0 !== 12) {
let r9 = "Day white fluorescent (N 4600 – 5400K)";
if (a0 !== 13) {
let r10 = "Cool white fluorescent (W 3900 – 4500K)";
if (a0 !== 14) {
let r11 = "White fluorescent (WW 3200 – 3700K)";
if (a0 !== 15) {
let r12 = "Standard light A";
if (a0 !== 17) {
const r13 = a0 !== 18 ? a0 !== 19 ? a0 !== 20 ? a0 !== 21 ? a0 !== 22 ? a0 !== 23 ? a0 !== 24 ? a0 === 255 ? "Other light source" : "Unknown" : "ISO studio tungsten" : "D50" : "D75" : "D65" : "D55" : "Standard light C" : "Standard light B";
r12 = r13;
}
r11 = r12;
}
r10 = r11;
}
r9 = r10;
}
r8 = r9;
}
r7 = r8;
}
r6 = r7;
}
r5 = r6;
}
r4 = r5;
}
r3 = r4;
}
r2 = r3;
}
r1 = r2;
}
return r1;
},
MeteringMode: (a0) => a0 !== 1 ? a0 !== 2 ? a0 !== 3 ? a0 !== 4 ? a0 !== 5 ? a0 !== 6 ? a0 === 255 ? "Other" : "Unknown" : "Partial" : "Pattern" : "MultiSpot" : "Spot" : "CenterWeightedAverage" : "Average",
ResolutionUnit: (a0) => a0 !== 2 ? a0 === 3 ? "centimeters" : "Unknown" : "inches",
Saturation: (a0) => a0 !== 0 ? a0 !== 1 ? a0 === 2 ? "High saturation" : "Unknown" : "Low saturation" : "Normal",
FocalLengthIn35mmFilm: (a0) => a0 !== 0 ? a0 + " mm" : "Unknown",
SceneCaptureType: (a0) => a0 !== 0 ? a0 !== 1 ? a0 !== 2 ? a0 === 3 ? "Night scene" : "Unknown" : "Portrait" : "Landscape" : "Standard",
Sharpness: (a0) => a0 !== 0 ? a0 !== 1 ? a0 === 2 ? "Hard" : "Unknown" : "Soft" : "Normal",
ShutterSpeedValue: (a0) => {
const r8 = Math.pow(2, a0[0] / a0[1]);
return r8 <= 1 ? `${Math.round(1 / r8)}` : `1/${Math.round(r8)}`;
},
WhiteBalance: (a0) => a0 !== 0 ? a0 === 1 ? "Manual white balance" : "Unknown" : "Auto white balance",
XResolution: (a0) => "" + Math.round(a0[0] / a0[1]),
YResolution: (a0) => "" + Math.round(a0[0] / a0[1])
};