Files
discord-decomp/sources/by-id/module-03743.js
T
2026-07-28 01:06:53 +03:00

57 lines
3.1 KiB
JavaScript

/* Metro module 3743; source: unknown; dependencies: [3738] */
function _fun28430(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28430, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3870:6, offset: 0x00f78e33, size: 144 bytes, params: 8, frame: 15
const n_284312 = n_28431;
if (typeof exports !== 'object') {
if (typeof global.define !== 'function') {
n_284312(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], n_284312);
} else {
n_284312(this.moment);
}
} else if (module === undefined) {
if (typeof global.define !== 'function') {
n_284312(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], n_284312);
} else {
n_284312(this.moment);
}
} else if (typeof require === 'function') {
n_284312(require(3738) /* metro dependency 3738 */);
} else if (typeof global.define !== 'function') {
n_284312(this.moment);
} else if (global.define.amd) {
global.define(['../moment'], n_284312);
} else {
n_284312(this.moment);
}
function n_28431(a0) { // fn#28431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3870:47, offset: 0x00f78ec3, size: 241 bytes, params: 2, frame: 15
const defineLocale = a0.defineLocale;
const object = {};
object.months = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
object.monthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');
object.weekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');
object.weekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');
object.weekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_');
object.longDateFormat = {'LT': 'HH:mm', 'LTS': 'HH:mm:ss', 'L': 'DD/MM/YYYY', 'LL': 'D MMMM YYYY',
'LLL': 'D MMMM YYYY HH:mm', 'LLLL': 'dddd, D MMMM YYYY HH:mm'};
object.calendar = {'sameDay': '[Today at] LT', 'nextDay': '[Tomorrow at] LT', 'nextWeek': 'dddd [at] LT',
'lastDay': '[Yesterday at] LT', 'lastWeek': '[Last] dddd [at] LT', 'sameElse': 'L'};
object.relativeTime = {'future': 'in %s', 'past': '%s ago', 's': 'a few seconds', 'ss': '%d seconds',
'm': 'a minute', 'mm': '%d minutes', 'h': 'an hour', 'hh': '%d hours', 'd': 'a day', 'dd': '%d days',
'M': 'a month', 'MM': '%d months', 'y': 'a year', 'yy': '%d years'};
object.dayOfMonthOrdinalParse = RegExp('\\d{1,2}(st|nd|rd|th)', '');
object.ordinal = function(a0) {
var value = a0 % 10;
var value2 = 'th';
return a0 + (~~(a0 % 100 / 10) === 1 ? value2 : value === 1 ? 'st' : value === 2 ? 'nd' : value !== 3 ? value2 : 'rd');
};
object.week = {'dow': 1, 'doy': 4};
return Reflect.apply(defineLocale, a0, ['en-gb', object]);
}
}
global.__d(_fun28430, 3743, [3738]) /* metro module 3743, dependencies: [3738] */;