{"version":3,"sources":["number.js"],"names":["root","factory","define","amd","exports","module","require","Globalize","this","createError","_createError","runtimeKey","_regexpEscape","_runtimeKey","stringPad","_stringPad","validateParameterType","_validateParameterType","validateParameterPresence","_validateParameterPresence","validateParameterTypeString","_validateParameterTypeString","createErrorUnsupportedFeature","feature","validateParameterTypeNumber","value","name","undefined","numberCompactPatternRe","numberToPrecision","number","precision","round","roundOrder","toPrecision","Math","ceil","log","abs","exponent","removeLiteralQuotes","string","length","replace","slice","numberFormat","properties","pluralGenerator","compactMap","infinitySymbol","maximumFractionDigits","maximumSignificantDigits","minimumFractionDigits","minimumIntegerDigits","minimumSignificantDigits","nanSymbol","nuDigitsMap","prefix","primaryGroupingSize","pattern","ret","roundIncrement","secondaryGroupingSize","suffix","symbolMap","compactPattern","compactProperties","divisor","numberExponent","pluralForm","isNaN","isFinite","indexOf","floor","toString","min","maxExponent","other","split","pow","String","test","toFixed","join","atMinimum","atMaximum","numberFormatSignificantDigits","match","index","currentGroupingSize","switchToSecondary","numberFormatGroupingSeparator","character","literal","symbol","digit","regexpCfG","regexpDashG","regexpZsG","looseMatching","numberParse","grammar","invertedNuDigitsMap","invertedSymbolMap","negative","prefixNSuffix","tokenizer","_value","some","statement","every","type","lexeme","map","Infinity","NaN","Error","numberTruncate","_createErrorUnsupportedFeature","_looseMatching","_numberFormat","_numberFormatterFn","_numberParse","_numberParserFn","_numberRound","method","incrementOrExp","exp","increment","toExponential","_removeLiteralQuotes","_validateParameterTypeNumber","numberFormatter","prototype","options","_locale","numberParser","formatNumber","parseNumber"],"mappings":"CAeC,SAAUA,EAAMC,GAEhB,aAGuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,QACC,wBACED,GAC2B,iBAAZG,QAGlBC,OAAOD,QAAUH,EAASK,QAAS,yBAInCL,EAASD,EAAKO,WAlBhB,CAoBEC,KAAM,SAAUD,GAIlB,IAAIE,EAAcF,EAAUG,aAE3BC,GADeJ,EAAUK,cACZL,EAAUM,aACvBC,EAAYP,E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