313 lines
12 KiB
React
313 lines
12 KiB
React
/* Metro module 1285; source: unknown; dependencies: [164, 65, 6, 7] */
|
|
function _fun14126(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#14126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:6, offset: 0x00dfb7b6, size: 151 bytes, params: 8, frame: 17
|
|
const env0_0 = require(164) /* metro dependency 164 */;
|
|
const env0_1 = require(65) /* metro dependency 65 */;
|
|
const env0_2 = require(6) /* metro dependency 6 */;
|
|
const env0_3 = require(7) /* metro dependency 7 */;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.dataFormatterCache = undefined;
|
|
let value = _fun14127();
|
|
value = new value();
|
|
exports.dataFormatterCache = value;
|
|
}
|
|
|
|
function _fun14127() { // fn#14127, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:170, offset: 0x00dfb84d, size: 224 bytes, params: 1, frame: 15
|
|
return env0_3(FormatterCache, [{key: 'getDateTimeFormatter', value: function() {
|
|
var r0;
|
|
var value6;
|
|
var value = arguments.length;
|
|
var value3 = new global.Array(value);
|
|
var value5 = 0;
|
|
if (value5 < value) {
|
|
for (r0 = value5; true; r0 = value6) {
|
|
value3[r0] = arguments[r0];
|
|
value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value6 < value)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.dateTime, value3, _fun14130);
|
|
}}, {key: 'getDurationFormatter', value: function() {
|
|
var r0;
|
|
var value6;
|
|
var value = arguments.length;
|
|
var value3 = new global.Array(value);
|
|
var value5 = 0;
|
|
if (value5 < value) {
|
|
for (r0 = value5; true; r0 = value6) {
|
|
value3[r0] = arguments[r0];
|
|
value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value6 < value)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.duration, value3, _fun14132);
|
|
}}, {key: 'getListFormatter', value: function() {
|
|
var r0;
|
|
var value6;
|
|
var value = arguments.length;
|
|
var value3 = new global.Array(value);
|
|
var value5 = 0;
|
|
if (value5 < value) {
|
|
for (r0 = value5; true; r0 = value6) {
|
|
value3[r0] = arguments[r0];
|
|
value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value6 < value)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.list, value3, _fun14134);
|
|
}}, {key: 'getNumberFormatter', value: function() {
|
|
var r0;
|
|
var value6;
|
|
var value = arguments.length;
|
|
var value3 = new global.Array(value);
|
|
var value5 = 0;
|
|
if (value5 < value) {
|
|
for (r0 = value5; true; r0 = value6) {
|
|
value3[r0] = arguments[r0];
|
|
value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value6 < value)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.number, value3, _fun14136);
|
|
}}, {key: 'getPluralRules', value: function() {
|
|
var r0;
|
|
var value6;
|
|
var value = arguments.length;
|
|
var value3 = new global.Array(value);
|
|
var value5 = 0;
|
|
if (value5 < value) {
|
|
for (r0 = value5; true; r0 = value6) {
|
|
value3[r0] = arguments[r0];
|
|
value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value6 < value)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.pluralRules, value3, _fun14138);
|
|
}}, {key: 'getRelativeTimeFormatter', value: function() {
|
|
var r0;
|
|
var value6;
|
|
var value = arguments.length;
|
|
var value3 = new global.Array(value);
|
|
var value5 = 0;
|
|
if (value5 < value) {
|
|
for (r0 = value5; true; r0 = value6) {
|
|
value3[r0] = arguments[r0];
|
|
value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value6 < value)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.relativeTime, value3, _fun14140);
|
|
}}, {key: '_getCached', value: function(a0, a1, a2) {
|
|
var value = this._getKey(a1);
|
|
var value2 = a0.get(value);
|
|
if (value2) {
|
|
return value2;
|
|
}
|
|
var value3 = a2(a1);
|
|
a0.set(value, value3);
|
|
return value3;
|
|
}}, {key: '_getKey', value: function() {
|
|
var r1;
|
|
var value6;
|
|
var value = arguments.length;
|
|
var value3 = new global.Array(value);
|
|
var value5 = 0;
|
|
if (value5 < value) {
|
|
for (r1 = value5; true; r1 = value6) {
|
|
value3[r1] = arguments[r1];
|
|
value6 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (!(value6 < value)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return global.JSON.stringify(value3);
|
|
}}]);
|
|
}
|
|
|
|
function FormatterCache() { // fn#14128, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:191, offset: 0x00dfb92d, size: 221 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__;
|
|
env1_2(this, FormatterCache);
|
|
let Map = global.Map;
|
|
this.dateTime = new Map();
|
|
Map = global.Map;
|
|
this.duration = new Map();
|
|
Map = global.Map;
|
|
this.list = new Map();
|
|
Map = global.Map;
|
|
this.number = new Map();
|
|
Map = global.Map;
|
|
this.pluralRules = new Map();
|
|
Map = global.Map;
|
|
this.relativeTime = new Map();
|
|
}
|
|
|
|
function value_14129() { // fn#14129, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:410, offset: 0x00dfba0a, size: 91 bytes, params: 1, frame: 16
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.dateTime, array, _fun14130);
|
|
}
|
|
|
|
function value_14131() { // fn#14131, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:640, offset: 0x00dfba90, size: 90 bytes, params: 1, frame: 16
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.duration, array, _fun14132);
|
|
}
|
|
|
|
function value_14133() { // fn#14133, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:866, offset: 0x00dfbb17, size: 91 bytes, params: 1, frame: 16
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.list, array, _fun14134);
|
|
}
|
|
|
|
function value_14135() { // fn#14135, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:1082, offset: 0x00dfbb9d, size: 91 bytes, params: 1, frame: 16
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.number, array, _fun14136);
|
|
}
|
|
|
|
function value_14137() { // fn#14137, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:1300, offset: 0x00dfbc23, size: 91 bytes, params: 1, frame: 16
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.pluralRules, array, _fun14138);
|
|
}
|
|
|
|
function value_14139() { // fn#14139, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:1528, offset: 0x00dfbca9, size: 91 bytes, params: 1, frame: 16
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return this._getCached(this.relativeTime, array, _fun14140);
|
|
}
|
|
|
|
function _fun14130(a0) { // fn#14130, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:554, offset: 0x00dfba65, size: 43 bytes, params: 2, frame: 14
|
|
const binding = env2_0;
|
|
const Intl = global.Intl;
|
|
const DateTimeFormat = Intl.DateTimeFormat;
|
|
return binding(DateTimeFormat, env2_1(a0));
|
|
}
|
|
|
|
function _fun14132(a0) { // fn#14132, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:784, offset: 0x00dfbaea, size: 45 bytes, params: 2, frame: 14
|
|
const binding = env2_0;
|
|
const Intl = global.Intl;
|
|
const DurationFormat = Intl.DurationFormat;
|
|
return binding(DurationFormat, env2_1(a0));
|
|
}
|
|
|
|
function _fun14134(a0) { // fn#14134, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:1002, offset: 0x00dfbb72, size: 43 bytes, params: 2, frame: 14
|
|
const binding = env2_0;
|
|
const Intl = global.Intl;
|
|
const ListFormat = Intl.ListFormat;
|
|
return binding(ListFormat, env2_1(a0));
|
|
}
|
|
|
|
function _fun14136(a0) { // fn#14136, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:1222, offset: 0x00dfbbf8, size: 43 bytes, params: 2, frame: 14
|
|
const binding = env2_0;
|
|
const Intl = global.Intl;
|
|
const NumberFormat = Intl.NumberFormat;
|
|
return binding(NumberFormat, env2_1(a0));
|
|
}
|
|
|
|
function _fun14138(a0) { // fn#14138, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:1441, offset: 0x00dfbc7e, size: 43 bytes, params: 2, frame: 14
|
|
const binding = env2_0;
|
|
const Intl = global.Intl;
|
|
const PluralRules = Intl.PluralRules;
|
|
return binding(PluralRules, env2_1(a0));
|
|
}
|
|
|
|
function _fun14140(a0) { // fn#14140, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1412:1680, offset: 0x00dfbd04, size: 43 bytes, params: 2, frame: 14
|
|
const binding = env2_0;
|
|
const Intl = global.Intl;
|
|
const RelativeTimeFormat = Intl.RelativeTimeFormat;
|
|
return binding(RelativeTimeFormat, env2_1(a0));
|
|
}
|
|
|