/* Metro module 3318; source: unknown; dependencies: [] */ function _fun26017(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3445:6, offset: 0x00f362f4, size: 399 bytes, params: 8, frame: 19 var object2; const special = function(a0) { return a0 % 10 === 0 || a0 > 10 && a0 < 20; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.default = undefined; const env0_0 = {'xseconds_other': 'sekundė_sekundžių_sekundes', 'xminutes_one': 'minutė_minutės_minutę', 'xminutes_other': 'minutės_minučių_minutes', 'xhours_one': 'valanda_valandos_valandą', 'xhours_other': 'valandos_valandų_valandas', 'xdays_one': 'diena_dienos_dieną', 'xdays_other': 'dienos_dienų_dienas', 'xweeks_one': 'savaitė_savaitės_savaitę', 'xweeks_other': 'savaitės_savaičių_savaites', 'xmonths_one': 'mėnuo_mėnesio_mėnesį', 'xmonths_other': 'mėnesiai_mėnesių_mėnesius', 'xyears_one': 'metai_metų_metus', 'xyears_other': 'metai_metų_metus', 'about': 'apie', 'over': 'daugiau nei', 'almost': 'beveik', 'lessthan': 'mažiau nei'}; const closure = function(a0, a1, a2, a3) { return a1 ? a3 ? 'kelių sekundžių' : 'kelias sekundes' : 'kelios sekundės'; }; const closure2 = one_26021; const closure3 = other; object2 = {}; object2.lessThanXSeconds = {one: closure, other: closure3}; object2.xSeconds = {one: closure, other: closure3}; object2.halfAMinute = 'pusė minutės'; object2.lessThanXMinutes = {one: closure2, other: closure3}; object2.xMinutes = {one: closure2, other: closure3}; object2.aboutXHours = {one: closure2, other: closure3}; object2.xHours = {one: closure2, other: closure3}; object2.xDays = {one: closure2, other: closure3}; object2.aboutXWeeks = {one: closure2, other: closure3}; object2.xWeeks = {one: closure2, other: closure3}; object2.aboutXMonths = {one: closure2, other: closure3}; object2.xMonths = {one: closure2, other: closure3}; object2.aboutXYears = {one: closure2, other: closure3}; object2.xYears = {one: closure2, other: closure3}; object2.overXYears = {one: closure2, other: closure3}; object2.almostXYears = {one: closure2, other: closure3}; exports.default = formatDistance_26023; module.exports = exports.default; } function one_26021(a0, a1, a2, a3) { // fn#26021, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3445:811, offset: 0x00f364ea, size: 58 bytes, params: 5, frame: 12 const value = forms(a2); return a1 ? a3 ? value[1] : value[2] : value[0]; } function other(a0, a1, a2, a3) { // fn#26022, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3445:897, offset: 0x00f36524, size: 175 bytes, params: 5, frame: 21 var r0; var r1; var value3; var value4; var value5; var value6; let value = a0 + ' '; if (a0 === 1) { value += one_26021(0, a1, a2, a3); r0 = value; } else if (a1) { if (a3) { value += forms(a2)[1]; r1 = value; } else { value5 = special(a0); value6 = forms(a2); r1 = value5 ? value6[1] : value6[2]; value += r1; r1 = value; } r0 = r1; } else { value3 = special(a0); value4 = forms(a2); r0 = value3 ? value4[1] : value4[0]; value += r0; r0 = value; } return r0; } function formatDistance_26023(a0, a1, a2) { // fn#26023, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3445:1587, offset: 0x00f365d3, size: 370 bytes, params: 4, frame: 25 var addSuffix; var r3; var r4; var other; var one; let value = a0; const value2 = value.match(RegExp('about|over|almost|lessthan', 'i')); const r7 = value2 ? value.replace(value2[0], '') : value; const value4 = undefined; const r10 = value4 !== (a2 == null ? value4 : a2.comparison) && a2.comparison > 0; const property = env0_2[value]; if (typeof property === 'string') { r4 = property; } else { if (a1 === 1) { one = property.one; addSuffix = a2 == null ? value4 : a2.addSuffix; value = r7.toLowerCase(); value = Reflect.apply(one, property, [a1, addSuffix === true, value + '_one', r10]); r3 = value; } else { other = property.other; addSuffix = a2 == null ? value4 : a2.addSuffix; value = r7.toLowerCase(); value = Reflect.apply(other, property, [a1, addSuffix === true, value + '_other', r10]); r3 = value; } r4 = r3; } if (value2) { value = value2[0].toLowerCase(); value = env0_0[value] + ' ' + r4; r3 = value; } else { r3 = r4; } return a2 == null ? r3 : a2.addSuffix ? a2.comparison && a2.comparison > 0 ? 'po ' + r3 : 'prieš ' + r3 : r3; }