UNPKG

trakk-js

Version:

Automatic Documentation Generation - Real-Time Code Execution Flow - Testing / Debugging - Onboarding - for Front-End Applications

1 lines 2.06 kB
function _0x14c4(){var _0x288703=['node_modules/trakk-js/utils/d/cd.js','443039OFcEBt','897852nbbnvS','9uSHoWt','local-clear-db-route','jIsZt','data','sendStatus','136746tPxeWG','read','159677DjSuqL','2092962hHjmWE','48plGxUi','7826312FYolZo','message','312885PDvtZH'];_0x14c4=function(){return _0x288703;};return _0x14c4();}(function(_0xde1492,_0x11b698){var _0x280179=_0x32f2,_0x43b366=_0xde1492();while(!![]){try{var _0x5cca44=parseInt(_0x280179(0x7f))/0x1+parseInt(_0x280179(0x80))/0x2+parseInt(_0x280179(0x76))/0x3+-parseInt(_0x280179(0x7a))/0x4*(-parseInt(_0x280179(0x7d))/0x5)+-parseInt(_0x280179(0x79))/0x6+parseInt(_0x280179(0x78))/0x7+-parseInt(_0x280179(0x7b))/0x8*(parseInt(_0x280179(0x81))/0x9);if(_0x5cca44===_0x11b698)break;else _0x43b366['push'](_0x43b366['shift']());}catch(_0x1f1c72){_0x43b366['push'](_0x43b366['shift']());}}}(_0x14c4,0x5dca6));import{dbService}from'./gd.js';function _0x32f2(_0x3896f8,_0x231712){var _0x14c4e7=_0x14c4();return _0x32f2=function(_0x32f297,_0x1455aa){_0x32f297=_0x32f297-0x73;var _0x246a40=_0x14c4e7[_0x32f297];return _0x246a40;},_0x32f2(_0x3896f8,_0x231712);}import _0x56b045 from'../rer.js';export default function (pathToClonedAppRootFolder){var _0x5ecfce=_0x32f2,QprZLx={'jIsZt':function(callee,param1){return callee(param1);},'Vuell':_0x5ecfce(0x7e)};return async function(req,res){var _0x36b75c=_0x5ecfce;try{var CLATtK='2|3|4|1|0'['split']('|'),HJMDOv=0x0;while(!![]){switch(CLATtK[HJMDOv++]){case'0':res[_0x36b75c(0x75)](0xc8);continue;case'1':dbService['db']['write']();continue;case'2':dbService['connect'](pathToClonedAppRootFolder);continue;case'3':dbService['db'][_0x36b75c(0x77)]();continue;case'4':dbService['db'][_0x36b75c(0x74)]={'totalCount':0x0,'logs':[],'ignored':{},'screenshots':{},'lastTrueOrderSent':undefined};continue;}break;}}catch(error){await QprZLx[_0x36b75c(0x73)](_0x56b045,{'error':JSON['stringify']({'name':error?.['name'],'message':error?.[_0x36b75c(0x7c)],'stack':error?.['stack']},null,0x2),'file':QprZLx['Vuell'],'context':_0x36b75c(0x82)}),res[_0x36b75c(0x75)](0x1f4);}};}