@nuvin/nuvin-code 0.0.0-rc.19 → 0.0.0-rc.20

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
- (function(_0x4d8a12,_0x480ece){const _0x749f13={_0x185218:0x575,_0x548417:0x57c,_0x15b619:0x586,_0x4b2a2:0x318,_0x1020df:0x36c,_0x4e37af:0x36a,_0x198600:0x356,_0x9e2c6f:0x310,_0x51bf43:0x5d3,_0x3e2402:0x576,_0x166bc4:0x623,_0x3aae64:0x60a,_0x17efe7:0x5da,_0x2918c7:0x348,_0x55b945:0x337,_0x429385:0x35d,_0xb09a53:0x32d,_0x112f3b:0x329,_0x4ce295:0x378,_0x3ad5d0:0x5d2,_0x2110f5:0x5a0,_0x120f71:0x581,_0x50680b:0x579,_0x4c8766:0x5c3,_0x380d49:0x5bc,_0x78608e:0x5ca},_0x57f147={_0x12d348:0x367},_0x4f496b={_0x5e2021:0x130},_0x1525e5=_0x4d8a12();function _0x4409a7(_0x12f2fe,_0x3af013,_0x1b704c,_0x74fd12){return _0x2b8d(_0x12f2fe-_0x4f496b._0x5e2021,_0x74fd12);}function _0x567e99(_0x24eebc,_0x291897,_0xc2992d,_0x797423){return _0x2b8d(_0xc2992d-_0x57f147._0x12d348,_0x797423);}while(!![]){try{const _0x310ed5=parseInt(_0x567e99(0x57a,_0x749f13._0x185218,_0x749f13._0x548417,_0x749f13._0x15b619))/0x1*(-parseInt(_0x4409a7(_0x749f13._0x4b2a2,0x356,0x2d0,0x329))/0x2)+-parseInt(_0x4409a7(0x38a,0x391,0x396,0x394))/0x3*(-parseInt(_0x4409a7(0x351,_0x749f13._0x1020df,_0x749f13._0x4e37af,0x372))/0x4)+parseInt(_0x4409a7(_0x749f13._0x198600,_0x749f13._0x9e2c6f,0x355,0x34a))/0x5*(-parseInt(_0x567e99(0x5f7,_0x749f13._0x51bf43,0x5d5,0x5d8))/0x6)+parseInt(_0x567e99(0x5aa,_0x749f13._0x3e2402,0x5a2,0x5b6))/0x7+-parseInt(_0x567e99(_0x749f13._0x166bc4,_0x749f13._0x3aae64,_0x749f13._0x17efe7,0x5bf))/0x8*(-parseInt(_0x4409a7(0x316,_0x749f13._0x2918c7,_0x749f13._0x55b945,_0x749f13._0x429385))/0x9)+parseInt(_0x4409a7(_0x749f13._0xb09a53,_0x749f13._0x112f3b,0x368,_0x749f13._0x4ce295))/0xa*(-parseInt(_0x567e99(0x605,0x5bd,_0x749f13._0x3ad5d0,_0x749f13._0x2110f5))/0xb)+-parseInt(_0x567e99(0x527,_0x749f13._0x120f71,0x569,_0x749f13._0x50680b))/0xc*(-parseInt(_0x567e99(_0x749f13._0x4c8766,0x585,_0x749f13._0x380d49,_0x749f13._0x78608e))/0xd);if(_0x310ed5===_0x480ece)break;else _0x1525e5['push'](_0x1525e5['shift']());}catch(_0x52600a){_0x1525e5['push'](_0x1525e5['shift']());}}}(_0x4bfd,0x8d052));import{createRequire as _0x2119e3}from'module';const require=_0x2119e3(import.meta.url);import{b as _0x2b9873,d as _0x3fe92c,e as _0x476de3,f as _0x14d614,g as _0x5e5479,i as _0x36edf8,j as _0x3ab06d,l as _0x5531c,m as _0x5daff2,n as _0x4d6a82,o as _0x65960,p as _0x505d2a,q as _0x1c346c}from'./chunk-NX5ERSFL.js';import{e as _0x1fd2e7}from'./chunk-JCYYSGKS.js';_0x1fd2e7();import{createReadStream as _0x3bcded}from'fs';import{access as _0x301541,stat as _0x31e10a}from'fs/promises';import{createServer as _0x7e6b8a}from'http';import{basename as _0x243b41,dirname as _0x5ba6ec,extname as _0x4eab23,join as _0x228f4c,normalize as _0x2a38ca,relative as _0x402fec,resolve as _0x567de2}from'path';import{fileURLToPath as _0x401aef}from'url';import{WebSocket as _0x15c0bd,WebSocketServer as _0x38d425}from'ws';_0x1fd2e7();import{isAbortError as _0x46bdc6}from'@nuvin/agent-core/shared';function D(){return{'approval':_0x476de3(),'busy':!0x1,'messages':_0x3ab06d()};}function X(_0xc2c842){try{return JSON['stringify'](_0xc2c842);}catch{return String(_0xc2c842);}}function G(_0x114839){const _0x4c7dbd={_0x18fc46:0xaf,_0x26f897:0xbd,_0x1df44f:0x4b3,_0x45b41f:0x470,_0x1f7af2:0x43c,_0x31bddd:0x448},_0x43ab4d={_0x4d61d9:0x1d1,_0x2d4277:0x173,_0x3d798f:0x1b6,_0x337adc:0x1e2},_0x1505de={_0x523fb2:0x13b},_0x21fdca={_0xd58674:0x2da,_0x20ba31:0x2b7,_0x26343b:0x24d,_0xf57ac0:0x62c,_0x211208:0x5e9,_0x54aed2:0x5cf,_0x2623ab:0x619,_0x45b768:0x272,_0x19b716:0x2bd,_0x2de9dc:0x274,_0x46e22a:0x5b1,_0x5e98b7:0x2eb,_0x35edb8:0x623,_0x13ea45:0x627,_0x356085:0x646},_0x3c0b16={_0x7f1f2c:0x48f,_0x357f7d:0x423,_0x2e034d:0x419,_0x20e9ce:0x444},_0x391584={_0x2dfb2e:0x3e,_0x39c6d4:0x27,_0x4312e8:0x10,_0x571d99:0x36},_0x1fb905={_0x2d9a28:0x329,_0x3758fe:0x329,_0xb52b36:0x320,_0x5e0bd5:0x2cf,_0x282092:0x2e1,_0xccf26:0x557,_0x32424c:0x534,_0x32a431:0x325,_0xeb3221:0x334,_0x2f8202:0x50c,_0x8be63b:0x566,_0x3aa895:0x307,_0x2ec100:0x2b0,_0x3c0c28:0x564,_0x2ca945:0x57b,_0x1f9368:0x4ed,_0x1a98e3:0x2bf,_0xa6eac3:0x31c,_0x1d9a82:0x2ec,_0x40a186:0x543,_0x47ed41:0x2ed,_0x279cd4:0x352,_0x476eb7:0x328,_0x28c77b:0x2fd,_0x347b00:0x56c,_0xac1735:0x575,_0x2fec8c:0x327,_0x3daf3e:0x326,_0x15b0a9:0x2f4},_0x39b1d6={_0xbbf576:0x15b},_0x333884={_0x2a9f90:0x19b,_0x5b3fcd:0x183,_0x4bd195:0x186,_0x392a6d:0x126,_0xd8e0a4:0x170,_0x26f385:0x135,_0x1bfa98:0x167,_0x5d4e9d:0x137,_0x5e64ea:0x1b9,_0x3ae7b7:0x17e,_0x193a80:0x1b7,_0x56cb01:0x189,_0x20906e:0x19a,_0xdc435:0x16c,_0x4bd0f7:0x1a7,_0x7aa0f6:0x14f,_0x49b789:0x16f,_0x524b2d:0x1a2,_0x1a925b:0x1da},_0x2d00ec={_0x5dc87f:0x5e,_0x39492d:0x6d},_0x421c59={_0x1e235b:0xba},_0x4496d7={_0x5e3e39:0x17,_0x2495ff:0x63,_0x48b1a4:0x44,_0x1facb0:0xbf,_0x48e7d1:0x2,_0x29102b:0x3a,_0x181822:0xb},_0x5ce603={_0x321812:0x541,_0x26b131:0x503},_0xb47936={_0x2cca44:0x29b},_0x1f41a5={_0x38ef6a:0xb2,_0x3db379:0x150,_0x8a4a42:0x12d,_0x57b116:0x14c},_0x400a0b={_0x1a3c9a:0x77,_0x13c221:0xc2,_0x748116:0xe6,_0x2b2657:0xab,_0x2e6728:0x64,_0x345d58:0xe1,_0x3d9462:0x57,_0x171222:0xa2},_0x4c7ba5={_0x13966d:0x8e,_0x4149ea:0x4f4},_0x5e5c02={_0x4e22b2:0x10f,_0x37aecc:0x42},_0x2985d2={_0x51b4cd:0x59d,_0xf82404:0x5ab,_0x337507:0x588,_0xcf245b:0x60b,_0x570738:0x5d5,_0x2acccc:0x59c,_0x2c78a1:0x372,_0x582046:0x3ba,_0x374e46:0x40c,_0x191062:0x403,_0x163e7c:0x3e2,_0x5820de:0x3aa,_0x5e2f30:0x3fb,_0x417f09:0x627,_0x10f710:0x3c3,_0x5cbb29:0x5cc,_0x3b4b70:0x5e7,_0x2635e0:0x5e7,_0x1a2d41:0x5dd,_0x5283f7:0x5be},_0x4cfecd={_0x326d03:0x4b,_0x1b46c7:0x9f,_0x33372f:0x72,_0x541333:0x61},_0x14602f={_0xdafd27:0x18b},_0x379275={_0xdf294b:0x355,_0x3e63f8:0x1ba},_0x3306ad={_0x1382da:0x55d,_0x4f0f8e:0x581,_0x1cecc0:0x53f,_0x366b12:0x55e,_0x344ad2:0x513,_0x36a275:0x54b,_0x5a7bf9:0x52d,_0x40647c:0x51d,_0xcf45d7:0x57e,_0x56531b:0x53f,_0x308e8e:0x561,_0x18cef1:0x577,_0x5cdb6a:0x585,_0x3c4e17:0x578,_0x4c039b:0x548,_0x250ae6:0x5ae,_0x5885b8:0x583,_0x2b312f:0x5a4,_0x348e6e:0x5d1,_0x3f90c7:0x5ec,_0x556a32:0x537,_0x122f96:0x552,_0x1c6fe5:0x579},_0x4aee07={_0x56ad63:0x5d4},_0x6c1a56={_0x47b94d:0x3a1,_0x1e2f90:0x3e1},_0x169f78={_0x3f111e:0xf4},_0x41a262={_0x38e9cd:0x59f,_0x22dca1:0x59d,_0xeace21:0x571,_0x1b0ead:0x595,_0x105386:0x53b,_0x39bf71:0x56e,_0x22c694:0x582,_0x2da860:0x5ef,_0x58b337:0x57f,_0x244662:0x5a8,_0x27078c:0x5d0,_0x466e00:0x5ac};let _0x2ac17d=new Set(),_0x10e044=new Set(),_0x190d5e=D(),_0x2c1a24=_0x114839[_0x2b460e(-_0x4c7dbd._0x18fc46,-0x76,-_0x4c7dbd._0x26f897,-0xab)],_0x3afd44=null,_0x8ff50a=!0x1,_0x68fde7=()=>{for(let _0x5476e9 of _0x2ac17d)_0x5476e9();},_0x533d3d=_0x1899ce=>{_0x190d5e=_0x1899ce(_0x190d5e),_0x68fde7();},_0x17be17=(_0x3e18d9,_0x846566)=>{const _0x496cda={_0x331012:0x67a,_0x208b6c:0x114,_0x50110f:0xf2};function _0x6b22fa(_0x55d160,_0x2dad50,_0x5850b4,_0x88fb32){return _0x2b460e(_0x5850b4-_0x496cda._0x331012,_0x2dad50-_0x496cda._0x208b6c,_0x55d160,_0x88fb32-_0x496cda._0x50110f);}function _0x49e218(_0x545b09,_0x57a048,_0x5a5425,_0x1df187){return _0x2b460e(_0x57a048-0x619,_0x57a048-0x1e2,_0x5a5425,_0x1df187-0x14c);}let _0x94ff01=_0x190d5e[_0x49e218(_0x41a262._0x38e9cd,_0x41a262._0x22dca1,_0x41a262._0xeace21,_0x41a262._0x1b0ead)]['messages'][_0x49e218(_0x41a262._0x105386,0x55d,_0x41a262._0x39bf71,_0x41a262._0x22c694)](_0x3fae6d=>_0x3fae6d[_0x6b22fa(0x62c,0x614,0x614,0x656)]===_0x49e218(0x55c,0x579,0x5bf,0x5aa)&&_0x3fae6d[_0x49e218(0x5df,0x5bc,0x5c7,0x5c6)]===_0x3e18d9);return _0x94ff01?.[_0x49e218(_0x41a262._0x2da860,0x5b3,_0x41a262._0x58b337,_0x41a262._0x244662)]==='tool'?_0x94ff01[_0x6b22fa(0x610,0x5aa,_0x41a262._0x27078c,_0x41a262._0x466e00)]:X(_0x846566);},_0x21f593=_0x36b54f=>[_0x36b54f[_0x2b460e(-0x8a,-0xbe,-0x8b,-0x82)],..._0x36b54f['pending']][_0x2b460e(-0x58,-0x2c,-0x90,-0x8a)](_0x2453f4=>_0x2453f4!==null),_0x283d15=(_0x22131e,_0x124838)=>{function _0x2311be(_0x41329b,_0xc3f087,_0x23ba94,_0x1bec2f){return _0x2b460e(_0x41329b-0x41a,_0xc3f087-_0x169f78._0x3f111e,_0x1bec2f,_0x1bec2f-0xda);}function _0x3d5e6c(_0x1de2e1,_0x4195c6,_0x1f53cf,_0x52fd0f){return _0x48e35d(_0x52fd0f,_0x4195c6-0x4f,_0x1f53cf- -0x222,_0x52fd0f-0x9b);}let _0x674441=[];_0x533d3d(_0xe22fb5=>(_0x674441=_0x21f593(_0xe22fb5[_0x3d5e6c(0x2bf,0x2b8,0x275,0x26f)]),{..._0xe22fb5,'busy':_0x124838,'approval':_0x476de3(),'messages':_0x674441[_0x3d5e6c(0x27a,0x24c,0x253,0x272)]((_0x117060,_0x23952d)=>_0x36edf8(_0x117060,_0x23952d['toolCall']['id'],'rejected'),_0xe22fb5[_0x3d5e6c(0x23e,0x208,0x249,0x274)])}));for(let _0x4b0c37 of _0x674441)_0x4b0c37[_0x2311be(_0x6c1a56._0x47b94d,0x364,0x394,0x3a7)]({'action':_0x2311be(0x3ce,_0x6c1a56._0x1e2f90,0x3b6,0x3e7),'reason':_0x22131e});},_0x5ab2f3=(_0x257b8c,_0x4a7208)=>{_0x3afd44===_0x257b8c&&(_0x3afd44=null,_0x283d15(_0x4a7208,!0x1));},_0x8baa31=async _0x44e87f=>{const _0x36699a={_0x97acfd:0x67,_0x4c01a7:0x118,_0x140ad8:0x1cb};let _0x1ed9b2=new AbortController();_0x3afd44=_0x1ed9b2;let _0x1f705d=await _0x505d2a(_0x44e87f,{'hookRegistry':_0x114839[_0x4a5c66(0x556,_0x3306ad._0x1382da,_0x3306ad._0x4f0f8e,_0x3306ad._0x1cecc0)],'executor':_0x114839[_0x57d4bc(0x558,_0x3306ad._0x366b12,0x54e,_0x3306ad._0x344ad2)],'sessionId':_0x114839[_0x4a5c66(_0x3306ad._0x36a275,_0x3306ad._0x5a7bf9,0x56d,_0x3306ad._0x40647c)][_0x57d4bc(0x548,_0x3306ad._0xcf45d7,0x572,_0x3306ad._0x56531b)](),'projectDir':_0x114839[_0x4a5c66(0x561,_0x3306ad._0x308e8e,_0x3306ad._0x18cef1,_0x3306ad._0x5cdb6a)]});function _0x57d4bc(_0x5bfefd,_0x50016d,_0x1f4b04,_0x4db535){return _0x48e35d(_0x4db535,_0x50016d-_0x36699a._0x97acfd,_0x1f4b04-_0x36699a._0x4c01a7,_0x4db535-_0x36699a._0x140ad8);}if(_0x4a5c66(_0x3306ad._0x3c4e17,_0x3306ad._0x4c039b,_0x3306ad._0x250ae6,_0x3306ad._0x5885b8)in _0x1f705d){_0x533d3d(_0x305bd4=>({..._0x305bd4,'messages':_0x5daff2(_0x305bd4[_0x57d4bc(0x540,0x56d,0x583,0x57d)],_0x57d4bc(0x5e1,0x5e9,0x5a0,0x583)+_0x1f705d[_0x4a5c66(0x578,0x568,0x5bf,0x569)]['reason'])})),_0x5ab2f3(_0x1ed9b2,'Prompt\x20blocked\x20by\x20hook.');return;}function _0x4a5c66(_0x146306,_0x2f5296,_0x1033d3,_0x2dd060){return _0x2b460e(_0x146306-_0x4aee07._0x56ad63,_0x2f5296-0x157,_0x2f5296,_0x2dd060-0x1e7);}try{await _0x114839[_0x57d4bc(_0x3306ad._0x2b312f,_0x3306ad._0x348e6e,0x5d6,_0x3306ad._0x3f90c7)]['send'](_0x1f705d[_0x4a5c66(0x540,_0x3306ad._0x556a32,_0x3306ad._0x122f96,0x584)],{'streaming':!0x0,'signal':_0x1ed9b2[_0x57d4bc(0x557,0x531,_0x3306ad._0x1382da,_0x3306ad._0x1c6fe5)]});}catch(_0x300bd5){_0x46bdc6(_0x300bd5)||_0x533d3d(_0x470611=>({..._0x470611,'messages':_0x5daff2(_0x470611[_0x57d4bc(0x571,0x5cc,0x583,0x55b)],_0x4a5c66(0x59b,0x5aa,0x5c3,0x550)+_0x2b9873(_0x300bd5))}));}finally{_0x5ab2f3(_0x1ed9b2,'Turn\x20ended\x20before\x20approval\x20could\x20be\x20resolved.');}},_0x24f4cd=async _0x1f7199=>_0x114839[_0x2b460e(-0x3a,-0x7,-0x73,-0x50)][_0x48e35d(0x453,0x400,0x43b,0x475)](_0x1f7199,{'appendUserMessage'(_0x178ca0){function _0x258f1e(_0x3caeca,_0x15cb2f,_0x14fcbc,_0x3491d4){return _0x2b460e(_0x3491d4-0x58a,_0x15cb2f-0xb0,_0x14fcbc,_0x3491d4-0x88);}_0x533d3d(_0x4ed68f=>({..._0x4ed68f,'messages':_0x5531c(_0x4ed68f[_0x258f1e(0x526,0x543,0x53f,0x50e)],_0x178ca0)}));},'appendInfoMessage'(_0xe9c9eb){const _0x3456be={_0x3d078c:0x116,_0x5566ac:0x9b};function _0x5507aa(_0x431b0e,_0x45cef4,_0x1fc87e,_0x58cabb){return _0x2b460e(_0x58cabb- -_0x3456be._0x3d078c,_0x45cef4-_0x3456be._0x5566ac,_0x431b0e,_0x58cabb-0x1eb);}_0x533d3d(_0x23205f=>({..._0x23205f,'messages':_0x4d6a82(_0x23205f[_0x5507aa(-0x17a,-0x16b,-0x182,-0x192)],_0xe9c9eb)}));},'appendErrorMessage'(_0x34b4f9){function _0x3df227(_0xe798f8,_0xd94adf,_0x3fc141,_0x1fa641){return _0x2b460e(_0xd94adf-_0x379275._0xdf294b,_0xd94adf-0x117,_0x1fa641,_0x1fa641-_0x379275._0x3e63f8);}_0x533d3d(_0x2b62d5=>({..._0x2b62d5,'messages':_0x5daff2(_0x2b62d5[_0x3df227(0x2cf,0x2d9,0x2a1,0x2b3)],_0x34b4f9)}));},'setBusy'(_0x47090f){_0x533d3d(_0x5f23bf=>({..._0x5f23bf,'busy':_0x47090f}));},'mainAgent':_0x114839['mainAgentRuntime'],'resetSession'(){const _0x275409={_0x11d16d:0x17c,_0x154459:0x12d};function _0x4b0575(_0x3a4560,_0x24ee5b,_0x3c106f,_0x26d9af){return _0x2b460e(_0x3c106f-0x610,_0x24ee5b-_0x14602f._0xdafd27,_0x3a4560,_0x26d9af-0x14a);}function _0x335176(_0x5d8b3f,_0x154efc,_0x4bc687,_0x2021b8){return _0x48e35d(_0x154efc,_0x154efc-_0x275409._0x11d16d,_0x2021b8- -0xa4,_0x2021b8-_0x275409._0x154459);}_0x3afd44?.[_0x4b0575(_0x2985d2._0x51b4cd,_0x2985d2._0xf82404,_0x2985d2._0x337507,0x585)](new Error('User\x20started\x20a\x20new\x20session.')),_0x3afd44=null,_0x283d15(_0x4b0575(0x5f1,_0x2985d2._0xcf245b,0x5db,0x603),!0x1),_0x114839[_0x335176(0x464,0x408,0x400,0x41a)]['metrics'][_0x4b0575(_0x2985d2._0x570738,_0x2985d2._0x2acccc,0x5d1,0x598)](),_0x114839[_0x335176(_0x2985d2._0x2c78a1,0x3f4,0x3d9,_0x2985d2._0x582046)][_0x335176(0x3e9,_0x2985d2._0x374e46,0x442,_0x2985d2._0x191062)]()[_0x335176(_0x2985d2._0x163e7c,_0x2985d2._0x5820de,_0x2985d2._0x5e2f30,0x3e9)](_0xcd50da=>{const _0x55a7bc={_0x200e6b:0x3c};function _0x529007(_0x5e50a3,_0x57519c,_0xc9e529,_0x27e7a2){return _0x335176(_0x5e50a3-_0x55a7bc._0x200e6b,_0x57519c,_0xc9e529-0xea,_0xc9e529- -0x321);}_0x114839['agent'][_0x529007(_0x4cfecd._0x326d03,_0x4cfecd._0x1b46c7,_0x4cfecd._0x33372f,_0x4cfecd._0x541333)](_0xcd50da);}),_0x114839[_0x4b0575(0x614,_0x2985d2._0x417f09,0x5e7,0x5aa)][_0x335176(0x378,_0x2985d2._0x374e46,0x3d1,_0x2985d2._0x10f710)](_0x114839[_0x4b0575(_0x2985d2._0x5cbb29,0x5b2,_0x2985d2._0x3b4b70,_0x2985d2._0x2635e0)]['systemPrompt'],{'resetMessages':!0x0}),_0x10e044[_0x4b0575(0x617,0x5ac,_0x2985d2._0x1a2d41,_0x2985d2._0x5283f7)](),_0x533d3d(()=>D());},'runTurn':_0x8baa31}),_0x33cbb6=(_0xb345d2,_0x56ec43)=>{function _0x138f36(_0x2996d6,_0x2a1705,_0x54f594,_0x3d8918){return _0x48e35d(_0x2996d6,_0x2a1705-_0x5e5c02._0x4e22b2,_0x54f594- -0x321,_0x3d8918-_0x5e5c02._0x37aecc);}_0x533d3d(_0x149a89=>({..._0x149a89,'messages':_0x65960(_0x149a89[_0x138f36(0x126,0x146,0x14a,0x115)],_0xb345d2,_0x56ec43?.['parentToolCallId'])}));},_0x28141c=(_0x3929a1,_0x112a15,_0x3220cc)=>{const _0x53f214={_0xf5a405:0x1b0};function _0x40f10a(_0x18d32a,_0x5053ac,_0x39351d,_0x58cfcc){return _0x2b460e(_0x5053ac-0x10c,_0x5053ac-0xd7,_0x18d32a,_0x58cfcc-0x41);}function _0xe53f57(_0x169d14,_0x1d3f38,_0x3439c1,_0x1c0f50){return _0x48e35d(_0x169d14,_0x1d3f38-_0x4c7ba5._0x13966d,_0x1d3f38- -_0x4c7ba5._0x4149ea,_0x1c0f50-0x32);}let _0x210af1=_0x112a15+':'+_0x3929a1['name'],_0x59a525=_0x10e044[_0x40f10a(0x60,_0x400a0b._0x1a3c9a,_0x400a0b._0x13c221,0x9e)](_0x210af1)||_0x3fe92c(_0x3929a1['name'])?_0x40f10a(_0x400a0b._0x748116,_0x400a0b._0x2b2657,_0x400a0b._0x2e6728,_0x400a0b._0x345d58):_0x40f10a(_0x400a0b._0x3d9462,0x7e,_0x400a0b._0x171222,0x7f);return _0x533d3d(_0x35f683=>({..._0x35f683,'messages':_0x36edf8(_0x65960(_0x35f683[_0xe53f57(-0x46,-0x89,-0xd3,-0xbe)],{'type':_0x40f10a(0x73,0x8d,0x8d,0xaf),'toolCall':_0x3929a1},_0x3220cc),_0x3929a1['id'],_0x59a525)})),_0x59a525===_0x40f10a(0xdb,_0x400a0b._0x2b2657,0x6a,0xd3)?{'action':'run'}:new Promise(_0xb79b7d=>{function _0x452e8e(_0x22d80a,_0x1ba4f1,_0x33ea52,_0x37e274){return _0x40f10a(_0x33ea52,_0x1ba4f1- -0x191,_0x33ea52-_0x53f214._0xf5a405,_0x37e274-0x1ad);}_0x533d3d(_0x3a0bc5=>({..._0x3a0bc5,'approval':_0x14d614(_0x3a0bc5[_0x452e8e(-0xff,-0xd5,-0xad,-0xd0)],{'agentId':_0x112a15,'resolve':_0xb79b7d,'toolCall':_0x3929a1})}));});},_0x16a81a=_0x114839['channel']['onEvent'](({event:_0x3e7552,scope:_0x1b2e45})=>_0x33cbb6(_0x3e7552,_0x1b2e45));_0x114839['channel'][_0x48e35d(0x4e5,0x4ee,_0x4c7dbd._0x1df44f,_0x4c7dbd._0x45b41f)](_0x3af289=>_0x28141c(_0x3af289[_0x2b460e(-0x84,-0xbc,-0x87,-0xb2)],_0x3af289[_0x2b460e(-0x91,-0x6b,-0xac,-0x6b)],_0x3af289[_0x48e35d(0x471,0x4bc,0x49a,0x4e0)]));let _0x51913c=_0x114839[_0x48e35d(_0x4c7dbd._0x1f7af2,0x420,_0x4c7dbd._0x31bddd,0x445)]['subscribe'](()=>{const _0x3d03d3={_0x5bf09f:0x182},_0x326885={_0x2b2fcd:0x1cd,_0x2f4be3:0x1c2};function _0x5483f0(_0x1bc5e0,_0x367587,_0x48566c,_0x218892){return _0x2b460e(_0x48566c-_0x326885._0x2b2fcd,_0x367587-_0x326885._0x2f4be3,_0x1bc5e0,_0x218892-0x18f);}let _0x5d96e0=_0x114839['buildChatModel']();function _0x342a52(_0x5cc43b,_0x409776,_0x3dbc67,_0x42e99d){return _0x48e35d(_0x409776,_0x409776-_0x3d03d3._0x5bf09f,_0x5cc43b- -0x565,_0x42e99d-0x4);}_0x114839[_0x342a52(-0xa7,-0x5f,-0xcb,-_0x1f41a5._0x38ef6a)]['setChatModel'](_0x5d96e0[_0x5483f0(0x155,0x122,_0x1f41a5._0x3db379,0x176)]),_0x2c1a24=_0x5d96e0[_0x342a52(-_0x1f41a5._0x8a4a42,-0x148,-_0x1f41a5._0x57b116,-0x138)],_0x68fde7();});function _0x48e35d(_0x44cc0f,_0x4d65a7,_0x4af330,_0x535fd8){return _0x2b8d(_0x4af330-0x24c,_0x44cc0f);}function _0x2b460e(_0x30ece6,_0x417790,_0x32e819,_0x49e22b){return _0x2b8d(_0x30ece6- -_0xb47936._0x2cca44,_0x32e819);}return{'abort'(){const _0x35b2ef={_0x4219ee:0x58b,_0x4e9aab:0x1b7};function _0xa8b9f2(_0x45ede4,_0x2fedc9,_0x3f0622,_0x370312){return _0x2b460e(_0x2fedc9-_0x35b2ef._0x4219ee,_0x2fedc9-_0x35b2ef._0x4e9aab,_0x3f0622,_0x370312-0x1b1);}_0x3afd44?.[_0xa8b9f2(_0x5ce603._0x321812,_0x5ce603._0x26b131,0x53e,0x547)](new Error('User\x20aborted\x20the\x20current\x20turn.'));},'close'(){const _0x4a9695={_0x1aca14:0x2d,_0x577b6f:0x7e},_0x5520fb={_0xa1e8b6:0x186};function _0x467e19(_0x313d7c,_0x39351a,_0x2eaef0,_0x2f146f){return _0x2b460e(_0x2eaef0-0x5f,_0x39351a-_0x5520fb._0xa1e8b6,_0x39351a,_0x2f146f-0x1c5);}function _0x5a4dfe(_0x2d298e,_0x53f045,_0x16bc3b,_0x21037c){return _0x2b460e(_0x2d298e-_0x4a9695._0x1aca14,_0x53f045-_0x4a9695._0x577b6f,_0x16bc3b,_0x21037c-0x23);}_0x8ff50a||(_0x8ff50a=!0x0,_0x3afd44?.[_0x467e19(0x4,0x14,-0x29,-_0x4496d7._0x5e3e39)](new Error(_0x467e19(0xe,0x46,0x22,_0x4496d7._0x2495ff))),_0x16a81a(),_0x51913c(),_0x114839[_0x5a4dfe(-0x80,-0x64,-_0x4496d7._0x48b1a4,-_0x4496d7._0x1facb0)][_0x467e19(0x2c,_0x4496d7._0x48e7d1,0x2b,0x66)](null),_0x114839[_0x467e19(0x22,_0x4496d7._0x29102b,_0x4496d7._0x181822,0x35)]()['catch'](()=>{}));},'decideApproval'(_0xbb20ef,_0x972c17){let _0x25f2fe=_0x190d5e[_0x3a03e1(0x16c,0x1d7,_0x333884._0x2a9f90,0x1b4)][_0x3a03e1(0x16c,_0x333884._0x5b3fcd,0x161,_0x333884._0x4bd195)];if(!_0x25f2fe)return;function _0x37e090(_0x52abc2,_0x5a53c6,_0x52ce08,_0x50bc80){return _0x2b460e(_0x52abc2-0x20a,_0x5a53c6-_0x421c59._0x1e235b,_0x5a53c6,_0x50bc80-0x93);}_0xbb20ef==='a'&&_0x10e044[_0x3a03e1(0x192,_0x333884._0x392a6d,_0x333884._0xd8e0a4,0x12c)](_0x25f2fe[_0x37e090(0x179,_0x333884._0x26f385,0x184,0x147)]+':'+_0x25f2fe[_0x3a03e1(0x18d,0x185,_0x333884._0x1bfa98,_0x333884._0x5d4e9d)][_0x37e090(_0x333884._0x5e64ea,_0x333884._0x3ae7b7,0x16f,0x1fb)]);let _0x2527bf=_0xbb20ef==='n',_0x584139=_0x2527bf?_0x3a03e1(0x15d,_0x333884._0x193a80,_0x333884._0x56cb01,_0x333884._0x20906e):_0x3a03e1(0x1c8,_0x333884._0xdc435,0x18a,_0x333884._0x4bd0f7);function _0x3a03e1(_0xd3c71,_0x5ead18,_0x59999b,_0x4c0598){return _0x2b460e(_0x59999b-0x1eb,_0x5ead18-_0x2d00ec._0x5dc87f,_0xd3c71,_0x4c0598-_0x2d00ec._0x39492d);}if(_0x533d3d(_0x2df1f7=>_0x2df1f7['approval']['active']!==_0x25f2fe?_0x2df1f7:{..._0x2df1f7,'messages':_0x36edf8(_0x2df1f7['messages'],_0x25f2fe[_0x3a03e1(0x14e,0x1a6,0x167,0x133)]['id'],_0x584139),'approval':_0x5e5479(_0x2df1f7[_0x3a03e1(0x1c4,0x1e2,0x19b,0x187)])}),_0x2527bf){let _0x43e933='User\x20rejected\x20tool\x20execution\x20('+_0x25f2fe[_0x3a03e1(_0x333884._0x7aa0f6,0x141,0x167,0x130)][_0x3a03e1(_0x333884._0x49b789,_0x333884._0x524b2d,_0x333884._0x20906e,_0x333884._0x1a925b)]+')';_0x25f2fe['resolve']({'action':'reject','reason':_0x972c17?_0x43e933+':\x20'+_0x972c17:_0x43e933});}else _0x25f2fe['resolve']({'action':'run'});},'getSnapshot'(){const _0x5114fe={_0x36d04b:0x114};function _0x28ff15(_0x3bee76,_0x16097a,_0x56ff5a,_0x30300c){return _0x48e35d(_0x56ff5a,_0x16097a-0x122,_0x30300c- -0x177,_0x30300c-_0x39b1d6._0xbbf576);}let _0x44e859=_0x190d5e[_0x28ff15(0x2e1,_0x1fb905._0x2d9a28,_0x1fb905._0x3758fe,_0x1fb905._0xb52b36)][_0x28ff15(0x31b,_0x1fb905._0x5e0bd5,_0x1fb905._0x282092,0x2e6)];function _0x223cb3(_0x1ba17c,_0x235eb8,_0x4914d4,_0x1cc566){return _0x2b460e(_0x235eb8-0x5e8,_0x235eb8-0x195,_0x1ba17c,_0x1cc566-_0x5114fe._0x36d04b);}return{'approval':{'active':_0x44e859?{'agentId':_0x44e859[_0x223cb3(0x57b,_0x1fb905._0xccf26,0x51d,_0x1fb905._0x32424c)],'input':_0x44e859[_0x28ff15(_0x1fb905._0x32a431,_0x1fb905._0xeb3221,0x2ea,0x2ec)][_0x223cb3(0x4ec,0x532,_0x1fb905._0x2f8202,_0x1fb905._0x8be63b)],'summary':_0x17be17(_0x44e859[_0x28ff15(_0x1fb905._0x3aa895,_0x1fb905._0x2ec100,0x323,0x2ec)]['id'],_0x44e859[_0x223cb3(0x537,_0x1fb905._0x3c0c28,0x53c,_0x1fb905._0x2ca945)][_0x223cb3(0x55a,0x532,_0x1fb905._0x1f9368,0x55c)]),'toolCallId':_0x44e859[_0x28ff15(_0x1fb905._0x1a98e3,_0x1fb905._0xa6eac3,0x32c,_0x1fb905._0x1d9a82)]['id'],'toolName':_0x44e859[_0x223cb3(0x52f,0x564,0x527,_0x1fb905._0x40a186)][_0x28ff15(_0x1fb905._0x47ed41,_0x1fb905._0x279cd4,0x312,0x31f)]}:null,'pendingCount':_0x190d5e['approval']['pending']['length']},'approvalMode':'ask\x20before\x20tools','busy':_0x190d5e['busy'],'cwd':_0x114839[_0x28ff15(_0x1fb905._0x476eb7,0x2b4,0x2e5,_0x1fb905._0x28c77b)],'messages':_0x190d5e[_0x223cb3(0x527,_0x1fb905._0x347b00,0x59c,_0x1fb905._0xac1735)][_0x28ff15(0x2ec,_0x1fb905._0x2fec8c,_0x1fb905._0x3daf3e,_0x1fb905._0x15b0a9)],'modelName':_0x2c1a24};},async 'submit'(_0x31edb3){const _0x3871da={_0x50481f:0xd5},_0xb13e2b={_0x45ab16:0xff,_0xe54c32:0xe2};let _0x1ec878=_0x31edb3[_0x4ea577(-_0x391584._0x2dfb2e,-0x3b,-0x1f,0x6)]();if(!_0x1ec878||_0x190d5e['busy'])return;function _0x3d3b98(_0x4e7029,_0x413a21,_0x4d5fa8,_0x2e270f){return _0x2b460e(_0x4e7029-_0xb13e2b._0x45ab16,_0x413a21-0x128,_0x4d5fa8,_0x2e270f-_0xb13e2b._0xe54c32);}_0x533d3d(_0x2310d5=>({..._0x2310d5,'busy':!0x0}));let _0x1024a3;function _0x4ea577(_0x404102,_0x6f5011,_0x1cf567,_0x265087){return _0x2b460e(_0x6f5011-0x5d,_0x6f5011-0x0,_0x1cf567,_0x265087-_0x3871da._0x50481f);}try{_0x1024a3=await _0x24f4cd(_0x1ec878);}catch(_0x3965ea){throw _0x533d3d(_0xc3c2a3=>({..._0xc3c2a3,'busy':!0x1})),_0x3965ea;}if(_0x1024a3[_0x4ea577(_0x391584._0x39c6d4,-_0x391584._0x4312e8,_0x391584._0x571d99,-0xb)]){_0x533d3d(_0x4a4cb8=>({..._0x4a4cb8,'busy':!0x1}));return;}_0x533d3d(_0x3d518f=>({..._0x3d518f,'messages':_0x5531c(_0x3d518f[_0x3d3b98(0x83,0x78,0xae,0xc3)],_0x1ec878)})),await _0x8baa31(_0x1c346c(_0x1ec878));},'newSession'(){const _0x3533ee={_0x55d413:0x97,_0x5824cf:0x1ed},_0xc3c503={_0x18575a:0x97,_0x1a4cc1:0x1d0},_0x2f3368={_0x4f0717:0x65a,_0x30253c:0x125};function _0x2a640b(_0x180d5b,_0x349e86,_0x2f1b6a,_0x48a0ce){return _0x2b460e(_0x2f1b6a-_0x2f3368._0x4f0717,_0x349e86-0x159,_0x180d5b,_0x48a0ce-_0x2f3368._0x30253c);}function _0xb6b86a(_0x8d5fca,_0x5e27f0,_0x1189e3,_0x5d3a1f){return _0x48e35d(_0x5e27f0,_0x5e27f0-_0xc3c503._0x18575a,_0x1189e3- -_0xc3c503._0x1a4cc1,_0x5d3a1f-0x91);}_0x3afd44?.[_0xb6b86a(_0x21fdca._0xd58674,_0x21fdca._0x20ba31,0x28f,_0x21fdca._0x26343b)](new Error(_0x2a640b(0x633,_0x21fdca._0xf57ac0,_0x21fdca._0x211208,0x623))),_0x3afd44=null,_0x283d15('New\x20session\x20started\x20before\x20approval\x20could\x20be\x20resolved.',!0x1),_0x114839[_0x2a640b(_0x21fdca._0x54aed2,_0x21fdca._0x2623ab,0x5d1,0x5f4)]['startNewSession']()[_0xb6b86a(0x289,_0x21fdca._0x45b768,_0x21fdca._0x19b716,_0x21fdca._0x2de9dc)](_0x2e5971=>{function _0x3fdd8a(_0xebfbb0,_0x516921,_0x827b68,_0x15bd59){return _0x2a640b(_0xebfbb0,_0x516921-_0x3533ee._0x55d413,_0x15bd59- -_0x3533ee._0x5824cf,_0x15bd59-0x173);}_0x114839[_0x3fdd8a(_0x3c0b16._0x7f1f2c,_0x3c0b16._0x357f7d,_0x3c0b16._0x2e034d,_0x3c0b16._0x20e9ce)]['setSessionId'](_0x2e5971);}),_0x114839['agent'][_0x2a640b(0x5ac,_0x21fdca._0x46e22a,0x5da,0x5a3)](_0x114839[_0xb6b86a(0x2e9,_0x21fdca._0x5e98b7,0x2ee,0x2eb)][_0xb6b86a(0x2c2,0x310,0x2ec,0x2d2)],{'resetMessages':!0x0}),_0x10e044[_0x2a640b(_0x21fdca._0x35edb8,0x668,_0x21fdca._0x13ea45,_0x21fdca._0x356085)](),_0x533d3d(()=>D());},'subscribe'(_0x20387e){const _0x2906b8={_0x183f91:0x2b5,_0x142fd3:0x2dc,_0x21bc7f:0x2de,_0x2cebe2:0x2f8};function _0x118d9f(_0x5e9dba,_0x39c1d3,_0x272b9c,_0x4b7c58){return _0x2b460e(_0x272b9c- -_0x1505de._0x523fb2,_0x39c1d3-0xff,_0x5e9dba,_0x4b7c58-0x4);}return _0x2ac17d[_0x118d9f(-_0x43ab4d._0x4d61d9,-_0x43ab4d._0x2d4277,-_0x43ab4d._0x3d798f,-_0x43ab4d._0x337adc)](_0x20387e),()=>{const _0x3052a8={_0x23421d:0x474};function _0x383933(_0x353b3e,_0xb6d92b,_0x304969,_0x197de5){return _0x118d9f(_0x353b3e,_0xb6d92b-0x12a,_0x304969-_0x3052a8._0x23421d,_0x197de5-0x42);}_0x2ac17d[_0x383933(_0x2906b8._0x183f91,_0x2906b8._0x142fd3,_0x2906b8._0x21bc7f,_0x2906b8._0x2cebe2)](_0x20387e);};}};}var ce='0.0.0.0',pe={'.css':_0x2c9904(-0x104,-0xd5,-0x120,-0x148),'.gif':_0x1ac4da(-0x119,-0x137,-0x148,-0x105),'.html':_0x1ac4da(-0x180,-0x169,-0x189,-0x1c6),'.ico':'image/x-icon','.jpeg':_0x1ac4da(-0x149,-0x169,-0x11f,-0x14a),'.jpg':_0x2c9904(-0xab,-0xe7,-0xa4,-0x62),'.js':'text/javascript;\x20charset=utf-8','.json':_0x1ac4da(-0x142,-0x142,-0x17c,-0x14c),'.map':_0x2c9904(-0x108,-0xe3,-0xee,-0x107),'.png':_0x1ac4da(-0x17f,-0x12d,-0x158,-0x18b),'.svg':_0x1ac4da(-0x169,-0x150,-0x163,-0x141),'.ttf':'font/ttf','.txt':_0x1ac4da(-0x149,-0x13a,-0x13a,-0x10c),'.wasm':_0x1ac4da(-0x178,-0x198,-0x177,-0x19f),'.webp':_0x2c9904(-0x110,-0xfe,-0x143,-0xed),'.woff':_0x1ac4da(-0x122,-0x115,-0x118,-0x11d),'.woff2':_0x1ac4da(-0x169,-0x195,-0x17b,-0x177)};function _0x2b8d(_0x24dbc9,_0x258fa5){_0x24dbc9=_0x24dbc9-0x1df;const _0x4bfd9c=_0x4bfd();let _0x2b8d87=_0x4bfd9c[_0x24dbc9];if(_0x2b8d['msLXYE']===undefined){var _0x377579=function(_0x5520a0){const _0xbf1bac='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2119e3='',_0x2b9873='';for(let _0x3fe92c=0x0,_0x476de3,_0x14d614,_0x5e5479=0x0;_0x14d614=_0x5520a0['charAt'](_0x5e5479++);~_0x14d614&&(_0x476de3=_0x3fe92c%0x4?_0x476de3*0x40+_0x14d614:_0x14d614,_0x3fe92c++%0x4)?_0x2119e3+=String['fromCharCode'](0xff&_0x476de3>>(-0x2*_0x3fe92c&0x6)):0x0){_0x14d614=_0xbf1bac['indexOf'](_0x14d614);}for(let _0x36edf8=0x0,_0x3ab06d=_0x2119e3['length'];_0x36edf8<_0x3ab06d;_0x36edf8++){_0x2b9873+='%'+('00'+_0x2119e3['charCodeAt'](_0x36edf8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b9873);};_0x2b8d['mYcibx']=_0x377579,_0x2b8d['ENtUCW']={},_0x2b8d['msLXYE']=!![];}const _0x11fe79=_0x4bfd9c[0x0],_0x4b473a=_0x24dbc9+_0x11fe79,_0x2e5f1b=_0x2b8d['ENtUCW'][_0x4b473a];return!_0x2e5f1b?(_0x2b8d87=_0x2b8d['mYcibx'](_0x2b8d87),_0x2b8d['ENtUCW'][_0x4b473a]=_0x2b8d87):_0x2b8d87=_0x2e5f1b,_0x2b8d87;}function de(){const _0x5aa8b9={_0x563956:0x165,_0x481dcc:0x18e},_0x1eea6d={_0x165d50:0x1ed,_0x183921:0x2b4,_0x3df24f:0x11f};function _0x39e5b3(_0x3ad436,_0x46ec6a,_0x1378b3,_0x1c2008){return _0x1ac4da(_0x3ad436-_0x1eea6d._0x165d50,_0x3ad436,_0x46ec6a-_0x1eea6d._0x183921,_0x1c2008-_0x1eea6d._0x3df24f);}let _0x10d699=_0x5ba6ec(_0x401aef(import.meta.url));return _0x243b41(_0x10d699)==='dist'?_0x5ba6ec(_0x10d699):_0x567de2(_0x10d699,_0x39e5b3(0x123,_0x5aa8b9._0x563956,_0x5aa8b9._0x481dcc,0x16f));}async function E(_0x2dca23){try{return await _0x301541(_0x2dca23),!0x0;}catch{return!0x1;}}async function ue(_0x3dbcf7={}){const _0x3896bb={_0x3b610d:0x111,_0x317a2f:0xde,_0x1f50ea:0xc5,_0x31ac8c:0x390,_0x4dccf4:0x369,_0x141991:0x359,_0x23cc59:0x314,_0x272a7c:0x36d,_0x7a48c3:0x38d,_0x5acf3e:0x359,_0x4e3ad2:0xfa,_0x45efea:0xbc,_0x43c6d2:0x103,_0x1ee727:0x86},_0x202be9={_0x215526:0x134,_0xb53b37:0x1a1};let _0x551c6e=_0x3dbcf7[_0x492c16(_0x3896bb._0x3b610d,_0x3896bb._0x317a2f,_0x3896bb._0x1f50ea,0xff)]?_0x567de2(_0x3dbcf7['packageRoot']):de(),_0xb5472e=_0x228f4c(_0x551c6e,_0x51fcbe(_0x3896bb._0x31ac8c,_0x3896bb._0x4dccf4,0x327,_0x3896bb._0x141991),_0x51fcbe(_0x3896bb._0x23cc59,0x38c,0x34d,0x351)),_0x4f1c03=_0x228f4c(_0xb5472e,_0x51fcbe(0x343,0x3a6,0x35b,_0x3896bb._0x272a7c));function _0x492c16(_0x28dd95,_0x457fa8,_0xb96249,_0x229b95){return _0x2c9904(_0x229b95-0x196,_0x457fa8,_0xb96249-0x142,_0x229b95-0xee);}if(await E(_0x4f1c03))return{'indexHtmlPath':_0x4f1c03,'root':_0xb5472e};let _0x362583=_0x228f4c(_0x551c6e,'..',_0x492c16(0x106,0xbd,0xb9,_0x3896bb._0x317a2f),_0x51fcbe(_0x3896bb._0x7a48c3,0x385,0x36e,_0x3896bb._0x5acf3e)),_0x44a700=_0x228f4c(_0x362583,_0x492c16(0xb3,0xb0,0x103,_0x3896bb._0x4e3ad2));if(await E(_0x44a700))return{'indexHtmlPath':_0x44a700,'root':_0x362583};function _0x51fcbe(_0x75f9e3,_0x4803a1,_0x1744b5,_0x339d1a){return _0x2c9904(_0x339d1a-0x409,_0x75f9e3,_0x1744b5-_0x202be9._0x215526,_0x339d1a-_0x202be9._0xb53b37);}throw new Error(_0x492c16(_0x3896bb._0x45efea,0xda,0xb0,0xed)+_0x4f1c03+_0x492c16(_0x3896bb._0x43c6d2,0xf3,0xd8,0xd4)+_0x44a700+_0x492c16(0x4b,0x49,_0x3896bb._0x1ee727,0x7b));}function me(_0x6fdae1){const _0x13e692={_0x45161e:0x1ae,_0x143812:0x159,_0x4add15:0x176,_0x4bb8d6:0x1b9};return new Promise((_0x4c5bf7,_0x25f0a6)=>{const _0x9c8b1a={_0x4655fd:0x3a5};function _0x49a232(_0x744f0,_0x3b15e3,_0x17bdfc,_0x58810e){return _0x2b8d(_0x17bdfc- -_0x9c8b1a._0x4655fd,_0x744f0);}if(!_0x6fdae1[_0x49a232(-_0x13e692._0x45161e,-_0x13e692._0x143812,-_0x13e692._0x4add15,-_0x13e692._0x4bb8d6)]){_0x4c5bf7();return;}_0x6fdae1['close'](_0x39784f=>{_0x39784f?_0x25f0a6(_0x39784f):_0x4c5bf7();});});}function T(_0x54346d,_0x58a4f8){const _0x3ffd3f={_0x1e03de:0x31c,_0x3cc0a9:0x32e,_0x3ec864:0x30e,_0x5efcc0:0x324,_0x2c1aad:0x300,_0x1e7de8:0x2c6,_0xb21298:0x28a,_0x173bc5:0x2a9,_0x20738f:0x2e8},_0x567417={_0x1d40a8:0x1b6,_0x222af9:0xe2},_0x154c3c={_0x165dc4:0x4e};function _0x464eef(_0x5c97be,_0x2557d5,_0x585bcd,_0xf48f8a){return _0x2c9904(_0x585bcd-0x347,_0x5c97be,_0x585bcd-0x8,_0xf48f8a-_0x154c3c._0x165dc4);}function _0x2cfec6(_0x35eddc,_0xde1f5e,_0x32d964,_0x24e72c){return _0x2c9904(_0x32d964-0x42e,_0xde1f5e,_0x32d964-_0x567417._0x1d40a8,_0x24e72c-_0x567417._0x222af9);}_0x54346d['readyState']===_0x15c0bd[_0x2cfec6(0x30f,_0x3ffd3f._0x1e03de,_0x3ffd3f._0x3cc0a9,0x336)]&&_0x54346d[_0x2cfec6(0x34d,_0x3ffd3f._0x3ec864,_0x3ffd3f._0x5efcc0,_0x3ffd3f._0x2c1aad)](JSON[_0x464eef(_0x3ffd3f._0x1e7de8,_0x3ffd3f._0xb21298,_0x3ffd3f._0x173bc5,_0x3ffd3f._0x20738f)](_0x58a4f8));}function P(_0x1f222a,_0x446853,_0x913f88){const _0x310641={_0x571e78:0x445,_0x684e1a:0x464,_0x329d91:0x420,_0x226fd3:0x441,_0x56e63a:0x457},_0x111d75={_0x1327a5:0x4d5,_0x172457:0x9f},_0x53ab9d={_0x1106cc:0xa5,_0x19adc5:0x656,_0x51e8e8:0xd7};function _0x5e1ea9(_0x30e528,_0x1cdfdf,_0x3e1709,_0x37418e){return _0x1ac4da(_0x30e528-_0x53ab9d._0x1106cc,_0x37418e,_0x3e1709-_0x53ab9d._0x19adc5,_0x37418e-_0x53ab9d._0x51e8e8);}function _0x448d24(_0x40f8ab,_0x34aa21,_0x181f17,_0x51b9ff){return _0x2c9904(_0x181f17-_0x111d75._0x1327a5,_0x40f8ab,_0x181f17-0x9f,_0x51b9ff-_0x111d75._0x172457);}_0x1f222a[_0x448d24(_0x310641._0x571e78,_0x310641._0x684e1a,0x426,0x422)](_0x446853,{'Content-Type':'text/plain;\x20charset=utf-8'}),_0x1f222a[_0x448d24(_0x310641._0x329d91,0x474,_0x310641._0x226fd3,_0x310641._0x56e63a)](_0x913f88);}function ge(_0x192a2c,_0x94da4c){const _0x8ec058={_0x568f6e:0x44a,_0x2453c2:0x41e,_0x29128f:0x41e,_0x3636c2:0x3f4,_0x522953:0x2bc,_0x311d1b:0x2c9,_0x2b0bb3:0x2a9,_0x509b7d:0x2cd},_0x2713a6={_0x5c98a0:0x12d},_0x5173e2={_0x64201c:0x58a,_0x17ee6f:0x1e4};let _0x517196=_0x94da4c==='/'?_0x534e25(0x41f,0x45e,0x456,_0x8ec058._0x568f6e):decodeURIComponent(_0x94da4c),_0xd49c10=_0x2a38ca(_0x228f4c(_0x192a2c[_0x534e25(0x44e,_0x8ec058._0x2453c2,_0x8ec058._0x29128f,_0x8ec058._0x3636c2)],_0x517196));function _0x534e25(_0xd0ae6e,_0x5cf6d1,_0x4d4d36,_0x589f8e){return _0x1ac4da(_0xd0ae6e-0x166,_0x589f8e,_0x4d4d36-_0x5173e2._0x64201c,_0x589f8e-_0x5173e2._0x17ee6f);}function _0x21d0e6(_0x31ea5b,_0xb58b9b,_0x3ba898,_0x12a551){return _0x2c9904(_0x12a551-0x3cc,_0x31ea5b,_0x3ba898-0x1a0,_0x12a551-_0x2713a6._0x5c98a0);}return _0x402fec(_0x192a2c[_0x21d0e6(_0x8ec058._0x522953,0x2ca,_0x8ec058._0x311d1b,0x2d4)],_0xd49c10)['startsWith']('..')||_0x567de2(_0xd49c10)===_0x567de2(_0x192a2c[_0x21d0e6(0x2ad,0x2b1,_0x8ec058._0x2b0bb3,0x2d4)])?_0x192a2c[_0x21d0e6(0x2cd,0x2bc,0x2fe,_0x8ec058._0x509b7d)]:_0xd49c10;}async function fe(_0x5c7f51,_0x1267da,_0x31cb15){const _0xb86376={_0x451697:0xaf,_0x4117c6:0xa6,_0x51acfd:0xd8,_0x1ce4c1:0x6c,_0x294ab0:0x113,_0x23e924:0xbb,_0x328166:0x356,_0x47b25b:0x377,_0x22769e:0x311,_0x79dd0d:0x34c,_0x628473:0x34d,_0x4a7675:0x381,_0x38f84a:0x334,_0x42b82e:0xda,_0x1605bb:0xf7,_0x4e6fd3:0x119,_0x33a215:0xdd,_0x47e85a:0xbf,_0x21ffcf:0xad,_0x187e21:0xec,_0x4c7193:0xa1},_0x418705={_0x394c05:0x602,_0x277827:0x5a8,_0x9bb052:0x522,_0x24a5fc:0x52d,_0x251f88:0x5e3,_0x10005c:0x5eb,_0x16ca5b:0x61a,_0x1e2540:0x5b9},_0x596b91={_0x251065:0x1e3,_0x5e6df1:0x90},_0x1ea2ca={_0x569c45:0x53f},_0x4c934e={_0x4e75c5:0xa9};if(!_0x1267da){P(_0x31cb15,0x190,'Bad\x20request');return;}function _0x14153f(_0x484d24,_0x394258,_0x395881,_0x362b3a){return _0x2c9904(_0x395881-0x410,_0x484d24,_0x395881-_0x4c934e._0x4e75c5,_0x362b3a-0xe5);}if(!_0x1267da[_0x36e517(0xa6,0x6f,0xdc,_0xb86376._0x451697)]('/')||_0x1267da[_0x36e517(_0xb86376._0x4117c6,_0xb86376._0x51acfd,_0xb86376._0x1ce4c1,0xbd)]('//')){P(_0x31cb15,0x190,_0x36e517(0xe7,_0xb86376._0x294ab0,_0xb86376._0x23e924,_0xb86376._0x23e924));return;}let _0x2119fe=new URL(_0x1267da,_0x14153f(0x33d,_0xb86376._0x328166,_0xb86376._0x47b25b,0x39a)),_0x4dd1c2=ge(_0x5c7f51,_0x2119fe['pathname']),_0x4a2b7f=await E(_0x4dd1c2)?_0x4dd1c2:_0x5c7f51[_0x14153f(0x32f,0x33f,_0xb86376._0x22769e,0x2e5)];if(!(await _0x31e10a(_0x4a2b7f))[_0x14153f(0x393,0x36e,_0xb86376._0x79dd0d,0x320)]()){P(_0x31cb15,0x194,_0x36e517(0xbc,0xf1,0x94,0x99));return;}_0x31cb15[_0x14153f(_0xb86376._0x628473,_0xb86376._0x4a7675,0x361,_0xb86376._0x38f84a)](0xc8,{'Content-Type':pe[_0x4eab23(_0x4a2b7f)]??_0x36e517(0xd9,_0xb86376._0x42b82e,_0xb86376._0x1605bb,_0xb86376._0x4e6fd3)});function _0x36e517(_0x41595e,_0x57391a,_0x559df0,_0x2a536d){return _0x1ac4da(_0x41595e-0x1,_0x57391a,_0x41595e-0x20c,_0x2a536d-0x48);}let _0x1c6f51=_0x3bcded(_0x4a2b7f);_0x1c6f51['on'](_0x36e517(0xf0,0xd4,_0xb86376._0x33a215,_0xb86376._0x47e85a),_0x1a69a3=>{function _0x55f26a(_0x1656a7,_0x2c1461,_0x5d8bc8,_0x1fb2ca){return _0x36e517(_0x1656a7-_0x1ea2ca._0x569c45,_0x2c1461,_0x5d8bc8-0x59,_0x1fb2ca-0x9c);}function _0x49bbf8(_0x451f8a,_0x36c942,_0x31521c,_0x96fb55){return _0x14153f(_0x96fb55,_0x36c942-_0x596b91._0x251065,_0x451f8a-0x219,_0x96fb55-_0x596b91._0x5e6df1);}if(_0x31cb15['headersSent']){_0x31cb15[_0x55f26a(_0x418705._0x394c05,0x62d,0x60b,0x607)](_0x1a69a3);return;}P(_0x31cb15,0x1f4,_0x49bbf8(0x566,_0x418705._0x277827,_0x418705._0x9bb052,_0x418705._0x24a5fc)+_0x1a69a3[_0x55f26a(_0x418705._0x251f88,_0x418705._0x10005c,_0x418705._0x16ca5b,_0x418705._0x1e2540)]);}),_0x1c6f51[_0x36e517(0xdc,_0xb86376._0x21ffcf,_0xb86376._0x187e21,_0xb86376._0x4c7193)](_0x31cb15);}function ve(_0x5136db){const _0x5187b7={_0x2fb96f:0x5fb,_0x342302:0x5a8,_0x49dbc7:0x5da,_0x194322:0x5d1,_0x3ea58a:0x5ab,_0x53815a:0x1c3,_0x2d527a:0x1ec,_0x1bef73:0x5d6,_0x46892c:0x60d,_0x3d9efa:0x5f1,_0x2fe1f1:0x1ef,_0x14ce62:0x224,_0x3b3279:0x1ea,_0x27e980:0x1ef,_0x4f5b65:0x232,_0x49bc94:0x1f1,_0x2427c7:0x189,_0x366c92:0x5cd,_0x35cc35:0x5c3,_0x59f0fd:0x5d5},_0x5c6dcc={_0x47d0e2:0x6ca,_0x1769c9:0x2c},_0x223d6b={_0x146402:0x29};function _0x20da5c(_0x1ce589,_0x4ad88c,_0x5a4dc9,_0x585072){return _0x1ac4da(_0x1ce589-0x10d,_0x585072,_0x1ce589-0x340,_0x585072-_0x223d6b._0x146402);}function _0x4e1d76(_0xc77883,_0x40530b,_0x5ed28d,_0x27318c){return _0x2c9904(_0x5ed28d-_0x5c6dcc._0x47d0e2,_0xc77883,_0x5ed28d-0xfa,_0x27318c-_0x5c6dcc._0x1769c9);}if(!_0x5136db||typeof _0x5136db!=_0x4e1d76(_0x5187b7._0x2fb96f,_0x5187b7._0x342302,_0x5187b7._0x49dbc7,0x5a8))return!0x1;let _0x403b5c=_0x5136db;return _0x403b5c[_0x4e1d76(0x601,0x600,_0x5187b7._0x194322,_0x5187b7._0x3ea58a)]==='submit'?_0x20da5c(0x1fc,0x227,0x221,0x247)in _0x403b5c&&typeof _0x403b5c['text']==_0x20da5c(0x1b9,_0x5187b7._0x53815a,_0x5187b7._0x2d527a,0x18f):_0x403b5c[_0x4e1d76(0x5fd,0x5b8,_0x5187b7._0x194322,_0x5187b7._0x1bef73)]===_0x4e1d76(0x5fb,0x614,_0x5187b7._0x46892c,_0x5187b7._0x3d9efa)?_0x403b5c[_0x20da5c(0x1ef,0x1aa,0x1cd,0x204)]==='a'||_0x403b5c[_0x20da5c(_0x5187b7._0x2fe1f1,0x1eb,_0x5187b7._0x14ce62,_0x5187b7._0x3b3279)]==='n'||_0x403b5c[_0x20da5c(_0x5187b7._0x27e980,_0x5187b7._0x4f5b65,0x1a9,_0x5187b7._0x49bc94)]==='y':_0x403b5c[_0x20da5c(0x1d3,_0x5187b7._0x2427c7,0x18d,0x1e1)]===_0x4e1d76(_0x5187b7._0x366c92,_0x5187b7._0x35cc35,_0x5187b7._0x59f0fd,0x5fc)||_0x403b5c[_0x20da5c(0x1d3,0x19f,0x1f3,0x21e)]==='new-session';}function be(_0x153dbf){const _0x48ea16={_0x432c75:0x273,_0x1e15f3:0x288,_0xed4de8:0xa9,_0x2823c4:0x9f},_0xb68063={_0x3df018:0x36f,_0xace7da:0x148,_0x13d682:0xc7},_0x3f1927={_0x588322:0x49,_0x2e9123:0x1a2};function _0x8b42be(_0x26431a,_0x3c67b9,_0x5eb101,_0x2f9e62){return _0x2c9904(_0x26431a-_0x3f1927._0x588322,_0x5eb101,_0x5eb101-_0x3f1927._0x2e9123,_0x2f9e62-0x6f);}function _0x4d2a3a(_0x3792b7,_0x4c394c,_0x341bfd,_0x3d7d41){return _0x2c9904(_0x3d7d41-_0xb68063._0x3df018,_0x4c394c,_0x341bfd-_0xb68063._0xace7da,_0x3d7d41-_0xb68063._0x13d682);}return!!(/^(10\.\d+\.\d+\.\d+|172\.(1[6-9]|2\d|3[01])\.\d+\.\d+|192\.168\.\d+\.\d+|100\.(6[4-9]|[7-9]\d|1[01]\d|12[0-7])\.\d+\.\d+)$/[_0x4d2a3a(_0x48ea16._0x432c75,0x21b,_0x48ea16._0x1e15f3,0x257)](_0x153dbf)||_0x153dbf[_0x8b42be(-_0x48ea16._0xed4de8,-0xc7,-0xcc,-_0x48ea16._0x2823c4)]('fd7a:115c:a1e0:'));}function _0x4bfd(){const _0x18cde0=['Aw1Hz2uVANbLzW','u2vZC2LVBIbJBg9ZzwqU','vw5HyMXLihrVigzPBMqGyNvPBhqGD2vIigfZC2v0CY4Gq2HLy2TLzca','zxjYB3i','C2XHC2HdB21Tyw5KuMvNAxn0CNK','vhvYBIbMywLSzwq6ia','zxHPDa','zM9UDc93B2zM','BgLZDgvU','tMv3ihnLC3nPB24GC3rHCNrLzcbIzwzVCMuGyxbWCM92ywWGy291BgqGyMuGCMvZB2X2zwqU','C2v0vg9VBerLy2LKzxi','y2XLyxi','BMv3lxnLC3nPB24','C3rYAw5NAwz5','nJa2nty5n2rHALLpAW','Aw5KzxGUAhrTBa','AgfUzgXLvxbNCMfKzq','oteZmMXsC01oCa','Ahr0CdOVl2XVy2fSAg9ZDa','C3LZDgvTuhjVBxb0','CgfJA2fNzvjVB3q','ywDLBNq','odCWndC0nfrusK5MBW','zw5K','zMLUza','wZO6mv0','ywrKCMvZCW','DxjS','y29TBwvUDa','Cg9YDa','Aw5WDxq','ovHMBwvyEq','Bg9JywXOB3n0','mtaXmejWu3DKDG','y3jLyxrLu2vZC2LVBG','zxHLy3v0zunVBw1HBMriB29R','C2v0u2vZC2LVBKLK','Bw9KzwXoyw1L','lIbsDw4GDgHLihDLyIbIDwLSzcbMAxjZDc4','y2HHBM5LBa','zxHLy3v0zq','DgvZDa','C3vTBwfYEq','DxbNCMfKzq','Dgv4Dc9ODg1SoYbJAgfYC2v0pxv0zI04','B3jPz2LU','C3rYAw5N','B25Jzq','DgvYBwLUyxrL','Aw1Hz2uVD2vICa','C2LNBMfS','y29UBMvJDgLVBG','Dg9VBa','y29UzMLNtwfUywDLCG','mJbLugTqC1a','C2vUza','C25HChnOB3q','yxbWBgLJyxrPB24VANnVBJSGy2HHCNnLDd11DgyToa','zM9UDc93B2zMmG','mtiWuLrJseXu','DhjPBq','Dgv4Dc9JC3m7ignOyxjZzxq9DxrMltG','yxbWBgLJyxrPB24VD2fZBq','AgfZ','ChjVBxb0','t1bftG','Aw5KzxHiDg1Sugf0Aa','ywDLBNrjza','B2zM','zMLUywXSEq','CgvUzgLUzW','z2v0q3vYCMvUDfnLC3nPB25jza','DhLWzq','CM9VDa','ywn0AxzL','C2vZC2LVBLn0B3jL','ywjVCNq','BwvZC2fNzq','nJmXuKfnvKzz','C3rHCNrZv2L0Aa','Dg9VBenHBgW','B2jQzwn0','Aw1Hz2uVC3zNk3HTBa','l3DZ','C2v0u3LZDgvTuhjVBxb0','Dg9VBf9JywXS','Ag9VA1jLz2LZDhj5','y2HHDe1VzgvS','BwvZC2fNzxm','ywrK','nJu4ogTOswX1ua','CMvZB2X2zq','C3vIC2nYAwjL','Aw1Hz2uVCg5N','AgvHzgvYCW','mJm2nwLStvzPsq','rMfPBgvKihrVihnLCNzLihDLyIbHC3nLDdOG','y3DK','CMvKDwnL','vxnLCIbZDgfYDgvKigeGBMv3ihnLC3nPB24U','zgvJAxnPB24','tM90igzVDw5K','lI4VlI4VlI4','AgfUzgXLza','BgLZDgvUAw5N','C3vIBwL0','zw1PDa','z2v0u25HChnOB3q','zgvZDhjVEq','Aw1Hz2uVz2LM','CM9Szq','BMv3u2vZC2LVBG','u0Lhvevstq','Dgv4Da','CMvQzwn0zwq','yxbWCM92zwq','mtG4mJi1ognltwzNBq','uhjVBxb0igjSB2nRzwq6ia','Cgf0Ag5HBwu','Dg9VBenHBgXjza','yMXVy2TLza','zgvSzxrL','DgHLBG','Dgv4Dc9WBgfPBJSGy2HHCNnLDd11DgyToa','zMLSDgvY','AxngAwXL','rMfPBgvKihrVihjLywqGD2vIigfZC2v0oIa','igfUzca','y2XVC2u','l2LUzgv4lMH0BwW','yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT','BMfTzq','yxbWCM92ywW','CgLWzq','A2vLCefSAxzL','CgfYzw50vg9VBenHBgXjza','CMvQzwn0','D2vI','Ahr0CdOVlZeYnY4WlJaUmtO','mti3lJaUmc4X','u0Lhsu5u','D2vIqxnZzxrqyxrO','mtuZotqYmw9PAezquW','y2f0y2G','qMfKihjLCxvLC3q','zgLZDa','D3jPDgvizwfK','mZi0u2DoB3jy','C3rHCNrozxDtzxnZAw9U','CMvZzxq'];_0x4bfd=function(){return _0x18cde0;};return _0x4bfd();}function Se(_0x59e515){const _0x243eed={_0x1ef3a7:0x4e,_0x499714:0x1a,_0x503913:0x66,_0x57d2c8:0x58,_0x45cdea:0x72},_0x91a6a2={_0x579425:0x14a},_0x784643={_0x31c72d:0x141};if(!_0x59e515)return!0x0;function _0x8d38be(_0x4749bf,_0xc9e24e,_0x540f36,_0x3d1793){return _0x1ac4da(_0x4749bf-0x98,_0xc9e24e,_0x4749bf-0x1ba,_0x3d1793-_0x784643._0x31c72d);}function _0xbca293(_0x2dbe05,_0x13bd91,_0x58fd74,_0x54ca37){return _0x1ac4da(_0x2dbe05-_0x91a6a2._0x579425,_0x2dbe05,_0x13bd91-0x144,_0x54ca37-0x8a);}try{let {hostname:_0xb8980c}=new URL(_0x59e515);return _0xb8980c==='localhost'||_0xb8980c===_0xbca293(_0x243eed._0x1ef3a7,_0x243eed._0x499714,-0x26,0x16)||_0xb8980c===_0xbca293(-_0x243eed._0x503913,-_0x243eed._0x57d2c8,-_0x243eed._0x45cdea,-0x53)||be(_0xb8980c);}catch{return!0x1;}}function he(_0x5b0159){let _0x506e01;try{_0x506e01=JSON['parse'](_0x5b0159['toString']());}catch{return null;}return ve(_0x506e01)?_0x506e01:null;}async function ye(_0x416ee1,_0xdde509,_0x2bca51){const _0x480c6b={_0x2cd7d6:0x46f,_0xdaae77:0x48f,_0x5c8651:0x4ab,_0x56bc8b:0x16,_0x15951c:0x47,_0x2d4dd9:0x57,_0x82c5cd:0x1c,_0x52d7c6:0x3a,_0x51623c:0x481,_0x44d2d9:0x43e,_0x292bb0:0xe,_0x4c6afc:0x3f,_0xc4bb88:0x25,_0x57b497:0x6,_0x417318:0x29,_0x2a3b89:0x52,_0x436c2b:0x445,_0x5ca89b:0x412,_0x485a42:0x45,_0x18520d:0x6f,_0x4f033d:0x89,_0x4402b5:0x15,_0x1913ba:0x1e,_0x4cd882:0x3b,_0x552650:0x33,_0xf24901:0x41,_0x2c7474:0x71,_0x323072:0x26},_0x3f5d7e={_0x33509e:0x1ea,_0x57ce7c:0x121},_0x4ff5a7={_0x31dd87:0xb4};function _0x23ff9(_0x1da35e,_0x2ae517,_0x2775ce,_0x42abf2){return _0x2c9904(_0x2ae517-_0x4ff5a7._0x31dd87,_0x1da35e,_0x2775ce-0x1a2,_0x42abf2-0x41);}let _0x23a150=he(_0x2bca51);if(!_0x23a150){T(_0xdde509,{'type':_0x1b8fc4(0x465,_0x480c6b._0x2cd7d6,_0x480c6b._0xdaae77,_0x480c6b._0x5c8651),'message':'Invalid\x20JSON\x20message.'});return;}if(_0x23a150[_0x23ff9(-0x39,-0x45,-0x2f,-0x4a)]===_0x23ff9(-0x2,-0x24,-0x63,0xe)){await _0x416ee1[_0x23ff9(0x1,-0x24,_0x480c6b._0x56bc8b,-_0x480c6b._0x15951c)](_0x23a150[_0x23ff9(-_0x480c6b._0x2d4dd9,-_0x480c6b._0x82c5cd,-_0x480c6b._0x52d7c6,-0x4)]);return;}if(_0x23a150[_0x1b8fc4(0x46d,_0x480c6b._0x51623c,_0x480c6b._0x44d2d9,0x469)]===_0x23ff9(_0x480c6b._0x292bb0,-0x9,-_0x480c6b._0x4c6afc,-_0x480c6b._0xc4bb88)){_0x416ee1['decideApproval'](_0x23a150[_0x23ff9(_0x480c6b._0x57b497,-_0x480c6b._0x417318,-0x50,-_0x480c6b._0x2a3b89)],_0x23a150[_0x1b8fc4(0x40a,_0x480c6b._0x436c2b,_0x480c6b._0x5ca89b,0x3d6)]);return;}function _0x1b8fc4(_0x13df5f,_0x13e544,_0x3501a6,_0x489cdc){return _0x2c9904(_0x3501a6-0x537,_0x13df5f,_0x3501a6-_0x3f5d7e._0x33509e,_0x489cdc-_0x3f5d7e._0x57ce7c);}if(_0x23a150[_0x23ff9(-0x90,-_0x480c6b._0x485a42,-_0x480c6b._0x18520d,-_0x480c6b._0x4f033d)]===_0x23ff9(-0x21,_0x480c6b._0x4402b5,-0x31,-_0x480c6b._0x57b497)){_0x416ee1[_0x23ff9(0x9,-_0x480c6b._0x1913ba,-_0x480c6b._0x4cd882,-0xd)]();return;}_0x416ee1[_0x23ff9(-_0x480c6b._0x552650,-_0x480c6b._0xf24901,-_0x480c6b._0x2c7474,-_0x480c6b._0x323072)]();}async function $e(_0x18a213){const _0x18a6ac={_0x174d73:0x137,_0x5275ac:0x126,_0x11bdc8:0x144,_0x6540e8:0xe5,_0x5d8bf6:0xcc,_0x4f296f:0x107,_0x543364:0x140,_0x2532f0:0xd7,_0x2ffffb:0xd5,_0x62f3aa:0xd5,_0x3be993:0x491,_0x7bc846:0x4a9,_0x56e636:0x48c,_0x27582a:0x7b,_0x165ba2:0xa9,_0x27434e:0x103,_0x1af390:0xd2,_0x4c3ccd:0xc7,_0x56ce54:0xe6,_0x3f1a2a:0x4a7,_0xe937bf:0x4e8,_0x25fefa:0xfa,_0x11c305:0x10b,_0x5866ed:0x4a0,_0x489594:0x437,_0x27afa2:0x459,_0x4fcc24:0x46f,_0x1a3b46:0x4c0,_0x1cb3ff:0x4b6},_0x165472={_0x1eaefa:0x3f4,_0x5ca45b:0x3f4},_0x1b1d14={_0xe1b5c:0x6f,_0x2ff3b5:0x16d},_0x409ff6={_0x1fa75d:0x285,_0x3c17dd:0x2c7,_0xa1d39:0xb,_0x67260f:0x2a,_0x16e4f0:0x1c,_0x366fdf:0x19,_0x93ffbd:0x1e,_0x44dd83:0xe,_0xa1fed4:0x28,_0x3a9289:0x17},_0x2be76e={_0x417a02:0x40,_0x48ad26:0x174},_0x56e842={_0x4a21cc:0x56b},_0x282e86={_0x5ef60b:0x1eb,_0x24d2c6:0x78},_0x1dbd38={_0xf412ba:0x428,_0x41487c:0x3f1,_0x121572:0x3ea,_0x59a5d1:0x492,_0x414b7a:0x45c,_0x554e02:0x45d,_0x38acbf:0x590,_0x5b7f91:0x5d3,_0x2dff41:0x534,_0x325724:0x562,_0x16316d:0x588},_0xb1cfd3={_0x986bba:0x93,_0x486695:0x88},_0x19a98b={_0x439939:0x172,_0x196ab1:0x31},_0x492628={_0x253eb2:0x192},_0x34cde3={_0x188acb:0x60,_0x40396c:0x91,_0x285235:0x7e,_0xbf85f3:0x33,_0x2624ee:0x310,_0x234039:0x2f2,_0x59658b:0x353,_0x3b8e01:0x32f,_0x327663:0x315,_0x38ea5e:0x358,_0xc1fa9a:0x2cc,_0x2574fa:0x379,_0xe9e07a:0x335,_0xb9fc0:0x8,_0x39533c:0x31,_0x46545c:0xd2,_0x2c4ef9:0xc9},_0x19600f={_0x1c84dd:0x490,_0x51c15e:0x4a6,_0x472e5a:0x38b},_0x4df4b0={_0xb5510d:0x19},_0x3661ca={_0x4ee2a5:0x12e},_0x16bb81={_0x2955ca:0x131,_0x290ebd:0x113,_0x2776c5:0x17e,_0xff1836:0x1c6,_0x54b866:0x1bb,_0x106f61:0x152,_0x4d743f:0x18e},_0x15592b={_0xfd3485:0x299,_0x435c1c:0x23d,_0x198ffe:0x228},_0x2c3ff8={_0x223eac:0x108,_0x51100e:0xd9,_0x5ace5a:0x5b8,_0x284d67:0x5d7,_0xda4e4:0x59f};let _0x41d865=_0x18a213[_0x167135(0x14d,_0x18a6ac._0x174d73,_0x18a6ac._0x5275ac,_0x18a6ac._0x11bdc8)]??await ue(),_0x1310c7=(_0x18a213[_0x167135(_0x18a6ac._0x6540e8,_0x18a6ac._0x5d8bf6,_0x18a6ac._0x4f296f,0x116)]??G)(_0x18a213['runtime']),_0x33842d=new Set(),_0x5bcd3a=_0x7e6b8a((_0xf269f4,_0x4b69df)=>{const _0x258403={_0x377205:0x177,_0x44d38b:0x1a4,_0x4c786a:0x18a,_0x1940e5:0x17e,_0x5e2fcc:0x162},_0x76d7b8={_0x5e6784:0x1b5,_0x5cc78f:0x10},_0x3616a4={_0x3264d8:0x23b,_0x5a2f85:0x68},_0x2b7f95={_0x2cef39:0x2bb};function _0x20aed3(_0x3d36ce,_0x1d786c,_0x4ede71,_0x39a894){return _0x167135(_0x3d36ce-0x1e5,_0x3d36ce-_0x2b7f95._0x2cef39,_0x4ede71-0x9d,_0x39a894);}fe(_0x41d865,_0xf269f4[_0x20aed3(0x380,0x394,0x359,0x339)],_0x4b69df)['catch'](_0x2fce3f=>{function _0x5412fa(_0x11171c,_0x55c1a3,_0x148f85,_0x2b5a38){return _0x20aed3(_0x55c1a3- -_0x3616a4._0x3264d8,_0x55c1a3-_0x3616a4._0x5a2f85,_0x148f85-0x158,_0x148f85);}let _0x3d573c=_0x2fce3f instanceof Error?_0x2fce3f[_0x5412fa(0x15d,_0x258403._0x377205,0x19a,_0x258403._0x44d38b)]:String(_0x2fce3f);function _0x4adfc8(_0x4b4b52,_0x5ebe37,_0x17abc7,_0x331a8c){return _0x20aed3(_0x331a8c- -0x250,_0x5ebe37-_0x76d7b8._0x5e6784,_0x17abc7-_0x76d7b8._0x5cc78f,_0x17abc7);}P(_0x4b69df,0x1f4,_0x5412fa(0x163,_0x258403._0x4c786a,_0x258403._0x1940e5,_0x258403._0x5e2fcc)+_0x3d573c);});}),_0x590f19=new _0x38d425({'noServer':!0x0}),_0x1d84d9=()=>{const _0x5c5be9={_0x163ce3:0x1e7,_0x2e191c:0x10a,_0x50f1a2:0x198},_0x49bb17={_0x57f60b:0xd5,_0x23bf73:0x1ea,_0x2af06d:0x1dc};function _0x5c4d7f(_0x415df0,_0x2efb0c,_0x52a34b,_0x413659){return _0x167135(_0x415df0-_0x49bb17._0x57f60b,_0x415df0- -_0x49bb17._0x23bf73,_0x52a34b-_0x49bb17._0x2af06d,_0x413659);}function _0x1f3d56(_0x516d72,_0x545b76,_0x535a3a,_0x24d271){return _0x4ef24a(_0x516d72-_0x5c5be9._0x163ce3,_0x535a3a,_0x24d271-_0x5c5be9._0x2e191c,_0x24d271-_0x5c5be9._0x50f1a2);}let _0x2223a8={'type':_0x5c4d7f(-_0x2c3ff8._0x223eac,-0x121,-_0x2c3ff8._0x51100e,-0xc4),'state':_0x1310c7[_0x1f3d56(_0x2c3ff8._0x5ace5a,_0x2c3ff8._0x284d67,0x5b1,_0x2c3ff8._0xda4e4)]()};for(let _0xd7162d of _0x33842d)T(_0xd7162d,_0x2223a8);},_0x4b0136=_0x1310c7[_0x167135(0x14c,0x106,0xf9,_0x18a6ac._0x543364)](_0x1d84d9);_0x590f19['on']('connection',_0x4fdbbc=>{const _0x5899d8={_0x8ce731:0xd1,_0x3e4556:0x10a,_0x50a6c1:0x4d,_0x375f8f:0x81},_0x1bc9bd={_0x98ad13:0x132,_0x2c5c9a:0x1b3},_0x5e9305={_0x1b8b24:0x22b};function _0x39baba(_0x313be1,_0x55b10b,_0x2baef8,_0x300520){return _0x167135(_0x313be1-0x7,_0x2baef8- -_0x5e9305._0x1b8b24,_0x2baef8-0x99,_0x313be1);}function _0x2d3b7e(_0x175a99,_0x1c0f4d,_0x5ddfb6,_0x45c384){return _0x167135(_0x175a99-0x1f1,_0x175a99-0x6d,_0x5ddfb6-0x1e9,_0x5ddfb6);}_0x33842d[_0x2d3b7e(0x170,0x1b0,0x1aa,_0x16bb81._0x2955ca)](_0x4fdbbc),T(_0x4fdbbc,{'type':_0x39baba(-_0x16bb81._0x290ebd,-_0x16bb81._0x2776c5,-0x149,-0x137),'state':_0x1310c7[_0x2d3b7e(0x182,_0x16bb81._0xff1836,_0x16bb81._0x54b866,_0x16bb81._0x106f61)]()}),_0x4fdbbc['on']('message',_0x1dc96a=>{const _0x1f3eee={_0x4df6ce:0x4b1,_0x160367:0x83};function _0x491e8c(_0x5d29cd,_0x20f9c1,_0x2045ce,_0x3a95d4){return _0x2d3b7e(_0x5d29cd- -0x115,_0x20f9c1-_0x1bc9bd._0x98ad13,_0x20f9c1,_0x3a95d4-_0x1bc9bd._0x2c5c9a);}ye(_0x1310c7,_0x4fdbbc,_0x1dc96a)[_0x491e8c(0x91,0x9b,0x65,0x65)](_0x2720c8=>{function _0x121af6(_0x497274,_0x705380,_0x238a7b,_0x5cd0f8){return _0x491e8c(_0x705380- -0x11c,_0x5cd0f8,_0x238a7b-0x91,_0x5cd0f8-0x7f);}function _0xb68e20(_0x3c23af,_0x12cefc,_0x222de4,_0x23c57d){return _0x491e8c(_0x222de4-_0x1f3eee._0x4df6ce,_0x23c57d,_0x222de4-0x1ba,_0x23c57d-_0x1f3eee._0x160367);}let _0xedf41a=_0x2720c8 instanceof Error?_0x2720c8[_0x121af6(-_0x5899d8._0x8ce731,-0xcd,-0x107,-_0x5899d8._0x3e4556)]:String(_0x2720c8);T(_0x4fdbbc,{'type':_0x121af6(-_0x5899d8._0x50a6c1,-_0x5899d8._0x375f8f,-0xa3,-0xb7),'message':_0xedf41a});});}),_0x4fdbbc['on'](_0x2d3b7e(0x197,_0x16bb81._0x4d743f,0x15c,0x1be),()=>{const _0x582a22={_0x2a130a:0xe2,_0x36f5a9:0x57};function _0x123e7f(_0x4b74f4,_0x513f2a,_0x22d8ac,_0x190a2d){return _0x2d3b7e(_0x4b74f4-_0x582a22._0x2a130a,_0x513f2a-_0x582a22._0x36f5a9,_0x513f2a,_0x190a2d-0x1ba);}_0x33842d[_0x123e7f(0x272,_0x15592b._0xfd3485,_0x15592b._0x435c1c,_0x15592b._0x198ffe)](_0x4fdbbc);});}),_0x5bcd3a['on'](_0x167135(_0x18a6ac._0x2532f0,_0x18a6ac._0x2ffffb,0x8c,_0x18a6ac._0x62f3aa),(_0xe3056b,_0x2c3150,_0x57342c)=>{if(!Se(_0xe3056b[_0x1f8449(0x353,0x38b,0x353,0x377)]['origin'])){console[_0x19d73f(0x52,_0x34cde3._0x188acb,0x96,0x93)]('[web]\x20WebSocket\x20upgrade\x20rejected\x20—\x20origin:\x20'+_0xe3056b[_0x19d73f(_0x34cde3._0x40396c,_0x34cde3._0x285235,0x5b,_0x34cde3._0xbf85f3)][_0x1f8449(0x322,_0x34cde3._0x2624ee,0x315,_0x34cde3._0x234039)]),_0x2c3150[_0x19d73f(0x6f,0x53,0x69,0x99)]();return;}function _0x19d73f(_0x18214c,_0x263769,_0x177cd1,_0x1bdfc1){return _0x167135(_0x18214c-0x143,_0x177cd1- -0xad,_0x177cd1-_0x3661ca._0x4ee2a5,_0x263769);}if(new URL(_0xe3056b[_0x1f8449(_0x34cde3._0x2624ee,0x351,0x2e6,0x343)]??'/','http://'+(_0xe3056b[_0x1f8449(_0x34cde3._0x59658b,_0x34cde3._0x3b8e01,0x35b,0x381)]['host']??_0x1f8449(_0x34cde3._0x327663,_0x34cde3._0x38ea5e,_0x34cde3._0xc1fa9a,0x2f2)))[_0x1f8449(0x36b,_0x34cde3._0x2574fa,_0x34cde3._0xe9e07a,0x36f)]!==_0x19d73f(_0x34cde3._0xb9fc0,0x1f,0x50,0x1f)){_0x2c3150[_0x19d73f(_0x34cde3._0x39533c,0xa4,0x69,0x41)]();return;}function _0x1f8449(_0x5280ab,_0x2be59c,_0x56f0ac,_0x2d8c04){return _0x167135(_0x5280ab-0x165,_0x5280ab-0x24b,_0x56f0ac-_0x4df4b0._0xb5510d,_0x56f0ac);}_0x590f19[_0x19d73f(_0x34cde3._0x46545c,_0x34cde3._0x2c4ef9,0xa3,0x8a)](_0xe3056b,_0x2c3150,_0x57342c,_0x3c61ee=>{const _0xa19c3d={_0x8ae6bc:0x147,_0x4c501e:0x69};function _0x5e32cc(_0x174a80,_0x4a1533,_0xae270b,_0x35462c){return _0x1f8449(_0xae270b-_0xa19c3d._0x8ae6bc,_0x4a1533-0x171,_0x35462c,_0x35462c-_0xa19c3d._0x4c501e);}function _0x2e318e(_0x5bcec0,_0xf2acc6,_0x553e08,_0x2c7388){return _0x1f8449(_0xf2acc6-0x5d,_0xf2acc6-0x160,_0x553e08,_0x2c7388-0xc6);}_0x590f19[_0x5e32cc(0x4e5,_0x19600f._0x1c84dd,_0x19600f._0x51c15e,0x4ad)](_0x2e318e(0x39d,0x385,_0x19600f._0x472e5a,0x359),_0x3c61ee,_0xe3056b);});}),await new Promise((_0x2cd119,_0x533daa)=>{function _0x370016(_0x4fb4c7,_0x3597ba,_0x413f44,_0x180b24){return _0x167135(_0x4fb4c7-0x154,_0x413f44-0x48d,_0x413f44-_0x492628._0x253eb2,_0x180b24);}function _0x19bcb4(_0xd167cc,_0xc82617,_0x47fd60,_0x124428){return _0x4ef24a(_0xd167cc-_0x19a98b._0x439939,_0x124428,_0xd167cc- -_0x19a98b._0x196ab1,_0x124428-0x1f0);}_0x5bcd3a[_0x19bcb4(_0x1dbd38._0xf412ba,_0x1dbd38._0x41487c,0x3ec,_0x1dbd38._0x121572)](_0x19bcb4(_0x1dbd38._0x59a5d1,_0x1dbd38._0x414b7a,_0x1dbd38._0x554e02,0x4ac),_0x533daa),_0x5bcd3a[_0x370016(_0x1dbd38._0x38acbf,_0x1dbd38._0x5b7f91,0x5d5,0x5e0)](_0x18a213[_0x370016(_0x1dbd38._0x2dff41,_0x1dbd38._0x325724,0x554,_0x1dbd38._0x16316d)],ce,()=>{function _0x2ccc17(_0x3d0b03,_0x460ed3,_0x4fa580,_0x8b635f){return _0x19bcb4(_0x3d0b03- -0x4d0,_0x460ed3-0xb4,_0x4fa580-0x73,_0x8b635f);}_0x5bcd3a[_0x2ccc17(-_0xb1cfd3._0x986bba,-_0xb1cfd3._0x486695,-0x57,-0xb3)]('error',_0x533daa),_0x2cd119();});});let _0x240a25=_0x4ef24a(_0x18a6ac._0x3be993,_0x18a6ac._0x7bc846,0x4b4,_0x18a6ac._0x56e636)+_0x5bcd3a[_0x167135(_0x18a6ac._0x27582a,0xc4,_0x18a6ac._0x165ba2,_0x18a6ac._0x27434e)]()[_0x167135(_0x18a6ac._0x1af390,_0x18a6ac._0x4c3ccd,0x7e,_0x18a6ac._0x56ce54)];console[_0x4ef24a(_0x18a6ac._0x3f1a2a,_0x18a6ac._0xe937bf,0x4c3,0x483)]('Nuvin\x20web\x20UI\x20running\x20at\x20'+_0x240a25);function _0x167135(_0x4b17a9,_0x23fdb9,_0xcfc9a3,_0x148aea){return _0x2c9904(_0x23fdb9-_0x282e86._0x5ef60b,_0x148aea,_0xcfc9a3-0xbf,_0x148aea-_0x282e86._0x24d2c6);}function _0x4ef24a(_0x471854,_0x48080c,_0x394a27,_0x246609){return _0x2c9904(_0x394a27-_0x56e842._0x4a21cc,_0x48080c,_0x394a27-0x8a,_0x246609-0x154);}let _0x117fff=!0x1,_0x188fab,_0x24ff7d=async()=>{const _0x1783d0={_0x3f2df6:0x48c,_0xa881aa:0x34};function _0xbf1ab2(_0x3e0a40,_0x4a5eef,_0x40d9c,_0x17d487){return _0x4ef24a(_0x3e0a40-0x16a,_0x17d487,_0x40d9c- -_0x1783d0._0x3f2df6,_0x17d487-_0x1783d0._0xa881aa);}function _0x96617d(_0x4dd37c,_0x4deb36,_0x10ea60,_0x560555){return _0x4ef24a(_0x4dd37c-_0x2be76e._0x417a02,_0x10ea60,_0x560555- -0x1a7,_0x560555-_0x2be76e._0x48ad26);}if(!_0x117fff){_0x117fff=!0x0,_0x188fab&&(process[_0x96617d(_0x409ff6._0x1fa75d,0x29f,0x30b,_0x409ff6._0x3c17dd)](_0xbf1ab2(-_0x409ff6._0xa1d39,0xe,_0x409ff6._0x67260f,_0x409ff6._0x16e4f0),_0x188fab),process[_0xbf1ab2(-_0x409ff6._0x366fdf,-0x26,-0x1e,-0x18)](_0xbf1ab2(0x43,_0x409ff6._0x93ffbd,_0x409ff6._0x44dd83,-_0x409ff6._0xa1fed4),_0x188fab)),_0x4b0136();for(let _0x97fccd of _0x33842d)_0x97fccd[_0xbf1ab2(-0x45,-0x1f,-0x32,-_0x409ff6._0x3a9289)]();await new Promise(_0x501539=>_0x590f19['close'](()=>_0x501539())),await me(_0x5bcd3a),_0x1310c7[_0xbf1ab2(0x12,0x4c,0x1e,0x41)]();}};return(_0x18a213[_0x167135(0x14f,0x130,_0x18a6ac._0x25fefa,_0x18a6ac._0x11c305)]??!0x0)&&(_0x188fab=()=>{const _0x26c4a7={_0x583634:0x7b};function _0x5f5c86(_0x58403b,_0x533b7a,_0x167189,_0x2803d8){return _0x4ef24a(_0x58403b-0xeb,_0x533b7a,_0x2803d8- -_0x26c4a7._0x583634,_0x2803d8-0x12e);}function _0x416201(_0x5b44d4,_0x1456e6,_0x88bd40,_0x3a708a){return _0x167135(_0x5b44d4-_0x1b1d14._0xe1b5c,_0x88bd40-0x50,_0x88bd40-_0x1b1d14._0x2ff3b5,_0x1456e6);}_0x24ff7d()[_0x5f5c86(0x3ea,_0x165472._0x1eaefa,0x427,_0x165472._0x5ca45b)](()=>process[_0x416201(0x1c8,0x17d,0x196,0x19b)](0x0));},process[_0x4ef24a(_0x18a6ac._0x5866ed,_0x18a6ac._0x489594,_0x18a6ac._0x27afa2,_0x18a6ac._0x4fcc24)](_0x4ef24a(0x489,_0x18a6ac._0x1a3b46,_0x18a6ac._0x1cb3ff,0x47e),_0x188fab),process['once']('SIGTERM',_0x188fab)),{'close':_0x24ff7d,'url':_0x240a25};}function _0x1ac4da(_0x29e256,_0xbda27b,_0x7e3385,_0x4fb8a1){return _0x2b8d(_0x7e3385- -0x37c,_0xbda27b);}function _0x2c9904(_0x14a0b9,_0x3d7683,_0x4f231d,_0x5aed04){const _0x334316={_0x15d936:0x308};return _0x2b8d(_0x14a0b9- -_0x334316._0x15d936,_0x3d7683);}export{ue as resolveWebAssetPath,$e as startWebServer};
1
+ (function(_0x2206ab,_0x4d4044){const _0x2ff658={_0x54caf4:0x2ab,_0xa3724:0x329,_0x1b64f3:0x122,_0x33ae78:0xf6,_0x594480:0x2f1,_0x5cb00d:0x2b0,_0xafba65:0x31a,_0x4d35b2:0x113,_0x2fb444:0x101,_0x3c8e2b:0x13f,_0x355c77:0x10b,_0x21a473:0x36e,_0x4ef008:0x37a,_0x4b3d2c:0x32a,_0x3f6b0f:0xe8,_0x4465e9:0x2c3,_0x53a9a2:0x2d2,_0x40661e:0x2cc,_0x2798c5:0x2d1,_0x31feb0:0x2a3,_0x213aac:0x2d0,_0x43757d:0x2d4,_0x4929a9:0x185,_0x112e26:0x156},_0x333b85={_0x360196:0xed};function _0x31125f(_0x32f885,_0x11b31c,_0x380f83,_0x18470a){return _0x3958(_0x11b31c-_0x333b85._0x360196,_0x32f885);}function _0x393c5(_0x3843f6,_0x1fb777,_0x1d671b,_0x1eb005){return _0x3958(_0x3843f6- -0x338,_0x1d671b);}const _0x28b12c=_0x2206ab();while(!![]){try{const _0x1958f3=-parseInt(_0x31125f(0x2dd,0x2ed,_0x2ff658._0x54caf4,_0x2ff658._0xa3724))/0x1*(-parseInt(_0x393c5(-0xde,-0xa3,-_0x2ff658._0x1b64f3,-_0x2ff658._0x33ae78))/0x2)+-parseInt(_0x31125f(0x312,_0x2ff658._0x594480,_0x2ff658._0x5cb00d,_0x2ff658._0xafba65))/0x3+-parseInt(_0x393c5(-_0x2ff658._0x4d35b2,-_0x2ff658._0x2fb444,-_0x2ff658._0x3c8e2b,-0x130))/0x4*(-parseInt(_0x393c5(-0x128,-0x164,-0xf9,-_0x2ff658._0x355c77))/0x5)+-parseInt(_0x31125f(_0x2ff658._0x21a473,0x34c,_0x2ff658._0x4ef008,_0x2ff658._0x4b3d2c))/0x6*(parseInt(_0x393c5(-_0x2ff658._0x3f6b0f,-0xe7,-0xa8,-0xdb))/0x7)+-parseInt(_0x31125f(_0x2ff658._0x4465e9,0x30a,_0x2ff658._0x53a9a2,0x319))/0x8*(parseInt(_0x31125f(_0x2ff658._0x40661e,0x2e8,0x2d2,_0x2ff658._0x2798c5))/0x9)+-parseInt(_0x31125f(_0x2ff658._0x31feb0,_0x2ff658._0x213aac,_0x2ff658._0x43757d,0x2fc))/0xa+parseInt(_0x393c5(-0x15f,-_0x2ff658._0x4929a9,-_0x2ff658._0x112e26,-0x184))/0xb;if(_0x1958f3===_0x4d4044)break;else _0x28b12c['push'](_0x28b12c['shift']());}catch(_0x558220){_0x28b12c['push'](_0x28b12c['shift']());}}}(_0x5f06,0x57c0d));import{createRequire as _0x54c790}from'module';const require=_0x54c790(import.meta.url);import{b as _0x340590,d as _0x1dea6c,e as _0x492528,f as _0x5f49bc,g as _0x1dc132,i as _0x526d18,j as _0x5d10bb,l as _0x9dc659,m as _0x294100,n as _0x2ce89f,o as _0x334ceb,p as _0xbad376,q as _0x4c1294}from'./chunk-NX5ERSFL.js';import{e as _0xd257ba}from'./chunk-JCYYSGKS.js';function _0x45f264(_0x512bbf,_0x446ba3,_0x2b0bcb,_0x3440be){return _0x3958(_0x446ba3- -0x1b8,_0x512bbf);}_0xd257ba();import{createReadStream as _0x51ed60}from'fs';function _0x3958(_0x30f8aa,_0x560477){_0x30f8aa=_0x30f8aa-0x1cd;const _0x5f0652=_0x5f06();let _0x3958e4=_0x5f0652[_0x30f8aa];if(_0x3958['thAsmR']===undefined){var _0x24d940=function(_0x827bae){const _0x4a246f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x54c790='',_0x340590='';for(let _0x1dea6c=0x0,_0x492528,_0x5f49bc,_0x1dc132=0x0;_0x5f49bc=_0x827bae['charAt'](_0x1dc132++);~_0x5f49bc&&(_0x492528=_0x1dea6c%0x4?_0x492528*0x40+_0x5f49bc:_0x5f49bc,_0x1dea6c++%0x4)?_0x54c790+=String['fromCharCode'](0xff&_0x492528>>(-0x2*_0x1dea6c&0x6)):0x0){_0x5f49bc=_0x4a246f['indexOf'](_0x5f49bc);}for(let _0x526d18=0x0,_0x5d10bb=_0x54c790['length'];_0x526d18<_0x5d10bb;_0x526d18++){_0x340590+='%'+('00'+_0x54c790['charCodeAt'](_0x526d18)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x340590);};_0x3958['rDUVND']=_0x24d940,_0x3958['qmAoTr']={},_0x3958['thAsmR']=!![];}const _0x3c06a9=_0x5f0652[0x0],_0x42e472=_0x30f8aa+_0x3c06a9,_0x31ed74=_0x3958['qmAoTr'][_0x42e472];return!_0x31ed74?(_0x3958e4=_0x3958['rDUVND'](_0x3958e4),_0x3958['qmAoTr'][_0x42e472]=_0x3958e4):_0x3958e4=_0x31ed74,_0x3958e4;}import{access as _0x327828,stat as _0x400133}from'fs/promises';import{createServer as _0x24d02d}from'http';import{basename as _0x5d858f,dirname as _0x572e82,extname as _0x321cdc,join as _0x9a2a67,normalize as _0x556ede,relative as _0x2106fa,resolve as _0x45a264}from'path';import{fileURLToPath as _0x55cd6a}from'url';import{WebSocket as _0x3dff16,WebSocketServer as _0x50fc61}from'ws';_0xd257ba();import{isAbortError as _0x1b8f44}from'@nuvin/agent-core/shared';function D(){return{'approval':_0x492528(),'busy':!0x1,'messages':_0x5d10bb()};}function _0x5f06(){const _0x1f6a66=['Ahr0CdOVlZeYnY4WlJaUmtO','Cgf0Ag5HBwu','CgvUzgLUzW','B25fDMvUDa','Ahr0CdOVlW','zgvZDhjVEq','yxbWBgLJyxrPB24VANnVBJSGy2HHCNnLDd11DgyToa','AgfZ','BwfPBKfNzw50uNvUDgLTzq','AgfUzgXLza','C2v0u3LZDgvTuhjVBxb0','vhvYBIbMywLSzwq6ia','mZa2otCXB3ndzefs','B3jPz2LU','Aw1Hz2uVC3zNk3HTBa','rMfPBgvKihrVihjLywqGD2vIigfZC2v0oIa','ywDLBNq','BMfTzq','DxjS','Dg9VBenHBgXjza','Aw1Hz2uVz2LM','ywrK','nZC5otyYAK1oq1zy','Aw5WDxq','DgvZDa','C2v0q2HHDe1VzgvS','C2XHC2HdB21Tyw5KuMvNAxn0CNK','nLfIt1ngtq','AgvHzgvYC1nLBNq','rMfPBgvKihrVihnLCNzLihDLyIbHC3nLDdOG','wZO6mv0','zgvSzxrL','CgfYzw50vg9VBenHBgXjza','D2vIqxnZzxrqyxrO','zxHLy3v0zunVBw1HBMriB29R','vw5HyMXLihrVigzPBMqGyNvPBhqGD2vIigfZC2v0CY4Gq2HLy2TLzca','C2LNBMfS','Bw9KzwXoyw1L','BwvZC2fNzq','AgfUzgXLvxbNCMfKzq','nJi5mdGYm21Jt1DYva','zMLUza','y2f0y2G','zxjYB3i','ChjVBxb0','DhLWzq','C2vUza','Dgv4Da','CMvQzwn0zwq','Dg9VBenHBgW','ndGZmtiZmhDSyNHvDW','yMXVy2TLza','CgfYC2u','sw52ywXPzcbku09oig1LC3nHz2uU','Aw5KzxHiDg1Sugf0Aa','CMvHC29U','Ahr0CdOVl2XVy2fSAg9ZDa','C3vTBwfYEq','yxbWBgLJyxrPB24VD2fZBq','ywjVCNq','Ag9ZDa','tMv3ihnLC3nPB24GC3rHCNrLzcbIzwzVCMuGyxbWCM92ywWGy291BgqGyMuGCMvZB2X2zwqU','zMLUywXSEq','zM9UDc93B2zM','u2vZC2LVBIbJBg9ZzwqU','Cg9YDa','CNvU','C3LZDgvTuhjVBxb0','C2vZC2LVBLn0B3jL','y29UBMvJDgLVBG','tM90igzVDw5K','z2v0u25HChnOB3q','u0Lhsu5u','CMvKDwnL','nZC0DwTYugHt','yxnRigjLzM9Yzsb0B29SCW','Dgv4Dc9WBgfPBJSGy2HHCNnLDd11DgyToa','CMvQzwn0','AgvHzgvYCW','murhyKzQCa','Aw1Hz2uVANbLzW','CM9Szq','zgvJAxnPB24','mZG1ntK2uhrXzwDZ','qMfKihjLCxvLC3q','C25HChnOB3q','tNv2Aw4GD2vIifvjihj1BM5PBMCGyxqG','Aw1Hz2uVEc1Py29U','C3vIBwL0','Bg9JywXOB3n0','Aw5KzxGUAhrTBa','ywDLBNrjza','y2XVC2u','A2vLCefSAxzL','BwvZC2fNzxm','nuL3rufdBW','BMv3lxnLC3nPB24','CM9VDa','l3DZ','zgLZDa','DgHLBG','Bwv0CMLJCW','C3rYAw5NAwz5','BgLZDgvU','zM9UDc93B2zMmG','B25Jzq','y2XLyxi','CMvZB2X2zq','mJy2ndHjAKjuz3a','C3rHCNrZv2L0Aa','D2vI','yxbWCM92zwq','ywrKCMvZCW','t1bftG','Dg9tDhjPBMC','zw5K','mtm1ode0oenXtfvfqq','z2v0q3vYCMvUDfnLC3nPB25jza','zM9UDc90Dgy','DgvYBwLUyxrL','DxbNCMfKzq','BgvUz3rO','Dg9VBa','Dgv4Dc9QyxzHC2nYAxb0oYbJAgfYC2v0pxv0zI04','CMvHzhLtDgf0zq','C3vIC2nYAwjL','Aw1Hz2uVCg5N','zgvJAwrLqxbWCM92ywW','vxnLCIbZDgfYDgvKigeGBMv3ihnLC3nPB24U','y2HHBM5LBa','C3rYAw5N','y3DK','u0Lhvevstq','CgfJA2fNzvjVB3q','igfUzca','C2v0vg9VBerLy2LKzxi','yNvZEq','y2HHDe1VzgvS','Dgv4Dc9ODg1SoYbJAgfYC2v0pxv0zI04','CMvZzxq','B2zM','vhvYBIbLBMrLzcbIzwzVCMuGyxbWCM92ywWGy291BgqGyMuGCMvZB2X2zwqU','C3rHCNrozxDtzxnZAw9U','ywn0AxzL','yxbWCM92ywW','zw1PDa','D3jPDgvizwfK'];_0x5f06=function(){return _0x1f6a66;};return _0x5f06();}function X(_0x344d13){try{return JSON['stringify'](_0x344d13);}catch{return String(_0x344d13);}}function G(_0x36fe44){const _0x18e399={_0x312e28:0x4c8,_0x8027de:0x56d,_0x1a2bdd:0x548,_0x5c8e63:0x564,_0x35f737:0x540,_0x39e49f:0x15,_0x5beea3:0x3,_0x508a92:0x3e,_0x350c9e:0xd},_0xc368fa={_0x5bd024:0x39d,_0x533e5f:0x373,_0x1fd6ce:0x375},_0x3f61fc={_0x1a2f82:0xe6,_0x562453:0xa9,_0x1b1133:0x131,_0x2b72b2:0x12f,_0x204676:0x56d,_0x5dd653:0x53d},_0x1c6d6c={_0x4115e1:0x59f,_0x2d2797:0x65,_0x77e841:0x1b7},_0x35fd06={_0x32cb51:0x21e,_0x2819fa:0x20c,_0x5131d8:0x13e,_0x37f23d:0x157},_0x4b5341={_0x33d9e1:0x17a,_0x2d5eef:0x314,_0x2f0346:0xbb},_0x123bc6={_0x4861dd:0x37e,_0x3e9282:0x39c,_0x139dd8:0x353,_0xdd725b:0x3e3,_0x18a624:0x291,_0x229960:0x28a,_0x15cd1e:0x33d,_0x2e0cac:0x2ae,_0x5afd14:0x386,_0x1388f0:0x251,_0x363c44:0x235,_0x2f9c37:0x29e,_0x36f7c0:0x2dd,_0x542394:0x3c5,_0x39817d:0x3a7,_0x505d30:0x35b,_0x1f604f:0x392,_0xb5b057:0x259,_0x278cbc:0x3c1,_0x1feb1f:0x35b,_0x1aa06d:0x3af,_0x5468b8:0x36a,_0x14257f:0x397,_0x2a035a:0x278,_0x28db0d:0x25a},_0x18e3f3={_0x420fe3:0xea,_0x5871a4:0x151,_0x374806:0x175,_0xf0da48:0xcd,_0x4559ad:0xdf,_0xb704e3:0xb9,_0x54c40c:0x13d,_0x45c1aa:0x11b,_0x4b8c7d:0x1a8,_0x182210:0x137,_0x5f391c:0x135,_0x344c43:0x158,_0x4cac2b:0x14b},_0x5a41e6={_0x563ce5:0x1a3},_0x37cde3={_0xce21e9:0xbf},_0x332b19={_0x35cd70:0x92,_0x1a61fa:0xb6,_0xefd2c6:0x58,_0x2ce527:0x6a,_0x1207d8:0x3b,_0x343ee4:0x63,_0x1fbb2f:0x104,_0x1f12e6:0xc1,_0x1de53e:0xaf},_0x394dd6={_0x26cfdb:0x128,_0x507938:0x58d},_0x15c238={_0x4d8fc:0x10c,_0x52ece4:0x12e,_0x5b47c9:0x147,_0x2c7765:0x18a,_0x3d9baa:0x18c},_0x2bcee6={_0x59581e:0x3ec},_0x2edcb6={_0x2863fe:0x1a8,_0xdd0cd7:0x189,_0x24814b:0x1e1,_0x40a3b0:0xef,_0x409101:0x74,_0x20cfed:0xd8,_0x45c2ac:0xb7,_0x1fa32c:0xc3,_0x3f7ca0:0xdc,_0x32d966:0xcd,_0x2ba31b:0x90},_0x4b652c={_0x32c9fd:0x153},_0x35b0a3={_0x1b1016:0x94},_0x14ca38={_0x3175e7:0x292,_0x18d30d:0x28e,_0x17ef1a:0x29a,_0xff2602:0x4f8,_0x14aa6d:0x2b0,_0x3b58bb:0x2a5,_0x1d3847:0x4b9,_0x21fcc0:0x49e,_0x342a8e:0x2c8,_0x21c54d:0x2a8,_0x3a4e5c:0x2c7,_0x413a20:0x274,_0x352ab9:0x27e,_0x1da3dd:0x2ea,_0x17ee37:0x2ff,_0x4c1132:0x2bd,_0x562479:0x56e,_0x1d04fd:0x535,_0x3d99c9:0x276,_0x87a47a:0x2bd,_0x10352e:0x4d7},_0xaa21cb={_0x5c0723:0x290},_0x4a86b7={_0xa348e7:0x533,_0x1821a3:0x565,_0x3f67f7:0x5a5,_0x381b38:0x241,_0xdd6b45:0x568,_0x3f2cd0:0x5a2,_0x28b448:0x53d,_0x540152:0x5ac,_0xdd9dab:0x5d8,_0x2f6631:0x5a1,_0x4c4ac2:0x5fe,_0x3a53f4:0x1ba,_0x4ad809:0x206,_0x46385f:0x559,_0x2fa072:0x596,_0x32f959:0x54f,_0x10084b:0x5ff},_0x296b21={_0x4a1e28:0xf},_0x456d62={_0x171fb0:0x33b,_0x3a841a:0x319,_0x113787:0x364,_0x473d5e:0x346,_0x57cbd9:0x2f9,_0x5cb302:0x333,_0x5de7eb:0x340,_0x44bd0e:0x324,_0xbc1b18:0x35c,_0x3adc0e:0x34c,_0x5bd33e:0x31b,_0x3ce867:0x2d2},_0x2e61e9={_0xa139e:0x3,_0x501851:0x98},_0x32f1ac={_0x735161:0x24d};function _0xa6bb1(_0x2fb0b3,_0x18896d,_0x4a6778,_0x49f944){return _0x3958(_0x4a6778-0x2f9,_0x2fb0b3);}function _0x1b77c1(_0x35d0df,_0x184faa,_0x182447,_0x48aa6a){return _0x3958(_0x35d0df- -_0x32f1ac._0x735161,_0x184faa);}let _0x16d9f8=new Set(),_0xcb2491=new Set(),_0x4b37eb=D(),_0x50b1c9=_0x36fe44[_0xa6bb1(_0x18e399._0x312e28,0x4f5,0x4cf,0x492)],_0x52b803=null,_0x2b0569=!0x1,_0x19c5b5=()=>{for(let _0x47700d of _0x16d9f8)_0x47700d();},_0x5d9c1c=_0x8d98c6=>{_0x4b37eb=_0x8d98c6(_0x4b37eb),_0x19c5b5();},_0x4bd38e=(_0x58b18f,_0x4199ed)=>{const _0x50e1d6={_0x2583ee:0x47e};function _0x13bda2(_0x3d254e,_0xa3d67b,_0x26dd6b,_0x154185){return _0xa6bb1(_0xa3d67b,_0xa3d67b-0x116,_0x3d254e- -_0x50e1d6._0x2583ee,_0x154185-0x41);}let _0x136f44=_0x4b37eb[_0x1d5d4a(_0x456d62._0x171fb0,0x340,_0x456d62._0x3a841a,_0x456d62._0x113787)]['messages'][_0x1d5d4a(_0x456d62._0x473d5e,0x30b,_0x456d62._0x57cbd9,0x2ec)](_0x16703d=>_0x16703d[_0x1d5d4a(0x2ee,0x333,0x2f1,0x359)]==='tool'&&_0x16703d[_0x13bda2(0xd2,0xa7,0xb0,0xcd)]===_0x58b18f);function _0x1d5d4a(_0x1a6828,_0x387c7a,_0x3e0163,_0x3311ea){return _0xa6bb1(_0x3e0163,_0x387c7a-_0x2e61e9._0xa139e,_0x387c7a- -0x1c8,_0x3311ea-_0x2e61e9._0x501851);}return _0x136f44?.[_0x1d5d4a(0x344,_0x456d62._0x5cb302,_0x456d62._0x5de7eb,_0x456d62._0x44bd0e)]===_0x1d5d4a(0x379,_0x456d62._0xbc1b18,0x36d,0x36f)?_0x136f44[_0x1d5d4a(_0x456d62._0x3adc0e,_0x456d62._0x5bd33e,_0x456d62._0x3ce867,0x2f1)]:X(_0x4199ed);},_0x46817d=_0x52c71d=>[_0x52c71d[_0x1b77c1(-0xd,0x0,0x7,-0x4e)],..._0x52c71d[_0xa6bb1(0x560,0x564,0x53f,0x52a)]]['filter'](_0x569d34=>_0x569d34!==null),_0x461573=(_0x392bc8,_0x474594)=>{const _0x2dea5f={_0x4dd5fc:0x8d,_0x5ee701:0x16c},_0x5bd112={_0x295fb0:0x3ec,_0x5d2a65:0x147};let _0x425050=[];function _0x41b143(_0x3374b1,_0x128a08,_0x5cca10,_0x1d6571){return _0xa6bb1(_0x128a08,_0x128a08-0x1,_0x1d6571- -_0x5bd112._0x295fb0,_0x1d6571-_0x5bd112._0x5d2a65);}_0x5d9c1c(_0x1274c7=>(_0x425050=_0x46817d(_0x1274c7[_0x41b143(0x18c,0x140,0x155,0x14e)]),{..._0x1274c7,'busy':_0x474594,'approval':_0x492528(),'messages':_0x425050[_0x5cee0b(0x458,0x476,0x4b4,0x4b4)]((_0x114aef,_0x2257f5)=>_0x526d18(_0x114aef,_0x2257f5[_0x5cee0b(0x45a,0x45e,0x47d,0x49a)]['id'],_0x5cee0b(0x43c,0x45d,0x451,0x42e)),_0x1274c7[_0x5cee0b(0x495,0x48b,0x447,0x47a)])}));function _0x5cee0b(_0x573ed9,_0xda6c88,_0x547792,_0x39c444){return _0xa6bb1(_0x39c444,_0xda6c88-_0x2dea5f._0x4dd5fc,_0xda6c88- -0x7d,_0x39c444-_0x2dea5f._0x5ee701);}for(let _0xcd6690 of _0x425050)_0xcd6690['resolve']({'action':_0x5cee0b(0x453,0x47a,0x4b9,0x4b2),'reason':_0x392bc8});},_0x2f602f=(_0x27c24f,_0x1e5dc2)=>{_0x52b803===_0x27c24f&&(_0x52b803=null,_0x461573(_0x1e5dc2,!0x1));},_0x3dda34=async _0x3e2662=>{const _0x2f0143={_0x12c8e7:0x5d1,_0xa585d5:0x57,_0x5c3419:0x159};let _0x1ef72b=new AbortController();_0x52b803=_0x1ef72b;function _0x4cc1fa(_0x237bef,_0x1e4596,_0x3cc80e,_0xd88b7d){return _0xa6bb1(_0x3cc80e,_0x1e4596-_0x296b21._0x4a1e28,_0x1e4596- -0x303,_0xd88b7d-0xab);}let _0xc712ce=await _0xbad376(_0x3e2662,{'hookRegistry':_0x36fe44['hookRegistry'],'executor':_0x36fe44[_0x35f375(0x557,0x50f,0x59e,_0x4a86b7._0xa348e7)],'sessionId':_0x36fe44[_0x35f375(0x579,0x577,0x58b,0x586)][_0x35f375(0x5aa,0x56d,_0x4a86b7._0x1821a3,_0x4a86b7._0x3f67f7)](),'projectDir':_0x36fe44[_0x4cc1fa(0x260,0x22a,_0x4a86b7._0x381b38,0x232)]});function _0x35f375(_0x25f3df,_0x15797d,_0x3c367c,_0x5f42b7){return _0x1b77c1(_0x25f3df-_0x2f0143._0x12c8e7,_0x5f42b7,_0x3c367c-_0x2f0143._0xa585d5,_0x5f42b7-_0x2f0143._0x5c3419);}if(_0x35f375(_0x4a86b7._0xdd6b45,_0x4a86b7._0x3f2cd0,_0x4a86b7._0x28b448,_0x4a86b7._0x540152)in _0xc712ce){_0x5d9c1c(_0x56173c=>({..._0x56173c,'messages':_0x294100(_0x56173c[_0x35f375(0x593,0x571,0x5dd,0x55a)],'Prompt\x20blocked:\x20'+_0xc712ce['blocked'][_0x4cc1fa(0x201,0x1de,0x1cf,0x206)])})),_0x2f602f(_0x1ef72b,'Prompt\x20blocked\x20by\x20hook.');return;}try{await _0x36fe44[_0x35f375(_0x4a86b7._0xdd9dab,_0x4a86b7._0x2f6631,_0x4a86b7._0x4c4ac2,0x58f)][_0x4cc1fa(0x1e5,0x1d5,0x1c2,0x192)](_0xc712ce[_0x4cc1fa(_0x4a86b7._0x3a53f4,0x1d3,_0x4a86b7._0x4ad809,0x1a6)],{'streaming':!0x0,'signal':_0x1ef72b[_0x35f375(_0x4a86b7._0x46385f,_0x4a86b7._0x2fa072,0x578,_0x4a86b7._0x32f959)]});}catch(_0x193d42){_0x1b8f44(_0x193d42)||_0x5d9c1c(_0x570dbf=>({..._0x570dbf,'messages':_0x294100(_0x570dbf['messages'],_0x4cc1fa(0x255,0x245,0x279,0x233)+_0x340590(_0x193d42))}));}finally{_0x2f602f(_0x1ef72b,_0x35f375(0x5c2,0x5b6,_0x4a86b7._0x10084b,0x5f3));}},_0x5e6b36=async _0x2d42ad=>_0x36fe44[_0xa6bb1(0x513,0x54b,0x557,0x566)]['execute'](_0x2d42ad,{'appendUserMessage'(_0x198c3c){_0x5d9c1c(_0x3e1286=>({..._0x3e1286,'messages':_0x9dc659(_0x3e1286['messages'],_0x198c3c)}));},'appendInfoMessage'(_0x5bc9c5){const _0x1a87a6={_0x2ed6f6:0x19f};function _0x3b19ad(_0xb9a003,_0x2f69bd,_0x397ed2,_0x5386e1){return _0x1b77c1(_0x5386e1-0xd7,_0x2f69bd,_0x397ed2-_0x1a87a6._0x2ed6f6,_0x5386e1-0x89);}_0x5d9c1c(_0x4289bd=>({..._0x4289bd,'messages':_0x2ce89f(_0x4289bd[_0x3b19ad(0x6f,0x56,0x85,0x99)],_0x5bc9c5)}));},'appendErrorMessage'(_0x1fcf68){function _0x4212e5(_0x2c88db,_0x3fcf0e,_0x290229,_0x2d2659){return _0xa6bb1(_0x290229,_0x3fcf0e-0xcc,_0x2c88db- -0x66c,_0x2d2659-0x108);}_0x5d9c1c(_0x42b79b=>({..._0x42b79b,'messages':_0x294100(_0x42b79b[_0x4212e5(-0x164,-0x196,-0x183,-0x17f)],_0x1fcf68)}));},'setBusy'(_0x53aba8){_0x5d9c1c(_0x473afa=>({..._0x473afa,'busy':_0x53aba8}));},'mainAgent':_0x36fe44[_0xa6bb1(0x55a,0x505,0x545,0x523)],'resetSession'(){const _0x177f46={_0x120d61:0x4,_0x22cda7:0x5e,_0x2ddde9:0x1c},_0x36d96f={_0x465238:0xed};function _0x389db5(_0x25c51d,_0x3ac1f5,_0x12d2bd,_0x29c425){return _0xa6bb1(_0x3ac1f5,_0x3ac1f5-_0x36d96f._0x465238,_0x25c51d- -0x16,_0x29c425-0x50);}function _0xb6f939(_0x56c788,_0x1c107d,_0x43d43d,_0x10a518){return _0xa6bb1(_0x1c107d,_0x1c107d-0x15b,_0x10a518- -_0xaa21cb._0x5c0723,_0x10a518-0x16a);}_0x52b803?.['abort'](new Error(_0xb6f939(_0x14ca38._0x3175e7,_0x14ca38._0x18d30d,0x282,_0x14ca38._0x17ef1a))),_0x52b803=null,_0x461573('New\x20session\x20started\x20before\x20approval\x20could\x20be\x20resolved.',!0x1),_0x36fe44[_0xb6f939(0x288,0x2c9,0x285,0x2bd)][_0x389db5(0x4f9,0x4c2,0x53d,_0x14ca38._0xff2602)][_0xb6f939(0x2c7,_0x14ca38._0x14aa6d,0x270,_0x14ca38._0x3b58bb)](),_0x36fe44[_0x389db5(0x4d8,0x515,_0x14ca38._0x1d3847,_0x14ca38._0x21fcc0)][_0xb6f939(0x28e,0x27c,_0x14ca38._0x342a8e,_0x14ca38._0x21c54d)]()[_0xb6f939(0x269,_0x14ca38._0x3a4e5c,_0x14ca38._0x413a20,_0x14ca38._0x352ab9)](_0x1e8d26=>{const _0x142516={_0x314851:0x56b,_0x372778:0x8b,_0xebf0e6:0xb};function _0x2c57bb(_0x2c9bd0,_0x3a8d55,_0x33c6fe,_0x2126e0){return _0x389db5(_0x3a8d55- -_0x142516._0x314851,_0x2c9bd0,_0x33c6fe-_0x142516._0x372778,_0x2126e0-_0x142516._0xebf0e6);}_0x36fe44[_0x2c57bb(-_0x177f46._0x120d61,-0x34,-_0x177f46._0x22cda7,-_0x177f46._0x2ddde9)]['setSessionId'](_0x1e8d26);}),_0x36fe44[_0xb6f939(_0x14ca38._0x1da3dd,0x28a,_0x14ca38._0x17ee37,_0x14ca38._0x4c1132)][_0x389db5(0x531,_0x14ca38._0x562479,0x526,_0x14ca38._0x1d04fd)](_0x36fe44[_0xb6f939(0x2e4,_0x14ca38._0x3d99c9,0x282,_0x14ca38._0x87a47a)][_0x389db5(_0x14ca38._0x10352e,0x4a6,0x500,0x50d)],{'resetMessages':!0x0}),_0xcb2491[_0x389db5(0x4fe,0x4b9,0x52b,0x4c8)](),_0x5d9c1c(()=>D());},'runTurn':_0x3dda34}),_0x54edd6=(_0x406fb9,_0x5855a7)=>{const _0xff36e5={_0x3ba856:0x15d,_0x25af1d:0x304,_0x292b38:0x49};function _0x5dcf57(_0x513038,_0x2a9ccd,_0x1c4343,_0x22efc0){return _0x1b77c1(_0x513038-0xaf,_0x1c4343,_0x1c4343-0x96,_0x22efc0-_0x35b0a3._0x1b1016);}function _0x2ed66e(_0x35104d,_0x3c2cb4,_0x46a986,_0x5aeb36){return _0xa6bb1(_0x35104d,_0x3c2cb4-_0xff36e5._0x3ba856,_0x3c2cb4- -_0xff36e5._0x25af1d,_0x5aeb36-_0xff36e5._0x292b38);}_0x5d9c1c(_0x41d976=>({..._0x41d976,'messages':_0x334ceb(_0x41d976[_0x2ed66e(0x238,0x204,0x1c9,0x1e8)],_0x406fb9,_0x5855a7?.[_0x5dcf57(0x33,0x25,0x63,0x74)])}));},_0x33625d=(_0x3dab59,_0x38c4e1,_0x54772d)=>{const _0x447f3e={_0x583909:0xcc};function _0xf13231(_0x2bfa71,_0x571dcb,_0x213d37,_0x486508){return _0xa6bb1(_0x213d37,_0x571dcb-_0x447f3e._0x583909,_0x2bfa71- -0x467,_0x486508-0x1e9);}let _0x5cbd17=_0x38c4e1+':'+_0x3dab59['name'],_0x3d07ec=_0xcb2491[_0x28561c(-_0x2edcb6._0x2863fe,-0x199,-_0x2edcb6._0xdd0cd7,-_0x2edcb6._0x24814b)](_0x5cbd17)||_0x1dea6c(_0x3dab59[_0xf13231(0xe7,_0x2edcb6._0x40a3b0,0x10e,0xf1)])?_0xf13231(0xb2,0x94,0x85,_0x2edcb6._0x409101):_0xf13231(_0x2edcb6._0x20cfed,0x11a,_0x2edcb6._0x45c2ac,0xd5);function _0x28561c(_0x413bbc,_0xef6422,_0x1922a7,_0x5e5ad1){return _0x1b77c1(_0xef6422- -0x197,_0x413bbc,_0x1922a7-0x1e,_0x5e5ad1-_0x4b652c._0x32c9fd);}return _0x5d9c1c(_0x2e68fe=>({..._0x2e68fe,'messages':_0x526d18(_0x334ceb(_0x2e68fe['messages'],{'type':'tool_call','toolCall':_0x3dab59},_0x54772d),_0x3dab59['id'],_0x3d07ec)})),_0x3d07ec===_0xf13231(0xb2,_0x2edcb6._0x1fa32c,_0x2edcb6._0x3f7ca0,0x8b)?{'action':_0xf13231(0x85,0xc9,_0x2edcb6._0x32d966,_0x2edcb6._0x2ba31b)}:new Promise(_0x291c58=>{_0x5d9c1c(_0x5b8ce6=>({..._0x5b8ce6,'approval':_0x5f49bc(_0x5b8ce6['approval'],{'agentId':_0x38c4e1,'resolve':_0x291c58,'toolCall':_0x3dab59})}));});},_0x3a0d27=_0x36fe44[_0xa6bb1(_0x18e399._0x8027de,_0x18e399._0x1a2bdd,0x52b,0x530)][_0xa6bb1(_0x18e399._0x5c8e63,0x51f,_0x18e399._0x35f737,0x51b)](({event:_0x576dec,scope:_0x4e8e82})=>_0x54edd6(_0x576dec,_0x4e8e82));_0x36fe44[_0x1b77c1(-0x1b,-_0x18e399._0x39e49f,_0x18e399._0x5beea3,0x2d)]['setToolDecider'](_0x48d9b2=>_0x33625d(_0x48d9b2[_0x1b77c1(-0x6b,-0x39,-0x43,-0x55)],_0x48d9b2[_0xa6bb1(0x51e,0x527,0x505,0x520)],_0x48d9b2[_0xa6bb1(0x499,0x4af,0x4ca,0x4c0)]));let _0x498641=_0x36fe44['configManager'][_0x1b77c1(-0x1f,-_0x18e399._0x508a92,_0x18e399._0x350c9e,0xe)](()=>{const _0x4fcdaf={_0x207bad:0x113};function _0x23feba(_0x217286,_0x166345,_0x552767,_0xb189c2){return _0x1b77c1(_0x166345- -_0x4fcdaf._0x207bad,_0x217286,_0x552767-0xc3,_0xb189c2-0xb1);}let _0x4b9482=_0x36fe44['buildChatModel']();function _0x438be0(_0x148b12,_0x49df82,_0x152a26,_0x4bdc5f){return _0xa6bb1(_0x152a26,_0x49df82-0x2a,_0x148b12- -_0x2bcee6._0x59581e,_0x4bdc5f-0x1c9);}_0x36fe44[_0x23feba(-0x12a,-_0x15c238._0x4d8fc,-0xd3,-0xcd)][_0x438be0(0x16a,_0x15c238._0x52ece4,0x150,0x168)](_0x4b9482[_0x438be0(_0x15c238._0x5b47c9,0x164,0x122,0x183)]),_0x50b1c9=_0x4b9482[_0x23feba(-0x161,-_0x15c238._0x2c7765,-_0x15c238._0x3d9baa,-0x1bb)],_0x19c5b5();});return{'abort'(){_0x52b803?.['abort'](new Error('User\x20aborted\x20the\x20current\x20turn.'));},'close'(){const _0x4da76d={_0x3f01a1:0x1b0};function _0x548a14(_0x4a0b8d,_0x21c0fe,_0x477789,_0x4dacae){return _0x1b77c1(_0x21c0fe- -0x4f,_0x4dacae,_0x477789-0x3a,_0x4dacae-_0x4da76d._0x3f01a1);}function _0x36ff2b(_0x5e5e5b,_0x1d415c,_0x1a6cee,_0x5bc249){return _0xa6bb1(_0x1d415c,_0x1d415c-_0x394dd6._0x26cfdb,_0x1a6cee- -_0x394dd6._0x507938,_0x5bc249-0x9d);}_0x2b0569||(_0x2b0569=!0x0,_0x52b803?.[_0x36ff2b(-0xac,-0x5e,-0xa8,-_0x332b19._0x35cd70)](new Error(_0x36ff2b(-0x99,-0xde,-0xa3,-_0x332b19._0x1a61fa))),_0x3a0d27(),_0x498641(),_0x36fe44[_0x548a14(-_0x332b19._0xefd2c6,-_0x332b19._0x2ce527,-_0x332b19._0x1207d8,-_0x332b19._0x343ee4)][_0x548a14(-0x3f,-0x64,-0x6c,-0x6c)](null),_0x36fe44['close']()[_0x548a14(-_0x332b19._0x1fbb2f,-_0x332b19._0x1f12e6,-0xe2,-_0x332b19._0x1de53e)](()=>{}));},'decideApproval'(_0x4c6de5,_0x4de884){function _0xd24b8(_0x584fe0,_0x3a0526,_0x5be816,_0x28648e){return _0x1b77c1(_0x3a0526-_0x37cde3._0xce21e9,_0x28648e,_0x5be816-0xf1,_0x28648e-0xed);}let _0x420289=_0x4b37eb[_0x143f46(-0x105,-0xf3,-0xf2,-0xcc)][_0xd24b8(0xca,0xb2,0x89,0xcb)];if(!_0x420289)return;_0x4c6de5==='a'&&_0xcb2491[_0x143f46(-0xed,-0x12b,-_0x18e3f3._0x420fe3,-0x103)](_0x420289['agentId']+':'+_0x420289[_0x143f46(-0x164,-_0x18e3f3._0x5871a4,-0x190,-_0x18e3f3._0x374806)][_0x143f46(-0xf1,-_0x18e3f3._0xf0da48,-_0x18e3f3._0x4559ad,-_0x18e3f3._0xb704e3)]);let _0x4eaac3=_0x4c6de5==='n',_0x53c9aa=_0x4eaac3?_0x143f46(-0x165,-_0x18e3f3._0x54c40c,-_0x18e3f3._0x45c1aa,-_0x18e3f3._0x4b8c7d):_0x143f46(-0x126,-0x151,-_0x18e3f3._0x182210,-0x14f);function _0x143f46(_0x29a297,_0x55aa50,_0x1bf982,_0x96ae1d){return _0xa6bb1(_0x55aa50,_0x55aa50-0x174,_0x29a297- -0x63f,_0x96ae1d-_0x5a41e6._0x563ce5);}if(_0x5d9c1c(_0x4fa105=>_0x4fa105['approval'][_0xd24b8(0xd2,0xb2,0x9f,0xc6)]!==_0x420289?_0x4fa105:{..._0x4fa105,'messages':_0x526d18(_0x4fa105[_0x143f46(-0x137,-0x144,-0xf3,-0xf8)],_0x420289[_0xd24b8(0x15,0x54,0x39,0x3b)]['id'],_0x53c9aa),'approval':_0x1dc132(_0x4fa105[_0x143f46(-0x105,-0x132,-0x129,-0x12d)])}),_0x4eaac3){let _0x278909='User\x20rejected\x20tool\x20execution\x20('+_0x420289[_0x143f46(-0x164,-_0x18e3f3._0x5f391c,-_0x18e3f3._0x344c43,-_0x18e3f3._0x4cac2b)]['name']+')';_0x420289[_0xd24b8(0xc5,0x8e,0x9d,0x7b)]({'action':'reject','reason':_0x4de884?_0x278909+':\x20'+_0x4de884:_0x278909});}else _0x420289['resolve']({'action':'run'});},'getSnapshot'(){const _0x16d4f0={_0x15be4c:0x3a8},_0x4df3f3={_0x3a3a61:0x162};function _0x2569a5(_0x11f820,_0x3019e3,_0x35025b,_0x21aa69){return _0xa6bb1(_0x3019e3,_0x3019e3-0x32,_0x35025b- -0x2a6,_0x21aa69-_0x4df3f3._0x3a3a61);}let _0x1cb9cb=_0x4b37eb[_0x2d1ae2(_0x123bc6._0x4861dd,_0x123bc6._0x3e9282,_0x123bc6._0x139dd8,_0x123bc6._0xdd725b)]['active'];function _0x2d1ae2(_0x4932a2,_0x4dc1fa,_0x14326d,_0x1505f1){return _0x1b77c1(_0x4dc1fa-_0x16d4f0._0x15be4c,_0x4932a2,_0x14326d-0x126,_0x1505f1-0x142);}return{'approval':{'active':_0x1cb9cb?{'agentId':_0x1cb9cb[_0x2569a5(_0x123bc6._0x18a624,_0x123bc6._0x229960,0x25f,0x238)],'input':_0x1cb9cb[_0x2d1ae2(0x375,_0x123bc6._0x15cd1e,_0x123bc6._0x15cd1e,0x311)][_0x2569a5(0x2b6,0x2a6,_0x123bc6._0x2e0cac,0x284)],'summary':_0x4bd38e(_0x1cb9cb[_0x2569a5(0x217,0x260,0x235,0x230)]['id'],_0x1cb9cb[_0x2d1ae2(0x308,0x33d,_0x123bc6._0x5afd14,0x366)]['input']),'toolCallId':_0x1cb9cb[_0x2569a5(0x25d,_0x123bc6._0x1388f0,_0x123bc6._0x363c44,0x277)]['id'],'toolName':_0x1cb9cb[_0x2569a5(0x20d,0x21e,0x235,0x258)][_0x2569a5(_0x123bc6._0x2f9c37,0x2b7,0x2a8,_0x123bc6._0x36f7c0)]}:null,'pendingCount':_0x4b37eb['approval'][_0x2d1ae2(_0x123bc6._0x542394,0x3a1,0x3c6,_0x123bc6._0x39817d)][_0x2d1ae2(_0x123bc6._0x505d30,0x385,0x397,_0x123bc6._0x1f604f)]},'approvalMode':_0x2569a5(0x211,0x214,0x24f,_0x123bc6._0xb5b057),'busy':_0x4b37eb['busy'],'cwd':_0x36fe44[_0x2d1ae2(_0x123bc6._0x278cbc,0x38f,_0x123bc6._0x1feb1f,0x3b3)],'messages':_0x4b37eb[_0x2d1ae2(_0x123bc6._0x1aa06d,_0x123bc6._0x5468b8,0x399,_0x123bc6._0x14257f)][_0x2569a5(0x2a4,_0x123bc6._0x2a035a,0x262,_0x123bc6._0x28db0d)],'modelName':_0x50b1c9};},async 'submit'(_0x5ad60f){const _0x4c1a8e={_0x1f2418:0x5};let _0x6189fd=_0x5ad60f['trim']();function _0x459213(_0x5cfd61,_0x1da47d,_0xe65d25,_0xa8a640){return _0xa6bb1(_0x1da47d,_0x1da47d-_0x4b5341._0x33d9e1,_0x5cfd61- -_0x4b5341._0x2d5eef,_0xa8a640-_0x4b5341._0x2f0346);}if(!_0x6189fd||_0x4b37eb[_0x459213(_0x35fd06._0x32cb51,0x249,0x248,_0x35fd06._0x2819fa)])return;_0x5d9c1c(_0x3b961d=>({..._0x3b961d,'busy':!0x0}));function _0x5d3d51(_0x3b8ec9,_0x3fb6d0,_0x2cf1d6,_0x352629){return _0xa6bb1(_0x352629,_0x3fb6d0-0xd6,_0x3fb6d0- -0x69d,_0x352629-_0x4c1a8e._0x1f2418);}let _0x253a7d;try{_0x253a7d=await _0x5e6b36(_0x6189fd);}catch(_0x407325){throw _0x5d9c1c(_0x422b6c=>({..._0x422b6c,'busy':!0x1})),_0x407325;}if(_0x253a7d[_0x5d3d51(-_0x35fd06._0x5131d8,-_0x35fd06._0x37f23d,-0x16c,-0x13c)]){_0x5d9c1c(_0x40adcb=>({..._0x40adcb,'busy':!0x1}));return;}_0x5d9c1c(_0x448c73=>({..._0x448c73,'messages':_0x9dc659(_0x448c73[_0x459213(0x1f4,0x1f8,0x1ce,0x1f0)],_0x6189fd)})),await _0x3dda34(_0x4c1294(_0x6189fd));},'newSession'(){const _0x3aab82={_0x19339d:0x1f4,_0x5bb7bb:0x219},_0x5da082={_0x408fe0:0x184,_0x25b1d3:0x407};function _0x416cd6(_0x2c7bf1,_0x3cfd27,_0x510250,_0x2f5703){return _0xa6bb1(_0x2c7bf1,_0x3cfd27-_0x5da082._0x408fe0,_0x3cfd27- -_0x5da082._0x25b1d3,_0x2f5703-0x1a2);}function _0x3eab00(_0x493fae,_0x258845,_0x24dc39,_0x3506e5){return _0x1b77c1(_0x24dc39-_0x1c6d6c._0x4115e1,_0x258845,_0x24dc39-_0x1c6d6c._0x2d2797,_0x3506e5-_0x1c6d6c._0x77e841);}_0x52b803?.[_0x416cd6(0x103,0xde,0x108,0xf1)](new Error(_0x416cd6(0x132,0x123,0xdc,0x167))),_0x52b803=null,_0x461573(_0x416cd6(0x10f,0xe0,_0x3f61fc._0x1a2f82,_0x3f61fc._0x562453),!0x1),_0x36fe44[_0x3eab00(0x56f,0x557,0x547,0x4fd)][_0x416cd6(0x177,_0x3f61fc._0x1b1133,0x108,0x14f)]()['then'](_0x5ec96f=>{const _0x442b82={_0x2a56ea:0xe7};function _0x5258b6(_0x22e52b,_0x4207b3,_0x54d5c4,_0x36ebe7){return _0x416cd6(_0x22e52b,_0x4207b3-0xb1,_0x54d5c4-_0x442b82._0x2a56ea,_0x36ebe7-0x18a);}_0x36fe44[_0x5258b6(_0x3aab82._0x19339d,0x1f7,_0x3aab82._0x5bb7bb,0x237)]['setSessionId'](_0x5ec96f);}),_0x36fe44[_0x416cd6(0x120,0x146,0x17f,_0x3f61fc._0x2b72b2)]['setSystemPrompt'](_0x36fe44['agent']['systemPrompt'],{'resetMessages':!0x0}),_0xcb2491[_0x3eab00(0x5a6,0x55b,_0x3f61fc._0x204676,_0x3f61fc._0x5dd653)](),_0x5d9c1c(()=>D());},'subscribe'(_0x197fdf){const _0x25c440={_0x1279a8:0xca,_0x41a16b:0x100},_0x287b8a={_0x48f7ab:0x176,_0x4f6d8e:0x203},_0x4d4a30={_0x27414e:0xa};function _0x57a471(_0x7f1ec1,_0x21f2fd,_0x301aa2,_0x44bb01){return _0x1b77c1(_0x44bb01-0x369,_0x21f2fd,_0x301aa2-_0x4d4a30._0x27414e,_0x44bb01-0x105);}return _0x16d9f8[_0x57a471(0x359,_0xc368fa._0x5bd024,_0xc368fa._0x533e5f,_0xc368fa._0x1fd6ce)](_0x197fdf),()=>{function _0x29618a(_0x2611e1,_0x1df69d,_0x1fcf1e,_0x541caa){return _0x57a471(_0x2611e1-_0x287b8a._0x48f7ab,_0x1fcf1e,_0x1fcf1e-0x59,_0x1df69d- -_0x287b8a._0x4f6d8e);}_0x16d9f8[_0x29618a(0xba,0xe9,_0x25c440._0x1279a8,_0x25c440._0x41a16b)](_0x197fdf);};}};}var ce='0.0.0.0',pe={'.css':'text/css;\x20charset=utf-8','.gif':_0x47316a(0x3fb,0x40e,0x452,0x454),'.html':_0x47316a(0x3c0,0x3f1,0x41b,0x3ea),'.ico':_0x47316a(0x3b1,0x3be,0x3ad,0x3d1),'.jpeg':'image/jpeg','.jpg':_0x47316a(0x3e7,0x3b7,0x3fa,0x3ea),'.js':_0x47316a(0x3c9,0x3e2,0x3d7,0x3f7),'.json':'application/json;\x20charset=utf-8','.map':_0x45f264(0xd1,0x92,0xa7,0xb5),'.png':_0x47316a(0x3d5,0x3e5,0x3b0,0x3d4),'.svg':_0x47316a(0x3ea,0x408,0x3dc,0x3cc),'.ttf':_0x45f264(0xb2,0x6f,0x90,0x3f),'.txt':_0x45f264(-0x2,0x45,0x46,0x28),'.wasm':_0x45f264(0x4e,0x33,0x67,-0x8),'.webp':'image/webp','.woff':_0x45f264(0x16,0x38,-0x5,-0x7),'.woff2':_0x47316a(0x3d0,0x3cf,0x400,0x3b7)};function de(){const _0x2da8f8={_0x83240e:0x104},_0x5de8eb={_0x394016:0xbb,_0x3a7551:0x49f};function _0x51e4c5(_0x31ca3b,_0x4ab5ba,_0x32118d,_0x3692ae){return _0x47316a(_0x31ca3b-_0x5de8eb._0x394016,_0x32118d- -_0x5de8eb._0x3a7551,_0x4ab5ba,_0x3692ae-0x1e5);}let _0x15ec84=_0x572e82(_0x55cd6a(import.meta.url));return _0x5d858f(_0x15ec84)===_0x51e4c5(-0xe1,-_0x2da8f8._0x83240e,-0xd5,-0xc8)?_0x572e82(_0x15ec84):_0x45a264(_0x15ec84,'../../..');}async function E(_0x866f07){try{return await _0x327828(_0x866f07),!0x0;}catch{return!0x1;}}async function ue(_0x1b8df9={}){const _0x4a99f7={_0x3c1908:0x224,_0x37c2ec:0x263,_0x5732fc:0x226,_0x56d65b:0x20d,_0x4da06e:0x216,_0x4869eb:0x20f,_0x230e75:0x48a,_0x250475:0x488,_0x5e0552:0x47d,_0x2a87cd:0x483,_0x3557c5:0x1cc,_0x3af7fd:0x1d0,_0x3fb4ab:0x1dc,_0x10dde3:0x1e2,_0x33e2fb:0x18c,_0x582ebd:0x1c2,_0x20bc38:0x19d,_0x12e65d:0x22d,_0x5db545:0x21a},_0x58ce1b={_0x1c3e67:0x1bc,_0x567acd:0x1ae},_0x451acd={_0x1d9203:0x1c8};let _0xb26fad=_0x1b8df9[_0x2ed65d(0x22f,_0x4a99f7._0x3c1908,0x219,_0x4a99f7._0x37c2ec)]?_0x45a264(_0x1b8df9[_0x2ed65d(0x253,_0x4a99f7._0x3c1908,0x1ef,0x1ed)]):de(),_0x35b218=_0x9a2a67(_0xb26fad,'dist',_0x2ed65d(_0x4a99f7._0x5732fc,_0x4a99f7._0x56d65b,_0x4a99f7._0x4da06e,_0x4a99f7._0x4869eb)),_0x216e0f=_0x9a2a67(_0x35b218,_0x2da205(0x455,_0x4a99f7._0x230e75,_0x4a99f7._0x250475,_0x4a99f7._0x5e0552));if(await E(_0x216e0f))return{'indexHtmlPath':_0x216e0f,'root':_0x35b218};function _0x2ed65d(_0x27a120,_0x3ea4c4,_0x30aa6b,_0x5057fb){return _0x47316a(_0x27a120-0x112,_0x3ea4c4- -_0x451acd._0x1d9203,_0x5057fb,_0x5057fb-0x144);}let _0x49586e=_0x9a2a67(_0xb26fad,'..',_0x2da205(0x461,0x49e,0x4ae,_0x4a99f7._0x2a87cd),_0x2ed65d(_0x4a99f7._0x3557c5,0x202,0x1e7,_0x4a99f7._0x3af7fd)),_0x145d30=_0x9a2a67(_0x49586e,_0x2ed65d(_0x4a99f7._0x3fb4ab,0x1f9,_0x4a99f7._0x10dde3,0x227));function _0x2da205(_0x4f3050,_0x141de5,_0x2851a6,_0xbb314c){return _0x45f264(_0x2851a6,_0x141de5-0x437,_0x2851a6-_0x58ce1b._0x1c3e67,_0xbb314c-_0x58ce1b._0x567acd);}if(await E(_0x145d30))return{'indexHtmlPath':_0x145d30,'root':_0x49586e};throw new Error(_0x2ed65d(_0x4a99f7._0x33e2fb,_0x4a99f7._0x582ebd,_0x4a99f7._0x20bc38,0x1eb)+_0x216e0f+_0x2ed65d(_0x4a99f7._0x12e65d,0x225,_0x4a99f7._0x5db545,0x1f4)+_0x145d30+'.\x20Run\x20the\x20web\x20build\x20first.');}function me(_0x54e85d){const _0x281e36={_0x3d4545:0xf};return new Promise((_0x27a939,_0x96c3e8)=>{function _0x3aa886(_0x30e8d0,_0x5e27be,_0x548014,_0x43da11){return _0x3958(_0x5e27be- -0x20b,_0x43da11);}if(!_0x54e85d['listening']){_0x27a939();return;}_0x54e85d[_0x3aa886(-_0x281e36._0x3d4545,0x2,-0x40,0x0)](_0x4079d9=>{_0x4079d9?_0x96c3e8(_0x4079d9):_0x27a939();});});}function T(_0x33b95e,_0x34e59b){const _0x5ae7e7={_0x526daa:0x7f,_0x3a4811:0x3b,_0x16d698:0x422,_0x1e9761:0x31,_0x1645b1:0x25,_0x34f974:0x13,_0x19e94d:0x42d,_0x2a1869:0x46b},_0x4a6fc8={_0x18f45e:0x8d,_0x1eb8c3:0x81},_0x5b8893={_0x3073eb:0xbd};function _0x63a21d(_0xbf0816,_0x305e14,_0x2944d9,_0x2ea5b9){return _0x45f264(_0x2944d9,_0xbf0816-0xa,_0x2944d9-_0x5b8893._0x3073eb,_0x2ea5b9-0x177);}function _0x383560(_0x4b366b,_0x18b002,_0x24c1c5,_0x5be8dd){return _0x47316a(_0x4b366b-0x90,_0x24c1c5-_0x4a6fc8._0x18f45e,_0x5be8dd,_0x5be8dd-_0x4a6fc8._0x1eb8c3);}_0x33b95e[_0x63a21d(_0x5ae7e7._0x526daa,0x38,0xae,_0x5ae7e7._0x3a4811)]===_0x3dff16[_0x383560(_0x5ae7e7._0x16d698,0x438,0x465,0x425)]&&_0x33b95e[_0x63a21d(_0x5ae7e7._0x1e9761,0x4f,_0x5ae7e7._0x1645b1,_0x5ae7e7._0x34f974)](JSON[_0x383560(0x425,_0x5ae7e7._0x19e94d,0x45a,_0x5ae7e7._0x2a1869)](_0x34e59b));}function P(_0x2ebe32,_0x46b381,_0x551656){const _0x5b878a={_0x25dd06:0x10e,_0x53c13a:0x133,_0xe0ae4a:0x154,_0x437962:0x14a,_0x5ba1cd:0x181,_0x20fe8f:0x2f4},_0x44f1c7={_0x28b040:0x44},_0x5e5aaa={_0x36f87c:0x199,_0x1a982f:0x1bf,_0x4bbc83:0xb};function _0x306f09(_0x31638b,_0x5dcb34,_0x4d24b1,_0x3e5eae){return _0x45f264(_0x4d24b1,_0x31638b- -_0x5e5aaa._0x36f87c,_0x4d24b1-_0x5e5aaa._0x1a982f,_0x3e5eae-_0x5e5aaa._0x4bbc83);}function _0x28e7e2(_0x1c614b,_0xa6da09,_0x278c10,_0xb79076){return _0x45f264(_0xa6da09,_0xb79076-0x288,_0x278c10-_0x44f1c7._0x28b040,_0xb79076-0x165);}_0x2ebe32[_0x306f09(-_0x5b878a._0x25dd06,-_0x5b878a._0x53c13a,-0xc6,-0xe7)](_0x46b381,{'Content-Type':_0x306f09(-_0x5b878a._0xe0ae4a,-0x12c,-_0x5b878a._0x437962,-_0x5b878a._0x5ba1cd)}),_0x2ebe32[_0x28e7e2(0x2b7,0x2af,0x330,_0x5b878a._0x20fe8f)](_0x551656);}function ge(_0x2f4b27,_0xd060b0){const _0x33822a={_0x51bff8:0xbe,_0x1cfc02:0xf3,_0x544d7e:0xda,_0x43e439:0xd1,_0xf9e24e:0xe6,_0x2e2796:0xdf,_0x2a241d:0xa7,_0x4c6afd:0xe1,_0x660004:0xda,_0x55a7c1:0xcf},_0x30bd22={_0x14ebf1:0x167},_0x16c615={_0x445acc:0x80};function _0x2c82d8(_0x2b0b7c,_0x295889,_0xeb1fa,_0x2a5ef0){return _0x47316a(_0x2b0b7c-0x194,_0xeb1fa- -0x8,_0x2a5ef0,_0x2a5ef0-_0x16c615._0x445acc);}function _0xa3ce39(_0x5c67e2,_0x3a79a8,_0x5e2a7a,_0x1450ec){return _0x45f264(_0x5c67e2,_0x5e2a7a-0x80,_0x5e2a7a-0x165,_0x1450ec-_0x30bd22._0x14ebf1);}let _0x5328e9=_0xd060b0==='/'?'/index.html':decodeURIComponent(_0xd060b0),_0x1b961c=_0x556ede(_0x9a2a67(_0x2f4b27[_0xa3ce39(_0x33822a._0x51bff8,_0x33822a._0x1cfc02,_0x33822a._0x544d7e,0xe5)],_0x5328e9));return _0x2106fa(_0x2f4b27['root'],_0x1b961c)[_0xa3ce39(0xfd,_0x33822a._0x43e439,_0x33822a._0xf9e24e,_0x33822a._0x2e2796)]('..')||_0x45a264(_0x1b961c)===_0x45a264(_0x2f4b27[_0xa3ce39(_0x33822a._0x2a241d,_0x33822a._0x4c6afd,_0x33822a._0x660004,_0x33822a._0x55a7c1)])?_0x2f4b27['indexHtmlPath']:_0x1b961c;}function _0x47316a(_0x2bdf01,_0x26c1ff,_0x1a57fb,_0x4aae17){const _0x16db91={_0x5bbe78:0x1b6};return _0x3958(_0x26c1ff-_0x16db91._0x5bbe78,_0x1a57fb);}async function fe(_0x120c41,_0x3bc70c,_0x4cbe5b){const _0x1ce551={_0x344d0a:0xd6,_0x28e190:0xdb,_0x59eca5:0x104,_0x186cfb:0x84,_0x351d6d:0x4e,_0x51a40c:0x38,_0x344c65:0x70,_0x10952b:0x123,_0x390eee:0xed,_0x1190b1:0x18,_0x11d471:0x39,_0x4aae7b:0x2e,_0x42100f:0x62,_0x2614e1:0xa2,_0x1b5e2c:0xf1,_0x112bdf:0x89,_0x4bc86c:0x8b},_0x303879={_0x3659d5:0x290,_0x4dbd62:0x2d8,_0x5d374f:0x2b1,_0x474e46:0x348,_0x2c910b:0x377,_0x23d1c7:0x37e,_0x15d1de:0x2fb,_0x5e747a:0x2e2,_0x1df8a9:0x2f1},_0x566a7f={_0x2d7c60:0x1ca,_0x7c8120:0x1ae},_0x2e5a68={_0xf1bc8:0xd3,_0x2df41e:0x4af};if(!_0x3bc70c){P(_0x4cbe5b,0x190,_0x5ba0b4(-0xf4,-0xdf,-0xf5,-0xd8));return;}if(!_0x3bc70c[_0x5ba0b4(-0xdb,-_0x1ce551._0x344d0a,-0x11c,-0xe2)]('/')||_0x3bc70c[_0x5ba0b4(-_0x1ce551._0x28e190,-_0x1ce551._0x59eca5,-0x9b,-0xac)]('//')){P(_0x4cbe5b,0x190,_0x25efb2(-_0x1ce551._0x186cfb,-0x75,-_0x1ce551._0x351d6d,-0x54));return;}function _0x5ba0b4(_0x5da553,_0x2a049f,_0x5382d9,_0x1e2976){return _0x47316a(_0x5da553-_0x2e5a68._0xf1bc8,_0x5da553- -_0x2e5a68._0x2df41e,_0x5382d9,_0x1e2976-0x195);}let _0x247e2a=new URL(_0x3bc70c,_0x25efb2(-0x48,-0x3c,-_0x1ce551._0x51a40c,-_0x1ce551._0x344c65)),_0x1957d8=ge(_0x120c41,_0x247e2a['pathname']),_0x4e0011=await E(_0x1957d8)?_0x1957d8:_0x120c41[_0x5ba0b4(-0x112,-0xd7,-_0x1ce551._0x10952b,-_0x1ce551._0x390eee)];if(!(await _0x400133(_0x4e0011))['isFile']()){P(_0x4cbe5b,0x194,_0x25efb2(-_0x1ce551._0x1190b1,-_0x1ce551._0x11d471,-_0x1ce551._0x4aae7b,-_0x1ce551._0x42100f));return;}_0x4cbe5b[_0x5ba0b4(-0xb6,-_0x1ce551._0x2614e1,-0x82,-_0x1ce551._0x1b5e2c)](0xc8,{'Content-Type':pe[_0x321cdc(_0x4e0011)]??'application/octet-stream'});function _0x25efb2(_0x494ef8,_0x111292,_0x1a4496,_0x43c3b3){return _0x47316a(_0x494ef8-_0x566a7f._0x2d7c60,_0x43c3b3- -0x40f,_0x494ef8,_0x43c3b3-_0x566a7f._0x7c8120);}let _0x1f8f29=_0x51ed60(_0x4e0011);_0x1f8f29['on'](_0x25efb2(-_0x1ce551._0x112bdf,-0x8a,-_0x1ce551._0x4bc86c,-0x7d),_0x2b797a=>{const _0x3dea7e={_0x5d65b0:0x1a2},_0x49ef76={_0x53678f:0xd0,_0xc9ac18:0x364};if(_0x4cbe5b[_0x1f5c47(0x2bf,_0x303879._0x3659d5,_0x303879._0x4dbd62,_0x303879._0x5d374f)]){_0x4cbe5b[_0x1f5c47(_0x303879._0x474e46,0x343,0x354,_0x303879._0x2c910b)](_0x2b797a);return;}function _0x1f5c47(_0x16d047,_0x4d5d1a,_0x40dc01,_0x517b8e){return _0x25efb2(_0x4d5d1a,_0x4d5d1a-_0x49ef76._0x53678f,_0x40dc01-0x1d4,_0x40dc01-_0x49ef76._0xc9ac18);}function _0x1c578e(_0xc5406c,_0x557123,_0xf1496c,_0x30406a){return _0x25efb2(_0xc5406c,_0x557123-0x1c1,_0xf1496c-_0x3dea7e._0x5d65b0,_0x557123-0x396);}P(_0x4cbe5b,0x1f4,_0x1f5c47(0x34b,0x39c,0x35e,_0x303879._0x23d1c7)+_0x2b797a[_0x1f5c47(_0x303879._0x15d1de,0x32a,_0x303879._0x5e747a,_0x303879._0x1df8a9)]);}),_0x1f8f29['pipe'](_0x4cbe5b);}function ve(_0x2edbc5){const _0x43a461={_0x1c6406:0x10d,_0x197330:0x100,_0x53e8c8:0x13b,_0xe06a1e:0xa3,_0x4050aa:0xdf,_0x48ba81:0xe1,_0x2b346a:0x10d,_0x5db579:0x116,_0x76da7d:0x127,_0x50ac9b:0x18a,_0x8ed70d:0x199,_0x4ff946:0x15d,_0x406ce1:0x190,_0x1b565b:0xfe,_0x117dfd:0x15b,_0x1ac761:0x1be,_0xe4e86e:0x19e,_0xed801f:0x174,_0xe02439:0x160,_0x3e5c4f:0xba,_0x549631:0x11b,_0x42119e:0x119,_0x40fab1:0x13c,_0x3f507f:0x179,_0x1d8df9:0x118,_0x522490:0x132,_0x405db5:0x10f,_0x196f3a:0x180,_0x776264:0x183,_0x3aea54:0x1b4,_0x512c1c:0x169},_0x3e996a={_0x2e406a:0x1b5},_0x2d2053={_0x3201f6:0x15a};function _0x3a56cd(_0x43c900,_0x684cd2,_0x23c7d2,_0x5c2a9b){return _0x45f264(_0x43c900,_0x23c7d2-0xb9,_0x23c7d2-0x178,_0x5c2a9b-_0x2d2053._0x3201f6);}if(!_0x2edbc5||typeof _0x2edbc5!='object')return!0x1;function _0x24a5c6(_0xf8abae,_0x3a6699,_0x54169d,_0x3f7fcd){return _0x47316a(_0xf8abae-_0x3e996a._0x2e406a,_0x3f7fcd- -0x259,_0x54169d,_0x3f7fcd-0x76);}let _0x30caa0=_0x2edbc5;return _0x30caa0[_0x24a5c6(_0x43a461._0x1c6406,0xf9,_0x43a461._0x197330,_0x43a461._0x53e8c8)]==='submit'?_0x3a56cd(_0x43a461._0xe06a1e,_0x43a461._0x4050aa,_0x43a461._0x48ba81,_0x43a461._0x2b346a)in _0x30caa0&&typeof _0x30caa0[_0x24a5c6(0x185,_0x43a461._0x5db579,_0x43a461._0x76da7d,0x13d)]==_0x24a5c6(_0x43a461._0x50ac9b,_0x43a461._0x8ed70d,_0x43a461._0x4ff946,_0x43a461._0x406ce1):_0x30caa0[_0x3a56cd(0xd5,_0x43a461._0x1b565b,0xdf,0xff)]===_0x24a5c6(_0x43a461._0x117dfd,_0x43a461._0x1ac761,0x1ac,_0x43a461._0xe4e86e)?_0x30caa0[_0x24a5c6(_0x43a461._0xed801f,0x19e,0x148,_0x43a461._0xe02439)]==='a'||_0x30caa0[_0x3a56cd(0xf0,_0x43a461._0x3e5c4f,0x104,_0x43a461._0x549631)]==='n'||_0x30caa0['decision']==='y':_0x30caa0[_0x24a5c6(0xf5,_0x43a461._0x42119e,_0x43a461._0x40fab1,_0x43a461._0x53e8c8)]===_0x24a5c6(_0x43a461._0x3f507f,0x142,_0x43a461._0x1d8df9,0x149)||_0x30caa0[_0x24a5c6(_0x43a461._0x522490,_0x43a461._0x405db5,_0x43a461._0x196f3a,_0x43a461._0x53e8c8)]===_0x24a5c6(_0x43a461._0x776264,_0x43a461._0x3aea54,_0x43a461._0x512c1c,0x16e);}function be(_0x4d033b){const _0x51bd70={_0x13ee4f:0xae,_0xbf466c:0x6f,_0x35d5ed:0x38},_0xe99606={_0x2d78d2:0x35};function _0x642b(_0x10d731,_0x391410,_0x507f21,_0x30cd31){return _0x45f264(_0x391410,_0x507f21- -_0xe99606._0x2d78d2,_0x507f21-0x138,_0x30cd31-0xd3);}return!!(/^(10\.\d+\.\d+\.\d+|172\.(1[6-9]|2\d|3[01])\.\d+\.\d+|192\.168\.\d+\.\d+|100\.(6[4-9]|[7-9]\d|1[01]\d|12[0-7])\.\d+\.\d+)$/[_0x642b(_0x51bd70._0x13ee4f,0x91,_0x51bd70._0xbf466c,_0x51bd70._0x35d5ed)](_0x4d033b)||_0x4d033b['startsWith']('fd7a:115c:a1e0:'));}function Se(_0x36fd20){const _0x51866a={_0xe0a2f1:0x1dd,_0x1485de:0x187,_0x36559b:0x189},_0xfe4e2d={_0x163d89:0x71,_0x5f375c:0x11},_0x3b3550={_0x1c6d31:0x1e3};function _0x1ad175(_0xe032ce,_0x3b37e4,_0x36aedc,_0x31e2ed){return _0x47316a(_0xe032ce-0xb1,_0x31e2ed- -0x1d5,_0x36aedc,_0x31e2ed-_0x3b3550._0x1c6d31);}function _0x2b6d0c(_0x1e69e6,_0x291bb9,_0x26ec38,_0x584aed){return _0x47316a(_0x1e69e6-_0xfe4e2d._0x163d89,_0x1e69e6-0x139,_0x291bb9,_0x584aed-_0xfe4e2d._0x5f375c);}if(!_0x36fd20)return!0x0;try{let {hostname:_0x3e460e}=new URL(_0x36fd20);return _0x3e460e===_0x1ad175(0x230,_0x51866a._0xe0a2f1,0x20b,0x1eb)||_0x3e460e==='127.0.0.1'||_0x3e460e===_0x1ad175(0x1f0,_0x51866a._0x1485de,_0x51866a._0x36559b,0x1b0)||be(_0x3e460e);}catch{return!0x1;}}function he(_0x53a68d){const _0x11b48c={_0x53c166:0x181,_0x16d13a:0x1c8,_0x3dd476:0x1b5},_0x5c1093={_0x29c4df:0x15d};let _0x5e65ba;try{_0x5e65ba=JSON[_0x3dbe3f(-_0x11b48c._0x53c166,-_0x11b48c._0x16d13a,-0x1a2,-_0x11b48c._0x3dd476)](_0x53a68d[_0x3dbe3f(-0x1b2,-0x1a5,-0x1ab,-0x177)]());}catch{return null;}function _0x5d0a6a(_0x4b7c1f,_0x32787f,_0x153980,_0x1eebc5){return _0x45f264(_0x1eebc5,_0x153980-0x2fb,_0x153980-0x103,_0x1eebc5-0xe7);}function _0x3dbe3f(_0x567c13,_0x384e61,_0x629563,_0x1f35ca){return _0x45f264(_0x384e61,_0x1f35ca- -0x1e2,_0x629563-0x1be,_0x1f35ca-_0x5c1093._0x29c4df);}return ve(_0x5e65ba)?_0x5e65ba:null;}async function ye(_0x291459,_0x5c07e9,_0x25e38b){const _0x2db9b6={_0x4e337c:0x53f,_0x2443ee:0x5a2,_0x371169:0xf0,_0x1033fb:0x12c,_0x5eef3b:0xe4,_0x2c2133:0xe8,_0x527a1d:0x560,_0x492bf2:0x57b,_0x556391:0x56c,_0x324e65:0x106,_0x43bbdd:0xb8,_0x3f5405:0x599,_0x55efdd:0x58d,_0x380d4f:0x5cd,_0x2c73bd:0xc6,_0x3c7d43:0xc0,_0x452a52:0xf2,_0x2a15c7:0xd0,_0x330314:0x125,_0x559634:0xcf,_0x220ab2:0xb2,_0x4a2343:0xb5},_0x5b1da1={_0x2585ab:0x1bc},_0x2be676={_0x3d7cce:0x64,_0x153a1c:0x479};let _0x1051fa=he(_0x25e38b);function _0x511575(_0x25720c,_0x52c288,_0x274c77,_0x15f976){return _0x47316a(_0x25720c-_0x2be676._0x3d7cce,_0x25720c- -_0x2be676._0x153a1c,_0x274c77,_0x15f976-0xf);}if(!_0x1051fa){T(_0x5c07e9,{'type':'error','message':_0xe31f56(0x566,_0x2db9b6._0x4e337c,0x558,_0x2db9b6._0x2443ee)});return;}if(_0x1051fa[_0x511575(-0xe5,-0xd9,-_0x2db9b6._0x371169,-_0x2db9b6._0x1033fb)]===_0x511575(-0xba,-_0x2db9b6._0x5eef3b,-0xd3,-_0x2db9b6._0x2c2133)){await _0x291459[_0xe31f56(_0x2db9b6._0x527a1d,0x56b,_0x2db9b6._0x492bf2,_0x2db9b6._0x556391)](_0x1051fa[_0x511575(-0xe3,-0xf0,-0x108,-_0x2db9b6._0x324e65)]);return;}if(_0x1051fa[_0x511575(-0xe5,-0xbe,-_0x2db9b6._0x43bbdd,-0x101)]===_0xe31f56(_0x2db9b6._0x3f5405,_0x2db9b6._0x55efdd,0x5b3,_0x2db9b6._0x380d4f)){_0x291459[_0x511575(-0x93,-0x5b,-0x6f,-_0x2db9b6._0x2c73bd)](_0x1051fa[_0x511575(-_0x2db9b6._0x3c7d43,-0xc1,-_0x2db9b6._0x452a52,-_0x2db9b6._0x2a15c7)],_0x1051fa['comment']);return;}if(_0x1051fa[_0x511575(-0xe5,-0x10a,-_0x2db9b6._0x330314,-_0x2db9b6._0x559634)]===_0x511575(-_0x2db9b6._0x220ab2,-0x84,-_0x2db9b6._0x4a2343,-0x7b)){_0x291459['newSession']();return;}function _0xe31f56(_0x3fc02a,_0x10968f,_0xf25ebf,_0x1dfaf8){return _0x47316a(_0x3fc02a-0x179,_0xf25ebf-_0x5b1da1._0x2585ab,_0x1dfaf8,_0x1dfaf8-0x6d);}_0x291459['abort']();}async function $e(_0x4c23b9){const _0xf02ce9={_0xf40804:0x344,_0x5cacda:0x32a,_0x22c245:0x353,_0x3ea5b1:0x328,_0xb4fe95:0x35b,_0x36c6c0:0x34b,_0x24ef93:0x375,_0x1ca61f:0x37e,_0x90119c:0x374,_0xffaf53:0x376,_0x5151ae:0x31f,_0x1205b0:0x338,_0x1af7fa:0x309,_0x1e2587:0x32e,_0x5ae314:0x38b,_0x31f502:0x36a,_0x1c05e1:0x35c,_0x317068:0x312,_0x467b18:0x33b,_0x19d6ec:0x31e,_0x17e9a5:0x37d,_0x39f942:0x38d,_0x3abac0:0x32d,_0x50b9ff:0x326,_0x1a7889:0x31b},_0x4976c4={_0x3706c6:0x198,_0x2d2d87:0x200},_0x22f229={_0x26907f:0x108},_0x5405f5={_0x4a1c7b:0x191,_0x30d11d:0x1b2},_0x40cc51={_0x47ddfa:0x5e6,_0x47b0df:0x5f1,_0x2aba05:0x5c4,_0x1b001b:0x5fb,_0x2a549a:0x5ee,_0x330421:0x5eb,_0x13cf5c:0x5ac,_0x28d10b:0x605},_0x43aab5={_0x1c451e:0x95,_0x4ee953:0xc0},_0x3f681e={_0x40c27f:0x159,_0xf3f668:0x159,_0x3b2bf1:0x2b8,_0x1ebf0f:0x2d5,_0x4b5d84:0x316,_0x49aaef:0x169,_0x3697cf:0x17b,_0x3413b1:0x19b},_0x2cce8a={_0x4fe29c:0x4ef,_0x41347b:0x46c},_0x328844={_0x11b929:0x3aa,_0x51b1bb:0x36b,_0x2df32e:0x3ab,_0xdcf2f2:0x3c4,_0x3f180a:0x364,_0x17f66f:0x3f2,_0x54a77e:0x3ed,_0x232e29:0x3a4,_0x2e385d:0x39c,_0x5b20f2:0x3e1,_0x43a723:0x3f3,_0x1f60c1:0x3c3,_0x2505eb:0x370,_0x44632d:0x36a,_0x9b4f78:0x377,_0x4fdbba:0x365,_0x17ae63:0x3ce,_0x167aec:0x38e,_0x194fa3:0x3a9,_0x3f72f2:0x393,_0x524bef:0x33a},_0x4c8b05={_0x234483:0x2e6,_0x518513:0x311,_0x2e59b8:0x2bb,_0x48b553:0x2f0,_0x45bc98:0x2fa},_0x1d96bb={_0x354089:0x5aa,_0x9a98e8:0x5cd,_0x25a40d:0x5e4},_0x4a8bff={_0x133bfb:0x1bc},_0x547bc3={_0x162441:0x4c6,_0x3b6ef9:0x4d6,_0x295d68:0x415},_0x1f45c1={_0x189453:0xdc};function _0x4efa6d(_0x4986d0,_0x129810,_0x441876,_0x4dd0c4){return _0x45f264(_0x4dd0c4,_0x441876-0x2e5,_0x441876-_0x1f45c1._0x189453,_0x4dd0c4-0xc3);}let _0x109860=_0x4c23b9[_0x5b4598(_0xf02ce9._0xf40804,_0xf02ce9._0x5cacda,_0xf02ce9._0x22c245,0x327)]??await ue(),_0x123237=(_0x4c23b9['createSession']??G)(_0x4c23b9['runtime']),_0x3f3847=new Set(),_0x3e3836=_0x24d02d((_0x2fabed,_0x55bf24)=>{const _0x5e9c8c={_0x3ea893:0x4e6,_0x7d2836:0x50a,_0x135ab8:0x53d},_0x14cc43={_0x32e42e:0x338},_0x4b1a8c={_0x51d117:0x1ec};function _0x33bdbb(_0x5b08bc,_0x1cbe6c,_0x2a3fc6,_0x1b9e9c){return _0x5b4598(_0x2a3fc6,_0x1cbe6c-0x80,_0x2a3fc6-_0x4b1a8c._0x51d117,_0x1b9e9c-0x12b);}function _0x515b6b(_0x2148f9,_0xc97dc0,_0xa69340,_0x6c320f){return _0x5b4598(_0x6c320f,_0xc97dc0-0x144,_0xa69340-0x86,_0xa69340- -_0x14cc43._0x32e42e);}fe(_0x109860,_0x2fabed[_0x33bdbb(_0x547bc3._0x162441,0x4af,0x4e7,_0x547bc3._0x3b6ef9)],_0x55bf24)[_0x33bdbb(0x431,_0x547bc3._0x295d68,0x466,0x45b)](_0x1b857a=>{const _0x5aa846={_0x393b79:0x153};function _0xf55b2f(_0x230141,_0x4ddabf,_0x5acb28,_0x552f6d){return _0x515b6b(_0x230141-0x1c5,_0x4ddabf-0x46,_0x5acb28-0x521,_0x552f6d);}function _0x4d0a23(_0x3a4fe5,_0x1898fd,_0x3908d3,_0x59c0ca){return _0x515b6b(_0x3a4fe5-0x1a6,_0x1898fd-_0x5aa846._0x393b79,_0x1898fd-0x552,_0x3908d3);}let _0x155b5e=_0x1b857a instanceof Error?_0x1b857a[_0xf55b2f(0x55e,0x51e,0x515,_0x5e9c8c._0x3ea893)]:String(_0x1b857a);P(_0x55bf24,0x1f4,_0x4d0a23(_0x5e9c8c._0x7d2836,_0x5e9c8c._0x135ab8,0x529,0x576)+_0x155b5e);});}),_0x41c0a8=new _0x50fc61({'noServer':!0x0}),_0x3b6017=()=>{const _0x4805b2={_0x3d5551:0x44};let _0x4acd6d={'type':_0x44ceb2(0x5bb,0x5db,_0x1d96bb._0x354089,0x5b0),'state':_0x123237[_0x44ceb2(0x5a5,_0x1d96bb._0x9a98e8,_0x1d96bb._0x25a40d,0x5b5)]()};function _0x44ceb2(_0x4914ea,_0x6d474e,_0x20caf1,_0x48d03b){return _0x5b4598(_0x48d03b,_0x6d474e-0x139,_0x20caf1-_0x4a8bff._0x133bfb,_0x6d474e-0x280);}function _0xc3225a(_0x25e83c,_0x29e7d9,_0x5d8738,_0x57fe7c){return _0x5b4598(_0x5d8738,_0x29e7d9-0x115,_0x5d8738-_0x4805b2._0x3d5551,_0x25e83c- -0x28d);}for(let _0x1a2f69 of _0x3f3847)T(_0x1a2f69,_0x4acd6d);},_0xcfd30b=_0x123237[_0x4efa6d(0x38e,_0xf02ce9._0x3ea5b1,_0xf02ce9._0xb4fe95,0x38e)](_0x3b6017);_0x41c0a8['on'](_0x5b4598(0x339,0x317,0x382,_0xf02ce9._0x36c6c0),_0x13c38c=>{const _0xd25df9={_0x58aad9:0x29c,_0x7c0ac7:0x27f,_0x18774d:0x28f},_0x2f60c0={_0x10be02:0xbd},_0x19b52a={_0x489b30:0x12};function _0xa49ddb(_0x1206a5,_0x4671cb,_0x253019,_0x36cb77){return _0x5b4598(_0x1206a5,_0x4671cb-0x133,_0x253019-0x76,_0x253019- -0x3c);}function _0x433c1e(_0x44ddfb,_0x212961,_0x1219d2,_0x4bc58d){return _0x5b4598(_0x1219d2,_0x212961-0xb9,_0x1219d2-0xbc,_0x212961-_0x19b52a._0x489b30);}_0x3f3847['add'](_0x13c38c),T(_0x13c38c,{'type':'snapshot','state':_0x123237[_0xa49ddb(0x2f7,_0x4c8b05._0x234483,_0x4c8b05._0x518513,0x2e0)]()}),_0x13c38c['on'](_0xa49ddb(0x311,_0x4c8b05._0x2e59b8,_0x4c8b05._0x48b553,_0x4c8b05._0x45bc98),_0x29f9ec=>{ye(_0x123237,_0x13c38c,_0x29f9ec)['catch'](_0x4cf036=>{const _0x141c0f={_0x134eff:0x2ea},_0x22dc13={_0x4beb35:0x2c7};function _0x20eaa5(_0x2e544a,_0x4cf7c1,_0x298352,_0x20f6ba){return _0x3958(_0x298352- -_0x22dc13._0x4beb35,_0x4cf7c1);}let _0x3b7628=_0x4cf036 instanceof Error?_0x4cf036[_0x20eaa5(-0xe8,-0xeb,-0xf0,-0xc6)]:String(_0x4cf036);function _0x257d7e(_0x78a7bc,_0x45ea0a,_0x3fcc0e,_0xb40606){return _0x3958(_0x3fcc0e- -_0x141c0f._0x134eff,_0xb40606);}T(_0x13c38c,{'type':_0x20eaa5(-_0x2f60c0._0x10be02,-0xaf,-0xeb,-0x128),'message':_0x3b7628});});}),_0x13c38c['on']('close',()=>{function _0x1990ed(_0x16a756,_0x51f884,_0x3ffbe1,_0x16a064){return _0x433c1e(_0x16a756-0x169,_0x16a756- -0x9b,_0x51f884,_0x16a064-0x18c);}_0x3f3847[_0x1990ed(_0xd25df9._0x58aad9,_0xd25df9._0x7c0ac7,_0xd25df9._0x18774d,0x2ce)](_0x13c38c);});}),_0x3e3836['on'](_0x5b4598(0x3bd,_0xf02ce9._0x24ef93,0x3bb,_0xf02ce9._0x1ca61f),(_0x230aba,_0x24a553,_0x740589)=>{const _0x340245={_0x346932:0x113,_0x45d310:0xd6,_0x28a954:0x9f,_0x3bc533:0xd4,_0x4121ef:0x102,_0x5c7848:0x120},_0x521a44={_0x16d1d1:0x131,_0x2f8a75:0x48e},_0x197f89={_0x2af4ae:0x147,_0x4ce29e:0x23d},_0xb44850={_0x45f71c:0x9,_0xc3ae8a:0x1a8};function _0x34b2f0(_0x2b5721,_0x31faff,_0x271f54,_0x3d81ba){return _0x4efa6d(_0x2b5721-0x16c,_0x31faff-0x4f,_0x31faff-0x4e,_0x2b5721);}if(!Se(_0x230aba[_0x272314(0x3b2,_0x328844._0x11b929,_0x328844._0x51b1bb,0x377)][_0x272314(_0x328844._0x2df32e,_0x328844._0xdcf2f2,0x39e,0x3c9)])){console['error']('[web]\x20WebSocket\x20upgrade\x20rejected\x20—\x20origin:\x20'+_0x230aba[_0x34b2f0(_0x328844._0xdcf2f2,0x37a,_0x328844._0x3f180a,0x3a1)][_0x272314(_0x328844._0x17f66f,_0x328844._0x54a77e,_0x328844._0x232e29,0x3c9)]),_0x24a553[_0x34b2f0(_0x328844._0x2e385d,0x3c4,0x3fc,0x3d0)]();return;}function _0x272314(_0x53af15,_0x44b617,_0x5e5d83,_0x440d86){return _0x5b4598(_0x44b617,_0x44b617-_0xb44850._0x45f71c,_0x5e5d83-_0xb44850._0xc3ae8a,_0x440d86-0x23);}if(new URL(_0x230aba[_0x272314(_0x328844._0x5b20f2,0x38c,0x3ea,0x3ce)]??'/',_0x34b2f0(_0x328844._0x43a723,_0x328844._0x1f60c1,0x3c6,0x3e0)+(_0x230aba[_0x272314(0x330,_0x328844._0x2505eb,_0x328844._0x44632d,_0x328844._0x9b4f78)][_0x272314(0x382,0x390,0x348,_0x328844._0x4fdbba)]??'localhost'))[_0x34b2f0(0x408,0x3c0,_0x328844._0x17ae63,0x37c)]!==_0x34b2f0(0x349,_0x328844._0x167aec,_0x328844._0x194fa3,0x3b9)){_0x24a553['destroy']();return;}_0x41c0a8[_0x272314(0x353,_0x328844._0x3f72f2,_0x328844._0x524bef,0x350)](_0x230aba,_0x24a553,_0x740589,_0x329e29=>{function _0x204dbd(_0x2f8ef8,_0x12ba55,_0x5839e4,_0x4bfffe){return _0x272314(_0x2f8ef8-0xca,_0x5839e4,_0x5839e4-_0x197f89._0x2af4ae,_0x12ba55- -_0x197f89._0x4ce29e);}function _0x207253(_0x37c473,_0x400c85,_0x170a67,_0x4a464e){return _0x272314(_0x37c473-0xaf,_0x37c473,_0x170a67-_0x521a44._0x16d1d1,_0x4a464e- -_0x521a44._0x2f8a75);}_0x41c0a8[_0x207253(-_0x340245._0x346932,-_0x340245._0x45d310,-_0x340245._0x28a954,-_0x340245._0x3bc533)](_0x207253(-_0x340245._0x4121ef,-0xe7,-0x11b,-_0x340245._0x5c7848),_0x329e29,_0x230aba);});}),await new Promise((_0x54b186,_0xdecb84)=>{const _0x1db60c={_0x1392b4:0x81},_0x526bb0={_0x474bc8:0x34};function _0x1d6ac0(_0x484036,_0x5889d0,_0x2da8bd,_0x4fb81d){return _0x4efa6d(_0x484036-0x130,_0x5889d0-0x6e,_0x2da8bd- -_0x526bb0._0x474bc8,_0x484036);}function _0x397ca0(_0x2d9bf6,_0x1be2fb,_0x41924c,_0x25862f){return _0x5b4598(_0x41924c,_0x1be2fb-0xa0,_0x41924c-0x112,_0x1be2fb- -0x4c8);}_0x3e3836[_0x397ca0(-0x162,-_0x3f681e._0x40c27f,-0x17d,-_0x3f681e._0xf3f668)](_0x1d6ac0(_0x3f681e._0x3b2bf1,0x2e0,_0x3f681e._0x1ebf0f,_0x3f681e._0x4b5d84),_0xdecb84),_0x3e3836[_0x397ca0(-0x116,-0x15b,-_0x3f681e._0x49aaef,-0x14c)](_0x4c23b9[_0x397ca0(-_0x3f681e._0x3697cf,-0x181,-0x170,-_0x3f681e._0x3413b1)],ce,()=>{function _0x1e53da(_0x5ee1d0,_0x45da09,_0xb00e35,_0x405e33){return _0x1d6ac0(_0x5ee1d0,_0x45da09-0x146,_0x405e33-0x1d7,_0x405e33-_0x1db60c._0x1392b4);}_0x3e3836['off'](_0x1e53da(0x46e,_0x2cce8a._0x4fe29c,_0x2cce8a._0x41347b,0x4ac),_0xdecb84),_0x54b186();});});let _0x1228f8=_0x4efa6d(0x396,0x362,0x371,0x3b2)+_0x3e3836[_0x5b4598(0x36f,0x366,_0xf02ce9._0x90119c,_0xf02ce9._0xffaf53)]()[_0x4efa6d(0x315,0x2f4,_0xf02ce9._0x5151ae,_0xf02ce9._0x1205b0)];console[_0x4efa6d(0x33a,0x2f2,_0xf02ce9._0x1af7fa,0x2d3)](_0x5b4598(_0xf02ce9._0x1e2587,_0xf02ce9._0x5ae314,_0xf02ce9._0x31f502,_0xf02ce9._0x1c05e1)+_0x1228f8);let _0x452182=!0x1,_0x50095b,_0x377520=async()=>{const _0x2909cb={_0x3ba527:0x4d1};function _0x4b898f(_0x3df839,_0x165d7c,_0x1a59e0,_0x23d866){return _0x5b4598(_0x165d7c,_0x165d7c-_0x43aab5._0x1c451e,_0x1a59e0-_0x43aab5._0x4ee953,_0x1a59e0-0x25c);}function _0x23b92d(_0x487d82,_0x5eb2c5,_0x323dbe,_0xa065f1){return _0x5b4598(_0x487d82,_0x5eb2c5-0x41,_0x323dbe-0x13c,_0x323dbe- -_0x2909cb._0x3ba527);}if(!_0x452182){_0x452182=!0x0,_0x50095b&&(process[_0x4b898f(_0x40cc51._0x47ddfa,_0x40cc51._0x47b0df,0x5ee,_0x40cc51._0x2aba05)]('SIGINT',_0x50095b),process[_0x4b898f(0x638,_0x40cc51._0x1b001b,_0x40cc51._0x2a549a,_0x40cc51._0x47b0df)](_0x4b898f(_0x40cc51._0x330421,0x5d7,0x5e6,_0x40cc51._0x13cf5c),_0x50095b)),_0xcfd30b();for(let _0x3afb71 of _0x3f3847)_0x3afb71[_0x4b898f(_0x40cc51._0x28d10b,0x620,0x5d9,0x5c0)]();await new Promise(_0x89f3d8=>_0x41c0a8[_0x23b92d(-0x130,-0x168,-0x16f,-0x1b5)](()=>_0x89f3d8())),await me(_0x3e3836),_0x123237['close']();}};function _0x5b4598(_0x127e9e,_0xbfcf9a,_0x857cb2,_0x1a0ec1){return _0x47316a(_0x127e9e-_0x5405f5._0x4a1c7b,_0x1a0ec1- -0x61,_0x127e9e,_0x1a0ec1-_0x5405f5._0x30d11d);}return(_0x4c23b9[_0x4efa6d(_0xf02ce9._0x317068,0x34f,_0xf02ce9._0x467b18,_0xf02ce9._0x19d6ec)]??!0x0)&&(_0x50095b=()=>{function _0x11c01d(_0x561227,_0x17eb9f,_0x1fe12b,_0x4ea9b4){return _0x4efa6d(_0x561227-0x27,_0x17eb9f-_0x22f229._0x26907f,_0x1fe12b- -0x4f6,_0x17eb9f);}_0x377520()[_0x11c01d(-_0x4976c4._0x3706c6,-_0x4976c4._0x2d2d87,-0x1da,-0x223)](()=>process['exit'](0x0));},process[_0x4efa6d(0x375,_0xf02ce9._0x17e9a5,0x347,_0xf02ce9._0x39f942)](_0x4efa6d(0x2ef,_0xf02ce9._0x3abac0,_0xf02ce9._0x50b9ff,_0xf02ce9._0x1a7889),_0x50095b),process['once']('SIGTERM',_0x50095b)),{'close':_0x377520,'url':_0x1228f8};}export{ue as resolveWebAssetPath,$e as startWebServer};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuvin/nuvin-code",
3
- "version": "0.0.0-rc.19",
3
+ "version": "0.0.0-rc.20",
4
4
  "private": false,
5
5
  "description": "Interactive AI coding assistant CLI powered by Nuvin core",
6
6
  "license": "Apache-2.0",
@@ -26,6 +26,7 @@
26
26
  "chalk": "^5.6.2",
27
27
  "cli-highlight": "^2.1.11",
28
28
  "cli-table3": "^0.6.5",
29
+ "ink": "npm:@nuvin/ink@7.1.1-alpha",
29
30
  "marked": "^15.0.12",
30
31
  "node-emoji": "^2.2.0",
31
32
  "react": "^19.1.0",
@@ -34,8 +35,7 @@
34
35
  "supports-hyperlinks": "^3.2.0",
35
36
  "ws": "^8.20.0",
36
37
  "zustand": "^5.0.0",
37
- "@nuvin/agent-core": "^0.0.0-rc.15",
38
- "ink": "npm:@nuvin/ink@7.0.2-alpha"
38
+ "@nuvin/agent-core": "^0.0.0-rc.16"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "^22.0.0",
@@ -46,11 +46,11 @@
46
46
  "tsx": "^4.21.0",
47
47
  "typescript": "^6.0.2",
48
48
  "vitest": "^4.1.2",
49
- "@nuvin/config": "0.1.0-rc.6",
49
+ "@nuvin/config": "0.1.0-rc.7",
50
50
  "@nuvin/web": "0.0.0-rc.7",
51
- "@nuvin/ink-input": "0.1.0-rc.3",
52
- "@nuvin/ink-text-input": "0.1.0-rc.4",
53
- "@nuvin/ink-virtualized-list": "0.0.1-rc.5"
51
+ "@nuvin/ink-input": "0.1.0-rc.4",
52
+ "@nuvin/ink-text-input": "0.1.0-rc.5",
53
+ "@nuvin/ink-virtualized-list": "0.0.1-rc.6"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "node scripts/build.js",