{"version":3,"sources":["number.js"],"names":["root","factory","define","amd","exports","module","require","Globalize","this","createErrorUnsupportedFeature","feature","createError","validateParameterTypeNumber","value","name","validateParameterType","undefined","numberToPrecision","number","precision","round","roundOrder","Math","ceil","log","abs","exponent","removeLiteralQuotes","string","length","replace","slice","numberFormat","properties","pluralGenerator","aux","compactMap","infinitySymbol","maximumFractionDigits","maximumSignificantDigits","minimumFractionDigits","minimumIntegerDigits","minimumSignificantDigits","nanSymbol","nuDigitsMap","prefix","primaryGroupingSize","pattern","roundIncrement","secondaryGroupingSize","stringToParts","suffix","symbolMap","compactPattern","compactProperties","divisor","numberExponent","pluralForm","isNaN","type","numberType","parts","character","literal","partsPush","symbol","numberSymbolName","digit","etc","isFinite","indexOf","floor","toString","min","maxExponent","other","split","pow","String","test","toFixed","stringPad","join","atMinimum","atMaximum","numberFormatSignificantDigits","match","numberCompactPatternRe","garbage","space","compact","concat","index","currentGroupingSize","ret","switchToSecondary","numberFormatGroupingSeparator","looseMatching","regexpCfG","regexpDashG","regexpZsG","numberParse","grammar","invertedNuDigitsMap","invertedSymbolMap","negative","prefixNSuffix","tokenizer","_value","some","statement","every","lexeme","map","Infinity","NaN","Error","numberTruncate","_createError","partsJoin","_partsJoin","_partsPush","runtimeKey","_regexpEscape","_runtimeKey","_stringPad","_validateParameterType","validateParameterPresence","_validateParameterPresence","validateParameterTypeString","_validateParameterTypeString",".",",","%","+","-","E","‰","cached","_createErrorUnsupportedFeature","_looseMatching","_numberFormat","_numberFormatterFn","numberToPartsFormatter","_numberParse","_numberParserFn","_numberRound","method","incrementOrExp","exp","increment","toExponential","_numberToPartsFormatterFn","_removeLiteralQuotes","_validateParameterTypeNumber","numberFormatter","prototype","options","_locale","numberParser","formatNumber","formatNumberToParts","parseNumber"],"mappings":"CAeC,SAAUA,EAAMC,GAEhB,aAGuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAO,CACN,wBACED,GAC2B,iBAAZG,QAGlBC,OAAOD,QAAUH,EAASK,Q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