@mooncompany/uplink-chat 0.37.0 → 0.37.2

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 (131) hide show
  1. package/bin/uplink.js +1 -1
  2. package/middleware/error-handler.js +1 -1
  3. package/package.json +1 -1
  4. package/public/dist/bundle.f3621856.js +1 -0
  5. package/public/index.html +1 -1
  6. package/public/js/agents-data.js +1 -1
  7. package/public/js/agents-ui.js +1 -1
  8. package/public/js/agents.js +1 -1
  9. package/public/js/app.js +1 -1
  10. package/public/js/appearance-settings.js +1 -1
  11. package/public/js/artifacts.js +1 -1
  12. package/public/js/audio-pcm-processor.js +1 -1
  13. package/public/js/audio-queue.js +1 -1
  14. package/public/js/bootstrap.js +1 -1
  15. package/public/js/chat.js +1 -1
  16. package/public/js/commands.js +1 -1
  17. package/public/js/connection-api.js +1 -1
  18. package/public/js/connection.js +1 -1
  19. package/public/js/context-tracker.js +1 -1
  20. package/public/js/core.js +1 -1
  21. package/public/js/cron-panel.js +1 -1
  22. package/public/js/dashboard.js +1 -1
  23. package/public/js/developer.js +1 -1
  24. package/public/js/encryption.js +1 -1
  25. package/public/js/errors.js +1 -1
  26. package/public/js/event-bus.js +1 -1
  27. package/public/js/fetch-utils.js +1 -1
  28. package/public/js/file-handler.js +1 -1
  29. package/public/js/files.js +1 -1
  30. package/public/js/gateway-chat.js +1 -1
  31. package/public/js/logger.js +1 -1
  32. package/public/js/markdown.js +1 -1
  33. package/public/js/message-actions.js +1 -1
  34. package/public/js/message-renderer.js +1 -1
  35. package/public/js/missed-messages.js +1 -1
  36. package/public/js/mobile-debug.js +1 -1
  37. package/public/js/notifications.js +1 -1
  38. package/public/js/offline-queue.js +1 -1
  39. package/public/js/onboarding.js +1 -1
  40. package/public/js/panels.js +1 -1
  41. package/public/js/premium.js +1 -1
  42. package/public/js/primary-header.js +1 -1
  43. package/public/js/realtime-voice.js +1 -1
  44. package/public/js/satellite-sync.js +1 -1
  45. package/public/js/satellite-ui.js +1 -1
  46. package/public/js/satellites.js +1 -1
  47. package/public/js/settings.js +1 -1
  48. package/public/js/shortcuts.js +1 -1
  49. package/public/js/split-chat.js +1 -1
  50. package/public/js/split-resize.js +1 -1
  51. package/public/js/splitview.js +1 -1
  52. package/public/js/storage.js +1 -1
  53. package/public/js/streaming-handler.js +1 -1
  54. package/public/js/stt-settings.js +1 -1
  55. package/public/js/themes.js +1 -1
  56. package/public/js/timestamps.js +1 -1
  57. package/public/js/tts-settings.js +1 -1
  58. package/public/js/ui.js +1 -1
  59. package/public/js/update-notifier.js +1 -1
  60. package/public/js/utils/constants.js +1 -1
  61. package/public/js/utils/icons.js +1 -1
  62. package/public/js/utils/sanitize.js +1 -1
  63. package/public/js/utils/sse-parser.js +1 -1
  64. package/public/js/vad.js +1 -1
  65. package/public/js/vendor/dompurify.min.js +1 -1
  66. package/public/js/voice-settings-v2.js +1 -1
  67. package/public/js/voice.js +1 -1
  68. package/public/sw.js +1 -1
  69. package/server/channel.js +1 -1
  70. package/server/chat.js +1 -1
  71. package/server/config-store.js +1 -1
  72. package/server/config.js +1 -1
  73. package/server/context.js +1 -1
  74. package/server/gateway-api-proxy.js +1 -1
  75. package/server/gateway-commands.js +1 -1
  76. package/server/gateway-proxy.js +1 -1
  77. package/server/index.js +1 -1
  78. package/server/logger.js +1 -1
  79. package/server/message-store.js +1 -1
  80. package/server/middleware/auth.js +1 -1
  81. package/server/middleware.js +1 -1
  82. package/server/openclaw-discover.js +1 -1
  83. package/server/premium/index.js +1 -1
  84. package/server/premium/license.js +1 -1
  85. package/server/realtime/bridge.js +1 -1
  86. package/server/realtime/index.js +1 -1
  87. package/server/realtime/tts-stream.js +1 -1
  88. package/server/routes/agents.js +1 -1
  89. package/server/routes/artifacts.js +1 -1
  90. package/server/routes/chat.js +1 -1
  91. package/server/routes/config-settings.js +1 -1
  92. package/server/routes/config.js +1 -1
  93. package/server/routes/cron.js +1 -1
  94. package/server/routes/files.js +1 -1
  95. package/server/routes/index.js +1 -1
  96. package/server/routes/media.js +1 -1
  97. package/server/routes/missed-messages.js +1 -1
  98. package/server/routes/premium.js +1 -1
  99. package/server/routes/push.js +1 -1
  100. package/server/routes/satellite.js +1 -1
  101. package/server/routes/status.js +1 -1
  102. package/server/routes/stt.js +1 -1
  103. package/server/routes/voice.js +1 -1
  104. package/server/routes/webhooks.js +1 -1
  105. package/server/routes.js +1 -1
  106. package/server/runtime-config.js +1 -1
  107. package/server/share.js +1 -1
  108. package/server/stt/faster-whisper.js +1 -1
  109. package/server/stt/groq.js +1 -1
  110. package/server/stt/index.js +1 -1
  111. package/server/stt/openai.js +1 -1
  112. package/server/sync.js +1 -1
  113. package/server/tailscale-https.js +1 -1
  114. package/server/tts.js +1 -1
  115. package/server/update-checker.js +1 -1
  116. package/server/utils/filename.js +1 -1
  117. package/server/utils.js +1 -1
  118. package/server/watchdog.js +1 -1
  119. package/server/websocket/broadcast.js +1 -1
  120. package/server/websocket/connections.js +1 -1
  121. package/server/websocket/index.js +1 -1
  122. package/server/websocket/routing.js +1 -1
  123. package/server/websocket/sync.js +1 -1
  124. package/server.js +1 -1
  125. package/utils/detect-tool-usage.js +1 -1
  126. package/utils/errors.js +1 -1
  127. package/utils/html-escape.js +1 -1
  128. package/utils/id-sanitize.js +1 -1
  129. package/utils/response.js +1 -1
  130. package/utils/with-retry.js +1 -1
  131. package/public/dist/bundle.5772e248.js +0 -1
@@ -1 +1 @@
1
- (function(_0x6399b3,_0x5968b3){const _0x3c23bf=_0x6399b3();function _0x461062(_0x5ee93e,_0x6fb751){return _0x2b6e(_0x6fb751- -0x11c,_0x5ee93e);}function _0x3be53e(_0x5abb3e,_0xab340c){return _0x2b6e(_0xab340c-0x1c5,_0x5abb3e);}while(!![]){try{const _0x244948=parseInt(_0x3be53e(0x4c8,0x4b3))/(-0x1283+-0x20b+0x115*0x13)*(parseInt(_0x3be53e(0x4d2,0x40a))/(-0x223+-0x189*-0x13+-0x481*0x6))+-parseInt(_0x3be53e(0x475,0x459))/(-0x97+0x2*-0x121f+0x24d8)*(parseInt(_0x461062(0x220,0x156))/(0x1ddf+0x79d*0x1+-0x2578))+parseInt(_0x461062(0x176,0x19f))/(-0x1238+-0x203c+-0x3b*-0xdb)*(-parseInt(_0x3be53e(0x3f4,0x319))/(-0x179f+-0xb72+0x2317))+parseInt(_0x461062(0x1ef,0x12e))/(0x2202+-0x43e+-0x1dbd)+-parseInt(_0x3be53e(0x2db,0x3b4))/(0x1965+0x1bb3+-0x3510)*(-parseInt(_0x3be53e(0x3b8,0x441))/(-0x18eb*-0x1+0x2*-0x221+-0x58*0x3c))+-parseInt(_0x3be53e(0x475,0x49d))/(-0x214b+-0x2114*-0x1+-0x5*-0xd)*(-parseInt(_0x461062(0x69,0x10a))/(0x1*-0xb95+0x43*-0x7a+-0x1*-0x2b8e))+-parseInt(_0x3be53e(0x446,0x3bd))/(-0x3a6+0x476+-0xe*0xe)*(parseInt(_0x3be53e(0x36b,0x348))/(-0x4f6+-0x2119+0x130e*0x2));if(_0x244948===_0x5968b3)break;else _0x3c23bf['push'](_0x3c23bf['shift']());}catch(_0x553e7d){_0x3c23bf['push'](_0x3c23bf['shift']());}}}(_0x5ee3,0x1bb50+0x2be8f+-0x207c6));function _0x5ee3(){const _0x1dd863=['/api.','ith','rized','readF','sion','140IOxorf','rizat','cted\x20','JIPKO','-prev','oVtLL','YGVmV','ajQEu','IDSha','gVYNK','18027WVkSGo','THbIs','rOxuB','nAI\x20W','ce.','wss:/','LiBhb','UuBIy','ratio','close','yEFMm','EvhiM','lengt','bThxc','ebSoc','ce_du','gify','tCydm','rbidd','Be\x20co','ssage','Didob','DbEoZ','red.\x20','5919oeAeWX','is\x20a\x20','XQyMd','mode','VvnTY','endly',':\x20len','SkoEN','NYKae','write','messa','clien','e\x20—\x20i','ity','nscri','SxtAP','AHgPn','DMCSm','a\x20voi','exWch','Keep\x20','yeUaY','opena','aJmNV','IWzhS','TSymY','emit','UVEDi','SclOl','UhSQH','kFvBY','Missi','mIGRc','name\x20','HodVY','qVoQs','ime\x20v','ted\x20u','or\x20ev','74735JcnIAW','tCtqz','thres','kYNNH','ade','.0.1','tLwSz','sessi','HcgYn','origi','kjDYt','error','altim','n:\x20','ldipz','binar','ion\x20','serve','ket:','son','bsBFD','or\x20','YlZSf','on.up','ent\x20f','qDrJU','biBAh','short','kQCnZ','121900aGEMRv','helpf','t\x20eve','ice','local','XbBBc','eekBl','ding_','dMmIO','uests','State','API\x20k','HwEAx','ealti','PnNhU','bYstH','hPara','ent\x20→','hostn','hqSgQ','utf8','Ebkaf','30oPCmYW','delet','NTUst','e\x20fro','UdCmV','respo','1.1\x204','bASHN','e\x20thi','oeKih','Bammn','obkWA','url','mat','x_pad','onsJJ','nGCnb','gkkhH','\x20(cod','\x20clie','fSijW','marin','\x20erro','relay','n_ms','\x0d\x0a\x0d\x0a','en\x20re','gDsnQ','red\x20—','Assis','lay\x20u','HpSEo','hold','RqUoh','parse','Autho','is\x20','silen','OPEN','ct\x20to','qdvyE','pcm16','xQOhr','ion','date\x20','29\x20To','xXytw','iYjoC','VDPjs','nvers','trlZF','necti','\x20conv','oOrKc','mNpuM','oSGUp','dNxDI','orXXS','MaGpF','ewQoN','ce=','XlWqt','FGMya','I-Bet','Clien','o\x20Man','me\x20re','eOsVR','UivqV','e\x20Ope','I\x20key','text','imeMo','model','wVpoN','VQbEN','date','54biAEKV','doivs','upgra','Error','rmat','ffEiJ','IGWWT','enAI\x20','socke','YLKGl','jknaP','HyeLB','conci','HTTP/','type','tHBsO','d:\x20','eUpgr','ey\x20co','kyvfX','Defla','eLZfR','necte','ion.','BFDJn','hxVhU','set','Add\x20y','ame','RmmAj','autho','ssion','th\x20to','wfahs','KLuQn','ructo','ssist','me\x20co','\x20forw','\x20read','pMuZg','cCcNu','modal','uctio','se\x20—\x20','izYOM','nt\x20fo','96811ufrhnG','real-','msQsx','NvWQp','m\x20inv','Ztats','ng\x20se','ot\x20op','find','I\x20dis','ities','JAvim','QNuzT','nfigu','oice\x20','ing','whisp','QeNul','NoxjF','main','open','iew','ile','AvDCC','(((.+','t_aud','ption','ncise','instr','hsgld','.upda','ey\x20in','detec','kvuwD','uDBKh','e\x20ses','Serve','ardin','on\x20er','ident','?mode','UFjsF','Rejec','LgkDH','I\x20err','toStr','apply','ation','jRfBZ','law.j','runti','RPWCi','RiRpU','ction','figur','yhZXH','bvbUo','this\x20','AxcNi','rt-','ypAEL','http:','qWzfu','claw','remot',')+)+)','nAI\x20→','lOvPE','Sendi','outpu','ional','agent','nvali','Beare','searc','goudL','t\x20bin','strin','input','r_vad','en\x0d\x0a\x0d','.read','→\x20Voi','BauLC','io_fo','wgyGe','token','del','EnLpK','wlBZm','EzaKu','qDRLl','send','ken','now','ul\x20vo','some','smdUA','IFZoY','repla','qtfDU','alid\x20','rRYJi','y\x20at\x20','osZyc','iApiK','03\x20Fo','endsW','1144GOzDAD','openc','nfig:','prefi','/api/','QdQVD','time\x20','ings\x20','/v1/r','432uQAXsG','ce\x20co','er-1','conne','YYMPX','acity','Your\x20','ndOPY','No\x20Op','\x20cann','ime=v',',\x20voi','Xqlpm','realt','g\x20cli','d\x20to\x20','uvTNF','VeBKX','re\x20a\x20','I\x20con','PIHVP','xiCvs','gwUsM','ror:\x20','iWs','I\x20eve','GTJaV','heade','127.0','gkzod','name','creat','NmGSK','te\x20fo','OpenA','iSWWJ','tant','You\x20a','FPqTG','DIsKV','vpqXX','voice','.ts.n','handl','o_tra','turn_','66cBaTvP','ice\x20a','o_for','e\x20—\x20a','AI\x20(','\x20(len','BFMnQ','ted\x20r','missi','_audi','GBoGi','t\x20dis','tion','or\x20fo','r\x20con','\x20Open','d\x20for','ng\x20au','Faile','\x20(mod','rando','tCAzh','ring','perMe','ant.\x20','LDyoX','el=','g\x20Ope','size','pgrad','s\x20is\x20','8768wXuKgZ','VsXeF','send\x20','list','FVQZf','986034Txqefq','homed','kwtsP','cqziG','zzlPC','load\x20','y\x20Req','::1','nses\x20','host','01\x20Un','warn','Vcwnv','destr','cTXon','get','son=','ping','AaULr','for\x20','info','ready','HHkhT','ver','aCGNT','ime','ary\x20f',',\x20fri','eAddr','pmLuN','const','audio','fGsWo','nt\x20(','IkhGW'];_0x5ee3=function(){return _0x1dd863;};return _0x5ee3();}const _0x21c7e5=(function(){const _0x3793f4={};_0x3793f4[_0x228e25(0x55d,0x49a)]=function(_0x11fab5,_0x5c4d66){return _0x11fab5!==_0x5c4d66;};function _0x228e25(_0x3e82fe,_0x5b0fd4){return _0x2b6e(_0x3e82fe-0x2fd,_0x5b0fd4);}_0x3793f4[_0x228e25(0x441,0x4a1)]='jtPFX',_0x3793f4['kyvfX']=function(_0x419ae9,_0x896e86){return _0x419ae9===_0x896e86;},_0x3793f4[_0x52605e(0xeb,0x101)]=_0x228e25(0x54b,0x527);const _0x50b05b=_0x3793f4;let _0x11ace2=!![];function _0x52605e(_0x5a2e0e,_0x236859){return _0x2b6e(_0x5a2e0e- -0x46,_0x236859);}return function(_0x462cd3,_0x1006fd){const _0x2ba70c={'hqSgQ':function(_0x27d3a2,_0x4a23a7){function _0x11dd0c(_0x33720c,_0xa28ef2){return _0x2b6e(_0x33720c-0x6b,_0xa28ef2);}return _0x50b05b[_0x11dd0c(0x1d2,0x162)](_0x27d3a2,_0x4a23a7);}},_0x276275=_0x11ace2?function(){function _0x18ae47(_0xbabdc7,_0x3ec075){return _0x2b6e(_0x3ec075- -0x32c,_0xbabdc7);}function _0x316eb2(_0x3b4f78,_0x29ab1c){return _0x2b6e(_0x29ab1c- -0x2b3,_0x3b4f78);}if(_0x50b05b['HHkhT'](_0x50b05b[_0x316eb2(-0x190,-0x16f)],_0x50b05b[_0x316eb2(-0x127,-0x16f)]))return _0x2ba70c[_0x18ae47(-0xce,-0x41)](new _0x181a36(_0x3d15ee)[_0x316eb2(0x85,0x37)+_0x18ae47(-0x13a,-0x1bc)],_0x5f3342);else{if(_0x1006fd){if(_0x50b05b[_0x18ae47(-0x14b,-0x1c5)](_0x316eb2(0xae,-0x36),_0x50b05b[_0x316eb2(-0x138,-0x182)]))_0x1d7b84[_0x316eb2(-0xb,0x13)](_0x18ae47(-0x164,-0x1d5)+_0x18ae47(-0x132,-0x1b2)+_0x18ae47(-0xf2,-0x184)+_0x18ae47(-0xa0,-0xeb)+_0x316eb2(-0x8a,-0xee)+_0x18ae47(-0x12,-0x2b)+_0x316eb2(-0x25,-0x48)+_0xbcae80+'):',_0x171cde[_0x18ae47(0x26,-0x8e)+'ge']);else{const _0x262520=_0x1006fd[_0x316eb2(-0xae,-0x102)](_0x462cd3,arguments);return _0x1006fd=null,_0x262520;}}}}:function(){};return _0x11ace2=![],_0x276275;};}()),_0x7a34f7=_0x21c7e5(this,function(){const _0xf78083={};function _0x4f2a46(_0x204b6e,_0x36c14b){return _0x2b6e(_0x36c14b-0x309,_0x204b6e);}function _0x358bb5(_0x2f3ae4,_0x4a9b51){return _0x2b6e(_0x2f3ae4-0x2fe,_0x4a9b51);}_0xf78083['ajQEu']='(((.+'+_0x358bb5(0x4c2,0x523)+'+$';const _0x106c82=_0xf78083;return _0x7a34f7['toStr'+_0x358bb5(0x490,0x4be)]()[_0x4f2a46(0x484,0x4d6)+'h'](_0x106c82[_0x358bb5(0x577,0x4d6)])[_0x4f2a46(0x579,0x4b9)+'ing']()[_0x358bb5(0x566,0x504)+_0x4f2a46(0x3e8,0x480)+'r'](_0x7a34f7)['searc'+'h'](_0x106c82[_0x358bb5(0x577,0x4a0)]);});_0x7a34f7();import{WebSocketServer,WebSocket}from'ws';function _0x2b6e(_0x263919,_0x5c8645){_0x263919=_0x263919-(-0x421*-0x3+-0xa01+-0x1*0x145);const _0x2ffbdb=_0x5ee3();let _0x29b95a=_0x2ffbdb[_0x263919];return _0x29b95a;}import _0x143520 from'fs/promises';import _0x40c6a5 from'path';function _0x595640(_0x1241f0,_0xe41a61){return _0x2b6e(_0xe41a61-0x264,_0x1241f0);}import _0x2953ea from'os';import{createLogger}from'../logger.js';import{loadConfig}from'../runtime-config.js';function _0x5699ad(_0x19595b,_0x3cd66a){return _0x2b6e(_0x19595b- -0x3ce,_0x3cd66a);}import{ALLOWED_ORIGINS}from'../config.js';import{verifyWebSocketToken}from'../middleware/auth.js';const log=createLogger(_0x5699ad(-0x1c9,-0xd7)+_0x5699ad(-0x16b,-0x23a)),OPENAI_REALTIME_BASE=_0x5699ad(-0x14d,-0x183)+_0x5699ad(-0x161,-0x23f)+_0x595640(0x4aa,0x50e)+'i.com'+_0x5699ad(-0x1d7,-0x1d5)+'ealti'+'me',DEFAULT_MODEL='gpt-4'+'o-min'+'i-rea'+'ltime'+_0x595640(0x427,0x4da)+_0x5699ad(-0x236,-0x2fc),MAX_REALTIME_CONNECTIONS=0x16*0x179+0x9fd+-0x22*0x13f,activeSessions=new Map();async function getAgentInstructions(){function _0x108f21(_0x1cc6cd,_0x4cc16a){return _0x5699ad(_0x1cc6cd-0x359,_0x4cc16a);}const _0x39adc4={'iYjoC':function(_0x2d118b,_0x564f04){return _0x2d118b===_0x564f04;},'HyeLB':_0x56a6c7(0x404,0x4e3),'QNuzT':function(_0x4515a1){return _0x4515a1();},'azHAj':function(_0x419696,_0xecb1d2){return _0x419696+_0xecb1d2;},'jDajE':function(_0x3df3cb,_0x4e68d5){return _0x3df3cb||_0x4e68d5;},'bvbUo':_0x56a6c7(0x4c8,0x4c5)+_0x108f21(0x27e,0x2c2)+_0x56a6c7(0x49a,0x46f)+_0x108f21(0xeb,0x170)+_0x108f21(0x10b,0x11c)+_0x108f21(0x147,0x1d2)+_0x108f21(0x220,0x268)+_0x108f21(0x10f,0x13b)+_0x108f21(0x180,0xa6)+_0x108f21(0x1ac,0x20e)+_0x108f21(0xc6,0x127)+'ersat'+_0x56a6c7(0x354,0x388),'Bammn':_0x108f21(0x1a8,0xf0)+_0x56a6c7(0x34e,0x427)+_0x56a6c7(0x527,0x4f6)+_0x56a6c7(0x42c,0x3ff)+_0x108f21(0x1b2,0xd8)+_0x108f21(0x103,0x109)+_0x56a6c7(0x38b,0x45b)+_0x56a6c7(0x407,0x4ac)+_0x108f21(0x129,0x19c)+_0x56a6c7(0x552,0x482)+_0x56a6c7(0x509,0x4b6)+',\x20and'+_0x56a6c7(0x389,0x358)+'ersat'+_0x108f21(0x154,0x18f)+'.\x20','OVKnf':'Ijugb','SclOl':'.open'+_0x56a6c7(0x4d2,0x3df),'itPqK':_0x56a6c7(0x31a,0x40d)+_0x108f21(0x13f,0x87)+_0x108f21(0x259,0x214),'pmLuN':function(_0x5ef9fd,_0x17c91f){return _0x5ef9fd!==_0x17c91f;},'qtfDU':_0x108f21(0x142,0x5d),'KLuQn':function(_0x3781e0,_0x576e2f){return _0x3781e0+_0x576e2f;}};function _0x56a6c7(_0x435a9f,_0x369c74){return _0x5699ad(_0x369c74-0x5eb,_0x435a9f);}const _0x15c50e=_0x39adc4[_0x56a6c7(0x588,0x515)]+(_0x56a6c7(0x559,0x4c5)+'respo'+_0x56a6c7(0x3f9,0x46f)+_0x56a6c7(0x4c7,0x4f3)+'\x20sinc'+_0x108f21(0x281,0x249)+_0x56a6c7(0x42f,0x461)+_0x108f21(0x231,0x276)+_0x108f21(0x184,0x175)+_0x56a6c7(0x27d,0x355)+'ation'+'.');try{if(_0x56a6c7(0x296,0x35d)!==_0x39adc4['OVKnf']){const _0x5d01aa=process.env.OPENCLAW_STATE_DIR||_0x40c6a5['join'](_0x2953ea[_0x108f21(0x1d6,0x241)+'ir'](),_0x39adc4[_0x56a6c7(0x405,0x4cd)]),_0x75d9d0=_0x40c6a5['join'](_0x5d01aa,_0x39adc4['itPqK']),_0x3ac505=await _0x143520[_0x56a6c7(0x426,0x48d)+_0x56a6c7(0x485,0x3b6)](_0x75d9d0,_0x56a6c7(0x50a,0x509)),_0x248995=JSON['parse'](_0x3ac505),_0x4c5caa=_0x248995[_0x56a6c7(0x420,0x3e7)+'s']?.[_0x56a6c7(0x396,0x465)]?.[_0x56a6c7(0x3a3,0x3a8)](_0x377890=>_0x377890['id']===_0x56a6c7(0x405,0x3b3)),_0x2e4f0c=_0x4c5caa?.[_0x56a6c7(0x3a3,0x3c7)+_0x108f21(0x22c,0x28a)]?.[_0x108f21(0x1a1,0x190)],_0x15880d=_0x4c5caa?.[_0x108f21(0x135,0x1cd)+_0x56a6c7(0x4f0,0x4be)]?.['theme'];if(_0x15880d){if(_0x39adc4[_0x56a6c7(0x3bc,0x484)](_0x39adc4[_0x56a6c7(0x4c3,0x404)],_0x39adc4[_0x108f21(0x172,0x213)]))_0x4fa91d[_0x56a6c7(0x4c5,0x4e3)]('Error'+_0x108f21(0x105,0x120)+_0x108f21(0x133,0x7b)+_0x108f21(0x191,0x171)+_0x108f21(0x274,0x277)+_0x56a6c7(0x470,0x452)+_0x108f21(0x1b5,0x21a)+_0x29d065+'):',_0x50b5ba['messa'+'ge']);else return _0x39adc4[_0x56a6c7(0x2ea,0x393)](_0x56a6c7(0x38e,0x41b)+_0x56a6c7(0x405,0x4d2)+_0x108f21(0xb6,0x115)+_0x39adc4['jDajE'](_0x2e4f0c,'Assis'+_0x56a6c7(0x492,0x439))+'.\x20'+_0x15880d+'.\x20',_0x39adc4[_0x108f21(0x146,0x5e)]);}if(_0x2e4f0c){if(_0x39adc4[_0x108f21(0x1f2,0x263)](_0x108f21(0x1d1,0x109),_0x108f21(0xf4,0x51)))return'Your\x20'+_0x108f21(0x240,0x210)+_0x108f21(0xb6,0xea)+_0x2e4f0c+'.\x20'+_0x15c50e;else{_0x4ef632[_0x108f21(0x251,0x1d2)](_0x56a6c7(0x4b1,0x437)+'I\x20err'+'or\x20fo'+'r\x20'+_0x204cd0+':',_0x29ee57[_0x56a6c7(0x473,0x4bb)+'ge']);if(_0x39adc4[_0x108f21(0xc1,0xa7)](_0x14f218[_0x56a6c7(0x544,0x47c)+_0x108f21(0x26d,0x32b)],_0x410091[_0x56a6c7(0x2ea,0x34a)]))try{const _0x2f7aba={};_0x2f7aba[_0x56a6c7(0x2ce,0x37f)]=_0x39adc4[_0x108f21(0xea,0x1af)],_0x2f7aba[_0x108f21(0x251,0x29a)]=_0x108f21(0x1a5,0x24b)+_0x108f21(0x196,0x1f1)+_0x56a6c7(0x34c,0x357)+_0x56a6c7(0x4b9,0x3c6)+_0x56a6c7(0x4a6,0x42c)+_0x13ef95[_0x108f21(0x229,0x21c)+'ge'],_0x26fdd1[_0x56a6c7(0x3f8,0x3fc)](_0x4937dc[_0x108f21(0x15b,0x117)+_0x56a6c7(0x3eb,0x4a9)](_0x2f7aba));}catch{}_0x39adc4[_0x108f21(0x11a,0x13e)](_0x531535);}}}else return _0x39adc4['azHAj'](_0x56a6c7(0x377,0x41b)+_0x56a6c7(0x43f,0x4d2)+_0x56a6c7(0x2b9,0x348)+_0x39adc4['jDajE'](_0x1c46ea,_0x56a6c7(0x2fd,0x341)+_0x108f21(0x1a7,0xe1))+'.\x20'+_0x23fa34+'.\x20',_0x39adc4['bvbUo']);}catch{}return _0x15c50e;}function verifyOrigin(_0x83fc8e){function _0x4ebad7(_0x364b85,_0x1834aa){return _0x595640(_0x364b85,_0x1834aa- -0xb);}function _0x3b359f(_0x2b0d67,_0x64ee24){return _0x595640(_0x64ee24,_0x2b0d67- -0x139);}const _0x34a5de={'ZaqwP':function(_0x5a7722){return _0x5a7722();},'wfahs':'XPMnL','LDyoX':_0x3b359f(0x411,0x46b),'EzaKu':function(_0x444f63,_0x5e4613){return _0x444f63===_0x5e4613;},'gkzod':_0x4ebad7(0x4f9,0x40c),'oOrKc':_0x3b359f(0x276,0x1eb),'cCcNu':_0x4ebad7(0x5b4,0x4fe),'NTUst':_0x3b359f(0x407,0x4dc)+_0x4ebad7(0x57e,0x4ac),'qCAuO':_0x4ebad7(0x4f9,0x4aa),'uIjeo':_0x4ebad7(0x514,0x47b)+'et','wVpoN':function(_0xca32aa,_0x438521){return _0xca32aa===_0x438521;},'trlZF':_0x3b359f(0x3d4,0x372),'qWzfu':_0x4ebad7(0x503,0x50a)};if(!_0x83fc8e)return!![];try{if(_0x34a5de[_0x4ebad7(0x383,0x3d6)]===_0x34a5de[_0x4ebad7(0x3c9,0x3d6)]){const _0x2b3283=new URL(_0x83fc8e),_0x486292=_0x2b3283[_0x4ebad7(0x48c,0x543)+_0x3b359f(0x29b,0x2f4)];if(_0x34a5de[_0x4ebad7(0x430,0x436)](_0x486292,_0x34a5de[_0x4ebad7(0x47b,0x549)])||_0x34a5de[_0x4ebad7(0x3bb,0x436)](_0x486292,_0x4ebad7(0x470,0x46d)+_0x3b359f(0x3eb,0x354))||_0x34a5de[_0x4ebad7(0x391,0x436)](_0x486292,_0x34a5de['qCAuO']))return!![];if(_0x486292[_0x3b359f(0x319,0x3b3)+_0x4ebad7(0x5a1,0x4c7)](_0x34a5de['uIjeo']))return!![];return ALLOWED_ORIGINS[_0x4ebad7(0x4c9,0x43c)](_0x5362ee=>{function _0xed2dcb(_0x525553,_0x470d9b){return _0x3b359f(_0x525553-0x68,_0x470d9b);}function _0xa94700(_0x4742df,_0x201393){return _0x3b359f(_0x4742df-0x7f,_0x201393);}if(_0x34a5de[_0xa94700(0x31f,0x36a)]===_0x34a5de[_0xed2dcb(0x308,0x315)])try{if(_0xed2dcb(0x479,0x548)!==_0x34a5de[_0xed2dcb(0x3d2,0x36a)])_0x14bfbb=!![],_0xcb77dc[_0xed2dcb(0x3f1,0x415)](_0xed2dcb(0x2da,0x2b3)+'t\x20dis'+_0xa94700(0x3a5,0x345)+'cted\x20'+'for\x20'+_0x16a475+(_0xed2dcb(0x493,0x448)+'e=')+_0x24ba19+')'),_0x34a5de['ZaqwP'](_0xb7f4e5);else return _0x34a5de[_0xa94700(0x387,0x393)](new URL(_0x5362ee)[_0xa94700(0x494,0x4b9)+_0xed2dcb(0x303,0x2b9)],_0x486292);}catch{if(_0x34a5de['EzaKu'](_0x34a5de[_0xa94700(0x3bf,0x3b4)],_0x34a5de[_0xed2dcb(0x2cf,0x1e9)]))_0x5d606a['send'](_0x26b404['toStr'+_0xa94700(0x33c,0x2a4)]());else return![];}else _0xc041a5[_0xa94700(0x470,0x470)](_0xed2dcb(0x3cb,0x3c5)+'d\x20to\x20'+_0xed2dcb(0x3da,0x3e1)+_0xed2dcb(0x455,0x4fd)+'on.up'+_0xa94700(0x2dd,0x3cb)+_0xed2dcb(0x3f0,0x4b9)+_0x2854ea+':',_0x166850);});}else _0x48bc74[_0x3b359f(0x389,0x46b)](_0x3b359f(0x272,0x2d9)+_0x3b359f(0x2fa,0x2be)+'ary\x20f'+_0x3b359f(0x3fb,0x442)+_0x16fc19+(_0x4ebad7(0x588,0x4f3)+'=')+_0x75f06a[_0x4ebad7(0x3f1,0x4e1)+'h']);}catch{if(_0x34a5de[_0x4ebad7(0x3fa,0x3aa)](_0x34a5de[_0x4ebad7(0x3a4,0x392)],_0x34a5de[_0x4ebad7(0x3c6,0x41a)]))_0x33b097?_0x4d31e7[_0x4ebad7(0x45d,0x438)](_0x2c17fd):_0x25b5d9['send'](_0xc915d9[_0x3b359f(0x2db,0x374)+_0x3b359f(0x2bd,0x29d)]());else return![];}}function buildSessionUpdate(_0x3875b0,_0xce1e2f){const _0x35a368={};_0x35a368[_0xe24bec(0xf,-0x7f)]=_0x3dfa28(-0xda,0x19),_0x35a368[_0x3dfa28(0x119,0xdd)]=_0xe24bec(0x169,0xbb),_0x35a368['fBJGD']=_0x3dfa28(0xfd,0x1ce);const _0x9d4aed=_0x35a368,_0x57ab78={};_0x57ab78[_0xe24bec(-0x35,-0x5e)]='whisp'+_0xe24bec(0x54,0x4c);const _0x3a3e8b={};function _0xe24bec(_0x32334b,_0x28cc57){return _0x5699ad(_0x28cc57-0x220,_0x32334b);}_0x3a3e8b['type']=_0xe24bec(0x182,0x11e)+_0x3dfa28(0xed,0x9d),_0x3a3e8b[_0x3dfa28(0x205,0x188)+_0xe24bec(-0x8e,-0x87)]=0.5,_0x3a3e8b[_0xe24bec(-0x51,0x44)+_0xe24bec(0x99,0x14e)+_0xe24bec(0x14f,0x131)+'ms']=0x12c,_0x3a3e8b[_0xe24bec(-0x4a,-0x82)+_0xe24bec(0x165,0xdd)+_0xe24bec(0x3,0xd6)+_0x3dfa28(-0x59,-0x16)]=0x1f4;function _0x3dfa28(_0x3586d6,_0x5bd916){return _0x5699ad(_0x5bd916-0x299,_0x3586d6);}const _0x17651f={};_0x17651f[_0x3dfa28(0x13a,0x49)+'ities']=[_0x9d4aed[_0xe24bec(-0x81,-0x7f)],_0x9d4aed['GTJaV']],_0x17651f[_0x3dfa28(0x11c,0x6a)+_0x3dfa28(0x74,0x4a)+'ns']=_0xce1e2f,_0x17651f['voice']=_0x3875b0||_0x9d4aed['fBJGD'],_0x17651f[_0xe24bec(-0x6c,0x23)+_0xe24bec(0x52,0x81)+_0x3dfa28(0x11,0xf3)+_0xe24bec(0x59,0x14d)]='pcm16',_0x17651f['outpu'+_0xe24bec(-0xb4,-0x12)+_0x3dfa28(0x1d,0xa2)+'rmat']=_0x3dfa28(-0x8b,-0x5),_0x17651f[_0xe24bec(-0xb2,0x23)+'_audi'+_0x3dfa28(0xc1,0xef)+_0x3dfa28(0x21d,0x16d)+_0xe24bec(-0x5d,-0x11)]=_0x57ab78,_0x17651f['turn_'+_0xe24bec(-0xad,-0xb)+_0xe24bec(0x169,0x84)]=_0x3a3e8b;const _0x580a1d={};return _0x580a1d[_0x3dfa28(0xea,0x2d)]='sessi'+'on.up'+_0x3dfa28(0xc5,0x1e),_0x580a1d['sessi'+'on']=_0x17651f,JSON[_0x3dfa28(0x128,0x9b)+_0xe24bec(0x127,0xde)](_0x580a1d);}export function setupRealtimeRelay(_0x431b0b){const _0x4fae49={'doivs':'realt'+_0x2b2de6(0x6d,-0x33)+'1','ewQoN':_0x57c474(0x208,0x161),'aCGNT':function(_0x550ec3,_0x4f4ce8){return _0x550ec3===_0x4f4ce8;},'YlZSf':_0x57c474(0x199,0xc9),'izYOM':function(_0x3b5273,_0x4d3f55){return _0x3b5273!==_0x4d3f55;},'pMuZg':_0x57c474(0x210,0x14b)+_0x2b2de6(0x70,0xd4)+_0x57c474(0x261,0x1bb),'Didob':function(_0x16fc82,_0x24eb41){return _0x16fc82===_0x24eb41;},'pCeec':_0x57c474(0x10b,0x1ef),'smdUA':_0x57c474(0x1a6,0x122),'gwUsM':function(_0x3252df,_0x575d48){return _0x3252df(_0x575d48);},'eekBl':_0x2b2de6(-0x34,-0x5c)+'1.1\x204'+_0x2b2de6(0x58,0x131)+_0x2b2de6(0xf9,0x15c)+_0x57c474(0x187,0x12b)+'\x0a','tLwSz':_0x2b2de6(-0x23,-0xeb)+_0x2b2de6(0xde,0x7c)+'ion','kjDYt':_0x2b2de6(0x44,0xd5),'AaULr':_0x2b2de6(0x37,0xe3)+'r\x20','rqXnl':function(_0x5bec5b,_0x19f0e6){return _0x5bec5b(_0x19f0e6);},'xXytw':function(_0x21da6c,_0x41f58f){return _0x21da6c===_0x41f58f;},'KUWhZ':_0x57c474(0x19d,0x1c4),'waveY':_0x57c474(0x2d2,0x22c),'ldjxB':_0x57c474(0x7a,0x105)+'ted\x20r'+_0x2b2de6(0x150,0x15b)+_0x2b2de6(-0x4c,-0xce)+_0x57c474(0xc6,0x7d)+_0x2b2de6(0xae,-0x2d)+'e\x20—\x20i'+_0x2b2de6(0x36,-0x4e)+'d\x20or\x20'+_0x57c474(0xce,0x186)+_0x57c474(0x1de,0x18f)+_0x2b2de6(-0x21,0x40)+'ken','ndOPY':_0x2b2de6(-0x34,-0x123)+_0x57c474(0x1af,0x24c)+'01\x20Un'+_0x57c474(0x86,0xca)+_0x2b2de6(0xda,0x153)+_0x2b2de6(-0x75,-0x103),'NSksv':_0x2b2de6(0x134,0x12d),'kQCnZ':_0x2b2de6(0x56,0xad),'HpSEo':function(_0x484544){return _0x484544();},'vpqXX':function(_0x111754,_0x434474){return _0x111754===_0x434474;},'uDBKh':_0x2b2de6(-0x77,0x15)+_0x57c474(0xf1,0x12c)+'y','exWch':function(_0x2ea8a7,_0x2cbd9f){return _0x2ea8a7===_0x2cbd9f;},'gDsnQ':_0x2b2de6(0xee,0x1c3),'HwEAx':function(_0x42d4e2,_0x48096c){return _0x42d4e2===_0x48096c;},'wlBZm':_0x2b2de6(0x21,-0x7b),'MRcvt':function(_0x775156,_0xdfb672){return _0x775156!==_0xdfb672;},'eOsVR':_0x57c474(0x193,0x104),'aEZfK':'lNlpy','kYNNH':_0x2b2de6(0xfd,0x23),'ffEiJ':'WTyeL','UVEDi':_0x2b2de6(0xc3,0x2a),'dNxDI':function(_0x2a5c87,_0xb5b616){return _0x2a5c87!==_0xb5b616;},'QdQVD':'gtBxa','IGWWT':_0x2b2de6(0xb7,0xbe),'mIGRc':_0x57c474(0x6c,0xe6),'VvnTY':function(_0x595720,_0x2dcb58){return _0x595720+_0x2dcb58;},'IWzhS':',\x20rea'+_0x2b2de6(0xc5,0xee),'fSijW':'Faile'+'d\x20to\x20'+_0x2b2de6(0x82,0xec)+_0x57c474(0xfb,0xa4)+_0x2b2de6(0xea,0x1a6)+_0x57c474(0x130,0x1e2)+_0x2b2de6(0x138,0x20b),'dMmIO':function(_0x2372d7,_0x387e48){return _0x2372d7!==_0x387e48;},'gkkhH':_0x2b2de6(0x2a,0x100),'cqziG':function(_0x5b4ddb){return _0x5b4ddb();},'VmTrm':function(_0x172eb7,_0x59919f){return _0x172eb7===_0x59919f;},'NmGSK':_0x57c474(0x263,0x22d),'yhZXH':_0x57c474(0x206,0x141),'FMjYU':function(_0x57d4c6,_0x2dc01a){return _0x57d4c6===_0x2dc01a;},'NYKae':_0x2b2de6(-0x34,-0xf)+_0x2b2de6(0x15f,0x230)+_0x57c474(0x4c,0x8c)+_0x57c474(0x84,0xa0)+'y\x20Req'+_0x57c474(0x19d,0x239)+'\x0d\x0a\x0d\x0a','NoxjF':_0x57c474(0x165,0x1d3),'BauLC':_0x57c474(0x175,0x1d6),'MaGpF':'etKvW','Vcwnv':_0x57c474(0x2e3,0x21a)+'on.up'+_0x57c474(0x14f,0xab),'XbBBc':_0x2b2de6(0xd4,0x16f),'QeNul':_0x2b2de6(0x16e,0x133),'FGMya':_0x2b2de6(-0x2,0xf0)+'er-1','jknaP':_0x2b2de6(0x147,0xd3)+'host','HkHkM':_0x2b2de6(0xbc,0x10c),'fGsWo':_0x57c474(0x204,0x17a)+'et','kFvBY':function(_0x229cf1,_0x4bf0bf){return _0x229cf1===_0x4bf0bf;},'SxtAP':_0x57c474(0x2b8,0x21e),'hxVhU':function(_0x32ec73,_0x5529bf){return _0x32ec73+_0x5529bf;},'goudL':_0x2b2de6(0x6b,0xa5)+_0x2b2de6(-0x3a,0x38)+'API\x20k'+_0x57c474(0x143,0xbe)+_0x57c474(-0x4,0xe8)+_0x2b2de6(-0x72,0x49)+_0x57c474(0xd5,0x159)+_0x2b2de6(-0xb,0xaa)+_0x57c474(0xbc,0x79)+_0x57c474(0x2e8,0x21f)+_0x2b2de6(0x11,0x3a)+'sion','oSGUp':'xPDPG','oeKih':'qDRLl','TSymY':_0x57c474(0x37,0x11e),'bsBFD':'YTRQH','aAOiD':_0x57c474(0x198,0xf2),'AxcNi':function(_0x6c37ec,_0x432644){return _0x6c37ec!==_0x432644;},'tHBsO':_0x2b2de6(0x122,0xc0),'mNpuM':_0x57c474(0x1f5,0x190)+_0x57c474(0x1f5,0x15f)+'load\x20'+_0x2b2de6(0x20,0x64)+'me\x20co'+_0x2b2de6(0x5c,0x94),'HodVY':_0x2b2de6(0x6b,0x119)+_0x57c474(0xe5,0xb3)+_0x57c474(0x324,0x23b)+_0x57c474(-0x11,0xbe)+_0x2b2de6(-0x5,0x9f)+'red.\x20'+'Add\x20y'+'our\x20k'+_0x2b2de6(0xd,-0x5b)+'\x20Sett'+_0x2b2de6(0x61,0xfa)+'→\x20Voi'+_0x2b2de6(0xeb,0x103),'GBoGi':_0x2b2de6(0x106,0xaa),'XQyMd':'JcpWU','UAQBS':function(_0x14833a,_0x1e5d06,_0x5074af){return _0x14833a(_0x1e5d06,_0x5074af);},'bThxc':_0x57c474(0x1aa,0xef),'VQbEN':_0x57c474(0x188,0x1dd),'FPknq':_0x57c474(0x103,0x1f6)+'ge','msQsx':_0x2b2de6(0x66,0x57)+_0x2b2de6(0x23,-0x13),'Ztats':'Realt'+_0x57c474(0x193,0x210)+_0x2b2de6(-0x4,-0x8c)+'relay'+_0x2b2de6(-0x1a,0x38)+_0x57c474(0xfb,0x142)+'/api/'+'realt'+_0x57c474(0x1e5,0x1bb)};function _0x2b2de6(_0xdcca23,_0x523b18){return _0x5699ad(_0xdcca23-0x239,_0x523b18);}const _0x3278db={};_0x3278db['noSer'+_0x2b2de6(0xcc,0x154)]=!![],_0x3278db[_0x2b2de6(0xa8,-0x19)+'ssage'+_0x2b2de6(-0x2d,0x32)+'te']=![];const _0x1b4305=new WebSocketServer(_0x3278db);function _0x57c474(_0x132c99,_0x1af1b8){return _0x5699ad(_0x1af1b8-0x326,_0x132c99);}return _0x431b0b['on'](_0x2b2de6(-0x3f,0xd)+'de',(_0x426ba1,_0x4190df,_0x491a98)=>{const _0x354c4b={};function _0x1843b8(_0x1da132,_0x290bf7){return _0x2b2de6(_0x1da132- -0x40,_0x290bf7);}_0x354c4b[_0x1843b8(0x11d,0xf5)]=_0x565adf(0x260,0x2bf)+_0x565adf(0x258,0x27c);function _0x565adf(_0x45ae5a,_0x4b730a){return _0x2b2de6(_0x4b730a-0x259,_0x45ae5a);}_0x354c4b[_0x1843b8(0xb1,0xe1)]=_0x4fae49[_0x1843b8(-0x93,-0x17b)];const _0x347641=_0x354c4b;if(_0x4fae49[_0x1843b8(0x8d,0x111)](_0x4fae49[_0x565adf(0x2f2,0x395)],_0x4fae49['YlZSf'])){const {pathname:_0x46aea0}=new URL(_0x426ba1[_0x1843b8(0x125,0x3e)],_0x565adf(0x362,0x284)+'//'+_0x426ba1['heade'+'rs'][_0x1843b8(0x7e,-0x3f)]);if(_0x4fae49[_0x565adf(0x238,0x245)](_0x46aea0,_0x4fae49[_0x565adf(0x2ab,0x240)]))return;const _0x160fb8=new URL(_0x426ba1[_0x565adf(0x4a0,0x3be)],_0x1843b8(-0x15,0x6a)+'//'+_0x426ba1[_0x565adf(0x32c,0x2d7)+'rs'][_0x1843b8(0x7e,0xe)]);if(_0x4fae49[_0x565adf(0x333,0x355)](_0x160fb8[_0x565adf(0x1de,0x291)+_0x1843b8(0x113,0x10f)+'ms']['get'](_0x4fae49['pCeec']),_0x4fae49[_0x1843b8(0xf,0x44)]))return;const _0xd2b6fa=_0x426ba1[_0x565adf(0x1f7,0x2d7)+'rs'][_0x1843b8(0xef,0x193)+'n'];if(!_0x4fae49['gwUsM'](verifyOrigin,_0xd2b6fa)){log[_0x1843b8(0x80,-0x33)](_0x565adf(0x1d2,0x271)+_0x1843b8(0xe4,0x36)+_0x565adf(0x243,0x307)+'e\x20fro'+_0x565adf(0x2c2,0x24b)+_0x565adf(0x375,0x2ac)+'origi'+_0x1843b8(0xf3,0x97)+_0xd2b6fa),_0x4190df[_0x1843b8(0xc8,0x4c)](_0x4fae49[_0x1843b8(0x109,0x1bb)]),_0x4190df['destr'+'oy']();return;}const _0xd0c077=_0x426ba1['heade'+'rs'][_0x4fae49[_0x565adf(0x315,0x385)]],_0xe4aa30=_0x160fb8[_0x1843b8(-0x8,-0x7e)+_0x1843b8(0x113,0x179)+'ms'][_0x565adf(0x255,0x31d)](_0x4fae49[_0x1843b8(0xf0,0x1b2)]),_0x2c4d0f=_0xd0c077?.[_0x565adf(0x278,0x2aa)+'ce'](_0x4fae49[_0x1843b8(0x87,0x16c)],'')||_0xe4aa30||null;if(!_0x4fae49['rqXnl'](verifyWebSocketToken,_0x2c4d0f)){if(_0x4fae49['xXytw'](_0x4fae49['KUWhZ'],_0x4fae49['waveY'])){const _0x239667={};_0x239667[_0x1843b8(-0xab,-0x72)+_0x565adf(0x370,0x337)+_0x565adf(0x131,0x1f6)]=_0x565adf(0x224,0x290)+'r\x20'+_0x2ffd7f,_0x239667[_0x565adf(0x38c,0x2de)+_0x565adf(0x1dc,0x20a)+'a']=_0x4fae49[_0x1843b8(-0x80,-0x1f)];const _0x5acd38={};_0x5acd38[_0x1843b8(0x3e,0x97)+'rs']=_0x239667,_0x5acd38[_0x1843b8(0x68,-0x20)+_0x1843b8(0xbb,0x19e)+_0x565adf(0x2b5,0x22c)+'te']=!![],_0x3091fe=new _0x5d2dde(_0x233342,_0x5acd38);}else{log[_0x1843b8(0x80,0xc6)](_0x4fae49['ldjxB']),_0x4190df[_0x1843b8(0xc8,0x136)](_0x4fae49[_0x565adf(0x2c9,0x2c3)]),_0x4190df[_0x565adf(0x319,0x31b)+'oy']();return;}}if(activeSessions[_0x565adf(0x2bc,0x306)]>=MAX_REALTIME_CONNECTIONS){log[_0x565adf(0x2b3,0x319)](_0x565adf(0x1e3,0x271)+'ted\x20u'+'pgrad'+'e\x20—\x20a'+'t\x20cap'+_0x565adf(0x1df,0x2c1)+'\x20('+activeSessions['size']+'/'+MAX_REALTIME_CONNECTIONS+')'),_0x4190df[_0x1843b8(0xc8,0x1aa)](_0x1843b8(-0x74,-0x68)+_0x565adf(0x341,0x3b8)+_0x565adf(0x2dd,0x1f8)+'o\x20Man'+_0x1843b8(0x7b,0x82)+'uests'+_0x1843b8(-0xb5,-0x4d)),_0x4190df[_0x565adf(0x3a1,0x31b)+'oy']();return;}_0x1b4305[_0x1843b8(0x4e,0x19)+_0x1843b8(-0x70,-0xea)+_0x1843b8(0xea,0x17a)](_0x426ba1,_0x4190df,_0x491a98,_0x3594bc=>{function _0x1708f2(_0x111c6c,_0x3f9729){return _0x1843b8(_0x3f9729- -0x93,_0x111c6c);}function _0x341109(_0x47f541,_0x7d70f3){return _0x1843b8(_0x7d70f3- -0x1d9,_0x47f541);}_0x347641[_0x1708f2(0x96,0x1e)]!==_0x1708f2(-0xab,-0xc4)?_0x1b4305[_0x341109(-0x87,-0x100)](_0x347641[_0x1708f2(0x4b,0x8a)],_0x3594bc,_0x426ba1):_0x2b253c[_0x341109(-0x18c,-0x100)](_0x347641[_0x1708f2(-0x28,0x8a)],_0x1830e2,_0x4ad391);});}else return![];}),_0x1b4305['on'](_0x4fae49[_0x57c474(0x1ba,0xdd)],async(_0x502ec0,_0x4f0a9c)=>{function _0x1deef3(_0x33a106,_0x5c46dc){return _0x2b2de6(_0x5c46dc-0x137,_0x33a106);}const _0xc0b7f1={'JIPKO':_0x1deef3(0x1b4,0x13d)+_0x1deef3(0x195,0x166)+'+$','RqUoh':function(_0x33a253,_0x35737c){return _0x33a253!==_0x35737c;},'bASHN':_0x4fae49[_0x1deef3(0x133,0x15c)],'NvWQp':function(_0x221011,_0x45cca7){function _0x1c4155(_0x58754c,_0x52cbb9){return _0x27a98c(_0x52cbb9- -0x185,_0x58754c);}return _0x4fae49[_0x1c4155(0x9a,0x19)](_0x221011,_0x45cca7);},'bYstH':function(_0x3d20c9,_0x27edb5){return _0x4fae49['FMjYU'](_0x3d20c9,_0x27edb5);},'aJmNV':_0x4fae49[_0x1deef3(0x295,0x23e)],'VvZjh':function(_0x55c0ac,_0x1de420){function _0x5ef6e9(_0x26e9fb,_0x59bde7){return _0x1deef3(_0x59bde7,_0x26e9fb- -0x353);}return _0x4fae49[_0x5ef6e9(-0x10a,-0xba)](_0x55c0ac,_0x1de420);},'iSWWJ':_0x4fae49[_0x1deef3(0x1f2,0x137)],'oVtLL':function(_0x527233,_0x3a7965){return _0x4fae49['gwUsM'](_0x527233,_0x3a7965);},'LiBhb':function(_0x40736e,_0x401c7e){return _0x40736e===_0x401c7e;},'BFDJn':_0x4fae49[_0x1deef3(0x1e0,0x178)],'EnLpK':_0x4fae49[_0x1deef3(0x9b,0xe3)],'YLKGl':_0x4fae49[_0x27a98c(0x192,0xbe)],'ltBQE':'text','YGVmV':_0x4fae49[_0x27a98c(0x219,0x18f)],'jhiqV':_0x4fae49[_0x1deef3(0xaf,0x136)],'tCtqz':'pcm16','FPqTG':_0x4fae49[_0x27a98c(0x81,0xbc)],'hsgld':'serve'+_0x27a98c(0x10e,0x173),'CktQv':_0x4fae49[_0x1deef3(0xfc,0x100)],'lKSvw':function(_0x5dad10,_0x4b0cdb){return _0x4fae49['xXytw'](_0x5dad10,_0x4b0cdb);},'YYMPX':function(_0x38c04a,_0x44fedc){return _0x38c04a===_0x44fedc;},'uvTNF':_0x4fae49['HkHkM'],'nGCnb':_0x4fae49[_0x27a98c(0x1a6,0x215)],'DykBb':_0x4fae49[_0x1deef3(0x1bd,0x280)],'DIsKV':function(_0x50baa1,_0x376e96){function _0x2d5334(_0x39e74e,_0x10c9ae){return _0x27a98c(_0x39e74e- -0x156,_0x10c9ae);}return _0x4fae49[_0x2d5334(0x98,-0x35)](_0x50baa1,_0x376e96);},'EvhiM':_0x27a98c(0x239,0x21b),'FVQZf':_0x4fae49[_0x27a98c(0x1df,0x24a)],'IDSha':function(_0x5c7a4f,_0x5904cf){function _0x53f4ff(_0x248b63,_0x23d676){return _0x1deef3(_0x23d676,_0x248b63-0x37c);}return _0x4fae49[_0x53f4ff(0x48b,0x4db)](_0x5c7a4f,_0x5904cf);},'Ebkaf':_0x4fae49[_0x1deef3(0x1d0,0x24e)],'mEuAr':_0x4fae49[_0x1deef3(0x134,0x170)],'VDPjs':_0x1deef3(0x1f1,0x255)+'ng\x20AP'+_0x27a98c(0x89,-0x4c),'AHgPn':_0x4fae49[_0x27a98c(0x7a,0xf0)],'NviCy':function(_0x178826,_0x49da6e){return _0x4fae49['HwEAx'](_0x178826,_0x49da6e);},'ERkCG':_0x4fae49[_0x27a98c(0x233,0x2a2)],'wgyGe':_0x4fae49[_0x1deef3(0x246,0x24f)],'Xqlpm':_0x4fae49[_0x1deef3(0x2c8,0x271)],'BFMnQ':_0x4fae49['aAOiD']};function _0x27a98c(_0x4d12d4,_0x2cb167){return _0x2b2de6(_0x4d12d4-0xd1,_0x2cb167);}if(_0x4fae49[_0x1deef3(0x77,0x15f)](_0x4fae49['tHBsO'],_0x4fae49[_0x1deef3(0x5a,0x105)]))return _0x23e997[_0x1deef3(0x13e,0x152)+_0x27a98c(0xce,0x3)]()[_0x27a98c(0x109,0x1af)+'h'](_0x1deef3(0x55,0x13d)+')+)+)'+'+$')[_0x1deef3(0xe9,0x152)+_0x1deef3(0x104,0x134)]()['const'+_0x1deef3(0x52,0x119)+'r'](_0x2756a6)[_0x27a98c(0x109,0xc9)+'h'](fFjcwu[_0x1deef3(0x308,0x217)]);else{const _0x2064f8=_0x1deef3(0x92,0x160)+Date[_0x27a98c(0x11d,0x17f)]()+'-'+Math[_0x1deef3(0x2b0,0x1dc)+'m']()['toStr'+_0x1deef3(0xb0,0x134)](-0x1545+0x267+0x32b*0x6)['slice'](-0x1dff+0x1ef2+-0xf1,0x1849*0x1+0x1*0x6c9+0x112*-0x1d),_0x89c81f=_0x4f0a9c[_0x1deef3(0x1d5,0xfe)+'t'][_0x27a98c(0xff,0x1bb)+_0x1deef3(0x2b8,0x208)+'ess'];log['info']('Clien'+'t\x20con'+_0x1deef3(0x1a8,0x10c)+_0x27a98c(0xa0,0x10d)+_0x2064f8+('\x20from'+'\x20')+_0x89c81f);let _0x721f84;try{_0x721f84=await loadConfig();}catch(_0x470a46){log[_0x27a98c(0x202,0x299)](_0x4fae49[_0x27a98c(0x79,0x61)],_0x470a46),_0x502ec0['close'](0x204c+-0x124f*0x1+-0xa*0x101,_0x1deef3(0x154,0x149)+'r\x20con'+_0x1deef3(0x1d8,0x15b)+_0x27a98c(0xee,0x134)+_0x27a98c(0x59,0x17)+'r');return;}const _0x4be59b=_0x721f84['opena'+_0x1deef3(0x1e4,0x18e)+'ey'];if(!_0x4be59b){log[_0x27a98c(0x202,0x1a1)](_0x27a98c(0x13c,0x142)+_0x27a98c(0x97,0x7c)+_0x27a98c(0x21f,0x14f)+'ey\x20co'+'nfigu'+_0x27a98c(0x5f,-0x94)+_0x27a98c(0x13d,0x1fc)+_0x1deef3(0xe1,0x12c)+'en\x20re'+'altim'+_0x27a98c(0xe2,0x160)+_0x27a98c(0x1ad,0x226));const _0x220bfe={};_0x220bfe[_0x1deef3(0x5e,0x104)]='error',_0x220bfe[_0x27a98c(0x202,0x261)]=_0x4fae49[_0x1deef3(0x20e,0x258)],_0x502ec0['send'](JSON[_0x27a98c(0x10c,0x16d)+'gify'](_0x220bfe)),_0x502ec0[_0x1deef3(0x1b7,0x227)](0x1f6d+0x9cd+-0x254a,_0x27a98c(0x1ef,0x1c6)+'ng\x20AP'+_0x1deef3(0x170,0xef));return;}const _0x1b3d09=_0x721f84[_0x1deef3(0xbd,0x1a7)+_0x1deef3(0x48,0xf1)+_0x27a98c(0x116,0xd5)]||DEFAULT_MODEL,_0x31cc59=_0x721f84[_0x1deef3(0x20d,0x1a7)+'imeVo'+_0x27a98c(0x217,0x184)]||_0x4fae49[_0x1deef3(0x1de,0x136)],_0x38927e=OPENAI_REALTIME_BASE+(_0x1deef3(0xff,0x14d)+'l=')+encodeURIComponent(_0x1b3d09);let _0x34201d;try{if(_0x4fae49[_0x27a98c(0x21c,0x224)](_0x4fae49[_0x1deef3(0x156,0x1d2)],_0x4fae49['GBoGi']))try{const _0x1e2871={};_0x1e2871['type']=_0x27a98c(0x202,0x145),_0x1e2871['error']=_0x1deef3(0x22d,0x1bc)+_0x27a98c(0x147,0x20e)+_0x27a98c(0x76,-0x36)+'on\x20er'+_0x27a98c(0x14b,0xb4)+_0x4ecb02[_0x27a98c(0x1da,0x1fc)+'ge'],_0x29e06b[_0x27a98c(0x11b,0x36)](_0x355bf3['strin'+_0x27a98c(0x1c8,0x12c)](_0x1e2871));}catch{}else{const _0x3bbf09={};_0x3bbf09[_0x1deef3(0x192,0xcc)+'rizat'+_0x1deef3(-0x6,0xd4)]=_0x27a98c(0x108,0x19e)+'r\x20'+_0x4be59b,_0x3bbf09[_0x1deef3(0x171,0x1bc)+'I-Bet'+'a']=_0x4fae49['doivs'];const _0x486c58={};_0x486c58['heade'+'rs']=_0x3bbf09,_0x486c58['perMe'+'ssage'+_0x1deef3(0x5e,0x10a)+'te']=!![],_0x34201d=new WebSocket(_0x38927e,_0x486c58);}}catch(_0x4ca354){if(_0x27a98c(0x121,0x30)!==_0x4fae49[_0x1deef3(0x247,0x238)]){log['error'](_0x4fae49[_0x27a98c(0x23e,0x2c9)],_0x4ca354),_0x502ec0[_0x1deef3(0x29f,0x227)](0x182+-0x1e00+0x2071,_0x27a98c(0x174,0x107)+_0x27a98c(0x143,0x98)+_0x1deef3(0x1a5,0x19d)+_0x27a98c(0x6a,-0x35)+_0x1deef3(0x1e8,0x1d7)+'AI');return;}else _0x4fae49[_0x27a98c(0x14a,0x86)](_0x1797c0,_0xc0f942),_0x3ab5a2[_0x27a98c(0x22b,0x1b4)+'e'](_0x19b5fe),!_0x58c3b9&&_0x4fae49['aCGNT'](_0x5c3c66[_0x27a98c(0x19b,0x1cb)+_0x1deef3(0x350,0x284)],_0x36ca99[_0x27a98c(0x69,0x7)])&&_0x314146[_0x27a98c(0x1c1,0x23b)](),!_0x13eedc&&_0x4fae49[_0x1deef3(0x14a,0xd7)](_0x3fbbcb[_0x27a98c(0x19b,0x18d)+_0x1deef3(0x1f0,0x284)],_0x1b0daa['OPEN'])&&_0x5eec5a[_0x1deef3(0x1fc,0x227)]();}let _0x4439dd=![],_0x1da9d8=![];const _0x2ba30b={};_0x2ba30b[_0x27a98c(0x1db,0x20e)+'tWs']=_0x502ec0,_0x2ba30b['opena'+_0x27a98c(0x14c,0xd6)]=_0x34201d,activeSessions[_0x1deef3(0x17d,0x110)](_0x2064f8,_0x2ba30b);const _0x525088=_0x4fae49['UAQBS'](setInterval,()=>{function _0x6992a7(_0x173c8c,_0x560911){return _0x1deef3(_0x560911,_0x173c8c-0x296);}function _0x106abc(_0x1e6100,_0x4a4b4a){return _0x1deef3(_0x1e6100,_0x4a4b4a- -0x308);}try{if(_0xc0b7f1[_0x6992a7(0x360,0x2fa)]('PKEsA',_0xc0b7f1[_0x106abc(-0xd7,-0x71)])){if(_0xc0b7f1[_0x6992a7(0x3be,0x3cd)](_0x502ec0[_0x6992a7(0x497,0x47a)+_0x106abc(-0x28,-0x84)],WebSocket[_0x106abc(-0x23a,-0x239)]))_0x502ec0[_0x6992a7(0x493,0x50a)]();if(_0x34201d[_0x6992a7(0x497,0x49f)+'State']===WebSocket[_0x6992a7(0x365,0x33d)])_0x34201d[_0x106abc(-0x153,-0x10b)]();}else{const _0x32e99c={};_0x32e99c[_0x106abc(-0x239,-0x204)]=_0x6992a7(0x356,0x427)+_0x106abc(-0xf3,-0x192)+'y',_0x32be26[_0x106abc(-0xb2,-0x187)](_0xbb1313[_0x6992a7(0x408,0x405)+_0x106abc(-0x106,-0xda)](_0x32e99c));}}catch{}},-0x246b*-0x2+0xa*-0x22+-0xcea);function _0x33fb44(){const _0x4b5ef1={};_0x4b5ef1[_0x3e82bc(0x4e9,0x450)]=_0xc0b7f1[_0x3e82bc(0x587,0x52e)];const _0x36d5d6=_0x4b5ef1;function _0x316695(_0x1fa01c,_0x39ad18){return _0x1deef3(_0x39ad18,_0x1fa01c- -0x2f4);}function _0x3e82bc(_0x5c187b,_0xd3e10a){return _0x1deef3(_0xd3e10a,_0x5c187b-0x33a);}if(_0xc0b7f1['VvZjh'](_0x3e82bc(0x557,0x611),_0xc0b7f1[_0x316695(-0x137,-0x86)])){_0xc0b7f1[_0x316695(-0xdb,-0xd8)](clearInterval,_0x525088),activeSessions[_0x3e82bc(0x5cb,0x51a)+'e'](_0x2064f8);!_0x4439dd&&_0x502ec0['ready'+_0x3e82bc(0x5be,0x65e)]===WebSocket['OPEN']&&_0x502ec0[_0x3e82bc(0x561,0x59b)]();if(!_0x1da9d8&&_0xc0b7f1[_0x3e82bc(0x55e,0x4e2)](_0x34201d[_0x3e82bc(0x53b,0x5a4)+_0x316695(-0x70,-0xd5)],WebSocket[_0x316695(-0x225,-0x1b4)])){if(_0xc0b7f1[_0x3e82bc(0x448,0x487)]===_0xc0b7f1[_0x3e82bc(0x4b7,0x47a)])try{return fFjcwu[_0x316695(-0x6b,0x59)](new _0x33d98c(_0x349c2a)[_0x316695(-0x68,0x3b)+'ame'],_0x28af78);}catch{return![];}else _0x34201d[_0x3e82bc(0x561,0x4c7)]();}}else{_0x1b82f7[_0x316695(-0xfd,-0x44)]('Rejec'+_0x3e82bc(0x595,0x591)+_0x316695(-0x10f,-0x2e)+_0x316695(-0x129,-0x88)+'t\x20cap'+'acity'+'\x20('+_0x56b975[_0x3e82bc(0x51e,0x4b0)]+'/'+_0x425a7d+')'),_0xfad864[_0x316695(-0xb5,-0x34)](BeGGLN[_0x316695(-0x145,-0xb4)]),_0x6f36b3[_0x316695(-0xfb,-0x18f)+'oy']();return;}}_0x34201d['on'](_0x4fae49[_0x1deef3(0x202,0x22b)],async()=>{function _0xc56617(_0x158286,_0xcb1283){return _0x27a98c(_0xcb1283-0x347,_0x158286);}function _0x64cb0f(_0x140289,_0x35ef18){return _0x27a98c(_0x35ef18-0x2e6,_0x140289);}if(_0x4fae49['xXytw'](_0x4fae49['NSksv'],_0x4fae49[_0xc56617(0x58b,0x55a)])){const _0x17f0d5=_0x1f303d['parse'](_0x4cdfcd[_0x64cb0f(0x387,0x3d2)+'ing']());_0x12c604[_0x64cb0f(0x3da,0x480)](_0x64cb0f(0x33f,0x369)+'t\x20eve'+_0x64cb0f(0x450,0x3a4)+'r\x20'+_0x3d94a1+':\x20'+_0x17f0d5[_0xc56617(0x482,0x3e5)]+(_0xc56617(0x493,0x4ae)+'=')+_0x49e06d[_0x64cb0f(0x511,0x4aa)+'h']+')');}else{log['info'](_0xc56617(0x505,0x49d)+_0x64cb0f(0x3a7,0x42d)+_0xc56617(0x3eb,0x3ed)+_0xc56617(0x514,0x4b9)+'\x20sess'+_0xc56617(0x4d9,0x54e)+_0x2064f8+(_0x64cb0f(0x4d5,0x45b)+_0x64cb0f(0x3de,0x462))+_0x1b3d09+(_0xc56617(0x46d,0x486)+_0x64cb0f(0x3f1,0x365))+_0x31cc59+')');try{const _0x590242=await _0x4fae49[_0xc56617(0x35a,0x3a9)](getAgentInstructions),_0x22bb7b=buildSessionUpdate(_0x31cc59,_0x590242);log['info'](_0xc56617(0x497,0x44a)+_0xc56617(0x352,0x40c)+_0xc56617(0x3e9,0x3f6)+_0x64cb0f(0x31f,0x3c3)+_0x64cb0f(0x38e,0x43b)+'r\x20'+_0x2064f8+':\x20'+_0x22bb7b['subst'+_0xc56617(0x500,0x4bf)](0x18bd+-0x1*0xe7b+-0x1a*0x65,0x1ee8+0x101d+0x53*-0x8b)),_0x34201d[_0xc56617(0x3a6,0x462)](_0x22bb7b);}catch(_0x576aaf){log[_0xc56617(0x458,0x549)](_0xc56617(0x4f8,0x4bb)+_0xc56617(0x4c1,0x48a)+_0xc56617(0x449,0x4ca)+_0x64cb0f(0x5c9,0x4e4)+_0xc56617(0x4d8,0x555)+_0x64cb0f(0x37e,0x355)+_0xc56617(0x44c,0x4e0)+_0x2064f8+':',_0x576aaf);}if(_0x4fae49[_0x64cb0f(0x436,0x442)](_0x502ec0[_0x64cb0f(0x3c2,0x481)+_0x64cb0f(0x44c,0x504)],WebSocket[_0x64cb0f(0x2ac,0x34f)])){const _0x2ad01d={};_0x2ad01d[_0x64cb0f(0x29c,0x384)]=_0x4fae49[_0xc56617(0x4cc,0x428)],_0x502ec0['send'](JSON[_0x64cb0f(0x31b,0x3f2)+_0xc56617(0x5da,0x50f)](_0x2ad01d));}}}),_0x34201d['on'](_0x27a98c(0x1da,0x249)+'ge',(_0x3ef673,_0x1978b0)=>{function _0x39c970(_0x41d4be,_0x2200b4){return _0x27a98c(_0x2200b4- -0x219,_0x41d4be);}function _0x375df0(_0x548127,_0x3c6041){return _0x27a98c(_0x548127-0x34b,_0x3c6041);}const _0x511c2c={'obkWA':function(_0x295ef6,_0x22a2c2){function _0x410160(_0x3bde1b,_0x18af07){return _0x2b6e(_0x3bde1b- -0x37,_0x18af07);}return _0x4fae49[_0x410160(0x270,0x25c)](_0x295ef6,_0x22a2c2);}};if(!_0x1978b0)try{if(_0x4fae49[_0x375df0(0x408,0x319)](_0x4fae49['gDsnQ'],_0x4fae49[_0x39c970(-0x19f,-0x1bb)]))return![];else{const _0x158eae=JSON['parse'](_0x3ef673[_0x39c970(-0x1fa,-0x12d)+_0x375df0(0x419,0x4c5)]());_0x4fae49[_0x39c970(-0x72,-0xbd)](_0x158eae['type'],'error')?log[_0x375df0(0x54d,0x521)]('OpenA'+_0x375df0(0x436,0x342)+_0x375df0(0x541,0x612)+_0x39c970(0x2b,-0xa)+'or\x20'+_0x2064f8+':',JSON[_0x375df0(0x457,0x374)+_0x375df0(0x513,0x503)](_0x158eae)):log[_0x375df0(0x4e5,0x4e7)]('OpenA'+_0x39c970(-0x5d,-0xcc)+'nt\x20fo'+'r\x20'+_0x2064f8+':\x20'+_0x158eae[_0x375df0(0x3e9,0x341)]);}}catch{}if(_0x4fae49['aCGNT'](_0x502ec0[_0x39c970(-0xe3,-0x7e)+_0x39c970(-0xd0,0x5)],WebSocket[_0x39c970(-0x18b,-0x1b0)])){if(_0x4fae49['HwEAx'](_0x4fae49[_0x39c970(-0x92,-0x101)],_0x39c970(-0xc2,-0x1a)))_0x45afb6['send'](_0x1e9028);else try{if(_0x4fae49['MRcvt'](_0x4fae49['eOsVR'],_0x4fae49[_0x375df0(0x3d1,0x3d0)])){const _0x5f2cf9={};return _0x5f2cf9[_0x39c970(-0x10e,-0x17b)]=fFjcwu[_0x375df0(0x3e4,0x421)],_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on']={},_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x375df0(0x405,0x378)+_0x39c970(-0x1d4,-0x150)]=[fFjcwu['ltBQE'],fFjcwu[_0x39c970(-0x107,-0x65)]],_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x39c970(-0x9f,-0x13e)+_0x39c970(-0x123,-0x15e)+'ns']=_0x49aff8,_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x375df0(0x4a8,0x3ec)]=_0x10a645||fFjcwu['jhiqV'],_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x39c970(-0xab,-0x10c)+_0x39c970(-0x43,-0xae)+_0x375df0(0x4af,0x4da)+_0x375df0(0x582,0x651)]=fFjcwu['tCtqz'],_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x39c970(-0x209,-0x115)+_0x375df0(0x423,0x436)+_0x375df0(0x45e,0x3eb)+_0x39c970(-0xae,-0x185)]=fFjcwu[_0x39c970(-0xd3,-0x21)],_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x39c970(-0x35,-0x10c)+_0x39c970(-0x18f,-0xae)+_0x375df0(0x4ab,0x4f6)+_0x375df0(0x529,0x569)+_0x375df0(0x424,0x34d)]={},_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x375df0(0x4ac,0x3bd)+_0x375df0(0x42a,0x452)+_0x375df0(0x4b9,0x472)]={},_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x39c970(-0x35,-0x10c)+_0x39c970(-0x18f,-0xae)+_0x375df0(0x4ab,0x4f6)+_0x375df0(0x529,0x569)+_0x375df0(0x424,0x34d)][_0x375df0(0x3d7,0x32e)]=fFjcwu[_0x375df0(0x4a5,0x596)],_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x375df0(0x4ac,0x3bd)+_0x375df0(0x42a,0x452)+_0x375df0(0x4b9,0x472)][_0x39c970(-0x22f,-0x17b)]=fFjcwu[_0x39c970(-0x188,-0x13d)],_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x375df0(0x4ac,0x3bd)+_0x375df0(0x42a,0x452)+_0x375df0(0x4b9,0x472)][_0x375df0(0x544,0x4a6)+_0x375df0(0x3ae,0x419)]=0.5,_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x375df0(0x4ac,0x3bd)+_0x375df0(0x42a,0x452)+_0x375df0(0x4b9,0x472)]['prefi'+_0x375df0(0x583,0x593)+'ding_'+'ms']=0x12c,_0x5f2cf9[_0x39c970(0x5e,-0x1b)+'on'][_0x375df0(0x4ac,0x3bd)+_0x375df0(0x42a,0x452)+_0x375df0(0x4b9,0x472)][_0x375df0(0x3b3,0x379)+_0x39c970(-0xca,-0x52)+_0x39c970(-0x96,-0x59)+_0x39c970(-0xef,-0x1be)]=0x1f4,_0x116634['strin'+_0x375df0(0x513,0x482)](_0x5f2cf9);}else{if(_0x1978b0){if(_0x4fae49[_0x39c970(-0x116,-0x7b)](_0x4fae49['aEZfK'],_0x4fae49[_0x39c970(0x1,-0x1f)])){const _0x57b008=new _0x5490c7(_0x4bc4ca),_0x277a5a=_0x57b008[_0x375df0(0x571,0x48c)+_0x39c970(-0xb8,-0x16d)];if(_0x277a5a===fFjcwu['CktQv']||fFjcwu['lKSvw'](_0x277a5a,_0x375df0(0x49b,0x4c0)+_0x375df0(0x547,0x5aa))||fFjcwu[_0x39c970(-0x8c,-0xe1)](_0x277a5a,fFjcwu[_0x39c970(0x18,-0xd5)]))return!![];if(_0x277a5a[_0x39c970(-0x193,-0xef)+_0x39c970(0x65,-0x6f)](fFjcwu[_0x39c970(-0x70,0x21)]))return!![];return _0x469093[_0x375df0(0x46a,0x492)](_0x3b377b=>{function _0x460ae8(_0x10bde8,_0xbed31c){return _0x39c970(_0xbed31c,_0x10bde8-0x26a);}function _0x326ac5(_0x201199,_0x361499){return _0x39c970(_0x361499,_0x201199-0x4e3);}try{return yGsJJK[_0x460ae8(0x286,0x232)](new _0x138fdd(_0x3b377b)[_0x460ae8(0x277,0x1c4)+'ame'],_0x277a5a);}catch{return![];}});}else{const _0x2f8264={};_0x2f8264[_0x39c970(-0x2d,-0x13)+'y']=!![],_0x502ec0[_0x375df0(0x466,0x43e)](_0x3ef673,_0x2f8264);}}else{if(_0x4fae49[_0x39c970(0xa1,0x7)](_0x4fae49[_0x375df0(0x3e0,0x34c)],_0x4fae49[_0x375df0(0x536,0x4bd)])){_0x162b26[_0x39c970(0x1b,-0x88)]('Rejec'+_0x375df0(0x4b4,0x4f2)+_0x39c970(-0xb,0x8)+_0x375df0(0x3d0,0x353)+_0x375df0(0x3ac,0x357)+'pgrad'+_0x39c970(-0x51,-0x3d)+_0x375df0(0x452,0x505)+'d\x20or\x20'+'missi'+_0x39c970(-0x9a,-0xa6)+'th\x20to'+_0x39c970(-0xec,-0xfd)),_0x435df3[_0x39c970(0x4e,-0x40)](_0x375df0(0x3e8,0x30e)+_0x375df0(0x57b,0x606)+_0x375df0(0x4db,0x455)+_0x375df0(0x3f9,0x39e)+_0x375df0(0x4f6,0x5d9)+'\x0d\x0a\x0d\x0a'),_0x544bf3['destr'+'oy']();return;}else _0x502ec0[_0x39c970(-0xf5,-0xfe)](_0x3ef673[_0x375df0(0x437,0x465)+'ing']());}}}catch(_0x4c8cee){if(_0x4fae49[_0x39c970(-0xc7,-0x19e)](_0x4fae49[_0x375df0(0x47b,0x4c2)],_0x4fae49[_0x375df0(0x3e1,0x39c)]))log[_0x375df0(0x54d,0x5d0)](_0x375df0(0x3de,0x2fd)+_0x39c970(-0x8d,-0x163)+'ardin'+'g\x20Ope'+_0x375df0(0x44c,0x366)+_0x375df0(0x588,0x5c4)+_0x39c970(-0x117,-0x72)+_0x2064f8+'):',_0x4c8cee[_0x375df0(0x525,0x503)+'ge']);else{_0x28552c[_0x375df0(0x4dc,0x4dd)](_0x375df0(0x434,0x363)+'ted\x20u'+'pgrad'+_0x39c970(-0x69,0x14)+'m\x20inv'+_0x375df0(0x46f,0x52f)+_0x375df0(0x54b,0x50e)+_0x375df0(0x54f,0x5f8)+_0x9762d9),_0x1c6a8e[_0x375df0(0x524,0x472)](fFjcwu['DykBb']),_0x438c8a[_0x39c970(0x59,-0x86)+'oy']();return;}}}}),_0x34201d['on'](_0x4fae49[_0x1deef3(0x77,0xf4)],(_0x3523c0,_0x5c9bec)=>{function _0x17637b(_0x143c1f,_0x396f94){return _0x27a98c(_0x396f94-0x182,_0x143c1f);}function _0x4382ac(_0x1d698b,_0x59fe4d){return _0x27a98c(_0x1d698b-0x1d8,_0x59fe4d);}if(_0x4fae49[_0x4382ac(0x3c8,0x2f8)]===_0x4fae49[_0x17637b(0x3bf,0x372)]){_0x1da9d8=!![];const _0x494fc2=_0x5c9bec?.['toStr'+_0x4382ac(0x2a6,0x23e)]()||'';log['info'](_0x4382ac(0x32e,0x281)+'I\x20dis'+'conne'+_0x17637b(0x312,0x332)+_0x4382ac(0x371,0x2a4)+_0x2064f8+(_0x17637b(0x349,0x3be)+'e=')+_0x3523c0+(_0x494fc2?_0x4fae49[_0x17637b(0x323,0x356)](_0x4fae49[_0x4382ac(0x3c0,0x42e)],_0x494fc2):'')+')'),_0x33fb44();}else{_0x80b370[_0x4382ac(0x3da,0x3b1)](_0x17637b(0x396,0x2f6)+_0x17637b(0x324,0x2c5)+_0x17637b(0x27e,0x30d)+'runti'+_0x4382ac(0x28d,0x262)+_0x4382ac(0x305,0x25f),_0x463665),_0x3702ec[_0x4382ac(0x399,0x3eb)](-0x1*0xe9b+0xcef+0x59f,_0x4382ac(0x2bb,0x236)+_0x17637b(0x260,0x2f2)+_0x4382ac(0x2cd,0x22b)+_0x4382ac(0x2c6,0x1dd)+'\x20erro'+'r');return;}}),_0x34201d['on'](_0x4fae49['SxtAP'],_0x4d8653=>{function _0x42c032(_0x146a9f,_0xab3d65){return _0x27a98c(_0xab3d65-0x117,_0x146a9f);}function _0x115852(_0x44ae63,_0x245166){return _0x27a98c(_0x44ae63- -0x6e,_0x245166);}const _0x5a45a8={};_0x5a45a8['fIxcd']=function(_0xe64d7d,_0x5d1ebb){return _0xe64d7d===_0x5d1ebb;};const _0x28e23a=_0x5a45a8;if(_0x42c032(0x1ed,0x201)===_0x115852(0x15b,0x162)){if(_0x45acb5[_0x42c032(0x2d0,0x2b2)+'State']===_0x1411d4[_0x115852(-0x5,0x77)])_0x261de8[_0x115852(0x129,0xaa)]();if(akkxGj['fIxcd'](_0x4af03c['ready'+_0x42c032(0x304,0x335)],_0x3b458b[_0x115852(-0x5,0xb0)]))_0x106185['ping']();}else{log[_0x115852(0x194,0xfd)]('OpenA'+'I\x20err'+_0x42c032(0x1e2,0x286)+'r\x20'+_0x2064f8+':',_0x4d8653['messa'+'ge']);if(_0x502ec0['ready'+_0x115852(0x1b0,0x1e1)]===WebSocket[_0x115852(-0x5,0xa1)])try{if(_0xc0b7f1['DIsKV'](_0xc0b7f1[_0x42c032(0x34f,0x2da)],_0xc0b7f1[_0x42c032(0x37f,0x2da)])){const _0x100fe6={};_0x100fe6[_0x115852(0x30,0xca)]=_0xc0b7f1[_0x115852(0x117,0xb4)],_0x100fe6[_0x42c032(0x3f4,0x319)]=_0x115852(0xe8,0x151)+_0x42c032(0x1a0,0x25e)+_0x42c032(0x1a5,0x18d)+_0x42c032(0x28b,0x1fc)+'ror:\x20'+_0x4d8653[_0x115852(0x16c,0x10d)+'ge'],_0x502ec0['send'](JSON[_0x42c032(0x185,0x223)+_0x115852(0x15a,0x191)](_0x100fe6));}else _0x4dc8db[_0x42c032(0x2b6,0x319)]('OpenA'+_0x42c032(0x1a8,0x202)+'or\x20ev'+'ent\x20f'+'or\x20'+_0x5cd627+':',_0x3e6c8b[_0x42c032(0x1d3,0x223)+'gify'](_0x1c988d));}catch{}_0x33fb44();}}),_0x502ec0['on'](_0x4fae49['FPknq'],(_0x575643,_0x4e5d0a)=>{function _0x4694f0(_0x12ac8d,_0x2bd76c){return _0x27a98c(_0x2bd76c-0x286,_0x12ac8d);}function _0x11ab08(_0x10d246,_0x59367f){return _0x27a98c(_0x59367f- -0x2ff,_0x10d246);}if(_0xc0b7f1['RqUoh'](_0xc0b7f1[_0x11ab08(-0x13f,-0x11f)],_0xc0b7f1[_0x11ab08(-0xf2,-0x11f)]))_0x49b12f[_0x4694f0(0x40a,0x3a1)](_0x50cd7f['toStr'+_0x4694f0(0x2c1,0x354)]());else{if(!_0x4e5d0a){if(_0xc0b7f1['NviCy'](_0xc0b7f1['ERkCG'],_0x11ab08(-0xf4,-0x1e5)))try{const _0x5c70dd=JSON[_0x4694f0(0x393,0x2eb)](_0x575643[_0x11ab08(-0x2be,-0x213)+_0x11ab08(-0x1ef,-0x231)]());log[_0x4694f0(0x3bf,0x420)]('Clien'+_0x4694f0(0x51d,0x49c)+_0x11ab08(-0x236,-0x241)+'r\x20'+_0x2064f8+':\x20'+_0x5c70dd[_0x4694f0(0x32e,0x324)]+(_0x4694f0(0x46d,0x3ed)+'=')+_0x575643[_0x4694f0(0x388,0x44a)+'h']+')');}catch{}else{_0xd8e8b0=!![];const _0x293973=_0x190725?.['toStr'+_0x4694f0(0x3a9,0x354)]()||'';_0x4a12f5[_0x4694f0(0x454,0x420)](_0x11ab08(-0x233,-0x1a9)+_0x11ab08(-0x277,-0x237)+_0x4694f0(0x32e,0x3bd)+'cted\x20'+_0x4694f0(0x506,0x41f)+_0xb00ced+(_0x4694f0(0x3f6,0x4c2)+'e=')+_0x330430+(_0x293973?_0xc0b7f1[_0x4694f0(0x3da,0x43c)](_0xc0b7f1[_0x11ab08(-0x7a,-0xd6)],_0x293973):'')+')'),_0x197e86();}}else{if(_0x11ab08(-0x2a0,-0x1fd)===_0xc0b7f1[_0x4694f0(0x397,0x39a)])log['info'](_0x4694f0(0x2b1,0x309)+_0x11ab08(-0x1e5,-0x1f4)+_0x11ab08(-0x20d,-0x15f)+_0x4694f0(0x53a,0x492)+_0x2064f8+(_0x4694f0(0x4d8,0x45c)+'=')+_0x575643[_0x11ab08(-0x1a9,-0x13b)+'h']);else{const _0x165b39={};_0x165b39['binar'+'y']=!![],_0x24aea4[_0x4694f0(0x396,0x3a1)](_0x1883e0,_0x165b39);}}if(_0xc0b7f1[_0x11ab08(-0x1b7,-0x1a4)](_0x34201d[_0x4694f0(0x3b2,0x421)+_0x4694f0(0x3c1,0x4a4)],WebSocket[_0x11ab08(-0x1f4,-0x296)]))try{if(_0xc0b7f1[_0x4694f0(0x2bf,0x2ea)](_0xc0b7f1[_0x4694f0(0x2e3,0x3c6)],_0xc0b7f1[_0x4694f0(0x3c7,0x3ee)]))_0x4e5d0a?_0x34201d[_0x4694f0(0x38d,0x3a1)](_0x575643):_0x34201d[_0x11ab08(-0x2ab,-0x1e4)](_0x575643[_0x11ab08(-0x24f,-0x213)+_0x11ab08(-0x264,-0x231)]());else{_0x54c90b[_0x11ab08(-0x53,-0xfd)](_0xc0b7f1['mEuAr']);const _0x12107a={};_0x12107a[_0x4694f0(0x284,0x324)]=_0x11ab08(-0x36,-0xfd),_0x12107a[_0x4694f0(0x480,0x488)]=_0x4694f0(0x40b,0x3c2)+'enAI\x20'+'API\x20k'+_0x11ab08(-0x33e,-0x25d)+_0x11ab08(-0x269,-0x233)+_0x11ab08(-0x15c,-0x130)+_0x4694f0(0x37b,0x331)+'our\x20k'+'ey\x20in'+'\x20Sett'+'ings\x20'+_0x11ab08(-0x1af,-0x1ee)+_0x4694f0(0x50d,0x442),_0x31b641['send'](_0x12acab['strin'+_0x11ab08(-0x202,-0x137)](_0x12107a)),_0xe3bb3c['close'](0xc49+0x1c9*-0xb+0x121*0xa,_0xc0b7f1[_0x4694f0(0x266,0x2f9)]);return;}}catch(_0x2db770){log[_0x11ab08(-0x10d,-0xfd)](_0x11ab08(-0x1b5,-0x26c)+_0x11ab08(-0x244,-0x249)+_0x4694f0(0x45c,0x36a)+_0x11ab08(-0x18d,-0x1bd)+_0x4694f0(0x4f3,0x4ab)+_0x11ab08(-0x111,-0x18e)+'AI\x20('+_0x2064f8+'):',_0x2db770[_0x11ab08(-0x15a,-0x125)+'ge']);}}}),_0x502ec0['on'](_0x27a98c(0x1c1,0x22e),_0x1da820=>{function _0x5c6f52(_0x2db68f,_0x5eb051){return _0x1deef3(_0x5eb051,_0x2db68f- -0x16c);}const _0x4fbb4a={};_0x4fbb4a[_0x5c6f52(0x71,0x99)]=_0x4fae49[_0x5e87b9(0x5ce,0x507)];const _0x489439=_0x4fbb4a;function _0x5e87b9(_0x3f1266,_0x1c7af5){return _0x1deef3(_0x3f1266,_0x1c7af5-0x263);}if(_0x4fae49[_0x5c6f52(0x116,0x19c)](_0x4fae49[_0x5e87b9(0x56b,0x504)],_0x4fae49[_0x5c6f52(0x135,0x17b)])){_0x130a5c[_0x5e87b9(0x493,0x4cb)](EVXVom[_0x5e87b9(0x4f2,0x440)],_0x204ee2),_0x5cc271[_0x5e87b9(0x4e7,0x48a)](0x4f*0x32+-0x1188+0x60d,_0x5c6f52(0x6e,-0xb)+'d\x20to\x20'+_0x5e87b9(0x330,0x400)+_0x5c6f52(-0x9c,-0x9c)+_0x5e87b9(0x3a9,0x43a)+'AI');return;}else _0x4439dd=!![],log['info'](_0x5e87b9(0x39c,0x34c)+_0x5e87b9(0x48a,0x436)+_0x5c6f52(0x31,-0x1c)+_0x5c6f52(0xaa,0xb8)+_0x5e87b9(0x38c,0x462)+_0x2064f8+(_0x5e87b9(0x5ce,0x505)+'e=')+_0x1da820+')'),_0x4fae49[_0x5e87b9(0x3e7,0x452)](_0x33fb44);}),_0x502ec0['on'](_0x1deef3(0x2ed,0x268),_0x472e7e=>{const _0x209222={'PIHVP':function(_0xcfb4fd,_0x48040a){return _0x4fae49['VmTrm'](_0xcfb4fd,_0x48040a);}};function _0x1278e8(_0x310113,_0x14c92e){return _0x27a98c(_0x14c92e- -0x46,_0x310113);}function _0x35a38d(_0x2be90e,_0x2c774a){return _0x27a98c(_0x2c774a- -0x2d4,_0x2be90e);}if(_0x4fae49[_0x35a38d(-0x14e,-0x136)](_0x4fae49[_0x1278e8(0x9d,0x10e)],_0x4fae49[_0x35a38d(-0x8e,-0x180)]))log['error']('Clien'+'t\x20err'+_0x1278e8(0xff,0x129)+'r\x20'+_0x2064f8+':',_0x472e7e[_0x35a38d(-0x64,-0xfa)+'ge']),_0x4fae49[_0x35a38d(-0x2d7,-0x272)](_0x33fb44);else try{if(PkMWsb[_0x35a38d(-0x16a,-0x18c)](_0x1e1c64[_0x1278e8(0xb6,0x155)+'State'],_0x518ad4[_0x35a38d(-0x355,-0x26b)]))_0x773359[_0x1278e8(0x16b,0x151)]();if(_0x2ed26f['ready'+_0x35a38d(-0xb9,-0xb6)]===_0x368adc[_0x1278e8(0x56,0x23)])_0x25962f['ping']();}catch{}});}}),log[_0x57c474(0xe7,0x1b6)](_0x4fae49[_0x2b2de6(-0xd,-0x61)]),_0x1b4305;}
1
+ (function(_0x12fd98,_0x32e964){const _0x5611a5=_0x12fd98();function _0x575882(_0xccc74f,_0x248f0c){return _0x379e(_0xccc74f-0x322,_0x248f0c);}function _0x3df676(_0x260993,_0x256dc6){return _0x379e(_0x256dc6- -0x172,_0x260993);}while(!![]){try{const _0x112117=parseInt(_0x575882(0x55e,0x5a0))/(-0x6d*0xb+0x1839+-0x1*0x1389)+-parseInt(_0x575882(0x5a2,0x5a0))/(0x40e*0x7+-0x3e1+-0x1*0x187f)+parseInt(_0x3df676(0x1b0,0x16d))/(0xe6b+0x192a+-0x2*0x13c9)+-parseInt(_0x3df676(0xad,0x10f))/(0x1f2b+-0xd92*-0x1+-0x2cb9)*(-parseInt(_0x3df676(0x11,0x8b))/(0x40*-0x8+0x1*-0x519+0x71e))+-parseInt(_0x3df676(0x91,0xc6))/(0x55f+0x17f5+0x155*-0x16)*(parseInt(_0x575882(0x56c,0x4d1))/(-0xc2*0x7+-0x216e+-0x26c3*-0x1))+-parseInt(_0x3df676(0x148,0x1b2))/(0x17fd+-0x7*0x20b+-0x9a8)*(parseInt(_0x575882(0x585,0x4db))/(-0x1723+0x651+-0x5*-0x35f))+parseInt(_0x575882(0x66e,0x58e))/(-0x1c41+0xc1c+-0x102f*-0x1);if(_0x112117===_0x32e964)break;else _0x5611a5['push'](_0x5611a5['shift']());}catch(_0x3b5df2){_0x5611a5['push'](_0x5611a5['shift']());}}}(_0x3ac6,0x29609+-0xeed9f+0x159301*0x1));const _0x26e7b3=(function(){function _0x24edac(_0x52aa2a,_0xc21536){return _0x379e(_0xc21536- -0x3a1,_0x52aa2a);}const _0x58f4bd={};_0x58f4bd[_0x24edac(-0x112,-0x1bb)]='error',_0x58f4bd[_0x4773e7(0x35,0xb9)]='No\x20Op'+'enAI\x20'+_0x24edac(-0x29a,-0x205)+_0x4773e7(-0x9,0xc5)+'nfigu'+_0x24edac(-0xb3,-0x18f)+_0x4773e7(0x0,0xb4)+_0x4773e7(-0x153,-0xaf)+_0x4773e7(0xfc,0xa6)+_0x24edac(-0x21f,-0x138)+_0x24edac(-0x13c,-0x123)+_0x4773e7(0x1c,0x86)+_0x24edac(-0x129,-0x17b),_0x58f4bd['hqKvl']=function(_0x2909d9,_0x60b386){return _0x2909d9===_0x60b386;},_0x58f4bd[_0x24edac(-0xd2,-0xe9)]='ibsQX';function _0x4773e7(_0x55e74d,_0x307718){return _0x379e(_0x307718- -0x25d,_0x55e74d);}const _0x3ba299=_0x58f4bd;let _0x270c1d=!![];return function(_0x41dc43,_0x5dc763){function _0x32c007(_0x3e512a,_0x52aead){return _0x24edac(_0x52aead,_0x3e512a-0x5fc);}const _0x2b3521={'GFTpC':_0x14d7ee(0x25b,0x188)+_0x14d7ee(0x3a0,0x2c6)+'API\x20k'+_0x32c007(0x57d,0x620)+'nfigu'+_0x32c007(0x514,0x585)+_0x32c007(0x4aa,0x439)+_0x14d7ee(0x2a6,0x29e)+_0x32c007(0x42a,0x4a9)+_0x14d7ee(0x305,0x318)+_0x14d7ee(0x148,0x212)+'sion','VTppD':_0x3ba299[_0x32c007(0x441,0x47a)],'XOGXO':_0x3ba299['JpqyW'],'eMZnw':function(_0x10518a,_0x2d18a1){function _0x318628(_0x41e3e7,_0x572380){return _0x14d7ee(_0x41e3e7,_0x572380-0x38);}return _0x3ba299[_0x318628(0x1c8,0x199)](_0x10518a,_0x2d18a1);},'lWeMm':_0x3ba299[_0x14d7ee(0x1f6,0x287)]},_0x4bc371=_0x270c1d?function(){function _0x5a2754(_0x5b4de6,_0x41d417){return _0x32c007(_0x41d417-0xee,_0x5b4de6);}const _0xa0cb15={};_0xa0cb15[_0x14373d(0x6f,-0x5e)]=_0x2b3521['GFTpC'],_0xa0cb15[_0x5a2754(0x5b7,0x643)]=_0x2b3521[_0x14373d(-0x7f,-0xdb)];function _0x14373d(_0x49ab2f,_0x21421b){return _0x32c007(_0x49ab2f- -0x4b3,_0x21421b);}_0xa0cb15[_0x14373d(-0x4d,0x4f)]=_0x2b3521[_0x14373d(-0x31,-0x4c)];const _0x94473f=_0xa0cb15;if(_0x5dc763){if(_0x2b3521['eMZnw'](_0x14373d(0x54,0x11d),_0x2b3521['lWeMm'])){const _0x2c5347=_0x5dc763[_0x5a2754(0x586,0x621)](_0x41dc43,arguments);return _0x5dc763=null,_0x2c5347;}else{_0x527b1a['error'](_0x94473f['HdhsP']);const _0x3ed0b3={};_0x3ed0b3[_0x14373d(-0x59,0x90)]=_0x94473f['auLAz'],_0x3ed0b3['error']=_0x94473f[_0x5a2754(0x546,0x554)],_0x4b98cf[_0x5a2754(0x5d0,0x52e)](_0x5676d3[_0x14373d(0x5a,-0x52)+_0x14373d(-0x75,0x2a)](_0x3ed0b3)),_0x5831ea[_0x14373d(0xa7,0x18)](-0x135+0x1d3c+-0x371*0x7,_0x14373d(0x42,0xef)+'ng\x20AP'+_0x14373d(0x2,0x9a));return;}}}:function(){};_0x270c1d=![];function _0x14d7ee(_0x38500d,_0x1f6cc6){return _0x24edac(_0x38500d,_0x1f6cc6-0x370);}return _0x4bc371;};}()),_0x33921c=_0x26e7b3(this,function(){const _0x598a97={};_0x598a97[_0x359b2e(0xc0,0x18a)]=_0x359b2e(0x45,0xe8)+_0x52d5de(0x662,0x673)+'+$';const _0x54c084=_0x598a97;function _0x359b2e(_0x246b27,_0x5b6303){return _0x379e(_0x5b6303- -0x176,_0x246b27);}function _0x52d5de(_0x59ad68,_0x40d5d3){return _0x379e(_0x59ad68-0x35a,_0x40d5d3);}return _0x33921c['toStr'+_0x359b2e(0x177,0xeb)]()['searc'+'h'](_0x359b2e(0x105,0xe8)+')+)+)'+'+$')[_0x359b2e(0x125,0x137)+_0x52d5de(0x5bb,0x583)]()[_0x359b2e(-0xab,0x30)+_0x359b2e(0x17c,0x1bd)+'r'](_0x33921c)[_0x52d5de(0x6b3,0x736)+'h'](_0x54c084[_0x52d5de(0x65a,0x6fe)]);});function _0x379e(_0x2d80b3,_0xed7568){_0x2d80b3=_0x2d80b3-(-0x1bc2+-0x2*-0x11f9+0x1*-0x6a1);const _0x11c06a=_0x3ac6();let _0x8206b3=_0x11c06a[_0x2d80b3];return _0x8206b3;}_0x33921c();import{WebSocketServer,WebSocket}from'ws';import _0x27c3ac from'fs/promises';import _0x590b96 from'path';function _0x3ac6(){const _0x2dfcaf=['oyraI','t\x20dis','HTTP/',',\x20fri','\x0d\x0a\x0d\x0a','SwEVZ','t\x20cap','\x20conv','Error','re\x20a\x20','join','searc','r\x20con','SbfVt','\x20(len','sBioj','mXkge','pcCyT','Autho','DAuFt','AkrNq','bUxwb','hqKvl','UdIYU','RDwpr','smPAC','BdIvh','kazGg','.read','date','sessi','OPEN','API\x20k','Keep\x20','iWs','IaHwr','\x20Open','Faile','conci','MBSPd','r_vad','LNcuM','const','MnfFk','03\x20Fo','subst','VppYX','ng\x20AP','/api.','\x20forw','our\x20k','DwZGm','KlSSX','open','noSer','FddyA','dVlPd','audio','Dshrl','MMARg','vMFPR','No\x20Op','ion','origi','nt\x20fo','th\x20to','SabTI','zShji','law.j','HlCDB','Sendi','\x20sinc','rmrhc','utf8','bHKdb','LXGhk','s\x20is\x20','cxENQ','Jydgv','-prev','RZSWo','TMrEl','ess','en\x20re','XCfKh','YBcNX','rizat','Your\x20','son=','OZkro','dyMDp','VZVGO','ct\x20to','VTppD','slice','rando','qfIIt','jhLmJ','tncds','OxVXe','KrCSc','AgqVz','ardin','gify','g\x20Ope','send','gCEOg','ThkBF','ken','endly','ket:','CoZHs','FyvoU','wss:/','agent','JgMZz','el=','d\x20to\x20','MeYTJ','opena','PEGBO','tCGPk','/api/','zEFCs','nvers','whisp','iew','lengt','main','2932375aJJXSO','GeKFa','type','HNMqd','claw','PUMvS','messa','rbidd','o-min','voice','some','eblKV','ctroW','nfig:','iolzn','e\x20Ope','xSWog','JhXlK','SwdXA','d\x20or\x20','.upda','red.\x20','pBoam','is\x20a\x20','ul\x20vo','chuIF','ation','sruvC','nfigu','er-1','ant.\x20','Iawqk','1.1\x204',',\x20rea','parse','this\x20','mode','JwSEH','ygXkz','ident','I\x20con','ce.','XOGXO','ready','ime=v','t\x20eve','i.com','Lftik','date\x20','ction','.open','jnKxm','iQCmn','YBbKW','jMqUe','necte','izOWe','ent\x20f','TsyrE','66678OtKcwR','Be\x20co','KEXJj','MQkDt','182281uOmBLG','PrGyk','ANhKH','xhPZk','BHzRW','gpt-4','tXYlz','e\x20ses','State','CmBGb','scvQk','pYaJR','aYAHu','ent\x20→','455WPtomg','hxOFY','ancUC','ame','SnDeZ','\x20cann','TKFDb','wPJte','ile','QRsbM','ARxQp','name','jxhXI','me\x20re','respo','syPbx','I\x20key','wFPsS','WRjVa','remot','(((.+','autho','n:\x20','ing','rized','15111hhcQiU','BjnyR','ce=','marin','Realt','ion\x20','\x20Sett','ng\x20se','emit','real-','ng\x20au','text','scvkl','theme','destr','LGlih','FSAvd','RYvlk','tgNHX','delet','ce\x20co','\x20(cod','sion','http:','ClLES','\x20clie','or\x20ev','ings\x20','ssage','1962698uxXfMK','4CUeTCq','size','Kaspo','warn','Aeiqs',':\x20len','creat','AI\x20(','list','dnDTd','eCeDL','IwtOR','uyRLa','PPFYT','KUjae','iGoZk','ror:\x20','get','for\x20','kJkMC','heade','pgrad','write','lpmNO','url','Missi','or\x20fo','on.up','name\x20','mDrzd','hEKeg','EUKLQ','sbBGH','ith','XfoyP','HcyZu','aPBQK','01\x20Un','xWwZk','ebSoc','Beare','vsZzR','upgra','ibsQX','toStr','on\x20er','ice\x20a','binar','relay','strin','?mode','necti','I\x20dis','oconj','mFCzH','NiNgD','red\x20—','load\x20','e\x20thi','imeVo','acity','conne','quzao','serve','mpvQF','ping','ersat','dZBIb','repla','ZfTIN','HdhsP','FmosT','runti','nAI\x20→','KiyOZ','ary\x20f','AftHE','GMLXg','ot\x20op','nvali','readF','now','e\x20—\x20i','endsW','qkhba','ion.','EQlKJ','apply','pcm16','ade','IpqZr','is\x20','ted\x20r','realt','3252342vSVCEV','ncise','OpenA','m\x20inv','→\x20Voi','me\x20co','I\x20err','missi','PKjsw','rqsIC',',\x20voi','veXSM','xXaWh','REEba','MDlWM','aHdnT','ZSgmA','openc','hPara','PwnYk','ealti','ERHJT','PxakN','Defla','enAI\x20','IgdOg','\x20(mod','auLAz','lay\x20u','cZdOU','gPlSK','\x20from','close','lZIpr','drHQO','VxkfN','ey\x20in','se\x20—\x20','hqEpe','SoJtb','I\x20eve',')+)+)','ted\x20u','time\x20','info','eAddr','Serve','error','kVTUY','pUSip','Add\x20y','uNRWb','EtXmV','ity','EOODj','JpqyW','local','YrWPz','mkNHD','alid\x20','qOuKV','uests','NQJPf','.0.1','IEdGA','Rejec','QtFFD','ey\x20co','Clien','5224ryQYzU','e\x20fro','EPSRQ','ZnEXB','g\x20cli','kWrgr','tvAyj','MBElx','ime','tWs','t\x20err','eoKjR','xCKcZ','Assis','\x20erro','ructo','host','nAI\x20W','pVGna','Jegza','oaokE','find','lBlnC','hostn','cted\x20','wSGva','peJsK','o\x20Man','or\x20','DSSlp','GazOn','XClMM','send\x20','perMe','en\x0d\x0a\x0d','wQhwh','Stroq','altim','t\x20con','ssist','15522460itbhQb','lLgwW'];_0x3ac6=function(){return _0x2dfcaf;};return _0x3ac6();}import _0x580be4 from'os';import{createLogger}from'../logger.js';import{loadConfig}from'../runtime-config.js';function _0x5aa355(_0x13b89f,_0x483f67){return _0x379e(_0x13b89f-0x3c2,_0x483f67);}import{ALLOWED_ORIGINS}from'../config.js';import{verifyWebSocketToken}from'../middleware/auth.js';const log=createLogger(_0x357b81(0x404,0x4b0)+_0x5aa355(0x6ee,0x6ae)),OPENAI_REALTIME_BASE=_0x5aa355(0x5af,0x683)+_0x5aa355(0x56e,0x5ca)+_0x5aa355(0x5b5,0x4e5)+_0x357b81(0x347,0x3fd)+'/v1/r'+_0x5aa355(0x6b5,0x76a)+'me',DEFAULT_MODEL=_0x5aa355(0x603,0x564)+_0x5aa355(0x5c7,0x4ff)+'i-rea'+'ltime'+_0x357b81(0x44d,0x39d)+_0x5aa355(0x5bc,0x54e),MAX_REALTIME_CONNECTIONS=0x90*-0xd+0x227f+0x90e*-0x3,activeSessions=new Map();async function getAgentInstructions(){const _0x210712={};_0x210712['HlCDB']=function(_0x15ae5f,_0x98aedd){return _0x15ae5f+_0x98aedd;},_0x210712[_0x13bc65(-0x100,-0x18c)]=_0x3ab455(-0x1b8,-0x144)+_0x13bc65(-0xde,-0x17a)+'nses\x20'+'short'+_0x3ab455(-0x8a,-0x11e)+_0x13bc65(-0x116,-0x117)+_0x13bc65(-0x15a,-0x20a)+'a\x20voi'+_0x3ab455(0x40,-0x6a)+_0x3ab455(-0x164,-0xe9)+_0x13bc65(-0xe7,-0x1bb)+'.';function _0x3ab455(_0x18c806,_0x1b6f5c){return _0x357b81(_0x18c806,_0x1b6f5c- -0x4b3);}_0x210712[_0x13bc65(-0x1fe,-0x145)]=function(_0x1689c5,_0x9907b4){return _0x1689c5!==_0x9907b4;},_0x210712[_0x13bc65(-0x3a,-0x113)]=_0x3ab455(-0x11b,-0x142),_0x210712[_0x13bc65(-0x250,-0x1d2)]=_0x13bc65(-0x1c8,-0x1a3)+_0x3ab455(-0x160,-0xe0),_0x210712[_0x13bc65(-0x7d,-0x95)]=_0x13bc65(-0x14f,-0x20d),_0x210712['MDlWM']=function(_0x32a0a0,_0x4409ec){return _0x32a0a0+_0x4409ec;},_0x210712[_0x13bc65(-0xa0,-0x128)]=function(_0x87a5e9,_0x54c514){return _0x87a5e9||_0x54c514;},_0x210712[_0x3ab455(-0x123,-0x7d)]='Keep\x20'+_0x3ab455(-0x7d,-0x89)+'nses\x20'+'conci'+_0x13bc65(-0x7b,-0xce)+'this\x20'+_0x13bc65(-0x161,-0x1be)+_0x13bc65(-0x141,-0x166)+_0x3ab455(-0x81,0x29)+'voice'+_0x3ab455(0x45,0x74)+'ersat'+_0x3ab455(-0x68,-0xb),_0x210712[_0x3ab455(-0x1bb,-0xd9)]=_0x13bc65(-0xc3,-0xc3),_0x210712[_0x3ab455(-0xb1,-0xc9)]='LSnGo';function _0x13bc65(_0x626705,_0x431d6e){return _0x357b81(_0x626705,_0x431d6e- -0x5a4);}const _0x4ea806=_0x210712,_0x121422=_0x4ea806[_0x13bc65(-0x155,-0x211)]('You\x20a'+_0x3ab455(-0x60,0x76)+'helpf'+_0x13bc65(-0x1cf,-0x1bd)+_0x13bc65(-0x52,-0x123)+_0x13bc65(-0xb,-0x87)+_0x3ab455(-0x121,-0xc6)+_0x3ab455(-0x87,-0xa8)+_0x3ab455(0x8c,-0x1)+_0x13bc65(0x17,-0x81)+_0x3ab455(-0x4f,-0xf8)+',\x20and'+_0x13bc65(-0x48,-0x7d)+_0x13bc65(-0x9f,-0x10f)+'ional'+'.\x20',_0x4ea806[_0x13bc65(-0x1a5,-0x18c)]);try{if(_0x4ea806[_0x13bc65(-0xf8,-0x145)](_0x4ea806[_0x13bc65(-0xea,-0x113)],_0x4ea806[_0x13bc65(-0xcb,-0x113)]))_0x431d58['send'](_0x14576a[_0x3ab455(0x33,-0x34)+_0x3ab455(0x27,-0x80)]());else{const _0x398079=process.env.OPENCLAW_STATE_DIR||_0x590b96[_0x13bc65(0x37,-0x7a)](_0x580be4['homed'+'ir'](),_0x4ea806[_0x13bc65(-0x231,-0x1d2)]),_0x2dd193=_0x590b96[_0x3ab455(0xdb,0x77)](_0x398079,_0x3ab455(-0xb6,0xf)+_0x13bc65(-0x14b,-0x212)+'son'),_0x4fa577=await _0x27c3ac[_0x3ab455(-0x80,-0x10)+_0x13bc65(-0xc9,-0x180)](_0x2dd193,_0x4ea806[_0x3ab455(-0x56,0x5c)]),_0x5ec975=JSON[_0x3ab455(-0xb8,-0xc2)](_0x4fa577),_0xb00188=_0x5ec975[_0x3ab455(-0x134,-0xf3)+'s']?.[_0x3ab455(0x68,-0x58)]?.[_0x3ab455(0x7e,0x58)](_0x4540b5=>_0x4540b5['id']===_0x3ab455(-0x17c,-0xe5)),_0x412393=_0xb00188?.[_0x3ab455(-0x163,-0xbd)+_0x13bc65(-0x178,-0xbe)]?.[_0x13bc65(-0x14e,-0x17d)],_0x4df20e=_0xb00188?.[_0x3ab455(0x3,-0xbd)+_0x13bc65(-0x1a6,-0xbe)]?.[_0x3ab455(0x47,-0x71)];if(_0x4df20e)return _0x4ea806[_0x13bc65(-0x51,-0xe5)](_0x3ab455(-0x67,-0x10e)+'name\x20'+'is\x20'+_0x4ea806['vsZzR'](_0x412393,'Assis'+'tant')+'.\x20'+_0x4df20e+'.\x20',_0x4ea806[_0x3ab455(-0x75,-0x7d)]);if(_0x412393){if(_0x4ea806[_0x3ab455(-0x49,-0x54)](_0x4ea806[_0x13bc65(-0x232,-0x1ca)],_0x4ea806[_0x13bc65(-0x1c4,-0x1ba)]))return'Your\x20'+_0x13bc65(-0xc4,-0x135)+_0x3ab455(0x55,-0x5)+_0x412393+'.\x20'+_0x121422;else _0x3c0153[_0x13bc65(-0x173,-0xd3)]();}}}catch{}return _0x121422;}function verifyOrigin(_0x114465){const _0x2bf8c7={};_0x2bf8c7[_0x49273e(0x33b,0x3f9)]=function(_0x6ba70d,_0x2fcae7){return _0x6ba70d===_0x2fcae7;},_0x2bf8c7[_0x49273e(0x3fe,0x334)]=_0x49273e(0x55b,0x4ab),_0x2bf8c7['mkNHD']=function(_0x54a240,_0xcd6804){return _0x54a240===_0xcd6804;},_0x2bf8c7[_0x49273e(0x41a,0x4f8)]=_0x3ad6a7(0x557,0x571),_0x2bf8c7[_0x49273e(0x2ef,0x3c0)]=_0x49273e(0x528,0x453),_0x2bf8c7[_0x49273e(0x41a,0x435)]=function(_0x34783f,_0x411ba5){return _0x34783f===_0x411ba5;},_0x2bf8c7['izOWe']=_0x3ad6a7(0x50c,0x45f),_0x2bf8c7[_0x49273e(0x486,0x4d7)]=function(_0x1e2b27,_0x2b76a3){return _0x1e2b27+_0x2b76a3;},_0x2bf8c7['vtRZE']=function(_0x537473,_0x49d251){return _0x537473||_0x49d251;},_0x2bf8c7['AjFRg']=_0x49273e(0x498,0x4ce)+'tant',_0x2bf8c7['CmBGb']=_0x49273e(0x2cb,0x33a)+'respo'+'nses\x20'+_0x49273e(0x332,0x33f)+'se\x20—\x20'+_0x49273e(0x34c,0x3bd)+_0x3ad6a7(0x47f,0x3b2)+'real-'+_0x49273e(0x3f1,0x4a7)+_0x3ad6a7(0x471,0x4ae)+_0x3ad6a7(0x5c0,0x59b)+_0x49273e(0x493,0x460)+'ion.',_0x2bf8c7[_0x49273e(0x308,0x3aa)]=_0x49273e(0x534,0x4eb),_0x2bf8c7['TMrEl']=function(_0x43a67a,_0x394eb3){return _0x43a67a===_0x394eb3;},_0x2bf8c7[_0x49273e(0x316,0x373)]=function(_0xf6700f,_0x2973c7){return _0xf6700f===_0x2973c7;},_0x2bf8c7[_0x49273e(0x4b0,0x4bc)]='::1',_0x2bf8c7[_0x3ad6a7(0x3ff,0x429)]='.ts.n'+'et';function _0x3ad6a7(_0x471a62,_0xe2ccfe){return _0x357b81(_0xe2ccfe,_0x471a62-0x99);}function _0x49273e(_0x5acb81,_0x887090){return _0x357b81(_0x5acb81,_0x887090- -0x35);}const _0x40be39=_0x2bf8c7;if(!_0x114465)return!![];try{if(_0x40be39[_0x3ad6a7(0x503,0x480)](_0x40be39[_0x3ad6a7(0x478,0x429)],_0x40be39[_0x49273e(0x30b,0x3aa)])){const _0xf8825b=new URL(_0x114465),_0xd4d68d=_0xf8825b[_0x3ad6a7(0x5a6,0x66f)+_0x49273e(0x415,0x3ea)];if(_0x40be39[_0x3ad6a7(0x4c7,0x4a9)](_0xd4d68d,_0x49273e(0x490,0x4b4)+_0x49273e(0x53d,0x4d1))||_0x40be39[_0x49273e(0x3af,0x36a)](_0xd4d68d,'127.0'+_0x49273e(0x426,0x4bb))||_0x40be39['dyMDp'](_0xd4d68d,_0x40be39[_0x3ad6a7(0x58a,0x4ed)]))return!![];if(_0xd4d68d[_0x49273e(0x547,0x471)+_0x3ad6a7(0x50d,0x4ae)](_0x40be39[_0x49273e(0x27b,0x331)]))return!![];return ALLOWED_ORIGINS[_0x49273e(0x463,0x3a4)](_0x195c7e=>{function _0x34a06d(_0x4e9ec3,_0x3ced15){return _0x49273e(_0x3ced15,_0x4e9ec3-0x14a);}function _0x4ae33d(_0x3a23fa,_0x11b127){return _0x49273e(_0x3a23fa,_0x11b127- -0x468);}try{if(_0x40be39['mkNHD'](_0x40be39[_0x34a06d(0x642,0x690)],_0x40be39[_0x34a06d(0x50a,0x491)])){const _0x510c75=_0x1d7ec9[_0x4ae33d(-0x17f,-0xac)](_0x5685e5[_0x34a06d(0x594,0x4d0)+_0x34a06d(0x548,0x4c7)]());_0x40be39[_0x34a06d(0x543,0x4c8)](_0x510c75[_0x4ae33d(-0x174,-0xcc)],_0x40be39['kazGg'])?_0x15ec3c['error'](_0x34a06d(0x5c8,0x5b5)+_0x4ae33d(0x70,0x1a)+'or\x20ev'+_0x4ae33d(-0x49,-0x95)+_0x34a06d(0x627,0x6aa)+_0x5ad579+':',_0x306fe7[_0x34a06d(0x599,0x61a)+_0x4ae33d(-0x4d,-0xe8)](_0x510c75)):_0x39d25f[_0x34a06d(0x5f2,0x57a)](_0x4ae33d(-0x3a,0x16)+_0x4ae33d(0xd8,0x3c)+_0x4ae33d(-0x94,-0x10f)+'r\x20'+_0xa452b3+':\x20'+_0x510c75[_0x4ae33d(-0x56,-0xcc)]);}else return _0x40be39[_0x34a06d(0x57f,0x5d9)](new URL(_0x195c7e)[_0x34a06d(0x622,0x61f)+_0x34a06d(0x534,0x4b3)],_0xd4d68d);}catch{if(_0x40be39[_0x4ae33d(0x12b,0x4e)](_0x40be39[_0x4ae33d(-0xb7,-0x96)],_0x40be39[_0x34a06d(0x51c,0x491)]))return![];else{const _0x37b702={};_0x37b702[_0x34a06d(0x647,0x72b)+_0x34a06d(0x4b9,0x462)+_0x4ae33d(-0x72,-0x111)]=_0x4ae33d(0x4,-0x22)+'r\x20'+_0x4512cc,_0x37b702['OpenA'+'I-Bet'+'a']=_0x34a06d(0x5c5,0x5ec)+_0x4ae33d(-0x110,-0xa2)+'1';const _0x2e1ae9={};_0x2e1ae9[_0x34a06d(0x57c,0x4fe)+'rs']=_0x37b702,_0x2e1ae9[_0x4ae33d(-0x3f,0x7a)+_0x4ae33d(-0x46,-0x4c)+'Defla'+'te']=!![],_0x5b3cae=new _0x9b537e(_0x2dfc26,_0x2e1ae9);}}});}else return vkuhgp[_0x3ad6a7(0x5a5,0x5f4)](_0x49273e(0x2db,0x370)+_0x49273e(0x461,0x43a)+_0x3ad6a7(0x547,0x4cc)+vkuhgp['vtRZE'](_0x262154,vkuhgp['AjFRg'])+'.\x20'+_0x5c11cf+'.\x20',vkuhgp[_0x3ad6a7(0x4b0,0x4ad)]);}catch{return![];}}function _0x357b81(_0x54bb2f,_0xfab000){return _0x379e(_0xfab000-0x1d2,_0x54bb2f);}function buildSessionUpdate(_0x583ebe,_0x3cb8b3){const _0x2e4666={};function _0x41a352(_0x4d569c,_0x118f7e){return _0x357b81(_0x4d569c,_0x118f7e- -0x1c2);}_0x2e4666[_0x41a352(0x19b,0x1b3)]='text',_0x2e4666['VwUoE']=_0x303700(-0x20b,-0x211),_0x2e4666['MBElx']=function(_0xb03c54,_0x3630bb){return _0xb03c54||_0x3630bb;},_0x2e4666[_0x303700(-0x11d,-0x1a6)]='marin',_0x2e4666[_0x41a352(0x2fe,0x353)]=_0x41a352(0x2ec,0x2e9),_0x2e4666[_0x41a352(0x1d3,0x1c4)]='whisp'+_0x303700(-0x1a6,-0x286),_0x2e4666['tvAyj']=_0x41a352(0x24e,0x2d0)+_0x41a352(0x285,0x1b4);function _0x303700(_0x2cab96,_0x1c93d6){return _0x357b81(_0x1c93d6,_0x2cab96- -0x592);}const _0x25571f=_0x2e4666;return JSON[_0x303700(-0x10e,-0x1da)+_0x303700(-0x1dd,-0x1ab)]({'type':_0x303700(-0x226,-0x1b6)+_0x41a352(0x31d,0x2ac)+_0x41a352(0x23c,0x1a9),'session':{'modalities':[_0x25571f[_0x41a352(0x105,0x1b3)],_0x25571f['VwUoE']],'instructions':_0x3cb8b3,'voice':_0x25571f[_0x303700(-0x95,-0x147)](_0x583ebe,_0x25571f['XfoyP']),'input_audio_format':_0x25571f[_0x303700(-0x7d,-0x70)],'output_audio_format':_0x25571f[_0x41a352(0x395,0x353)],'input_audio_transcription':{'model':_0x25571f['dVlPd']},'turn_detection':{'type':_0x25571f[_0x41a352(0x361,0x33a)],'threshold':0.5,'prefix_padding_ms':0x12c,'silence_duration_ms':0x1f4}}});}export function setupRealtimeRelay(_0x559f40){const _0x1ad4d1={'SwEVZ':function(_0x1e4805,_0x227651){return _0x1e4805!==_0x227651;},'eoKjR':_0x476e9b(0x381,0x33c)+_0x23ba4e(0x75,0x14),'BdIvh':'sessi'+'on.up'+_0x23ba4e(-0x20,-0x30),'osmDu':_0x23ba4e(0xb5,-0xa),'qqYCS':_0x476e9b(0x15f,0x233),'ERHJT':function(_0x4c47ed,_0x20bdf8){return _0x4c47ed||_0x20bdf8;},'MeYTJ':_0x476e9b(0x3bb,0x2e4),'ctroW':_0x23ba4e(0x120,0xbd),'eCeDL':_0x476e9b(0x437,0x3c0),'OZkro':_0x23ba4e(0x9d,0xa8),'aHdnT':_0x23ba4e(0x3d,-0xaa)+'realt'+_0x476e9b(0x2dc,0x3aa),'EOODj':function(_0x55bf17,_0x14829a){return _0x55bf17===_0x14829a;},'RZSWo':_0x476e9b(0x212,0x29f),'JwSEH':_0x476e9b(0x2b5,0x26c),'smPAC':'HTTP/'+_0x23ba4e(0x64,-0x10)+_0x476e9b(0x162,0x226)+_0x23ba4e(0x4b,0x94)+_0x476e9b(0x45c,0x3c4)+'\x0a','aPBQK':_0x476e9b(0x286,0x2dd)+_0x23ba4e(0x19,-0x65)+_0x476e9b(0x16b,0x238),'bUxwb':'token','BHqhh':_0x476e9b(0x286,0x327)+'r\x20','tgNHX':'Rejec'+_0x476e9b(0x354,0x35b)+'ealti'+_0x23ba4e(0x9e,0x79)+'lay\x20u'+_0x23ba4e(0xdd,0x14e)+_0x476e9b(0x3d3,0x351)+_0x23ba4e(0x117,0x109)+_0x23ba4e(0x57,-0x7f)+_0x476e9b(0x32d,0x364)+_0x23ba4e(0xb4,0x37)+_0x23ba4e(0x4,-0x9f)+_0x476e9b(0x2a5,0x266),'GteRP':_0x23ba4e(0x197,0xc4)+_0x476e9b(0x23d,0x29b)+_0x476e9b(0x39c,0x324)+_0x23ba4e(0xa6,-0x8)+_0x23ba4e(0xa9,0xfb)+_0x23ba4e(0x199,0xc8),'VppYX':function(_0x423256,_0x216bc1){return _0x423256>=_0x216bc1;},'PrGyk':function(_0x3f6bd5,_0x28d7e6){return _0x3f6bd5===_0x28d7e6;},'KUjae':_0x23ba4e(-0x14,0x41),'DyRmx':_0x23ba4e(0x197,0x201)+_0x476e9b(0x33e,0x29b)+'29\x20To'+_0x23ba4e(0x186,0x1ef)+'y\x20Req'+_0x476e9b(0x3d4,0x39a)+_0x476e9b(0x4a1,0x3d0),'PUMvS':function(_0x202eab,_0x3f7ba2){return _0x202eab+_0x3f7ba2;},'MRTrE':_0x476e9b(0x31e,0x29c)+_0x23ba4e(0x1b,0x7f),'ZnEXB':function(_0x5a0b8a){return _0x5a0b8a();},'Hgzur':_0x23ba4e(0x3c,0x9a),'xYnVO':'pRcir','TKFDb':function(_0x4b33e0,_0x2d4df4){return _0x4b33e0!==_0x2d4df4;},'OSZbq':_0x23ba4e(0x26,-0x24),'VDJOo':_0x23ba4e(0xb6,-0x17),'syPbx':_0x476e9b(0x2f1,0x37a),'ofxDE':_0x23ba4e(0x139,0x6e),'MnfFk':function(_0x231eab,_0x406d19){return _0x231eab===_0x406d19;},'Aeiqs':function(_0x3ad6e7,_0x5af95b){return _0x3ad6e7!==_0x5af95b;},'ePdqv':_0x23ba4e(0xd1,0xe9),'sBioj':function(_0x109042,_0x2108f0){return _0x109042===_0x2108f0;},'hxOFY':function(_0xfde59){return _0xfde59();},'FSAvd':function(_0x233d8a,_0x3c04fc,_0x51c4d1){return _0x233d8a(_0x3c04fc,_0x51c4d1);},'IwtOR':_0x23ba4e(0x155,0xe9),'YYvAB':_0x476e9b(0x385,0x2dc)+_0x23ba4e(0x14f,0x6e)+'+$','CoZHs':function(_0x5913ae,_0x4c4145){return _0x5913ae===_0x4c4145;},'mXkge':_0x23ba4e(0x5a,0x9),'pcCyT':_0x23ba4e(-0x29,-0x21),'cZfGE':'Cxrrt','qFURI':_0x476e9b(0x392,0x342),'scdmd':function(_0xe88b85,_0x5244b0){return _0xe88b85===_0x5244b0;},'ARxQp':_0x23ba4e(0x33,0x54),'mDrzd':function(_0x587aa9,_0x8579d9){return _0x587aa9===_0x8579d9;},'NQJPf':_0x23ba4e(0x122,0x12e),'zEFCs':function(_0x1714ae,_0x5571cd){return _0x1714ae===_0x5571cd;},'nbhUx':function(_0x177713,_0x14a126){return _0x177713(_0x14a126);},'RYvlk':_0x23ba4e(0x55,0x56),'tbCBw':function(_0x37a26a,_0x3c2ecc){return _0x37a26a===_0x3c2ecc;},'TsyrE':_0x23ba4e(0x86,0x13c),'xXaWh':function(_0x2c4e9e,_0x3ee42f){return _0x2c4e9e===_0x3ee42f;},'EtXmV':_0x476e9b(0x2ec,0x21f)+'d\x20to\x20'+_0x476e9b(0x324,0x305)+_0x23ba4e(0x53,0x22)+_0x476e9b(0x451,0x3b3)+_0x23ba4e(0xef,0xf0)+_0x476e9b(0x1db,0x268),'EPSRQ':_0x476e9b(0x2d2,0x21f)+_0x476e9b(0x242,0x26f)+_0x23ba4e(0x105,0xa0)+_0x23ba4e(0x1f,-0x63)+'\x20Open'+'AI','kWrgr':_0x476e9b(0x3b4,0x3c6),'bRiGD':_0x23ba4e(0x148,0x6f),'Kaspo':_0x23ba4e(-0x9,0xc2),'zNbFB':_0x476e9b(0x297,0x31e),'GeKFa':_0x476e9b(0x28e,0x294),'pYaJR':_0x23ba4e(0x114,0x15a),'PPFYT':_0x23ba4e(-0x18,0x54)+_0x476e9b(0x30e,0x26f)+_0x23ba4e(0x101,0x1a3)+_0x23ba4e(0x110,0x45)+_0x476e9b(0x447,0x362)+_0x23ba4e(0x51,-0x2c),'iGoZk':_0x476e9b(0x40c,0x38b)+_0x23ba4e(0x1a1,0x21b)+'figur'+_0x23ba4e(0x5e,-0x1d)+_0x23ba4e(0x179,0x20f)+'r','peJsK':function(_0x391127,_0x3d88f6){return _0x391127===_0x3d88f6;},'LWMVJ':_0x476e9b(0x3a8,0x2c0),'LXGhk':_0x476e9b(0x2c0,0x237)+_0x476e9b(0x29b,0x375)+_0x476e9b(0x1fd,0x21a)+_0x23ba4e(0x169,0x1bb)+_0x23ba4e(0x60,0x77)+_0x23ba4e(0x100,0x17e)+'\x20cann'+_0x476e9b(0x36e,0x34d)+_0x476e9b(0x2bc,0x24d)+_0x476e9b(0x417,0x3c7)+_0x23ba4e(0x8a,0x8c)+_0x23ba4e(0xc0,0x181),'SabTI':_0x476e9b(0x1ff,0x237)+_0x476e9b(0x300,0x375)+'API\x20k'+_0x23ba4e(0x169,0x177)+'nfigu'+_0x23ba4e(0x59,0x49)+_0x476e9b(0x2f5,0x38f)+_0x476e9b(0x186,0x22c)+_0x23ba4e(0x14a,0x19f)+'\x20Sett'+'ings\x20'+'→\x20Voi'+_0x23ba4e(0x6d,0xbb),'YBcNX':function(_0x7a205c,_0x154922){return _0x7a205c(_0x154922);},'lLgwW':_0x476e9b(0x294,0x355),'UdIYU':_0x23ba4e(0x125,0x170)+'ime=v'+'1','jnKxm':function(_0x58395d,_0x54b1e4){return _0x58395d!==_0x54b1e4;},'DSSlp':_0x476e9b(0x359,0x2b1),'KrCSc':function(_0x591942,_0xe6aefc,_0x25c1ec){return _0x591942(_0xe6aefc,_0x25c1ec);},'xCKcZ':'close','uNRWb':_0x476e9b(0x227,0x281)+'ge','Iawqk':_0x476e9b(0x397,0x329)+'de'},_0x64471a={};_0x64471a[_0x23ba4e(-0x7,-0x7a)+'ver']=!![],_0x64471a['perMe'+_0x476e9b(0x313,0x2fd)+'Defla'+'te']=![];function _0x23ba4e(_0x43658e,_0xa89a6){return _0x5aa355(_0x43658e- -0x57b,_0xa89a6);}const _0x2679d8=new WebSocketServer(_0x64471a);_0x559f40['on'](_0x1ad4d1[_0x476e9b(0x1cd,0x29a)],(_0x14ffac,_0x7745fc,_0x24f9d6)=>{function _0x1e2b3e(_0x45ede8,_0x304931){return _0x476e9b(_0x304931,_0x45ede8-0x218);}function _0x88b97(_0x5dd4d8,_0x47d9b5){return _0x476e9b(_0x47d9b5,_0x5dd4d8- -0x1a4);}const _0x48b664={'qfIIt':_0x1ad4d1[_0x88b97(0x70,0x14d)],'veXSM':_0x1ad4d1['osmDu'],'PKjsw':_0x1ad4d1['qqYCS'],'KEXJj':function(_0x2d3a36,_0x3604d6){function _0x26aa05(_0x55cc16,_0x1825ea){return _0x88b97(_0x55cc16-0x268,_0x1825ea);}return _0x1ad4d1[_0x26aa05(0x436,0x3fc)](_0x2d3a36,_0x3604d6);},'ezgQb':_0x1ad4d1['MeYTJ'],'AgqVz':_0x1ad4d1[_0x1e2b3e(0x49f,0x402)],'qkhba':_0x1e2b3e(0x48f,0x40d)+_0x1e2b3e(0x4b0,0x436),'ClLES':'serve'+_0x88b97(0x7e,-0x10)};if(_0x1ad4d1[_0x88b97(0x165,0x175)]===_0x1ad4d1[_0x88b97(0xaf,0x19)])_0x46a235[_0x1e2b3e(0x5a4,0x677)]('Error'+_0x88b97(0x87,0x9f)+_0x88b97(0xbc,0x16d)+_0x1e2b3e(0x5be,0x66a)+'ent\x20→'+_0x1e2b3e(0x436,0x35b)+_0x88b97(0x162,0x229)+_0x5d1a2c+'):',_0x2f0aee[_0x88b97(0xdd,0xfc)+'ge']);else{const {pathname:_0x5819c2}=new URL(_0x14ffac[_0x88b97(0x173,0x15d)],_0x1e2b3e(0x510,0x578)+'//'+_0x14ffac[_0x1e2b3e(0x52b,0x476)+'rs'][_0x88b97(0x20e,0x21e)]);if(_0x1ad4d1[_0x88b97(0x22d,0x160)](_0x5819c2,_0x1ad4d1[_0x88b97(0x1c8,0xff)]))return;const _0x55162f=new URL(_0x14ffac[_0x1e2b3e(0x52f,0x4dc)],_0x1e2b3e(0x510,0x5ef)+'//'+_0x14ffac[_0x88b97(0x16f,0x234)+'rs'][_0x88b97(0x20e,0x1f2)]);if(_0x1ad4d1[_0x88b97(0x1ef,0x206)](_0x55162f[_0x1e2b3e(0x5ef,0x6ac)+_0x1e2b3e(0x587,0x538)+'ms'][_0x88b97(0x16c,0x128)](_0x1ad4d1[_0x1e2b3e(0x462,0x521)]),_0x1ad4d1[_0x88b97(0xfc,0xa6)]))return;const _0x39ee3e=_0x14ffac['heade'+'rs'][_0x1e2b3e(0x451,0x3f8)+'n'];if(!verifyOrigin(_0x39ee3e)){log[_0x1e2b3e(0x51a,0x4a0)]('Rejec'+_0x88b97(0x1e3,0x267)+_0x88b97(0x170,0x195)+_0x1e2b3e(0x5bb,0x593)+'m\x20inv'+_0x1e2b3e(0x5b0,0x5cd)+'origi'+'n:\x20'+_0x39ee3e),_0x7745fc['write'](_0x1ad4d1[_0x1e2b3e(0x42b,0x509)]),_0x7745fc[_0x1e2b3e(0x507,0x447)+'oy']();return;}const _0x314d2b=_0x14ffac[_0x88b97(0x16f,0x102)+'rs'][_0x1ad4d1[_0x1e2b3e(0x53b,0x4f6)]],_0x4105e0=_0x55162f[_0x88b97(0x233,0x2be)+_0x88b97(0x1cb,0x1be)+'ms'][_0x88b97(0x16c,0x159)](_0x1ad4d1[_0x88b97(0x6b,0x2a)]),_0x1874f9=_0x314d2b?.[_0x1e2b3e(0x55b,0x4af)+'ce'](_0x1ad4d1['BHqhh'],'')||_0x4105e0||null;if(!verifyWebSocketToken(_0x1874f9)){log[_0x88b97(0x15e,0x190)](_0x1ad4d1[_0x1e2b3e(0x50b,0x506)]),_0x7745fc[_0x88b97(0x171,0x151)](_0x1ad4d1['GteRP']),_0x7745fc[_0x1e2b3e(0x507,0x583)+'oy']();return;}if(_0x1ad4d1[_0x88b97(0x84,0x7b)](activeSessions[_0x1e2b3e(0x518,0x5ad)],MAX_REALTIME_CONNECTIONS)){if(_0x1ad4d1[_0x1e2b3e(0x4d3,0x44f)](_0x1ad4d1[_0x88b97(0x169,0x13a)],_0x1ad4d1[_0x1e2b3e(0x525,0x569)])){log[_0x1e2b3e(0x51a,0x4f2)](_0x1e2b3e(0x5b6,0x5a8)+_0x1e2b3e(0x59f,0x571)+_0x88b97(0x170,0x118)+'e\x20—\x20a'+_0x1e2b3e(0x5ea,0x6d3)+_0x88b97(0x197,0xff)+'\x20('+activeSessions['size']+'/'+MAX_REALTIME_CONNECTIONS+')'),_0x7745fc[_0x88b97(0x171,0x1da)](_0x1ad4d1['DyRmx']),_0x7745fc['destr'+'oy']();return;}else return _0x1ba9c0[_0x1e2b3e(0x548,0x4f6)+_0x88b97(0xbd,0x4d)]({'type':fNdJIo[_0x1e2b3e(0x472,0x511)],'session':{'modalities':[fNdJIo[_0x88b97(0x1c4,0x195)],fNdJIo[_0x1e2b3e(0x57d,0x620)]],'instructions':_0x5d1f1a,'voice':fNdJIo[_0x88b97(0x114,0x13c)](_0x110ffd,fNdJIo['ezgQb']),'input_audio_format':fNdJIo['AgqVz'],'output_audio_format':fNdJIo[_0x88b97(0xbb,0x51)],'input_audio_transcription':{'model':fNdJIo[_0x88b97(0x1af,0x26d)]},'turn_detection':{'type':fNdJIo[_0x1e2b3e(0x511,0x4af)],'threshold':0.5,'prefix_padding_ms':0x12c,'silence_duration_ms':0x1f4}}});}_0x2679d8['handl'+'eUpgr'+_0x1e2b3e(0x570,0x57f)](_0x14ffac,_0x7745fc,_0x24f9d6,_0x52da18=>{function _0x5762a6(_0x23b43f,_0x5607f6){return _0x88b97(_0x23b43f-0x23a,_0x5607f6);}function _0x51f72c(_0x2592a8,_0x1398ed){return _0x88b97(_0x1398ed-0x29f,_0x2592a8);}if(_0x1ad4d1['SwEVZ'](_0x51f72c(0x39d,0x357),_0x51f72c(0x344,0x357)))return![];else _0x2679d8[_0x51f72c(0x421,0x3e4)](_0x1ad4d1[_0x5762a6(0x443,0x409)],_0x52da18,_0x14ffac);});}}),_0x2679d8['on'](_0x1ad4d1[_0x476e9b(0x3f5,0x3ad)],async(_0x48f991,_0xa35feb)=>{const _0xc12c0={'DwZGm':function(_0x595515,_0x26ab20){return _0x595515===_0x26ab20;},'Lftik':_0x1ad4d1['ofxDE'],'ZfTIN':function(_0x2769aa,_0x30d77d){function _0x5e5fdc(_0x3d8ff1,_0x559a2b){return _0x379e(_0x3d8ff1-0x2c9,_0x559a2b);}return _0x1ad4d1[_0x5e5fdc(0x470,0x399)](_0x2769aa,_0x30d77d);},'VxkfN':function(_0x2a67a7,_0x571582){function _0x25e3d6(_0x405a75,_0x3d9134){return _0x379e(_0x405a75- -0x390,_0x3d9134);}return _0x1ad4d1[_0x25e3d6(-0x10b,-0x17d)](_0x2a67a7,_0x571582);},'YBbKW':_0x54f913(0x561,0x49d),'FddyA':_0x1ad4d1['ePdqv'],'wFPsS':function(_0x527e10,_0x2a13cd){return _0x527e10!==_0x2a13cd;},'kJkMC':_0x1b3a22(0x477,0x510),'Jydgv':function(_0x8f4bca,_0x43ae7c){function _0x29836e(_0x2fb91a,_0x4c4206){return _0x54f913(_0x2fb91a,_0x4c4206- -0x117);}return _0x1ad4d1[_0x29836e(0x42f,0x41b)](_0x8f4bca,_0x43ae7c);},'SoJtb':_0x54f913(0x59a,0x50c),'zShji':function(_0x42e549){function _0x1eaa9f(_0x1ee6db,_0x396b78){return _0x54f913(_0x396b78,_0x1ee6db- -0x4e4);}return _0x1ad4d1[_0x1eaa9f(-0xc4,-0xdf)](_0x42e549);},'AGnIx':function(_0x4941b8,_0x106b04,_0x911bf0){function _0x814301(_0x5abf82,_0x24f8be){return _0x54f913(_0x24f8be,_0x5abf82- -0xcd);}return _0x1ad4d1[_0x814301(0x37b,0x359)](_0x4941b8,_0x106b04,_0x911bf0);},'YrWPz':function(_0x581a05,_0x1c3f70){return _0x1ad4d1['EOODj'](_0x581a05,_0x1c3f70);},'PEGBO':_0x54f913(0x3f0,0x486)+_0x54f913(0x441,0x36d)+'y','HcyZu':_0x1ad4d1[_0x54f913(0x4f4,0x461)],'PxakN':function(_0x57b845){return _0x57b845();},'jhLmJ':_0x1ad4d1['YYvAB'],'GMLXg':function(_0x1e757c,_0x1d15ab){function _0x30e2f9(_0x1d0bdb,_0x2649f8){return _0x54f913(_0x2649f8,_0x1d0bdb-0x146);}return _0x1ad4d1[_0x30e2f9(0x506,0x4cc)](_0x1e757c,_0x1d15ab);},'eoqSh':_0x1ad4d1[_0x1b3a22(0x4b4,0x4d2)],'Fxpil':_0x1ad4d1[_0x54f913(0x476,0x534)],'QRsbM':_0x1ad4d1['cZfGE'],'rqsIC':_0x1ad4d1['qFURI'],'Urtod':function(_0x21a4d8,_0x4510a6){function _0x51632d(_0x5c2ca8,_0x39e023){return _0x1b3a22(_0x5c2ca8- -0x127,_0x39e023);}return _0x1ad4d1[_0x51632d(0x38c,0x466)](_0x21a4d8,_0x4510a6);},'SnDeZ':function(_0x5df1a6,_0x2f2430){return _0x1ad4d1['scdmd'](_0x5df1a6,_0x2f2430);},'ANhKH':_0x1ad4d1[_0x54f913(0x40c,0x429)],'IgdOg':_0x1b3a22(0x345,0x378),'gPlSK':function(_0x16fa5a,_0x103acf){function _0x1d2615(_0x37137d,_0x492466){return _0x1b3a22(_0x492466- -0x69,_0x37137d);}return _0x1ad4d1[_0x1d2615(0x3d3,0x38b)](_0x16fa5a,_0x103acf);},'MjYfP':_0x1ad4d1[_0x1b3a22(0x473,0x454)],'ThkBF':function(_0x3ea458,_0x3cd48f){function _0xd2a100(_0x20c6c7,_0x51cff6){return _0x1b3a22(_0x20c6c7- -0x1fc,_0x51cff6);}return _0x1ad4d1[_0xd2a100(0x151,0x14b)](_0x3ea458,_0x3cd48f);},'oaokE':_0x1ad4d1['eoKjR'],'rmrhc':function(_0x1aa0ec,_0x2a94c8){return _0x1ad4d1['nbhUx'](_0x1aa0ec,_0x2a94c8);},'vMFPR':_0x1ad4d1[_0x1b3a22(0x3ca,0x3b0)],'wPJte':function(_0x275452,_0x4a1931){return _0x1ad4d1['EOODj'](_0x275452,_0x4a1931);},'jXcNJ':_0x54f913(0x463,0x4c4),'XCfKh':function(_0x318df3,_0x48368d){return _0x1ad4d1['tbCBw'](_0x318df3,_0x48368d);},'xHPJX':_0x1ad4d1[_0x1b3a22(0x38d,0x400)],'fpDcY':'gPALG','VZVGO':function(_0x3271e3){return _0x3271e3();},'qKNbv':function(_0x304e19,_0x1b2492){function _0x2b3893(_0x183f2e,_0x42f003){return _0x1b3a22(_0x42f003- -0xfd,_0x183f2e);}return _0x1ad4d1[_0x2b3893(0x401,0x344)](_0x304e19,_0x1b2492);},'jwSeA':_0x54f913(0x44c,0x4f5)+_0x1b3a22(0x433,0x431)+_0x54f913(0x56a,0x4c8)+_0x1b3a22(0x3ad,0x31b)+_0x54f913(0x493,0x4d0)+'pgrad'+_0x54f913(0x56a,0x4a8)+_0x1b3a22(0x426,0x3a9)+'d\x20or\x20'+'missi'+_0x1b3a22(0x3c3,0x2f8)+_0x54f913(0x3b7,0x392)+_0x54f913(0x303,0x3bd),'Dshrl':_0x1ad4d1[_0x54f913(0x542,0x4e8)],'vxezl':_0x1ad4d1[_0x1b3a22(0x47c,0x4a3)],'mpvQF':_0x1ad4d1[_0x1b3a22(0x47f,0x522)],'bHKdb':_0x54f913(0x401,0x474),'pUSip':_0x1ad4d1['bRiGD'],'hqEpe':_0x1ad4d1[_0x54f913(0x3fc,0x458)],'pVGna':_0x1ad4d1['zNbFB'],'aYAHu':_0x1ad4d1[_0x1b3a22(0x354,0x3ba)]},_0x4129af='rt-'+Date[_0x1b3a22(0x428,0x33f)]()+'-'+Math[_0x54f913(0x438,0x3b0)+'m']()[_0x1b3a22(0x403,0x338)+_0x1b3a22(0x3b7,0x468)](0x1fbd+0x16e*0x18+-0x41e9)[_0x1b3a22(0x330,0x3ae)](0x1dff+-0x9*-0x43+0x19e*-0x14,0x3*-0x9b7+-0x27f+-0x4*-0x7eb),_0x3e1f07=_0xa35feb['socke'+'t'][_0x1b3a22(0x3b3,0x453)+_0x1b3a22(0x462,0x4af)+_0x1b3a22(0x324,0x384)];log['info'](_0x1b3a22(0x479,0x393)+_0x1b3a22(0x4a0,0x443)+_0x1b3a22(0x38a,0x2cb)+'d:\x20'+_0x4129af+(_0x1b3a22(0x454,0x38a)+'\x20')+_0x3e1f07);let _0x13220c;try{_0x13220c=await _0x1ad4d1[_0x1b3a22(0x47d,0x4ea)](loadConfig);}catch(_0x42d8fc){if(_0x1ad4d1[_0x54f913(0x2f3,0x37c)](_0x1ad4d1[_0x1b3a22(0x39d,0x425)],_0x1ad4d1[_0x54f913(0x405,0x41c)])){log[_0x1b3a22(0x464,0x45d)](_0x1ad4d1[_0x1b3a22(0x3e4,0x3c7)],_0x42d8fc),_0x48f991[_0x54f913(0x44c,0x4d4)](-0x890+-0x8c5*0x2+0x1e0d,_0x1ad4d1[_0x1b3a22(0x3e6,0x3f0)]);return;}else try{const _0x2f020c=_0x27eb43[_0x1b3a22(0x375,0x3b8)](_0x1fa364[_0x1b3a22(0x403,0x4c2)+'ing']());_0x5579f0['info']('Clien'+_0x54f913(0x34f,0x3ff)+_0x1b3a22(0x312,0x2b5)+'r\x20'+_0x186707+':\x20'+_0x2f020c[_0x54f913(0x398,0x3d4)]+('\x20(len'+'=')+_0x5af699[_0x54f913(0x420,0x3d0)+'h']+')');}catch{}}function _0x54f913(_0x2d7c94,_0x45e839){return _0x23ba4e(_0x45e839-0x38e,_0x2d7c94);}const _0x47c912=_0x13220c[_0x1b3a22(0x349,0x2ea)+'iApiK'+'ey'];if(!_0x47c912){if(_0x1ad4d1[_0x1b3a22(0x494,0x423)](_0x1ad4d1['LWMVJ'],_0x1ad4d1['LWMVJ'])){log['error'](_0x1ad4d1[_0x1b3a22(0x31d,0x3b2)]);const _0x4eb50c={};_0x4eb50c[_0x1b3a22(0x355,0x32a)]=_0x1ad4d1[_0x54f913(0x3fc,0x461)],_0x4eb50c[_0x54f913(0x46b,0x4e3)]=_0x1ad4d1[_0x1b3a22(0x314,0x3a6)],_0x48f991[_0x1b3a22(0x33b,0x2b6)](JSON[_0x1b3a22(0x408,0x328)+_0x1b3a22(0x339,0x3c8)](_0x4eb50c)),_0x48f991[_0x54f913(0x4dd,0x4d4)](0x1*-0x25e2+-0x375+0x2d47,_0x1b3a22(0x3f0,0x328)+_0x1b3a22(0x301,0x3ac)+_0x54f913(0x453,0x42f));return;}else _0x2a07ac[_0x1b3a22(0x33b,0x2f2)](_0x549873[_0x1b3a22(0x403,0x3aa)+_0x1b3a22(0x3b7,0x3ee)]());}const _0x1a60b2=_0x13220c[_0x1b3a22(0x434,0x4c7)+'imeMo'+'del']||DEFAULT_MODEL,_0x4d3e9f=_0x13220c['realt'+_0x1b3a22(0x412,0x4c7)+'ice']||_0x1ad4d1[_0x54f913(0x466,0x3c7)],_0x2f399e=OPENAI_REALTIME_BASE+(_0x54f913(0x3f3,0x488)+'l=')+_0x1ad4d1[_0x54f913(0x352,0x3a6)](encodeURIComponent,_0x1a60b2);let _0x194563;function _0x1b3a22(_0x4f895f,_0x37667b){return _0x23ba4e(_0x4f895f-0x30f,_0x37667b);}try{if(_0x54f913(0x514,0x4ac)!==_0x1ad4d1[_0x54f913(0x55d,0x522)]){_0x2c8b7e=!![];const _0x4a575b=_0x4a3341?.[_0x1b3a22(0x403,0x468)+'ing']()||'';_0x35d7e8['info'](_0x54f913(0x54c,0x4b6)+_0x54f913(0x4f8,0x48a)+_0x54f913(0x3da,0x493)+_0x54f913(0x537,0x511)+'for\x20'+_0x334647+(_0x54f913(0x3f7,0x44d)+'e=')+_0x15e0fe+(_0x4a575b?_0x1ad4d1[_0x1b3a22(0x358,0x32d)](_0x1ad4d1['MRTrE'],_0x4a575b):'')+')'),_0x1ad4d1['ZnEXB'](_0x327e02);}else{const _0x5d5a12={};_0x5d5a12[_0x1b3a22(0x4b6,0x460)+_0x1b3a22(0x328,0x3c1)+_0x1b3a22(0x310,0x241)]=_0x1b3a22(0x3ff,0x456)+'r\x20'+_0x47c912,_0x5d5a12[_0x54f913(0x475,0x4b6)+'I-Bet'+'a']=_0x1ad4d1[_0x54f913(0x3ae,0x368)];const _0x398a5b={};_0x398a5b[_0x54f913(0x46d,0x46a)+'rs']=_0x5d5a12,_0x398a5b[_0x1b3a22(0x49b,0x3ce)+_0x1b3a22(0x3d5,0x403)+_0x54f913(0x54e,0x4cb)+'te']=!![],_0x194563=new WebSocket(_0x2f399e,_0x398a5b);}}catch(_0x5132a5){if(_0x1ad4d1[_0x54f913(0x409,0x405)](_0x1ad4d1[_0x1b3a22(0x497,0x55f)],_0x1ad4d1[_0x1b3a22(0x497,0x437)]))_0x54af5f[_0x1b3a22(0x464,0x461)](_0x54f913(0x4d8,0x4f8)+_0x54f913(0x553,0x503)+_0x54f913(0x4d6,0x470)+'r\x20'+_0x1fa653+':',_0x41f351[_0x1b3a22(0x359,0x3f2)+'ge']),_0x131477();else{log[_0x54f913(0x4d2,0x4e3)](_0x1b3a22(0x2f7,0x29d)+_0x1b3a22(0x347,0x28b)+_0x1b3a22(0x3dd,0x3d1)+_0x54f913(0x37a,0x3e1)+_0x1b3a22(0x48b,0x4e0)+_0x1b3a22(0x3fe,0x322)+_0x1b3a22(0x340,0x410),_0x5132a5),_0x48f991[_0x1b3a22(0x455,0x41a)](-0x4*0x8d+-0x2169*-0x1+-0x1b42,_0x1ad4d1[_0x1b3a22(0x47c,0x3f1)]);return;}}let _0x18a317=![],_0x203259=![];const _0x2f2f31={};_0x2f2f31['clien'+_0x1b3a22(0x483,0x55a)]=_0x48f991,_0x2f2f31[_0x1b3a22(0x349,0x426)+_0x1b3a22(0x2f4,0x395)]=_0x194563,activeSessions['set'](_0x4129af,_0x2f2f31);const _0x350839=_0x1ad4d1[_0x1b3a22(0x336,0x2f8)](setInterval,()=>{function _0x2fab59(_0xb6ae4c,_0x538efc){return _0x1b3a22(_0x538efc- -0x246,_0xb6ae4c);}function _0x52f3b4(_0x1e16ea,_0x338403){return _0x1b3a22(_0x1e16ea-0x154,_0x338403);}if(_0xc12c0[_0x2fab59(0x7b,0xbf)](_0x2fab59(0x18d,0x15c),_0xc12c0[_0x2fab59(0xb2,0x13c)]))_0x1bf6a6[_0x2fab59(0x13b,0x20f)]();else try{if(_0xc12c0[_0x52f3b4(0x570,0x4b2)](_0x48f991[_0x52f3b4(0x4d2,0x420)+_0x52f3b4(0x4ee,0x46a)],WebSocket[_0x52f3b4(0x445,0x4a5)]))_0x48f991[_0x52f3b4(0x56c,0x62a)]();if(_0xc12c0[_0x2fab59(0x134,0x1d6)](_0x194563[_0x2fab59(0xbd,0x138)+_0x2fab59(0x22f,0x154)],WebSocket['OPEN']))_0x194563[_0x52f3b4(0x56c,0x5de)]();}catch{}},-0x303e+0x40e7*-0x1+0xabbd);function _0x24ffb1(){function _0x20ed0c(_0x4c090e,_0x31f5c2){return _0x54f913(_0x4c090e,_0x31f5c2- -0x48);}const _0x289dda={};_0x289dda[_0x20ed0c(0x36a,0x31c)]='relay'+_0x155771(0x13e,0x1ea)+'y';const _0x24cb45=_0x289dda;clearInterval(_0x350839),activeSessions['delet'+'e'](_0x4129af);function _0x155771(_0x110204,_0x5ba87f){return _0x54f913(_0x110204,_0x5ba87f- -0x183);}!_0x18a317&&_0xc12c0['DwZGm'](_0x48f991[_0x155771(0x2e2,0x27a)+'State'],WebSocket['OPEN'])&&_0x48f991['close']();if(!_0x203259&&_0x194563[_0x20ed0c(0x47e,0x3b5)+_0x155771(0x243,0x296)]===WebSocket[_0x155771(0x1a4,0x1ed)]){if(_0xc12c0[_0x155771(0x283,0x354)](_0xc12c0[_0x155771(0x1e1,0x284)],_0xc12c0[_0x155771(0x229,0x205)]))_0x194563[_0x20ed0c(0x4f3,0x48c)]();else{const _0x11db4f={};_0x11db4f['type']=_0x24cb45[_0x155771(0x2c4,0x1e1)],_0x1af283[_0x155771(0x28d,0x237)](_0x398714[_0x20ed0c(0x3d0,0x43f)+'gify'](_0x11db4f));}}}_0x194563['on'](_0x1b3a22(0x307,0x236),async()=>{function _0xd48c28(_0x151c3a,_0x31b876){return _0x1b3a22(_0x151c3a- -0x14d,_0x31b876);}function _0x46f173(_0x509e2e,_0x148906){return _0x1b3a22(_0x509e2e- -0x23b,_0x148906);}if(_0xc12c0[_0xd48c28(0x264,0x25f)](_0xc12c0[_0x46f173(0x1af,0x148)],_0xc12c0[_0x46f173(0x1af,0xe4)]))return![];else{log['info'](_0xd48c28(0x2ea,0x270)+_0x46f173(0x140,0xcb)+_0xd48c28(0x23d,0x2b5)+'d\x20for'+'\x20sess'+_0xd48c28(0x271,0x26d)+_0x4129af+(_0x46f173(0x214,0x2e0)+_0xd48c28(0x1f9,0x2df))+_0x1a60b2+(_0x46f173(0x204,0x284)+_0x46f173(0x180,0x224))+_0x4d3e9f+')');try{if(_0xc12c0['Jydgv'](_0xc12c0[_0xd48c28(0x30f,0x3da)],_0x46f173(0x252,0x2dd))){const _0x4d0683=await _0xc12c0[_0xd48c28(0x1c8,0x294)](getAgentInstructions),_0x1e0b3a=_0xc12c0['AGnIx'](buildSessionUpdate,_0x4d3e9f,_0x4d0683);log[_0xd48c28(0x314,0x344)](_0xd48c28(0x1cb,0x232)+_0xd48c28(0x273,0x333)+'ssion'+_0xd48c28(0x21a,0x242)+'te\x20fo'+'r\x20'+_0x4129af+':\x20'+_0x1e0b3a[_0xd48c28(0x1b2,0x1f6)+'ring'](0x1121+0x23f3*-0x1+0x12d2,-0x958*-0x1+-0x4fa*-0x6+0x4a8*-0x8)),_0x194563[_0x46f173(0x100,0x9f)](_0x1e0b3a);}else _0x12792d[_0x46f173(0x229,0x1ec)](_0xd48c28(0x2ea,0x394)+'I\x20err'+'or\x20ev'+_0xd48c28(0x23f,0x2f2)+_0x46f173(0x25b,0x280)+_0x2e99f9+':',_0x382c9a['strin'+_0xd48c28(0x1ec,0x178)](_0x24c187));}catch(_0xf90785){log[_0x46f173(0x229,0x2c4)](_0x46f173(0xbc,-0x11)+'d\x20to\x20'+_0x46f173(0x25f,0x292)+_0x46f173(0xb5,0x104)+'on.up'+_0xd48c28(0x236,0x28a)+_0x46f173(0x1ae,0x18b)+_0x4129af+':',_0xf90785);}if(_0xc12c0[_0xd48c28(0x1d3,0x1d7)](_0x48f991[_0xd48c28(0x231,0x199)+'State'],WebSocket[_0xd48c28(0x1a4,0x189)])){if(_0xc12c0['YrWPz'](_0x46f173(0x1d2,0x1de),'mFCzH')){const _0x36cccd={};_0x36cccd['type']=_0xc12c0[_0x46f173(0x10f,0x19c)],_0x48f991[_0xd48c28(0x1ee,0x2c2)](JSON[_0x46f173(0x1cd,0xea)+'gify'](_0x36cccd));}else{const _0x36cb77=_0x2ade89[_0x46f173(0x13a,0x1b7)](_0x418be9['toStr'+'ing']());_0x5a40b0[_0xd48c28(0x314,0x2e0)](_0x46f173(0x23e,0x2be)+'t\x20eve'+'nt\x20fo'+'r\x20'+_0x36e152+':\x20'+_0x36cb77[_0x46f173(0x11a,0x1f1)]+(_0x46f173(0x277,0x1bb)+'=')+_0xf426bf[_0x46f173(0x116,0x5b)+'h']+')');}}}}),_0x194563['on'](_0x54f913(0x448,0x3d8)+'ge',(_0x3dce20,_0x4bad6c)=>{const _0x478422={};function _0x1c1416(_0x5ed000,_0x5b0afc){return _0x54f913(_0x5b0afc,_0x5ed000-0xa3);}function _0x2f6880(_0x59b96e,_0x57e573){return _0x54f913(_0x59b96e,_0x57e573- -0x16);}_0x478422[_0x2f6880(0x401,0x431)]='HTTP/'+_0x2f6880(0x3bb,0x3dc)+_0x2f6880(0x28d,0x367)+_0x1c1416(0x47c,0x469)+'en\x0d\x0a\x0d'+'\x0a',_0x478422['wQhwh']=_0xc12c0[_0x1c1416(0x455,0x539)];const _0x5c15f4=_0x478422;if(_0xc12c0[_0x2f6880(0x450,0x48d)](_0xc12c0['eoqSh'],_0xc12c0['Fxpil'])){_0x19b78b[_0x2f6880(0x3e9,0x443)](_0x1c1416(0x598,0x4e0)+_0x1c1416(0x581,0x600)+_0x1c1416(0x50e,0x46d)+_0x1c1416(0x59d,0x4f8)+_0x2f6880(0x536,0x4a1)+_0x2f6880(0x5b9,0x4d9)+_0x1c1416(0x433,0x49b)+_0x2f6880(0x413,0x41f)+_0x582c27),_0xcc5dde[_0x1c1416(0x50f,0x572)](amiyPm[_0x2f6880(0x405,0x431)]),_0x26c47d['destr'+'oy']();return;}else{if(!_0x4bad6c){if(_0xc12c0[_0x2f6880(0x44f,0x412)]===_0xc12c0[_0x2f6880(0x52a,0x4a7)])try{return dhokTL[_0x1c1416(0x427,0x39a)](new _0x550c1e(_0x5ea724)[_0x1c1416(0x5b3,0x4d0)+_0x1c1416(0x4c5,0x4bf)],_0x108000);}catch{return![];}else try{const _0x3f5764=JSON[_0x2f6880(0x472,0x3de)](_0x3dce20['toStr'+_0x1c1416(0x4d9,0x40c)]());_0xc12c0['Urtod'](_0x3f5764[_0x2f6880(0x344,0x3be)],_0xc12c0['HcyZu'])?log[_0x1c1416(0x586,0x5f0)](_0x2f6880(0x47d,0x4a0)+_0x2f6880(0x499,0x4a4)+_0x2f6880(0x380,0x43c)+_0x1c1416(0x4ae,0x56f)+_0x2f6880(0x559,0x4ff)+_0x4129af+':',JSON[_0x2f6880(0x43b,0x471)+_0x2f6880(0x330,0x3a2)](_0x3f5764)):log[_0x2f6880(0x536,0x4ca)](_0x2f6880(0x3b8,0x4a0)+_0x2f6880(0x598,0x4c6)+'nt\x20fo'+'r\x20'+_0x4129af+':\x20'+_0x3f5764['type']);}catch{}}if(_0xc12c0[_0x2f6880(0x35e,0x40d)](_0x48f991[_0x1c1416(0x4a0,0x504)+_0x2f6880(0x3c6,0x403)],WebSocket[_0x1c1416(0x413,0x3f3)]))try{if(_0xc12c0[_0x2f6880(0x3e4,0x3fd)]===_0xc12c0[_0x1c1416(0x4b6,0x403)]){if(_0x4bad6c){const _0x3a72d3={};_0x3a72d3[_0x2f6880(0x459,0x46f)+'y']=!![],_0x48f991['send'](_0x3dce20,_0x3a72d3);}else{if(_0xc12c0[_0x1c1416(0x570,0x654)]!==_0xc12c0[_0x1c1416(0x570,0x4ec)])try{const _0x25f8f7={};_0x25f8f7[_0x2f6880(0x3d7,0x3be)]=_0xc12c0[_0x1c1416(0x51c,0x525)],_0x25f8f7[_0x1c1416(0x586,0x526)]=_0x1c1416(0x559,0x50b)+_0x2f6880(0x43e,0x3e4)+_0x2f6880(0x401,0x473)+_0x2f6880(0x410,0x46d)+_0x1c1416(0x509,0x5b7)+_0x3ae2f0[_0x1c1416(0x47b,0x49e)+'ge'],_0x2a79ee['send'](_0x5c1abe[_0x2f6880(0x457,0x471)+_0x2f6880(0x35d,0x3a2)](_0x25f8f7));}catch{}else _0x48f991['send'](_0x3dce20['toStr'+_0x2f6880(0x465,0x420)]());}}else return _0x50b9e0[_0x1c1416(0x525,0x58f)+'ing']()['searc'+'h']('(((.+'+')+)+)'+'+$')[_0x1c1416(0x525,0x5db)+_0x1c1416(0x4d9,0x504)]()[_0x2f6880(0x2e8,0x365)+_0x1c1416(0x5ab,0x52d)+'r'](_0x1a3931)[_0x2f6880(0x57e,0x518)+'h'](amiyPm[_0x1c1416(0x5bf,0x54b)]);}catch(_0x1a02bf){_0xc12c0[_0x1c1416(0x575,0x5c2)](_0xc12c0['MjYfP'],_0x1c1416(0x441,0x4f0))?(_0x14b625=!![],_0x42e5f4[_0x2f6880(0x598,0x4ca)](_0x1c1416(0x59b,0x59c)+_0x2f6880(0x4cb,0x50e)+_0x2f6880(0x45c,0x47d)+_0x2f6880(0x424,0x4fb)+_0x1c1416(0x50b,0x490)+_0x181995+(_0x2f6880(0x405,0x437)+'e=')+_0xc45078+')'),_0xc12c0[_0x2f6880(0x415,0x4b4)](_0x2cb112)):log[_0x1c1416(0x586,0x593)](_0x2f6880(0x4a4,0x515)+_0x2f6880(0x419,0x36c)+'ardin'+_0x1c1416(0x45c,0x3c2)+_0x1c1416(0x542,0x555)+_0x2f6880(0x35e,0x43b)+'nt\x20('+_0x4129af+'):',_0x1a02bf[_0x2f6880(0x420,0x3c2)+'ge']);}}}),_0x194563['on'](_0x1ad4d1[_0x54f913(0x560,0x505)],(_0x1e5ce4,_0x37d318)=>{function _0x1405a8(_0x4a0318,_0x5ed344){return _0x54f913(_0x4a0318,_0x5ed344- -0x227);}function _0x16ffe1(_0x15a83d,_0x4fa00e){return _0x54f913(_0x4fa00e,_0x15a83d- -0x21b);}if(_0x1ad4d1['Hgzur']!==_0x1ad4d1['xYnVO']){_0x203259=!![];const _0x2162d5=_0x37d318?.[_0x16ffe1(0x267,0x271)+_0x1405a8(0x2c1,0x20f)]()||'';log[_0x16ffe1(0x2c5,0x247)](_0x1405a8(0x1e8,0x28f)+_0x1405a8(0x204,0x263)+'conne'+_0x16ffe1(0x2f6,0x2a4)+_0x1405a8(0x17d,0x241)+_0x4129af+(_0x16ffe1(0x232,0x319)+'e=')+_0x1e5ce4+(_0x2162d5?_0x1ad4d1[_0x16ffe1(0x1bc,0x17b)](_0x1ad4d1['MRTrE'],_0x2162d5):'')+')'),_0x1ad4d1[_0x1405a8(0x232,0x2d5)](_0x24ffb1);}else try{if(_0xc12c0['ThkBF'](_0x438749[_0x16ffe1(0x1e2,0xfc)+_0x16ffe1(0x1fe,0x273)],_0x245db5[_0x16ffe1(0x155,0x111)]))_0x5918a8[_0x1405a8(0x1fe,0x270)]();if(_0xc12c0[_0x16ffe1(0x1a1,0x122)](_0x497608[_0x16ffe1(0x1e2,0x158)+_0x16ffe1(0x1fe,0x2b9)],_0xc7bceb[_0x16ffe1(0x155,0xb7)]))_0x4edb29[_0x1405a8(0x245,0x270)]();}catch{}}),_0x194563['on'](_0x1ad4d1[_0x1b3a22(0x3e2,0x424)],_0x3e265f=>{const _0x4fd6c0={'xWwZk':function(_0x212d6c,_0x57bf30){function _0x3a8038(_0x3d71fd,_0x43ef88){return _0x379e(_0x43ef88-0x352,_0x3d71fd);}return _0xc12c0[_0x3a8038(0x57e,0x516)](_0x212d6c,_0x57bf30);},'qOuKV':function(_0x2ca819,_0x35fa9e){return _0x2ca819===_0x35fa9e;}};function _0x57805b(_0x287556,_0x17ac40){return _0x1b3a22(_0x287556- -0x1cc,_0x17ac40);}function _0x333886(_0x53e695,_0x115d7d){return _0x1b3a22(_0x115d7d-0x160,_0x53e695);}if(_0xc12c0[_0x333886(0x5aa,0x5ce)](_0xc12c0[_0x57805b(0x142,0x200)],_0xc12c0[_0x333886(0x557,0x46e)])){log[_0x333886(0x590,0x5c4)]('OpenA'+_0x333886(0x4f1,0x59b)+'or\x20fo'+'r\x20'+_0x4129af+':',_0x3e265f[_0x57805b(0x18d,0xd2)+'ge']);if(_0xc12c0[_0x333886(0x559,0x507)](_0x48f991[_0x333886(0x409,0x4de)+'State'],WebSocket[_0x57805b(0x125,0x16c)])){if(_0xc12c0['jXcNJ']===_0xc12c0['jXcNJ'])try{if(_0xc12c0[_0x57805b(0x15a,0x23d)](_0xc12c0['xHPJX'],_0xc12c0['fpDcY']))_0x4262c4[_0x57805b(0x16f,0x1db)](_0x49d664);else{const _0x5c4ff5={};_0x5c4ff5[_0x333886(0x463,0x4b5)]=_0xc12c0[_0x333886(0x4b2,0x55a)],_0x5c4ff5[_0x57805b(0x298,0x2c2)]=_0x333886(0x578,0x597)+_0x57805b(0x1af,0xdd)+_0x333886(0x546,0x56a)+_0x57805b(0x238,0x22f)+'ror:\x20'+_0x3e265f[_0x57805b(0x18d,0x1cb)+'ge'],_0x48f991[_0x333886(0x449,0x49b)](JSON[_0x57805b(0x23c,0x2d0)+_0x57805b(0x16d,0xc2)](_0x5c4ff5));}}catch{}else pkHYbV[_0x333886(0x486,0x55d)](_0x28406c,_0x59a896),_0x1996cc[_0x333886(0x4af,0x52c)+'e'](_0xa49eba),!_0x44dfaf&&pkHYbV[_0x333886(0x566,0x5d1)](_0x166ab9['ready'+_0x333886(0x459,0x4fa)],_0x58bc6c[_0x57805b(0x125,0x1ae)])&&_0x28129d[_0x333886(0x5d1,0x5b5)](),!_0x74fceb&&_0x4f06ba[_0x57805b(0x1b2,0x1d9)+_0x57805b(0x1ce,0x269)]===_0x6a35fe[_0x333886(0x441,0x451)]&&_0x24f2de[_0x57805b(0x289,0x231)]();}_0xc12c0[_0x57805b(0x161,0x22b)](_0x24ffb1);}else _0x4535c5['emit'](dhokTL[_0x57805b(0x2c2,0x235)],_0x5b9bdb,_0x54d661);}),_0x48f991['on'](_0x1ad4d1[_0x54f913(0x5cd,0x4e7)],(_0x3b1e1d,_0x1f9495)=>{function _0x3b850f(_0x5d9d55,_0x2f62ad){return _0x1b3a22(_0x5d9d55-0x238,_0x2f62ad);}const _0x69605c={};_0x69605c[_0x243a94(-0x10e,-0x194)]=_0xc12c0['jwSeA'],_0x69605c[_0x243a94(-0xc1,-0x10b)]=_0x3b850f(0x6de,0x69d)+_0x3b850f(0x5ab,0x5a4)+_0x243a94(-0x142,-0xa5)+_0x243a94(-0x1a5,-0xec)+_0x3b850f(0x5f0,0x583)+'\x0d\x0a\x0d\x0a';function _0x243a94(_0x27628a,_0x242171){return _0x1b3a22(_0x242171- -0x4a1,_0x27628a);}_0x69605c[_0x3b850f(0x5bf,0x637)]=_0xc12c0[_0x3b850f(0x544,0x629)],_0x69605c[_0x3b850f(0x59d,0x5df)]=_0xc12c0['vxezl'];const _0x22dd9a=_0x69605c;if(_0xc12c0[_0x243a94(0xae,-0x33)](_0xc12c0[_0x243a94(-0x90,-0x8a)],_0xc12c0[_0x3b850f(0x554,0x605)])){if(_0xc12c0['qKNbv'](_0x58de6f[_0x3b850f(0x5b6,0x696)+'State'],_0x24521a[_0x3b850f(0x529,0x4fa)]))_0x108772[_0x243a94(-0xc2,-0x89)]();if(_0xc12c0[_0x3b850f(0x575,0x5b6)](_0x10c1d7[_0x243a94(-0x147,-0x123)+_0x3b850f(0x5d2,0x6b2)],_0x3d3ff0['OPEN']))_0x54f9d4[_0x243a94(-0x14e,-0x89)]();}else{if(!_0x1f9495){if(_0xc12c0[_0x243a94(-0x161,-0xf0)](_0xc12c0[_0x3b850f(0x69e,0x645)],_0x3b850f(0x5c9,0x5cd)))try{const _0x4b270c=JSON[_0x3b850f(0x5ad,0x520)](_0x3b1e1d['toStr'+_0x3b850f(0x5ef,0x60b)]());log[_0x3b850f(0x699,0x65c)](_0x3b850f(0x6b1,0x73e)+_0x3b850f(0x5b8,0x608)+_0x3b850f(0x54a,0x60e)+'r\x20'+_0x4129af+':\x20'+_0x4b270c['type']+('\x20(len'+'=')+_0x3b1e1d[_0x3b850f(0x589,0x506)+'h']+')');}catch{}else{_0x493ec2[_0x243a94(-0xa8,-0xc7)](tShbtn['MMARg']),_0x1e8b51[_0x243a94(-0x6a,-0xb4)](tShbtn[_0x3b850f(0x5ce,0x68b)]),_0x9cdb29[_0x3b850f(0x5ff,0x57e)+'oy']();return;}}else log[_0x243a94(-0xf7,-0x40)]('Clien'+'t\x20bin'+_0x243a94(-0x37,-0x7f)+_0x3b850f(0x6ce,0x656)+_0x4129af+(_0x3b850f(0x614,0x57b)+'=')+_0x3b1e1d['lengt'+'h']);if(_0xc12c0[_0x243a94(-0xbc,-0x4e)](_0x194563[_0x3b850f(0x5b6,0x4fe)+'State'],WebSocket[_0x3b850f(0x529,0x45b)])){if(_0xc12c0[_0x3b850f(0x5e9,0x5d6)](_0x3b850f(0x53e,0x56d),_0xc12c0[_0x243a94(-0xe9,-0x46)]))_0x7ca82b['error'](_0x3b850f(0x52f,0x535)+_0x3b850f(0x57f,0x4d2)+'send\x20'+_0x3b850f(0x528,0x598)+_0x243a94(-0x8d,-0xaf)+_0x243a94(-0x179,-0x11e)+_0x3b850f(0x621,0x6a9)+_0x40e801+':',_0x5e54fe);else try{if(_0xc12c0[_0x243a94(0x3a,-0x15)]===_0xc12c0['pVGna'])_0x1f9495?_0x194563[_0x3b850f(0x573,0x630)](_0x3b1e1d):_0x194563['send'](_0x3b1e1d['toStr'+_0x243a94(-0x1b0,-0xea)]());else{_0x289161['error'](tShbtn[_0x243a94(-0x8b,-0x11a)],_0x3d53a1),_0x406411[_0x3b850f(0x68d,0x687)](-0xb*-0x329+0x1b2c+-0x39fc,tShbtn[_0x3b850f(0x59d,0x58a)]);return;}}catch(_0x5d9a04){_0xc12c0['XCfKh'](_0x243a94(-0x160,-0x135),_0xc12c0[_0x243a94(-0x1d0,-0x103)])?log[_0x243a94(-0xe6,-0x3d)]('Error'+'\x20forw'+'ardin'+_0x243a94(0x5d,-0x23)+_0x243a94(-0x8b,-0x102)+_0x3b850f(0x52e,0x5d6)+'AI\x20('+_0x4129af+'):',_0x5d9a04[_0x243a94(-0x1dd,-0x148)+'ge']):_0x427eb4[_0x243a94(-0x1a,-0x3d)](_0x3b850f(0x6e4,0x5ff)+_0x3b850f(0x53b,0x555)+_0x243a94(-0x21a,-0x169)+_0x3b850f(0x572,0x650)+_0x243a94(0x16,-0x81)+'\x20clie'+'nt\x20('+_0x23874c+'):',_0x3041dd['messa'+'ge']);}}}}),_0x48f991['on'](_0x1ad4d1[_0x54f913(0x4bb,0x505)],_0x3a8a0e=>{function _0x2e8401(_0x19662f,_0x1e39a5){return _0x1b3a22(_0x19662f- -0x340,_0x1e39a5);}function _0x4b0727(_0x532db6,_0x302d14){return _0x1b3a22(_0x302d14- -0xf3,_0x532db6);}if(_0x1ad4d1[_0x4b0727(0x23c,0x2b3)](_0x1ad4d1['OSZbq'],_0x2e8401(0xe1,0x185)))_0x18a317=!![],log['info'](_0x4b0727(0x32d,0x386)+_0x4b0727(0x31c,0x3b2)+_0x2e8401(0xd4,0xe3)+_0x4b0727(0x2f0,0x39f)+_0x2e8401(0xa9,0xb)+_0x4129af+(_0x2e8401(0x8e,0x13)+'e=')+_0x3a8a0e+')'),_0x1ad4d1[_0x2e8401(0x13d,0x13a)](_0x24ffb1);else{const _0x5d17c1={};_0x5d17c1[_0x2e8401(0x15,0x62)]=_0x4b0727(0x3ce,0x371),_0x5d17c1[_0x2e8401(0x124,0x16f)]=_0x2e8401(0xf7,0x1ae)+_0x4b0727(0x25b,0x288)+_0x2e8401(0xca,0x124)+_0x4b0727(0x343,0x311)+_0x4b0727(0x2af,0x2f4)+_0x24d74b['messa'+'ge'],_0x561936[_0x4b0727(0x236,0x248)](_0x10d360[_0x4b0727(0x2a9,0x315)+_0x4b0727(0x1c6,0x246)](_0x5d17c1));}}),_0x48f991['on'](_0x1ad4d1['IwtOR'],_0x1b10dc=>{function _0x2028aa(_0x3d39b8,_0x4e1f3c){return _0x1b3a22(_0x4e1f3c- -0x34f,_0x3d39b8);}function _0x436490(_0x751cf2,_0x2e0269){return _0x1b3a22(_0x2e0269-0x16b,_0x751cf2);}if(_0x1ad4d1['VDJOo']===_0x1ad4d1[_0x2028aa(0x42,0x60)])return _0x436490(0x439,0x494)+_0x2028aa(0x162,0xa4)+_0x436490(0x673,0x59d)+_0x5cd6a0+'.\x20'+_0x1795ec;else log[_0x2028aa(0x107,0x115)](_0x2028aa(0x1fe,0x12a)+_0x2028aa(0x12a,0x135)+_0x436490(0x4fe,0x55c)+'r\x20'+_0x4129af+':',_0x1b10dc[_0x2028aa(0x8b,0xa)+'ge']),_0x24ffb1();});}),log[_0x476e9b(0x313,0x389)](_0x23ba4e(0xae,0x23)+'ime\x20v'+'oice\x20'+'relay'+'\x20read'+'y\x20at\x20'+'/api/'+'realt'+'ime');function _0x476e9b(_0x4af459,_0x33f5cc){return _0x5aa355(_0x33f5cc- -0x344,_0x4af459);}return _0x2679d8;}
@@ -1 +1 @@
1
- function _0x150d35(_0x1fc9f8,_0x4eae55){return _0x5ce8(_0x4eae55- -0x13a,_0x1fc9f8);}(function(_0x30e93c,_0x109658){function _0x138fd8(_0x2c98e4,_0x158cb2){return _0x5ce8(_0x2c98e4- -0xaf,_0x158cb2);}const _0x40a4b5=_0x30e93c();function _0x1ba6e7(_0x2a87a4,_0x3ad37a){return _0x5ce8(_0x3ad37a-0x8e,_0x2a87a4);}while(!![]){try{const _0x32d1b1=parseInt(_0x138fd8(0x263,0x2de))/(0x138b*-0x1+0x116*0x1c+-0xadc)*(parseInt(_0x138fd8(0x23d,0x17e))/(-0x1247*0x1+-0x56f*-0x6+-0xe51))+parseInt(_0x138fd8(0x12c,0x10d))/(-0xcdf*0x1+-0x1d40+0x2a22)*(parseInt(_0x138fd8(0x141,0x182))/(0x1a*-0xb+0x11*0xbe+-0xb7c))+parseInt(_0x1ba6e7(0x312,0x307))/(-0x19f9*0x1+0x1b43*0x1+0x41*-0x5)+-parseInt(_0x138fd8(0x230,0x291))/(-0x22b6+-0x1858+-0x4*-0xec5)*(parseInt(_0x138fd8(0x244,0x1ae))/(-0xf11+-0x43*0xc+0x123c*0x1))+parseInt(_0x138fd8(0x163,0x1ba))/(-0x2367+0xa7e+0x18f1)+-parseInt(_0x1ba6e7(0x355,0x2d4))/(0xbc5+-0x59*0x56+0x6*0x307)+parseInt(_0x1ba6e7(0x394,0x3d6))/(-0x21fd+0x47a+0x1d8d)*(parseInt(_0x138fd8(0x21b,0x20c))/(-0x4c9*-0x5+-0x6ac+-0x1136));if(_0x32d1b1===_0x109658)break;else _0x40a4b5['push'](_0x40a4b5['shift']());}catch(_0x4ccbc3){_0x40a4b5['push'](_0x40a4b5['shift']());}}}(_0x1944,-0x3834+0x10*-0x3e97+-0x2bebe*-0x4));const _0x57a511=(function(){const _0x1812b1={'ExiOI':_0x2c8359(0x32d,0x2b3)+_0x2c8359(0x3fe,0x3f7)+_0x2c8359(0x424,0x4eb),'ENFzb':function(_0x37b2b9,_0x169b35){return _0x37b2b9(_0x169b35);},'YQQxz':function(_0x39149a,_0x5a744f){return _0x39149a===_0x5a744f;},'Wawvf':_0x2c8359(0x389,0x371),'Wpxdd':_0x3809c4(0x391,0x3c2),'HvsHm':_0x2c8359(0x3e3,0x403)};function _0x2c8359(_0x15069d,_0x56cf25){return _0x5ce8(_0x15069d-0x148,_0x56cf25);}function _0x3809c4(_0x59c047,_0x29e058){return _0x5ce8(_0x59c047-0x15c,_0x29e058);}let _0x37d5b8=!![];return function(_0x1eb7ca,_0x36768a){function _0x1ea173(_0x2e4506,_0xdad8e5){return _0x3809c4(_0x2e4506- -0x199,_0xdad8e5);}function _0x1da82e(_0x51147a,_0x13c22b){return _0x3809c4(_0x51147a- -0x4fe,_0x13c22b);}if(_0x1812b1['YQQxz'](_0x1812b1[_0x1da82e(-0x1c0,-0x14b)],_0x1812b1[_0x1da82e(-0x38,-0xf5)])){const _0x1c8af7=_0x49fcef[_0x1da82e(-0x83,0x17)+'ing']();_0x1c8af7[_0x1ea173(0x1fa,0x1e3)+_0x1da82e(-0x1ab,-0x1e9)](_0x1812b1['ExiOI'])&&(_0x1812b1[_0x1ea173(0x1a2,0xf4)](_0x3b987c,_0x5a25df),_0xf2ca5d[_0x1da82e(-0x5d,-0xf)](),_0x1812b1['ENFzb'](_0x1ebf38,null));}else{const _0x4878a7=_0x37d5b8?function(){function _0x3c6703(_0x2843ea,_0x308389){return _0x1ea173(_0x2843ea- -0x24e,_0x308389);}function _0x5edde7(_0x56dd83,_0x33ff3e){return _0x1ea173(_0x56dd83-0x330,_0x33ff3e);}const _0x4f9f4c={'gMLCD':function(_0x5efe0d,_0x9f2416){function _0x16623c(_0x4e15f8,_0x242b8f){return _0x5ce8(_0x242b8f-0xab,_0x4e15f8);}return _0x1812b1[_0x16623c(0x2c5,0x28a)](_0x5efe0d,_0x9f2416);}};if(_0x36768a){if(_0x1812b1['YQQxz'](_0x1812b1[_0x5edde7(0x610,0x57f)],_0x1812b1[_0x3c6703(0x92,0x7e)])){const _0x4a8fe7=_0x36768a[_0x3c6703(-0x39,-0xb9)](_0x1eb7ca,arguments);return _0x36768a=null,_0x4a8fe7;}else _0x23f135(_0x50440d),!_0x9c7c9d&&_0x4f9f4c[_0x3c6703(-0xa4,-0x2a)](_0x44af23,null);}}:function(){};return _0x37d5b8=![],_0x4878a7;}};}()),_0x3d5aee=_0x57a511(this,function(){const _0x50fde9={};_0x50fde9[_0x102240(0x126,0x115)]=_0x102240(0xca,0x88)+_0x16bb3b(0x4f4,0x568)+'+$';const _0x26cc06=_0x50fde9;function _0x102240(_0x4f5ac3,_0x24b03a){return _0x5ce8(_0x24b03a- -0x1c9,_0x4f5ac3);}function _0x16bb3b(_0x366c3b,_0x2f4734){return _0x5ce8(_0x366c3b-0x1f4,_0x2f4734);}return _0x3d5aee[_0x16bb3b(0x513,0x449)+_0x102240(0x179,0xb2)]()[_0x16bb3b(0x474,0x51d)+'h'](_0x26cc06[_0x16bb3b(0x4d2,0x446)])[_0x102240(0x12a,0x156)+_0x16bb3b(0x46f,0x492)]()[_0x102240(0xe1,0x15b)+_0x16bb3b(0x438,0x3e9)+'r'](_0x3d5aee)[_0x16bb3b(0x474,0x455)+'h'](_0x26cc06[_0x16bb3b(0x4d2,0x541)]);});_0x3d5aee();import{WebSocket}from'ws';import{randomUUID}from'crypto';import{createLogger}from'../logger.js';const log=createLogger(_0x5435b8(0x4d6,0x4c4)+_0x150d35(0x292,0x1f0)),OPENAI_TTS_URL='https'+_0x5435b8(0x47c,0x507)+_0x5435b8(0x44a,0x3b4)+_0x150d35(0x13d,0xe7)+_0x5435b8(0x426,0x4d6)+_0x5435b8(0x4ce,0x519)+_0x150d35(0x110,0x1e0)+'ech',OPENAI_TTS_TIMEOUT_MS=0x482*-0x29+0xcc06+0x61fc,EDGE_TTS_WS_URL='wss:/'+_0x150d35(0x188,0x225)+_0x150d35(0x188,0x1bf)+_0x5435b8(0x557,0x4f5)+_0x5435b8(0x479,0x436)+_0x5435b8(0x4f7,0x467)+_0x5435b8(0x501,0x58e)+'umer/'+_0x150d35(0x6a,0xf0)+'h/syn'+_0x150d35(0x1aa,0x20f)+_0x5435b8(0x4e6,0x488)+_0x150d35(0x161,0x124)+'ud/ed'+'ge/v1',EDGE_TTS_TRUSTED_TOKEN=_0x5435b8(0x41d,0x35c)+_0x5435b8(0x504,0x43b)+_0x150d35(0x20c,0x183)+_0x5435b8(0x571,0x5dc)+'23D68'+_0x150d35(0x183,0x1fc)+'F4',EDGE_TTS_TIMEOUT_MS=-0x2636+0x171e*-0x2+-0x4336*-0x3;export function splitSentences(_0x52e1fe){const _0x20099e={'kBjpv':function(_0x2397e8,_0x20af00){return _0x2397e8+_0x20af00;},'IgjYF':function(_0x1d9c87,_0xa5ae5e){return _0x1d9c87(_0xa5ae5e);},'popTO':'(((.+'+_0x335a7c(0x14e,0xe4)+'+$','jqDxT':function(_0x4d1580,_0x2eb271){return _0x4d1580!==_0x2eb271;},'boDxa':_0x3f0793(0x1b4,0x23b)+'g','Nkpfv':function(_0x653fec,_0x5398d3){return _0x653fec!==_0x5398d3;},'RGDCs':'xKlXe','iNmzQ':_0x3f0793(0x34c,0x2c2),'djKBX':function(_0x16b730,_0x3457cc){return _0x16b730===_0x3457cc;},'ICcqr':_0x3f0793(0x2cf,0x225),'NpTaW':'KumhB'};if(!_0x52e1fe||_0x20099e[_0x3f0793(0x360,0x29a)](typeof _0x52e1fe,_0x20099e[_0x335a7c(0x1a3,0x12b)]))return[];const _0x3bae43=_0x52e1fe['split'](/\n+/),_0x58b893=[];function _0x3f0793(_0x51f884,_0x237530){return _0x5435b8(_0x237530- -0x1fa,_0x51f884);}function _0x335a7c(_0x2bfc97,_0x426a91){return _0x5435b8(_0x2bfc97- -0x3fa,_0x426a91);}for(const _0xf27636 of _0x3bae43){if(_0x20099e['Nkpfv'](_0x20099e[_0x3f0793(0x1f3,0x2c3)],_0x20099e[_0x335a7c(0x115,0x163)])){const _0x1ce745=_0xf27636['trim']();if(!_0x1ce745)continue;const _0x45c1db=_0x1ce745['match'](/[^.!?]*[.!?]+[\s]?|[^.!?]+$/g);if(_0x45c1db)for(const _0xd792f2 of _0x45c1db){if(_0x20099e['djKBX'](_0x20099e[_0x3f0793(0x2e6,0x2b5)],_0x20099e[_0x335a7c(0x167,0xdb)])){const _0x21a350=_0xc1507d[_0x335a7c(0xf8,0x9b)+_0x335a7c(0x5a,-0x28)](_0x20099e[_0x335a7c(0x1c0,0x115)](0x36f+0x25d*-0x5+0x864,_0x1ae24e));_0x21a350['lengt'+'h']>-0x28a+0x1860+-0x15d6&&_0x20099e['IgjYF'](_0x43fc65,_0x21a350);}else{const _0x36a1ae=_0xd792f2['trim']();if(_0x36a1ae)_0x58b893[_0x3f0793(0x410,0x3aa)](_0x36a1ae);}}else _0x58b893[_0x3f0793(0x325,0x3aa)](_0x1ce745);}else return _0x3d556e[_0x3f0793(0x386,0x36d)+_0x335a7c(0xc9,0x14a)]()[_0x3f0793(0x2e7,0x2ce)+'h'](TERDtJ[_0x335a7c(0x164,0x1e5)])[_0x335a7c(0x16d,0x178)+_0x3f0793(0x322,0x2c9)]()[_0x335a7c(0x172,0xea)+_0x3f0793(0x278,0x292)+'r'](_0x3b622f)[_0x335a7c(0xce,0x27)+'h'](TERDtJ[_0x3f0793(0x3cf,0x364)]);}return _0x58b893;}function cleanForTTS(_0x1e1b63){function _0x40d9b2(_0x3faeff,_0x557371){return _0x150d35(_0x557371,_0x3faeff-0x44b);}function _0x2761f3(_0x2563f1,_0x16c5ea){return _0x150d35(_0x16c5ea,_0x2563f1-0x137);}return _0x1e1b63['repla'+'ce'](/```[\s\S]*?```/g,'')['repla'+'ce'](/`([^`]+)`/g,'$1')['repla'+'ce'](/\*\*([^*]+)\*\*/g,'$1')[_0x2761f3(0x308,0x35c)+'ce'](/\*([^*]+)\*/g,'$1')[_0x2761f3(0x308,0x29c)+'ce'](/__([^_]+)__/g,'$1')[_0x2761f3(0x308,0x277)+'ce'](/_([^_]+)_/g,'$1')[_0x40d9b2(0x61c,0x623)+'ce'](/~~([^~]+)~~/g,'$1')[_0x2761f3(0x308,0x3b2)+'ce'](/\[([^\]]*)\]\([^)]*\)/g,'$1')[_0x40d9b2(0x61c,0x607)+'ce'](/#{1,6}\s/g,'')[_0x2761f3(0x308,0x2ae)+'ce'](/^[-*+]\s/gm,'')['repla'+'ce'](/^\d+\.\s/gm,'')[_0x40d9b2(0x61c,0x64f)+'ce'](/^>\s?/gm,'')[_0x2761f3(0x308,0x377)+'ce'](/\|/g,'\x20')[_0x2761f3(0x308,0x2b2)+'ce'](/---+/g,'')[_0x2761f3(0x308,0x2e1)+'ce'](/[\u{1F600}-\u{1F64F}]/gu,'')[_0x2761f3(0x308,0x241)+'ce'](/[\u{1F300}-\u{1F5FF}]/gu,'')[_0x40d9b2(0x61c,0x6c5)+'ce'](/[\u{1F680}-\u{1F6FF}]/gu,'')['repla'+'ce'](/[\u{2600}-\u{26FF}]/gu,'')[_0x2761f3(0x308,0x34d)+'ce'](/[\u{2700}-\u{27BF}]/gu,'')[_0x40d9b2(0x61c,0x5a6)+'ce'](/\s+/g,'\x20')[_0x40d9b2(0x5cf,0x5bc)]();}function _0x1944(){const _0x4bc9a0=['HosbT','end','raw-2','buhNt','3110838xNEIXR','\x20resp','ader','Tjpsy','TTS\x20c','mEddT','d\x20wit','ynthe','ket\x20e','zXOwk','t=\x22','LyKph','input','1670iGHraj','\x20char','TTS','16bit','sente','Edge\x20','\x20Chro','7NNwAhG','sion=','rejec','&quot','lengt','dBMzh','ch.pl','ted','h\x20emp','iSeVX','timed','SqIlF','kEllJ',')+)+)','ck\x20to','wn\x20TT','RwBje','LhatF','isBuf','tion\x20','yCypt','fQPtl','statu','kdbAj','repla','gify','signa','mTTS\x20','atfor','ovWDe','4khz-','841FTJoiS','PUbSk','OpenA','abort','popTO','NynKD','Kit/5','NpTaW','o/spe','kgVdI','MHuXk','Wawvf','el=','toStr','rgSKy','-pcm','uymYP','SDOaT','const',')\x20App','messa','dNpqu','aibmp','FB37E','tream','gUmlC','dimpd','XWPqT','tf-8\x0d','HaIlF','o\x20bod','red\x20f','wn\x20er','nId=','model','yEtvl','491D6','ormat','subst','QyPRV','ounda','g\x20Edg','g\x20TTS','edge','tedCl','eQLzt','fQMFU','conca','bqNNF','ing\x20O','hifVJ','close','XlsAp','open','50bBuRXl','thesi','voice','tlnSZ','ror','\x20API\x20','ce></','warn','rlACs','TTS\x20e','&apos','or\x20Op','ng\x20ba','boDxa','ientT','hxgSg','gHjce','exZNx','bEnLG','noKfU','push','gdAIE','WaHNk','/spee','\x20requ','Mozil','ang=\x27','XHQwS','est\x20t','GIygy','penAI','e=\x27','Conte','fPxLq','HvsHm','send','done','Beare','speak','IjBMs','LoKDY','xkfyG','kBjpv','&Conn','OEgiy','jikzj','respo','nova','6A5AA','value','WgoSv','\x22:\x20','MRFuv','GgGGr','3CWEBES','fallb','qQBfA','om/v1','ENFzb','from','WKRGp','Wpxdd','eoRmy','me/13','Path:','ecko)','gMLCD','Neura','opena','uGeGK','iTtsV','ssml\x0d','strin','error','MbmDw','84396KTMWMQ','rJufr','tBLmb','imed\x20','fer','ket\x20c','rror:','des','\x20NT\x201','oKbTC','rpipT','edgeT','ACGvJ','ectio','r\x20cle','ring','oPTax','<spea','i.ope','ML,\x20l','\x20afte','XXWbz','oken=','body','GgduX','pe:ap','I\x20API','n://j','ray','EOTLn','nt-Ty','slice','BtjOT','vnqUH','54496VxdlIJ','shift','ine:\x20','wNQzk','amdcq','relea','ewKoK','diccl','fig\x0d\x0a','XGXen','Mazcc','ZjfII','getRe','leWeb','dxVci','nai.c','oLfnu','uestI','zTrjs','riVNH','chrom','\x0a\x0d\x0a','/130.','X-Req','speec','CDPVc','ItyQo','-mono','e\x20nam','BTuJQ','Wtulr','m.bin','ssml+','tion/','://ap','oNshe','/10/s','inclu','HVseV','I\x20TTS','ngine','readU','nceBo','ippin','catio','h.con','zOlWP','exyzf','led,\x20','nHjmx','ructo','Abort','7673103hsnNrK','falli','GmTGp','zJJZI','Empty','debug','jqDxT','bQurL','TlgGg','baTdy','pcm','(((.+','apply','set=u','SUvZu','XMwpd','oice','\x20TTS\x20','Skipp','aNlbC','\x20out','fTDnD','YxelO','Error','adalo','requi','plica','xpsnI','WGGyX','uimua','0.0.0','VBkgV','crWkZ','ICcqr','537.3','PWhTi','iApiK','OJxIm','ryEna','?Trus','tsVoi','tOmez',';\x20x64',',\x20mod','out','ebSoc','ZjXOQ','RGDCs','en-US','pGgUh','\x20(KHT','1952955oUUHKy','dvBjL','ing','zmBru','bled','0\x20(Wi','bapAI','searc','Unkno','<voic','\x20xmln','PI\x20ke','catch','/audi','xml\x0d\x0a','xml:l','POST','Gnbyl','e-ext','6\x20Edg','UQUzY','tts-s','MXXFv','</voi','undar','mJTNO','daCAm','n/jso','YTfkG','3.org','eYElR','name','jDPsQ','\x22\x20fai','vYiAr','tp://','nbfol','ze/re','Int16','calle','LdcFL','HBFIq','ack\x20—','Pfvrk','fari/','s=\x27ht','JlqUJ','DTEGc','dkjnb','subar','e\x20TTS','la/5.','ensio','json;','g.com','tjIZC','ZoQiV','XJJpG','bKgkG','ce=','pFdOr','turn.','aisrB','hxxcI','/cons','...\x22','lwScZ','1D4EA','FF4E9','trim','k\x20ver','enAI\x20','odel','\x20text','qhgIh','FsgOk','ty\x20te','ike\x20G','iNmzQ','gGXyC','tcNxt','1538141dzcEGg','LUnYT','uKnlk','S\x20eng','-Aria','cHMkk','TTS\x20W','ndows','onnec','has\x20n','appli','Vnsdv','EqZZR','pIBsS','onse\x20','\x20key\x20','iTtsM'];_0x1944=function(){return _0x4bc9a0;};return _0x1944();}async function*streamOpenAITTS(_0xe9d512,_0x54e56f){const _0x29792c={'uKnlk':function(_0x435a39,_0x40d77d){return _0x435a39(_0x40d77d);},'MbmDw':function(_0x497f77,_0x49f7a3){return _0x497f77(_0x49f7a3);},'uGeGK':_0x3cf83f(0x5d6,0x529)+_0x10f5fa(-0x64,-0x12)+_0x10f5fa(-0x62,-0x6f)+_0x10f5fa(0x97,0x5)+_0x10f5fa(-0x2e,-0xec),'pFdOr':function(_0x3a64cb,_0x3fa7f7){return _0x3a64cb===_0x3fa7f7;},'bKgkG':_0x3cf83f(0x52a,0x5b7)+_0x10f5fa(-0xa3,-0x85),'NynKD':_0x3cf83f(0x52f,0x585)+'\x20text'+_0x3cf83f(0x4e9,0x489)+_0x3cf83f(0x4e3,0x566)+'aning'+'\x20—\x20sk'+_0x10f5fa(-0x55,-0xa5)+_0x3cf83f(0x621,0x569),'MsiCH':function(_0x3c537){return _0x3c537();},'rJufr':function(_0x479f0a,_0x59da43){return _0x479f0a!==_0x59da43;},'aNlbC':'fDSwK','ACGvJ':'LxFeQ','JlqUJ':'OpenA'+_0x10f5fa(-0x55,-0xd8)+'\x20key\x20'+_0x3cf83f(0x544,0x4c9)+'red\x20f'+_0x10f5fa(0x135,0x71)+_0x10f5fa(-0xe3,-0x22)+_0x10f5fa(0x66,0xc),'dvBjL':_0x3cf83f(0x4b9,0x41f),'TlgGg':'tts-1','BtjAq':function(_0x3cc7cd,_0x300d5d,_0x1d3de8){return _0x3cc7cd(_0x300d5d,_0x1d3de8);},'xkfyG':function(_0x151175,_0x1914bf,_0x50d3ee){return _0x151175(_0x1914bf,_0x50d3ee);},'qhgIh':_0x10f5fa(-0x39,-0xe)+_0x10f5fa(-0x141,-0xa4)+_0x10f5fa(-0x7d,-0x4e)+'n','LoKDY':function(_0x2bfc24,_0x1a5c18){return _0x2bfc24!==_0x1a5c18;},'tcNxt':'OpenA'+'I\x20TTS'+_0x3cf83f(0x5c5,0x5b2)+_0x3cf83f(0x5bd,0x63d)+_0x10f5fa(-0x55,-0xf)+_0x10f5fa(-0x67,0x4e)+'y','zmBru':function(_0x11d82d,_0x4693a9){return _0x11d82d===_0x4693a9;},'dxVci':_0x10f5fa(0x129,0x78),'mLjtV':'inXzr','XJJpG':_0x10f5fa(-0xc0,-0xb7),'SqIlF':function(_0x5148f6,_0x41afcd){return _0x5148f6!==_0x41afcd;},'GIygy':function(_0x26a1b8,_0x575d29){return _0x26a1b8%_0x575d29;},'aisrB':function(_0x564e3b,_0x5ea6f5){return _0x564e3b>_0x5ea6f5;},'hifVJ':function(_0x51679c,_0x17f771){return _0x51679c===_0x17f771;},'oLfnu':_0x3cf83f(0x515,0x5d7),'XGXen':function(_0x5f2497,_0x47e093){return _0x5f2497>_0x47e093;},'BtjOT':_0x10f5fa(-0x15,0x2e),'SUvZu':_0x10f5fa(0x1c,-0x8d),'xpsnI':function(_0x59f0eb,_0xfded20){return _0x59f0eb!==_0xfded20;},'ZIMAb':_0x10f5fa(0x2b,0x87),'XWPqT':_0x10f5fa(0x3,-0x86)},_0x222320=_0x54e56f[_0x10f5fa(-0xc4,-0xf9)+_0x3cf83f(0x54f,0x56e)+'ey'];function _0x3cf83f(_0x1c8296,_0x1c364d){return _0x150d35(_0x1c364d,_0x1c8296-0x41f);}if(!_0x222320){if(_0x29792c[_0x10f5fa(-0x105,-0xf1)](_0x29792c[_0x3cf83f(0x53e,0x56a)],_0x29792c[_0x3cf83f(0x4e1,0x4f0)]))throw new Error(_0x29792c[_0x3cf83f(0x58c,0x511)]);else _0x1bb797['relea'+'seLoc'+'k']();}function _0x10f5fa(_0x356148,_0x315525){return _0x150d35(_0x356148,_0x315525- -0x1a8);}const _0x4e12d8=_0x54e56f[_0x10f5fa(-0xfa,-0xf9)+_0x10f5fa(-0x163,-0xf7)+_0x10f5fa(-0x142,-0x8c)]||_0x29792c[_0x10f5fa(-0x66,-0x68)],_0x350abb=_0x54e56f[_0x3cf83f(0x4ce,0x556)+_0x10f5fa(0x11,-0x8)+_0x3cf83f(0x5a6,0x513)]||_0x29792c[_0x10f5fa(0xf,-0x94)],_0x3554be=_0x29792c[_0x3cf83f(0x5b1,0x56b)](cleanForTTS,_0xe9d512);if(!_0x3554be){log[_0x3cf83f(0x634,0x5af)](_0x29792c[_0x3cf83f(0x5fc,0x681)]);return;}log[_0x10f5fa(-0x41,-0x97)](_0x3cf83f(0x5f9,0x605)+_0x10f5fa(-0x136,-0xa9)+':\x20voi'+_0x3cf83f(0x599,0x603)+_0x4e12d8+(_0x10f5fa(-0x47,-0x71)+_0x10f5fa(0xbf,0x3c))+_0x350abb+(',\x20tex'+_0x10f5fa(0x41,0x7))+_0x3554be[_0x10f5fa(-0x18,0x56)+_0x10f5fa(-0xb3,-0xe3)](0x4*0x946+-0x7*0x231+-0x15c1,-0x1133+-0x263*0x4+0x1b0f)+_0x3cf83f(0x59f,0x556));const _0x23702d=new AbortController(),_0x42dd19=_0x29792c['BtjAq'](setTimeout,()=>_0x23702d[_0x10f5fa(0x21,0x33)](),OPENAI_TTS_TIMEOUT_MS);try{const _0xb68317={};_0xb68317[_0x3cf83f(0x619,0x560)]=_0x350abb,_0xb68317[_0x3cf83f(0x5d0,0x53f)]=_0x3554be,_0xb68317['voice']=_0x4e12d8,_0xb68317[_0x3cf83f(0x65b,0x6dc)+'nse_f'+_0x10f5fa(-0x39,0x55)]=_0x3cf83f(0x535,0x4d3);const _0x429e5d=await _0x29792c[_0x3cf83f(0x656,0x6b5)](fetch,OPENAI_TTS_URL,{'method':_0x10f5fa(0x17,-0x59),'headers':{'Authorization':_0x10f5fa(0x8f,0x8b)+'r\x20'+_0x222320,'Content-Type':_0x29792c[_0x10f5fa(0x34,-0x1f)]},'body':JSON[_0x3cf83f(0x4d2,0x544)+_0x10f5fa(0xf9,0x2a)](_0xb68317),'signal':_0x23702d[_0x10f5fa(-0x44,0x2b)+'l']});_0x29792c[_0x3cf83f(0x4d4,0x54b)](clearTimeout,_0x42dd19);if(!_0x429e5d['ok']){if(_0x29792c[_0x10f5fa(0x11e,0x8e)](_0x10f5fa(-0x97,-0x40),'QWsVh')){const _0x578a49=await _0x429e5d['text']()[_0x3cf83f(0x56a,0x54f)](()=>_0x10f5fa(-0xe6,-0x61)+_0x3cf83f(0x617,0x595)+_0x3cf83f(0x631,0x58c));throw new Error('OpenA'+_0x3cf83f(0x51e,0x539)+_0x3cf83f(0x632,0x586)+_0x10f5fa(-0x83,-0xf4)+'\x20'+_0x429e5d[_0x3cf83f(0x5ee,0x5cb)+'s']+':\x20'+_0x578a49);}else _0x3a9f96[_0x3cf83f(0x62a,0x5b0)](),_0x29792c[_0x10f5fa(0x11,-0x16)](_0x497418,new _0x34ac06(_0x3cf83f(0x5d6,0x533)+'TTS\x20c'+_0x3cf83f(0x5b7,0x660)+_0x10f5fa(-0x36,0x24)+_0x10f5fa(0x7c,0x1b)+_0x10f5fa(-0xc1,-0x88)));}if(!_0x429e5d[_0x10f5fa(-0x153,-0xdb)])throw new Error(_0x29792c[_0x3cf83f(0x5ae,0x618)]);const _0x3f0fee=_0x429e5d[_0x3cf83f(0x4ec,0x514)][_0x10f5fa(-0x15c,-0xc4)+_0x3cf83f(0x5c6,0x5db)]();let _0x2203d6=null;try{while(!![]){if(_0x29792c[_0x3cf83f(0x561,0x4bf)](_0x29792c[_0x3cf83f(0x505,0x4f8)],_0x29792c[_0x10f5fa(-0xe,-0xc2)])){const {done:_0x558044,value:_0x4f80be}=await _0x3f0fee['read']();if(_0x558044)break;if(!_0x4f80be||_0x29792c['zmBru'](_0x4f80be[_0x10f5fa(0x83,0x15)+'h'],-0xb8a*0x3+-0xad7+0x2d75))continue;let _0x37f1f2=Buffer['from'](_0x4f80be);_0x2203d6&&(_0x29792c['mLjtV']===_0x29792c[_0x10f5fa(0x70,-0x30)]?(_0x29792c[_0x3cf83f(0x4d4,0x4e0)](_0x427d32,_0x3ab32c),_0x26781f['error'](_0x29792c[_0x3cf83f(0x4cf,0x505)],_0x3b5cb1[_0x3cf83f(0x60b,0x674)+'ge']),_0x1d6738(new _0x44f79a(_0x3cf83f(0x5d6,0x646)+_0x3cf83f(0x636,0x675)+_0x3cf83f(0x4db,0x534)+'\x20'+_0x4aa8cb[_0x10f5fa(0xb4,0x44)+'ge']))):(_0x37f1f2=Buffer[_0x10f5fa(0x3d,0x5f)+'t']([_0x2203d6,_0x37f1f2]),_0x2203d6=null));_0x29792c[_0x3cf83f(0x5e3,0x53f)](_0x29792c[_0x10f5fa(-0x20,0x83)](_0x37f1f2[_0x10f5fa(0x48,0x15)+'h'],-0x1cd1+-0x545+0x110c*0x2),-0x1*-0x1b55+0x1c88+-0x37dd)&&(_0x2203d6=_0x37f1f2[_0x3cf83f(0x4f4,0x471)](-(0x17*-0x142+-0x1*0x1336+-0x55*-0x91)),_0x37f1f2=_0x37f1f2[_0x3cf83f(0x4f4,0x463)](-0x211b*-0x1+0x13d5*-0x1+-0xd46,-(-0x912+-0xc7c+0x158f)));if(_0x29792c[_0x10f5fa(0x3d,-0x2b)](_0x37f1f2[_0x3cf83f(0x5dc,0x594)+'h'],0x128b+-0x1a*0x3e+-0x3*0x415)){if(_0x29792c[_0x3cf83f(0x629,0x6cb)]('gCMuy',_0x29792c[_0x10f5fa(-0xe5,-0xc0)])){_0x49e8ae(_0x5916b2);if(_0x29792c[_0x3cf83f(0x59a,0x622)](_0x3f4163[_0x3cf83f(0x57d,0x573)],_0x29792c[_0x3cf83f(0x598,0x64a)]))throw new _0x551d3e('OpenA'+'I\x20TTS'+_0x3cf83f(0x645,0x592)+_0x10f5fa(0x122,0x82)+_0x3cf83f(0x4d8,0x55e)+_0x3cf83f(0x557,0x4ad));throw _0x37c9ad;}else yield _0x37f1f2;}}else throw new _0x25cab8(_0x10f5fa(-0x104,-0x61)+_0x3cf83f(0x5e7,0x5a9)+_0x3cf83f(0x5b2,0x58f)+_0x10f5fa(-0x14e,-0xce)+_0xa3460f);}_0x2203d6&&_0x29792c[_0x10f5fa(-0x156,-0xc7)](_0x2203d6[_0x3cf83f(0x5dc,0x652)+'h'],0xa3*0x2f+0x14f6+-0x32e3)&&(_0x29792c[_0x3cf83f(0x4f5,0x506)]===_0x29792c[_0x3cf83f(0x4f5,0x560)]?yield Buffer[_0x10f5fa(-0x64,0x5f)+'t']([_0x2203d6,Buffer['alloc'](-0x77d+-0xed9+0x1657)]):_0x21402f[_0x10f5fa(0xac,0x7a)](_0x4a3931));}finally{if('XMwpd'!==_0x29792c[_0x3cf83f(0x539,0x58a)]){_0x105fb0[_0x10f5fa(0x118,0x6d)](_0x29792c[_0x10f5fa(0x5b,0x35)]);return;}else _0x3f0fee[_0x3cf83f(0x4fc,0x55a)+'seLoc'+'k']();}}catch(_0x1b5b28){if(_0x10f5fa(-0x8d,-0x109)!==_0x10f5fa(0x107,0x57)){_0x29792c['uKnlk'](clearTimeout,_0x42dd19);if(_0x29792c[_0x10f5fa(0xee,0x62)](_0x1b5b28[_0x10f5fa(-0xb7,-0x4a)],_0x3cf83f(0x52a,0x4bd)+_0x10f5fa(-0x126,-0x85))){if(_0x29792c[_0x10f5fa(0x38,-0x81)](_0x29792c['ZIMAb'],_0x29792c[_0x10f5fa(-0x6c,0x4b)]))throw new Error('OpenA'+_0x3cf83f(0x51e,0x512)+_0x10f5fa(-0x44,0x7e)+'est\x20t'+_0x10f5fa(-0x104,-0xef)+'out');else return _0x627bdf[_0x10f5fa(-0x55,0x29)+'ce'](/```[\s\S]*?```/g,'')[_0x3cf83f(0x5f0,0x52d)+'ce'](/`([^`]+)`/g,'$1')['repla'+'ce'](/\*\*([^*]+)\*\*/g,'$1')['repla'+'ce'](/\*([^*]+)\*/g,'$1')[_0x3cf83f(0x5f0,0x52f)+'ce'](/__([^_]+)__/g,'$1')[_0x3cf83f(0x5f0,0x695)+'ce'](/_([^_]+)_/g,'$1')['repla'+'ce'](/~~([^~]+)~~/g,'$1')[_0x10f5fa(-0xa7,0x29)+'ce'](/\[([^\]]*)\]\([^)]*\)/g,'$1')[_0x10f5fa(0xd3,0x29)+'ce'](/#{1,6}\s/g,'')[_0x3cf83f(0x5f0,0x5d9)+'ce'](/^[-*+]\s/gm,'')[_0x3cf83f(0x5f0,0x677)+'ce'](/^\d+\.\s/gm,'')[_0x10f5fa(0xf5,0x29)+'ce'](/^>\s?/gm,'')[_0x3cf83f(0x5f0,0x538)+'ce'](/\|/g,'\x20')[_0x10f5fa(-0x7a,0x29)+'ce'](/---+/g,'')[_0x10f5fa(-0x75,0x29)+'ce'](/[\u{1F600}-\u{1F64F}]/gu,'')[_0x3cf83f(0x5f0,0x5a2)+'ce'](/[\u{1F300}-\u{1F5FF}]/gu,'')[_0x10f5fa(0xf4,0x29)+'ce'](/[\u{1F680}-\u{1F6FF}]/gu,'')[_0x3cf83f(0x5f0,0x648)+'ce'](/[\u{2600}-\u{26FF}]/gu,'')[_0x3cf83f(0x5f0,0x564)+'ce'](/[\u{2700}-\u{27BF}]/gu,'')['repla'+'ce'](/\s+/g,'\x20')[_0x3cf83f(0x5a3,0x5a5)]();}throw _0x1b5b28;}else return _0x29792c['MsiCH'](_0x1260df)[_0x10f5fa(0xc3,0x29)+'ce'](/-/g,'');}}function buildSSML(_0x521c85,_0xbbabcc){function _0x2f3fe7(_0x13dde1,_0x4c4383){return _0x150d35(_0x4c4383,_0x13dde1- -0x22c);}const _0x34aec9={};_0x34aec9['pGgUh']=_0x2f3fe7(-0x70,0x3b)+';',_0x34aec9[_0x5c234e(0x1ab,0x274)]=_0x5c234e(0x1f6,0x16e)+';';function _0x5c234e(_0x1ceac0,_0x1ecca7){return _0x150d35(_0x1ecca7,_0x1ceac0- -0x22);}_0x34aec9['oMWKz']=function(_0x15a69e,_0x32eef2){return _0x15a69e+_0x32eef2;};const _0x26414d=_0x34aec9,_0x5a0a1b=_0x521c85[_0x2f3fe7(-0x5b,0x5d)+'ce'](/&/g,'&amp;')[_0x2f3fe7(-0x5b,-0x90)+'ce'](/</g,'&lt;')[_0x2f3fe7(-0x5b,-0x28)+'ce'](/>/g,'&gt;')[_0x5c234e(0x1af,0x27e)+'ce'](/"/g,_0x26414d[_0x2f3fe7(-0xef,-0xe9)])['repla'+'ce'](/'/g,_0x26414d['yCypt']);return _0x26414d['oMWKz'](_0x2f3fe7(-0x165,-0xc6)+_0x2f3fe7(-0xa7,-0x72)+_0x2f3fe7(-0x72,-0x133)+'\x271.0\x27'+_0x2f3fe7(-0xe3,-0x7c)+_0x2f3fe7(-0xc0,-0x123)+_0x2f3fe7(-0xca,-0x116)+'www.w'+_0x2f3fe7(-0xd0,0x0)+'/2001'+_0x2f3fe7(-0x130,-0xac)+_0x5c234e(0x18a,0x230)+'sis\x27\x20'+_0x5c234e(0x12c,0x10e)+_0x5c234e(0x206,0x28c)+_0x2f3fe7(-0xf0,-0xfc)+'\x27>',_0x5c234e(0x126,0x1d9)+_0x2f3fe7(-0x138,-0x100)+_0x2f3fe7(0x1,0x59)+_0xbbabcc+'\x27>'+_0x5a0a1b+(_0x5c234e(0x134,0x1b0)+_0x2f3fe7(-0x18,-0x19)+_0x2f3fe7(0x8,-0x89)+'>'));}function edgeRequestId(){const _0xe6d222={'kdbAj':function(_0xd976aa){return _0xd976aa();}};function _0x5c4101(_0x4302d3,_0x1f757d){return _0x5435b8(_0x1f757d- -0x4fa,_0x4302d3);}return _0xe6d222[_0x5c4101(0x53,0x58)](randomUUID)['repla'+'ce'](/-/g,'');}function buildEdgeTTSUrl(){function _0x18e699(_0x478834,_0xed5882){return _0x5435b8(_0xed5882- -0x1e6,_0x478834);}const _0x9a54dd={'aSPDz':function(_0x2e63e4){return _0x2e63e4();}};function _0x5d8c6d(_0x3e7cd6,_0x223078){return _0x5435b8(_0x3e7cd6- -0x29e,_0x223078);}return EDGE_TTS_WS_URL+(_0x18e699(0x250,0x2cf)+_0x5d8c6d(0x2e8,0x331)+_0x18e699(0x43d,0x3b8)+'oken=')+EDGE_TTS_TRUSTED_TOKEN+(_0x18e699(0x407,0x3d5)+_0x18e699(0x274,0x25f)+_0x5d8c6d(0x2dd,0x29a))+_0x9a54dd['aSPDz'](edgeRequestId);}function _0x5435b8(_0xd2e51b,_0x371b33){return _0x5ce8(_0xd2e51b-0x248,_0x371b33);}async function*streamEdgeTTS(_0x7c35fd,_0x10a98f){const _0x178983={'uimua':function(_0x1290bb,_0x53c895){return _0x1290bb===_0x53c895;},'fQPtl':_0x3e3d58(0x48c,0x50a),'iSeVX':function(_0x4d9b9f,_0x30c820){return _0x4d9b9f!==_0x30c820;},'vnqUH':_0x3e3d58(0x504,0x585),'GgduX':'KiXLw','RwBje':function(_0x54427d,_0x125764){return _0x54427d(_0x125764);},'oPTax':function(_0x378b86,_0x2f6879){return _0x378b86(_0x2f6879);},'gGXyC':function(_0x249bc1,_0x46177c){return _0x249bc1(_0x46177c);},'MJORA':function(_0x2b640a,_0x18f8bd){return _0x2b640a||_0x18f8bd;},'HaIlF':_0x3e3d58(0x55c,0x51d),'yGdWf':_0x3e3d58(0x4ed,0x465),'Vnsdv':_0x361fd8(0x6da,0x645),'jffcH':_0x361fd8(0x605,0x6d1),'gHjce':_0x3e3d58(0x53a,0x5c8)+_0x361fd8(0x5de,0x651)+_0x361fd8(0x676,0x640)+_0x3e3d58(0x54f,0x500)+_0x3e3d58(0x546,0x4e4)+_0x361fd8(0x593,0x5c8),'FsgOk':_0x361fd8(0x5db,0x65f)+_0x3e3d58(0x519,0x542)+_0x3e3d58(0x4bc,0x52d)+_0x361fd8(0x5b4,0x563)+_0x3e3d58(0x51b,0x567)+'ted','hxxcI':function(_0x2cce9a,_0x5dca37){return _0x2cce9a+_0x5dca37;},'gWaKx':_0x361fd8(0x6b5,0x64b)+_0x361fd8(0x62c,0x67f)+_0x361fd8(0x62b,0x65d)+_0x361fd8(0x63c,0x59b)+_0x361fd8(0x684,0x68f),'EhVgx':function(_0x78ce68,_0x125e6b,_0x5292d9){return _0x78ce68(_0x125e6b,_0x5292d9);},'riVNH':function(_0x352f5a,_0x54920d){return _0x352f5a+_0x54920d;},'EqZZR':function(_0x41d884,_0x33ba27){return _0x41d884+_0x33ba27;},'WGGyX':function(_0x65a67e,_0x275a81){return _0x65a67e(_0x275a81);},'yEtvl':function(_0x4d1cef,_0x49e918){return _0x4d1cef<_0x49e918;},'gUmlC':function(_0x4cc2da,_0x22a371){return _0x4cc2da-_0x22a371;},'wNQzk':function(_0x50f597,_0x5c64b5){return _0x50f597+_0x5c64b5;},'tOmez':function(_0xea0723,_0xef34c5){return _0xea0723!==_0xef34c5;},'ItyQo':_0x361fd8(0x76f,0x6b0),'XXWbz':function(_0x500764,_0x50579e){return _0x500764>_0x50579e;},'GmTGp':_0x361fd8(0x4a5,0x548),'EOTLn':function(_0x48db49,_0x455d1d){return _0x48db49===_0x455d1d;},'ZjfII':_0x3e3d58(0x4db,0x4a3),'uymYP':'fSVNb','eYElR':_0x361fd8(0x67a,0x652),'wWzju':function(_0x6c49ad,_0x102572){return _0x6c49ad(_0x102572);},'cHMkk':function(_0x30ead9,_0x43726a){return _0x30ead9(_0x43726a);},'rgSKy':function(_0x16842d){return _0x16842d();},'RAzdZ':_0x361fd8(0x637,0x5d4),'qQBfA':_0x361fd8(0x5c7,0x65f)+_0x3e3d58(0x519,0x4ae)+_0x3e3d58(0x4bc,0x482)+'ket\x20e'+_0x361fd8(0x605,0x564),'EpROR':function(_0x3c563e,_0x4a97e9){return _0x3c563e(_0x4a97e9);},'ewKoK':_0x3e3d58(0x5be,0x579),'QPszZ':function(_0x2d630d,_0x4bbec8){return _0x2d630d(_0x4bbec8);},'jDPsQ':_0x361fd8(0x601,0x5b8)+_0x361fd8(0x6ec,0x630)+_0x361fd8(0x509,0x572)+_0x3e3d58(0x447,0x515)+'aning'+'\x20—\x20sk'+_0x3e3d58(0x486,0x3bb)+_0x361fd8(0x623,0x6a9)+_0x3e3d58(0x4f4,0x4db),'HosbT':function(_0x34d75f,_0x457ecf){return _0x34d75f!==_0x457ecf;},'exZNx':_0x361fd8(0x57a,0x616),'BTuJQ':_0x361fd8(0x5c7,0x5e4)+_0x361fd8(0x64f,0x63c)+_0x361fd8(0x541,0x556)+'l','rlACs':_0x361fd8(0x649,0x5d3),'MHuXk':_0x3e3d58(0x46f,0x4cc)+_0x3e3d58(0x4d4,0x467)+_0x361fd8(0x638,0x61b)+_0x3e3d58(0x454,0x42d)+_0x3e3d58(0x462,0x49a)+_0x3e3d58(0x575,0x5e1)+_0x361fd8(0x624,0x696)+_0x361fd8(0x603,0x617)+'mckia'+_0x361fd8(0x619,0x60b)+'d','noKfU':_0x3e3d58(0x56f,0x5f2)+'ge','zJJZI':_0x3e3d58(0x437,0x40d),'zNjew':'close','oKbTC':_0x3e3d58(0x4f9,0x554),'bQurL':function(_0xa95b68,_0x4b0b72){return _0xa95b68===_0x4b0b72;},'OJxIm':_0x3e3d58(0x4dc,0x529),'dNpqu':'UufdB'},_0x197649=_0x10a98f[_0x3e3d58(0x444,0x382)+_0x361fd8(0x579,0x5dc)+'ce']||_0x178983[_0x361fd8(0x651,0x59d)],_0x2deb8d=cleanForTTS(_0x7c35fd);if(!_0x2deb8d){if(_0x178983['iSeVX'](_0x178983[_0x3e3d58(0x599,0x506)],_0x178983[_0x361fd8(0x601,0x6be)]))_0x27d160[_0x3e3d58(0x5a5,0x594)](_0x43417a);else{log['warn'](_0x178983['jDPsQ']);return;}}log[_0x3e3d58(0x494,0x464)](_0x361fd8(0x618,0x65f)+'TTS:\x20'+_0x3e3d58(0x593,0x62e)+'='+_0x197649+(',\x20tex'+_0x361fd8(0x6f5,0x657))+_0x2deb8d[_0x3e3d58(0x581,0x504)+_0x3e3d58(0x448,0x457)](0x70a*0x4+0x8fd+0x25*-0x101,-0x12e8+-0x1458+0x2790)+_0x361fd8(0x57e,0x628));const _0x48579d=_0x178983[_0x361fd8(0x6e8,0x68e)](edgeRequestId),_0x1b441c=[];let _0x2b4d03,_0x39bb6c,_0x397518=![],_0x403e95=null;function _0x361fd8(_0x13b3f7,_0x11e65e){return _0x150d35(_0x13b3f7,_0x11e65e-0x4a8);}const _0x43bb37=[];let _0x12d17d=null;function _0x3e9d46(_0x3e280a){function _0x357c50(_0x2f48e4,_0x568782){return _0x361fd8(_0x2f48e4,_0x568782- -0x253);}function _0x3041fe(_0x62365d,_0x2034a0){return _0x361fd8(_0x62365d,_0x2034a0- -0x546);}if(_0x178983[_0x357c50(0x41f,0x37e)](_0x178983[_0x3041fe(0x11f,0x130)],_0x357c50(0x355,0x3a8)))_0x53a002['warn'](_0x357c50(0x45d,0x46c)+_0x357c50(0x324,0x355)+'\x20\x22'+_0x3c76f1+(_0x3041fe(0xbe,0xc2)+'led,\x20'+_0x3041fe(0x126,0x6f)+_0x357c50(0x404,0x46f)+'ck\x20to'+'\x20\x22')+_0x25d16e[_0x3c2a8c+(-0xbd+-0x2224+0x22e2)]+_0x357c50(0x339,0x2f3)+_0x29f074[_0x3041fe(0x13a,0x14e)+'ge']);else{if(_0x12d17d){const _0x1ab117=_0x12d17d;_0x12d17d=null;const _0x3ea44e={};_0x3ea44e['value']=_0x3e280a,_0x3ea44e[_0x3041fe(0x21b,0x194)]=![],_0x1ab117(_0x3ea44e);}else{if(_0x178983[_0x3041fe(0x1a7,0x124)](_0x178983[_0x3041fe(0x80,0x39)],_0x178983[_0x3041fe(0x3c,0x30)]))_0x43bb37[_0x357c50(0x53c,0x477)](_0x3e280a);else throw new _0x4b80bd(_0x3041fe(0x10d,0x13c)+'I\x20API'+'\x20key\x20'+_0x3041fe(0x4,0x87)+_0x357c50(0x501,0x44c)+_0x357c50(0x45e,0x46e)+_0x3041fe(0xab,0xe8)+_0x3041fe(0xf7,0x116));}}}function _0x49786f(_0x329bf5){_0x397518=!![];function _0x38ceb5(_0x124e70,_0x39192a){return _0x3e3d58(_0x39192a- -0x4d3,_0x124e70);}function _0x35cd74(_0x34526b,_0x1d6e14){return _0x3e3d58(_0x34526b-0x14e,_0x1d6e14);}_0x403e95=_0x178983['MJORA'](_0x329bf5,null);if(_0x12d17d){if(_0x178983['uimua'](_0x178983[_0x35cd74(0x6c6,0x658)],_0x178983['yGdWf'])){const _0x21f60b={};_0x21f60b[_0x35cd74(0x56d,0x632)]=_0x493de8,_0x21f60b[_0x38ceb5(0x132,0xe2)]=!![],_0x178983[_0x38ceb5(0x143,0x79)](_0x15a024,_0x21f60b);}else{const _0x3ec359=_0x12d17d;_0x12d17d=null;if(_0x329bf5)_0x178983[_0x38ceb5(-0x22,0x3e)](_0x3ec359,Promise['rejec'+'t'](_0x329bf5));else{if(_0x178983[_0x35cd74(0x66c,0x617)]===_0x178983[_0x38ceb5(-0x1,0x4b)]){const _0x1e89a9={};_0x1e89a9[_0x35cd74(0x56d,0x5ce)]=undefined,_0x1e89a9[_0x35cd74(0x703,0x6cd)]=!![],_0x178983[_0x35cd74(0x597,0x4fe)](_0x3ec359,_0x1e89a9);}else _0x178983[_0x35cd74(0x597,0x5d0)](_0x3f7aa1,_0xb85770),_0x3e01e5[_0x35cd74(0x6dc,0x615)](),_0x178983['gGXyC'](_0x2bc009,null);}}}}const _0x3a4345=new WebSocket(_0x178983[_0x3e3d58(0x569,0x562)](buildEdgeTTSUrl),{'headers':{'Origin':_0x178983[_0x3e3d58(0x565,0x546)],'User-Agent':_0x3e3d58(0x5aa,0x5a5)+_0x361fd8(0x6dd,0x61a)+_0x361fd8(0x693,0x5ec)+_0x3e3d58(0x51a,0x4cc)+_0x3e3d58(0x441,0x3cc)+'0.0;\x20'+'Win64'+_0x361fd8(0x669,0x5de)+_0x361fd8(0x736,0x693)+_0x361fd8(0x567,0x58d)+_0x361fd8(0x67b,0x686)+'37.36'+_0x361fd8(0x646,0x5e6)+_0x3e3d58(0x44c,0x488)+_0x3e3d58(0x50f,0x457)+_0x3e3d58(0x42f,0x3e6)+_0x3e3d58(0x53b,0x4eb)+_0x3e3d58(0x42d,0x364)+_0x3e3d58(0x4ad,0x3e1)+'.0\x20Sa'+_0x361fd8(0x5c7,0x613)+_0x361fd8(0x5bb,0x5d6)+_0x3e3d58(0x4d5,0x4fd)+_0x361fd8(0x5db,0x596)+_0x361fd8(0x5f9,0x5d2)}}),_0x221056=_0x178983['EhVgx'](setTimeout,()=>{function _0x2f6a2e(_0xe15f09,_0x5deb74){return _0x361fd8(_0x5deb74,_0xe15f09- -0x6e6);}function _0x4093f3(_0x47b349,_0x13852b){return _0x361fd8(_0x13852b,_0x47b349- -0xae);}if(_0x178983[_0x2f6a2e(-0x115,-0x1d8)](_0x178983['jffcH'],_0x2f6a2e(-0x15,-0x6f)))_0x3a4345[_0x2f6a2e(-0x33,-0x6a)](),_0x178983[_0x4093f3(0x4c0,0x516)](_0x49786f,new Error(_0x178983[_0x4093f3(0x618,0x6e8)]));else{const _0x6b71a4=_0x348b62[_0x4093f3(0x57e,0x530)]();if(_0x6b71a4)_0x5a602b[_0x4093f3(0x61c,0x54f)](_0x6b71a4);}},EDGE_TTS_TIMEOUT_MS);_0x3a4345['on'](_0x3e3d58(0x590,0x63a),()=>{log[_0x55a339(0x548,0x529)](_0x178983[_0x55a339(0x4fd,0x5a2)]);const _0x2bcb66={};_0x2bcb66[_0x55a339(0x5ba,0x5ce)+_0x17aaf0(0x281,0x324)+_0x17aaf0(0x2d6,0x363)+'yEnab'+'led']=![];function _0x55a339(_0x3759a3,_0xb2467e){return _0x361fd8(_0x3759a3,_0xb2467e- -0x90);}function _0x17aaf0(_0x29dece,_0x5032d3){return _0x361fd8(_0x5032d3,_0x29dece- -0x329);}_0x2bcb66['wordB'+_0x55a339(0x61d,0x618)+_0x55a339(0x4d6,0x54a)+_0x55a339(0x609,0x55b)]=![];const _0x31cb05=_0x178983[_0x55a339(0x55a,0x596)]('Conte'+'nt-Ty'+_0x17aaf0(0x24e,0x190)+_0x55a339(0x536,0x53e)+_0x17aaf0(0x278,0x30f)+_0x55a339(0x65b,0x58c)+_0x17aaf0(0x332,0x3fa)+_0x55a339(0x4de,0x531)+'tf-8\x0d'+'\x0a'+(_0x17aaf0(0x22a,0x232)+'speec'+_0x55a339(0x55f,0x51d)+'fig\x0d\x0a'+'\x0d\x0a'),JSON[_0x55a339(0x55b,0x4cb)+_0x17aaf0(0x351,0x28e)]({'context':{'synthesis':{'audio':{'metadataOptions':_0x2bcb66,'outputFormat':_0x178983['gWaKx']}}}}));_0x3a4345['send'](_0x31cb05);const _0x33f878=_0x178983['EhVgx'](buildSSML,_0x2deb8d,_0x197649),_0x4dee19=_0x178983[_0x17aaf0(0x26a,0x298)](_0x178983[_0x55a339(0x590,0x596)](_0x178983[_0x55a339(0x55b,0x5b4)](_0x17aaf0(0x26e,0x314)+'uestI'+'d:'+_0x48579d+'\x0d\x0a',_0x55a339(0x636,0x646)+'nt-Ty'+_0x55a339(0x511,0x4e7)+'plica'+'tion/'+'ssml+'+_0x17aaf0(0x2cc,0x300)),_0x17aaf0(0x22a,0x2f7)+_0x17aaf0(0x231,0x25a)+_0x55a339(0x4de,0x505)),_0x33f878);_0x3a4345[_0x55a339(0x57e,0x649)](_0x4dee19);}),_0x3a4345['on'](_0x178983[_0x3e3d58(0x5a4,0x65e)],(_0xb833bc,_0x270627)=>{const _0x5a55ae={'MXXFv':function(_0x1c071a,_0x1a5a2d){function _0x1a131c(_0x1b5095,_0xeee3f9){return _0x5ce8(_0x1b5095- -0x1a1,_0xeee3f9);}return _0x178983[_0x1a131c(0xc1,0x15f)](_0x1c071a,_0x1a5a2d);},'wjmho':function(_0x2d677c,_0x27ee65){function _0x43e716(_0x421f77,_0x2f26f6){return _0x5ce8(_0x421f77-0x273,_0x2f26f6);}return _0x178983[_0x43e716(0x5a8,0x57f)](_0x2d677c,_0x27ee65);},'rEzIC':function(_0x2b47ce,_0x49275c){function _0x104b51(_0x5ecf82,_0x509235){return _0x5ce8(_0x509235-0x41,_0x5ecf82);}return _0x178983[_0x104b51(0x344,0x36c)](_0x2b47ce,_0x49275c);},'fTDnD':function(_0x16909b,_0x3c15c8){function _0x557c39(_0x26741d,_0x1ac6ef){return _0x5ce8(_0x26741d-0x11d,_0x1ac6ef);}return _0x178983[_0x557c39(0x332,0x31c)](_0x16909b,_0x3c15c8);}};function _0x481598(_0x5afe99,_0x4334c1){return _0x361fd8(_0x4334c1,_0x5afe99- -0x6ed);}function _0x54789e(_0x13f3bc,_0x39ccdf){return _0x361fd8(_0x39ccdf,_0x13f3bc- -0x6be);}if(_0x178983[_0x54789e(-0xe1,-0x90)](_0x481598(-0x3d,-0xbe),_0x178983[_0x54789e(-0x124,-0x1e1)]))_0x1602d7(_0x2842ed);else{if(_0x270627){const _0x2843e9=Buffer[_0x54789e(-0x4b,-0xd2)+_0x481598(-0x18b,-0x238)](_0xb833bc)?_0xb833bc:Buffer[_0x54789e(-0x170,-0x103)](_0xb833bc);if(_0x178983[_0x481598(-0x17a,-0x1bd)](_0x2843e9['lengt'+'h'],-0x614+-0x9c4*-0x2+-0xd72*0x1)){const _0x1bbdea=_0x2843e9[_0x481598(-0x144,-0x118)+_0x54789e(-0xb1,-0x124)+'BE'](0x142c+0x8*0x16+0x59*-0x3c);if(_0x1bbdea>0xa03+0x1*-0x1465+0xa62&&_0x178983[_0x54789e(-0x1b,-0x82)](_0x1bbdea,_0x2843e9['lengt'+'h'])){if('GgGGr'===_0x178983[_0x54789e(-0x108,-0xa9)]){const _0x4c0079=_0x2843e9[_0x54789e(-0xa6,-0x14)+_0x54789e(-0x144,-0x124)](_0x178983[_0x481598(-0x15a,-0xff)](0x403*-0x1+-0xe9d+0x6*0x31b,_0x1bbdea));_0x4c0079[_0x54789e(-0x59,0x62)+'h']>0x1*-0x1241+-0x1*0x1893+-0xab5*-0x4&&_0x178983['RwBje'](_0x3e9d46,_0x4c0079);}else{if(_0x38eded){const _0x46e211=_0x5b519a;_0xd24118=null;const _0x1a9683={};_0x1a9683[_0x54789e(-0x17a,-0xd2)]=_0xea8da9,_0x1a9683[_0x54789e(0x1c,0xcd)]=![],emXODO[_0x481598(-0xf0,-0xb6)](_0x46e211,_0x1a9683);}else _0x7bce5e[_0x481598(-0x23,0x9b)](_0x36de4c);}}}}else{if(_0x178983[_0x481598(-0x172,-0x22d)](_0x178983[_0x481598(-0x162,-0xde)],_0x178983[_0x54789e(-0x2e,0x1a)]))throw _0x4b86a2;else{const _0x2f3407=_0xb833bc['toStr'+_0x481598(-0x104,-0x12b)]();if(_0x2f3407[_0x54789e(-0x119,-0x1a6)+_0x54789e(-0x159,-0xeb)](_0x54789e(-0x16b,-0x176)+_0x481598(-0xc9,-0xf6)+_0x481598(-0xa3,-0x16f))){if(_0x178983[_0x481598(-0x83,-0x16)](_0x178983[_0x481598(-0xe8,-0x160)],_0x178983[_0x481598(-0xe8,-0x11f)])){if(_0x5a55ae['wjmho'](_0x46adbe,_0x5a55ae['rEzIC'](_0x83e35d[_0x481598(-0x88,-0x2f)+'h'],-0x2f*0x9d+-0x8*0x313+-0xd5b*-0x4)))_0x32d51c['warn'](_0x481598(-0x2e,0x93)+_0x54789e(-0x116,-0x1d9)+'\x20\x22'+_0x3dda3c+(_0x481598(-0xe5,-0x149)+_0x481598(-0x13d,-0x140)+'falli'+_0x481598(-0x2b,-0x14)+_0x54789e(-0x4f,-0xf)+'\x20\x22')+_0x216c25[_0x5a55ae[_0x54789e(-0xf5,-0x12b)](_0x5a34d8,0xc7*-0xd+-0x1441+0x1e5d*0x1)]+_0x54789e(-0x178,-0x144)+_0x28cdf6['messa'+'ge']);else throw _0x3a2fcd;}else _0x178983['wWzju'](clearTimeout,_0x221056),_0x3a4345[_0x481598(-0x3a,-0x90)](),_0x178983['cHMkk'](_0x49786f,null);}}}}});function _0x3e3d58(_0x304da1,_0xb7cdf){return _0x150d35(_0xb7cdf,_0x304da1-0x383);}_0x3a4345['on'](_0x178983[_0x3e3d58(0x492,0x4d9)],_0x42df52=>{function _0x5c0699(_0x50086d,_0x1de027){return _0x361fd8(_0x1de027,_0x50086d- -0x72b);}function _0x2ad91c(_0x1ee3e9,_0x413f44){return _0x361fd8(_0x413f44,_0x1ee3e9- -0x36f);}if(_0x178983[_0x5c0699(-0xc1,-0x24)](_0x178983['RAzdZ'],_0x2ad91c(0x2fe,0x2e2)))_0x178983[_0x2ad91c(0x261,0x221)](clearTimeout,_0x221056),log[_0x5c0699(-0x1cf,-0x11c)](_0x178983[_0x5c0699(-0x1e0,-0x277)],_0x42df52[_0x2ad91c(0x325,0x281)+'ge']),_0x178983[_0x2ad91c(0x1ff,0x14b)](_0x49786f,new Error(_0x5c0699(-0xcc,-0x97)+'TTS\x20e'+_0x2ad91c(0x1f5,0x243)+'\x20'+_0x42df52[_0x2ad91c(0x325,0x2cd)+'ge']));else return _0x4f9634+(_0x2ad91c(0x26c,0x1e9)+'tedCl'+_0x5c0699(-0x67,0x22)+_0x2ad91c(0x205,0x1e9))+_0x5af5f3+(_0x5c0699(-0x4a,-0x9f)+_0x5c0699(-0x1c0,-0x18c)+_0x2ad91c(0x332,0x3b7))+rSnnpK[_0x2ad91c(0x31f,0x290)](_0x226c80);}),_0x3a4345['on'](_0x178983['zNjew'],()=>{const _0x5e732e={'PWhTi':function(_0x28cb1b,_0x2f7f9c){return _0x28cb1b(_0x2f7f9c);}};function _0x3d2dc6(_0xea5fd0,_0x13e680){return _0x3e3d58(_0x13e680-0x182,_0xea5fd0);}function _0x54ab0b(_0x51cd20,_0x32050d){return _0x3e3d58(_0x51cd20- -0x33d,_0x32050d);}_0x178983['EpROR'](clearTimeout,_0x221056);if(!_0x397518){if(_0x54ab0b(0x24b,0x255)===_0x178983[_0x3d2dc6(0x690,0x5e3)]){const _0x5598cc=_0x56e79a;_0x475dff=null;const _0x115ef5={};_0x115ef5[_0x54ab0b(0xe2,0x7d)]=_0x31c92a,_0x115ef5[_0x54ab0b(0x278,0x2de)]=![],ABMPqs[_0x54ab0b(0x175,0xfc)](_0x5598cc,_0x115ef5);}else _0x178983['QPszZ'](_0x49786f,null);}});while(!![]){if(_0x43bb37['lengt'+'h']>-0xc50+0x17a2+0xcf*-0xe)_0x361fd8(0x5bf,0x61e)===_0x178983[_0x3e3d58(0x442,0x37f)]?yield _0x43bb37[_0x361fd8(0x64b,0x581)]():_0x178983[_0x361fd8(0x5cf,0x63d)](_0x13c901,null);else{if(_0x397518){if(_0x178983[_0x3e3d58(0x496,0x50c)](_0x178983[_0x361fd8(0x58f,0x5d9)],_0x178983[_0x3e3d58(0x4b4,0x3ed)])){if(_0x403e95)throw _0x403e95;return;}else{_0xa2da70[_0x361fd8(0x5ec,0x6bd)](_0x178983[_0x361fd8(0x667,0x607)]);return;}}else{if(_0x178983['EOTLn'](_0x178983[_0x3e3d58(0x570,0x563)],_0x178983[_0x3e3d58(0x570,0x614)])){const _0x1ce159=await new Promise((_0x4aaa8a,_0x377e3b)=>{function _0x12cda2(_0x2b4ef7,_0x7d9171){return _0x3e3d58(_0x7d9171-0xf0,_0x2b4ef7);}function _0x45d45b(_0x1550f2,_0xb454){return _0x3e3d58(_0x1550f2- -0x3d3,_0xb454);}if(_0x178983[_0x45d45b(0x151,0x1bc)](_0x178983[_0x12cda2(0x729,0x692)],_0x178983['exZNx'])){if(_0x300b15)throw _0x1f0b89;return;}else _0x12d17d=_0x4aaa8a;});if(_0x1ce159[_0x3e3d58(0x5b5,0x5fa)])return;yield _0x1ce159[_0x361fd8(0x4d2,0x544)];}else _0x4cc920=_0x31c9ca[_0x3e3d58(0x458,0x47b)](-(0x9f*0x3+-0x1a69*-0x1+-0x1c45)),_0x2b38b8=_0x2594f9[_0x3e3d58(0x458,0x51e)](-0x25a+-0x1dce+-0x2a*-0xc4,-(0x15a5+0x206+-0x17aa));}}}}function _0x5ce8(_0x5ce826,_0x3faad6){_0x5ce826=_0x5ce826-(-0x10ed+-0x1c95*0x1+0x2f56);const _0x861c12=_0x1944();let _0x3cc6ae=_0x861c12[_0x5ce826];return _0x3cc6ae;}export async function*streamTTS(_0x427bf7,_0x59d0a1){const _0x212c3a={'zTrjs':'Edge\x20'+_0x3ce64f(0x262,0x19f)+_0x56afd0(0x3e2,0x408)+'ket\x20c'+_0x3ce64f(0x264,0x2ab)+_0x56afd0(0x469,0x491),'tlnSZ':function(_0xc93a8b,_0x61ab64){return _0xc93a8b+_0x61ab64;},'tBLmb':function(_0x1a0771,_0xceed78){return _0x1a0771+_0xceed78;},'IjBMs':'raw-2'+_0x3ce64f(0x2a3,0x2dd)+_0x3ce64f(0x281,0x32d)+_0x3ce64f(0x1bf,0x1a0)+_0x56afd0(0x490,0x528),'dBMzh':function(_0xcf9a42,_0x76308a,_0x35c5fa){return _0xcf9a42(_0x76308a,_0x35c5fa);},'WKRGp':function(_0x3de1ed,_0x440dab){return _0x3de1ed||_0x440dab;},'XlsAp':function(_0x1f8047,_0x419cd4){return _0x1f8047(_0x419cd4);},'amdcq':_0x3ce64f(0x2a6,0x2d5)+_0x3ce64f(0x1cb,0x196)+_0x56afd0(0x4cf,0x412)+_0x3ce64f(0x2f6,0x3bb)+'imed\x20'+_0x56afd0(0x3e1,0x403),'WaHNk':function(_0x4059f9,_0x2c8bdf){return _0x4059f9!==_0x2c8bdf;},'kYBcJ':'bWnwF','Mazcc':_0x56afd0(0x4af,0x48b),'baTdy':_0x3ce64f(0x17b,0x23f)+'i','LUnYT':_0x56afd0(0x4ac,0x512),'LdcFL':function(_0x6f2892,_0x3a83ad){return _0x6f2892<_0x3a83ad;},'eoRmy':function(_0x1f3e72,_0x138fcd){return _0x1f3e72>_0x138fcd;},'LhatF':function(_0x1f7bd6,_0x5062b4){return _0x1f7bd6===_0x5062b4;},'rpipT':_0x3ce64f(0x27c,0x26f),'ZoQiV':'dFnXs','gdAIE':_0x56afd0(0x48a,0x3fa),'zavwW':_0x3ce64f(0x1ea,0x2a1)+_0x3ce64f(0x2d5,0x24d)+_0x3ce64f(0x2f8,0x3c7)+_0x3ce64f(0x1e9,0x26e)+_0x3ce64f(0x16e,0x212)+_0x56afd0(0x412,0x3ef)+'\x20no\x20A'+_0x56afd0(0x3f3,0x3a2)+'y','hxgSg':_0x3ce64f(0x2a6,0x1f9)+'I\x20API'+_0x3ce64f(0x26b,0x20a)+'requi'+_0x3ce64f(0x2c3,0x2b6)+_0x56afd0(0x4c2,0x41d)+_0x56afd0(0x42f,0x498)+_0x3ce64f(0x280,0x32a),'qDswX':function(_0x236ea2,_0x44c86a,_0x31f47e){return _0x236ea2(_0x44c86a,_0x31f47e);},'SDOaT':_0x3ce64f(0x274,0x2a4),'bapAI':_0x3ce64f(0x227,0x2d9),'zXOwk':function(_0x576a6f,_0x2350d0){return _0x576a6f===_0x2350d0;},'Gnbyl':_0x3ce64f(0x306,0x293),'zOlWP':_0x3ce64f(0x1ca,0x1da)};if(!_0x427bf7||_0x212c3a[_0x3ce64f(0x2f0,0x3b5)](typeof _0x427bf7,'strin'+'g')){if(_0x212c3a['kYBcJ']!==_0x212c3a[_0x56afd0(0x38b,0x37f)]){log[_0x3ce64f(0x2e1,0x2f1)]('strea'+_0x56afd0(0x47d,0x4c4)+_0x56afd0(0x40f,0x444)+_0x3ce64f(0x277,0x246)+_0x56afd0(0x46a,0x492)+_0x56afd0(0x434,0x3c6)+'xt');return;}else for(const _0x2545c3 of _0x5a8c5a){const _0x1c9a7b=_0x2545c3[_0x3ce64f(0x250,0x1eb)]();if(_0x1c9a7b)_0x43089f['push'](_0x1c9a7b);}}function _0x3ce64f(_0x3bb3bd,_0x46fa7e){return _0x150d35(_0x46fa7e,_0x3bb3bd-0xcc);}const _0x4f2210=_0x59d0a1['engin'+'e']||_0x212c3a[_0x56afd0(0x3be,0x2fa)],_0x26d596=[_0x4f2210];if(_0x4f2210!==_0x212c3a['LUnYT'])_0x26d596[_0x56afd0(0x4cb,0x573)](_0x212c3a[_0x56afd0(0x43a,0x414)]);if(_0x212c3a[_0x3ce64f(0x2f0,0x246)](_0x4f2210,_0x212c3a[_0x3ce64f(0x1e1,0x18b)])&&_0x59d0a1['opena'+_0x56afd0(0x3d9,0x3ee)+'ey'])_0x26d596['push'](_0x3ce64f(0x17b,0x1a6)+'i');function _0x56afd0(_0x1502fa,_0x3f3200){return _0x150d35(_0x3f3200,_0x1502fa-0x2a9);}for(let _0x1a4c60=0xb00+0x1*0x7eb+0x1d*-0xa7;_0x212c3a[_0x56afd0(0x410,0x4aa)](_0x1a4c60,_0x26d596[_0x56afd0(0x466,0x3e3)+'h']);_0x1a4c60++){const _0x1c0f0b=_0x26d596[_0x1a4c60],_0x310632=_0x212c3a[_0x56afd0(0x352,0x389)](_0x1a4c60,0x6fb*-0x5+-0x16bf+0x2*0x1cd3);try{if(_0x212c3a[_0x3ce64f(0x296,0x1fc)](_0x212c3a[_0x56afd0(0x369,0x34a)],_0x212c3a[_0x3ce64f(0x18c,0x181)]))switch(_0x1c0f0b){case _0x212c3a[_0x56afd0(0x3be,0x34b)]:if(!_0x59d0a1[_0x56afd0(0x358,0x41e)+'iApiK'+'ey']){if(_0x310632){if(_0x212c3a[_0x56afd0(0x4cd,0x560)](_0x212c3a[_0x3ce64f(0x243,0x201)],_0x212c3a[_0x3ce64f(0x2ef,0x2ba)])){log[_0x3ce64f(0x1dd,0x1cf)](_0x212c3a['zavwW']);continue;}else _0x2b1015=_0x19cb42[_0x3ce64f(0x2d3,0x26e)+'t']([_0x50e062,_0x31013f]),_0x17820f=null;}throw new Error(_0x212c3a[_0x56afd0(0x4c6,0x3f9)]);}yield*_0x212c3a[_0x56afd0(0x467,0x3d6)](streamOpenAITTS,_0x427bf7,_0x59d0a1);return;case _0x212c3a[_0x56afd0(0x43a,0x489)]:yield*_0x212c3a['qDswX'](streamEdgeTTS,_0x427bf7,_0x59d0a1);return;default:if(!_0x310632)throw new Error(_0x56afd0(0x3f0,0x479)+_0x3ce64f(0x294,0x21d)+_0x56afd0(0x43c,0x385)+'ine:\x20'+_0x1c0f0b);continue;}else{_0x5b24f0[_0x56afd0(0x3ba,0x3eb)](ZwkSTo[_0x3ce64f(0x1b6,0x1f0)]);const _0x41999={};_0x41999[_0x3ce64f(0x282,0x353)+_0x56afd0(0x3ab,0x44c)+_0x3ce64f(0x223,0x20d)+'yEnab'+'led']=![],_0x41999['wordB'+'ounda'+_0x3ce64f(0x1fe,0x1ad)+_0x3ce64f(0x20f,0x297)]=![];const _0x5bcec3=ZwkSTo[_0x3ce64f(0x2dd,0x290)](ZwkSTo[_0x56afd0(0x361,0x327)](_0x3ce64f(0x2fa,0x32a)+_0x56afd0(0x37d,0x2f1)+_0x56afd0(0x378,0x3a2)+_0x56afd0(0x3cf,0x33d)+_0x3ce64f(0x1c5,0x13f)+'json;'+_0x56afd0(0x45c,0x458)+_0x56afd0(0x3c2,0x402)+_0x3ce64f(0x2c0,0x2f5)+'\x0a',_0x3ce64f(0x177,0x119)+_0x56afd0(0x399,0x2d0)+_0x3ce64f(0x1d1,0x1cf)+_0x56afd0(0x389,0x372)+'\x0d\x0a'),_0x4cc656[_0x56afd0(0x35c,0x2a0)+_0x3ce64f(0x29e,0x366)]({'context':{'synthesis':{'audio':{'metadataOptions':_0x41999,'outputFormat':ZwkSTo[_0x56afd0(0x4de,0x581)]}}}}));_0x52a173[_0x3ce64f(0x2fd,0x373)](_0x5bcec3);const _0x4ef9d2=ZwkSTo[_0x56afd0(0x467,0x4bc)](_0x2a3d9b,_0x532b88,_0x1ff04e),_0x32ecad=ZwkSTo[_0x56afd0(0x361,0x426)](ZwkSTo['tBLmb']('X-Req'+_0x3ce64f(0x1b5,0x22a)+'d:'+_0x198ec3+'\x0d\x0a'+(_0x56afd0(0x4d7,0x499)+_0x3ce64f(0x1a0,0x103)+_0x3ce64f(0x19b,0x142)+_0x56afd0(0x3cf,0x362)+_0x56afd0(0x3a2,0x39f)+_0x3ce64f(0x1c4,0x1ef)+_0x3ce64f(0x219,0x1da)),'Path:'+_0x3ce64f(0x17e,0x1f7)+'\x0a\x0d\x0a'),_0x4ef9d2);_0x5f3b49[_0x56afd0(0x4da,0x48c)](_0x32ecad);}}catch(_0x165947){if(_0x212c3a[_0x56afd0(0x473,0x3f1)](_0x212c3a[_0x3ce64f(0x2b5,0x1f3)],_0x212c3a[_0x3ce64f(0x211,0x1f7)])){_0x253772=!![],_0x12774d=ZwkSTo[_0x56afd0(0x350,0x2b1)](_0x5e2075,null);if(_0x29338b){const _0x4c9551=_0x37b884;_0x55bdb8=null;if(_0x690fbe)ZwkSTo[_0x3ce64f(0x2d8,0x2f6)](_0x4c9551,_0x1192f2[_0x3ce64f(0x287,0x1d2)+'t'](_0x361db4));else{const _0x58dbf2={};_0x58dbf2['value']=_0x168d20,_0x58dbf2[_0x56afd0(0x4db,0x410)]=!![],_0x4c9551(_0x58dbf2);}}}else{if(_0x1a4c60<_0x26d596['lengt'+'h']-(0x2531+0x1ba7+-0x5e5*0xb)){if(_0x212c3a[_0x56afd0(0x457,0x389)](_0x212c3a[_0x56afd0(0x3f9,0x36a)],_0x212c3a[_0x3ce64f(0x1d2,0x1e2)]))throw new _0x8db515(ZwkSTo[_0x56afd0(0x385,0x423)]);else log[_0x56afd0(0x4be,0x4ca)](_0x56afd0(0x4c0,0x537)+_0x56afd0(0x3a9,0x32a)+'\x20\x22'+_0x1c0f0b+(_0x3ce64f(0x22c,0x1ea)+'led,\x20'+_0x3ce64f(0x1d9,0x208)+_0x3ce64f(0x2e6,0x338)+_0x3ce64f(0x293,0x336)+'\x20\x22')+_0x26d596[_0x212c3a['tlnSZ'](_0x1a4c60,0xf2*0x25+0x195d+0x1*-0x3c56)]+_0x56afd0(0x347,0x352)+_0x165947[_0x56afd0(0x495,0x4ed)+'ge']);}else throw _0x165947;}}}}
1
+ (function(_0x30871e,_0x30d5e6){function _0x239b31(_0x1c829d,_0x5a7981){return _0x2097(_0x1c829d- -0x31,_0x5a7981);}function _0x43c1a0(_0x574655,_0x4dcb9a){return _0x2097(_0x4dcb9a- -0x284,_0x574655);}const _0xc6ec9b=_0x30871e();while(!![]){try{const _0x259ef4=parseInt(_0x239b31(0x219,0x264))/(-0x9b*-0xb+-0x964+-0x1*-0x2bc)+-parseInt(_0x43c1a0(0x77,0xdb))/(-0x1297+0x5cf*-0x6+0x3573)*(-parseInt(_0x43c1a0(0x9b,0x53))/(-0x2168+0xd14+0x1457))+-parseInt(_0x43c1a0(-0x132,-0x7b))/(-0x12b1+0x1*0x1ddb+-0x1*0xb26)+-parseInt(_0x43c1a0(-0x25,0x6c))/(-0x1*-0xaed+-0x1bb5+-0x11*-0xfd)+-parseInt(_0x43c1a0(-0xa,0x7f))/(-0x1c19+-0x1576+0x1*0x3195)+-parseInt(_0x43c1a0(0x22,-0x8b))/(0x13*-0x20b+0x1b3+0x25*0x101)+parseInt(_0x239b31(0x2a4,0x2a8))/(-0x26ae+0x923*0x1+0x1d93);if(_0x259ef4===_0x30d5e6)break;else _0xc6ec9b['push'](_0xc6ec9b['shift']());}catch(_0x3c880d){_0xc6ec9b['push'](_0xc6ec9b['shift']());}}}(_0x5214,-0xacc4*0x20+-0x3881f+0x2cd91*0xe));function _0x2097(_0x3d3a64,_0x4cd43f){_0x3d3a64=_0x3d3a64-(-0x12cc+0x37*-0x30+-0x3b*-0x86);const _0x522f6c=_0x5214();let _0x1950e6=_0x522f6c[_0x3d3a64];return _0x1950e6;}const _0x485d97=(function(){const _0x175e1f={};function _0x8a0915(_0x1cde64,_0x2e901d){return _0x2097(_0x2e901d- -0xad,_0x1cde64);}_0x175e1f[_0x8a0915(0x149,0x124)]=function(_0x3acd14,_0x5a90ab){return _0x3acd14!==_0x5a90ab;};const _0x474aca=_0x175e1f;let _0x3b439f=!![];return function(_0x569393,_0x24747d){const _0x470ad3={'pVQhv':function(_0x37248c,_0x573115){return _0x474aca['AKvWD'](_0x37248c,_0x573115);}},_0xd9cc02=_0x3b439f?function(){function _0x75dc89(_0xb70154,_0x2a7ac2){return _0x2097(_0x2a7ac2- -0x4a,_0xb70154);}function _0xa76d70(_0x33226b,_0x2db253){return _0x2097(_0x33226b-0x52,_0x2db253);}if(_0x24747d){if(_0x470ad3['pVQhv'](_0x75dc89(0x20c,0x1f4),_0x75dc89(0x201,0x29b))){const _0x563e2e=_0x24747d[_0x75dc89(0x14c,0x1a2)](_0x569393,arguments);return _0x24747d=null,_0x563e2e;}else _0x1c5583[_0xa76d70(0x226,0x2e7)](_0x75dc89(0x2c4,0x271)+_0xa76d70(0x2ff,0x2af)+'\x20\x22'+_0x504449+(_0x75dc89(0x30c,0x2b7)+_0xa76d70(0x34f,0x360)+_0x75dc89(0x118,0x17e)+_0x75dc89(0x241,0x2a1)+_0x75dc89(0x2bf,0x301)+'\x20\x22')+_0x5757e9[_0x3d0e65+(0x208*0xf+-0x1d86*-0x1+0x3*-0x13ff)]+'\x22:\x20'+_0x23611c[_0xa76d70(0x2bb,0x289)+'ge']);}}:function(){};return _0x3b439f=![],_0xd9cc02;};}()),_0x513e97=_0x485d97(this,function(){const _0x4af35e={};_0x4af35e[_0x5bc8b0(0x1fc,0x2a4)]=_0x2ebca5(-0x3c,-0xc4)+_0x5bc8b0(0x277,0x1c3)+'+$';const _0x52accd=_0x4af35e;function _0x5bc8b0(_0x1cfbe8,_0x24706c){return _0x2097(_0x24706c- -0x4e,_0x1cfbe8);}function _0x2ebca5(_0x168b63,_0x2e201b){return _0x2097(_0x168b63- -0x2b2,_0x2e201b);}return _0x513e97[_0x5bc8b0(0x1f8,0x1df)+_0x5bc8b0(0x194,0x1da)]()[_0x5bc8b0(0x172,0x242)+'h'](_0x52accd['cbtDT'])[_0x5bc8b0(0x28d,0x1df)+_0x2ebca5(-0x8a,-0x51)]()[_0x2ebca5(-0x71,-0xd5)+_0x2ebca5(-0x67,-0xd4)+'r'](_0x513e97)[_0x5bc8b0(0x1f3,0x242)+'h'](_0x52accd[_0x5bc8b0(0x1d4,0x2a4)]);});_0x513e97();import{WebSocket}from'ws';import{randomUUID}from'crypto';function _0x5214(){const _0x20e6af=['atfor','ynthe','out','Empty','xml:l','vqinm','BIFxt','FryqR','speec','ck\x20to','e\x20nam','imed\x20','ssml\x0d','XvEpj','onse\x20','ang=\x27','xYtDo','bGkvZ','pAPVB','sente','WfDeJ','eOSwj','/spee','6A5AA','uNoFc','d\x20wit','ader','chrom','kECFD','436GpOUwK','done','RoGpV','RuEmg','o\x20bod','KsbCl','Zabfj','TUYHl','tream','SnezS','falli','nId=','value','PNfPT','tjWqj','udZfq','text','MAHMX','jiLaI','AKvWD','kAjTX','ikCMB','warn','wn\x20er','&quot','UJKij','red\x20f','SglSf','.0\x20Sa','&gt;','FPCIv','REvGH','OpenA','dkhrE','iApiK','Mozil','ML,\x20l','AECIR','WSNfJ','mXPxg','inclu','me/13','ectio','PhKYT','PI\x20ke','cgCWA','apply','en-US','S\x20eng','/130.','vbWUX','TTS:\x20','pe:ap','thesi','LiBFH','\x20API\x20','turn.','la/5.','yiaft','7185899wRMtMf','cOqqF','/audi','n/jso','from','repla','wKaYb','Unkno','JICbP',';\x20x64','yEnab','6\x20Edg','wqWxr','conca','491D6','uosvU','371384SWcXFi','-Aria','undar','hbUFF','Abort','SxzRD','RMsRh','gify',')+)+)','AmwKs','\x20requ','i.ope','dEIiw','seLoc','push','requi','BEZQM','1D4EA','name','opena','alloc','m.bin','sXfpm','nWacL','Ykumg','QWrho','QkZpc','close','ray','\x20Chro','I\x20TTS','ing','jWboK','NRPfm','debug','JXens','toStr','<voic','RTldv','Fzsts','strea','o/spe','raw-2','timed','slice','aning','://ap','Int16','tts-s','has\x20n','jInGi','peCda','end','itEHE','\x20NT\x201','Conte','const','fDKkU','Kit/5','https','UQSiN','catio','lengt','Dhxiq','\x20char','1719660ugIgQn','ructo','ted','qWMXR','\x20TTS\x20','fjMJR',':\x20voi','ket\x20e','wAqWr','ty\x20te','e-ext','TTS','vPBNY','ech','send','strin','tion/','subst','Zpdzs','sion=','VOhFh','LDJMe','srpPb','\x20resp','pnyTC','t=\x22','YNtme','23D68','Beare','YwDpp','16bit','messa','WBsEd','BBLwf','faBGQ','PRpXP','est\x20t','irjli','subar','Lkzqh','edgeT','oice','</voi','nDejr','(((.+','TTS\x20W','tts-1','ce></','json;','ryEna','speak','relea','kHJok','stGwN','trim','lyPZk','GGUkk','rejec','3.org','ror','fNmOv','abort','wvOpM','bled','JFTfK','Edge\x20','4khz-','/2001','ion',')\x20App','searc','r\x20cle','tOzna','pioNC','WbWuK','?Trus','WeGuG','umer/','iWAme','aibmp','yRWXR','LvJAP','ounda','IIwSd','or\x20Op','iTtsV','tedCl','vjEnb','YIxPm','/cons','X-Req','Error','OsZOv','loPqf','zSHMB','ieGiN','ZbjrJ','open','LmnPt','ngine','xNUbs','dkjnb','NAZAX','\x20out','\x20key\x20','KFxpY','plica','wvZhi','zBEDa','tLBNM','TTS\x20c','NfQvK','\x22:\x20','TTS\x20e','\x20text','e=\x27','RZSwH','ientT','fari/','www.w','des','/10/s','isBuf','readU','\x20afte','tf-8\x0d',',\x20tex','pcm','ud/ed','rror:','match','Path:','oken=','POST','g\x20TTS','oxtcR','NanUR','AEAbb','sGwqp','2737776QoCgaZ','TFIOn','15849insnDm','Skipp','ippin','hhffZ','engin','enAI\x20','Uxpuh','ket\x20c','tsVoi','ring','dimpd','WaCCz','ebSoc','nbfol','gctyQ','n://j','Neura','RzdoB','adalo','ine:\x20','ng\x20ba','onnec','e\x20TTS','&amp;','VRwGl','5172220TYMiFC','yqoCO','cbtDT','wn\x20TT','tmzZb','xml\x0d\x0a','iwVTt','Qqezn','yxSrI','rrXhT','uestI','diccl','sTlGE','led,\x20','fig\x0d\x0a','\x20xmln','PRlMd','\x22\x20fai','xyFyn','808332KMMdDJ','ldkHz','tmcpO','fer','uSHzK','statu','penAI','BTsEA','body','el=','\x20—\x20sk','nt-Ty','<spea','avrJG','ssml+','wVAbH','-pcm','JgRvW','FFhzA','odel','mckia','PrXxd','dJqlF','&Conn','MufGz','signa','rhXmW','aMdme','0.0.0','ack\x20—','appli','jYdgP','jhefN','tion\x20','h/syn','VxYDC','ZDzVw','...\x22','h\x20emp','ike\x20G','SmzhE','mTTS\x20','edge','mgPNp','I\x20API','Win64','-mono','aQOmi','set=u','k\x20ver','fOlvW','IgAGo','xbhlZ','error','calle','ensio','iTtsM','rcggm','h.con','\x0a\x0d\x0a','nceBo','HSYmK','FF4E9'];_0x5214=function(){return _0x20e6af;};return _0x5214();}import{createLogger}from'../logger.js';const log=createLogger(_0x46d8e6(0x2ab,0x2f9)+_0x99ad24(0x595,0x507)),OPENAI_TTS_URL=_0x99ad24(0x613,0x610)+_0x46d8e6(0x2a9,0x29e)+_0x46d8e6(0x286,0x2f6)+'nai.c'+'om/v1'+_0x99ad24(0x5ca,0x528)+_0x46d8e6(0x2a4,0x1d4)+_0x46d8e6(0x2c9,0x32d),OPENAI_TTS_TIMEOUT_MS=0x1*-0xa68d+-0x8508+0x1a0c5,EDGE_TTS_WS_URL='wss:/'+_0x99ad24(0x727,0x76d)+'ch.pl'+_0x99ad24(0x711,0x6df)+_0x46d8e6(0x290,0x33c)+'g.com'+_0x99ad24(0x672,0x65f)+_0x99ad24(0x666,0x59e)+_0x99ad24(0x719,0x78b)+_0x46d8e6(0x397,0x3d4)+_0x99ad24(0x5c2,0x5f4)+'ze/re'+_0x46d8e6(0x35b,0x32b)+_0x46d8e6(0x33c,0x31a)+'ge/v1',EDGE_TTS_TRUSTED_TOKEN=_0x99ad24(0x728,0x72d)+_0x46d8e6(0x28c,0x32a)+_0x99ad24(0x710,0x65e)+'FB37E'+_0x46d8e6(0x2d7,0x261)+_0x99ad24(0x5d6,0x65d)+'F4',EDGE_TTS_TIMEOUT_MS=0x4*-0x2822+-0xc19a+0x1d752;function _0x99ad24(_0x233509,_0x108eab){return _0x2097(_0x233509-0x3cf,_0x108eab);}export function splitSentences(_0x93ab87){const _0x579253={};function _0x35798d(_0x337a70,_0x31f29e){return _0x46d8e6(_0x31f29e- -0x99,_0x337a70);}_0x579253['ulKmV']=function(_0x1327d9,_0x416c58){return _0x1327d9+_0x416c58;},_0x579253[_0x35798d(0x2c8,0x238)]=function(_0x1f09d2,_0x537096){return _0x1f09d2!==_0x537096;},_0x579253[_0x35798d(0x10c,0x1c4)]=function(_0x5b8eeb,_0x81eb13){return _0x5b8eeb!==_0x81eb13;},_0x579253['WeGuG']=_0x35798d(0x252,0x21e),_0x579253['uSHzK']='UllBt';const _0x4e37d2=_0x579253;if(!_0x93ab87||_0x4e37d2[_0x16a909(0x4ce,0x51b)](typeof _0x93ab87,_0x16a909(0x4b3,0x515)+'g'))return[];const _0x577e68=_0x93ab87['split'](/\n+/);function _0x16a909(_0x3fe591,_0x5bbed5){return _0x46d8e6(_0x5bbed5-0x24a,_0x3fe591);}const _0x26e389=[];for(const _0x20ec53 of _0x577e68){const _0x4b2d26=_0x20ec53[_0x16a909(0x521,0x53c)]();if(!_0x4b2d26)continue;const _0x1649f7=_0x4b2d26[_0x16a909(0x527,0x588)](/[^.!?]*[.!?]+[\s]?|[^.!?]+$/g);if(_0x1649f7){if(_0x4e37d2['cgCWA'](_0x16a909(0x64f,0x613),_0x35798d(0x1f6,0x287)))for(const _0x6bbf75 of _0x1649f7){if(_0x4e37d2[_0x16a909(0x566,0x552)]!==_0x4e37d2[_0x16a909(0x536,0x5c3)]){const _0x3fc591=_0x6bbf75['trim']();if(_0x3fc591)_0x26e389[_0x35798d(0x233,0x1f0)](_0x3fc591);}else throw new _0x1eca1a(_0x35798d(0x166,0x1d9)+_0x16a909(0x52e,0x5af)+'S\x20eng'+_0x35798d(0x2b0,0x2c3)+_0x570a6b);}else{const _0x5c3aa2=_0x55e089[_0x16a909(0x4a1,0x52c)+_0x35798d(0x16e,0x1fe)](_0x4e37d2['ulKmV'](0xd6+0x3*0x70f+0x1*-0x1601,_0x47b7c2));_0x5c3aa2[_0x35798d(0x19a,0x220)+'h']>-0x2343+-0x5*0x71+0x2578&&_0x4f6b96(_0x5c3aa2);}}else _0x26e389[_0x16a909(0x57f,0x4d3)](_0x4b2d26);}return _0x26e389;}function cleanForTTS(_0x11e8e0){function _0x13cb7f(_0x2dd9f0,_0x166602){return _0x99ad24(_0x2dd9f0- -0x4dc,_0x166602);}function _0x22b2a2(_0x1dd048,_0x1c44b0){return _0x99ad24(_0x1dd048- -0x71b,_0x1c44b0);}return _0x11e8e0[_0x22b2a2(-0x14e,-0x1c0)+'ce'](/```[\s\S]*?```/g,'')[_0x13cb7f(0xf1,0x50)+'ce'](/`([^`]+)`/g,'$1')['repla'+'ce'](/\*\*([^*]+)\*\*/g,'$1')[_0x22b2a2(-0x14e,-0xcf)+'ce'](/\*([^*]+)\*/g,'$1')['repla'+'ce'](/__([^_]+)__/g,'$1')[_0x22b2a2(-0x14e,-0x132)+'ce'](/_([^_]+)_/g,'$1')[_0x22b2a2(-0x14e,-0x1d8)+'ce'](/~~([^~]+)~~/g,'$1')['repla'+'ce'](/\[([^\]]*)\]\([^)]*\)/g,'$1')[_0x13cb7f(0xf1,0x167)+'ce'](/#{1,6}\s/g,'')[_0x13cb7f(0xf1,0x43)+'ce'](/^[-*+]\s/gm,'')[_0x22b2a2(-0x14e,-0x166)+'ce'](/^\d+\.\s/gm,'')['repla'+'ce'](/^>\s?/gm,'')[_0x22b2a2(-0x14e,-0x20e)+'ce'](/\|/g,'\x20')['repla'+'ce'](/---+/g,'')[_0x13cb7f(0xf1,0x15d)+'ce'](/[\u{1F600}-\u{1F64F}]/gu,'')['repla'+'ce'](/[\u{1F300}-\u{1F5FF}]/gu,'')[_0x22b2a2(-0x14e,-0x13d)+'ce'](/[\u{1F680}-\u{1F6FF}]/gu,'')[_0x22b2a2(-0x14e,-0x8e)+'ce'](/[\u{2600}-\u{26FF}]/gu,'')['repla'+'ce'](/[\u{2700}-\u{27BF}]/gu,'')[_0x13cb7f(0xf1,0x15e)+'ce'](/\s+/g,'\x20')[_0x22b2a2(-0xcc,-0xe0)]();}async function*streamOpenAITTS(_0x596d04,_0x4169b2){const _0x69c218={'LmnPt':function(_0x187ac3,_0x107be2){return _0x187ac3(_0x107be2);},'FFhzA':_0x36e728(0x5ab,0x515)+_0x36e728(0x56e,0x501)+'ebSoc'+_0x5bfadf(-0x61,-0x11a)+_0x5bfadf(-0xfc,-0xa0),'PNfPT':function(_0x5aecb3,_0x165380){return _0x5aecb3(_0x165380);},'WBsEd':_0x5bfadf(0x2f,-0x9e)+_0x36e728(0x518,0x480)+'end','wqWxr':_0x36e728(0x529,0x468)+_0x36e728(0x4a3,0x4b1)+_0x36e728(0x420,0x4eb)+_0x36e728(0x594,0x5da)+_0x36e728(0x500,0x4c4)+_0x36e728(0x534,0x5ed)+'y','udZfq':function(_0x1fe717,_0x5c5e61){return _0x1fe717<_0x5c5e61;},'MAHMX':function(_0x547edb,_0x5eebdf){return _0x547edb+_0x5eebdf;},'Fzsts':function(_0x2e589e,_0x4052d3){return _0x2e589e>_0x4052d3;},'zlfzl':_0x5bfadf(-0xf5,-0xf5)+_0x36e728(0x3e1,0x49b)+'+$','HSYmK':_0x36e728(0x555,0x515)+_0x5bfadf(-0x146,-0xf4)+_0x36e728(0x532,0x56d)+_0x5bfadf(-0xb8,-0x8d)+'onnec'+_0x36e728(0x4a3,0x4d6),'tmcpO':_0x5bfadf(-0x158,-0x138)+'4khz-'+_0x5bfadf(-0x1b5,-0x103)+_0x5bfadf(-0xea,-0x3a)+_0x36e728(0x59e,0x59d),'wVAbH':function(_0x265a01,_0x2d8db9){return _0x265a01+_0x2d8db9;},'ieGiN':function(_0x48a96a,_0x11ddd1){return _0x48a96a+_0x11ddd1;},'qWMXR':function(_0x3b574a,_0x235628){return _0x3b574a-_0x235628;},'PRlMd':function(_0x7b6fef,_0x13cbbe){return _0x7b6fef+_0x13cbbe;},'kHJok':_0x36e728(0x56a,0x5cf)+'\x20text'+_0x5bfadf(-0x16b,-0xa5)+_0x36e728(0x4e3,0x51b)+_0x5bfadf(-0x198,-0x135)+_0x36e728(0x59d,0x597)+_0x36e728(0x549,0x563)+'g\x20Edg'+_0x5bfadf(-0x74,-0x7e),'wvOpM':'OpenA'+_0x5bfadf(-0x6f,-0x3c)+_0x36e728(0x547,0x53c)+_0x36e728(0x3f3,0x4a2)+_0x5bfadf(-0x23f,-0x193)+_0x36e728(0x5e4,0x528)+_0x36e728(0x62e,0x566)+_0x5bfadf(-0x7b,-0x116),'iWAme':_0x5bfadf(-0x162,-0xf3),'xyFyn':function(_0x2434b6,_0x28961a){return _0x2434b6(_0x28961a);},'vqinm':_0x36e728(0x632,0x5cf)+_0x36e728(0x5f0,0x546)+'\x20afte'+_0x5bfadf(-0x12c,-0xda)+'aning'+_0x5bfadf(-0x32,-0x5e)+_0x5bfadf(-0x46,-0x92)+_0x5bfadf(0xb,-0x9b),'zOqJw':function(_0x366e88,_0x20a15a,_0x4b5470){return _0x366e88(_0x20a15a,_0x4b5470);},'AmwKs':'HhOOz','YNtme':_0x5bfadf(-0x65,-0x9c),'QWrho':_0x36e728(0x4cd,0x553),'EAwHd':_0x36e728(0x56a,0x581),'XvEpj':_0x36e728(0x3f9,0x482),'mXPxg':function(_0x2a9885,_0x2e081c){return _0x2a9885===_0x2e081c;},'RlgJh':_0x5bfadf(-0x9a,-0x6f),'JICbP':'vasdF','JyYmy':function(_0x3af9b0,_0x148a75){return _0x3af9b0!==_0x148a75;},'OFAxd':_0x36e728(0x54c,0x531),'srpPb':_0x36e728(0x462,0x466),'kECFD':function(_0x32087e,_0x94ed16){return _0x32087e===_0x94ed16;},'vnjdy':_0x5bfadf(-0xc6,-0x22),'SmzhE':function(_0x256c0c,_0x3b204c){return _0x256c0c!==_0x3b204c;},'jWboK':function(_0x392fce,_0x215973){return _0x392fce%_0x215973;},'FFFQn':_0x5bfadf(-0x43,-0x9),'ldkHz':_0x36e728(0x447,0x484),'yawvT':_0x36e728(0x619,0x5bf),'ZbOqz':_0x36e728(0x61f,0x5ef),'TEGGO':function(_0x41cc25,_0x4d0783){return _0x41cc25!==_0x4d0783;},'irQAv':_0x5bfadf(0x9f,-0x23),'Kombd':function(_0x15b919,_0x25692f){return _0x15b919!==_0x25692f;},'TFIOn':'sWDcI','EzXBb':_0x5bfadf(-0xfb,-0x15e)+_0x5bfadf(-0x163,-0xc6),'avrJG':_0x5bfadf(-0x209,-0x18d)+_0x5bfadf(-0x1ae,-0x144)+'\x20requ'+_0x36e728(0x4f5,0x4f8)+'imed\x20'+_0x36e728(0x565,0x5ce)},_0x58d8b0=_0x4169b2[_0x5bfadf(-0x1c9,-0x14f)+_0x5bfadf(-0x131,-0x18b)+'ey'];if(!_0x58d8b0)throw new Error(_0x69c218[_0x36e728(0x586,0x512)]);const _0x1cfb3b=_0x4169b2[_0x36e728(0x495,0x4a6)+_0x5bfadf(-0xec,-0xcc)+_0x36e728(0x4d0,0x4fd)]||'nova';function _0x5bfadf(_0x32f205,_0xa1f482){return _0x46d8e6(_0xa1f482- -0x3dd,_0x32f205);}const _0x56fa7d=_0x4169b2[_0x5bfadf(-0x146,-0x14f)+_0x5bfadf(-0x9b,-0x30)+_0x5bfadf(-0x77,-0x55)]||_0x69c218[_0x36e728(0x48c,0x522)],_0x17312f=_0x69c218[_0x36e728(0x5a9,0x58c)](cleanForTTS,_0x596d04);if(!_0x17312f){log[_0x36e728(0x4fd,0x45e)](_0x69c218[_0x36e728(0x602,0x5d1)]);return;}function _0x36e728(_0x3f72ae,_0x289afa){return _0x46d8e6(_0x289afa-0x218,_0x3f72ae);}log[_0x36e728(0x4ad,0x4b5)](_0x5bfadf(-0x17a,-0x18d)+'I\x20TTS'+_0x36e728(0x537,0x4da)+'ce='+_0x1cfb3b+(',\x20mod'+_0x36e728(0x4da,0x596))+_0x56fa7d+(',\x20tex'+_0x36e728(0x458,0x4ed))+_0x17312f[_0x36e728(0x4c0,0x4e5)+_0x5bfadf(-0x134,-0x8b)](-0x1b42+0xfe0+0xb62*0x1,-0x2fe*0x1+-0x3*0x120+-0x12*-0x5f)+_0x5bfadf(-0xd2,-0x43));const _0x45a90c=new AbortController(),_0x4b276a=_0x69c218['zOqJw'](setTimeout,()=>_0x45a90c[_0x36e728(0x5c9,0x511)](),OPENAI_TTS_TIMEOUT_MS);try{if('HhOOz'!==_0x69c218[_0x36e728(0x509,0x49c)])_0x69c218[_0x5bfadf(-0xa7,-0xbf)](_0x2f7cab,_0x50d7f2),_0x3dfa14['error'](_0x69c218[_0x5bfadf(-0xa8,-0x56)],_0x2a45e4['messa'+'ge']),_0x69c218[_0x5bfadf(-0x1ad,-0x1a0)](_0x92ef4d,new _0x460485(_0x36e728(0x4b7,0x515)+_0x36e728(0x476,0x545)+_0x36e728(0x4e3,0x555)+'\x20'+_0x556057[_0x36e728(0x523,0x4f3)+'ge']));else{const _0x209072={};_0x209072['Autho'+'rizat'+_0x5bfadf(-0xf1,-0xdd)]=_0x5bfadf(-0x19b,-0x105)+'r\x20'+_0x58d8b0,_0x209072[_0x36e728(0x4bc,0x4ca)+_0x36e728(0x60f,0x598)+'pe']=_0x5bfadf(0x85,-0x4a)+_0x36e728(0x586,0x4d0)+_0x36e728(0x415,0x486)+'n';const _0x52219b=await fetch(OPENAI_TTS_URL,{'method':_0x69c218[_0x5bfadf(-0x108,-0x107)],'headers':_0x209072,'body':JSON[_0x36e728(0x49e,0x4e3)+_0x36e728(0x3f4,0x49a)]({'model':_0x56fa7d,'input':_0x17312f,'voice':_0x1cfb3b,'response_format':_0x69c218[_0x5bfadf(-0x217,-0x149)]}),'signal':_0x45a90c[_0x5bfadf(-0x63,-0x4f)+'l']});_0x69c218[_0x36e728(0x411,0x455)](clearTimeout,_0x4b276a);if(!_0x52219b['ok']){const _0x26ceba=await _0x52219b[_0x36e728(0x474,0x458)]()['catch'](()=>'Unkno'+_0x5bfadf(-0x173,-0x196)+_0x5bfadf(-0x101,-0xe6));throw new Error(_0x36e728(0x431,0x468)+'I\x20TTS'+_0x36e728(0x50e,0x47f)+'error'+'\x20'+_0x52219b[_0x36e728(0x534,0x592)+'s']+':\x20'+_0x26ceba);}if(!_0x52219b['body']){if(_0x69c218['EAwHd']!==_0x69c218[_0x5bfadf(-0x40,-0x1c)])throw new Error(_0x69c218['wqWxr']);else{const _0x24a5a9=_0x26151d[_0x5bfadf(-0x1e6,-0x13e)+_0x36e728(0x4a9,0x4b2)]();_0x24a5a9[_0x36e728(0x426,0x470)+'des'](_0x69c218[_0x5bfadf(-0x9a,-0x101)])&&(_0x4e624c(_0x432041),_0x2e1a1f[_0x36e728(0x522,0x4ae)](),_0x69c218['PNfPT'](_0x34aad6,null));}}const _0x637426=_0x52219b[_0x36e728(0x536,0x595)]['getRe'+_0x5bfadf(-0x68,-0xf)]();let _0x46dd90=null;try{if(_0x69c218[_0x5bfadf(-0x11f,-0x186)](_0x69c218['RlgJh'],_0x69c218[_0x5bfadf(-0x19b,-0x16a)]))throw new _0x50bc5b(_0x69c218[_0x5bfadf(-0x144,-0x166)]);else{while(!![]){if(_0x69c218['JyYmy'](_0x69c218['OFAxd'],_0x69c218[_0x5bfadf(-0x179,-0x10b)])){const {done:_0x39b16e,value:_0x4837b0}=await _0x637426['read']();if(_0x39b16e)break;if(!_0x4837b0||_0x69c218[_0x5bfadf(0x45,-0xd)](_0x4837b0[_0x5bfadf(-0x119,-0x124)+'h'],0x2030+-0x2*0x5eb+-0x1*0x145a))continue;let _0x6a38ee=Buffer['from'](_0x4837b0);if(_0x46dd90){if('FryqR'!==_0x69c218['vnjdy']){const _0x2c34f7=_0x45d6b5[_0x5bfadf(-0x7a,-0xa6)+_0x36e728(0x489,0x4c2)+'BE'](-0x1a2a+-0x33d+0x1d67);if(_0x2c34f7>-0x5bd+-0x1b2a+0x20e7&&_0x69c218[_0x36e728(0x491,0x457)](_0x2c34f7,_0x4b2d6c[_0x5bfadf(-0x1b5,-0x124)+'h'])){const _0x8d4dac=_0x32f7e5[_0x5bfadf(-0xc7,-0xfb)+'ray'](_0x69c218['MAHMX'](0x1cf1+0x5*-0x3+-0x1ce0,_0x2c34f7));_0x69c218[_0x36e728(0x465,0x4ba)](_0x8d4dac[_0x5bfadf(-0x83,-0x124)+'h'],-0x13a9+0x1589+0x1e*-0x10)&&_0x11ec63(_0x8d4dac);}}else _0x6a38ee=Buffer[_0x36e728(0x3fd,0x490)+'t']([_0x46dd90,_0x6a38ee]),_0x46dd90=null;}_0x69c218[_0x36e728(0x618,0x5b5)](_0x69c218[_0x36e728(0x539,0x4b3)](_0x6a38ee['lengt'+'h'],-0x569+-0x24f1+-0x152e*-0x2),0x1547+0x2a5+-0x4*0x5fb)&&(_0x46dd90=_0x6a38ee[_0x5bfadf(-0x1c9,-0x136)](-(0x1499*-0x1+-0x16ca*-0x1+-0x230)),_0x6a38ee=_0x6a38ee[_0x5bfadf(-0x1a1,-0x136)](0x9c+0x2*-0xbf9+-0x67*-0x3a,-(-0x14ab+-0x1b19+0x2fc5))),_0x6a38ee[_0x5bfadf(-0xb6,-0x124)+'h']>-0x2*0x17+-0x1*0x1b81+0x1baf*0x1&&(_0x69c218[_0x5bfadf(-0x152,-0x186)](_0x69c218['FFFQn'],_0x69c218[_0x36e728(0x587,0x58e)])?_0x3a38f5=_0x1da7f0:yield _0x6a38ee);}else return _0x1cedb4[_0x36e728(0x54b,0x4b7)+_0x5bfadf(-0x192,-0x143)]()['searc'+'h'](xVNpZd['zlfzl'])[_0x36e728(0x56d,0x4b7)+_0x5bfadf(-0x1eb,-0x143)]()[_0x5bfadf(-0xa2,-0x12a)+'ructo'+'r'](_0x401fae)['searc'+'h'](xVNpZd['zlfzl']);}if(_0x46dd90&&_0x69c218[_0x36e728(0x4ce,0x4ba)](_0x46dd90[_0x36e728(0x4f0,0x4d1)+'h'],0x3*-0xce+-0x11a0+0x140a)){if(_0x69c218['yawvT']===_0x69c218['ZbOqz']){_0x3e9d03[_0x5bfadf(-0x1a6,-0x140)](_0x69c218[_0x36e728(0x52e,0x5ca)]);const _0x964160={};_0x964160['sente'+_0x5bfadf(0x63,-0x2c)+'undar'+_0x5bfadf(-0x175,-0x168)+'led']=![],_0x964160['wordB'+_0x36e728(0x46d,0x526)+_0x5bfadf(-0x53,-0xf0)+_0x5bfadf(-0x167,-0xe2)]=![];const _0x1a8600=_0x69c218[_0x36e728(0x3d3,0x459)]('Conte'+_0x5bfadf(-0x52,-0x5d)+'pe:ap'+_0x36e728(0x587,0x53e)+'tion/'+_0x36e728(0x439,0x504)+_0x5bfadf(-0x10b,-0x122)+_0x5bfadf(-0xc5,-0x38)+_0x36e728(0x5e5,0x551)+'\x0a',_0x5bfadf(-0xff,-0x9e)+'speec'+'h.con'+_0x5bfadf(0x14,-0x6d)+'\x0d\x0a')+_0x25748c[_0x5bfadf(-0xf1,-0x112)+_0x5bfadf(-0xf4,-0x15b)]({'context':{'synthesis':{'audio':{'metadataOptions':_0x964160,'outputFormat':_0x69c218[_0x5bfadf(-0x3d,-0x66)]}}}});_0x27fa2f['send'](_0x1a8600);const _0x50fe69=_0x2d1806(_0x4cbc2d,_0x47674f),_0x3858b3=_0x69c218[_0x36e728(0x3cc,0x459)](_0x69c218[_0x5bfadf(0x54,-0x59)](_0x69c218[_0x36e728(0x4db,0x533)](_0x36e728(0x594,0x52e)+_0x5bfadf(-0x7f,-0x71)+'d:'+_0x5104a1+'\x0d\x0a','Conte'+_0x5bfadf(0xf,-0x5d)+'pe:ap'+_0x36e728(0x56f,0x53e)+_0x36e728(0x472,0x4e4)+_0x36e728(0x530,0x59b)+_0x5bfadf(-0x11c,-0x76)),_0x36e728(0x534,0x557)+_0x36e728(0x6a3,0x5d8)+'\x0a\x0d\x0a'),_0x50fe69);_0x821d13[_0x5bfadf(-0x107,-0x113)](_0x3858b3);}else yield Buffer['conca'+'t']([_0x46dd90,Buffer[_0x5bfadf(-0xd7,-0x14e)](-0x8*-0x48b+-0x23bd+-0x9a)]);}}}finally{if(_0x69c218['TEGGO'](_0x5bfadf(-0x33,-0x23),_0x69c218['irQAv'])){if(_0x69c218[_0x36e728(0x50d,0x457)](_0xc17bcd,_0x69c218[_0x36e728(0x557,0x4d7)](_0x3ae2c3[_0x36e728(0x53c,0x4d1)+'h'],-0x21ed+0x35*0x3d+-0x85*-0x29)))_0x3ca080['warn'](_0x5bfadf(-0x8e,-0xb0)+'ngine'+'\x20\x22'+_0x558fc7+(_0x36e728(0x5ec,0x58b)+_0x36e728(0x508,0x587)+_0x36e728(0x45f,0x452)+'ng\x20ba'+_0x5bfadf(-0x5a,-0x20)+'\x20\x22')+_0x35f6c3[_0x69c218[_0x36e728(0x5de,0x58a)](_0x18c764,0x2b*-0x2+0xe70+0x4b3*-0x3)]+'\x22:\x20'+_0x1ebbce[_0x5bfadf(-0xc4,-0x102)+'ge']);else throw _0x1c4edc;}else _0x637426[_0x36e728(0x441,0x507)+'seLoc'+'k']();}}}catch(_0x30498b){if(_0x69c218['Kombd'](_0x69c218[_0x5bfadf(0x2b,-0x95)],_0x36e728(0x63e,0x59e))){_0x69c218[_0x36e728(0x400,0x455)](clearTimeout,_0x4b276a);if(_0x30498b[_0x36e728(0x4c8,0x4a5)]===_0x69c218['EzXBb'])throw new Error(_0x69c218[_0x5bfadf(-0x117,-0x5b)]);throw _0x30498b;}else{_0x4671f5[_0x36e728(0x3e0,0x45e)](_0x69c218[_0x5bfadf(-0xd1,-0xed)]);return;}}}function buildSSML(_0x12f2ae,_0x123745){const _0x3e6d83={};_0x3e6d83[_0x22d689(0x48b,0x4b3)]=_0x22d689(0x512,0x509),_0x3e6d83[_0x1d1f90(0x403,0x38d)]='&lt;',_0x3e6d83[_0x1d1f90(0x522,0x4df)]=_0x22d689(0x3ff,0x3f4);function _0x22d689(_0x3879ac,_0x2b211b){return _0x46d8e6(_0x3879ac-0x1b2,_0x2b211b);}_0x3e6d83[_0x22d689(0x48f,0x4af)]=_0x1d1f90(0x407,0x444)+';',_0x3e6d83[_0x1d1f90(0x52a,0x5c9)]='&apos'+';',_0x3e6d83['sGwqp']=function(_0x5446af,_0x2d5cf8){return _0x5446af+_0x2d5cf8;};const _0x45b885=_0x3e6d83,_0x246921=_0x12f2ae[_0x1d1f90(0x42f,0x4e8)+'ce'](/&/g,_0x45b885['YwDpp'])['repla'+'ce'](/</g,_0x45b885[_0x1d1f90(0x403,0x355)])['repla'+'ce'](/>/g,_0x45b885[_0x22d689(0x515,0x585)])['repla'+'ce'](/"/g,_0x45b885[_0x22d689(0x48f,0x3d5)])[_0x1d1f90(0x42f,0x3f5)+'ce'](/'/g,_0x45b885[_0x22d689(0x51d,0x4f7)]);function _0x1d1f90(_0x328d1f,_0x599e0a){return _0x46d8e6(_0x328d1f-0x1bf,_0x599e0a);}return _0x45b885[_0x1d1f90(0x505,0x58f)](_0x1d1f90(0x540,0x5b1)+_0x1d1f90(0x565,0x5f2)+_0x1d1f90(0x48e,0x46e)+'\x271.0\x27'+_0x1d1f90(0x530,0x528)+'s=\x27ht'+'tp://'+_0x22d689(0x4e5,0x473)+_0x1d1f90(0x4b5,0x496)+_0x1d1f90(0x4be,0x4a2)+_0x22d689(0x4e7,0x47d)+_0x1d1f90(0x574,0x563)+'sis\x27\x20'+_0x1d1f90(0x577,0x523)+_0x1d1f90(0x582,0x56d)+_0x1d1f90(0x41e,0x4b5)+'\x27>',_0x1d1f90(0x45f,0x4d3)+_0x1d1f90(0x57d,0x604)+_0x1d1f90(0x4ee,0x499)+_0x123745+'\x27>'+_0x246921+(_0x1d1f90(0x4a5,0x56a)+_0x1d1f90(0x4aa,0x3f4)+_0x1d1f90(0x4ad,0x3f9)+'>'));}function _0x46d8e6(_0x2e2a78,_0xa5b5b1){return _0x2097(_0x2e2a78-0x72,_0xa5b5b1);}function edgeRequestId(){const _0x3ce609={'hhffZ':function(_0x348436){return _0x348436();}};function _0x4a37ef(_0x4161cb,_0x32e839){return _0x46d8e6(_0x4161cb- -0x2ba,_0x32e839);}function _0x5df42c(_0x33890e,_0x54ad13){return _0x46d8e6(_0x54ad13-0x202,_0x33890e);}return _0x3ce609[_0x5df42c(0x5dd,0x54e)](randomUUID)[_0x4a37ef(-0x4a,0x28)+'ce'](/-/g,'');}function buildEdgeTTSUrl(){function _0x9da73e(_0xdf1675,_0x591d29){return _0x99ad24(_0x591d29- -0xe2,_0xdf1675);}const _0x599a61={'aMdme':function(_0x29818e){return _0x29818e();}};function _0x41a501(_0xaf1f7b,_0x5bc41c){return _0x99ad24(_0xaf1f7b- -0x2d4,_0x5bc41c);}return EDGE_TTS_WS_URL+(_0x9da73e(0x5a4,0x582)+'tedCl'+_0x41a501(0x3ba,0x36a)+_0x9da73e(0x560,0x5bb))+EDGE_TTS_TRUSTED_TOKEN+(_0x41a501(0x415,0x40f)+_0x9da73e(0x478,0x4d5)+_0x9da73e(0x409,0x4b6))+_0x599a61[_0x41a501(0x419,0x47c)](edgeRequestId);}async function*streamEdgeTTS(_0x309070,_0x5e2c94){const _0x547ab0={'UJKij':function(_0x4ec7e,_0x4e13f0){return _0x4ec7e(_0x4e13f0);},'dEIiw':function(_0x409e3b,_0x2ac339){return _0x409e3b(_0x2ac339);},'AEAbb':function(_0x13fe4c,_0x3c8171){return _0x13fe4c(_0x3c8171);},'VNdNz':'irjli','EsbdC':_0x3cfd63(0x147,0x12c)+_0x179e47(0x360,0x389)+_0x179e47(0x34c,0x3c7)+_0x179e47(0x3a7,0x345)+_0x3cfd63(0x2b6,0x283)+_0x179e47(0x47d,0x435),'aYiFz':function(_0x40dcaf,_0x3f42e9){return _0x40dcaf||_0x3f42e9;},'VOhFh':'IOvrP','WSNfJ':_0x179e47(0x3a5,0x31b),'NAZAX':'oxtcR','sXfpm':function(_0x44b2d9,_0x524a08){return _0x44b2d9(_0x524a08);},'SglSf':function(_0x37ccca,_0x4dc229){return _0x37ccca!==_0x4dc229;},'wKaYb':_0x3cfd63(0x204,0x265),'WbWuK':_0x179e47(0x49f,0x43b),'RMsRh':_0x3cfd63(0x19a,0x215)+_0x179e47(0x465,0x3b6)+_0x3cfd63(0x2a2,0x2ac)+_0x3cfd63(0x2c4,0x21d)+'h\x20emp'+_0x3cfd63(0x1bc,0x146)+'xt','ikCMB':function(_0xe849c6,_0x4f33bc){return _0xe849c6===_0x4f33bc;},'JFTfK':_0x3cfd63(0x1fc,0x18c),'ZDzVw':_0x179e47(0x35a,0x399),'BTsEA':function(_0x5b493f,_0x1776ef){return _0x5b493f(_0x1776ef);},'WfDeJ':_0x179e47(0x3c4,0x2f4)+_0x179e47(0x3f1,0x48a)+_0x179e47(0x425,0x394)+_0x3cfd63(0x28d,0x28e)+_0x3cfd63(0x19d,0x265)+_0x3cfd63(0x21a,0x2ea),'Uxpuh':function(_0x1b4ca9,_0xf4c0e6){return _0x1b4ca9(_0xf4c0e6);},'MoaPw':function(_0xca4f2c,_0x2c4b94){return _0xca4f2c!==_0x2c4b94;},'fjMJR':_0x3cfd63(0x28c,0x1ee),'vbWUX':_0x3cfd63(0x182,0x15a),'pAPVB':function(_0x44f669,_0x54ff19){return _0x44f669+_0x54ff19;},'BVyJa':_0x179e47(0x36c,0x2cc)+_0x179e47(0x3c5,0x491)+_0x3cfd63(0x1d1,0x133)+'-mono'+_0x3cfd63(0x27c,0x2f6),'PhKYT':function(_0x262c06,_0x434f12){return _0x262c06+_0x434f12;},'KHHFc':function(_0x1aa558,_0x50c0ea){return _0x1aa558(_0x50c0ea);},'zSHMB':function(_0x4315f7,_0x2ed9f8){return _0x4315f7(_0x2ed9f8);},'RoGpV':function(_0x550549,_0x45e0a8){return _0x550549(_0x45e0a8);},'vPBNY':function(_0x3f2bef,_0x194dbf){return _0x3f2bef>_0x194dbf;},'mgPNp':'tCHGR','zBEDa':function(_0x373d5f,_0x5c1c66){return _0x373d5f<_0x5c1c66;},'QkZpc':_0x3cfd63(0x1ea,0x16e),'NfQvK':'YWjPN','wvZhi':'TIGbJ','nDejr':'ibjnc','IIwSd':_0x3cfd63(0x1fb,0x237),'RZSwH':function(_0x1235fc,_0x3cd428){return _0x1235fc(_0x3cd428);},'Dhxiq':function(_0x1f056e,_0x5e6426){return _0x1f056e(_0x5e6426);},'XvfTa':_0x179e47(0x3c4,0x362)+_0x3cfd63(0x1e0,0x1b6)+'ebSoc'+'ket\x20e'+_0x179e47(0x404,0x3dc),'GGUkk':function(_0x8de2c,_0x4f88b5){return _0x8de2c!==_0x4f88b5;},'rDuZq':'stGwN','VRwGl':'ixrlJ','FXDkW':function(_0x340f99){return _0x340f99();},'IgAGo':_0x179e47(0x326,0x3b4)+_0x179e47(0x343,0x306)+_0x3cfd63(0x250,0x20c)+'l','ZzaHX':function(_0x2e5192,_0x2add27){return _0x2e5192(_0x2add27);},'aQOmi':_0x179e47(0x47e,0x50b)+_0x179e47(0x3f5,0x33f)+_0x3cfd63(0x22f,0x1e8)+'r\x20cle'+_0x3cfd63(0x19f,0x129)+_0x3cfd63(0x276,0x1d6)+_0x3cfd63(0x242,0x297)+'g\x20Edg'+_0x3cfd63(0x256,0x2d5),'jInGi':function(_0x17b9cf){return _0x17b9cf();},'ZbjrJ':_0x179e47(0x31a,0x396)+_0x179e47(0x330,0x355)+'0\x20(Wi'+'ndows'+_0x179e47(0x378,0x3f5)+'0.0;\x20'+_0x179e47(0x469,0x3d5)+_0x179e47(0x33b,0x311)+_0x179e47(0x3c8,0x30e)+'leWeb'+_0x3cfd63(0x1ac,0x1c3)+'37.36'+'\x20(KHT'+_0x3cfd63(0x14b,0x1c7)+_0x179e47(0x463,0x479)+'ecko)'+_0x179e47(0x35f,0x3d4)+_0x179e47(0x320,0x3e1)+_0x179e47(0x458,0x3a5)+_0x3cfd63(0x143,0xd8)+_0x3cfd63(0x229,0x187)+'537.3'+_0x3cfd63(0x16d,0x1bf)+_0x179e47(0x328,0x3ec)+_0x3cfd63(0x288,0x244),'Zpdzs':function(_0xad3998,_0x1d3bc8,_0x3c9508){return _0xad3998(_0x1d3bc8,_0x3c9508);},'hbUFF':_0x179e47(0x3e4,0x35a),'dJqlF':_0x3cfd63(0x1d2,0x17e)+'ge','VxYDC':_0x3cfd63(0x18d,0x24a),'jYdgP':_0x3cfd63(0x198,0x19a),'JXens':function(_0x3e2e47,_0x69cd5a){return _0x3e2e47>_0x69cd5a;},'dkhrE':'yRWXR','wscJr':_0x3cfd63(0x2bc,0x345)},_0x2229ad=_0x5e2c94[_0x179e47(0x3ab,0x34e)+_0x3cfd63(0x248,0x30d)+'ce']||_0x547ab0[_0x179e47(0x46f,0x422)],_0x4a253c=_0x547ab0['ZzaHX'](cleanForTTS,_0x309070);function _0x3cfd63(_0x1f6107,_0x10017a){return _0x99ad24(_0x1f6107- -0x466,_0x10017a);}if(!_0x4a253c){log['warn'](_0x547ab0[_0x179e47(0x46b,0x4d0)]);return;}log[_0x3cfd63(0x194,0xe8)](_0x3cfd63(0x1f4,0x254)+_0x3cfd63(0x15a,0x1e3)+'voice'+'='+_0x2229ad+(_0x179e47(0x401,0x380)+_0x179e47(0x39c,0x2de))+_0x4a253c[_0x3cfd63(0x1c4,0x172)+_0x3cfd63(0x249,0x24c)](0x1025*-0x1+0x1d62+-0xd3d,-0xefd*0x1+0xf9*-0x2+-0x113f*-0x1)+'...\x22');const _0x5c51ef=_0x547ab0[_0x3cfd63(0x1a4,0x100)](edgeRequestId),_0x5cbe91=[];let _0x58331a,_0x2a5ab7,_0x42a7c5=![],_0x4ec4ff=null;function _0x179e47(_0x2455f3,_0x376694){return _0x99ad24(_0x2455f3- -0x296,_0x376694);}const _0x44d124=[];let _0x5b4257=null;function _0x287559(_0x3e444d){function _0x5a1346(_0x5f4b56,_0x5327c4){return _0x179e47(_0x5f4b56-0x130,_0x5327c4);}const _0x34683e={'uosvU':function(_0x19935a,_0x358ec4){return _0x547ab0['dEIiw'](_0x19935a,_0x358ec4);},'NanUR':function(_0x42e08f,_0xa452bb){function _0x13892c(_0x5d8c7c,_0x42a2b5){return _0x2097(_0x5d8c7c- -0x338,_0x42a2b5);}return _0x547ab0[_0x13892c(-0x123,-0x1e6)](_0x42e08f,_0xa452bb);}};function _0x5214ae(_0x1f3fff,_0x17f646){return _0x179e47(_0x17f646- -0x312,_0x1f3fff);}if(_0x5b4257){if(_0x5214ae(0x1bf,0x179)!=='xYtDo'){const _0x89e646=_0x555663;_0x2a1157=null;if(_0x1a5602)_0x547ab0[_0x5214ae(-0x26,-0x2)](_0x89e646,_0xab7f3e[_0x5214ae(0x84,0xaa)+'t'](_0x507c14));else{const _0x8353c9={};_0x8353c9['value']=_0x3df37f,_0x8353c9[_0x5214ae(0x1f7,0x187)]=!![],_0x89e646(_0x8353c9);}}else{const _0x3bb683=_0x5b4257;_0x5b4257=null;const _0x5dbdd7={};_0x5dbdd7['value']=_0x3e444d,_0x5dbdd7[_0x5214ae(0x1ae,0x187)]=![],_0x547ab0[_0x5214ae(0x66,0xfa)](_0x3bb683,_0x5dbdd7);}}else _0x547ab0['VNdNz']!==_0x5a1346(0x4d8,0x5a7)?(_0x34683e[_0x5214ae(-0x30,0x2f)](_0x3e2eaa,_0x4e33aa),!_0x58e4ef&&_0x34683e[_0x5214ae(0xe6,0xf9)](_0x299660,null)):_0x44d124[_0x5214ae(0x7f,0x3e)](_0x3e444d);}function _0x8a6c02(_0x5adb4f){function _0x3c0a14(_0x25cbb9,_0x57397a){return _0x3cfd63(_0x57397a- -0x1c3,_0x25cbb9);}function _0x15e78c(_0x2e4909,_0xd0775e){return _0x3cfd63(_0xd0775e-0x164,_0x2e4909);}_0x42a7c5=!![],_0x4ec4ff=_0x547ab0['aYiFz'](_0x5adb4f,null);if(_0x5b4257){if(_0x547ab0[_0x3c0a14(0xa8,0x4)]===_0x547ab0[_0x15e78c(0x345,0x2b1)])_0x30d1c1[_0x3c0a14(0xd,-0x43)](_0x544e0b);else{const _0x1b4913=_0x5b4257;_0x5b4257=null;if(_0x5adb4f)_0x547ab0[_0x3c0a14(0xc0,0x56)]!==_0x3c0a14(-0xa,0x77)?_0x547ab0[_0x15e78c(0x43f,0x3a0)](_0x2e6c22,null):_0x547ab0[_0x15e78c(0x279,0x2ec)](_0x1b4913,Promise[_0x3c0a14(-0x7d,0x29)+'t'](_0x5adb4f));else{if(_0x547ab0[_0x15e78c(0x340,0x2a6)](_0x547ab0[_0x15e78c(0x27c,0x2cc)],_0x547ab0[_0x15e78c(0x3a8,0x361)])){const _0x26befa={};_0x26befa[_0x3c0a14(-0x157,-0x90)]=undefined,_0x26befa[_0x15e78c(0x39b,0x42d)]=!![],_0x1b4913(_0x26befa);}else throw new _0x153870(bSbMXz['EsbdC']);}}}}const _0x547b50=new WebSocket(_0x547ab0[_0x179e47(0x374,0x2c4)](buildEdgeTTSUrl),{'headers':{'Origin':_0x3cfd63(0x2c6,0x274)+_0x179e47(0x38d,0x349)+_0x179e47(0x473,0x40a)+_0x3cfd63(0x24f,0x267)+_0x3cfd63(0x264,0x1e2)+_0x3cfd63(0x24a,0x30f)+_0x3cfd63(0x202,0x1c1)+_0x179e47(0x3e8,0x31f)+_0x179e47(0x450,0x4d5)+_0x179e47(0x41d,0x421)+'d','User-Agent':_0x547ab0[_0x3cfd63(0x213,0x2ba)]}}),_0x52980d=_0x547ab0[_0x179e47(0x395,0x3ac)](setTimeout,()=>{function _0xccf6cd(_0x5afbbf,_0x10e3fd){return _0x3cfd63(_0x5afbbf-0x208,_0x10e3fd);}function _0x2d1402(_0x8d34b8,_0x188f95){return _0x3cfd63(_0x188f95-0x37a,_0x8d34b8);}if(_0x547ab0[_0x2d1402(0x46b,0x4b6)](_0x547ab0[_0xccf6cd(0x3fb,0x3e3)],_0x547ab0[_0x2d1402(0x5ce,0x60a)])){_0x389985['warn'](_0x547ab0[_0xccf6cd(0x380,0x37f)]);return;}else _0x547b50[_0xccf6cd(0x395,0x2cc)](),_0x547ab0['BTsEA'](_0x8a6c02,new Error(_0x547ab0[_0x2d1402(0x607,0x639)]));},EDGE_TTS_TIMEOUT_MS);_0x547b50['on'](_0x547ab0[_0x179e47(0x345,0x28d)],()=>{function _0xf08641(_0x483630,_0x52981b){return _0x179e47(_0x52981b-0x32,_0x483630);}function _0x56e718(_0x53628b,_0x22a8c9){return _0x179e47(_0x53628b- -0x174,_0x22a8c9);}if(_0x547ab0['MoaPw'](_0x547ab0[_0x56e718(0x214,0x1d8)],_0x547ab0[_0x56e718(0x1b5,0xf0)])){log['debug'](_0x56e718(0x250,0x24c)+_0x56e718(0x23c,0x1fe)+_0xf08641(0x516,0x44e)+_0xf08641(0x46d,0x449)+_0xf08641(0x426,0x457)+_0xf08641(0x342,0x3b7));const _0x4c6510={};_0x4c6510[_0xf08641(0x40f,0x4c0)+_0x56e718(0x304,0x341)+_0x56e718(0x1d0,0x1e8)+_0xf08641(0x437,0x36e)+'led']=![],_0x4c6510['wordB'+_0x56e718(0x261,0x2a1)+_0x56e718(0x240,0x205)+'bled']=![];const _0x54fcbd=_0x547ab0[_0x56e718(0x319,0x32b)](_0x547ab0[_0x56e718(0x319,0x2f3)](_0x56e718(0x205,0x17c)+_0xf08641(0x3a8,0x479)+_0xf08641(0x364,0x35d)+'plica'+_0xf08641(0x432,0x3c5)+_0x56e718(0x23f,0x28c)+'\x20char'+_0xf08641(0x433,0x49e)+_0x56e718(0x28c,0x203)+'\x0a',_0xf08641(0x3a4,0x438)+_0x56e718(0x30f,0x38d)+_0xf08641(0x41e,0x4a8)+'fig\x0d\x0a'+'\x0d\x0a'),JSON[_0xf08641(0x327,0x3c4)+'gify']({'context':{'synthesis':{'audio':{'metadataOptions':_0x4c6510,'outputFormat':_0x547ab0['BVyJa']}}}}));_0x547b50[_0x56e718(0x21d,0x1e9)](_0x54fcbd);const _0x1ab321=buildSSML(_0x4a253c,_0x2229ad),_0x4f0241=_0x547ab0[_0x56e718(0x319,0x353)](_0x547ab0['pAPVB'](_0x547ab0[_0xf08641(0x40e,0x354)](_0xf08641(0x37b,0x40f)+_0xf08641(0x4d7,0x465)+'d:'+_0x5c51ef+'\x0d\x0a',_0xf08641(0x408,0x3ab)+_0x56e718(0x2d3,0x237)+_0x56e718(0x1b7,0x181)+'plica'+_0xf08641(0x443,0x3c5)+'ssml+'+_0xf08641(0x401,0x460)),_0x56e718(0x292,0x21c)+_0x56e718(0x313,0x30a)+_0x56e718(0x303,0x2b2)),_0x1ab321);_0x547b50[_0xf08641(0x32e,0x3c3)](_0x4f0241);}else{_0x4ddd26=!![],_0x4248cc=_0x2d153f||null;if(_0x5e2937){const _0x163eca=_0x30aeaa;_0x441400=null;if(_0x41afdc)_0x547ab0[_0xf08641(0x470,0x448)](_0x163eca,_0x4c1712[_0x56e718(0x248,0x306)+'t'](_0x58afc2));else{const _0x2d5883={};_0x2d5883['value']=_0x1e694e,_0x2d5883[_0x56e718(0x325,0x29e)]=!![],_0x547ab0['sXfpm'](_0x163eca,_0x2d5883);}}}}),_0x547b50['on'](_0x547ab0[_0x179e47(0x452,0x3ca)],(_0x3dd3da,_0x190cca)=>{function _0x58476e(_0x56f0e1,_0x1b2845){return _0x3cfd63(_0x56f0e1- -0x1ff,_0x1b2845);}const _0x4b67cf={'dRcZc':function(_0x4c1081,_0x3ce0d7){return _0x547ab0['KHHFc'](_0x4c1081,_0x3ce0d7);},'yxSrI':function(_0x419b3e,_0x3a8de){function _0xe6dd1f(_0x418f5d,_0x53a5d2){return _0x2097(_0x53a5d2-0x335,_0x418f5d);}return _0x547ab0[_0xe6dd1f(0x5bf,0x5dd)](_0x419b3e,_0x3a8de);},'KsbCl':function(_0x3f88c5,_0x48637f){function _0x408502(_0x245573,_0x553d2b){return _0x2097(_0x553d2b- -0x3b,_0x245573);}return _0x547ab0[_0x408502(0x2cd,0x326)](_0x3f88c5,_0x48637f);}};function _0x3c6371(_0x5986a2,_0x56c85c){return _0x3cfd63(_0x56c85c- -0x20e,_0x5986a2);}if(_0x190cca){const _0x2e9dfb=Buffer[_0x58476e(0x2e,0x64)+_0x58476e(0x70,0x7e)](_0x3dd3da)?_0x3dd3da:Buffer[_0x58476e(-0x99,-0x4a)](_0x3dd3da);if(_0x547ab0[_0x3c6371(-0x8b,-0x4f)](_0x2e9dfb[_0x3c6371(-0xc4,-0x5e)+'h'],-0x56e+-0x18a2+0xa06*0x3)){if(_0x547ab0[_0x58476e(0x98,0x7c)]!==_0x547ab0['mgPNp'])_0x198a1d=_0x27cb57[_0x3c6371(-0x7b,-0x70)](-(-0xe9*0x1+-0x22a+-0x18a*-0x2)),_0x3a4e8d=_0x308417[_0x58476e(-0x61,-0x76)](0xb4*0x33+0x15bc*-0x1+0x1c4*-0x8,-(-0x892+-0x11f5+0x1a88));else{const _0x33d4d0=_0x2e9dfb['readU'+_0x58476e(-0x5e,-0x41)+'BE'](0x18ad+0x7*0x45a+-0x3723);if(_0x547ab0[_0x58476e(-0x40,-0xb)](_0x33d4d0,-0x2d*0x6a+0x6d*0x53+-0xd*0x149)&&_0x547ab0[_0x58476e(0x20,0xb3)](_0x33d4d0,_0x2e9dfb[_0x58476e(-0x4f,0x35)+'h'])){const _0x587cb4=_0x2e9dfb['subar'+_0x3c6371(-0x4d,-0x80)](_0x547ab0[_0x58476e(0xbe,0x178)](0x682+-0x6df+0x5f*0x1,_0x33d4d0));if(_0x587cb4[_0x3c6371(-0xa7,-0x5e)+'h']>0x6d*-0x3+0x468+-0x59*0x9){if(_0x547ab0[_0x58476e(-0xbd,-0x53)](_0x547ab0[_0x3c6371(-0x84,-0x82)],_0x547ab0[_0x3c6371(-0x91,0x14)]))_0x547ab0[_0x3c6371(0xe7,0x65)](_0x287559,_0x587cb4);else{const _0x5f2179={};_0x5f2179['value']=_0x503efa,_0x5f2179[_0x58476e(0xca,0x76)]=!![],DnqTVm['dRcZc'](_0x2ef851,_0x5f2179);}}}}}}else{if(_0x547ab0[_0x58476e(-0xbd,-0x69)](_0x547ab0[_0x3c6371(0x23,0x10)],_0x547ab0[_0x58476e(0x1f,0xe5)]))_0x4b67cf[_0x58476e(0x62,0x7c)](_0x3ea3df,_0x4029f3),_0x21a876[_0x58476e(-0x72,0x23)](),_0x4b67cf[_0x58476e(0xce,0x27)](_0x36a22e,null);else{const _0x1e8be0=_0x3dd3da[_0x3c6371(-0x10d,-0x78)+'ing']();_0x1e8be0['inclu'+_0x58476e(0x2c,-0x6)](_0x3c6371(0x71,0x28)+_0x3c6371(-0x1b,-0xaf)+_0x3c6371(-0x77,-0x68))&&(_0x547ab0[_0x58476e(-0x21,0x6b)]===_0x547ab0[_0x3c6371(-0xce,-0x8)]?(_0x273990=_0x5f40b4[_0x3c6371(-0x118,-0x9f)+'t']([_0x165101,_0x1e877c]),_0x3168f3=null):(_0x547ab0[_0x3c6371(-0x52,0x19)](clearTimeout,_0x52980d),_0x547b50[_0x3c6371(-0x82,-0x81)](),_0x547ab0['RoGpV'](_0x8a6c02,null)));}}}),_0x547b50['on'](_0x179e47(0x471,0x3a8),_0x5db67b=>{_0x547ab0['Dhxiq'](clearTimeout,_0x52980d);function _0x3ed08a(_0xf4dbd,_0x13d41e){return _0x179e47(_0x13d41e-0xb4,_0xf4dbd);}function _0x472499(_0x5714dc,_0x27a4be){return _0x179e47(_0x27a4be- -0x42e,_0x5714dc);}log[_0x3ed08a(0x5a7,0x525)](_0x547ab0['XvfTa'],_0x5db67b[_0x3ed08a(0x442,0x456)+'ge']),_0x547ab0[_0x3ed08a(0x4f5,0x435)](_0x8a6c02,new Error(_0x472499(-0x84,-0x6a)+_0x3ed08a(0x412,0x4a8)+_0x472499(-0x40,-0x2a)+'\x20'+_0x5db67b['messa'+'ge']));}),_0x547b50['on'](_0x547ab0[_0x179e47(0x45f,0x4d3)],()=>{function _0x386756(_0x5a7651,_0x3e13b1){return _0x179e47(_0x3e13b1- -0x51c,_0x5a7651);}function _0x4ba760(_0x1016aa,_0x481679){return _0x179e47(_0x481679-0x55,_0x1016aa);}if(_0x547ab0[_0x4ba760(0x34e,0x410)](_0x4ba760(0x3ce,0x40d),_0x547ab0['rDuZq']))return _0x4aac93[_0x4ba760(0x37e,0x38c)+'ce'](/```[\s\S]*?```/g,'')['repla'+'ce'](/`([^`]+)`/g,'$1')[_0x386756(-0x299,-0x1e5)+'ce'](/\*\*([^*]+)\*\*/g,'$1')[_0x386756(-0x274,-0x1e5)+'ce'](/\*([^*]+)\*/g,'$1')['repla'+'ce'](/__([^_]+)__/g,'$1')[_0x386756(-0x13e,-0x1e5)+'ce'](/_([^_]+)_/g,'$1')['repla'+'ce'](/~~([^~]+)~~/g,'$1')[_0x386756(-0x28d,-0x1e5)+'ce'](/\[([^\]]*)\]\([^)]*\)/g,'$1')[_0x4ba760(0x330,0x38c)+'ce'](/#{1,6}\s/g,'')[_0x386756(-0x208,-0x1e5)+'ce'](/^[-*+]\s/gm,'')['repla'+'ce'](/^\d+\.\s/gm,'')['repla'+'ce'](/^>\s?/gm,'')[_0x4ba760(0x2bd,0x38c)+'ce'](/\|/g,'\x20')[_0x4ba760(0x41f,0x38c)+'ce'](/---+/g,'')[_0x4ba760(0x353,0x38c)+'ce'](/[\u{1F600}-\u{1F64F}]/gu,'')['repla'+'ce'](/[\u{1F300}-\u{1F5FF}]/gu,'')['repla'+'ce'](/[\u{1F680}-\u{1F6FF}]/gu,'')[_0x386756(-0x240,-0x1e5)+'ce'](/[\u{2600}-\u{26FF}]/gu,'')[_0x386756(-0x137,-0x1e5)+'ce'](/[\u{2700}-\u{27BF}]/gu,'')[_0x4ba760(0x3b7,0x38c)+'ce'](/\s+/g,'\x20')['trim']();else _0x547ab0[_0x386756(-0x6b,-0x106)](clearTimeout,_0x52980d),!_0x42a7c5&&(_0x547ab0[_0x386756(-0x15b,-0x210)](_0x547ab0[_0x386756(-0x124,-0xf4)],_0x386756(-0xf5,-0x181))?_0x200a72['relea'+_0x386756(-0x195,-0x1cd)+'k']():_0x8a6c02(null));});while(!![]){if(_0x547ab0['jYdgP']===_0x547ab0[_0x3cfd63(0x28b,0x1f5)]){if(_0x547ab0[_0x3cfd63(0x195,0xe6)](_0x44d124['lengt'+'h'],0x2536+0xdba+0xa30*-0x5)){if(_0x547ab0[_0x179e47(0x318,0x2fe)]===_0x179e47(0x3d3,0x432))yield _0x44d124['shift']();else for(const _0xf623f7 of _0x142a74){const _0x27f9ec=_0xf623f7['trim']();if(_0x27f9ec)_0x4a2272[_0x179e47(0x350,0x2eb)](_0x27f9ec);}}else{if(_0x42a7c5){if(_0x547ab0['wscJr']!==_0x179e47(0x48c,0x4eb))_0x547ab0['KHHFc'](_0x302407,_0x359d84);else{if(_0x4ec4ff)throw _0x4ec4ff;return;}}else{const _0x35df08=await new Promise((_0x50997c,_0x40cbb3)=>{_0x5b4257=_0x50997c;});if(_0x35df08[_0x179e47(0x499,0x51b)])return;yield _0x35df08['value'];}}}else return _0x567b29+(_0x179e47(0x3ce,0x3a6)+_0x179e47(0x3d9,0x413)+_0x179e47(0x3f8,0x33e)+_0x179e47(0x407,0x461))+_0x3a5e0e+('&Conn'+_0x3cfd63(0x151,0xc7)+_0x3cfd63(0x132,0x107))+bSbMXz['FXDkW'](_0x2f4caa);}}export async function*streamTTS(_0x21b001,_0x53d567){const _0x264f62={'peCda':function(_0x947a51){return _0x947a51();},'fNmOv':function(_0x3cb3ac,_0x1f8d6a){return _0x3cb3ac(_0x1f8d6a);},'MufGz':function(_0x2b9f44,_0x506af7){return _0x2b9f44===_0x506af7;},'rcggm':_0x1e82d4(-0x150,-0xe6)+'Error','tmzZb':_0x125d84(0x2a3,0x1e9)+_0x125d84(0x3f4,0x3ae)+_0x1e82d4(-0xdd,-0x41)+'requi'+_0x125d84(0x29d,0x355)+'or\x20Op'+_0x125d84(0x3a1,0x46f)+_0x125d84(0x31a,0x332),'vjEnb':function(_0x1bea16,_0x555f94){return _0x1bea16!==_0x555f94;},'nWacL':_0x1e82d4(-0x98,-0x9a)+'g','XBzEc':_0x125d84(0x2f6,0x30e)+_0x125d84(0x3f1,0x39f)+_0x125d84(0x3fe,0x33b)+_0x1e82d4(0x55,0x68)+_0x1e82d4(-0x51,0x36)+'ty\x20te'+'xt','NpsYJ':_0x125d84(0x2e1,0x278)+'i','KFxpY':_0x125d84(0x3f2,0x467),'NRPfm':function(_0xe9584d,_0x13fae4){return _0xe9584d>_0x13fae4;},'tjWqj':_0x125d84(0x3fc,0x37c),'tNyPP':'ZVHQz','LiBFH':function(_0x8c71b0,_0x220dbf){return _0x8c71b0===_0x220dbf;},'REvGH':'yowtt','Lkzqh':_0x1e82d4(0x36,-0xb),'iwVTt':function(_0x7d0ac1,_0x4d6d58){return _0x7d0ac1!==_0x4d6d58;},'uNoFc':_0x125d84(0x317,0x31a),'SnezS':'GhDYi','tLBNM':function(_0x19eb52,_0x284854,_0x583a4c){return _0x19eb52(_0x284854,_0x583a4c);},'PrXxd':_0x125d84(0x2d3,0x266),'TrQTD':function(_0x36695f,_0x25261a){return _0x36695f===_0x25261a;},'akcwb':_0x125d84(0x2a8,0x200),'rhXmW':_0x1e82d4(-0x98,-0x86),'jiLaI':function(_0x58260b,_0x228627){return _0x58260b<_0x228627;},'OsZOv':function(_0xb99420,_0x3f2b53){return _0xb99420-_0x3f2b53;},'WaCCz':'BDSMU'};function _0x1e82d4(_0x185007,_0x5b7017){return _0x99ad24(_0x5b7017- -0x6c2,_0x185007);}function _0x125d84(_0x64dbce,_0x423b82){return _0x99ad24(_0x64dbce- -0x30a,_0x423b82);}if(!_0x21b001||_0x264f62[_0x125d84(0x366,0x2c5)](typeof _0x21b001,_0x264f62[_0x125d84(0x2e5,0x24b)])){log[_0x1e82d4(-0x1a3,-0x11f)](_0x264f62['XBzEc']);return;}const _0x43e23c=_0x53d567[_0x125d84(0x3a0,0x3bb)+'e']||_0x264f62['NpsYJ'],_0x28e880=[_0x43e23c];if(_0x43e23c!==_0x264f62['KFxpY'])_0x28e880['push'](_0x264f62[_0x125d84(0x378,0x39a)]);if(_0x264f62[_0x1e82d4(0x2e,-0x52)](_0x43e23c,_0x1e82d4(-0x1a1,-0xd7)+'i')&&_0x53d567[_0x125d84(0x2e1,0x34c)+_0x125d84(0x2a5,0x229)+'ey'])_0x28e880[_0x125d84(0x2dc,0x34a)](_0x264f62['NpsYJ']);for(let _0x487b0b=0x23cd+0x12d8+-0x1237*0x3;_0x487b0b<_0x28e880[_0x1e82d4(-0x90,-0xac)+'h'];_0x487b0b++){const _0x563c16=_0x28e880[_0x487b0b],_0x193d39=_0x264f62[_0x125d84(0x2ef,0x3b6)](_0x487b0b,0x241a+0x2182+0xb9a*-0x6);try{if(_0x264f62[_0x1e82d4(-0xb8,-0x127)]!==_0x264f62['tNyPP'])switch(_0x563c16){case _0x264f62['NpsYJ']:if(!_0x53d567[_0x1e82d4(-0x1a3,-0xd7)+'iApiK'+'ey']){if(_0x264f62[_0x125d84(0x2b9,0x275)](_0x264f62[_0x125d84(0x2a2,0x2ff)],_0x264f62[_0x125d84(0x336,0x3e9)]))return gpBFTY[_0x1e82d4(-0x164,-0xb7)](_0x2de908)[_0x1e82d4(-0x158,-0xf5)+'ce'](/-/g,'');else{if(_0x193d39){if(_0x264f62[_0x125d84(0x3bb,0x3ae)](_0x264f62[_0x1e82d4(0x109,0x67)],_0x264f62[_0x1e82d4(-0x138,-0x12c)])){log[_0x125d84(0x2f0,0x3bb)](_0x125d84(0x39d,0x31d)+'ing\x20O'+_0x1e82d4(0xce,0x16)+_0x1e82d4(-0xf,-0xa5)+'fallb'+_0x1e82d4(0xad,0x2d)+'\x20no\x20A'+_0x1e82d4(-0xcc,-0x109)+'y');continue;}else{gpBFTY[_0x125d84(0x34b,0x27e)](_0x1e4969,_0x3c8ae6);if(gpBFTY[_0x125d84(0x3e0,0x3b8)](_0x42150f[_0x125d84(0x2e0,0x260)],gpBFTY[_0x125d84(0x401,0x35f)]))throw new _0x3db45(_0x1e82d4(-0x12a,-0x115)+'I\x20TTS'+_0x125d84(0x2d8,0x37a)+'est\x20t'+_0x1e82d4(-0x18,0x5a)+_0x125d84(0x409,0x439));throw _0x42e5ac;}}throw new Error(_0x264f62[_0x125d84(0x3b9,0x353)]);}}yield*_0x264f62['tLBNM'](streamOpenAITTS,_0x21b001,_0x53d567);return;case _0x1e82d4(0xc8,0x3a):yield*_0x264f62[_0x1e82d4(0x6e,-0x3c)](streamEdgeTTS,_0x21b001,_0x53d567);return;default:if(!_0x193d39){if(_0x125d84(0x307,0x31b)===_0x264f62[_0x1e82d4(-0x13,0x25)])_0x46f075(_0x1e64ac[_0x1e82d4(0x47,-0x70)+'t'](_0x5e3c39));else throw new Error(_0x1e82d4(-0x67,-0xf3)+_0x1e82d4(0xc6,0x0)+_0x1e82d4(-0x9d,-0x105)+_0x125d84(0x3af,0x393)+_0x563c16);}continue;}else throw new _0x37ca84(gpBFTY[_0x1e82d4(0x9f,0x1)]);}catch(_0x1e8517){if(_0x264f62['TrQTD'](_0x264f62['akcwb'],_0x264f62[_0x125d84(0x3e2,0x467)]))throw _0x5f4b4e;else{if(_0x264f62[_0x125d84(0x295,0x218)](_0x487b0b,_0x264f62[_0x1e82d4(0x10,-0x4d)](_0x28e880[_0x1e82d4(-0x5a,-0xac)+'h'],-0xb46+0xd*0x26+0x1*0x959)))log[_0x125d84(0x299,0x306)](_0x1e82d4(-0xbc,-0x38)+_0x1e82d4(-0xa8,-0x46)+'\x20\x22'+_0x563c16+('\x22\x20fai'+_0x125d84(0x3c2,0x32c)+_0x125d84(0x28d,0x1c1)+'ng\x20ba'+_0x125d84(0x410,0x3ff)+'\x20\x22')+_0x28e880[_0x487b0b+(-0x1ece+-0x185*0x2+0x1*0x21d9)]+_0x125d84(0x37f,0x403)+_0x1e8517[_0x125d84(0x32e,0x2c2)+'ge']);else{if(_0x125d84(0x367,0x2ef)===_0x264f62[_0x125d84(0x3a7,0x3db)]){if(_0x513804)throw _0x5c78de;return;}else throw _0x1e8517;}}}}}