var x = [
990, 2969, 256, 2848, 736, 386, 2571, 712, 2775, 2387, 1487, 804, 655, 2301, 1203, 2725, 1947, 2347, 1931, 1095, 1210, 2392, 1543, 2313, 2549, 274, 2805, 2741, 2864, 1175, 2547, 865, 1470, 1375, 1769, 1757, 2106, 2034, 2583, 1950, 1252, 1012, 2195, 2363, 529, 2453, 2430, 678, 2511, 1630, 2751, 205, 918, 2265, 1999, 2322, 474, 792, 2863, 1063, 73, 2377, 919, 262, 2224, 1297, 961, 496, 3, 2982, 2518, 1180, 2564, 9, 2359, 1738, 1100, 2404, 1134, 353, 1152, 1800, 765, 542, 525, 267, 991, 734, 2487, 1800, 1518, 2957, 2343, 1534, 861, 352, 1771, 134, 1591, 2904, 2866, 639, 1040, 672, 1624, 2764, 715, 1681, 679, 177, 2899, 1724, 135, 1954, 1341, 656, 2407, 229, 1446, 2724, 2164, 64, 265, 1967, 537, 1478, 1372, 558, 2656, 1678, 1404, 2943, 1240, 2260, 1645, 1131, 2904, 588, 2214, 1992, 450, 645, 141, 2736, 2748, 1347, 831, 1916, 2347, 1527, 1891, 134, 336, 1746, 1512, 221, 2928, 815, 515, 2650, 2679, 2953, 1358, 2691, 2844, 1878, 1357, 2837, 595, 2026, 258, 895, 1007, 1918, 2572, 1373,
838, 1235, 1572, 1578, 2002, 1618, 2688, 74, 1628, 1165, 1419, 1967, 2660, 2467, 724, 1522, 430, 1608, 2630, 580, 2575, 835, 872, 1502, 985, 1477, 2998, 2430, 2348, 2958, 2808, 50, 2509, 962, 810, 1786, 2667, 2500, 2796, 1161, 2687, 642, 2826, 1340, 588, 1433, 726, 879, 1528, 754, 844, 2932, 1897, 1789, 647, 2341, 315, 1341, 1730, 524, 1113, 1037, 1994, 1225, 2355, 2105, 1778, 1268, 1583, 1720, 471, 211, 1650, 352, 2557, 830, 672, 722, 617, 1929, 611, 431, 1073, 650, 753, 2940, 2040, 2075, 1153, 1642, 1807, 2994, 2351, 1202, 2872, 2320, 1294, 2935, 1924, 871, 2093, 1131, 1105, 80, 213, 2935, 652, 2043, 514, 1189, 2557, 1079, 2344, 840, 2371, 1293, 2191, 799, 173, 1160, 1554, 2101, 1419, 2008, 1749, 581, 324, 1264, 1734, 2116, 2145, 100, 718, 903, 154, 1823, 1559, 1727, 831, 2940, 2887, 2466, 1306, 1243, 878, 1876, 1011, 6, 2669, 2422, 68, 556, 135, 1669, 351, 1086, 404, 846, 1220, 2721, 876, 1241, 319, 1275, 2849, 2979, 1370, 769, 2968, 2457, 1031, 368, 1210, 2265, 2456, 2603,
2693, 131, 2946, 2589, 1048, 1177, 47, 2423, 3000, 619, 227, 2636, 2052, 2213, 874, 90, 2943, 1133, 1008, 2372, 1055, 1152, 177, 1750, 1138, 1548, 1706, 2297, 537, 2843, 1431, 544, 759, 1590, 2111, 2426, 1835, 744, 2796, 2961, 2275, 525, 1960, 2417, 1068, 211, 589, 2277, 1648, 472, 2755, 719, 2544, 2756, 991, 1798, 1394, 1120, 1689, 1045, 2332, 1999, 1255, 2954, 834, 2932, 1889, 1020, 172, 348, 1301, 2105, 2651, 1053, 908, 1078, 237, 680, 2572, 920, 2799, 171, 1551, 1995, 2395, 1905, 2900, 1449, 2251, 454, 2565, 53, 1700, 2078, 785, 2993, 702, 533, 2650, 1997, 2379, 525, 2145, 992, 1534, 1563, 1880, 1851, 1750, 2002, 2329, 396, 2387, 1069, 2374, 1769, 633, 23, 1753, 1511, 2314, 1757, 132, 1649, 2385, 270, 939, 788, 2636, 162, 2209, 1635, 2881, 121, 1280, 566, 2661, 645, 1133, 856, 1440, 875, 2963, 2353, 2269, 1398, 1879, 961, 385, 2613, 300, 759, 2146, 933, 2408, 1977, 1074, 1545, 1006, 437, 467, 818, 1830, 2263, 1046, 2994, 186, 203, 2023, 517, 674, 2101, 779, 1074, 178, 639, 484,
1854, 2938, 2147, 724, 1491, 822, 1706, 2401, 2815, 87, 1605, 792, 183, 2571, 74, 1053, 2125, 2992, 1864, 1881, 1383, 1247, 2550, 101, 91, 190, 178, 878, 2616, 974, 1606, 1401, 294, 2407, 1719, 825, 2713, 968, 1136, 2455, 626, 1851, 452, 506, 1238, 2352, 1804, 503, 171, 1161, 544, 1498, 2001, 375, 1993, 934, 973, 2819, 566, 1793, 132, 1255, 2877, 1180, 37, 822, 725, 1809, 952, 216, 33, 2477, 1822, 1595, 1023, 2057, 1384, 2367, 2234, 1955, 2973, 1480, 526, 955, 2942, 850, 2418, 587, 2165, 2448, 2330, 453, 2030, 2917, 45, 700, 2028, 1471, 28, 2132, 1422, 2880, 2421, 659, 2020, 2895, 1478, 460, 2533, 462, 2174, 337, 474, 77, 385, 713, 1777, 2016, 2450, 2379, 2130, 2645, 422, 2890, 262, 2528, 1438, 1633, 442, 2554, 1917, 1961, 1886, 2871, 1755, 1984, 2762, 79, 2329, 2836, 1443, 1623, 2238, 833, 779, 2297, 1050, 1575, 2455, 1817, 1681, 1655, 2261, 1194, 450, 1615, 2629, 1952, 888, 444, 1615, 2023, 2032, 1336, 1645, 2396, 300, 1157, 2755, 155, 208, 17, 2420, 1129, 1475, 418, 2455, 2626,
1873, 2819, 2170, 30, 2742, 551, 877, 1863, 2069, 1477, 938, 1654, 1962, 853, 43, 1510, 1365, 2939, 853, 2033, 1520, 2209, 164, 1347, 2866, 1402, 2543, 2092, 1974, 788, 1462, 377, 2253, 1061, 1961, 797, 699, 2226, 2690, 100, 361, 267, 309, 1392, 2734, 1603, 1687, 2400, 27, 2855, 1901, 957, 383, 1429, 2319, 1863, 2409, 2871, 2509, 224, 788, 504, 2224, 2470, 16, 1094, 1412, 2023, 2654, 2328, 2644, 337, 1988, 2114, 479, 2064, 2242, 2231, 666, 1219, 20, 2815, 2030, 408, 1593, 2361, 1475, 359, 2059, 410, 2253, 1837, 1712, 78, 558, 346, 1568, 1118, 1884, 2517, 1680, 67, 2076, 1686, 967, 626, 887, 396, 2799, 529, 28, 16, 158, 720, 2791, 690, 1357, 108, 1353, 2171, 697, 1640, 2791, 539, 2808, 1045, 511, 891, 206, 2436, 2352, 149, 121, 1673, 1785, 243, 1506, 1746, 1357, 1414, 1685, 1543, 2750, 1288, 450, 581, 1280, 243, 2621, 262, 527, 387, 18, 1364, 219, 306, 574, 2270, 755, 2211, 810, 2529, 1264, 393, 1521, 98, 2964, 1088, 2092, 1827, 722, 2276, 2684, 1884, 2503, 2209, 952, 2348, 2369,
2803, 63, 440, 2343, 544, 608, 20, 1410, 946, 80, 1336, 2427, 320, 916, 1052, 221, 2248, 695, 159, 35, 1214, 2871, 2396, 1661, 2440, 1083, 2414, 2119, 2477, 143, 2846, 11, 1475, 636, 1818, 2001, 2392, 2169, 920, 2779, 1099, 1831, 2620, 590, 2524, 643, 766, 526, 2385, 2197, 2855, 280, 595, 105, 1853, 2862, 2961, 2371, 2022, 895, 2699, 2321, 1538, 1469, 889, 724, 1059, 163, 132, 758, 89, 1823, 1469, 1066, 2289, 2236, 1806, 1769, 606, 867, 6, 2313, 515, 979, 2425, 947, 1008, 1094, 726, 2844, 851, 1518, 698, 1436, 64, 320, 350, 2518, 1852, 191, 413, 87, 119, 348, 897, 2067, 1000, 2750, 1062, 2652, 2149, 1940, 1910, 836,
];
var text = document.getElementsByClassName("percent-txt");
var barr = document.getElementsByClassName("percent-bar");
var jam = document.getElementsByClassName("jamgacorRange");
var pola1 = [document.getElementsByClassName("pola1"), document.getElementsByClassName("pola2"), document.getElementsByClassName("pola3")];
// var pola2 = document.getElementsByClassName("pola2");
// var pola3 = document.getElementsByClassName("pola3");
var pola = document.getElementsByClassName("pola");
var jambg = document.getElementsByClassName("jamgacor");
var random = ["✔️✖️✖️", "✖️✔️✖️", "✖️✖️✔️", "✔️✖️✔️", "✖️✔️✔️", "✖️✖️✖️"];
var random2 = [10, 20, 50, 70, 100];
var random3 = ["Auto", "Auto", "Manual 3", "Manual 5", "Manual 7", "Manual 9", "Auto", "Auto", "Auto", "Auto", "Auto", "Auto"];
var game = window.location.pathname;
if (game == "/pragmatic" || game == "/pragmatic.html") {
game = "";
}
var xxx = 0;
for (let i = 0; i < game.length; i++) {
xxx += game.charCodeAt(i);
}
for (let i = 0; i <= text.length; i++) {
const d = new Date();
var date = d.getUTCDate();
var day = d.getUTCDay() + 1;
var year = d.getUTCFullYear();
var month = d.getUTCMonth() + 1;
var hour = d.getUTCHours();
var min = d.getMinutes();
if (min < 30) {
min = 1;
} else {
min = 2;
}
var xx = day + year * month * date;
xx = Math.pow(xx, hour * min);
x[i] += xxx;
xx = xx * x[i];
// xx = xx * 2 - 1;
// xx = xx/2;
if (i >= 0 && i <= 15) {
xx = xx % 27;
xx += 65;
} else {
xx = xx % 83;
xx += 8;
}
var percentTxt = text[i];
var bar = barr[i];
percentTxt.innerHTML = xx + "%";
$(barr[i])
.attr("aria-valuenow", xx)
.css("width", xx + "%");
if (xx < 30) {
bar.classList.add("red");
} else if (xx > 70) {
bar.classList.add("green");
} else {
bar.classList.add("yellow");
}
if (xx >= 30) {
var hour2 = (hour + 7) % 24;
var target = (xx % 3) + 1;
var randomTarget = (hour2 + target) % 24;
if (randomTarget < 10) {
randomTarget = "0" + randomTarget;
}
var min1 = xx % 60;
var min2 = (xx * date) % 60;
if (min1 < 10) {
min1 = "0" + min1;
}
if (min2 < 10) {
min2 = "0" + min2;
}
if (hour2 < 10) {
hour2 = "0" + hour2;
}
jam[i].innerText = hour2 + ":" + min1 + " - " + randomTarget + ":" + min2;
var n = i % 6;
var p = [(x[n] + xx) % 6, (x[2 * n] + xx) % 6, (x[3 * n] + xx) % 6];
var n2 = i % 5;
var p2 = [(x[4 * n2] + xx) % 4, (x[5 * n2] + xx) % 5, (x[6 * n2] + xx) % 5];
for (let j = 0; j < 3; j++) {
for (let k = 0; k < 3; k++) {
if (p[j] == p[k] && j != k) {
p[k] = (p[k] + 1) % 6;
}
}
}
// console.log(pola1[i][j]);
var p3 = [Math.pow(p[0], p2[0]) % 12, Math.pow(p[1], p2[1]) % 12, Math.pow(p[2], p2[2]) % 12];
for (let j = 0; j < 3; j++) {
if (random3[p3[j]] == "Auto") {
pola1[j][i].innerText = random2[p2[j]] + " " + random[p2[j]] + " " + random3[p3[j]];
} else {
// console.log(pola1[j][i]);
pola1[j][i].innerText = random3[p3[j]] + " " + random[p[j]];
}
}
// pola2[i].innerText = random2[p2[1]] + " " + random[p[1]] + " " + random3[p3[1]];
// pola3[i].innerText = random2[p2[2]] + " " + random[p[2]] + " " + random3[p3[2]];
if (xx > 70) {
pola[i].style.backgroundColor = "#28a745";
jambg[i].style.backgroundColor = "#28a745";
} else {
pola[i].style.backgroundColor = "#ffc107";
jambg[i].style.backgroundColor = "#ffc107";
}
} else {
jam[i].innerText = "-";
pola[i].style.backgroundColor = "#dc3545";
jambg[i].style.backgroundColor = "#dc3545";
pola1[0][i].innerHTML = "
";
pola1[1][i].innerHTML = "JANGAN MAIN!!!";
pola1[2][i].innerHTML = "
";
}
}