{"version":3,"file":"formatPhoneNumber-BU3gjiQI.js","sources":["../../src/utils/formatPhoneNumber.ts"],"sourcesContent":["export function formatPhoneNumber(prefix = null, num: string):string {\r\n if (!num) return '';\r\n const [int] = num.toString().split('.');\r\n if (!int) return '';\r\n const str = prefix ? prefix + ' ' : '';\r\n return str + int.replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\r\n}"],"names":["formatPhoneNumber","prefix","num","int"],"mappings":"AAAgB,SAAAA,EAAkBC,EAAS,KAAMC,EAAoB,CAC7D,GAAA,CAACA,EAAY,MAAA,GACjB,KAAM,CAACC,CAAG,EAAID,EAAI,SAAS,EAAE,MAAM,GAAG,EAClC,OAACC,GACOF,EAASA,EAAS,IAAM,IACvBE,EAAI,QAAQ,wBAAyB,GAAG,EAFpC,EAGrB"}