woozlit 2.0.2 → 2.0.4

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.
Files changed (50) hide show
  1. package/dist/auth/login.js +1 -1
  2. package/dist/browser/index.js +1 -1
  3. package/dist/browser/server.js +1 -1
  4. package/dist/browser/tools.js +1 -1
  5. package/dist/chat/agent.js +1 -1
  6. package/dist/config/mcp.js +1 -1
  7. package/dist/config/settings.js +1 -1
  8. package/dist/discord/client.js +1 -1
  9. package/dist/discord/config.js +1 -1
  10. package/dist/discord/index.js +1 -1
  11. package/dist/discord/setup.js +1 -1
  12. package/dist/email/config.js +1 -1
  13. package/dist/email/index.js +1 -1
  14. package/dist/email/service.js +1 -1
  15. package/dist/email/setup.js +1 -1
  16. package/dist/github/api.js +1 -1
  17. package/dist/github/auth.js +1 -1
  18. package/dist/github/auto-setup.js +1 -1
  19. package/dist/github/index.js +1 -1
  20. package/dist/github/manual-setup.js +1 -1
  21. package/dist/index.js +1 -1
  22. package/dist/mcp-servers/computer-use.js +1 -1
  23. package/dist/services/bot-manager.js +1 -1
  24. package/dist/services/voice-agent.js +1 -1
  25. package/dist/telegram/bot.js +1 -1
  26. package/dist/telegram/config.js +1 -1
  27. package/dist/telegram/index.js +1 -1
  28. package/dist/telegram/reminders.js +1 -1
  29. package/dist/telegram/setup.js +1 -1
  30. package/dist/tools/command.js +1 -1
  31. package/dist/tools/file.js +1 -1
  32. package/dist/tools/index.js +1 -1
  33. package/dist/tools/mcp.js +1 -1
  34. package/dist/tools/rollback.js +1 -1
  35. package/dist/tools/rules.js +1 -1
  36. package/dist/twilio/config.js +1 -1
  37. package/dist/twilio/index.js +1 -1
  38. package/dist/twilio/server.js +1 -1
  39. package/dist/twilio/setup.js +1 -1
  40. package/dist/ui/output.js +1 -1
  41. package/dist/ui/select.js +1 -1
  42. package/dist/ui/themes.js +1 -1
  43. package/dist/utils/api.js +1 -1
  44. package/dist/utils/history.js +1 -1
  45. package/dist/utils/mcp-installer.js +1 -1
  46. package/dist/utils/platform.js +1 -1
  47. package/dist/utils/storage.js +1 -1
  48. package/dist/utils/update-check.js +1 -1
  49. package/dist/verify_repro.js +1 -1
  50. package/package.json +1 -1
