text: const browser = {
    // Opera 8.0+
    isOpera: function() {
      return (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
    },
    // Firefox 1.0+
    isFirefox: function() {
      return typeof InstallTrigger !== 'undefined';
    },
    // Safari 3.0+ "[object HTMLElementConstructor]"
    isSafari: function() {
      return /Apple Computer, Inc/.test(navigator.vendor) && /Safari/.test(navigator.userAgent);
    },
    // Internet Explorer 6-11
    isIE: function() {
      return /*@cc_on!@*/ false || !!document.documentMode;
    },
    // Edge 20+
    isEdge: function() {
      return !isIE && !!window.StyleMedia;
    },
    // Chrome 1 - 68
    isChrome: function() {
      return /Google Inc/.test(navigator.vendor) && /Chrome/.test(navigator.userAgent);
    },
    // Blink engine detection
    isBlink: function() {
      return (isChrome || isOpera) && !!window.CSS;
    },
  };
  
  export default browser;
  