import isBrowser from './isBrowser';
var winNav = isBrowser && window.navigator;
var vendorName = winNav && winNav.vendor;
var userAgent = winNav && winNav.userAgent;
var isChromium = isBrowser && typeof chrome !== 'undefined';
var isOpera = isBrowser && typeof opr !== 'undefined';
var isIEedge = userAgent && userAgent.indexOf('Edge') > -1;
var isIOSChrome = !!(userAgent && /CriOS/.exec(userAgent));
var isDesktopChrome = isChromium && vendorName === 'Google Inc.' && !isOpera && !isIEedge;
var isChrome = isIOSChrome || isDesktopChrome;
export default isChrome;
