<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
    &lt;title&gt;äººæœºéªŒè¯&lt;/title&gt;
    &lt;style&gt;
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            color: #666;
        }

        #app {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            width: 320px;
        }

        #captchaContent {
            padding: 20px;
            text-align: center;
            color: #666;
        }

        #captchaContent h3 {
            margin-top: 0;
            color: #666;
        }

        #captchaContent p {
            margin: 20px 0;
            color: #666;
        }

        #captchaContent form {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #666;
        }

        #options {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            width: 100%;
            color: #666;
        }

        #captchaContent label {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            width: 45%;
            font-size: 1em; /* Smaller font size */
            color: #666;
        }

        #captchaContent label input {
            margin-right: 10px;
            transform: scale(1.5);
        }

        #captchaContent button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin-top: 20px;
            position: relative;
        }

        #captchaContent button:hover {
            background-color: #0056b3;
        }

        .loader {
            border: 4px solid #f3f3f3; /* Light grey */
            border-top: 4px solid #3498db; /* Blue */
            border-radius: 50%;
            width: 35px;
            height: 35px;
            animation: spin 2s linear infinite;
            position: absolute;
            left: -70px; /* 20px margin + 20px width of loader */
            bottom: 1%;
            transform: translateY(70%); /* ç§»åŠ¨åˆ°æŒ‰é’®çš„ä¸‹è¾¹ç¼˜å¹³è¡Œï¼Œå†ä¸‹ç§»20åƒç´&nbsp; */
        }

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

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.4);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 300px;
            border-radius: 8px;
            text-align: center;
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

        .modal button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            margin-top: 20px;
        }

        .modal button:hover {
            background-color: #0056b3;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id="app"&gt;
        &lt;div id="captchaContent"&gt;
            &lt;h3&gt;ç¡®è®¤æ‚¨æ˜¯çœŸäºº&lt;/h3&gt;
            &lt;div id="captchaForm"&gt;
                &lt;p id="question"&gt;&lt;/p&gt;
                &lt;form id="verificationForm"&gt;
                    &lt;input type="hidden" id="qidInput" name="qid" value=""/&gt;
                    &lt;div id="options"&gt;&lt;/div&gt;
                    &lt;button type="submit"&gt;
                        éªŒè¯
                        &lt;div id="loadingSpinner" class="loader" style="display: none;"&gt;&lt;/div&gt;
                    &lt;/button&gt;
                &lt;/form&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- The Modal --&gt;
    &lt;div id="myModal" class="modal"&gt;
        &lt;div class="modal-content"&gt;
            &lt;span class="close"&gt;&amp;times;&lt;/span&gt;
            &lt;p id="modalMessage"&gt;&lt;/p&gt;
            &lt;button id="modalButton"&gt;ç¡®å®š&lt;/button&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        document.addEventListener('DOMContentLoaded', function() {
            var captchaContent = document.getElementById('captchaContent');
            var question = document.getElementById('question');
            var qidElement = document.getElementById('qidInput');
            var options = document.getElementById('options');
            var verificationForm = document.getElementById('verificationForm');
            var loadingSpinner = document.getElementById('loadingSpinner');

            var modal = document.getElementById("myModal");
            var modalMessage = document.getElementById("modalMessage");
            var modalButton = document.getElementById("modalButton");
            var closeSpan = document.getElementsByClassName("close")[0];

            generateQuestion();

            verificationForm.addEventListener('submit', function(event) {
                event.preventDefault();

                var formData = new FormData(verificationForm);
                var params = new URLSearchParams();
                for (var pair of formData.entries()) {
                    params.append(pair[0], pair[1]);
                }

                var selectedOptionId = verificationForm.querySelector('input[name="option"]:checked');
                if (selectedOptionId) {
                    params.append('sn', selectedOptionId.getAttribute('data-sn'));
                }

                var urlParamObj = getSearch();
                params.append("token", urlParamObj.token);
                params.append("mmtype", urlParamObj.mmtype);

                var xhr = new XMLHttpRequest();
                xhr.open('GET', '/manmachine/verifyremote430question?' + params.toString(), true);
                xhr.onreadystatechange = function() {
                    if (xhr.readyState === 4) {
                        if (xhr.status === 200) {
                            var response = JSON.parse(xhr.responseText);
                            if (response.code == 0) {
                                if(response.data == "true"){
                                    loadingSpinner.style.display = 'block'; // æ˜¾ç¤ºåŠ&nbsp;è½½åŠ¨ç”»
                                    setTimeout(function() {
                                        loadingSpinner.style.display = 'none'; // éšè—åŠ&nbsp;è½½åŠ¨ç”»
                                        if(urlParamObj.backurl){
                                            location.href = urlParamObj.backurl;
                                        }
                                    }, 3000);
                                }else{
                                    showModal('ä½&nbsp;ä¸æ˜¯äººç±»');
                                }
                            } else {
                                showModal('éªŒè¯å¤±è´¥: ' + response.msg);
                                generateQuestion();
                            }
                        } else {
                            showModal('ç½‘ç»œé”™è¯¯ï¼Œè¯·é‡è¯•');
                        }
                    }
                };
                xhr.send();
            });

            function generateQuestion() {
                var params = new URLSearchParams();
                var urlParamObj = getSearch();
                params.append("token", urlParamObj.token);

                let xhr = new XMLHttpRequest();
                xhr.open('GET', '/manmachine/getremote430question?' + params.toString(), true)
                xhr.onreadystatechange = function() {
                    if (xhr.readyState === 4 &amp;&amp; xhr.status === 200) {
                        let result = JSON.parse(xhr.responseText)
                        
                        if(result.code != 0){
                            showModal(result.msg);
                            return;
                        }
                        let questionData = result.data;

                        question.textContent = questionData.question;
                        qidElement.value = questionData.qid;
                        options.innerHTML = '';
                        questionData.options.forEach(function(option) {
                            var label = document.createElement('label');
                            label.setAttribute('for', 'option' + option.id);
                            label.textContent = option.text;
                            var radio = document.createElement('input');
                            radio.setAttribute('type', 'radio');
                            radio.setAttribute('id', 'option' + option.id);
                            radio.setAttribute('name', 'option');
                            radio.setAttribute('value', option.id);
                            radio.setAttribute('data-sn', option.sn);

                            label.prepend(radio);
                            options.appendChild(label);
                        });
                    }
                };
                xhr.send();
            }

            function getSearch() {
                let theRequest = new Object();
                let wholeUrl = decodeURIComponent(location.href)
                let cArr = wholeUrl.match(/c-.*?\.html/)
                if (cArr) {
                    let cc = cArr[0].substr(2)
                    cc = cc.substring(0, cc.length - 5)
                    let ccs = cc.split("&amp;")
                    for (let i = 0; i &lt; ccs.length; i++) {
                        theRequest[ccs[i].split("=")[0]] = unescape(ccs[i].split("=")[1]);
                    }
                }
                let url = decodeURI(location.search);
                if (url.indexOf("?") != -1) {
                    let str = url.substr(1);
                    let strs = str.split("&amp;");
                    for (let i = 0; i &lt; strs.length; i++) {
                        theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
                    }
                }
                return theRequest
            }

            function showModal(message) {
                modal.style.display = "block";
                modalMessage.textContent = message;

                // å½“ç”¨æˆ·ç‚¹å‡»æ¨¡æ€æ¡†ä¸Šçš„ x æŒ‰é’®æ—¶ï¼Œå…³é—­æ¨¡æ€æ¡†
                closeSpan.onclick = function() {
                    modal.style.display = "none";
                }

                // å½“ç”¨æˆ·ç‚¹å‡»æ¨¡æ€æ¡†å¤–éƒ¨åŒºåŸŸæ—¶ï¼Œå…³é—­æ¨¡æ€æ¡†
                window.onclick = function(event) {
                    if (event.target == modal) {
                        modal.style.display = "none";
                    }
                }

                // å½“ç”¨æˆ·ç‚¹å‡»ç¡®å®šæŒ‰é’®æ—¶ï¼Œå…³é—­æ¨¡æ€æ¡†
                modalButton.onclick = function() {
                    modal.style.display = "none";
                }
            }

        });
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></body></html>