@picoflow/core 1.0.0 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const a0_0x4584d7=a0_0x4ebb;(function(_0x5ec5df,_0x1f5423){const _0x582ef6=a0_0x4ebb,_0x32230e=_0x5ec5df();while(!![]){try{const _0x63a315=-parseInt(_0x582ef6(0x10a))/0x1*(parseInt(_0x582ef6(0xed))/0x2)+-parseInt(_0x582ef6(0xf4))/0x3+-parseInt(_0x582ef6(0xfb))/0x4*(-parseInt(_0x582ef6(0x113))/0x5)+-parseInt(_0x582ef6(0x100))/0x6+parseInt(_0x582ef6(0x105))/0x7+-parseInt(_0x582ef6(0xdd))/0x8+parseInt(_0x582ef6(0xfe))/0x9*(parseInt(_0x582ef6(0x10f))/0xa);if(_0x63a315===_0x1f5423)break;else _0x32230e['push'](_0x32230e['shift']());}catch(_0x141d9c){_0x32230e['push'](_0x32230e['shift']());}}}(a0_0x389e,0x42c7f));const a0_0x6c68d1=(function(){let _0xa3b6ae=!![];return function(_0x27b7a0,_0x294b84){const _0x4068f2=_0xa3b6ae?function(){if(_0x294b84){const _0x32dec5=_0x294b84['apply'](_0x27b7a0,arguments);return _0x294b84=null,_0x32dec5;}}:function(){};return _0xa3b6ae=![],_0x4068f2;};}()),a0_0x4b8a60=a0_0x6c68d1(this,function(){const _0x40c40b=a0_0x4ebb,_0x192baf={'bgouO':_0x40c40b(0xeb)};return a0_0x4b8a60[_0x40c40b(0xea)]()[_0x40c40b(0xf9)](_0x192baf[_0x40c40b(0xd9)])[_0x40c40b(0xea)]()[_0x40c40b(0xe0)](a0_0x4b8a60)[_0x40c40b(0xf9)](_0x40c40b(0xeb));});function a0_0x4ebb(_0x168852,_0x4e5530){const _0x1d1319=a0_0x389e();return a0_0x4ebb=function(_0x4b8a60,_0x6c68d1){_0x4b8a60=_0x4b8a60-0xd4;let _0x389e7a=_0x1d1319[_0x4b8a60];return _0x389e7a;},a0_0x4ebb(_0x168852,_0x4e5530);}a0_0x4b8a60();'use strict';var __importDefault=this&&this[a0_0x4584d7(0xe3)]||function(_0x128cf5){const _0x4a5a45=a0_0x4584d7;return _0x128cf5&&_0x128cf5[_0x4a5a45(0xd6)]?_0x128cf5:{'default':_0x128cf5};};function a0_0x389e(){const _0x3b394f=['use','ihKVw','@nestjs/common','qTxuI','SFdTg','toString','(((.+)+)+)+$','setup','298tJajka','patch','teOCE','HttpClient','defaults','uhHao','HttpStatus','1019610tcvleT','DhwOC','eFrhV','vircU','create','search','opZHo','12eJrXNr','huhRz','post','9972621mNVPMp','common','130524HNPYFo','headers','data','interceptors','saqVp','367423yQAHJT','validateStatus','message','default','delete','2207aJXYCr','blcij','response','put','jLJya','10EsrMrK','VFeIz','get','lOLKK','459995eOiIhA','ScxJU','axios','__esModule','removeHeader','request','bgouO','reject','SpFUi','client','3780424ziONiQ','statusCode','JEqcF','constructor','setHeader','qnwbQ','__importDefault','LHrEH'];a0_0x389e=function(){return _0x3b394f;};return a0_0x389e();}Object['defineProperty'](exports,a0_0x4584d7(0xd6),{'value':!![]}),exports[a0_0x4584d7(0xf0)]=void 0x0;const common_1=require(a0_0x4584d7(0xe7)),axios_1=__importDefault(require(a0_0x4584d7(0xd5)));class HttpClient{constructor(_0x3dbdfd,_0x139bf7={},_0x12d5da){const _0x5c888e=a0_0x4584d7,_0x346b6d={'uWldp':function(_0x124da5,_0x5b8e4e){return _0x124da5>=_0x5b8e4e;},'eFrhV':function(_0x425961,_0x13b423){return _0x425961<_0x13b423;},'jLJya':_0x5c888e(0xdf),'saqVp':'TdesV'};this[_0x5c888e(0xdc)]=axios_1['default'][_0x5c888e(0xf8)]({'baseURL':_0x3dbdfd,'timeout':_0x12d5da,'headers':_0x139bf7}),this['client'][_0x5c888e(0x103)][_0x5c888e(0xd8)]['use'](_0x238a97=>{return _0x238a97;},_0xffd452=>Promise[_0x5c888e(0xda)](_0xffd452)),this['client'][_0x5c888e(0x103)]['response'][_0x5c888e(0xe5)](_0x56efcd=>_0x56efcd['data'],_0x4cc071=>{const _0x2b4396=_0x5c888e;if(_0x346b6d[_0x2b4396(0x10e)]===_0x346b6d[_0x2b4396(0x104)])return _0x40650a=_0x426958,_0x346b6d['uWldp'](_0x391c5a,_0x4bd0df[_0x2b4396(0xf3)]['OK'])&&_0x346b6d[_0x2b4396(0xf6)](_0x204582,0x12c);else{const _0x1f1e66=_0x4cc071[_0x2b4396(0x10c)]?.['data']?.[_0x2b4396(0x107)]||_0x4cc071[_0x2b4396(0x107)];return Promise[_0x2b4396(0xda)](new Error(_0x1f1e66));}});}async[a0_0x4584d7(0x111)](_0xce62c1,_0x6c94bb={},_0x524421){const _0x5262b3=a0_0x4584d7,_0x3c8c63={'lOLKK':_0x5262b3(0xe4),'uhHao':function(_0x2c1e75,_0x51af8f){return _0x2c1e75<_0x51af8f;},'dswtx':function(_0x2213a8,_0x414467){return _0x2213a8??_0x414467;},'ScxJU':function(_0x2b2160,_0x16bfdf){return _0x2b2160===_0x16bfdf;},'ihKVw':_0x5262b3(0xef),'SpFUi':_0x5262b3(0x110)};let _0x559f43=common_1[_0x5262b3(0xf3)]['OK'];const _0x15ab41=_0x3c8c63['dswtx'](_0x524421,{});_0x15ab41['validateStatus']=_0x5d2273=>{const _0x1801c1=_0x5262b3;if(_0x3c8c63[_0x1801c1(0x112)]!==_0x3c8c63['lOLKK'])delete this[_0x1801c1(0xdc)][_0x1801c1(0xf1)][_0x1801c1(0x101)][_0x1801c1(0xff)][_0x4701d8];else return _0x559f43=_0x5d2273,_0x5d2273>=common_1[_0x1801c1(0xf3)]['OK']&&_0x3c8c63[_0x1801c1(0xf2)](_0x5d2273,0x12c);};try{const _0x1d4ccb=await this[_0x5262b3(0xdc)][_0x5262b3(0x111)](_0xce62c1,{'params':_0x6c94bb,..._0x15ab41});return _0x1d4ccb;}catch(_0x140fc1){if(_0x3c8c63[_0x5262b3(0xd4)](_0x3c8c63[_0x5262b3(0xe6)],_0x3c8c63[_0x5262b3(0xdb)]))return this[_0x5262b3(0xec)](this[_0x5262b3(0xdc)][_0x5262b3(0x10d)],_0x34295c,_0x1d855f,_0xc5597f);else{_0x140fc1[_0x5262b3(0xde)]=_0x559f43;throw _0x140fc1;}}}async[a0_0x4584d7(0xfd)](_0x48e063,_0x404738={},_0x25f11f){const _0x4eec7d=a0_0x4584d7;return this['setup'](this[_0x4eec7d(0xdc)][_0x4eec7d(0xfd)],_0x48e063,_0x404738,_0x25f11f);}async['put'](_0x59dbee,_0x200b15={},_0x1e6465){const _0x5ea964=a0_0x4584d7;return this[_0x5ea964(0xec)](this[_0x5ea964(0xdc)]['put'],_0x59dbee,_0x200b15,_0x1e6465);}async[a0_0x4584d7(0x109)](_0x4c9263,_0x1daa86){const _0x438f5d=a0_0x4584d7,_0x204aac={'opZHo':function(_0x2ca83b,_0x21c259){return _0x2ca83b>=_0x21c259;},'YDSxp':function(_0x166662,_0x58328d){return _0x166662??_0x58328d;}};let _0x52dc78=common_1[_0x438f5d(0xf3)]['OK'];const _0x127434=_0x204aac['YDSxp'](_0x1daa86,{});_0x127434[_0x438f5d(0x106)]=_0x473a1d=>{const _0x454c9f=_0x438f5d;return _0x52dc78=_0x473a1d,_0x204aac[_0x454c9f(0xfa)](_0x473a1d,common_1['HttpStatus']['OK'])&&_0x473a1d<0x12c;};try{const _0x2078b6=await this[_0x438f5d(0xdc)][_0x438f5d(0x109)](_0x4c9263,{..._0x1daa86});return _0x2078b6;}catch(_0x29d6b0){_0x29d6b0[_0x438f5d(0xde)]=_0x52dc78;throw _0x29d6b0;}}async['patch'](_0x2cc61c,_0x2fe72e={},_0x5aaa8d){const _0x32ea04=a0_0x4584d7;return this[_0x32ea04(0xec)](this['client'][_0x32ea04(0xee)],_0x2cc61c,_0x2fe72e,_0x5aaa8d);}[a0_0x4584d7(0xe1)](_0x25e991,_0x35582c){const _0x5b97ba=a0_0x4584d7;this[_0x5b97ba(0xdc)][_0x5b97ba(0xf1)][_0x5b97ba(0x101)][_0x5b97ba(0xff)][_0x25e991]=_0x35582c;}[a0_0x4584d7(0xd7)](_0x4988f1){const _0x1093a3=a0_0x4584d7;delete this[_0x1093a3(0xdc)][_0x1093a3(0xf1)][_0x1093a3(0x101)]['common'][_0x4988f1];}async[a0_0x4584d7(0xec)](_0x19a67b,_0x389ddd,_0x2ff99e={},_0x37278a){const _0xc2e359=a0_0x4584d7,_0x273c80={'DhwOC':function(_0x5ecee5,_0x364740){return _0x5ecee5>=_0x364740;},'qnwbQ':function(_0x487d62,_0x4f5f8a){return _0x487d62<_0x4f5f8a;},'SFdTg':function(_0x5dbf82,_0x558141){return _0x5dbf82??_0x558141;},'IxYSH':function(_0x33f628,_0x5afe16){return _0x33f628===_0x5afe16;},'blcij':_0xc2e359(0xfc),'qTxuI':_0xc2e359(0xf7)};let _0x8fa00c=common_1['HttpStatus']['OK'];const _0x4edbce=_0x273c80[_0xc2e359(0xe9)](_0x37278a,{});_0x4edbce[_0xc2e359(0x106)]=_0x5e077f=>{const _0x12d147=_0xc2e359;return _0x8fa00c=_0x5e077f,_0x273c80[_0x12d147(0xf5)](_0x5e077f,common_1['HttpStatus']['OK'])&&_0x273c80[_0x12d147(0xe2)](_0x5e077f,0x12c);};try{if(_0x273c80['IxYSH'](_0x273c80[_0xc2e359(0x10b)],_0x273c80[_0xc2e359(0x10b)])){const _0xc3c4bc=await _0x19a67b(_0x389ddd,_0x2ff99e,{..._0x4edbce});return _0xc3c4bc;}else{_0xa1d5f3[_0xc2e359(0xde)]=_0x169f31;throw _0x35a1e8;}}catch(_0x1a73a6){if(_0x273c80[_0xc2e359(0xe8)]!==_0xc2e359(0xf7))this[_0xc2e359(0xdc)]=_0x2e6936[_0xc2e359(0x108)][_0xc2e359(0xf8)]({'baseURL':_0x54f22b,'timeout':_0x36aebd,'headers':_0x1d9e1d}),this[_0xc2e359(0xdc)][_0xc2e359(0x103)][_0xc2e359(0xd8)]['use'](_0x26b6ef=>{return _0x26b6ef;},_0x1d9237=>_0xdd1d68['reject'](_0x1d9237)),this[_0xc2e359(0xdc)][_0xc2e359(0x103)]['response'][_0xc2e359(0xe5)](_0x45a217=>_0x45a217['data'],_0x585037=>{const _0x6b4893=_0xc2e359,_0x29a7e9=_0x585037['response']?.[_0x6b4893(0x102)]?.['message']||_0x585037[_0x6b4893(0x107)];return _0x19e06b[_0x6b4893(0xda)](new _0x2e091a(_0x29a7e9));});else{_0x1a73a6[_0xc2e359(0xde)]=_0x8fa00c;throw _0x1a73a6;}}}}exports['HttpClient']=HttpClient;
1
+ const a0_0x3e5953=a0_0x1387;(function(_0x33c4a8,_0x4142fa){const _0x2bd2f9=a0_0x1387,_0x581891=_0x33c4a8();while(!![]){try{const _0x1e66bf=-parseInt(_0x2bd2f9(0x12b))/0x1*(parseInt(_0x2bd2f9(0x124))/0x2)+parseInt(_0x2bd2f9(0xfd))/0x3+parseInt(_0x2bd2f9(0x130))/0x4+-parseInt(_0x2bd2f9(0x12d))/0x5+parseInt(_0x2bd2f9(0x123))/0x6*(parseInt(_0x2bd2f9(0xf9))/0x7)+-parseInt(_0x2bd2f9(0x111))/0x8*(-parseInt(_0x2bd2f9(0x122))/0x9)+parseInt(_0x2bd2f9(0x12a))/0xa*(-parseInt(_0x2bd2f9(0x127))/0xb);if(_0x1e66bf===_0x4142fa)break;else _0x581891['push'](_0x581891['shift']());}catch(_0x5d2195){_0x581891['push'](_0x581891['shift']());}}}(a0_0x3755,0x1a2c1));const a0_0x50cc34=(function(){const _0x4585cf=a0_0x1387,_0x730197={'mEGhw':'(((.+)+)+)+$','WseWm':function(_0x4f1abb,_0x23213e){return _0x4f1abb!==_0x23213e;},'dREmv':_0x4585cf(0x102),'eyIfx':'csWHp'};let _0x4d51c9=!![];return function(_0x513812,_0x4aa31c){const _0x1b0cf8=_0x4585cf;if(_0x730197['WseWm'](_0x730197[_0x1b0cf8(0x117)],_0x730197[_0x1b0cf8(0x12c)])){const _0xa081c2=_0x4d51c9?function(){const _0x3227a6=_0x1b0cf8;if(_0x4aa31c){const _0x4be192=_0x4aa31c[_0x3227a6(0x119)](_0x513812,arguments);return _0x4aa31c=null,_0x4be192;}}:function(){};return _0x4d51c9=![],_0xa081c2;}else return _0x24f9fd[_0x1b0cf8(0x10c)]()['search']('(((.+)+)+)+$')[_0x1b0cf8(0x10c)]()[_0x1b0cf8(0x120)](_0x2d1336)[_0x1b0cf8(0x11e)](_0x730197['mEGhw']);};}()),a0_0x37fe94=a0_0x50cc34(this,function(){const _0x17e368=a0_0x1387,_0x5c209a={'TTTdp':'(((.+)+)+)+$'};return a0_0x37fe94['toString']()[_0x17e368(0x11e)](_0x17e368(0x133))[_0x17e368(0x10c)]()[_0x17e368(0x120)](a0_0x37fe94)[_0x17e368(0x11e)](_0x5c209a[_0x17e368(0x104)]);});a0_0x37fe94();function a0_0x3755(){const _0x340a9e=['(((.+)+)+)+$','default','SGWNF','request','UoVIH','14SjmZNd','ZOUoP','interceptors','zfEWM','112077dKiSmM','XANBZ','__esModule','nrjvo','rkxxq','ZhKJf','jTrzG','TTTdp','setHeader','response','data','HttpStatus','bMyvc','put','statusCode','toString','CaHQF','validateStatus','defaults','get','512976tnGxWR','axios','myUqs','RlQVf','CjYmF','post','dREmv','reject','apply','patch','delete','common','create','search','use','constructor','@nestjs/common','18kFLjRN','316446CyIEuS','12416HAdhAO','setup','POqyE','22vtqDBc','defineProperty','AHKyg','255430TsbexY','25ZWMFZD','eyIfx','720005uilfAD','HttpClient','pZxIM','745612MUHjVG','client','__importDefault'];a0_0x3755=function(){return _0x340a9e;};return a0_0x3755();}'use strict';var __importDefault=this&&this[a0_0x3e5953(0x132)]||function(_0x48d182){const _0x2c6c4e=a0_0x3e5953;return _0x48d182&&_0x48d182[_0x2c6c4e(0xff)]?_0x48d182:{'default':_0x48d182};};Object[a0_0x3e5953(0x128)](exports,a0_0x3e5953(0xff),{'value':!![]}),exports[a0_0x3e5953(0x12e)]=void 0x0;const common_1=require(a0_0x3e5953(0x121)),axios_1=__importDefault(require(a0_0x3e5953(0x112)));class HttpClient{constructor(_0x52a27f,_0x2b7bcf={},_0x59c8c4){const _0x4bb366=a0_0x3e5953;this[_0x4bb366(0x131)]=axios_1[_0x4bb366(0x134)][_0x4bb366(0x11d)]({'baseURL':_0x52a27f,'timeout':_0x59c8c4,'headers':_0x2b7bcf}),this[_0x4bb366(0x131)][_0x4bb366(0xfb)][_0x4bb366(0x136)][_0x4bb366(0x11f)](_0x30a9f8=>{return _0x30a9f8;},_0x553c44=>Promise[_0x4bb366(0x118)](_0x553c44)),this[_0x4bb366(0x131)][_0x4bb366(0xfb)][_0x4bb366(0x106)][_0x4bb366(0x11f)](_0x59f1b7=>_0x59f1b7[_0x4bb366(0x107)],_0x5f240a=>{const _0x4980a1=_0x4bb366,_0x36619b=_0x5f240a[_0x4980a1(0x106)]?.[_0x4980a1(0x107)]?.['message']||_0x5f240a['message'];return Promise[_0x4980a1(0x118)](new Error(_0x36619b));});}async['get'](_0x36288c,_0x34e951={},_0x771deb){const _0x22678f=a0_0x3e5953,_0xa18a65={'PqZtP':function(_0xfa4ad5,_0x2eddb3){return _0xfa4ad5===_0x2eddb3;},'CjYmF':'VTnou','POqyE':function(_0x2a08ad,_0x45df30){return _0x2a08ad>=_0x45df30;},'wzPbm':function(_0x514f23,_0x42c33d){return _0x514f23!==_0x42c33d;},'SGWNF':_0x22678f(0xfe),'jTrzG':'BnScT','bMyvc':_0x22678f(0xf8)};let _0x5837cc=common_1[_0x22678f(0x108)]['OK'];const _0x11802b=_0x771deb??{};_0x11802b[_0x22678f(0x10e)]=_0x49a1c8=>{const _0xae38c2=_0x22678f;if(_0xa18a65['PqZtP'](_0xa18a65['CjYmF'],_0xa18a65[_0xae38c2(0x115)]))return _0x5837cc=_0x49a1c8,_0xa18a65[_0xae38c2(0x126)](_0x49a1c8,common_1[_0xae38c2(0x108)]['OK'])&&_0x49a1c8<0x12c;else{_0x250cfb[_0xae38c2(0x10b)]=_0x52cd58;throw _0x538301;}};try{if(_0xa18a65['wzPbm'](_0xa18a65['SGWNF'],_0xa18a65[_0x22678f(0x135)]))return _0x665823;else{const _0x1f8dcf=await this[_0x22678f(0x131)][_0x22678f(0x110)](_0x36288c,{'params':_0x34e951,..._0x11802b});return _0x1f8dcf;}}catch(_0x4826ce){if(_0xa18a65[_0x22678f(0x103)]===_0xa18a65[_0x22678f(0x109)]){_0x3c873c['statusCode']=_0x289932;throw _0x2beb8d;}else{_0x4826ce['statusCode']=_0x5837cc;throw _0x4826ce;}}}async[a0_0x3e5953(0x116)](_0xdcd2b,_0x50d758={},_0x350e72){const _0x4b5271=a0_0x3e5953;return this[_0x4b5271(0x125)](this[_0x4b5271(0x131)][_0x4b5271(0x116)],_0xdcd2b,_0x50d758,_0x350e72);}async[a0_0x3e5953(0x10a)](_0x2a1847,_0x3e457d={},_0x15b97b){const _0x4f7c08=a0_0x3e5953;return this['setup'](this[_0x4f7c08(0x131)]['put'],_0x2a1847,_0x3e457d,_0x15b97b);}async[a0_0x3e5953(0x11b)](_0x59039f,_0x4f9cad){const _0x1b3c27=a0_0x3e5953,_0x48c85e={'rkxxq':function(_0x54cba9,_0x5de6f4){return _0x54cba9>=_0x5de6f4;},'AHKyg':function(_0x4b0848,_0x189931){return _0x4b0848<_0x189931;},'oKKYW':function(_0x26b270,_0x20343d){return _0x26b270??_0x20343d;}};let _0x8dab2e=common_1[_0x1b3c27(0x108)]['OK'];const _0x3b7785=_0x48c85e['oKKYW'](_0x4f9cad,{});_0x3b7785[_0x1b3c27(0x10e)]=_0x7b091b=>{const _0x7b19ba=_0x1b3c27;return _0x8dab2e=_0x7b091b,_0x48c85e[_0x7b19ba(0x101)](_0x7b091b,common_1[_0x7b19ba(0x108)]['OK'])&&_0x48c85e[_0x7b19ba(0x129)](_0x7b091b,0x12c);};try{if(_0x1b3c27(0x10d)===_0x1b3c27(0x10d)){const _0x22dbfb=await this['client'][_0x1b3c27(0x11b)](_0x59039f,{..._0x4f9cad});return _0x22dbfb;}else return this[_0x1b3c27(0x125)](this[_0x1b3c27(0x131)][_0x1b3c27(0x116)],_0x401d1a,_0x2b78db,_0x910c1e);}catch(_0x16ca1a){_0x16ca1a['statusCode']=_0x8dab2e;throw _0x16ca1a;}}async[a0_0x3e5953(0x11a)](_0x12aa0c,_0x12a1d9={},_0x22963e){const _0x3ed1c6=a0_0x3e5953;return this[_0x3ed1c6(0x125)](this['client'][_0x3ed1c6(0x11a)],_0x12aa0c,_0x12a1d9,_0x22963e);}[a0_0x3e5953(0x105)](_0x590b97,_0x834009){const _0x388a86=a0_0x3e5953;this[_0x388a86(0x131)][_0x388a86(0x10f)]['headers']['common'][_0x590b97]=_0x834009;}['removeHeader'](_0x469921){const _0x28cceb=a0_0x3e5953;delete this[_0x28cceb(0x131)][_0x28cceb(0x10f)]['headers'][_0x28cceb(0x11c)][_0x469921];}async['setup'](_0x38f563,_0x157dd0,_0x5b0081={},_0xb08230){const _0x401aa5=a0_0x3e5953,_0x400310={'RlQVf':function(_0x1116ec,_0x338472){return _0x1116ec>=_0x338472;},'nrjvo':function(_0x3b39cf,_0x59a824){return _0x3b39cf<_0x59a824;},'zfEWM':function(_0x4078b0,_0x554cb5){return _0x4078b0!==_0x554cb5;},'ZOUoP':_0x401aa5(0x113)};let _0x211995=common_1[_0x401aa5(0x108)]['OK'];const _0x1f11b2=_0xb08230??{};_0x1f11b2['validateStatus']=_0x2dd9fc=>{const _0x3c24a9=_0x401aa5;return _0x211995=_0x2dd9fc,_0x400310[_0x3c24a9(0x114)](_0x2dd9fc,common_1['HttpStatus']['OK'])&&_0x400310[_0x3c24a9(0x100)](_0x2dd9fc,0x12c);};try{if(_0x400310[_0x401aa5(0xfc)](_0x400310[_0x401aa5(0xfa)],_0x401aa5(0x12f))){const _0x2dc991=await _0x38f563(_0x157dd0,_0x5b0081,{..._0x1f11b2});return _0x2dc991;}else return this[_0x401aa5(0x125)](this[_0x401aa5(0x131)][_0x401aa5(0x10a)],_0x1c2860,_0x345ed6,_0xa6fe40);}catch(_0x4c0012){_0x4c0012[_0x401aa5(0x10b)]=_0x211995;throw _0x4c0012;}}}function a0_0x1387(_0x528412,_0x1b2b19){const _0x596511=a0_0x3755();return a0_0x1387=function(_0x37fe94,_0x50cc34){_0x37fe94=_0x37fe94-0xf8;let _0x375576=_0x596511[_0x37fe94];return _0x375576;},a0_0x1387(_0x528412,_0x1b2b19);}exports[a0_0x3e5953(0x12e)]=HttpClient;
@@ -1 +1 @@
1
- function a1_0x5033(){const _0x324b0d=['1166776JDAqhk','3XBqKmF','toString','(((.+)+)+)+$','125092UFSnQx','./http-client','88662ekTEqn','1473020dmxnfL','96cPeEmD','CoreConfig','defineProperty','1081864wtymHi','716071nongnq','2205540GWoUWw','SelfClient','HttpClient','search','SFTSl','constructor'];a1_0x5033=function(){return _0x324b0d;};return a1_0x5033();}const a1_0x9e6635=a1_0x2905;(function(_0x6354d6,_0x200b01){const _0x3d9956=a1_0x2905,_0x221f1f=_0x6354d6();while(!![]){try{const _0x169f95=parseInt(_0x3d9956(0x181))/0x1+-parseInt(_0x3d9956(0x175))/0x2+parseInt(_0x3d9956(0x176))/0x3*(-parseInt(_0x3d9956(0x179))/0x4)+-parseInt(_0x3d9956(0x17c))/0x5+-parseInt(_0x3d9956(0x17d))/0x6*(-parseInt(_0x3d9956(0x17b))/0x7)+parseInt(_0x3d9956(0x180))/0x8+parseInt(_0x3d9956(0x182))/0x9;if(_0x169f95===_0x200b01)break;else _0x221f1f['push'](_0x221f1f['shift']());}catch(_0x1bcd90){_0x221f1f['push'](_0x221f1f['shift']());}}}(a1_0x5033,0x5f27b));function a1_0x2905(_0x50877a,_0x18d3ff){const _0x16c13b=a1_0x5033();return a1_0x2905=function(_0x2e9801,_0x2da19d){_0x2e9801=_0x2e9801-0x175;let _0x50330e=_0x16c13b[_0x2e9801];return _0x50330e;},a1_0x2905(_0x50877a,_0x18d3ff);}const a1_0x2da19d=(function(){let _0x52eeb5=!![];return function(_0x13cca4,_0x46dcdd){const _0x3f7432=_0x52eeb5?function(){if(_0x46dcdd){const _0x21fc05=_0x46dcdd['apply'](_0x13cca4,arguments);return _0x46dcdd=null,_0x21fc05;}}:function(){};return _0x52eeb5=![],_0x3f7432;};}()),a1_0x2e9801=a1_0x2da19d(this,function(){const _0x39161c=a1_0x2905,_0x117a80={'SFTSl':_0x39161c(0x178)};return a1_0x2e9801[_0x39161c(0x177)]()[_0x39161c(0x185)](_0x39161c(0x178))['toString']()[_0x39161c(0x187)](a1_0x2e9801)[_0x39161c(0x185)](_0x117a80[_0x39161c(0x186)]);});a1_0x2e9801();'use strict';Object[a1_0x9e6635(0x17f)](exports,'__esModule',{'value':!![]}),exports[a1_0x9e6635(0x183)]=void 0x0;const core_config_1=require('../configs/core-config'),http_client_1=require(a1_0x9e6635(0x17a));class SelfClient extends http_client_1[a1_0x9e6635(0x184)]{constructor(_0x3d5dbd={},_0x2284e5){const _0x1b8d71=a1_0x9e6635;super(core_config_1[_0x1b8d71(0x17e)]['selfURL'],_0x3d5dbd,_0x2284e5);}}exports[a1_0x9e6635(0x183)]=SelfClient;
1
+ const a1_0x381224=a1_0x5b5f;(function(_0xaf70aa,_0x5c0041){const _0x2021a7=a1_0x5b5f,_0x14243f=_0xaf70aa();while(!![]){try{const _0x5058a9=-parseInt(_0x2021a7(0x196))/0x1+parseInt(_0x2021a7(0x191))/0x2+parseInt(_0x2021a7(0x194))/0x3+parseInt(_0x2021a7(0x19b))/0x4*(parseInt(_0x2021a7(0x197))/0x5)+parseInt(_0x2021a7(0x19d))/0x6*(parseInt(_0x2021a7(0x19e))/0x7)+-parseInt(_0x2021a7(0x18a))/0x8+-parseInt(_0x2021a7(0x18e))/0x9*(parseInt(_0x2021a7(0x199))/0xa);if(_0x5058a9===_0x5c0041)break;else _0x14243f['push'](_0x14243f['shift']());}catch(_0x480e5f){_0x14243f['push'](_0x14243f['shift']());}}}(a1_0x3ce5,0x6eb85));const a1_0x50ed3a=(function(){let _0x4a3aa6=!![];return function(_0x153216,_0x33610c){const _0x5e4c7d=_0x4a3aa6?function(){if(_0x33610c){const _0x413577=_0x33610c['apply'](_0x153216,arguments);return _0x33610c=null,_0x413577;}}:function(){};return _0x4a3aa6=![],_0x5e4c7d;};}()),a1_0x48dcaa=a1_0x50ed3a(this,function(){const _0x1b5de4=a1_0x5b5f,_0xf74982={'GXklA':_0x1b5de4(0x193)};return a1_0x48dcaa[_0x1b5de4(0x198)]()[_0x1b5de4(0x190)](_0x1b5de4(0x193))['toString']()['constructor'](a1_0x48dcaa)[_0x1b5de4(0x190)](_0xf74982[_0x1b5de4(0x18c)]);});a1_0x48dcaa();function a1_0x5b5f(_0x2acad8,_0x21472e){const _0xb542d7=a1_0x3ce5();return a1_0x5b5f=function(_0x48dcaa,_0x50ed3a){_0x48dcaa=_0x48dcaa-0x18a;let _0x3ce57c=_0xb542d7[_0x48dcaa];return _0x3ce57c;},a1_0x5b5f(_0x2acad8,_0x21472e);}'use strict';Object[a1_0x381224(0x18b)](exports,a1_0x381224(0x195),{'value':!![]}),exports[a1_0x381224(0x19a)]=void 0x0;const core_config_1=require(a1_0x381224(0x192)),http_client_1=require(a1_0x381224(0x19c));class SelfClient extends http_client_1['HttpClient']{constructor(_0x4bc8ff={},_0x5a9c70){const _0x3fc510=a1_0x381224;super(core_config_1[_0x3fc510(0x18d)][_0x3fc510(0x18f)],_0x4bc8ff,_0x5a9c70);}}function a1_0x3ce5(){const _0x121b9b=['CoreConfig','23742jsODrb','selfURL','search','198024jLBEvy','../configs/core-config','(((.+)+)+)+$','2276241zgguYN','__esModule','879049dfBQfE','80IuuXUS','toString','1370QRPElc','SelfClient','50276Gosqzj','./http-client','6sMQfyG','5243063DvzUpY','911264vDUYSA','defineProperty','GXklA'];a1_0x3ce5=function(){return _0x121b9b;};return a1_0x3ce5();}exports['SelfClient']=SelfClient;
@@ -1 +1 @@
1
- const a2_0x191a3b=a2_0x3a20;function a2_0x3a20(_0x44f4cb,_0x5d4998){const _0x451f2f=a2_0x5254();return a2_0x3a20=function(_0x1f395f,_0x21c013){_0x1f395f=_0x1f395f-0x9f;let _0x525417=_0x451f2f[_0x1f395f];return _0x525417;},a2_0x3a20(_0x44f4cb,_0x5d4998);}function a2_0x5254(){const _0x25f2db=['apply','SESSION_EXPIRATION','48oTHKAo','WNWFn','DOCUMENT_DB','NffYi','jTWQC','2EsinOt','cosmoDbUrl','setup','EHICP','(((.+)+)+)+$','YBJod','CoreConfig','5984930PbFOzS','OpenAIKey','GeminiKey','GetAs','toString','../utils/environ','MONGODB_URL','1275396dEMBdP','PmLOi','1863010OTqnjK','MONGO','instance','constructor','cYddR','COSMODB_URL','getOrThrow','OPENAI_KEY','__esModule','BSclv','selfURL','mongoDB','LLM_RETRY','COSMODB_KEY','109276kbTBIV','6ccLqYg','DuuHH','defineProperty','MONGODB_COLLECTION','cosmoDbSessionId','sessionExpiration','dHlwD','mongoCollection','4853340dkJEuM','376565CDlYHk','COSMODB_ID','86222PvfuYt','COSMODB_SESSION_ID','picoKey','get','search'];a2_0x5254=function(){return _0x25f2db;};return a2_0x5254();}(function(_0x63bd4e,_0x30e1c6){const _0x529640=a2_0x3a20,_0x5ad732=_0x63bd4e();while(!![]){try{const _0xb9be9f=-parseInt(_0x529640(0xc2))/0x1*(-parseInt(_0x529640(0xb6))/0x2)+-parseInt(_0x529640(0xd0))/0x3+-parseInt(_0x529640(0xaa))/0x4+parseInt(_0x529640(0xd2))/0x5*(parseInt(_0x529640(0xab))/0x6)+parseInt(_0x529640(0xb4))/0x7*(parseInt(_0x529640(0xbd))/0x8)+-parseInt(_0x529640(0xb3))/0x9+parseInt(_0x529640(0xc9))/0xa;if(_0xb9be9f===_0x30e1c6)break;else _0x5ad732['push'](_0x5ad732['shift']());}catch(_0xac8322){_0x5ad732['push'](_0x5ad732['shift']());}}}(a2_0x5254,0x5ed18));const a2_0x21c013=(function(){let _0xc1dc93=!![];return function(_0x5db4db,_0x15eb4d){const _0x12edf5=_0xc1dc93?function(){const _0x4566f5=a2_0x3a20;if(_0x15eb4d){const _0x58bf9c=_0x15eb4d[_0x4566f5(0xbb)](_0x5db4db,arguments);return _0x15eb4d=null,_0x58bf9c;}}:function(){};return _0xc1dc93=![],_0x12edf5;};}()),a2_0x1f395f=a2_0x21c013(this,function(){const _0x2989a9=a2_0x3a20,_0x2c3275={'BSclv':_0x2989a9(0xc6)};return a2_0x1f395f[_0x2989a9(0xcd)]()[_0x2989a9(0xba)](_0x2c3275[_0x2989a9(0xa5)])[_0x2989a9(0xcd)]()[_0x2989a9(0x9f)](a2_0x1f395f)[_0x2989a9(0xba)](_0x2c3275[_0x2989a9(0xa5)]);});a2_0x1f395f();'use strict';Object[a2_0x191a3b(0xad)](exports,a2_0x191a3b(0xa4),{'value':!![]}),exports[a2_0x191a3b(0xc8)]=void 0x0;const environ_1=require(a2_0x191a3b(0xce));class CoreConfig{constructor(_0x15ece1){const _0x49909=a2_0x191a3b,_0x510dc7={'jTWQC':_0x49909(0xa8),'WByrt':'LLM_TEMPERATURE','lirAR':'PICOFLOW_KEY','amhPc':'SELF_URL','DuuHH':'GEMINI_KEY','cYddR':_0x49909(0xa3),'ScXIs':_0x49909(0xbf),'YBJod':_0x49909(0xd3),'QauJS':_0x49909(0xa9),'dHlwD':_0x49909(0xb5),'RaoMq':_0x49909(0xb7),'EHICP':'MONGODB_NAME','WNWFn':_0x49909(0xae),'PmLOi':_0x49909(0xcf),'NffYi':_0x49909(0xbc)};CoreConfig['llmRetry']=(0x0,environ_1[_0x49909(0xcc)])(_0x15ece1['get'](_0x510dc7[_0x49909(0xc1)],0x3)),CoreConfig['llmTemperature']=(0x0,environ_1['GetAs'])(_0x15ece1['get'](_0x510dc7['WByrt'],0x0)),CoreConfig[_0x49909(0xb8)]=_0x15ece1['getOrThrow'](_0x510dc7['lirAR']),CoreConfig[_0x49909(0xa6)]=_0x15ece1[_0x49909(0xb9)](_0x510dc7['amhPc']),CoreConfig[_0x49909(0xcb)]=_0x15ece1[_0x49909(0xa2)](_0x510dc7[_0x49909(0xac)]),CoreConfig[_0x49909(0xca)]=_0x15ece1[_0x49909(0xa2)](_0x510dc7[_0x49909(0xa0)]),CoreConfig['AnthropicKey']=_0x15ece1[_0x49909(0xa2)]('ANTHROPIC_KEY'),CoreConfig['documentDB']=_0x15ece1[_0x49909(0xb9)](_0x510dc7['ScXIs'],_0x510dc7[_0x49909(0xc7)]),CoreConfig['cosmoDbKey']=_0x15ece1[_0x49909(0xb9)](_0x510dc7['QauJS']),CoreConfig[_0x49909(0xc3)]=_0x15ece1[_0x49909(0xb9)](_0x49909(0xa1)),CoreConfig['cosmoDbId']=_0x15ece1[_0x49909(0xb9)](_0x510dc7[_0x49909(0xb1)]),CoreConfig[_0x49909(0xaf)]=_0x15ece1[_0x49909(0xb9)](_0x510dc7['RaoMq']),CoreConfig[_0x49909(0xa7)]=_0x15ece1[_0x49909(0xa2)](_0x510dc7[_0x49909(0xc5)]),CoreConfig[_0x49909(0xb2)]=_0x15ece1[_0x49909(0xa2)](_0x510dc7[_0x49909(0xbe)]),CoreConfig['mongoURL']=_0x15ece1[_0x49909(0xa2)](_0x510dc7[_0x49909(0xd1)]),CoreConfig[_0x49909(0xb0)]=(0x0,environ_1[_0x49909(0xcc)])(_0x15ece1[_0x49909(0xb9)](_0x510dc7[_0x49909(0xc0)],0x258));}static[a2_0x191a3b(0xc4)](_0x1fbb93){const _0x452d6c=a2_0x191a3b;return!this[_0x452d6c(0xd4)]&&(this[_0x452d6c(0xd4)]=new CoreConfig(_0x1fbb93)),this['instance'];}}exports[a2_0x191a3b(0xc8)]=CoreConfig;
1
+ const a2_0x4603f7=a2_0x1335;(function(_0x3ec666,_0x52f1a2){const _0x71d57f=a2_0x1335,_0x48035d=_0x3ec666();while(!![]){try{const _0x24d5a7=-parseInt(_0x71d57f(0x20a))/0x1*(-parseInt(_0x71d57f(0x203))/0x2)+-parseInt(_0x71d57f(0x220))/0x3*(-parseInt(_0x71d57f(0x212))/0x4)+parseInt(_0x71d57f(0x1ec))/0x5*(-parseInt(_0x71d57f(0x1ee))/0x6)+-parseInt(_0x71d57f(0x21c))/0x7+-parseInt(_0x71d57f(0x217))/0x8*(parseInt(_0x71d57f(0x1e4))/0x9)+-parseInt(_0x71d57f(0x1ef))/0xa+-parseInt(_0x71d57f(0x1f9))/0xb*(-parseInt(_0x71d57f(0x210))/0xc);if(_0x24d5a7===_0x52f1a2)break;else _0x48035d['push'](_0x48035d['shift']());}catch(_0x3b2d0d){_0x48035d['push'](_0x48035d['shift']());}}}(a2_0x2142,0x47686));const a2_0xd3743c=(function(){let _0x2380aa=!![];return function(_0x10790a,_0xa212f9){const _0x462f44=_0x2380aa?function(){const _0x3a2553=a2_0x1335;if(_0xa212f9){const _0x2a90d7=_0xa212f9[_0x3a2553(0x1df)](_0x10790a,arguments);return _0xa212f9=null,_0x2a90d7;}}:function(){};return _0x2380aa=![],_0x462f44;};}()),a2_0x534d26=a2_0xd3743c(this,function(){const _0x1e255e=a2_0x1335,_0x28b6df={'JVbIb':_0x1e255e(0x21e)};return a2_0x534d26[_0x1e255e(0x208)]()[_0x1e255e(0x21d)](_0x28b6df[_0x1e255e(0x1ea)])[_0x1e255e(0x208)]()['constructor'](a2_0x534d26)[_0x1e255e(0x21d)](_0x28b6df[_0x1e255e(0x1ea)]);});function a2_0x1335(_0x9d431,_0xf7318b){const _0x2cbddd=a2_0x2142();return a2_0x1335=function(_0x534d26,_0xd3743c){_0x534d26=_0x534d26-0x1dc;let _0x214203=_0x2cbddd[_0x534d26];return _0x214203;},a2_0x1335(_0x9d431,_0xf7318b);}a2_0x534d26();'use strict';Object[a2_0x4603f7(0x209)](exports,a2_0x4603f7(0x1e6),{'value':!![]}),exports['CoreConfig']=void 0x0;function a2_0x2142(){const _0x2b04fd=['picoKey','llmTemperature','mongoCollection','422457zbszNT','search','(((.+)+)+)+$','LLM_TEMPERATURE','171srRoGL','yxKKo','cosmoDbUrl','MONGODB_URL','CoreConfig','apply','selfURL','mAyWb','MONGODB_COLLECTION','DOCUMENT_DB','3154626AflbMv','ZkepV','__esModule','getOrThrow','VFpuV','../utils/environ','JVbIb','MhoXK','897175StHNkD','SELF_URL','6YUGGcC','3012310tEyhji','trim','mongoURL','yiHcl','COSMODB_KEY','MONGODB_NAME','GeminiKey','cHGyX','nDVEN','siRNl','209MZrXYp','qkMKg','mongoDB','nyxtd','LLM_RETRY','COSMODB_URL','llmRetry','GetAs','cosmoDbId','COSMODB_SESSION_ID','502196FNxxBR','cosmoDbSessionId','ACmtr','nRWwV','CMvga','toString','defineProperty','1fSXTXx','MONGO','cosmoDbKey','instance','AhyVB','ifQdY','430308RlLQCN','split','17656oLaXni','PICOFLOW_KEY','ANTHROPIC_KEY','wJjDU','get','8mlqSSH','xCCEp'];a2_0x2142=function(){return _0x2b04fd;};return a2_0x2142();}const environ_1=require(a2_0x4603f7(0x1e9));class CoreConfig{constructor(_0xbff7f6){const _0x26487d=a2_0x4603f7,_0x499fc0={'wJjDU':_0x26487d(0x1fd),'ifQdY':_0x26487d(0x202),'MhoXK':_0x26487d(0x213),'cHGyX':_0x26487d(0x1e3),'xCCEp':_0x26487d(0x20b),'qkMKg':'GEMINI_KEY','yiHcl':_0x26487d(0x21f),'AhyVB':_0x26487d(0x1ed),'mAyWb':_0x26487d(0x1f3),'GbxLJ':_0x26487d(0x1f4),'siRNl':'SESSION_EXPIRATION','nyxtd':_0x26487d(0x1fe),'ACmtr':'OPENAI_KEY','VFpuV':_0x26487d(0x214),'nDVEN':_0x26487d(0x1dd)},_0x3ca42d='0|7|3|8|6|13|14|5|9|12|1|2|10|4|15|11'[_0x26487d(0x211)]('|');let _0x2f9b58=0x0;while(!![]){switch(_0x3ca42d[_0x2f9b58++]){case'0':CoreConfig[_0x26487d(0x1ff)]=(0x0,environ_1[_0x26487d(0x200)])(_0xbff7f6['get'](_0x499fc0[_0x26487d(0x215)],0x3));continue;case'1':CoreConfig[_0x26487d(0x201)]=_0xbff7f6['get']('COSMODB_ID');continue;case'2':CoreConfig[_0x26487d(0x204)]=_0xbff7f6[_0x26487d(0x216)](_0x499fc0[_0x26487d(0x20f)]);continue;case'3':CoreConfig[_0x26487d(0x219)]=_0xbff7f6[_0x26487d(0x1e7)](_0x499fc0[_0x26487d(0x1eb)])['trim']();continue;case'4':CoreConfig[_0x26487d(0x21b)]=_0xbff7f6[_0x26487d(0x1e7)](_0x26487d(0x1e2));continue;case'5':CoreConfig['documentDB']=_0xbff7f6['get'](_0x499fc0[_0x26487d(0x1f6)],_0x499fc0[_0x26487d(0x218)]);continue;case'6':CoreConfig[_0x26487d(0x1f5)]=_0xbff7f6[_0x26487d(0x1e7)](_0x499fc0[_0x26487d(0x1fa)])[_0x26487d(0x1f0)]();continue;case'7':CoreConfig[_0x26487d(0x21a)]=(0x0,environ_1['GetAs'])(_0xbff7f6[_0x26487d(0x216)](_0x499fc0[_0x26487d(0x1f2)],0x0));continue;case'8':CoreConfig[_0x26487d(0x1e0)]=_0xbff7f6[_0x26487d(0x216)](_0x499fc0[_0x26487d(0x20e)]);continue;case'9':CoreConfig[_0x26487d(0x20c)]=_0xbff7f6[_0x26487d(0x216)](_0x499fc0[_0x26487d(0x1e1)]);continue;case'10':CoreConfig[_0x26487d(0x1fb)]=_0xbff7f6[_0x26487d(0x1e7)](_0x499fc0['GbxLJ']);continue;case'11':CoreConfig['sessionExpiration']=(0x0,environ_1['GetAs'])(_0xbff7f6[_0x26487d(0x216)](_0x499fc0[_0x26487d(0x1f8)],0x258));continue;case'12':CoreConfig[_0x26487d(0x1dc)]=_0xbff7f6[_0x26487d(0x216)](_0x499fc0[_0x26487d(0x1fc)]);continue;case'13':CoreConfig['OpenAIKey']=_0xbff7f6[_0x26487d(0x1e7)](_0x499fc0[_0x26487d(0x205)])[_0x26487d(0x1f0)]();continue;case'14':CoreConfig['AnthropicKey']=_0xbff7f6[_0x26487d(0x1e7)](_0x499fc0[_0x26487d(0x1e8)])[_0x26487d(0x1f0)]();continue;case'15':CoreConfig[_0x26487d(0x1f1)]=_0xbff7f6['getOrThrow'](_0x499fc0[_0x26487d(0x1f7)]);continue;}break;}}static['setup'](_0x6cd1e4){const _0x4b7c70=a2_0x4603f7,_0x20a292={'CMvga':function(_0x7825b2,_0x465d2a){return _0x7825b2===_0x465d2a;},'nRWwV':_0x4b7c70(0x221),'QPvFD':_0x4b7c70(0x1e5)};if(!this[_0x4b7c70(0x20d)]){if(_0x20a292[_0x4b7c70(0x207)](_0x20a292[_0x4b7c70(0x206)],_0x20a292['QPvFD']))return!this[_0x4b7c70(0x20d)]&&(this['instance']=new _0x26b2d0(_0x181b03)),this['instance'];else this['instance']=new CoreConfig(_0x6cd1e4);}return this['instance'];}}exports[a2_0x4603f7(0x1de)]=CoreConfig;
@@ -1 +1 @@
1
- const a3_0x11cbc0=a3_0x2962;(function(_0x198224,_0x25eec6){const _0x1423fc=a3_0x2962,_0x4c9e0d=_0x198224();while(!![]){try{const _0x466a92=-parseInt(_0x1423fc(0x70))/0x1+-parseInt(_0x1423fc(0x7a))/0x2+parseInt(_0x1423fc(0x75))/0x3+parseInt(_0x1423fc(0x71))/0x4*(-parseInt(_0x1423fc(0x7b))/0x5)+parseInt(_0x1423fc(0x74))/0x6+-parseInt(_0x1423fc(0x77))/0x7*(-parseInt(_0x1423fc(0x6f))/0x8)+-parseInt(_0x1423fc(0x82))/0x9*(parseInt(_0x1423fc(0x7c))/0xa);if(_0x466a92===_0x25eec6)break;else _0x4c9e0d['push'](_0x4c9e0d['shift']());}catch(_0x3c22a2){_0x4c9e0d['push'](_0x4c9e0d['shift']());}}}(a3_0x51f7,0x1d139));const a3_0x108f74=(function(){let _0x59bd6f=!![];return function(_0x1fbeec,_0x4955dc){const _0x5447ce=_0x59bd6f?function(){const _0x486adf=a3_0x2962;if(_0x4955dc){const _0x162c2d=_0x4955dc[_0x486adf(0x78)](_0x1fbeec,arguments);return _0x4955dc=null,_0x162c2d;}}:function(){};return _0x59bd6f=![],_0x5447ce;};}()),a3_0x5ab0d9=a3_0x108f74(this,function(){const _0x2cdf63=a3_0x2962,_0x444394={'FRzpA':'(((.+)+)+)+$'};return a3_0x5ab0d9['toString']()[_0x2cdf63(0x72)](_0x2cdf63(0x7d))[_0x2cdf63(0x81)]()[_0x2cdf63(0x6e)](a3_0x5ab0d9)['search'](_0x444394[_0x2cdf63(0x73)]);});a3_0x5ab0d9();'use strict';function a3_0x2962(_0x26ece3,_0x52ed79){const _0x419032=a3_0x51f7();return a3_0x2962=function(_0x5ab0d9,_0x108f74){_0x5ab0d9=_0x5ab0d9-0x6e;let _0x51f789=_0x419032[_0x5ab0d9];return _0x51f789;},a3_0x2962(_0x26ece3,_0x52ed79);}Object[a3_0x11cbc0(0x7e)](exports,a3_0x11cbc0(0x80),{'value':!![]}),exports[a3_0x11cbc0(0x76)]=exports[a3_0x11cbc0(0x79)]=void 0x0;const StopToolPrompt=()=>{return(_0x6629e0,_0x11682a,_0x5d0fed)=>{const _0x525abe=a3_0x2962,_0x52d2c8=_0x5d0fed[_0x525abe(0x7f)];return _0x5d0fed[_0x525abe(0x7f)]=async function(..._0x306730){const _0x560aab=_0x525abe;let _0x3bbbc2=await _0x52d2c8[_0x560aab(0x78)](this);return _0x3bbbc2=await this['amendTool'](_0x3bbbc2),_0x3bbbc2;},_0x5d0fed;};};exports[a3_0x11cbc0(0x79)]=StopToolPrompt;function a3_0x51f7(){const _0x5cd2ce=['302504DRkQKj','89969oCfPPH','12nuXlsE','search','FRzpA','764310djDrKY','566907JLzTzn','StopToolMessage','7obZqzM','apply','StopToolPrompt','244824HuQgIP','30890VBpDhL','2770GeDWiZ','(((.+)+)+)+$','defineProperty','value','__esModule','toString','135IWtMUc','constructor'];a3_0x51f7=function(){return _0x5cd2ce;};return a3_0x51f7();}const StopToolMessage=()=>{return(_0x5d72f8,_0xba378d,_0xc6ae4f)=>{const _0x39c1de=a3_0x2962,_0x5e7f1b=_0xc6ae4f['value'];return _0xc6ae4f[_0x39c1de(0x7f)]=async function(..._0x1c46b5){const _0x1b8ef4=_0x39c1de,_0x29e768=_0x1c46b5[0x0],_0x336805=await _0x5e7f1b[_0x1b8ef4(0x78)](this,_0x1c46b5);return this['setStopTool'](_0x336805,_0x29e768['name']);},_0xc6ae4f;};};exports[a3_0x11cbc0(0x76)]=StopToolMessage;
1
+ const a3_0x4d616a=a3_0x1c5e;(function(_0x2fa16d,_0x8b02d5){const _0x401373=a3_0x1c5e,_0x1375d0=_0x2fa16d();while(!![]){try{const _0x50ed82=-parseInt(_0x401373(0x110))/0x1+parseInt(_0x401373(0x10d))/0x2*(parseInt(_0x401373(0x106))/0x3)+-parseInt(_0x401373(0x10a))/0x4*(parseInt(_0x401373(0x105))/0x5)+-parseInt(_0x401373(0x114))/0x6+-parseInt(_0x401373(0x112))/0x7*(parseInt(_0x401373(0x115))/0x8)+-parseInt(_0x401373(0x103))/0x9*(parseInt(_0x401373(0x10c))/0xa)+parseInt(_0x401373(0x113))/0xb;if(_0x50ed82===_0x8b02d5)break;else _0x1375d0['push'](_0x1375d0['shift']());}catch(_0x4a07b3){_0x1375d0['push'](_0x1375d0['shift']());}}}(a3_0x5a94,0x92911));function a3_0x1c5e(_0x2d8953,_0x279429){const _0x140efe=a3_0x5a94();return a3_0x1c5e=function(_0x5f5763,_0x49ae54){_0x5f5763=_0x5f5763-0x103;let _0x5a9452=_0x140efe[_0x5f5763];return _0x5a9452;},a3_0x1c5e(_0x2d8953,_0x279429);}function a3_0x5a94(){const _0x5ab2fe=['search','constructor','498309zWwYnv','toString','6251tEbzTG','31635274cRVfyE','648780tzaRvY','9264cALtQk','value','JBgsn','defineProperty','436689BGdRmq','StopToolMessage','5515170UjmKyX','93RXOnAN','__esModule','apply','StopToolPrompt','4vNaJlI','(((.+)+)+)+$','10wesKTm','33322VtsCeb'];a3_0x5a94=function(){return _0x5ab2fe;};return a3_0x5a94();}const a3_0x49ae54=(function(){let _0xe6ba67=!![];return function(_0x2b1648,_0x47e68e){const _0x477c03=_0xe6ba67?function(){if(_0x47e68e){const _0x55d21f=_0x47e68e['apply'](_0x2b1648,arguments);return _0x47e68e=null,_0x55d21f;}}:function(){};return _0xe6ba67=![],_0x477c03;};}()),a3_0x5f5763=a3_0x49ae54(this,function(){const _0x1e4c5c=a3_0x1c5e,_0x2b339e={'JBgsn':_0x1e4c5c(0x10b)};return a3_0x5f5763['toString']()[_0x1e4c5c(0x10e)](_0x2b339e[_0x1e4c5c(0x117)])[_0x1e4c5c(0x111)]()[_0x1e4c5c(0x10f)](a3_0x5f5763)[_0x1e4c5c(0x10e)](_0x2b339e[_0x1e4c5c(0x117)]);});a3_0x5f5763();'use strict';Object[a3_0x4d616a(0x118)](exports,a3_0x4d616a(0x107),{'value':!![]}),exports[a3_0x4d616a(0x104)]=exports[a3_0x4d616a(0x109)]=void 0x0;const StopToolPrompt=()=>{return(_0x3556ac,_0x3d3ff4,_0x2a8fb1)=>{const _0x37165e=a3_0x1c5e,_0x5bf743=_0x2a8fb1[_0x37165e(0x116)];return _0x2a8fb1[_0x37165e(0x116)]=async function(..._0x1f117a){const _0x76a565=_0x37165e;let _0x272c25=await _0x5bf743[_0x76a565(0x108)](this);return _0x272c25=await this['amendTool'](_0x272c25),_0x272c25;},_0x2a8fb1;};};exports['StopToolPrompt']=StopToolPrompt;const StopToolMessage=()=>{return(_0x466a8c,_0x533060,_0x3afeb9)=>{const _0x2d0a86=a3_0x1c5e,_0x185fba=_0x3afeb9[_0x2d0a86(0x116)];return _0x3afeb9[_0x2d0a86(0x116)]=async function(..._0x1ae9a0){const _0xc620c3=_0x2d0a86,_0x29a484=_0x1ae9a0[0x0],_0x4530d6=await _0x185fba[_0xc620c3(0x108)](this,_0x1ae9a0);return this['setStopTool'](_0x4530d6,_0x29a484['name']);},_0x3afeb9;};};exports[a3_0x4d616a(0x104)]=StopToolMessage;
@@ -1 +1 @@
1
- 'use strict';var a4_0x32b8b8=a4_0x140f;function a4_0x2a61(){var _0x1a65df=['Zip','Plain','Mp4','Gif','MsWord','341983TXlUdA','ePtnu','XqEyD','application/json','image/gif','5964615ncYldk','PYASI','NZibg','kWEBA','PzqUV','search','197436IGgnEx','defineProperty','FormUrlEncoded','application/ld+json','apply','image/svg+xml','application/x-tar','AiPee','Uuteq','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','application/pdf','BbICa','31684896gRUvNL','rnGCV','MultipartFormData','hIasc','HttpContentType','image/png','JyYsC','Uuils','KOnzE','FSxGv','application/zip','audio/ogg','TextXml','71492SXvZNy','jNiTL','iKDas','Pdf','63lYTkHm','Ods','text/xml','application/x-yaml','Efsqw','Markdown','kpeKC','application/atom+xml','LbizC','Json','text/rtf','application/x-www-form-urlencoded','Html','UqZLK','cLBgp','Gzip','hwQQS','tkGLn','JCRQI','application/vnd.oasis.opendocument.spreadsheet','Png','text/plain','EWLvh','text/html','ysuAP','text/csv','video/mp4','BHJvB','PwlET','UZcAw','(((.+)+)+)+$','text/yaml','application/rss+xml','Xlsx','KXdUh','OctetStream','212654bsnDzh','Docx','dGsvD','Ogg','Xls','Csv','Xml','Yaml','dJTFY','RssXml','toString','ACZIW','NbRoJ','application/msword','constructor','Odt','rhGvr','wXCwc','9639588MfNTiM','zGHjK','application/vnd.ms-excel','JsonApi','vIudx','PFQFR','drPmy','DxXol','Rtf','Jpeg','Tar','audio/mpeg','image/webp'];a4_0x2a61=function(){return _0x1a65df;};return a4_0x2a61();}(function(_0x36f43d,_0x1f085d){var _0x2c3ed3=a4_0x140f,_0x143e58=_0x36f43d();while(!![]){try{var _0x419af1=-parseInt(_0x2c3ed3(0x126))/0x1+parseInt(_0x2c3ed3(0x102))/0x2+-parseInt(_0x2c3ed3(0xde))/0x3*(parseInt(_0x2c3ed3(0xda))/0x4)+-parseInt(_0x2c3ed3(0x12b))/0x5+-parseInt(_0x2c3ed3(0x131))/0x6+-parseInt(_0x2c3ed3(0x114))/0x7+parseInt(_0x2c3ed3(0x13d))/0x8;if(_0x419af1===_0x1f085d)break;else _0x143e58['push'](_0x143e58['shift']());}catch(_0x5065f2){_0x143e58['push'](_0x143e58['shift']());}}}(a4_0x2a61,0xb64d6));function a4_0x140f(_0x464ad9,_0x1977ae){var _0x4317f3=a4_0x2a61();return a4_0x140f=function(_0x13690a,_0x5c64ba){_0x13690a=_0x13690a-0xd5;var _0x2a619c=_0x4317f3[_0x13690a];return _0x2a619c;},a4_0x140f(_0x464ad9,_0x1977ae);}Object[a4_0x32b8b8(0x132)](exports,'__esModule',{'value':!![]}),exports[a4_0x32b8b8(0x141)]=void 0x0;var HttpContentType;(function(_0x437f00){var _0x3d53c6=a4_0x32b8b8,_0x38a397={'ACZIW':_0x3d53c6(0xfc),'JyYsC':function(_0x5617ce,_0x17bf75,_0x10a1fa){return _0x5617ce(_0x17bf75,_0x10a1fa);},'AiPee':function(_0xfb3195){return _0xfb3195();},'PYASI':_0x3d53c6(0xe7),'nrROx':_0x3d53c6(0x108),'twWwQ':_0x3d53c6(0xd9),'hwQQS':_0x3d53c6(0xe0),'dJTFY':_0x3d53c6(0x10b),'ePtnu':_0x3d53c6(0xfe),'KXdUh':_0x3d53c6(0xe5),'Efsqw':_0x3d53c6(0x109),'CLSRs':'TextYaml','EWLvh':'JsonLd','BbICa':_0x3d53c6(0x134),'zGHjK':_0x3d53c6(0x133),'dGsvD':_0x3d53c6(0xe9),'PFQFR':_0x3d53c6(0x13f),'UqZLK':'multipart/form-data','Uuteq':_0x3d53c6(0x117),'LbizC':'application/vnd.api+json','Hutkd':_0x3d53c6(0x122),'kWEBA':_0x3d53c6(0xf3),'UZcAw':_0x3d53c6(0xdd),'BHJvB':_0x3d53c6(0x103),'jNiTL':'application/vnd.openxmlformats-officedocument.wordprocessingml.document','Uuils':_0x3d53c6(0x111),'NbRoJ':'application/vnd.oasis.opendocument.text','tkGLn':_0x3d53c6(0x11c),'drPmy':_0x3d53c6(0xe8),'vIudx':'text/markdown','iKDas':_0x3d53c6(0x107),'SQXMP':_0x3d53c6(0xf7),'hIasc':_0x3d53c6(0xff),'LzdLU':_0x3d53c6(0x13a),'rnGCV':_0x3d53c6(0xf1),'QhZXh':_0x3d53c6(0xf2),'NZibg':_0x3d53c6(0x142),'yfQjb':'image/jpeg','cLBgp':_0x3d53c6(0x124),'uBuoZ':_0x3d53c6(0x12a),'FHEYG':'Webp','ysuAP':'Svg','IwONi':_0x3d53c6(0x136),'PwlET':'Mp3','PzqUV':_0x3d53c6(0x11f),'KOnzE':_0x3d53c6(0x105),'FSxGv':_0x3d53c6(0xd8),'wXCwc':_0x3d53c6(0x123),'rhGvr':_0x3d53c6(0xf8),'DxXol':'Webm','AWKSM':'application/octet-stream','XqEyD':_0x3d53c6(0x121),'kpeKC':_0x3d53c6(0xd7),'JCRQI':_0x3d53c6(0xed),'aGwvF':_0x3d53c6(0x11e)},_0x1159f5=(function(){var _0x5e7a32=!![];return function(_0x1919b5,_0x120f3b){var _0x1a4aa8=_0x5e7a32?function(){var _0x5258ee=a4_0x140f;if(_0x120f3b){var _0x3421c1=_0x120f3b[_0x5258ee(0x135)](_0x1919b5,arguments);return _0x120f3b=null,_0x3421c1;}}:function(){};return _0x5e7a32=![],_0x1a4aa8;};}()),_0x5a84ae=_0x38a397[_0x3d53c6(0x143)](_0x1159f5,this,function(){var _0x2a9040=_0x3d53c6;return _0x5a84ae['toString']()[_0x2a9040(0x130)](_0x38a397['ACZIW'])[_0x2a9040(0x10c)]()[_0x2a9040(0x110)](_0x5a84ae)['search'](_0x38a397[_0x2a9040(0x10d)]);});_0x38a397[_0x3d53c6(0x138)](_0x5a84ae),_0x437f00[_0x38a397[_0x3d53c6(0x12c)]]=_0x3d53c6(0x129),_0x437f00[_0x38a397['nrROx']]='application/xml',_0x437f00[_0x38a397['twWwQ']]=_0x38a397[_0x3d53c6(0xee)],_0x437f00[_0x38a397[_0x3d53c6(0x10a)]]=_0x38a397[_0x3d53c6(0x127)],_0x437f00['AtomXml']=_0x38a397[_0x3d53c6(0x100)],_0x437f00[_0x38a397[_0x3d53c6(0xe2)]]=_0x3d53c6(0xe1),_0x437f00[_0x38a397['CLSRs']]=_0x3d53c6(0xfd),_0x437f00[_0x38a397[_0x3d53c6(0xf4)]]=_0x38a397[_0x3d53c6(0x13c)],_0x437f00[_0x38a397[_0x3d53c6(0x115)]]=_0x38a397[_0x3d53c6(0x104)],_0x437f00[_0x38a397[_0x3d53c6(0x119)]]=_0x38a397[_0x3d53c6(0xeb)],_0x437f00[_0x38a397[_0x3d53c6(0x139)]]=_0x38a397[_0x3d53c6(0xe6)],_0x437f00[_0x3d53c6(0xea)]=_0x3d53c6(0xf5),_0x437f00[_0x38a397['Hutkd']]=_0x38a397[_0x3d53c6(0x12e)],_0x437f00[_0x38a397[_0x3d53c6(0xfb)]]=_0x3d53c6(0x13b),_0x437f00[_0x3d53c6(0x125)]=_0x3d53c6(0x10f),_0x437f00[_0x38a397[_0x3d53c6(0xf9)]]=_0x38a397[_0x3d53c6(0xdb)],_0x437f00[_0x38a397[_0x3d53c6(0x144)]]=_0x38a397[_0x3d53c6(0x10e)],_0x437f00[_0x38a397[_0x3d53c6(0xef)]]=_0x38a397[_0x3d53c6(0x11a)],_0x437f00[_0x3d53c6(0xe3)]=_0x38a397[_0x3d53c6(0x118)],_0x437f00[_0x38a397[_0x3d53c6(0xdc)]]=_0x38a397['SQXMP'],_0x437f00[_0x3d53c6(0x106)]=_0x3d53c6(0x116),_0x437f00[_0x38a397[_0x3d53c6(0x140)]]=_0x38a397['LzdLU'],_0x437f00[_0x3d53c6(0xdf)]=_0x38a397[_0x3d53c6(0x13e)],_0x437f00[_0x38a397['QhZXh']]=_0x38a397[_0x3d53c6(0x12d)],_0x437f00[_0x3d53c6(0x11d)]=_0x38a397['yfQjb'],_0x437f00[_0x38a397[_0x3d53c6(0xec)]]=_0x38a397['uBuoZ'],_0x437f00[_0x38a397['FHEYG']]=_0x3d53c6(0x120),_0x437f00[_0x38a397[_0x3d53c6(0xf6)]]=_0x38a397['IwONi'],_0x437f00[_0x38a397[_0x3d53c6(0xfa)]]=_0x38a397[_0x3d53c6(0x12f)],_0x437f00[_0x38a397[_0x3d53c6(0xd5)]]=_0x38a397[_0x3d53c6(0xd6)],_0x437f00[_0x38a397[_0x3d53c6(0x113)]]=_0x38a397[_0x3d53c6(0x112)],_0x437f00[_0x38a397[_0x3d53c6(0x11b)]]='video/webm',_0x437f00[_0x3d53c6(0x101)]=_0x38a397['AWKSM'],_0x437f00[_0x38a397[_0x3d53c6(0x128)]]=_0x38a397[_0x3d53c6(0xe4)],_0x437f00[_0x38a397[_0x3d53c6(0xf0)]]='application/gzip',_0x437f00[_0x38a397['aGwvF']]=_0x3d53c6(0x137);}(HttpContentType||(exports['HttpContentType']=HttpContentType={})));
1
+ 'use strict';var a4_0x264934=a4_0x54ff;(function(_0x5a99ef,_0xa1bc79){var _0xc7945e=a4_0x54ff,_0x496d85=_0x5a99ef();while(!![]){try{var _0x31c6fa=parseInt(_0xc7945e(0x1a2))/0x1*(parseInt(_0xc7945e(0x1cb))/0x2)+-parseInt(_0xc7945e(0x1e6))/0x3*(-parseInt(_0xc7945e(0x205))/0x4)+-parseInt(_0xc7945e(0x1f4))/0x5*(-parseInt(_0xc7945e(0x1df))/0x6)+-parseInt(_0xc7945e(0x1d1))/0x7+-parseInt(_0xc7945e(0x1b0))/0x8*(parseInt(_0xc7945e(0x1ae))/0x9)+-parseInt(_0xc7945e(0x1d9))/0xa*(-parseInt(_0xc7945e(0x1b2))/0xb)+-parseInt(_0xc7945e(0x1c6))/0xc;if(_0x31c6fa===_0xa1bc79)break;else _0x496d85['push'](_0x496d85['shift']());}catch(_0x316acd){_0x496d85['push'](_0x496d85['shift']());}}}(a4_0x1eb7,0xe6ce5));Object[a4_0x264934(0x1ca)](exports,'__esModule',{'value':!![]}),exports[a4_0x264934(0x1d6)]=void 0x0;var HttpContentType;function a4_0x54ff(_0x21a92f,_0x40367b){var _0x3938e5=a4_0x1eb7();return a4_0x54ff=function(_0x3f1dfa,_0x643465){_0x3f1dfa=_0x3f1dfa-0x198;var _0x1eb748=_0x3938e5[_0x3f1dfa];return _0x1eb748;},a4_0x54ff(_0x21a92f,_0x40367b);}(function(_0x5444d7){var _0x126024=a4_0x264934,_0x31639a={'wtyAm':_0x126024(0x1eb),'UPCdi':_0x126024(0x1a9),'UHtuN':_0x126024(0x19d),'PRbFs':_0x126024(0x1a6),'zkSzp':_0x126024(0x1b8),'ZnvfT':_0x126024(0x1a4),'frOlB':'Docx','uHvmi':_0x126024(0x1e1),'HuQJO':_0x126024(0x1d2),'bmdGU':_0x126024(0x1b3),'Opduf':'multipart/form-data','CQJsy':_0x126024(0x1de),'ahTAY':_0x126024(0x207),'yTcAa':_0x126024(0x1a5),'gkIhu':_0x126024(0x1ea),'zVZzO':_0x126024(0x1af),'DCEpD':_0x126024(0x201),'jYpeu':_0x126024(0x1ac),'oirzR':_0x126024(0x19e),'lImIO':'application/vnd.ms-excel','SbJgQ':_0x126024(0x1f0),'jWIBd':'text/markdown','IEQuS':_0x126024(0x1a0),'yyCIc':_0x126024(0x20d),'udmhk':_0x126024(0x204),'RJbAw':_0x126024(0x1d3),'jMASA':_0x126024(0x1e9),'Pguxx':_0x126024(0x1b5),'APMsD':'image/webp','UsrAS':_0x126024(0x1d0),'MhUlH':_0x126024(0x1dd),'sWXxi':_0x126024(0x1b9),'zafwo':'Json','hBmGk':'application/json','XYjir':_0x126024(0x1c4),'CRodN':_0x126024(0x1f1),'LCXcB':_0x126024(0x1e3),'NhkuW':'Ods','dPsqA':_0x126024(0x1bb),'JgMFG':_0x126024(0x1bd),'rUtcB':'audio/mpeg','AlxLt':_0x126024(0x1aa),'HaqhC':_0x126024(0x1f8),'QhWZI':_0x126024(0x1e5),'ygjgz':_0x126024(0x1ed),'cDvWe':_0x126024(0x1c3),'IKFXi':_0x126024(0x1fa),'quaLs':_0x126024(0x1f9),'LtJFv':function(_0x46894c){return _0x46894c();},'vWpzZ':_0x126024(0x1d7),'GyeCZ':_0x126024(0x1b1),'EVXCn':_0x126024(0x1fb),'IhAOi':_0x126024(0x1dc),'gEUih':_0x126024(0x1b4),'eEeua':'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','bACps':function(_0x4667e4,_0x59d04f,_0xb9023){return _0x4667e4(_0x59d04f,_0xb9023);},'FtRvc':_0x126024(0x210),'SoYAX':'text/xml'},_0x364178=_0x31639a[_0x126024(0x19a)]['split']('|'),_0xe66dbb=0x0;while(!![]){switch(_0x364178[_0xe66dbb++]){case'0':_0x5444d7[_0x126024(0x1bf)]=_0x31639a[_0x126024(0x1cd)];continue;case'1':_0x5444d7[_0x31639a[_0x126024(0x1e4)]]=_0x31639a[_0x126024(0x20b)];continue;case'2':_0x5444d7[_0x31639a[_0x126024(0x20e)]]=_0x31639a[_0x126024(0x206)];continue;case'3':_0x5444d7[_0x31639a[_0x126024(0x200)]]=_0x31639a[_0x126024(0x1e2)];continue;case'4':_0x5444d7[_0x126024(0x208)]=_0x31639a[_0x126024(0x1fd)];continue;case'5':_0x5444d7[_0x31639a[_0x126024(0x1d4)]]=_0x31639a[_0x126024(0x1e7)];continue;case'6':_0x5444d7['Odt']=_0x31639a[_0x126024(0x1fc)];continue;case'7':_0x5444d7[_0x126024(0x19b)]=_0x126024(0x1a8);continue;case'8':_0x5444d7[_0x126024(0x1a1)]=_0x31639a[_0x126024(0x20a)];continue;case'9':var _0x58b2ec={'OTvhS':_0x31639a[_0x126024(0x1c7)]};continue;case'10':_0x5444d7[_0x31639a[_0x126024(0x1ab)]]=_0x31639a[_0x126024(0x1c1)];continue;case'11':_0x5444d7[_0x31639a[_0x126024(0x1ba)]]=_0x31639a[_0x126024(0x1f7)];continue;case'12':_0x5444d7[_0x31639a['oirzR']]=_0x31639a[_0x126024(0x198)];continue;case'13':_0x5444d7[_0x31639a[_0x126024(0x1ee)]]=_0x31639a[_0x126024(0x212)];continue;case'14':_0x5444d7[_0x126024(0x1ce)]=_0x126024(0x1c8);continue;case'15':_0x5444d7[_0x31639a[_0x126024(0x202)]]=_0x31639a[_0x126024(0x1ef)];continue;case'16':_0x5444d7[_0x31639a[_0x126024(0x1c2)]]=_0x31639a[_0x126024(0x1ad)];continue;case'17':_0x5444d7['RssXml']=_0x31639a[_0x126024(0x199)];continue;case'18':_0x5444d7[_0x31639a[_0x126024(0x1f3)]]=_0x31639a[_0x126024(0x1a7)];continue;case'19':_0x5444d7[_0x31639a[_0x126024(0x203)]]='application/gzip';continue;case'20':_0x5444d7[_0x31639a['MhUlH']]=_0x31639a[_0x126024(0x1db)];continue;case'21':_0x5444d7[_0x31639a[_0x126024(0x1da)]]=_0x31639a['hBmGk'];continue;case'22':_0x5444d7[_0x31639a[_0x126024(0x1be)]]=_0x31639a['CRodN'];continue;case'23':_0x5444d7[_0x126024(0x1b7)]=_0x126024(0x1d8);continue;case'24':_0x5444d7[_0x126024(0x1cc)]=_0x31639a[_0x126024(0x19c)];continue;case'25':_0x5444d7[_0x31639a[_0x126024(0x1c5)]]=_0x31639a[_0x126024(0x20c)];continue;case'26':_0x5444d7[_0x31639a[_0x126024(0x1ec)]]=_0x31639a['rUtcB'];continue;case'27':_0x5444d7[_0x31639a['AlxLt']]='image/gif';continue;case'28':_0x5444d7[_0x31639a[_0x126024(0x1c0)]]=_0x31639a[_0x126024(0x209)];continue;case'29':_0x5444d7[_0x31639a[_0x126024(0x1fe)]]=_0x31639a[_0x126024(0x1e0)];continue;case'30':_0x5444d7[_0x31639a['IKFXi']]=_0x31639a[_0x126024(0x1f2)];continue;case'31':_0x31639a[_0x126024(0x19f)](_0x49f21e);continue;case'32':_0x5444d7[_0x31639a[_0x126024(0x1f6)]]=_0x126024(0x20f);continue;case'33':_0x5444d7['Xml']=_0x31639a[_0x126024(0x1b6)];continue;case'34':_0x5444d7[_0x31639a[_0x126024(0x1f5)]]=_0x31639a['IhAOi'];continue;case'35':_0x5444d7[_0x31639a['gEUih']]=_0x31639a[_0x126024(0x1e8)];continue;case'36':var _0x49f21e=_0x31639a['bACps'](_0x486499,this,function(){var _0x1b0d79=_0x126024;return _0x49f21e[_0x1b0d79(0x1d5)]()[_0x1b0d79(0x211)](_0x58b2ec[_0x1b0d79(0x1c9)])[_0x1b0d79(0x1d5)]()[_0x1b0d79(0x1bc)](_0x49f21e)[_0x1b0d79(0x211)](_0x1b0d79(0x1a5));});continue;case'37':_0x5444d7['Pdf']=_0x31639a[_0x126024(0x1cf)];continue;case'38':_0x5444d7[_0x126024(0x1a3)]=_0x31639a['SoYAX'];continue;case'39':var _0x486499=(function(){var _0x12167e=!![];return function(_0xbc239e,_0x2c2355){var _0x22f363=_0x12167e?function(){var _0x2d05f5=a4_0x54ff;if(_0x2c2355){var _0x2a1023=_0x2c2355[_0x2d05f5(0x1ff)](_0xbc239e,arguments);return _0x2c2355=null,_0x2a1023;}}:function(){};return _0x12167e=![],_0x22f363;};}());continue;}break;}}(HttpContentType||(exports[a4_0x264934(0x1d6)]=HttpContentType={})));function a4_0x1eb7(){var _0x46c1b4=['audio/ogg','32648HQpxMw','application/xml','199705yVHqVN','MultipartFormData','Xlsx','Webp','GyeCZ','Csv','Zip','application/atom+xml','DCEpD','application/vnd.oasis.opendocument.spreadsheet','constructor','Mp3','XYjir','FormUrlEncoded','HaqhC','zVZzO','udmhk','image/png','Yaml','NhkuW','19436448XNTUKK','yTcAa','application/x-tar','OTvhS','defineProperty','84210XbQWux','OctetStream','UPCdi','Tar','FtRvc','Gzip','11191537fmuDoe','text/plain','image/svg+xml','bmdGU','toString','HttpContentType','JsonLd','text/csv','770aKGhQm','zafwo','sWXxi','text/html','AtomXml','application/vnd.oasis.opendocument.text','90GGFXir','cDvWe','application/vnd.openxmlformats-officedocument.wordprocessingml.document','uHvmi','application/octet-stream','UHtuN','text/rtf','177594FrKIBX','Opduf','eEeua','application/rss+xml','Ogg','9|39|36|31|21|33|38|17|20|22|8|32|0|5|15|34|4|37|7|3|6|28|13|23|12|35|25|29|1|27|18|16|26|10|11|30|24|2|19|14','JgMFG','Png','SbJgQ','yyCIc','Markdown','application/x-yaml','quaLs','Pguxx','367445fgSEOi','EVXCn','vWpzZ','jYpeu','Rtf','video/webm','Webm','Html','CQJsy','HuQJO','ygjgz','apply','frOlB','Mp4','IEQuS','UsrAS','Svg','28aQgOzl','ZnvfT','text/yaml','Plain','QhWZI','ahTAY','PRbFs','dPsqA','application/vnd.api+json','zkSzp','application/ld+json','application/pdf','search','jWIBd','lImIO','jMASA','wtyAm','MsWord','LCXcB','Jpeg','Xls','LtJFv','JsonApi','TextYaml','35nOBHzr','TextXml','application/zip','(((.+)+)+)+$','image/jpeg','APMsD','application/msword','application/x-www-form-urlencoded','Gif','gkIhu','video/mp4','RJbAw','495hFALJc'];a4_0x1eb7=function(){return _0x46c1b4;};return a4_0x1eb7();}
package/flow/end-step.js CHANGED
@@ -1 +1 @@
1
- const a5_0x3b3c6b=a5_0x2b23;(function(_0x3db04f,_0x20ba87){const _0x1fb5f6=a5_0x2b23,_0x9fe20c=_0x3db04f();while(!![]){try{const _0x375c7c=parseInt(_0x1fb5f6(0x1ca))/0x1*(-parseInt(_0x1fb5f6(0x1ac))/0x2)+-parseInt(_0x1fb5f6(0x1a8))/0x3*(-parseInt(_0x1fb5f6(0x1d2))/0x4)+parseInt(_0x1fb5f6(0x1c4))/0x5+parseInt(_0x1fb5f6(0x1b4))/0x6+-parseInt(_0x1fb5f6(0x1ce))/0x7*(-parseInt(_0x1fb5f6(0x1bc))/0x8)+-parseInt(_0x1fb5f6(0x1a9))/0x9+-parseInt(_0x1fb5f6(0x1c1))/0xa*(parseInt(_0x1fb5f6(0x1c6))/0xb);if(_0x375c7c===_0x20ba87)break;else _0x9fe20c['push'](_0x9fe20c['shift']());}catch(_0x56e964){_0x9fe20c['push'](_0x9fe20c['shift']());}}}(a5_0x5db4,0x66be9));function a5_0x2b23(_0x162138,_0xf3253e){const _0xefa22d=a5_0x5db4();return a5_0x2b23=function(_0x380b5d,_0x371713){_0x380b5d=_0x380b5d-0x1a4;let _0x5db45f=_0xefa22d[_0x380b5d];return _0x5db45f;},a5_0x2b23(_0x162138,_0xf3253e);}function a5_0x5db4(){const _0x180237=['77RIuOIf','search','__esModule','defineTool','1NVHQMJ','the\x20prompt\x20to\x20be\x20displayed\x20later','uFRer','getPrompt','243467irFGvq','WgBUH','object','\x0aNicely\x20tell\x20the\x20user\x20this\x20is\x20the\x20end\x20of\x20conversation\x20as\x20they\x20requested,\x20you\x20MUST\x20NOT\x20talk\x20other\x20things!\x0a','4CPkcOr','string','I\x27m\x20done\x20with\x20chat','EndStep','apply','2022027QJtGZR','4990770mCeZRc','../utils/message-util','oluvz','835606cSCHQQ','./step','toString','default','TcBxx','(((.+)+)+)+$','VDIlr','kHIFU','3786648eqYfGD','end\x20the\x20chat\x20conversation','__importDefault','HumanMessageEx','defineProperty','end_chat','yzmyA','completed','88dFQNGw','constructor','describe','onCrossing','eKcDU','426990KxFBHV','onEnter','sInNz','21795iqKTmi','SMuRB'];a5_0x5db4=function(){return _0x180237;};return a5_0x5db4();}const a5_0x371713=(function(){const _0x4b3f75=a5_0x2b23,_0x27c339={'sInNz':'end_chat','xAccz':_0x4b3f75(0x1b5),'oluvz':function(_0x294b19,_0x20d661){return _0x294b19!==_0x20d661;},'kHIFU':_0x4b3f75(0x1ba)};let _0x13d283=!![];return function(_0x4bb5cb,_0x2599a0){const _0x3d537b=_0x4b3f75,_0x5a995f={'SMuRB':_0x27c339[_0x3d537b(0x1c3)],'TcBxx':_0x27c339['xAccz']};if(_0x27c339[_0x3d537b(0x1ab)](_0x3d537b(0x1ba),_0x27c339[_0x3d537b(0x1b3)]))return[{'name':_0x5a995f[_0x3d537b(0x1c5)],'description':_0x5a995f[_0x3d537b(0x1b0)],'schema':_0x45e832[_0x3d537b(0x1af)]['object']({'prompt':_0x28abb6[_0x3d537b(0x1af)][_0x3d537b(0x1a4)]()[_0x3d537b(0x1be)](_0x3d537b(0x1cb))})}];else{const _0x29b8d5=_0x13d283?function(){const _0x3be30a=_0x3d537b;if(_0x2599a0){const _0x1a88cb=_0x2599a0[_0x3be30a(0x1a7)](_0x4bb5cb,arguments);return _0x2599a0=null,_0x1a88cb;}}:function(){};return _0x13d283=![],_0x29b8d5;}};}()),a5_0x380b5d=a5_0x371713(this,function(){const _0x3bc275=a5_0x2b23,_0x438905={'WgBUH':_0x3bc275(0x1b1)};return a5_0x380b5d[_0x3bc275(0x1ae)]()['search'](_0x438905[_0x3bc275(0x1cf)])[_0x3bc275(0x1ae)]()[_0x3bc275(0x1bd)](a5_0x380b5d)[_0x3bc275(0x1c7)](_0x438905[_0x3bc275(0x1cf)]);});a5_0x380b5d();'use strict';var __importDefault=this&&this[a5_0x3b3c6b(0x1b6)]||function(_0x3a9ad4){const _0x3d62d6=a5_0x3b3c6b;return _0x3a9ad4&&_0x3a9ad4[_0x3d62d6(0x1c8)]?_0x3a9ad4:{'default':_0x3a9ad4};};Object[a5_0x3b3c6b(0x1b8)](exports,'__esModule',{'value':!![]}),exports[a5_0x3b3c6b(0x1a6)]=void 0x0;const zod_1=__importDefault(require('zod')),message_util_1=require(a5_0x3b3c6b(0x1aa)),step_1=require(a5_0x3b3c6b(0x1ad)),AbruptEndPrompt=a5_0x3b3c6b(0x1d1);class EndStep extends step_1['Step']{constructor(_0x2cf18d,_0x460f94){super(EndStep,_0x2cf18d,_0x460f94);}[a5_0x3b3c6b(0x1bf)](_0x431254,_0x3edae4){const _0x5f535c=a5_0x3b3c6b;return new message_util_1[(_0x5f535c(0x1b7))](this,_0x5f535c(0x1a5));}['isEnd'](){return!![];}[a5_0x3b3c6b(0x1c2)](){const _0x119316=a5_0x3b3c6b,_0x35826b={'FsPeW':_0x119316(0x1bb)},_0x1edac1=this['flow']['getSessionDoc']();_0x1edac1['runStatus']=_0x35826b['FsPeW'];}[a5_0x3b3c6b(0x1cd)](){const _0x3c0e4e=a5_0x3b3c6b,_0x4565de={'eKcDU':function(_0x5e59e7,_0x53b561){return _0x5e59e7===_0x53b561;}},_0x593d46=super[_0x3c0e4e(0x1cd)]();return _0x593d46?_0x593d46:_0x4565de[_0x3c0e4e(0x1c0)]('uFRer',_0x3c0e4e(0x1cc))?AbruptEndPrompt:!![];}[a5_0x3b3c6b(0x1c9)](){const _0x20dbd1=a5_0x3b3c6b,_0x4709e1={'VDIlr':_0x20dbd1(0x1b5)};return[{'name':_0x20dbd1(0x1b9),'description':_0x4709e1[_0x20dbd1(0x1b2)],'schema':zod_1[_0x20dbd1(0x1af)][_0x20dbd1(0x1d0)]({'prompt':zod_1[_0x20dbd1(0x1af)]['string']()[_0x20dbd1(0x1be)]('the\x20prompt\x20to\x20be\x20displayed\x20later')})}];}async[a5_0x3b3c6b(0x1b9)](_0x5dd8d5){return{'step':EndStep};}}exports[a5_0x3b3c6b(0x1a6)]=EndStep;
1
+ const a5_0x5c0b27=a5_0x1b69;(function(_0x7251ed,_0x4b0812){const _0x24db3f=a5_0x1b69,_0x50acbe=_0x7251ed();while(!![]){try{const _0x1be0c7=parseInt(_0x24db3f(0x91))/0x1+parseInt(_0x24db3f(0x8d))/0x2*(parseInt(_0x24db3f(0xa1))/0x3)+-parseInt(_0x24db3f(0xa9))/0x4*(-parseInt(_0x24db3f(0x94))/0x5)+-parseInt(_0x24db3f(0xae))/0x6*(parseInt(_0x24db3f(0x92))/0x7)+-parseInt(_0x24db3f(0xad))/0x8+-parseInt(_0x24db3f(0xa3))/0x9*(parseInt(_0x24db3f(0xa4))/0xa)+parseInt(_0x24db3f(0x8e))/0xb;if(_0x1be0c7===_0x4b0812)break;else _0x50acbe['push'](_0x50acbe['shift']());}catch(_0x32c532){_0x50acbe['push'](_0x50acbe['shift']());}}}(a5_0x48bf,0x44bd1));const a5_0x3a0215=(function(){let _0x5df171=!![];return function(_0x3e9cce,_0xde0110){const _0x5ecf52=_0x5df171?function(){const _0x4c2af3=a5_0x1b69;if(_0xde0110){const _0x4eb3af=_0xde0110[_0x4c2af3(0xab)](_0x3e9cce,arguments);return _0xde0110=null,_0x4eb3af;}}:function(){};return _0x5df171=![],_0x5ecf52;};}()),a5_0xb5b1c3=a5_0x3a0215(this,function(){const _0x444597=a5_0x1b69,_0x265e2e={'yOtBC':_0x444597(0x90)};return a5_0xb5b1c3[_0x444597(0x9a)]()[_0x444597(0x93)](_0x265e2e['yOtBC'])['toString']()['constructor'](a5_0xb5b1c3)[_0x444597(0x93)](_0x265e2e[_0x444597(0x9c)]);});a5_0xb5b1c3();function a5_0x1b69(_0x5e407c,_0x3c1deb){const _0x1b62e7=a5_0x48bf();return a5_0x1b69=function(_0xb5b1c3,_0x3a0215){_0xb5b1c3=_0xb5b1c3-0x8d;let _0x48bf0f=_0x1b62e7[_0xb5b1c3];return _0x48bf0f;},a5_0x1b69(_0x5e407c,_0x3c1deb);}'use strict';function a5_0x48bf(){const _0x47cb80=['onCrossing','onEnter','UWaPO','426310cssZqi','3035087KCnnKM','cdnXl','(((.+)+)+)+$','271695tNGfRO','14cZKnrB','search','2280545wDUABl','__esModule','\x0aNicely\x20tell\x20the\x20user\x20this\x20is\x20the\x20end\x20of\x20conversation\x20as\x20they\x20requested,\x20you\x20MUST\x20NOT\x20talk\x20other\x20things!\x0a','bsfKx','getSessionDoc','isEnd','toString','end\x20the\x20chat\x20conversation','yOtBC','defineProperty','completed','end_chat','getPrompt','6MPabmu','./step','138519SWmqXa','350BJjsqA','__importDefault','default','EndStep','defineTool','4LAstpn','I\x27m\x20done\x20with\x20chat','apply','object','3967480bXzRgD','341574kjUGnJ'];a5_0x48bf=function(){return _0x47cb80;};return a5_0x48bf();}var __importDefault=this&&this[a5_0x5c0b27(0xa5)]||function(_0x44a308){const _0x5a09d7=a5_0x5c0b27;return _0x44a308&&_0x44a308[_0x5a09d7(0x95)]?_0x44a308:{'default':_0x44a308};};Object[a5_0x5c0b27(0x9d)](exports,'__esModule',{'value':!![]}),exports[a5_0x5c0b27(0xa7)]=void 0x0;const zod_1=__importDefault(require('zod')),message_util_1=require('../utils/message-util'),step_1=require(a5_0x5c0b27(0xa2)),AbruptEndPrompt=a5_0x5c0b27(0x96);class EndStep extends step_1['Step']{constructor(_0x471332,_0x2e0f8b){super(EndStep,_0x471332,_0x2e0f8b);}[a5_0x5c0b27(0xaf)](_0x3a7688,_0x16c036){const _0x423594=a5_0x5c0b27,_0x5dc7a6={'bsfKx':_0x423594(0xaa)};return new message_util_1['HumanMessageEx'](this,_0x5dc7a6[_0x423594(0x97)]);}[a5_0x5c0b27(0x99)](){return!![];}[a5_0x5c0b27(0xb0)](){const _0x1d5a76=a5_0x5c0b27,_0x242ca5={'UWaPO':_0x1d5a76(0x9e)},_0x1e2377=this['flow'][_0x1d5a76(0x98)]();_0x1e2377['runStatus']=_0x242ca5[_0x1d5a76(0xb1)];}[a5_0x5c0b27(0xa0)](){const _0x36485a=a5_0x5c0b27,_0x298e54=super[_0x36485a(0xa0)]();return _0x298e54?_0x298e54:AbruptEndPrompt;}[a5_0x5c0b27(0xa8)](){const _0x332d98=a5_0x5c0b27,_0x46e369={'moXCV':_0x332d98(0x9f),'cdnXl':_0x332d98(0x9b),'ekXAj':'the\x20prompt\x20to\x20be\x20displayed\x20later'};return[{'name':_0x46e369['moXCV'],'description':_0x46e369[_0x332d98(0x8f)],'schema':zod_1[_0x332d98(0xa6)][_0x332d98(0xac)]({'prompt':zod_1[_0x332d98(0xa6)]['string']()['describe'](_0x46e369['ekXAj'])})}];}async[a5_0x5c0b27(0x9f)](_0x53e8d2){return{'step':EndStep};}}exports[a5_0x5c0b27(0xa7)]=EndStep;
@@ -1 +1 @@
1
- const a6_0x28350d=a6_0x53b1;(function(_0x3608cd,_0x4787c9){const _0x51033b=a6_0x53b1,_0x153627=_0x3608cd();while(!![]){try{const _0x3b08e4=parseInt(_0x51033b(0x9b))/0x1+-parseInt(_0x51033b(0xb4))/0x2+-parseInt(_0x51033b(0xb6))/0x3+parseInt(_0x51033b(0x9a))/0x4*(-parseInt(_0x51033b(0xa2))/0x5)+-parseInt(_0x51033b(0xb0))/0x6+-parseInt(_0x51033b(0xb1))/0x7*(parseInt(_0x51033b(0x91))/0x8)+-parseInt(_0x51033b(0x8e))/0x9*(-parseInt(_0x51033b(0x92))/0xa);if(_0x3b08e4===_0x4787c9)break;else _0x153627['push'](_0x153627['shift']());}catch(_0x1742f9){_0x153627['push'](_0x153627['shift']());}}}(a6_0x3fea,0x73757));const a6_0x82de3b=(function(){const _0xfed5a1=a6_0x53b1,_0xbee8={'BDIeH':function(_0x2def11,_0x521278){return _0x2def11===_0x521278;},'KJfFq':_0xfed5a1(0x8f),'YIfQy':_0xfed5a1(0x9c),'ovnmk':_0xfed5a1(0x97),'imKyR':_0xfed5a1(0xaf)};let _0x29172e=!![];return function(_0xa290de,_0x566708){const _0x4c4cce=_0xfed5a1,_0x5e8a46={'Xazwu':_0xbee8[_0x4c4cce(0xa5)]};if(_0xbee8['imKyR']===_0xbee8[_0x4c4cce(0x93)]){const _0x34989d=_0x29172e?function(){const _0x54b3a2=_0x4c4cce;if(_0xbee8[_0x54b3a2(0xb5)](_0xbee8['KJfFq'],_0xbee8[_0x54b3a2(0x99)]))return _0x55ff0c[_0x54b3a2(0x9e)]()[_0x54b3a2(0xa3)](_0x5e8a46[_0x54b3a2(0xad)])[_0x54b3a2(0x9e)]()[_0x54b3a2(0xa1)](_0x51347c)[_0x54b3a2(0xa3)](_0x5e8a46[_0x54b3a2(0xad)]);else{if(_0x566708){const _0x1c7204=_0x566708[_0x54b3a2(0xb8)](_0xa290de,arguments);return _0x566708=null,_0x1c7204;}}}:function(){};return _0x29172e=![],_0x34989d;}else{const _0xed1aef=(0x0,_0x75ce82['v4'])();return{'id':_0xed1aef,'version':0x1,'runStatus':'running','createdOn':(0x0,_0x5d196f[_0x4c4cce(0xa8)])()['toDate'](),'saveOn':(0x0,_0x5b3293['default'])()[_0x4c4cce(0x96)](),'expireAfter':_0x2c738c['CoreConfig'][_0x4c4cce(0x9f)],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}};}()),a6_0x1963b5=a6_0x82de3b(this,function(){const _0x5c86b3=a6_0x53b1,_0x188100={'zbXuz':_0x5c86b3(0x97)};return a6_0x1963b5[_0x5c86b3(0x9e)]()['search'](_0x188100[_0x5c86b3(0xa7)])[_0x5c86b3(0x9e)]()['constructor'](a6_0x1963b5)[_0x5c86b3(0xa3)](_0x188100[_0x5c86b3(0xa7)]);});a6_0x1963b5();'use strict';var __importDefault=this&&this['__importDefault']||function(_0x42c241){const _0x290bc7=a6_0x53b1;return _0x42c241&&_0x42c241[_0x290bc7(0xae)]?_0x42c241:{'default':_0x42c241};};Object[a6_0x28350d(0xa0)](exports,'__esModule',{'value':!![]}),exports[a6_0x28350d(0xb7)]=void 0x0;const moment_1=__importDefault(require(a6_0x28350d(0xaa))),uuid_1=require('uuid'),core_config_1=require(a6_0x28350d(0xb3)),memory_1=require(a6_0x28350d(0xab));class FlowCreator{static async[a6_0x28350d(0xa9)](_0x3f2bfe,_0x7eb005,_0x2d605b,_0x3f0c8a){const _0x2bd2f8=a6_0x28350d,_0x5aa56f=_0x2d605b['getFlow'](_0x3f2bfe);if(_0x5aa56f){const _0x2448e0=new _0x5aa56f();return _0x2448e0[_0x2bd2f8(0x9d)](_0x3f0c8a),_0x2448e0['setMemory'](new memory_1['Memory']()),await _0x2448e0[_0x2bd2f8(0x90)](),_0x2448e0[_0x2bd2f8(0x98)](),await _0x2448e0[_0x2bd2f8(0xac)](_0x7eb005,_0x2d605b),_0x2448e0;}else throw new Error(_0x2bd2f8(0xa4)+_0x3f2bfe+_0x2bd2f8(0xb2));}static async['createDoc'](){const _0x4e7ff3=a6_0x28350d,_0x5bc13e={'npnvq':_0x4e7ff3(0xa6)},_0x359011=(0x0,uuid_1['v4'])();return{'id':_0x359011,'version':0x1,'runStatus':_0x5bc13e[_0x4e7ff3(0x95)],'createdOn':(0x0,moment_1[_0x4e7ff3(0xa8)])()[_0x4e7ff3(0x96)](),'saveOn':(0x0,moment_1['default'])()[_0x4e7ff3(0x96)](),'expireAfter':core_config_1[_0x4e7ff3(0x94)][_0x4e7ff3(0x9f)],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}}function a6_0x53b1(_0x50989a,_0xe7881c){const _0x1f45d7=a6_0x3fea();return a6_0x53b1=function(_0x1963b5,_0x82de3b){_0x1963b5=_0x1963b5-0x8e;let _0x3fea68=_0x1f45d7[_0x1963b5];return _0x3fea68;},a6_0x53b1(_0x50989a,_0xe7881c);}exports[a6_0x28350d(0xb7)]=FlowCreator;function a6_0x3fea(){const _0x5b7d6b=['FlowClass\x20\x20\x27','ovnmk','running','zbXuz','default','create','moment','./memory','bootstrap','Xazwu','__esModule','TwbrW','2605554bCGDnd','4757207EbvyKf','\x27\x20not\x20registered.','../configs/core-config','471140bcAhWU','BDIeH','1140927pVtBBO','FlowCreator','apply','80631KnozFH','XNDVV','init','8mqjlzD','2300XGSmep','imKyR','CoreConfig','npnvq','toDate','(((.+)+)+)+$','collectSteps','YIfQy','8dOYvkO','281820yQeRLD','QbKIZ','addContext','toString','sessionExpiration','defineProperty','constructor','349330RtozuI','search'];a6_0x3fea=function(){return _0x5b7d6b;};return a6_0x3fea();}
1
+ const a6_0x52f187=a6_0x396f;(function(_0x5cb779,_0x15e1d5){const _0x1fe6d3=a6_0x396f,_0x525b87=_0x5cb779();while(!![]){try{const _0x21d72b=parseInt(_0x1fe6d3(0x154))/0x1+parseInt(_0x1fe6d3(0x15f))/0x2+-parseInt(_0x1fe6d3(0x166))/0x3*(parseInt(_0x1fe6d3(0x150))/0x4)+parseInt(_0x1fe6d3(0x161))/0x5*(parseInt(_0x1fe6d3(0x14b))/0x6)+-parseInt(_0x1fe6d3(0x15b))/0x7*(-parseInt(_0x1fe6d3(0x155))/0x8)+parseInt(_0x1fe6d3(0x158))/0x9*(parseInt(_0x1fe6d3(0x15a))/0xa)+-parseInt(_0x1fe6d3(0x149))/0xb;if(_0x21d72b===_0x15e1d5)break;else _0x525b87['push'](_0x525b87['shift']());}catch(_0x17c568){_0x525b87['push'](_0x525b87['shift']());}}}(a6_0x218b,0x97c22));function a6_0x396f(_0x2c6652,_0x25367c){const _0x28fabe=a6_0x218b();return a6_0x396f=function(_0x57f156,_0x1d570b){_0x57f156=_0x57f156-0x145;let _0x218bc3=_0x28fabe[_0x57f156];return _0x218bc3;},a6_0x396f(_0x2c6652,_0x25367c);}const a6_0x1d570b=(function(){const _0x2bc209=a6_0x396f,_0x578513={'RcrtX':function(_0xae88fb,_0x508e5b){return _0xae88fb===_0x508e5b;},'CvbRG':_0x2bc209(0x15d)};let _0x261d7e=!![];return function(_0x462a60,_0x3d6b90){const _0x43f74b=_0x2bc209;if(_0x578513[_0x43f74b(0x153)](_0x578513['CvbRG'],_0x578513['CvbRG'])){const _0x1af4ff=_0x261d7e?function(){const _0x27c378=_0x43f74b;if(_0x3d6b90){const _0x57e7eb=_0x3d6b90[_0x27c378(0x164)](_0x462a60,arguments);return _0x3d6b90=null,_0x57e7eb;}}:function(){};return _0x261d7e=![],_0x1af4ff;}else{const _0x5dc52c=(0x0,_0x19389d['v4'])();return{'id':_0x5dc52c,'version':0x1,'runStatus':_0x43f74b(0x156),'createdOn':(0x0,_0x3af2a7[_0x43f74b(0x167)])()['toDate'](),'saveOn':(0x0,_0x420baa['default'])()[_0x43f74b(0x148)](),'expireAfter':_0x3869dd['CoreConfig'][_0x43f74b(0x14a)],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}};}()),a6_0x57f156=a6_0x1d570b(this,function(){const _0x1b3de9=a6_0x396f,_0x3b139b={'zHCQQ':_0x1b3de9(0x157)};return a6_0x57f156[_0x1b3de9(0x14c)]()[_0x1b3de9(0x14f)](_0x3b139b['zHCQQ'])['toString']()['constructor'](a6_0x57f156)[_0x1b3de9(0x14f)](_0x3b139b[_0x1b3de9(0x163)]);});a6_0x57f156();'use strict';var __importDefault=this&&this['__importDefault']||function(_0x4578eb){const _0x888c50=a6_0x396f;return _0x4578eb&&_0x4578eb[_0x888c50(0x160)]?_0x4578eb:{'default':_0x4578eb};};Object[a6_0x52f187(0x159)](exports,a6_0x52f187(0x160),{'value':!![]}),exports[a6_0x52f187(0x146)]=void 0x0;function a6_0x218b(){const _0x1fb442=['FlowClass\x20\x20\x27','../configs/core-config','search','4636ZLIUmq','init','createDoc','RcrtX','828129QsywEx','755512MUqNxs','running','(((.+)+)+)+$','33021DJXsJV','defineProperty','760VxEgCv','49JueTCp','Memory','tIoIE','\x27\x20not\x20registered.','1498370XFUPmO','__esModule','1328865VDVfzs','CoreConfig','zHCQQ','apply','getFlow','501nNTcEw','default','collectSteps','addContext','bootstrap','FlowCreator','setMemory','toDate','21646339IqtPPl','sessionExpiration','6tQrNHu','toString'];a6_0x218b=function(){return _0x1fb442;};return a6_0x218b();}const moment_1=__importDefault(require('moment')),uuid_1=require('uuid'),core_config_1=require(a6_0x52f187(0x14e)),memory_1=require('./memory');class FlowCreator{static async['create'](_0x5cff9c,_0x398538,_0x3931b6,_0xb75c56){const _0x3e7563=a6_0x52f187,_0x4cab99=_0x3931b6[_0x3e7563(0x165)](_0x5cff9c);if(_0x4cab99){const _0x59a21f=new _0x4cab99();return _0x59a21f[_0x3e7563(0x169)](_0xb75c56),_0x59a21f[_0x3e7563(0x147)](new memory_1[(_0x3e7563(0x15c))]()),await _0x59a21f[_0x3e7563(0x151)](),_0x59a21f[_0x3e7563(0x168)](),await _0x59a21f[_0x3e7563(0x145)](_0x398538,_0x3931b6),_0x59a21f;}else throw new Error(_0x3e7563(0x14d)+_0x5cff9c+_0x3e7563(0x15e));}static async[a6_0x52f187(0x152)](){const _0x3cd2d4=a6_0x52f187,_0x2fec1b={'VriTZ':_0x3cd2d4(0x156)},_0x23054f=(0x0,uuid_1['v4'])();return{'id':_0x23054f,'version':0x1,'runStatus':_0x2fec1b['VriTZ'],'createdOn':(0x0,moment_1[_0x3cd2d4(0x167)])()[_0x3cd2d4(0x148)](),'saveOn':(0x0,moment_1[_0x3cd2d4(0x167)])()['toDate'](),'expireAfter':core_config_1[_0x3cd2d4(0x162)]['sessionExpiration'],'tokens':{'inputTokens':0x0,'outputTokens':0x0,'totalTokens':0x0},'flows':[],'log':[],'error':[],'warn':[],'debug':[],'verbose':[]};}}exports['FlowCreator']=FlowCreator;
@@ -1 +1 @@
1
- 'use strict';const a7_0x302199=a7_0x1a2c;function a7_0x1a2c(_0x5515eb,_0x4fd29c){const _0x2fccb2=a7_0x3879();return a7_0x1a2c=function(_0x221560,_0x1f33ff){_0x221560=_0x221560-0x7f;let _0x387952=_0x2fccb2[_0x221560];return _0x387952;},a7_0x1a2c(_0x5515eb,_0x4fd29c);}(function(_0x2df072,_0x3780d2){const _0x1a426a=a7_0x1a2c,_0x1395ee=_0x2df072();while(!![]){try{const _0x2bf253=parseInt(_0x1a426a(0xa0))/0x1*(-parseInt(_0x1a426a(0x87))/0x2)+-parseInt(_0x1a426a(0x83))/0x3+-parseInt(_0x1a426a(0x9d))/0x4+parseInt(_0x1a426a(0x8e))/0x5+-parseInt(_0x1a426a(0x99))/0x6+parseInt(_0x1a426a(0x8f))/0x7+parseInt(_0x1a426a(0x84))/0x8*(parseInt(_0x1a426a(0x95))/0x9);if(_0x2bf253===_0x3780d2)break;else _0x1395ee['push'](_0x1395ee['shift']());}catch(_0x21cb56){_0x1395ee['push'](_0x1395ee['shift']());}}}(a7_0x3879,0x1c7fc));function a7_0x3879(){const _0x12f25f=['optional','search','string','(((.+)+)+)+$','record','2619774iPxknQ','nonempty','kBMWi','completed','552198MGZEMi','createZodDto','system','RunResponseDto','503116lKxYJR','tool','array','2fbCTtU','date','HttpContentType','number','zod','BnbHX','./content-type','object','constructor','toString','success','any','error','275526PSjWth','8QkYVcz','ToolStatus','aborted','198662BasnMA','boolean','__esModule','running','zVtRm','enum','apply','979410VuGDur','966560GHPqlz'];a7_0x3879=function(){return _0x12f25f;};return a7_0x3879();}Object['defineProperty'](exports,a7_0x302199(0x89),{'value':!![]}),exports['RunResponseDto']=exports[a7_0x302199(0x85)]=void 0x0;const zod_1=require(a7_0x302199(0xa4)),zod_nestjs_1=require('@anatine/zod-nestjs'),content_type_1=require(a7_0x302199(0xa6)),RoleEnum=zod_1['z'][a7_0x302199(0x8c)]([a7_0x302199(0x9b),'human','ai',a7_0x302199(0x9e)]),ToolStatusEnum=zod_1['z'][a7_0x302199(0x8c)]([a7_0x302199(0x80),a7_0x302199(0x82)]),AIToolMessageSchema=zod_1['z']['object']({'name':zod_1['z'][a7_0x302199(0x92)](),'args':zod_1['z'][a7_0x302199(0xa7)]({}),'id':zod_1['z']['string']()}),ChatMessageSchema=zod_1['z']['object']({'id':zod_1['z'][a7_0x302199(0x92)](),'type':RoleEnum,'content':zod_1['z'][a7_0x302199(0x92)](),'timestamp':zod_1['z']['date'](),'tool_call_id':zod_1['z'][a7_0x302199(0x92)]()['optional'](),'name':zod_1['z'][a7_0x302199(0x92)](),'status':ToolStatusEnum[a7_0x302199(0x90)](),'tool_calls':zod_1['z'][a7_0x302199(0x9f)](AIToolMessageSchema)['optional'](),'additional_kwargs':zod_1['z'][a7_0x302199(0x94)](zod_1['z'][a7_0x302199(0x81)]())[a7_0x302199(0x90)]()}),StepSchema=zod_1['z'][a7_0x302199(0xa7)]({'name':zod_1['z'][a7_0x302199(0x92)](),'isActive':zod_1['z'][a7_0x302199(0x88)](),'state':zod_1['z'][a7_0x302199(0xa7)]({}),'modelName':zod_1['z'][a7_0x302199(0x92)](),'temperature':zod_1['z']['number']()}),MemorySchema=zod_1['z'][a7_0x302199(0xa7)]({'nameSpace':zod_1['z'][a7_0x302199(0x92)](),'history':zod_1['z'][a7_0x302199(0x9f)](ChatMessageSchema)}),FlowSchema=zod_1['z'][a7_0x302199(0xa7)]({'name':zod_1['z'][a7_0x302199(0x92)](),'memory':zod_1['z']['array'](MemorySchema),'steps':zod_1['z'][a7_0x302199(0x9f)](StepSchema),'context':zod_1['z'][a7_0x302199(0xa7)]({}),'temperature':zod_1['z'][a7_0x302199(0xa3)](),'sequence':zod_1['z'][a7_0x302199(0x9f)](zod_1['z'][a7_0x302199(0x92)]())}),RunStatusSchema=zod_1['z'][a7_0x302199(0x8c)]([a7_0x302199(0x98),a7_0x302199(0x86),a7_0x302199(0x8a)]),_SessionSchema=zod_1['z'][a7_0x302199(0xa7)]({'id':zod_1['z'][a7_0x302199(0x92)]()[a7_0x302199(0x96)](),'createdOn':zod_1['z'][a7_0x302199(0xa1)](),'saveOn':zod_1['z'][a7_0x302199(0xa1)](),'runStatus':RunStatusSchema,'version':zod_1['z'][a7_0x302199(0xa3)](),'expireAfter':zod_1['z'][a7_0x302199(0xa3)](),'flows':zod_1['z'][a7_0x302199(0x9f)](FlowSchema),'log':zod_1['z'][a7_0x302199(0x9f)](zod_1['z'][a7_0x302199(0xa7)]({})),'error':zod_1['z']['array'](zod_1['z'][a7_0x302199(0xa7)]({})),'warn':zod_1['z'][a7_0x302199(0x9f)](zod_1['z'][a7_0x302199(0xa7)]({})),'debug':zod_1['z'][a7_0x302199(0x9f)](zod_1['z'][a7_0x302199(0xa7)]({})),'verbose':zod_1['z']['array'](zod_1['z'][a7_0x302199(0xa7)]({})),'tokens':zod_1['z'][a7_0x302199(0xa7)]({'inputTokens':zod_1['z'][a7_0x302199(0xa3)](),'outputTokens':zod_1['z'][a7_0x302199(0xa3)](),'totalTokens':zod_1['z']['number']()})});var ToolStatus;(function(_0x10036f){const _0x2ced6d=a7_0x302199,_0x53a1d3={'kBMWi':_0x2ced6d(0x93),'GzNZR':function(_0x665719,_0x34d719,_0x4cf2e8){return _0x665719(_0x34d719,_0x4cf2e8);},'zVtRm':function(_0x402422){return _0x402422();},'BnbHX':'success','DHMuo':_0x2ced6d(0x82)},_0x3b88e6=(function(){let _0x2bccde=!![];return function(_0x19cae2,_0x240a6d){const _0x74b28a=_0x2bccde?function(){const _0x39637d=a7_0x1a2c;if(_0x240a6d){const _0x158ff9=_0x240a6d[_0x39637d(0x8d)](_0x19cae2,arguments);return _0x240a6d=null,_0x158ff9;}}:function(){};return _0x2bccde=![],_0x74b28a;};}()),_0x4e4564=_0x53a1d3['GzNZR'](_0x3b88e6,this,function(){const _0x103da0=_0x2ced6d;return _0x4e4564[_0x103da0(0x7f)]()['search'](_0x53a1d3[_0x103da0(0x97)])[_0x103da0(0x7f)]()[_0x103da0(0xa8)](_0x4e4564)[_0x103da0(0x91)](_0x53a1d3['kBMWi']);});_0x53a1d3[_0x2ced6d(0x8b)](_0x4e4564),_0x10036f[_0x53a1d3[_0x2ced6d(0xa5)]]=_0x53a1d3[_0x2ced6d(0xa5)],_0x10036f[_0x2ced6d(0x82)]=_0x53a1d3['DHMuo'];}(ToolStatus||(exports[a7_0x302199(0x85)]=ToolStatus={})));const _ToolSchema=zod_1['z'][a7_0x302199(0xa7)]({'name':zod_1['z']['string'](),'description':zod_1['z'][a7_0x302199(0x92)](),'schema':zod_1['z'][a7_0x302199(0xa7)]({})}),RunResponseSchema=zod_1['z'][a7_0x302199(0xa7)]({'success':zod_1['z'][a7_0x302199(0x88)](),'completed':zod_1['z'][a7_0x302199(0x88)](),'message':zod_1['z'][a7_0x302199(0x92)](),'session':zod_1['z'][a7_0x302199(0x92)](),'contentType':zod_1['z']['nativeEnum'](content_type_1[a7_0x302199(0xa2)])});class RunResponseDto extends(0x0,zod_nestjs_1[a7_0x302199(0x9a)])(RunResponseSchema){}exports[a7_0x302199(0x9c)]=RunResponseDto;
1
+ 'use strict';const a7_0x4ce3df=a7_0x1b34;(function(_0x5eb07c,_0x4bc24a){const _0x4c971f=a7_0x1b34,_0xa75c28=_0x5eb07c();while(!![]){try{const _0x246b1a=parseInt(_0x4c971f(0x208))/0x1+-parseInt(_0x4c971f(0x210))/0x2*(-parseInt(_0x4c971f(0x20f))/0x3)+-parseInt(_0x4c971f(0x200))/0x4+-parseInt(_0x4c971f(0x1ed))/0x5*(parseInt(_0x4c971f(0x207))/0x6)+-parseInt(_0x4c971f(0x1eb))/0x7+-parseInt(_0x4c971f(0x201))/0x8*(parseInt(_0x4c971f(0x1ff))/0x9)+-parseInt(_0x4c971f(0x20c))/0xa*(-parseInt(_0x4c971f(0x203))/0xb);if(_0x246b1a===_0x4bc24a)break;else _0xa75c28['push'](_0xa75c28['shift']());}catch(_0x127cc9){_0xa75c28['push'](_0xa75c28['shift']());}}}(a7_0x2717,0x893ad));function a7_0x2717(){const _0x958dbc=['1154572nnawys','17752ALuTut','RunResponseDto','19539311VrGbXz','completed','IAsSn','kOqPg','1002ZzSCcX','800926emIhDm','success','defineProperty','./content-type','10lPuYwB','record','HttpContentType','1128jdUkAw','2686rKwcZb','boolean','any','number','FmGyS','optional','6616862yXjrGj','enum','20305vIuBOe','date','tool','array','constructor','@anatine/zod-nestjs','object','error','apply','string','createZodDto','search','toString','SIMhq','__esModule','nonempty','zod','aborted','2466QRhyJx'];a7_0x2717=function(){return _0x958dbc;};return a7_0x2717();}Object[a7_0x4ce3df(0x20a)](exports,a7_0x4ce3df(0x1fb),{'value':!![]}),exports[a7_0x4ce3df(0x202)]=exports['ToolStatus']=void 0x0;const zod_1=require(a7_0x4ce3df(0x1fd)),zod_nestjs_1=require(a7_0x4ce3df(0x1f2)),content_type_1=require(a7_0x4ce3df(0x20b)),RoleEnum=zod_1['z'][a7_0x4ce3df(0x1ec)](['system','human','ai',a7_0x4ce3df(0x1ef)]),ToolStatusEnum=zod_1['z'][a7_0x4ce3df(0x1ec)]([a7_0x4ce3df(0x209),'error']),AIToolMessageSchema=zod_1['z'][a7_0x4ce3df(0x1f3)]({'name':zod_1['z'][a7_0x4ce3df(0x1f6)](),'args':zod_1['z'][a7_0x4ce3df(0x1f3)]({}),'id':zod_1['z'][a7_0x4ce3df(0x1f6)]()}),ChatMessageSchema=zod_1['z'][a7_0x4ce3df(0x1f3)]({'id':zod_1['z'][a7_0x4ce3df(0x1f6)](),'type':RoleEnum,'content':zod_1['z']['string'](),'timestamp':zod_1['z'][a7_0x4ce3df(0x1ee)](),'tool_call_id':zod_1['z'][a7_0x4ce3df(0x1f6)]()[a7_0x4ce3df(0x1ea)](),'name':zod_1['z']['string'](),'status':ToolStatusEnum['optional'](),'tool_calls':zod_1['z'][a7_0x4ce3df(0x1f0)](AIToolMessageSchema)[a7_0x4ce3df(0x1ea)](),'additional_kwargs':zod_1['z'][a7_0x4ce3df(0x20d)](zod_1['z'][a7_0x4ce3df(0x1e7)]())['optional']()}),StepSchema=zod_1['z'][a7_0x4ce3df(0x1f3)]({'name':zod_1['z']['string'](),'isActive':zod_1['z']['boolean'](),'state':zod_1['z']['object']({}),'modelName':zod_1['z'][a7_0x4ce3df(0x1f6)](),'temperature':zod_1['z'][a7_0x4ce3df(0x1e8)]()}),MemorySchema=zod_1['z'][a7_0x4ce3df(0x1f3)]({'nameSpace':zod_1['z']['string'](),'history':zod_1['z'][a7_0x4ce3df(0x1f0)](ChatMessageSchema)}),FlowSchema=zod_1['z']['object']({'name':zod_1['z'][a7_0x4ce3df(0x1f6)](),'memory':zod_1['z'][a7_0x4ce3df(0x1f0)](MemorySchema),'steps':zod_1['z'][a7_0x4ce3df(0x1f0)](StepSchema),'context':zod_1['z'][a7_0x4ce3df(0x1f3)]({}),'temperature':zod_1['z']['number'](),'sequence':zod_1['z'][a7_0x4ce3df(0x1f0)](zod_1['z'][a7_0x4ce3df(0x1f6)]())}),RunStatusSchema=zod_1['z'][a7_0x4ce3df(0x1ec)]([a7_0x4ce3df(0x204),a7_0x4ce3df(0x1fe),'running']),_SessionSchema=zod_1['z'][a7_0x4ce3df(0x1f3)]({'id':zod_1['z']['string']()[a7_0x4ce3df(0x1fc)](),'createdOn':zod_1['z'][a7_0x4ce3df(0x1ee)](),'saveOn':zod_1['z'][a7_0x4ce3df(0x1ee)](),'runStatus':RunStatusSchema,'version':zod_1['z'][a7_0x4ce3df(0x1e8)](),'expireAfter':zod_1['z'][a7_0x4ce3df(0x1e8)](),'flows':zod_1['z'][a7_0x4ce3df(0x1f0)](FlowSchema),'log':zod_1['z'][a7_0x4ce3df(0x1f0)](zod_1['z'][a7_0x4ce3df(0x1f3)]({})),'error':zod_1['z'][a7_0x4ce3df(0x1f0)](zod_1['z'][a7_0x4ce3df(0x1f3)]({})),'warn':zod_1['z'][a7_0x4ce3df(0x1f0)](zod_1['z'][a7_0x4ce3df(0x1f3)]({})),'debug':zod_1['z']['array'](zod_1['z'][a7_0x4ce3df(0x1f3)]({})),'verbose':zod_1['z']['array'](zod_1['z'][a7_0x4ce3df(0x1f3)]({})),'tokens':zod_1['z'][a7_0x4ce3df(0x1f3)]({'inputTokens':zod_1['z'][a7_0x4ce3df(0x1e8)](),'outputTokens':zod_1['z'][a7_0x4ce3df(0x1e8)](),'totalTokens':zod_1['z'][a7_0x4ce3df(0x1e8)]()})});var ToolStatus;function a7_0x1b34(_0x8ddeee,_0x826542){const _0x59f074=a7_0x2717();return a7_0x1b34=function(_0x14e59b,_0x4e8cac){_0x14e59b=_0x14e59b-0x1e6;let _0x2717ed=_0x59f074[_0x14e59b];return _0x2717ed;},a7_0x1b34(_0x8ddeee,_0x826542);}(function(_0x119eb8){const _0x565d03=a7_0x4ce3df,_0x581b4d={'SIMhq':'(((.+)+)+)+$','LLqhF':function(_0x3df250,_0x5e4bad,_0x1636f4){return _0x3df250(_0x5e4bad,_0x1636f4);},'kOqPg':function(_0x22f3e9){return _0x22f3e9();},'IAsSn':_0x565d03(0x209),'FmGyS':_0x565d03(0x1f4)},_0x1800af=(function(){let _0x275f25=!![];return function(_0x242fa9,_0x2d4786){const _0xa96640=_0x275f25?function(){const _0xc41fa1=a7_0x1b34;if(_0x2d4786){const _0x4cf329=_0x2d4786[_0xc41fa1(0x1f5)](_0x242fa9,arguments);return _0x2d4786=null,_0x4cf329;}}:function(){};return _0x275f25=![],_0xa96640;};}()),_0x3bda2a=_0x581b4d['LLqhF'](_0x1800af,this,function(){const _0x4e8b46=_0x565d03;return _0x3bda2a[_0x4e8b46(0x1f9)]()[_0x4e8b46(0x1f8)](_0x581b4d['SIMhq'])['toString']()[_0x4e8b46(0x1f1)](_0x3bda2a)[_0x4e8b46(0x1f8)](_0x581b4d[_0x4e8b46(0x1fa)]);});_0x581b4d[_0x565d03(0x206)](_0x3bda2a),_0x119eb8[_0x581b4d['IAsSn']]=_0x581b4d[_0x565d03(0x205)],_0x119eb8[_0x581b4d[_0x565d03(0x1e9)]]=_0x581b4d[_0x565d03(0x1e9)];}(ToolStatus||(exports['ToolStatus']=ToolStatus={})));const _ToolSchema=zod_1['z'][a7_0x4ce3df(0x1f3)]({'name':zod_1['z'][a7_0x4ce3df(0x1f6)](),'description':zod_1['z'][a7_0x4ce3df(0x1f6)](),'schema':zod_1['z'][a7_0x4ce3df(0x1f3)]({})}),RunResponseSchema=zod_1['z'][a7_0x4ce3df(0x1f3)]({'success':zod_1['z'][a7_0x4ce3df(0x1e6)](),'completed':zod_1['z']['boolean'](),'message':zod_1['z'][a7_0x4ce3df(0x1f6)](),'session':zod_1['z'][a7_0x4ce3df(0x1f6)](),'contentType':zod_1['z']['nativeEnum'](content_type_1[a7_0x4ce3df(0x20e)])});class RunResponseDto extends(0x0,zod_nestjs_1[a7_0x4ce3df(0x1f7)])(RunResponseSchema){}exports[a7_0x4ce3df(0x202)]=RunResponseDto;
package/flow/flow.js CHANGED
@@ -1 +1 @@
1
- const a8_0x46ef60=a8_0x1dbb;(function(_0x1decb7,_0x1d9097){const _0x1e7666=a8_0x1dbb,_0x308bf6=_0x1decb7();while(!![]){try{const _0x511eed=parseInt(_0x1e7666(0x22e))/0x1+parseInt(_0x1e7666(0x1f4))/0x2+-parseInt(_0x1e7666(0x1fe))/0x3*(parseInt(_0x1e7666(0x1e5))/0x4)+parseInt(_0x1e7666(0x229))/0x5+-parseInt(_0x1e7666(0x26c))/0x6+parseInt(_0x1e7666(0x1e9))/0x7+-parseInt(_0x1e7666(0x25c))/0x8;if(_0x511eed===_0x1d9097)break;else _0x308bf6['push'](_0x308bf6['shift']());}catch(_0x528cdd){_0x308bf6['push'](_0x308bf6['shift']());}}}(a8_0x1d88,0x727c2));const a8_0x1415b4=(function(){const _0x1a09e4=a8_0x1dbb,_0x448b92={'VervE':function(_0x3774c9,_0x117f3c){return _0x3774c9!==_0x117f3c;},'TWXPT':'trhda','ctpqv':_0x1a09e4(0x25d)};let _0x3d8fd7=!![];return function(_0xb19be7,_0x539b74){const _0x4d17e5=_0x3d8fd7?function(){const _0x3a9593=a8_0x1dbb;if(_0x539b74){if(_0x448b92[_0x3a9593(0x21c)](_0x448b92['TWXPT'],_0x448b92['ctpqv'])){const _0x4fb9df=_0x539b74[_0x3a9593(0x224)](_0xb19be7,arguments);return _0x539b74=null,_0x4fb9df;}else return'';}}:function(){};return _0x3d8fd7=![],_0x4d17e5;};}()),a8_0x38796d=a8_0x1415b4(this,function(){const _0x2edd00=a8_0x1dbb,_0x4b0d9f={'ZkpvB':_0x2edd00(0x24e)};return a8_0x38796d[_0x2edd00(0x200)]()[_0x2edd00(0x1df)](_0x4b0d9f[_0x2edd00(0x239)])['toString']()[_0x2edd00(0x225)](a8_0x38796d)[_0x2edd00(0x1df)](_0x4b0d9f[_0x2edd00(0x239)]);});a8_0x38796d();function a8_0x1d88(){const _0x14c733=['active','log','ceil',',\x20error:','flowEngine','591eoEzGn','jyVOY','toString','oDBMs','post','tallyToken','tokens','bTxQI','name','SaiQY','saveSession','sessionDoc','ThYDj','CaDRb','NYDne','./end-step','KxQVk','YvQrY','RYvkl','setMemory','getSessionDoc','dlLlG','memory','Batch\x20','run','stepMap','OELNM','sequence','YJvlF','bootstrap','VervE','writeDoc','FqHMN','temperature','output_tokens','Geprb','total_tokens','AZYjr','apply','constructor','message','DynamicStructuredTool','steps','3777905EsaRTK','split','saveStepState','../clients/self-client','activate','657218qCYrbW','uyygW','ayAvb','QmPqN','sPFwc','iHyzY','SessionLogger','get','useMemory','slice','Nicgy','ZkpvB','4|0|2|3|1','\x20completed.','getFlowEngine','Tvzym','all','uRsFV','oDsQA','GUbMf','AgHVd','concurrentSteps','PAXQm','getFlowSession','totalTokens','length','getModelName','xjfJE','getName','contentType','getMessages','temp','(((.+)+)+)+$','isEnd','tools','assignFlowDoc','__esModule','readDoc','getStateAs','Flow','setContext','spawnSteps','@langchain/core/tools','filter','activateByName','GyWiV','5923776QXdcQs','yelqW','getModel','input_tokens','defineSteps','getContext','getActiveStep','merge','aIYXs','error','getMemory','fetch','context','BBaGx','inputTokens','push','1897146tAZFVy','BJlTD','getStep','flowDoc','bYgKi','XsYLE','djTfG','search','floor','ZhcJq','composeTool','useModel','save','18628kgDczU','tPmDV','gzhJA','../session/session-logger','2724036ppDhmL','set','defineTool','saveState','grqVb','createDoc','Processing\x20batch\x20','flows','gvNjV','getStepStateAs','outputTokens','1282150dVRYoq','EndStep','jdUhZ','deEtI','SelfClient'];a8_0x1d88=function(){return _0x14c733;};return a8_0x1d88();}'use strict';Object['defineProperty'](exports,a8_0x46ef60(0x252),{'value':!![]}),exports[a8_0x46ef60(0x255)]=void 0x0;function a8_0x1dbb(_0x139151,_0x34e07a){const _0x43420d=a8_0x1d88();return a8_0x1dbb=function(_0x38796d,_0x1415b4){_0x38796d=_0x38796d-0x1dd;let _0x1d88c5=_0x43420d[_0x38796d];return _0x1d88c5;},a8_0x1dbb(_0x139151,_0x34e07a);}const tools_1=require(a8_0x46ef60(0x258)),lodash_1=require('lodash'),end_step_1=require(a8_0x46ef60(0x20d)),self_client_1=require(a8_0x46ef60(0x22c)),session_logger_1=require(a8_0x46ef60(0x1e8));class Flow{constructor(_0x6b9d40){const _0xac140c=a8_0x46ef60,_0x82b2a6={'GyWiV':_0xac140c(0x23a)},_0x5bb0bf=_0x82b2a6[_0xac140c(0x25b)][_0xac140c(0x22a)]('|');let _0x62a835=0x0;while(!![]){switch(_0x5bb0bf[_0x62a835++]){case'0':this[_0xac140c(0x250)]=new Map();continue;case'1':this[_0xac140c(0x268)]={};continue;case'2':this[_0xac140c(0x24d)]=-0x1;continue;case'3':this[_0xac140c(0x206)]=_0x6b9d40[_0xac140c(0x206)];continue;case'4':this[_0xac140c(0x217)]=new Map();continue;}break;}}async['init'](){}[a8_0x46ef60(0x23c)](){const _0x1b8a4f=a8_0x46ef60;return this[_0x1b8a4f(0x1fd)];}async[a8_0x46ef60(0x21b)](_0x34f706,_0x1d7e61){const _0x11e8d9=a8_0x46ef60,_0x3ef0ba={'KxQVk':_0x11e8d9(0x264),'tPmDV':_0x11e8d9(0x1e7),'Tvzym':function(_0x370858,_0x504d74){return _0x370858===_0x504d74;},'ijMft':function(_0x2601f3,_0xa60f6b){return _0x2601f3===_0xa60f6b;},'ayAvb':_0x11e8d9(0x1de),'sPFwc':_0x11e8d9(0x249),'UMjaR':'harnj'};this[_0x11e8d9(0x1fd)]=_0x1d7e61;for(const [,_0xda547f]of this[_0x11e8d9(0x217)]){const _0x596f1a=_0xda547f[_0x11e8d9(0x25e)]();if(!_0x596f1a){const _0x26676c=this[_0x11e8d9(0x23c)]()[_0x11e8d9(0x248)]();_0xda547f[_0x11e8d9(0x1e3)](_0x26676c);}}const _0x21670d=_0x1d7e61['getFlowSession'](),[_0x3d404c,_0xc14888]=await _0x21670d[_0x11e8d9(0x267)](_0x34f706);if(_0x3d404c){if(_0x3ef0ba[_0x11e8d9(0x20e)]===_0x3ef0ba[_0x11e8d9(0x1e6)]){if(_0x1777e3){const _0x52c2bd=_0x42bf43[_0x11e8d9(0x224)](_0x5145ea,arguments);return _0x3049ab=null,_0x52c2bd;}}else this[_0x11e8d9(0x209)]=this[_0x11e8d9(0x1ee)](_0xc14888),this[_0x11e8d9(0x251)](),this['saveSession']();}else this[_0x11e8d9(0x209)]=_0xc14888,this[_0x11e8d9(0x251)](),this[_0x11e8d9(0x253)]();if(_0x3ef0ba[_0x11e8d9(0x23d)](this[_0x11e8d9(0x26f)][_0x11e8d9(0x219)]['length'],0x0)){if(_0x3ef0ba['ijMft'](_0x3ef0ba[_0x11e8d9(0x230)],_0x3ef0ba[_0x11e8d9(0x230)])){const _0x304020=this['getActiveStep']();if(_0x304020){if(_0x3ef0ba[_0x11e8d9(0x232)]!==_0x3ef0ba['UMjaR'])this[_0x11e8d9(0x26f)]['sequence'][_0x11e8d9(0x26b)](_0x304020[_0x11e8d9(0x24a)]());else return this[_0x11e8d9(0x209)];}}else{const _0x185d19=[];for(const [,_0x566ce1]of this['stepMap']){_0x185d19[_0x11e8d9(0x26b)](_0x566ce1[_0x11e8d9(0x1ee)]());}const _0x2e30e5={'name':this[_0x11e8d9(0x206)],'memory':this['memory']['createOoc'](),'steps':_0x185d19,'context':this[_0x11e8d9(0x268)]};return _0x557064['flows'][_0x11e8d9(0x26b)](_0x2e30e5),_0x5daace;}}this[_0x11e8d9(0x1e2)]();}[a8_0x46ef60(0x251)](){const _0x3e69ce=a8_0x46ef60,_0x207008={'bYgKi':function(_0xfc01a5,_0x5e3678){return _0xfc01a5===_0x5e3678;},'ThYDj':_0x3e69ce(0x1f7)},_0x4cb5c2=this['sessionDoc'][_0x3e69ce(0x1f0)][_0x3e69ce(0x259)](_0xec082e=>{const _0x2f1f81=_0x3e69ce;if(_0x207008['bYgKi'](_0x207008[_0x2f1f81(0x20a)],_0x207008[_0x2f1f81(0x20a)])){if(_0x207008[_0x2f1f81(0x270)](_0xec082e['name'],this['name']))return!![];return![];}else return null;});this['flowDoc']=_0x4cb5c2[0x0],this[_0x3e69ce(0x26f)][_0x3e69ce(0x219)]=this['flowDoc']['sequence']||[];}[a8_0x46ef60(0x203)](_0x3ce8fe){const _0xcca576=a8_0x46ef60,_0x18ad30={'laBmQ':function(_0x16b19b,_0x8ca6c1){return _0x16b19b===_0x8ca6c1;},'BBaGx':'Tiqom','DYnQO':'cZyYt','jyVOY':_0xcca576(0x25f),'Geprb':_0xcca576(0x220),'Nicgy':_0xcca576(0x222),'dlLlG':'ryWRY'};if(_0x3ce8fe){if(_0x18ad30['laBmQ'](_0x18ad30[_0xcca576(0x269)],_0x18ad30['DYnQO']))return this['tools'][_0xcca576(0x235)](_0x12176e);else{const _0xb3d351=_0x3ce8fe[_0x18ad30[_0xcca576(0x1ff)]],_0xc41acd=_0x3ce8fe[_0x18ad30[_0xcca576(0x221)]],_0x3b4ee9=_0x3ce8fe[_0x18ad30[_0xcca576(0x238)]];_0xb3d351&&(this['sessionDoc'][_0xcca576(0x204)][_0xcca576(0x26a)]+=_0xb3d351),_0xc41acd&&(this['sessionDoc'][_0xcca576(0x204)][_0xcca576(0x1f3)]+=_0xc41acd),_0x3b4ee9&&(_0x18ad30[_0xcca576(0x213)]!==_0xcca576(0x210)?this[_0xcca576(0x209)][_0xcca576(0x204)][_0xcca576(0x246)]+=_0x3b4ee9:this['stepMap'][_0xcca576(0x1ea)](_0x5e6502['getName'](),_0x3a792e));}}}['collectSteps'](){const _0x163222=a8_0x46ef60,_0x3b9226=this[_0x163222(0x260)]();for(const _0x4a9be8 of _0x3b9226){this['stepMap'][_0x163222(0x1ea)](_0x4a9be8[_0x163222(0x24a)](),_0x4a9be8);}}[a8_0x46ef60(0x260)](){const _0x538a09=a8_0x46ef60;return[new end_step_1['EndStep'](this)['useMemory'](_0x538a09(0x24d))];}[a8_0x46ef60(0x1ee)](_0x365541){const _0x5c556b=a8_0x46ef60,_0x24d194={'DGaNd':function(_0x2a9c98,_0xf8885b){return _0x2a9c98!==_0xf8885b;},'bTxQI':_0x5c556b(0x241),'jdUhZ':'RDNgA'},_0x406c39=[];for(const [,_0x29f7b4]of this[_0x5c556b(0x217)]){if(_0x24d194['DGaNd'](_0x24d194[_0x5c556b(0x205)],_0x24d194[_0x5c556b(0x1f6)]))_0x406c39[_0x5c556b(0x26b)](_0x29f7b4[_0x5c556b(0x1ee)]());else{const _0x296d14=(0x0,_0x3da2de['merge'])({},_0x29abbd,{'func':null});this[_0x5c556b(0x250)][_0x5c556b(0x1ea)](_0xfac955[_0x5c556b(0x206)],new _0x37d246['DynamicStructuredTool'](_0x296d14));}}const _0x51d60e={'name':this[_0x5c556b(0x206)],'memory':this[_0x5c556b(0x214)]['createOoc'](),'steps':_0x406c39,'context':this[_0x5c556b(0x268)]};return _0x365541[_0x5c556b(0x1f0)]['push'](_0x51d60e),_0x365541;}[a8_0x46ef60(0x253)](){const _0x125acb=a8_0x46ef60;this[_0x125acb(0x214)][_0x125acb(0x253)](this[_0x125acb(0x26f)]['memory']);for(const [,_0x3a525e]of this['stepMap']){_0x3a525e['readDoc'](this[_0x125acb(0x26f)][_0x125acb(0x228)]);}this['context']=this[_0x125acb(0x26f)][_0x125acb(0x268)];}['getSessionId'](){const _0x2c363b=a8_0x46ef60;return this[_0x2c363b(0x209)]['id'];}async[a8_0x46ef60(0x208)](){const _0x2ac55a=a8_0x46ef60;this['memory'][_0x2ac55a(0x21d)](this[_0x2ac55a(0x26f)][_0x2ac55a(0x214)]);for(const [,_0x46de10]of this['stepMap']){_0x46de10['writeDoc'](this['flowDoc'][_0x2ac55a(0x228)]);}this['flowDoc'][_0x2ac55a(0x268)]=this[_0x2ac55a(0x268)],this[_0x2ac55a(0x26f)][_0x2ac55a(0x21f)]=this[_0x2ac55a(0x24d)],await this[_0x2ac55a(0x1fd)][_0x2ac55a(0x245)]()[_0x2ac55a(0x1e4)](this[_0x2ac55a(0x209)]);}[a8_0x46ef60(0x262)](){const _0x1f7b1f=a8_0x46ef60,_0x176a3b={'OELNM':function(_0x5413c5,_0x22e0ab){return _0x5413c5===_0x22e0ab;},'grqVb':_0x1f7b1f(0x21e)};for(const [_0x13e8c5,_0xe4ad0e]of this[_0x1f7b1f(0x217)]){if(_0xe4ad0e[_0x1f7b1f(0x1f9)]){if(_0x176a3b[_0x1f7b1f(0x218)](_0x176a3b[_0x1f7b1f(0x1ed)],'aXZfA'))this['sessionDoc']['tokens'][_0x1f7b1f(0x26a)]+=_0x8f3ddd;else return _0xe4ad0e;}}return null;}[a8_0x46ef60(0x26e)](_0x4719c7){const _0x461c98=a8_0x46ef60;return this['stepMap'][_0x461c98(0x235)](_0x4719c7);}[a8_0x46ef60(0x1eb)](){return null;}async[a8_0x46ef60(0x216)](_0x1517d6){const _0x3bd00b=a8_0x46ef60,_0x10e7a0={'SaiQY':'config._concurrent','YvQrY':function(_0x2d199e,_0x754eb5){return _0x2d199e!==_0x754eb5;},'uyygW':_0x3bd00b(0x240)},_0x4dd9a9=this['getContext'](_0x10e7a0[_0x3bd00b(0x207)]);let _0x543d07,_0x5f182f;if(_0x4dd9a9){if(_0x10e7a0[_0x3bd00b(0x20f)](_0x10e7a0[_0x3bd00b(0x22f)],_0x10e7a0[_0x3bd00b(0x22f)])){const _0x3d34bc=_0x4df4af?function(){const _0x505754=_0x3bd00b;if(_0x1cc44f){const _0xe30e65=_0x2cdf14[_0x505754(0x224)](_0x44e97e,arguments);return _0x44bb96=null,_0xe30e65;}}:function(){};return _0x3bbbdc=![],_0x3d34bc;}else _0x543d07=await this[_0x3bd00b(0x257)]();}else _0x5f182f=this['getActiveStep'](),_0x543d07=await _0x5f182f[_0x3bd00b(0x216)](_0x1517d6);return _0x5f182f=this[_0x3bd00b(0x262)](),{'success':!![],'completed':_0x5f182f[_0x3bd00b(0x24f)](),'message':_0x543d07,'session':this[_0x3bd00b(0x209)]['id'],'contentType':_0x5f182f[_0x3bd00b(0x24b)]};}async[a8_0x46ef60(0x257)](){return'';}async[a8_0x46ef60(0x243)]({items:_0x267952,batchSize:_0x665054,onConfig:_0x49dac8,onBotResponse:_0x3e30cd}){const _0x1a72a4=a8_0x46ef60,_0x2e6f04={'PAXQm':function(_0xed8c6c,_0x2c7c9d){return _0xed8c6c(_0x2c7c9d);},'XsYLE':function(_0x4a500f,_0x26b734){return _0x4a500f===_0x26b734;},'SqYqI':_0x1a72a4(0x233),'oDBMs':function(_0x4ff90e,_0x4aeecf,_0x474996){return _0x4ff90e(_0x4aeecf,_0x474996);},'hAbnL':_0x1a72a4(0x226),'AgHVd':function(_0x3a87b1,_0x229511){return _0x3a87b1<_0x229511;},'BJlTD':function(_0x44e82b,_0x21d5fa){return _0x44e82b+_0x21d5fa;},'RxhjX':function(_0x59319a,_0x3c8e1a){return _0x59319a/_0x3c8e1a;},'aucYd':function(_0x419022,_0x5228d2){return _0x419022/_0x5228d2;}},_0x506a51=new self_client_1[(_0x1a72a4(0x1f8))]();for(let _0xfbb360=0x0;_0x2e6f04[_0x1a72a4(0x242)](_0xfbb360,_0x267952[_0x1a72a4(0x247)]);_0xfbb360+=_0x665054){const _0x4287e3=_0x267952[_0x1a72a4(0x237)](_0xfbb360,_0x2e6f04[_0x1a72a4(0x26d)](_0xfbb360,_0x665054)),_0xe77b96=_0x1a72a4(0x1ef)+(Math[_0x1a72a4(0x1e0)](_0xfbb360/_0x665054)+0x1)+'/'+Math[_0x1a72a4(0x1fb)](_0x2e6f04['RxhjX'](_0x267952[_0x1a72a4(0x247)],_0x665054))+'\x20(batch\x20size:'+_0x4287e3['length']+')';new session_logger_1[(_0x1a72a4(0x234))](this['getSessionDoc']())[_0x1a72a4(0x1fa)](_0xe77b96),console['log'](_0xe77b96);const _0x4c43a8=_0x4287e3['map'](async _0x3a30b8=>{const _0x212d1f=_0x1a72a4,_0x4e471f={'flowName':this['name'],'config':{..._0x2e6f04[_0x212d1f(0x244)](_0x49dac8,_0x3a30b8)}};try{if(_0x2e6f04[_0x212d1f(0x1dd)](_0x2e6f04['SqYqI'],_0x2e6f04['SqYqI'])){const _0x57f57a=await _0x506a51[_0x212d1f(0x202)]('',_0x4e471f);_0x2e6f04[_0x212d1f(0x201)](_0x3e30cd,_0x3a30b8,_0x57f57a);}else return[new _0x4b4336[(_0x212d1f(0x1f5))](this)[_0x212d1f(0x236)](_0x212d1f(0x24d))];}catch(_0x59ee8b){const _0x39182e='Error\x20batch\x20process\x20flow:\x20'+this[_0x212d1f(0x206)]+_0x212d1f(0x1fc)+_0x59ee8b[_0x2e6f04['hAbnL']];new session_logger_1[(_0x212d1f(0x234))](this['getSessionDoc']())[_0x212d1f(0x265)](_0x39182e),console[_0x212d1f(0x265)](_0x39182e);}});await Promise[_0x1a72a4(0x23e)](_0x4c43a8);const _0x49ee95=_0x1a72a4(0x215)+_0x2e6f04[_0x1a72a4(0x26d)](Math[_0x1a72a4(0x1e0)](_0x2e6f04['aucYd'](_0xfbb360,_0x665054)),0x1)+_0x1a72a4(0x23b);new session_logger_1[(_0x1a72a4(0x234))](this[_0x1a72a4(0x212)]())[_0x1a72a4(0x1fa)](_0x49ee95),console[_0x1a72a4(0x1fa)](_0x49ee95);}}[a8_0x46ef60(0x211)](_0x3eb0fd){const _0x446468=a8_0x46ef60;this[_0x446468(0x214)]=_0x3eb0fd;}[a8_0x46ef60(0x266)](_0x26013d){const _0x125ad4=a8_0x46ef60;return this[_0x125ad4(0x214)][_0x125ad4(0x24c)](_0x26013d);}[a8_0x46ef60(0x256)](_0x6faf30){const _0x329844=a8_0x46ef60;this[_0x329844(0x268)]=_0x6faf30;}['addContext'](_0x59c5c4){const _0x143afe=a8_0x46ef60;(0x0,lodash_1[_0x143afe(0x263)])(this[_0x143afe(0x268)],_0x59c5c4);}[a8_0x46ef60(0x261)](_0x865704){const _0x507a79=a8_0x46ef60;return(0x0,lodash_1[_0x507a79(0x235)])(this['context'],_0x865704);}async[a8_0x46ef60(0x22d)](_0x15abaa){const _0x2ef42e=a8_0x46ef60;return await this[_0x2ef42e(0x25a)](_0x15abaa[_0x2ef42e(0x206)]);}async[a8_0x46ef60(0x25a)](_0x35bfc1){const _0x3da903=a8_0x46ef60,_0x4f3700={'QmPqN':function(_0x23cef3,_0x11080b){return _0x23cef3===_0x11080b;},'nVOem':function(_0xa8417,_0x37a62f){return _0xa8417!==_0x37a62f;},'jFAoR':_0x3da903(0x21a),'gvNjV':_0x3da903(0x20c)},_0x345513=this['stepMap'][_0x3da903(0x235)](_0x35bfc1);if(_0x4f3700[_0x3da903(0x231)](_0x345513['getName'](),_0x35bfc1)&&_0x345513[_0x3da903(0x1f9)])return _0x345513;else{for(const [_0x4d8a89,_0x298039]of this[_0x3da903(0x217)]){if(_0x4f3700['nVOem'](_0x4f3700['jFAoR'],_0x4f3700[_0x3da903(0x1f1)])){if(_0x298039[_0x3da903(0x1f9)]){_0x298039[_0x3da903(0x1f9)]=![];break;}}else _0x7b0b6d[_0x3da903(0x21d)](this[_0x3da903(0x26f)][_0x3da903(0x228)]);}return this[_0x3da903(0x26f)][_0x3da903(0x219)][_0x3da903(0x26b)](_0x35bfc1),_0x345513[_0x3da903(0x1f9)]=!![],_0x345513;}}['getTool'](_0x27c6c9){const _0x3aca77=a8_0x46ef60;return this['tools'][_0x3aca77(0x235)](_0x27c6c9);}[a8_0x46ef60(0x1e2)](){const _0x1b1f5b=a8_0x46ef60,_0x2dc410={'uRsFV':_0x1b1f5b(0x223),'FGgIQ':_0x1b1f5b(0x20b),'ZhcJq':'Ojdzx'},_0x1abb30=[];for(const [_0x4b8488,_0x2140bd]of this[_0x1b1f5b(0x217)]){if(_0x2dc410[_0x1b1f5b(0x23f)]!==_0x1b1f5b(0x223)){const _0x13909e=this['stepMap'][_0x1b1f5b(0x235)](_0x4de642[_0x1b1f5b(0x206)]);return _0x13909e['saveState'](_0x4d70c0);}else{const _0x15827b=_0x2140bd['defineTool']();_0x15827b&&_0x1abb30[_0x1b1f5b(0x26b)](..._0x15827b);}}const _0x1790a4=this[_0x1b1f5b(0x1eb)]();_0x1790a4&&_0x1abb30['push'](..._0x1790a4);for(const _0x5f6d93 of _0x1abb30){if(_0x2dc410['FGgIQ']!==_0x2dc410[_0x1b1f5b(0x1e1)]){const _0x4d397c=(0x0,lodash_1[_0x1b1f5b(0x263)])({},_0x5f6d93,{'func':null});this['tools'][_0x1b1f5b(0x1ea)](_0x5f6d93[_0x1b1f5b(0x206)],new tools_1[(_0x1b1f5b(0x227))](_0x4d397c));}else{const _0x10467a=_0x4b9d21[_0x1b1f5b(0x224)](_0x3b44ce,arguments);return _0x2a9526=null,_0x10467a;}}}['getSessionDoc'](){const _0x55b366=a8_0x46ef60;return this[_0x55b366(0x209)];}['getStepState'](_0x16da67,_0x1b12ff){const _0x5b8137=a8_0x46ef60,_0x475fd8=this[_0x5b8137(0x217)][_0x5b8137(0x235)](_0x16da67['name']);return _0x475fd8['getState'](_0x1b12ff);}[a8_0x46ef60(0x1f2)](_0x5c00a2,_0x5ac35d){const _0x552664=a8_0x46ef60,_0x34b330=this['stepMap']['get'](_0x5c00a2['name']);return _0x34b330[_0x552664(0x254)](_0x5ac35d);}[a8_0x46ef60(0x22b)](_0x543100,_0x5a4801){const _0x5911e2=a8_0x46ef60,_0x13b06e=this[_0x5911e2(0x217)][_0x5911e2(0x235)](_0x543100[_0x5911e2(0x206)]);return _0x13b06e[_0x5911e2(0x1ec)](_0x5a4801);}get[a8_0x46ef60(0x21f)](){return this['temp'];}set[a8_0x46ef60(0x21f)](_0x183c7c){const _0x1a2f19=a8_0x46ef60;this[_0x1a2f19(0x24d)]=_0x183c7c;}}exports[a8_0x46ef60(0x255)]=Flow;
1
+ const a8_0x3c670a=a8_0x4448;(function(_0x1db0fd,_0x3078be){const _0x2bdf56=a8_0x4448,_0x2eac48=_0x1db0fd();while(!![]){try{const _0x5def2c=-parseInt(_0x2bdf56(0x1d4))/0x1*(parseInt(_0x2bdf56(0x215))/0x2)+-parseInt(_0x2bdf56(0x23b))/0x3*(parseInt(_0x2bdf56(0x235))/0x4)+parseInt(_0x2bdf56(0x1f7))/0x5*(-parseInt(_0x2bdf56(0x1a8))/0x6)+parseInt(_0x2bdf56(0x20f))/0x7*(parseInt(_0x2bdf56(0x219))/0x8)+-parseInt(_0x2bdf56(0x1c6))/0x9*(-parseInt(_0x2bdf56(0x1fd))/0xa)+-parseInt(_0x2bdf56(0x1e2))/0xb+-parseInt(_0x2bdf56(0x225))/0xc*(-parseInt(_0x2bdf56(0x23a))/0xd);if(_0x5def2c===_0x3078be)break;else _0x2eac48['push'](_0x2eac48['shift']());}catch(_0xb6e5e9){_0x2eac48['push'](_0x2eac48['shift']());}}}(a8_0x5dd4,0x807bc));function a8_0x4448(_0x14d16c,_0x178e50){const _0xeab3a3=a8_0x5dd4();return a8_0x4448=function(_0x41203a,_0x18455e){_0x41203a=_0x41203a-0x1a2;let _0x5dd46d=_0xeab3a3[_0x41203a];return _0x5dd46d;},a8_0x4448(_0x14d16c,_0x178e50);}const a8_0x18455e=(function(){const _0x170924=a8_0x4448,_0x4b0800={'YPwNw':_0x170924(0x234)};let _0x512dec=!![];return function(_0x87b3e7,_0x2c3324){const _0x3334af=_0x170924,_0xfb1bb={'tSQtC':function(_0x9c4d28,_0x518c5f){return _0x9c4d28===_0x518c5f;},'tSBsc':_0x4b0800[_0x3334af(0x1cd)]},_0x2e315d=_0x512dec?function(){const _0x190f7a=_0x3334af;if(_0xfb1bb[_0x190f7a(0x1f4)](_0xfb1bb[_0x190f7a(0x22f)],'TZogj')){if(_0x2c3324){const _0x155577=_0x2c3324[_0x190f7a(0x210)](_0x87b3e7,arguments);return _0x2c3324=null,_0x155577;}}else{const _0x40221b=this[_0x190f7a(0x228)]['get'](_0x380f2f[_0x190f7a(0x1ee)]);return _0x40221b[_0x190f7a(0x1a2)](_0x2f788d);}}:function(){};return _0x512dec=![],_0x2e315d;};}()),a8_0x41203a=a8_0x18455e(this,function(){const _0x56b071=a8_0x4448,_0x2eda67={'BDSSK':_0x56b071(0x1f8)};return a8_0x41203a[_0x56b071(0x1d5)]()[_0x56b071(0x227)](_0x56b071(0x1f8))[_0x56b071(0x1d5)]()[_0x56b071(0x1df)](a8_0x41203a)[_0x56b071(0x227)](_0x2eda67[_0x56b071(0x209)]);});a8_0x41203a();'use strict';Object['defineProperty'](exports,a8_0x3c670a(0x1c2),{'value':!![]}),exports[a8_0x3c670a(0x1dd)]=void 0x0;const tools_1=require(a8_0x3c670a(0x21f)),lodash_1=require('lodash'),end_step_1=require('./end-step'),self_client_1=require(a8_0x3c670a(0x205)),session_logger_1=require(a8_0x3c670a(0x1b3));class Flow{constructor(_0x107ed0){const _0x110092=a8_0x3c670a,_0x189764=_0x110092(0x1da)[_0x110092(0x211)]('|');let _0x1fbf1c=0x0;while(!![]){switch(_0x189764[_0x1fbf1c++]){case'0':this['temp']=-0x1;continue;case'1':this['name']=_0x107ed0[_0x110092(0x1ee)];continue;case'2':this[_0x110092(0x1c7)]={};continue;case'3':this['stepMap']=new Map();continue;case'4':this[_0x110092(0x1a7)]=new Map();continue;}break;}}async[a8_0x3c670a(0x1de)](){}[a8_0x3c670a(0x1f0)](){return this['flowEngine'];}async[a8_0x3c670a(0x233)](_0x2387f1,_0xedd956){const _0x5a752c=a8_0x3c670a,_0x33f721={'maIbZ':_0x5a752c(0x220),'uYcRG':_0x5a752c(0x20c),'fpUUf':_0x5a752c(0x1b8),'zOokN':function(_0x26c5a0,_0x309e47){return _0x26c5a0===_0x309e47;},'LPJTx':'PFpmi','xFQEN':_0x5a752c(0x1a9),'lJAUi':_0x5a752c(0x20b)};this[_0x5a752c(0x1c8)]=_0xedd956;for(const [,_0x3feb51]of this['stepMap']){if(_0x5a752c(0x220)!==_0x33f721[_0x5a752c(0x1e8)]){const _0x31ab5f=(0x0,_0x220c6a[_0x5a752c(0x1bb)])({},_0x353243,{'func':null});this[_0x5a752c(0x1a7)][_0x5a752c(0x1d8)](_0x5dd89e[_0x5a752c(0x1ee)],new _0x234ece[(_0x5a752c(0x1ef))](_0x31ab5f));}else{const _0x402a1d=_0x3feb51[_0x5a752c(0x1d6)]();if(!_0x402a1d){const _0x6c6c7e=this[_0x5a752c(0x1f0)]()['getModelName']();_0x3feb51[_0x5a752c(0x21c)](_0x6c6c7e);}}}const _0x47ef84=_0xedd956[_0x5a752c(0x1c1)](),[_0x58eb90,_0xa802da]=await _0x47ef84['fetch'](_0x2387f1);if(_0x58eb90){if(_0x33f721[_0x5a752c(0x22c)]===_0x33f721[_0x5a752c(0x1fe)]){const _0x51234a=this[_0x5a752c(0x1f0)]()[_0x5a752c(0x1fa)]();_0x3122c0[_0x5a752c(0x21c)](_0x51234a);}else this[_0x5a752c(0x226)]=this[_0x5a752c(0x1a5)](_0xa802da),this[_0x5a752c(0x1f9)](),this[_0x5a752c(0x1e7)]();}else this['sessionDoc']=_0xa802da,this[_0x5a752c(0x1f9)](),this[_0x5a752c(0x1cb)]();if(_0x33f721[_0x5a752c(0x20a)](this['flowDoc'][_0x5a752c(0x1bc)]['length'],0x0)){if(_0x33f721[_0x5a752c(0x1dc)]===_0x5a752c(0x1ea)){const _0x1447b3=this['getActiveStep']();_0x1447b3&&this['flowDoc']['sequence']['push'](_0x1447b3['getName']());}else{const _0x45bf57=this[_0x5a752c(0x1f3)]();if(_0x45bf57){if(_0x33f721[_0x5a752c(0x20a)](_0x33f721['xFQEN'],_0x33f721[_0x5a752c(0x23d)]))return this[_0x5a752c(0x1bf)];else this[_0x5a752c(0x214)][_0x5a752c(0x1bc)][_0x5a752c(0x1a4)](_0x45bf57['getName']());}}}this[_0x5a752c(0x1fb)]();}[a8_0x3c670a(0x1f9)](){const _0x83113b=a8_0x3c670a,_0x24b4e7={'hHHhZ':function(_0x57f602,_0x12067b){return _0x57f602===_0x12067b;},'pAoNt':function(_0x5aac6f,_0x3b88d2){return _0x5aac6f===_0x3b88d2;},'HAMch':'txDvN'},_0x5629e2=this[_0x83113b(0x226)][_0x83113b(0x202)]['filter'](_0x562fb2=>{const _0x5af176=_0x83113b,_0x1c22b0={'OiNwZ':'temp'};if(_0x24b4e7['hHHhZ'](_0x562fb2['name'],this['name']))return _0x24b4e7[_0x5af176(0x237)](_0x24b4e7[_0x5af176(0x1ca)],_0x24b4e7[_0x5af176(0x1ca)])?!![]:[new _0x419073['EndStep'](this)[_0x5af176(0x1b5)](_0x1c22b0[_0x5af176(0x1cf)])];return![];});this['flowDoc']=_0x5629e2[0x0],this[_0x83113b(0x214)][_0x83113b(0x1bc)]=this['flowDoc'][_0x83113b(0x1bc)]||[];}[a8_0x3c670a(0x224)](_0x38bdc6){const _0x43868a=a8_0x3c670a,_0x7f9ed={'btOPL':_0x43868a(0x212),'vKvkB':function(_0x1bfc0d,_0x24e0b8){return _0x1bfc0d!==_0x24e0b8;},'iYFBr':_0x43868a(0x20e),'OkXmi':_0x43868a(0x1d7)};if(_0x38bdc6){const _0x97cbcc=_0x38bdc6[_0x7f9ed['btOPL']],_0x578374=_0x38bdc6[_0x43868a(0x1e4)],_0x53a23f=_0x38bdc6[_0x43868a(0x1be)];if(_0x97cbcc){if(_0x7f9ed[_0x43868a(0x1d9)](_0x43868a(0x239),_0x7f9ed[_0x43868a(0x232)]))this['sessionDoc']['tokens'][_0x43868a(0x1ff)]+=_0x97cbcc;else return this['flowEngine'];}if(_0x578374){if(_0x7f9ed[_0x43868a(0x1d9)](_0x7f9ed[_0x43868a(0x1ed)],_0x7f9ed[_0x43868a(0x1ed)]))return _0x5de367['saveState'](_0x6bedf1);else this[_0x43868a(0x226)][_0x43868a(0x1b2)]['outputTokens']+=_0x578374;}_0x53a23f&&(this[_0x43868a(0x226)]['tokens'][_0x43868a(0x1b6)]+=_0x53a23f);}}[a8_0x3c670a(0x1b7)](){const _0x27adaa=a8_0x3c670a,_0x7b1885=this[_0x27adaa(0x22a)]();for(const _0x13a317 of _0x7b1885){this[_0x27adaa(0x228)][_0x27adaa(0x1d8)](_0x13a317['getName'](),_0x13a317);}}[a8_0x3c670a(0x22a)](){const _0x327ad6=a8_0x3c670a,_0x40183c={'mfoOV':'temp'};return[new end_step_1[(_0x327ad6(0x1a6))](this)['useMemory'](_0x40183c[_0x327ad6(0x1cc)])];}[a8_0x3c670a(0x1a5)](_0x1d455b){const _0x37e22e=a8_0x3c670a,_0x37cc38={'rwVNt':function(_0x407999,_0x3f86ed){return _0x407999===_0x3f86ed;},'WKrvC':_0x37e22e(0x22d),'wPfLG':'bVOJW'},_0x166014=[];for(const [,_0x269817]of this['stepMap']){if(_0x37cc38['rwVNt'](_0x37cc38[_0x37e22e(0x230)],_0x37cc38[_0x37e22e(0x1c4)]))return this[_0x37e22e(0x228)]['get'](_0x402e99);else _0x166014['push'](_0x269817['createDoc']());}const _0x38b898={'name':this[_0x37e22e(0x1ee)],'memory':this[_0x37e22e(0x201)][_0x37e22e(0x1b9)](),'steps':_0x166014,'context':this['context']};return _0x1d455b[_0x37e22e(0x202)][_0x37e22e(0x1a4)](_0x38b898),_0x1d455b;}[a8_0x3c670a(0x1cb)](){const _0x2b0e90=a8_0x3c670a;this['memory'][_0x2b0e90(0x1cb)](this[_0x2b0e90(0x214)][_0x2b0e90(0x201)]);for(const [,_0x4b1caa]of this[_0x2b0e90(0x228)]){_0x4b1caa[_0x2b0e90(0x1cb)](this['flowDoc'][_0x2b0e90(0x1c3)]);}this[_0x2b0e90(0x1c7)]=this[_0x2b0e90(0x214)][_0x2b0e90(0x1c7)];}[a8_0x3c670a(0x238)](){return this['sessionDoc']['id'];}async['saveSession'](){const _0x2cc3a5=a8_0x3c670a;this[_0x2cc3a5(0x201)]['writeDoc'](this[_0x2cc3a5(0x214)][_0x2cc3a5(0x201)]);for(const [,_0x5d4675]of this[_0x2cc3a5(0x228)]){_0x5d4675[_0x2cc3a5(0x1f2)](this[_0x2cc3a5(0x214)]['steps']);}this['flowDoc'][_0x2cc3a5(0x1c7)]=this[_0x2cc3a5(0x1c7)],this[_0x2cc3a5(0x214)]['temperature']=this[_0x2cc3a5(0x1bf)],await this['flowEngine']['getFlowSession']()[_0x2cc3a5(0x229)](this[_0x2cc3a5(0x226)]);}[a8_0x3c670a(0x1f3)](){const _0x52d56f=a8_0x3c670a;for(const [_0x5431fa,_0x57bc4c]of this[_0x52d56f(0x228)]){if(_0x57bc4c[_0x52d56f(0x1ce)])return _0x57bc4c;}return null;}['getStep'](_0x3ce0da){const _0x4c9de2=a8_0x3c670a;return this[_0x4c9de2(0x228)]['get'](_0x3ce0da);}[a8_0x3c670a(0x217)](){return null;}async[a8_0x3c670a(0x21d)](_0x2d5941){const _0x404209=a8_0x3c670a,_0x59f317={'LJMud':_0x404209(0x213)},_0x5a1c46=this[_0x404209(0x1d3)](_0x59f317[_0x404209(0x1f1)]);let _0x33a251,_0xa167d2;return _0x5a1c46?_0x33a251=await this[_0x404209(0x203)]():(_0xa167d2=this['getActiveStep'](),_0x33a251=await _0xa167d2[_0x404209(0x21d)](_0x2d5941)),_0xa167d2=this['getActiveStep'](),{'success':!![],'completed':_0xa167d2[_0x404209(0x21b)](),'message':_0x33a251,'session':this[_0x404209(0x226)]['id'],'contentType':_0xa167d2['contentType']};}async[a8_0x3c670a(0x203)](){return'';}async[a8_0x3c670a(0x1c9)]({items:_0x4c286b,batchSize:_0xb385d,onConfig:_0x5821e6,onBotResponse:_0x12c4cc}){const _0x5c83d7=a8_0x3c670a,_0x3ecfa4={'KXHlo':function(_0x78ac8b,_0x47df56){return _0x78ac8b(_0x47df56);},'QIxjC':function(_0xcee760,_0x598640,_0x2c0143){return _0xcee760(_0x598640,_0x2c0143);},'kHNdZ':'message','mXxbC':function(_0x421b61,_0x3c562a){return _0x421b61<_0x3c562a;},'SUUBP':function(_0x147bc7,_0x5ac8b8){return _0x147bc7===_0x5ac8b8;},'MKzDM':'IbPFb','xaVxm':function(_0x9828e9,_0x4b7305){return _0x9828e9+_0x4b7305;},'VioSd':function(_0x486770,_0x2d0e40){return _0x486770/_0x2d0e40;}},_0x41397d=new self_client_1[(_0x5c83d7(0x1af))]();for(let _0x1c417e=0x0;_0x3ecfa4[_0x5c83d7(0x1b1)](_0x1c417e,_0x4c286b[_0x5c83d7(0x208)]);_0x1c417e+=_0xb385d){if(_0x3ecfa4[_0x5c83d7(0x1ec)](_0x3ecfa4[_0x5c83d7(0x1e6)],_0x5c83d7(0x22e)))this[_0x5c83d7(0x1c7)]=_0x421111;else{const _0x35d9d7=_0x4c286b['slice'](_0x1c417e,_0x3ecfa4[_0x5c83d7(0x1c5)](_0x1c417e,_0xb385d)),_0x56464a=_0x5c83d7(0x221)+_0x3ecfa4[_0x5c83d7(0x1c5)](Math[_0x5c83d7(0x204)](_0x3ecfa4[_0x5c83d7(0x1d1)](_0x1c417e,_0xb385d)),0x1)+'/'+Math[_0x5c83d7(0x21a)](_0x3ecfa4[_0x5c83d7(0x1d1)](_0x4c286b[_0x5c83d7(0x208)],_0xb385d))+_0x5c83d7(0x1ba)+_0x35d9d7[_0x5c83d7(0x208)]+')';new session_logger_1[(_0x5c83d7(0x231))](this['getSessionDoc']())[_0x5c83d7(0x1fc)](_0x56464a),console[_0x5c83d7(0x1fc)](_0x56464a);const _0x3ecbdf=_0x35d9d7[_0x5c83d7(0x207)](async _0x3cf591=>{const _0x41a2e6=_0x5c83d7,_0x579c67={'flowName':this[_0x41a2e6(0x1ee)],'config':{..._0x3ecfa4[_0x41a2e6(0x1d2)](_0x5821e6,_0x3cf591)}};try{const _0x2241f9=await _0x41397d['post']('',_0x579c67);_0x3ecfa4[_0x41a2e6(0x1ab)](_0x12c4cc,_0x3cf591,_0x2241f9);}catch(_0x194169){const _0xf7d9bc=_0x41a2e6(0x21e)+this[_0x41a2e6(0x1ee)]+',\x20error:'+_0x194169[_0x3ecfa4[_0x41a2e6(0x1a3)]];new session_logger_1['SessionLogger'](this[_0x41a2e6(0x1b4)]())[_0x41a2e6(0x1ac)](_0xf7d9bc),console['error'](_0xf7d9bc);}});await Promise[_0x5c83d7(0x216)](_0x3ecbdf);const _0x1767ed=_0x5c83d7(0x1bd)+(Math[_0x5c83d7(0x204)](_0x3ecfa4[_0x5c83d7(0x1d1)](_0x1c417e,_0xb385d))+0x1)+_0x5c83d7(0x206);new session_logger_1[(_0x5c83d7(0x231))](this[_0x5c83d7(0x1b4)]())['log'](_0x1767ed),console[_0x5c83d7(0x1fc)](_0x1767ed);}}}['setMemory'](_0x37207b){this['memory']=_0x37207b;}['getMemory'](_0x4b6442){const _0x1b2dbe=a8_0x3c670a;return this['memory'][_0x1b2dbe(0x1e1)](_0x4b6442);}[a8_0x3c670a(0x200)](_0x12ecd8){const _0x2ce705=a8_0x3c670a;this[_0x2ce705(0x1c7)]=_0x12ecd8;}['addContext'](_0x158649){const _0x424fff=a8_0x3c670a;(0x0,lodash_1[_0x424fff(0x1bb)])(this[_0x424fff(0x1c7)],_0x158649);}[a8_0x3c670a(0x1d3)](_0x5d5367){const _0x14318c=a8_0x3c670a;return(0x0,lodash_1[_0x14318c(0x1ad)])(this[_0x14318c(0x1c7)],_0x5d5367);}async['activate'](_0x9f26d3){const _0x9eb35d=a8_0x3c670a;return await this[_0x9eb35d(0x1b0)](_0x9f26d3['name']);}async['activateByName'](_0x5cfbea){const _0x1a7c84=a8_0x3c670a,_0xd8043d={'rtupR':_0x1a7c84(0x1f8),'rDLcf':function(_0x2375f1,_0x9976c){return _0x2375f1===_0x9976c;},'EqSgI':_0x1a7c84(0x1db),'OCYFo':function(_0x456676,_0x57de95){return _0x456676===_0x57de95;},'LIIUv':_0x1a7c84(0x218),'ZFUlD':_0x1a7c84(0x20d)},_0x448f63=this[_0x1a7c84(0x228)][_0x1a7c84(0x1ad)](_0x5cfbea);if(_0xd8043d[_0x1a7c84(0x1aa)](_0x448f63[_0x1a7c84(0x1e0)](),_0x5cfbea)&&_0x448f63['active'])return _0xd8043d[_0x1a7c84(0x1ae)]!==_0x1a7c84(0x1f5)?_0x448f63:_0x26b4cf['toString']()['search'](iuSZyp[_0x1a7c84(0x1e9)])[_0x1a7c84(0x1d5)]()[_0x1a7c84(0x1df)](_0x4b1ac7)[_0x1a7c84(0x227)](iuSZyp['rtupR']);else{if(_0xd8043d['OCYFo'](_0xd8043d['LIIUv'],_0xd8043d[_0x1a7c84(0x1e3)])){for(const [_0x344452,_0x8e828e]of this[_0x1a7c84(0x228)]){if(_0xd8043d['ZFUlD']!==_0xd8043d[_0x1a7c84(0x1f6)])return!![];else{if(_0x8e828e[_0x1a7c84(0x1ce)]){_0x8e828e['active']=![];break;}}}return this[_0x1a7c84(0x214)][_0x1a7c84(0x1bc)]['push'](_0x5cfbea),_0x448f63[_0x1a7c84(0x1ce)]=!![],_0x448f63;}else this['sessionDoc']=this[_0x1a7c84(0x1a5)](_0x4bc7f7),this[_0x1a7c84(0x1f9)](),this['saveSession']();}}[a8_0x3c670a(0x1e5)](_0x39ebbd){const _0x5a4b6a=a8_0x3c670a;return this[_0x5a4b6a(0x1a7)]['get'](_0x39ebbd);}[a8_0x3c670a(0x1fb)](){const _0x39f0f8=a8_0x3c670a,_0x26720a={'novAX':function(_0x1dd609,_0x9c0e3b){return _0x1dd609===_0x9c0e3b;},'VjQYI':_0x39f0f8(0x1d0)},_0x2100db=[];for(const [_0x401614,_0x359d4a]of this[_0x39f0f8(0x228)]){if(_0x26720a['novAX'](_0x26720a['VjQYI'],_0x39f0f8(0x1d0))){const _0x588735=_0x359d4a[_0x39f0f8(0x217)]();if(_0x588735){if(_0x39f0f8(0x23c)!==_0x39f0f8(0x223))_0x2100db[_0x39f0f8(0x1a4)](..._0x588735);else return'';}}else _0x5f5316['writeDoc'](this[_0x39f0f8(0x214)]['steps']);}const _0x2cec8d=this[_0x39f0f8(0x217)]();_0x2cec8d&&_0x2100db['push'](..._0x2cec8d);for(const _0x2114a3 of _0x2100db){const _0x533a0b=(0x0,lodash_1['merge'])({},_0x2114a3,{'func':null});this[_0x39f0f8(0x1a7)][_0x39f0f8(0x1d8)](_0x2114a3[_0x39f0f8(0x1ee)],new tools_1[(_0x39f0f8(0x1ef))](_0x533a0b));}}[a8_0x3c670a(0x1b4)](){const _0x36aa79=a8_0x3c670a;return this[_0x36aa79(0x226)];}[a8_0x3c670a(0x1c0)](_0x3c5895,_0x21028f){const _0x2efb95=a8_0x3c670a,_0x33a3ed=this['stepMap'][_0x2efb95(0x1ad)](_0x3c5895[_0x2efb95(0x1ee)]);return _0x33a3ed[_0x2efb95(0x1a2)](_0x21028f);}['getStepStateAs'](_0x446a84,_0x1acf05){const _0x3b2688=a8_0x3c670a,_0x2c27f2=this[_0x3b2688(0x228)]['get'](_0x446a84[_0x3b2688(0x1ee)]);return _0x2c27f2[_0x3b2688(0x1eb)](_0x1acf05);}[a8_0x3c670a(0x22b)](_0x218b4f,_0x1581ef){const _0x733f29=a8_0x3c670a,_0x36de7d=this[_0x733f29(0x228)]['get'](_0x218b4f[_0x733f29(0x1ee)]);if(_0x36de7d)return _0x36de7d[_0x733f29(0x222)](_0x1581ef);}get[a8_0x3c670a(0x236)](){const _0x2e1966=a8_0x3c670a;return this[_0x2e1966(0x1bf)];}set[a8_0x3c670a(0x236)](_0x1e064b){this['temp']=_0x1e064b;}}exports[a8_0x3c670a(0x1dd)]=Flow;function a8_0x5dd4(){const _0x1f22d1=['getContext','510Yflbah','toString','getModel','rPeEI','set','vKvkB','3|4|0|1|2','TbQpR','LPJTx','Flow','init','constructor','getName','getMessages','2432518jxXaJa','LIIUv','output_tokens','getTool','MKzDM','saveSession','maIbZ','rtupR','BPGps','getStateAs','SUUBP','OkXmi','name','DynamicStructuredTool','getFlowEngine','LJMud','writeDoc','getActiveStep','tSQtC','sTCXD','ZFUlD','150gmXkDe','(((.+)+)+)+$','assignFlowDoc','getModelName','composeTool','log','6330zMkqOf','fpUUf','inputTokens','setContext','memory','flows','spawnSteps','floor','../clients/self-client','\x20completed.','map','length','BDSSK','zOokN','cxeBW','RILiT','JIfgU','oTIxo','1527337nqLyfv','apply','split','input_tokens','config._concurrent','flowDoc','1090yuMxas','all','defineTool','fQRQY','16gDIqJc','ceil','isEnd','useModel','run','Error\x20batch\x20process\x20flow:\x20','@langchain/core/tools','koGlt','Processing\x20batch\x20','saveState','FcMaH','tallyToken','18110700ZORInX','sessionDoc','search','stepMap','save','defineSteps','saveStepState','uYcRG','ocoeF','CERBP','tSBsc','WKrvC','SessionLogger','iYFBr','bootstrap','TZogj','3597460JYuuAF','temperature','pAoNt','getSessionId','LwgdN','13LZJeus','3YrTRiW','orXsF','lJAUi','getState','kHNdZ','push','createDoc','EndStep','tools','14052UGHHVp','xScBn','rDLcf','QIxjC','error','get','EqSgI','SelfClient','activateByName','mXxbC','tokens','../session/session-logger','getSessionDoc','useMemory','totalTokens','collectSteps','zyIpC','createOoc','\x20(batch\x20size:','merge','sequence','Batch\x20','total_tokens','temp','getStepState','getFlowSession','__esModule','steps','wPfLG','xaVxm','702Adsprs','context','flowEngine','concurrentSteps','HAMch','readDoc','mfoOV','YPwNw','active','OiNwZ','cRnyJ','VioSd','KXHlo'];a8_0x5dd4=function(){return _0x1f22d1;};return a8_0x5dd4();}
@@ -1 +1 @@
1
- function a9_0x2eb3(){const _0x1b9b31=['FylIw','EICDo','isArray','szZik','temperature','qiyRk','CEela','GhDqm','dhLfw','ToolMessageInfo','toString','isSame','wIeeY','MECJD','unknown','MessageUtil','../utils/verify-license','EsVgg','SDkPo','kGDhH','AIMessage','783ZEpanM','saveState','ToolUtil','obtainTools','onResponse','getFlowEngine','AbtCB','prompt','LTVKv','Ivcgz','mWrmU','FJpqt','QYFkq','rklHl','type','RpOyQ','OcHwF','getSessionDoc','gkFtk','text','additional_kwargs','getReason','JOPyG','message','rQJiJ','cFzud','clone','uMlmO','2777712bWHMlu','CJuuM','11368mRkOuB','FFXEd','Dkxnc','YzAMW','@langchain/core/messages','../utils/message-util','RaTmu','LLM\x20call\x20failed.\x20Reason:','180nymjXb','SessionLogger','LlmRunner','nlXON','QYfSD','AXHXK','push','goTry','state','activate','FacOw','ToolCallMessage','8801590QKHUXS','rdADo','teqtt','tHjRh','structOutputSchema','getModel','QvHnV','yKMBw','tirgH','tool_calls','pop','UbMGS','messageStep','SOJHw','HxaoT','UpdfI','400817FDSUYf','isLogic','contentType','genMessageId','ueDXD','ToolMessageOK','AFhuz','gasRc','apply','response_metadata','mRhHZ','../session/session-logger','ixRCG','JCbOr','Glchy','getMemory','qbivO','gaZJM','name','withStructuredOutput','JSubb','LLvtD','ZKvsX','warn','xhhQD','KiVKV','length','activateByName','getActiveStep','SIRXU','WUBUT','Sgbhi','finishReason','oDSHV','getName','LogicRunner','\x20of\x20','./logic-runner','BGbaF','sUcTX','829876zAYpBF','2805103vGLXut','invoke','sXzrZ','YiDdn','direct','getTemperature','content','gVTDG','tool','vptVy','MxAAU','tool_call_id','.\x20Error:','ohseS','IJFkP','JubTi','onCrossing','HumanMessage','idsOP','MTutC','(((.+)+)+)+$','etYht','ISAbK','isBotMessageEmpty','cRjZs','hasNoTool','zCfxQ','ydSBI','nOpsG','gZuLS','saveSession','CvtWT','5qJfLtE','verifyLicense','jGeUB','DURvV','callTool','finish_reason','sWHax','pjWJb','send','step','hasTool','picoKey','ZlMxc','xKbjh','FUcXB','onToolResponseMessages','RIjUl','Follow\x20system\x20prompt\x20and\x20respond\x20properly.','xoAfK','Retry','CoreConfig','missing\x20tool\x20','dqHiy','llmRetry','VuUYK','hmwJs','string','../utils/tool-util','yElPf','search','XgwRf','UPyKe','gHvNx','defineProperty','VuVev','28604BwitqI','function','constructor'];a9_0x2eb3=function(){return _0x1b9b31;};return a9_0x2eb3();}const a9_0x43f009=a9_0x5e3f;(function(_0x16f113,_0x5edcad){const _0x3d378e=a9_0x5e3f,_0x103730=_0x16f113();while(!![]){try{const _0x194f79=-parseInt(_0x3d378e(0x172))/0x1+parseInt(_0x3d378e(0x19a))/0x2+parseInt(_0x3d378e(0x21c))/0x3*(parseInt(_0x3d378e(0x1de))/0x4)+-parseInt(_0x3d378e(0x1bb))/0x5*(-parseInt(_0x3d378e(0x212))/0x6)+parseInt(_0x3d378e(0x19b))/0x7+-parseInt(_0x3d378e(0x214))/0x8*(parseInt(_0x3d378e(0x1f6))/0x9)+-parseInt(_0x3d378e(0x228))/0xa;if(_0x194f79===_0x5edcad)break;else _0x103730['push'](_0x103730['shift']());}catch(_0x28f4ba){_0x103730['push'](_0x103730['shift']());}}}(a9_0x2eb3,0x49fe4));const a9_0x38848d=(function(){const _0x541c05={'JSubb':function(_0xd2fbfc,_0x170fbf){return _0xd2fbfc===_0x170fbf;},'gkFtk':'GkqmG'};let _0x4a8db8=!![];return function(_0x500953,_0x26dc8e){const _0x5a4ee2=_0x4a8db8?function(){const _0x30318c=a9_0x5e3f,_0x265be5={'MxAAU':function(_0x13a3af,_0x1cebca){const _0x97b8df=a9_0x5e3f;return _0x541c05[_0x97b8df(0x186)](_0x13a3af,_0x1cebca);}};if(_0x26dc8e){if(_0x541c05[_0x30318c(0x186)](_0x541c05['gkFtk'],_0x541c05[_0x30318c(0x208)])){const _0xff02aa=_0x26dc8e['apply'](_0x500953,arguments);return _0x26dc8e=null,_0xff02aa;}else{if(_0x265be5[_0x30318c(0x1a5)](_0x131b5c[_0x30318c(0x204)],'ai')){const _0x21a3fe=_0x552c04[_0x30318c(0x20a)][_0x30318c(0x19f)];if(_0x21a3fe)return _0x28d648[_0x30318c(0x222)](_0x48e5eb),_0x3da19c[_0x30318c(0x1a1)];}}}}:function(){};return _0x4a8db8=![],_0x5a4ee2;};}()),a9_0x374d0f=a9_0x38848d(this,function(){const _0x8eb39c=a9_0x5e3f,_0x3da139={'xhhQD':_0x8eb39c(0x1af)};return a9_0x374d0f[_0x8eb39c(0x1eb)]()[_0x8eb39c(0x1d8)](_0x3da139[_0x8eb39c(0x18a)])['toString']()[_0x8eb39c(0x1e0)](a9_0x374d0f)[_0x8eb39c(0x1d8)](_0x8eb39c(0x1af));});a9_0x374d0f();'use strict';Object[a9_0x43f009(0x1dc)](exports,'__esModule',{'value':!![]}),exports['LlmRunner']=void 0x0;function a9_0x5e3f(_0x2c7f2c,_0x531522){const _0x308ab2=a9_0x2eb3();return a9_0x5e3f=function(_0x374d0f,_0x38848d){_0x374d0f=_0x374d0f-0x16d;let _0x2eb359=_0x308ab2[_0x374d0f];return _0x2eb359;},a9_0x5e3f(_0x2c7f2c,_0x531522);}const messages_1=require(a9_0x43f009(0x218)),message_util_1=require('../utils/message-util'),tool_util_1=require(a9_0x43f009(0x1d6)),session_logger_1=require(a9_0x43f009(0x17d)),core_config_1=require('../configs/core-config'),message_util_2=require(a9_0x43f009(0x219)),lodash_1=require('lodash'),logic_runner_1=require(a9_0x43f009(0x197)),retry_1=require('../utils/retry'),verify_license_1=require(a9_0x43f009(0x1f1));class LlmRunner{static async[a9_0x43f009(0x1c3)](_0x4c550a,_0x49d0cd,_0x2d426d){const _0x1f4e9d=a9_0x43f009,_0x1b318d={'IJFkP':_0x1f4e9d(0x1a3),'ohseS':_0x1f4e9d(0x192),'FylIw':_0x1f4e9d(0x1c0),'JOPyG':function(_0x564242,_0x30a2df){return _0x564242!==_0x30a2df;},'QYfSD':_0x1f4e9d(0x205),'szZik':_0x1f4e9d(0x1ef),'sXzrZ':function(_0xc3de58,_0x3ebac1){return _0xc3de58>=_0x3ebac1;},'Dkxnc':function(_0x5038b1,_0x25e52d){return _0x5038b1===_0x25e52d;},'yElPf':_0x1f4e9d(0x22a),'HxaoT':_0x1f4e9d(0x1cc),'ZlMxc':_0x1f4e9d(0x1e2),'FUcXB':_0x1f4e9d(0x1d9),'MECJD':function(_0x1aec37,_0x18873b){return _0x1aec37>=_0x18873b;},'cFzud':_0x1f4e9d(0x20e),'wIeeY':_0x1f4e9d(0x1b8),'oDSHV':function(_0x500d26,_0x169655){return _0x500d26!=_0x169655;},'KiVKV':function(_0x3c2a5f,_0x437f64){return _0x3c2a5f===_0x437f64;},'QKHao':_0x1f4e9d(0x1e9),'BVClc':_0x1f4e9d(0x1a4),'UbMGS':function(_0xab42db,_0x54803c){return _0xab42db!==_0x54803c;},'sbnGN':_0x1f4e9d(0x1b6),'qbivO':function(_0x270a5f,_0x55fbc8){return _0x270a5f!==_0x55fbc8;},'LLvtD':function(_0x4e05ad,_0x88dcb){return _0x4e05ad!=_0x88dcb;},'RIjUl':function(_0x5618c0,_0x41cf71){return _0x5618c0-_0x41cf71;},'MJCBf':_0x1f4e9d(0x217),'nlXON':'stopTool','tHjRh':function(_0x481177,_0x551135,_0x1e9633){return _0x481177(_0x551135,_0x1e9633);},'zCfxQ':_0x1f4e9d(0x1e7)};(0x0,verify_license_1[_0x1f4e9d(0x1bc)])(core_config_1[_0x1f4e9d(0x1cf)]['picoKey']);let _0x4fae5c;const _0x63d2c1=_0x4c550a[_0x1f4e9d(0x18e)](),{modelClass:_0x11a8b9,params:_0x275249,useTool:_0x34c490}=_0x4c550a[_0x1f4e9d(0x1fb)]()[_0x1f4e9d(0x22d)](_0x63d2c1[_0x1f4e9d(0x22d)]()),_0x28738f=(0x0,lodash_1[_0x1f4e9d(0x210)])(_0x275249),_0x204dda=_0x63d2c1[_0x1f4e9d(0x1a0)]();if(_0x204dda>=0x0){if(_0x1b318d[_0x1f4e9d(0x20c)](_0x1b318d[_0x1f4e9d(0x1c7)],_0x1b318d[_0x1f4e9d(0x1c9)]))_0x28738f[_0x1f4e9d(0x1e5)]=_0x204dda;else{const _0x391233=_0x3fd478?function(){const _0x3c7e68=_0x1f4e9d;if(_0x4b464c){const _0x3a656d=_0x11f840[_0x3c7e68(0x17a)](_0x436e72,arguments);return _0x4565f3=null,_0x3a656d;}}:function(){};return _0x57cf98=![],_0x391233;}}else _0x1b318d[_0x1f4e9d(0x1ee)](_0x4c550a[_0x1f4e9d(0x1e5)],0x0)&&(_0x1b318d['Dkxnc'](_0x1f4e9d(0x213),_0x1f4e9d(0x213))?_0x28738f[_0x1f4e9d(0x1e5)]=_0x4c550a[_0x1f4e9d(0x1e5)]:_0x5ccc9e=new _0x23e3bf['ToolMessageInfo'](_0x25d4c0,_0x48faa6,_0x3e2f03[_0x1b318d[_0x1f4e9d(0x1a9)]]));const _0x13472e=_0x63d2c1[_0x1f4e9d(0x181)]();if(_0x49d0cd){if(_0x1b318d['Dkxnc'](_0x1b318d[_0x1f4e9d(0x20f)],_0x1b318d[_0x1f4e9d(0x1ed)]))return _0x3b68d4[_0x1f4e9d(0x195)][_0x1f4e9d(0x1c3)](_0xe3e980);else{const _0xa8cfb=message_util_1[_0x1f4e9d(0x1f0)][_0x1f4e9d(0x16e)](_0x49d0cd['id']);if(_0x1b318d[_0x1f4e9d(0x193)](_0xa8cfb,_0x63d2c1['getName']())){if(_0x1b318d[_0x1f4e9d(0x18b)](_0x1b318d['QKHao'],_0x1b318d['BVClc'])){let _0x3c8f40=_0x5c135d['response_metadata'][_0x1b318d[_0x1f4e9d(0x1a8)]];if(!_0x3c8f40)_0x3c8f40=_0x12484b['response_metadata']['stop_reason'];else!_0x3c8f40&&(_0x3c8f40=_0x54639b[_0x1f4e9d(0x17b)][_0x1b318d[_0x1f4e9d(0x1e1)]]);return _0x3c8f40;}else await _0x4c550a[_0x1f4e9d(0x1b9)](),message_util_1['MessageUtil']['replaceStep'](_0x49d0cd,_0x63d2c1),_0x49d0cd=_0x63d2c1[_0x1f4e9d(0x1ab)](_0x49d0cd,_0xa8cfb);}}}else{if(_0x1b318d[_0x1f4e9d(0x16d)](_0x1b318d['sbnGN'],_0x1f4e9d(0x1d3))){const _0x1bf4a4=message_util_1[_0x1f4e9d(0x1f0)]['peek'](_0x13472e);if(_0x1bf4a4&&_0x1b318d[_0x1f4e9d(0x182)](_0x1bf4a4[_0x1f4e9d(0x204)],'system')){const _0x245e9e=message_util_1['MessageUtil'][_0x1f4e9d(0x16e)](_0x1bf4a4['id']);_0x1b318d[_0x1f4e9d(0x187)](_0x245e9e,_0x63d2c1[_0x1f4e9d(0x194)]())&&(await _0x4c550a[_0x1f4e9d(0x1b9)](),_0x49d0cd=_0x63d2c1[_0x1f4e9d(0x1ab)](_0x49d0cd,_0x245e9e));}else await _0x4c550a['saveSession'](),_0x49d0cd=_0x63d2c1[_0x1f4e9d(0x1ab)](_0x49d0cd);}else{const _0xab493=new _0x13d4fa[(_0x1f4e9d(0x177))](_0x810d1d,_0x8e3610);_0x1ce639['push'](_0xab493);}}if(_0x63d2c1[_0x1f4e9d(0x173)]())return logic_runner_1[_0x1f4e9d(0x195)][_0x1f4e9d(0x1c3)](_0x4c550a);let _0x644512=new _0x11a8b9(_0x28738f),_0x50ea16=_0x63d2c1[_0x1f4e9d(0x1f9)]()??[];const _0x713280=await _0x63d2c1['getPrompt']();_0x13472e[0x0]=new messages_1['SystemMessage']({'content':_0x713280,'id':_0x63d2c1[_0x1f4e9d(0x175)]()});if(_0x49d0cd){const _0x1603d3=_0x13472e[_0x1b318d[_0x1f4e9d(0x1cb)](_0x13472e[_0x1f4e9d(0x18c)],0x1)];!message_util_1[_0x1f4e9d(0x1f0)][_0x1f4e9d(0x1ec)](_0x1603d3,_0x49d0cd)&&(_0x1b318d[_0x1f4e9d(0x182)]('ZBNeN',_0x1b318d['MJCBf'])?_0x13472e[_0x1f4e9d(0x222)](_0x49d0cd):_0x492e0f=_0x2e091e+'\x0a'+(_0x153596?.[_0x1f4e9d(0x1a1)]??_0x37e750));}const _0x20825d=_0x49d0cd?.[_0x1f4e9d(0x20a)][_0x1b318d[_0x1f4e9d(0x21f)]];_0x20825d&&(_0x50ea16=[]);_0x644512=_0x1b318d[_0x1f4e9d(0x22b)](_0x34c490,_0x644512,_0x50ea16);const _0x1ee507=_0x63d2c1[_0x1f4e9d(0x22c)]();return _0x1ee507&&('CEela'!==_0x1b318d[_0x1f4e9d(0x1b5)]?(new _0x358e59[(_0x1f4e9d(0x21d))](_0x332e7c[_0x1f4e9d(0x207)]())[_0x1f4e9d(0x189)](_0x1f4e9d(0x1d0)+_0x4977a4['name']),_0x34863d=new _0xeaba90[(_0x1f4e9d(0x177))](_0x29e465,_0x1c1cc2),_0x36fffd['push'](_0x3ddfdb)):_0x644512=_0x644512[_0x1f4e9d(0x185)](_0x1ee507)),_0x4fae5c=await retry_1[_0x1f4e9d(0x1ce)][_0x1f4e9d(0x223)]({'maxRetries':core_config_1['CoreConfig'][_0x1f4e9d(0x1d2)],'delayMs':0x1f4,'onMain':async()=>{const _0x34b28e=_0x1f4e9d;if(_0x1b318d['JOPyG'](_0x1b318d[_0x34b28e(0x220)],_0x34b28e(0x1e8))){_0x4fae5c=await _0x644512[_0x34b28e(0x19c)](_0x13472e);const _0x3d35c4=_0x4fae5c['usage_metadata'];return _0x4c550a['tallyToken'](_0x3d35c4),_0x4fae5c;}else _0x4c69a6['saveState']({'_prompt':_0x42d0ee[_0x34b28e(0x1fd)]});},'onWarn':(_0x2fdc00,_0x53b582,_0xc10bef)=>{const _0x1a8daf=_0x1f4e9d;new session_logger_1[(_0x1a8daf(0x21d))](_0x4c550a['getSessionDoc']())[_0x1a8daf(0x189)]('Attempt\x20'+_0x2fdc00+_0x1a8daf(0x196)+_0x53b582+_0x1a8daf(0x1a7)+(_0xc10bef?_0xc10bef['message']:_0x1b318d[_0x1a8daf(0x1e4)]));},'shouldRetry':(_0x235171,_0x554515)=>{const _0x38028a=_0x1f4e9d;if(LlmRunner[_0x38028a(0x1b2)](_0x235171)){_0x13472e[_0x38028a(0x232)]();if(_0x1b318d[_0x38028a(0x19d)](_0x554515,0x2)){if(_0x1b318d[_0x38028a(0x216)](_0x1b318d['yElPf'],_0x1b318d[_0x38028a(0x1d7)]))_0x13472e['pop']();else return _0x30d421[_0x38028a(0x195)]['send'](_0x437fab);}return _0x13472e[_0x38028a(0x222)](new messages_1[(_0x38028a(0x1ac))]({'content':_0x1b318d[_0x38028a(0x170)],'id':_0x63d2c1['genMessageId']()})),!![];}else return![];},'onFinalError':_0x42e6fa=>{const _0x40a1a2=_0x1f4e9d;throw new Error(_0x40a1a2(0x21b)+LlmRunner[_0x40a1a2(0x20b)](_0x4fae5c)+_0x40a1a2(0x1a7)+(_0x42e6fa?_0x42e6fa[_0x40a1a2(0x20d)]:_0x1b318d[_0x40a1a2(0x1e4)]));}}),await LlmRunner[_0x1f4e9d(0x1fa)](_0x4c550a,_0x4fae5c,_0x2d426d);}static async[a9_0x43f009(0x1fa)](_0x47a135,_0x560eac,_0xade52e){const _0x808048=a9_0x43f009,_0x2f5bec={'gsFHy':'Follow\x20system\x20prompt\x20and\x20respond\x20properly.','sWHax':function(_0x5c02d9,_0x48544b){return _0x5c02d9!==_0x48544b;},'UPyKe':'AOpuk','mRhHZ':function(_0x1319b0,_0x259398){return _0x1319b0===_0x259398;},'gaZJM':_0x808048(0x16f),'AFhuz':_0x808048(0x1df)};(0x0,verify_license_1[_0x808048(0x1bc)])(core_config_1[_0x808048(0x1cf)][_0x808048(0x1c6)]);const _0x162d70=_0x47a135[_0x808048(0x18e)]();if(_0x162d70[_0x808048(0x173)]())return logic_runner_1[_0x808048(0x195)]['send'](_0x47a135);const _0x4b93a2=_0x162d70[_0x808048(0x181)]();if(tool_util_1[_0x808048(0x1f8)][_0x808048(0x1c5)](_0x560eac)){let _0x2d6e76='';if(Array[_0x808048(0x1e3)](_0x560eac?.[_0x808048(0x1a1)])&&_0x560eac?.[_0x808048(0x1a1)]?.[_0x808048(0x18c)]>0x1){if(_0x2f5bec[_0x808048(0x1c1)](_0x2f5bec[_0x808048(0x1da)],_0x2f5bec[_0x808048(0x1da)]))return _0x37f0ed[_0x808048(0x1b2)](_0x53d07d)?(_0x20df69[_0x808048(0x232)](),_0xb37a95>=0x2&&_0x35683d[_0x808048(0x232)](),_0x44b4c2[_0x808048(0x222)](new _0x2539f3[(_0x808048(0x1ac))]({'content':_0x2f5bec['gsFHy'],'id':_0x58a177[_0x808048(0x175)]()})),!![]):![];else{const _0x3d0749=_0x560eac[_0x808048(0x1a1)][_0x808048(0x232)](),_0x4bb560=_0x560eac[_0x808048(0x1a1)][_0x808048(0x232)]();_0x2d6e76=_0x4bb560[_0x808048(0x209)],_0x560eac[_0x808048(0x1a1)][_0x808048(0x222)](_0x3d0749);}}const _0x1ac207=await LlmRunner[_0x808048(0x1bf)](_0x162d70,_0x47a135,_0x560eac?.[_0x808048(0x231)]),_0x17dcf2=new message_util_2[(_0x808048(0x227))](_0x162d70,_0x560eac[_0x808048(0x231)]);return _0x4b93a2[_0x808048(0x222)](_0x17dcf2),LlmRunner[_0x808048(0x1ca)](_0x47a135,_0x162d70,_0x2d6e76,_0x560eac['tool_calls'],_0x1ac207);}else{let _0x34f69;_0xade52e?_0x34f69=_0xade52e+'\x0a'+(_0x560eac?.['content']??_0x560eac):_0x2f5bec[_0x808048(0x17c)](_0x808048(0x215),_0x2f5bec[_0x808048(0x183)])?_0x40afcd[_0x808048(0x222)](_0xee3e19[_0x808048(0x20d)]):_0x34f69=_0x560eac?.['content']??_0x560eac;const _0x175fd2=_0x162d70[_0x808048(0x1fa)](_0x34f69);if(_0x2f5bec['mRhHZ'](typeof _0x175fd2,_0x2f5bec[_0x808048(0x178)])){const _0x26b887=_0x175fd2;return await _0x47a135['activate'](_0x26b887),await LlmRunner[_0x808048(0x1c3)](_0x47a135,null,null);}else return _0x34f69=_0x175fd2,_0x4b93a2[_0x808048(0x222)](new messages_1[(_0x808048(0x1f5))]({'content':_0x34f69,'id':_0x162d70[_0x808048(0x175)]()})),_0x34f69;}}static async[a9_0x43f009(0x1ca)](_0x70ab86,_0x4e4686,_0xfa3cb7,_0x1a3af1,_0x2b0202){const _0x2cbd3e=a9_0x43f009,_0x282958={'WUBUT':function(_0x8c64b9,_0x2f0a8b){return _0x8c64b9===_0x2f0a8b;},'rklHl':_0x2cbd3e(0x1ef),'xoAfK':function(_0x53e3f3){return _0x53e3f3();},'SIRXU':function(_0x149ab4,_0xdb5c77){return _0x149ab4!==_0xdb5c77;},'xKbjh':_0x2cbd3e(0x17e),'ijCus':'DwsjO','SNhMt':_0x2cbd3e(0x1ba),'LTVKv':function(_0x290fa6,_0x325517){return _0x290fa6===_0x325517;},'FdXFF':_0x2cbd3e(0x1a3),'AXHXK':function(_0x86bbe1,_0x19851b){return _0x86bbe1===_0x19851b;},'MTutC':_0x2cbd3e(0x188),'EgkaK':_0x2cbd3e(0x22e),'EsVgg':'iRXCh','QYFkq':'human'},_0x3b7111=_0x282958[_0x2cbd3e(0x1cd)](Array);for(const _0x1f8ace of _0x1a3af1){if(_0x282958[_0x2cbd3e(0x18f)](_0x282958[_0x2cbd3e(0x1c8)],_0x282958['ijCus'])){let _0x576391=![];for(const _0x1ed893 of _0x2b0202){_0x282958[_0x2cbd3e(0x190)](_0x282958['SNhMt'],_0x2cbd3e(0x1ba))?_0x282958[_0x2cbd3e(0x1fe)](_0x1ed893[_0x2cbd3e(0x204)],_0x282958['FdXFF'])&&_0x282958[_0x2cbd3e(0x221)](_0x1f8ace['id'],_0x1ed893['tool_call_id'])&&(_0x576391=!![],_0x3b7111[_0x2cbd3e(0x222)](_0x1ed893)):_0x365984[_0x2cbd3e(0x1e5)]>=0x0&&(_0x263769['temperature']=_0x216151[_0x2cbd3e(0x1e5)]);}if(!_0x576391){const _0x92e410=new message_util_2[(_0x2cbd3e(0x177))](_0x4e4686,_0x1f8ace);_0x3b7111[_0x2cbd3e(0x222)](_0x92e410);}}else{if(_0x5b1655[_0x2cbd3e(0x1f8)][_0x2cbd3e(0x1b4)](_0x4b6f10)){if(!_0x300440?.[_0x2cbd3e(0x1a1)]||_0x5dba8f[_0x2cbd3e(0x1a1)][0x0]&&_0x282958[_0x2cbd3e(0x190)](_0x2635ef[_0x2cbd3e(0x1a1)][0x0][_0x2cbd3e(0x209)],''))return!![];}return![];}}const _0x2a4e8b=_0x4e4686[_0x2cbd3e(0x181)]();_0x2a4e8b['push'](..._0x3b7111);for(const _0xa00e12 of _0x2b0202){if(_0x282958[_0x2cbd3e(0x190)]('KrNyE',_0x282958[_0x2cbd3e(0x1ae)]))_0x4832b5[_0x2cbd3e(0x232)]();else{if(_0x282958['WUBUT'](_0xa00e12[_0x2cbd3e(0x204)],'ai')){const _0x49ee33=_0xa00e12[_0x2cbd3e(0x20a)]['direct'];if(_0x49ee33)return _0x282958[_0x2cbd3e(0x18f)](_0x282958['EgkaK'],_0x282958[_0x2cbd3e(0x1f2)])?(_0x2a4e8b[_0x2cbd3e(0x222)](_0xa00e12),_0xa00e12[_0x2cbd3e(0x1a1)]):_0x282958[_0x2cbd3e(0x203)];}}}for(const _0x34a5c9 of _0x2b0202){if(_0x2cbd3e(0x1ad)===_0x2cbd3e(0x1ad)){if(_0x34a5c9[_0x2cbd3e(0x204)]===_0x282958[_0x2cbd3e(0x202)])return await LlmRunner[_0x2cbd3e(0x1c3)](_0x70ab86,_0x34a5c9,_0xfa3cb7);}else _0x1d9b85=_0x1a4a3d[_0x2cbd3e(0x185)](_0x31f195);}return await LlmRunner[_0x2cbd3e(0x1c3)](_0x70ab86,null,_0xfa3cb7);}static async[a9_0x43f009(0x1bf)](_0x134a4c,_0x4f2a51,_0x264bb7){const _0x331ccf=a9_0x43f009,_0x45ce18={'OcHwF':function(_0x5ec4f8,_0x4cb2f4){return _0x5ec4f8===_0x4cb2f4;},'LZfde':_0x331ccf(0x1a3),'dyKci':function(_0x3933cc,_0x445741){return _0x3933cc===_0x445741;},'etYht':'(((.+)+)+)+$','uMlmO':function(_0x277c8c,_0xee28d7){return _0x277c8c===_0xee28d7;},'DURvV':_0x331ccf(0x1db),'akFom':_0x331ccf(0x191),'zbSBV':function(_0x24cb95,_0x5b1289){return _0x24cb95===_0x5b1289;},'gasRc':_0x331ccf(0x1d5),'AbtCB':function(_0x2d3aff,_0x3bdbc8){return _0x2d3aff===_0x3bdbc8;},'jGeUB':_0x331ccf(0x201),'pjWJb':function(_0x531eda,_0x389318){return _0x531eda===_0x389318;},'sUcTX':_0x331ccf(0x1df),'QoMWz':function(_0x2023b2,_0x3aa4fe){return _0x2023b2 in _0x3aa4fe;},'BGbaF':_0x331ccf(0x1c4),'SDkPo':_0x331ccf(0x21a),'JubTi':_0x331ccf(0x1b7),'rdADo':function(_0x32a53c,_0x4193c3){return _0x32a53c===_0x4193c3;},'ISAbK':function(_0x9f4b0b,_0x4a3a63){return _0x9f4b0b===_0x4a3a63;},'qiyRk':_0x331ccf(0x180),'UpdfI':'NDuMF','tirgH':function(_0x4e4c07,_0x5dcd68){return _0x4e4c07!==_0x5dcd68;},'gVTDG':_0x331ccf(0x17f),'YiDdn':_0x331ccf(0x1ff),'yKMBw':_0x331ccf(0x20d)},_0x116148=new Array();for(const _0x535b57 of _0x264bb7){let _0x2daf8f;if(_0x45ce18[_0x331ccf(0x211)](typeof _0x134a4c[_0x535b57['name']],'function')){if(_0x45ce18[_0x331ccf(0x1be)]!==_0x45ce18['akFom']){const _0x70a403=await _0x134a4c[_0x535b57[_0x331ccf(0x184)]](_0x535b57);if(_0x45ce18['zbSBV'](typeof _0x70a403,_0x45ce18[_0x331ccf(0x179)]))_0x45ce18[_0x331ccf(0x1fc)](_0x331ccf(0x1f4),_0x45ce18[_0x331ccf(0x1bd)])?_0x5e38fc[_0x331ccf(0x1e5)]=_0x4bc7be[_0x331ccf(0x1e5)]:(await _0x4f2a51[_0x331ccf(0x18d)](_0x70a403),_0x116148[_0x331ccf(0x222)](new message_util_2[(_0x331ccf(0x177))](_0x134a4c,_0x535b57)));else{if(_0x45ce18[_0x331ccf(0x1c2)](typeof _0x70a403,_0x45ce18[_0x331ccf(0x199)]))await _0x4f2a51[_0x331ccf(0x225)](_0x70a403),_0x116148[_0x331ccf(0x222)](new message_util_2[(_0x331ccf(0x177))](_0x134a4c,_0x535b57));else{if(_0x70a403&&_0x45ce18['QoMWz'](_0x45ce18[_0x331ccf(0x198)],_0x70a403)){if(_0x45ce18[_0x331ccf(0x1f3)]!==_0x45ce18[_0x331ccf(0x1aa)]){let _0x184775;_0x45ce18[_0x331ccf(0x229)](typeof _0x70a403[_0x331ccf(0x1c4)],_0x45ce18[_0x331ccf(0x179)])?_0x45ce18['ISAbK'](_0x45ce18[_0x331ccf(0x1e6)],_0x45ce18[_0x331ccf(0x171)])?(_0x284c77=!![],_0x1cdfc1['push'](_0x45cfc0)):_0x184775=await _0x4f2a51[_0x331ccf(0x18d)](_0x70a403['step']):_0x184775=await _0x4f2a51[_0x331ccf(0x225)](_0x70a403['step']);_0x70a403[_0x331ccf(0x1fd)]&&_0x184775[_0x331ccf(0x1f7)]({'_prompt':_0x70a403[_0x331ccf(0x1fd)]});if(_0x70a403['state']){if(_0x45ce18[_0x331ccf(0x230)](_0x45ce18[_0x331ccf(0x1a2)],'NDwdo'))_0x184775[_0x331ccf(0x1f7)](_0x70a403[_0x331ccf(0x224)]);else{let _0xaf1b2e=![];for(const _0x323379 of _0x5acb93){_0x45ce18[_0x331ccf(0x206)](_0x323379[_0x331ccf(0x204)],_0x45ce18['LZfde'])&&_0x45ce18['dyKci'](_0x2cd8c2['id'],_0x323379[_0x331ccf(0x1a6)])&&(_0xaf1b2e=!![],_0x365abf[_0x331ccf(0x222)](_0x323379));}if(!_0xaf1b2e){const _0x480159=new _0x2189c5[(_0x331ccf(0x177))](_0x3ca060,_0x554b76);_0x7a1069[_0x331ccf(0x222)](_0x480159);}}}if(_0x70a403[_0x331ccf(0x174)]){if(_0x45ce18[_0x331ccf(0x1b1)](_0x45ce18[_0x331ccf(0x19e)],_0x45ce18[_0x331ccf(0x19e)]))_0x184775[_0x331ccf(0x174)]=_0x70a403[_0x331ccf(0x174)];else return _0x5a4c44[_0x331ccf(0x1eb)]()[_0x331ccf(0x1d8)](azKueB[_0x331ccf(0x1b0)])[_0x331ccf(0x1eb)]()[_0x331ccf(0x1e0)](_0x1ef373)[_0x331ccf(0x1d8)](_0x331ccf(0x1af));}_0x70a403[_0x331ccf(0x1a3)]?_0x2daf8f=new message_util_1[(_0x331ccf(0x1ea))](_0x184775,_0x535b57,_0x70a403[_0x45ce18['LZfde']]):_0x2daf8f=new message_util_2[(_0x331ccf(0x177))](_0x134a4c,_0x535b57),_0x116148['push'](_0x2daf8f),_0x70a403[_0x45ce18[_0x331ccf(0x22f)]]&&_0x116148[_0x331ccf(0x222)](_0x70a403[_0x45ce18[_0x331ccf(0x22f)]]);}else{if(_0xed492e){const _0x145c94=_0x21c5da['apply'](_0x5411aa,arguments);return _0x53945a=null,_0x145c94;}}}}}}else _0x2099c2=[];}else new session_logger_1[(_0x331ccf(0x21d))](_0x4f2a51[_0x331ccf(0x207)]())[_0x331ccf(0x189)](_0x331ccf(0x1d0)+_0x535b57['name']),_0x2daf8f=new message_util_2[(_0x331ccf(0x177))](_0x134a4c,_0x535b57),_0x116148[_0x331ccf(0x222)](_0x2daf8f);}return _0x116148;}static[a9_0x43f009(0x1b2)](_0x1c77e0){const _0x31c47b=a9_0x43f009,_0x3de721={'cRjZs':function(_0x1dd480,_0x518313){return _0x1dd480===_0x518313;},'PBvMl':_0x31c47b(0x209)};if(tool_util_1['ToolUtil'][_0x31c47b(0x1b4)](_0x1c77e0)){if(!_0x1c77e0?.[_0x31c47b(0x1a1)]||_0x1c77e0[_0x31c47b(0x1a1)][0x0]&&_0x3de721[_0x31c47b(0x1b3)](_0x1c77e0[_0x31c47b(0x1a1)][0x0][_0x3de721['PBvMl']],''))return!![];}return![];}static[a9_0x43f009(0x20b)](_0x29d55a){const _0x15de86=a9_0x43f009,_0x2ab60f={'DrKkt':function(_0x3962de,_0x198366){return _0x3962de!==_0x198366;},'ueDXD':'NjDnv','VuVev':_0x15de86(0x226),'mWrmU':_0x15de86(0x1d1),'VqiiS':'oIVhZ','hmwJs':_0x15de86(0x1ef)};if(_0x29d55a?.[_0x15de86(0x17b)]){if(_0x2ab60f['DrKkt'](_0x2ab60f[_0x15de86(0x176)],_0x2ab60f[_0x15de86(0x1dd)])){let _0x250418=_0x29d55a[_0x15de86(0x17b)]['finishReason'];if(!_0x250418)_0x250418=_0x29d55a[_0x15de86(0x17b)]['stop_reason'];else!_0x250418&&(_0x250418=_0x29d55a[_0x15de86(0x17b)][_0x15de86(0x1c0)]);return _0x250418;}else{const _0x4d5fe4=_0x2c9c8e[_0x40c93b['length']-0x1];!_0x2bcde3[_0x15de86(0x1f0)]['isSame'](_0x4d5fe4,_0x1fe0f8)&&_0x1a5839[_0x15de86(0x222)](_0x276383);}}else{if(_0x2ab60f[_0x15de86(0x200)]!==_0x2ab60f['VqiiS'])return _0x2ab60f[_0x15de86(0x1d4)];else _0x14ca8e[_0x15de86(0x1f7)](_0x393717[_0x15de86(0x224)]);}}}exports[a9_0x43f009(0x21e)]=LlmRunner;
1
+ const a9_0x5e4c53=a9_0x3a40;(function(_0x87b34e,_0x11699a){const _0x43ac52=a9_0x3a40,_0x33a593=_0x87b34e();while(!![]){try{const _0x1c046d=parseInt(_0x43ac52(0xfc))/0x1*(parseInt(_0x43ac52(0x149))/0x2)+parseInt(_0x43ac52(0x18f))/0x3*(-parseInt(_0x43ac52(0x182))/0x4)+-parseInt(_0x43ac52(0x111))/0x5*(-parseInt(_0x43ac52(0x126))/0x6)+-parseInt(_0x43ac52(0x16c))/0x7*(parseInt(_0x43ac52(0x10d))/0x8)+parseInt(_0x43ac52(0x1a2))/0x9+parseInt(_0x43ac52(0x198))/0xa*(parseInt(_0x43ac52(0x14f))/0xb)+-parseInt(_0x43ac52(0x166))/0xc*(parseInt(_0x43ac52(0x188))/0xd);if(_0x1c046d===_0x11699a)break;else _0x33a593['push'](_0x33a593['shift']());}catch(_0x1643d9){_0x33a593['push'](_0x33a593['shift']());}}}(a9_0x3496,0x417fa));const a9_0x23898e=(function(){const _0x316db0=a9_0x3a40,_0x128a57={'BwACm':function(_0x1734b6,_0x148bb2){return _0x1734b6===_0x148bb2;},'DipAy':'SMwRW','GFmZL':_0x316db0(0x19b)};let _0x2e225e=!![];return function(_0x58bd3a,_0x2f6f75){const _0xebdb5e=_0x2e225e?function(){const _0x21fef7=a9_0x3a40;if(_0x2f6f75){if(_0x128a57['BwACm'](_0x128a57[_0x21fef7(0x148)],_0x128a57[_0x21fef7(0x15f)]))return _0x1b8fcc=_0x473243,_0x185224[_0x21fef7(0x101)](new _0x46b58b[(_0x21fef7(0x176))]({'content':_0x4d40ab,'id':_0x23d8b0[_0x21fef7(0x1ae)]()})),_0x2bc297;else{const _0x49a3c0=_0x2f6f75['apply'](_0x58bd3a,arguments);return _0x2f6f75=null,_0x49a3c0;}}}:function(){};return _0x2e225e=![],_0xebdb5e;};}()),a9_0xf77721=a9_0x23898e(this,function(){const _0x7c0124=a9_0x3a40,_0x21a2d8={'pOAXX':_0x7c0124(0x15a)};return a9_0xf77721[_0x7c0124(0x18a)]()[_0x7c0124(0x196)](_0x7c0124(0x15a))[_0x7c0124(0x18a)]()['constructor'](a9_0xf77721)[_0x7c0124(0x196)](_0x21a2d8[_0x7c0124(0x17d)]);});a9_0xf77721();'use strict';Object[a9_0x5e4c53(0x16d)](exports,'__esModule',{'value':!![]}),exports[a9_0x5e4c53(0x124)]=void 0x0;function a9_0x3a40(_0x3a4083,_0x3ffb84){const _0x1cc1d0=a9_0x3496();return a9_0x3a40=function(_0xf77721,_0x23898e){_0xf77721=_0xf77721-0xfb;let _0x34963c=_0x1cc1d0[_0xf77721];return _0x34963c;},a9_0x3a40(_0x3a4083,_0x3ffb84);}function a9_0x3496(){const _0xe0846f=['(((.+)+)+)+$','wXNMa','DuGdI','itndf','message','GFmZL','verifyLicense','wFRna','HfmEn','lXSme','\x20of\x20','callTool','12gYEdSo','hasNoTool','getName','hvSrG','finish_reason','getModel','21NMOSBD','defineProperty','@langchain/core/messages','bCONe','njgIh','constructor','PdDbV','withStructuredOutput','iGQBp','isBotMessageEmpty','AIMessage','getTemperature','SessionLogger','CoFLJ','cktUp','Attempt\x20','step','pOAXX','HumanMessage','EMJUE','tallyToken','NJMvb','696lnqCbg','ASvWH','tool_call_id','getMemory','KmlxS','isLogic','2821052nREcGO','MUVKA','toString','onResponse','satAw','LOAgS','activateByName','5466HFMUjW','response_metadata','wFOdQ','temperature','ToolCallMessage','PmvLY','../utils/retry','search','../utils/tool-util','389510qVhQln','XJsTi','getActiveStep','BCgzT','ujDeF','length','AfqJx','contentType','isSame','isToolAvailable','1418175LRuvam','KvQRs','nHeKt','send','cbxww','ToolMessageInfo','activate','ZAGRk','tool_calls','name','dYVhR','warn','genMessageId','./logic-runner','LLM\x20hallucinates\x20a\x20non-existing\x20tool:\x20','HyMpi','pLLpE','prompt','LLM\x20call\x20failed.\x20Reason:','DpPMz','obtainTools','Retry','FZJIP','vreuQ','getReason','finishReason','XwZPs','qZgsy','NHQeE','HcwEd','onCrossing','85YoQnty','ySfNf','direct','toJSON','EhTxY','push','DTdOK','jVfJN','saveState','fdkHU','peek','JWjjl','../configs/core-config','../utils/verify-license','type','pop','content','31120tDnwJf','stopTool','xkoeP','saveSession','2639555PXuQrw','structOutputSchema','messageStep','getSessionDoc','jDBQQ','oeZHp','wOoej','../session/session-logger','getPrompt','zyvXE','FaUsk','apply','replaceStep','human','UAcvP','ZZcNw','BEnDB','MAaKI','missing\x20tool\x20handler:\x20','LlmRunner','picoKey','6mYmmvq','HrNqx','CqgXs','ToolUtil','VZgXV','FEqux','mSxQR','usage_metadata','ToolMessageOK','function','hallucinated\x20tool:\x20','onToolResponseMessages','ZKYWh','VxEPn','MessageUtil','tool','log','mRmtl','VoTOy','BMlJr','QhdhZ','Follow\x20system\x20prompt\x20and\x20respond\x20properly.','mvVHO','unknown','../utils/message-util','ZpQrP','ETmCa','string','.\x20Error:','SBBEo','SystemMessage','llmRetry','ZvajV','QOhNe','DipAy','274YosDPs','TWmvx','tanCN','jQDtt','isArray','Otkac','33Fhgkfc','IqAvW','getFlowEngine','text','bhFhW','system','CoreConfig','LogicRunner','additional_kwargs','mVYlJ','state'];a9_0x3496=function(){return _0xe0846f;};return a9_0x3496();}const messages_1=require(a9_0x5e4c53(0x16e)),message_util_1=require(a9_0x5e4c53(0x13e)),tool_util_1=require(a9_0x5e4c53(0x197)),session_logger_1=require(a9_0x5e4c53(0x118)),core_config_1=require(a9_0x5e4c53(0x108)),message_util_2=require(a9_0x5e4c53(0x13e)),logic_runner_1=require(a9_0x5e4c53(0x1af)),retry_1=require(a9_0x5e4c53(0x195)),verify_license_1=require(a9_0x5e4c53(0x109));class LlmRunner{static async[a9_0x5e4c53(0x1a5)](_0x59dc6c,_0x294c41,_0x1d5cc8){const _0xa445cb=a9_0x5e4c53,_0x2ed14b={'FaUsk':_0xa445cb(0x16a),'VoTOy':_0xa445cb(0x152),'ZZcNw':function(_0x2f463f,_0x387bfd){return _0x2f463f===_0x387bfd;},'UAcvP':_0xa445cb(0x1b8),'lXSme':_0xa445cb(0x15b),'KmlxS':_0xa445cb(0x13b),'DpPMz':_0xa445cb(0x15c),'nHeKt':'unknown','FEqux':function(_0x38e748,_0x2214ae){return _0x38e748>=_0x2214ae;},'mRmtl':function(_0x1325f3,_0x146cca){return _0x1325f3!==_0x146cca;},'pLLpE':'UkWBY','LnaSx':_0xa445cb(0x105),'wFRna':function(_0xcf5269,_0x333e7c){return _0xcf5269!=_0x333e7c;},'wFOdQ':function(_0xf4f410,_0x334842){return _0xf4f410!==_0x334842;},'SWAyk':_0xa445cb(0x115),'MUVKA':_0xa445cb(0x154),'mpjBt':function(_0x4ef449,_0x56e8ca){return _0x4ef449===_0x56e8ca;},'ZKYWh':_0xa445cb(0x14a),'mVYlJ':function(_0x36b2a8,_0x30f317){return _0x36b2a8-_0x30f317;},'Miqhp':_0xa445cb(0x17a),'HrNqx':function(_0x21c3c4,_0xcecf47,_0x5d4595){return _0x21c3c4(_0xcecf47,_0x5d4595);}};(0x0,verify_license_1[_0xa445cb(0x160)])(core_config_1[_0xa445cb(0x155)]['picoKey']);let _0x4e48bf;const _0x26c236=_0x59dc6c[_0xa445cb(0x19a)](),{modelClass:_0x5e9f27,params:_0x548408,useTool:_0x1b1f49}=_0x59dc6c[_0xa445cb(0x151)]()[_0xa445cb(0x16b)](_0x26c236[_0xa445cb(0x16b)]()),_0x8e5293={..._0x548408},_0xc2d358=_0x26c236[_0xa445cb(0x177)]();_0xc2d358>=0x0?_0x8e5293[_0xa445cb(0x192)]=_0xc2d358:_0x2ed14b[_0xa445cb(0x12b)](_0x59dc6c[_0xa445cb(0x192)],0x0)&&(_0x2ed14b['mRmtl'](_0x2ed14b[_0xa445cb(0x1b2)],_0x2ed14b['LnaSx'])?_0x8e5293[_0xa445cb(0x192)]=_0x59dc6c['temperature']:_0x4e2d5b=_0x5c30c9['response_metadata'][_0x2ed14b[_0xa445cb(0x11b)]]);const _0x4c92f3=_0x26c236['getMemory']();if(_0x294c41){const _0xaa6dd0=message_util_1[_0xa445cb(0x134)][_0xa445cb(0x113)](_0x294c41['id']);_0x2ed14b[_0xa445cb(0x161)](_0xaa6dd0,_0x26c236[_0xa445cb(0x168)]())&&(await _0x59dc6c['saveSession'](),message_util_1['MessageUtil'][_0xa445cb(0x11d)](_0x294c41,_0x26c236),_0x294c41=_0x26c236[_0xa445cb(0xfb)](_0x294c41,_0xaa6dd0));}else{if(_0x2ed14b[_0xa445cb(0x191)]('jDBQQ',_0x2ed14b['SWAyk'])){const _0x4b6ef2=_0x2d4bf1[_0xa445cb(0x11c)](_0x5e132a,arguments);return _0x36640f=null,_0x4b6ef2;}else{const _0x128b9b=message_util_1[_0xa445cb(0x134)][_0xa445cb(0x106)](_0x4c92f3);if(_0x128b9b&&_0x2ed14b[_0xa445cb(0x191)](_0x128b9b['type'],_0x2ed14b[_0xa445cb(0x189)])){const _0x5c6e85=message_util_1[_0xa445cb(0x134)]['messageStep'](_0x128b9b['id']);_0x5c6e85!=_0x26c236['getName']()&&(await _0x59dc6c['saveSession'](),_0x294c41=_0x26c236[_0xa445cb(0xfb)](_0x294c41,_0x5c6e85));}else await _0x59dc6c[_0xa445cb(0x110)](),_0x294c41=_0x26c236['onCrossing'](_0x294c41);}}if(_0x26c236[_0xa445cb(0x187)]())return logic_runner_1[_0xa445cb(0x156)][_0xa445cb(0x1a5)](_0x59dc6c);let _0x3ae57c=new _0x5e9f27(_0x8e5293),_0xfe5ce4=_0x26c236[_0xa445cb(0x1b6)]()??[];const _0x1bd9bc=await _0x26c236[_0xa445cb(0x119)]();_0x4c92f3[0x0]=new messages_1[(_0xa445cb(0x144))]({'content':_0x1bd9bc,'id':_0x26c236[_0xa445cb(0x1ae)]()});if(_0x294c41){if(_0x2ed14b['mpjBt'](_0x2ed14b[_0xa445cb(0x132)],_0x2ed14b[_0xa445cb(0x132)])){const _0xe995c4=_0x4c92f3[_0x2ed14b[_0xa445cb(0x158)](_0x4c92f3['length'],0x1)];if(!message_util_1[_0xa445cb(0x134)]['isSame'](_0xe995c4,_0x294c41)){if(_0x2ed14b[_0xa445cb(0x137)](_0xa445cb(0x17a),_0x2ed14b['Miqhp']))return _0x1ff4eb[_0xa445cb(0x156)][_0xa445cb(0x1a5)](_0x587994);else _0x4c92f3[_0xa445cb(0x101)](_0x294c41);}}else{const _0x5c1de0=_0x73978b[_0xa445cb(0x10c)][_0xa445cb(0x10b)](),_0x246a3a=_0x3ddf36[_0xa445cb(0x10c)][_0xa445cb(0x10b)]();_0x5c2f76=_0x246a3a[_0x2ed14b[_0xa445cb(0x138)]],_0x1e2c78[_0xa445cb(0x10c)][_0xa445cb(0x101)](_0x5c1de0);}}const _0x189ef0=_0x294c41?.[_0xa445cb(0x157)][_0xa445cb(0x10e)];_0x189ef0&&(_0xfe5ce4=[]);_0x3ae57c=_0x2ed14b[_0xa445cb(0x127)](_0x1b1f49,_0x3ae57c,_0xfe5ce4);const _0x117586=_0x26c236[_0xa445cb(0x112)]();return _0x117586&&(_0x3ae57c=_0x3ae57c[_0xa445cb(0x173)](_0x117586)),_0x4e48bf=await retry_1[_0xa445cb(0x1b7)]['goTry']({'maxRetries':core_config_1['CoreConfig'][_0xa445cb(0x145)],'delayMs':0x1f4,'onMain':async()=>{const _0x5ecc74=_0xa445cb;_0x4e48bf=await _0x3ae57c['invoke'](_0x4c92f3);const _0x1ee65f=_0x4e48bf[_0x5ecc74(0x12d)];return _0x59dc6c[_0x5ecc74(0x180)](_0x1ee65f),_0x4e48bf;},'onWarn':(_0x5e5ce9,_0x409a6c,_0x4ec12e)=>{const _0xc8b609=_0xa445cb;console[_0xc8b609(0x136)](_0x3ae57c[_0xc8b609(0xff)]()),new session_logger_1['SessionLogger'](_0x59dc6c['getSessionDoc']())[_0xc8b609(0x1ad)](_0xc8b609(0x17b)+_0x5e5ce9+_0xc8b609(0x164)+_0x409a6c+_0xc8b609(0x142)+(_0x4ec12e?_0x4ec12e[_0xc8b609(0x15e)]:'unknown'));},'shouldRetry':(_0x31802f,_0xa9a848)=>{const _0x201b9a=_0xa445cb;if(LlmRunner[_0x201b9a(0x175)](_0x31802f)){if(_0x2ed14b[_0x201b9a(0x120)](_0x2ed14b[_0x201b9a(0x11f)],_0x2ed14b[_0x201b9a(0x163)]))_0x12ac6c[_0x201b9a(0x10b)]();else return _0x4c92f3[_0x201b9a(0x10b)](),_0xa9a848>=0x2&&_0x4c92f3['pop'](),_0x4c92f3['push'](new messages_1['HumanMessage']({'content':_0x2ed14b[_0x201b9a(0x186)],'id':_0x26c236[_0x201b9a(0x1ae)]()})),!![];}else return![];},'onFinalError':_0x327875=>{const _0x4197ae=_0xa445cb;if(_0x2ed14b['ZZcNw'](_0x2ed14b[_0x4197ae(0x1b5)],_0x4197ae(0x15c)))throw new Error(_0x4197ae(0x1b4)+LlmRunner['getReason'](_0x4e48bf)+_0x4197ae(0x142)+(_0x327875?_0x327875[_0x4197ae(0x15e)]:_0x2ed14b[_0x4197ae(0x1a4)]));else{if(_0x4db30a['ToolUtil']['hasNoTool'](_0x341beb)){if(!_0x32a4c0?.[_0x4197ae(0x10c)]||_0x480aa7[_0x4197ae(0x10c)][0x0]&&_0x2ed14b['ZZcNw'](_0x3d92e1[_0x4197ae(0x10c)][0x0][_0x2ed14b[_0x4197ae(0x138)]],''))return!![];}return![];}}}),await LlmRunner[_0xa445cb(0x18b)](_0x59dc6c,_0x4e48bf,_0x1d5cc8);}static async['onResponse'](_0x414a53,_0x57ea07,_0x2173de){const _0x200473=a9_0x5e4c53,_0x214e62={'AfqJx':_0x200473(0x15a),'JWjjl':function(_0x2d0a2b,_0x416fd0){return _0x2d0a2b>_0x416fd0;},'bCONe':function(_0x152ec6,_0x4a1873){return _0x152ec6!==_0x4a1873;},'VxEPn':_0x200473(0x150),'VLlXU':_0x200473(0x152),'ASvWH':function(_0x5a6b29,_0x5b6cc0){return _0x5a6b29===_0x5b6cc0;},'mvVHO':_0x200473(0x12f),'klbBy':function(_0x402afc,_0x2f7e11){return _0x402afc===_0x2f7e11;},'ZAGRk':_0x200473(0x19c)};(0x0,verify_license_1[_0x200473(0x160)])(core_config_1['CoreConfig'][_0x200473(0x125)]);const _0x18d5e9=_0x414a53['getActiveStep']();if(_0x18d5e9[_0x200473(0x187)]())return logic_runner_1[_0x200473(0x156)][_0x200473(0x1a5)](_0x414a53);const _0x156603=_0x18d5e9[_0x200473(0x185)]();if(tool_util_1[_0x200473(0x129)]['hasTool'](_0x57ea07)){let _0x4bf2af='';if(Array[_0x200473(0x14d)](_0x57ea07?.[_0x200473(0x10c)])&&_0x214e62[_0x200473(0x107)](_0x57ea07?.[_0x200473(0x10c)]?.['length'],0x1)){if(_0x214e62[_0x200473(0x16f)](_0x214e62[_0x200473(0x133)],_0x200473(0x1a3))){const _0x21c34b=_0x57ea07[_0x200473(0x10c)][_0x200473(0x10b)](),_0x5e5112=_0x57ea07['content'][_0x200473(0x10b)]();_0x4bf2af=_0x5e5112[_0x214e62['VLlXU']],_0x57ea07[_0x200473(0x10c)]['push'](_0x21c34b);}else _0x3a4ec6=[];}const _0x1d6785=await LlmRunner[_0x200473(0x165)](_0x18d5e9,_0x414a53,_0x57ea07?.[_0x200473(0x1aa)]),_0x3829e6=new message_util_2[(_0x200473(0x193))](_0x18d5e9,_0x57ea07[_0x200473(0x1aa)]);return _0x156603[_0x200473(0x101)](_0x3829e6),LlmRunner[_0x200473(0x131)](_0x414a53,_0x18d5e9,_0x4bf2af,_0x57ea07[_0x200473(0x1aa)],_0x1d6785);}else{let _0x189620;_0x2173de?_0x189620=_0x2173de+'\x0a'+(_0x57ea07?.['content']??_0x57ea07):_0x189620=_0x57ea07?.[_0x200473(0x10c)]??_0x57ea07;const _0x1c8f2c=_0x18d5e9[_0x200473(0x18b)](_0x189620);if(_0x214e62[_0x200473(0x183)](typeof _0x1c8f2c,_0x214e62[_0x200473(0x13c)])){const _0x3a3ba6=_0x1c8f2c;return await _0x414a53[_0x200473(0x1a8)](_0x3a3ba6),await LlmRunner[_0x200473(0x1a5)](_0x414a53,null,null);}else return _0x214e62['klbBy'](_0x214e62[_0x200473(0x1a9)],_0x200473(0x17f))?_0x436d8d['toString']()[_0x200473(0x196)](jExEAf['AfqJx'])['toString']()[_0x200473(0x171)](_0x47e6c4)['search'](jExEAf[_0x200473(0x19e)]):(_0x189620=_0x1c8f2c,_0x156603[_0x200473(0x101)](new messages_1[(_0x200473(0x176))]({'content':_0x189620,'id':_0x18d5e9[_0x200473(0x1ae)]()})),_0x189620);}}static async[a9_0x5e4c53(0x131)](_0x1a7ba5,_0x5ba038,_0x395b88,_0x2c30e3,_0x2bea10){const _0x34e2be=a9_0x5e4c53,_0x40ab61={'xkoeP':_0x34e2be(0x135),'qZgsy':function(_0x203ac7,_0x7903fb){return _0x203ac7===_0x7903fb;},'oeZHp':_0x34e2be(0x174),'mSxQR':_0x34e2be(0x122),'ffqsX':function(_0x56c988,_0xc38781){return _0x56c988!==_0xc38781;},'tanCN':_0x34e2be(0x1a6),'ftrCY':function(_0x9f5a73,_0x1941dc){return _0x9f5a73!==_0x1941dc;},'itndf':_0x34e2be(0x117),'WLesL':_0x34e2be(0xfe),'ZvajV':_0x34e2be(0x11e),'PdDbV':'LWIrA'},_0x5b48e1=Array();for(const _0x2ca9ff of _0x2c30e3){let _0x16582a=![];for(const _0x401053 of _0x2bea10){_0x40ab61['qZgsy'](_0x401053[_0x34e2be(0x10a)],_0x34e2be(0x135))&&_0x40ab61[_0x34e2be(0x1bd)](_0x2ca9ff['id'],_0x401053[_0x34e2be(0x184)])&&(_0x40ab61[_0x34e2be(0x1bd)](_0x40ab61[_0x34e2be(0x116)],_0x40ab61['oeZHp'])?(_0x16582a=!![],_0x5b48e1[_0x34e2be(0x101)](_0x401053)):_0x16a290=new _0x30c552[(_0x34e2be(0x1a7))](_0x480d9e,_0x1afc65,_0x4fa014[_0x40ab61[_0x34e2be(0x10f)]]));}if(!_0x16582a){if(_0x40ab61[_0x34e2be(0x1bd)](_0x40ab61['mSxQR'],_0x40ab61[_0x34e2be(0x12c)])){const _0x1c5752=new message_util_2[(_0x34e2be(0x12e))](_0x5ba038,_0x2ca9ff);_0x5b48e1['push'](_0x1c5752);}else return _0x211aca['LogicRunner']['send'](_0x196cfb);}}const _0x45d5a2=_0x5ba038[_0x34e2be(0x185)]();_0x45d5a2[_0x34e2be(0x101)](..._0x5b48e1);for(const _0x543532 of _0x2bea10){if(_0x40ab61['ffqsX'](_0x34e2be(0x1a6),_0x40ab61[_0x34e2be(0x14b)]))_0x1b5b52[_0x34e2be(0x101)](_0x2e3964);else{if(_0x543532[_0x34e2be(0x10a)]==='ai'){if(_0x40ab61['ftrCY'](_0x40ab61[_0x34e2be(0x15d)],_0x34e2be(0x170))){const _0xca98c0=_0x543532[_0x34e2be(0x157)][_0x40ab61['WLesL']];if(_0xca98c0)return _0x45d5a2[_0x34e2be(0x101)](_0x543532),_0x543532[_0x34e2be(0x10c)];}else return![];}}}for(const _0xa21431 of _0x2bea10){if(_0x40ab61['qZgsy'](_0xa21431[_0x34e2be(0x10a)],_0x40ab61[_0x34e2be(0x146)])){if(_0x40ab61['PdDbV']!==_0x40ab61[_0x34e2be(0x172)])_0x65614f['log'](_0x35b273[_0x34e2be(0xff)]()),new _0x22401b[(_0x34e2be(0x178))](_0x1e192c[_0x34e2be(0x114)]())[_0x34e2be(0x1ad)]('Attempt\x20'+_0x280b12+_0x34e2be(0x164)+_0x2bf92c+'.\x20Error:'+(_0x3977a4?_0x115779[_0x34e2be(0x15e)]:_0x34e2be(0x13d)));else return await LlmRunner['send'](_0x1a7ba5,_0xa21431,_0x395b88);}}return await LlmRunner[_0x34e2be(0x1a5)](_0x1a7ba5,null,_0x395b88);}static async['callTool'](_0x1db92e,_0xc047fe,_0x3b4345){const _0xec74c7=a9_0x5e4c53,_0x5998aa={'NJMvb':_0xec74c7(0x135),'ySfNf':function(_0x1f5e46,_0x5356b7){return _0x1f5e46===_0x5356b7;},'bhFhW':function(_0x55767a,_0x169eaa){return _0x55767a>=_0x169eaa;},'Otkac':_0xec74c7(0x13b),'tUZQh':'unknown','CmIOX':function(_0x9840fa,_0x8d208e){return _0x9840fa===_0x8d208e;},'ETmCa':_0xec74c7(0x141),'HyMpi':'function','LOAgS':function(_0x1c47b7,_0x47f083){return _0x1c47b7 in _0x47f083;},'XwZPs':'step','dYVhR':function(_0x105d00,_0x16fe76){return _0x105d00===_0x16fe76;},'DTdOK':'WAuzS','jVfJN':_0xec74c7(0x100),'satAw':_0xec74c7(0x1be),'HfmEn':_0xec74c7(0x121),'zyvXE':_0xec74c7(0x13f),'CoFLJ':_0xec74c7(0x15e),'SBBEo':function(_0x1569a6,_0xa49389){return _0x1569a6!==_0xa49389;},'hvSrG':'czAFf','BMlJr':_0xec74c7(0x199),'vreuQ':_0xec74c7(0x1bf)},_0xad2b78=new Array();for(const _0x4b49c0 of _0x3b4345){let _0x10fe9c;if(_0x5998aa['CmIOX'](typeof _0x1db92e[_0x4b49c0[_0xec74c7(0x1ab)]],_0xec74c7(0x12f))){const _0x47db0c=await _0x1db92e[_0x4b49c0[_0xec74c7(0x1ab)]](_0x4b49c0);if(_0x5998aa[_0xec74c7(0xfd)](typeof _0x47db0c,_0x5998aa['ETmCa']))await _0xc047fe[_0xec74c7(0x18e)](_0x47db0c),_0xad2b78[_0xec74c7(0x101)](new message_util_2[(_0xec74c7(0x12e))](_0x1db92e,_0x4b49c0));else{if(typeof _0x47db0c===_0x5998aa[_0xec74c7(0x1b1)])await _0xc047fe[_0xec74c7(0x1a8)](_0x47db0c),_0xad2b78[_0xec74c7(0x101)](new message_util_2[(_0xec74c7(0x12e))](_0x1db92e,_0x4b49c0));else{if(_0x47db0c&&_0x5998aa[_0xec74c7(0x18d)](_0x5998aa[_0xec74c7(0x1bc)],_0x47db0c)){let _0x31204f;_0x5998aa[_0xec74c7(0x1ac)](typeof _0x47db0c[_0xec74c7(0x17c)],_0x5998aa[_0xec74c7(0x140)])?_0x31204f=await _0xc047fe[_0xec74c7(0x18e)](_0x47db0c[_0xec74c7(0x17c)]):_0x31204f=await _0xc047fe['activate'](_0x47db0c[_0xec74c7(0x17c)]);if(_0x47db0c[_0xec74c7(0x1b3)]){if(_0x5998aa[_0xec74c7(0xfd)](_0x5998aa[_0xec74c7(0x102)],_0x5998aa[_0xec74c7(0x103)])){const _0x42f7fd=_0x1926e7[_0x45e685[_0xec74c7(0x19d)]-0x1];!_0x31a7a8[_0xec74c7(0x134)][_0xec74c7(0x1a0)](_0x42f7fd,_0x19a23e)&&_0x72e1eb[_0xec74c7(0x101)](_0x4dd535);}else _0x31204f[_0xec74c7(0x104)]({'_prompt':_0x47db0c[_0xec74c7(0x1b3)]});}if(_0x47db0c[_0xec74c7(0x159)]){if(_0x5998aa[_0xec74c7(0x1ac)](_0x5998aa[_0xec74c7(0x18c)],'NHQeE'))_0x31204f[_0xec74c7(0x104)](_0x47db0c[_0xec74c7(0x159)]);else{let _0x4a5969=![];for(const _0x5a3752 of _0x401619){_0x5a3752[_0xec74c7(0x10a)]===_0x5998aa[_0xec74c7(0x181)]&&_0x5998aa[_0xec74c7(0xfd)](_0x1cd547['id'],_0x5a3752[_0xec74c7(0x184)])&&(_0x4a5969=!![],_0x5b245e[_0xec74c7(0x101)](_0x5a3752));}if(!_0x4a5969){const _0x46590c=new _0x33e4b0['ToolMessageOK'](_0x641273,_0x5b1b87);_0x4fab44[_0xec74c7(0x101)](_0x46590c);}}}_0x47db0c[_0xec74c7(0x19f)]&&(_0x31204f[_0xec74c7(0x19f)]=_0x47db0c[_0xec74c7(0x19f)]),_0x47db0c[_0x5998aa[_0xec74c7(0x181)]]?_0x10fe9c=new message_util_1[(_0xec74c7(0x1a7))](_0x31204f,_0x4b49c0,_0x47db0c[_0x5998aa[_0xec74c7(0x181)]]):_0x5998aa[_0xec74c7(0x162)]===_0x5998aa[_0xec74c7(0x11a)]?_0x5ecc52[_0xec74c7(0x19f)]=_0x552bcf[_0xec74c7(0x19f)]:_0x10fe9c=new message_util_2['ToolMessageOK'](_0x1db92e,_0x4b49c0),_0xad2b78[_0xec74c7(0x101)](_0x10fe9c),_0x47db0c[_0x5998aa[_0xec74c7(0x179)]]&&_0xad2b78[_0xec74c7(0x101)](_0x47db0c[_0x5998aa[_0xec74c7(0x179)]]);}}}}else{if(_0x5998aa[_0xec74c7(0x143)](_0x5998aa[_0xec74c7(0x169)],_0x5998aa[_0xec74c7(0x139)])){if(_0x1db92e[_0xec74c7(0x1a1)](_0x4b49c0[_0xec74c7(0x1ab)])){if(_0x5998aa[_0xec74c7(0x1b9)]===_0xec74c7(0x13a))return _0x39227e['isBotMessageEmpty'](_0x3d9ec0)?(_0x53c046[_0xec74c7(0x10b)](),_0x5998aa[_0xec74c7(0x153)](_0x5f284d,0x2)&&_0x2e4198[_0xec74c7(0x10b)](),_0x93760e[_0xec74c7(0x101)](new _0x599ded[(_0xec74c7(0x17e))]({'content':_0x5998aa[_0xec74c7(0x14e)],'id':_0x1598aa['genMessageId']()})),!![]):![];else new session_logger_1['SessionLogger'](_0xc047fe[_0xec74c7(0x114)]())['warn'](_0xec74c7(0x123)+_0x4b49c0['name']),_0x10fe9c=new message_util_2[(_0xec74c7(0x12e))](_0x1db92e,_0x4b49c0);}else new session_logger_1['SessionLogger'](_0xc047fe[_0xec74c7(0x114)]())[_0xec74c7(0x1ad)](_0xec74c7(0x130)+_0x4b49c0['name']),_0x10fe9c=new message_util_1[(_0xec74c7(0x1a7))](_0x1db92e,_0x4b49c0,_0xec74c7(0x1b0)+_0x4b49c0[_0xec74c7(0x1ab)]);_0xad2b78[_0xec74c7(0x101)](_0x10fe9c);}else return _0x5998aa['tUZQh'];}}return _0xad2b78;}static[a9_0x5e4c53(0x175)](_0x928016){const _0x40d483=a9_0x5e4c53,_0x3a7283={'PmvLY':function(_0x45d56a,_0x6ef7f){return _0x45d56a===_0x6ef7f;},'CqgXs':_0x40d483(0x152)};if(tool_util_1[_0x40d483(0x129)][_0x40d483(0x167)](_0x928016)){if(_0x3a7283[_0x40d483(0x194)](_0x40d483(0x12a),'chYQN'))_0x4edcdf[_0x40d483(0x192)]>=0x0&&(_0x4e9ac0[_0x40d483(0x192)]=_0x5ee139['temperature']);else{if(!_0x928016?.[_0x40d483(0x10c)]||_0x928016[_0x40d483(0x10c)][0x0]&&_0x3a7283[_0x40d483(0x194)](_0x928016[_0x40d483(0x10c)][0x0][_0x3a7283[_0x40d483(0x128)]],''))return!![];}}return![];}static[a9_0x5e4c53(0x1ba)](_0x29ebf6){const _0x1639e9=a9_0x5e4c53,_0xc9e485={'QOhNe':'stop_reason','jQDtt':'finish_reason','WZOvp':'unknown'};if(_0x29ebf6?.[_0x1639e9(0x190)]){let _0x38a858=_0x29ebf6[_0x1639e9(0x190)][_0x1639e9(0x1bb)];if(!_0x38a858)_0x38a858=_0x29ebf6[_0x1639e9(0x190)][_0xc9e485[_0x1639e9(0x147)]];else!_0x38a858&&(_0x38a858=_0x29ebf6['response_metadata'][_0xc9e485[_0x1639e9(0x14c)]]);return _0x38a858;}else return _0xc9e485['WZOvp'];}}exports[a9_0x5e4c53(0x124)]=LlmRunner;