309
المشتركون
+124 ساعات
-77 أيام
-2530 أيام
أرشيف المشاركات
window.confirmResult = (id, isWin) => {
const entry = historyData.find(h => h.id === id);
if(entry) {
entry.status = isWin ? 'WIN' : 'LOSE';
if (!isWin) {
systemBias += (entry.duDoan === 'TÀI') ? -1.2 : 1.2;
} else {
systemBias += (entry.duDoan === 'TÀI') ? 0.2 : -0.2;
}
systemBias = Math.max(-5, Math.min(5, systemBias));
}
renderUI();
summaryLine.textContent = isWin ? "THUẬT TOÁN CHUẨN XÁC" : "AI ĐANG HỌC LẠI & CHỈNH SÓNG...";
summaryLine.style.color = isWin ? "var(--accent-green)" : "var(--accent-red)";
setTimeout(() => {
summaryLine.textContent = "HỆ THỐNG SẴN SÀNG";
summaryLine.style.color = "var(--accent-gold)";
}, 2500);
};
function renderUI() {
renderMainHistory();
renderFullHistory();
updateStats();
}
function renderMainHistory() {
const top3 = historyData.slice(0, 3);
histContent.innerHTML = top3.map(h => generateHistoryHTML(h)).join('');
}
function renderFullHistory() {
fullHistContent.innerHTML = historyData.map(h => generateHistoryHTML(h)).join('');
}
function generateHistoryHTML(h) {
const colorPredict = (h.duDoan === 'TÀI') ? 'var(--accent-cyan)' : 'var(--accent-red)';
const colorStatus = h.status === 'WIN' ? 'var(--accent-green)' : 'var(--accent-red)';
return
<div class="hist-item" style="padding: 12px 0;">
<div class="hist-top" style="font-size: 13px;">
<span>Phiên <span style="color:#fff">#${h.phien}</span> - Lệnh: <b style="color:${colorPredict}; text-shadow: 0 0 8px ${colorPredict}40">${h.duDoan}</b></span>
${h.status !== 'pending' ? <b style="color:${colorStatus}; text-shadow: 0 0 8px ${colorStatus}40">${h.status}</b> : ''}
</div>
${h.status === 'pending' ?
<div class="hist-actions" style="margin-top: 10px;">
<button class="btn-check win" style="padding:8px" onclick="confirmResult('${h.id}', true)">✓ CHUẨN (THẮNG)</button>
<button class="btn-check lose" style="padding:8px" onclick="confirmResult('${h.id}', false)">✕ SAI (THUA)</button>
</div>
: ''}
</div>
;
}
function updateStats() {
const wins = historyData.filter(h => h.status === 'WIN').length;
const loses = historyData.filter(h => h.status === 'LOSE').length;
document.getElementById('stTotal').textContent = historyData.length;
document.getElementById('stWin').textContent = wins;
document.getElementById('stLose').textContent = loses;
}
let dragging = false, startX, startY, startL, startT;
botPanel.addEventListener('pointerdown', (e) => {
if(['INPUT', 'BUTTON'].includes(e.target.tagName)) return;
dragging = true; startX = e.clientX; startY = e.clientY;
startL = botWrap.offsetLeft; startT = botWrap.offsetTop;
botPanel.setPointerCapture(e.pointerId);
});
window.addEventListener('pointermove', (e) => {
if(!dragging) return;
botWrap.style.left = (startL + (e.clientX - startX)) + 'px';
botWrap.style.top = (startT + (e.clientY - startY)) + 'px';
});
window.addEventListener('pointerup', (e) => {
if(!dragging) return; dragging = false; botPanel.releasePointerCapture(e.pointerId);
});
})();Thuật toán dự đoán của file:
(() => {
const botWrap = document.getElementById('botWrap');
const botPanel = document.getElementById('botPanel');
const duDoanEl = document.getElementById('duDoan');
const tyLeEl = document.getElementById('tyLe');
const phienEl = document.getElementById('phienHienTai');
const histContent = document.getElementById('histContent');
const fullHistContent = document.getElementById('fullHistContent');
const summaryLine = document.getElementById('summaryLine');
const sizeSlider = document.getElementById('sizeSlider');
const badgeEl = document.querySelector('.badge');
const modal = document.getElementById('historyModal');
let rotation = 0;
let historyData = [];
let systemBias = 0;
window.toggleTool = () => botWrap.classList.toggle('hidden-tool');
window.toggleModal = () => modal.classList.toggle('show');
function advancedAlgorithm(phien) {
let seed = 0;
const strPhien = String(phien);
for (let i = 0; i < strPhien.length; i++) {
seed = ((seed << 5) - seed) + strPhien.charCodeAt(i);
seed |= 0;
}
let localBias = 0;
if (historyData.length > 0) {
const lastData = historyData[0];
if (lastData.status === 'WIN') localBias = (lastData.duDoan === 'TÀI') ? 1 : -1;
else if (lastData.status === 'LOSE') localBias = (lastData.duDoan === 'TÀI') ? -3 : 3;
}
const combinedBias = localBias + systemBias;
const rawValue = Math.abs(Math.sin(seed + combinedBias) * 10000);
let tyLe = Math.floor(81 + (rawValue % 18));
if (Math.abs(systemBias) > 1.0) {
tyLe = Math.min(99, tyLe + 3);
}
return {
ketQua: rawValue % 100 >= 50 ? "TÀI" : "XỈU",
tyLe: tyLe
};
}
setInterval(() => {
if(badgeEl) badgeEl.textContent = "SERVER VIP AI - PING: " + (Math.floor(Math.random() * 33) + 12) + "ms";
}, 4000);
window.rotateTool = () => {
rotation += 90;
botWrap.style.setProperty('--bot-rotation', (rotation % 360) + 'deg');
};
sizeSlider.addEventListener('input', () => {
botWrap.style.setProperty('--bot-scale', sizeSlider.value);
});
window.nextSession = function() {
const inputEl = document.getElementById('sessionInput');
let currentVal = parseInt(inputEl.value);
if (isNaN(currentVal)) {
let lastPhien = parseInt(phienEl.textContent);
if (!isNaN(lastPhien) && lastPhien > 0) {
currentVal = lastPhien;
} else {
alert("Vui lòng nhập mã phiên đầu tiên để hệ thống khởi động!");
inputEl.focus();
return;
}
}
inputEl.value = currentVal + 1;
processAI();
};
window.processAI = function() {
const phien = document.getElementById('sessionInput').value;
if(!phien) return;
summaryLine.textContent = "AI ĐANG TÍNH TOÁN...";
summaryLine.style.color = "var(--accent-gold)";
duDoanEl.textContent = "Đang quét...";
duDoanEl.style.color = "#94a3b8";
tyLeEl.textContent = "--%";
setTimeout(() => {
const phanTich = advancedAlgorithm(phien);
duDoanEl.textContent = phanTich.ketQua;
duDoanEl.style.color = (phanTich.ketQua === "TÀI") ? "var(--accent-cyan)" : "var(--accent-red)";
duDoanEl.style.textShadow =
0 0 15px ${duDoanEl.style.color};
tyLeEl.textContent = phanTich.tyLe + "%";
phienEl.textContent = phien;
summaryLine.textContent = "GIẢI MÃ HOÀN TẤT";
summaryLine.style.color = "var(--accent-cyan)";
const uniqueId = Date.now().toString() + Math.floor(Math.random()*1000);
addHistory({ id: uniqueId, phien, duDoan: phanTich.ketQua, status: 'pending' });
document.getElementById('sessionInput').value = "";
}, 1000);
};
function addHistory(item) {
historyData.unshift(item);
if(historyData.length > 100) historyData.pop();
renderUI();
}Thanh niên tool lỏ, soure ăn cắp của bạn vi long, không biết đổi ttoan chx, hno lộ ảnh 44g24
متاح الآن! بحث تيليغرام 2025 — أهم رؤى العام 
