Built motion from commit 8dca541896b0ff92bb88a36cc13f4f385b593b4b. Version 3.0.0...
[motion-next.git] / server / services / routing / server / applications / gotop.js
index 5540f73..f180e29 100644 (file)
@@ -1 +1 @@
-const a1207_0x336b=['lodash','[%s][GOTOP]\x20priority\x20%s\x20not\x20found','next','join','findIndex','info','[%s][GOTOP]\x20priority\x20%s\x20found\x20at\x20index:\x20%s','error','validate','priority','priority\x20is\x20a\x20number\x20and\x20it\x20is\x20required','consequence','stringify','length','../../../../config/logger','stop','map','routing','[%s][GOTOP]\x20%s'];(function(_0x1968f7,_0x336be3){const _0x134f83=function(_0x4dca30){while(--_0x4dca30){_0x1968f7['push'](_0x1968f7['shift']());}};_0x134f83(++_0x336be3);}(a1207_0x336b,0x8a));const a1207_0x134f=function(_0x1968f7,_0x336be3){_0x1968f7=_0x1968f7-0x0;let _0x134f83=a1207_0x336b[_0x1968f7];return _0x134f83;};const _0x395a53=a1207_0x134f;'use strict';const schema=require('validate'),_=require(_0x395a53('0xe')),logger=require(_0x395a53('0x9'))(_0x395a53('0xc')),gotop=schema({'priority':{'type':'number','required':!![],'message':_0x395a53('0x5')}});exports[_0x395a53('0x6')]=function(_0x4dca30,_0x14e20f){return function(_0x27e1b8){const _0x30bd9b=a1207_0x134f;try{const _0x156045={'priority':_0x14e20f[0x0]},_0x4699ce=gotop[_0x30bd9b('0x3')](_0x156045,{'typecast':!![]});if(_0x4699ce[_0x30bd9b('0x8')])logger[_0x30bd9b('0x2')](_0x30bd9b('0xd'),_0x4dca30,_[_0x30bd9b('0xb')](_0x4699ce,'message')[_0x30bd9b('0x11')](',\x20')),_0x27e1b8[_0x30bd9b('0xa')]();else{logger[_0x30bd9b('0x0')]('[%s][GOTOP]\x20priority\x20%s',_0x4dca30,_0x156045['priority']);if(_0x156045[_0x30bd9b('0x4')]){const _0x3891c4=_[_0x30bd9b('0x12')](_0x27e1b8['rules'](),{'p':_0x156045[_0x30bd9b('0x4')]});_0x3891c4>=0x0?(logger[_0x30bd9b('0x0')](_0x30bd9b('0x1'),_0x4dca30,_0x156045[_0x30bd9b('0x4')]||'next',_0x3891c4),_0x27e1b8[_0x30bd9b('0x10')](_0x3891c4)):(logger['info'](_0x30bd9b('0xf'),_0x4dca30,_0x156045[_0x30bd9b('0x4')]||_0x30bd9b('0x10')),_0x27e1b8[_0x30bd9b('0xa')]());}else _0x27e1b8[_0x30bd9b('0x10')]();}}catch(_0x3b178f){logger[_0x30bd9b('0x2')](_0x30bd9b('0xd'),_0x4dca30,JSON[_0x30bd9b('0x7')](_0x3b178f)),_0x27e1b8[_0x30bd9b('0xa')]();}};};
\ No newline at end of file
+const a1207_0x5685=['error','info','map','validate','priority','length','next','[%s][GOTOP]\x20priority\x20%s\x20not\x20found','routing','[%s][GOTOP]\x20priority\x20%s','findIndex','priority\x20is\x20a\x20number\x20and\x20it\x20is\x20required','stop','[%s][GOTOP]\x20%s','[%s][GOTOP]\x20priority\x20%s\x20found\x20at\x20index:\x20%s','lodash','consequence'];(function(_0x39e747,_0x5685d5){const _0x4a8224=function(_0x1b2169){while(--_0x1b2169){_0x39e747['push'](_0x39e747['shift']());}};_0x4a8224(++_0x5685d5);}(a1207_0x5685,0xaa));const a1207_0x4a82=function(_0x39e747,_0x5685d5){_0x39e747=_0x39e747-0x0;let _0x4a8224=a1207_0x5685[_0x39e747];return _0x4a8224;};const _0xf8a873=a1207_0x4a82;'use strict';const schema=require(_0xf8a873('0x3')),_=require(_0xf8a873('0xf')),logger=require('../../../../config/logger')(_0xf8a873('0x8')),gotop=schema({'priority':{'type':'number','required':!![],'message':_0xf8a873('0xb')}});exports[_0xf8a873('0x10')]=function(_0x1b2169,_0x803469){return function(_0x152ce5){const _0x5ae397=a1207_0x4a82;try{const _0x1b6e5c={'priority':_0x803469[0x0]},_0x599010=gotop[_0x5ae397('0x3')](_0x1b6e5c,{'typecast':!![]});if(_0x599010[_0x5ae397('0x5')])logger[_0x5ae397('0x0')]('[%s][GOTOP]\x20%s',_0x1b2169,_[_0x5ae397('0x2')](_0x599010,'message')['join'](',\x20')),_0x152ce5[_0x5ae397('0xc')]();else{logger[_0x5ae397('0x1')](_0x5ae397('0x9'),_0x1b2169,_0x1b6e5c[_0x5ae397('0x4')]);if(_0x1b6e5c[_0x5ae397('0x4')]){const _0x589845=_[_0x5ae397('0xa')](_0x152ce5['rules'](),{'p':_0x1b6e5c[_0x5ae397('0x4')]});_0x589845>=0x0?(logger[_0x5ae397('0x1')](_0x5ae397('0xe'),_0x1b2169,_0x1b6e5c['priority']||_0x5ae397('0x6'),_0x589845),_0x152ce5[_0x5ae397('0x6')](_0x589845)):(logger[_0x5ae397('0x1')](_0x5ae397('0x7'),_0x1b2169,_0x1b6e5c['priority']||_0x5ae397('0x6')),_0x152ce5['stop']());}else _0x152ce5['next']();}}catch(_0x564f21){logger['error'](_0x5ae397('0xd'),_0x1b2169,JSON['stringify'](_0x564f21)),_0x152ce5[_0x5ae397('0xc')]();}};};
\ No newline at end of file