39 lines
5 KiB
JavaScript
39 lines
5 KiB
JavaScript
// Module ID: 3673
|
|
// Function ID: 28000
|
|
// Name: numberToLocale
|
|
// Dependencies: []
|
|
// Exports: localeToNumber
|
|
|
|
// Module 3673 (numberToLocale)
|
|
function numberToLocale(arg0) {
|
|
return arg0.toString().replace(/\d/g, (arg0) => locale.locale[arg0]);
|
|
}
|
|
const _module = require(dependencyMap[0]);
|
|
if (!_module) {
|
|
let obj = { default: _module };
|
|
} else {
|
|
obj = _module;
|
|
}
|
|
let closure_0 = { locale: { paddingHorizontal: 223155518923808760000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, height: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011076540309645965, flexDirection: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003179158267492467, alignItems: -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011845257754833794, LTS: 139264.22877883917, L: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012151848671966147, LL: -0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010046495889680145, LLL: -0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011462296716777452, LLLL: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036230470461791936, applicationNameWrapper: -271725294592220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 }, number: {} };
|
|
obj = {
|
|
ordinalNumber(arg0, arg1) {
|
|
return numberToLocale(Number(arg0));
|
|
}
|
|
};
|
|
obj.era = obj.default({ values: { narrow: [null, null], abbreviated: [null, null], wide: [] }, defaultWidth: "wide" });
|
|
obj.quarter = obj.default({
|
|
values: { narrow: [false, false, false, false], abbreviated: ["o", "a", "isArray", "Text"], wide: [] },
|
|
defaultWidth: "wide",
|
|
argumentCallback(arg0) {
|
|
return arg0 - 1;
|
|
}
|
|
});
|
|
obj.month = obj.default({ values: { narrow: [], abbreviated: [], wide: [] }, defaultWidth: "wide" });
|
|
obj.day = obj.default({ values: { narrow: [], short: [], abbreviated: ["r", "FileUpload250MbPowerupExperiment", "r", "formSection", "Array", "toggleSpeaker", "Float32Array"], wide: [] }, defaultWidth: "wide" });
|
|
obj.dayPeriod = obj.default({ values: { narrow: { <string:13107200>: "isArray", <string:13303808>: "count", <string:13369344>: "textAlign", <string:13631488>: "r", <string:13893632>: "isArray", <string:14024704>: "count", <string:14286848>: "textAlign", <string:14548992>: "r" }, abbreviated: { <string:13107200>: "isArray", <string:13303808>: "count", <string:13369344>: "textAlign", <string:13631488>: "r", <string:13893632>: "isArray", <string:14024704>: "count", <string:14286848>: "textAlign", <string:14548992>: "r" }, wide: { <string:13107200>: "isArray", <string:13303808>: "count", <string:13369344>: "textAlign", <string:13631488>: "r", <string:13893632>: "isArray", <string:14024704>: "count", <string:14286848>: "textAlign", <string:14548992>: "r" } }, defaultWidth: "wide", formattingValues: { narrow: { <string:13107200>: "isArray", <string:13303808>: "count", <string:13369344>: "textAlign", <string:13631488>: "r", <string:13893632>: "isArray", <string:14024704>: "count", <string:14286848>: "textAlign", <string:14548992>: "r" }, abbreviated: { <string:13107200>: "isArray", <string:13303808>: "count", <string:13369344>: "textAlign", <string:13631488>: "r", <string:13893632>: "isArray", <string:14024704>: "count", <string:14286848>: "textAlign", <string:14548992>: "r" }, wide: { <string:13107200>: "isArray", <string:13303808>: "count", <string:13369344>: "textAlign", <string:13631488>: "r", <string:13893632>: "isArray", <string:14024704>: "count", <string:14286848>: "textAlign", <string:14548992>: "r" } }, defaultFormattingWidth: "wide" });
|
|
|
|
export const localeToNumber = function localeToNumber(arg0) {
|
|
return Number(arg0.toString().replace(/[१२३४५६७८९०]/g, (arg0) => number.number[arg0]));
|
|
};
|
|
export { numberToLocale };
|
|
export default obj;
|