31 lines
2.5 KiB
JavaScript
31 lines
2.5 KiB
JavaScript
// Module ID: 3320
|
|
// Function ID: 26109
|
|
// Name: formatDistance
|
|
// Dependencies: []
|
|
// Exports: default
|
|
|
|
// Module 3320 (formatDistance)
|
|
let closure_0 = { lessThanXSeconds: { removeInternalFields: null, ga: null }, xSeconds: {}, halfAMinute: "jum\u0103tate de minut", lessThanXMinutes: {}, xMinutes: { removeInternalFields: 0.00000000000000000000000000000000000000000000000000000000000000000007424167029565172, ga: 0.000000000000000000000000000000000000000000000000000000000000000000000001132888825384383 }, aboutXHours: { removeInternalFields: true, ga: true }, xHours: {}, xDays: { removeInternalFields: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004418737936318515, ga: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004674565748877283 }, aboutXWeeks: {}, xWeeks: { removeInternalFields: 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014527382135, ga: "<string:201326592>" }, aboutXMonths: { removeInternalFields: "<string:201326592>", ga: "<string:4227858432>" }, xMonths: { removeInternalFields: 1279, ga: 4096 }, aboutXYears: {}, xYears: { removeInternalFields: null, ga: null }, overXYears: {}, almostXYears: { removeInternalFields: null, ga: null } };
|
|
|
|
export default function formatDistance(arg0, arg1, addSuffix) {
|
|
if ("string" === typeof closure_0[arg0]) {
|
|
let tmp5 = tmp;
|
|
if (null != addSuffix) {
|
|
tmp5 = tmp;
|
|
if (addSuffix.addSuffix) {
|
|
if (!addSuffix.comparison) {
|
|
let text = `${tmp} în urmă`;
|
|
}
|
|
text = `în ${tmp}`;
|
|
}
|
|
}
|
|
return tmp5;
|
|
} else if (1 === arg1) {
|
|
let one = tmp.one;
|
|
} else {
|
|
const _String = String;
|
|
one = tmp.other.replace("{{count}}", String(arg1));
|
|
const str = tmp.other;
|
|
}
|
|
};
|
|
export default exports.default;
|