<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
    />
    <link
      rel="icon"
      href="https://www.multiable.com/images/favicon.png"
      type="image/png"
    />
    <!-- Block Baidu scripts on admin pages - MUST RUN FIRST -->
    <script type="text/javascript">
      (function() {
        // Check if we're on an admin page
        var path = window.location.pathname;
        var isAdminPage = path.includes('/news_admin/') || 
                          path.includes('/blog_admin/') || 
                          path.includes('/user_admin/') || 
                          path.includes('/image_admin/') || 
                          path.includes('/visitor_analytics/') || 
                          path.includes('/blocked-ips/') || 
                          path.includes('/redirection/') || 
                          path.includes('/QIL-admin/') || 
                          path.includes('/database_admin/') || 
                          path.includes('/site_config/') || 
                          path.includes('/admin/');
        
        if (isAdminPage) {
          // IMMEDIATELY override functions BEFORE anything else can set them
          window.pageFullyLoaded = function() {};
          window.theDomHasLoaded = function() {};
          window._hmt = []; // Block Baidu analytics array
          
          // Override addEventListener to prevent Baidu event listeners
          var originalAddEventListener = EventTarget.prototype.addEventListener;
          EventTarget.prototype.addEventListener = function(type, listener, options) {
            // Block DOMContentLoaded and load listeners that reference Baidu functions
            if (type === 'DOMContentLoaded' || type === 'load') {
              if (typeof listener === 'function') {
                var listenerStr = listener.toString();
                if (listenerStr.indexOf('theDomHasLoaded') !== -1 || 
                    listenerStr.indexOf('pageFullyLoaded') !== -1 ||
                    listenerStr.indexOf('baidu') !== -1) {
                  return; // Block the listener
                }
              }
            }
            return originalAddEventListener.call(this, type, listener, options);
          };
          
          // Block script creation for Baidu domains
          var originalCreateElement = document.createElement;
          document.createElement = function(tagName) {
            var element = originalCreateElement.call(document, tagName);
            if (tagName.toLowerCase() === 'script') {
              var originalSetAttribute = element.setAttribute;
              element.setAttribute = function(name, value) {
                if (name === 'src' && value && (
                  value.indexOf('xiongzhang.baidu.com') !== -1 ||
                  value.indexOf('hm.baidu.com') !== -1 ||
                  value.indexOf('zz.bdstatic.com') !== -1 ||
                  value.indexOf('push.zhanzhang.baidu.com') !== -1
                )) {
                  return; // Block the src
                }
                return originalSetAttribute.call(this, name, value);
              };
              
              // Block direct src assignment
              Object.defineProperty(element, 'src', {
                set: function(value) {
                  if (value && (
                    value.indexOf('xiongzhang.baidu.com') !== -1 ||
                    value.indexOf('hm.baidu.com') !== -1 ||
                    value.indexOf('zz.bdstatic.com') !== -1 ||
                    value.indexOf('push.zhanzhang.baidu.com') !== -1
                  )) {
                    return; // Block
                  }
                  element.setAttribute('src', value);
                },
                get: function() {
                  return element.getAttribute('src') || '';
                },
                configurable: true
              });
            }
            return element;
          };
          
          // Block fetch/XHR requests to Baidu
          if (window.fetch) {
            var originalFetch = window.fetch;
            window.fetch = function() {
              var url = arguments[0];
              if (typeof url === 'string' && (
                url.indexOf('xiongzhang.baidu.com') !== -1 ||
                url.indexOf('hm.baidu.com') !== -1 ||
                url.indexOf('zz.bdstatic.com') !== -1 ||
                url.indexOf('push.zhanzhang.baidu.com') !== -1
              )) {
                return Promise.reject(new Error('Blocked'));
              }
              return originalFetch.apply(this, arguments);
            };
          }
          
          // Remove Baidu scripts aggressively
          var removeBaiduScripts = function() {
            var scripts = document.querySelectorAll('script');
            for (var i = 0; i < scripts.length; i++) {
              var script = scripts[i];
              var src = script.getAttribute('src') || script.src || '';
              if (src && (
                src.indexOf('xiongzhang.baidu.com') !== -1 ||
                src.indexOf('hm.baidu.com') !== -1 ||
                src.indexOf('zz.bdstatic.com') !== -1 ||
                src.indexOf('push.zhanzhang.baidu.com') !== -1
              )) {
                script.remove();
              }
            }
          };
          
          // Use MutationObserver to catch dynamically added scripts
          if (window.MutationObserver) {
            var observer = new MutationObserver(function() {
              removeBaiduScripts();
            });
            // Start observing immediately
            if (document.head) {
              observer.observe(document.head, { childList: true, subtree: true });
            }
            if (document.body) {
              observer.observe(document.body, { childList: true, subtree: true });
            }
            // Also observe document.documentElement for scripts added to html
            if (document.documentElement) {
              observer.observe(document.documentElement, { childList: true, subtree: true });
            }
          }
          
          // Remove scripts immediately and repeatedly
          removeBaiduScripts();
          
          // Remove scripts when DOM is ready
          if (document.readyState === 'loading') {
            document.addEventListener('DOMContentLoaded', removeBaiduScripts, true);
          } else {
            removeBaiduScripts();
          }
          
          // Also remove on load (use capture phase)
          window.addEventListener('load', removeBaiduScripts, true);
          
          // Remove scripts very frequently to catch any that slip through
          setInterval(removeBaiduScripts, 100);
        }
      })();
    </script>
    <!-- Conditionally load Baidu Xiongzhang SDK only on non-admin pages -->
    <script type="text/javascript">
      (function() {
        var path = window.location.pathname;
        var isAdminPage = path.includes('/news_admin/') || 
                          path.includes('/blog_admin/') || 
                          path.includes('/user_admin/') || 
                          path.includes('/image_admin/') || 
                          path.includes('/visitor_analytics/') || 
                          path.includes('/blocked-ips/') || 
                          path.includes('/redirection/') || 
                          path.includes('/QIL-admin/') || 
                          path.includes('/database_admin/') || 
                          path.includes('/site_config/') || 
                          path.includes('/admin/');
        
        if (!isAdminPage) {
          var script = document.createElement('script');
          script.defer = true;
          script.src = 'https://xiongzhang.baidu.com/sdk/c.js?appid=1589347821523834';
          document.head.appendChild(script);
        }
      })();
    </script>
    <script type="text/javascript">
      // Only attach listeners if functions exist (they won't on admin pages)
      if (typeof theDomHasLoaded === 'function') {
        document.addEventListener("DOMContentLoaded", theDomHasLoaded, false);
      }
      if (typeof pageFullyLoaded === 'function') {
        window.addEventListener("load", pageFullyLoaded, false);
      }
      
      function theDomHasLoaded(e) {
          // do something
      }
      
      function pageFullyLoaded(e) {
        // Only execute if not blocked (functions will be no-ops on admin pages)
        if (typeof pageFullyLoaded === 'function' && pageFullyLoaded.toString().indexOf('function() {}') === -1) {
          (function(){
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            
            if (curProtocol === 'https') {
                bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
            }
            else {
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            
            var s = document.getElementsByTagName("script")[0];
            if (s && s.parentNode) {
              s.parentNode.insertBefore(bp, s);
            }
        })();
        }
      } 
  
    </script>
    <script type="text/javascript">
      var a = document.querySelector('a[href="https://solverwp.com/"]');
      if (a) {
        a.setAttribute('href', 'https://multiable.com.cn/')
      }
        </script>
    <script type="text/javascript">
      // Only create Baidu analytics if not on admin page
      (function() {
        var path = window.location.pathname;
        var isAdminPage = path.includes('/news_admin/') || 
                          path.includes('/blog_admin/') || 
                          path.includes('/user_admin/') || 
                          path.includes('/image_admin/') || 
                          path.includes('/visitor_analytics/') || 
                          path.includes('/blocked-ips/') || 
                          path.includes('/redirection/') || 
                          path.includes('/QIL-admin/') || 
                          path.includes('/database_admin/') || 
                          path.includes('/site_config/') || 
                          path.includes('/admin/');
        
        if (!isAdminPage) {
          var _hmt = _hmt || [];
          (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?298dd4d51d16df51d0d890376bef618f";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
          })();
        }
      })();
    </script>
    <link
      rel="shortcut icon"
      href="https://www.multiable.com/images/favicon.png"
      type="image/png"
    />
    <title>Multiable - Enterprise Software Solutions</title>
    <script type="module" crossorigin src="/assets/index-DcYT9sa3.js"></script>
    <link rel="stylesheet" crossorigin href="/assets/index-zcEZ0ioo.css">
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>
