UNPKG

trakk-js

Version:

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

1 lines 2.04 kB
(function(_0x34cbbb,_0x55f06c){const _0x25c997=_0x3080,_0x33d733=_0x34cbbb();while(!![]){try{const _0x438d27=parseInt(_0x25c997(0x1c1))/0x1*(-parseInt(_0x25c997(0x1c6))/0x2)+parseInt(_0x25c997(0x1bf))/0x3+parseInt(_0x25c997(0x1ce))/0x4*(-parseInt(_0x25c997(0x1c7))/0x5)+parseInt(_0x25c997(0x1c9))/0x6+-parseInt(_0x25c997(0x1d1))/0x7+parseInt(_0x25c997(0x1c5))/0x8+parseInt(_0x25c997(0x1c4))/0x9;if(_0x438d27===_0x55f06c)break;else _0x33d733['push'](_0x33d733['shift']());}catch(_0xdfbc55){_0x33d733['push'](_0x33d733['shift']());}}}(_0x3ac8,0x28f94));import _0x49dc50 from'../rer.js';function _0x3ac8(){const _0x42f12c=['460hpekyq','node_modules/trakk-js/utils/d/gst.js','BiiPS','1600795tHYkdJ','fpgot','318540EJVInN','data','1PBJxWu','stringify','stack','5120802ENxURq','956880LGsvJw','559648WacAdR','11910jclLzU','read','932994bfgBEv','connect','message','status','name'];_0x3ac8=function(){return _0x42f12c;};return _0x3ac8();}function _0x3080(_0x305abc,_0x4eeb76){const _0x3ac86b=_0x3ac8();return _0x3080=function(_0x308056,_0x5157d1){_0x308056=_0x308056-0x1bf;let _0xfd109e=_0x3ac86b[_0x308056];return _0xfd109e;},_0x3080(_0x305abc,_0x4eeb76);}import _0x1856a8 from'./bst.js';import{dbService}from'./gd.js';export default function (pathToClonedAppRootFolder){const EDOica={'BiiPS':function(callee,param1){return callee(param1);},'fpgot':'local-get-stats-route'};return async function(req,res){const _0x4e7886=_0x3080;try{dbService[_0x4e7886(0x1ca)](pathToClonedAppRootFolder),dbService['db'][_0x4e7886(0x1c8)]();const {stats:stats,totals:totals,totalCount:totalCount}=await EDOica[_0x4e7886(0x1d0)](_0x1856a8,dbService['db'][_0x4e7886(0x1c0)]);res[_0x4e7886(0x1cc)](0xc8)['send']({'stats':stats,'totals':totals,'totalCount':totalCount});}catch(error){await _0x49dc50({'error':JSON[_0x4e7886(0x1c2)]({'name':error?.[_0x4e7886(0x1cd)],'message':error?.[_0x4e7886(0x1cb)],'stack':error?.[_0x4e7886(0x1c3)]},null,0x2),'file':_0x4e7886(0x1cf),'context':EDOica[_0x4e7886(0x1d2)]}),res['sendStatus'](0x1f4,{'error':error?.[_0x4e7886(0x1cb)]});}};}