web3d
Version:
MetaEditor — ReactJS Pixel Streaming library, helps integrate Unreal Engine v.5 in the browser. Allows you to send commands and get callbacks from the stream server with launched Unreal Engine.
1 lines • 2.52 kB
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _url=_interopRequireDefault(require("url")),_MetaCommands=_interopRequireDefault(require("./MetaCommands")),_Request=_interopRequireDefault(require("./Request"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}const a3_0x54c126=a3_0x469f;(function(a,b){for(const c=a3_0x469f,d=a();;)try{const a=-parseInt(c(112))/1*(-parseInt(c(124))/2)+parseInt(c(133))/3+parseInt(c(107))/4*(-parseInt(c(123))/5)+-parseInt(c(103))/6*(parseInt(c(128))/7)+parseInt(c(105))/8*(-parseInt(c(110))/9)+-parseInt(c(106))/10*(-parseInt(c(111))/11)+parseInt(c(114))/12*(parseInt(c(127))/13);if(a===b)break;else d.push(d.shift())}catch(a){d.push(d.shift())}})(a3_0x1cbf,877402);function a3_0x469f(a,b){const c=a3_0x1cbf();return a3_0x469f=function(a){a-=100;let b=c[a];return b},a3_0x469f(a,b)}const metaSecondsToKillStream=600,metaApiUrl=a3_0x54c126(122),metaLicenseUrl=a3_0x54c126(119),metaHostnames=[a3_0x54c126(117),a3_0x54c126(116)],metaErrorMessage=[a3_0x54c126(132),a3_0x54c126(121)+metaLicenseUrl][a3_0x54c126(101)]("\n");class MetaLogic extends _MetaCommands.default{constructor(...a){super(...a),this.initLogic()}async["initLogic"](){const a=a3_0x54c126;if(typeof window===a(129))return;let b=!1;const c=_url.default[a(126)](document.location[a(102)],!0,!0);for(let d of metaHostnames)if(c[a(104)][a(120)]()!==d[a(120)]()){b=!0;break}if(!b){this[a(130)]();const b={referer:document[a(109)].href},c="\u2014"[a(100)](50),d="\n"[a(100)](3),e="\n"[a(100)](1),f=[d,c,e,metaErrorMessage,e,c,d][a(101)]("\n"),g=[a(113),a(115),a(131)][a(101)]("; ");console[a(125)]("%c"+f,g)}}["streamKiller"](){const a=setInterval(()=>{const b=a3_0x469f;this[b(108)]&&(clearInterval(a),setTimeout(()=>{this[b(118)](),alert(metaErrorMessage)},600000))},1e3)}}var _default=MetaLogic;exports.default=_default;function a3_0x1cbf(){const a=["error","parse","13TKZweU","221662xQtyaC","undefined","streamKiller","text-shadow: rgb(0, 0, 0) 2px 6px 7px","This version of MetaEditor is not licensed!","2030493kTUXMI","repeat","join","href","258TbwUEc","hostname","56UFDHdO","10rZmXuo","4LuBTEG","initialised","location","190611uaJASr","9043529fHplBF","221297qGsxhE","font-size: 16px","2734812WMdnhi","color: rgb(255, 255, 255)","127.0.0.1","localhost","exit","https://metaeditor.io/pricing/","toLowerCase","Please contact with support ","https://api.metaeditor.io/verify","1123830VwxZrJ","8nLFDLz"];return a3_0x1cbf=function(){return a},a3_0x1cbf()}