46 lines
2.7 KiB
JavaScript
46 lines
2.7 KiB
JavaScript
/* Metro module 3348; source: unknown; dependencies: [] */
|
|
function _fun26095(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26095, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3475:6, offset: 0x00f3adb9, size: 374 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = undefined;
|
|
object = {lessThanXSeconds: {'one': 'mai puțin de o secundă', 'other': 'mai puțin de {{count}} secunde'},
|
|
xSeconds: {'one': '1 secundă', 'other': '{{count}} secunde'}, halfAMinute: 'jumătate de minut',
|
|
lessThanXMinutes: {'one': 'mai puțin de un minut', 'other': 'mai puțin de {{count}} minute'},
|
|
xMinutes: {'one': '1 minut', 'other': '{{count}} minute'}, aboutXHours: {'one': 'circa 1 oră',
|
|
'other': 'circa {{count}} ore'}, xHours: {'one': '1 oră', 'other': '{{count}} ore'}, xDays: {'one': '1 zi',
|
|
'other': '{{count}} zile'}, aboutXWeeks: {'one': 'circa o săptămână', 'other': 'circa {{count}} săptămâni'},
|
|
xWeeks: {'one': '1 săptămână', 'other': '{{count}} săptămâni'}, aboutXMonths: {'one': 'circa 1 lună',
|
|
'other': 'circa {{count}} luni'}, xMonths: {'one': '1 lună', 'other': '{{count}} luni'},
|
|
aboutXYears: {'one': 'circa 1 an', 'other': 'circa {{count}} ani'}, xYears: {'one': '1 an',
|
|
'other': '{{count}} ani'}, overXYears: {'one': 'peste 1 an', 'other': 'peste {{count}} ani'},
|
|
almostXYears: {'one': 'aproape 1 an', 'other': 'aproape {{count}} ani'}};
|
|
exports.default = formatDistance_26096;
|
|
module.exports = exports.default;
|
|
function formatDistance_26096(a0, a1, a2) { // fn#26096, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3475:1055, offset: 0x00f3af2f, size: 159 bytes, params: 4, frame: 17
|
|
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 = global.String(a1);
|
|
value = Reflect.apply(replace, other, ['{{count}}', value]);
|
|
r0 = value;
|
|
}
|
|
r3 = r0;
|
|
}
|
|
return a2 == null ? r3 : a2.addSuffix ? a2.comparison && a2.comparison > 0 ? 'în ' + r3 : r3 + ' în urmă' : r3;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun26095, 3348, []) /* metro module 3348 */;
|