@@ -1 +1 @@
1
- function a36_0x161a(){var _0x18b5e5=['41502jtTycK','693908hkxROm','push','204DuPIeL','5602oSHXMt','9448327CTtgVS','6539135lTLSri','575179ikmbFl','1175684RrBoWi','5376792cnoeVT','6647403WOumNC','9983456nwvyZo','278724FfcQYC','18495sARELB','1142905PWFAHx','shift','1059420YWKlfe','1332138NdmUPT','12YEgpGz','8sTelOo','4421480FsFvAZ','300039rNrgrD','26jHBbUD','18oejHCb','1267708PpSJLu','1220GYgZHF','3qWIngy','352FoyUhP'];a36_0x161a=function(){return _0x18b5e5;};return a36_0x161a();}(function(_0x43c757,_0x2cbb22){var _0x423af8=a36_0xbcd4,_0x5bc0cb=_0x43c757();while(!![]){try{var _0x530f3f=parseInt(_0x423af8(0x166))/0x1*(parseInt(_0x423af8(0x161))/0x2)+-parseInt(_0x423af8(0x160))/0x3*(-parseInt(_0x423af8(0x163))/0x4)+parseInt(_0x423af8(0x154))/0x5*(parseInt(_0x423af8(0x15d))/0x6)+parseInt(_0x423af8(0x150))/0x7*(-parseInt(_0x423af8(0x159))/0x8)+-parseInt(_0x423af8(0x153))/0x9*(parseInt(_0x423af8(0x15f))/0xa)+parseInt(_0x423af8(0x169))/0xb*(parseInt(_0x423af8(0x165))/0xc)+-parseInt(_0x423af8(0x15c))/0xd*(parseInt(_0x423af8(0x15a))/0xe);if(_0x530f3f===_0x2cbb22)break;else _0x5bc0cb['push'](_0x5bc0cb['shift']());}catch(_0x97c02){_0x5bc0cb['push'](_0x5bc0cb['shift']());}}}(a36_0x161a,0xdc3da));function a36_0x3ab1(){var _0x390891=a36_0xbcd4,_0x1a5223=[_0x390891(0x16b),_0x390891(0x156),_0x390891(0x15e),_0x390891(0x164),_0x390891(0x152),_0x390891(0x168),_0x390891(0x16a),_0x390891(0x158),_0x390891(0x15b),_0x390891(0x151),'shift','154824JZkJGj',_0x390891(0x162),_0x390891(0x157),'3532836mGtpoi'];return a36_0x3ab1=function(){return _0x1a5223;},a36_0x3ab1();}(function(_0x207e89,_0x4e8171){var _0x23ce12=a36_0xbcd4,_0x351753=a36_0x1994,_0x3c9724=_0x207e89();while(!![]){try{var _0x1f6c6e=parseInt(_0x351753(0x121))/0x1+parseInt(_0x351753(0x119))/0x2+-parseInt(_0x351753(0x123))/0x3*(-parseInt(_0x351753(0x122))/0x4)+parseInt(_0x351753(0x120))/0x5+-parseInt(_0x351753(0x11a))/0x6+-parseInt(_0x351753(0x124))/0x7+-parseInt(_0x351753(0x11b))/0x8;if(_0x1f6c6e===_0x4e8171)break;else _0x3c9724[_0x23ce12(0x164)](_0x3c9724[_0x23ce12(0x155)]());}catch(_0x45d8b2){_0x3c9724[_0x23ce12(0x164)](_0x3c9724['shift']());}}}(a36_0x3ab1,0xba28a),function(_0x19630a,_0x46708f){var _0x93dc06=a36_0x1994,_0x1dde40=a36_0x4d10,_0x1a4c21=_0x19630a();while(!![]){try{var _0x1ec515=-parseInt(_0x1dde40(0x1ae))/0x1+-parseInt(_0x1dde40(0x1ad))/0x2+-parseInt(_0x1dde40(0x1af))/0x3+-parseInt(_0x1dde40(0x1b0))/0x4+-parseInt(_0x1dde40(0x1ac))/0x5+-parseInt(_0x1dde40(0x1b1))/0x6+parseInt(_0x1dde40(0x1b2))/0x7;if(_0x1ec515===_0x46708f)break;else _0x1a4c21[_0x93dc06(0x11e)](_0x1a4c21[_0x93dc06(0x125)]());}catch(_0x419ac0){_0x1a4c21[_0x93dc06(0x11e)](_0x1a4c21[_0x93dc06(0x125)]());}}}(a36_0x2529,0x2f282));function a36_0x1994(_0x474c3e,_0x443087){_0x474c3e=_0x474c3e-0x118;var _0xe7bf23=a36_0x3ab1(),_0x3c301c=_0xe7bf23[_0x474c3e];return _0x3c301c;}function a36_0xbcd4(_0x42b56c,_0x1b3cca){_0x42b56c=_0x42b56c-0x150;var _0x161acf=a36_0x161a();var _0xbcd422=_0x161acf[_0x42b56c];return _0xbcd422;}export*from'./config.js';export{startBot,stopBot,isBotRunning,makeCall}from'./server.js';function a36_0x4d10(_0x11533e,_0x197d0e){_0x11533e=_0x11533e-0x1ac;var _0x44b38f=a36_0x2529(),_0x17283f=_0x44b38f[_0x11533e];return _0x17283f;}export{setupTwilio}from'./setup.js';function a36_0x2529(){var _0x3099c4=a36_0xbcd4,_0x4b834b=a36_0x1994,_0x179e31=[_0x3099c4(0x167),'1322555AQMiyl',_0x4b834b(0x118),_0x4b834b(0x126),_0x4b834b(0x11c),_0x4b834b(0x11d),_0x4b834b(0x11f)];return a36_0x2529=function(){return _0x179e31;},a36_0x2529();}
1
+ (function(_0x9ff999,_0x1ec75f){var _0x5fba30=a36_0x3a88,_0x5e20f1=_0x9ff999();while(!![]){try{var _0x3c3070=parseInt(_0x5fba30(0x148))/0x1*(-parseInt(_0x5fba30(0x136))/0x2)+parseInt(_0x5fba30(0x13b))/0x3*(-parseInt(_0x5fba30(0x168))/0x4)+-parseInt(_0x5fba30(0x14c))/0x5*(-parseInt(_0x5fba30(0x14d))/0x6)+parseInt(_0x5fba30(0x13e))/0x7+parseInt(_0x5fba30(0x171))/0x8+parseInt(_0x5fba30(0x15d))/0x9+parseInt(_0x5fba30(0x12f))/0xa;if(_0x3c3070===_0x1ec75f)break;else _0x5e20f1['push'](_0x5e20f1['shift']());}catch(_0x4998b1){_0x5e20f1['push'](_0x5e20f1['shift']());}}}(a36_0x2fca,0x34b8c));function a36_0x3c86(){var _0x35f8b0=a36_0x3a88,_0x3e3b33=[_0x35f8b0(0x166),_0x35f8b0(0x161),_0x35f8b0(0x162),_0x35f8b0(0x15e),_0x35f8b0(0x15a),_0x35f8b0(0x172),_0x35f8b0(0x13c),_0x35f8b0(0x169),'204DuPIeL',_0x35f8b0(0x15c),'shift',_0x35f8b0(0x152),_0x35f8b0(0x16a),_0x35f8b0(0x141),_0x35f8b0(0x174),_0x35f8b0(0x155),_0x35f8b0(0x173),'367494mXHZpw',_0x35f8b0(0x16e),_0x35f8b0(0x156),'9116181jKMJjM',_0x35f8b0(0x139),'26jHBbUD',_0x35f8b0(0x15f),_0x35f8b0(0x163),_0x35f8b0(0x130),_0x35f8b0(0x158),'300039rNrgrD',_0x35f8b0(0x143),_0x35f8b0(0x150),_0x35f8b0(0x133),_0x35f8b0(0x147),_0x35f8b0(0x170),'246NBxjHE',_0x35f8b0(0x131),'83898XWPFAr','1059420YWKlfe',_0x35f8b0(0x16d),_0x35f8b0(0x142),_0x35f8b0(0x153),'278724FfcQYC',_0x35f8b0(0x14b),'1142905PWFAHx',_0x35f8b0(0x12d),_0x35f8b0(0x154),_0x35f8b0(0x164),_0x35f8b0(0x13d),_0x35f8b0(0x13a),_0x35f8b0(0x16b),_0x35f8b0(0x14e),'1220GYgZHF',_0x35f8b0(0x175),_0x35f8b0(0x160),_0x35f8b0(0x140),_0x35f8b0(0x12e),'1JrPDii',_0x35f8b0(0x137),_0x35f8b0(0x14a),'40328NEXnZZ',_0x35f8b0(0x135),_0x35f8b0(0x159),'1332138NdmUPT',_0x35f8b0(0x15b)];return a36_0x3c86=function(){return _0x3e3b33;},a36_0x3c86();}function a36_0x2fca(){var _0x8df9c5=['1879185uRpoSv','4oefoqV','78lanuql','5376792cnoeVT','15909651RFDTWj','632VBwwkW','1175684RrBoWi','1669950CHjomu','3716936XGqvWi','1pfssdE','154824JZkJGj','352FoyUhP','18495sARELB','3935zUEHhP','2214vztmnB','4269237YIUNOP','693908hkxROm','5518480LTBalU','1017860CjRbTH','9695952fqwOsT','112jQArSZ','669738ZoGmfS','6647403WOumNC','17555200mTcWBn','shift','8498601rcsAUE','18736jQtKXK','1267708PpSJLu','663986LiZiaN','9983456nwvyZo','3637611uyYkXY','5602oSHXMt','10UzIQyN','186968nwbNOs','5090qNDcaq','21jTxKtP','6539135lTLSri','1717415EBoDXy','1322555AQMiyl','10sxJzJy','12YEgpGz','793960SxIQDc','615153LgJWVd','5984232iFZBEd','999xBnoqv','1199604AOjrFN','575179ikmbFl','3532836mGtpoi','8sTelOo','1168VQYgGn','399616ecITgq','280983UrCxHB','18oejHCb','257215RpdLak','9448327CTtgVS','5BPWvWj','4861132ckFcMq','2ZwrsJi','672780JPAgNK','4421480FsFvAZ','2499nhaYls','668574ZnHsYb','41502jtTycK','3qWIngy','1922dbWWsj','417650dxuisp','650258pTFIGA','18283hIFNyp','push','10662120xtTnrh','6bTXsnf','350cRIPFO','940JENcsJ','69587bLVaaz'];a36_0x2fca=function(){return _0x8df9c5;};return a36_0x2fca();}(function(_0x1b6e9e,_0xe9a59c){var _0x55e5ab=a36_0x3a88,_0x42dac6=a36_0x5e1c,_0x424518=_0x1b6e9e();while(!![]){try{var _0x1005e7=parseInt(_0x42dac6(0x216))/0x1*(-parseInt(_0x42dac6(0x213))/0x2)+-parseInt(_0x42dac6(0x210))/0x3+parseInt(_0x42dac6(0x1fe))/0x4+-parseInt(_0x42dac6(0x1f6))/0x5*(-parseInt(_0x42dac6(0x20b))/0x6)+parseInt(_0x42dac6(0x229))/0x7+parseInt(_0x42dac6(0x22a))/0x8+-parseInt(_0x42dac6(0x1f3))/0x9;if(_0x1005e7===_0xe9a59c)break;else _0x424518[_0x55e5ab(0x139)](_0x424518[_0x55e5ab(0x157)]());}catch(_0x454ed8){_0x424518[_0x55e5ab(0x139)](_0x424518[_0x55e5ab(0x157)]());}}}(a36_0x3c86,0xb89cd),(function(_0x2a5d88,_0x126d10){var _0x50758f=a36_0x3a88,_0x511719=a36_0x5e1c,_0x4d424a=a36_0x350a,_0x4bfdcb=_0x2a5d88();while(!![]){try{var _0x2e1dc5=parseInt(_0x4d424a(0x1b0))/0x1*(-parseInt(_0x4d424a(0x1af))/0x2)+parseInt(_0x4d424a(0x193))/0x3+-parseInt(_0x4d424a(0x1a2))/0x4*(-parseInt(_0x4d424a(0x199))/0x5)+-parseInt(_0x4d424a(0x1ad))/0x6*(-parseInt(_0x4d424a(0x1bc))/0x7)+-parseInt(_0x4d424a(0x196))/0x8+parseInt(_0x4d424a(0x1be))/0x9+-parseInt(_0x4d424a(0x197))/0xa*(parseInt(_0x4d424a(0x1b4))/0xb);if(_0x2e1dc5===_0x126d10)break;else _0x4bfdcb[_0x511719(0x1f4)](_0x4bfdcb[_0x511719(0x228)]());}catch(_0x48fd4c){_0x4bfdcb[_0x511719(0x1f4)](_0x4bfdcb[_0x50758f(0x157)]());}}}(a36_0x15e7,0xd9a9a),(function(_0x156c2d,_0xb65d39){var _0x559c7f=a36_0x5e1c,_0x5475fa=a36_0x350a,_0x3d287e=a36_0x6792,_0x51ade0=_0x156c2d();while(!![]){try{var _0xce5464=-parseInt(_0x3d287e(0x204))/0x1*(parseInt(_0x3d287e(0x211))/0x2)+-parseInt(_0x3d287e(0x20c))/0x3*(-parseInt(_0x3d287e(0x214))/0x4)+-parseInt(_0x3d287e(0x1fd))/0x5*(-parseInt(_0x3d287e(0x20f))/0x6)+parseInt(_0x3d287e(0x20a))/0x7+parseInt(_0x3d287e(0x1e7))/0x8*(parseInt(_0x3d287e(0x209))/0x9)+-parseInt(_0x3d287e(0x1f4))/0xa+parseInt(_0x3d287e(0x1ec))/0xb;if(_0xce5464===_0xb65d39)break;else _0x51ade0[_0x5475fa(0x1a9)](_0x51ade0[_0x5475fa(0x195)]());}catch(_0x2d3a2e){_0x51ade0[_0x559c7f(0x1f4)](_0x51ade0[_0x5475fa(0x195)]());}}}(a36_0x2ba1,0x5269a),function(_0x1ac015,_0x12dd4c){var _0x490bd5=a36_0x350a,_0x34b388=a36_0x6792,_0x272899=a36_0x14fd,_0x18bba7=_0x1ac015();while(!![]){try{var _0x251a89=-parseInt(_0x272899(0x103))/0x1+-parseInt(_0x272899(0xde))/0x2*(-parseInt(_0x272899(0xf4))/0x3)+-parseInt(_0x272899(0x102))/0x4*(-parseInt(_0x272899(0xeb))/0x5)+parseInt(_0x272899(0xf5))/0x6+-parseInt(_0x272899(0xf7))/0x7*(-parseInt(_0x272899(0xf0))/0x8)+parseInt(_0x272899(0xff))/0x9+-parseInt(_0x272899(0xf2))/0xa;if(_0x251a89===_0x12dd4c)break;else _0x18bba7[_0x34b388(0x206)](_0x18bba7[_0x490bd5(0x195)]());}catch(_0x467eac){_0x18bba7[_0x34b388(0x206)](_0x18bba7[_0x490bd5(0x195)]());}}}(a36_0x1e32,0xeccb7))));function a36_0x1e32(){var _0x3ac314=a36_0x3a88,_0x1b0de6=a36_0x5e1c,_0x27a9b7=a36_0x350a,_0x485658=a36_0x6792,_0xda2723=[_0x485658(0x1f2),_0x485658(0x208),_0x3ac314(0x13f),_0x485658(0x201),_0x27a9b7(0x1a4),_0x485658(0x200),_0x485658(0x203),_0x485658(0x1fe),_0x485658(0x210),_0x485658(0x1f9),_0x485658(0x1e5),_0x485658(0x1f8),_0x485658(0x20b),_0x1b0de6(0x203),_0x485658(0x1ee),_0x1b0de6(0x1ef),_0x485658(0x212),_0x1b0de6(0x1f5),_0x485658(0x1e9),_0x485658(0x202),_0x485658(0x207),_0x27a9b7(0x192),_0x485658(0x216),_0x485658(0x20e),_0x485658(0x213),_0x485658(0x1e8),_0x485658(0x1f6),_0x27a9b7(0x19d),_0x485658(0x1ff),_0x485658(0x1eb),_0x485658(0x1f3),_0x485658(0x1fa),_0x485658(0x1e6),_0x485658(0x1ef),_0x485658(0x206),_0x1b0de6(0x215),_0x485658(0x215),_0x485658(0x1fb),_0x485658(0x1ed)];return a36_0x1e32=function(){return _0xda2723;},a36_0x1e32();}function a36_0x14fd(_0x3ed307,_0x3103ab){_0x3ed307=_0x3ed307-0xdd;var _0x491665=a36_0x1e32(),_0x497d9a=_0x491665[_0x3ed307];return _0x497d9a;}function a36_0x350a(_0xbdff46,_0x52f879){_0xbdff46=_0xbdff46-0x18c;var _0x4b07ec=a36_0x15e7(),_0x36bf41=_0x4b07ec[_0xbdff46];return _0x36bf41;}function a36_0x6792(_0x2c896b,_0xd91ed2){_0x2c896b=_0x2c896b-0x1e5;var _0x2afff5=a36_0x2ba1(),_0x3fab3d=_0x2afff5[_0x2c896b];return _0x3fab3d;}function a36_0x1299(){var _0xfc0f33=a36_0x350a,_0xcad7ef=a36_0x6792,_0x49269d=a36_0x14fd,_0x3a9df4=[_0x49269d(0xe8),_0x49269d(0xef),_0x49269d(0xfb),_0x49269d(0xec),_0x49269d(0xe1),_0x49269d(0xdd),_0x49269d(0xfc),_0xcad7ef(0x1fc),_0x49269d(0xf9),_0xcad7ef(0x205),_0x49269d(0xdf),_0x49269d(0xe7),_0x49269d(0xf8),_0x49269d(0xe5),_0x49269d(0xf6),_0x49269d(0xe6),_0xfc0f33(0x1a1),_0xcad7ef(0x1f5),_0xcad7ef(0x1f7),_0x49269d(0xf1),_0x49269d(0xf3),_0xcad7ef(0x1f1),_0xfc0f33(0x1ab),_0xcad7ef(0x217),_0x49269d(0x100),_0x49269d(0xe4),_0x49269d(0xed),_0x49269d(0xfd),_0x49269d(0xe0),_0xfc0f33(0x1c2),_0x49269d(0xfe),_0x49269d(0xfa),_0x49269d(0xee),_0x49269d(0xe3)];return a36_0x1299=function(){return _0x3a9df4;},a36_0x1299();}(function(_0x3bb919,_0x5d5091){var _0xf06664=a36_0x6792,_0x1dc668=a36_0x14fd,_0x3b97c0=a36_0x3714,_0x49a52e=_0x3bb919();while(!![]){try{var _0x533fa2=-parseInt(_0x3b97c0(0x102))/0x1+-parseInt(_0x3b97c0(0xf4))/0x2+-parseInt(_0x3b97c0(0x105))/0x3*(-parseInt(_0x3b97c0(0x100))/0x4)+parseInt(_0x3b97c0(0xfe))/0x5+parseInt(_0x3b97c0(0xfd))/0x6+parseInt(_0x3b97c0(0xef))/0x7*(parseInt(_0x3b97c0(0xff))/0x8)+-parseInt(_0x3b97c0(0x10b))/0x9*(-parseInt(_0x3b97c0(0xf2))/0xa);if(_0x533fa2===_0x5d5091)break;else _0x49a52e[_0x1dc668(0xdd)](_0x49a52e[_0xf06664(0x200)]());}catch(_0x5e7aa3){_0x49a52e[_0x1dc668(0xdd)](_0x49a52e[_0x1dc668(0xe7)]());}}}(a36_0x1299,0x546e1));function a36_0x161a(){var _0x5c04bd=a36_0x6792,_0x396390=a36_0x14fd,_0x286877=a36_0x3714,_0x1dd737=[_0x286877(0xfb),_0x396390(0x101),_0x286877(0x10c),_0x286877(0xec),_0x286877(0xf5),_0x286877(0xeb),_0x286877(0x107),_0x286877(0x106),_0x286877(0xed),_0x286877(0x109),_0x396390(0xe2),_0x286877(0xee),_0x396390(0xea),_0x286877(0xfa),_0x286877(0xf7),_0x286877(0xf0),_0x286877(0x108),_0x286877(0x101),_0x286877(0x10a),_0x286877(0x104),_0x286877(0xf3),_0x5c04bd(0x1ea),_0x286877(0xf9),_0x286877(0xf8),_0x286877(0x103),_0x286877(0xf6),_0x396390(0xe9),_0x5c04bd(0x20d)];return a36_0x161a=function(){return _0x1dd737;},a36_0x161a();}function a36_0x5e1c(_0x32d8b6,_0x2246da){_0x32d8b6=_0x32d8b6-0x1ec;var _0x71c3f1=a36_0x3c86(),_0x14c2d2=_0x71c3f1[_0x32d8b6];return _0x14c2d2;}function a36_0x3714(_0x384658,_0x8e82cb){_0x384658=_0x384658-0xeb;var _0x4d4ff7=a36_0x1299(),_0x45e758=_0x4d4ff7[_0x384658];return _0x45e758;}(function(_0x1f6268,_0x5a11d7){var _0x2f1876=a36_0x14fd,_0x2ed1da=a36_0x3714,_0x25f535=a36_0xbcd4,_0x2933cc=_0x1f6268();while(!![]){try{var _0xddf993=parseInt(_0x25f535(0x166))/0x1*(parseInt(_0x25f535(0x161))/0x2)+-parseInt(_0x25f535(0x160))/0x3*(-parseInt(_0x25f535(0x163))/0x4)+parseInt(_0x25f535(0x154))/0x5*(parseInt(_0x25f535(0x15d))/0x6)+parseInt(_0x25f535(0x150))/0x7*(-parseInt(_0x25f535(0x159))/0x8)+-parseInt(_0x25f535(0x153))/0x9*(parseInt(_0x25f535(0x15f))/0xa)+parseInt(_0x25f535(0x169))/0xb*(parseInt(_0x25f535(0x165))/0xc)+-parseInt(_0x25f535(0x15c))/0xd*(parseInt(_0x25f535(0x15a))/0xe);if(_0xddf993===_0x5a11d7)break;else _0x2933cc[_0x2f1876(0xdd)](_0x2933cc[_0x2ed1da(0xf0)]());}catch(_0xee4ae1){_0x2933cc[_0x2f1876(0xdd)](_0x2933cc[_0x2f1876(0xe7)]());}}}(a36_0x161a,0xdc3da));function a36_0x3ab1(){var _0x4b055e=a36_0x6792,_0x3b42d7=a36_0x3714,_0x4b1a6d=a36_0xbcd4,_0x2982ee=[_0x4b1a6d(0x16b),_0x4b1a6d(0x156),_0x4b1a6d(0x15e),_0x4b1a6d(0x164),_0x4b1a6d(0x152),_0x4b1a6d(0x168),_0x4b1a6d(0x16a),_0x4b1a6d(0x158),_0x4b1a6d(0x15b),_0x4b1a6d(0x151),_0x3b42d7(0xf0),_0x4b055e(0x1f0),_0x4b1a6d(0x162),_0x4b1a6d(0x157),_0x3b42d7(0xf1)];return a36_0x3ab1=function(){return _0x2982ee;},a36_0x3ab1();}function a36_0x2ba1(){var _0x38a88c=a36_0x3a88,_0x3d6658=a36_0x5e1c,_0x579829=a36_0x350a,_0x451cef=[_0x579829(0x1b8),'shift',_0x579829(0x1b2),_0x579829(0x1ba),_0x3d6658(0x1f7),_0x579829(0x1b7),_0x3d6658(0x227),_0x579829(0x1a9),_0x579829(0x1a3),_0x579829(0x1a5),_0x579829(0x1b6),_0x579829(0x18f),_0x579829(0x1a7),_0x579829(0x18e),_0x3d6658(0x218),_0x579829(0x18d),_0x579829(0x1b9),_0x3d6658(0x207),_0x3d6658(0x21a),_0x579829(0x1bb),_0x579829(0x19f),_0x579829(0x19b),_0x579829(0x1b3),_0x579829(0x1ac),_0x579829(0x1a6),_0x579829(0x1bf),_0x579829(0x1c1),_0x579829(0x1bd),_0x3d6658(0x205),_0x579829(0x194),_0x3d6658(0x1fa),_0x3d6658(0x1f9),_0x579829(0x18c),_0x579829(0x19e),_0x579829(0x1c0),_0x579829(0x190),_0x38a88c(0x149),_0x579829(0x19a),_0x579829(0x1a0),_0x3d6658(0x1f0),_0x579829(0x1aa),_0x579829(0x1b5),_0x579829(0x1b1),_0x579829(0x19c),_0x579829(0x1a8),_0x579829(0x191),_0x579829(0x198),_0x579829(0x1ae),_0x3d6658(0x226),_0x579829(0x1c3),_0x38a88c(0x134)];return a36_0x2ba1=function(){return _0x451cef;},a36_0x2ba1();}(function(_0x463520,_0xd5017e){var _0x37232e=a36_0x3714,_0x1026a3=a36_0xbcd4,_0x514186=a36_0x1994,_0x5c18cc=_0x463520();while(!![]){try{var _0x3dcce1=parseInt(_0x514186(0x121))/0x1+parseInt(_0x514186(0x119))/0x2+-parseInt(_0x514186(0x123))/0x3*(-parseInt(_0x514186(0x122))/0x4)+parseInt(_0x514186(0x120))/0x5+-parseInt(_0x514186(0x11a))/0x6+-parseInt(_0x514186(0x124))/0x7+-parseInt(_0x514186(0x11b))/0x8;if(_0x3dcce1===_0xd5017e)break;else _0x5c18cc[_0x1026a3(0x164)](_0x5c18cc[_0x1026a3(0x155)]());}catch(_0x1dd197){_0x5c18cc[_0x1026a3(0x164)](_0x5c18cc[_0x37232e(0xf0)]());}}}(a36_0x3ab1,0xba28a),function(_0x278a2c,_0x481562){var _0x3b6f80=a36_0x1994,_0x596965=a36_0x4d10,_0x29b837=_0x278a2c();while(!![]){try{var _0x300586=-parseInt(_0x596965(0x1ae))/0x1+-parseInt(_0x596965(0x1ad))/0x2+-parseInt(_0x596965(0x1af))/0x3+-parseInt(_0x596965(0x1b0))/0x4+-parseInt(_0x596965(0x1ac))/0x5+-parseInt(_0x596965(0x1b1))/0x6+parseInt(_0x596965(0x1b2))/0x7;if(_0x300586===_0x481562)break;else _0x29b837[_0x3b6f80(0x11e)](_0x29b837[_0x3b6f80(0x125)]());}catch(_0x4c826f){_0x29b837[_0x3b6f80(0x11e)](_0x29b837[_0x3b6f80(0x125)]());}}}(a36_0x2529,0x2f282));function a36_0x1994(_0x37f799,_0x1ac2f5){_0x37f799=_0x37f799-0x118;var _0x59d9c2=a36_0x3ab1(),_0x2892ac=_0x59d9c2[_0x37f799];return _0x2892ac;}function a36_0x3a88(_0x56854b,_0x284f80){_0x56854b=_0x56854b-0x12c;var _0x2fca69=a36_0x2fca();var _0x3a8848=_0x2fca69[_0x56854b];return _0x3a8848;}function a36_0xbcd4(_0xc66820,_0x2e9bef){_0xc66820=_0xc66820-0x150;var _0x23b4cf=a36_0x161a(),_0x14f538=_0x23b4cf[_0xc66820];return _0x14f538;}export*from'./config.js';export{startBot,stopBot,isBotRunning,makeCall}from'./server.js';function a36_0x15e7(){var _0x450dea=a36_0x3a88,_0x32d273=a36_0x5e1c,_0x45cd6e=[_0x32d273(0x1f8),'1327758UEamJH',_0x32d273(0x204),_0x450dea(0x165),_0x32d273(0x201),_0x32d273(0x21b),_0x32d273(0x1f4),_0x32d273(0x1fc),_0x32d273(0x1fd),_0x32d273(0x1f1),_0x450dea(0x132),_0x32d273(0x21c),_0x32d273(0x1ec),_0x450dea(0x138),_0x32d273(0x212),_0x32d273(0x20d),_0x32d273(0x224),'5209842fSRMAt',_0x32d273(0x211),_0x32d273(0x20f),_0x450dea(0x144),_0x32d273(0x222),_0x32d273(0x200),_0x450dea(0x146),_0x32d273(0x1f2),_0x32d273(0x220),_0x32d273(0x219),_0x32d273(0x1fb),_0x450dea(0x167),_0x32d273(0x206),_0x450dea(0x151),_0x32d273(0x21d),_0x32d273(0x21f),'2752860lIYvnF',_0x450dea(0x145),_0x450dea(0x16c),_0x32d273(0x20c),_0x32d273(0x1ed),_0x450dea(0x12c),_0x32d273(0x217),_0x32d273(0x223),_0x32d273(0x225),_0x450dea(0x157),_0x32d273(0x20e),_0x32d273(0x21e),_0x450dea(0x14f),'5WyHOTg',_0x32d273(0x208),_0x32d273(0x214),_0x32d273(0x209),_0x32d273(0x1ff),_0x32d273(0x202),_0x450dea(0x16f),_0x32d273(0x1ee),_0x32d273(0x221),_0x32d273(0x20a)];return a36_0x15e7=function(){return _0x45cd6e;},a36_0x15e7();}function a36_0x4d10(_0x87b4,_0x27c1de){_0x87b4=_0x87b4-0x1ac;var _0x1ffc9f=a36_0x2529(),_0x3c2a4c=_0x1ffc9f[_0x87b4];return _0x3c2a4c;}export{setupTwilio}from'./setup.js';function a36_0x2529(){var _0x3d77ed=a36_0x3714,_0x24e693=a36_0xbcd4,_0x87c6c3=a36_0x1994,_0x55911d=[_0x24e693(0x167),_0x3d77ed(0xfc),_0x87c6c3(0x118),_0x87c6c3(0x126),_0x87c6c3(0x11c),_0x87c6c3(0x11d),_0x87c6c3(0x11f)];return a36_0x2529=function(){return _0x55911d;},a36_0x2529();}
@@ -1 +1 @@
1
- (function(_0x2038c2,_0x211ace){const _0x155882=a37_0x171e,_0x92d76f=_0x2038c2();while(!![]){try{const _0x18d4a1=parseInt(_0x155882(0x172))/0x1*(parseInt(_0x155882(0x16d))/0x2)+parseInt(_0x155882(0x195))/0x3*(parseInt(_0x155882(0x181))/0x4)+parseInt(_0x155882(0x189))/0x5+parseInt(_0x155882(0x16a))/0x6+-parseInt(_0x155882(0x183))/0x7+parseInt(_0x155882(0x1ba))/0x8*(-parseInt(_0x155882(0x17b))/0x9)+-parseInt(_0x155882(0x17e))/0xa;if(_0x18d4a1===_0x211ace)break;else _0x92d76f['push'](_0x92d76f['shift']());}catch(_0x2c3aa5){_0x92d76f['push'](_0x92d76f['shift']());}}}(a37_0x1a27,0x7542d),(function(_0x53c2e5,_0x1587db){const _0x4a3f51=a37_0x171e,_0x2ae7c7=a37_0x185b,_0x454434=_0x53c2e5();while(!![]){try{const _0x4affb9=-parseInt(_0x2ae7c7(0x1c6))/0x1+parseInt(_0x2ae7c7(0x18c))/0x2*(parseInt(_0x2ae7c7(0x1ca))/0x3)+-parseInt(_0x2ae7c7(0x183))/0x4*(-parseInt(_0x2ae7c7(0x19d))/0x5)+parseInt(_0x2ae7c7(0x1b7))/0x6+parseInt(_0x2ae7c7(0x1b8))/0x7+-parseInt(_0x2ae7c7(0x190))/0x8+-parseInt(_0x2ae7c7(0x192))/0x9*(parseInt(_0x2ae7c7(0x196))/0xa);if(_0x4affb9===_0x1587db)break;else _0x454434['push'](_0x454434[_0x4a3f51(0x18c)]());}catch(_0x35b55a){_0x454434['push'](_0x454434['shift']());}}}(a37_0x5bab,0x1a0bc),function(_0x2c99a1,_0x43bd21){const _0x3bb7a8=a37_0x171e,_0x3de4c4=a37_0x185b,_0x36fa1d=a37_0x4466,_0x1d55cc=_0x2c99a1();while(!![]){try{const _0x5c617e=-parseInt(_0x36fa1d(0x158))/0x1+-parseInt(_0x36fa1d(0x12f))/0x2*(-parseInt(_0x36fa1d(0x15e))/0x3)+-parseInt(_0x36fa1d(0x124))/0x4+-parseInt(_0x36fa1d(0x163))/0x5*(-parseInt(_0x36fa1d(0x159))/0x6)+parseInt(_0x36fa1d(0x16b))/0x7+parseInt(_0x36fa1d(0x143))/0x8*(-parseInt(_0x36fa1d(0x162))/0x9)+parseInt(_0x36fa1d(0x132))/0xa;if(_0x5c617e===_0x43bd21)break;else _0x1d55cc[_0x3de4c4(0x186)](_0x1d55cc[_0x3bb7a8(0x18c)]());}catch(_0x12b3fe){_0x1d55cc[_0x3de4c4(0x186)](_0x1d55cc[_0x3bb7a8(0x18c)]());}}}(a37_0x4ba3,0x35a17)));function a37_0x5bab(){const _0x535251=a37_0x171e,_0x4f28b9=['[Twilio]\x20Call\x20initiated:\x20',_0x535251(0x163),_0x535251(0x184),_0x535251(0x180),_0x535251(0x18f),'info',_0x535251(0x15f),'...',_0x535251(0x168),_0x535251(0x1a6),_0x535251(0x16e),_0x535251(0x1b8),_0x535251(0x18d),_0x535251(0x1b0),_0x535251(0x162),_0x535251(0x1a5),_0x535251(0x17f),_0x535251(0x1b1),_0x535251(0x174),'150628WWgkEp','includes','moreInfo','Hello,\x20this\x20is\x20Woozlit.\x20How\x20can\x20I\x20help\x20you?',_0x535251(0x194),_0x535251(0x1a2),_0x535251(0x197),_0x535251(0x15e),'pathname',_0x535251(0x173),_0x535251(0x17c),_0x535251(0x19f),_0x535251(0x190),'dim',_0x535251(0x18e),_0x535251(0x1ad),_0x535251(0x188),_0x535251(0x1a4),'[Twilio]\x20Calling\x20',_0x535251(0x19b),_0x535251(0x17d),'url',_0x535251(0x1a3),_0x535251(0x199),_0x535251(0x192),_0x535251(0x1b5),_0x535251(0x1b4),_0x535251(0x175),_0x535251(0x169),_0x535251(0x1b9),_0x535251(0x160),_0x535251(0x1a0),_0x535251(0x186),_0x535251(0x167),_0x535251(0x161),'authToken',_0x535251(0x1af),_0x535251(0x19c),_0x535251(0x1b6),_0x535251(0x18b),_0x535251(0x179),_0x535251(0x1a8),_0x535251(0x18a),'667158xfkARR','1268127zZePVD',_0x535251(0x19d),_0x535251(0x178),_0x535251(0x177),_0x535251(0x193),_0x535251(0x19e),_0x535251(0x1ab),_0x535251(0x1ac),_0x535251(0x185),_0x535251(0x171),_0x535251(0x1b2),'sid',_0x535251(0x1ae),_0x535251(0x15d),_0x535251(0x165),_0x535251(0x1b7),'gemini-live-2.5-flash-native-audio',_0x535251(0x1b3),_0x535251(0x1aa)];return a37_0x5bab=function(){return _0x4f28b9;},a37_0x5bab();}import a37_0x1693c9 from'http';import a37_0x101e7a from'twilio';import a37_0x349c10 from'@ngrok/ngrok';import*as a37_0xba037e from'./config.js';import*as a37_0x4bc2f4 from'../ui/output.js';function a37_0x185b(_0x36b22a,_0x1825a8){_0x36b22a=_0x36b22a-0x17d;const _0x227a0a=a37_0x5bab();let _0x4f2d01=_0x227a0a[_0x36b22a];return _0x4f2d01;}import{getSelectedModel}from'../utils/storage.js';import{sendChatMessage}from'../utils/api.js';function a37_0x4466(_0x14a584,_0x481c40){_0x14a584=_0x14a584-0x122;const _0xbd138c=a37_0x4ba3();let _0x56fbe9=_0xbd138c[_0x14a584];return _0x56fbe9;}let server=null,isRunning=![],listener=null;export async function startBot(){const _0x55a071=a37_0x171e,_0x21e660=a37_0x185b,_0x12ee38=a37_0x4466;if(!a37_0xba037e[_0x12ee38(0x166)]())return![];if(isRunning)return!![];const _0x5586f9=a37_0xba037e[_0x12ee38(0x169)](),_0xa80998=a37_0x101e7a(_0x5586f9[_0x12ee38(0x13a)],_0x5586f9[_0x21e660(0x1af)]);server=a37_0x1693c9[_0x12ee38(0x139)](async(_0x57e550,_0x37e73a)=>{const _0x51f06b=a37_0x171e,_0x5a0deb=_0x21e660,_0x51a079=_0x12ee38,_0x3348c7=new URL(_0x57e550[_0x51a079(0x15f)]||'/',_0x51a079(0x151)+_0x5586f9[_0x51a079(0x168)]);if(_0x57e550[_0x51a079(0x160)]===_0x51a079(0x16a)&&_0x3348c7[_0x5a0deb(0x194)]===_0x51a079(0x13c)){let _0x317a2d='';_0x57e550['on'](_0x51a079(0x154),_0x4ce066=>_0x317a2d+=_0x4ce066),_0x57e550['on'](_0x51a079(0x145),async()=>{const _0x21bdd2=a37_0x171e,_0x1bf62e=_0x5a0deb,_0x1d9720=_0x51a079,_0x6e344e=new URLSearchParams(_0x317a2d),_0x3e41d4=_0x6e344e[_0x1d9720(0x137)](_0x1d9720(0x135)),_0x138695=_0x6e344e['get'](_0x1bf62e(0x1bb));if(_0x3e41d4&&_0x138695){a37_0x4bc2f4[_0x21bdd2(0x1a7)](_0x1d9720(0x152)+_0x3e41d4+':\x20'+_0x138695);try{const _0x47445d=await sendChatMessage(getSelectedModel(),[{'role':_0x1d9720(0x134),'content':_0x138695}]),_0x292b93=new a37_0x101e7a[(_0x1d9720(0x15b))][(_0x1bf62e(0x1a2))]();_0x292b93[_0x1d9720(0x164)](_0x47445d[_0x1d9720(0x131)]),_0x37e73a[_0x1d9720(0x15d)](0xc8,{'Content-Type':_0x1d9720(0x122)}),_0x37e73a[_0x1d9720(0x145)](_0x292b93[_0x1d9720(0x13b)]());}catch(_0x46761c){a37_0x4bc2f4[_0x1d9720(0x14c)](_0x1d9720(0x14a)+_0x46761c[_0x1d9720(0x164)]),_0x37e73a[_0x1d9720(0x15d)](0xc8),_0x37e73a[_0x1d9720(0x145)]();}}else _0x37e73a[_0x1d9720(0x15d)](0x190),_0x37e73a[_0x1d9720(0x145)]();});return;}if(_0x57e550[_0x51a079(0x160)]===_0x5a0deb(0x1b9)&&_0x3348c7[_0x51f06b(0x1bb)]===_0x51a079(0x12e)){const _0x225ec8=new a37_0x101e7a[(_0x51f06b(0x1b5))][(_0x51a079(0x138))](),_0x134232=_0x225ec8[_0x51a079(0x150)]({'input':[_0x5a0deb(0x185)],'action':_0x51a079(0x149),'speechTimeout':_0x51a079(0x12b)});_0x134232[_0x51a079(0x133)](_0x5a0deb(0x18f)),_0x225ec8[_0x51a079(0x147)](_0x51a079(0x12e)),_0x37e73a[_0x51a079(0x15d)](0xc8,{'Content-Type':_0x51a079(0x122)}),_0x37e73a[_0x51a079(0x145)](_0x225ec8[_0x51a079(0x13b)]());return;}if(_0x57e550[_0x51a079(0x160)]===_0x51a079(0x16a)&&_0x3348c7[_0x5a0deb(0x194)]===_0x51a079(0x149)){let _0x42ce62='';_0x57e550['on'](_0x51a079(0x154),_0x4f7752=>_0x42ce62+=_0x4f7752),_0x57e550['on'](_0x51a079(0x145),async()=>{const _0x5eb09e=_0x51f06b,_0x25aa6b=_0x5a0deb,_0x4ca53e=_0x51a079,_0x26a6db=new URLSearchParams(_0x42ce62),_0x3bdef9=_0x26a6db[_0x4ca53e(0x137)](_0x25aa6b(0x1a0)),_0x385c1a=new a37_0x101e7a[(_0x4ca53e(0x15b))][(_0x25aa6b(0x1a7))]();if(_0x3bdef9){a37_0x4bc2f4[_0x4ca53e(0x142)](_0x4ca53e(0x153)+_0x3bdef9);try{const _0x49f15c=await sendChatMessage(_0x25aa6b(0x1c8),[{'role':_0x4ca53e(0x134),'content':_0x3bdef9}]);_0x385c1a[_0x4ca53e(0x133)](_0x49f15c[_0x4ca53e(0x131)]);}catch(_0x20171c){_0x385c1a[_0x4ca53e(0x133)](_0x25aa6b(0x1a4));}const _0x4a4648=_0x385c1a[_0x4ca53e(0x150)]({'input':[_0x4ca53e(0x155)],'action':_0x5eb09e(0x16b)});_0x4a4648[_0x4ca53e(0x133)](_0x4ca53e(0x13e));}else _0x385c1a[_0x4ca53e(0x133)](_0x4ca53e(0x129)),_0x385c1a[_0x4ca53e(0x147)](_0x25aa6b(0x1a6));_0x37e73a[_0x4ca53e(0x15d)](0xc8,{'Content-Type':_0x4ca53e(0x122)}),_0x37e73a[_0x4ca53e(0x145)](_0x385c1a[_0x4ca53e(0x13b)]());});return;}_0x37e73a[_0x51a079(0x15d)](0x194),_0x37e73a[_0x51a079(0x145)]();});try{const _0x1ec3de={'addr':_0x5586f9[_0x21e660(0x184)]};_0x5586f9[_0x12ee38(0x146)]?_0x1ec3de[_0x12ee38(0x144)]=_0x5586f9[_0x12ee38(0x146)]:_0x1ec3de[_0x12ee38(0x15c)]=!![],listener=await a37_0x349c10[_0x12ee38(0x165)](_0x1ec3de);const _0x11e330=listener[_0x12ee38(0x15f)]();_0x11e330&&(a37_0xba037e[_0x21e660(0x1c0)](_0x11e330),a37_0x4bc2f4[_0x12ee38(0x12d)](_0x12ee38(0x130)+_0x11e330),a37_0x4bc2f4[_0x12ee38(0x14b)](_0x12ee38(0x15a)+_0x11e330+_0x12ee38(0x12e)));}catch(_0x41326d){!_0x41326d[_0x12ee38(0x164)]?.[_0x12ee38(0x141)](_0x12ee38(0x157))&&a37_0x4bc2f4[_0x12ee38(0x14c)](_0x12ee38(0x148)+_0x41326d[_0x55a071(0x1ab)]);}return new Promise(_0x439161=>{const _0x27b3d4=_0x12ee38;server?.[_0x27b3d4(0x125)](_0x5586f9[_0x27b3d4(0x168)],()=>{const _0x303abf=a37_0x185b,_0x3c7ccf=_0x27b3d4;a37_0x4bc2f4[_0x3c7ccf(0x12d)](_0x303abf(0x1c7)+_0x5586f9[_0x3c7ccf(0x168)]),isRunning=!![],_0x439161(!![]);})['on'](_0x27b3d4(0x14c),_0x21f563=>{const _0x229b59=a37_0x185b,_0x279dbb=_0x27b3d4;_0x21f563[_0x279dbb(0x123)]!==_0x279dbb(0x12a)&&a37_0x4bc2f4[_0x279dbb(0x14c)](_0x229b59(0x1b3)+_0x21f563[_0x279dbb(0x164)]),_0x439161(![]);});});}export async function stopBot(){const _0x39eafb=a37_0x185b,_0x143009=a37_0x4466;listener&&(await listener[_0x39eafb(0x1c1)](),listener=null),server&&(server[_0x143009(0x156)](),server=null),isRunning=![];}export function isBotRunning(){return isRunning;}function a37_0x171e(_0x489329,_0x25fd34){_0x489329=_0x489329-0x15d;const _0x1a2794=a37_0x1a27();let _0x171edd=_0x1a2794[_0x489329];return _0x171edd;}function a37_0x1a27(){const _0x1f5748=['18646brcWzE','6VHqZsM','message','authtoken','314061THNfJA','[Twilio]\x20Error\x20Code:\x20','[Twilio]\x20Not\x20configured','push','publicUrl','[Twilio]\x20Failed\x20to\x20call:\x20','success','/voice','twiml','1004765SXOycg','[Twilio]\x20Webhook\x20server\x20running\x20on\x20port\x20','webhookPort','isConfigured','128iaURmv','pathname','2GgLUFJ','create','redirect','[Twilio\x20Voice]\x20User\x20said:\x20','data','789812eXdAgx','get','moreInfo','82861Nxefpj','user','/sms','writeHead','EADDRINUSE','4361832juJJCQ','/voice/process','[Twilio]\x20Configure\x20your\x20webhook\x20URL\x20to:\x20','2lxOFzo','31908BYjIgf','calls','text/xml','close','264601DYTGBX','phoneNumber','listen','VoiceResponse','auto','Body','getConfig','accountSid','endsWith','52857gTFxZC','20LUTACi','SpeechResult','6950360RnJMfq','From','http://localhost:','4GlZOQi','[Twilio]\x20AI\x20Error:\x20','2102765enWqSH','content','setPublicUrl','\x20from\x20','authToken','136fELkHd','484870JfRDQY','Check\x20your\x20Account\x20SID,\x20Auth\x20Token,\x20and\x20trial\x20status.','[Twilio]\x20Server\x20error:\x20','shift','speech','[Twilio]\x20Tunnel\x20established:\x20','end','[Twilio]\x20More\x20Info:\x20','ngrokToken','Sorry,\x20I\x20had\x20an\x20error.','method','501888VTjlFl','1443459uynBmC','Anything\x20else?','1396602bPeTVF','toString','[Twilio]\x20Failed\x20to\x20start\x20ngrok:\x20','gather','error','createServer','POST','6DZmOlG','say','code','dim','363538XSyagf','MessagingResponse','75RCQQif','authtoken_from_env','2575970yckjJq','info','I\x20didn\x27t\x20catch\x20that.'];a37_0x1a27=function(){return _0x1f5748;};return a37_0x1a27();}export async function makeCall(_0x3cc8ab){const _0x44f46b=a37_0x171e,_0xf9f09d=a37_0x185b,_0x4d8505=a37_0x4466;if(!a37_0xba037e[_0x4d8505(0x166)]()){a37_0x4bc2f4[_0x4d8505(0x14c)](_0x4d8505(0x167));return;}let _0x3d2b76=a37_0xba037e['getConfig']()[_0x4d8505(0x161)];if(!_0x3d2b76){a37_0x4bc2f4[_0x44f46b(0x19b)](_0x4d8505(0x128));return;}!_0x3d2b76[_0x44f46b(0x17a)](_0xf9f09d(0x1a6))&&(_0x3d2b76+=_0x4d8505(0x12e));const _0x50a7f3=a37_0xba037e[_0x4d8505(0x169)](),_0x446b7c=a37_0x101e7a(_0x50a7f3[_0x4d8505(0x13a)],_0x50a7f3[_0x44f46b(0x187)]);try{a37_0x4bc2f4[_0xf9f09d(0x17e)](_0x4d8505(0x12c)+_0x3cc8ab+_0x4d8505(0x136)+_0x50a7f3[_0x4d8505(0x14e)]+_0x4d8505(0x13d));const _0x4dbc76=await _0x446b7c[_0x44f46b(0x16f)][_0xf9f09d(0x193)]({'url':_0x3d2b76,'to':_0x3cc8ab,'from':_0x50a7f3['phoneNumber']});a37_0x4bc2f4[_0x4d8505(0x12d)](_0x4d8505(0x126)+_0x4dbc76[_0x4d8505(0x127)]);}catch(_0x31efdc){a37_0x4bc2f4[_0xf9f09d(0x19f)](_0x4d8505(0x13f)+_0x31efdc[_0x4d8505(0x164)]),_0x31efdc[_0xf9f09d(0x1ab)]&&a37_0x4bc2f4[_0x44f46b(0x1a1)](_0x4d8505(0x14f)+_0x31efdc[_0x4d8505(0x123)]),_0x31efdc[_0x44f46b(0x164)]&&a37_0x4bc2f4[_0xf9f09d(0x199)](_0xf9f09d(0x198)+_0x31efdc[_0x4d8505(0x14d)]),a37_0x4bc2f4[_0xf9f09d(0x199)](_0x4d8505(0x140));}}export{isConfigured}from'./config.js';function a37_0x4ba3(){const _0x134f87=a37_0x171e,_0x3283b7=a37_0x185b,_0x248bff=[_0x3283b7(0x1a3),'/voice/process',_0x134f87(0x182),_0x3283b7(0x199),_0x3283b7(0x19f),_0x3283b7(0x18e),_0x3283b7(0x195),_0x3283b7(0x1c4),_0x134f87(0x19a),_0x3283b7(0x1ce),'[Twilio\x20SMS]\x20',_0x3283b7(0x1aa),_0x3283b7(0x1ae),_0x3283b7(0x185),_0x3283b7(0x1c1),'ngrok\x20agent\x20sessions',_0x134f87(0x1a9),_0x3283b7(0x1bd),_0x134f87(0x16c),_0x3283b7(0x1a5),_0x3283b7(0x188),_0x3283b7(0x181),_0x3283b7(0x19b),_0x3283b7(0x1a1),_0x3283b7(0x1bc),_0x3283b7(0x18a),'94977yPaEfj',_0x3283b7(0x1b2),_0x3283b7(0x1be),'forward',_0x3283b7(0x1a9),_0x3283b7(0x1b0),_0x3283b7(0x184),_0x3283b7(0x1ba),_0x3283b7(0x1b9),_0x3283b7(0x191),_0x134f87(0x170),_0x134f87(0x1a0),_0x3283b7(0x187),_0x3283b7(0x18b),_0x3283b7(0x1cb),_0x3283b7(0x1c3),'[Twilio]\x20Public\x20URL\x20not\x20set\x20(ngrok\x20failed?).\x20Cannot\x20start\x20call.',_0x3283b7(0x1b5),_0x3283b7(0x1a8),_0x134f87(0x176),_0x3283b7(0x19e),_0x3283b7(0x1c9),_0x3283b7(0x1a6),_0x3283b7(0x1c5),_0x3283b7(0x19a),_0x3283b7(0x1cd),_0x3283b7(0x182),_0x3283b7(0x197),_0x134f87(0x166),_0x3283b7(0x189),_0x3283b7(0x1ac),_0x3283b7(0x1cc),_0x3283b7(0x1a7),_0x3283b7(0x1b1),_0x3283b7(0x1b4),_0x134f87(0x198),_0x3283b7(0x1ad),_0x3283b7(0x180),_0x134f87(0x196),_0x3283b7(0x1c2),_0x3283b7(0x1b6),_0x3283b7(0x18d),_0x134f87(0x1a7),_0x3283b7(0x19c),_0x3283b7(0x1bf),_0x3283b7(0x17d),_0x134f87(0x191),_0x3283b7(0x17f)];return a37_0x4ba3=function(){return _0x248bff;},a37_0x4ba3();}
1
+ (function(_0x2e92d5,_0x5d98ed){const _0x1e253c=a37_0xf1df,_0x183d64=_0x2e92d5();while(!![]){try{const _0x69fcd=-parseInt(_0x1e253c(0x10b))/0x1+-parseInt(_0x1e253c(0x124))/0x2*(parseInt(_0x1e253c(0x126))/0x3)+parseInt(_0x1e253c(0xf5))/0x4*(parseInt(_0x1e253c(0x136))/0x5)+parseInt(_0x1e253c(0x130))/0x6+-parseInt(_0x1e253c(0xe8))/0x7*(-parseInt(_0x1e253c(0x133))/0x8)+-parseInt(_0x1e253c(0xff))/0x9+-parseInt(_0x1e253c(0x13e))/0xa;if(_0x69fcd===_0x5d98ed)break;else _0x183d64['push'](_0x183d64['shift']());}catch(_0x4aef62){_0x183d64['push'](_0x183d64['shift']());}}}(a37_0x3266,0x5c487),(function(_0x2a4455,_0x8ed291){const _0x1308c9=a37_0xf1df,_0x5aa3fe=a37_0x599d,_0x132eb7=_0x2a4455();while(!![]){try{const _0x528214=parseInt(_0x5aa3fe(0x78))/0x1*(-parseInt(_0x5aa3fe(0x80))/0x2)+-parseInt(_0x5aa3fe(0xc1))/0x3+parseInt(_0x5aa3fe(0xd2))/0x4*(parseInt(_0x5aa3fe(0xc0))/0x5)+-parseInt(_0x5aa3fe(0x84))/0x6+-parseInt(_0x5aa3fe(0x8f))/0x7*(-parseInt(_0x5aa3fe(0x93))/0x8)+parseInt(_0x5aa3fe(0xd1))/0x9+parseInt(_0x5aa3fe(0x8d))/0xa;if(_0x528214===_0x8ed291)break;else _0x132eb7[_0x1308c9(0x109)](_0x132eb7[_0x1308c9(0xfd)]());}catch(_0x395b83){_0x132eb7[_0x1308c9(0x109)](_0x132eb7[_0x1308c9(0xfd)]());}}}(a37_0x1f7d,0xb8d5c),(function(_0x31ff15,_0x13eaa9){const _0x43b903=a37_0xf1df,_0x578539=a37_0x599d,_0x1d08c8=a37_0xf7ab,_0x4c1c8a=_0x31ff15();while(!![]){try{const _0x42319e=-parseInt(_0x1d08c8(0xf2))/0x1+-parseInt(_0x1d08c8(0xb4))/0x2+-parseInt(_0x1d08c8(0xb6))/0x3*(-parseInt(_0x1d08c8(0xc4))/0x4)+-parseInt(_0x1d08c8(0xd7))/0x5+-parseInt(_0x1d08c8(0xb5))/0x6*(parseInt(_0x1d08c8(0x103))/0x7)+parseInt(_0x1d08c8(0xd5))/0x8+parseInt(_0x1d08c8(0xf9))/0x9;if(_0x42319e===_0x13eaa9)break;else _0x4c1c8a[_0x578539(0x90)](_0x4c1c8a[_0x578539(0xa1)]());}catch(_0x46499e){_0x4c1c8a[_0x578539(0x90)](_0x4c1c8a[_0x43b903(0xfd)]());}}}(a37_0xa9de,0x9807f),(function(_0x328669,_0x18625e){const _0x10a563=a37_0x599d,_0x70d9a4=a37_0xf7ab,_0x5c4bd4=a37_0x5c5a,_0x10e666=_0x328669();while(!![]){try{const _0x3293e1=parseInt(_0x5c4bd4(0x1ad))/0x1+parseInt(_0x5c4bd4(0x1de))/0x2*(parseInt(_0x5c4bd4(0x1e5))/0x3)+-parseInt(_0x5c4bd4(0x1b0))/0x4*(parseInt(_0x5c4bd4(0x1e2))/0x5)+-parseInt(_0x5c4bd4(0x1c4))/0x6*(-parseInt(_0x5c4bd4(0x1b3))/0x7)+parseInt(_0x5c4bd4(0x1c0))/0x8*(-parseInt(_0x5c4bd4(0x198))/0x9)+-parseInt(_0x5c4bd4(0x17d))/0xa*(-parseInt(_0x5c4bd4(0x1a1))/0xb)+-parseInt(_0x5c4bd4(0x1dd))/0xc;if(_0x3293e1===_0x18625e)break;else _0x10e666[_0x70d9a4(0xa5)](_0x10e666[_0x70d9a4(0xc7)]());}catch(_0x133c9e){_0x10e666[_0x70d9a4(0xa5)](_0x10e666[_0x10a563(0xa1)]());}}}(a37_0x452f,0xaf910),(function(_0x4de1e0,_0x244e79){const _0x4875ec=a37_0xf7ab,_0x1d7600=a37_0x5c5a,_0x293d4f=a37_0x5de9,_0x2980c6=_0x4de1e0();while(!![]){try{const _0x21acc3=parseInt(_0x293d4f(0x13f))/0x1+parseInt(_0x293d4f(0x135))/0x2*(parseInt(_0x293d4f(0x17b))/0x3)+-parseInt(_0x293d4f(0x122))/0x4+parseInt(_0x293d4f(0x13a))/0x5+parseInt(_0x293d4f(0x16f))/0x6*(parseInt(_0x293d4f(0x176))/0x7)+parseInt(_0x293d4f(0x127))/0x8*(-parseInt(_0x293d4f(0x137))/0x9)+parseInt(_0x293d4f(0x147))/0xa;if(_0x21acc3===_0x244e79)break;else _0x2980c6[_0x4875ec(0xa5)](_0x2980c6[_0x4875ec(0xc7)]());}catch(_0x4f3e43){_0x2980c6[_0x1d7600(0x1d6)](_0x2980c6[_0x4875ec(0xc7)]());}}}(a37_0xd1f4,0xaf570),(function(_0x333c40,_0x3514f2){const _0x10d616=a37_0xf7ab,_0x4bf6ef=a37_0x5c5a,_0x43645e=a37_0x5de9,_0x435500=a37_0x48a6,_0x5e3f40=_0x333c40();while(!![]){try{const _0x28ee14=parseInt(_0x435500(0x197))/0x1+parseInt(_0x435500(0x1a4))/0x2+-parseInt(_0x435500(0x1a2))/0x3*(-parseInt(_0x435500(0x1da))/0x4)+-parseInt(_0x435500(0x1dd))/0x5+-parseInt(_0x435500(0x1d6))/0x6+-parseInt(_0x435500(0x1a8))/0x7+parseInt(_0x435500(0x1af))/0x8*(parseInt(_0x435500(0x1cd))/0x9);if(_0x28ee14===_0x3514f2)break;else _0x5e3f40[_0x4bf6ef(0x1d6)](_0x5e3f40[_0x43645e(0x14b)]());}catch(_0x1f77d9){_0x5e3f40[_0x4bf6ef(0x1d6)](_0x5e3f40[_0x10d616(0xc7)]());}}}(a37_0x4f61,0xbe662),(function(_0x3f35d8,_0x4b61f1){const _0x41612d=a37_0x48a6,_0x4c1493=a37_0x171e,_0x1788a2=_0x3f35d8();while(!![]){try{const _0x85042c=parseInt(_0x4c1493(0x172))/0x1*(parseInt(_0x4c1493(0x16d))/0x2)+parseInt(_0x4c1493(0x195))/0x3*(parseInt(_0x4c1493(0x181))/0x4)+parseInt(_0x4c1493(0x189))/0x5+parseInt(_0x4c1493(0x16a))/0x6+-parseInt(_0x4c1493(0x183))/0x7+parseInt(_0x4c1493(0x1ba))/0x8*(-parseInt(_0x4c1493(0x17b))/0x9)+-parseInt(_0x4c1493(0x17e))/0xa;if(_0x85042c===_0x4b61f1)break;else _0x1788a2[_0x41612d(0x199)](_0x1788a2[_0x41612d(0x19c)]());}catch(_0x1304af){_0x1788a2[_0x41612d(0x199)](_0x1788a2[_0x41612d(0x19c)]());}}}(a37_0x1a27,0x7542d),(function(_0x4ff5b3,_0x115640){const _0x3846da=a37_0x5c5a,_0x374fd6=a37_0x5de9,_0x22808a=a37_0x48a6,_0x26b9de=a37_0x171e,_0x6530fa=a37_0x185b,_0x1249a6=_0x4ff5b3();while(!![]){try{const _0x5868ca=-parseInt(_0x6530fa(0x1c6))/0x1+parseInt(_0x6530fa(0x18c))/0x2*(parseInt(_0x6530fa(0x1ca))/0x3)+-parseInt(_0x6530fa(0x183))/0x4*(-parseInt(_0x6530fa(0x19d))/0x5)+parseInt(_0x6530fa(0x1b7))/0x6+parseInt(_0x6530fa(0x1b8))/0x7+-parseInt(_0x6530fa(0x190))/0x8+-parseInt(_0x6530fa(0x192))/0x9*(parseInt(_0x6530fa(0x196))/0xa);if(_0x5868ca===_0x115640)break;else _0x1249a6[_0x22808a(0x199)](_0x1249a6[_0x26b9de(0x18c)]());}catch(_0x21df4c){_0x1249a6[_0x3846da(0x1d6)](_0x1249a6[_0x374fd6(0x14b)]());}}}(a37_0x5bab,0x1a0bc),function(_0x46f6db,_0x48f7e8){const _0x3f040c=a37_0x171e,_0x501a53=a37_0x185b,_0x46ba95=a37_0x4466,_0x40a5d3=_0x46f6db();while(!![]){try{const _0x482da4=-parseInt(_0x46ba95(0x158))/0x1+-parseInt(_0x46ba95(0x12f))/0x2*(-parseInt(_0x46ba95(0x15e))/0x3)+-parseInt(_0x46ba95(0x124))/0x4+-parseInt(_0x46ba95(0x163))/0x5*(-parseInt(_0x46ba95(0x159))/0x6)+parseInt(_0x46ba95(0x16b))/0x7+parseInt(_0x46ba95(0x143))/0x8*(-parseInt(_0x46ba95(0x162))/0x9)+parseInt(_0x46ba95(0x132))/0xa;if(_0x482da4===_0x48f7e8)break;else _0x40a5d3[_0x501a53(0x186)](_0x40a5d3[_0x3f040c(0x18c)]());}catch(_0x1311c7){_0x40a5d3[_0x501a53(0x186)](_0x40a5d3[_0x3f040c(0x18c)]());}}}(a37_0x4ba3,0x35a17)))))))));function a37_0x5bab(){const _0x4df779=a37_0xf7ab,_0x1ecbdf=a37_0x5de9,_0x46a0f3=a37_0x48a6,_0x44728b=a37_0x171e,_0x215f9c=[_0x1ecbdf(0x162),_0x44728b(0x163),_0x44728b(0x184),_0x44728b(0x180),_0x44728b(0x18f),_0x46a0f3(0x1ce),_0x44728b(0x15f),_0x46a0f3(0x1c6),_0x44728b(0x168),_0x44728b(0x1a6),_0x44728b(0x16e),_0x44728b(0x1b8),_0x44728b(0x18d),_0x44728b(0x1b0),_0x44728b(0x162),_0x44728b(0x1a5),_0x44728b(0x17f),_0x44728b(0x1b1),_0x44728b(0x174),_0x46a0f3(0x1a7),_0x46a0f3(0x1a9),_0x46a0f3(0x1b3),_0x1ecbdf(0x144),_0x44728b(0x194),_0x44728b(0x1a2),_0x44728b(0x197),_0x44728b(0x15e),_0x46a0f3(0x18b),_0x44728b(0x173),_0x44728b(0x17c),_0x44728b(0x19f),_0x44728b(0x190),_0x46a0f3(0x1e0),_0x44728b(0x18e),_0x44728b(0x1ad),_0x44728b(0x188),_0x44728b(0x1a4),_0x46a0f3(0x1e2),_0x44728b(0x19b),_0x44728b(0x17d),_0x46a0f3(0x1b1),_0x44728b(0x1a3),_0x44728b(0x199),_0x44728b(0x192),_0x44728b(0x1b5),_0x44728b(0x1b4),_0x44728b(0x175),_0x44728b(0x169),_0x44728b(0x1b9),_0x44728b(0x160),_0x44728b(0x1a0),_0x44728b(0x186),_0x44728b(0x167),_0x44728b(0x161),_0x46a0f3(0x1d9),_0x44728b(0x1af),_0x44728b(0x19c),_0x44728b(0x1b6),_0x44728b(0x18b),_0x44728b(0x179),_0x44728b(0x1a8),_0x44728b(0x18a),_0x4df779(0xd1),_0x46a0f3(0x19f),_0x44728b(0x19d),_0x44728b(0x178),_0x44728b(0x177),_0x44728b(0x193),_0x44728b(0x19e),_0x44728b(0x1ab),_0x44728b(0x1ac),_0x44728b(0x185),_0x44728b(0x171),_0x44728b(0x1b2),_0x1ecbdf(0x174),_0x44728b(0x1ae),_0x44728b(0x15d),_0x44728b(0x165),_0x44728b(0x1b7),_0x4df779(0xa4),_0x44728b(0x1b3),_0x44728b(0x1aa)];return a37_0x5bab=function(){return _0x215f9c;},a37_0x5bab();}import a37_0x267bcd from'http';import a37_0x24ff22 from'twilio';import a37_0x349164 from'@ngrok/ngrok';function a37_0x48a6(_0x45a6f7,_0x2476c4){_0x45a6f7=_0x45a6f7-0x189;const _0x193112=a37_0x4f61();let _0x2908c5=_0x193112[_0x45a6f7];return _0x2908c5;}import*as a37_0x1ab8b0 from'./config.js';import*as a37_0x2c0ae8 from'../ui/output.js';function a37_0x185b(_0x18d232,_0x47cdb3){_0x18d232=_0x18d232-0x17d;const _0x543755=a37_0x5bab();let _0x36c7d0=_0x543755[_0x18d232];return _0x36c7d0;}function a37_0x452f(){const _0x5dfd9d=a37_0xf1df,_0x13e8f8=a37_0x599d,_0xa5b3af=a37_0xf7ab,_0x193d5f=[_0xa5b3af(0xda),_0x13e8f8(0x7e),_0x13e8f8(0x97),_0xa5b3af(0xef),_0x13e8f8(0xbd),_0x5dfd9d(0x137),_0xa5b3af(0x102),_0xa5b3af(0xb7),_0xa5b3af(0x100),_0xa5b3af(0xd3),_0xa5b3af(0xdb),_0xa5b3af(0xe6),_0x13e8f8(0x71),_0xa5b3af(0x9d),_0xa5b3af(0x9e),_0x13e8f8(0xd0),_0xa5b3af(0xfe),_0x13e8f8(0xa0),_0x13e8f8(0xd8),_0xa5b3af(0xeb),_0xa5b3af(0x9b),_0xa5b3af(0xf0),_0x13e8f8(0x8e),_0xa5b3af(0xff),_0xa5b3af(0x9f),_0xa5b3af(0xfd),_0xa5b3af(0xaa),_0xa5b3af(0xa0),_0x13e8f8(0xa7),_0xa5b3af(0xa2),_0xa5b3af(0xa8),_0x13e8f8(0x6b),_0xa5b3af(0xd9),_0x13e8f8(0xaa),_0x13e8f8(0xb4),_0xa5b3af(0xcb),_0xa5b3af(0xec),_0xa5b3af(0xa9),_0xa5b3af(0xfc),_0x5dfd9d(0x105),_0xa5b3af(0xc2),_0x13e8f8(0x76),_0xa5b3af(0xa3),_0xa5b3af(0xc0),'501888VTjlFl',_0xa5b3af(0xfa),_0xa5b3af(0xc8),_0xa5b3af(0xad),_0x13e8f8(0x8c),_0xa5b3af(0xe7),_0x13e8f8(0x81),_0xa5b3af(0xb3),_0xa5b3af(0x101),_0xa5b3af(0xee),_0x5dfd9d(0x119),_0xa5b3af(0xbb),_0xa5b3af(0xa6),_0xa5b3af(0x106),_0xa5b3af(0xc7),_0xa5b3af(0xbd),_0xa5b3af(0xe8),_0x13e8f8(0xbc),_0xa5b3af(0xe2),_0x13e8f8(0xc2),_0xa5b3af(0xed),_0xa5b3af(0xc6),_0xa5b3af(0xf5),_0x13e8f8(0xb1),_0xa5b3af(0xc5),_0xa5b3af(0xbc),_0xa5b3af(0xe1),_0xa5b3af(0xe0),_0xa5b3af(0xa1),_0x13e8f8(0xc3),_0x13e8f8(0x8a),_0xa5b3af(0xe4),_0x13e8f8(0xdc),_0xa5b3af(0x9a),_0xa5b3af(0xc3),_0xa5b3af(0xf4),_0xa5b3af(0xf7),_0xa5b3af(0xbe),_0x13e8f8(0x69),_0xa5b3af(0xdf),_0xa5b3af(0xa7),_0xa5b3af(0x99),_0xa5b3af(0xba),_0x13e8f8(0xa2),_0xa5b3af(0xae),_0xa5b3af(0xd8),_0xa5b3af(0xb1),_0xa5b3af(0x98),_0xa5b3af(0xb8),_0xa5b3af(0xe5),_0x13e8f8(0xb5),_0xa5b3af(0xf6),'I\x20didn\x27t\x20catch\x20that.',_0x13e8f8(0x92),_0x13e8f8(0xa6),_0x13e8f8(0xca),_0x13e8f8(0x7c),_0xa5b3af(0xaf),_0x13e8f8(0x90),_0xa5b3af(0xce),_0xa5b3af(0xb9),_0xa5b3af(0xcc),_0xa5b3af(0xcf),_0xa5b3af(0xfb),_0xa5b3af(0xb2),_0x13e8f8(0xde),_0x13e8f8(0x85),_0xa5b3af(0xcd),_0xa5b3af(0xc9)];return a37_0x452f=function(){return _0x193d5f;},a37_0x452f();}function a37_0xf1df(_0x12c824,_0x29c5ca){_0x12c824=_0x12c824-0xe5;const _0x32667d=a37_0x3266();let _0xf1df35=_0x32667d[_0x12c824];return _0xf1df35;}function a37_0x4f61(){const _0x219a74=a37_0xf7ab,_0xa202d6=a37_0x5c5a,_0x554f17=a37_0x5de9,_0x1f6840=[_0x554f17(0x13e),_0x554f17(0x161),_0x554f17(0x167),_0x554f17(0x17e),_0x554f17(0x156),_0x554f17(0x13b),_0x554f17(0x132),_0x554f17(0x16c),_0x554f17(0x131),_0xa202d6(0x1bb),_0xa202d6(0x1a5),_0x554f17(0x120),_0x219a74(0xd2),_0x554f17(0x146),_0x554f17(0x17c),_0x219a74(0xc1),_0x219a74(0x104),_0x554f17(0x148),_0x554f17(0x12b),_0x554f17(0x175),_0xa202d6(0x199),_0xa202d6(0x1e8),_0xa202d6(0x1ba),_0x554f17(0x14a),_0xa202d6(0x1a8),_0x554f17(0x13d),_0xa202d6(0x1d2),_0xa202d6(0x1e4),_0xa202d6(0x18e),_0x554f17(0x130),_0x554f17(0x165),_0x219a74(0xe3),_0x554f17(0x128),_0x554f17(0x143),_0xa202d6(0x180),_0x554f17(0x180),_0x554f17(0x138),_0x554f17(0x170),_0x554f17(0x152),_0x554f17(0x159),_0x554f17(0x14c),_0x554f17(0x13c),_0x554f17(0x15a),_0x554f17(0x157),_0x554f17(0x129),_0x554f17(0x181),_0x554f17(0x12f),_0x554f17(0x173),_0x554f17(0x164),_0x554f17(0x126),_0x554f17(0x15f),_0x554f17(0x125),_0x554f17(0x123),_0x554f17(0x154),_0x554f17(0x182),_0x554f17(0x16e),_0xa202d6(0x1e0),_0x554f17(0x178),_0x554f17(0x169),_0x554f17(0x149),_0x554f17(0x168),_0x554f17(0x14f),_0xa202d6(0x1d1),_0x554f17(0x14d),_0x554f17(0x160),_0x554f17(0x15e),_0x554f17(0x14b),_0x554f17(0x15c),_0x554f17(0x16a),_0x554f17(0x15b),_0xa202d6(0x1cc),_0xa202d6(0x1d0),_0x554f17(0x179),_0xa202d6(0x18f),_0x554f17(0x134),_0xa202d6(0x1bf),_0xa202d6(0x1ab),_0xa202d6(0x1db),_0x554f17(0x141),_0x554f17(0x16b),_0x554f17(0x12e),_0x554f17(0x150),_0x554f17(0x151),_0x554f17(0x172),_0xa202d6(0x186),_0x554f17(0x12d),_0x554f17(0x12a),_0xa202d6(0x1cf),_0x554f17(0x166),_0x554f17(0x139),_0x554f17(0x136)];return a37_0x4f61=function(){return _0x1f6840;},a37_0x4f61();}import{getSelectedModel}from'../utils/storage.js';import{sendChatMessage}from'../utils/api.js';function a37_0xa9de(){const _0x34c955=a37_0xf1df,_0x5e3822=a37_0x599d,_0x595f4a=[_0x5e3822(0x99),_0x5e3822(0x9b),_0x5e3822(0x9d),_0x5e3822(0xb0),_0x5e3822(0xc8),_0x5e3822(0x6f),_0x5e3822(0x77),_0x5e3822(0xc9),_0x5e3822(0x87),_0x5e3822(0x8b),_0x5e3822(0xa8),_0x5e3822(0xbb),_0x34c955(0x15d),_0x5e3822(0xb9),_0x5e3822(0x91),'data',_0x34c955(0x116),_0x34c955(0x15f),_0x5e3822(0xc4),_0x5e3822(0x89),_0x34c955(0x106),_0x5e3822(0xa5),_0x5e3822(0xd6),_0x34c955(0xf7),_0x5e3822(0xda),_0x5e3822(0x7f),_0x5e3822(0x6e),_0x34c955(0x158),_0x5e3822(0xe0),_0x34c955(0x15e),_0x5e3822(0x83),'732116uLiUbM',_0x5e3822(0xcb),_0x5e3822(0xce),_0x34c955(0x111),_0x5e3822(0x9f),_0x5e3822(0xae),'/voice/process',_0x5e3822(0xbf),_0x34c955(0xf2),_0x34c955(0xf4),_0x5e3822(0x88),_0x34c955(0xe6),_0x5e3822(0x90),_0x5e3822(0xcd),_0x34c955(0xee),_0x34c955(0x110),_0x5e3822(0xa3),_0x5e3822(0x70),_0x5e3822(0xdf),_0x34c955(0x121),_0x5e3822(0xc7),_0x5e3822(0x94),'EADDRINUSE',_0x34c955(0x117),_0x5e3822(0x74),_0x5e3822(0x86),_0x5e3822(0xc6),_0x5e3822(0x7b),'342CELjlO',_0x5e3822(0x72),_0x34c955(0x14a),_0x5e3822(0x82),_0x34c955(0x14d),_0x5e3822(0x68),_0x34c955(0x14e),_0x34c955(0x11d),_0x5e3822(0xdb),'speech',_0x5e3822(0xa4),_0x5e3822(0xd4),_0x34c955(0x101),_0x5e3822(0xb3),_0x5e3822(0x6c),_0x5e3822(0xb7),_0x5e3822(0xb2),_0x5e3822(0x75),_0x5e3822(0xa1),_0x5e3822(0x6d),_0x34c955(0x157),_0x5e3822(0x9a),_0x5e3822(0xd9),_0x5e3822(0xd7),'Hello,\x20this\x20is\x20Woozlit.\x20How\x20can\x20I\x20help\x20you?',_0x34c955(0x10e),_0x5e3822(0x7a),_0x5e3822(0x6a),_0x5e3822(0xc5),_0x5e3822(0xaf),_0x5e3822(0x9e),_0x5e3822(0x7d),_0x5e3822(0x95),_0x5e3822(0x73),_0x5e3822(0x79),_0x5e3822(0xa9),_0x5e3822(0xb6),_0x5e3822(0x96),_0x5e3822(0xcf),_0x5e3822(0xd5),_0x5e3822(0x98),_0x5e3822(0xba),_0x5e3822(0xab),_0x5e3822(0x9c),_0x34c955(0x154),'9577218TFldne',_0x5e3822(0xac),_0x5e3822(0xb8),_0x34c955(0x107),_0x5e3822(0xbe),_0x5e3822(0xdd),'Check\x20your\x20Account\x20SID,\x20Auth\x20Token,\x20and\x20trial\x20status.'];return a37_0xa9de=function(){return _0x595f4a;},a37_0xa9de();}function a37_0xd1f4(){const _0x350892=a37_0xf1df,_0x660a81=a37_0x599d,_0x3eb032=a37_0xf7ab,_0x16d250=a37_0x5c5a,_0xeab158=[_0x16d250(0x1e1),_0x16d250(0x18d),_0x3eb032(0xab),_0x350892(0x132),_0x16d250(0x1e6),_0x660a81(0xad),_0x16d250(0x1c3),_0x16d250(0x1da),_0x3eb032(0xf1),_0x16d250(0x1ea),_0x3eb032(0xf3),_0x16d250(0x1ae),_0x16d250(0x19e),_0x16d250(0x194),_0x16d250(0x1df),_0x16d250(0x19c),_0x16d250(0x17f),_0x3eb032(0xdd),_0x16d250(0x1a9),_0x16d250(0x1d3),_0x16d250(0x1e9),_0x16d250(0x1aa),_0x16d250(0x1ce),_0x16d250(0x1d6),_0x3eb032(0xea),_0x16d250(0x1b1),_0x16d250(0x1b8),_0x16d250(0x190),_0x16d250(0x1be),_0x16d250(0x195),_0x16d250(0x18a),_0x3eb032(0xbf),_0x16d250(0x197),_0x16d250(0x1d9),_0x16d250(0x1d7),_0x3eb032(0xd6),_0x16d250(0x1cb),_0x16d250(0x19d),_0x16d250(0x18b),_0x16d250(0x1c6),_0x3eb032(0xdc),_0x16d250(0x1a3),_0x16d250(0x17e),_0x16d250(0x1c1),_0x16d250(0x1a0),_0x660a81(0xd3),_0x16d250(0x1a4),_0x16d250(0x1e7),_0x16d250(0x188),_0x660a81(0xcc),_0x16d250(0x192),_0x3eb032(0xac),_0x16d250(0x1a7),_0x16d250(0x19a),_0x16d250(0x181),_0x16d250(0x1c9),_0x16d250(0x1a6),_0x16d250(0x1b6),_0x16d250(0x182),_0x16d250(0x19f),_0x16d250(0x189),_0x16d250(0x1dc),_0x16d250(0x187),_0x16d250(0x1bc),_0x16d250(0x1c5),_0x16d250(0x17c),_0x3eb032(0xde),_0x16d250(0x19b),_0x3eb032(0x9c),_0x16d250(0x1ca),_0x16d250(0x1b7),_0x3eb032(0xb0),_0x16d250(0x1d5),_0x16d250(0x1cd),_0x16d250(0x1ac),_0x16d250(0x193),_0x3eb032(0xd0),_0x16d250(0x1b2),_0x3eb032(0xf8),_0x3eb032(0xd4),_0x16d250(0x1c2),_0x16d250(0x1e3),_0x3eb032(0x105),_0x350892(0x14c),_0x3eb032(0xe9),_0x16d250(0x191),_0x16d250(0x1af),_0x16d250(0x1eb),_0x16d250(0x1d4),_0x16d250(0x1b4),_0x16d250(0x17b),_0x16d250(0x1d8),_0x16d250(0x185),_0x16d250(0x1b9),_0x16d250(0x196),_0x16d250(0x1b5),_0x16d250(0x1c7),_0x16d250(0x183),_0x16d250(0x1a2)];return a37_0xd1f4=function(){return _0xeab158;},a37_0xd1f4();}function a37_0x4466(_0x3f2146,_0x2c5c88){_0x3f2146=_0x3f2146-0x122;const _0xad06a1=a37_0x4ba3();let _0x2e1d51=_0xad06a1[_0x3f2146];return _0x2e1d51;}function a37_0xf7ab(_0x4f9220,_0x21f9dc){_0x4f9220=_0x4f9220-0x98;const _0x4dcbbb=a37_0xa9de();let _0x46b465=_0x4dcbbb[_0x4f9220];return _0x46b465;}function a37_0x5de9(_0x37bb7d,_0x40b923){_0x37bb7d=_0x37bb7d-0x120;const _0x2c0893=a37_0xd1f4();let _0x172cea=_0x2c0893[_0x37bb7d];return _0x172cea;}let server=null,isRunning=![],listener=null;function a37_0x5c5a(_0x2244ef,_0x3d44b6){_0x2244ef=_0x2244ef-0x17b;const _0x77b822=a37_0x452f();let _0x265a8f=_0x77b822[_0x2244ef];return _0x265a8f;}export async function startBot(){const _0x484a48=a37_0x171e,_0x257b91=a37_0x185b,_0x55df3d=a37_0x4466;if(!a37_0x1ab8b0[_0x55df3d(0x166)]())return![];if(isRunning)return!![];const _0x464f8d=a37_0x1ab8b0[_0x55df3d(0x169)](),_0x4d7cce=a37_0x24ff22(_0x464f8d[_0x55df3d(0x13a)],_0x464f8d[_0x257b91(0x1af)]);server=a37_0x267bcd[_0x55df3d(0x139)](async(_0x3afda1,_0x5e2220)=>{const _0x16bc94=a37_0x171e,_0xce837c=_0x257b91,_0x516e4a=_0x55df3d,_0x22ec26=new URL(_0x3afda1[_0x516e4a(0x15f)]||'/',_0x516e4a(0x151)+_0x464f8d[_0x516e4a(0x168)]);if(_0x3afda1[_0x516e4a(0x160)]===_0x516e4a(0x16a)&&_0x22ec26[_0xce837c(0x194)]===_0x516e4a(0x13c)){let _0x480475='';_0x3afda1['on'](_0x516e4a(0x154),_0x1c4938=>_0x480475+=_0x1c4938),_0x3afda1['on'](_0x516e4a(0x145),async()=>{const _0x4ed10f=a37_0x48a6,_0x386d79=a37_0x171e,_0x2bda0a=_0xce837c,_0x45fb44=_0x516e4a,_0x2c33bc=new URLSearchParams(_0x480475),_0x47b243=_0x2c33bc[_0x45fb44(0x137)](_0x45fb44(0x135)),_0x1b07a4=_0x2c33bc[_0x4ed10f(0x196)](_0x2bda0a(0x1bb));if(_0x47b243&&_0x1b07a4){a37_0x2c0ae8[_0x386d79(0x1a7)](_0x45fb44(0x152)+_0x47b243+':\x20'+_0x1b07a4);try{const _0x2fc2fe=await sendChatMessage(getSelectedModel(),[{'role':_0x45fb44(0x134),'content':_0x1b07a4}]),_0x306cd8=new a37_0x24ff22[(_0x45fb44(0x15b))][(_0x2bda0a(0x1a2))]();_0x306cd8[_0x45fb44(0x164)](_0x2fc2fe[_0x45fb44(0x131)]),_0x5e2220[_0x45fb44(0x15d)](0xc8,{'Content-Type':_0x45fb44(0x122)}),_0x5e2220[_0x45fb44(0x145)](_0x306cd8[_0x45fb44(0x13b)]());}catch(_0x28bba8){a37_0x2c0ae8[_0x45fb44(0x14c)](_0x45fb44(0x14a)+_0x28bba8[_0x45fb44(0x164)]),_0x5e2220[_0x45fb44(0x15d)](0xc8),_0x5e2220[_0x45fb44(0x145)]();}}else _0x5e2220[_0x45fb44(0x15d)](0x190),_0x5e2220[_0x45fb44(0x145)]();});return;}if(_0x3afda1[_0x516e4a(0x160)]===_0xce837c(0x1b9)&&_0x22ec26[_0x16bc94(0x1bb)]===_0x516e4a(0x12e)){const _0x2c83df=new a37_0x24ff22[(_0x16bc94(0x1b5))][(_0x516e4a(0x138))](),_0x59ba66=_0x2c83df[_0x516e4a(0x150)]({'input':[_0xce837c(0x185)],'action':_0x516e4a(0x149),'speechTimeout':_0x516e4a(0x12b)});_0x59ba66[_0x516e4a(0x133)](_0xce837c(0x18f)),_0x2c83df[_0x516e4a(0x147)](_0x516e4a(0x12e)),_0x5e2220[_0x516e4a(0x15d)](0xc8,{'Content-Type':_0x516e4a(0x122)}),_0x5e2220[_0x516e4a(0x145)](_0x2c83df[_0x516e4a(0x13b)]());return;}if(_0x3afda1[_0x516e4a(0x160)]===_0x516e4a(0x16a)&&_0x22ec26[_0xce837c(0x194)]===_0x516e4a(0x149)){let _0x38f2de='';_0x3afda1['on'](_0x516e4a(0x154),_0x2d3d17=>_0x38f2de+=_0x2d3d17),_0x3afda1['on'](_0x516e4a(0x145),async()=>{const _0x54beb6=_0x16bc94,_0x542c39=_0xce837c,_0x2a9520=_0x516e4a,_0x4bba85=new URLSearchParams(_0x38f2de),_0xddd1c2=_0x4bba85[_0x2a9520(0x137)](_0x542c39(0x1a0)),_0x11f56f=new a37_0x24ff22[(_0x2a9520(0x15b))][(_0x542c39(0x1a7))]();if(_0xddd1c2){a37_0x2c0ae8[_0x2a9520(0x142)](_0x2a9520(0x153)+_0xddd1c2);try{const _0x1e27c2=await sendChatMessage(_0x542c39(0x1c8),[{'role':_0x2a9520(0x134),'content':_0xddd1c2}]);_0x11f56f[_0x2a9520(0x133)](_0x1e27c2[_0x2a9520(0x131)]);}catch(_0x7abf3d){_0x11f56f[_0x2a9520(0x133)](_0x542c39(0x1a4));}const _0x2c5b03=_0x11f56f[_0x2a9520(0x150)]({'input':[_0x2a9520(0x155)],'action':_0x54beb6(0x16b)});_0x2c5b03[_0x2a9520(0x133)](_0x2a9520(0x13e));}else _0x11f56f[_0x2a9520(0x133)](_0x2a9520(0x129)),_0x11f56f[_0x2a9520(0x147)](_0x542c39(0x1a6));_0x5e2220[_0x2a9520(0x15d)](0xc8,{'Content-Type':_0x2a9520(0x122)}),_0x5e2220[_0x2a9520(0x145)](_0x11f56f[_0x2a9520(0x13b)]());});return;}_0x5e2220[_0x516e4a(0x15d)](0x194),_0x5e2220[_0x516e4a(0x145)]();});try{const _0x5d2c3a={'addr':_0x464f8d[_0x257b91(0x184)]};_0x464f8d[_0x55df3d(0x146)]?_0x5d2c3a[_0x55df3d(0x144)]=_0x464f8d[_0x55df3d(0x146)]:_0x5d2c3a[_0x55df3d(0x15c)]=!![],listener=await a37_0x349164[_0x55df3d(0x165)](_0x5d2c3a);const _0x33e376=listener[_0x55df3d(0x15f)]();_0x33e376&&(a37_0x1ab8b0[_0x257b91(0x1c0)](_0x33e376),a37_0x2c0ae8[_0x55df3d(0x12d)](_0x55df3d(0x130)+_0x33e376),a37_0x2c0ae8[_0x55df3d(0x14b)](_0x55df3d(0x15a)+_0x33e376+_0x55df3d(0x12e)));}catch(_0x72e516){!_0x72e516[_0x55df3d(0x164)]?.[_0x55df3d(0x141)](_0x55df3d(0x157))&&a37_0x2c0ae8[_0x55df3d(0x14c)](_0x55df3d(0x148)+_0x72e516[_0x484a48(0x1ab)]);}return new Promise(_0x2fda5d=>{const _0x52d1b5=_0x55df3d;server?.[_0x52d1b5(0x125)](_0x464f8d[_0x52d1b5(0x168)],()=>{const _0x190dd7=a37_0x185b,_0xd3deec=_0x52d1b5;a37_0x2c0ae8[_0xd3deec(0x12d)](_0x190dd7(0x1c7)+_0x464f8d[_0xd3deec(0x168)]),isRunning=!![],_0x2fda5d(!![]);})['on'](_0x52d1b5(0x14c),_0x425fd4=>{const _0x3cd185=a37_0x185b,_0x4fb405=_0x52d1b5;_0x425fd4[_0x4fb405(0x123)]!==_0x4fb405(0x12a)&&a37_0x2c0ae8[_0x4fb405(0x14c)](_0x3cd185(0x1b3)+_0x425fd4[_0x4fb405(0x164)]),_0x2fda5d(![]);});});}export async function stopBot(){const _0x208c1b=a37_0x185b,_0x26a719=a37_0x4466;listener&&(await listener[_0x208c1b(0x1c1)](),listener=null),server&&(server[_0x26a719(0x156)](),server=null),isRunning=![];}export function isBotRunning(){return isRunning;}function a37_0x171e(_0x1c8816,_0x3385cd){_0x1c8816=_0x1c8816-0x15d;const _0x874f97=a37_0x1a27();let _0xcf58fe=_0x874f97[_0x1c8816];return _0xcf58fe;}function a37_0x1a27(){const _0x447f5b=a37_0xf7ab,_0xcd6ed=a37_0x5c5a,_0x21b9c6=a37_0x5de9,_0x57eab8=a37_0x48a6,_0x1c0684=[_0x57eab8(0x18c),_0x57eab8(0x1d4),_0x21b9c6(0x158),_0x21b9c6(0x140),_0x21b9c6(0x15d),_0x57eab8(0x1c9),_0x57eab8(0x1c4),_0x57eab8(0x199),_0xcd6ed(0x1c8),_0x57eab8(0x192),_0x57eab8(0x1bd),_0x57eab8(0x1d2),_0x57eab8(0x1d5),_0x57eab8(0x1db),_0x57eab8(0x195),_0x57eab8(0x1df),_0x57eab8(0x1de),_0x57eab8(0x1d1),_0x57eab8(0x18b),_0x57eab8(0x1cc),_0x57eab8(0x18a),_0x57eab8(0x1b7),_0x57eab8(0x1a0),_0x21b9c6(0x121),_0xcd6ed(0x1bd),_0x57eab8(0x196),_0x57eab8(0x1b3),_0x57eab8(0x190),_0x21b9c6(0x124),_0x57eab8(0x1ae),_0x57eab8(0x1a6),_0x57eab8(0x1b8),_0x57eab8(0x1dc),_0x57eab8(0x1b2),_0x21b9c6(0x171),_0x57eab8(0x1bc),_0x57eab8(0x1b9),_0x57eab8(0x1c0),_0x57eab8(0x1c5),_0x21b9c6(0x16d),_0x57eab8(0x19b),_0x57eab8(0x189),_0x57eab8(0x19d),_0x21b9c6(0x12c),_0x21b9c6(0x133),_0x447f5b(0xca),_0x21b9c6(0x153),_0x57eab8(0x1a5),_0x57eab8(0x1c8),_0x57eab8(0x1d7),_0x57eab8(0x1d0),_0x57eab8(0x1a3),_0x57eab8(0x1ac),_0x57eab8(0x18d),_0x57eab8(0x18e),_0x57eab8(0x1e3),_0x21b9c6(0x14e),_0x57eab8(0x198),_0x57eab8(0x194),_0x57eab8(0x1c7),_0x57eab8(0x1c1),_0x57eab8(0x1d9),_0x57eab8(0x1ba),_0x57eab8(0x19a),_0x57eab8(0x1d8),_0x21b9c6(0x163),_0xcd6ed(0x1aa),_0x57eab8(0x1b6),_0x57eab8(0x1bf),_0x57eab8(0x193),_0x57eab8(0x1d3),_0x21b9c6(0x177),_0x57eab8(0x1ca),_0x57eab8(0x191),_0x21b9c6(0x145),_0x57eab8(0x1cf),_0x57eab8(0x1b0),_0x21b9c6(0x17a),_0x21b9c6(0x155),_0x57eab8(0x18f),_0x57eab8(0x1b4),_0xcd6ed(0x18c),_0x21b9c6(0x17d),_0x21b9c6(0x142),_0x57eab8(0x1cb),_0x57eab8(0x1c2),_0x57eab8(0x1bb),_0x21b9c6(0x157),_0xcd6ed(0x184),_0x57eab8(0x1ab),_0x21b9c6(0x17f),_0x57eab8(0x1ad),_0x57eab8(0x19e),_0x57eab8(0x1ce),_0x57eab8(0x1a1)];return a37_0x1a27=function(){return _0x1c0684;},a37_0x1a27();}function a37_0x599d(_0x154d98,_0x4a1c50){_0x154d98=_0x154d98-0x68;const _0x41a96d=a37_0x1f7d();let _0x2c1638=_0x41a96d[_0x154d98];return _0x2c1638;}function a37_0x3266(){const _0x483526=['2321220JUSFBJ','success','moreInfo','24ePxzRK','toString','forward','5cnHLOo','3653015mgnDvk','118743XUzUXy','21jXFaCe','Body','136fELkHd','error','6950360RnJMfq','1028490jaodns','150628WWgkEp','listen','18646brcWzE','18UkbUOv','4294640HAoruo','dim','853728ECvGXY','say','1008201WlHsie','setPublicUrl','close','Sorry,\x20I\x20had\x20an\x20error.','8059926kxNqwz','pathname','[Twilio\x20SMS]\x20','2575970yckjJq','4018824pnEdzh','1792040TlOAXB','484870JfRDQY','15326ykZiYg','1751120qwRmMO','6QJhufO','667158xfkARR','7520iFivZr','[Twilio]\x20Failed\x20to\x20call:\x20','text/xml','phoneNumber','ngrokToken','868UOJuMg','402036mmeZXr','calls','...','1268127zZePVD','363538XSyagf','52TixyoL','http://localhost:','958824tldeWJ','endsWith','gemini-live-2.5-flash-native-audio','writeHead','1094149GkBTlc','[Twilio\x20Voice]\x20User\x20said:\x20','82861Nxefpj','3fTziVF','authToken','20LUTACi','6KrzDrT','2294560xgHYgM','/sms','[Twilio]\x20Server\x20error:\x20','MessagingResponse','3511136RpsthZ','2331prtYkc','1734376VMejpU','9544YNKSYq','2GgLUFJ','4GlZOQi','twiml','authtoken','url','[Twilio]\x20Webhook\x20server\x20running\x20on\x20port\x20','shift','23465sNqrvW','2480427wJMzfw','5723416PEqLLT','[Twilio]\x20Not\x20configured','webhookPort','SpeechResult','2lxOFzo','31908BYjIgf','authtoken_from_env','75RCQQif','94977yPaEfj','push','63mJWvIs','191504iGeSSF','6VHqZsM','6822151rHGEHa','message','1443459uynBmC','128iaURmv','1396602bPeTVF','[Twilio]\x20Tunnel\x20established:\x20','create','6DZmOlG','22DgmvDi','15021522llvKiQ','createServer','116eSPIOe','method','From','34278900DLBRVN','1515513AcWOJX','code','314061THNfJA','[Twilio]\x20Error\x20Code:\x20','[Twilio]\x20Public\x20URL\x20not\x20set\x20(ngrok\x20failed?).\x20Cannot\x20start\x20call.','content','/voice','52857gTFxZC','341438kVoLfX','publicUrl','6VtINNt','1082680uBRDoz','[Twilio]\x20Configure\x20your\x20webhook\x20URL\x20to:\x20','POST','user','includes','gather','[Twilio]\x20AI\x20Error:\x20','1004765SXOycg','2102765enWqSH'];a37_0x3266=function(){return _0x483526;};return a37_0x3266();}export async function makeCall(_0x70a87){const _0x32e682=a37_0x5de9,_0x20daad=a37_0x48a6,_0x570ad5=a37_0x171e,_0x1bc010=a37_0x185b,_0x19ada0=a37_0x4466;if(!a37_0x1ab8b0[_0x19ada0(0x166)]()){a37_0x2c0ae8[_0x19ada0(0x14c)](_0x19ada0(0x167));return;}let _0x25b778=a37_0x1ab8b0[_0x32e682(0x153)]()[_0x19ada0(0x161)];if(!_0x25b778){a37_0x2c0ae8[_0x570ad5(0x19b)](_0x19ada0(0x128));return;}!_0x25b778[_0x570ad5(0x17a)](_0x1bc010(0x1a6))&&(_0x25b778+=_0x19ada0(0x12e));const _0x3b9b87=a37_0x1ab8b0[_0x19ada0(0x169)](),_0x553a74=a37_0x24ff22(_0x3b9b87[_0x19ada0(0x13a)],_0x3b9b87[_0x570ad5(0x187)]);try{a37_0x2c0ae8[_0x1bc010(0x17e)](_0x19ada0(0x12c)+_0x70a87+_0x19ada0(0x136)+_0x3b9b87[_0x19ada0(0x14e)]+_0x19ada0(0x13d));const _0x5e3fd4=await _0x553a74[_0x570ad5(0x16f)][_0x1bc010(0x193)]({'url':_0x25b778,'to':_0x70a87,'from':_0x3b9b87[_0x20daad(0x189)]});a37_0x2c0ae8[_0x19ada0(0x12d)](_0x19ada0(0x126)+_0x5e3fd4[_0x19ada0(0x127)]);}catch(_0x27173a){a37_0x2c0ae8[_0x1bc010(0x19f)](_0x19ada0(0x13f)+_0x27173a[_0x19ada0(0x164)]),_0x27173a[_0x1bc010(0x1ab)]&&a37_0x2c0ae8[_0x570ad5(0x1a1)](_0x19ada0(0x14f)+_0x27173a[_0x19ada0(0x123)]),_0x27173a[_0x570ad5(0x164)]&&a37_0x2c0ae8[_0x1bc010(0x199)](_0x1bc010(0x198)+_0x27173a[_0x19ada0(0x14d)]),a37_0x2c0ae8[_0x1bc010(0x199)](_0x19ada0(0x140));}}function a37_0x1f7d(){const _0x3eb11e=a37_0xf1df,_0x539e72=[_0x3eb11e(0x12e),_0x3eb11e(0x129),'86793chDngJ',_0x3eb11e(0x112),'[Twilio]\x20Failed\x20to\x20start\x20ngrok:\x20',_0x3eb11e(0x15a),'11478SnEMTH','4361832juJJCQ',_0x3eb11e(0x138),'1553730RZfLcE',_0x3eb11e(0x11f),_0x3eb11e(0xed),'1YdvqbF',_0x3eb11e(0x156),'info',_0x3eb11e(0x153),_0x3eb11e(0x148),_0x3eb11e(0x143),_0x3eb11e(0xfe),'[Twilio]\x20More\x20Info:\x20',_0x3eb11e(0x152),'6rseyfs',_0x3eb11e(0xe9),_0x3eb11e(0x102),_0x3eb11e(0x14b),_0x3eb11e(0x15c),_0x3eb11e(0x159),'ngrok\x20agent\x20sessions',_0x3eb11e(0x12b),_0x3eb11e(0x131),_0x3eb11e(0x114),_0x3eb11e(0x147),'[Twilio]\x20Call\x20initiated:\x20',_0x3eb11e(0xef),_0x3eb11e(0xf0),'5514446kYLPQr',_0x3eb11e(0x109),_0x3eb11e(0xf3),_0x3eb11e(0x12f),'8GvnduU',_0x3eb11e(0x125),_0x3eb11e(0x100),_0x3eb11e(0x12c),_0x3eb11e(0x12a),'197230kWQbOK',_0x3eb11e(0xf6),_0x3eb11e(0x13a),_0x3eb11e(0x12d),_0x3eb11e(0x108),_0x3eb11e(0x145),'1127182xPkNBb','5721330ccsXMW',_0x3eb11e(0x104),_0x3eb11e(0xfd),'auto','getConfig',_0x3eb11e(0x134),_0x3eb11e(0x123),_0x3eb11e(0x10f),_0x3eb11e(0x13c),_0x3eb11e(0xfa),_0x3eb11e(0x149),_0x3eb11e(0xf9),'isConfigured',_0x3eb11e(0x10c),_0x3eb11e(0x13b),_0x3eb11e(0x151),'\x20from\x20',_0x3eb11e(0x14f),_0x3eb11e(0x10d),'VoiceResponse',_0x3eb11e(0x142),'get',_0x3eb11e(0x150),_0x3eb11e(0x13d),_0x3eb11e(0x15b),_0x3eb11e(0x120),_0x3eb11e(0xfb),'end','accountSid','988503UQYtJl',_0x3eb11e(0x139),_0x3eb11e(0x127),_0x3eb11e(0x140),'256805PrZdrV',_0x3eb11e(0x11c),_0x3eb11e(0x135),_0x3eb11e(0x122),_0x3eb11e(0x13f),_0x3eb11e(0x155),_0x3eb11e(0x141),_0x3eb11e(0x128),_0x3eb11e(0x161),_0x3eb11e(0xf8),_0x3eb11e(0xfc),'789812eXdAgx','redirect',_0x3eb11e(0x10a),_0x3eb11e(0x160),'Anything\x20else?',_0x3eb11e(0x146),_0x3eb11e(0x163),_0x3eb11e(0x118),_0x3eb11e(0xf1),_0x3eb11e(0xeb),'264601DYTGBX','sid',_0x3eb11e(0x144),'993284Ftbocq','[Twilio]\x20Calling\x20',_0x3eb11e(0x113),_0x3eb11e(0xe7),_0x3eb11e(0xe5),_0x3eb11e(0x115),_0x3eb11e(0x11b),_0x3eb11e(0xec),_0x3eb11e(0x11a),_0x3eb11e(0x11e),_0x3eb11e(0x162),_0x3eb11e(0xea),_0x3eb11e(0x103)];return a37_0x1f7d=function(){return _0x539e72;},a37_0x1f7d();}export{isConfigured}from'./config.js';function a37_0x4ba3(){const _0x2940ae=a37_0x48a6,_0x4323c5=a37_0x171e,_0x12fd2c=a37_0x185b,_0x13a288=[_0x12fd2c(0x1a3),_0x2940ae(0x1b2),_0x4323c5(0x182),_0x12fd2c(0x199),_0x12fd2c(0x19f),_0x12fd2c(0x18e),_0x12fd2c(0x195),_0x12fd2c(0x1c4),_0x4323c5(0x19a),_0x12fd2c(0x1ce),_0x2940ae(0x1aa),_0x12fd2c(0x1aa),_0x12fd2c(0x1ae),_0x12fd2c(0x185),_0x12fd2c(0x1c1),_0x2940ae(0x1b5),_0x4323c5(0x1a9),_0x12fd2c(0x1bd),_0x4323c5(0x16c),_0x12fd2c(0x1a5),_0x12fd2c(0x188),_0x12fd2c(0x181),_0x12fd2c(0x19b),_0x12fd2c(0x1a1),_0x12fd2c(0x1bc),_0x12fd2c(0x18a),_0x2940ae(0x1c3),_0x12fd2c(0x1b2),_0x12fd2c(0x1be),_0x2940ae(0x1e1),_0x12fd2c(0x1a9),_0x12fd2c(0x1b0),_0x12fd2c(0x184),_0x12fd2c(0x1ba),_0x12fd2c(0x1b9),_0x12fd2c(0x191),_0x4323c5(0x170),_0x4323c5(0x1a0),_0x12fd2c(0x187),_0x12fd2c(0x18b),_0x12fd2c(0x1cb),_0x12fd2c(0x1c3),_0x2940ae(0x1be),_0x12fd2c(0x1b5),_0x12fd2c(0x1a8),_0x4323c5(0x176),_0x12fd2c(0x19e),_0x12fd2c(0x1c9),_0x12fd2c(0x1a6),_0x12fd2c(0x1c5),_0x12fd2c(0x19a),_0x12fd2c(0x1cd),_0x12fd2c(0x182),_0x12fd2c(0x197),_0x4323c5(0x166),_0x12fd2c(0x189),_0x12fd2c(0x1ac),_0x12fd2c(0x1cc),_0x12fd2c(0x1a7),_0x12fd2c(0x1b1),_0x12fd2c(0x1b4),_0x4323c5(0x198),_0x12fd2c(0x1ad),_0x12fd2c(0x180),_0x4323c5(0x196),_0x12fd2c(0x1c2),_0x12fd2c(0x1b6),_0x12fd2c(0x18d),_0x4323c5(0x1a7),_0x12fd2c(0x19c),_0x12fd2c(0x1bf),_0x12fd2c(0x17d),_0x4323c5(0x191),_0x12fd2c(0x17f)];return a37_0x4ba3=function(){return _0x13a288;},a37_0x4ba3();}
@@ -1 +1 @@
1
- function a38_0x731a(_0x332e24,_0x475501){_0x332e24=_0x332e24-0x116;const _0x131fb4=a38_0x131f();let _0x731ac7=_0x131fb4[_0x332e24];return _0x731ac7;}(function(_0x3dac7f,_0x4786e2){const _0x10a621=a38_0x731a,_0xcd0e28=_0x3dac7f();while(!![]){try{const _0x4aa3c3=parseInt(_0x10a621(0x123))/0x1*(parseInt(_0x10a621(0x12d))/0x2)+-parseInt(_0x10a621(0x131))/0x3+parseInt(_0x10a621(0x134))/0x4*(parseInt(_0x10a621(0x12b))/0x5)+parseInt(_0x10a621(0x12e))/0x6+-parseInt(_0x10a621(0x135))/0x7+-parseInt(_0x10a621(0x149))/0x8*(-parseInt(_0x10a621(0x116))/0x9)+-parseInt(_0x10a621(0x138))/0xa*(parseInt(_0x10a621(0x12a))/0xb);if(_0x4aa3c3===_0x4786e2)break;else _0xcd0e28['push'](_0xcd0e28['shift']());}catch(_0x21eb5c){_0xcd0e28['push'](_0xcd0e28['shift']());}}}(a38_0x131f,0x52693),(function(_0x312f30,_0x137ff4){const _0x55980a=a38_0x731a,_0x13e62f=a38_0x506d,_0x4a07a6=_0x312f30();while(!![]){try{const _0x40d196=-parseInt(_0x13e62f(0x1e5))/0x1*(parseInt(_0x13e62f(0x1ed))/0x2)+parseInt(_0x13e62f(0x1e0))/0x3*(-parseInt(_0x13e62f(0x1db))/0x4)+parseInt(_0x13e62f(0x1f7))/0x5+parseInt(_0x13e62f(0x1e8))/0x6+parseInt(_0x13e62f(0x1de))/0x7+parseInt(_0x13e62f(0x201))/0x8+parseInt(_0x13e62f(0x1f4))/0x9*(-parseInt(_0x13e62f(0x1dd))/0xa);if(_0x40d196===_0x137ff4)break;else _0x4a07a6[_0x55980a(0x146)](_0x4a07a6[_0x55980a(0x142)]());}catch(_0x11529d){_0x4a07a6['push'](_0x4a07a6['shift']());}}}(a38_0x1504,0xe33ad),function(_0x46d768,_0x1d6ffa){const _0x833675=a38_0x731a,_0x3edc57=a38_0x506d,_0x2714dc=a38_0x5597,_0x3b81bc=_0x46d768();while(!![]){try{const _0x250b5d=-parseInt(_0x2714dc(0x18b))/0x1*(-parseInt(_0x2714dc(0x19e))/0x2)+parseInt(_0x2714dc(0x1a5))/0x3+parseInt(_0x2714dc(0x1ab))/0x4*(parseInt(_0x2714dc(0x193))/0x5)+parseInt(_0x2714dc(0x18c))/0x6*(-parseInt(_0x2714dc(0x1a7))/0x7)+parseInt(_0x2714dc(0x19f))/0x8+parseInt(_0x2714dc(0x192))/0x9+parseInt(_0x2714dc(0x19b))/0xa*(-parseInt(_0x2714dc(0x19a))/0xb);if(_0x250b5d===_0x1d6ffa)break;else _0x3b81bc[_0x3edc57(0x1f5)](_0x3b81bc[_0x833675(0x142)]());}catch(_0x792501){_0x3b81bc[_0x833675(0x146)](_0x3b81bc[_0x3edc57(0x1f0)]());}}}(a38_0x40f3,0x20a68)));function a38_0x1504(){const _0x3428db=a38_0x731a,_0x18094a=[_0x3428db(0x14b),_0x3428db(0x128),_0x3428db(0x145),'158661ngVtoM',_0x3428db(0x125),_0x3428db(0x12f),'accounts',_0x3428db(0x13f),_0x3428db(0x13d),_0x3428db(0x126),_0x3428db(0x11a),_0x3428db(0x11b),'5177988zdpyDe',_0x3428db(0x120),_0x3428db(0x11e),_0x3428db(0x11d),_0x3428db(0x136),_0x3428db(0x11f),_0x3428db(0x147),_0x3428db(0x132),_0x3428db(0x142),'Public\x20URL\x20(Leave\x20empty\x20to\x20use\x20auto-ngrok):','492ahIlfC',_0x3428db(0x127),_0x3428db(0x139),'push',_0x3428db(0x118),'6042025xonAVD',_0x3428db(0x11c),'startsWith',_0x3428db(0x140),_0x3428db(0x130),_0x3428db(0x124),_0x3428db(0x137),'Validating\x20credentials...','Configuration\x20not\x20saved.',_0x3428db(0x13e),'10428576NiaAaQ',_0x3428db(0x143),'Save\x20anyway?',_0x3428db(0x144),_0x3428db(0x13c),_0x3428db(0x117),'api',_0x3428db(0x13b),_0x3428db(0x13a),'message',_0x3428db(0x14a)];return a38_0x1504=function(){return _0x18094a;},a38_0x1504();}import{input}from'@inquirer/prompts';import*as a38_0x5afb32 from'./config.js';import*as a38_0x57c546 from'../ui/output.js';function a38_0x5597(_0x55c6d5,_0x117571){_0x55c6d5=_0x55c6d5-0x18a;const _0x1ce873=a38_0x40f3();let _0x4f0be0=_0x1ce873[_0x55c6d5];return _0x4f0be0;}export async function setupTwilio(){const _0x11e5b0=a38_0x731a,_0x42ffcc=a38_0x506d,_0x51ab1f=a38_0x5597;a38_0x57c546[_0x51ab1f(0x1a4)](_0x51ab1f(0x195)),a38_0x57c546[_0x11e5b0(0x133)](_0x51ab1f(0x1a1));const _0xc4cc2=await input({'message':_0x51ab1f(0x1a8),'validate':_0x296aea=>_0x296aea[_0x42ffcc(0x1f9)]('AC')?!![]:_0x51ab1f(0x199)}),{password:_0x32add3}=await import(_0x51ab1f(0x19d)),_0x19e6b2=await _0x32add3({'message':_0x42ffcc(0x1d9)}),_0x46b87f=await input({'message':_0x51ab1f(0x19c)}),_0x5f3b5c=await input({'message':_0x42ffcc(0x1e3),'transformer':_0x351c1f=>_0x351c1f?_0x42ffcc(0x1fc):''}),_0x19bb7b=await input({'message':_0x51ab1f(0x191)}),_0xd85048=a38_0x57c546[_0x51ab1f(0x1a3)](_0x42ffcc(0x1fe));_0xd85048[_0x11e5b0(0x12c)]();try{const _0x1810be=await import(_0x42ffcc(0x1f8)),_0x191dff=_0x1810be[_0x51ab1f(0x197)](_0xc4cc2,_0x19e6b2);await _0x191dff[_0x51ab1f(0x198)][_0x42ffcc(0x1e2)](_0xc4cc2)[_0x51ab1f(0x1a0)](),_0xd85048[_0x51ab1f(0x18d)](),a38_0x57c546[_0x51ab1f(0x1a6)](_0x51ab1f(0x1a9));}catch(_0x288568){_0xd85048[_0x51ab1f(0x18d)](),a38_0x57c546[_0x51ab1f(0x190)](_0x51ab1f(0x1aa)+_0x288568[_0x51ab1f(0x194)]),a38_0x57c546[_0x51ab1f(0x190)](_0x42ffcc(0x1eb));const {confirm:_0x56acdc}=await import(_0x51ab1f(0x19d)),_0x503891=await _0x56acdc({'message':_0x51ab1f(0x18a),'default':![]});if(!_0x503891){a38_0x57c546[_0x51ab1f(0x1a4)](_0x51ab1f(0x18e));return;}}a38_0x5afb32[_0x42ffcc(0x1e7)](_0xc4cc2,_0x19e6b2,_0x46b87f,_0x5f3b5c);if(_0x19bb7b)a38_0x5afb32[_0x51ab1f(0x1a2)](_0x19bb7b);a38_0x57c546[_0x11e5b0(0x121)](_0x51ab1f(0x18f)),a38_0x57c546[_0x51ab1f(0x1a4)](_0x51ab1f(0x196));}function a38_0x506d(_0x38e249,_0x48f4df){_0x38e249=_0x38e249-0x1d4;const _0x54874b=a38_0x1504();let _0x5c60fd=_0x54874b[_0x38e249];return _0x5c60fd;}function a38_0x40f3(){const _0x55ec26=a38_0x731a,_0x321ef8=a38_0x506d,_0x372089=[_0x321ef8(0x202),_0x321ef8(0x1f2),_0x55ec26(0x119),_0x321ef8(0x1ff),_0x321ef8(0x1fa),_0x321ef8(0x1e6),_0x321ef8(0x1f1),_0x55ec26(0x129),_0x55ec26(0x148),_0x321ef8(0x1da),_0x321ef8(0x1dc),'Restart\x20the\x20CLI\x20to\x20start\x20the\x20listeners.',_0x321ef8(0x1d5),_0x321ef8(0x1d7),_0x321ef8(0x1ea),_0x321ef8(0x1e9),_0x55ec26(0x122),_0x321ef8(0x1fd),_0x321ef8(0x1d6),_0x321ef8(0x1ef),_0x321ef8(0x1e4),_0x321ef8(0x1ec),_0x55ec26(0x141),_0x321ef8(0x1d8),_0x321ef8(0x1fb),_0x321ef8(0x200),_0x321ef8(0x1df),_0x55ec26(0x121),_0x321ef8(0x1f6),_0x321ef8(0x1ee),_0x321ef8(0x1f3),_0x321ef8(0x1d4),_0x321ef8(0x1e1),_0x321ef8(0x203)];return a38_0x40f3=function(){return _0x372089;},a38_0x40f3();}function a38_0x131f(){const _0xd9d9b=['fetch','Twilio\x20Phone\x20Number\x20(e.g.\x20+1234567890):','68350NDEofe','3566007dtyCGD','Auth\x20Token:','setPublicUrl','default','1451792ubHmLl','info','Ngrok\x20Authtoken\x20(Optional,\x20but\x20recommended\x20for\x20auto-tunnel):','Twilio\x20configuration\x20saved!','You\x20need\x20your\x20Account\x20SID,\x20Auth\x20Token,\x20and\x20Twilio\x20Phone\x20Number.','shift','53657BiDorX','Validation\x20failed:\x20','10634428DSnDUb','push','Account\x20SID:','65fKIvqO','2865256RiWeiF','145720gABMyZ','Setup\x20Twilio\x20Integration\x20(SMS\x20&\x20Voice)','9bUoRcI','@inquirer/prompts','11249BkcjQF','stop','error','setConfig','twilio','Double\x20check\x20your\x20Account\x20SID\x20and\x20Auth\x20Token.','SID\x20should\x20start\x20with\x20AC','78fVNmyt','1958VHqrth','success','16990BgqtJV','260373Jjssxy','****************','150UHeRKn','24443PdrWWQ','Credentials\x20validated\x20successfully!','30uFXmep','1885086uTwiZU','363VyreLa','478180LzjQde','start','2nXcEsf','1431672hEuLvK','21680qHUwUm','createSpinner','1359912HCZkRP','2OnHFAw','dim','16XGSFqF','1562904vllwqi'];a38_0x131f=function(){return _0xd9d9b;};return a38_0x131f();}
1
+ (function(_0x535d0b,_0x3010c8){const _0x717634=a38_0x20a3,_0x5e2c71=_0x535d0b();while(!![]){try{const _0x52df0d=parseInt(_0x717634(0x1a8))/0x1*(-parseInt(_0x717634(0x1c3))/0x2)+parseInt(_0x717634(0x1c8))/0x3+parseInt(_0x717634(0x1b4))/0x4*(parseInt(_0x717634(0x1bb))/0x5)+-parseInt(_0x717634(0x1a3))/0x6+parseInt(_0x717634(0x1c1))/0x7*(-parseInt(_0x717634(0x198))/0x8)+parseInt(_0x717634(0x1b3))/0x9*(parseInt(_0x717634(0x1a2))/0xa)+parseInt(_0x717634(0x197))/0xb;if(_0x52df0d===_0x3010c8)break;else _0x5e2c71['push'](_0x5e2c71['shift']());}catch(_0x24cd62){_0x5e2c71['push'](_0x5e2c71['shift']());}}}(a38_0x4bbe,0x7a6c9),(function(_0x377109,_0x12c8b4){const _0x3a6865=a38_0x20a3,_0x5d8a47=a38_0x51b3,_0x3c815c=_0x377109();while(!![]){try{const _0xba9643=parseInt(_0x5d8a47(0x11b))/0x1*(-parseInt(_0x5d8a47(0x101))/0x2)+-parseInt(_0x5d8a47(0x10d))/0x3*(parseInt(_0x5d8a47(0xfb))/0x4)+-parseInt(_0x5d8a47(0xf2))/0x5+-parseInt(_0x5d8a47(0x10b))/0x6+-parseInt(_0x5d8a47(0x114))/0x7+parseInt(_0x5d8a47(0x10a))/0x8+parseInt(_0x5d8a47(0xcf))/0x9;if(_0xba9643===_0x12c8b4)break;else _0x3c815c['push'](_0x3c815c[_0x3a6865(0x185)]());}catch(_0x55d94f){_0x3c815c[_0x3a6865(0x183)](_0x3c815c['shift']());}}}(a38_0x59d0,0x97f42),(function(_0x58cb7a,_0x2a2149){const _0x1675d1=a38_0x20a3,_0x556bd7=a38_0x51b3,_0x2be334=a38_0xc1c4,_0x36d0e5=_0x58cb7a();while(!![]){try{const _0x3feb90=parseInt(_0x2be334(0x11c))/0x1+-parseInt(_0x2be334(0x13e))/0x2*(-parseInt(_0x2be334(0x112))/0x3)+-parseInt(_0x2be334(0x12d))/0x4+parseInt(_0x2be334(0x122))/0x5+parseInt(_0x2be334(0x111))/0x6*(parseInt(_0x2be334(0x145))/0x7)+parseInt(_0x2be334(0x15d))/0x8+parseInt(_0x2be334(0x131))/0x9*(-parseInt(_0x2be334(0x13a))/0xa);if(_0x3feb90===_0x2a2149)break;else _0x36d0e5[_0x1675d1(0x183)](_0x36d0e5[_0x556bd7(0xe4)]());}catch(_0x4ba9ea){_0x36d0e5['push'](_0x36d0e5[_0x556bd7(0xe4)]());}}}(a38_0x4b11,0xd7894),(function(_0x46906,_0x1cc1ec){const _0x2c05d0=a38_0x20a3,_0x5d4de4=a38_0xc1c4,_0x34dd1b=a38_0x5eac,_0x376e31=_0x46906();while(!![]){try{const _0x61a3e3=parseInt(_0x34dd1b(0x13a))/0x1+-parseInt(_0x34dd1b(0x171))/0x2+parseInt(_0x34dd1b(0x134))/0x3*(-parseInt(_0x34dd1b(0x142))/0x4)+-parseInt(_0x34dd1b(0x159))/0x5*(parseInt(_0x34dd1b(0x145))/0x6)+parseInt(_0x34dd1b(0x16b))/0x7+-parseInt(_0x34dd1b(0x131))/0x8+parseInt(_0x34dd1b(0x13d))/0x9;if(_0x61a3e3===_0x1cc1ec)break;else _0x376e31[_0x2c05d0(0x183)](_0x376e31[_0x5d4de4(0x15f)]());}catch(_0x36a7b0){_0x376e31[_0x5d4de4(0x157)](_0x376e31[_0x5d4de4(0x15f)]());}}}(a38_0x345a,0xc77d2),(function(_0x592d30,_0x5abf09){const _0xbc948=a38_0x5eac,_0x59228e=a38_0x2f5b,_0xd611b4=_0x592d30();while(!![]){try{const _0x27e385=parseInt(_0x59228e(0x6a))/0x1+parseInt(_0x59228e(0xa3))/0x2+-parseInt(_0x59228e(0xad))/0x3*(-parseInt(_0x59228e(0x81))/0x4)+parseInt(_0x59228e(0xaa))/0x5*(parseInt(_0x59228e(0x82))/0x6)+-parseInt(_0x59228e(0x9b))/0x7+-parseInt(_0x59228e(0x78))/0x8+-parseInt(_0x59228e(0x87))/0x9;if(_0x27e385===_0x5abf09)break;else _0xd611b4[_0xbc948(0x15d)](_0xd611b4[_0xbc948(0x15e)]());}catch(_0x1c6d16){_0xd611b4[_0xbc948(0x15d)](_0xd611b4[_0xbc948(0x15e)]());}}}(a38_0x1327,0xd4b4b),function(_0x2e5493,_0x2003d3){const _0x52c49a=a38_0x5eac,_0x48e04d=a38_0x2f5b,_0x171efb=a38_0x3173,_0x17861c=_0x2e5493();while(!![]){try{const _0x4fff4b=parseInt(_0x171efb(0x208))/0x1*(-parseInt(_0x171efb(0x1ef))/0x2)+parseInt(_0x171efb(0x220))/0x3+parseInt(_0x171efb(0x1ff))/0x4*(parseInt(_0x171efb(0x20c))/0x5)+parseInt(_0x171efb(0x206))/0x6+-parseInt(_0x171efb(0x20d))/0x7*(-parseInt(_0x171efb(0x216))/0x8)+-parseInt(_0x171efb(0x1e9))/0x9+parseInt(_0x171efb(0x1f5))/0xa*(-parseInt(_0x171efb(0x219))/0xb);if(_0x4fff4b===_0x2003d3)break;else _0x17861c[_0x48e04d(0x79)](_0x17861c[_0x48e04d(0x8a)]());}catch(_0x55dbd7){_0x17861c[_0x52c49a(0x15d)](_0x17861c[_0x48e04d(0x8a)]());}}}(a38_0x47fd,0xaa284))))));function a38_0x731a(_0x4da309,_0x533f3e){_0x4da309=_0x4da309-0x116;const _0x2d8ba5=a38_0x131f();let _0x45f7eb=_0x2d8ba5[_0x4da309];return _0x45f7eb;}(function(_0x3e8d12,_0x5c8157){const _0x32aa1d=a38_0x3173,_0x3ea6ef=a38_0x731a,_0x2e5965=_0x3e8d12();while(!![]){try{const _0x56f20f=parseInt(_0x3ea6ef(0x123))/0x1*(parseInt(_0x3ea6ef(0x12d))/0x2)+-parseInt(_0x3ea6ef(0x131))/0x3+parseInt(_0x3ea6ef(0x134))/0x4*(parseInt(_0x3ea6ef(0x12b))/0x5)+parseInt(_0x3ea6ef(0x12e))/0x6+-parseInt(_0x3ea6ef(0x135))/0x7+-parseInt(_0x3ea6ef(0x149))/0x8*(-parseInt(_0x3ea6ef(0x116))/0x9)+-parseInt(_0x3ea6ef(0x138))/0xa*(parseInt(_0x3ea6ef(0x12a))/0xb);if(_0x56f20f===_0x5c8157)break;else _0x2e5965[_0x32aa1d(0x1eb)](_0x2e5965[_0x32aa1d(0x1f8)]());}catch(_0xdce4e0){_0x2e5965[_0x32aa1d(0x1eb)](_0x2e5965[_0x32aa1d(0x1f8)]());}}}(a38_0x131f,0x52693),(function(_0x33b320,_0x5c7564){const _0x458caf=a38_0x3173,_0x10c88b=a38_0x731a,_0x4268ef=a38_0x506d,_0x7a4637=_0x33b320();while(!![]){try{const _0x149535=-parseInt(_0x4268ef(0x1e5))/0x1*(parseInt(_0x4268ef(0x1ed))/0x2)+parseInt(_0x4268ef(0x1e0))/0x3*(-parseInt(_0x4268ef(0x1db))/0x4)+parseInt(_0x4268ef(0x1f7))/0x5+parseInt(_0x4268ef(0x1e8))/0x6+parseInt(_0x4268ef(0x1de))/0x7+parseInt(_0x4268ef(0x201))/0x8+parseInt(_0x4268ef(0x1f4))/0x9*(-parseInt(_0x4268ef(0x1dd))/0xa);if(_0x149535===_0x5c7564)break;else _0x7a4637[_0x10c88b(0x146)](_0x7a4637[_0x10c88b(0x142)]());}catch(_0x25cc46){_0x7a4637[_0x458caf(0x1eb)](_0x7a4637[_0x458caf(0x1f8)]());}}}(a38_0x1504,0xe33ad),function(_0x29824b,_0x214ce9){const _0x626819=a38_0x731a,_0xc735f7=a38_0x506d,_0x182cc7=a38_0x5597,_0x1f4bfc=_0x29824b();while(!![]){try{const _0x13172b=-parseInt(_0x182cc7(0x18b))/0x1*(-parseInt(_0x182cc7(0x19e))/0x2)+parseInt(_0x182cc7(0x1a5))/0x3+parseInt(_0x182cc7(0x1ab))/0x4*(parseInt(_0x182cc7(0x193))/0x5)+parseInt(_0x182cc7(0x18c))/0x6*(-parseInt(_0x182cc7(0x1a7))/0x7)+parseInt(_0x182cc7(0x19f))/0x8+parseInt(_0x182cc7(0x192))/0x9+parseInt(_0x182cc7(0x19b))/0xa*(-parseInt(_0x182cc7(0x19a))/0xb);if(_0x13172b===_0x214ce9)break;else _0x1f4bfc[_0xc735f7(0x1f5)](_0x1f4bfc[_0x626819(0x142)]());}catch(_0x8151f4){_0x1f4bfc[_0x626819(0x146)](_0x1f4bfc[_0xc735f7(0x1f0)]());}}}(a38_0x40f3,0x20a68)));function a38_0x59d0(){const _0x3f7216=a38_0x20a3,_0x16c986=[_0x3f7216(0x17d),_0x3f7216(0x192),_0x3f7216(0x1ce),'15MrfwGt',_0x3f7216(0x180),_0x3f7216(0x19d),_0x3f7216(0x1aa),_0x3f7216(0x1c0),_0x3f7216(0x183),_0x3f7216(0x19f),_0x3f7216(0x191),'3005320CxDMfu',_0x3f7216(0x199),_0x3f7216(0x17f),_0x3f7216(0x1d3),'2nXcEsf',_0x3f7216(0x1c9),_0x3f7216(0x1b8),'dim',_0x3f7216(0x181),_0x3f7216(0x18a),_0x3f7216(0x1a1),_0x3f7216(0x195),_0x3f7216(0x1cc),'522276NLoepf','Validation\x20failed:\x20',_0x3f7216(0x1bc),_0x3f7216(0x190),_0x3f7216(0x1bd),_0x3f7216(0x193),_0x3f7216(0x1d5),_0x3f7216(0x18c),'1562904vllwqi',_0x3f7216(0x1c2),_0x3f7216(0x1b6),'263830YVUFFE',_0x3f7216(0x1cd),_0x3f7216(0x185),'message',_0x3f7216(0x1d0),_0x3f7216(0x1ac),'972yvZodi',_0x3f7216(0x1c6),_0x3f7216(0x1af),_0x3f7216(0x1d9),_0x3f7216(0x1cb),_0x3f7216(0x1d6),_0x3f7216(0x17a),_0x3f7216(0x1db),_0x3f7216(0x1dd),_0x3f7216(0x17e),_0x3f7216(0x1ab),_0x3f7216(0x1ae),_0x3f7216(0x1b1),'4372agqomm',_0x3f7216(0x1ba),_0x3f7216(0x1b0),'1885086uTwiZU',_0x3f7216(0x1da),_0x3f7216(0x1d2),_0x3f7216(0x18e),_0x3f7216(0x1d8),'6229224zinAhM',_0x3f7216(0x1b7),_0x3f7216(0x1a0),_0x3f7216(0x19c),'5318aflFZI',_0x3f7216(0x1a5),'Account\x20SID:',_0x3f7216(0x1b2),'11249BkcjQF',_0x3f7216(0x184),_0x3f7216(0x186),'8296380bNMxJz','30uFXmep',_0x3f7216(0x1b9),_0x3f7216(0x19b),_0x3f7216(0x18b),'5955EoPFKT',_0x3f7216(0x196),'150UHeRKn',_0x3f7216(0x1be),_0x3f7216(0x188),_0x3f7216(0x19a),_0x3f7216(0x19e),_0x3f7216(0x1a4),'5177988zdpyDe','8690OJGbXx',_0x3f7216(0x1c5),_0x3f7216(0x1c4)];return a38_0x59d0=function(){return _0x16c986;},a38_0x59d0();}function a38_0x5eac(_0x134cba,_0x43e128){_0x134cba=_0x134cba-0x131;const _0xbea91e=a38_0x345a();let _0x5c7f1f=_0xbea91e[_0x134cba];return _0x5c7f1f;}function a38_0x4bbe(){const _0x235c7c=['9bUoRcI','6991595OvoMiY','62929sMiYAS','1359912HCZkRP','492ahIlfC','4207905UttuUX','twilio','40loMaEl','53657BiDorX','16990BgqtJV','592320ZjRaWs','363VyreLa','145854mkWjad','1611297YejGoj','56OavILe','Restart\x20the\x20CLI\x20to\x20start\x20the\x20listeners.','Ngrok\x20Authtoken\x20(Optional,\x20but\x20recommended\x20for\x20auto-tunnel):','Public\x20URL\x20(Leave\x20empty\x20to\x20use\x20auto-ngrok):','517gARJUQ','2479176CizhlS','setPublicUrl','247985tWeBLW','Twilio\x20configuration\x20saved!','SID\x20should\x20start\x20with\x20AC','16XGSFqF','10634428DSnDUb','24443PdrWWQ','5692337XhCkCv','345BYRiOX','16PCClVJ','6042025xonAVD','5214pTDAAs','145720gABMyZ','error','2686032rgCyGF','26601651ZfiXoF','4246029iDDtEK','24CntZAH','4442000CRAzFY','success','233TEfSqP','2OnHFAw','start','createSpinner','4762DNbYGr','19283886nLfceM','158661ngVtoM','1958VHqrth','****************','accounts','stop','181134NUtUwA','10428576NiaAaQ','You\x20need\x20your\x20Account\x20SID,\x20Auth\x20Token,\x20and\x20Twilio\x20Phone\x20Number.','68350NDEofe','78fVNmyt','478180LzjQde','Save\x20anyway?','2620398OOMEvC','4qKplRm','Auth\x20Token:','Credentials\x20validated\x20successfully!','2013194aeFCek','140tSmafr','1451792ubHmLl','1TauaGX','push','setConfig','shift','5549195xRGgMd','1227009nPVimb','1842424HjbpZg','7795669FqQbuK','260373Jjssxy','1500622FhFAbq','2865256RiWeiF','Twilio\x20Phone\x20Number\x20(e.g.\x20+1234567890):','1172ueLdQw','5751277pPJpwn','Configuration\x20not\x20saved.','65fKIvqO','Double\x20check\x20your\x20Account\x20SID\x20and\x20Auth\x20Token.','1431672hEuLvK','320316FmROMt','fetch','8580360eArHJz','2521442xrnYJv','8wiyqIW','21680qHUwUm','7iTSpOw','202278AdyqqI','@inquirer/prompts','info','Setup\x20Twilio\x20Integration\x20(SMS\x20&\x20Voice)','3566007dtyCGD','706128zahjrM','5895612ZPILIi','20ryKKOd','2153508LzWLdE','3967516KKRGmE','Validating\x20credentials...'];a38_0x4bbe=function(){return _0x235c7c;};return a38_0x4bbe();}function a38_0x1504(){const _0x2af5fc=a38_0x51b3,_0xb9ab67=a38_0x5eac,_0x4aa005=a38_0x2f5b,_0x2b1552=a38_0x3173,_0x6214d1=a38_0x731a,_0x23f9f0=[_0x6214d1(0x14b),_0x6214d1(0x128),_0x6214d1(0x145),_0x4aa005(0xa7),_0x6214d1(0x125),_0x6214d1(0x12f),_0x2b1552(0x1fd),_0x6214d1(0x13f),_0x6214d1(0x13d),_0x6214d1(0x126),_0x6214d1(0x11a),_0x6214d1(0x11b),_0x2b1552(0x21f),_0x6214d1(0x120),_0x6214d1(0x11e),_0x6214d1(0x11d),_0x6214d1(0x136),_0x6214d1(0x11f),_0x6214d1(0x147),_0x6214d1(0x132),_0x6214d1(0x142),_0x2af5fc(0xfe),_0x2b1552(0x214),_0x6214d1(0x127),_0x6214d1(0x139),_0xb9ab67(0x15d),_0x6214d1(0x118),_0x4aa005(0x6c),_0x6214d1(0x11c),_0x2b1552(0x1f1),_0x6214d1(0x140),_0x6214d1(0x130),_0x6214d1(0x124),_0x6214d1(0x137),_0x2b1552(0x1f7),_0xb9ab67(0x14d),_0x6214d1(0x13e),_0x2b1552(0x1fc),_0x6214d1(0x143),_0x2b1552(0x1f4),_0x6214d1(0x144),_0x6214d1(0x13c),_0x6214d1(0x117),_0x2b1552(0x20f),_0x6214d1(0x13b),_0x6214d1(0x13a),_0x2b1552(0x1ec),_0x6214d1(0x14a)];return a38_0x1504=function(){return _0x23f9f0;},a38_0x1504();}import{input}from'@inquirer/prompts';function a38_0x2f5b(_0x4fbf0f,_0x3f0bc0){_0x4fbf0f=_0x4fbf0f-0x68;const _0x19646f=a38_0x1327();let _0xdaba9=_0x19646f[_0x4fbf0f];return _0xdaba9;}import*as a38_0x26cff3 from'./config.js';function a38_0x3173(_0x551525,_0x2211a1){_0x551525=_0x551525-0x1e7;const _0x346f12=a38_0x47fd();let _0x468344=_0x346f12[_0x551525];return _0x468344;}import*as a38_0x381396 from'../ui/output.js';function a38_0x47fd(){const _0x5c7d4a=a38_0x51b3,_0x569f37=a38_0xc1c4,_0x5828b2=a38_0x5eac,_0x2ec6fe=a38_0x2f5b,_0x3b7626=[_0x5828b2(0x14c),_0x2ec6fe(0xae),_0x2ec6fe(0x7d),_0x2ec6fe(0x75),_0x2ec6fe(0x72),_0x2ec6fe(0x89),_0x569f37(0x150),_0x2ec6fe(0x7e),_0x2ec6fe(0x91),_0x2ec6fe(0xa5),_0x2ec6fe(0xa6),_0x2ec6fe(0xa9),_0x2ec6fe(0xab),_0x2ec6fe(0x69),_0x2ec6fe(0xac),_0x2ec6fe(0x8f),_0x2ec6fe(0x74),_0x569f37(0x13f),_0x2ec6fe(0x76),_0x2ec6fe(0x83),_0x2ec6fe(0x7c),_0x2ec6fe(0x8e),_0x2ec6fe(0x80),_0x2ec6fe(0x94),_0x2ec6fe(0xaf),_0x2ec6fe(0x84),_0x2ec6fe(0x79),_0x5c7d4a(0xe5),_0x2ec6fe(0x99),_0x2ec6fe(0x6d),_0x5828b2(0x14a),_0x5828b2(0x144),_0x2ec6fe(0x98),_0x2ec6fe(0xa2),_0x569f37(0x154),_0x2ec6fe(0x85),_0x2ec6fe(0x8d),_0x2ec6fe(0xa1),_0x2ec6fe(0x9a),_0x2ec6fe(0x8a),_0x2ec6fe(0x97),_0x2ec6fe(0x9c),_0x2ec6fe(0x9f),_0x2ec6fe(0x90),_0x2ec6fe(0x71),_0x5828b2(0x141),_0x2ec6fe(0x9e),_0x2ec6fe(0x77),_0x2ec6fe(0x92),_0x2ec6fe(0x8b),_0x5828b2(0x165),_0x5828b2(0x154),_0x2ec6fe(0x7b),_0x2ec6fe(0xa0),_0x2ec6fe(0x8c),_0x5828b2(0x172),_0x2ec6fe(0x70),_0x2ec6fe(0x86),_0x2ec6fe(0x6b),_0x2ec6fe(0x93),_0x2ec6fe(0x7f)];return a38_0x47fd=function(){return _0x3b7626;},a38_0x47fd();}function a38_0x5597(_0x5113ea,_0x5e046){_0x5113ea=_0x5113ea-0x18a;const _0xafbe48=a38_0x40f3();let _0xe33014=_0xafbe48[_0x5113ea];return _0xe33014;}function a38_0x51b3(_0x199a64,_0x524687){_0x199a64=_0x199a64-0xcc;const _0x5cc95e=a38_0x59d0();let _0x32060b=_0x5cc95e[_0x199a64];return _0x32060b;}export async function setupTwilio(){const _0x283ffc=a38_0x731a,_0x430a56=a38_0x506d,_0x57df06=a38_0x5597;a38_0x381396[_0x57df06(0x1a4)](_0x57df06(0x195)),a38_0x381396[_0x283ffc(0x133)](_0x57df06(0x1a1));const _0x26d475=await input({'message':_0x57df06(0x1a8),'validate':_0x5ee8d3=>_0x5ee8d3[_0x430a56(0x1f9)]('AC')?!![]:_0x57df06(0x199)}),{password:_0x5a30ca}=await import(_0x57df06(0x19d)),_0x438745=await _0x5a30ca({'message':_0x430a56(0x1d9)}),_0x4d6d50=await input({'message':_0x57df06(0x19c)}),_0x5e2e55=await input({'message':_0x430a56(0x1e3),'transformer':_0x38de5e=>_0x38de5e?_0x430a56(0x1fc):''}),_0x27e945=await input({'message':_0x57df06(0x191)}),_0x4c3eba=a38_0x381396[_0x57df06(0x1a3)](_0x430a56(0x1fe));_0x4c3eba[_0x283ffc(0x12c)]();try{const _0x2a71f0=await import(_0x430a56(0x1f8)),_0x82bcc5=_0x2a71f0[_0x57df06(0x197)](_0x26d475,_0x438745);await _0x82bcc5[_0x57df06(0x198)][_0x430a56(0x1e2)](_0x26d475)[_0x57df06(0x1a0)](),_0x4c3eba[_0x57df06(0x18d)](),a38_0x381396[_0x57df06(0x1a6)](_0x57df06(0x1a9));}catch(_0x4cbe32){_0x4c3eba[_0x57df06(0x18d)](),a38_0x381396[_0x57df06(0x190)](_0x57df06(0x1aa)+_0x4cbe32[_0x57df06(0x194)]),a38_0x381396[_0x57df06(0x190)](_0x430a56(0x1eb));const {confirm:_0x18b9f2}=await import(_0x57df06(0x19d)),_0x3585c6=await _0x18b9f2({'message':_0x57df06(0x18a),'default':![]});if(!_0x3585c6){a38_0x381396[_0x57df06(0x1a4)](_0x57df06(0x18e));return;}}a38_0x26cff3[_0x430a56(0x1e7)](_0x26d475,_0x438745,_0x4d6d50,_0x5e2e55);if(_0x27e945)a38_0x26cff3[_0x57df06(0x1a2)](_0x27e945);a38_0x381396[_0x283ffc(0x121)](_0x57df06(0x18f)),a38_0x381396[_0x57df06(0x1a4)](_0x57df06(0x196));}function a38_0x4b11(){const _0x21dd20=a38_0x20a3,_0x544748=a38_0x51b3,_0x399022=['startsWith',_0x21dd20(0x1bf),_0x544748(0xf6),_0x544748(0xcd),_0x21dd20(0x194),_0x544748(0xe0),_0x544748(0xe3),_0x544748(0xdd),_0x544748(0x122),_0x544748(0x112),_0x21dd20(0x1c7),_0x544748(0xf5),_0x21dd20(0x1dc),_0x544748(0x102),_0x544748(0x10c),_0x544748(0xf7),_0x544748(0x11c),_0x544748(0xe9),_0x21dd20(0x189),_0x544748(0xe8),'api',_0x21dd20(0x1a7),_0x544748(0xf4),_0x21dd20(0x1d1),_0x544748(0xd3),_0x21dd20(0x1a6),_0x544748(0x120),_0x544748(0xd4),_0x21dd20(0x187),_0x544748(0xfd),_0x544748(0xeb),_0x544748(0xf3),'4469856jrqpfk',_0x21dd20(0x179),_0x544748(0x104),_0x544748(0xea),_0x21dd20(0x1ca),_0x544748(0xd5),_0x544748(0x116),_0x21dd20(0x1d7),_0x21dd20(0x17c),'default',_0x544748(0x117),_0x21dd20(0x1cf),_0x544748(0xff),_0x21dd20(0x1ad),_0x544748(0x109),_0x544748(0x105),_0x544748(0xef),_0x544748(0xfa),_0x544748(0x115),_0x21dd20(0x1a9),_0x21dd20(0x182),_0x544748(0xf1),_0x544748(0xf8),_0x544748(0x124),_0x544748(0x11d),_0x544748(0x110),_0x544748(0xe2),_0x21dd20(0x18f),_0x21dd20(0x17b),_0x544748(0xd9),_0x544748(0x100),_0x544748(0x10e),_0x544748(0xd1),_0x544748(0x11a),_0x544748(0xd0),_0x544748(0x11f),_0x544748(0xce),_0x544748(0xdb),_0x544748(0x108),_0x544748(0xdf),_0x21dd20(0x1d4),_0x544748(0xe7),_0x544748(0x121),_0x544748(0xcc),_0x544748(0xee),_0x544748(0xdc),_0x544748(0xd8),_0x544748(0x113),_0x544748(0xd6),_0x544748(0xfc),_0x544748(0xe4),_0x21dd20(0x18d)];return a38_0x4b11=function(){return _0x399022;},a38_0x4b11();}function a38_0x345a(){const _0x46c1bb=a38_0x51b3,_0x54a39f=a38_0xc1c4,_0x4d495b=[_0x54a39f(0x11f),_0x46c1bb(0x107),_0x54a39f(0x143),_0x54a39f(0x139),_0x46c1bb(0x118),_0x46c1bb(0xe1),_0x46c1bb(0x111),_0x54a39f(0x141),_0x54a39f(0x126),_0x54a39f(0x14c),_0x54a39f(0x132),_0x54a39f(0x14b),_0x54a39f(0x12b),_0x54a39f(0x12a),_0x54a39f(0x13b),_0x54a39f(0x134),_0x54a39f(0x15c),_0x54a39f(0x152),_0x54a39f(0x129),_0x54a39f(0x146),_0x54a39f(0x118),_0x54a39f(0x110),_0x54a39f(0x158),_0x54a39f(0x11e),_0x46c1bb(0x103),_0x54a39f(0x12e),_0x46c1bb(0xec),_0x46c1bb(0xed),_0x54a39f(0x142),_0x54a39f(0x149),_0x54a39f(0x125),_0x54a39f(0x120),_0x54a39f(0x14d),_0x46c1bb(0x125),_0x54a39f(0x11b),_0x54a39f(0x160),_0x54a39f(0x15b),_0x46c1bb(0xda),_0x54a39f(0x13d),_0x54a39f(0x151),_0x54a39f(0x124),_0x54a39f(0x135),_0x54a39f(0x153),_0x46c1bb(0x10f),_0x46c1bb(0xde),_0x54a39f(0x11a),_0x46c1bb(0x106),_0x54a39f(0x10e),_0x46c1bb(0xd7),_0x54a39f(0x11d),_0x54a39f(0x159),_0x54a39f(0x116),_0x46c1bb(0x11e),_0x54a39f(0x157),_0x54a39f(0x15f),_0x46c1bb(0x119),_0x54a39f(0x114),_0x54a39f(0x14e),_0x54a39f(0x14f),_0x54a39f(0x140),_0x54a39f(0x128),_0x54a39f(0x117),_0x54a39f(0x137),_0x54a39f(0x133),_0x54a39f(0x113),_0x54a39f(0x130),_0x46c1bb(0xf9)];return a38_0x345a=function(){return _0x4d495b;},a38_0x345a();}function a38_0x506d(_0x248428,_0x67ff28){_0x248428=_0x248428-0x1d4;const _0x56f1ac=a38_0x1504();let _0x341494=_0x56f1ac[_0x248428];return _0x341494;}function a38_0x1327(){const _0x48c8b2=a38_0x20a3,_0x5e7dca=a38_0x51b3,_0xb3cb98=a38_0xc1c4,_0x583dab=a38_0x5eac,_0xddba17=[_0x583dab(0x132),_0x583dab(0x16c),_0xb3cb98(0x156),_0xb3cb98(0x10f),_0x583dab(0x161),_0x583dab(0x133),_0xb3cb98(0x161),_0x583dab(0x156),_0x583dab(0x155),_0xb3cb98(0x148),_0x583dab(0x14b),_0x583dab(0x139),_0x583dab(0x151),_0x583dab(0x157),_0x583dab(0x164),_0x583dab(0x138),_0x583dab(0x153),_0x583dab(0x13e),_0x583dab(0x13f),_0xb3cb98(0x119),_0x583dab(0x136),_0xb3cb98(0x155),_0xb3cb98(0x15a),_0x583dab(0x162),_0x583dab(0x167),_0x5e7dca(0xd2),_0x583dab(0x170),_0x583dab(0x147),_0xb3cb98(0x121),_0xb3cb98(0x12f),_0x583dab(0x163),_0x583dab(0x140),_0x583dab(0x158),_0xb3cb98(0x123),_0x583dab(0x16f),_0x583dab(0x150),_0x5e7dca(0x123),_0xb3cb98(0x138),_0x583dab(0x13b),_0x583dab(0x137),_0x583dab(0x15f),_0x583dab(0x149),_0xb3cb98(0x15e),_0x583dab(0x160),_0x583dab(0x16e),_0xb3cb98(0x12c),_0x583dab(0x135),_0x583dab(0x15d),_0x583dab(0x143),_0x583dab(0x148),_0x5e7dca(0xf0),_0x583dab(0x15c),_0x583dab(0x14e),_0x583dab(0x15b),_0x583dab(0x173),_0x583dab(0x13c),_0x583dab(0x166),_0x583dab(0x169),_0x5e7dca(0xe6),_0x583dab(0x15a),_0xb3cb98(0x127),_0x583dab(0x152),_0x583dab(0x146),_0xb3cb98(0x136),_0x583dab(0x15e),_0x583dab(0x168),_0x583dab(0x16d),_0xb3cb98(0x147),_0x583dab(0x14f),_0x48c8b2(0x1b5),_0x583dab(0x16a),_0xb3cb98(0x144)];return a38_0x1327=function(){return _0xddba17;},a38_0x1327();}function a38_0x20a3(_0x50ed0f,_0x4b483a){_0x50ed0f=_0x50ed0f-0x179;const _0x4bbe80=a38_0x4bbe();let _0x20a33c=_0x4bbe80[_0x50ed0f];return _0x20a33c;}function a38_0x40f3(){const _0x3aa800=a38_0x3173,_0x287e4d=a38_0x731a,_0x3a747b=a38_0x506d,_0x8405b1=[_0x3a747b(0x202),_0x3a747b(0x1f2),_0x287e4d(0x119),_0x3a747b(0x1ff),_0x3a747b(0x1fa),_0x3a747b(0x1e6),_0x3a747b(0x1f1),_0x287e4d(0x129),_0x287e4d(0x148),_0x3a747b(0x1da),_0x3a747b(0x1dc),_0x3aa800(0x21d),_0x3a747b(0x1d5),_0x3a747b(0x1d7),_0x3a747b(0x1ea),_0x3a747b(0x1e9),_0x287e4d(0x122),_0x3a747b(0x1fd),_0x3a747b(0x1d6),_0x3a747b(0x1ef),_0x3a747b(0x1e4),_0x3a747b(0x1ec),_0x287e4d(0x141),_0x3a747b(0x1d8),_0x3a747b(0x1fb),_0x3a747b(0x200),_0x3a747b(0x1df),_0x287e4d(0x121),_0x3a747b(0x1f6),_0x3a747b(0x1ee),_0x3a747b(0x1f3),_0x3a747b(0x1d4),_0x3a747b(0x1e1),_0x3a747b(0x203)];return a38_0x40f3=function(){return _0x8405b1;},a38_0x40f3();}function a38_0xc1c4(_0x48c975,_0x2c9768){_0x48c975=_0x48c975-0x10e;const _0x371f42=a38_0x4b11();let _0x4b51c6=_0x371f42[_0x48c975];return _0x4b51c6;}function a38_0x131f(){const _0x2f1f53=a38_0xc1c4,_0xbee495=a38_0x2f5b,_0x3048f8=a38_0x3173,_0xadce88=[_0x3048f8(0x201),_0x3048f8(0x1fa),_0x3048f8(0x217),_0x2f1f53(0x115),_0x3048f8(0x212),_0xbee495(0x95),_0x3048f8(0x213),_0x3048f8(0x21a),_0x3048f8(0x210),_0x3048f8(0x21c),_0x2f1f53(0x14a),_0x3048f8(0x215),_0x3048f8(0x1f8),_0x3048f8(0x200),_0x3048f8(0x20e),_0x3048f8(0x1fb),_0x3048f8(0x1eb),_0x3048f8(0x21b),_0xbee495(0x6e),_0x3048f8(0x204),_0xbee495(0xa4),_0x3048f8(0x1f6),_0x3048f8(0x1e7),_0x3048f8(0x1f9),_0x2f1f53(0x13c),_0x3048f8(0x21e),_0x3048f8(0x203),_0x3048f8(0x1ed),_0x3048f8(0x1e8),_0xbee495(0x96),_0xbee495(0x9d),_0x3048f8(0x222),_0x3048f8(0x211),_0x3048f8(0x202),_0x3048f8(0x221),_0xbee495(0x88),_0xbee495(0x7a),_0x3048f8(0x1f2),_0x3048f8(0x20a),_0x3048f8(0x1f0),_0x3048f8(0x218),_0x3048f8(0x207),_0x3048f8(0x20b),_0x3048f8(0x1fe),_0x3048f8(0x1ea),_0x3048f8(0x223),_0xbee495(0xa8),_0xbee495(0x73),_0x3048f8(0x1ee),_0xbee495(0x68),_0xbee495(0x6f),_0x3048f8(0x205),_0x3048f8(0x209),_0x3048f8(0x1f3)];return a38_0x131f=function(){return _0xadce88;},a38_0x131f();}
package/dist/ui/output.js CHANGED
@@ -1 +1 @@
1
- (function(_0x43f38f,_0x43d917){const _0x4051cf=a39_0x36e6,_0x52387a=_0x43f38f();while(!![]){try{const _0x5146c1=-parseInt(_0x4051cf(0x13d))/0x1*(parseInt(_0x4051cf(0x15a))/0x2)+-parseInt(_0x4051cf(0x15e))/0x3+-parseInt(_0x4051cf(0x14a))/0x4+-parseInt(_0x4051cf(0x171))/0x5+parseInt(_0x4051cf(0x164))/0x6+-parseInt(_0x4051cf(0x157))/0x7+parseInt(_0x4051cf(0x142))/0x8;if(_0x5146c1===_0x43d917)break;else _0x52387a['push'](_0x52387a['shift']());}catch(_0x461636){_0x52387a['push'](_0x52387a['shift']());}}}(a39_0x2bb4,0x3b480));import a39_0x56175f from'chalk';import a39_0x46956d from'ora';import{MODELS}from'../config/settings.js';import{getTheme}from'../utils/storage.js';import{getThemeById}from'./themes.js';export function getLogo(){const _0x5061d1=a39_0x36e6,_0x4161e8=getThemeById(getTheme());return'\x0a'+a39_0x56175f['hex'](_0x4161e8[_0x5061d1(0x17c)])('██╗\x20\x20\x20\x20██╗')+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x13c)])(_0x5061d1(0x16a))+a39_0x56175f['hex'](_0x4161e8[_0x5061d1(0x181)])(_0x5061d1(0x166))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x159)])(_0x5061d1(0x18e))+'\x0a'+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8['tertiary'])('██║\x20\x20\x20\x20██║')+a39_0x56175f['hex'](_0x4161e8[_0x5061d1(0x13c)])(_0x5061d1(0x16d))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x181)])(_0x5061d1(0x15f))+a39_0x56175f['hex'](_0x4161e8['quaternary'])(_0x5061d1(0x150))+'\x0a'+a39_0x56175f['hex'](_0x4161e8['tertiary'])(_0x5061d1(0x15c))+a39_0x56175f['hex'](_0x4161e8[_0x5061d1(0x13c)])(_0x5061d1(0x173))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8['primary'])(_0x5061d1(0x190))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x159)])('██║\x20\x20\x20██║\x20\x20\x20')+'\x0a'+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x17c)])(_0x5061d1(0x13f))+a39_0x56175f['hex'](_0x4161e8[_0x5061d1(0x13c)])(_0x5061d1(0x173))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x181)])(_0x5061d1(0x147))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8['quaternary'])(_0x5061d1(0x152))+'\x0a'+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x17c)])(_0x5061d1(0x18f))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8['secondary'])(_0x5061d1(0x186))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x181)])(_0x5061d1(0x148))+a39_0x56175f['hex'](_0x4161e8[_0x5061d1(0x159)])('██║\x20\x20\x20██║\x20\x20\x20')+'\x0a'+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x17c)])(_0x5061d1(0x170))+a39_0x56175f['hex'](_0x4161e8[_0x5061d1(0x13c)])(_0x5061d1(0x169))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x181)])(_0x5061d1(0x174))+a39_0x56175f[_0x5061d1(0x13e)](_0x4161e8[_0x5061d1(0x159)])('╚═╝\x20\x20\x20╚═╝\x20\x20\x20')+'\x0a';}export function showLogo(_0x4afef0){const _0x2b61b7=a39_0x36e6;process[_0x2b61b7(0x182)][_0x2b61b7(0x165)]('\x0a'+getLogo()),_0x4afef0&&process['stdout'][_0x2b61b7(0x165)](a39_0x56175f[_0x2b61b7(0x16c)](_0x2b61b7(0x185)+_0x4afef0+_0x2b61b7(0x162))),process['stdout'][_0x2b61b7(0x165)]('\x0a');}export function createSpinner(_0x32cd5f){const _0x3d6b41=a39_0x36e6;return a39_0x46956d({'text':a39_0x56175f[_0x3d6b41(0x16c)](_0x32cd5f),'color':_0x3d6b41(0x178),'spinner':_0x3d6b41(0x17b)});}export function success(_0x345037){const _0x177701=a39_0x36e6,_0x4ace58=getThemeById(getTheme());process['stdout'][_0x177701(0x165)](a39_0x56175f[_0x177701(0x13e)](_0x4ace58[_0x177701(0x181)])('●\x20')+_0x345037+'\x0a');}export function error(_0x39666f){const _0x198d4d=a39_0x36e6;process[_0x198d4d(0x182)]['write'](a39_0x56175f[_0x198d4d(0x161)]['red']('●\x20')+a39_0x56175f[_0x198d4d(0x16b)](_0x39666f)+'\x0a');}export function info(_0x4cb892){const _0x50770d=a39_0x36e6,_0x87de91=getThemeById(getTheme());process[_0x50770d(0x182)][_0x50770d(0x165)](a39_0x56175f[_0x50770d(0x13e)](_0x87de91['secondary'])('●\x20')+a39_0x56175f[_0x50770d(0x16c)](_0x4cb892)+'\x0a');}export function warn(_0x392a36){const _0x4ee11e=a39_0x36e6;process[_0x4ee11e(0x182)][_0x4ee11e(0x165)](a39_0x56175f['bold'][_0x4ee11e(0x14b)]('●\x20')+a39_0x56175f[_0x4ee11e(0x14b)](_0x392a36)+'\x0a');}export function dim(_0x5e9ee7){const _0x14bea4=a39_0x36e6;process[_0x14bea4(0x182)][_0x14bea4(0x165)](a39_0x56175f[_0x14bea4(0x16c)](_0x14bea4(0x155))+a39_0x56175f[_0x14bea4(0x16c)](_0x5e9ee7)+'\x0a');}export function header(_0x2790c0){const _0x56f6ec=a39_0x36e6,_0x10faeb=getThemeById(getTheme());process['stdout'][_0x56f6ec(0x165)]('\x0a'+a39_0x56175f[_0x56f6ec(0x161)][_0x56f6ec(0x13e)](_0x10faeb[_0x56f6ec(0x181)])('\x20\x20'+_0x2790c0)+'\x0a');}export function divider(){const _0x1b6060=a39_0x36e6;process['stdout'][_0x1b6060(0x165)](a39_0x56175f[_0x1b6060(0x16c)]('\x20\x20'+'─'['repeat'](0x28))+'\x0a');}function a39_0x2bb4(){const _0x104f6a=['find','██║\x20█╗\x20██║','\x20MCP\x20','711273aPUezB','╚══███╔╝██║\x20\x20\x20\x20\x20','length','bold','\x20-\x20AI\x20Coding\x20Assistant\x0a','toLocaleString','1223304xBMMtR','write','███████╗██╗\x20\x20\x20\x20\x20','servers','pop','\x20╚═════╝\x20\x20╚═════╝\x20','\x20██████╗\x20\x20██████╗\x20','red','dim','██╔═══██╗██╔═══██╗','Unlimited','trim','\x20╚══╝╚══╝\x20','1072585DUsnOs','split','██║\x20\x20\x20██║██║\x20\x20\x20██║','╚══════╝╚══════╝','toFixed','map','\x20\x20┌─────────────────────────────────────┐\x0a','blue','\x0a\x20\x20','Logged\x20in\x20as:\x20','dots','tertiary','join','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20│\x0a','%\x20context\x20left',':free','primary','stdout','\x20\x20Token\x20Usage\x0a','name','\x20\x20v','╚██████╔╝╚██████╔╝','\x20tools)\x0a','\x20\x20Done\x20in\x20','max','│\x20\x20','\x20\x20│','round','server','██╗████████╗','╚███╔███╔╝','\x20\x20███╔╝\x20██║\x20\x20\x20\x20\x20','\x20tokens','secondary','5JLbNEj','hex','██║███╗██║','\x20\x20Working\x20in:\x20','italic','7550584sTGMKR','\x20before\x20next\x20message','padEnd','replace','floor','\x20███╔╝\x20\x20██║\x20\x20\x20\x20\x20','███████╗███████╗','cyan','1395204WsImWo','yellow','\x20/\x20','white','\x20\x20Wait\x20','slice','██║╚══██╔══╝','repeat','██║\x20\x20\x20██║\x20\x20\x20','\x20\x20Limit\x20Reached\x0a','\x20\x20-\x20','\x20\x20└\x20','toString','566839WysYMH','\x0a>\x20','quaternary','9402fndqAv'];a39_0x2bb4=function(){return _0x104f6a;};return a39_0x2bb4();}export function tip(_0x4b3b16,_0x5e093d){const _0x37f1ff=a39_0x36e6;process[_0x37f1ff(0x182)][_0x37f1ff(0x165)](a39_0x56175f['dim']('\x20\x20\x20\x20')+a39_0x56175f[_0x37f1ff(0x14d)](_0x4b3b16)+a39_0x56175f[_0x37f1ff(0x16c)]('\x20'+_0x5e093d)+'\x0a');}export function userMessage(_0x5d942d){const _0xb28a27=a39_0x36e6,_0xeaa346=getThemeById(getTheme());process['stdout'][_0xb28a27(0x165)](a39_0x56175f[_0xb28a27(0x161)][_0xb28a27(0x13e)](_0xeaa346[_0xb28a27(0x181)])(_0xb28a27(0x158))+a39_0x56175f[_0xb28a27(0x14d)](_0x5d942d)+'\x0a');}export function rateLimitWarning(_0x526700){const _0x540ada=a39_0x36e6,_0x4f1e50=Math[_0x540ada(0x146)](_0x526700/0x3c),_0x397170=_0x526700%0x3c,_0x10689c=_0x4f1e50>0x0?_0x4f1e50+'m\x20'+_0x397170+'s':_0x397170+'s';process[_0x540ada(0x182)][_0x540ada(0x165)]('\x0a'),process[_0x540ada(0x182)][_0x540ada(0x165)](a39_0x56175f[_0x540ada(0x16b)](_0x540ada(0x177))),process['stdout'][_0x540ada(0x165)](a39_0x56175f[_0x540ada(0x16b)](_0x540ada(0x18b))+a39_0x56175f['bold'][_0x540ada(0x16b)]('\x20\x20Rate\x20Limit\x20Reached')+a39_0x56175f[_0x540ada(0x16b)](_0x540ada(0x17e))),process[_0x540ada(0x182)][_0x540ada(0x165)](a39_0x56175f[_0x540ada(0x16b)](_0x540ada(0x18b))+a39_0x56175f[_0x540ada(0x16c)]((_0x540ada(0x14e)+_0x10689c+_0x540ada(0x143))[_0x540ada(0x144)](0x24))+a39_0x56175f[_0x540ada(0x16b)]('│\x0a')),process[_0x540ada(0x182)][_0x540ada(0x165)](a39_0x56175f['red']('\x20\x20└─────────────────────────────────────┘\x0a')),process[_0x540ada(0x182)][_0x540ada(0x165)]('\x0a');}export function renderMarkdown(_0x46db04){const _0x39b288=a39_0x36e6,_0x13c649=getThemeById(getTheme());return _0x46db04[_0x39b288(0x145)](/\*\*(.+?)\*\*/g,(_0x202539,_0x4664c4)=>a39_0x56175f['bold'](_0x4664c4))[_0x39b288(0x145)](/\*(.+?)\*/g,(_0x155cac,_0xe2352c)=>a39_0x56175f[_0x39b288(0x141)](_0xe2352c))['replace'](/`([^`]+)`/g,(_0x1dc1c6,_0x5b9b1c)=>a39_0x56175f[_0x39b288(0x149)](_0x5b9b1c))[_0x39b288(0x145)](/^### (.+)$/gm,(_0xf9b4a4,_0x22f8f5)=>a39_0x56175f[_0x39b288(0x161)][_0x39b288(0x13e)](_0x13c649['secondary'])(_0x22f8f5))[_0x39b288(0x145)](/^## (.+)$/gm,(_0x485e9e,_0x9391d4)=>a39_0x56175f[_0x39b288(0x161)][_0x39b288(0x13e)](_0x13c649[_0x39b288(0x181)])(_0x9391d4))[_0x39b288(0x145)](/^# (.+)$/gm,(_0x21519c,_0x694914)=>a39_0x56175f['bold'][_0x39b288(0x13e)](_0x13c649['quaternary'])(_0x694914))[_0x39b288(0x145)](/^- (.+)$/gm,(_0x3770db,_0x4a1962)=>a39_0x56175f[_0x39b288(0x16c)](_0x39b288(0x154))+_0x4a1962)['replace'](/^\d+\. (.+)$/gm,(_0x532ded,_0x10d904)=>a39_0x56175f[_0x39b288(0x16c)]('\x20\x20')+_0x10d904);}export function aiMessage(_0x5ec16d){const _0xe9021e=a39_0x36e6,_0x2ef6c7=getThemeById(getTheme()),_0x4b769c=renderMarkdown(_0x5ec16d);_0x5ec16d?process['stdout']['write'](a39_0x56175f[_0xe9021e(0x13e)](_0x2ef6c7[_0xe9021e(0x181)])('●\x20')+_0x4b769c):process[_0xe9021e(0x182)][_0xe9021e(0x165)](a39_0x56175f['hex'](_0x2ef6c7[_0xe9021e(0x181)])('●\x20'));}function a39_0x36e6(_0x30e817,_0x1b886f){_0x30e817=_0x30e817-0x13c;const _0x2bb4cd=a39_0x2bb4();let _0x36e6c9=_0x2bb4cd[_0x30e817];return _0x36e6c9;}export function aiMessageEnd(){const _0x3fe14a=a39_0x36e6;process['stdout'][_0x3fe14a(0x165)]('\x0a');}export function toolCall(_0x59eac6,_0xdb200f){const _0x4fc980=a39_0x36e6,_0x29a68c=getThemeById(getTheme());process[_0x4fc980(0x182)][_0x4fc980(0x165)](a39_0x56175f[_0x4fc980(0x13e)](_0x29a68c['primary'])('●\x20')+a39_0x56175f['bold'][_0x4fc980(0x14d)](_0x59eac6)+a39_0x56175f['dim']('('+_0xdb200f+')')+'\x0a');}export function statusBar(_0x2ab317,_0x53b5ee){const _0x30deb5=a39_0x36e6,_0x25153f=getThemeById(getTheme()),_0x3169ad=MODELS[_0x30deb5(0x15b)](_0x57a685=>_0x57a685['id']===_0x2ab317),_0x5aeb76=_0x3169ad?.[_0x30deb5(0x184)]||(_0x2ab317[_0x30deb5(0x172)]('/')[_0x30deb5(0x168)]()?.['replace'](_0x30deb5(0x180),'')||_0x2ab317),_0x5c3fad=a39_0x56175f['hex'](_0x25153f[_0x30deb5(0x181)])(_0x5aeb76),_0x5c1f0e=a39_0x56175f[_0x30deb5(0x16c)](_0x53b5ee+_0x30deb5(0x17f));process[_0x30deb5(0x182)][_0x30deb5(0x165)]('\x20\x20'+_0x5c3fad+'\x20\x20'+a39_0x56175f['dim']('|')+'\x20\x20'+_0x5c1f0e+'\x0a');}export function prompt(){const _0x398ff2=a39_0x36e6,_0x5d2ca8=getThemeById(getTheme());process[_0x398ff2(0x182)][_0x398ff2(0x165)](a39_0x56175f[_0x398ff2(0x161)]['hex'](_0x5d2ca8['primary'])('>\x20'));}function lerpColor(_0x5526f2,_0x314482,_0x359f78){const _0xd91056=a39_0x36e6,_0x5cd826=parseInt(_0x5526f2[_0xd91056(0x145)]('#',''),0x10),_0x5e31d8=parseInt(_0x314482[_0xd91056(0x145)]('#',''),0x10),_0x467502=_0x5cd826>>0x10&0xff,_0x20e95d=_0x5cd826>>0x8&0xff,_0x2d1f7=_0x5cd826&0xff,_0x498b76=_0x5e31d8>>0x10&0xff,_0x434237=_0x5e31d8>>0x8&0xff,_0x1d3309=_0x5e31d8&0xff,_0x19491e=Math['round'](_0x467502+(_0x498b76-_0x467502)*_0x359f78),_0x3ed00e=Math['round'](_0x20e95d+(_0x434237-_0x20e95d)*_0x359f78),_0x4b5a13=Math['round'](_0x2d1f7+(_0x1d3309-_0x2d1f7)*_0x359f78);return'#'+((0x1<<0x18)+(_0x19491e<<0x10)+(_0x3ed00e<<0x8)+_0x4b5a13)[_0xd91056(0x156)](0x10)[_0xd91056(0x14f)](0x1);}export function gradientText(_0x19b576,_0x40c42b,_0x12669f){const _0x1f0d06=a39_0x36e6,_0x207a7b=_0x19b576[_0x1f0d06(0x172)]('');return _0x207a7b[_0x1f0d06(0x176)]((_0x84b8f7,_0x284659)=>{const _0x332743=_0x1f0d06,_0x53c186=_0x284659/Math[_0x332743(0x189)](_0x207a7b[_0x332743(0x160)]-0x1,0x1);return a39_0x56175f[_0x332743(0x13e)](lerpColor(_0x40c42b,_0x12669f,_0x53c186))(_0x84b8f7);})[_0x1f0d06(0x17d)]('');}export function loggedInBox(_0x28a6b4){const _0x2f9922=a39_0x36e6,_0x235907=getThemeById(getTheme()),_0x21814c=_0x2f9922(0x17a),_0xf620a4=_0x28a6b4[_0x2f9922(0x16f)](),_0x151d21=_0x21814c['length']+_0xf620a4[_0x2f9922(0x160)]+0x4,_0x456bae=a39_0x56175f[_0x2f9922(0x13e)](_0x235907[_0x2f9922(0x181)])('─'[_0x2f9922(0x151)](_0x151d21)),_0x300441=a39_0x56175f[_0x2f9922(0x13e)](_0x235907[_0x2f9922(0x181)])('╭'+_0x456bae+'╮'),_0x3143ea=a39_0x56175f[_0x2f9922(0x13e)](_0x235907[_0x2f9922(0x181)])('╰'+_0x456bae+'╯'),_0x1806dc=gradientText(_0xf620a4,_0x235907[_0x2f9922(0x13c)],_0x235907['quaternary']);process['stdout'][_0x2f9922(0x165)](_0x2f9922(0x179)+_0x300441+'\x0a'),process[_0x2f9922(0x182)][_0x2f9922(0x165)]('\x20\x20'+a39_0x56175f[_0x2f9922(0x13e)](_0x235907[_0x2f9922(0x181)])(_0x2f9922(0x18a))+a39_0x56175f[_0x2f9922(0x16c)](_0x21814c)+_0x1806dc+a39_0x56175f[_0x2f9922(0x13e)](_0x235907[_0x2f9922(0x181)])(_0x2f9922(0x18b))+'\x0a'),process[_0x2f9922(0x182)][_0x2f9922(0x165)]('\x20\x20'+_0x3143ea+'\x0a');}export function actionSpinner(_0x3e4662){const _0x54b06e=a39_0x36e6,_0x455762=getThemeById(getTheme());return a39_0x46956d({'text':a39_0x56175f[_0x54b06e(0x16c)](_0x3e4662),'color':_0x54b06e(0x178),'spinner':{'interval':0x50,'frames':['✶','✸','✹','✺','✹','✸'][_0x54b06e(0x176)](_0x2eabd6=>a39_0x56175f['hex'](_0x455762[_0x54b06e(0x13c)])(_0x2eabd6))}});}export function toolSuccess(_0x2740f0,_0x43726b,_0x4518a8,_0x59b272=![]){const _0xf19e18=a39_0x36e6,_0x59df1f=getThemeById(getTheme()),_0x17f3f2=_0x59b272?a39_0x56175f[_0xf19e18(0x16b)]:a39_0x56175f[_0xf19e18(0x13e)](_0x59df1f[_0xf19e18(0x181)]),_0x7ba9a8=_0x59b272?a39_0x56175f['red']:a39_0x56175f[_0xf19e18(0x13e)](_0x59df1f[_0xf19e18(0x17c)]);process['stdout'][_0xf19e18(0x165)](_0x17f3f2('●\x20')+a39_0x56175f[_0xf19e18(0x161)][_0xf19e18(0x14d)](_0x2740f0)+a39_0x56175f['dim']('(')+_0x7ba9a8(_0x43726b)+a39_0x56175f[_0xf19e18(0x16c)](')\x0a')),_0x4518a8&&process[_0xf19e18(0x182)][_0xf19e18(0x165)](a39_0x56175f['dim'](_0xf19e18(0x155))+(_0x59b272?a39_0x56175f[_0xf19e18(0x16b)](_0x4518a8):a39_0x56175f['dim'](_0x4518a8))+'\x0a');}export function usageBox(_0x91ef60,_0x250f56,_0x41a823){const _0x5a9b95=a39_0x36e6,_0x45c026=_0x250f56>0x0?Math['min'](Math[_0x5a9b95(0x18c)](_0x91ef60/_0x250f56*0x64),0x64):0x0,_0x3d0041=0x1e,_0x4b9d46=Math[_0x5a9b95(0x18c)](_0x45c026/0x64*_0x3d0041),_0x1d554f=_0x3d0041-_0x4b9d46,_0x3e928e=_0x41a823?a39_0x56175f[_0x5a9b95(0x16b)]:_0x45c026>0x50?a39_0x56175f[_0x5a9b95(0x14b)]:a39_0x56175f['green'],_0x14a69d=_0x3e928e('█'[_0x5a9b95(0x151)](_0x4b9d46))+a39_0x56175f[_0x5a9b95(0x16c)]('░'[_0x5a9b95(0x151)](_0x1d554f)),_0x49826a=_0x250f56>=0x3b9ac9ff?_0x5a9b95(0x16e):_0x250f56[_0x5a9b95(0x163)](),_0x51397e=_0x91ef60[_0x5a9b95(0x163)]()+_0x5a9b95(0x14c)+_0x49826a+_0x5a9b95(0x191),_0x598561=getThemeById(getTheme());process[_0x5a9b95(0x182)][_0x5a9b95(0x165)]('\x0a'),process[_0x5a9b95(0x182)][_0x5a9b95(0x165)](a39_0x56175f[_0x5a9b95(0x161)]['hex'](_0x598561[_0x5a9b95(0x13c)])(_0x5a9b95(0x183))),process[_0x5a9b95(0x182)][_0x5a9b95(0x165)]('\x20\x20'+_0x14a69d+'\x20'+a39_0x56175f[_0x5a9b95(0x16c)](_0x45c026+'%')+'\x0a'),process[_0x5a9b95(0x182)][_0x5a9b95(0x165)](a39_0x56175f[_0x5a9b95(0x16c)]('\x20\x20'+_0x51397e+'\x0a')),_0x41a823&&process[_0x5a9b95(0x182)][_0x5a9b95(0x165)](a39_0x56175f['red'](_0x5a9b95(0x153))),process[_0x5a9b95(0x182)]['write']('\x0a');}export function mcpConnected(_0x392687,_0x10a775){const _0x1103f4=a39_0x36e6,_0x33bf42=getThemeById(getTheme()),_0x321d4c=_0x392687===0x1?_0x1103f4(0x18d):_0x1103f4(0x167);process[_0x1103f4(0x182)][_0x1103f4(0x165)](a39_0x56175f[_0x1103f4(0x16c)]('\x20\x20'+a39_0x56175f[_0x1103f4(0x13e)](_0x33bf42[_0x1103f4(0x181)])(_0x392687[_0x1103f4(0x156)]())+_0x1103f4(0x15d)+_0x321d4c+'\x20connected\x20('+_0x10a775+_0x1103f4(0x187)));}export function elapsedTime(_0x14d837){const _0x20a592=a39_0x36e6,_0x16d1d9=_0x14d837<0x3c?_0x14d837[_0x20a592(0x175)](0x1)+'s':Math[_0x20a592(0x146)](_0x14d837/0x3c)+'m\x20'+(_0x14d837%0x3c)[_0x20a592(0x175)](0x0)+'s';process[_0x20a592(0x182)][_0x20a592(0x165)](a39_0x56175f[_0x20a592(0x16c)](_0x20a592(0x188)+_0x16d1d9+'\x0a'));}export function currentDir(_0x3b1f90){const _0x15f137=a39_0x36e6,_0x52950d=getThemeById(getTheme());process[_0x15f137(0x182)][_0x15f137(0x165)](a39_0x56175f[_0x15f137(0x16c)](_0x15f137(0x140))+a39_0x56175f[_0x15f137(0x13e)](_0x52950d['secondary'])(_0x3b1f90)+'\x0a');}
1
+ (function(_0x5bb9c9,_0x4ab7ad){const _0x251ab7=a39_0x32aa,_0xc7fa63=_0x5bb9c9();while(!![]){try{const _0x4d06fa=parseInt(_0x251ab7(0x188))/0x1*(parseInt(_0x251ab7(0x17b))/0x2)+parseInt(_0x251ab7(0x1b1))/0x3*(parseInt(_0x251ab7(0x19b))/0x4)+parseInt(_0x251ab7(0x190))/0x5*(-parseInt(_0x251ab7(0x1b8))/0x6)+parseInt(_0x251ab7(0x1b2))/0x7*(-parseInt(_0x251ab7(0x18c))/0x8)+-parseInt(_0x251ab7(0x173))/0x9+parseInt(_0x251ab7(0x180))/0xa+parseInt(_0x251ab7(0x1a2))/0xb;if(_0x4d06fa===_0x4ab7ad)break;else _0xc7fa63['push'](_0xc7fa63['shift']());}catch(_0x1219b3){_0xc7fa63['push'](_0xc7fa63['shift']());}}}(a39_0x1348,0xa6b99));import a39_0x508390 from'chalk';import a39_0x321a5d from'ora';import{MODELS}from'../config/settings.js';import{getTheme}from'../utils/storage.js';import{getThemeById}from'./themes.js';export function getLogo(){const _0x1cd03b=a39_0x32aa,_0x244548=getThemeById(getTheme());return'\x0a'+a39_0x508390['hex'](_0x244548['tertiary'])(_0x1cd03b(0x196))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548['secondary'])(_0x1cd03b(0x1b7))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x17f)])(_0x1cd03b(0x189))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x175)])('██╗████████╗')+'\x0a'+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1ba)])(_0x1cd03b(0x174))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1bb)])(_0x1cd03b(0x182))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x17f)])('╚══███╔╝██║\x20\x20\x20\x20\x20')+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548['quaternary'])(_0x1cd03b(0x1a5))+'\x0a'+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1ba)])(_0x1cd03b(0x1bd))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1bb)])(_0x1cd03b(0x194))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x17f)])(_0x1cd03b(0x197))+a39_0x508390['hex'](_0x244548[_0x1cd03b(0x175)])(_0x1cd03b(0x1c6))+'\x0a'+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1ba)])(_0x1cd03b(0x184))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1bb)])('██║\x20\x20\x20██║██║\x20\x20\x20██║')+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548['primary'])(_0x1cd03b(0x1c7))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x175)])(_0x1cd03b(0x1c6))+'\x0a'+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548['tertiary'])(_0x1cd03b(0x19e))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1bb)])(_0x1cd03b(0x198))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x17f)])(_0x1cd03b(0x185))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x175)])(_0x1cd03b(0x1c6))+'\x0a'+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1ba)])(_0x1cd03b(0x1b3))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x1bb)])(_0x1cd03b(0x19f))+a39_0x508390[_0x1cd03b(0x1a1)](_0x244548[_0x1cd03b(0x17f)])(_0x1cd03b(0x1b0))+a39_0x508390['hex'](_0x244548[_0x1cd03b(0x175)])(_0x1cd03b(0x176))+'\x0a';}export function showLogo(_0xeff23a){const _0x7f22b5=a39_0x32aa;process['stdout'][_0x7f22b5(0x1b5)]('\x0a'+getLogo()),_0xeff23a&&process[_0x7f22b5(0x1bc)][_0x7f22b5(0x1b5)](a39_0x508390[_0x7f22b5(0x193)](_0x7f22b5(0x1a4)+_0xeff23a+_0x7f22b5(0x1ae))),process[_0x7f22b5(0x1bc)][_0x7f22b5(0x1b5)]('\x0a');}export function createSpinner(_0x264cab){const _0x122e81=a39_0x32aa;return a39_0x321a5d({'text':a39_0x508390[_0x122e81(0x193)](_0x264cab),'color':_0x122e81(0x186),'spinner':'dots'});}export function success(_0x38007e){const _0x31d4a4=a39_0x32aa,_0x333c4c=getThemeById(getTheme());process['stdout'][_0x31d4a4(0x1b5)](a39_0x508390[_0x31d4a4(0x1a1)](_0x333c4c[_0x31d4a4(0x17f)])('●\x20')+_0x38007e+'\x0a');}export function error(_0x3e60bd){const _0x18a8f3=a39_0x32aa;process[_0x18a8f3(0x1bc)][_0x18a8f3(0x1b5)](a39_0x508390['bold'][_0x18a8f3(0x1c5)]('●\x20')+a39_0x508390[_0x18a8f3(0x1c5)](_0x3e60bd)+'\x0a');}export function info(_0x469d65){const _0x5b4ca4=a39_0x32aa,_0x481099=getThemeById(getTheme());process[_0x5b4ca4(0x1bc)][_0x5b4ca4(0x1b5)](a39_0x508390['hex'](_0x481099[_0x5b4ca4(0x1bb)])('●\x20')+a39_0x508390[_0x5b4ca4(0x193)](_0x469d65)+'\x0a');}export function warn(_0x32eeb1){const _0x419242=a39_0x32aa;process['stdout'][_0x419242(0x1b5)](a39_0x508390[_0x419242(0x1c3)][_0x419242(0x17c)]('●\x20')+a39_0x508390['yellow'](_0x32eeb1)+'\x0a');}export function dim(_0xb96a5e){const _0x5be581=a39_0x32aa;process['stdout'][_0x5be581(0x1b5)](a39_0x508390['dim'](_0x5be581(0x1be))+a39_0x508390[_0x5be581(0x193)](_0xb96a5e)+'\x0a');}function a39_0x1348(){const _0x18495d=['padEnd','map','dim','██║\x20\x20\x20██║██║\x20\x20\x20██║','servers','██╗\x20\x20\x20\x20██╗','\x20\x20███╔╝\x20██║\x20\x20\x20\x20\x20','╚██████╔╝╚██████╔╝','find','Unlimited','3801372LLUgsB',':free','\x20\x20Limit\x20Reached\x0a','╚███╔███╔╝','\x20╚═════╝\x20\x20╚═════╝\x20','\x20\x20Working\x20in:\x20','hex','6895768oIEnLR','\x20\x20Rate\x20Limit\x20Reached','\x20\x20v','██║╚══██╔══╝','repeat','replace','\x20\x20│','\x20connected\x20(','trim','\x20\x20Token\x20Usage\x0a','split','green','\x20-\x20AI\x20Coding\x20Assistant\x0a','toString','╚══════╝╚══════╝','3fptKjH','7taLEQV','\x20╚══╝╚══╝\x20','white','write','\x20\x20Done\x20in\x20','\x20██████╗\x20\x20██████╗\x20','1494ZnaLgd','min','tertiary','secondary','stdout','██║\x20█╗\x20██║','\x20\x20└\x20','length','\x0a>\x20','toLocaleString','\x20\x20└─────────────────────────────────────┘\x0a','bold','\x0a\x20\x20','red','██║\x20\x20\x20██║\x20\x20\x20','\x20███╔╝\x20\x20██║\x20\x20\x20\x20\x20','Logged\x20in\x20as:\x20','5227668njFDWV','██║\x20\x20\x20\x20██║','quaternary','╚═╝\x20\x20\x20╚═╝\x20\x20\x20','cyan','round','\x20MCP\x20','\x20tokens','563836lIdvzM','yellow','toFixed','%\x20context\x20left','primary','8465430YgrdAf','slice','██╔═══██╗██╔═══██╗','join','██║███╗██║','███████╗███████╗','blue','\x20\x20Wait\x20','1Nydzfy','███████╗██╗\x20\x20\x20\x20\x20','\x20\x20-\x20','\x20tools)\x0a','9840288mHaekW','floor','max','pop','4255vIhmrM'];a39_0x1348=function(){return _0x18495d;};return a39_0x1348();}export function header(_0x504ab4){const _0x3caaba=a39_0x32aa,_0x1d5f09=getThemeById(getTheme());process[_0x3caaba(0x1bc)][_0x3caaba(0x1b5)]('\x0a'+a39_0x508390['bold'][_0x3caaba(0x1a1)](_0x1d5f09['primary'])('\x20\x20'+_0x504ab4)+'\x0a');}export function divider(){const _0x3674e0=a39_0x32aa;process[_0x3674e0(0x1bc)][_0x3674e0(0x1b5)](a39_0x508390['dim']('\x20\x20'+'─'[_0x3674e0(0x1a6)](0x28))+'\x0a');}export function tip(_0x3950c4,_0x3a2be6){const _0x15df91=a39_0x32aa;process[_0x15df91(0x1bc)][_0x15df91(0x1b5)](a39_0x508390[_0x15df91(0x193)]('\x20\x20\x20\x20')+a39_0x508390[_0x15df91(0x1b4)](_0x3950c4)+a39_0x508390[_0x15df91(0x193)]('\x20'+_0x3a2be6)+'\x0a');}export function userMessage(_0x32054b){const _0x10cf9d=a39_0x32aa,_0x488702=getThemeById(getTheme());process[_0x10cf9d(0x1bc)]['write'](a39_0x508390[_0x10cf9d(0x1c3)][_0x10cf9d(0x1a1)](_0x488702[_0x10cf9d(0x17f)])(_0x10cf9d(0x1c0))+a39_0x508390[_0x10cf9d(0x1b4)](_0x32054b)+'\x0a');}export function rateLimitWarning(_0x127afc){const _0x29ca00=a39_0x32aa,_0x5a99dd=Math[_0x29ca00(0x18d)](_0x127afc/0x3c),_0x2b2b3a=_0x127afc%0x3c,_0x516e7f=_0x5a99dd>0x0?_0x5a99dd+'m\x20'+_0x2b2b3a+'s':_0x2b2b3a+'s';process[_0x29ca00(0x1bc)][_0x29ca00(0x1b5)]('\x0a'),process[_0x29ca00(0x1bc)][_0x29ca00(0x1b5)](a39_0x508390['red']('\x20\x20┌─────────────────────────────────────┐\x0a')),process[_0x29ca00(0x1bc)][_0x29ca00(0x1b5)](a39_0x508390[_0x29ca00(0x1c5)](_0x29ca00(0x1a8))+a39_0x508390[_0x29ca00(0x1c3)][_0x29ca00(0x1c5)](_0x29ca00(0x1a3))+a39_0x508390[_0x29ca00(0x1c5)]('\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20│\x0a')),process[_0x29ca00(0x1bc)][_0x29ca00(0x1b5)](a39_0x508390[_0x29ca00(0x1c5)](_0x29ca00(0x1a8))+a39_0x508390['dim']((_0x29ca00(0x187)+_0x516e7f+'\x20before\x20next\x20message')[_0x29ca00(0x191)](0x24))+a39_0x508390[_0x29ca00(0x1c5)]('│\x0a')),process[_0x29ca00(0x1bc)][_0x29ca00(0x1b5)](a39_0x508390[_0x29ca00(0x1c5)](_0x29ca00(0x1c2))),process['stdout'][_0x29ca00(0x1b5)]('\x0a');}export function renderMarkdown(_0x2484a1){const _0x25a308=a39_0x32aa,_0xace0f5=getThemeById(getTheme());return _0x2484a1['replace'](/\*\*(.+?)\*\*/g,(_0x352094,_0x49be5e)=>a39_0x508390['bold'](_0x49be5e))[_0x25a308(0x1a7)](/\*(.+?)\*/g,(_0x440e7c,_0x56258b)=>a39_0x508390['italic'](_0x56258b))['replace'](/`([^`]+)`/g,(_0x320e06,_0x3d0bf3)=>a39_0x508390[_0x25a308(0x177)](_0x3d0bf3))[_0x25a308(0x1a7)](/^### (.+)$/gm,(_0x573ddc,_0x319a08)=>a39_0x508390[_0x25a308(0x1c3)][_0x25a308(0x1a1)](_0xace0f5[_0x25a308(0x1bb)])(_0x319a08))[_0x25a308(0x1a7)](/^## (.+)$/gm,(_0x18b099,_0xd885fb)=>a39_0x508390[_0x25a308(0x1c3)][_0x25a308(0x1a1)](_0xace0f5[_0x25a308(0x17f)])(_0xd885fb))[_0x25a308(0x1a7)](/^# (.+)$/gm,(_0x19f5ef,_0x547474)=>a39_0x508390['bold'][_0x25a308(0x1a1)](_0xace0f5[_0x25a308(0x175)])(_0x547474))[_0x25a308(0x1a7)](/^- (.+)$/gm,(_0x4ebc5a,_0x3dc573)=>a39_0x508390[_0x25a308(0x193)](_0x25a308(0x18a))+_0x3dc573)[_0x25a308(0x1a7)](/^\d+\. (.+)$/gm,(_0x40e6ea,_0x2c6006)=>a39_0x508390[_0x25a308(0x193)]('\x20\x20')+_0x2c6006);}export function aiMessage(_0x482327){const _0xf61791=a39_0x32aa,_0x298e91=getThemeById(getTheme()),_0x3f979b=renderMarkdown(_0x482327);_0x482327['trim']()&&process[_0xf61791(0x1bc)][_0xf61791(0x1b5)](a39_0x508390['hex'](_0x298e91[_0xf61791(0x17f)])('●\x20')+_0x3f979b);}export function aiMessageEnd(){const _0x25f7fa=a39_0x32aa;process[_0x25f7fa(0x1bc)][_0x25f7fa(0x1b5)]('\x0a');}export function toolCall(_0xa34420,_0x5b305d){const _0x385b93=a39_0x32aa,_0x276125=getThemeById(getTheme());process['stdout'][_0x385b93(0x1b5)](a39_0x508390[_0x385b93(0x1a1)](_0x276125[_0x385b93(0x17f)])('●\x20')+a39_0x508390[_0x385b93(0x1c3)][_0x385b93(0x1b4)](_0xa34420)+a39_0x508390[_0x385b93(0x193)]('('+_0x5b305d+')')+'\x0a');}export function statusBar(_0x29121e,_0x37a8fe){const _0x4f69d2=a39_0x32aa,_0x2d21d7=getThemeById(getTheme()),_0x9c4faf=MODELS[_0x4f69d2(0x199)](_0x1e0be9=>_0x1e0be9['id']===_0x29121e),_0x4378af=_0x9c4faf?.['name']||(_0x29121e[_0x4f69d2(0x1ac)]('/')[_0x4f69d2(0x18f)]()?.[_0x4f69d2(0x1a7)](_0x4f69d2(0x19c),'')||_0x29121e),_0x544c69=a39_0x508390['hex'](_0x2d21d7['primary'])(_0x4378af),_0x4436f6=a39_0x508390[_0x4f69d2(0x193)](_0x37a8fe+_0x4f69d2(0x17e));process[_0x4f69d2(0x1bc)][_0x4f69d2(0x1b5)]('\x20\x20'+_0x544c69+'\x20\x20'+a39_0x508390[_0x4f69d2(0x193)]('|')+'\x20\x20'+_0x4436f6+'\x0a');}export function prompt(){const _0x26c98f=a39_0x32aa,_0x10045b=getThemeById(getTheme());process[_0x26c98f(0x1bc)]['write'](a39_0x508390[_0x26c98f(0x1c3)][_0x26c98f(0x1a1)](_0x10045b[_0x26c98f(0x17f)])('>\x20'));}function lerpColor(_0x26dd0b,_0x3db64b,_0x322d0a){const _0x10f4b7=a39_0x32aa,_0x4f80cb=parseInt(_0x26dd0b[_0x10f4b7(0x1a7)]('#',''),0x10),_0x5ce4c8=parseInt(_0x3db64b[_0x10f4b7(0x1a7)]('#',''),0x10),_0x480c6a=_0x4f80cb>>0x10&0xff,_0x271d11=_0x4f80cb>>0x8&0xff,_0x4adf1e=_0x4f80cb&0xff,_0x57f934=_0x5ce4c8>>0x10&0xff,_0x35d617=_0x5ce4c8>>0x8&0xff,_0x19700f=_0x5ce4c8&0xff,_0x7045bb=Math['round'](_0x480c6a+(_0x57f934-_0x480c6a)*_0x322d0a),_0x18633b=Math[_0x10f4b7(0x178)](_0x271d11+(_0x35d617-_0x271d11)*_0x322d0a),_0x365624=Math[_0x10f4b7(0x178)](_0x4adf1e+(_0x19700f-_0x4adf1e)*_0x322d0a);return'#'+((0x1<<0x18)+(_0x7045bb<<0x10)+(_0x18633b<<0x8)+_0x365624)[_0x10f4b7(0x1af)](0x10)[_0x10f4b7(0x181)](0x1);}export function gradientText(_0x4d07e8,_0x8ab74,_0x22a2a6){const _0x3905ba=a39_0x32aa,_0x3ba3f0=_0x4d07e8[_0x3905ba(0x1ac)]('');return _0x3ba3f0['map']((_0xcf5c41,_0x234c1f)=>{const _0x1f4ed8=_0x3905ba,_0x277f25=_0x234c1f/Math[_0x1f4ed8(0x18e)](_0x3ba3f0['length']-0x1,0x1);return a39_0x508390[_0x1f4ed8(0x1a1)](lerpColor(_0x8ab74,_0x22a2a6,_0x277f25))(_0xcf5c41);})[_0x3905ba(0x183)]('');}export function loggedInBox(_0x4da87f){const _0x29cad2=a39_0x32aa,_0x242c66=getThemeById(getTheme()),_0x5a0cfd=_0x29cad2(0x1c8),_0x59e978=_0x4da87f[_0x29cad2(0x1aa)](),_0x26504c=_0x5a0cfd['length']+_0x59e978[_0x29cad2(0x1bf)]+0x4,_0x4e8fd1=a39_0x508390['hex'](_0x242c66['primary'])('─'[_0x29cad2(0x1a6)](_0x26504c)),_0x10d8eb=a39_0x508390[_0x29cad2(0x1a1)](_0x242c66[_0x29cad2(0x17f)])('╭'+_0x4e8fd1+'╮'),_0x3b3845=a39_0x508390[_0x29cad2(0x1a1)](_0x242c66[_0x29cad2(0x17f)])('╰'+_0x4e8fd1+'╯'),_0x3fa69b=gradientText(_0x59e978,_0x242c66[_0x29cad2(0x1bb)],_0x242c66[_0x29cad2(0x175)]);process[_0x29cad2(0x1bc)]['write'](_0x29cad2(0x1c4)+_0x10d8eb+'\x0a'),process[_0x29cad2(0x1bc)][_0x29cad2(0x1b5)]('\x20\x20'+a39_0x508390['hex'](_0x242c66[_0x29cad2(0x17f)])('│\x20\x20')+a39_0x508390['dim'](_0x5a0cfd)+_0x3fa69b+a39_0x508390[_0x29cad2(0x1a1)](_0x242c66[_0x29cad2(0x17f)])(_0x29cad2(0x1a8))+'\x0a'),process[_0x29cad2(0x1bc)][_0x29cad2(0x1b5)]('\x20\x20'+_0x3b3845+'\x0a');}export function actionSpinner(_0x4161f7){const _0x23131b=a39_0x32aa,_0x4422a4=getThemeById(getTheme());return a39_0x321a5d({'text':a39_0x508390[_0x23131b(0x193)](_0x4161f7),'color':_0x23131b(0x186),'spinner':{'interval':0x50,'frames':['✶','✸','✹','✺','✹','✸'][_0x23131b(0x192)](_0xa7b612=>a39_0x508390['hex'](_0x4422a4[_0x23131b(0x1bb)])(_0xa7b612))}});}export function toolSuccess(_0x3e2b74,_0x265a1d,_0x2450f6,_0x4faf30=![]){const _0x35dff1=a39_0x32aa,_0x589608=getThemeById(getTheme()),_0x26ad0b=_0x4faf30?a39_0x508390[_0x35dff1(0x1c5)]:a39_0x508390[_0x35dff1(0x1a1)](_0x589608[_0x35dff1(0x17f)]),_0x481c09=_0x4faf30?a39_0x508390[_0x35dff1(0x1c5)]:a39_0x508390['hex'](_0x589608[_0x35dff1(0x1ba)]);process[_0x35dff1(0x1bc)]['write'](_0x26ad0b('●\x20')+a39_0x508390['bold'][_0x35dff1(0x1b4)](_0x3e2b74)+a39_0x508390[_0x35dff1(0x193)]('(')+_0x481c09(_0x265a1d)+a39_0x508390[_0x35dff1(0x193)](')\x0a')),_0x2450f6&&process[_0x35dff1(0x1bc)][_0x35dff1(0x1b5)](a39_0x508390[_0x35dff1(0x193)](_0x35dff1(0x1be))+(_0x4faf30?a39_0x508390[_0x35dff1(0x1c5)](_0x2450f6):a39_0x508390['dim'](_0x2450f6))+'\x0a');}function a39_0x32aa(_0x2be8cb,_0x14d858){_0x2be8cb=_0x2be8cb-0x173;const _0x134856=a39_0x1348();let _0x32aa5d=_0x134856[_0x2be8cb];return _0x32aa5d;}export function usageBox(_0x4b0e51,_0x354514,_0x4a9330){const _0x34665a=a39_0x32aa,_0x552188=_0x354514>0x0?Math[_0x34665a(0x1b9)](Math[_0x34665a(0x178)](_0x4b0e51/_0x354514*0x64),0x64):0x0,_0x153e0c=0x1e,_0x4be751=Math[_0x34665a(0x178)](_0x552188/0x64*_0x153e0c),_0x39f843=_0x153e0c-_0x4be751,_0x2e10c6=_0x4a9330?a39_0x508390[_0x34665a(0x1c5)]:_0x552188>0x50?a39_0x508390[_0x34665a(0x17c)]:a39_0x508390[_0x34665a(0x1ad)],_0xe6b5f0=_0x2e10c6('█'[_0x34665a(0x1a6)](_0x4be751))+a39_0x508390[_0x34665a(0x193)]('░'[_0x34665a(0x1a6)](_0x39f843)),_0x580f68=_0x354514>=0x3b9ac9ff?_0x34665a(0x19a):_0x354514[_0x34665a(0x1c1)](),_0x4a3525=_0x4b0e51[_0x34665a(0x1c1)]()+'\x20/\x20'+_0x580f68+_0x34665a(0x17a),_0xf6d6af=getThemeById(getTheme());process[_0x34665a(0x1bc)][_0x34665a(0x1b5)]('\x0a'),process[_0x34665a(0x1bc)][_0x34665a(0x1b5)](a39_0x508390[_0x34665a(0x1c3)][_0x34665a(0x1a1)](_0xf6d6af[_0x34665a(0x1bb)])(_0x34665a(0x1ab))),process[_0x34665a(0x1bc)][_0x34665a(0x1b5)]('\x20\x20'+_0xe6b5f0+'\x20'+a39_0x508390[_0x34665a(0x193)](_0x552188+'%')+'\x0a'),process[_0x34665a(0x1bc)]['write'](a39_0x508390[_0x34665a(0x193)]('\x20\x20'+_0x4a3525+'\x0a')),_0x4a9330&&process['stdout'][_0x34665a(0x1b5)](a39_0x508390[_0x34665a(0x1c5)](_0x34665a(0x19d))),process[_0x34665a(0x1bc)][_0x34665a(0x1b5)]('\x0a');}export function mcpConnected(_0x13fa39,_0x58597a){const _0x4e2610=a39_0x32aa,_0x5a54c6=getThemeById(getTheme()),_0x563495=_0x13fa39===0x1?'server':_0x4e2610(0x195);process[_0x4e2610(0x1bc)][_0x4e2610(0x1b5)](a39_0x508390['dim']('\x20\x20'+a39_0x508390[_0x4e2610(0x1a1)](_0x5a54c6[_0x4e2610(0x17f)])(_0x13fa39['toString']())+_0x4e2610(0x179)+_0x563495+_0x4e2610(0x1a9)+_0x58597a+_0x4e2610(0x18b)));}export function elapsedTime(_0x3d05b4){const _0x428b70=a39_0x32aa,_0x269869=_0x3d05b4<0x3c?_0x3d05b4[_0x428b70(0x17d)](0x1)+'s':Math[_0x428b70(0x18d)](_0x3d05b4/0x3c)+'m\x20'+(_0x3d05b4%0x3c)['toFixed'](0x0)+'s';process[_0x428b70(0x1bc)]['write'](a39_0x508390['dim'](_0x428b70(0x1b6)+_0x269869+'\x0a'));}export function currentDir(_0x4cdbd9){const _0x2e9fb5=a39_0x32aa,_0x25d320=getThemeById(getTheme());process[_0x2e9fb5(0x1bc)]['write'](a39_0x508390[_0x2e9fb5(0x193)](_0x2e9fb5(0x1a0))+a39_0x508390[_0x2e9fb5(0x1a1)](_0x25d320['secondary'])(_0x4cdbd9)+'\x0a');}
package/dist/ui/select.js CHANGED
@@ -1 +1 @@
1
- (function(_0x505a39,_0x1a03b6){const _0x11af2e=a40_0x5a1b,_0x583e15=_0x505a39();while(!![]){try{const _0x56d702=-parseInt(_0x11af2e(0x7e))/0x1*(parseInt(_0x11af2e(0x80))/0x2)+-parseInt(_0x11af2e(0x75))/0x3+parseInt(_0x11af2e(0x81))/0x4+parseInt(_0x11af2e(0x82))/0x5*(-parseInt(_0x11af2e(0x7b))/0x6)+parseInt(_0x11af2e(0x78))/0x7*(parseInt(_0x11af2e(0x7a))/0x8)+parseInt(_0x11af2e(0x74))/0x9*(-parseInt(_0x11af2e(0x77))/0xa)+parseInt(_0x11af2e(0x79))/0xb*(parseInt(_0x11af2e(0x7f))/0xc);if(_0x56d702===_0x1a03b6)break;else _0x583e15['push'](_0x583e15['shift']());}catch(_0x10a92a){_0x583e15['push'](_0x583e15['shift']());}}}(a40_0x299a,0x7b6b9));import{select}from'@inquirer/prompts';import{MODELS}from'../config/settings.js';import{getSelectedModel,setSelectedModel}from'../utils/storage.js';function a40_0x299a(){const _0x7c01a5=['map','Select\x20AI\x20Model','663055ZwdtsF','310524zGsSLM','2huABoD','984172iTqxQP','5epfyzN','description','xp)','63WQZvqJ','88557MzemyF','name','64510TERXiZ','7jPlyRV','759gpLnuH','193416rxVdca','4874838EYdIjA'];a40_0x299a=function(){return _0x7c01a5;};return a40_0x299a();}export async function selectModel(){const _0x1451e4=a40_0x5a1b,_0x23a9fc=getSelectedModel(),_0x5d9042=MODELS[_0x1451e4(0x7c)](_0x40592d=>({'name':''+_0x40592d[_0x1451e4(0x76)]+(_0x40592d['xp']?'\x20('+_0x40592d['xp']+_0x1451e4(0x84):'')+(_0x40592d['id']===_0x23a9fc?'\x20*':''),'value':_0x40592d['id'],'description':_0x40592d[_0x1451e4(0x83)]})),_0x25f1b9=await select({'message':_0x1451e4(0x7d),'choices':_0x5d9042,'default':_0x23a9fc});return setSelectedModel(_0x25f1b9),_0x25f1b9;}function a40_0x5a1b(_0x540c6e,_0x51402a){_0x540c6e=_0x540c6e-0x74;const _0x299a5e=a40_0x299a();let _0x5a1b7e=_0x299a5e[_0x540c6e];return _0x5a1b7e;}export{getSelectedModel,setSelectedModel};
1
+ function a40_0x3bfb(){const _0x18a7c0=['806352TCuOve','15977064YFaDRd','9498OBSfTS','988937SOqnbc','Select\x20AI\x20Model','description','5873almKrQ','4375608QBlcVl','748425boTkZw','xp)','1104475XigOCy'];a40_0x3bfb=function(){return _0x18a7c0;};return a40_0x3bfb();}(function(_0x5e4ed9,_0x4ce00d){const _0x44589d=a40_0x2133,_0x2cbce6=_0x5e4ed9();while(!![]){try{const _0x4d373a=-parseInt(_0x44589d(0x118))/0x1+-parseInt(_0x44589d(0x120))/0x2+parseInt(_0x44589d(0x11d))/0x3+parseInt(_0x44589d(0x11c))/0x4+parseInt(_0x44589d(0x11f))/0x5+-parseInt(_0x44589d(0x122))/0x6*(parseInt(_0x44589d(0x11b))/0x7)+parseInt(_0x44589d(0x121))/0x8;if(_0x4d373a===_0x4ce00d)break;else _0x2cbce6['push'](_0x2cbce6['shift']());}catch(_0x1ffecb){_0x2cbce6['push'](_0x2cbce6['shift']());}}}(a40_0x3bfb,0xcd5c3));import{select}from'@inquirer/prompts';import{MODELS}from'../config/settings.js';function a40_0x2133(_0x2cc18c,_0x41744e){_0x2cc18c=_0x2cc18c-0x118;const _0x3bfbe8=a40_0x3bfb();let _0x21339e=_0x3bfbe8[_0x2cc18c];return _0x21339e;}import{getSelectedModel,setSelectedModel}from'../utils/storage.js';export async function selectModel(){const _0x87ecb8=a40_0x2133,_0x135478=getSelectedModel(),_0x386f9e=MODELS['map'](_0x5e0405=>({'name':''+_0x5e0405['name']+(_0x5e0405['xp']?'\x20('+_0x5e0405['xp']+_0x87ecb8(0x11e):'')+(_0x5e0405['id']===_0x135478?'\x20*':''),'value':_0x5e0405['id'],'description':_0x5e0405[_0x87ecb8(0x11a)]})),_0x104116=await select({'message':_0x87ecb8(0x119),'choices':_0x386f9e,'default':_0x135478});return setSelectedModel(_0x104116),_0x104116;}export{getSelectedModel,setSelectedModel};
package/dist/ui/themes.js CHANGED
@@ -1 +1 @@
1
- function a41_0x3f09(_0x401573,_0x2de1f6){_0x401573=_0x401573-0x17b;const _0x23ca64=a41_0x23ca();let _0x3f092e=_0x23ca64[_0x401573];return _0x3f092e;}const a41_0xbe169c=a41_0x3f09;(function(_0x170abf,_0x2d40be){const _0x35d5f0=a41_0x3f09,_0x3a78dd=_0x170abf();while(!![]){try{const _0x5663fd=parseInt(_0x35d5f0(0x1a4))/0x1+-parseInt(_0x35d5f0(0x17f))/0x2*(parseInt(_0x35d5f0(0x1a0))/0x3)+parseInt(_0x35d5f0(0x19d))/0x4+-parseInt(_0x35d5f0(0x18b))/0x5+parseInt(_0x35d5f0(0x17e))/0x6*(-parseInt(_0x35d5f0(0x17b))/0x7)+-parseInt(_0x35d5f0(0x18a))/0x8*(-parseInt(_0x35d5f0(0x185))/0x9)+-parseInt(_0x35d5f0(0x188))/0xa;if(_0x5663fd===_0x2d40be)break;else _0x3a78dd['push'](_0x3a78dd['shift']());}catch(_0x372930){_0x3a78dd['push'](_0x3a78dd['shift']());}}}(a41_0x23ca,0x8fe67));function a41_0x23ca(){const _0x325600=['#f472b6','Classic\x20Purple','#a1a1aa','woozlit_blue','monochrome','#fb923c','sunset_orange','#047857','#3b82f6','Dracula\x20Pink','#fdba74','Hacker\x20Green','#ec4899','927720ZXYFbS','#34d399','#2563eb','3QOMkvF','#e9d5ff','#c084fc','#3f3f46','982947IitTCm','569807uUcdbK','dracula_pink','#93c5fd','24ZeVviR','971564QXDSPO','#fbcfe8','hacker_green','../utils/storage.js','classic_purple','find','7551PLKGMR','Woozlit\x20Blue\x20(Default)','#6ee7b7','6093030LFxhjZ','name','10688TRSKxC','1628385HCIsEL','Select\x20UI\x20Theme','#7e22ce','#10b981','#d4d4d8'];a41_0x23ca=function(){return _0x325600;};return a41_0x23ca();}export const THEMES=[{'id':a41_0xbe169c(0x193),'name':a41_0xbe169c(0x186),'primary':a41_0xbe169c(0x198),'secondary':'#60a5fa','tertiary':a41_0xbe169c(0x17d),'quaternary':a41_0xbe169c(0x19f)},{'id':a41_0xbe169c(0x183),'name':a41_0xbe169c(0x191),'primary':'#a855f7','secondary':a41_0xbe169c(0x1a2),'tertiary':a41_0xbe169c(0x1a1),'quaternary':a41_0xbe169c(0x18d)},{'id':a41_0xbe169c(0x181),'name':a41_0xbe169c(0x19b),'primary':a41_0xbe169c(0x18e),'secondary':a41_0xbe169c(0x19e),'tertiary':a41_0xbe169c(0x187),'quaternary':a41_0xbe169c(0x197)},{'id':a41_0xbe169c(0x196),'name':'Sunset\x20Orange','primary':'#f97316','secondary':a41_0xbe169c(0x195),'tertiary':a41_0xbe169c(0x19a),'quaternary':'#c2410c'},{'id':a41_0xbe169c(0x17c),'name':a41_0xbe169c(0x199),'primary':a41_0xbe169c(0x19c),'secondary':a41_0xbe169c(0x190),'tertiary':a41_0xbe169c(0x180),'quaternary':'#be185d'},{'id':a41_0xbe169c(0x194),'name':'Monochrome\x20Silver','primary':'#71717a','secondary':a41_0xbe169c(0x192),'tertiary':a41_0xbe169c(0x18f),'quaternary':a41_0xbe169c(0x1a3)}];export const DEFAULT_THEME_ID=a41_0xbe169c(0x193);export function getThemeById(_0x48bd75){const _0x296164=a41_0xbe169c;return THEMES[_0x296164(0x184)](_0x3c869e=>_0x3c869e['id']===_0x48bd75)||THEMES[0x0];}export async function selectTheme(){const _0x2f2ecb=a41_0xbe169c,{select:_0x4a3d62}=await import('@inquirer/prompts'),{getTheme:_0x75d4e,setTheme:_0x2eaee7}=await import(_0x2f2ecb(0x182)),_0x120d54=_0x75d4e(),_0x106c23=THEMES['map'](_0x4b6806=>({'name':_0x4b6806['id']===_0x120d54?_0x4b6806[_0x2f2ecb(0x189)]+'\x20*':_0x4b6806[_0x2f2ecb(0x189)],'value':_0x4b6806['id']})),_0x2ad611=await _0x4a3d62({'message':_0x2f2ecb(0x18c),'choices':_0x106c23,'default':_0x120d54});return _0x2eaee7(_0x2ad611),_0x2ad611;}
1
+ function a41_0x2951(_0x1a66c3,_0x1513cb){_0x1a66c3=_0x1a66c3-0x1f3;const _0x1fbf0d=a41_0x1fbf();let _0x295151=_0x1fbf0d[_0x1a66c3];return _0x295151;}const a41_0x2826a8=a41_0x2951;(function(_0x4cc4a2,_0x22c451){const _0x28c06c=a41_0x2951,_0x1f6820=_0x4cc4a2();while(!![]){try{const _0xd227de=parseInt(_0x28c06c(0x211))/0x1+-parseInt(_0x28c06c(0x1f4))/0x2*(parseInt(_0x28c06c(0x210))/0x3)+parseInt(_0x28c06c(0x1fb))/0x4*(parseInt(_0x28c06c(0x1fa))/0x5)+parseInt(_0x28c06c(0x20b))/0x6+-parseInt(_0x28c06c(0x1f8))/0x7+parseInt(_0x28c06c(0x20c))/0x8+-parseInt(_0x28c06c(0x1fc))/0x9;if(_0xd227de===_0x22c451)break;else _0x1f6820['push'](_0x1f6820['shift']());}catch(_0x2245f4){_0x1f6820['push'](_0x1f6820['shift']());}}}(a41_0x1fbf,0x46ade));export const THEMES=[{'id':'woozlit_blue','name':a41_0x2826a8(0x21a),'primary':a41_0x2826a8(0x219),'secondary':'#60a5fa','tertiary':a41_0x2826a8(0x1f6),'quaternary':a41_0x2826a8(0x203)},{'id':'classic_purple','name':a41_0x2826a8(0x20d),'primary':a41_0x2826a8(0x218),'secondary':'#c084fc','tertiary':'#e9d5ff','quaternary':a41_0x2826a8(0x1ff)},{'id':a41_0x2826a8(0x201),'name':'Hacker\x20Green','primary':a41_0x2826a8(0x215),'secondary':'#34d399','tertiary':a41_0x2826a8(0x216),'quaternary':a41_0x2826a8(0x209)},{'id':a41_0x2826a8(0x212),'name':a41_0x2826a8(0x1f7),'primary':a41_0x2826a8(0x20f),'secondary':'#fb923c','tertiary':a41_0x2826a8(0x200),'quaternary':'#c2410c'},{'id':'dracula_pink','name':a41_0x2826a8(0x1f3),'primary':a41_0x2826a8(0x206),'secondary':a41_0x2826a8(0x1fe),'tertiary':a41_0x2826a8(0x208),'quaternary':a41_0x2826a8(0x214)},{'id':a41_0x2826a8(0x1f9),'name':a41_0x2826a8(0x207),'primary':a41_0x2826a8(0x20e),'secondary':'#a1a1aa','tertiary':a41_0x2826a8(0x202),'quaternary':a41_0x2826a8(0x217)}];export const DEFAULT_THEME_ID='woozlit_blue';export function getThemeById(_0x54155f){const _0x33bdfd=a41_0x2826a8;return THEMES[_0x33bdfd(0x205)](_0x8c22cb=>_0x8c22cb['id']===_0x54155f)||THEMES[0x0];}function a41_0x1fbf(){const _0x15f78a=['#7e22ce','#fdba74','hacker_green','#d4d4d8','#2563eb','name','find','#ec4899','Monochrome\x20Silver','#fbcfe8','#047857','map','2599296GMBNBd','3084992nDMGmq','Classic\x20Purple','#71717a','#f97316','3BeSAFQ','523454ssaCEc','sunset_orange','@inquirer/prompts','#be185d','#10b981','#6ee7b7','#3f3f46','#a855f7','#3b82f6','Woozlit\x20Blue\x20(Default)','Dracula\x20Pink','988136bTHtUO','Select\x20UI\x20Theme','#93c5fd','Sunset\x20Orange','3064600PqKYQT','monochrome','855XxbhHZ','96iolOvA','1125252AmkdYR','../utils/storage.js','#f472b6'];a41_0x1fbf=function(){return _0x15f78a;};return a41_0x1fbf();}export async function selectTheme(){const _0x539a42=a41_0x2826a8,{select:_0x226cc3}=await import(_0x539a42(0x213)),{getTheme:_0x49abae,setTheme:_0x34677a}=await import(_0x539a42(0x1fd)),_0x361404=_0x49abae(),_0x3a45a2=THEMES[_0x539a42(0x20a)](_0x1df6f3=>({'name':_0x1df6f3['id']===_0x361404?_0x1df6f3[_0x539a42(0x204)]+'\x20*':_0x1df6f3[_0x539a42(0x204)],'value':_0x1df6f3['id']})),_0x492767=await _0x226cc3({'message':_0x539a42(0x1f5),'choices':_0x3a45a2,'default':_0x361404});return _0x34677a(_0x492767),_0x492767;}
package/dist/utils/api.js CHANGED
@@ -1 +1 @@
1
- (function(_0x824ee0,_0x56b5d1){const _0x842b85=a42_0x302d,_0x464b67=_0x824ee0();while(!![]){try{const _0x410bb5=-parseInt(_0x842b85(0x19a))/0x1*(parseInt(_0x842b85(0x1a0))/0x2)+-parseInt(_0x842b85(0x185))/0x3*(parseInt(_0x842b85(0x1ad))/0x4)+-parseInt(_0x842b85(0x1a2))/0x5*(-parseInt(_0x842b85(0x1ae))/0x6)+parseInt(_0x842b85(0x1b4))/0x7+-parseInt(_0x842b85(0x1c1))/0x8*(parseInt(_0x842b85(0x1b2))/0x9)+-parseInt(_0x842b85(0x1b5))/0xa+-parseInt(_0x842b85(0x1bd))/0xb*(-parseInt(_0x842b85(0x1b8))/0xc);if(_0x410bb5===_0x56b5d1)break;else _0x464b67['push'](_0x464b67['shift']());}catch(_0x528431){_0x464b67['push'](_0x464b67['shift']());}}}(a42_0x5b6e,0xade21));import{getApiUrl}from'../config/settings.js';import{getToken,getUser}from'./storage.js';function a42_0x302d(_0x59e847,_0x2494c3){_0x59e847=_0x59e847-0x17b;const _0x5b6ea9=a42_0x5b6e();let _0x302dc8=_0x5b6ea9[_0x59e847];return _0x302dc8;}import a42_0x13ab5c from'crypto';import a42_0x1efc15 from'fs';import a42_0x24a2bd from'path';import{dirname}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function a42_0x5b6e(){const _0x250f22=['485ftdDMX','\x20-\x20',':chat','now','trim','stringify','update','fromCharCode','endsWith','map','from','4PBwJNm','58746AbHVjS','/api/auth/verify','createDecipheriv','resetIn','1439595LSkkWh','slice','5022066VtluKh','1324820Wirgpx','final','charCodeAt','210804fjDRpB','error','true','aes-256-cbc','No\x20response\x20body','33GrQHhx','length','cli-','status','8TuPxNJ','text','/api/chat','toString','read','\x20seconds.','cwd','getReader','Rate\x20limit\x20exceeded.\x20Try\x20again\x20in\x20','padStart','Not\x20authenticated.\x20Please\x20run\x20\x27woozlit\x20login\x27\x20first.','woozlit:','woozlit_internal_secure_key_2026_v2_!!!','substring','1909410JUvGGM','digest','decode','API\x20error:\x20','readFileSync','R9fC2XWkQeY1B6Z0aM3S7UoI5dVJH8NpbKTL4GmEAr','isRateLimit','json','get','1.1.0','headers','createHash','utf8','sha256','env.woozlit','catch','imul','POST','../../env.woozlit','e5c','join','39367VDklcR','application/json','https://woozlit.com','arch','hex','../../../env.woozlit','4nTbeuw','platform'];a42_0x5b6e=function(){return _0x250f22;};return a42_0x5b6e();}function getDecryptedSecret(){const _0xcaf56e=a42_0x302d;try{const _0x17b903=[a42_0x24a2bd[_0xcaf56e(0x199)](__dirname,_0xcaf56e(0x197)),a42_0x24a2bd[_0xcaf56e(0x199)](__dirname,_0xcaf56e(0x19f)),a42_0x24a2bd['join'](__dirname,'../env.woozlit'),a42_0x24a2bd[_0xcaf56e(0x199)](process[_0xcaf56e(0x17d)](),_0xcaf56e(0x193))];let _0x584177='';for(const _0x16633e of _0x17b903){if(a42_0x1efc15['existsSync'](_0x16633e)){_0x584177=a42_0x1efc15[_0xcaf56e(0x189)](_0x16633e,_0xcaf56e(0x191))[_0xcaf56e(0x1a6)]();break;}}if(!_0x584177)return reconstructSecret();const [_0x3f87db,_0x1b98dc]=_0x584177['split'](':');if(!_0x3f87db||!_0x1b98dc)return reconstructSecret();const _0x3e726a=Buffer[_0xcaf56e(0x1ac)](_0x3f87db,'hex'),_0x5f5de5=a42_0x13ab5c[_0xcaf56e(0x190)](_0xcaf56e(0x192))[_0xcaf56e(0x1a8)](_0xcaf56e(0x183))[_0xcaf56e(0x186)](),_0xfce8a1=a42_0x13ab5c[_0xcaf56e(0x1b0)](_0xcaf56e(0x1bb),_0x5f5de5,_0x3e726a);let _0x4c4859=_0xfce8a1[_0xcaf56e(0x1a8)](_0x1b98dc,_0xcaf56e(0x19e),_0xcaf56e(0x191));return _0x4c4859+=_0xfce8a1[_0xcaf56e(0x1b6)](_0xcaf56e(0x191)),_0x4c4859;}catch(_0x11febc){return reconstructSecret();}}function reconstructSecret(){const _0x1de0ed=a42_0x302d,_0x2492af=[0x77,0x7a,0x5f,0x63,0x6c,0x69,0x5f,0x70,0x72,0x6f,0x64,0x5f][_0x1de0ed(0x1ab)](_0x2bf3d6=>String[_0x1de0ed(0x1a9)](_0x2bf3d6))[_0x1de0ed(0x199)](''),_0x14ea60=String[_0x1de0ed(0x1a9)](0x73,0x33,0x63,0x72,0x33,0x74,0x5f,0x78,0x39,0x32,0x5f),_0x14a1a7=(0x8*0x186a0+0x26610+0x190+0x32+0x6)[_0x1de0ed(0x1c4)](0x10)+_0x1de0ed(0x198)+(0x4*0xa+0x3)[_0x1de0ed(0x1c4)](0x10)+'3a2_',_0x48815a=['s','e','c','u','r','e','_','h','a','s','h'][_0x1de0ed(0x199)]('');return _0x2492af+_0x14ea60+'8f7d6'+_0x14a1a7[_0x1de0ed(0x184)](0x5)+_0x48815a;}function simpleHash(_0x5a3a23){const _0x238f6e=a42_0x302d;let _0x20bf54=0x811c9dc5;for(let _0x188138=0x0;_0x188138<_0x5a3a23[_0x238f6e(0x1be)];_0x188138++){_0x20bf54^=_0x5a3a23[_0x238f6e(0x1b7)](_0x188138),_0x20bf54=Math[_0x238f6e(0x195)](_0x20bf54,0x1000193);}const _0x475c67=(_0x20bf54>>>0x0)[_0x238f6e(0x1c4)](0x10)[_0x238f6e(0x180)](0x8,'0');let _0x331537=0x0;for(let _0x312ea8=0x0;_0x312ea8<_0x5a3a23['length'];_0x312ea8++){_0x331537=(_0x331537<<0x5)-_0x331537+_0x5a3a23[_0x238f6e(0x1b7)](_0x312ea8)|0x0;}const _0x14e8f6=(_0x331537>>>0x0)[_0x238f6e(0x1c4)](0x10)[_0x238f6e(0x180)](0x8,'0');return''+_0x475c67+_0x14e8f6;}function createRequestSignature(){const _0x7975d7=a42_0x302d,_0x537a54=Date['now']()['toString'](),_0x175450=_0x7975d7(0x182)+_0x537a54+_0x7975d7(0x1a4),_0x3ada5b=_0x7975d7(0x18a),_0x677ccd=simpleHash(_0x175450+_0x3ada5b);return{'signature':_0x677ccd,'timestamp':_0x537a54};}export async function sendChatMessage(_0x5e2da4,_0x33a5bb,_0x5a77e5,_0xab989c){const _0x4651bf=a42_0x302d,_0x359f1b=getToken(),_0x2f4350=getApiUrl(),{userId:_0x252713}=getUser();if(!_0x359f1b||!_0x252713)throw new Error(_0x4651bf(0x181));const _0x74b4b=_0x4651bf(0x1bf)+Date[_0x4651bf(0x1a5)]()+'-'+Math['random']()[_0x4651bf(0x1c4)](0x24)['substring'](0x2,0x9),_0x4da11e=process[_0x4651bf(0x1a1)]+'-'+process[_0x4651bf(0x19d)]+'-'+process['version'],_0x1f2414=getDecryptedSecret(),{signature:_0x278c1c,timestamp:_0x56a604}=createRequestSignature(),_0x1d3860=await fetch(_0x2f4350+_0x4651bf(0x1c3),{'method':_0x4651bf(0x196),'headers':{'Content-Type':_0x4651bf(0x19b),'X-Woozlit-CLI':_0x4651bf(0x1ba),'X-Woozlit-CLI-Version':_0x4651bf(0x18e),'X-Request-ID':_0x74b4b,'X-Device-Fingerprint':_0x4da11e,'Authorization':'Bearer\x20'+_0x359f1b,'X-Woozlit-Token':'Bearer\x20'+_0x359f1b,'Origin':_0x4651bf(0x19c),'X-Woozlit-App-Secret':_0x1f2414,'X-Request-Signature':_0x278c1c,'X-Request-Timestamp':_0x56a604},'body':JSON[_0x4651bf(0x1a7)]({'model':_0x5e2da4,'messages':_0x33a5bb,'stream':!![],'userId':_0x252713}),'signal':_0xab989c});if(!_0x1d3860['ok']){if(_0x1d3860['status']===0x1ad){const _0x3dd50f=_0x1d3860[_0x4651bf(0x18f)][_0x4651bf(0x18d)]('X-RateLimit-Reset'),_0x3eaec5=_0x3dd50f?parseInt(_0x3dd50f):0x3c,_0x3a4914=await _0x1d3860['json']()[_0x4651bf(0x194)](()=>({})),_0x122b1b=new Error(_0x3a4914[_0x4651bf(0x1b9)]||_0x4651bf(0x17f)+_0x3eaec5+_0x4651bf(0x17c));_0x122b1b[_0x4651bf(0x1c0)]=0x1ad,_0x122b1b[_0x4651bf(0x1b1)]=_0x3eaec5,_0x122b1b[_0x4651bf(0x18b)]=!![];throw _0x122b1b;}const _0x26cd66=await _0x1d3860[_0x4651bf(0x1c2)]();throw new Error(_0x4651bf(0x188)+_0x1d3860[_0x4651bf(0x1c0)]+_0x4651bf(0x1a3)+_0x26cd66);}if(!_0x1d3860['body'])throw new Error(_0x4651bf(0x1bc));const _0xc0851=_0x1d3860['body'][_0x4651bf(0x17e)](),_0x15257b=new TextDecoder();let _0x1756dd='';const _0x2ff70f=[];while(!![]){const {done:_0x1e1a06,value:_0xa36a4}=await _0xc0851[_0x4651bf(0x17b)]();if(_0x1e1a06)break;const _0xefa9b=_0x15257b[_0x4651bf(0x187)](_0xa36a4,{'stream':!![]});if(_0xefa9b['includes']('0:')){const _0xc28618=_0xefa9b['split']('\x0a');for(const _0x2c0ef8 of _0xc28618){if(_0x2c0ef8['startsWith']('0:')){const _0x49e6bf=_0x2c0ef8[_0x4651bf(0x1b3)](0x2)[_0x4651bf(0x1a6)]();if(_0x49e6bf['startsWith']('\x22')&&_0x49e6bf[_0x4651bf(0x1aa)]('\x22'))try{const _0x3fb658=JSON['parse'](_0x49e6bf);_0x1756dd+=_0x3fb658;if(_0x5a77e5)_0x5a77e5(_0x3fb658);}catch{}}}}else{_0x1756dd+=_0xefa9b;if(_0x5a77e5)_0x5a77e5(_0xefa9b);}}return{'content':_0x1756dd,'toolCalls':_0x2ff70f};}export async function checkAuth(){const _0x9cc499=a42_0x302d,_0x170246=getToken();if(!_0x170246)return![];try{const _0x2f664c=getApiUrl(),_0x352e5d=await fetch(_0x2f664c+_0x9cc499(0x1af),{'headers':{'Authorization':'Bearer\x20'+_0x170246}});return _0x352e5d['ok'];}catch{return![];}}export async function getUserUsage(){const _0x26f1cc=a42_0x302d,_0x25f989=getToken();if(!_0x25f989)return null;try{const _0x357be6=getApiUrl(),_0xeb2009=await fetch(_0x357be6+'/api/user/usage',{'headers':{'Authorization':'Bearer\x20'+_0x25f989}});if(!_0xeb2009['ok'])return null;return await _0xeb2009[_0x26f1cc(0x18c)]();}catch(_0x482ff5){return null;}}
1
+ (function(_0x3ac7c1,_0x361fee){const _0x2614f0=a42_0x54c1,_0x59d827=_0x3ac7c1();while(!![]){try{const _0x115216=parseInt(_0x2614f0(0x103))/0x1+parseInt(_0x2614f0(0x102))/0x2+parseInt(_0x2614f0(0xcf))/0x3*(parseInt(_0x2614f0(0xee))/0x4)+-parseInt(_0x2614f0(0xf7))/0x5+-parseInt(_0x2614f0(0xf6))/0x6+parseInt(_0x2614f0(0xc9))/0x7*(-parseInt(_0x2614f0(0xe9))/0x8)+-parseInt(_0x2614f0(0xea))/0x9*(parseInt(_0x2614f0(0xe0))/0xa);if(_0x115216===_0x361fee)break;else _0x59d827['push'](_0x59d827['shift']());}catch(_0xe4e08f){_0x59d827['push'](_0x59d827['shift']());}}}(a42_0x2826,0x3e9bb));import{getApiUrl}from'../config/settings.js';import{getToken,getUser}from'./storage.js';function a42_0x2826(){const _0x1c2f82=['1.1.0','\x20seconds.','createHash','../env.woozlit','496200HpZXJi','102155QJIHia','map','now','R9fC2XWkQeY1B6Z0aM3S7UoI5dVJH8NpbKTL4GmEAr','json','trim','API\x20error:\x20','createDecipheriv','update','true','final','587350hkUdIw','391000NIuvvn',':chat','Rate\x20limit\x20exceeded.\x20Try\x20again\x20in\x20','/api/user/usage','X-RateLimit-Reset','join','Bearer\x20','165221CyVTPP','../../env.woozlit','from','stringify','env.woozlit','charCodeAt','437901bAHSXS','split','padStart','utf8','aes-256-cbc','read','3a2_','application/json','resetIn','cli-','Not\x20authenticated.\x20Please\x20run\x20\x27woozlit\x20login\x27\x20first.','includes','platform','length','catch','woozlit_internal_secure_key_2026_v2_!!!','toString','30HagJxf','isRateLimit','hex','error','woozlit:','status','substring','body','fromCharCode','152KFaoQa','67833SQTDYv','startsWith','e5c','parse','4ByxdyX','8f7d6','headers','arch'];a42_0x2826=function(){return _0x1c2f82;};return a42_0x2826();}import a42_0x25d4d9 from'crypto';import a42_0x35aca6 from'fs';import a42_0x20b5e3 from'path';import{dirname}from'path';function a42_0x54c1(_0x5680d1,_0x43f0c9){_0x5680d1=_0x5680d1-0xc7;const _0x282692=a42_0x2826();let _0x54c19b=_0x282692[_0x5680d1];return _0x54c19b;}import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getDecryptedSecret(){const _0x509cac=a42_0x54c1;try{const _0x448d6c=[a42_0x20b5e3[_0x509cac(0xc7)](__dirname,_0x509cac(0xca)),a42_0x20b5e3[_0x509cac(0xc7)](__dirname,'../../../env.woozlit'),a42_0x20b5e3[_0x509cac(0xc7)](__dirname,_0x509cac(0xf5)),a42_0x20b5e3[_0x509cac(0xc7)](process['cwd'](),_0x509cac(0xcd))];let _0xa3643e='';for(const _0x2d1fe4 of _0x448d6c){if(a42_0x35aca6['existsSync'](_0x2d1fe4)){_0xa3643e=a42_0x35aca6['readFileSync'](_0x2d1fe4,_0x509cac(0xd2))[_0x509cac(0xfc)]();break;}}if(!_0xa3643e)return reconstructSecret();const [_0x3efd76,_0x4eaea7]=_0xa3643e[_0x509cac(0xd0)](':');if(!_0x3efd76||!_0x4eaea7)return reconstructSecret();const _0x471638=Buffer[_0x509cac(0xcb)](_0x3efd76,'hex'),_0x395a89=a42_0x25d4d9[_0x509cac(0xf4)]('sha256')[_0x509cac(0xff)](_0x509cac(0xde))['digest'](),_0x1dd41c=a42_0x25d4d9[_0x509cac(0xfe)](_0x509cac(0xd3),_0x395a89,_0x471638);let _0x44e09b=_0x1dd41c[_0x509cac(0xff)](_0x4eaea7,_0x509cac(0xe2),'utf8');return _0x44e09b+=_0x1dd41c[_0x509cac(0x101)](_0x509cac(0xd2)),_0x44e09b;}catch(_0x539024){return reconstructSecret();}}function reconstructSecret(){const _0xb4ceb0=a42_0x54c1,_0x1958ea=[0x77,0x7a,0x5f,0x63,0x6c,0x69,0x5f,0x70,0x72,0x6f,0x64,0x5f][_0xb4ceb0(0xf8)](_0x43aa0b=>String[_0xb4ceb0(0xe8)](_0x43aa0b))[_0xb4ceb0(0xc7)](''),_0x3dbbca=String[_0xb4ceb0(0xe8)](0x73,0x33,0x63,0x72,0x33,0x74,0x5f,0x78,0x39,0x32,0x5f),_0x10cab4=(0x8*0x186a0+0x26610+0x190+0x32+0x6)[_0xb4ceb0(0xdf)](0x10)+_0xb4ceb0(0xec)+(0x4*0xa+0x3)['toString'](0x10)+_0xb4ceb0(0xd5),_0x509d9f=['s','e','c','u','r','e','_','h','a','s','h'][_0xb4ceb0(0xc7)]('');return _0x1958ea+_0x3dbbca+_0xb4ceb0(0xef)+_0x10cab4[_0xb4ceb0(0xe6)](0x5)+_0x509d9f;}function simpleHash(_0x1bc470){const _0x56b8e0=a42_0x54c1;let _0x361fe5=0x811c9dc5;for(let _0x591cb7=0x0;_0x591cb7<_0x1bc470[_0x56b8e0(0xdc)];_0x591cb7++){_0x361fe5^=_0x1bc470['charCodeAt'](_0x591cb7),_0x361fe5=Math['imul'](_0x361fe5,0x1000193);}const _0x222b79=(_0x361fe5>>>0x0)[_0x56b8e0(0xdf)](0x10)[_0x56b8e0(0xd1)](0x8,'0');let _0x3e74ab=0x0;for(let _0xbb6278=0x0;_0xbb6278<_0x1bc470[_0x56b8e0(0xdc)];_0xbb6278++){_0x3e74ab=(_0x3e74ab<<0x5)-_0x3e74ab+_0x1bc470[_0x56b8e0(0xce)](_0xbb6278)|0x0;}const _0x1278aa=(_0x3e74ab>>>0x0)[_0x56b8e0(0xdf)](0x10)['padStart'](0x8,'0');return''+_0x222b79+_0x1278aa;}function createRequestSignature(){const _0x5ca670=a42_0x54c1,_0x56a5fc=Date['now']()[_0x5ca670(0xdf)](),_0x159e40=_0x5ca670(0xe4)+_0x56a5fc+_0x5ca670(0x104),_0x1cbeba=_0x5ca670(0xfa),_0x4b34c7=simpleHash(_0x159e40+_0x1cbeba);return{'signature':_0x4b34c7,'timestamp':_0x56a5fc};}export async function sendChatMessage(_0x99821b,_0x5ca57c,_0x19b912,_0x57a08a){const _0x4229ab=a42_0x54c1,_0x301d94=getToken(),_0x1346be=getApiUrl(),{userId:_0x57e114}=getUser();if(!_0x301d94||!_0x57e114)throw new Error(_0x4229ab(0xd9));const _0x466fea=_0x4229ab(0xd8)+Date[_0x4229ab(0xf9)]()+'-'+Math['random']()[_0x4229ab(0xdf)](0x24)[_0x4229ab(0xe6)](0x2,0x9),_0x24cf4b=process[_0x4229ab(0xdb)]+'-'+process[_0x4229ab(0xf1)]+'-'+process['version'],_0x1434ff=getDecryptedSecret(),{signature:_0x2aa2dd,timestamp:_0x4a675c}=createRequestSignature(),_0x478afb=await fetch(_0x1346be+'/api/chat',{'method':'POST','headers':{'Content-Type':_0x4229ab(0xd6),'X-Woozlit-CLI':_0x4229ab(0x100),'X-Woozlit-CLI-Version':_0x4229ab(0xf2),'X-Request-ID':_0x466fea,'X-Device-Fingerprint':_0x24cf4b,'Authorization':_0x4229ab(0xc8)+_0x301d94,'X-Woozlit-Token':_0x4229ab(0xc8)+_0x301d94,'Origin':'https://woozlit.com','X-Woozlit-App-Secret':_0x1434ff,'X-Request-Signature':_0x2aa2dd,'X-Request-Timestamp':_0x4a675c},'body':JSON[_0x4229ab(0xcc)]({'model':_0x99821b,'messages':_0x5ca57c,'stream':!![],'userId':_0x57e114}),'signal':_0x57a08a});if(!_0x478afb['ok']){if(_0x478afb[_0x4229ab(0xe5)]===0x1ad){const _0x4ef17a=_0x478afb[_0x4229ab(0xf0)]['get'](_0x4229ab(0x107)),_0x5543e6=_0x4ef17a?parseInt(_0x4ef17a):0x3c,_0x5f1b69=await _0x478afb[_0x4229ab(0xfb)]()[_0x4229ab(0xdd)](()=>({})),_0x599e54=new Error(_0x5f1b69[_0x4229ab(0xe3)]||_0x4229ab(0x105)+_0x5543e6+_0x4229ab(0xf3));_0x599e54[_0x4229ab(0xe5)]=0x1ad,_0x599e54[_0x4229ab(0xd7)]=_0x5543e6,_0x599e54[_0x4229ab(0xe1)]=!![];throw _0x599e54;}const _0x2f0df0=await _0x478afb['text']();throw new Error(_0x4229ab(0xfd)+_0x478afb[_0x4229ab(0xe5)]+'\x20-\x20'+_0x2f0df0);}if(!_0x478afb[_0x4229ab(0xe7)])throw new Error('No\x20response\x20body');const _0x464193=_0x478afb[_0x4229ab(0xe7)]['getReader'](),_0xf50a61=new TextDecoder();let _0xa3f4c0='';const _0x1c3b8e=[];while(!![]){const {done:_0x4adcc4,value:_0x1e8f29}=await _0x464193[_0x4229ab(0xd4)]();if(_0x4adcc4)break;const _0xf11a22=_0xf50a61['decode'](_0x1e8f29,{'stream':!![]});if(_0xf11a22[_0x4229ab(0xda)]('0:')){const _0x326b48=_0xf11a22['split']('\x0a');for(const _0xc42c0d of _0x326b48){if(_0xc42c0d['startsWith']('0:')){const _0x5ef380=_0xc42c0d['slice'](0x2)['trim']();if(_0x5ef380[_0x4229ab(0xeb)]('\x22')&&_0x5ef380['endsWith']('\x22'))try{const _0x4effa0=JSON[_0x4229ab(0xed)](_0x5ef380);_0xa3f4c0+=_0x4effa0;if(_0x19b912)_0x19b912(_0x4effa0);}catch{}}}}else{_0xa3f4c0+=_0xf11a22;if(_0x19b912)_0x19b912(_0xf11a22);}}return{'content':_0xa3f4c0,'toolCalls':_0x1c3b8e};}export async function checkAuth(){const _0x1063d9=a42_0x54c1,_0x49e38f=getToken();if(!_0x49e38f)return![];try{const _0x1b2371=getApiUrl(),_0x3fc9eb=await fetch(_0x1b2371+'/api/auth/verify',{'headers':{'Authorization':_0x1063d9(0xc8)+_0x49e38f}});return _0x3fc9eb['ok'];}catch{return![];}}export async function getUserUsage(){const _0x9bbf0a=a42_0x54c1,_0x2724e7=getToken();if(!_0x2724e7)return null;try{const _0x17c341=getApiUrl(),_0x274eb4=await fetch(_0x17c341+_0x9bbf0a(0x106),{'headers':{'Authorization':'Bearer\x20'+_0x2724e7}});if(!_0x274eb4['ok'])return null;return await _0x274eb4[_0x9bbf0a(0xfb)]();}catch(_0x43b8b5){return null;}}
@@ -1 +1 @@
1
- function a43_0x2444(_0x3feabb,_0x46a860){_0x3feabb=_0x3feabb-0x197;const _0x27fef1=a43_0x27fe();let _0x24448e=_0x27fef1[_0x3feabb];return _0x24448e;}const a43_0x119e57=a43_0x2444;(function(_0x596d1a,_0x20fa6b){const _0x3225eb=a43_0x2444,_0x298226=_0x596d1a();while(!![]){try{const _0x46fcae=parseInt(_0x3225eb(0x199))/0x1*(parseInt(_0x3225eb(0x1ad))/0x2)+-parseInt(_0x3225eb(0x19d))/0x3*(parseInt(_0x3225eb(0x198))/0x4)+-parseInt(_0x3225eb(0x19f))/0x5*(parseInt(_0x3225eb(0x1ac))/0x6)+-parseInt(_0x3225eb(0x1ae))/0x7*(parseInt(_0x3225eb(0x1a4))/0x8)+-parseInt(_0x3225eb(0x1a6))/0x9+-parseInt(_0x3225eb(0x1a1))/0xa*(-parseInt(_0x3225eb(0x1a5))/0xb)+parseInt(_0x3225eb(0x19a))/0xc;if(_0x46fcae===_0x20fa6b)break;else _0x298226['push'](_0x298226['shift']());}catch(_0x1f5856){_0x298226['push'](_0x298226['shift']());}}}(a43_0x27fe,0x6aac6));import a43_0x288878 from'conf';const WEEK_MS=0x7*0x18*0x3c*0x3c*0x3e8,config=new a43_0x288878({'projectName':a43_0x119e57(0x197),'defaults':{'entries':[],'lastCleanup':Date[a43_0x119e57(0x19e)]()}});function cleanup(){const _0x2faaf1=a43_0x119e57,_0x21873b=Date[_0x2faaf1(0x19e)](),_0x283158=config[_0x2faaf1(0x1a0)]('lastCleanup');if(_0x21873b-_0x283158<0x18*0x3c*0x3c*0x3e8)return;const _0x3f2282=config[_0x2faaf1(0x1a0)](_0x2faaf1(0x19c)),_0xb471f9=_0x3f2282[_0x2faaf1(0x1aa)](_0x4330e6=>_0x21873b-_0x4330e6['timestamp']<WEEK_MS);config['set']('entries',_0xb471f9),config[_0x2faaf1(0x1a8)](_0x2faaf1(0x1a3),_0x21873b);}function a43_0x27fe(){const _0x4060e1=['now','2655yzlNAq','get','3726010VkZmOD','message','lastCleanup','1112872SISbTe','22owmhPa','5185656xcwBAr','map','set','push','filter','shift','7914ZjPOTS','950394HvZUdC','28CuPPmD','woozlit-cli-history','64XpbeTu','1jkuKSM','17096160QdxKxo','length','entries','70338XosEHF'];a43_0x27fe=function(){return _0x4060e1;};return a43_0x27fe();}export function addToHistory(_0x17daaf){const _0x239cf3=a43_0x119e57;cleanup();const _0x27e4fc=config[_0x239cf3(0x1a0)](_0x239cf3(0x19c));_0x27e4fc[_0x239cf3(0x1a9)]({'message':_0x17daaf,'timestamp':Date[_0x239cf3(0x19e)]()});if(_0x27e4fc[_0x239cf3(0x19b)]>0x64)_0x27e4fc[_0x239cf3(0x1ab)]();config[_0x239cf3(0x1a8)](_0x239cf3(0x19c),_0x27e4fc);}export function getHistory(){const _0x4e65af=a43_0x119e57;return cleanup(),config[_0x4e65af(0x1a0)](_0x4e65af(0x19c))[_0x4e65af(0x1a7)](_0x58caa0=>_0x58caa0[_0x4e65af(0x1a2)]);}export function clearHistory(){const _0x15d7c3=a43_0x119e57;config[_0x15d7c3(0x1a8)](_0x15d7c3(0x19c),[]);}
1
+ function a43_0xd3b3(_0x1dafc7,_0x7264a9){_0x1dafc7=_0x1dafc7-0xd8;const _0x408e40=a43_0x408e();let _0xd3b377=_0x408e40[_0x1dafc7];return _0xd3b377;}const a43_0x1ddce8=a43_0xd3b3;(function(_0x3e7658,_0xa25a2b){const _0x5f213a=a43_0xd3b3,_0x323792=_0x3e7658();while(!![]){try{const _0x995dc0=parseInt(_0x5f213a(0xe0))/0x1+parseInt(_0x5f213a(0xe1))/0x2+-parseInt(_0x5f213a(0xe6))/0x3+-parseInt(_0x5f213a(0xe5))/0x4*(parseInt(_0x5f213a(0xdc))/0x5)+-parseInt(_0x5f213a(0xdb))/0x6+parseInt(_0x5f213a(0xde))/0x7*(-parseInt(_0x5f213a(0xe2))/0x8)+parseInt(_0x5f213a(0xe4))/0x9;if(_0x995dc0===_0xa25a2b)break;else _0x323792['push'](_0x323792['shift']());}catch(_0x4a7471){_0x323792['push'](_0x323792['shift']());}}}(a43_0x408e,0xa2e6f));import a43_0x435441 from'conf';const WEEK_MS=0x7*0x18*0x3c*0x3c*0x3e8,config=new a43_0x435441({'projectName':a43_0x1ddce8(0xdf),'defaults':{'entries':[],'lastCleanup':Date['now']()}});function a43_0x408e(){const _0x1cb8d1=['5PgEMkz','timestamp','221004wMWlTQ','woozlit-cli-history','705727ydhDfb','2391926YlIxlp','232gtIoid','filter','17610381VNWhww','759836uXQvdG','3254754MkhuBS','push','get','now','lastCleanup','entries','shift','set','6004122kPNtXv'];a43_0x408e=function(){return _0x1cb8d1;};return a43_0x408e();}function cleanup(){const _0x13ec14=a43_0x1ddce8,_0x227ec3=Date['now'](),_0x290d82=config['get'](_0x13ec14(0xea));if(_0x227ec3-_0x290d82<0x18*0x3c*0x3c*0x3e8)return;const _0x4bf77f=config['get'](_0x13ec14(0xd8)),_0x23e636=_0x4bf77f[_0x13ec14(0xe3)](_0x5e0aa1=>_0x227ec3-_0x5e0aa1[_0x13ec14(0xdd)]<WEEK_MS);config[_0x13ec14(0xda)]('entries',_0x23e636),config[_0x13ec14(0xda)]('lastCleanup',_0x227ec3);}export function addToHistory(_0x104a42){const _0x252dc5=a43_0x1ddce8;cleanup();const _0x2a11b9=config[_0x252dc5(0xe8)](_0x252dc5(0xd8));_0x2a11b9[_0x252dc5(0xe7)]({'message':_0x104a42,'timestamp':Date[_0x252dc5(0xe9)]()});if(_0x2a11b9['length']>0x64)_0x2a11b9[_0x252dc5(0xd9)]();config['set'](_0x252dc5(0xd8),_0x2a11b9);}export function getHistory(){const _0x26be7c=a43_0x1ddce8;return cleanup(),config[_0x26be7c(0xe8)](_0x26be7c(0xd8))['map'](_0x3ff825=>_0x3ff825['message']);}export function clearHistory(){const _0x351e1e=a43_0x1ddce8;config[_0x351e1e(0xda)](_0x351e1e(0xd8),[]);}
@@ -1 +1 @@
1
- const a44_0x47aecf=a44_0x53d6;(function(_0x344c94,_0x47cec9){const _0x2b4345=a44_0x53d6,_0x52b1e4=_0x344c94();while(!![]){try{const _0x52e8d3=parseInt(_0x2b4345(0xd7))/0x1+-parseInt(_0x2b4345(0x11e))/0x2+parseInt(_0x2b4345(0xea))/0x3+parseInt(_0x2b4345(0x122))/0x4*(-parseInt(_0x2b4345(0x110))/0x5)+-parseInt(_0x2b4345(0xed))/0x6*(parseInt(_0x2b4345(0xd6))/0x7)+parseInt(_0x2b4345(0xff))/0x8*(parseInt(_0x2b4345(0xdf))/0x9)+parseInt(_0x2b4345(0xe3))/0xa*(parseInt(_0x2b4345(0x107))/0xb);if(_0x52e8d3===_0x47cec9)break;else _0x52b1e4['push'](_0x52b1e4['shift']());}catch(_0x2d0063){_0x52b1e4['push'](_0x52b1e4['shift']());}}}(a44_0x5a4d,0x965e5));import{execSync}from'child_process';import a44_0x3b0719 from'path';import a44_0x3911f8 from'fs';function a44_0x53d6(_0x11995b,_0x29d79a){_0x11995b=_0x11995b-0xd6;const _0x5a4dfd=a44_0x5a4d();let _0x53d67e=_0x5a4dfd[_0x11995b];return _0x53d67e;}import a44_0x599d94 from'os';import*as a44_0x4dee5a from'../ui/output.js';import{addMcpServer,addMcpHttpServer}from'../config/mcp.js';const SERVERS_DIR=a44_0x3b0719[a44_0x47aecf(0xe2)](a44_0x599d94[a44_0x47aecf(0xe7)](),a44_0x47aecf(0xd8),a44_0x47aecf(0x11d));function ensureServersDir(){const _0x4538e4=a44_0x47aecf;!a44_0x3911f8[_0x4538e4(0xef)](SERVERS_DIR)&&a44_0x3911f8[_0x4538e4(0xe9)](SERVERS_DIR,{'recursive':!![]});}function getRepoName(_0x2d9475){const _0x5494af=a44_0x47aecf,_0x2296bb=_0x2d9475[_0x5494af(0xd9)]('/');let _0x476ef9=_0x2296bb[_0x2296bb[_0x5494af(0x11a)]-0x1];return _0x476ef9[_0x5494af(0xe4)]('.git')&&(_0x476ef9=_0x476ef9['slice'](0x0,-0x4)),_0x476ef9;}async function installFromGithub(_0x3e0fbd,_0x50333a){const _0x432fbc=a44_0x47aecf;ensureServersDir();const _0x29478c=_0x50333a||getRepoName(_0x3e0fbd),_0x1cede5=a44_0x3b0719[_0x432fbc(0xe2)](SERVERS_DIR,_0x29478c);a44_0x4dee5a['info']('Cloning\x20'+_0x3e0fbd+_0x432fbc(0x109)+_0x1cede5+'...');if(a44_0x3911f8['existsSync'](_0x1cede5)){a44_0x4dee5a[_0x432fbc(0x106)](_0x432fbc(0x112)+_0x1cede5+_0x432fbc(0x10c));try{execSync('git\x20pull',{'cwd':_0x1cede5,'stdio':_0x432fbc(0x10d)});}catch(_0x3f8bda){a44_0x4dee5a[_0x432fbc(0xe8)](_0x432fbc(0x117));return;}}else try{execSync(_0x432fbc(0xdb)+_0x3e0fbd+'\x20'+_0x1cede5,{'stdio':'inherit'});}catch(_0x400503){a44_0x4dee5a[_0x432fbc(0xe8)]('Failed\x20to\x20clone\x20repository:\x20'+_0x400503);return;}a44_0x4dee5a[_0x432fbc(0xe5)]('Installing\x20dependencies...');try{const _0x34ded3=a44_0x3911f8[_0x432fbc(0xef)](a44_0x3b0719[_0x432fbc(0xe2)](_0x1cede5,_0x432fbc(0xeb))),_0x36ecdb=a44_0x3911f8['existsSync'](a44_0x3b0719['join'](_0x1cede5,_0x432fbc(0x10b))),_0x4fbf4f=_0x34ded3?_0x432fbc(0xf9):_0x36ecdb?_0x432fbc(0x121):_0x432fbc(0x108);execSync(_0x4fbf4f,{'cwd':_0x1cede5,'stdio':'inherit'});const _0x23da09=a44_0x3b0719['join'](_0x1cede5,'package.json');if(a44_0x3911f8[_0x432fbc(0xef)](_0x23da09)){const _0x58b845=JSON[_0x432fbc(0xf6)](a44_0x3911f8[_0x432fbc(0x11c)](_0x23da09,_0x432fbc(0xdd)));_0x58b845['scripts']&&_0x58b845[_0x432fbc(0x114)][_0x432fbc(0x11f)]&&(a44_0x4dee5a[_0x432fbc(0xe5)]('Building\x20project...'),execSync((_0x34ded3?_0x432fbc(0xe6):_0x36ecdb?_0x432fbc(0xf5):_0x432fbc(0x10e))+_0x432fbc(0x105),{'cwd':_0x1cede5,'stdio':_0x432fbc(0x10d)}));}}catch(_0x32061b){a44_0x4dee5a[_0x432fbc(0xe8)](_0x432fbc(0xfd)+_0x32061b);return;}const _0x48f766=a44_0x3b0719['join'](_0x1cede5,_0x432fbc(0x123));let _0x9b0fdf='';if(a44_0x3911f8[_0x432fbc(0xef)](_0x48f766)){const _0x471bff=JSON[_0x432fbc(0xf6)](a44_0x3911f8[_0x432fbc(0x11c)](_0x48f766,_0x432fbc(0xdd)));if(_0x471bff[_0x432fbc(0x101)]){if(typeof _0x471bff[_0x432fbc(0x101)]===_0x432fbc(0x111))_0x9b0fdf=a44_0x3b0719[_0x432fbc(0xe2)](_0x1cede5,_0x471bff[_0x432fbc(0x101)]);else{if(typeof _0x471bff[_0x432fbc(0x101)]===_0x432fbc(0xf8)){const _0x492ca7=Object[_0x432fbc(0xfe)](_0x471bff['bin'])[0x0];_0x9b0fdf=a44_0x3b0719[_0x432fbc(0xe2)](_0x1cede5,_0x471bff[_0x432fbc(0x101)][_0x492ca7]);}}}else _0x471bff[_0x432fbc(0x10f)]&&(_0x9b0fdf=a44_0x3b0719['join'](_0x1cede5,_0x471bff[_0x432fbc(0x10f)]));}if(!_0x9b0fdf){const _0x56e344=['dist/index.js','build/index.js','src/index.ts',_0x432fbc(0xdc)];for(const _0x56c368 of _0x56e344){if(a44_0x3911f8[_0x432fbc(0xef)](a44_0x3b0719[_0x432fbc(0xe2)](_0x1cede5,_0x56c368))){_0x9b0fdf=a44_0x3b0719[_0x432fbc(0xe2)](_0x1cede5,_0x56c368);break;}}}if(!_0x9b0fdf){a44_0x4dee5a[_0x432fbc(0xe8)](_0x432fbc(0xf3));return;}const _0x3c9d43=_0x9b0fdf[_0x432fbc(0xe4)](_0x432fbc(0xe1))?_0x432fbc(0x116):'node';a44_0x4dee5a[_0x432fbc(0xe5)](_0x432fbc(0xfc)+_0x9b0fdf),addMcpServer(_0x29478c,_0x3c9d43,[_0x9b0fdf]),a44_0x4dee5a[_0x432fbc(0xee)](_0x432fbc(0xf1)+_0x29478c+_0x432fbc(0x102));}async function installMcpChromeBridge(){const _0x3c2f1e=a44_0x47aecf;a44_0x4dee5a['info']('Installing\x20mcp-chrome-bridge\x20globally...');try{execSync(_0x3c2f1e(0x115),{'stdio':'inherit'});}catch(_0x594af3){a44_0x4dee5a[_0x3c2f1e(0xe8)]('Failed\x20to\x20install\x20mcp-chrome-bridge\x20using\x20pnpm:\x20'+_0x594af3),a44_0x4dee5a[_0x3c2f1e(0xe5)](_0x3c2f1e(0xf0));try{execSync(_0x3c2f1e(0x11b),{'stdio':_0x3c2f1e(0x10d)});}catch(_0x27b583){a44_0x4dee5a[_0x3c2f1e(0xe8)](_0x3c2f1e(0x10a)+_0x27b583),a44_0x4dee5a['info'](_0x3c2f1e(0xfa));return;}}const _0x39ba32=_0x3c2f1e(0xfb);addMcpHttpServer(_0x3c2f1e(0xe0),_0x39ba32),a44_0x4dee5a[_0x3c2f1e(0xee)](_0x3c2f1e(0x104)),a44_0x4dee5a['header'](_0x3c2f1e(0x100)),a44_0x4dee5a[_0x3c2f1e(0xe5)](_0x3c2f1e(0xec)),a44_0x4dee5a[_0x3c2f1e(0xe5)](_0x3c2f1e(0xde)),a44_0x4dee5a[_0x3c2f1e(0xe5)](_0x3c2f1e(0x119)),a44_0x4dee5a[_0x3c2f1e(0xe5)](_0x3c2f1e(0xf7));}function a44_0x5a4d(){const _0x42d732=['git\x20clone\x20','index.js','utf-8','2.\x20Load\x20unpacked\x20extension\x20in\x20Chrome\x20Developer\x20Mode','9mzJUUE','mcp-chrome','.ts','join','10BnIwnP','endsWith','info','pnpm','homedir','error','mkdirSync','793002FgXfQt','pnpm-lock.yaml','1.\x20Download\x20the\x20Chrome\x20Extension:\x20https://github.com/hangwin/mcp-chrome/releases','182754biASUn','success','existsSync','Trying\x20npm\x20as\x20fallback...','Successfully\x20installed\x20and\x20added\x20\x27','Unknown\x20installation\x20source.\x20Please\x20provide\x20a\x20GitHub\x20URL\x20or\x20\x27mcp-chrome-bridge\x27.','Could\x20not\x20auto-detect\x20entry\x20point.\x20Please\x20add\x20the\x20server\x20manually\x20using\x20\x27woozlit\x20mcp\x20add\x27.','includes','yarn','parse','4.\x20Make\x20sure\x20\x27mcp-chrome-bridge\x27\x20is\x20running\x20(if\x20not\x20started\x20automatically)','object','pnpm\x20install','Try\x20running\x20with\x20sudo\x20or\x20administrative\x20privileges.','http://127.0.0.1:12306/mcp','Detected\x20entry\x20point:\x20','Failed\x20to\x20install/build:\x20','keys','5394872rrAdIu','Next\x20Steps:','bin','\x27\x20from\x20GitHub!','mcp-chrome-bridge','Installed\x20mcp-chrome-bridge\x20and\x20added\x20configuration!','\x20run\x20build','warn','13733247ODzsFX','npm\x20install','\x20to\x20','Failed\x20to\x20install\x20mcp-chrome-bridge:\x20','yarn.lock','\x20already\x20exists.\x20Updating...','inherit','npm','main','5qgNOzz','string','Directory\x20','.git','scripts','pnpm\x20add\x20-g\x20mcp-chrome-bridge','tsx','Failed\x20to\x20update\x20repo.\x20Try\x20checking\x20it\x20out\x20manually\x20or\x20deleting\x20the\x20folder.','chrome','3.\x20Click\x20extension\x20icon\x20and\x20\x27Connect\x27','length','npm\x20install\x20-g\x20mcp-chrome-bridge','readFileSync','servers','212566MCScls','build','https://github.com/','yarn\x20install','3884020SUpXhN','package.json','161TAwbsk','206584knbuyE','.woozlit','split','github.com'];a44_0x5a4d=function(){return _0x42d732;};return a44_0x5a4d();}export async function installMcpServer(_0x38e553,_0x4d71aa){const _0x4a7736=a44_0x47aecf;if(_0x38e553===_0x4a7736(0x103)||_0x38e553===_0x4a7736(0x118))return installMcpChromeBridge();if(_0x38e553[_0x4a7736(0xf4)](_0x4a7736(0xda))||_0x38e553[_0x4a7736(0xe4)](_0x4a7736(0x113)))return installFromGithub(_0x38e553,_0x4d71aa);if(/^[a-zA-Z0-9_-]+\/[a-zA-Z0-9_-]+$/['test'](_0x38e553))return installFromGithub(_0x4a7736(0x120)+_0x38e553+_0x4a7736(0x113),_0x4d71aa);a44_0x4dee5a[_0x4a7736(0xe8)](_0x4a7736(0xf2));}
1
+ const a44_0x2e3f83=a44_0x40c3;(function(_0x1aec4f,_0x90f37e){const _0x4fe24b=a44_0x40c3,_0x32003b=_0x1aec4f();while(!![]){try{const _0x5d8e3e=parseInt(_0x4fe24b(0x11d))/0x1+-parseInt(_0x4fe24b(0xde))/0x2*(parseInt(_0x4fe24b(0x122))/0x3)+-parseInt(_0x4fe24b(0x10c))/0x4+-parseInt(_0x4fe24b(0xd7))/0x5*(parseInt(_0x4fe24b(0xea))/0x6)+parseInt(_0x4fe24b(0xed))/0x7*(-parseInt(_0x4fe24b(0xf9))/0x8)+-parseInt(_0x4fe24b(0xfe))/0x9+parseInt(_0x4fe24b(0xe1))/0xa;if(_0x5d8e3e===_0x90f37e)break;else _0x32003b['push'](_0x32003b['shift']());}catch(_0x3ebc5b){_0x32003b['push'](_0x32003b['shift']());}}}(a44_0x4a32,0x765a0));import{execSync}from'child_process';import a44_0x100e76 from'path';import a44_0xd1ce5f from'fs';function a44_0x40c3(_0x3b95a6,_0x1d4a83){_0x3b95a6=_0x3b95a6-0xd5;const _0x4a32be=a44_0x4a32();let _0x40c3af=_0x4a32be[_0x3b95a6];return _0x40c3af;}import a44_0x1c3ffa from'os';import*as a44_0x46c0f2 from'../ui/output.js';import{addMcpServer,addMcpHttpServer}from'../config/mcp.js';const SERVERS_DIR=a44_0x100e76[a44_0x2e3f83(0x107)](a44_0x1c3ffa[a44_0x2e3f83(0xf4)](),a44_0x2e3f83(0xf7),a44_0x2e3f83(0x111));function a44_0x4a32(){const _0x46f43c=['Failed\x20to\x20install\x20mcp-chrome-bridge\x20using\x20pnpm:\x20','Successfully\x20installed\x20and\x20added\x20\x27','Detected\x20entry\x20point:\x20','endsWith','32961VRYHOH','keys','info','2730010LcmGut','bin','\x20to\x20','Cloning\x20','.git','chrome','package.json','28DPkDDn','Directory\x20','Failed\x20to\x20update\x20repo.\x20Try\x20checking\x20it\x20out\x20manually\x20or\x20deleting\x20the\x20folder.','14309310RqNJfo','utf-8','main','mcp-chrome','readFileSync','dist/index.js','Failed\x20to\x20install/build:\x20','git\x20clone\x20','npm\x20install','6UvJkap','Failed\x20to\x20install\x20mcp-chrome-bridge:\x20','\x20already\x20exists.\x20Updating...','297241YCqWtk','yarn.lock','inherit','index.js','\x27\x20from\x20GitHub!','pnpm-lock.yaml','node','homedir','npm\x20install\x20-g\x20mcp-chrome-bridge','github.com','.woozlit','split','16gvaAYs','2.\x20Load\x20unpacked\x20extension\x20in\x20Chrome\x20Developer\x20Mode','yarn','error','Trying\x20npm\x20as\x20fallback...','3713553tHCHfH','pnpm\x20add\x20-g\x20mcp-chrome-bridge','Installed\x20mcp-chrome-bridge\x20and\x20added\x20configuration!','tsx','mkdirSync','scripts','header','4.\x20Make\x20sure\x20\x27mcp-chrome-bridge\x27\x20is\x20running\x20(if\x20not\x20started\x20automatically)','Next\x20Steps:','join','pnpm','parse','mcp-chrome-bridge','Unknown\x20installation\x20source.\x20Please\x20provide\x20a\x20GitHub\x20URL\x20or\x20\x27mcp-chrome-bridge\x27.','525596AAFRVL','Installing\x20dependencies...','1.\x20Download\x20the\x20Chrome\x20Extension:\x20https://github.com/hangwin/mcp-chrome/releases','string','existsSync','servers','yarn\x20install','Installing\x20mcp-chrome-bridge\x20globally...','length','http://127.0.0.1:12306/mcp','build/index.js','object','Building\x20project...','includes','success','npm','...','382599JFTFtR'];a44_0x4a32=function(){return _0x46f43c;};return a44_0x4a32();}function ensureServersDir(){const _0x18f08e=a44_0x2e3f83;!a44_0xd1ce5f[_0x18f08e(0x110)](SERVERS_DIR)&&a44_0xd1ce5f[_0x18f08e(0x102)](SERVERS_DIR,{'recursive':!![]});}function getRepoName(_0x400140){const _0x58b8e2=a44_0x2e3f83,_0xe7f484=_0x400140[_0x58b8e2(0xf8)]('/');let _0x12a68a=_0xe7f484[_0xe7f484[_0x58b8e2(0x114)]-0x1];return _0x12a68a[_0x58b8e2(0x121)]('.git')&&(_0x12a68a=_0x12a68a['slice'](0x0,-0x4)),_0x12a68a;}async function installFromGithub(_0x5cb400,_0xbd518c){const _0x1036c7=a44_0x2e3f83;ensureServersDir();const _0x1f7fd6=_0xbd518c||getRepoName(_0x5cb400),_0x12cc04=a44_0x100e76[_0x1036c7(0x107)](SERVERS_DIR,_0x1f7fd6);a44_0x46c0f2[_0x1036c7(0xd6)](_0x1036c7(0xda)+_0x5cb400+_0x1036c7(0xd9)+_0x12cc04+_0x1036c7(0x11c));if(a44_0xd1ce5f[_0x1036c7(0x110)](_0x12cc04)){a44_0x46c0f2['warn'](_0x1036c7(0xdf)+_0x12cc04+_0x1036c7(0xec));try{execSync('git\x20pull',{'cwd':_0x12cc04,'stdio':_0x1036c7(0xef)});}catch(_0x60d39c){a44_0x46c0f2[_0x1036c7(0xfc)](_0x1036c7(0xe0));return;}}else try{execSync(_0x1036c7(0xe8)+_0x5cb400+'\x20'+_0x12cc04,{'stdio':_0x1036c7(0xef)});}catch(_0x46a618){a44_0x46c0f2['error']('Failed\x20to\x20clone\x20repository:\x20'+_0x46a618);return;}a44_0x46c0f2[_0x1036c7(0xd6)](_0x1036c7(0x10d));try{const _0x5c097a=a44_0xd1ce5f['existsSync'](a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x1036c7(0xf2))),_0x2439b8=a44_0xd1ce5f[_0x1036c7(0x110)](a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x1036c7(0xee))),_0x4d90c0=_0x5c097a?'pnpm\x20install':_0x2439b8?_0x1036c7(0x112):_0x1036c7(0xe9);execSync(_0x4d90c0,{'cwd':_0x12cc04,'stdio':'inherit'});const _0x164762=a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x1036c7(0xdd));if(a44_0xd1ce5f[_0x1036c7(0x110)](_0x164762)){const _0x173421=JSON[_0x1036c7(0x109)](a44_0xd1ce5f[_0x1036c7(0xe5)](_0x164762,_0x1036c7(0xe2)));_0x173421[_0x1036c7(0x103)]&&_0x173421['scripts']['build']&&(a44_0x46c0f2[_0x1036c7(0xd6)](_0x1036c7(0x118)),execSync((_0x5c097a?_0x1036c7(0x108):_0x2439b8?_0x1036c7(0xfb):_0x1036c7(0x11b))+'\x20run\x20build',{'cwd':_0x12cc04,'stdio':_0x1036c7(0xef)}));}}catch(_0x381ecc){a44_0x46c0f2[_0x1036c7(0xfc)](_0x1036c7(0xe7)+_0x381ecc);return;}const _0x14053d=a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,'package.json');let _0x5309e8='';if(a44_0xd1ce5f[_0x1036c7(0x110)](_0x14053d)){const _0x2f299d=JSON[_0x1036c7(0x109)](a44_0xd1ce5f[_0x1036c7(0xe5)](_0x14053d,_0x1036c7(0xe2)));if(_0x2f299d[_0x1036c7(0xd8)]){if(typeof _0x2f299d['bin']===_0x1036c7(0x10f))_0x5309e8=a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x2f299d[_0x1036c7(0xd8)]);else{if(typeof _0x2f299d['bin']===_0x1036c7(0x117)){const _0xfd42eb=Object[_0x1036c7(0xd5)](_0x2f299d[_0x1036c7(0xd8)])[0x0];_0x5309e8=a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x2f299d[_0x1036c7(0xd8)][_0xfd42eb]);}}}else _0x2f299d[_0x1036c7(0xe3)]&&(_0x5309e8=a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x2f299d[_0x1036c7(0xe3)]));}if(!_0x5309e8){const _0x11a312=[_0x1036c7(0xe6),_0x1036c7(0x116),'src/index.ts',_0x1036c7(0xf0)];for(const _0x3b9a8f of _0x11a312){if(a44_0xd1ce5f[_0x1036c7(0x110)](a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x3b9a8f))){_0x5309e8=a44_0x100e76[_0x1036c7(0x107)](_0x12cc04,_0x3b9a8f);break;}}}if(!_0x5309e8){a44_0x46c0f2['error']('Could\x20not\x20auto-detect\x20entry\x20point.\x20Please\x20add\x20the\x20server\x20manually\x20using\x20\x27woozlit\x20mcp\x20add\x27.');return;}const _0x1192c3=_0x5309e8[_0x1036c7(0x121)]('.ts')?_0x1036c7(0x101):_0x1036c7(0xf3);a44_0x46c0f2[_0x1036c7(0xd6)](_0x1036c7(0x120)+_0x5309e8),addMcpServer(_0x1f7fd6,_0x1192c3,[_0x5309e8]),a44_0x46c0f2[_0x1036c7(0x11a)](_0x1036c7(0x11f)+_0x1f7fd6+_0x1036c7(0xf1));}async function installMcpChromeBridge(){const _0x4078fe=a44_0x2e3f83;a44_0x46c0f2[_0x4078fe(0xd6)](_0x4078fe(0x113));try{execSync(_0x4078fe(0xff),{'stdio':_0x4078fe(0xef)});}catch(_0x444234){a44_0x46c0f2[_0x4078fe(0xfc)](_0x4078fe(0x11e)+_0x444234),a44_0x46c0f2[_0x4078fe(0xd6)](_0x4078fe(0xfd));try{execSync(_0x4078fe(0xf5),{'stdio':_0x4078fe(0xef)});}catch(_0x3579a9){a44_0x46c0f2[_0x4078fe(0xfc)](_0x4078fe(0xeb)+_0x3579a9),a44_0x46c0f2[_0x4078fe(0xd6)]('Try\x20running\x20with\x20sudo\x20or\x20administrative\x20privileges.');return;}}const _0x1ca393=_0x4078fe(0x115);addMcpHttpServer(_0x4078fe(0xe4),_0x1ca393),a44_0x46c0f2['success'](_0x4078fe(0x100)),a44_0x46c0f2[_0x4078fe(0x104)](_0x4078fe(0x106)),a44_0x46c0f2[_0x4078fe(0xd6)](_0x4078fe(0x10e)),a44_0x46c0f2[_0x4078fe(0xd6)](_0x4078fe(0xfa)),a44_0x46c0f2[_0x4078fe(0xd6)]('3.\x20Click\x20extension\x20icon\x20and\x20\x27Connect\x27'),a44_0x46c0f2['info'](_0x4078fe(0x105));}export async function installMcpServer(_0x276161,_0x301df9){const _0x77015=a44_0x2e3f83;if(_0x276161===_0x77015(0x10a)||_0x276161===_0x77015(0xdc))return installMcpChromeBridge();if(_0x276161[_0x77015(0x119)](_0x77015(0xf6))||_0x276161[_0x77015(0x121)](_0x77015(0xdb)))return installFromGithub(_0x276161,_0x301df9);if(/^[a-zA-Z0-9_-]+\/[a-zA-Z0-9_-]+$/['test'](_0x276161))return installFromGithub('https://github.com/'+_0x276161+'.git',_0x301df9);a44_0x46c0f2[_0x77015(0xfc)](_0x77015(0x10b));}
@@ -1 +1 @@
1
- function a45_0x3f35(){const _0x4f0d50=['linux','6TzUoLI','arch','macOS','3934992EEDUPu','3790324fETblI','5RNOHGG','win32','6991579djwdlR','383302NwGKAV','1949058oTnQRK','Windows','2507754kLfEoE','3efbUba','sudo\x20','Linux','44UDYkGP','2829520rXyZYO','darwin','windows','macos','platform'];a45_0x3f35=function(){return _0x4f0d50;};return a45_0x3f35();}const a45_0x61e9ea=a45_0x4256;(function(_0x510903,_0x443c5e){const _0x20f9bc=a45_0x4256,_0x922339=_0x510903();while(!![]){try{const _0x5686d6=parseInt(_0x20f9bc(0x1ca))/0x1*(parseInt(_0x20f9bc(0x1bc))/0x2)+parseInt(_0x20f9bc(0x1c0))/0x3*(-parseInt(_0x20f9bc(0x1b8))/0x4)+parseInt(_0x20f9bc(0x1b9))/0x5*(-parseInt(_0x20f9bc(0x1bf))/0x6)+-parseInt(_0x20f9bc(0x1bb))/0x7+parseInt(_0x20f9bc(0x1b7))/0x8+parseInt(_0x20f9bc(0x1bd))/0x9+parseInt(_0x20f9bc(0x1c4))/0xa*(parseInt(_0x20f9bc(0x1c3))/0xb);if(_0x5686d6===_0x443c5e)break;else _0x922339['push'](_0x922339['shift']());}catch(_0x22f186){_0x922339['push'](_0x922339['shift']());}}}(a45_0x3f35,0x98c95));const platform=process[a45_0x61e9ea(0x1c8)],arch=process[a45_0x61e9ea(0x1cb)];export function getPlatform(){const _0x5b721d=a45_0x61e9ea;if(platform===_0x5b721d(0x1ba))return _0x5b721d(0x1c6);if(platform===_0x5b721d(0x1c5))return _0x5b721d(0x1c7);return _0x5b721d(0x1c9);}export function getArch(){return arch;}export function isWindows(){const _0x59d1b6=a45_0x61e9ea;return platform===_0x59d1b6(0x1ba);}function a45_0x4256(_0x444176,_0xd6d45e){_0x444176=_0x444176-0x1b6;const _0x3f3519=a45_0x3f35();let _0x42563c=_0x3f3519[_0x444176];return _0x42563c;}export function isMac(){const _0x396716=a45_0x61e9ea;return platform===_0x396716(0x1c5);}export function isLinux(){const _0x10c0d5=a45_0x61e9ea;return platform===_0x10c0d5(0x1c9);}export function getShellPrefix(){const _0x43e37e=a45_0x61e9ea;return isWindows()?'':_0x43e37e(0x1c1);}export function getPlatformInfo(){const _0x39d215=a45_0x61e9ea,_0xf62c5b=getPlatform(),_0x43acee=_0xf62c5b===_0x39d215(0x1c6)?_0x39d215(0x1be):_0xf62c5b==='macos'?_0x39d215(0x1b6):_0x39d215(0x1c2);return _0x43acee+'\x20('+arch+')';}
1
+ function a45_0x52d7(){const _0x4ccccc=['6997254qMuZvE','sudo\x20','windows','Windows','209584TYeLCT','749445GlZHAf','5069729lNgsdA','4246092gLMRIe','win32','Linux','macos','macOS','linux','31011608AturKS','60GjjIIK','darwin','3011390raYPVt','9sFOLuk'];a45_0x52d7=function(){return _0x4ccccc;};return a45_0x52d7();}(function(_0x3f5729,_0x58b8c6){const _0x4ba54a=a45_0x3649,_0x3a0768=_0x3f5729();while(!![]){try{const _0x4e48b6=-parseInt(_0x4ba54a(0xda))/0x1+parseInt(_0x4ba54a(0xe5))/0x2+parseInt(_0x4ba54a(0xdc))/0x3+-parseInt(_0x4ba54a(0xd9))/0x4*(-parseInt(_0x4ba54a(0xe3))/0x5)+parseInt(_0x4ba54a(0xe7))/0x6+parseInt(_0x4ba54a(0xdb))/0x7+-parseInt(_0x4ba54a(0xe2))/0x8*(parseInt(_0x4ba54a(0xe6))/0x9);if(_0x4e48b6===_0x58b8c6)break;else _0x3a0768['push'](_0x3a0768['shift']());}catch(_0x4c22fb){_0x3a0768['push'](_0x3a0768['shift']());}}}(a45_0x52d7,0xc6d23));function a45_0x3649(_0x3d678a,_0x132016){_0x3d678a=_0x3d678a-0xd8;const _0x52d783=a45_0x52d7();let _0x3649c9=_0x52d783[_0x3d678a];return _0x3649c9;}const platform=process['platform'],arch=process['arch'];export function getPlatform(){const _0x4528b3=a45_0x3649;if(platform===_0x4528b3(0xdd))return _0x4528b3(0xe9);if(platform===_0x4528b3(0xe4))return'macos';return'linux';}export function getArch(){return arch;}export function isWindows(){const _0x3e3d25=a45_0x3649;return platform===_0x3e3d25(0xdd);}export function isMac(){const _0x581450=a45_0x3649;return platform===_0x581450(0xe4);}export function isLinux(){const _0x12176d=a45_0x3649;return platform===_0x12176d(0xe1);}export function getShellPrefix(){const _0x17167e=a45_0x3649;return isWindows()?'':_0x17167e(0xe8);}export function getPlatformInfo(){const _0x1f654e=a45_0x3649,_0x266fdd=getPlatform(),_0x513853=_0x266fdd===_0x1f654e(0xe9)?_0x1f654e(0xd8):_0x266fdd===_0x1f654e(0xdf)?_0x1f654e(0xe0):_0x1f654e(0xde);return _0x513853+'\x20('+arch+')';}