30 lines
2.6 KiB
JavaScript
30 lines
2.6 KiB
JavaScript
// Module ID: 3242
|
|
// Function ID: 25904
|
|
// Name: formatDistance
|
|
// Dependencies: []
|
|
// Exports: default
|
|
|
|
// Module 3242 (formatDistance)
|
|
let closure_0 = { lessThanXSeconds: { removeInternalFields: 35327232, ga: 35606784 }, xSeconds: { removeInternalFields: null, ga: null }, halfAMinute: "medio minuto", lessThanXMinutes: {}, xMinutes: { removeInternalFields: null, ga: null }, aboutXHours: { removeInternalFields: true, ga: true }, xHours: {}, xDays: { removeInternalFields: 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016135396407470615, ga: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018704936141343404 }, aboutXWeeks: { removeInternalFields: null, ga: null }, xWeeks: { removeInternalFields: "user_profile_avatar", ga: "action-sheet" }, aboutXMonths: { removeInternalFields: false, ga: true }, xMonths: { removeInternalFields: 57318911455110120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, ga: -0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008447344819427742 }, aboutXYears: { removeInternalFields: 1946157652, ga: -1862270380 }, xYears: { removeInternalFields: "GAME_CLAIM_NOTICE_MARGIN_BOTTOM", ga: "key" }, overXYears: { removeInternalFields: "<string:2408185858>", ga: "<string:4034527233>" }, almostXYears: { removeInternalFields: 39089152, ga: 39089152 } };
|
|
|
|
export default function formatDistance(arg0, arg1, addSuffix) {
|
|
if ("string" === typeof closure_0[arg0]) {
|
|
let tmp4 = tmp;
|
|
if (null != addSuffix) {
|
|
tmp4 = tmp;
|
|
if (addSuffix.addSuffix) {
|
|
if (!addSuffix.comparison) {
|
|
let text = `hace ${tmp}`;
|
|
}
|
|
text = `en ${tmp}`;
|
|
}
|
|
}
|
|
return tmp4;
|
|
} else if (1 === arg1) {
|
|
let one = tmp.one;
|
|
} else {
|
|
one = tmp.other.replace("{{count}}", arg1.toString());
|
|
const str = tmp.other;
|
|
}
|
|
};
|
|
export default exports.default;
|