Files
monitor/openproject_files/b1xhc3Vl3_FhS-lf4VS_IJJoJF8.br.js.download
2025-12-27 01:17:10 +01:00

2 lines
15 KiB
Plaintext

var BDPLC=function(e){"use strict";const t="XY";var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)};function r(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function o(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var a="A",u="B",s="C",c="D",d="E",l="F",f="G",v="H",w="I",p="J",g="K",m="L",h="M",b="N",y="O",_="P",S="Q",E="R",P=function(e){function t(n,r){var i=e.call(this,r)||this;return i.state=n,i.name="BDPLCError",Object.setPrototypeOf(i,t.prototype),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(Error);function C(e){return r(this,void 0,void 0,(function(){var t,n,o=this;return i(this,(function(a){switch(a.label){case 0:return t={},n=Object.keys(e),[4,Promise.all(n.map((function(n){return r(o,void 0,void 0,(function(){var r,o,a,u,s;return i(this,(function(i){switch(i.label){case 0:r=e[n],i.label=1;case 1:return i.trys.push([1,3,,4]),o=t,a=n,s={},[4,r()];case 2:return o[a]=(s.value=i.sent(),s.state=0,s),[3,4];case 3:return u=i.sent(),t[n]=u instanceof P?{state:u.state,error:"".concat(u.name,": ").concat(u.message)}:{state:-3,error:u instanceof Error?"".concat(u.name,": ").concat(u.message):String(u)},[3,4];case 4:return[2]}}))}))})))];case 1:return a.sent(),[2,t]}}))}))}function L(e,t){return-1!==e.indexOf(t)}function A(e,t){return-1!==e.indexOf(t)}function x(e){return Object.getOwnPropertyNames(e)}function D(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=function(t){if("string"==typeof t){if(L(e,t))return{value:!0}}else if(null!=function(e,t){if("find"in e)return e.find(t);for(var n=0;n<e.length;n++)if(t(e[n],n,e))return e[n]}(e,(function(e){return t.test(e)})))return{value:!0}},i=0,o=t;i<o.length;i++){var a=r(o[i]);if("object"==typeof a)return a.value}return!1}function k(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}var O={detectAppVersion:function(e){var t=e.appVersion;return 0===t.state&&(/headless/i.test(t.value)?S:/electron/i.test(t.value)?d:/slimerjs/i.test(t.value)?b:void 0)},detectDocumentAttributes:function(e){var t=e.documentElementKeys;return 0===t.state&&(D(t.value,"selenium","webdriver","driver")?m:void 0)},detectErrorTrace:function(e){var t=e.errorTrace;return 0===t.state&&(/PhantomJS/i.test(t.value)?p:void 0)},detectEvalLengthInconsistency:function(e){var t=e.evalLength,n=e.browserKind,r=e.browserEngineKind;if(0===t.state&&0===n.state&&0===r.state){var i=t.value;return"unknown"!==r.value&&(37===i&&!L(["webkit","gecko"],r.value)||39===i&&!L(["internet_explorer"],n.value)||33===i&&!L(["chromium"],r.value))}},detectFunctionBind:function(e){if(-2===e.functionBind.state)return p},detectLanguagesLengthInconsistency:function(e){var t=e.languages;if(0===t.state&&0===t.value.length)return S},detectNotificationPermissions:function(e){var t=e.notificationPermissions,n=e.browserKind;return 0===n.state&&"chrome"===n.value&&(0===t.state&&t.value?S:void 0)},detectPluginsArray:function(e){var t=e.pluginsArray;if(0===t.state&&!t.value)return S},detectPluginsLengthInconsistency:function(e){var t=e.pluginsLength,n=e.android,r=e.browserKind,i=e.browserEngineKind;if(0===t.state&&0===n.state&&0===r.state&&0===i.state&&"chrome"===r.value&&!n.value&&"chromium"===i.value)return 0===t.value?S:void 0},detectProcess:function(e){var t,n=e.process;return 0===n.state&&("renderer"===n.value.type||null!=(null===(t=n.value.versions)||void 0===t?void 0:t.electron)?d:void 0)},detectUserAgent:function(e){var t=e.userAgent;return 0===t.state&&(/PhantomJS/i.test(t.value)?p:/Headless/i.test(t.value)?S:/Electron/i.test(t.value)?d:/slimerjs/i.test(t.value)?b:void 0)},detectWebDriver:function(e){var t=e.webDriver;if(0===t.state&&t.value)return S},detectWebGL:function(e){var t=e.webGL;if(0===t.state){var n=t.value,r=n.vendor,i=n.renderer;if("Brian Paul"==r&&"Mesa OffScreen"==i)return S}},detectWindowExternal:function(e){var t=e.windowExternal;return 0===t.state&&(/Sequentum/i.test(t.value)?h:void 0)},detectWindowSize:function(e){var t=e.windowSize,n=e.documentFocus;if(0!==t.state||0!==n.state)return!1;var r=t.value,i=r.outerWidth,o=r.outerHeight;return n.value&&0===i&&0===o?S:void 0},detectMimeTypesConsistent:function(e){var t=e.mimeTypesConsistent;if(0===t.state&&!t.value)return E},detectProductSub:function(e){var t=e.productSub,n=e.browserKind;return 0===t.state&&0===n.state&&("chrome"!==n.value&&"safari"!==n.value&&"opera"!==n.value&&"wechat"!==n.value||"20030107"===t.value?void 0:E)},detectDistinctiveProperties:function(e){var t=e.distinctiveProps;if(0!==t.state)return!1;var n,r=t.value;for(n in r)if(r[n])return n}};function R(){var e,t,n=window,r=navigator;return k(["webkitPersistentStorage"in r,"webkitTemporaryStorage"in r,0===r.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in n,"BatteryManager"in n,"webkitMediaStream"in n,"webkitSpeechGrammar"in n])>=5?"chromium":k(["ApplePayError"in n,"CSSPrimitiveValue"in n,"Counter"in n,0===r.vendor.indexOf("Apple"),"getStorageUpdates"in r,"WebKitMediaKeys"in n])>=4?"webkit":k(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4?"gecko":"unknown"}var j={android:function(){var e=R(),t="chromium"===e,n="gecko"===e;if(!t&&!n)return!1;var r=window;return k(["onorientationchange"in r,"orientation"in r,t&&!("SharedWorker"in r),n&&/android/i.test(navigator.appVersion)])>=2},browserKind:function(){var e,t=null===(e=navigator.userAgent)||void 0===e?void 0:e.toLowerCase();return A(t,"edg/")?"edge":A(t,"trident")||A(t,"msie")?"internet_explorer":A(t,"wechat")?"wechat":A(t,"firefox")?"firefox":A(t,"opera")||A(t,"opr")?"opera":A(t,"chrome")?"chrome":A(t,"safari")?"safari":"unknown"},browserEngineKind:R,documentFocus:function(){return void 0!==document.hasFocus&&document.hasFocus()},userAgent:function(){return navigator.userAgent},appVersion:function(){var e=navigator.appVersion;if(null==e)throw new P(-1,"navigator.appVersion is undefined");return e},rtt:function(){if(void 0===navigator.connection)throw new P(-1,"navigator.connection is undefined");if(void 0===navigator.connection.rtt)throw new P(-1,"navigator.connection.rtt is undefined");return navigator.connection.rtt},windowSize:function(){return{outerWidth:window.outerWidth,outerHeight:window.outerHeight,innerWidth:window.innerWidth,innerHeight:window.innerHeight}},pluginsLength:function(){if(void 0===navigator.plugins)throw new P(-1,"navigator.plugins is undefined");if(void 0===navigator.plugins.length)throw new P(-3,"navigator.plugins.length is undefined");return navigator.plugins.length},pluginsArray:function(){if(void 0===navigator.plugins)throw new P(-1,"navigator.plugins is undefined");if(void 0===window.PluginArray)throw new P(-1,"window.PluginArray is undefined");return navigator.plugins instanceof PluginArray},errorTrace:function(){try{null[0]()}catch(e){if(e instanceof Error&&null!=e.stack)return e.stack.toString()}throw new P(-3,"errorTrace signal unexpected behaviour")},productSub:function(){var e=navigator.productSub;if(void 0===e)throw new P(-1,"navigator.productSub is undefined");return e},windowExternal:function(){if(void 0===window.external)throw new P(-1,"window.external is undefined");var e=window.external;if("function"!=typeof e.toString)throw new P(-2,"window.external.toString is not a function");return e.toString()},mimeTypesConsistent:function(){if(void 0===navigator.mimeTypes)throw new P(-1,"navigator.mimeTypes is undefined");for(var e=navigator.mimeTypes,t=Object.getPrototypeOf(e)===MimeTypeArray.prototype,n=0;n<e.length;n++)t&&(t=Object.getPrototypeOf(e[n])===MimeType.prototype);return t},evalLength:function(){return eval.toString().length},webGL:function(){var e=document.createElement("canvas");if("function"!=typeof e.getContext)throw new P(-2,"HTMLCanvasElement.getContext is not a function");var t=e.getContext("webgl");if(null===t)throw new P(-4,"WebGLRenderingContext is null");if("function"!=typeof t.getParameter)throw new P(-2,"WebGLRenderingContext.getParameter is not a function");return{vendor:t.getParameter(t.VENDOR),renderer:t.getParameter(t.RENDERER)}},webDriver:function(){if(null==navigator.webdriver)throw new P(-1,"navigator.webdriver is undefined");return navigator.webdriver},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))"chromium"===R()&&k([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&n.push(i.split(","))}return n},notificationPermissions:function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:if(void 0===window.Notification)throw new P(-1,"window.Notification is undefined");if(void 0===navigator.permissions)throw new P(-1,"navigator.permissions is undefined");if("function"!=typeof(e=navigator.permissions).query)throw new P(-2,"navigator.permissions.query is not a function");n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.query({name:"notifications"})];case 2:return t=n.sent(),[2,"denied"===window.Notification.permission&&"prompt"===t.state];case 3:throw n.sent(),new P(-3,"notificationPermissions signal unexpected behaviour");case 4:return[2]}}))}))},documentElementKeys:function(){if(void 0===document.documentElement)throw new P(-1,"document.documentElement is undefined");var e=document.documentElement;if("function"!=typeof e.getAttributeNames)throw new P(-2,"document.documentElement.getAttributeNames is not a function");return e.getAttributeNames()},functionBind:function(){if(void 0===Function.prototype.bind)throw new P(-2,"Function.prototype.bind is undefined");return Function.prototype.bind.toString()},process:function(){var e=window.process,t="window.process is";if(void 0===e)throw new P(-1,"".concat(t," undefined"));if(e&&"object"!=typeof e)throw new P(-3,"".concat(t," not an object"));return e},distinctiveProps:function(){var e,t,n=((e={})[a]={window:["awesomium"]},e[u]={window:["RunPerfTest"]},e[s]={window:["CefSharp"]},e[c]={window:["emit"]},e[l]={window:["fmget_targets"]},e[f]={window:["geb"]},e[v]={window:["__nightmare","nightmare"]},e[w]={window:["__phantomas"]},e[p]={window:["callPhantom","_phantom"]},e[g]={window:["spawn"]},e[m]={window:["_Selenium_IDE_Recorder","_selenium","calledSelenium",/^([a-z]){3}_.*_(Array|Promise|Symbol)$/],document:["__selenium_evaluate","selenium-evaluate","__selenium_unwrapped"]},e[y]={window:["wdioElectron"]},e[_]={window:["webdriver","__webdriverFunc","__lastWatirAlert","__lastWatirConfirm","__lastWatirPrompt","_WEBDRIVER_ELEM_CACHE","ChromeDriverw"],document:["__webdriver_script_fn","__driver_evaluate","__webdriver_evaluate","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__fxdriver_unwrapped","__webdriver_script_fn","__webdriver_script_func","__webdriver_script_function","$cdc_asdjflasutopfhvcZLmcf","$cdc_asdjflasutopfhvcZLmcfl_","$chrome_asyncScriptInfo","__$webdriverAsyncExecutor"]},e[S]={window:["domAutomation","domAutomationController"]},e),r={},i=x(window),d=[];for(t in void 0!==window.document&&(d=x(window.document)),n){var h=n[t];if(void 0!==h){var b=void 0!==h.window&&D.apply(void 0,o([i],h.window,!1)),E=!(void 0===h.document||!d.length)&&D.apply(void 0,o([d],h.document,!1));r[t]=b||E}}return r}},K=function(){function e(){this.components=void 0,this.detections=void 0}return e.prototype.getComponents=function(){return this.components},e.prototype.getDetections=function(){return this.detections},e.prototype.detect=function(){if(void 0===this.components)throw new Error("D can't be called before C");var e=function(e,t){var n={},r={bot:!1};for(var i in t){var o=(0,t[i])(e),a={bot:!1};"string"==typeof o?a={bot:!0,botKind:o}:o&&(a={bot:!0,botKind:E}),n[i]=a,a.bot&&(r=a)}return[n,r]}(this.components,O),t=e[0],n=e[1];return this.detections=t,n},e.prototype.collect=function(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return e=this,[4,C(j)];case 1:return e.components=t.sent(),[2,this.components]}}))}))},e}();return e.runInternal=(e,n,o)=>{try{let u,s;var a=function(e){return(void 0===e?{}:e).monitoring,r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return[4,(e=new K).collect()];case 1:return t.sent(),[2,e]}}))}))}({monitoring:!1});if(!a)return void((null==e?void 0:e.LogCustomData)&&e.LogCustomData("SystemEvent","0","Error",t,{message:"library not loaded"}));a.then((r=>{s=r.detect(),u=r.getDetections();let i={};Object.keys(u).forEach((e=>{!0===u[e].bot&&(i[e]=u[e].botKind)}));let a={r:s.bot?"1":"0"};s.bot&&(a.k=s.botKind),(null==e?void 0:e.LogCustomData)&&(e.LogCustomData("SystemEvent","0","Result",t,a),e.LogCustomData("SystemEvent","0","Detections",t,i)),o&&(console.log("[B] result: ",s),console.log("[B] detections: ",i)),(null==n?void 0:n.set)&&(s.bot?n.set("SRCHHPGUSR","B",s.botKind,!0,"/"):n.set("SRCHHPGUSR","B","0",!0,"/"))})).catch((n=>{(null==e?void 0:e.LogCustomData)&&e.LogCustomData("SystemEvent","0","Error",t,n)}))}catch(n){e&&e.LogCustomData&&e.LogCustomData("SystemEvent","0","Error",t,n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({});