(rawValue)
| 1915 | } |
| 1916 | |
| 1917 | function parseGmailBaseEmail(rawValue) { |
| 1918 | const value = String(rawValue || '').trim().toLowerCase(); |
| 1919 | const match = value.match(/^([^@\s+]+)@((?:gmail|googlemail)\.com)$/i); |
| 1920 | if (!match) return null; |
| 1921 | return { |
| 1922 | localPart: match[1], |
| 1923 | domain: match[2].toLowerCase(), |
| 1924 | }; |
| 1925 | } |
| 1926 | |
| 1927 | function isGeneratedAliasProvider(stateOrProvider, mail2925Mode = undefined) { |
| 1928 | const provider = typeof stateOrProvider === 'string' |
no outgoing calls
no test coverage detected