1var e=e=>e&&(e.length===12&&e.startsWith(`+1`)?e.replace(/\+1(\d{3})(\d{3})(\d{4})/,`+1 ($1) $2-$3`):e.length===11&&e.startsWith(`1`)?e.replace(/1(\d{3})(\d{3})(\d{4})/,`+1 ($1) $2-$3`):e.length===12&&e.split(`-`).length===3?e.replaceAll(`-`,``).replace(/(\d{3})(\d{3})(\d{4})/,`($1) $2-$3`):e.replace(/(\d{3})(\d{3})(\d{4})/,`($1) $2-$3`)),t=e=>e.replace(/[\s()-]/g,``),n=e=>{if(e&&e.length===10)return`(${e.slice(0,3)}) ${e.slice(3,6)}-${e.slice(6)}`};export{t as n,n as r,e as t}; 2//# sourceMappingURL=format-phone-number-DOg9xAcd.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.