Created
March 30, 2020 13:24
-
-
Save subfission/652f9f9f183223ccf2a4b4ade9f2a7ac to your computer and use it in GitHub Desktop.
What a weird way to do things
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(window["webpackJsonp"] = window["webpackJsonp"] || [])["push"]([[7], { | |
'\x54\x69\x51\x70': function(h9v9, L9v9, K8v9) { | |
"use strict"; | |
K8v9["r"](L9v9); | |
var m8v9 = K8v9("CcnG") | |
, V8v9 = function() { | |
return function() {} | |
; | |
}() | |
, n9v9 = K8v9("pMnS") | |
, x9v9 = K8v9("RCRJ") | |
, N9v9 = K8v9("8CAB") | |
, f9v9 = K8v9("4DkL") | |
, I8v9 = K8v9("TtRz") | |
, Q8v9 = K8v9("6uu6") | |
, g8v9 = K8v9("21Lb") | |
, c8v9 = K8v9("OzfB") | |
, f8v9 = K8v9("Ip0R") | |
, W8v9 = K8v9("mrSG") | |
, W9v9 = K8v9("K9Ia") | |
, k8v9 = K8v9("ny24") | |
, X9v9 = K8v9("AluK") | |
, z9v9 = K8v9("5FMk") | |
, d9v9 = K8v9("GFWS") | |
, v9v9 = K8v9("TaUb") | |
, L8v9 = function() { | |
function w9v9(e9v9, q9v9, U9v9, F9v9, I9v9, J9v9, u9v9, S9v9, Y3v9, j9v9) { | |
this["cd"] = e9v9, | |
this["router"] = q9v9, | |
this["route"] = U9v9, | |
this["cfg"] = F9v9, | |
this["helpers"] = I9v9, | |
this["log"] = J9v9, | |
this["title"] = u9v9, | |
this["auth"] = S9v9, | |
this["frameService"] = Y3v9, | |
this["toast"] = j9v9, | |
this["notFound"] = false, | |
this["intervalSyncUrl"] = null, | |
this["loaded"] = false, | |
this["waitExecInterval"] = null, | |
this["waitExecResolve"] = null, | |
this["waitExecTimeout"] = null, | |
this["ngUnsubscribe"] = new W9v9["a"](), | |
this["lazyExec"] = '\n\t\tfunction(selector, callback, delay, try_limit) {\n\t\t\tdelay = delay || 1000;\n\t\t\ttry_limit = try_limit || 10;\n\t\t\tvar try_count = 0;\n\n\t\t\tvar checkInterval = setInterval(function() {\n\t\t\t\t// searching target\n\t\t\t\tvar target = document.querySelector(selector);\n\n\t\t\t\t// check that we have tries left and target still not found\n\t\t\t\tif (try_limit > try_count++ && !target) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// we at the end of search procedure, so clearing interval\n\t\t\t\tclearInterval(checkInterval);\n\n\t\t\t\t// check that target was found\n\t\t\t\tif (target) {\n\t\t\t\t\tcallback(null, target);\n\t\t\t\t} else {\n\t\t\t\t\tcallback(new Error("timed out!"));\n\t\t\t\t}\n\t\t\t}, delay);\n\t\t}\n\t'; | |
} | |
return w9v9["prototype"]["ngOnInit"] = function() { | |
var G3v9 = this; | |
this["cfg"]["loading$"]["pipe"](Object(k8v9["a"])(this["ngUnsubscribe"]))["subscribe"](function(p3v9) { | |
return G3v9["onLoading"](p3v9); | |
}), | |
this["route"]["paramMap"]["pipe"](Object(k8v9["a"])(this["ngUnsubscribe"]))["subscribe"](function(C3v9) { | |
return G3v9["onParams"](C3v9); | |
}), | |
this["frameService"]["current$"]["pipe"](Object(k8v9["a"])(this["ngUnsubscribe"]))["subscribe"](function(m3v9) { | |
return G3v9["onFrames"](m3v9); | |
}), | |
this["frameService"]["manual$"]["pipe"](Object(k8v9["a"])(this["ngUnsubscribe"]))["subscribe"](function(K3v9) { | |
return G3v9["onManualFrames"](K3v9); | |
}), | |
this["route"]["queryParams"]["pipe"](Object(k8v9["a"])(this["ngUnsubscribe"]))["subscribe"](function(i3v9) { | |
return G3v9["onQueryParams"](i3v9); | |
}), | |
this["intervalSyncUrl"] = setInterval(this["syncUrl"]["bind"](this), 1e3); | |
} | |
, | |
w9v9["prototype"]["ngOnDestroy"] = function() { | |
this["ngUnsubscribe"]["next"](), | |
this["ngUnsubscribe"]["complete"](), | |
this["clearIntervals"](); | |
} | |
, | |
w9v9["prototype"]["clearIntervals"] = function() { | |
this["helpers"]["clearInterval"](this["intervalSyncUrl"]), | |
this["helpers"]["clearInterval"](this["waitExecInterval"]), | |
this["helpers"]["clearTimeout"](this["waitExecTimeout"]); | |
} | |
, | |
w9v9["prototype"]["onLoading"] = function(P3v9) { | |
this["loading"] = P3v9, | |
this["cd"]["detectChanges"](); | |
} | |
, | |
w9v9["prototype"]["onParams"] = function(f3v9) { | |
this["frameShortId"] = f3v9["get"]("frameShortId"), | |
this["subLinkIndex"] = f3v9["get"]("subLinkIndex"), | |
this["prepareFrame"](); | |
} | |
, | |
w9v9["prototype"]["onFrames"] = function(o3v9) { | |
this["frames"] = o3v9, | |
this["frames"] && this["prepareFrame"](); | |
} | |
, | |
w9v9["prototype"]["onManualFrames"] = function(T3v9) { | |
this["manualFrames"] = T3v9, | |
this["manualFrames"] && this["prepareFrame"](); | |
} | |
, | |
w9v9["prototype"]["onQueryParams"] = function(x3v9) { | |
x3v9["path"] && this["formUrl"](); | |
} | |
, | |
w9v9["prototype"]["prepareFrame"] = function() { | |
if (this["frameShortId"] && this["frames"] && this["manualFrames"]) { | |
var c3v9 = this["helpers"]["getInfoById"](this["frames"], this["frameShortId"], true); | |
if (null !== c3v9) { | |
this["frameProcess"](c3v9); | |
} else { | |
var B3v9 = this["manualFrames"][this["frameShortId"]]; | |
B3v9 ? this["frameProcess"](B3v9) : this["frameError"](new Error("The requested module was not found")); | |
} | |
} | |
} | |
, | |
w9v9["prototype"]["frameProcess"] = function(t3v9) { | |
this["currentFrame"] = t3v9, | |
this["title"]["set"](this["currentFrame"]["title"]), | |
this["formUrl"](); | |
} | |
, | |
w9v9["prototype"]["formUrl"] = function() { | |
return Object(W8v9["b"])(this, void 0, void 0, function() { | |
var L3v9, W3v9, r3v9, g3v9, N3v9, k3v9 = this; | |
return Object(W8v9["e"])(this, function(Z3v9) { | |
switch (Z3v9["label"]) { | |
case 0: | |
return this["currentFrame"] ? (this["url"] = null, | |
this["currentFrame"] && (null !== this["subLinkIndex"] ? this["currentFrame"]["sublinks"] && this["currentFrame"]["sublinks"][this["subLinkIndex"]] && (this["url"] = this["currentFrame"]["sublinks"][this["subLinkIndex"]]["url"]) : this["url"] = this["currentFrame"]["url"]), | |
this["url"] ? (L3v9 = this["helpers"]["getPrefixUrl"](this["url"]), | |
W3v9 = this["route"]["snapshot"]["queryParamMap"]["get"]("path") || this["helpers"]["getSuffixUrl"](this["url"]), | |
r3v9 = L3v9 + W3v9, | |
this["notFound"] = false, | |
this["container"] || this["loaded"] ? [3, 2] : (this["iframeEl"] && (this["iframeEl"]["parentNode"]["removeChild"](this["iframeEl"]), | |
this["iframeEl"] = null), | |
[4, this["helpers"]["waitFor"](function() { | |
return k3v9["container"]; | |
})])) : (this["frameError"](new Error("Failed to form URL")), | |
[2])) : [3, 3]; | |
case 1: | |
Z3v9["sent"](), | |
Z3v9["label"] = 2; | |
case 2: | |
this["container"] && this["container"]["nativeElement"] && (this["iframeEl"] ? this["helpers"]["getOrigin"](r3v9) !== this["helpers"]["getOrigin"](this["iframeEl"]["getAttribute"]("src")) && (this["loaded"] = false, | |
this["iframeEl"]["setAttribute"]("src", r3v9)) : (this["cfg"]["loading"](true), | |
this["iframeEl"] = document["createElement"]("iframe"), | |
this["iframeEl"]["setAttribute"]("frameBorder", "0"), | |
this["iframeEl"]["setAttribute"]("name", "siem"), | |
this["iframeEl"]["setAttribute"]("src", r3v9), | |
this["iframeEl"]["onload"] = function() { | |
return k3v9["onLoad"](); | |
} | |
, | |
this["container"]["nativeElement"]["appendChild"](this["iframeEl"]), | |
(g3v9 = this["iframeEl"]["contentDocument"] || this["iframeEl"]["contentWindow"])["document"] && (g3v9 = g3v9["document"]), | |
N3v9 = setInterval(function() { | |
"complete" == g3v9["readyState"] && (clearInterval(N3v9), | |
k3v9["onLoad"]()); | |
}, 1e3), | |
setTimeout(function() { | |
return k3v9["cfg"]["loading"](false); | |
}, 1e4))), | |
Z3v9["label"] = 3; | |
case 3: | |
return [2]; | |
} | |
}); | |
}); | |
} | |
, | |
w9v9["prototype"]["frameError"] = function(X3v9) { | |
this["cfg"]["loading"](false), | |
this["clearIntervals"](), | |
this["errorTitle"] = "Module load error", | |
this["errorMessage"] = X3v9["toString"](), | |
this["notFound"] = true, | |
this["loaded"] = false; | |
} | |
, | |
w9v9["prototype"]["syncUrl"] = function() { | |
this["loaded"] && this["exec"]("\n\t\t\t\tevent.source.postMessage(\n\t\t\t\t\tJSON.stringify({\n\t\t\t\t\t\ttype:\t'iframe_syncUrl',\n\t\t\t\t\t\turl:\tlocation.href,\n\t\t\t\t\t\thash:\tlocation.hash\n\t\t\t\t\t}),\n\t\t\t\t\tevent.origin\n\t\t\t\t);\n\t\t\t", true); | |
} | |
, | |
w9v9["prototype"]["onFrameMessage"] = function(V3v9) { | |
try { | |
var D3v9 = this["helpers"]["jsonGentleParse"](V3v9["data"]); | |
switch (D3v9["type"]) { | |
case "iframe_syncUrl": | |
var y3v9 = this["helpers"]["parseUrl"](D3v9["url"]); | |
if (this["helpers"]["getOrigin"](this["url"]) === this["helpers"]["getOrigin"](D3v9["url"])) { | |
var b3v9 = y3v9["pathname"]; | |
y3v9["search"] && (b3v9 += "?" + y3v9["search"]), | |
y3v9["hash"] && (b3v9 += "#" + y3v9["hash"]), | |
this["router"]["navigate"]([], { | |
'\x72\x65\x6c\x61\x74\x69\x76\x65\x54\x6f': this["route"], | |
'\x71\x75\x65\x72\x79\x50\x61\x72\x61\x6d\x73': { | |
'\x70\x61\x74\x68': b3v9 || null | |
}, | |
'\x71\x75\x65\x72\x79\x50\x61\x72\x61\x6d\x73\x48\x61\x6e\x64\x6c\x69\x6e\x67': "merge" | |
}); | |
} | |
break; | |
case "iframe_execReady": | |
this["waitExecInterval"] = this["helpers"]["clearInterval"](this["waitExecInterval"]), | |
this["waitExecTimeout"] = this["helpers"]["clearTimeout"](this["waitExecTimeout"]), | |
this["waitExecResolve"](); | |
} | |
} catch (l3v9) { | |
this["log"]["error"](l3v9); | |
} | |
} | |
, | |
w9v9["prototype"]["onLoad"] = function() { | |
return Object(W8v9["b"])(this, void 0, void 0, function() { | |
var O3v9; | |
return Object(W8v9["e"])(this, function(M3v9) { | |
switch (M3v9["label"]) { | |
case 0: | |
if (this["cfg"]["loading"](false), | |
this["loaded"]) { | |
return [3, 4]; | |
} | |
this["loaded"] = true, | |
M3v9["label"] = 1; | |
case 1: | |
return M3v9["trys"]["push"]([1, 3, , 4]), | |
[4, this["waitExecReady"]()]; | |
case 2: | |
switch (M3v9["sent"](), | |
this["currentFrame"]["name"]) { | |
case "cortex": | |
case "incidentresponse": | |
this["autoFill"]({ | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x55\x73\x65\x72\x6e\x61\x6d\x65': 'input[placeholder="Login"]', | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x50\x61\x73\x73\x77\x6f\x72\x64': 'input[type="password"]', | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x42\x75\x74\x74\x6f\x6e': 'button[type="submit"]', | |
'\x74\x6f\x75\x63\x68': true | |
}); | |
break; | |
case "metrics": | |
this["autoFill"]({ | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x55\x73\x65\x72\x6e\x61\x6d\x65': 'input[name="username"]', | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x50\x61\x73\x73\x77\x6f\x72\x64': 'input[name="password"]', | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x42\x75\x74\x74\x6f\x6e': 'button[type="submit"]', | |
'\x74\x6f\x75\x63\x68': true | |
}); | |
break; | |
case "misp": | |
this["autoFill"]({ | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x55\x73\x65\x72\x6e\x61\x6d\x65': 'input[name="data[User][email]"]', | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x50\x61\x73\x73\x77\x6f\x72\x64': 'input[name="data[User][password]"]', | |
'\x66\x6f\x72\x6d\x53\x69\x67\x6e': "form.id === 'UserLoginForm'" | |
}); | |
break; | |
case "opencti": | |
this["autoFill"]({ | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x55\x73\x65\x72\x6e\x61\x6d\x65': 'input[name="email"]', | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x50\x61\x73\x73\x77\x6f\x72\x64': 'input[name="password"]', | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x42\x75\x74\x74\x6f\x6e': 'button[type="submit"]', | |
'\x72\x65\x61\x63\x74': true | |
}); | |
break; | |
case "patrowl": | |
this["autoFill"]({ | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x55\x73\x65\x72\x6e\x61\x6d\x65': "#id_username", | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x50\x61\x73\x73\x77\x6f\x72\x64': "#id_password", | |
'\x66\x6f\x72\x6d\x53\x69\x67\x6e': "form.action.includes('/login')" | |
}); | |
} | |
return [3, 4]; | |
case 3: | |
return O3v9 = M3v9["sent"](), | |
this["frameError"](O3v9), | |
[3, 4]; | |
case 4: | |
return [2]; | |
} | |
}); | |
}); | |
} | |
, | |
w9v9["prototype"]["autoFill"] = function(R3v9) { | |
var a3v9 = this["helpers"]["extend"]({ | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x55\x73\x65\x72\x6e\x61\x6d\x65': null, | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x50\x61\x73\x73\x77\x6f\x72\x64': null, | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x52\x65\x6d\x65\x6d\x62\x65\x72\x4d\x65': null, | |
'\x73\x65\x6c\x65\x63\x74\x6f\x72\x42\x75\x74\x74\x6f\x6e': null, | |
'\x74\x6f\x75\x63\x68': false, | |
'\x72\x65\x61\x63\x74': false, | |
'\x66\x6f\x72\x6d\x53\x69\x67\x6e': null | |
}, R3v9) | |
, z3v9 = this["helpers"]["_get"](this["currentFrame"], "credentials.login") | |
, v3v9 = this["helpers"]["_get"](this["currentFrame"], "credentials.password") | |
, d3v9 = this["helpers"]["parseUrl"](this["url"]); | |
z3v9 && d3v9 && d3v9["protocol"] && d3v9["resource"] && this["exec"]("\n\t\t\t\tvar lazyExec = " + this["lazyExec"] + ";\n\t\t\t\tlazyExec('" + a3v9["selectorUsername"] + "', function(err, loginEl) {\n\t\t\t\t\tif (!err) {\n\t\t\t\t\t\tlazyExec('" + a3v9["selectorPassword"] + "', function(err, passwordEl) {\n\t\t\t\t\t\t\tif (!err && loginEl && passwordEl) {\n\t\t\t\t\t\t\t\tif (" + !a3v9["react"] + ") {\n\t\t\t\t\t\t\t\t\t// autofill fields\n\t\t\t\t\t\t\t\t\tloginEl.value = " + JSON["stringify"](z3v9) + ";\n\t\t\t\t\t\t\t\t\tpasswordEl.value = " + JSON["stringify"](v3v9) + ";\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// remember me\n\t\t\t\t\t\t\t\tvar rememberMe = null;\n\t\t\t\t\t\t\t\tif (" + !!a3v9["selectorRememberMe"] + ") {\n\t\t\t\t\t\t\t\t\trememberMe = document.querySelector('" + a3v9["selectorRememberMe"] + "');\n\t\t\t\t\t\t\t\t\tif (rememberMe) {\n\t\t\t\t\t\t\t\t\t\t" + (true === this["currentFrame"]["rememberMe"] ? "" : "//") + "rememberMe.checked = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// touch fields if required (e.g. tell AngularJS that input-data was changed)\n\t\t\t\t\t\t\t\tif (" + a3v9["touch"] + ") {\n\t\t\t\t\t\t\t\t\tvar event = new Event('input', {\n\t\t\t\t\t\t\t\t\t\t'bubbles': true,\n\t\t\t\t\t\t\t\t\t\t'cancelable': true\n\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\tloginEl.dispatchEvent(event);\n\t\t\t\t\t\t\t\t\tpasswordEl.dispatchEvent(event);\n\t\t\t\t\t\t\t\t\tif (rememberMe) {\n\t\t\t\t\t\t\t\t\t\trememberMe.dispatchEvent(event);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// touch fields for ReactJS\n\t\t\t\t\t\t\t\tif (" + a3v9["react"] + ") {\n\t\t\t\t\t\t\t\t\tvar lastValueLogin = loginEl.value;\n\t\t\t\t\t\t\t\t\tloginEl.value = " + JSON["stringify"](z3v9) + ";\n\t\t\t\t\t\t\t\t\tvar eventLogin = new Event('input', { bubbles: true });\n\t\t\t\t\t\t\t\t\teventLogin.simulated = true;\n\t\t\t\t\t\t\t\t\tvar tracker = loginEl._valueTracker;\n\t\t\t\t\t\t\t\t\tif (tracker) {\n\t\t\t\t\t\t\t\t\t tracker.setValue(lastValueLogin);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tloginEl.dispatchEvent(eventLogin);\n\n\t\t\t\t\t\t\t\t\tvar lastValuePassword = passwordEl.value;\n\t\t\t\t\t\t\t\t\tpasswordEl.value = " + JSON["stringify"](v3v9) + ";\n\t\t\t\t\t\t\t\t\tvar eventPassword = new Event('input', { bubbles: true });\n\t\t\t\t\t\t\t\t\teventPassword.simulated = true;\n\t\t\t\t\t\t\t\t\tvar tracker = passwordEl._valueTracker;\n\t\t\t\t\t\t\t\t\tif (tracker) {\n\t\t\t\t\t\t\t\t\t tracker.setValue(lastValuePassword);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tpasswordEl.dispatchEvent(eventPassword);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// prevent browser's save password suggestion\n\t\t\t\t\t\t\t\tif (" + this["currentFrame"]["suggestPrevent"] + ") {\n\t\t\t\t\t\t\t\t\tloginEl.autocomplete = 'new-password';\n\t\t\t\t\t\t\t\t\tpasswordEl.autocomplete = 'new-password';\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// find form and submit it\n\t\t\t\t\t\t\t\tif (" + !!a3v9["formSign"] + " && document.forms && document.forms.length) {\n\t\t\t\t\t\t\t\t\tfor (var i = 0;i < document.forms.length;i++) {\n\t\t\t\t\t\t\t\t\t\tvar form = document.forms[i];\n\t\t\t\t\t\t\t\t\t\tif (form && " + a3v9["formSign"] + ") {\n\t\t\t\t\t\t\t\t\t\t\t" + (true === this["currentFrame"]["autoLogin"] ? "" : "//") + "form.submit();\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// submit form by click on button\n\t\t\t\t\t\t\t\tif (" + !!a3v9["selectorButton"] + ") {\n\t\t\t\t\t\t\t\t\tvar submitButton = document.querySelector('" + a3v9["selectorButton"] + "');\n\t\t\t\t\t\t\t\t\tif (submitButton) {\n\t\t\t\t\t\t\t\t\t\tsubmitButton.click();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t"); | |
} | |
, | |
w9v9["prototype"]["waitExecReady"] = function() { | |
var n3v9 = this; | |
return new Promise(function(Q3v9, s3v9) { | |
n3v9["waitExecResolve"] = Q3v9, | |
!n3v9["waitExecInterval"] && n3v9["isCommunicated"]() && (n3v9["waitExecInterval"] = setInterval(function() { | |
n3v9["exec"]("\n\t\t\t\t\t\tevent.source.postMessage(\n\t\t\t\t\t\t\tJSON.stringify({\n\t\t\t\t\t\t\t\ttype:\t'iframe_execReady'\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tevent.origin\n\t\t\t\t\t\t);\n\t\t\t\t\t\t"); | |
}, 500), | |
n3v9["waitExecTimeout"] = setTimeout(function() { | |
n3v9["waitExecInterval"] = n3v9["helpers"]["clearInterval"](n3v9["waitExecInterval"]), | |
n3v9["waitExecTimeout"] = n3v9["helpers"]["clearTimeout"](n3v9["waitExecTimeout"]), | |
s3v9(new Error("Failed to establish communication with the module.")); | |
}, 12e4)); | |
} | |
); | |
} | |
, | |
w9v9["prototype"]["isCommunicated"] = function() { | |
return !this["cfg"]["debug"] && "support" !== this["helpers"]["_get"](this, "currentFrame.shortId"); | |
} | |
, | |
w9v9["prototype"]["exec"] = function(E3v9, H3v9) { | |
void 0 === H3v9 && (H3v9 = false); | |
var A3v9 = this["helpers"]["getOrigin"](this["url"]); | |
A3v9 && (H3v9 || this["log"]["debug"]("Pass JS-code to IR", E3v9), | |
window["frames"]["siem"] ? window["frames"]["siem"]["postMessage"](E3v9, this["cfg"]["debug"] ? "*" : A3v9) : this["log"]["error"]("Iframe-container was not found")); | |
} | |
, | |
w9v9; | |
}() | |
, x8v9 = K8v9("ZYCi") | |
, Q9v9 = m8v9["yb"]({ | |
'\x65\x6e\x63\x61\x70\x73\x75\x6c\x61\x74\x69\x6f\x6e': 0, | |
'\x73\x74\x79\x6c\x65\x73': [["iframe{overflow:hidden;border:none;flex:1 1 100%;margin-top:56px}"]], | |
'\x64\x61\x74\x61': {} | |
}); | |
function E9v9(h3v9) { | |
return m8v9["Wb"](0, [(h3v9()(), | |
m8v9["Ab"](0, 0, null, null, 1, "app-not-found", [], null, null, null, x9v9["c"], x9v9["b"])), m8v9["zb"](1, 245760, null, 0, N9v9["a"], [m8v9["h"], f9v9["a"], I8v9["a"], Q8v9["a"]], { | |
'\x6d\x65\x73\x73\x61\x67\x65': [0, "message"], | |
'\x68\x65\x61\x64\x65\x72': [1, "header"] | |
}, null)], function(j3v9, I3v9) { | |
var w3v9 = I3v9["component"]; | |
j3v9(I3v9, 1, 0, w3v9["errorMessage"], w3v9["errorTitle"]); | |
}, null); | |
} | |
function A9v9(q3v9) { | |
return m8v9["Wb"](0, [(q3v9()(), | |
m8v9["Ab"](0, 0, [[1, 0], ["container", 1]], null, 1, "div", [["class", "full-screen"], ["fxLayout", "column"]], null, null, null, null, null)), m8v9["zb"](1, 671744, null, 0, g8v9["c"], [m8v9["l"], c8v9["i"], [2, g8v9["g"]], c8v9["f"]], { | |
'\x66\x78\x4c\x61\x79\x6f\x75\x74': [0, "fxLayout"] | |
}, null)], function(U3v9, F3v9) { | |
U3v9(F3v9, 1, 0, "column"); | |
}, null); | |
} | |
function H9v9(e3v9) { | |
return m8v9["Wb"](0, [m8v9["Sb"](671088640, 1, { | |
'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72': 0 | |
}), (e3v9()(), | |
m8v9["pb"](16777216, null, null, 1, null, E9v9)), m8v9["zb"](2, 16384, null, 0, f8v9["m"], [m8v9["U"], m8v9["R"]], { | |
'\x6e\x67\x49\x66': [0, "ngIf"] | |
}, null), (e3v9()(), | |
m8v9["pb"](16777216, null, null, 1, null, A9v9)), m8v9["zb"](4, 16384, null, 0, f8v9["m"], [m8v9["U"], m8v9["R"]], { | |
'\x6e\x67\x49\x66': [0, "ngIf"] | |
}, null)], function(S3v9, J3v9) { | |
var u3v9 = J3v9["component"]; | |
S3v9(J3v9, 2, 0, u3v9["notFound"]), | |
S3v9(J3v9, 4, 0, !u3v9["notFound"]); | |
}, null); | |
} | |
function s9v9(Y2v9) { | |
return m8v9["Wb"](0, [(Y2v9()(), | |
m8v9["Ab"](0, 0, null, null, 1, "app-iframe", [], null, [["window", "message"]], function(p2v9, C2v9, m2v9) { | |
var G2v9 = true; | |
return "window:message" === C2v9 && (G2v9 = false !== m8v9["Mb"](p2v9, 1)["onFrameMessage"](m2v9) && G2v9), | |
G2v9; | |
}, H9v9, Q9v9)), m8v9["zb"](1, 245760, null, 0, L8v9, [m8v9["h"], x8v9["m"], x8v9["a"], f9v9["a"], X9v9["b"], z9v9["a"], I8v9["a"], Q8v9["a"], d9v9["a"], v9v9["a"]], null, null)], function(K2v9, i2v9) { | |
K2v9(i2v9, 1, 0); | |
}, null); | |
} | |
var Z9v9 = m8v9["wb"]("app-iframe", L8v9, s9v9, {}, {}, []) | |
, J8v9 = K8v9("xYTU") | |
, y9v9 = K8v9("NcP4") | |
, D9v9 = K8v9("t68o") | |
, b9v9 = K8v9("1BO3") | |
, V9v9 = K8v9("doGT") | |
, l9v9 = K8v9("8Har") | |
, O9v9 = K8v9("k+DE") | |
, M9v9 = K8v9("SmWu") | |
, a9v9 = K8v9("JjdK") | |
, o8v9 = K8v9("gIcY") | |
, i8v9 = K8v9("eDkP") | |
, M8v9 = K8v9("Fzqc") | |
, X8v9 = K8v9("4tE/") | |
, B8v9 = K8v9("mVsa") | |
, D8v9 = K8v9("M2Lx") | |
, P8v9 = K8v9("Wf4p") | |
, b8v9 = K8v9("uGex") | |
, r8v9 = K8v9("v9Dh") | |
, d8v9 = K8v9("ZYjt") | |
, t8v9 = K8v9("4epT") | |
, T8v9 = K8v9("o3x0") | |
, y8v9 = K8v9("lLAP") | |
, O8v9 = K8v9("dWZg") | |
, s8v9 = K8v9("97rV") | |
, H8v9 = function() { | |
return function() {} | |
; | |
}() | |
, A8v9 = K8v9("4c35") | |
, E8v9 = K8v9("qAlS") | |
, h8v9 = K8v9("UodH") | |
, w8v9 = K8v9("u7R8") | |
, N8v9 = K8v9("de3e") | |
, j8v9 = K8v9("seP3") | |
, q8v9 = K8v9("LC5p") | |
, U8v9 = K8v9("0/Q6") | |
, F8v9 = K8v9("Blfk") | |
, e8v9 = K8v9("La40") | |
, a8v9 = K8v9("8mMr") | |
, u8v9 = K8v9("SMsm") | |
, S8v9 = K8v9("FVSy") | |
, Y9v9 = K8v9("/VYK") | |
, G9v9 = K8v9("b716") | |
, p9v9 = K8v9("9It4") | |
, C9v9 = K8v9("vARd") | |
, m9v9 = K8v9("Nsh5") | |
, K9v9 = K8v9("y4qS") | |
, i9v9 = K8v9("BHnd") | |
, P9v9 = K8v9("Z+uX") | |
, Z8v9 = K8v9("kWGw") | |
, o9v9 = K8v9("YhbO") | |
, T9v9 = K8v9("jlZm") | |
, l8v9 = K8v9("/dO6") | |
, c9v9 = K8v9("tQfO") | |
, B9v9 = K8v9("bd7W") | |
, t9v9 = K8v9("hUWP") | |
, k9v9 = K8v9("3pJQ") | |
, r9v9 = K8v9("V9q+") | |
, z8v9 = K8v9("wI91") | |
, v8v9 = K8v9("T0B/") | |
, R8v9 = K8v9("a9oU") | |
, n8v9 = K8v9("NJnA") | |
, g9v9 = K8v9("YSh2"); | |
K8v9["d"](L9v9, "FrameModuleNgFactory", function() { | |
return R9v9; | |
}); | |
var R9v9 = m8v9["xb"](V8v9, [], function(P2v9) { | |
return m8v9["Jb"]([m8v9["Kb"](512, m8v9["j"], m8v9["hb"], [[8, [n9v9["a"], Z9v9, J8v9["a"], J8v9["b"], y9v9["a"], D9v9["a"], b9v9["a"], V9v9["a"], l9v9["a"], O9v9["a"], M9v9["a"], a9v9["a"]]], [3, m8v9["j"]], m8v9["B"]]), m8v9["Kb"](4608, f8v9["o"], f8v9["n"], [m8v9["x"], [2, f8v9["E"]]]), m8v9["Kb"](4608, o8v9["B"], o8v9["B"], []), m8v9["Kb"](4608, o8v9["g"], o8v9["g"], []), m8v9["Kb"](4608, i8v9["c"], i8v9["c"], [i8v9["i"], i8v9["e"], m8v9["j"], i8v9["h"], i8v9["f"], m8v9["t"], m8v9["D"], f8v9["d"], M8v9["b"], [2, f8v9["i"]]]), m8v9["Kb"](5120, i8v9["j"], i8v9["k"], [i8v9["c"]]), m8v9["Kb"](5120, X8v9["b"], X8v9["c"], [i8v9["c"]]), m8v9["Kb"](5120, B8v9["c"], B8v9["j"], [i8v9["c"]]), m8v9["Kb"](4608, D8v9["c"], D8v9["c"], []), m8v9["Kb"](4608, P8v9["b"], P8v9["b"], []), m8v9["Kb"](5120, b8v9["a"], b8v9["b"], [i8v9["c"]]), m8v9["Kb"](5120, r8v9["b"], r8v9["c"], [i8v9["c"]]), m8v9["Kb"](4608, d8v9["e"], P8v9["c"], [[2, P8v9["g"]], [2, P8v9["l"]]]), m8v9["Kb"](5120, t8v9["c"], t8v9["a"], [[3, t8v9["c"]]]), m8v9["Kb"](5120, T8v9["c"], T8v9["d"], [i8v9["c"]]), m8v9["Kb"](135680, T8v9["e"], T8v9["e"], [i8v9["c"], m8v9["t"], [2, f8v9["i"]], [2, T8v9["b"]], T8v9["c"], [3, T8v9["e"]], i8v9["e"]]), m8v9["Kb"](135680, y8v9["f"], y8v9["f"], [m8v9["D"], O8v9["a"]]), m8v9["Kb"](5120, m8v9["b"], function(f2v9, o2v9) { | |
return [c8v9["j"](f2v9, o2v9)]; | |
}, [f8v9["d"], m8v9["G"]]), m8v9["Kb"](4608, s8v9["a"], s8v9["a"], []), m8v9["Kb"](1073742336, f8v9["c"], f8v9["c"], []), m8v9["Kb"](1073742336, x8v9["o"], x8v9["o"], [[2, x8v9["t"]], [2, x8v9["m"]]]), m8v9["Kb"](1073742336, H8v9, H8v9, []), m8v9["Kb"](1073742336, o8v9["A"], o8v9["A"], []), m8v9["Kb"](1073742336, o8v9["m"], o8v9["m"], []), m8v9["Kb"](1073742336, o8v9["w"], o8v9["w"], []), m8v9["Kb"](1073742336, M8v9["a"], M8v9["a"], []), m8v9["Kb"](1073742336, P8v9["l"], P8v9["l"], [[2, P8v9["d"]], [2, d8v9["f"]]]), m8v9["Kb"](1073742336, O8v9["b"], O8v9["b"], []), m8v9["Kb"](1073742336, P8v9["v"], P8v9["v"], []), m8v9["Kb"](1073742336, P8v9["t"], P8v9["t"], []), m8v9["Kb"](1073742336, P8v9["q"], P8v9["q"], []), m8v9["Kb"](1073742336, A8v9["g"], A8v9["g"], []), m8v9["Kb"](1073742336, E8v9["c"], E8v9["c"], []), m8v9["Kb"](1073742336, i8v9["g"], i8v9["g"], []), m8v9["Kb"](1073742336, X8v9["e"], X8v9["e"], []), m8v9["Kb"](1073742336, h8v9["c"], h8v9["c"], []), m8v9["Kb"](1073742336, w8v9["e"], w8v9["e"], []), m8v9["Kb"](1073742336, B8v9["i"], B8v9["i"], []), m8v9["Kb"](1073742336, B8v9["f"], B8v9["f"], []), m8v9["Kb"](1073742336, D8v9["d"], D8v9["d"], []), m8v9["Kb"](1073742336, N8v9["d"], N8v9["d"], []), m8v9["Kb"](1073742336, N8v9["c"], N8v9["c"], []), m8v9["Kb"](1073742336, j8v9["e"], j8v9["e"], []), m8v9["Kb"](1073742336, P8v9["m"], P8v9["m"], []), m8v9["Kb"](1073742336, q8v9["b"], q8v9["b"], []), m8v9["Kb"](1073742336, U8v9["c"], U8v9["c"], []), m8v9["Kb"](1073742336, F8v9["c"], F8v9["c"], []), m8v9["Kb"](1073742336, y8v9["a"], y8v9["a"], []), m8v9["Kb"](1073742336, e8v9["k"], e8v9["k"], []), m8v9["Kb"](1073742336, a8v9["b"], a8v9["b"], []), m8v9["Kb"](1073742336, u8v9["c"], u8v9["c"], []), m8v9["Kb"](1073742336, S8v9["d"], S8v9["d"], []), m8v9["Kb"](1073742336, Y9v9["c"], Y9v9["c"], []), m8v9["Kb"](1073742336, G9v9["b"], G9v9["b"], []), m8v9["Kb"](1073742336, p9v9["d"], p9v9["d"], []), m8v9["Kb"](1073742336, b8v9["d"], b8v9["d"], []), m8v9["Kb"](1073742336, C9v9["e"], C9v9["e"], []), m8v9["Kb"](1073742336, m9v9["h"], m9v9["h"], []), m8v9["Kb"](1073742336, K9v9["p"], K9v9["p"], []), m8v9["Kb"](1073742336, i9v9["m"], i9v9["m"], []), m8v9["Kb"](1073742336, r8v9["e"], r8v9["e"], []), m8v9["Kb"](1073742336, t8v9["d"], t8v9["d"], []), m8v9["Kb"](1073742336, T8v9["k"], T8v9["k"], []), m8v9["Kb"](1073742336, P9v9["c"], P9v9["c"], []), m8v9["Kb"](1073742336, Z8v9["d"], Z8v9["d"], []), m8v9["Kb"](1073742336, Z8v9["c"], Z8v9["c"], []), m8v9["Kb"](1073742336, o9v9["c"], o9v9["c"], []), m8v9["Kb"](1073742336, T9v9["d"], T9v9["d"], []), m8v9["Kb"](1073742336, l8v9["f"], l8v9["f"], []), m8v9["Kb"](1073742336, c9v9["a"], c9v9["a"], []), m8v9["Kb"](1073742336, B9v9["b"], B9v9["b"], []), m8v9["Kb"](1073742336, c8v9["c"], c8v9["c"], []), m8v9["Kb"](1073742336, g8v9["d"], g8v9["d"], []), m8v9["Kb"](1073742336, t9v9["d"], t9v9["d"], []), m8v9["Kb"](1073742336, k9v9["a"], k9v9["a"], []), m8v9["Kb"](1073742336, r9v9["a"], r9v9["a"], [[2, c8v9["g"]], m8v9["G"]]), m8v9["Kb"](1073742336, z8v9["b"], z8v9["b"], []), m8v9["Kb"](1073742336, v8v9["a"], v8v9["a"], []), m8v9["Kb"](1073742336, R8v9["b"], R8v9["b"], []), m8v9["Kb"](1073742336, n8v9["a"], n8v9["a"], []), m8v9["Kb"](1073742336, V8v9, V8v9, []), m8v9["Kb"](1024, x8v9["k"], function() { | |
return [[{ | |
'\x70\x61\x74\x68': "", | |
'\x63\x68\x69\x6c\x64\x72\x65\x6e': [{ | |
'\x70\x61\x74\x68': "", | |
'\x72\x65\x64\x69\x72\x65\x63\x74\x54\x6f': "/not-found", | |
'\x70\x61\x74\x68\x4d\x61\x74\x63\x68': "full" | |
}, { | |
'\x70\x61\x74\x68': "view", | |
'\x63\x68\x69\x6c\x64\x72\x65\x6e': [{ | |
'\x70\x61\x74\x68': "", | |
'\x72\x65\x64\x69\x72\x65\x63\x74\x54\x6f': "/not-found", | |
'\x70\x61\x74\x68\x4d\x61\x74\x63\x68': "full" | |
}, { | |
'\x70\x61\x74\x68': ":frameShortId", | |
'\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74': L8v9 | |
}, { | |
'\x70\x61\x74\x68': ":frameShortId/:subLinkIndex", | |
'\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74': L8v9 | |
}] | |
}] | |
}]]; | |
}, []), m8v9["Kb"](256, l8v9["a"], { | |
'\x73\x65\x70\x61\x72\x61\x74\x6f\x72\x4b\x65\x79\x43\x6f\x64\x65\x73': [g9v9["g"]] | |
}, [])]); | |
}); | |
} | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment