<!DOCTYPE html>
<html>
<header>
    <title>Menu FF</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <link rel="stylesheet" href="https://unpkg.com/element-ui@2.15.7/lib/theme-chalk/index.css">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6/dist/vue.min.js"></script>
    <script src="https://unpkg.com/element-ui@2.15.7/lib/index.js"></script>
    
    <style>
        * {
            padding: 0;
            margin: 0;
            font: bold 1em/1.5em Verdana, Geneva, sans-serif;
            -webkit-tap-highlight-color: transparent;
        }
        
        .ayimgui {
            position: fixed;
            width: 360px;
            height: 320px;
            border: 5px;
            top: calc(50% - 180px);
            left: calc(50% - 180px);
            z-index: 999;
            background-color: rgba(0, 0, 0, 0.8);
            border-radius: 28px;
            border: 1px solid #555;
            overflow: hidden;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            zoom: 1.1;
            background-size:155%;
            background-color:#000;
            background-image:url("https://files.catbox.moe/kxcckp.jpg");
            border: 1px solid rgba(124,252,0);
        }

        .m1txt {
            color: #f0f0f0;
            margin-bottom: 15px;
        }

        .m1txt::before {
            content: "•";
            margin-right: 5px;
        }

        .onlyTitle {
            height: 21px !important;
        }

        .ayimgui .aytitle {
            padding: 0px;
            font-size: 20px;
            background-size:154%;
            background-image:url("https://files.catbox.moe/kxcckp.jpg");
            border: 1px solid rgba(124,252,0);
        }

        .ayimgui .aytitle i {
            font-size: 20px; 
            color: #f0f0f0;
        }

        input[type=radio] {
            width:20px;
            height:20px;
            margin-right:1px;
            border:none;
            outline-style:none;
            -webkit-appearance:none;
            vertical-align:middle;
            border:10px solid #25456D;
            border-radius:100%;
        }

        input[type=radio]:checked {
            border:13px solid #409EFF;
            background:#409EFF;
        }

        .ayimgui .aytitle .titleClose {
            position: absolute;
            top: 5px;
            right: 5px;
            color: #F0F0F0;
        }

        .ayimgui .aytitle .titleClose:hover {
            color: #409EFF;
        }

        .ayimgui .aybody {
            padding: 15px;
            height: calc(100% - 21px - 15px - 15px);
            overflow: auto;
            font-size: 15px;
        }

        .aytext {
            width: 100%;
            padding-top: 0px;
            margin-bottom: 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            color: #7CFC00;
            border: 3px solid rgba(124,252,0);
            border-radius: 8px;
        }

        .color-Time {
            font-size: 13px;
            font-weight: center;
            color: #FFFF00;   
        }

        .color-Texteffect {
            font-size: 15px;
            font-weight: center;
            margin-right: 20px;
            font-weight: Bold;
            user-select: none;
            animation: color-change2 10s infinite;
        }
    
        @keyframes color-change2 {
            0%, 100% {
                color: #FFFFFF;
            }
            50% {
                color: #FFFFFF;
            }
        }

        .custom-switch {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: -5px;
            padding-bottom: 5px;
        }

        .custom-switch .switch-label {
            flex-grow: 1;
            margin-left: 15px;
        }

        .custom-switch input[type="checkbox"] {
            display: none;
        }

        .custom-switch input[type="checkbox"]+label {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 24px;
            border-radius: 12px;
            background-color: #ff0000; 
            cursor: pointer;
        }

        .custom-switch input[type="checkbox"]+label::before,
        .custom-switch input[type="checkbox"]+label::after {
            content: "";
            display: block;
            position: absolute;
            transition: all 0.3s;
        }

        .custom-switch input[type="checkbox"]+label::before {
            top: 3px;
            left: 3px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background-color: #fff; 
        }

        .custom-switch input[type="checkbox"]:checked+label {
            background-color: #33ff00;
        }

        .custom-switch input[type="checkbox"]:checked+label::before {
            left: calc(100% - 3px);
            transform: translateX(-100%);
        }

        .vip {
            background-color: gold; 
            color: black;
            padding: 3px 16px;
            position: absolute;
            bottom: 25px;
            right: 0;
            transform: rotate(-45deg) translate(15px, 15px);
            transform-origin: right bottom;
        }
    </style>
</header>

