<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var EnvDetector, envDetector, indexOf = [].indexOf || function(t) {
    for (var e = 0, i = this.length; e &lt; i; e++) {
        if (e in this &amp;&amp; this[e] === t) return e
    }
    return -1
};
EnvDetector = function() {
    function t() {
        this.navigator = window.navigator;
        this.appVersion = (this.navigator &amp;&amp; this.navigator.appVersion || "").toLowerCase();
        this.userAgent = (this.navigator &amp;&amp; this.navigator.userAgent || "").toLowerCase();
        this.vendor = (this.navigator &amp;&amp; this.navigator.vendor || "").toLowerCase()
    }
    t.prototype.compareVersion = function(t, e) {
        var i, r, n;
        n = e + "";
        i = +(n.match(/\d+/) || NaN);
        r = n.match(/^[&lt;&gt;]=?|/)[0];
        if (r === "&lt;") {
            return t &lt; i
        }
        if (r === "&lt;=") {
            return t &lt;= i
        }
        if (r === "&gt;=") {
            return t &gt;= i
        }
        if (r === "&gt;") {
            return t &gt; i
        }
        return t === i || i !== i
    };
    t.prototype.isChrome = function(t) {
        var e;
        e = /google inc/.test(this.vendor) &amp;&amp; this.userAgent.match(/(?:chrome|crios)\/(\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isFirefox = function(t) {
        var e;
        e = this.userAgent.match(/(?:firefox|fxios)\/(\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isEdge = function(t) {
        var e;
        e = this.userAgent.match(/edge\/(\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isIE = function(t) {
        var e;
        e = this.userAgent.match(/(?:msie |trident.+?; rv:)(\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isOpera = function(t) {
        var e;
        e = this.userAgent.match(/(?:^opera.+?version|opr)\/(\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isSafari = function(t) {
        var e;
        e = this.userAgent.match(/version\/(\d+).+?safari/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isPhantom = function(t) {
        var e;
        e = this.userAgent.match(/phantomjs\/(\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isIPhone = function(t) {
        var e;
        e = this.userAgent.match(/iphone(?:.+?os (\d+))?/);
        return !!e &amp;&amp; this.compareVersion(e[1] || 1, t)
    };
    t.prototype.isIPad = function(t) {
        var e;
        e = this.userAgent.match(/ipad.+?os (\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isIPod = function(t) {
        var e;
        e = this.userAgent.match(/ipod.+?os (\d+)/);
        return !!e &amp;&amp; this.compareVersion(e[1], t)
    };
    t.prototype.isIOs = function() {
        return this.isIPhone() || this.isIPad() || this.isIPod()
    };
    t.prototype.isAndroid = function() {
        return /android/.test(this.userAgent)
    };
    t.prototype.isAndroidPhone = function() {
        return /android/.test(this.userAgent) &amp;&amp; /mobile/.test(this.userAgent)
    };
    t.prototype.isAndroidTablet = function() {
        return /android/.test(this.userAgent) &amp;&amp; !/mobile/.test(this.userAgent)
    };
    t.prototype.isBlackBerry = function() {
        return /blackberry/.test(this.userAgent) || /bb10/.test(this.userAgent)
    };
    t.prototype.isLinux = function() {
        return /linux/.test(this.appVersion)
    };
    t.prototype.isMac = function() {
        return /mac/.test(this.appVersion)
    };
    t.prototype.isWindows = function() {
        return /win/.test(this.appVersion)
    };
    t.prototype.isWindowsPhone = function() {
        return this.isWindows() &amp;&amp; /phone/.test(this.userAgent)
    };
    t.prototype.isWindowsTablet = function() {
        return this.isWindows() &amp;&amp; !this.isWindowsPhone() &amp;&amp; /touch/.test(this.userAgent)
    };
    t.prototype.isMobile = function() {
        return this.isIPhone() || this.isIPod() || this.isAndroidPhone() || this.isBlackBerry() || this.isWindowsPhone()
    };
    t.prototype.isTablet = function() {
        return this.isIPad() || this.isAndroidTablet() || this.isWindowsTablet()
    };
    t.prototype.isDesktop = function() {
        return !this.isMobile() &amp;&amp; !this.isTablet()
    };
    t.prototype.isTouchDevice = function() {
        return indexOf.call(window, "ontouchstart") &gt;= 0 || indexOf.call(window, "DocumentTouch") &gt;= 0 &amp;&amp; document instanceof DocumentTouch
    };
    t.prototype.isOnline = function() {
        return this.navigator.onLine
    };
    t.prototype.isOffline = function() {
        return !this.isOnline()
    };
    t.prototype.isWeChat = function() {
        return /MicroMessenger/i.test(this.userAgent)
    };
    t.prototype.isWeibo = function() {
        return /WeiBo/i.test(this.userAgent)
    };
    return t
}();
envDetector = new EnvDetector;</pre></body></html>