Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,42 @@
|
||||
/* Metro module 3694; source: unknown; dependencies: [] */
|
||||
function _fun27975(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#27975, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3821:6, offset: 0x00f67b9b, size: 374 bytes, params: 8, frame: 16
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.default = undefined;
|
||||
object = {lessThanXSeconds: {'one': '少於 1 秒', 'other': '少於 {{count}} 秒'}, xSeconds: {'one': '1 秒',
|
||||
'other': '{{count}} 秒'}, halfAMinute: '半分鐘', lessThanXMinutes: {'one': '少於 1 分鐘', 'other': '少於 {{count}} 分鐘'},
|
||||
xMinutes: {'one': '1 分鐘', 'other': '{{count}} 分鐘'}, xHours: {'one': '1 小時', 'other': '{{count}} 小時'},
|
||||
aboutXHours: {'one': '大約 1 小時', 'other': '大約 {{count}} 小時'}, xDays: {'one': '1 天', 'other': '{{count}} 天'},
|
||||
aboutXWeeks: {'one': '大約 1 個星期', 'other': '大約 {{count}} 個星期'}, xWeeks: {'one': '1 個星期',
|
||||
'other': '{{count}} 個星期'}, aboutXMonths: {'one': '大約 1 個月', 'other': '大約 {{count}} 個月'},
|
||||
xMonths: {'one': '1 個月', 'other': '{{count}} 個月'}, aboutXYears: {'one': '大約 1 年', 'other': '大約 {{count}} 年'},
|
||||
xYears: {'one': '1 年', 'other': '{{count}} 年'}, overXYears: {'one': '超過 1 年', 'other': '超過 {{count}} 年'},
|
||||
almostXYears: {'one': '將近 1 年', 'other': '將近 {{count}} 年'}};
|
||||
exports.default = formatDistance_27976;
|
||||
module.exports = exports.default;
|
||||
}
|
||||
|
||||
function formatDistance_27976(a0, a1, a2) { // fn#27976, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3821:1015, offset: 0x00f67d11, 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 ? r3 + '內' : r3 + '前' : r3;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user