Files
discord-decomp/sources/by-id/module-03300.jsx
T
2026-07-27 16:20:00 +03:00

45 lines
2.5 KiB
React

/* Metro module 3300; source: unknown; dependencies: [] */
function _fun25972(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#25972, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3427:6, offset: 0x00f33a91, size: 374 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = undefined;
object = {lessThanXSeconds: {'one': 'meno di un secondo', 'other': 'meno di {{count}} secondi'},
xSeconds: {'one': 'un secondo', 'other': '{{count}} secondi'}, halfAMinute: 'alcuni secondi',
lessThanXMinutes: {'one': 'meno di un minuto', 'other': 'meno di {{count}} minuti'},
xMinutes: {'one': 'un minuto', 'other': '{{count}} minuti'}, aboutXHours: {'one': "circa un'ora",
'other': 'circa {{count}} ore'}, xHours: {'one': "un'ora", 'other': '{{count}} ore'},
xDays: {'one': 'un giorno', 'other': '{{count}} giorni'}, aboutXWeeks: {'one': 'circa una settimana',
'other': 'circa {{count}} settimane'}, xWeeks: {'one': 'una settimana', 'other': '{{count}} settimane'},
aboutXMonths: {'one': 'circa un mese', 'other': 'circa {{count}} mesi'}, xMonths: {'one': 'un mese',
'other': '{{count}} mesi'}, aboutXYears: {'one': 'circa un anno', 'other': 'circa {{count}} anni'},
xYears: {'one': 'un anno', 'other': '{{count}} anni'}, overXYears: {'one': 'più di un anno',
'other': 'più di {{count}} anni'}, almostXYears: {'one': 'quasi un anno', 'other': 'quasi {{count}} anni'}};
exports.default = formatDistance_25973;
module.exports = exports.default;
}
function formatDistance_25973(a0, a1, a2) { // fn#25973, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3427:1043, offset: 0x00f33c07, size: 153 bytes, params: 4, frame: 16
var r0;
var r3;
var other;
var replace;
var value;
const property = env0_0[a0];
if (typeof property === 'string') {
r3 = property;
} else {
if (a1 === 1) {
r0 = property.one;
} else {
other = property.other;
replace = other.replace;
value = a1.toString();
value = Reflect.apply(replace, other, ['{{count}}', value]);
r0 = value;
}
r3 = r0;
}
return a2 == null ? r3 : a2.addSuffix ? a2.comparison && a2.comparison > 0 ? 'tra ' + r3 : r3 + ' fa' : r3;
}