<body>
    <div id="app">
        <div :class="!ifshow?'onlyTitle ayimgui':'ayimgui'" ref="menuMain">
            <div class="aytitle">
                <span class="title-age" style="margin-left:15px; color:#f0f0f0;">亗 Klausour MOD 亗</span>
                <i class="titleClose el-icon-close" @click="closeimgui"></i>
            </div>

            <div class="aybody">
                <div class="aytab">
                </div>
                
                <div class="color-Time">
                    <center><em>
                        <div class="box">21/6/2024 🕰&nbsp;6:00:00</div>
                    </em></center>
                </div>
                
                <div class="aytext">
                    <center><em>
                        <p>ミ★Youtube:Klausour★彡</p>
                    </em></center>
                </div>

                <div class="checkbox-wrapper-24">
                    <div class="custom-switch">
                        <span class="color-Texteffect">Anntena</span>
                        <input type="checkbox" id="s1" name="s1" onclick="s1(this)">
                        <label for="s1"></label>
                    </div>
                    <div class="custom-switch">
                        <span class="color-Texteffect">Speed Timer</span> 
                        <input type="checkbox" id="s2" name="s2" onclick="s2(this)"> 
                        <label for="s2"></label>
                    </div>
                    <div class="custom-switch">
                        <span class="color-Texteffect">Aim Fov</span>
                        <input type="checkbox" id="s3" name="s3" onclick="s3(this)">
                        <label for="s3"></label>
                    </div>
                                        <div class="custom-switch">
                        <span class="color-Texteffect">Awm Scope</span>
                        <input type="checkbox" id="s4" name="s4" onclick="s4(this)">
                        <label for="s4"></label>
                    </div>
                    </div>
                </div>        
                <div class="vip">VIP</div>
            </div>
        </div>
    </div>

    <script src="https://apps.bdimg.com/libs/jquery/2.1.0/jquery.min.js"></script>
    <link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">

    <script>
        // Función para reproducir sonido
        function playSound(isOn) {
            const soundOn = 'https://files.catbox.moe/d4cxsv.mp3';  // Sonido para activación
            const soundOff = 'https://files.catbox.moe/mgr2ub.mp3'; // Sonido para desactivación
            
            const audio = new Audio(isOn ? soundOn : soundOff);
            audio.play().catch(error => console.log("Error playing sound:", error));
        }

        function s1(button) {
            if (button.classList.contains('on')) {
                button.classList.remove('on');
                button.classList.add('off');
                button.textContent = 'Encender';
                playSound(false);
               
                h5gg.clearResults();
                h5gg.searchNumber('4848124999925814228', 'I64', '0x100000000', '0x160000000');
                h5gg.editAll('4575657222469899220', 'I64');
                h5gg.clearResults();
                h5gg.searchNumber('4848124999925251973', 'I64', '0x100000000', '0x160000000');
                h5gg.editAll('4575657222469336965', 'I64');
            } else {
                button.classList.remove('off');
                button.classList.add('on');
                button.textContent = 'Apagar';
                playSound(true);
                
                h5gg.clearResults();
                h5gg.searchNumber('4575657222469899220', 'I64', '0x100000000', '0x160000000');
                h5gg.editAll('4848124999925814228', 'I64');
                h5gg.clearResults();
                h5gg.searchNumber('4575657222469336965', 'I64', '0x100000000', '0x160000000');
                h5gg.editAll('4848124999925251973', 'I64');
            }
        }

        function s2(button) {
            if (button.classList.contains('on')) {
                button.classList.remove('on');
                button.classList.add('off');
                button.textContent = 'Encender';
                playSound(false);
                
                h5gg.clearResults();
                h5gg.searchNumber('4366458311853786803', 'I64', '0x100000000', '0x200000000');
                ('OFF Speed_(' + h5gg.getResultsCount() + '/1)');
                h5gg.editAll('4397530849764387586', 'I64');
                h5gg.clearResults();
            } else {
                button.classList.remove('off');
                button.classList.add('on');
                button.textContent = 'Apagar';
                playSound(true);
                
                h5gg.clearResults();
                h5gg.searchNumber('4397530849764387586', 'I64', '0x100000000', '0x200000000');
                ('ON Speed_(' + h5gg.getResultsCount() + '/1)');
                h5gg.editAll('4366458311853786803', 'I64');
                h5gg.clearResults();
            }
        }

        function s3(button) {
            if (button.classList.contains('on')) {
                button.classList.remove('on');
                button.classList.add('off');
                button.textContent = 'Encender';
                playSound(false);
               
				h5gg.clearResults();
                h5gg.searchNumber('1057048494','I32','0x100000000', '0x160000000');
                h5gg.editAll('-2000', 'I32'); 
                h5gg.clearResults();
                h5gg.searchNumber('1054951342','I32','0x100000000', '0x160000000');
                h5gg.editAll('-2000', 'I32'); 
                h5gg.clearResults();
                h5gg.searchNumber('1053273620','I32','0x100000000', '0x160000000');
                h5gg.editAll('-2000', 'I32'); 
                h5gg.clearResults();
            } else {
                button.classList.remove('off');
                button.classList.add('on');
                button.textContent = 'Apagar';
                playSound(true);
                
				h5gg.clearResults();
                h5gg.searchNumber('1057048494','I32','0x100000000', '0x160000000');
                h5gg.editAll('-2000', 'I32'); 
                h5gg.clearResults();
                h5gg.searchNumber('1054951342','I32','0x100000000', '0x160000000');
                h5gg.editAll('-2000', 'I32'); 
                h5gg.clearResults();
                h5gg.searchNumber('1053273620','I32','0x100000000', '0x160000000');
                h5gg.editAll('-2000', 'I32'); 
                h5gg.clearResults();
                
    }              
}
function s4(button) {
    if (button.classList.contains('on')) {
                button.classList.remove('on');
                button.classList.add('off');
                button.textContent = 'Encender';
                playSound(false);
                
                h5gg.clearResults();
                h5gg.searchNumber('4603687625386098688', 'I64', '0x100000000', '0x160000000');
                var count = h5gg.getResultsCount();
                var r = h5gg.getResults(count);
                var cnt = 0;
                for (var i = 0; i < count; i++) {
                var addr1 = r[i].address;

                var dizhi0 = (Number(addr1) + 36);
                var dizhi1 = (Number(addr1) + 40);
                var dizhi2 = (Number(addr1) + -308);



        {
            h5gg.setValue(dizhi0, 0.01, "F32");
            h5gg.setValue(dizhi1, 0.01, "F32");
            h5gg.setValue(dizhi2, 0, "I32");

        }
    }

            } else {
                button.classList.remove('off');
                button.classList.add('on');
                button.textContent = 'Apagar';
                playSound(true);
               
                h5gg.clearResults();
                h5gg.searchNumber('4603687625386098688', 'I64', '0x100000000', '0x160000000');
                var count = h5gg.getResultsCount();
                var r = h5gg.getResults(count);
                var cnt = 0;
                for (var i = 0; i < count; i++) {
                var addr1 = r[i].address;

                var dizhi0 = (Number(addr1) + 36);
                var dizhi1 = (Number(addr1) + 40);
                var dizhi2 = (Number(addr1) + -308);



        {
            h5gg.setValue(dizhi0, 0.01, "F32");
            h5gg.setValue(dizhi1, 0.01, "F32");
            h5gg.setValue(dizhi2, 0, "I32");

        }
    }
                
    }              
}


        // Actualización del reloj
        function getTime() {
            var date = new Date();
            var year = date.getFullYear();
            var month = date.getMonth() + 1;
            var day = date.getDate();
            var hour = date.getHours();
            hour = hour < 10 ? '0' + hour : hour;
            var minute = date.getMinutes();
            minute = minute < 10 ? '0' + minute : minute;
            var seconds = date.getSeconds();
            seconds = seconds < 10 ? '0' + seconds : seconds;
            return day + '/' + month + '/' + year + ' 🕰&nbsp;' + hour + ':' + minute + ':' + seconds;
        }
 
        setInterval(function() {
            document.querySelector('.box').innerHTML = getTime();
        }, 1000);

        // Configuración de Vue
        var app = new Vue({
            el: "#app",
            data() {
                return {
                    ifshow: true,
                    checked: false,
                    radio: '1',
                    activeSelect: '',
                    selectOption: [{
                        value: 'Option1',
                        label: 'golden'
                    }, {
                        value: 'Option2',
                        label: 'eggs'
                    }],
                    input: "",
                    showOption: false,
                    tabValue: "one",
                }
            },
            mounted() {
                this.setRect(300, 230);

                setWindowRect("calc(50% - 180px)", "calc(50% - 160px)", 360, 320);
    
                var layout = function() {
                    if(window.lastorientation==window.orientation) return;
                    window.lastorientation=window.orientation;
                
                    if(Math.abs(window.orientation)==90) {
                        setWindowRect(0,0,window.screen.height,window.screen.width);
                    } else {
                        setWindowRect(0,0,window.screen.width,window.screen.height);
                    }
                }
    
                layout();
                window.addEventListener("orientationchange", layout, false);

                setButtonAction(function () {
                    var menu = document.querySelector("#app");
                    if (menu.style.display == 'none') {
                        menu.style.display = 'block';
                        setWindowTouch(true);
                    } else {
                        menu.style.display = 'none';
                        setWindowTouch(false);
                    }
                });
            },
            methods: {
                setRect(w, h, x = -1, y = -1) {
                    var boxW = w;
                    var boxH = h;

                    var ayMenu = this.$refs.menuMain;
                    ayMenu.style.width = `${boxW}px`;
                    ayMenu.style.height = `${boxH}px`;
                    if (x == -1) ayMenu.style.left = `calc(50% - ${boxW / 2}px)`;
                    if (y == -1) ayMenu.style.top = `calc(50% - ${boxH / 2}px)`;
                },
                changeTab(v) {
                    this.tabValue = v;
                },
                closeimgui() {
                    var menu = document.querySelector("#app");
                    menu.style.display = 'none';
                    setWindowTouch(false);
                }
            }
        });

        // Verificación de contraseña
        loopy();
        function loopy() { 
            var sWord = "poonghax";
            while (sWord != "poonghax") {
                sWord = prompt("Nhập Key");
            }
        }
    </script>
</body>
</html>