trakk-js
Version:
Automatic Documentation Generation - Real-Time Code Execution Flow - Testing / Debugging - Onboarding - for Front-End Applications
1 lines • 2.11 kB
JavaScript
(function(_0x1a18c1,_0x20586f){const _0x3f7c53=_0x1025,_0x2d497f=_0x1a18c1();while(!![]){try{const _0x1844cb=-parseInt(_0x3f7c53(0x8a))/0x1+-parseInt(_0x3f7c53(0x83))/0x2+parseInt(_0x3f7c53(0x81))/0x3*(parseInt(_0x3f7c53(0x7f))/0x4)+parseInt(_0x3f7c53(0x87))/0x5+parseInt(_0x3f7c53(0x91))/0x6+parseInt(_0x3f7c53(0x8e))/0x7*(parseInt(_0x3f7c53(0x85))/0x8)+parseInt(_0x3f7c53(0x84))/0x9*(parseInt(_0x3f7c53(0x88))/0xa);if(_0x1844cb===_0x20586f)break;else _0x2d497f['push'](_0x2d497f['shift']());}catch(_0x3c75a5){_0x2d497f['push'](_0x2d497f['shift']());}}}(_0x5d5c,0xebe3a));import{dbService}from'./gd.js';function _0x1025(_0x41ae6d,_0x2abec7){const _0x5d5c0b=_0x5d5c();return _0x1025=function(_0x1025b1,_0x5e5fb9){_0x1025b1=_0x1025b1-0x7f;let _0x37a6af=_0x5d5c0b[_0x1025b1];return _0x37a6af;},_0x1025(_0x41ae6d,_0x2abec7);}import _0x1eb207 from'./ri.js';function _0x5d5c(){const _0x54e8e3=['4427905hcnzku','9262670ULqlfN','ullmR','1555049BzMyvZ','oMPGb','node_modules/trakk-js/utils/d/il.js','stringify','143024jImtGY','name','sendStatus','6833142fqONlt','write','query','stack','4xgYhgG','message','1036086ZbBbRo','ignored','3633696rImkqR','9EiIoNG','408enYkgS','MLfLB'];_0x5d5c=function(){return _0x54e8e3;};return _0x5d5c();}import _0x18d4d8 from'../rer.js';export default function (pathToClonedAppRootFolder){const _0x4177dc=_0x1025,CpMmro={'ullmR':function(callee,param1){return callee(param1);},'MLfLB':_0x4177dc(0x8c),'oMPGb':'ignore-log-route'};return async function(req,res){const _0x3a2fc5=_0x4177dc;try{dbService['connect'](pathToClonedAppRootFolder),dbService['db']['read']();const {id:id}=req[_0x3a2fc5(0x93)];dbService['db']['data'][_0x3a2fc5(0x82)][id]=!![],dbService['db']['write'](),await CpMmro[_0x3a2fc5(0x89)](_0x1eb207,dbService['db']),dbService['db'][_0x3a2fc5(0x92)](),res['sendStatus'](0xc8);}catch(error){await CpMmro[_0x3a2fc5(0x89)](_0x18d4d8,{'error':JSON[_0x3a2fc5(0x8d)]({'name':error?.[_0x3a2fc5(0x8f)],'message':error?.[_0x3a2fc5(0x80)],'stack':error?.[_0x3a2fc5(0x94)]},null,0x2),'file':CpMmro[_0x3a2fc5(0x86)],'context':CpMmro[_0x3a2fc5(0x8b)]}),res[_0x3a2fc5(0x90)](0x1f4);}};}