Eleeter commited on
Commit
aae99dc
·
1 Parent(s): 1e56b5b

fix host binding

Browse files
.dockerignore CHANGED
@@ -1,9 +1,9 @@
1
  node_modules
2
- npm-debug.log
3
  .env
4
  .git
5
  .gitignore
6
- README.md
7
- *.js.map
8
- test-*.js
9
- debug-*.js
 
1
  node_modules
2
+ dist
3
  .env
4
  .git
5
  .gitignore
6
+ npm-debug.log
7
+ scripts
8
+ Dockerfile
9
+ .dockerignore
.env.example DELETED
@@ -1,22 +0,0 @@
1
- # Server
2
- PORT=3000
3
- NODE_ENV=development
4
-
5
- # Primary AI provider: "gemini" | "groq"
6
- AI_PROVIDER=gemini
7
-
8
- # Gemini API keys (comma-separated for key rotation)
9
- GEMINI_API_KEYS=your_gemini_key_1,your_gemini_key_2
10
-
11
- # Groq API keys (comma-separated for key rotation)
12
- GROQ_API_KEYS=your_groq_key_1,your_groq_key_2
13
-
14
- # Per-key daily request limit before rotating to next key
15
- KEY_DAILY_LIMIT=100
16
-
17
- # Global rate limit per IP (requests per 15 minutes)
18
- RATE_LIMIT_MAX=20
19
- RATE_LIMIT_WINDOW_MINUTES=15
20
-
21
- # Queue
22
- MAX_QUEUE_SIZE=50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.gitattributes DELETED
@@ -1,35 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,10 +0,0 @@
1
- ---
2
- title: CrashX
3
- emoji: 💻
4
- colorFrom: green
5
- colorTo: red
6
- sdk: docker
7
- pinned: false
8
- ---
9
-
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
public/index.html CHANGED
@@ -58,14 +58,12 @@
58
  <div id="profile-dropdown" class="dropdown-menu">
59
  <button id="btn-theme-toggle" class="dropdown-item">
60
  <div class="theme-icon-container">
61
- <svg class="theme-icon icon-for-dark" width="16" height="16" viewBox="0 0 24 24"
62
- fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
63
- stroke-linejoin="round">
64
  <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
65
  </svg>
66
- <svg class="theme-icon icon-for-light" width="16" height="16" viewBox="0 0 24 24"
67
- fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
68
- stroke-linejoin="round">
69
  <circle cx="12" cy="12" r="5"></circle>
70
  <line x1="12" y1="1" x2="12" y2="3"></line>
71
  <line x1="12" y1="21" x2="12" y2="23"></line>
@@ -91,6 +89,7 @@
91
  </button>
92
  </div>
93
 
 
94
  <button id="btn-profile-menu" class="sidebar-action-btn profile-btn">
95
  <div class="avatar-placeholder">
96
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor"
@@ -105,6 +104,7 @@
105
  </div>
106
  </nav>
107
 
 
108
  <main id="main-content">
109
  <!-- Topbar -->
110
  <header id="topbar">
@@ -121,8 +121,10 @@
121
  </div>
122
  </header>
123
 
 
124
  <div id="chat-container">
125
  <div id="messages-area">
 
126
  <div id="welcome-screen" class="welcome-screen">
127
  <div class="welcome-logo">
128
  <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor"
@@ -139,8 +141,10 @@
139
  </div>
140
  </div>
141
 
 
142
  <div id="input-container">
143
  <div class="input-wrapper">
 
144
  <div id="queue-bar" class="queue-bar">
145
  <span class="spinner"></span>
146
  <span id="queue-bar-text">Analyzing...</span>
@@ -164,6 +168,7 @@
164
  </main>
165
  </div>
166
 
 
167
  <div id="error-toast" class="toast"></div>
168
 
169
  <script src="/js/three.min.js"></script>
 
58
  <div id="profile-dropdown" class="dropdown-menu">
59
  <button id="btn-theme-toggle" class="dropdown-item">
60
  <div class="theme-icon-container">
61
+ <svg class="theme-icon icon-for-dark" width="16" height="16" viewBox="0 0 24 24" fill="none"
62
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
 
63
  <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
64
  </svg>
65
+ <svg class="theme-icon icon-for-light" width="16" height="16" viewBox="0 0 24 24" fill="none"
66
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
 
67
  <circle cx="12" cy="12" r="5"></circle>
68
  <line x1="12" y1="1" x2="12" y2="3"></line>
69
  <line x1="12" y1="21" x2="12" y2="23"></line>
 
89
  </button>
90
  </div>
91
 
92
+ <!-- Profile Button -->
93
  <button id="btn-profile-menu" class="sidebar-action-btn profile-btn">
94
  <div class="avatar-placeholder">
95
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor"
 
104
  </div>
105
  </nav>
106
 
107
+ <!-- Main Content Area -->
108
  <main id="main-content">
109
  <!-- Topbar -->
110
  <header id="topbar">
 
121
  </div>
122
  </header>
123
 
124
+ <!-- Chat / Results Area -->
125
  <div id="chat-container">
126
  <div id="messages-area">
127
+ <!-- Welcome Screen -->
128
  <div id="welcome-screen" class="welcome-screen">
129
  <div class="welcome-logo">
130
  <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor"
 
141
  </div>
142
  </div>
143
 
144
+ <!-- Input Area -->
145
  <div id="input-container">
146
  <div class="input-wrapper">
147
+ <!-- Queue Status -->
148
  <div id="queue-bar" class="queue-bar">
149
  <span class="spinner"></span>
150
  <span id="queue-bar-text">Analyzing...</span>
 
168
  </main>
169
  </div>
170
 
171
+ <!-- Error Toast -->
172
  <div id="error-toast" class="toast"></div>
173
 
174
  <script src="/js/three.min.js"></script>
public/js/api.js CHANGED
@@ -1 +1 @@
1
- const _0x1a49f2=_0x3e9c;function _0x3e9c(_0x1ed665,_0x15a34b){_0x1ed665=_0x1ed665-(-0x61e+0x5*0x419+-0xa*0x15d);const _0x2fac33=_0x1c1e();let _0x326253=_0x2fac33[_0x1ed665];return _0x326253;}(function(_0x43d54a,_0x3e6e73){const _0x4f8078=_0x3e9c,_0x220d43=_0x43d54a();while(!![]){try{const _0x4edcef=parseInt(_0x4f8078(0xc0))/(0x16fc+0x18f*-0x17+0xcde)*(parseInt(_0x4f8078(0xce))/(-0x26c+-0x1531+0x179f))+-parseInt(_0x4f8078(0xd3))/(-0xa00+-0x1*-0x1933+-0xf30)*(parseInt(_0x4f8078(0xc6))/(-0x1*0x145b+0x1*0x2079+-0xc1a))+-parseInt(_0x4f8078(0xcf))/(0x163a+0x10fe+-0xd11*0x3)+parseInt(_0x4f8078(0xd8))/(-0x264*0x5+0x38+0xbc2)+-parseInt(_0x4f8078(0xc7))/(0x7*-0x1e7+-0x1*-0x4f4+0x864)+parseInt(_0x4f8078(0xc9))/(-0x1ac7+-0x2478+0x3f47)*(parseInt(_0x4f8078(0xd4))/(-0x1809+-0x1ce2*-0x1+-0x4d0))+parseInt(_0x4f8078(0xc4))/(0x74*0x40+-0x16*0x1a+0x26e*-0xb);if(_0x4edcef===_0x3e6e73)break;else _0x220d43['push'](_0x220d43['shift']());}catch(_0x415c74){_0x220d43['push'](_0x220d43['shift']());}}}(_0x1c1e,0x9acc7+0xc3fa8+-0x1*0xeff45));const ANALYZE_ENDPOINT=_0x1a49f2(0xc8),STATUS_ENDPOINT=_0x1a49f2(0xc1),submitCrashLog=async _0xb0db6a=>{const _0x56d1dd=_0x1a49f2,_0x346840={'BIHgy':function(_0x51082b,_0x2573dc,_0x45c40d){return _0x51082b(_0x2573dc,_0x45c40d);},'ntswQ':_0x56d1dd(0xd5),'RHipJ':_0x56d1dd(0xbf)},_0x25d4e0=await _0x346840[_0x56d1dd(0xd6)](fetch,ANALYZE_ENDPOINT,{'method':_0x346840[_0x56d1dd(0xbd)],'headers':{'Content-Type':_0x346840[_0x56d1dd(0xcd)]},'body':JSON[_0x56d1dd(0xcb)]({'messages':_0xb0db6a})}),_0x56d9ab=await _0x25d4e0[_0x56d1dd(0xd7)]();if(!_0x25d4e0['ok'])throw new Error(_0x56d9ab[_0x56d1dd(0xd2)]||_0x56d1dd(0xca)+_0x25d4e0[_0x56d1dd(0xd1)]);return _0x56d9ab[_0x56d1dd(0xbe)];},pollJobStatus=async _0x101f9d=>{const _0x265c55=_0x1a49f2,_0x42b221={'NMqBM':function(_0x255504,_0x209265){return _0x255504(_0x209265);}},_0x4e7ac9=await _0x42b221[_0x265c55(0xcc)](fetch,STATUS_ENDPOINT+'/'+_0x101f9d),_0x11f89d=await _0x4e7ac9[_0x265c55(0xd7)]();if(!_0x4e7ac9['ok'])throw new Error(_0x11f89d[_0x265c55(0xd2)]||_0x265c55(0xc5)+_0x4e7ac9[_0x265c55(0xd1)]);return _0x11f89d;},fetchServerStatus=async()=>{const _0x1661e8=_0x1a49f2,_0x684ce1={'FzxNb':function(_0x51cb85,_0x335307){return _0x51cb85(_0x335307);},'OilCz':_0x1661e8(0xc3)},_0x37c3f7=await _0x684ce1[_0x1661e8(0xd0)](fetch,STATUS_ENDPOINT);if(!_0x37c3f7['ok'])throw new Error(_0x684ce1[_0x1661e8(0xc2)]);return _0x37c3f7[_0x1661e8(0xd7)]();};export{submitCrashLog,pollJobStatus,fetchServerStatus};function _0x1c1e(){const _0x4372ef=['ntswQ','jobId','application/json','747Jwnlsx','/api/status','OilCz','Failed\x20to\x20fetch\x20server\x20status','5996270BMEjxm','Poll\x20error\x20','1889764lOzGBw','1054788UAnXVS','/api/analyze','1637336daasIP','Server\x20error\x20','stringify','NMqBM','RHipJ','1582xFGvFj','4000945BvdZbc','FzxNb','status','error','3JDvQYV','18jwJhXD','POST','BIHgy','json','1664436UVCJHE'];_0x1c1e=function(){return _0x4372ef;};return _0x1c1e();}
 
1
+ function _0x3aee(){const _0x3b8cf7=['POST','143BITAJp','Server\x20error\x20','json','error','610947RauPYG','jobId','gdBlo','43515qBVAEB','sodNu','application/json','209766zGKUWO','/api/analyze','8mpknHm','CSnrP','559560jCeAau','4788833sPSJHt','83940dcxLty','wOYFs','vnbOt','status','/api/status','Poll\x20error\x20','stringify','582710GtCAQT','Failed\x20to\x20fetch\x20server\x20status','TbaGO','38tYBwUh','130wVRlJw'];_0x3aee=function(){return _0x3b8cf7;};return _0x3aee();}const _0x1c8618=_0x3e05;function _0x3e05(_0x1a0899,_0x1f0bfb){_0x1a0899=_0x1a0899-(0x1*-0x232f+0x2047*0x1+0x4cb);const _0x185406=_0x3aee();let _0x3d93e7=_0x185406[_0x1a0899];return _0x3d93e7;}(function(_0x478172,_0x5a4f1c){const _0x2f967e=_0x3e05,_0xe2be42=_0x478172();while(!![]){try{const _0x5a8831=-parseInt(_0x2f967e(0x1fc))/(0x1*0x78d+-0x9*-0x257+-0x3*0x989)+-parseInt(_0x2f967e(0x1eb))/(0x2*0x86d+0x2*0x206+-0x14e4)*(-parseInt(_0x2f967e(0x1f5))/(-0x5e7*0x6+-0x28e*0xf+0x49bf))+-parseInt(_0x2f967e(0x1fe))/(0xa31*0x1+0x115a*-0x2+0x1887)+parseInt(_0x2f967e(0x1ec))/(-0x117e+0x68b*0x5+-0xf34)*(parseInt(_0x2f967e(0x1f8))/(-0x13e*0xd+-0x293*0xc+0x2f10))+-parseInt(_0x2f967e(0x1fd))/(-0xdb5*0x1+0xa45*0x2+0x6ce*-0x1)*(-parseInt(_0x2f967e(0x1fa))/(0x2683+-0x873+-0x1*0x1e08))+-parseInt(_0x2f967e(0x1f2))/(-0x20b*0x13+-0x4*-0x508+0x12ba)+parseInt(_0x2f967e(0x1e8))/(-0x16cd*0x1+-0x131c+-0x1*-0x29f3)*(-parseInt(_0x2f967e(0x1ee))/(0xec2+-0x78c+0x1*-0x72b));if(_0x5a8831===_0x5a4f1c)break;else _0xe2be42['push'](_0xe2be42['shift']());}catch(_0xc73b29){_0xe2be42['push'](_0xe2be42['shift']());}}}(_0x3aee,0xdaec+0x6929*-0x3+0x7702c));const ANALYZE_ENDPOINT=_0x1c8618(0x1f9),STATUS_ENDPOINT=_0x1c8618(0x1e5),submitCrashLog=async _0xf731f6=>{const _0x378967=_0x1c8618,_0x92cd74={'vnbOt':function(_0xf5ef8,_0x3c197d,_0x481415){return _0xf5ef8(_0x3c197d,_0x481415);},'CSnrP':_0x378967(0x1ed),'gdBlo':_0x378967(0x1f7)},_0x13abed=await _0x92cd74[_0x378967(0x1e3)](fetch,ANALYZE_ENDPOINT,{'method':_0x92cd74[_0x378967(0x1fb)],'headers':{'Content-Type':_0x92cd74[_0x378967(0x1f4)]},'body':JSON[_0x378967(0x1e7)]({'messages':_0xf731f6})}),_0x398fac=await _0x13abed[_0x378967(0x1f0)]();if(!_0x13abed['ok'])throw new Error(_0x398fac[_0x378967(0x1f1)]||_0x378967(0x1ef)+_0x13abed[_0x378967(0x1e4)]);return _0x398fac[_0x378967(0x1f3)];},pollJobStatus=async _0x451d1d=>{const _0x516ce6=_0x1c8618,_0x10cbe4={'sodNu':function(_0x58f181,_0x295e83){return _0x58f181(_0x295e83);}},_0x14856d=await _0x10cbe4[_0x516ce6(0x1f6)](fetch,STATUS_ENDPOINT+'/'+_0x451d1d),_0x634e18=await _0x14856d[_0x516ce6(0x1f0)]();if(!_0x14856d['ok'])throw new Error(_0x634e18[_0x516ce6(0x1f1)]||_0x516ce6(0x1e6)+_0x14856d[_0x516ce6(0x1e4)]);return _0x634e18;},fetchServerStatus=async()=>{const _0x599e14=_0x1c8618,_0x5ba1e0={'wOYFs':function(_0x1c1849,_0x3506f5){return _0x1c1849(_0x3506f5);},'TbaGO':_0x599e14(0x1e9)},_0x19fe8a=await _0x5ba1e0[_0x599e14(0x1ff)](fetch,STATUS_ENDPOINT);if(!_0x19fe8a['ok'])throw new Error(_0x5ba1e0[_0x599e14(0x1ea)]);return _0x19fe8a[_0x599e14(0x1f0)]();};export{submitCrashLog,pollJobStatus,fetchServerStatus};
public/js/main.js CHANGED
@@ -1 +1 @@
1
- const _0xdd4256=_0x14a1;(function(_0x27b50b,_0x29a6ec){const _0x4e94f6=_0x14a1,_0x5f41ed=_0x27b50b();while(!![]){try{const _0x2db0d6=parseInt(_0x4e94f6(0x164))/(0x2701*-0x1+0x23a3+0x35f)*(parseInt(_0x4e94f6(0x17b))/(-0xcde+0x1*-0xb3d+0x181d))+-parseInt(_0x4e94f6(0x173))/(0x240b+-0x1*-0x1620+-0x3a28)+-parseInt(_0x4e94f6(0x11b))/(0x41*0x95+-0xdbe+-0x1813)*(parseInt(_0x4e94f6(0x166))/(-0x1304+0x4*-0x6+0x1321))+-parseInt(_0x4e94f6(0x12f))/(-0xfef*-0x1+-0x14e7*0x1+0x4fe)+parseInt(_0x4e94f6(0x12c))/(-0x12e*-0x11+-0x302*-0x5+-0x1*0x2311)*(-parseInt(_0x4e94f6(0x144))/(0x4e+0x2292*0x1+-0x22d8))+-parseInt(_0x4e94f6(0x19e))/(-0xeaa+0x6*0x1d3+0x3c1)*(-parseInt(_0x4e94f6(0x148))/(0xa*0x25+-0x1bc2+0x2*0xd2d))+parseInt(_0x4e94f6(0x11d))/(0x245+0x45*0x25+-0xc33);if(_0x2db0d6===_0x29a6ec)break;else _0x5f41ed['push'](_0x5f41ed['shift']());}catch(_0x279dd6){_0x5f41ed['push'](_0x5f41ed['shift']());}}}(_0x2518,-0x1*-0x12b02f+0x1*-0x58f11+-0x22c*0x163));function _0x2518(){const _0x462487=['THREE','SuaQr','jQTOh','xxJeD','Thdtx','result','CMRWr','Analysis\x20finished\x20but\x20no\x20result\x20was\x20returned.','destroy','1958454CdRyeO','lQoPL','btn-new-analysis','EbsLh','analyzeButton','textContent','CDUBB','YROyc','10wVXFaQ','tDOej','target','OjBmy','vSFQM','Submitting...','shiftKey','key','USUAV','btn-toggle-sidebar','NCVJX','open','crashLogInput','analysis','dsVOd','GIFQq','sidebar-closed-init','.message-row','UEkLp','PgOur','GUaOo','app-container','dark','style','RrPmH','focus','Qigvb','JHznU','IartX','yuOwJ','remove','QZAFl','PJRfD','RNmOv','Switch\x20to\x20Dark\x20Mode','1611aAuZik','classList','DMblu','Queued...','preventDefault','add','push','text','HpCtw','asrgO','Imhbr','type','5237268XnZJog','btn-theme-toggle','30744373CMVXlE','length','welcomeScreen','dOqtX','UyZMG','contains','toggle','AexCP','SoxCD','rxfVT','wkhnV','Please\x20enter\x20a\x20valid\x20message.','Enter','WlLba','display','7uYMGJL','data','crashlens-theme','5441190XtHGnP','sidebar-closed','DOMContentLoaded','stopPropagation','nojfo','NzKod','disabled','addEventListener','Login\x20is\x20coming\x20soon\x20—\x20stay\x20tuned.','POVht','bLOqx','Something\x20went\x20wrong.\x20Please\x20try\x20again.','light-theme','rawText','profile-dropdown','LrfdY','yxYTJ','irFjI','getItem','rUgvx','click','7395944tshXJp','message','btn-profile-menu','forEach','37790wkycZp','SkLpN','documentElement','BNFOX','getElementById','yphKh','zARDj','flex','keydown','light','YtTwQ','vdEyn','bHKRW','xLHzH','theme-text','querySelectorAll','RSlym','crashlens-sidebar-closed','QgWyO','PcMNZ','dCiHs','XsOhJ','iOeig','setItem','model','krnji','fCgTw','btn-sidebar-signin','197035KaFeTx','user','5NcGxSt','KdLzL','iUxhn','Switch\x20to\x20Light\x20Mode'];_0x2518=function(){return _0x462487;};return _0x2518();}import{submitCrashLog}from'./api.js';import{waitForJob,buildQueueMessage}from'./queue.js';import{createLoadingSpinner}from'./scene.js';import{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError}from'./ui.js';const MIN_LOG_LENGTH=0x2*-0x1106+-0x1c12+-0x47*-0xe0;let currentSpinner=null,currentChatHistory=[];function _0x14a1(_0x24b0b2,_0x4c192f){_0x24b0b2=_0x24b0b2-(0x8c5+-0x3d5+-0x3d5);const _0x102152=_0x2518();let _0x3494ed=_0x102152[_0x24b0b2];return _0x3494ed;}const initTheme=()=>{const _0x2b66d9=_0x14a1,_0x35a792={'HpCtw':_0x2b66d9(0x13b),'CDUBB':_0x2b66d9(0x19d),'iOeig':_0x2b66d9(0x169),'RSlym':_0x2b66d9(0x191),'bHKRW':_0x2b66d9(0x151),'bLOqx':_0x2b66d9(0x12e),'yphKh':function(_0x39cdba,_0x43e9c6){return _0x39cdba(_0x43e9c6);},'OjBmy':function(_0x36a3e3,_0x56ede6){return _0x36a3e3===_0x56ede6;},'yuOwJ':_0x2b66d9(0x13d),'LrfdY':_0x2b66d9(0x186),'xxJeD':_0x2b66d9(0x11c),'PJRfD':_0x2b66d9(0x156),'GIFQq':function(_0x44ecbe,_0x2b8bb6){return _0x44ecbe===_0x2b8bb6;},'asrgO':_0x2b66d9(0x143)},_0x46e990=document[_0x2b66d9(0x14c)](_0x35a792[_0x2b66d9(0x16d)]),_0x4a81d2=document[_0x2b66d9(0x14c)](_0x35a792[_0x2b66d9(0x19b)]),_0x276eb4=_0x206fe3=>{const _0xa68bbc=_0x2b66d9;if(_0x206fe3){document[_0xa68bbc(0x14a)][_0xa68bbc(0x19f)][_0xa68bbc(0x1a3)](_0x35a792[_0xa68bbc(0x1a6)]);if(_0x4a81d2)_0x4a81d2[_0xa68bbc(0x178)]=_0x35a792[_0xa68bbc(0x179)];}else{document[_0xa68bbc(0x14a)][_0xa68bbc(0x19f)][_0xa68bbc(0x199)](_0x35a792[_0xa68bbc(0x1a6)]);if(_0x4a81d2)_0x4a81d2[_0xa68bbc(0x178)]=_0x35a792[_0xa68bbc(0x15e)];}},_0x5cbf6b=_0x35a792[_0x2b66d9(0x18a)](localStorage[_0x2b66d9(0x141)](_0x35a792[_0x2b66d9(0x139)]),_0x35a792[_0x2b66d9(0x154)]);_0x35a792[_0x2b66d9(0x14d)](_0x276eb4,_0x5cbf6b),_0x46e990&&_0x46e990[_0x2b66d9(0x136)](_0x35a792[_0x2b66d9(0x1a7)],()=>{const _0x458116=_0x2b66d9,_0x3db8fd=document[_0x458116(0x14a)][_0x458116(0x19f)][_0x458116(0x122)](_0x35a792[_0x458116(0x1a6)]),_0x53c33d=_0x3db8fd?_0x35a792[_0x458116(0x158)]:_0x35a792[_0x458116(0x154)];localStorage[_0x458116(0x15f)](_0x35a792[_0x458116(0x139)],_0x53c33d),_0x35a792[_0x458116(0x14d)](_0x276eb4,_0x35a792[_0x458116(0x17e)](_0x53c33d,_0x35a792[_0x458116(0x154)])),document[_0x458116(0x14c)](_0x35a792[_0x458116(0x198)])[_0x458116(0x19f)][_0x458116(0x199)](_0x35a792[_0x458116(0x13e)]);});},initSidebarAndDropdown=()=>{const _0x53ec23=_0x14a1,_0x348bf1={'lQoPL':_0x53ec23(0x18b),'IartX':_0x53ec23(0x130),'wkhnV':_0x53ec23(0x159),'xLHzH':_0x53ec23(0x186),'DMblu':_0x53ec23(0x184),'zARDj':_0x53ec23(0x190),'RrPmH':function(_0x515441,_0x54073d,_0x2d672f){return _0x515441(_0x54073d,_0x2d672f);},'PgOur':_0x53ec23(0x143),'QZAFl':_0x53ec23(0x146),'KdLzL':_0x53ec23(0x13d),'JHznU':function(_0x40dcdc,_0x109df3){return _0x40dcdc&&_0x109df3;}},_0x46ad59=document[_0x53ec23(0x14c)](_0x348bf1[_0x53ec23(0x1a0)]),_0x324302=document[_0x53ec23(0x14c)](_0x348bf1[_0x53ec23(0x14e)]);_0x348bf1[_0x53ec23(0x193)](setTimeout,()=>{const _0x5155d7=_0x53ec23;_0x324302[_0x5155d7(0x19f)][_0x5155d7(0x199)](_0x348bf1[_0x5155d7(0x174)]);},-0x77*0x2f+-0x105*-0x19+-0x372);_0x46ad59&&_0x46ad59[_0x53ec23(0x136)](_0x348bf1[_0x53ec23(0x18e)],()=>{const _0x4cf8c3=_0x53ec23,_0x10f761=_0x324302[_0x4cf8c3(0x19f)][_0x4cf8c3(0x123)](_0x348bf1[_0x4cf8c3(0x197)]);localStorage[_0x4cf8c3(0x15f)](_0x348bf1[_0x4cf8c3(0x127)],_0x10f761);});const _0x56a12c=document[_0x53ec23(0x14c)](_0x348bf1[_0x53ec23(0x19a)]),_0x2205f2=document[_0x53ec23(0x14c)](_0x348bf1[_0x53ec23(0x167)]);_0x348bf1[_0x53ec23(0x196)](_0x56a12c,_0x2205f2)&&(_0x56a12c[_0x53ec23(0x136)](_0x348bf1[_0x53ec23(0x18e)],_0x5e4cc1=>{const _0x57f8cf=_0x53ec23;_0x5e4cc1[_0x57f8cf(0x132)](),_0x2205f2[_0x57f8cf(0x19f)][_0x57f8cf(0x123)](_0x348bf1[_0x57f8cf(0x155)]);}),document[_0x53ec23(0x136)](_0x348bf1[_0x53ec23(0x18e)],_0x56848d=>{const _0x4f69f8=_0x53ec23;!_0x2205f2[_0x4f69f8(0x122)](_0x56848d[_0x4f69f8(0x17d)])&&!_0x56a12c[_0x4f69f8(0x122)](_0x56848d[_0x4f69f8(0x17d)])&&_0x2205f2[_0x4f69f8(0x19f)][_0x4f69f8(0x199)](_0x348bf1[_0x4f69f8(0x155)]);}));},runAnalysis=async()=>{const _0x3ba020=_0x14a1,_0x542f8f={'YtTwQ':function(_0x277d50,_0x12f1c7){return _0x277d50(_0x12f1c7);},'jQTOh':function(_0x592eb3){return _0x592eb3();},'XsOhJ':function(_0x1fff4b,_0x4c1630){return _0x1fff4b<_0x4c1630;},'UyZMG':function(_0x485cdd,_0x3bb8b4){return _0x485cdd(_0x3bb8b4);},'EbsLh':_0x3ba020(0x128),'yxYTJ':function(_0x386038,_0x550ef8){return _0x386038(_0x550ef8);},'krnji':function(_0x1fe0b5){return _0x1fe0b5();},'fCgTw':_0x3ba020(0x165),'Thdtx':function(_0x4ade4e,_0x103d1a){return _0x4ade4e(_0x103d1a);},'rxfVT':_0x3ba020(0x180),'SkLpN':function(_0x1b604c,_0x301508){return _0x1b604c(_0x301508);},'Qigvb':_0x3ba020(0x1a1),'dCiHs':function(_0x222bce,_0x1d580a,_0x293230){return _0x222bce(_0x1d580a,_0x293230);},'SoxCD':_0x3ba020(0x171),'AexCP':_0x3ba020(0x160),'iUxhn':function(_0xb11754,_0xf3baf3){return _0xb11754===_0xf3baf3;},'nojfo':_0x3ba020(0x188),'WlLba':function(_0xd8126d,_0x262224){return _0xd8126d(_0x262224);},'QgWyO':function(_0x197731,_0x3fe34e){return _0x197731<=_0x3fe34e;},'POVht':function(_0x587e5c,_0x105f79,_0x465cff){return _0x587e5c(_0x105f79,_0x465cff);},'NzKod':function(_0x5973d0){return _0x5973d0();},'vSFQM':_0x3ba020(0x13a),'dOqtX':function(_0x26d891){return _0x26d891();}},_0x5d4551=_0x542f8f[_0x3ba020(0x16c)](getCrashLogValue);if(_0x542f8f[_0x3ba020(0x15d)](_0x5d4551[_0x3ba020(0x11e)],MIN_LOG_LENGTH)){_0x542f8f[_0x3ba020(0x121)](showError,_0x542f8f[_0x3ba020(0x176)]);return;}_0x542f8f[_0x3ba020(0x121)](setAnalyzeButtonLoading,!![]),_0x542f8f[_0x3ba020(0x13f)](appendUserMessage,_0x5d4551),_0x542f8f[_0x3ba020(0x161)](clearCrashLogInput),currentChatHistory[_0x3ba020(0x1a4)]({'role':_0x542f8f[_0x3ba020(0x162)],'content':_0x5d4551});const _0x53fe27=_0x542f8f[_0x3ba020(0x16c)](appendLoadingMessage);window[_0x3ba020(0x16a)]&&(currentSpinner=_0x542f8f[_0x3ba020(0x121)](createLoadingSpinner,_0x53fe27));_0x542f8f[_0x3ba020(0x16e)](showQueueBar,_0x542f8f[_0x3ba020(0x126)]);try{const _0x262c4f=await _0x542f8f[_0x3ba020(0x121)](submitCrashLog,currentChatHistory);_0x542f8f[_0x3ba020(0x149)](showQueueBar,_0x542f8f[_0x3ba020(0x195)]);const _0x191594=await _0x542f8f[_0x3ba020(0x15c)](waitForJob,_0x262c4f,_0xb3ebb0=>{const _0x259b9c=_0x3ba020;_0x542f8f[_0x259b9c(0x152)](showQueueBar,_0x542f8f[_0x259b9c(0x152)](buildQueueMessage,_0xb3ebb0));});if(!_0x191594[_0x3ba020(0x16f)])throw new Error(_0x542f8f[_0x3ba020(0x125)]);if(currentSpinner)currentSpinner[_0x3ba020(0x172)]();_0x542f8f[_0x3ba020(0x161)](removeLoadingMessage);const _0x1f83a3=_0x191594[_0x3ba020(0x16f)];currentChatHistory[_0x3ba020(0x1a4)]({'role':_0x542f8f[_0x3ba020(0x124)],'content':_0x1f83a3[_0x3ba020(0x13c)]});let _0x419e55;_0x542f8f[_0x3ba020(0x168)](_0x1f83a3[_0x3ba020(0x1a9)],_0x542f8f[_0x3ba020(0x133)])?(_0x419e55=_0x542f8f[_0x3ba020(0x12a)](appendAiMessage,_0x1f83a3[_0x3ba020(0x12d)]),_0x542f8f[_0x3ba020(0x15a)](currentChatHistory[_0x3ba020(0x11e)],0x9d0+-0x79*-0x1d+-0xd*0x1cf)&&_0x542f8f[_0x3ba020(0x138)](addHistoryItem,_0x1f83a3[_0x3ba020(0x12d)],()=>scrollToElement(_0x419e55))):_0x419e55=_0x542f8f[_0x3ba020(0x16e)](appendAiChatMessage,_0x1f83a3[_0x3ba020(0x1a5)]);}catch(_0x5cbf28){if(currentSpinner)currentSpinner[_0x3ba020(0x172)]();_0x542f8f[_0x3ba020(0x134)](removeLoadingMessage),_0x542f8f[_0x3ba020(0x12a)](showError,_0x5cbf28[_0x3ba020(0x145)]||_0x542f8f[_0x3ba020(0x17f)]);}finally{_0x542f8f[_0x3ba020(0x120)](hideQueueBar),_0x542f8f[_0x3ba020(0x152)](setAnalyzeButtonLoading,![]);}},bindEvents=()=>{const _0x5e92c5=_0x14a1,_0x1dea55={'CMRWr':function(_0x528922,_0x2034fe){return _0x528922===_0x2034fe;},'Imhbr':_0x5e92c5(0x129),'vdEyn':function(_0x192901){return _0x192901();},'BNFOX':_0x5e92c5(0x13d),'PcMNZ':_0x5e92c5(0x186),'UEkLp':function(_0x3aa62f,_0x2e2276){return _0x3aa62f(_0x2e2276);},'dsVOd':_0x5e92c5(0x137),'USUAV':function(_0x175112){return _0x175112();},'GUaOo':_0x5e92c5(0x18c),'rUgvx':_0x5e92c5(0x14f),'irFjI':_0x5e92c5(0x143),'SuaQr':_0x5e92c5(0x150),'tDOej':_0x5e92c5(0x163),'RNmOv':_0x5e92c5(0x175)};el[_0x5e92c5(0x177)]()[_0x5e92c5(0x136)](_0x1dea55[_0x5e92c5(0x140)],runAnalysis),el[_0x5e92c5(0x187)]()[_0x5e92c5(0x136)](_0x1dea55[_0x5e92c5(0x16b)],_0x53eaf8=>{const _0x3d3d07=_0x5e92c5;_0x1dea55[_0x3d3d07(0x170)](_0x53eaf8[_0x3d3d07(0x182)],_0x1dea55[_0x3d3d07(0x1a8)])&&!_0x53eaf8[_0x3d3d07(0x181)]&&(_0x53eaf8[_0x3d3d07(0x1a2)](),!el[_0x3d3d07(0x177)]()[_0x3d3d07(0x135)]&&_0x1dea55[_0x3d3d07(0x153)](runAnalysis));});const _0x21a0bf=document[_0x5e92c5(0x14c)](_0x1dea55[_0x5e92c5(0x17c)]);_0x21a0bf&&_0x21a0bf[_0x5e92c5(0x136)](_0x1dea55[_0x5e92c5(0x140)],()=>{const _0x3e5aab=_0x5e92c5;document[_0x3e5aab(0x14c)](_0x1dea55[_0x3e5aab(0x14b)])[_0x3e5aab(0x19f)][_0x3e5aab(0x199)](_0x1dea55[_0x3e5aab(0x15b)]),_0x1dea55[_0x3e5aab(0x18d)](showError,_0x1dea55[_0x3e5aab(0x189)]);}),document[_0x5e92c5(0x14c)](_0x1dea55[_0x5e92c5(0x19c)])[_0x5e92c5(0x136)](_0x1dea55[_0x5e92c5(0x140)],()=>{const _0x54997e=_0x5e92c5;_0x1dea55[_0x54997e(0x183)](clearCrashLogInput),el[_0x54997e(0x187)]()[_0x54997e(0x194)]();const _0x48bad8=document[_0x54997e(0x157)](_0x1dea55[_0x54997e(0x18f)]);_0x48bad8[_0x54997e(0x147)](_0x48f767=>_0x48f767[_0x54997e(0x199)]()),currentChatHistory=[];const _0x41ea5c=el[_0x54997e(0x11f)]();if(_0x41ea5c)_0x41ea5c[_0x54997e(0x192)][_0x54997e(0x12b)]=_0x1dea55[_0x54997e(0x142)];});},init=()=>{const _0x17ab5f=_0x14a1,_0x1071d2={'YROyc':function(_0x5ad5dc){return _0x5ad5dc();},'NCVJX':function(_0x577059){return _0x577059();}};_0x1071d2[_0x17ab5f(0x17a)](initTheme),_0x1071d2[_0x17ab5f(0x17a)](initSidebarAndDropdown),_0x1071d2[_0x17ab5f(0x185)](initAutoResize),_0x1071d2[_0x17ab5f(0x185)](bindEvents);};document[_0xdd4256(0x136)](_0xdd4256(0x131),init);
 
1
+ const _0x4a8fbc=_0x15b8;function _0x15b8(_0x2a5864,_0x481514){_0x2a5864=_0x2a5864-(-0x3d*-0x1c+0x601*0x2+0x1*-0x1229);const _0x27cb7f=_0x49c5();let _0x4c8da6=_0x27cb7f[_0x2a5864];return _0x4c8da6;}(function(_0x15e564,_0x46efbd){const _0xc133f3=_0x15b8,_0x482938=_0x15e564();while(!![]){try{const _0x4f8675=parseInt(_0xc133f3(0xcf))/(0x2227+-0x640+-0x1*0x1be6)+-parseInt(_0xc133f3(0xe4))/(-0x4b0+0x1*-0x1646+0x1*0x1af8)*(parseInt(_0xc133f3(0x108))/(-0x6*0x59d+-0x1*0x13cb+0x357c))+parseInt(_0xc133f3(0xc3))/(0x2471+0x257*-0x1+-0x2216*0x1)*(-parseInt(_0xc133f3(0x102))/(-0x5e7*-0x1+-0x5b*-0x2+-0x698))+-parseInt(_0xc133f3(0x10b))/(0x1c9f+0x9bb+0x4*-0x995)+-parseInt(_0xc133f3(0xe1))/(-0xe*-0x217+-0x812*-0x3+0x3571*-0x1)+-parseInt(_0xc133f3(0x90))/(0xbe3*0x1+0x21f1+-0x2dcc)*(parseInt(_0xc133f3(0x99))/(-0x1*0x6ab+0x1a05+-0x1351))+parseInt(_0xc133f3(0xef))/(-0x20f2+0xb7f+0x157d);if(_0x4f8675===_0x46efbd)break;else _0x482938['push'](_0x482938['shift']());}catch(_0x52a3c1){_0x482938['push'](_0x482938['shift']());}}}(_0x49c5,0x3115*0x5+0x7ad09+-0x1*0x39c0c));import{submitCrashLog}from'./api.js';import{waitForJob,buildQueueMessage}from'./queue.js';import{createLoadingSpinner}from'./scene.js';import{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError}from'./ui.js';const MIN_LOG_LENGTH=-0x225*0x5+0xff0+-0x535;let currentSpinner=null,currentChatHistory=[];const initTheme=()=>{const _0x35ad2f=_0x15b8,_0x5d8669={'MQlEf':_0x35ad2f(0x106),'BXSXW':_0x35ad2f(0xfb),'OEqDW':_0x35ad2f(0xfc),'Pjirg':_0x35ad2f(0x89),'TsFkw':_0x35ad2f(0x86),'TiGsV':_0x35ad2f(0xeb),'BAlpH':function(_0x370363,_0x1eb488){return _0x370363(_0x1eb488);},'SFxYP':function(_0x12dadb,_0x59b75a){return _0x12dadb===_0x59b75a;},'WsPQk':_0x35ad2f(0xf8),'FutxW':_0x35ad2f(0xb8),'gFekD':_0x35ad2f(0xc7),'sQOdt':_0x35ad2f(0xfd),'MRHyP':function(_0x19a9f6,_0x14335a){return _0x19a9f6(_0x14335a);},'eneqm':_0x35ad2f(0xb7)},_0x2740f3=document[_0x35ad2f(0x96)](_0x5d8669[_0x35ad2f(0x92)]),_0x3187f9=document[_0x35ad2f(0x96)](_0x5d8669[_0x35ad2f(0x10a)]),_0x59cc12=_0x156dd3=>{const _0x18c8ed=_0x35ad2f;if(_0x156dd3){document[_0x18c8ed(0xb5)][_0x18c8ed(0x8f)][_0x18c8ed(0xe6)](_0x5d8669[_0x18c8ed(0xbb)]);if(_0x3187f9)_0x3187f9[_0x18c8ed(0xb3)]=_0x5d8669[_0x18c8ed(0x10c)];}else{document[_0x18c8ed(0xb5)][_0x18c8ed(0x8f)][_0x18c8ed(0xec)](_0x5d8669[_0x18c8ed(0xbb)]);if(_0x3187f9)_0x3187f9[_0x18c8ed(0xb3)]=_0x5d8669[_0x18c8ed(0xab)];}},_0x1ea12b=_0x5d8669[_0x35ad2f(0xea)](localStorage[_0x35ad2f(0x9d)](_0x5d8669[_0x35ad2f(0xa8)]),_0x5d8669[_0x35ad2f(0xbf)]);_0x5d8669[_0x35ad2f(0xd1)](_0x59cc12,_0x1ea12b),_0x2740f3&&_0x2740f3[_0x35ad2f(0xff)](_0x5d8669[_0x35ad2f(0xc1)],()=>{const _0x12f399=_0x35ad2f,_0x57f5f3=document[_0x12f399(0xb5)][_0x12f399(0x8f)][_0x12f399(0xc9)](_0x5d8669[_0x12f399(0xbb)]),_0x2ebfe0=_0x57f5f3?_0x5d8669[_0x12f399(0x9b)]:_0x5d8669[_0x12f399(0xbf)];localStorage[_0x12f399(0xa2)](_0x5d8669[_0x12f399(0xa8)],_0x2ebfe0),_0x5d8669[_0x12f399(0xc8)](_0x59cc12,_0x5d8669[_0x12f399(0xea)](_0x2ebfe0,_0x5d8669[_0x12f399(0xbf)])),document[_0x12f399(0x96)](_0x5d8669[_0x12f399(0xd3)])[_0x12f399(0x8f)][_0x12f399(0xec)](_0x5d8669[_0x12f399(0x87)]);});},initSidebarAndDropdown=()=>{const _0x577849=_0x15b8,_0x1e04b3={'bOJBW':_0x577849(0xf4),'EMiQW':_0x577849(0xb0),'TkQmq':_0x577849(0xb6),'vLvzk':_0x577849(0xb8),'ikCaO':_0x577849(0x103),'cWpak':_0x577849(0xaf),'qKRny':function(_0x4557a9,_0x5c1082,_0x26e65a){return _0x4557a9(_0x5c1082,_0x26e65a);},'qNbwb':_0x577849(0xb7),'VTAUg':_0x577849(0xa4),'BjJhk':_0x577849(0xf8),'Aulsu':function(_0x5ed20e,_0x5589a9){return _0x5ed20e&&_0x5589a9;}},_0x401961=document[_0x577849(0x96)](_0x1e04b3[_0x577849(0xe9)]),_0x3339f2=document[_0x577849(0x96)](_0x1e04b3[_0x577849(0x9e)]);_0x1e04b3[_0x577849(0xdd)](setTimeout,()=>{const _0x2861ad=_0x577849;_0x3339f2[_0x2861ad(0x8f)][_0x2861ad(0xec)](_0x1e04b3[_0x2861ad(0xfa)]);},0xcdb+0x4f1+-0x119a);_0x401961&&_0x401961[_0x577849(0xff)](_0x1e04b3[_0x577849(0xd9)],()=>{const _0x441a69=_0x577849,_0x49c64b=_0x3339f2[_0x441a69(0x8f)][_0x441a69(0x98)](_0x1e04b3[_0x441a69(0x109)]);localStorage[_0x441a69(0xa2)](_0x1e04b3[_0x441a69(0xf1)],_0x49c64b);});const _0x38a8d9=document[_0x577849(0x96)](_0x1e04b3[_0x577849(0xe5)]),_0x3e1fe5=document[_0x577849(0x96)](_0x1e04b3[_0x577849(0xca)]);_0x1e04b3[_0x577849(0x8c)](_0x38a8d9,_0x3e1fe5)&&(_0x38a8d9[_0x577849(0xff)](_0x1e04b3[_0x577849(0xd9)],_0x4da304=>{const _0x461351=_0x577849;_0x4da304[_0x461351(0x95)](),_0x3e1fe5[_0x461351(0x8f)][_0x461351(0x98)](_0x1e04b3[_0x461351(0xed)]);}),document[_0x577849(0xff)](_0x1e04b3[_0x577849(0xd9)],_0x546e65=>{const _0x2432f1=_0x577849;!_0x3e1fe5[_0x2432f1(0xc9)](_0x546e65[_0x2432f1(0x8d)])&&!_0x38a8d9[_0x2432f1(0xc9)](_0x546e65[_0x2432f1(0x8d)])&&_0x3e1fe5[_0x2432f1(0x8f)][_0x2432f1(0xec)](_0x1e04b3[_0x2432f1(0xed)]);}));},runAnalysis=async()=>{const _0x5acdd5=_0x15b8,_0x144127={'xbxwX':function(_0x544a1e,_0x28a578){return _0x544a1e(_0x28a578);},'EKNQs':function(_0xd0f9e3){return _0xd0f9e3();},'uYGxL':function(_0x20b83c,_0xfbf5b8){return _0x20b83c<_0xfbf5b8;},'qUxyP':function(_0x3dc777,_0x2cc698){return _0x3dc777(_0x2cc698);},'YXeyR':_0x5acdd5(0xc0),'CdjhA':function(_0x240998,_0x1efa11){return _0x240998(_0x1efa11);},'rvJwB':function(_0x205a45,_0x357258){return _0x205a45(_0x357258);},'UvMKY':_0x5acdd5(0xa0),'OHcNM':function(_0x596edd,_0x510159){return _0x596edd(_0x510159);},'Nlnah':_0x5acdd5(0x10f),'PcrdD':function(_0x1db295,_0xc6ece2){return _0x1db295(_0xc6ece2);},'gDvCQ':_0x5acdd5(0xf3),'ZGdci':function(_0xb6cfc6,_0x312288,_0x3e8ef0){return _0xb6cfc6(_0x312288,_0x3e8ef0);},'qzjtG':_0x5acdd5(0xb1),'iNTfk':function(_0x4a15e3){return _0x4a15e3();},'SeTVd':_0x5acdd5(0xaa),'LUlkD':function(_0x137919,_0x30b25a){return _0x137919===_0x30b25a;},'sImEM':_0x5acdd5(0x100),'qVdZx':function(_0x233c93,_0x5da657){return _0x233c93<=_0x5da657;},'FjqaQ':function(_0x2f24cd,_0x3c8edb){return _0x2f24cd(_0x3c8edb);},'ssOCT':_0x5acdd5(0xe2),'RxgUi':function(_0x5c700a){return _0x5c700a();}},_0x2e5230=_0x144127[_0x5acdd5(0x97)](getCrashLogValue);if(_0x144127[_0x5acdd5(0xbd)](_0x2e5230[_0x5acdd5(0xf0)],MIN_LOG_LENGTH)){_0x144127[_0x5acdd5(0xf5)](showError,_0x144127[_0x5acdd5(0xc5)]);return;}_0x144127[_0x5acdd5(0x107)](setAnalyzeButtonLoading,!![]),_0x144127[_0x5acdd5(0xa1)](appendUserMessage,_0x2e5230),_0x144127[_0x5acdd5(0x97)](clearCrashLogInput),currentChatHistory[_0x5acdd5(0x104)]({'role':_0x144127[_0x5acdd5(0x91)],'content':_0x2e5230});const _0x3e113b=_0x144127[_0x5acdd5(0x97)](appendLoadingMessage);window[_0x5acdd5(0xc6)]&&(currentSpinner=_0x144127[_0x5acdd5(0xa5)](createLoadingSpinner,_0x3e113b));_0x144127[_0x5acdd5(0xa1)](showQueueBar,_0x144127[_0x5acdd5(0xa6)]);try{const _0x276525=await _0x144127[_0x5acdd5(0xda)](submitCrashLog,currentChatHistory);_0x144127[_0x5acdd5(0xa1)](showQueueBar,_0x144127[_0x5acdd5(0xf2)]);const _0x55f4fb=await _0x144127[_0x5acdd5(0x85)](waitForJob,_0x276525,_0x298ca5=>{const _0x5918e8=_0x5acdd5;_0x144127[_0x5918e8(0xa9)](showQueueBar,_0x144127[_0x5918e8(0xa9)](buildQueueMessage,_0x298ca5));});if(!_0x55f4fb[_0x5acdd5(0xb9)])throw new Error(_0x144127[_0x5acdd5(0xdb)]);if(currentSpinner)currentSpinner[_0x5acdd5(0xd6)]();_0x144127[_0x5acdd5(0x101)](removeLoadingMessage);const _0x38a564=_0x55f4fb[_0x5acdd5(0xb9)];currentChatHistory[_0x5acdd5(0x104)]({'role':_0x144127[_0x5acdd5(0x105)],'content':_0x38a564[_0x5acdd5(0x94)]});let _0x567643;_0x144127[_0x5acdd5(0xc2)](_0x38a564[_0x5acdd5(0xd4)],_0x144127[_0x5acdd5(0xac)])?(_0x567643=_0x144127[_0x5acdd5(0x107)](appendAiMessage,_0x38a564[_0x5acdd5(0xd2)]),_0x144127[_0x5acdd5(0xcc)](currentChatHistory[_0x5acdd5(0xf0)],-0x1021+-0x267d*0x1+0x36a0)&&_0x144127[_0x5acdd5(0x85)](addHistoryItem,_0x38a564[_0x5acdd5(0xd2)],()=>scrollToElement(_0x567643))):_0x567643=_0x144127[_0x5acdd5(0xa9)](appendAiChatMessage,_0x38a564[_0x5acdd5(0xcb)]);}catch(_0x359adc){if(currentSpinner)currentSpinner[_0x5acdd5(0xd6)]();_0x144127[_0x5acdd5(0x97)](removeLoadingMessage),_0x144127[_0x5acdd5(0xbe)](showError,_0x359adc[_0x5acdd5(0xd8)]||_0x144127[_0x5acdd5(0x88)]);}finally{_0x144127[_0x5acdd5(0xae)](hideQueueBar),_0x144127[_0x5acdd5(0xa9)](setAnalyzeButtonLoading,![]);}},bindEvents=()=>{const _0x115736=_0x15b8,_0x28bf15={'qRLzt':function(_0x32d056,_0x186441){return _0x32d056===_0x186441;},'kNpsd':_0x115736(0x10e),'uELAy':function(_0x961d27){return _0x961d27();},'lxHkc':_0x115736(0xf8),'DjDrm':_0x115736(0xb8),'hyMal':function(_0x3b2d8d,_0x28293f){return _0x3b2d8d(_0x28293f);},'HqrWb':_0x115736(0xd7),'pMvoS':_0x115736(0xdf),'tztKI':_0x115736(0x9f),'JfZzf':_0x115736(0xb7),'iAPGX':_0x115736(0xcd),'JLmjT':_0x115736(0xad),'dMWMr':_0x115736(0xa7)};el[_0x115736(0xd0)]()[_0x115736(0xff)](_0x28bf15[_0x115736(0xee)],runAnalysis),el[_0x115736(0x10d)]()[_0x115736(0xff)](_0x28bf15[_0x115736(0xe7)],_0x4b5528=>{const _0x327f60=_0x115736;_0x28bf15[_0x327f60(0xde)](_0x4b5528[_0x327f60(0xba)],_0x28bf15[_0x327f60(0xbc)])&&!_0x4b5528[_0x327f60(0x9c)]&&(_0x4b5528[_0x327f60(0xf9)](),!el[_0x327f60(0xd0)]()[_0x327f60(0x9a)]&&_0x28bf15[_0x327f60(0xa3)](runAnalysis));});const _0x255ea4=document[_0x115736(0x96)](_0x28bf15[_0x115736(0x8a)]);_0x255ea4&&_0x255ea4[_0x115736(0xff)](_0x28bf15[_0x115736(0xee)],()=>{const _0xcd7558=_0x115736;document[_0xcd7558(0x96)](_0x28bf15[_0xcd7558(0xe8)])[_0xcd7558(0x8f)][_0xcd7558(0xec)](_0x28bf15[_0xcd7558(0x8e)]),_0x28bf15[_0xcd7558(0xf7)](showError,_0x28bf15[_0xcd7558(0xc4)]);}),document[_0x115736(0x96)](_0x28bf15[_0x115736(0xdc)])[_0x115736(0xff)](_0x28bf15[_0x115736(0xee)],()=>{const _0x3f8da3=_0x115736;_0x28bf15[_0x3f8da3(0xa3)](clearCrashLogInput),el[_0x3f8da3(0x10d)]()[_0x3f8da3(0xce)]();const _0x506531=document[_0x3f8da3(0xd5)](_0x28bf15[_0x3f8da3(0xf6)]);_0x506531[_0x3f8da3(0xfe)](_0x461b74=>_0x461b74[_0x3f8da3(0xec)]()),currentChatHistory=[];const _0x555db3=el[_0x3f8da3(0x8b)]();if(_0x555db3)_0x555db3[_0x3f8da3(0xb4)][_0x3f8da3(0x93)]=_0x28bf15[_0x3f8da3(0xb2)];});},init=()=>{const _0x25f63e=_0x15b8,_0x5cfac1={'YhhZc':function(_0x1dd389){return _0x1dd389();}};_0x5cfac1[_0x25f63e(0xe0)](initTheme),_0x5cfac1[_0x25f63e(0xe0)](initSidebarAndDropdown),_0x5cfac1[_0x25f63e(0xe0)](initAutoResize),_0x5cfac1[_0x25f63e(0xe0)](bindEvents);};document[_0x4a8fbc(0xff)](_0x4a8fbc(0xe3),init);function _0x49c5(){const _0x12ec5b=['sidebar-closed-init','qUxyP','pMvoS','hyMal','profile-dropdown','preventDefault','bOJBW','Switch\x20to\x20Dark\x20Mode','Switch\x20to\x20Light\x20Mode','theme-text','forEach','addEventListener','analysis','iNTfk','3103545xerjtr','btn-toggle-sidebar','push','SeTVd','light-theme','CdjhA','117KOLIRc','EMiQW','sQOdt','649266DnKYwW','BXSXW','crashLogInput','Enter','Submitting...','ZGdci','light','FutxW','ssOCT','dark','JLmjT','welcomeScreen','Aulsu','target','DjDrm','classList','56mydFIE','UvMKY','gFekD','display','rawText','stopPropagation','getElementById','EKNQs','toggle','570789kHJZsw','disabled','Pjirg','shiftKey','getItem','cWpak','flex','user','rvJwB','setItem','uELAy','btn-profile-menu','OHcNM','Nlnah','btn-new-analysis','TiGsV','xbxwX','model','OEqDW','sImEM','btn-sidebar-signin','RxgUi','app-container','sidebar-closed','Analysis\x20finished\x20but\x20no\x20result\x20was\x20returned.','tztKI','textContent','style','documentElement','crashlens-sidebar-closed','click','open','result','key','MQlEf','kNpsd','uYGxL','FjqaQ','TsFkw','Please\x20enter\x20a\x20valid\x20message.','eneqm','LUlkD','4TqOhLq','HqrWb','YXeyR','THREE','btn-theme-toggle','BAlpH','contains','BjJhk','text','qVdZx','keydown','focus','11354UjQmIA','analyzeButton','MRHyP','data','WsPQk','type','querySelectorAll','destroy','Login\x20is\x20coming\x20soon\x20—\x20stay\x20tuned.','message','qNbwb','PcrdD','qzjtG','dMWMr','qKRny','qRLzt','.message-row','YhhZc','3983595NSdRyC','Something\x20went\x20wrong.\x20Please\x20try\x20again.','DOMContentLoaded','27562VOLERf','VTAUg','add','iAPGX','lxHkc','ikCaO','SFxYP','crashlens-theme','remove','vLvzk','JfZzf','25973750DPdsyA','length','TkQmq','gDvCQ','Queued...'];_0x49c5=function(){return _0x12ec5b;};return _0x49c5();}
public/js/queue.js CHANGED
@@ -1 +1 @@
1
- function _0x2b53(){const _0x123a92=['fuFoW','3657YbBLzn','function','Queued\x20—\x20waiting\x20to\x20start...','JEqFK','bmoXm','28732ZtSbQw','1070fTTikh','done','2208510IaKnQM','RIoZB','Analyzing\x20your\x20crash\x20log...','almost\x20there','jZJqS','status','BIPOI','26607LTkuvt','2568BipXyh','fBmCo','6813fJRXbp','pcGxj','1362CbBrtM','vrqJx','pLyYK','sJafo','12WcHGNI','58HeksMT','kTCrQ','ALNng','ayRnO','Analysis\x20failed\x20on\x20the\x20server.','DQmFL','706825stIQFZ','failed','FSXJL','Vjjbn','DwDQv','processing','JBMch','Qzjpx','oZTif','Analyzing\x20·\x20Position\x20','\x20in\x20queue\x20·\x20','10668492PFRcSI','fVAyK','26PPmvWd'];_0x2b53=function(){return _0x123a92;};return _0x2b53();}const _0x44e089=_0x42a1;function _0x42a1(_0x567def,_0x24af05){_0x567def=_0x567def-(0x430+-0x1*-0xaa9+-0xd36);const _0x41760d=_0x2b53();let _0x348266=_0x41760d[_0x567def];return _0x348266;}(function(_0x30a16f,_0x21e232){const _0x5a0b95=_0x42a1,_0x3cd7de=_0x30a16f();while(!![]){try{const _0x4e0f0c=parseInt(_0x5a0b95(0x1be))/(-0x5e0+-0x3*-0x6bf+-0x4*0x397)+parseInt(_0x5a0b95(0x1b8))/(0x52e+0xfb3+-0x14df)*(parseInt(_0x5a0b95(0x1cd))/(-0x246e*-0x1+0x1fe0+0x1*-0x444b))+parseInt(_0x5a0b95(0x1b7))/(-0x1ec5+-0x1*0x24cb+0x4394)*(-parseInt(_0x5a0b95(0x1a7))/(-0x4*-0x749+0x209a+-0x3db9))+parseInt(_0x5a0b95(0x1b3))/(0x948*-0x2+0x1f19+0xc83*-0x1)*(-parseInt(_0x5a0b95(0x1ae))/(0x24e2+0x1515+-0x39f0))+-parseInt(_0x5a0b95(0x1af))/(-0x1*-0xebe+0x25*0x86+-0x2214*0x1)*(-parseInt(_0x5a0b95(0x1b1))/(-0xb9a+-0xf52+0x1af5))+parseInt(_0x5a0b95(0x1a5))/(-0x4*-0x821+-0x94*-0x3b+0xb19*-0x6)*(parseInt(_0x5a0b95(0x1a4))/(-0x185*-0x12+-0x2f*-0xc5+-0x3f7a))+parseInt(_0x5a0b95(0x1c9))/(0xd1c+0xaf2+-0x1802)*(parseInt(_0x5a0b95(0x1cb))/(0x17b1*0x1+-0x22*-0x53+0x5c7*-0x6));if(_0x4e0f0c===_0x21e232)break;else _0x3cd7de['push'](_0x3cd7de['shift']());}catch(_0x132391){_0x3cd7de['push'](_0x3cd7de['shift']());}}}(_0x2b53,0x1441*0xdf+-0x10ac2f*-0x1+-0x1545b8));import{pollJobStatus}from'./api.js';const POLL_INTERVAL_MS=0x2*0xb23+-0x1f*0x43+0x19*-0x61,TERMINAL_STATUSES=[_0x44e089(0x1a6),_0x44e089(0x1bf)],waitForJob=(_0x31e28e,_0x555f88)=>{const _0x3df106=_0x44e089,_0x353083={'Vjjbn':function(_0x204a53,_0x4d57c3){return _0x204a53(_0x4d57c3);},'BIPOI':function(_0x4c08fd,_0x3e65fc){return _0x4c08fd===_0x3e65fc;},'pcGxj':_0x3df106(0x1ce),'jZJqS':_0x3df106(0x1a6),'fVAyK':_0x3df106(0x1bf),'RIoZB':_0x3df106(0x1bc),'JBMch':function(_0x5ba5c9,_0x42c9f0,_0x53c63d){return _0x5ba5c9(_0x42c9f0,_0x53c63d);},'pLyYK':function(_0x2a6cd8){return _0x2a6cd8();}};return new Promise((_0x1db8e1,_0x5c3844)=>{const _0x563d84=_0x3df106,_0x5a3cd9={'kTCrQ':function(_0x1f16ca,_0x2efc89){const _0x3c6edc=_0x42a1;return _0x353083[_0x3c6edc(0x1c1)](_0x1f16ca,_0x2efc89);},'fBmCo':function(_0x1f474b,_0x3eb683){const _0x3d7a1b=_0x42a1;return _0x353083[_0x3d7a1b(0x1ad)](_0x1f474b,_0x3eb683);},'FSXJL':_0x353083[_0x563d84(0x1b2)],'JEqFK':_0x353083[_0x563d84(0x1ab)],'oZTif':_0x353083[_0x563d84(0x1ca)],'Qzjpx':_0x353083[_0x563d84(0x1a8)],'ayRnO':function(_0x3f1034,_0x53926c,_0x146fbf){const _0x15fe36=_0x563d84;return _0x353083[_0x15fe36(0x1c4)](_0x3f1034,_0x53926c,_0x146fbf);}},_0x1b8433=async()=>{const _0x22d8f1=_0x563d84;try{const _0x3c467f=await _0x5a3cd9[_0x22d8f1(0x1b9)](pollJobStatus,_0x31e28e);_0x5a3cd9[_0x22d8f1(0x1b0)](typeof _0x555f88,_0x5a3cd9[_0x22d8f1(0x1c0)])&&_0x5a3cd9[_0x22d8f1(0x1b9)](_0x555f88,_0x3c467f);if(_0x5a3cd9[_0x22d8f1(0x1b0)](_0x3c467f[_0x22d8f1(0x1ac)],_0x5a3cd9[_0x22d8f1(0x1d0)])){_0x5a3cd9[_0x22d8f1(0x1b9)](_0x1db8e1,_0x3c467f);return;}if(_0x5a3cd9[_0x22d8f1(0x1b0)](_0x3c467f[_0x22d8f1(0x1ac)],_0x5a3cd9[_0x22d8f1(0x1c6)])){_0x5a3cd9[_0x22d8f1(0x1b9)](_0x5c3844,new Error(_0x5a3cd9[_0x22d8f1(0x1c5)]));return;}_0x5a3cd9[_0x22d8f1(0x1bb)](setTimeout,_0x1b8433,POLL_INTERVAL_MS);}catch(_0x11bc42){_0x5a3cd9[_0x22d8f1(0x1b9)](_0x5c3844,_0x11bc42);}};_0x353083[_0x563d84(0x1b5)](_0x1b8433);});},buildQueueMessage=_0x494305=>{const _0x1f2657=_0x44e089,_0x18ed56={'DwDQv':function(_0x11dc73,_0xc0c02d){return _0x11dc73===_0xc0c02d;},'ALNng':_0x1f2657(0x1c3),'fuFoW':_0x1f2657(0x1a9),'DQmFL':function(_0x5242b8,_0x16f686){return _0x5242b8>_0x16f686;},'vrqJx':function(_0x4631cb,_0x2eb297){return _0x4631cb>_0x2eb297;},'sJafo':_0x1f2657(0x1aa),'bmoXm':_0x1f2657(0x1cf)},{status:_0x4f7c64,positionInQueue:_0x4b31c3,estimatedWaitSeconds:_0x1eb0ce}=_0x494305;if(_0x18ed56[_0x1f2657(0x1c2)](_0x4f7c64,_0x18ed56[_0x1f2657(0x1ba)]))return _0x18ed56[_0x1f2657(0x1cc)];if(_0x18ed56[_0x1f2657(0x1bd)](_0x4b31c3,-0x11fb*-0x2+0x1fe3*0x1+-0xb*0x62b)){const _0x2b2340=_0x18ed56[_0x1f2657(0x1b4)](_0x1eb0ce,-0x901+0x10c*-0x1d+-0x1*-0x275d)?'~'+_0x1eb0ce+'s':_0x18ed56[_0x1f2657(0x1b6)];return _0x1f2657(0x1c7)+_0x4b31c3+_0x1f2657(0x1c8)+_0x2b2340;}return _0x18ed56[_0x1f2657(0x1a3)];};export{waitForJob,buildQueueMessage};
 
1
+ const _0x3d7466=_0x14b9;function _0x147b(){const _0x53b8b4=['545942yNcoZz','1389471eGKpJH','1493009GECtat','SdiYj','zjkes','Queued\x20—\x20waiting\x20to\x20start...','Analyzing\x20·\x20Position\x20','3727545DwwKxk','uUOcT','GPkKm','Tczwg','function','pmGoO','5nkrKFt','6TigzvA','Analysis\x20failed\x20on\x20the\x20server.','OPKCR','MYJVG','almost\x20there','iogTL','sIftg','\x20in\x20queue\x20·\x20','24bzhCbp','4uaHfhH','MIIIK','processing','26967556bqgmJT','8758980LdseoN','ueYYb','failed','status','YQXzF','done','ziOow','Analyzing\x20your\x20crash\x20log...','tJwBO','5456241cqhtpc','IqbGW'];_0x147b=function(){return _0x53b8b4;};return _0x147b();}(function(_0x2875c4,_0x4ee5a3){const _0x1c1b64=_0x14b9,_0x3066ec=_0x2875c4();while(!![]){try{const _0x549231=parseInt(_0x1c1b64(0xc6))/(-0x1e72+0x258a+-0x717)*(-parseInt(_0x1c1b64(0xdf))/(-0x4c4+-0x145d+0x1923))+parseInt(_0x1c1b64(0xe0))/(0x12*-0xbb+-0x10*0x1b7+-0x1*-0x2899)*(-parseInt(_0x1c1b64(0xd0))/(0xec0+-0x1e13+0x1*0xf57))+-parseInt(_0x1c1b64(0xe6))/(-0x5c4*0x3+0x210a+0x73*-0x23)*(parseInt(_0x1c1b64(0xc7))/(-0x1*-0xd25+-0xc54+-0xcb))+parseInt(_0x1c1b64(0xe1))/(0x1*0xf98+-0x5*-0x4bd+-0x2742)*(-parseInt(_0x1c1b64(0xcf))/(-0x283+-0xd11+0xf9c))+parseInt(_0x1c1b64(0xdd))/(0x9b0*0x1+0x515+0x3af*-0x4)+parseInt(_0x1c1b64(0xd4))/(0x1*-0x1bc9+-0x10a+0x1cdd)+parseInt(_0x1c1b64(0xd3))/(-0x6*-0x27a+0x175+0x1046*-0x1);if(_0x549231===_0x4ee5a3)break;else _0x3066ec['push'](_0x3066ec['shift']());}catch(_0x1c0fa8){_0x3066ec['push'](_0x3066ec['shift']());}}}(_0x147b,-0x9527f+0x49ce8+-0x20*-0x7d9c));import{pollJobStatus}from'./api.js';const POLL_INTERVAL_MS=0x11*-0x43+0x10da+-0x7b7,TERMINAL_STATUSES=[_0x3d7466(0xd9),_0x3d7466(0xd6)],waitForJob=(_0x411a78,_0x536134)=>{const _0x2bb585=_0x3d7466,_0x3b52c7={'sIftg':function(_0x2376c0,_0x534fdc){return _0x2376c0(_0x534fdc);},'Tczwg':function(_0x32e761,_0x385e63){return _0x32e761===_0x385e63;},'ueYYb':_0x2bb585(0xc4),'MYJVG':function(_0x51a168,_0x24628d){return _0x51a168===_0x24628d;},'GPkKm':_0x2bb585(0xd9),'OPKCR':function(_0x4878d4,_0x2748ac){return _0x4878d4(_0x2748ac);},'SdiYj':_0x2bb585(0xd6),'uUOcT':_0x2bb585(0xc8),'pmGoO':function(_0xa43a52,_0x414357,_0xc9396d){return _0xa43a52(_0x414357,_0xc9396d);},'ziOow':function(_0x183c04){return _0x183c04();}};return new Promise((_0x466c50,_0x5ae94d)=>{const _0x195a7b=_0x2bb585,_0x50bf7d=async()=>{const _0x13fcd4=_0x14b9;try{const _0x38f1dd=await _0x3b52c7[_0x13fcd4(0xcd)](pollJobStatus,_0x411a78);_0x3b52c7[_0x13fcd4(0xc3)](typeof _0x536134,_0x3b52c7[_0x13fcd4(0xd5)])&&_0x3b52c7[_0x13fcd4(0xcd)](_0x536134,_0x38f1dd);if(_0x3b52c7[_0x13fcd4(0xca)](_0x38f1dd[_0x13fcd4(0xd7)],_0x3b52c7[_0x13fcd4(0xc2)])){_0x3b52c7[_0x13fcd4(0xc9)](_0x466c50,_0x38f1dd);return;}if(_0x3b52c7[_0x13fcd4(0xc3)](_0x38f1dd[_0x13fcd4(0xd7)],_0x3b52c7[_0x13fcd4(0xe2)])){_0x3b52c7[_0x13fcd4(0xc9)](_0x5ae94d,new Error(_0x3b52c7[_0x13fcd4(0xe7)]));return;}_0x3b52c7[_0x13fcd4(0xc5)](setTimeout,_0x50bf7d,POLL_INTERVAL_MS);}catch(_0x70df24){_0x3b52c7[_0x13fcd4(0xc9)](_0x5ae94d,_0x70df24);}};_0x3b52c7[_0x195a7b(0xda)](_0x50bf7d);});},buildQueueMessage=_0x559b9e=>{const _0x21f9e6=_0x3d7466,_0x2433ff={'MIIIK':function(_0x25fea8,_0x33b36c){return _0x25fea8===_0x33b36c;},'YQXzF':_0x21f9e6(0xd2),'iogTL':_0x21f9e6(0xdb),'tJwBO':function(_0x426173,_0x31121d){return _0x426173>_0x31121d;},'zjkes':_0x21f9e6(0xcb),'IqbGW':_0x21f9e6(0xe4)},{status:_0x264baf,positionInQueue:_0x25921a,estimatedWaitSeconds:_0x149e8f}=_0x559b9e;if(_0x2433ff[_0x21f9e6(0xd1)](_0x264baf,_0x2433ff[_0x21f9e6(0xd8)]))return _0x2433ff[_0x21f9e6(0xcc)];if(_0x2433ff[_0x21f9e6(0xdc)](_0x25921a,0x3a6+0x293*0x7+-0x15ab)){const _0x14d354=_0x2433ff[_0x21f9e6(0xdc)](_0x149e8f,-0x26c8+-0xe8e+0x3556)?'~'+_0x149e8f+'s':_0x2433ff[_0x21f9e6(0xe3)];return _0x21f9e6(0xe5)+_0x25921a+_0x21f9e6(0xce)+_0x14d354;}return _0x2433ff[_0x21f9e6(0xde)];};function _0x14b9(_0x158cbc,_0x58bc4e){_0x158cbc=_0x158cbc-(-0x1163+0x1bb+0x106a);const _0x1ab92b=_0x147b();let _0x55c75b=_0x1ab92b[_0x158cbc];return _0x55c75b;}export{waitForJob,buildQueueMessage};
public/js/scene.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1bd848,_0xc071af){const _0x3307c9=_0x50df,_0x148fc7=_0x1bd848();while(!![]){try{const _0x345575=-parseInt(_0x3307c9(0x1c3))/(0x1c7b+-0x269a+0xa20)*(-parseInt(_0x3307c9(0x1d7))/(0x8b6+0x2285+0x8a5*-0x5))+-parseInt(_0x3307c9(0x1d8))/(0x1662+-0x8ac+0x7*-0x1f5)*(-parseInt(_0x3307c9(0x1d2))/(-0x2261+0xa*0x12b+0x16b7))+-parseInt(_0x3307c9(0x1b6))/(-0x5*-0x56b+0x1c45*0x1+-0x3757)+parseInt(_0x3307c9(0x1da))/(0x127f+0xeb*-0x9+-0xa36)*(-parseInt(_0x3307c9(0x1d3))/(0x1*-0x24b6+-0x21bb+0xa4*0x6e))+parseInt(_0x3307c9(0x1bb))/(-0x3d*-0x99+0x1ef4+0x4361*-0x1)*(parseInt(_0x3307c9(0x1d1))/(0xfdc+0x8af+-0x1882*0x1))+parseInt(_0x3307c9(0x1c5))/(0x15f0+-0x7*-0x57c+-0x3c4a)*(parseInt(_0x3307c9(0x1c9))/(-0x3*0x79f+0x2*0x1073+-0x9fe))+-parseInt(_0x3307c9(0x1cb))/(0x163f+0x3a*-0xa+-0xf3*0x15)*(parseInt(_0x3307c9(0x1cf))/(0x1f51+-0x1*0x2687+0x743));if(_0x345575===_0xc071af)break;else _0x148fc7['push'](_0x148fc7['shift']());}catch(_0x1b60f4){_0x148fc7['push'](_0x148fc7['shift']());}}}(_0x50e8,-0x7241*-0xe+0x4e086+0x18da5));let currentRenderer=null,currentReq=null;const createLoadingSpinner=_0x6a1dad=>{const _0xbb2bd7=_0x50df,_0x18a143={'Ypwfp':_0xbb2bd7(0x1ba),'ZGnVr':function(_0xa49eec,_0x4a94db){return _0xa49eec(_0x4a94db);},'EOabD':_0xbb2bd7(0x1c2),'VrgJS':function(_0xb503cf,_0x299776){return _0xb503cf(_0x299776);},'KcgHw':function(_0x1e8969,_0x55bf6b){return _0x1e8969/_0x55bf6b;},'PIiwk':function(_0x4df809){return _0x4df809();}};currentRenderer&&(currentRenderer[_0xbb2bd7(0x1b8)](),_0x18a143[_0xbb2bd7(0x1d5)](cancelAnimationFrame,currentReq));const _0x4bd8c7=-0x87e+0x1d*-0x83+-0x3*-0x7d7,_0x1f6022=0x1431+0x2ae+-0x16af,_0x44f02c=new THREE[(_0xbb2bd7(0x1c1))]({'canvas':_0x6a1dad,'antialias':!![],'alpha':!![]});_0x44f02c[_0xbb2bd7(0x1b4)](window[_0xbb2bd7(0x1b5)]),_0x44f02c[_0xbb2bd7(0x1d4)](_0x4bd8c7,_0x1f6022),currentRenderer=_0x44f02c;const _0x5127bc=new THREE[(_0xbb2bd7(0x1b7))](),_0x51e51=new THREE[(_0xbb2bd7(0x1c7))](-0xbc3+-0x191*0x4+-0x5*-0x3a4,_0x18a143[_0xbb2bd7(0x1d9)](_0x4bd8c7,_0x1f6022),-0x2*0x587+0x23e*0xc+-0xfda+0.1,-0xf8*0x11+-0x26db+0x37b7);_0x51e51[_0xbb2bd7(0x1c4)]['z']=-0xe0*0x26+0x2b7*0xd+-0x207*0x1+0.5;const _0x2d53b1=new THREE[(_0xbb2bd7(0x1d0))](-0x2095+0x3*-0x99f+0x1*0x3d73+0.19999999999999996,-0x569*0x7+-0x7*0x4c5+0x4742),_0x5342b4=new THREE[(_0xbb2bd7(0x1bd))]({'color':0x8b5cf6,'roughness':0.1,'metalness':0.8}),_0x2bda4a=new THREE[(_0xbb2bd7(0x1be))](_0x2d53b1,_0x5342b4);_0x5127bc[_0xbb2bd7(0x1ca)](_0x2bda4a);const _0x207810=new THREE[(_0xbb2bd7(0x1b9))](0x3*-0x66b79c+0x71*0xd7c7+0x3*0x9c4d54,-0xa3*-0x3d+-0x4*-0x653+-0x4023+0.5);_0x5127bc[_0xbb2bd7(0x1ca)](_0x207810);const _0x1113a2=new THREE[(_0xbb2bd7(0x1bc))](-0x4d706f+-0x1a0499c+0x4af901*0xa,-0x19b*-0xd+0xc*0x139+0xb*-0x33b);_0x1113a2[_0xbb2bd7(0x1c4)][_0xbb2bd7(0x1c0)](-0xe*0xe3+0x1138+-0x4c9,-0x564+0x1c91+0x8*-0x2e5,0xb55+-0x1652+0xb02),_0x5127bc[_0xbb2bd7(0x1ca)](_0x1113a2);const _0xc67e4e=new THREE[(_0xbb2bd7(0x1bc))](0x1347*0x12d+0x6008dc+0x3*-0xd2426,0x41*-0x9+0x10*0x47+-0x112*0x2);_0xc67e4e[_0xbb2bd7(0x1c4)][_0xbb2bd7(0x1c0)](-(0x188+0x1*-0x2309+-0x2186*-0x1),-(-0x232*-0x9+0x1c81+-0x82*0x5f),0x2657+-0x113d+-0x1518),_0x5127bc[_0xbb2bd7(0x1ca)](_0xc67e4e);let _0x3dc5c4=!![];const _0x276334=()=>{const _0x51da58=_0xbb2bd7,_0x1e8a79=_0x18a143[_0x51da58(0x1c6)][_0x51da58(0x1ce)]('|');let _0x17ace3=-0x11e7*-0x2+-0xb7c*-0x1+-0x17a5*0x2;while(!![]){switch(_0x1e8a79[_0x17ace3++]){case'0':_0x2bda4a[_0x51da58(0x1bf)]['y']+=0x5*-0x455+-0x151b+0x2ac4+0.04;continue;case'1':if(!_0x3dc5c4)return;continue;case'2':_0x44f02c[_0x51da58(0x1c8)](_0x5127bc,_0x51e51);continue;case'3':_0x2bda4a[_0x51da58(0x1bf)]['x']+=-0x5e9*0x3+0xe83+0x1*0x338+0.03;continue;case'4':currentReq=_0x18a143[_0x51da58(0x1cd)](requestAnimationFrame,_0x276334);continue;case'5':_0x2bda4a[_0x51da58(0x1bf)]['z']+=0x1*-0x1135+-0x2a4+-0x1*-0x13d9+0.01;continue;}break;}};return _0x18a143[_0xbb2bd7(0x1cc)](_0x276334),{'destroy':()=>{const _0x2af8bb=_0xbb2bd7,_0x268f20=_0x18a143[_0x2af8bb(0x1d6)][_0x2af8bb(0x1ce)]('|');let _0x10bda3=-0xb1*0xc+0xb*0x24b+0x1*-0x10ed;while(!![]){switch(_0x268f20[_0x10bda3++]){case'0':_0x3dc5c4=![];continue;case'1':currentRenderer=null;continue;case'2':_0x5342b4[_0x2af8bb(0x1b8)]();continue;case'3':_0x44f02c[_0x2af8bb(0x1b8)]();continue;case'4':_0x2d53b1[_0x2af8bb(0x1b8)]();continue;}break;}}};};export{createLoadingSpinner};function _0x50df(_0x11cfa0,_0x4d42f7){_0x11cfa0=_0x11cfa0-(0x3a*-0x3+-0x2469+0x26cb);const _0x47597d=_0x50e8();let _0x1e2189=_0x47597d[_0x11cfa0];return _0x1e2189;}function _0x50e8(){const _0x3284f2=['WebGLRenderer','0|3|4|2|1','30WAXFfy','position','12210lSAMlX','Ypwfp','PerspectiveCamera','render','9658ZAtHwe','add','9852WszySA','PIiwk','ZGnVr','split','30095TdVAMK','OctahedronGeometry','10154736quDqWa','1892PPHpJo','3009909gdSWds','setSize','VrgJS','EOabD','110280jIrTnx','2139Fklqtr','KcgHw','18oTQeqN','setPixelRatio','devicePixelRatio','851550IkMegZ','Scene','dispose','AmbientLight','1|4|3|0|5|2','8lHhuTw','PointLight','MeshStandardMaterial','Mesh','rotation','set'];_0x50e8=function(){return _0x3284f2;};return _0x50e8();}
 
1
+ (function(_0x3254de,_0x348317){const _0x25a738=_0x2d57,_0x3c2f91=_0x3254de();while(!![]){try{const _0x3eb811=parseInt(_0x25a738(0x18f))/(-0x1*0x1919+-0x8d0+0x1*0x21ea)+-parseInt(_0x25a738(0x19b))/(-0x1869+0x529+0x1342)+parseInt(_0x25a738(0x1a4))/(-0x2507+0x2147+0x3c3)*(-parseInt(_0x25a738(0x19e))/(-0x24e9+0x1943+0xbaa))+-parseInt(_0x25a738(0x189))/(-0x5d4*0x1+-0x1dc9+0x23a2)+parseInt(_0x25a738(0x1a7))/(0x2e*0x9e+0x2*-0x1337+-0x8*-0x142)+parseInt(_0x25a738(0x18d))/(0x507*-0x1+-0x2*0x8ed+0x16e8)+-parseInt(_0x25a738(0x1a8))/(0x1132+0x255c+-0x3686)*(parseInt(_0x25a738(0x186))/(-0xe23+-0x1*0x11d4+0x2000));if(_0x3eb811===_0x348317)break;else _0x3c2f91['push'](_0x3c2f91['shift']());}catch(_0x44c3bc){_0x3c2f91['push'](_0x3c2f91['shift']());}}}(_0x46fa,-0xd975*-0x1+-0x1*0x1abc3+0x45e53));function _0x46fa(){const _0x16a9d0=['devicePixelRatio','add','render','OctahedronGeometry','set','rotation','AmbientLight','ndEXZ','cCGhp','MeshStandardMaterial','Scene','715582LTwHhj','dispose','WebGLRenderer','178128UMiSTs','INPzl','3|4|1|2|0','PointLight','IVBRs','split','9INAike','position','setSize','1574298xKbfhE','16QYGiZu','26667rvsQtD','Mesh','lSsRX','539920lpkhnN','FQbJy','setPixelRatio','PerspectiveCamera','2607542vJvQyS','3|5|0|4|2|1','202861WdwTQo'];_0x46fa=function(){return _0x16a9d0;};return _0x46fa();}let currentRenderer=null,currentReq=null;const createLoadingSpinner=_0x3718c3=>{const _0x2f698f=_0x2d57,_0x30ccc1={'ndEXZ':_0x2f698f(0x18e),'cCGhp':function(_0x1e9cf8,_0x527f0f){return _0x1e9cf8(_0x527f0f);},'IVBRs':_0x2f698f(0x1a0),'INPzl':function(_0xbf772c,_0x35d7fe){return _0xbf772c(_0x35d7fe);},'lSsRX':function(_0x1b71c4,_0x17af2e){return _0x1b71c4/_0x17af2e;},'FQbJy':function(_0x3feade){return _0x3feade();}};currentRenderer&&(currentRenderer[_0x2f698f(0x19c)](),_0x30ccc1[_0x2f698f(0x19f)](cancelAnimationFrame,currentReq));const _0x162907=-0x2681+-0x3a2*0x5+-0xb5f*-0x5,_0x5b32cb=-0x10c1+0x2*-0xd73+-0xe9d*-0x3,_0x551f62=new THREE[(_0x2f698f(0x19d))]({'canvas':_0x3718c3,'antialias':!![],'alpha':!![]});_0x551f62[_0x2f698f(0x18b)](window[_0x2f698f(0x190)]),_0x551f62[_0x2f698f(0x1a6)](_0x162907,_0x5b32cb),currentRenderer=_0x551f62;const _0x3e9583=new THREE[(_0x2f698f(0x19a))](),_0x311382=new THREE[(_0x2f698f(0x18c))](0x6*-0xd9+-0x18e*-0x5+-0x283,_0x30ccc1[_0x2f698f(0x188)](_0x162907,_0x5b32cb),-0x1*0x24cb+0xa9b+0x1a30+0.1,0xbfd+0x16b6+-0x224f*0x1);_0x311382[_0x2f698f(0x1a5)]['z']=-0x8*0x437+-0x1f9f+0x415b+0.5;const _0x1ffe74=new THREE[(_0x2f698f(0x193))](0x1*0x7a7+0xfa*-0x5+-0xec*0x3+0.19999999999999996,0x6c7*0x5+0xa75+-0x2*0x162c),_0x10cffa=new THREE[(_0x2f698f(0x199))]({'color':0x8b5cf6,'roughness':0.1,'metalness':0.8}),_0x120521=new THREE[(_0x2f698f(0x187))](_0x1ffe74,_0x10cffa);_0x3e9583[_0x2f698f(0x191)](_0x120521);const _0x536cdc=new THREE[(_0x2f698f(0x196))](0xb0f57*0x26+-0x14bbdad+-0x1*-0xa776c2,0x26*-0xd3+0x1eda+0x78+0.5);_0x3e9583[_0x2f698f(0x191)](_0x536cdc);const _0x340c91=new THREE[(_0x2f698f(0x1a1))](0x1398dca+0x2*-0xd4911a+0x16f9469,-0x1de9*-0x1+0xccd*0x2+-0x3781);_0x340c91[_0x2f698f(0x1a5)][_0x2f698f(0x194)](-0x3*0xb11+-0x2001+0x4139,0x5*0x5df+0x16d5+-0x342b*0x1,-0x16f5+0xa3e+-0x32f*-0x4),_0x3e9583[_0x2f698f(0x191)](_0x340c91);const _0x467b3e=new THREE[(_0x2f698f(0x1a1))](0x5*0xda083+0x271123*-0x2+-0x1b783*-0x34,0x1190+-0x755*-0x1+-0x18e2);_0x467b3e[_0x2f698f(0x1a5)][_0x2f698f(0x194)](-(-0xc72+0x1d3+-0x6*-0x1c6),-(-0x1*-0x2dd+-0xaa*-0x22+0x1*-0x196c),-0x145+0x447+-0x60*0x8),_0x3e9583[_0x2f698f(0x191)](_0x467b3e);let _0x56b560=!![];const _0x14d9fc=()=>{const _0x515850=_0x2f698f,_0x250de5=_0x30ccc1[_0x515850(0x197)][_0x515850(0x1a3)]('|');let _0x21b71a=-0x395+0x2*-0x1b2+0x6f9;while(!![]){switch(_0x250de5[_0x21b71a++]){case'0':_0x120521[_0x515850(0x195)]['x']+=-0x443+0x1b7f+-0x173c+0.03;continue;case'1':_0x551f62[_0x515850(0x192)](_0x3e9583,_0x311382);continue;case'2':_0x120521[_0x515850(0x195)]['z']+=-0xc99+0x593*-0x4+0x22e5+0.01;continue;case'3':if(!_0x56b560)return;continue;case'4':_0x120521[_0x515850(0x195)]['y']+=0x12f5+-0x1a71+-0x1*-0x77c+0.04;continue;case'5':currentReq=_0x30ccc1[_0x515850(0x198)](requestAnimationFrame,_0x14d9fc);continue;}break;}};return _0x30ccc1[_0x2f698f(0x18a)](_0x14d9fc),{'destroy':()=>{const _0x37528c=_0x2f698f,_0x2c44a0=_0x30ccc1[_0x37528c(0x1a2)][_0x37528c(0x1a3)]('|');let _0x12a868=0x2ea*-0x7+0x1a7b*0x1+0x207*-0x3;while(!![]){switch(_0x2c44a0[_0x12a868++]){case'0':currentRenderer=null;continue;case'1':_0x1ffe74[_0x37528c(0x19c)]();continue;case'2':_0x10cffa[_0x37528c(0x19c)]();continue;case'3':_0x56b560=![];continue;case'4':_0x551f62[_0x37528c(0x19c)]();continue;}break;}}};};function _0x2d57(_0x1fa349,_0xee4f30){_0x1fa349=_0x1fa349-(-0x1*-0x1d1a+-0x1ef2+0x1*0x35e);const _0x5537b9=_0x46fa();let _0x2221c7=_0x5537b9[_0x1fa349];return _0x2221c7;}export{createLoadingSpinner};
public/js/ui.js CHANGED
@@ -1 +1 @@
1
- function _0x2d4c(_0x29ebaa,_0x3b2351){_0x29ebaa=_0x29ebaa-(-0x1*-0x151e+0xc17*0x3+-0x37b5);const _0xd7f82b=_0x41cd();let _0x349e5d=_0xd7f82b[_0x29ebaa];return _0x349e5d;}function _0x41cd(){const _0x4e1d23=['504876KlgBoL','xGMFX','italic','cMIvU','EcNeQ','xGiFt','.delete-btn','.message-row','createTextNode','substring','.history-item','GlCMj','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22user-message-bubble\x22>','uLkgj','POWpp','gbAyX','crash-log-input','BGuxc','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22loading-canvas-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<canvas\x20id=\x223d-loader-canvas\x22></canvas>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22loading-text-glow\x22>Decoding\x20crash\x20logs...</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','history-list','welcomeScreen','blur','rel','3d-loader-canvas','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-actions\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-item-btn-dots\x22\x20title=\x22Options\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2214\x22\x20height=\x2214\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2212\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x225\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2219\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-menu\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20edit-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><path\x20d=\x22M11\x204H4a2\x202\x200\x200\x200-2\x202v14a2\x202\x200\x200\x200\x202\x202h14a2\x202\x200\x200\x200\x202-2v-7\x22></path><path\x20d=\x22M18.5\x202.5a2.121\x202.121\x200\x200\x201\x203\x203L12\x2015l-4\x201\x201-4\x209.5-9.5z\x22></path></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Name\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20delete-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><polyline\x20points=\x223\x206\x205\x206\x2021\x206\x22></polyline><path\x20d=\x22M19\x206v14a2\x202\x200\x200\x201-2\x202H7a2\x202\x200\x200\x201-2-2V6m3\x200V4a2\x202\x200\x200\x201\x202-2h4a2\x202\x200\x200\x201\x202\x202v2\x22></path><line\x20x1=\x2210\x22\x20y1=\x2211\x22\x20x2=\x2210\x22\x20y2=\x2217\x22></line><line\x20x1=\x2214\x22\x20y1=\x2211\x22\x20x2=\x2214\x22\x20y2=\x2217\x22></line></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','fUbkZ','function','pwxhX','lapcT','gFmHg','contains','JGFEG','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3></h3>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22fix-container\x22\x20style=\x22display:\x20none;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p><strong>Fix:</strong></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ol></ol>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','5535162rYflRw','xuxWw','input','querySelectorAll','fhSpX','PHJWV','kTWkK','12761235WKXTTR','display','qEngS','preventDefault','QrNrG','KetPR','GJVtp','stopPropagation','value','YNuyo','NsRQL','OXZHX','code','click','keydown','PjFdo','.history-item-btn-dots','Unknown\x20Crash','querySelector','48997751xIWuNe','scrollIntoView','insertBefore','btn-analyze','trim','href','qeCng','JgOCf','history-item','OPZFG','teBYo','GjiRY','ai-link','tThTU','Pobjd','type','DfTOr','EwMmT','JmDkB','WzWgp','axblX','messages-area','crashLogInput','classList','CPYDI','scrollHeight','queue-bar','.edit-btn','12CUCNsC','gAvjD','.pill-container','4GACqkS','hPlxl','ztqWp','PESYN','open','url','disabled','remove','.history-item-text','vCtOZ','.history-item-menu.open','push','SxfxV','XFArZ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-chat-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','IkujR','AOuXn','getElementById','oyUPp','content','div','IMqLR','textContent','lastIndex','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20user\x22>U</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pill-container\x22\x20style=\x22opacity:\x200;\x20transition:\x20opacity\x200.4s\x20ease-in;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22severity-pill\x20','queueBar','lqpzt','welcome-screen','aMDog','.ai-message-content\x20>\x20p','target','link','XJFhQ','toggle','start','xUsMx','wTXcC','lButs','GxaQD','vWfoQ','scrollTop','EOxRE','chat-container','SzjWn','firstChild','focus','\x20severity</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22mod-pill\x22>','dOsAx','.ai-chat-content','hUYNx','message-row\x20ai-row','index','xBjFY','thnIB','none','14204352YLoTrG','text','ctHQG','10rwdLBf','rrQNa','className','GSLSD','innerHTML','3cAKYNk','exec','flex','.history-item-menu','wvNHs','ywrOM','noopener\x20noreferrer','createElement','oWeDH','affectedMod','bold','.fix-container','eWRKD','block','active','auto','Enter','qBUWU','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22history-item-text\x22>','JFEeU','style','height','queueBarText','analyzeButton','min','message-row\x20user-row','ynzom','mimaS','544342WhlNYk','visible','ZATsk','HUosc','WLVyt','flixd','addEventListener','queue-bar-text','aSvoL','yLCvd','forEach','aIZUL','BUlzc','SXEhV','mStza','joWpP','7YIiJNq','add','riDry','opacity','history-edit-input','length','ai-code','1517100njepWc','loading-message','_blank','key','mXciC','iCvxN','hQAzm','appendChild','smooth','sprMM','errorToast','historyList','gnnzf','TnuAc','strong','Escape','ePtoi','charAt','jvivV','messagesArea','error-toast','tredl'];_0x41cd=function(){return _0x4e1d23;};return _0x41cd();}const _0x3e173b=_0x2d4c;(function(_0x3e2320,_0x3e1433){const _0x38b262=_0x2d4c,_0x56517e=_0x3e2320();while(!![]){try{const _0x4a54d0=parseInt(_0x38b262(0x25c))/(0x2*-0x1061+-0x4d7+0x259a)*(-parseInt(_0x38b262(0x278))/(0x4*-0x53a+-0x1c21+0x310b))+parseInt(_0x38b262(0x1c2))/(-0x1105+-0x11e4+-0x1e*-0x12a)*(-parseInt(_0x38b262(0x21c))/(0x5*-0x325+-0x1312+-0x7*-0x4f9))+-parseInt(_0x38b262(0x28f))/(0x69e+0x2*0x11a1+-0x29db)+-parseInt(_0x38b262(0x1e3))/(-0x702+0x6*0x511+0x3*-0x7ca)*(-parseInt(_0x38b262(0x288))/(0x1*0x25+0x15ac+-0x15ca))+-parseInt(_0x38b262(0x254))/(-0x5b6*0x3+-0x1ec*0xd+0x53*0x82)+parseInt(_0x38b262(0x1ea))/(-0x208c+0x18*-0x64+-0x17*-0x1d3)*(-parseInt(_0x38b262(0x257))/(-0x26b2+-0xd6a+-0xf*-0x37a))+parseInt(_0x38b262(0x1fd))/(-0xe9b*-0x2+0x49d+-0x10e4*0x2)*(parseInt(_0x38b262(0x219))/(0x2169+-0x217d+0x20*0x1));if(_0x4a54d0===_0x3e1433)break;else _0x56517e['push'](_0x56517e['shift']());}catch(_0x5e8e41){_0x56517e['push'](_0x56517e['shift']());}}}(_0x41cd,-0x4*-0x533b5+-0xfbf59*-0x1+-0x16e55d));const el={'crashLogInput':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x1d2)),'analyzeButton':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x200)),'queueBar':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x217)),'queueBarText':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x27f)),'messagesArea':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x212)),'welcomeScreen':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x238)),'historyList':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x1d5)),'errorToast':()=>document[_0x3e173b(0x22d)](_0x3e173b(0x1c0))},initAutoResize=()=>{const _0x3d8390=_0x3e173b,_0x474424={'XFArZ':_0x3d8390(0x26b),'teBYo':function(_0x2d1d6c,_0x53bb68){return _0x2d1d6c+_0x53bb68;},'joWpP':function(_0x1e9bc8,_0x4c9009){return _0x1e9bc8===_0x4c9009;},'GJVtp':_0x3d8390(0x1e5)},_0x260c0a=el[_0x3d8390(0x213)]();_0x260c0a[_0x3d8390(0x27e)](_0x474424[_0x3d8390(0x1f0)],()=>{const _0x109baf=_0x3d8390;_0x260c0a[_0x109baf(0x270)][_0x109baf(0x271)]=_0x474424[_0x109baf(0x229)],_0x260c0a[_0x109baf(0x270)][_0x109baf(0x271)]=_0x474424[_0x109baf(0x207)](Math[_0x109baf(0x274)](_0x260c0a[_0x109baf(0x216)],-0x1*-0x1543+0x98f+-0x12*0x1a9),'px'),el[_0x109baf(0x273)]()[_0x109baf(0x222)]=_0x474424[_0x109baf(0x287)](_0x260c0a[_0x109baf(0x1f2)][_0x109baf(0x201)]()[_0x109baf(0x28d)],0x11e7*-0x1+-0x91*0x1a+0x20a1);});},getCrashLogValue=()=>el[_0x3e173b(0x213)]()[_0x3e173b(0x1f2)][_0x3e173b(0x201)](),clearCrashLogInput=()=>{const _0x493208=_0x3e173b,_0x5ea580={'SXEhV':_0x493208(0x26b)},_0x1d8d7c=el[_0x493208(0x213)]();_0x1d8d7c[_0x493208(0x1f2)]='',_0x1d8d7c[_0x493208(0x270)][_0x493208(0x271)]=_0x5ea580[_0x493208(0x285)],el[_0x493208(0x273)]()[_0x493208(0x222)]=!![];},setAnalyzeButtonLoading=_0x15248c=>{const _0x1b54db=_0x3e173b;el[_0x1b54db(0x273)]()[_0x1b54db(0x222)]=_0x15248c;},showQueueBar=_0x3fb6ee=>{const _0x5d13ac=_0x3e173b,_0x217d72={'BGuxc':_0x5d13ac(0x279)};el[_0x5d13ac(0x236)]()[_0x5d13ac(0x214)][_0x5d13ac(0x289)](_0x217d72[_0x5d13ac(0x1d3)]),el[_0x5d13ac(0x272)]()[_0x5d13ac(0x232)]=_0x3fb6ee;},hideQueueBar=()=>{const _0x44d363=_0x3e173b,_0x251587={'gFmHg':_0x44d363(0x279)};el[_0x44d363(0x236)]()[_0x44d363(0x214)][_0x44d363(0x223)](_0x251587[_0x44d363(0x1df)]);},hideWelcomeScreen=()=>{const _0x2c7c8c=_0x3e173b,_0x1a5652={'ePtoi':_0x2c7c8c(0x253)},_0x521c57=el[_0x2c7c8c(0x1d6)]();if(_0x521c57)_0x521c57[_0x2c7c8c(0x270)][_0x2c7c8c(0x1eb)]=_0x1a5652[_0x2c7c8c(0x1bc)];},appendUserMessage=_0x25e110=>{const _0x2a70ee=_0x3e173b,_0x1d803e={'qBUWU':function(_0x11258f){return _0x11258f();},'PHJWV':_0x2a70ee(0x230),'OXZHX':_0x2a70ee(0x275),'GjiRY':function(_0x44f7f6){return _0x44f7f6();}};_0x1d803e[_0x2a70ee(0x26d)](hideWelcomeScreen);const _0x1a0c35=document[_0x2a70ee(0x263)](_0x1d803e[_0x2a70ee(0x1e8)]);_0x1a0c35[_0x2a70ee(0x259)]=_0x1d803e[_0x2a70ee(0x1f5)],_0x1a0c35[_0x2a70ee(0x25b)]=_0x2a70ee(0x1ce)+_0x25e110+_0x2a70ee(0x234),el[_0x2a70ee(0x1bf)]()[_0x2a70ee(0x1b3)](_0x1a0c35),_0x1d803e[_0x2a70ee(0x208)](scrollToBottom);},appendLoadingMessage=()=>{const _0x48c7dd=_0x3e173b,_0x2aadcc={'WzWgp':function(_0x4d3946){return _0x4d3946();},'SxfxV':_0x48c7dd(0x230),'yLCvd':_0x48c7dd(0x24f),'jvivV':_0x48c7dd(0x290),'AOuXn':_0x48c7dd(0x1d9)};_0x2aadcc[_0x48c7dd(0x210)](hideWelcomeScreen);const _0x12e943=document[_0x48c7dd(0x263)](_0x2aadcc[_0x48c7dd(0x228)]);return _0x12e943[_0x48c7dd(0x259)]=_0x2aadcc[_0x48c7dd(0x281)],_0x12e943['id']=_0x2aadcc[_0x48c7dd(0x1be)],_0x12e943[_0x48c7dd(0x25b)]=_0x48c7dd(0x1d4),el[_0x48c7dd(0x1bf)]()[_0x48c7dd(0x1b3)](_0x12e943),_0x2aadcc[_0x48c7dd(0x210)](scrollToBottom),document[_0x48c7dd(0x22d)](_0x2aadcc[_0x48c7dd(0x22c)]);},removeLoadingMessage=()=>{const _0x12e2f4=_0x3e173b,_0xb46e04={'ZATsk':_0x12e2f4(0x290)},_0x26380a=document[_0x12e2f4(0x22d)](_0xb46e04[_0x12e2f4(0x27a)]);if(_0x26380a)_0x26380a[_0x12e2f4(0x223)]();},typeOut=async(_0x5a7aaa,_0x1c3798,_0x5ed5e6)=>{const _0x35f2ab=_0x3e173b,_0x5cdb4d={'aMDog':function(_0x5ecdbe){return _0x5ecdbe();},'HUosc':function(_0xf3bb2e,_0x33698f){return _0xf3bb2e>=_0x33698f;},'qeCng':function(_0x4a29fd,_0x163e51){return _0x4a29fd(_0x163e51);},'hUYNx':function(_0x158f34){return _0x158f34();},'mimaS':function(_0x433a6e){return _0x433a6e();},'vWfoQ':function(_0x24fda6,_0x269ab1,_0x9f6f8f){return _0x24fda6(_0x269ab1,_0x9f6f8f);},'hPlxl':function(_0x55b8b6,_0x5a2fd4){return _0x55b8b6!==_0x5a2fd4;},'tThTU':function(_0x48e9f0,_0x5d228b){return _0x48e9f0>_0x5d228b;},'JmDkB':_0x35f2ab(0x255),'mStza':_0x35f2ab(0x23c),'JFEeU':_0x35f2ab(0x266),'riDry':_0x35f2ab(0x1c4),'ywrOM':_0x35f2ab(0x1f6),'xGiFt':function(_0x5241be,_0x30e611){return _0x5241be<_0x30e611;},'lqpzt':function(_0x34e583,_0x2e2284){return _0x34e583===_0x2e2284;},'WLVyt':_0x35f2ab(0x1ae),'SzjWn':_0x35f2ab(0x262),'ctHQG':_0x35f2ab(0x209),'xGMFX':function(_0x3c69c8,_0x56d00a,_0x3ae325){return _0x3c69c8(_0x56d00a,_0x3ae325);},'lButs':function(_0x38a9e5,_0x31d452){return _0x38a9e5===_0x31d452;},'DfTOr':_0x35f2ab(0x1ba),'gnnzf':function(_0x48eca6,_0xfe1b12){return _0x48eca6===_0xfe1b12;},'xUsMx':function(_0x3e5af4,_0x5b3e5a,_0x5b7eb4){return _0x3e5af4(_0x5b3e5a,_0x5b7eb4);},'GSLSD':_0x35f2ab(0x28e)},_0x32fdbf=[];let _0x55042e=-0x90*-0x10+0x2*-0xce0+0x10c*0x10;const _0x1c2556=/\[([^\]]+)\]\(([^)]+)\)|\*\*([^*]+)\*\*|\*([^*]+)\*|`([^`]+)`/g;let _0x5e40f6;while(_0x5cdb4d[_0x35f2ab(0x21d)](_0x5e40f6=_0x1c2556[_0x35f2ab(0x25d)](_0x1c3798),null)){_0x5cdb4d[_0x35f2ab(0x20a)](_0x5e40f6[_0x35f2ab(0x250)],_0x55042e)&&_0x32fdbf[_0x35f2ab(0x227)]({'type':_0x5cdb4d[_0x35f2ab(0x20f)],'content':_0x1c3798[_0x35f2ab(0x1cb)](_0x55042e,_0x5e40f6[_0x35f2ab(0x250)])});if(_0x5e40f6[-0xaa9*0x2+0x4*-0x543+-0x1*-0x2a5f]&&_0x5e40f6[-0x1e77+-0x24eb+0x10d9*0x4])_0x32fdbf[_0x35f2ab(0x227)]({'type':_0x5cdb4d[_0x35f2ab(0x286)],'text':_0x5e40f6[0x4*-0x885+0x11bd+-0x20b*-0x8],'url':_0x5e40f6[0x3*0xb9+0x9d8+-0xc01]});else{if(_0x5e40f6[0xcb4+-0x1b45+0xe94])_0x32fdbf[_0x35f2ab(0x227)]({'type':_0x5cdb4d[_0x35f2ab(0x26f)],'text':_0x5e40f6[-0x3a6*-0x1+0x1573+-0x1916]});else{if(_0x5e40f6[-0x1f88+-0x11c0+0x314c])_0x32fdbf[_0x35f2ab(0x227)]({'type':_0x5cdb4d[_0x35f2ab(0x28a)],'text':_0x5e40f6[-0x2*0x556+-0x1*-0x74a+0x366]});else _0x5e40f6[0x27*-0x3c+0x184b+0x1a*-0x95]&&_0x32fdbf[_0x35f2ab(0x227)]({'type':_0x5cdb4d[_0x35f2ab(0x261)],'text':_0x5e40f6[-0x1145+0x1501*0x1+-0x3*0x13d]});}}_0x55042e=_0x1c2556[_0x35f2ab(0x233)];}_0x5cdb4d[_0x35f2ab(0x1c7)](_0x55042e,_0x1c3798[_0x35f2ab(0x28d)])&&_0x32fdbf[_0x35f2ab(0x227)]({'type':_0x5cdb4d[_0x35f2ab(0x20f)],'content':_0x1c3798[_0x35f2ab(0x1cb)](_0x55042e)});const _0x5318f2=(_0x4ac908,_0xfcf21b)=>new Promise(_0x38cee5=>{const _0x1cdf71=_0x35f2ab,_0x30467e={'EcNeQ':function(_0x5ea1d9){const _0x513977=_0x2d4c;return _0x5cdb4d[_0x513977(0x239)](_0x5ea1d9);},'qEngS':function(_0x57de3d,_0x38c9ca){const _0x2c93d7=_0x2d4c;return _0x5cdb4d[_0x2c93d7(0x27b)](_0x57de3d,_0x38c9ca);},'QrNrG':function(_0x39f467,_0x3e4777){const _0xa027de=_0x2d4c;return _0x5cdb4d[_0xa027de(0x203)](_0x39f467,_0x3e4777);},'JgOCf':function(_0x5dc988){const _0xa401ad=_0x2d4c;return _0x5cdb4d[_0xa401ad(0x24e)](_0x5dc988);}};if(!_0xfcf21b)return _0x5cdb4d[_0x1cdf71(0x277)](_0x38cee5);let _0x588fe2=0xf63+-0x120+-0xe43;const _0x12c80c=_0x5cdb4d[_0x1cdf71(0x244)](setInterval,()=>{const _0x309c8b=_0x1cdf71;_0x4ac908[_0x309c8b(0x232)]+=_0xfcf21b[_0x309c8b(0x1bd)](_0x588fe2),_0x588fe2++,_0x30467e[_0x309c8b(0x1c6)](scrollToBottom),_0x30467e[_0x309c8b(0x1ec)](_0x588fe2,_0xfcf21b[_0x309c8b(0x28d)])&&(_0x30467e[_0x309c8b(0x1ee)](clearInterval,_0x12c80c),_0x30467e[_0x309c8b(0x204)](_0x38cee5));},_0x5ed5e6);});for(const _0x38506d of _0x32fdbf){if(_0x5cdb4d[_0x35f2ab(0x237)](_0x38506d[_0x35f2ab(0x20c)],_0x5cdb4d[_0x35f2ab(0x20f)])){const _0x1cbf2b=document[_0x35f2ab(0x1ca)]('');_0x5a7aaa[_0x35f2ab(0x1b3)](_0x1cbf2b),await _0x5cdb4d[_0x35f2ab(0x244)](_0x5318f2,_0x1cbf2b,_0x38506d[_0x35f2ab(0x22f)]);}else{if(_0x5cdb4d[_0x35f2ab(0x237)](_0x38506d[_0x35f2ab(0x20c)],_0x5cdb4d[_0x35f2ab(0x286)])){const _0xa08291=document[_0x35f2ab(0x263)]('a');_0xa08291[_0x35f2ab(0x202)]=_0x38506d[_0x35f2ab(0x221)],_0xa08291[_0x35f2ab(0x23b)]=_0x5cdb4d[_0x35f2ab(0x27c)],_0xa08291[_0x35f2ab(0x1d8)]=_0x5cdb4d[_0x35f2ab(0x248)],_0xa08291[_0x35f2ab(0x259)]=_0x5cdb4d[_0x35f2ab(0x256)],_0x5a7aaa[_0x35f2ab(0x1b3)](_0xa08291),await _0x5cdb4d[_0x35f2ab(0x1c3)](_0x5318f2,_0xa08291,_0x38506d[_0x35f2ab(0x255)]);}else{if(_0x5cdb4d[_0x35f2ab(0x242)](_0x38506d[_0x35f2ab(0x20c)],_0x5cdb4d[_0x35f2ab(0x26f)])){const _0xd17673=document[_0x35f2ab(0x263)](_0x5cdb4d[_0x35f2ab(0x20d)]);_0x5a7aaa[_0x35f2ab(0x1b3)](_0xd17673),await _0x5cdb4d[_0x35f2ab(0x244)](_0x5318f2,_0xd17673,_0x38506d[_0x35f2ab(0x255)]);}else{if(_0x5cdb4d[_0x35f2ab(0x1b8)](_0x38506d[_0x35f2ab(0x20c)],_0x5cdb4d[_0x35f2ab(0x28a)])){const _0x488a8e=document[_0x35f2ab(0x263)]('em');_0x5a7aaa[_0x35f2ab(0x1b3)](_0x488a8e),await _0x5cdb4d[_0x35f2ab(0x240)](_0x5318f2,_0x488a8e,_0x38506d[_0x35f2ab(0x255)]);}else{if(_0x5cdb4d[_0x35f2ab(0x237)](_0x38506d[_0x35f2ab(0x20c)],_0x5cdb4d[_0x35f2ab(0x261)])){const _0x4bee34=document[_0x35f2ab(0x263)](_0x5cdb4d[_0x35f2ab(0x261)]);_0x4bee34[_0x35f2ab(0x259)]=_0x5cdb4d[_0x35f2ab(0x25a)],_0x5a7aaa[_0x35f2ab(0x1b3)](_0x4bee34),await _0x5cdb4d[_0x35f2ab(0x1c3)](_0x5318f2,_0x4bee34,_0x38506d[_0x35f2ab(0x255)]);}}}}}}},appendAiChatMessage=_0x358abd=>{const _0x395f4e=_0x3e173b,_0x546610={'mXciC':function(_0x414d1e,_0x576dbc,_0x52baf3,_0xcdf952){return _0x414d1e(_0x576dbc,_0x52baf3,_0xcdf952);},'gbAyX':_0x395f4e(0x230),'tredl':_0x395f4e(0x24f),'ztqWp':function(_0xad26f2){return _0xad26f2();},'IMqLR':_0x395f4e(0x24d)},_0x401a3a=document[_0x395f4e(0x263)](_0x546610[_0x395f4e(0x1d1)]);_0x401a3a[_0x395f4e(0x259)]=_0x546610[_0x395f4e(0x1c1)],_0x401a3a[_0x395f4e(0x25b)]=_0x395f4e(0x22a),el[_0x395f4e(0x1bf)]()[_0x395f4e(0x1b3)](_0x401a3a),_0x546610[_0x395f4e(0x21e)](scrollToBottom);const _0x10972c=_0x401a3a[_0x395f4e(0x1fc)](_0x546610[_0x395f4e(0x231)]);return((async()=>{const _0x5b548d=_0x395f4e;await _0x546610[_0x5b548d(0x1b0)](typeOut,_0x10972c,_0x358abd,-0x20e*-0x10+-0x10d+-0x1fcb);})()),_0x401a3a;},appendAiMessage=_0x45dad1=>{const _0x164fb8=_0x3e173b,_0x4482b1={'axblX':function(_0x4b23fe,_0xbd93cf,_0x2dd34e,_0x2a53a8){return _0x4b23fe(_0xbd93cf,_0x2dd34e,_0x2a53a8);},'gAvjD':function(_0x506e80,_0x10c14d){return _0x506e80>_0x10c14d;},'flixd':_0x164fb8(0x269),'GlCMj':function(_0x5c1e5f,_0x288d1e,_0x4ead46,_0xf0466){return _0x5c1e5f(_0x288d1e,_0x4ead46,_0xf0466);},'wvNHs':_0x164fb8(0x230),'rrQNa':_0x164fb8(0x24f),'EwMmT':function(_0x1a04c3){return _0x1a04c3();},'oWeDH':_0x164fb8(0x23a),'Pobjd':_0x164fb8(0x267),'thnIB':_0x164fb8(0x21b)},{cause:_0x542b38,explanation:_0x5dc9a8,fix:_0xc45e70,severity:_0x66b29,affectedMod:_0x2d6ba5}=_0x45dad1,_0x3af408=document[_0x164fb8(0x263)](_0x4482b1[_0x164fb8(0x260)]);_0x3af408[_0x164fb8(0x259)]=_0x4482b1[_0x164fb8(0x258)],_0x3af408[_0x164fb8(0x25b)]=_0x164fb8(0x235)+_0x66b29+'\x22>'+_0x66b29+_0x164fb8(0x24b)+_0x2d6ba5+_0x164fb8(0x1e2),el[_0x164fb8(0x1bf)]()[_0x164fb8(0x1b3)](_0x3af408),_0x4482b1[_0x164fb8(0x20e)](scrollToBottom);const _0x86160e=_0x3af408[_0x164fb8(0x1fc)]('h3'),_0xcac87a=_0x3af408[_0x164fb8(0x1fc)](_0x4482b1[_0x164fb8(0x264)]),_0xca46eb=_0x3af408[_0x164fb8(0x1fc)](_0x4482b1[_0x164fb8(0x20b)]),_0x42e3e0=_0x3af408[_0x164fb8(0x1fc)]('ol'),_0x9334d1=_0x3af408[_0x164fb8(0x1fc)](_0x4482b1[_0x164fb8(0x252)]);return((async()=>{const _0x5d9b30=_0x164fb8;_0x9334d1[_0x5d9b30(0x270)][_0x5d9b30(0x28b)]=-0xc36+-0x19*-0x97+0x48*-0x9,await _0x4482b1[_0x5d9b30(0x211)](typeOut,_0x86160e,_0x542b38,0x23e7+-0x1*-0xcec+-0x4*0xc31),await _0x4482b1[_0x5d9b30(0x211)](typeOut,_0xcac87a,_0x5dc9a8,-0x1bf1+-0x1f13+0x3b09);if(_0xc45e70&&_0x4482b1[_0x5d9b30(0x21a)](_0xc45e70[_0x5d9b30(0x28d)],-0x1982+-0x1b87+0x3509*0x1)){_0xca46eb[_0x5d9b30(0x270)][_0x5d9b30(0x1eb)]=_0x4482b1[_0x5d9b30(0x27d)];for(const _0x1a0589 of _0xc45e70){const _0x17adc5=document[_0x5d9b30(0x263)]('li');_0x42e3e0[_0x5d9b30(0x1b3)](_0x17adc5),await _0x4482b1[_0x5d9b30(0x1cd)](typeOut,_0x17adc5,_0x1a0589,-0x11ad+0x1dab+-0xbf6);}}})()),_0x3af408;},addHistoryItem=(_0x3a4723,_0x2431d4)=>{const _0x372e62=_0x3e173b,_0xf6d319={'NsRQL':_0x372e62(0x1cc),'PjFdo':_0x372e62(0x26a),'OPZFG':function(_0x79760c){return _0x79760c();},'POWpp':function(_0x289e0d,_0x2721d8){return _0x289e0d===_0x2721d8;},'uLkgj':_0x372e62(0x1dc),'xBjFY':function(_0x9d46fa){return _0x9d46fa();},'sprMM':function(_0x1afe41,_0x3fd320){return _0x1afe41!==_0x3fd320;},'CPYDI':_0x372e62(0x220),'KetPR':_0x372e62(0x226),'pwxhX':_0x372e62(0x26c),'aIZUL':_0x372e62(0x1bb),'hQAzm':function(_0x4f92dc){return _0x4f92dc();},'aSvoL':_0x372e62(0x1e5),'JGFEG':_0x372e62(0x255),'BUlzc':_0x372e62(0x28c),'iCvxN':_0x372e62(0x253),'PESYN':_0x372e62(0x1f7),'EOxRE':_0x372e62(0x1d7),'YNuyo':_0x372e62(0x1f8),'ynzom':_0x372e62(0x1c9),'fhSpX':_0x372e62(0x25e),'eWRKD':_0x372e62(0x205),'cMIvU':_0x372e62(0x1fb),'vCtOZ':_0x372e62(0x1fa),'lapcT':_0x372e62(0x25f),'oyUPp':_0x372e62(0x218),'dOsAx':_0x372e62(0x1c8),'GxaQD':_0x372e62(0x224),'TnuAc':function(_0x12d28c){return _0x12d28c();}},_0x2ad63f=document[_0x372e62(0x263)]('a');_0x2ad63f[_0x372e62(0x259)]=_0xf6d319[_0x372e62(0x268)],_0x2ad63f[_0x372e62(0x25b)]=_0x372e62(0x26e)+(_0x3a4723[_0x372e62(0x265)]||_0xf6d319[_0x372e62(0x1c5)])+_0x372e62(0x1da);const _0x1600d5=()=>{const _0x250747=_0x372e62;document[_0x250747(0x1e6)](_0xf6d319[_0x250747(0x1f4)])[_0x250747(0x282)](_0x3ccc13=>_0x3ccc13[_0x250747(0x214)][_0x250747(0x223)](_0x250747(0x26a))),_0x2ad63f[_0x250747(0x214)][_0x250747(0x289)](_0xf6d319[_0x250747(0x1f9)]);},_0xae966a=_0x143425=>{const _0x16730a=_0x372e62;_0x143425[_0x16730a(0x1ed)](),_0xf6d319[_0x16730a(0x206)](_0x1600d5);if(_0xf6d319[_0x16730a(0x1d0)](typeof _0x2431d4,_0xf6d319[_0x16730a(0x1cf)]))_0xf6d319[_0x16730a(0x251)](_0x2431d4);};_0x2ad63f[_0x372e62(0x27e)](_0xf6d319[_0x372e62(0x21f)],_0xae966a);const _0x299e23=_0x2ad63f[_0x372e62(0x1fc)](_0xf6d319[_0x372e62(0x225)]),_0x1e2076=_0x2ad63f[_0x372e62(0x1fc)](_0xf6d319[_0x372e62(0x1de)]),_0x36a67b=_0x2ad63f[_0x372e62(0x1fc)](_0xf6d319[_0x372e62(0x22e)]),_0x3efe7a=_0x2ad63f[_0x372e62(0x1fc)](_0xf6d319[_0x372e62(0x24c)]),_0x41afb4=_0x2ad63f[_0x372e62(0x1fc)](_0xf6d319[_0x372e62(0x243)]);_0x299e23[_0x372e62(0x27e)](_0xf6d319[_0x372e62(0x21f)],_0x33794b=>{const _0x352989=_0x372e62;_0x33794b[_0x352989(0x1ed)](),_0x33794b[_0x352989(0x1f1)](),document[_0x352989(0x1e6)](_0xf6d319[_0x352989(0x1ef)])[_0x352989(0x282)](_0x3817b4=>{const _0x14e4d1=_0x352989;if(_0xf6d319[_0x14e4d1(0x1b5)](_0x3817b4,_0x1e2076))_0x3817b4[_0x14e4d1(0x214)][_0x14e4d1(0x223)](_0xf6d319[_0x14e4d1(0x215)]);}),_0x1e2076[_0x352989(0x214)][_0x352989(0x23e)](_0xf6d319[_0x352989(0x215)]);}),_0x36a67b[_0x372e62(0x27e)](_0xf6d319[_0x372e62(0x21f)],_0x209f1a=>{const _0x328b44=_0x372e62;_0x209f1a[_0x328b44(0x1ed)](),_0x209f1a[_0x328b44(0x1f1)](),_0x1e2076[_0x328b44(0x214)][_0x328b44(0x223)](_0xf6d319[_0x328b44(0x215)]);const _0x23f9eb=_0x41afb4[_0x328b44(0x232)],_0x21f080=document[_0x328b44(0x263)](_0xf6d319[_0x328b44(0x280)]);_0x21f080[_0x328b44(0x20c)]=_0xf6d319[_0x328b44(0x1e1)],_0x21f080[_0x328b44(0x259)]=_0xf6d319[_0x328b44(0x284)],_0x21f080[_0x328b44(0x1f2)]=_0x23f9eb,_0x2ad63f[_0x328b44(0x1ff)](_0x21f080,_0x41afb4),_0x41afb4[_0x328b44(0x270)][_0x328b44(0x1eb)]=_0xf6d319[_0x328b44(0x1b1)],_0x21f080[_0x328b44(0x24a)](),_0x21f080[_0x328b44(0x27e)](_0xf6d319[_0x328b44(0x21f)],_0xff284c=>_0xff284c[_0x328b44(0x1f1)]());const _0x22a2a6=()=>{const _0x44c996=_0x328b44,_0x50a6d7=_0x21f080[_0x44c996(0x1f2)][_0x44c996(0x201)]();_0x50a6d7&&(_0x41afb4[_0x44c996(0x232)]=_0x50a6d7),_0x41afb4[_0x44c996(0x270)][_0x44c996(0x1eb)]='',_0x21f080[_0x44c996(0x223)]();};_0x21f080[_0x328b44(0x27e)](_0xf6d319[_0x328b44(0x246)],_0x22a2a6),_0x21f080[_0x328b44(0x27e)](_0xf6d319[_0x328b44(0x1f3)],_0x2d55fa=>{const _0x2df6ee=_0x328b44;if(_0xf6d319[_0x2df6ee(0x1d0)](_0x2d55fa[_0x2df6ee(0x1af)],_0xf6d319[_0x2df6ee(0x1dd)]))_0xf6d319[_0x2df6ee(0x251)](_0x22a2a6);_0xf6d319[_0x2df6ee(0x1d0)](_0x2d55fa[_0x2df6ee(0x1af)],_0xf6d319[_0x2df6ee(0x283)])&&(_0x21f080[_0x2df6ee(0x1f2)]=_0x23f9eb,_0xf6d319[_0x2df6ee(0x1b2)](_0x22a2a6)),_0x2d55fa[_0x2df6ee(0x1f1)]();});}),_0x3efe7a[_0x372e62(0x27e)](_0xf6d319[_0x372e62(0x21f)],_0x549146=>{const _0x21c55d=_0x372e62;_0x549146[_0x21c55d(0x1ed)](),_0x549146[_0x21c55d(0x1f1)](),_0x2ad63f[_0x21c55d(0x223)]();if(_0x2ad63f[_0x21c55d(0x214)][_0x21c55d(0x1e0)](_0xf6d319[_0x21c55d(0x1f9)])){const _0x1aaa72=document[_0x21c55d(0x1e6)](_0xf6d319[_0x21c55d(0x276)]);_0x1aaa72[_0x21c55d(0x282)](_0xc96dcd=>_0xc96dcd[_0x21c55d(0x223)]());const _0x385df7=el[_0x21c55d(0x1d6)]();if(_0x385df7)_0x385df7[_0x21c55d(0x270)][_0x21c55d(0x1eb)]=_0xf6d319[_0x21c55d(0x1e7)];}}),document[_0x372e62(0x27e)](_0xf6d319[_0x372e62(0x21f)],_0x2478d9=>{const _0x1fbf2e=_0x372e62;!_0x2ad63f[_0x1fbf2e(0x1e0)](_0x2478d9[_0x1fbf2e(0x23b)])&&_0x1e2076[_0x1fbf2e(0x214)][_0x1fbf2e(0x223)](_0xf6d319[_0x1fbf2e(0x215)]);});const _0x2c3daa=el[_0x372e62(0x1b7)]();_0x2c3daa[_0x372e62(0x249)]?_0x2c3daa[_0x372e62(0x1ff)](_0x2ad63f,_0x2c3daa[_0x372e62(0x249)]):_0x2c3daa[_0x372e62(0x1b3)](_0x2ad63f),_0xf6d319[_0x372e62(0x1b9)](_0x1600d5);},scrollToBottom=()=>{const _0x409f64=_0x3e173b,_0x55beef={'IkujR':_0x409f64(0x247)},_0x48629a=document[_0x409f64(0x22d)](_0x55beef[_0x409f64(0x22b)]);_0x48629a[_0x409f64(0x245)]=_0x48629a[_0x409f64(0x216)];},scrollToElement=_0x2f1369=>{const _0xd38910=_0x3e173b,_0x2a7ee0={'wTXcC':_0xd38910(0x1b4),'XJFhQ':_0xd38910(0x23f)};_0x2f1369&&_0x2f1369[_0xd38910(0x1fe)]({'behavior':_0x2a7ee0[_0xd38910(0x241)],'block':_0x2a7ee0[_0xd38910(0x23d)]});};let toastTimer=null;const showError=_0x1faa08=>{const _0x350e7e=_0x3e173b,_0x3b5b65={'fUbkZ':_0x350e7e(0x279),'kTWkK':function(_0x1ad2ce,_0x3e52b3){return _0x1ad2ce(_0x3e52b3);},'xuxWw':function(_0x3645cd,_0x188a73,_0x2c2a6a){return _0x3645cd(_0x188a73,_0x2c2a6a);}},_0x448065=el[_0x350e7e(0x1b6)]();_0x448065[_0x350e7e(0x232)]=_0x1faa08,_0x448065[_0x350e7e(0x214)][_0x350e7e(0x289)](_0x3b5b65[_0x350e7e(0x1db)]);if(toastTimer)_0x3b5b65[_0x350e7e(0x1e9)](clearTimeout,toastTimer);toastTimer=_0x3b5b65[_0x350e7e(0x1e4)](setTimeout,()=>_0x448065[_0x350e7e(0x214)][_0x350e7e(0x223)](_0x350e7e(0x279)),-0x1d04+0x901+0x278b);};export{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,hideWelcomeScreen,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError};
 
1
+ const _0x15d562=_0x365a;(function(_0x1b3e7c,_0x22df62){const _0x3b8077=_0x365a,_0x15a865=_0x1b3e7c();while(!![]){try{const _0x5230a9=-parseInt(_0x3b8077(0x202))/(-0xb2*-0x20+0x55b+-0x1b9a*0x1)*(-parseInt(_0x3b8077(0x213))/(0x58*0x6a+0x1139+0x14f*-0x29))+parseInt(_0x3b8077(0x1c7))/(-0x1*-0x16d6+0x1*0x2295+-0x29c*0x16)+-parseInt(_0x3b8077(0x269))/(0x1*-0x1499+0x2e3*0x5+0x62e)*(parseInt(_0x3b8077(0x24a))/(0x147c+-0x17ac+0x335))+parseInt(_0x3b8077(0x200))/(-0xd*-0x28f+0x23a1*-0x1+-0x1*-0x264)*(parseInt(_0x3b8077(0x227))/(0x19+-0x1*0x19b1+0x199f))+parseInt(_0x3b8077(0x253))/(-0xbf6+0x1*-0x8e9+0x14e7)+parseInt(_0x3b8077(0x1b1))/(-0x122+-0x129d+0x13c8)+-parseInt(_0x3b8077(0x23b))/(-0x94*-0x29+0x13*-0x1c7+0xa1b)*(parseInt(_0x3b8077(0x226))/(-0x203*-0x9+-0x24a9+0x1299));if(_0x5230a9===_0x22df62)break;else _0x15a865['push'](_0x15a865['shift']());}catch(_0x36a075){_0x15a865['push'](_0x15a865['shift']());}}}(_0x2d03,-0x1a40+0x36*-0x90c+0x3c5a6));const el={'crashLogInput':()=>document[_0x15d562(0x1c5)](_0x15d562(0x1d4)),'analyzeButton':()=>document[_0x15d562(0x1c5)](_0x15d562(0x1ae)),'queueBar':()=>document[_0x15d562(0x1c5)](_0x15d562(0x201)),'queueBarText':()=>document[_0x15d562(0x1c5)](_0x15d562(0x1e5)),'messagesArea':()=>document[_0x15d562(0x1c5)](_0x15d562(0x1f8)),'welcomeScreen':()=>document[_0x15d562(0x1c5)](_0x15d562(0x286)),'historyList':()=>document[_0x15d562(0x1c5)](_0x15d562(0x229)),'errorToast':()=>document[_0x15d562(0x1c5)](_0x15d562(0x239))},initAutoResize=()=>{const _0x589719=_0x15d562,_0x3202a5={'akpDh':_0x589719(0x1e2),'zeXeX':function(_0x7b0d4a,_0x2281fb){return _0x7b0d4a+_0x2281fb;},'MfONG':function(_0x751a53,_0x1ea6a1){return _0x751a53===_0x1ea6a1;},'xZixF':_0x589719(0x220)},_0x1421db=el[_0x589719(0x22b)]();_0x1421db[_0x589719(0x1d0)](_0x3202a5[_0x589719(0x257)],()=>{const _0x4521ce=_0x589719;_0x1421db[_0x4521ce(0x21e)][_0x4521ce(0x1b9)]=_0x3202a5[_0x4521ce(0x1e6)],_0x1421db[_0x4521ce(0x21e)][_0x4521ce(0x1b9)]=_0x3202a5[_0x4521ce(0x268)](Math[_0x4521ce(0x1b8)](_0x1421db[_0x4521ce(0x1db)],-0x1f9d*-0x1+-0x13df+-0xace),'px'),el[_0x4521ce(0x1be)]()[_0x4521ce(0x1ad)]=_0x3202a5[_0x4521ce(0x21f)](_0x1421db[_0x4521ce(0x1c4)][_0x4521ce(0x1f5)]()[_0x4521ce(0x252)],0x1924*-0x1+0x2588+0xc64*-0x1);});},getCrashLogValue=()=>el[_0x15d562(0x22b)]()[_0x15d562(0x1c4)][_0x15d562(0x1f5)](),clearCrashLogInput=()=>{const _0x3fdb8d=_0x15d562,_0x1e4296={'UvcnY':_0x3fdb8d(0x1e2)},_0x1ee7be=el[_0x3fdb8d(0x22b)]();_0x1ee7be[_0x3fdb8d(0x1c4)]='',_0x1ee7be[_0x3fdb8d(0x21e)][_0x3fdb8d(0x1b9)]=_0x1e4296[_0x3fdb8d(0x1dc)],el[_0x3fdb8d(0x1be)]()[_0x3fdb8d(0x1ad)]=!![];},setAnalyzeButtonLoading=_0x27041b=>{const _0x1193cc=_0x15d562;el[_0x1193cc(0x1be)]()[_0x1193cc(0x1ad)]=_0x27041b;},showQueueBar=_0x423808=>{const _0x47447a=_0x15d562,_0xf361da={'rFlfv':_0x47447a(0x1c2)};el[_0x47447a(0x1ce)]()[_0x47447a(0x24e)][_0x47447a(0x1c9)](_0xf361da[_0x47447a(0x272)]),el[_0x47447a(0x206)]()[_0x47447a(0x1d7)]=_0x423808;},hideQueueBar=()=>{const _0x349800=_0x15d562,_0x49498a={'fMoSF':_0x349800(0x1c2)};el[_0x349800(0x1ce)]()[_0x349800(0x24e)][_0x349800(0x279)](_0x49498a[_0x349800(0x251)]);},hideWelcomeScreen=()=>{const _0x359cc2=_0x15d562,_0x419216={'vNuVN':_0x359cc2(0x217)},_0x528359=el[_0x359cc2(0x1ee)]();if(_0x528359)_0x528359[_0x359cc2(0x21e)][_0x359cc2(0x277)]=_0x419216[_0x359cc2(0x1c6)];},appendUserMessage=_0x576b22=>{const _0x80a0dc=_0x15d562,_0x34b413={'uUtLG':function(_0x33076d){return _0x33076d();},'sKvLw':_0x80a0dc(0x232),'GdGpg':_0x80a0dc(0x250),'YVZGj':function(_0x3de97a){return _0x3de97a();}};_0x34b413[_0x80a0dc(0x249)](hideWelcomeScreen);const _0x3b7128=document[_0x80a0dc(0x223)](_0x34b413[_0x80a0dc(0x241)]);_0x3b7128[_0x80a0dc(0x1dd)]=_0x34b413[_0x80a0dc(0x27a)],_0x3b7128[_0x80a0dc(0x22f)]=_0x80a0dc(0x1f7)+_0x576b22+_0x80a0dc(0x1d2),el[_0x80a0dc(0x26d)]()[_0x80a0dc(0x1d3)](_0x3b7128),_0x34b413[_0x80a0dc(0x21b)](scrollToBottom);},appendLoadingMessage=()=>{const _0x2982c5=_0x15d562,_0x2c0533={'fMxdi':function(_0x3ab000){return _0x3ab000();},'zTMIi':_0x2982c5(0x232),'rHEoF':_0x2982c5(0x218),'PQKzY':_0x2982c5(0x237),'CEPvU':_0x2982c5(0x235)};_0x2c0533[_0x2982c5(0x1b7)](hideWelcomeScreen);const _0x527468=document[_0x2982c5(0x223)](_0x2c0533[_0x2982c5(0x1ef)]);return _0x527468[_0x2982c5(0x1dd)]=_0x2c0533[_0x2982c5(0x20d)],_0x527468['id']=_0x2c0533[_0x2982c5(0x21d)],_0x527468[_0x2982c5(0x22f)]=_0x2982c5(0x1e9),el[_0x2982c5(0x26d)]()[_0x2982c5(0x1d3)](_0x527468),_0x2c0533[_0x2982c5(0x1b7)](scrollToBottom),document[_0x2982c5(0x1c5)](_0x2c0533[_0x2982c5(0x273)]);},removeLoadingMessage=()=>{const _0x4adb7f=_0x15d562,_0x1fd00a={'EFqsz':_0x4adb7f(0x237)},_0xb0a98=document[_0x4adb7f(0x1c5)](_0x1fd00a[_0x4adb7f(0x1ca)]);if(_0xb0a98)_0xb0a98[_0x4adb7f(0x279)]();},typeOut=async(_0x5e905d,_0xe0f1f4,_0x10be4b)=>{const _0x2ff5d4=_0x15d562,_0x255698={'gFUgt':function(_0xf288aa){return _0xf288aa();},'jjfyf':function(_0x453f95,_0x2b3a28){return _0x453f95>=_0x2b3a28;},'RObZY':function(_0x302fcc,_0x3eebab){return _0x302fcc(_0x3eebab);},'dRpfi':function(_0xc5d9ac){return _0xc5d9ac();},'qznzd':function(_0x127201,_0x165437,_0x45e54c){return _0x127201(_0x165437,_0x45e54c);},'RotSS':function(_0x2628b4,_0x3281ae){return _0x2628b4!==_0x3281ae;},'lCKdu':function(_0xfcfaf2,_0x2d2bc9){return _0xfcfaf2>_0x2d2bc9;},'MGjrh':_0x2ff5d4(0x1f2),'ihfse':_0x2ff5d4(0x266),'LOnbP':_0x2ff5d4(0x24c),'DEXKC':_0x2ff5d4(0x242),'fYWkS':_0x2ff5d4(0x228),'BILsX':function(_0x1d773e,_0x5a669f){return _0x1d773e<_0x5a669f;},'xLXyf':function(_0x3305ae,_0x20f6ad){return _0x3305ae===_0x20f6ad;},'ZHWXJ':_0x2ff5d4(0x1bf),'NnUmi':_0x2ff5d4(0x1e7),'uVAyt':_0x2ff5d4(0x27e),'zuhhK':function(_0x13456f,_0x115e5c,_0x474542){return _0x13456f(_0x115e5c,_0x474542);},'vAAuo':function(_0x15ecea,_0x594a56){return _0x15ecea===_0x594a56;},'IlzbH':_0x2ff5d4(0x278),'hAWEB':function(_0x346963,_0x3b5ffb,_0x105735){return _0x346963(_0x3b5ffb,_0x105735);},'PhgvH':_0x2ff5d4(0x23d)},_0x5f2267=[];let _0x4043df=-0xa*-0x29+-0x3a5+0x20b;const _0x59c2f0=/\[([^\]]+)\]\(([^)]+)\)|\*\*([^*]+)\*\*|\*([^*]+)\*|`([^`]+)`/g;let _0x182074;while(_0x255698[_0x2ff5d4(0x24b)](_0x182074=_0x59c2f0[_0x2ff5d4(0x280)](_0xe0f1f4),null)){_0x255698[_0x2ff5d4(0x26e)](_0x182074[_0x2ff5d4(0x1fa)],_0x4043df)&&_0x5f2267[_0x2ff5d4(0x203)]({'type':_0x255698[_0x2ff5d4(0x26f)],'content':_0xe0f1f4[_0x2ff5d4(0x240)](_0x4043df,_0x182074[_0x2ff5d4(0x1fa)])});if(_0x182074[-0x1800+-0x1780+0x1*0x2f81]&&_0x182074[-0x4bd+0x1*-0x189e+-0x1d5d*-0x1])_0x5f2267[_0x2ff5d4(0x203)]({'type':_0x255698[_0x2ff5d4(0x23e)],'text':_0x182074[-0xfdf+0x21a0+-0x47*0x40],'url':_0x182074[0x2*-0x820+0x18a0+-0x85e]});else{if(_0x182074[0x251f+0x6*-0x270+0x59f*-0x4])_0x5f2267[_0x2ff5d4(0x203)]({'type':_0x255698[_0x2ff5d4(0x24f)],'text':_0x182074[0x10ed+-0xae9+0x1d*-0x35]});else{if(_0x182074[0x20*0x12c+-0x11b5*0x2+-0x212*0x1])_0x5f2267[_0x2ff5d4(0x203)]({'type':_0x255698[_0x2ff5d4(0x246)],'text':_0x182074[-0xc4a+-0x737*-0x1+0x517]});else _0x182074[0x1d01+-0x12b9*0x1+-0xa43*0x1]&&_0x5f2267[_0x2ff5d4(0x203)]({'type':_0x255698[_0x2ff5d4(0x22c)],'text':_0x182074[0x23b1*-0x1+0x3d1+-0x47*-0x73]});}}_0x4043df=_0x59c2f0[_0x2ff5d4(0x1e1)];}_0x255698[_0x2ff5d4(0x1da)](_0x4043df,_0xe0f1f4[_0x2ff5d4(0x252)])&&_0x5f2267[_0x2ff5d4(0x203)]({'type':_0x255698[_0x2ff5d4(0x26f)],'content':_0xe0f1f4[_0x2ff5d4(0x240)](_0x4043df)});const _0x2240c1=(_0x2c22b7,_0x34708a)=>new Promise(_0xd21016=>{const _0x4c07e9=_0x2ff5d4,_0x2e6983={'KRCnu':function(_0x42821b){const _0x5f31db=_0x365a;return _0x255698[_0x5f31db(0x1f1)](_0x42821b);},'nCAll':function(_0xdbe360,_0x57877b){const _0x3652b3=_0x365a;return _0x255698[_0x3652b3(0x23a)](_0xdbe360,_0x57877b);},'dcIsU':function(_0x29c7fe,_0x374b57){const _0x157e09=_0x365a;return _0x255698[_0x157e09(0x1b3)](_0x29c7fe,_0x374b57);}};if(!_0x34708a)return _0x255698[_0x4c07e9(0x1ab)](_0xd21016);let _0x23176a=-0xccb+0x1648+-0x97d;const _0x531240=_0x255698[_0x4c07e9(0x234)](setInterval,()=>{const _0xb02f47=_0x4c07e9;_0x2c22b7[_0xb02f47(0x1d7)]+=_0x34708a[_0xb02f47(0x1fb)](_0x23176a),_0x23176a++,_0x2e6983[_0xb02f47(0x23f)](scrollToBottom),_0x2e6983[_0xb02f47(0x1d6)](_0x23176a,_0x34708a[_0xb02f47(0x252)])&&(_0x2e6983[_0xb02f47(0x225)](clearInterval,_0x531240),_0x2e6983[_0xb02f47(0x23f)](_0xd21016));},_0x10be4b);});for(const _0x370725 of _0x5f2267){if(_0x255698[_0x2ff5d4(0x1eb)](_0x370725[_0x2ff5d4(0x282)],_0x255698[_0x2ff5d4(0x26f)])){const _0x5bb485=document[_0x2ff5d4(0x287)]('');_0x5e905d[_0x2ff5d4(0x1d3)](_0x5bb485),await _0x255698[_0x2ff5d4(0x234)](_0x2240c1,_0x5bb485,_0x370725[_0x2ff5d4(0x263)]);}else{if(_0x255698[_0x2ff5d4(0x1eb)](_0x370725[_0x2ff5d4(0x282)],_0x255698[_0x2ff5d4(0x23e)])){const _0x236ac5=document[_0x2ff5d4(0x223)]('a');_0x236ac5[_0x2ff5d4(0x248)]=_0x370725[_0x2ff5d4(0x1c3)],_0x236ac5[_0x2ff5d4(0x1ea)]=_0x255698[_0x2ff5d4(0x25c)],_0x236ac5[_0x2ff5d4(0x1fd)]=_0x255698[_0x2ff5d4(0x23c)],_0x236ac5[_0x2ff5d4(0x1dd)]=_0x255698[_0x2ff5d4(0x1df)],_0x5e905d[_0x2ff5d4(0x1d3)](_0x236ac5),await _0x255698[_0x2ff5d4(0x214)](_0x2240c1,_0x236ac5,_0x370725[_0x2ff5d4(0x1f2)]);}else{if(_0x255698[_0x2ff5d4(0x1c0)](_0x370725[_0x2ff5d4(0x282)],_0x255698[_0x2ff5d4(0x24f)])){const _0x9304c2=document[_0x2ff5d4(0x223)](_0x255698[_0x2ff5d4(0x205)]);_0x5e905d[_0x2ff5d4(0x1d3)](_0x9304c2),await _0x255698[_0x2ff5d4(0x234)](_0x2240c1,_0x9304c2,_0x370725[_0x2ff5d4(0x1f2)]);}else{if(_0x255698[_0x2ff5d4(0x1eb)](_0x370725[_0x2ff5d4(0x282)],_0x255698[_0x2ff5d4(0x246)])){const _0x54156f=document[_0x2ff5d4(0x223)]('em');_0x5e905d[_0x2ff5d4(0x1d3)](_0x54156f),await _0x255698[_0x2ff5d4(0x1b5)](_0x2240c1,_0x54156f,_0x370725[_0x2ff5d4(0x1f2)]);}else{if(_0x255698[_0x2ff5d4(0x1c0)](_0x370725[_0x2ff5d4(0x282)],_0x255698[_0x2ff5d4(0x22c)])){const _0x63c914=document[_0x2ff5d4(0x223)](_0x255698[_0x2ff5d4(0x22c)]);_0x63c914[_0x2ff5d4(0x1dd)]=_0x255698[_0x2ff5d4(0x1ac)],_0x5e905d[_0x2ff5d4(0x1d3)](_0x63c914),await _0x255698[_0x2ff5d4(0x234)](_0x2240c1,_0x63c914,_0x370725[_0x2ff5d4(0x1f2)]);}}}}}}},appendAiChatMessage=_0x3947b4=>{const _0x2c54e4=_0x15d562,_0x46ef8d={'ydWrh':function(_0x49ebba,_0x2c83aa,_0x134c22,_0x3ffa42){return _0x49ebba(_0x2c83aa,_0x134c22,_0x3ffa42);},'YBQUL':_0x2c54e4(0x232),'gIXah':_0x2c54e4(0x218),'VbrrF':function(_0x41c394){return _0x41c394();},'nkRaT':_0x2c54e4(0x25f)},_0x2e6013=document[_0x2c54e4(0x223)](_0x46ef8d[_0x2c54e4(0x1f6)]);_0x2e6013[_0x2c54e4(0x1dd)]=_0x46ef8d[_0x2c54e4(0x1d8)],_0x2e6013[_0x2c54e4(0x22f)]=_0x2c54e4(0x1c1),el[_0x2c54e4(0x26d)]()[_0x2c54e4(0x1d3)](_0x2e6013),_0x46ef8d[_0x2c54e4(0x25d)](scrollToBottom);const _0x5c0ad5=_0x2e6013[_0x2c54e4(0x1cb)](_0x46ef8d[_0x2c54e4(0x21c)]);return((async()=>{const _0x328dcc=_0x2c54e4;await _0x46ef8d[_0x328dcc(0x221)](typeOut,_0x5c0ad5,_0x3947b4,0x653+-0x164c+0x1001);})()),_0x2e6013;},appendAiMessage=_0x25474d=>{const _0x35132a=_0x15d562,_0x2dd7ee={'zGkfn':function(_0x394db9,_0x298662,_0x2e2357,_0x15eb51){return _0x394db9(_0x298662,_0x2e2357,_0x15eb51);},'wEnWl':function(_0x4c1434,_0x35858b,_0x3a1643,_0x3c1b38){return _0x4c1434(_0x35858b,_0x3a1643,_0x3c1b38);},'cBpoS':function(_0x343593,_0x49948c){return _0x343593>_0x49948c;},'ODBqb':_0x35132a(0x208),'aKROS':_0x35132a(0x232),'CGCML':_0x35132a(0x218),'oJQEI':function(_0x495ff8){return _0x495ff8();},'enrVy':_0x35132a(0x27d),'xUyDf':_0x35132a(0x262),'jauwF':_0x35132a(0x20c)},{cause:_0x35aa25,explanation:_0x3c442e,fix:_0x434d04,severity:_0x11cbde,affectedMod:_0x466891}=_0x25474d,_0x338bed=document[_0x35132a(0x223)](_0x2dd7ee[_0x35132a(0x275)]);_0x338bed[_0x35132a(0x1dd)]=_0x2dd7ee[_0x35132a(0x1b6)],_0x338bed[_0x35132a(0x22f)]=_0x35132a(0x238)+_0x11cbde+'\x22>'+_0x11cbde+_0x35132a(0x245)+_0x466891+_0x35132a(0x1cd),el[_0x35132a(0x26d)]()[_0x35132a(0x1d3)](_0x338bed),_0x2dd7ee[_0x35132a(0x284)](scrollToBottom);const _0x254a01=_0x338bed[_0x35132a(0x1cb)]('h3'),_0x380e2c=_0x338bed[_0x35132a(0x1cb)](_0x2dd7ee[_0x35132a(0x254)]),_0xcb8fff=_0x338bed[_0x35132a(0x1cb)](_0x2dd7ee[_0x35132a(0x216)]),_0x270f7d=_0x338bed[_0x35132a(0x1cb)]('ol'),_0x42edd0=_0x338bed[_0x35132a(0x1cb)](_0x2dd7ee[_0x35132a(0x233)]);return((async()=>{const _0xfd58cf=_0x35132a;_0x42edd0[_0xfd58cf(0x21e)][_0xfd58cf(0x270)]=-0x11af+0x1*-0x4ec+-0x169c*-0x1,await _0x2dd7ee[_0xfd58cf(0x274)](typeOut,_0x254a01,_0x35aa25,-0x10e4+-0x1*-0x1783+0x4*-0x1a4),await _0x2dd7ee[_0xfd58cf(0x271)](typeOut,_0x380e2c,_0x3c442e,-0x1e40+0xe39+0x100c);if(_0x434d04&&_0x2dd7ee[_0xfd58cf(0x1ec)](_0x434d04[_0xfd58cf(0x252)],-0xf3f*-0x1+0x1733+-0x7*0x57e)){_0xcb8fff[_0xfd58cf(0x21e)][_0xfd58cf(0x277)]=_0x2dd7ee[_0xfd58cf(0x22a)];for(const _0x2d78c7 of _0x434d04){const _0x503590=document[_0xfd58cf(0x223)]('li');_0x270f7d[_0xfd58cf(0x1d3)](_0x503590),await _0x2dd7ee[_0xfd58cf(0x274)](typeOut,_0x503590,_0x2d78c7,-0x603+0x538*0x3+-0x99d);}}})()),_0x338bed;},addHistoryItem=(_0x343edb,_0x438d23)=>{const _0x44ac05=_0x15d562,_0x3f03bb={'WuNYo':_0x44ac05(0x1a9),'rIGxQ':_0x44ac05(0x207),'PlCdV':function(_0x5bc416){return _0x5bc416();},'CJCWa':function(_0xdbaea3,_0x6cac90){return _0xdbaea3===_0x6cac90;},'OQutS':_0x44ac05(0x22d),'bMepf':function(_0x2f14a2,_0xa760b8){return _0x2f14a2!==_0xa760b8;},'SQoSA':_0x44ac05(0x247),'Pmuux':_0x44ac05(0x285),'rRpaQ':_0x44ac05(0x1cc),'jdurZ':function(_0x15fc06,_0x33ffca){return _0x15fc06===_0x33ffca;},'rtveA':_0x44ac05(0x215),'VIyQC':_0x44ac05(0x220),'FiYcz':_0x44ac05(0x1f2),'BdLsB':_0x44ac05(0x1e3),'iwFsx':_0x44ac05(0x217),'iMyrW':_0x44ac05(0x231),'AaKzs':_0x44ac05(0x1d5),'sAwZW':_0x44ac05(0x1b4),'LPWxI':_0x44ac05(0x1b0),'RGKaK':_0x44ac05(0x204),'kcYcd':_0x44ac05(0x255),'YBSUB':_0x44ac05(0x1d1),'rRHIh':_0x44ac05(0x1af),'iujWX':_0x44ac05(0x1cf),'zToFy':_0x44ac05(0x259),'ygQTc':_0x44ac05(0x1ed),'cpkxi':_0x44ac05(0x210)},_0xa55d72=document[_0x44ac05(0x223)]('a');_0xa55d72[_0x44ac05(0x1dd)]=_0x3f03bb[_0x44ac05(0x1de)],_0xa55d72[_0x44ac05(0x22f)]=_0x44ac05(0x260)+(_0x343edb[_0x44ac05(0x1bd)]||_0x3f03bb[_0x44ac05(0x1bb)])+_0x44ac05(0x230);const _0x198f3c=()=>{const _0x39f996=_0x44ac05;document[_0x39f996(0x219)](_0x3f03bb[_0x39f996(0x281)])[_0x39f996(0x20b)](_0x3d90fe=>_0x3d90fe[_0x39f996(0x24e)][_0x39f996(0x279)](_0x39f996(0x207))),_0xa55d72[_0x39f996(0x24e)][_0x39f996(0x1c9)](_0x3f03bb[_0x39f996(0x1f4)]);},_0xb53e3d=_0x3b6ccf=>{const _0x754f82=_0x44ac05;_0x3b6ccf[_0x754f82(0x276)](),_0x3f03bb[_0x754f82(0x264)](_0x198f3c);if(_0x3f03bb[_0x754f82(0x20a)](typeof _0x438d23,_0x3f03bb[_0x754f82(0x1f3)]))_0x3f03bb[_0x754f82(0x264)](_0x438d23);};_0xa55d72[_0x44ac05(0x1d0)](_0x3f03bb[_0x44ac05(0x1fe)],_0xb53e3d);const _0x4ab50a=_0xa55d72[_0x44ac05(0x1cb)](_0x3f03bb[_0x44ac05(0x1e8)]),_0x58d0e7=_0xa55d72[_0x44ac05(0x1cb)](_0x3f03bb[_0x44ac05(0x26c)]),_0x5dd792=_0xa55d72[_0x44ac05(0x1cb)](_0x3f03bb[_0x44ac05(0x1e4)]),_0x5e6bb6=_0xa55d72[_0x44ac05(0x1cb)](_0x3f03bb[_0x44ac05(0x1ba)]),_0x4583e8=_0xa55d72[_0x44ac05(0x1cb)](_0x3f03bb[_0x44ac05(0x212)]);_0x4ab50a[_0x44ac05(0x1d0)](_0x3f03bb[_0x44ac05(0x1fe)],_0x116963=>{const _0x19c665=_0x44ac05,_0x2bf7ce={'PbKeJ':function(_0x167123,_0x5b3890){const _0x5b7fc1=_0x365a;return _0x3f03bb[_0x5b7fc1(0x25b)](_0x167123,_0x5b3890);},'TjupS':_0x3f03bb[_0x19c665(0x1fc)]};_0x116963[_0x19c665(0x276)](),_0x116963[_0x19c665(0x26a)](),document[_0x19c665(0x219)](_0x3f03bb[_0x19c665(0x265)])[_0x19c665(0x20b)](_0x1855f1=>{const _0x26cbe5=_0x19c665;if(_0x2bf7ce[_0x26cbe5(0x209)](_0x1855f1,_0x58d0e7))_0x1855f1[_0x26cbe5(0x24e)][_0x26cbe5(0x279)](_0x2bf7ce[_0x26cbe5(0x27b)]);}),_0x58d0e7[_0x19c665(0x24e)][_0x19c665(0x20f)](_0x3f03bb[_0x19c665(0x1fc)]);}),_0x5dd792[_0x44ac05(0x1d0)](_0x3f03bb[_0x44ac05(0x1fe)],_0xfd2eac=>{const _0x332a80=_0x44ac05;_0xfd2eac[_0x332a80(0x276)](),_0xfd2eac[_0x332a80(0x26a)](),_0x58d0e7[_0x332a80(0x24e)][_0x332a80(0x279)](_0x3f03bb[_0x332a80(0x1fc)]);const _0x3976ef=_0x4583e8[_0x332a80(0x1d7)],_0x32ac96=document[_0x332a80(0x223)](_0x3f03bb[_0x332a80(0x24d)]);_0x32ac96[_0x332a80(0x282)]=_0x3f03bb[_0x332a80(0x22e)],_0x32ac96[_0x332a80(0x1dd)]=_0x3f03bb[_0x332a80(0x26b)],_0x32ac96[_0x332a80(0x1c4)]=_0x3976ef,_0xa55d72[_0x332a80(0x1ff)](_0x32ac96,_0x4583e8),_0x4583e8[_0x332a80(0x21e)][_0x332a80(0x277)]=_0x3f03bb[_0x332a80(0x27c)],_0x32ac96[_0x332a80(0x261)](),_0x32ac96[_0x332a80(0x1d0)](_0x3f03bb[_0x332a80(0x1fe)],_0x4197f6=>_0x4197f6[_0x332a80(0x26a)]());const _0xe37e63=()=>{const _0x652f51=_0x332a80,_0x1c9bb6=_0x32ac96[_0x652f51(0x1c4)][_0x652f51(0x1f5)]();_0x1c9bb6&&(_0x4583e8[_0x652f51(0x1d7)]=_0x1c9bb6),_0x4583e8[_0x652f51(0x21e)][_0x652f51(0x277)]='',_0x32ac96[_0x652f51(0x279)]();};_0x32ac96[_0x332a80(0x1d0)](_0x3f03bb[_0x332a80(0x222)],_0xe37e63),_0x32ac96[_0x332a80(0x1d0)](_0x3f03bb[_0x332a80(0x1f0)],_0x3f44e4=>{const _0x488971=_0x332a80;if(_0x3f03bb[_0x488971(0x20a)](_0x3f44e4[_0x488971(0x283)],_0x3f03bb[_0x488971(0x1b2)]))_0x3f03bb[_0x488971(0x264)](_0xe37e63);_0x3f03bb[_0x488971(0x21a)](_0x3f44e4[_0x488971(0x283)],_0x3f03bb[_0x488971(0x25e)])&&(_0x32ac96[_0x488971(0x1c4)]=_0x3976ef,_0x3f03bb[_0x488971(0x264)](_0xe37e63)),_0x3f44e4[_0x488971(0x26a)]();});}),_0x5e6bb6[_0x44ac05(0x1d0)](_0x3f03bb[_0x44ac05(0x1fe)],_0x5c0284=>{const _0x431bb1=_0x44ac05;_0x5c0284[_0x431bb1(0x276)](),_0x5c0284[_0x431bb1(0x26a)](),_0xa55d72[_0x431bb1(0x279)]();if(_0xa55d72[_0x431bb1(0x24e)][_0x431bb1(0x267)](_0x3f03bb[_0x431bb1(0x1f4)])){const _0x58ba0c=document[_0x431bb1(0x219)](_0x3f03bb[_0x431bb1(0x256)]);_0x58ba0c[_0x431bb1(0x20b)](_0x5f2d50=>_0x5f2d50[_0x431bb1(0x279)]());const _0x4b1e30=el[_0x431bb1(0x1ee)]();if(_0x4b1e30)_0x4b1e30[_0x431bb1(0x21e)][_0x431bb1(0x277)]=_0x3f03bb[_0x431bb1(0x258)];}}),document[_0x44ac05(0x1d0)](_0x3f03bb[_0x44ac05(0x1fe)],_0xe01c00=>{const _0x392aec=_0x44ac05;!_0xa55d72[_0x392aec(0x267)](_0xe01c00[_0x392aec(0x1ea)])&&_0x58d0e7[_0x392aec(0x24e)][_0x392aec(0x279)](_0x3f03bb[_0x392aec(0x1fc)]);});const _0xa1fd36=el[_0x44ac05(0x1bc)]();_0xa1fd36[_0x44ac05(0x25a)]?_0xa1fd36[_0x44ac05(0x1ff)](_0xa55d72,_0xa1fd36[_0x44ac05(0x25a)]):_0xa1fd36[_0x44ac05(0x1d3)](_0xa55d72),_0x3f03bb[_0x44ac05(0x264)](_0x198f3c);},scrollToBottom=()=>{const _0x5b5c0a=_0x15d562,_0x58a59c={'CHJrM':_0x5b5c0a(0x27f)},_0x2b0496=document[_0x5b5c0a(0x1c5)](_0x58a59c[_0x5b5c0a(0x1c8)]);_0x2b0496[_0x5b5c0a(0x211)]=_0x2b0496[_0x5b5c0a(0x1db)];},scrollToElement=_0x5dff31=>{const _0x428b8c=_0x15d562,_0x2ce9b={'BqYoe':_0x428b8c(0x1aa),'JNjDE':_0x428b8c(0x243)};_0x5dff31&&_0x5dff31[_0x428b8c(0x1e0)]({'behavior':_0x2ce9b[_0x428b8c(0x1d9)],'block':_0x2ce9b[_0x428b8c(0x224)]});};function _0x365a(_0x195d71,_0x18dbe4){_0x195d71=_0x195d71-(0x4de+-0x6dd*-0x1+-0x1*0xa12);const _0x796d42=_0x2d03();let _0x22ce72=_0x796d42[_0x195d71];return _0x22ce72;}let toastTimer=null;const showError=_0x1fcd56=>{const _0x15055b=_0x15d562,_0x11186b={'bmVoN':_0x15055b(0x1c2),'oTnsF':function(_0x381969,_0x3cfe76){return _0x381969(_0x3cfe76);},'Vyfmr':function(_0x4a91e3,_0x1c8d14,_0x2dc7fd){return _0x4a91e3(_0x1c8d14,_0x2dc7fd);}},_0x47755f=el[_0x15055b(0x244)]();_0x47755f[_0x15055b(0x1d7)]=_0x1fcd56,_0x47755f[_0x15055b(0x24e)][_0x15055b(0x1c9)](_0x11186b[_0x15055b(0x20e)]);if(toastTimer)_0x11186b[_0x15055b(0x1f9)](clearTimeout,toastTimer);toastTimer=_0x11186b[_0x15055b(0x236)](setTimeout,()=>_0x47755f[_0x15055b(0x24e)][_0x15055b(0x279)](_0x15055b(0x1c2)),0xc52+0xcd3+-0x59d);};function _0x2d03(){const _0x353351=['none','message-row\x20ai-row','querySelectorAll','jdurZ','YVZGj','nkRaT','PQKzY','style','MfONG','input','ydWrh','AaKzs','createElement','JNjDE','dcIsU','7711UkFvll','7zXhsMk','code','history-list','ODBqb','crashLogInput','fYWkS','function','FiYcz','innerHTML','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-actions\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-item-btn-dots\x22\x20title=\x22Options\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2214\x22\x20height=\x2214\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2212\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x225\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2219\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-menu\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20edit-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><path\x20d=\x22M11\x204H4a2\x202\x200\x200\x200-2\x202v14a2\x202\x200\x200\x200\x202\x202h14a2\x202\x200\x200\x200\x202-2v-7\x22></path><path\x20d=\x22M18.5\x202.5a2.121\x202.121\x200\x200\x201\x203\x203L12\x2015l-4\x201\x201-4\x209.5-9.5z\x22></path></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Name\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20delete-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><polyline\x20points=\x223\x206\x205\x206\x2021\x206\x22></polyline><path\x20d=\x22M19\x206v14a2\x202\x200\x200\x201-2\x202H7a2\x202\x200\x200\x201-2-2V6m3\x200V4a2\x202\x200\x200\x201\x202-2h4a2\x202\x200\x200\x201\x202\x202v2\x22></path><line\x20x1=\x2210\x22\x20y1=\x2211\x22\x20x2=\x2210\x22\x20y2=\x2217\x22></line><line\x20x1=\x2214\x22\x20y1=\x2211\x22\x20x2=\x2214\x22\x20y2=\x2217\x22></line></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','click','div','jauwF','qznzd','3d-loader-canvas','Vyfmr','loading-message','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pill-container\x22\x20style=\x22opacity:\x200;\x20transition:\x20opacity\x200.4s\x20ease-in;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22severity-pill\x20','error-toast','jjfyf','610bSkrRS','NnUmi','ai-code','ihfse','KRCnu','substring','sKvLw','italic','start','errorToast','\x20severity</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22mod-pill\x22>','DEXKC','open','href','uUtLG','1030490oRicDL','RotSS','bold','VIyQC','classList','LOnbP','message-row\x20user-row','fMoSF','length','322768pDIMZP','enrVy','history-item','LPWxI','xZixF','RGKaK','.edit-btn','firstChild','bMepf','ZHWXJ','VbrrF','rtveA','.ai-chat-content','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22history-item-text\x22>','focus','.fix-container','content','PlCdV','Pmuux','link','contains','zeXeX','4UVTpam','stopPropagation','BdLsB','iujWX','messagesArea','lCKdu','MGjrh','opacity','wEnWl','rFlfv','CEPvU','zGkfn','aKROS','preventDefault','display','strong','remove','GdGpg','TjupS','iwFsx','.ai-message-content\x20>\x20p','ai-link','chat-container','exec','WuNYo','type','key','oJQEI','.history-item-menu.open','welcome-screen','createTextNode','.history-item','smooth','dRpfi','PhgvH','disabled','btn-analyze','.history-item-btn-dots','.message-row','413721WAnLPE','rRpaQ','RObZY','keydown','hAWEB','CGCML','fMxdi','min','height','ygQTc','YBSUB','historyList','affectedMod','analyzeButton','_blank','vAAuo','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-chat-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','visible','url','value','getElementById','vNuVN','618777cDgKLw','CHJrM','add','EFqsz','querySelector','Enter','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3></h3>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22fix-container\x22\x20style=\x22display:\x20none;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p><strong>Fix:</strong></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ol></ol>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','queueBar','.history-item-menu','addEventListener','Unknown\x20Crash','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20user\x22>U</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','appendChild','crash-log-input','blur','nCAll','textContent','gIXah','BqYoe','BILsX','scrollHeight','UvcnY','className','kcYcd','uVAyt','scrollIntoView','lastIndex','auto','history-edit-input','zToFy','queue-bar-text','akpDh','noopener\x20noreferrer','rRHIh','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22loading-canvas-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<canvas\x20id=\x223d-loader-canvas\x22></canvas>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22loading-text-glow\x22>Decoding\x20crash\x20logs...</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','target','xLXyf','cBpoS','.delete-btn','welcomeScreen','zTMIi','sAwZW','gFUgt','text','OQutS','rIGxQ','trim','YBQUL','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22user-message-bubble\x22>','messages-area','oTnsF','index','charAt','SQoSA','rel','iMyrW','insertBefore','197826ziEqpw','queue-bar','19368SBTnuv','push','flex','IlzbH','queueBarText','active','block','PbKeJ','CJCWa','forEach','.pill-container','rHEoF','bmVoN','toggle','.history-item-text','scrollTop','cpkxi','4DOAwZj','zuhhK','Escape','xUyDf'];_0x2d03=function(){return _0x353351;};return _0x2d03();}export{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,hideWelcomeScreen,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError};
server/config.js CHANGED
@@ -1 +1 @@
1
- const _0x43d74a=_0x40a4;(function(_0x313139,_0x65b5b){const _0x32ee23=_0x40a4,_0x358daf=_0x313139();while(!![]){try{const _0x262778=parseInt(_0x32ee23(0x1e8))/(0xfc6+0x24ec+-0x34b1)*(-parseInt(_0x32ee23(0x1c6))/(-0x1*0xb8d+0x18db+-0x1*0xd4c))+parseInt(_0x32ee23(0x1e5))/(0xe7f+-0xa00+0x47c*-0x1)+parseInt(_0x32ee23(0x1c3))/(-0xa8*0x30+0x18d0+0x21*0x34)*(-parseInt(_0x32ee23(0x1d7))/(0x76*0x4a+0x5*0x142+-0x1*0x2861))+parseInt(_0x32ee23(0x1bd))/(0x26bf+-0x1*-0x935+-0x2fee)+parseInt(_0x32ee23(0x1d4))/(-0x6b*0x55+0x3ca*-0x3+-0x42*-0xb6)+-parseInt(_0x32ee23(0x1d0))/(0x56*0x3+0xf*-0x274+0x7*0x51e)+parseInt(_0x32ee23(0x1bb))/(-0x21d7+0x61*0x39+0xc47);if(_0x262778===_0x65b5b)break;else _0x358daf['push'](_0x358daf['shift']());}catch(_0x2fb6bf){_0x358daf['push'](_0x358daf['shift']());}}}(_0x2734,-0x87c71+-0x8ba40+0x2*0xbfb12),require(_0x43d74a(0x1d2))[_0x43d74a(0x1e2)]());function _0x2734(){const _0x4b9283=['139041tDRKKn','split','JSON\x20SHAPE\x20FOR\x20LOGS:\x0a','gemini','\x20\x20\x22affectedMod\x22:\x20\x22string\x22\x0a','2252934brCsMt','\x20\x20\x22cause\x22:\x20\x22string\x22,\x0a','991326TNNdkm','true','development','AI_PROVIDER','RATE_LIMIT_WINDOW_MINUTES','If\x20the\x20user\x20provides\x20a\x20conversational\x20question,\x20follow-up,\x20or\x20general\x20inquiry,\x20respond\x20naturally,\x20conversationally,\x20and\x20intelligently\x20in\x20Markdown\x20text\x20(NOT\x20JSON).\x0a','4inJwJC','Eleeter','RATE_LIMIT_MAX','2kcLLkh','gemini-2.5-flash','You\x20are\x20CrashX,\x20an\x20elite\x20Minecraft\x20crash\x20log\x20analyst\x20and\x20intelligent\x20assistant.\x0a','trim','DISABLE_RATE_LIMIT','MAX_QUEUE_SIZE','mistralai/Mistral-7B-Instruct-v0.2','GEMINI_API_KEYS','HF_SPACE_URL','KEY_DAILY_LIMIT','5185840ScXCaM','llama3-70b-8192','dotenv','PORT','3394055DKsMdY','groq','\x20\x20\x22severity\x22:\x20\x22low\x22\x20|\x20\x22medium\x22\x20|\x20\x22high\x22\x20|\x20\x22critical\x22,\x0a','2716265WkEyIm','exports','map','MOCK_MODE','NODE_ENV','HF_API_KEYS','env','HF_MODEL','\x20\x20\x22fix\x22:\x20[\x22[Link\x20Text](url)\x20-\x20description\x22,\x20...],\x0a','If\x20the\x20user\x20provides\x20a\x20Minecraft\x20crash\x20log,\x20your\x20response\x20MUST\x20be\x20a\x20JSON\x20object\x20in\x20the\x20exact\x20shape\x20below.\x0a','\x20\x20\x22explanation\x22:\x20\x22string\x22,\x0a','config','filter','GROQ_API_KEYS','2617017iUUPYT','Always\x20provide\x20direct\x20download\x20links\x20in\x20markdown\x20for\x20any\x20software\x20fixes.','huggingface'];_0x2734=function(){return _0x4b9283;};return _0x2734();}function _0x40a4(_0x2f0330,_0x7044e6){_0x2f0330=_0x2f0330-(-0x1b4d+0x5*0x278+0x10ad);const _0x57a469=_0x2734();let _0x40081=_0x57a469[_0x2f0330];return _0x40081;}const parseCommaSeparated=_0x15ff88=>_0x15ff88?_0x15ff88[_0x43d74a(0x1e9)](',')[_0x43d74a(0x1d9)](_0x4b9dd0=>_0x4b9dd0[_0x43d74a(0x1c9)]())[_0x43d74a(0x1e3)](Boolean):[],config={'server':{'port':parseInt(process[_0x43d74a(0x1dd)][_0x43d74a(0x1d3)],-0x205e+-0x2065+0x40cd)||-0x2*-0xe5d+0x3*0x16f+0x5*-0x443,'nodeEnv':process[_0x43d74a(0x1dd)][_0x43d74a(0x1db)]||_0x43d74a(0x1bf),'mockMode':process[_0x43d74a(0x1dd)][_0x43d74a(0x1da)]===_0x43d74a(0x1be)},'ai':{'defaultProvider':process[_0x43d74a(0x1dd)][_0x43d74a(0x1c0)]||_0x43d74a(0x1b9),'providers':{'gemini':{'name':_0x43d74a(0x1b9),'model':_0x43d74a(0x1c7),'keys':parseCommaSeparated(process[_0x43d74a(0x1dd)][_0x43d74a(0x1cd)])},'groq':{'name':_0x43d74a(0x1d5),'model':_0x43d74a(0x1d1),'keys':parseCommaSeparated(process[_0x43d74a(0x1dd)][_0x43d74a(0x1e4)])},'huggingface':{'name':_0x43d74a(0x1e7),'model':process[_0x43d74a(0x1dd)][_0x43d74a(0x1de)]||_0x43d74a(0x1cc),'keys':process[_0x43d74a(0x1dd)][_0x43d74a(0x1dc)]?parseCommaSeparated(process[_0x43d74a(0x1dd)][_0x43d74a(0x1dc)]):[''],'spaceUrl':process[_0x43d74a(0x1dd)][_0x43d74a(0x1ce)]}},'keyDailyLimit':parseInt(process[_0x43d74a(0x1dd)][_0x43d74a(0x1cf)],-0x25db+-0x2670+0x4c55)||0xd43+0x299+0x7bc*-0x2},'rateLimit':{'disabled':process[_0x43d74a(0x1dd)][_0x43d74a(0x1ca)]===_0x43d74a(0x1be),'maxRequests':parseInt(process[_0x43d74a(0x1dd)][_0x43d74a(0x1c5)],0xf13+0x77e*-0x3+0x5*0x17d)||-0x4d9+-0xd9*-0x6+-0x1*0x29,'windowMinutes':parseInt(process[_0x43d74a(0x1dd)][_0x43d74a(0x1c1)],0xa60+-0x14c9+0xa73)||0x1*0x204f+-0x1cc2+-0x37e},'queue':{'maxSize':parseInt(process[_0x43d74a(0x1dd)][_0x43d74a(0x1cb)],-0x337+0x25ec+0x19*-0x163)||0x24f7*0x1+-0x1*0x10b2+0x9*-0x23b,'estimatedSecondsPerRequest':0x5},'systemPrompt':_0x43d74a(0x1c8)+_0x43d74a(0x1e0)+_0x43d74a(0x1c2)+_0x43d74a(0x1b8)+'{\x0a'+_0x43d74a(0x1bc)+_0x43d74a(0x1e1)+_0x43d74a(0x1df)+_0x43d74a(0x1d6)+_0x43d74a(0x1ba)+'}\x0a'+_0x43d74a(0x1e6),'copyright':{'year':0x7ea,'author':_0x43d74a(0x1c4)}};module[_0x43d74a(0x1d8)]=config;
 
1
+ const _0x303a0c=_0x4080;function _0x4080(_0x1bf024,_0x197f3c){_0x1bf024=_0x1bf024-(0x1*-0x43f+0x1*-0x10a2+0x1635);const _0x42f268=_0x31b8();let _0x56952e=_0x42f268[_0x1bf024];return _0x56952e;}function _0x31b8(){const _0x275eb6=['NODE_ENV','5AWkHrt','true','DISABLE_RATE_LIMIT','env','exports','filter','2DvnErs','Eleeter','PORT','llama3-70b-8192','huggingface','HF_SPACE_URL','MOCK_MODE','dotenv','HF_MODEL','map','949248VdWOfc','\x20\x20\x22affectedMod\x22:\x20\x22string\x22\x0a','10143yQLpwd','split','You\x20are\x20CrashX,\x20an\x20elite\x20Minecraft\x20crash\x20log\x20analyst\x20and\x20intelligent\x20assistant.\x0a','If\x20the\x20user\x20provides\x20a\x20conversational\x20question,\x20follow-up,\x20or\x20general\x20inquiry,\x20respond\x20naturally,\x20conversationally,\x20and\x20intelligently\x20in\x20Markdown\x20text\x20(NOT\x20JSON).\x0a','\x20\x20\x22severity\x22:\x20\x22low\x22\x20|\x20\x22medium\x22\x20|\x20\x22high\x22\x20|\x20\x22critical\x22,\x0a','MAX_QUEUE_SIZE','84eeNqCe','\x20\x20\x22explanation\x22:\x20\x22string\x22,\x0a','3711939TOBkxZ','KEY_DAILY_LIMIT','\x20\x20\x22cause\x22:\x20\x22string\x22,\x0a','gemini-2.5-flash','\x20\x20\x22fix\x22:\x20[\x22[Link\x20Text](url)\x20-\x20description\x22,\x20...],\x0a','mistralai/Mistral-7B-Instruct-v0.2','GROQ_API_KEYS','development','GEMINI_API_KEYS','HF_API_KEYS','Always\x20provide\x20direct\x20download\x20links\x20in\x20markdown\x20for\x20any\x20software\x20fixes.','JSON\x20SHAPE\x20FOR\x20LOGS:\x0a','trim','gemini','2267067lArvzY','598187mgzRYR','AI_PROVIDER','2170sCXEoP','2922258qTjoco','4enGzIw','config','994569arOtfz','If\x20the\x20user\x20provides\x20a\x20Minecraft\x20crash\x20log,\x20your\x20response\x20MUST\x20be\x20a\x20JSON\x20object\x20in\x20the\x20exact\x20shape\x20below.\x0a','RATE_LIMIT_WINDOW_MINUTES','RATE_LIMIT_MAX','groq'];_0x31b8=function(){return _0x275eb6;};return _0x31b8();}(function(_0x20fea0,_0x3165a4){const _0x48d996=_0x4080,_0x19bce8=_0x20fea0();while(!![]){try{const _0x5f135c=-parseInt(_0x48d996(0x15c))/(0x129d+-0x73*0x13+-0xa13)*(-parseInt(_0x48d996(0x16e))/(-0x1*0x222f+0xdec+-0x1445*-0x1))+-parseInt(_0x48d996(0x162))/(0x216+0x464*-0x2+0x1*0x6b5)*(parseInt(_0x48d996(0x160))/(-0x2183+0x2*0xbe3+-0x9c1*-0x1))+parseInt(_0x48d996(0x168))/(-0x3ec+0xd*-0x216+0x1*0x1f0f)*(-parseInt(_0x48d996(0x15f))/(-0x2492+0xb*-0xdf+0x2e2d))+-parseInt(_0x48d996(0x182))/(-0x1b31+-0x1*0x62f+0x2167)+-parseInt(_0x48d996(0x178))/(-0x16c2+0x3*0xb20+0x1*-0xa96)+-parseInt(_0x48d996(0x17a))/(0x199a+0x4d*0x6d+-0x856*0x7)*(parseInt(_0x48d996(0x15e))/(0x1ee5*0x1+0x24b8+-0x4393))+parseInt(_0x48d996(0x15b))/(0x632*0x1+-0xc61*0x1+-0x31d*-0x2)*(parseInt(_0x48d996(0x180))/(-0x1aab+-0x1*-0x75b+0x6*0x33a));if(_0x5f135c===_0x3165a4)break;else _0x19bce8['push'](_0x19bce8['shift']());}catch(_0x1ab991){_0x19bce8['push'](_0x19bce8['shift']());}}}(_0x31b8,0x9a7fd*-0x1+-0xc1f5+0xf6e5a),require(_0x303a0c(0x175))[_0x303a0c(0x161)]());const parseCommaSeparated=_0x17758b=>_0x17758b?_0x17758b[_0x303a0c(0x17b)](',')[_0x303a0c(0x177)](_0x16dd38=>_0x16dd38[_0x303a0c(0x159)]())[_0x303a0c(0x16d)](Boolean):[],config={'server':{'port':parseInt(process[_0x303a0c(0x16b)][_0x303a0c(0x170)],-0x22a3*0x1+-0x1e86+0x4133)||-0x1b98+0x7f*0x43+-0x137*-0x5,'nodeEnv':process[_0x303a0c(0x16b)][_0x303a0c(0x167)]||_0x303a0c(0x154),'mockMode':process[_0x303a0c(0x16b)][_0x303a0c(0x174)]===_0x303a0c(0x169)},'ai':{'defaultProvider':process[_0x303a0c(0x16b)][_0x303a0c(0x15d)]||_0x303a0c(0x15a),'providers':{'gemini':{'name':_0x303a0c(0x15a),'model':_0x303a0c(0x185),'keys':parseCommaSeparated(process[_0x303a0c(0x16b)][_0x303a0c(0x155)])},'groq':{'name':_0x303a0c(0x166),'model':_0x303a0c(0x171),'keys':parseCommaSeparated(process[_0x303a0c(0x16b)][_0x303a0c(0x188)])},'huggingface':{'name':_0x303a0c(0x172),'model':process[_0x303a0c(0x16b)][_0x303a0c(0x176)]||_0x303a0c(0x187),'keys':process[_0x303a0c(0x16b)][_0x303a0c(0x156)]?parseCommaSeparated(process[_0x303a0c(0x16b)][_0x303a0c(0x156)]):[''],'spaceUrl':process[_0x303a0c(0x16b)][_0x303a0c(0x173)]}},'keyDailyLimit':parseInt(process[_0x303a0c(0x16b)][_0x303a0c(0x183)],0xa26+0x1c64*0x1+-0x16*0x1c0)||-0xd4+0x5*0x39+0x9*0x3},'rateLimit':{'disabled':process[_0x303a0c(0x16b)][_0x303a0c(0x16a)]===_0x303a0c(0x169),'maxRequests':parseInt(process[_0x303a0c(0x16b)][_0x303a0c(0x165)],0xf*0x213+-0x8*0x2bb+-0x1*0x93b)||0x1*0x1504+-0x896+0x62d*-0x2,'windowMinutes':parseInt(process[_0x303a0c(0x16b)][_0x303a0c(0x164)],-0x1c8a+-0x263a+0x42ce*0x1)||0x1cf0+-0x1edb+-0x2e*-0xb},'queue':{'maxSize':parseInt(process[_0x303a0c(0x16b)][_0x303a0c(0x17f)],0x7d*0x13+-0x2*-0xae7+-0x1f0b)||-0x1*0x208d+-0x3*-0x79b+0x9ee,'estimatedSecondsPerRequest':0x5},'systemPrompt':_0x303a0c(0x17c)+_0x303a0c(0x163)+_0x303a0c(0x17d)+_0x303a0c(0x158)+'{\x0a'+_0x303a0c(0x184)+_0x303a0c(0x181)+_0x303a0c(0x186)+_0x303a0c(0x17e)+_0x303a0c(0x179)+'}\x0a'+_0x303a0c(0x157),'copyright':{'year':0x7ea,'author':_0x303a0c(0x16f)}};module[_0x303a0c(0x16c)]=config;
server/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2d312f=_0x33eb;(function(_0x3fd2c0,_0x404d80){const _0x4de866=_0x33eb,_0xb55db8=_0x3fd2c0();while(!![]){try{const _0x23bc5a=-parseInt(_0x4de866(0x8a))/(-0x114b+-0x7cf+0x191b)*(parseInt(_0x4de866(0x94))/(-0x25c3+0x1ceb+0x8da))+parseInt(_0x4de866(0x8c))/(0x312+0x1*0x11c3+0x42a*-0x5)*(-parseInt(_0x4de866(0x6f))/(0x220b+0x33*-0x89+0x2*-0x35e))+-parseInt(_0x4de866(0x97))/(-0x1c60+0x8c*0x29+0xb*0x8b)*(parseInt(_0x4de866(0x91))/(0x1d*-0xdf+-0xa*0x283+0x3267))+parseInt(_0x4de866(0x87))/(0x18*-0xf1+0x4*-0x6fd+0x6b*0x79)+-parseInt(_0x4de866(0x8f))/(-0x1*0x1a35+-0x1adc+0x3519)+parseInt(_0x4de866(0x96))/(-0x104c*-0x2+0x20ca+0x1*-0x4159)+parseInt(_0x4de866(0x9a))/(0x6de*0x3+-0x1*-0x10f1+-0x1*0x2581);if(_0x23bc5a===_0x404d80)break;else _0xb55db8['push'](_0xb55db8['shift']());}catch(_0x4e9841){_0xb55db8['push'](_0xb55db8['shift']());}}}(_0x3455,0x707cc*-0x3+0x115c49+0x1068fb),require(_0x2d312f(0x6d))[_0x2d312f(0x9b)]());function _0x33eb(_0x8546a8,_0x56d24f){_0x8546a8=_0x8546a8-(0x2*-0xb43+0x1*-0x210b+0x37fb);const _0x256a5d=_0x3455();let _0x15b7e7=_0x256a5d[_0x8546a8];return _0x15b7e7;}function _0x3455(){const _0x132661=['server','use','/api','5582402nKTFHK','defaultProvider','/api/status','1UkpYoC','NGZqW','4536123nLyHYv','https://fonts.gstatic.com','\x27unsafe-inline\x27','944832YvZmRQ','listen','18EtpcdR','path','../public','3079294nKISuQ','log','11868786VfjLVE','144530cyKetP','CrashLens\x20running\x20on\x20http://localhost:','./middleware/rateLimit','19712140NxXBHW','config','\x27self\x27','sendFile','https://fonts.googleapis.com','dotenv','https://unpkg.com','4NireIB','express','https://cdn.jsdelivr.net','./routes/auth','join','../public/index.html','port','200kb','data:','Active\x20AI\x20provider:\x20','/api/auth','./config','get','./routes/status','json','./routes/analyze','nodeEnv','Environment:\x20','helmet','static','/api/analyze'];_0x3455=function(){return _0x132661;};return _0x3455();}const express=require(_0x2d312f(0x70)),helmet=require(_0x2d312f(0x81)),path=require(_0x2d312f(0x92)),config=require(_0x2d312f(0x7a)),{globalRateLimiter}=require(_0x2d312f(0x99)),analyzeRoute=require(_0x2d312f(0x7e)),statusRoute=require(_0x2d312f(0x7c)),authRoute=require(_0x2d312f(0x72)),app=express();app[_0x2d312f(0x85)](helmet({'contentSecurityPolicy':{'directives':{'defaultSrc':[_0x2d312f(0x6a)],'scriptSrc':[_0x2d312f(0x6a),_0x2d312f(0x8e),_0x2d312f(0x71),_0x2d312f(0x6e)],'styleSrc':[_0x2d312f(0x6a),_0x2d312f(0x8e),_0x2d312f(0x6c)],'fontSrc':[_0x2d312f(0x6a),_0x2d312f(0x8d)],'connectSrc':[_0x2d312f(0x6a)],'imgSrc':[_0x2d312f(0x6a),_0x2d312f(0x77)]}}})),app[_0x2d312f(0x85)](express[_0x2d312f(0x7d)]({'limit':_0x2d312f(0x76)})),app[_0x2d312f(0x85)](express[_0x2d312f(0x82)](path[_0x2d312f(0x73)](__dirname,_0x2d312f(0x93)))),app[_0x2d312f(0x85)](_0x2d312f(0x86),globalRateLimiter),app[_0x2d312f(0x85)](_0x2d312f(0x83),analyzeRoute),app[_0x2d312f(0x85)](_0x2d312f(0x89),statusRoute),app[_0x2d312f(0x85)](_0x2d312f(0x79),authRoute),app[_0x2d312f(0x7b)]('*',(_0x29df89,_0x321310)=>{const _0x2d7d59=_0x2d312f,_0x46c4fe={'NGZqW':_0x2d7d59(0x74)};_0x321310[_0x2d7d59(0x6b)](path[_0x2d7d59(0x73)](__dirname,_0x46c4fe[_0x2d7d59(0x8b)]));}),app[_0x2d312f(0x90)](config[_0x2d312f(0x84)][_0x2d312f(0x75)],()=>{const _0x56b282=_0x2d312f;console[_0x56b282(0x95)](_0x56b282(0x98)+config[_0x56b282(0x84)][_0x56b282(0x75)]),console[_0x56b282(0x95)](_0x56b282(0x80)+config[_0x56b282(0x84)][_0x56b282(0x7f)]),console[_0x56b282(0x95)](_0x56b282(0x78)+config['ai'][_0x56b282(0x88)]);});
 
1
+ const _0x33fcf6=_0x21ce;(function(_0x3fe90b,_0x31b955){const _0x251e19=_0x21ce,_0x13f781=_0x3fe90b();while(!![]){try{const _0x314237=-parseInt(_0x251e19(0x1b8))/(-0x184a+-0xbeb+0x2436)*(-parseInt(_0x251e19(0x1ab))/(0xbd5+-0x26b6+-0x1ae3*-0x1))+-parseInt(_0x251e19(0x197))/(-0x2*0x46d+-0xea5*0x1+0x1782)+-parseInt(_0x251e19(0x1a0))/(-0xe*0x1f3+-0x642+0x2190)*(-parseInt(_0x251e19(0x1b1))/(-0x4c7+-0x2*-0x87b+-0xc2a))+-parseInt(_0x251e19(0x1b9))/(-0x2b1*-0xb+-0x11*0x19+-0x1bec)+-parseInt(_0x251e19(0x1ac))/(0x1*-0x2407+-0x7ed*0x2+0x12e*0x2c)*(parseInt(_0x251e19(0x18b))/(0x1*-0x1edb+0x28*0x71+0xd3b*0x1))+-parseInt(_0x251e19(0x1a4))/(-0x47*-0x3+-0x209e+0x1*0x1fd2)+-parseInt(_0x251e19(0x19b))/(0x19f6*0x1+-0x1217*-0x1+-0x1*0x2c03)*(-parseInt(_0x251e19(0x1a6))/(0x11ad+0x978+-0x1b1a));if(_0x314237===_0x31b955)break;else _0x13f781['push'](_0x13f781['shift']());}catch(_0x5e3210){_0x13f781['push'](_0x13f781['shift']());}}}(_0x49ef,0x11*-0x1333+-0x1*-0x4e145+0xa*-0xb75),require(_0x33fcf6(0x18d))[_0x33fcf6(0x19a)]());function _0x21ce(_0x2feb76,_0x57aa66){_0x2feb76=_0x2feb76-(-0x3*0x982+0x1a8c*0x1+0x3*0x12b);const _0x2eeada=_0x49ef();let _0x94ac01=_0x2eeada[_0x2feb76];return _0x94ac01;}function _0x49ef(){const _0x524275=['sendFile','399545RJSkUw','https://fonts.googleapis.com','get','helmet','nkDIG','https://unpkg.com','Active\x20AI\x20provider:\x20','201317ydnvUt','2113212NOCdWH','server','defaultProvider','\x27self\x27','../public','483216HmEGwA','./config','dotenv','json','./routes/analyze','/api','join','Environment:\x20','https://fonts.gstatic.com','/api/analyze','log','./middleware/rateLimit','215538KQnwEJ','port','path','config','30aYMJWd','../public/index.html','data:','./routes/auth','static','20JJlLUr','express','use','listen','263898ygwUya','\x27unsafe-inline\x27','660880STavZS','./routes/status','nodeEnv','/api/auth','200kb','2lbXTjx','14WbeVUQ','https://cdn.jsdelivr.net','CrashX\x20is\x20LIVE\x20on\x20port\x20','/api/status'];_0x49ef=function(){return _0x524275;};return _0x49ef();}const express=require(_0x33fcf6(0x1a1)),helmet=require(_0x33fcf6(0x1b4)),path=require(_0x33fcf6(0x199)),config=require(_0x33fcf6(0x18c)),{globalRateLimiter}=require(_0x33fcf6(0x196)),analyzeRoute=require(_0x33fcf6(0x18f)),statusRoute=require(_0x33fcf6(0x1a7)),authRoute=require(_0x33fcf6(0x19e)),app=express();app[_0x33fcf6(0x1a2)](helmet({'contentSecurityPolicy':{'directives':{'defaultSrc':[_0x33fcf6(0x189)],'scriptSrc':[_0x33fcf6(0x189),_0x33fcf6(0x1a5),_0x33fcf6(0x1ad),_0x33fcf6(0x1b6)],'styleSrc':[_0x33fcf6(0x189),_0x33fcf6(0x1a5),_0x33fcf6(0x1b2)],'fontSrc':[_0x33fcf6(0x189),_0x33fcf6(0x193)],'connectSrc':[_0x33fcf6(0x189)],'imgSrc':[_0x33fcf6(0x189),_0x33fcf6(0x19d)]}}})),app[_0x33fcf6(0x1a2)](express[_0x33fcf6(0x18e)]({'limit':_0x33fcf6(0x1aa)})),app[_0x33fcf6(0x1a2)](express[_0x33fcf6(0x19f)](path[_0x33fcf6(0x191)](__dirname,_0x33fcf6(0x18a)))),app[_0x33fcf6(0x1a2)](_0x33fcf6(0x190),globalRateLimiter),app[_0x33fcf6(0x1a2)](_0x33fcf6(0x194),analyzeRoute),app[_0x33fcf6(0x1a2)](_0x33fcf6(0x1af),statusRoute),app[_0x33fcf6(0x1a2)](_0x33fcf6(0x1a9),authRoute),app[_0x33fcf6(0x1b3)]('*',(_0x50d91a,_0x41a302)=>{const _0x48102d=_0x33fcf6,_0xbc700c={'nkDIG':_0x48102d(0x19c)};_0x41a302[_0x48102d(0x1b0)](path[_0x48102d(0x191)](__dirname,_0xbc700c[_0x48102d(0x1b5)]));}),app[_0x33fcf6(0x1a3)](config[_0x33fcf6(0x187)][_0x33fcf6(0x198)],()=>{const _0x293f76=_0x33fcf6;console[_0x293f76(0x195)](_0x293f76(0x1ae)+config[_0x293f76(0x187)][_0x293f76(0x198)]),console[_0x293f76(0x195)](_0x293f76(0x192)+config[_0x293f76(0x187)][_0x293f76(0x1a8)]),console[_0x293f76(0x195)](_0x293f76(0x1b7)+config['ai'][_0x293f76(0x188)]);});
server/middleware/auth.js CHANGED
@@ -1 +1 @@
1
- const _0xedbca0=_0x299a;function _0x4f49(){const _0x3a4ca4=['4QLDpIR','686796fTdKbB','4571937KlofIP','HVLOF','3998373vPNydk','8385279kTOVRZ','exports','12051248aTDYMJ','27245ktYepC','80275hZuWaj','106NjBWHM'];_0x4f49=function(){return _0x3a4ca4;};return _0x4f49();}function _0x299a(_0x19a777,_0x197f4c){_0x19a777=_0x19a777-(-0x2*0xa11+0xc25+0x927);const _0x2c074a=_0x4f49();let _0xb6aa3f=_0x2c074a[_0x19a777];return _0xb6aa3f;}(function(_0x29a387,_0x16fa19){const _0x1c2d8c=_0x299a,_0x5c0a51=_0x29a387();while(!![]){try{const _0x430f8f=-parseInt(_0x1c2d8c(0x12b))/(-0xa*0xf3+0x89*0x1d+0x3*-0x202)*(parseInt(_0x1c2d8c(0x12d))/(0x117e+-0x25*-0xe3+-0x324b))+-parseInt(_0x1c2d8c(0x132))/(-0x3*-0x772+0x51*0xa+-0x91*0x2d)*(-parseInt(_0x1c2d8c(0x12e))/(0x6a1+0x166e+-0x1d0b))+parseInt(_0x1c2d8c(0x12c))/(0x5b+-0x5*0x17e+0x720)+parseInt(_0x1c2d8c(0x12f))/(0x20e3+-0x1413+0x1*-0xcca)+-parseInt(_0x1c2d8c(0x133))/(-0x104c+0x250e+-0x14bb*0x1)+parseInt(_0x1c2d8c(0x12a))/(0x132b+0x763*0x2+0x21e9*-0x1)+parseInt(_0x1c2d8c(0x130))/(-0x2589+0x1*-0x2244+0x47d6);if(_0x430f8f===_0x16fa19)break;else _0x5c0a51['push'](_0x5c0a51['shift']());}catch(_0x23556c){_0x5c0a51['push'](_0x5c0a51['shift']());}}}(_0x4f49,-0x120aec+-0xc7*0x1234+-0x2cf24d*-0x1));const authMiddleware=(_0x5c4e99,_0x4bd565,_0x4cb02e)=>{const _0x5c181d=_0x299a,_0x4954b2={'HVLOF':function(_0x3d1464){return _0x3d1464();}};_0x4954b2[_0x5c181d(0x131)](_0x4cb02e);};module[_0xedbca0(0x134)]={'authMiddleware':authMiddleware};
 
1
+ const _0x2a9bbf=_0x4d38;(function(_0x1c9c47,_0x3ef042){const _0x5d5878=_0x4d38,_0x107f76=_0x1c9c47();while(!![]){try{const _0x5d22b3=-parseInt(_0x5d5878(0x72))/(0x16c8+0x76*-0x8+-0x1317)+-parseInt(_0x5d5878(0x6c))/(0x815+0x1a97*-0x1+0x1e*0x9e)*(parseInt(_0x5d5878(0x6e))/(-0x1*-0xd34+-0x12ec*-0x1+-0x1*0x201d))+-parseInt(_0x5d5878(0x73))/(0x22af+0xa5d+0x5a1*-0x8)+-parseInt(_0x5d5878(0x70))/(0x12a*0x1+0x1*-0x1c53+0xd97*0x2)*(-parseInt(_0x5d5878(0x71))/(-0x891+0x422*-0x4+0x191f))+parseInt(_0x5d5878(0x74))/(0x2*0x1f1+-0x227a+0x1e9f)+parseInt(_0x5d5878(0x6d))/(-0x1be7+0x164f+-0x4*-0x168)+parseInt(_0x5d5878(0x75))/(0x643*-0x1+-0x2*0x719+0x147e);if(_0x5d22b3===_0x3ef042)break;else _0x107f76['push'](_0x107f76['shift']());}catch(_0x83d112){_0x107f76['push'](_0x107f76['shift']());}}}(_0x4a8f,0x1*-0x4dfc8+-0xae217+-0x3*-0x7a0e8));const authMiddleware=(_0x54d9c2,_0x3b9b22,_0x41e7c4)=>{const _0x79adf7=_0x4d38,_0x212086={'BsiEQ':function(_0x116b33){return _0x116b33();}};_0x212086[_0x79adf7(0x6f)](_0x41e7c4);};function _0x4d38(_0x441a81,_0x831d2b){_0x441a81=_0x441a81-(0xc2*0xf+-0x40f*-0x2+-0x1311);const _0x5dde13=_0x4a8f();let _0x1f8640=_0x5dde13[_0x441a81];return _0x1f8640;}function _0x4a8f(){const _0x607075=['5301333lSUfuQ','exports','217598bGkKji','6434208JUPLPs','9QTUDcF','BsiEQ','2495305YDnyPi','6tnEyqs','499455pNQvVx','2599136rVrqhC','352961bzhRBy'];_0x4a8f=function(){return _0x607075;};return _0x4a8f();}module[_0x2a9bbf(0x6b)]={'authMiddleware':authMiddleware};
server/middleware/rateLimit.js CHANGED
@@ -1 +1 @@
1
- const _0x537c8b=_0x4421;function _0x4421(_0x22f422,_0x43208d){_0x22f422=_0x22f422-(-0x251f+0x25*0xa1+0x6*0x283);const _0x211f4b=_0xeaa1();let _0x1b8090=_0x211f4b[_0x22f422];return _0x1b8090;}(function(_0x1bb994,_0x43143b){const _0x327c08=_0x4421,_0x521e9c=_0x1bb994();while(!![]){try{const _0x3e5240=-parseInt(_0x327c08(0x14d))/(0x2475+-0x2311+-0x5*0x47)*(parseInt(_0x327c08(0x13e))/(-0x245+0x137d+0x1136*-0x1))+-parseInt(_0x327c08(0x141))/(0x1056+-0x23*0x25+-0xb44)*(-parseInt(_0x327c08(0x138))/(0x1d92+-0x6*0x11b+0x6*-0x3d2))+parseInt(_0x327c08(0x13b))/(0x2e7*0xd+0xab4+-0x2*0x1835)+-parseInt(_0x327c08(0x146))/(0x1e6+-0x1*0xa99+0x8b9*0x1)*(-parseInt(_0x327c08(0x13f))/(-0xfb2+-0xd2+0x1*0x108b))+parseInt(_0x327c08(0x147))/(-0x21b8+0xd84+-0x143c*-0x1)+parseInt(_0x327c08(0x144))/(0x1*0x1844+0xa28+-0x2263)+-parseInt(_0x327c08(0x14c))/(-0x33f+-0x1*-0x1dbf+-0x1a76);if(_0x3e5240===_0x43143b)break;else _0x521e9c['push'](_0x521e9c['shift']());}catch(_0x579e70){_0x521e9c['push'](_0x521e9c['shift']());}}}(_0xeaa1,0x46821+0x86747*0x1+-0x3*0x1bbff));function _0xeaa1(){const _0x5c6e74=['1829863WhnBer','\x20minutes.','3FZXpWt','disabled','mockMode','7936389MdcxtW','exports','12NRddeZ','4645136JRPIvn','../config','\x20requests\x20per\x20','rateLimit','server','18453720lysByY','29101BTDDhe','3411428skccPP','Too\x20many\x20requests.\x20Maximum\x20','express-rate-limit','2476035yRgPxk','windowMinutes','maxRequests','68kimmrM'];_0xeaa1=function(){return _0x5c6e74;};return _0xeaa1();}const rateLimit=require(_0x537c8b(0x13a)),config=require(_0x537c8b(0x148)),MINUTES_TO_MS=0x539*-0x26+-0x11*-0x12ff+0x11*0x677,globalRateLimiter=rateLimit({'windowMs':config[_0x537c8b(0x14a)][_0x537c8b(0x13c)]*MINUTES_TO_MS,'max':config[_0x537c8b(0x14a)][_0x537c8b(0x13d)],'standardHeaders':!![],'legacyHeaders':![],'skip':(_0x378e5c,_0x420d6f)=>config[_0x537c8b(0x14b)][_0x537c8b(0x143)]===!![]||config[_0x537c8b(0x14a)][_0x537c8b(0x142)]===!![],'message':{'error':_0x537c8b(0x139)+config[_0x537c8b(0x14a)][_0x537c8b(0x13d)]+_0x537c8b(0x149)+config[_0x537c8b(0x14a)][_0x537c8b(0x13c)]+_0x537c8b(0x140)}});module[_0x537c8b(0x145)]={'globalRateLimiter':globalRateLimiter};
 
1
+ function _0x46d2(){const _0x34110f=['coTfi','\x20requests\x20per\x20','30fJNANH','rateLimit','6301629bTsCMx','server','disabled','105655lgWxfq','ZRtHf','\x20minutes.','94572NNDHcR','1052660gqAIfh','maxRequests','36XgPljj','/api/status','6347QgOpAb','54996JrZuhj','/status','windowMinutes','21qJqDoc','express-rate-limit','PrbkQ','Too\x20many\x20requests.\x20Maximum\x20','mockMode','13510yrnsuq','path','1544176xGFztD','../config','zQWKt','exports'];_0x46d2=function(){return _0x34110f;};return _0x46d2();}const _0x5dc1d1=_0x2c16;(function(_0x302d47,_0x45cb48){const _0x12e1cf=_0x2c16,_0x424156=_0x302d47();while(!![]){try{const _0x25d253=-parseInt(_0x12e1cf(0x73))/(-0x1*-0x119d+-0x396+-0xe06)+parseInt(_0x12e1cf(0x6b))/(-0x5*0x787+0x1808+0xd9d)*(-parseInt(_0x12e1cf(0x79))/(0x1b92+0x1*0x1dc4+0xb77*-0x5))+-parseInt(_0x12e1cf(0x74))/(-0x7e3*0x1+-0x238e+-0x2b75*-0x1)+-parseInt(_0x12e1cf(0x70))/(-0x1fa*-0x11+-0x186+0x200f*-0x1)*(-parseInt(_0x12e1cf(0x76))/(-0xad*-0x23+-0x1e72+0x6d1))+parseInt(_0x12e1cf(0x7c))/(0x123c+-0x18d5+0x6a0)*(-parseInt(_0x12e1cf(0x83))/(-0x374*-0x1+-0xda*0xe+0x880))+parseInt(_0x12e1cf(0x6d))/(-0xf9+-0xbb6+-0x4*-0x32e)+-parseInt(_0x12e1cf(0x81))/(-0xeb2+-0xa89+-0x1*-0x1945)*(-parseInt(_0x12e1cf(0x78))/(0x3*-0x37d+-0x12b2*-0x1+-0x830));if(_0x25d253===_0x45cb48)break;else _0x424156['push'](_0x424156['shift']());}catch(_0xd4cabc){_0x424156['push'](_0x424156['shift']());}}}(_0x46d2,0xbd3b0+0x18cc1+-0x2*0x3ad4d));const rateLimit=require(_0x5dc1d1(0x7d)),config=require(_0x5dc1d1(0x84)),MINUTES_TO_MS=-0x6a8c*0x1+0x1efd*-0x9+0x26bd1,globalRateLimiter=rateLimit({'windowMs':config[_0x5dc1d1(0x6c)][_0x5dc1d1(0x7b)]*MINUTES_TO_MS,'max':config[_0x5dc1d1(0x6c)][_0x5dc1d1(0x75)],'standardHeaders':!![],'legacyHeaders':![],'skip':(_0x43c4a9,_0x5c7f32)=>{const _0x3176c3=_0x5dc1d1,_0x5676e4={'PrbkQ':function(_0x63c95b,_0x2c6e66){return _0x63c95b===_0x2c6e66;},'zQWKt':_0x3176c3(0x77),'coTfi':_0x3176c3(0x7a),'ZRtHf':function(_0x2c21f8,_0x28ca92){return _0x2c21f8===_0x28ca92;}};if(_0x5676e4[_0x3176c3(0x7e)](_0x43c4a9[_0x3176c3(0x82)],_0x5676e4[_0x3176c3(0x85)])||_0x5676e4[_0x3176c3(0x7e)](_0x43c4a9[_0x3176c3(0x82)],_0x5676e4[_0x3176c3(0x69)]))return!![];return _0x5676e4[_0x3176c3(0x7e)](config[_0x3176c3(0x6e)][_0x3176c3(0x80)],!![])||_0x5676e4[_0x3176c3(0x71)](config[_0x3176c3(0x6c)][_0x3176c3(0x6f)],!![]);},'message':{'error':_0x5dc1d1(0x7f)+config[_0x5dc1d1(0x6c)][_0x5dc1d1(0x75)]+_0x5dc1d1(0x6a)+config[_0x5dc1d1(0x6c)][_0x5dc1d1(0x7b)]+_0x5dc1d1(0x72)}});function _0x2c16(_0x16a26c,_0x1fae35){_0x16a26c=_0x16a26c-(-0x1*-0x122f+-0x1470+0x2a9);const _0x20f6f3=_0x46d2();let _0x180f14=_0x20f6f3[_0x16a26c];return _0x180f14;}module[_0x5dc1d1(0x68)]={'globalRateLimiter':globalRateLimiter};
server/routes/analyze.js CHANGED
@@ -1 +1 @@
1
- const _0x49ba99=_0x8aa8;(function(_0xdff083,_0x280b53){const _0x598462=_0x8aa8,_0x2482f1=_0xdff083();while(!![]){try{const _0x502762=parseInt(_0x598462(0x1eb))/(-0xd*0x1+-0x3e*-0x2+-0x6e*0x1)*(parseInt(_0x598462(0x1e3))/(-0x1836+0x21cd+0xb*-0xdf))+parseInt(_0x598462(0x1e2))/(-0x2089+0x20d8+-0x1*0x4c)*(-parseInt(_0x598462(0x1c7))/(0x31e*0x3+-0x1*0x247d+-0x1*-0x1b27))+parseInt(_0x598462(0x1df))/(0xcc*-0x10+-0x18*-0x89+0x1*-0x13)+-parseInt(_0x598462(0x1cd))/(-0xa33+0xf86+0x1*-0x54d)+parseInt(_0x598462(0x1e4))/(-0xae0+0x2285+0x1*-0x179e)+parseInt(_0x598462(0x1c5))/(-0x1f6b+0x1*-0x54a+0x24bd)+parseInt(_0x598462(0x1ef))/(-0x1*0x22e2+0x1*0x1173+-0x158*-0xd)*(-parseInt(_0x598462(0x1ee))/(-0x1618+-0x293+0x18b5*0x1));if(_0x502762===_0x280b53)break;else _0x2482f1['push'](_0x2482f1['shift']());}catch(_0x2fd2f8){_0x2482f1['push'](_0x2482f1['shift']());}}}(_0x55b1,0x140*-0x5b+-0x16e793+0x25fad3));function _0x8aa8(_0x3f4bcd,_0x2aa4f3){_0x3f4bcd=_0x3f4bcd-(-0x143e*0x1+0x35f*-0x4+0x237f);const _0x444f13=_0x55b1();let _0x152842=_0x444f13[_0x3f4bcd];return _0x152842;}const express=require(_0x49ba99(0x1e7)),{enqueue}=require(_0x49ba99(0x1ec)),{compactLog}=require(_0x49ba99(0x1f0)),router=express[_0x49ba99(0x1e1)](),MIN_LOG_LENGTH=-0x1497+0x25f9+-0x1*0x114e,MAX_LOG_LENGTH=0xdd4c+-0x1f617+-0x29f6b*-0x1;router[_0x49ba99(0x1e8)]('/',async(_0x1c2f36,_0x293b9e)=>{const _0x535623=_0x49ba99,_0x312a15={'DVyJI':function(_0x410a0f,_0x145643){return _0x410a0f||_0x145643;},'NvZwU':_0x535623(0x1e5),'xCGuI':function(_0x3c08cc,_0x3d8242){return _0x3c08cc===_0x3d8242;},'buEjC':_0x535623(0x1e9),'jfAij':function(_0xbd449d,_0x315619){return _0xbd449d<_0x315619;},'CkPQv':function(_0xfcab5f,_0xab92b1){return _0xfcab5f(_0xab92b1);},'VyNtI':function(_0xad66e9,_0x3a34cb){return _0xad66e9===_0x3a34cb;},'mTLjB':_0x535623(0x1ca),'oaDcb':function(_0x31be4d,_0x1555c6){return _0x31be4d===_0x1555c6;},'KxhmE':function(_0x3be517,_0x36985a){return _0x3be517>_0x36985a;},'smmyD':_0x535623(0x1d2)},{crashLog:_0x37e5a7,messages:_0x3470a9}=_0x1c2f36[_0x535623(0x1e6)],_0x1d2aed=_0x312a15[_0x535623(0x1ed)](_0x3470a9,_0x37e5a7);if(!_0x1d2aed)return _0x293b9e[_0x535623(0x1d6)](-0x4c1+0x6a3*-0x2+-0x1*-0x1397)[_0x535623(0x1d8)]({'error':_0x312a15[_0x535623(0x1dc)]});let _0x77c4fc=_0x1d2aed;if(_0x312a15[_0x535623(0x1d7)](typeof _0x1d2aed,_0x312a15[_0x535623(0x1ce)])){const _0x5e235a=_0x1d2aed[_0x535623(0x1cf)]();if(_0x312a15[_0x535623(0x1e0)](_0x5e235a[_0x535623(0x1cc)],MIN_LOG_LENGTH))return _0x293b9e[_0x535623(0x1d6)](-0xea+0x2*0x4d1+-0x2*0x394)[_0x535623(0x1d8)]({'error':_0x535623(0x1c8)+MIN_LOG_LENGTH+_0x535623(0x1d4)});_0x77c4fc=_0x312a15[_0x535623(0x1c6)](compactLog,_0x5e235a);}else{if(Array[_0x535623(0x1c9)](_0x1d2aed)){if(_0x312a15[_0x535623(0x1ea)](_0x1d2aed[_0x535623(0x1cc)],-0x4*0x8b7+0x2*-0xe99+0x9*0x71e))return _0x293b9e[_0x535623(0x1d6)](-0x15*0x8+-0x2b*-0x94+-0x16a4)[_0x535623(0x1d8)]({'error':_0x312a15[_0x535623(0x1d9)]});}}if(_0x312a15[_0x535623(0x1d0)](typeof _0x77c4fc,_0x312a15[_0x535623(0x1ce)])&&_0x312a15[_0x535623(0x1da)](_0x77c4fc[_0x535623(0x1cc)],MAX_LOG_LENGTH))return _0x293b9e[_0x535623(0x1d6)](0x195a*-0x1+-0x4*0x8bd+-0x2*-0x1eef)[_0x535623(0x1d8)]({'error':_0x535623(0x1d5)+MAX_LOG_LENGTH+_0x535623(0x1de)});try{const {jobId:_0x4eefd5,jobPromise:_0x45ba31}=_0x312a15[_0x535623(0x1c6)](enqueue,_0x77c4fc);_0x293b9e[_0x535623(0x1d8)]({'success':!![],'jobId':_0x4eefd5}),_0x45ba31[_0x535623(0x1d1)](()=>{});}catch(_0x594f6e){const _0x469bba=_0x594f6e[_0x535623(0x1dd)][_0x535623(0x1db)](_0x312a15[_0x535623(0x1cb)])?-0xce0+-0x1*0xfc2+0x1e99:-0x1a86*0x1+0x5c2+-0x2d7*-0x8;return _0x293b9e[_0x535623(0x1d6)](_0x469bba)[_0x535623(0x1d8)]({'error':_0x594f6e[_0x535623(0x1dd)]});}}),module[_0x49ba99(0x1d3)]=router;function _0x55b1(){const _0x5b9b8a=['string','VyNtI','2PdKXbg','../services/queue','DVyJI','80140kijXrt','1494clnxzf','../services/logCompactor','10426456cxbPwT','CkPQv','5258460wWqJJo','Crash\x20log\x20is\x20too\x20short.\x20Minimum\x20','isArray','Empty\x20messages.','smmyD','length','5000190MGClHK','buEjC','trim','oaDcb','catch','full','exports','\x20characters\x20required.','Crash\x20log\x20exceeds\x20maximum\x20size\x20of\x20','status','xCGuI','json','mTLjB','KxhmE','includes','NvZwU','message','\x20characters.','4507200KlMqsi','jfAij','Router','3ROvgxA','1252954LDwpil','6856157cwogGU','Payload\x20(messages\x20or\x20crashLog)\x20is\x20required.','body','express','post'];_0x55b1=function(){return _0x5b9b8a;};return _0x55b1();}
 
1
+ function _0x1d9b(_0x529364,_0x1c0a31){_0x529364=_0x529364-(0xe2e+0x157f+-0x22db);const _0x5c6100=_0x2e61();let _0x5d319a=_0x5c6100[_0x529364];return _0x5d319a;}const _0x2fbeb6=_0x1d9b;(function(_0x1c7f17,_0x3c44e0){const _0x2ca3f5=_0x1d9b,_0x2a29a8=_0x1c7f17();while(!![]){try{const _0x4f1483=parseInt(_0x2ca3f5(0xdb))/(0x238*0x2+-0x1c7c*0x1+-0x83*-0x2f)+parseInt(_0x2ca3f5(0xf3))/(-0x19d6+-0x901*0x4+-0x1ac*-0x25)+-parseInt(_0x2ca3f5(0xe9))/(-0x24e8*-0x1+-0x9*0x13d+-0x19c0*0x1)*(-parseInt(_0x2ca3f5(0xdf))/(0x45d+0x1*0x3c8+0x1*-0x821))+-parseInt(_0x2ca3f5(0xe3))/(-0xfde+-0xb10+-0x1*-0x1af3)*(-parseInt(_0x2ca3f5(0xdc))/(0x35*-0xa1+-0xb89*-0x1+0x15d2))+parseInt(_0x2ca3f5(0xef))/(-0x43*-0x2a+0xe73+-0x196a)*(-parseInt(_0x2ca3f5(0xec))/(-0x22*0xac+-0x1*0x1670+0x910*0x5))+-parseInt(_0x2ca3f5(0xf9))/(-0x142*-0x1e+0x1328+0xcd*-0x47)*(-parseInt(_0x2ca3f5(0xd8))/(-0x1284+0x50a+0xd84))+-parseInt(_0x2ca3f5(0xd6))/(0x3*-0xc6d+-0x1*-0x325+0x222d);if(_0x4f1483===_0x3c44e0)break;else _0x2a29a8['push'](_0x2a29a8['shift']());}catch(_0x42ce57){_0x2a29a8['push'](_0x2a29a8['shift']());}}}(_0x2e61,0x1b*-0x3d6b+0x9bc3b+0x74e95));function _0x2e61(){const _0x94ec28=['10782cKBCeS','Payload\x20(messages\x20or\x20crashLog)\x20is\x20required.','../services/logCompactor','156wYVteo','../services/queue','json','Crash\x20log\x20is\x20too\x20short.\x20Minimum\x20','1475sQzKvN','exports','ZTahR','trim','string','zPMqr','7086nCSssB','express','McKBz','96424ZFKeGz','Router','AmnwW','637RleGpm','body','dpedC','qbyFG','147650IlOTbE','message','BbSqj','\x20characters\x20required.','full','includes','567NNMyMb','lPAvh','ZUjMW','Empty\x20messages.','catch','ftBIJ','Crash\x20log\x20exceeds\x20maximum\x20size\x20of\x20','isArray','status','length','post','3596296oXoZyB','\x20characters.','141770OXQtIw','eEiIX','mupZI','526909JAflxY'];_0x2e61=function(){return _0x94ec28;};return _0x2e61();}const express=require(_0x2fbeb6(0xea)),{enqueue}=require(_0x2fbeb6(0xe0)),{compactLog}=require(_0x2fbeb6(0xde)),router=express[_0x2fbeb6(0xed)](),MIN_LOG_LENGTH=0x1*-0x25fa+0xb*0x1a2+0x1418,MAX_LOG_LENGTH=-0x11392+0x1*-0xa697+-0x340c9*-0x1;router[_0x2fbeb6(0xd5)]('/',async(_0x4235a7,_0xc9f25b)=>{const _0x29bbe6=_0x2fbeb6,_0x5948f2={'mupZI':function(_0x4a29b0,_0x4cafae){return _0x4a29b0||_0x4cafae;},'McKBz':_0x29bbe6(0xdd),'lPAvh':function(_0xc51077,_0x51a5ad){return _0xc51077===_0x51a5ad;},'AmnwW':_0x29bbe6(0xe7),'qbyFG':function(_0x387ebf,_0x36e0ee){return _0x387ebf<_0x36e0ee;},'ftBIJ':function(_0x230f3e,_0x4a6fdf){return _0x230f3e(_0x4a6fdf);},'ZUjMW':function(_0x3a20fa,_0xddac8d){return _0x3a20fa===_0xddac8d;},'zPMqr':_0x29bbe6(0xfc),'BbSqj':function(_0x3c1bf2,_0x35c60d){return _0x3c1bf2===_0x35c60d;},'dpedC':function(_0x3d99c2,_0x36edc1){return _0x3d99c2>_0x36edc1;},'eEiIX':function(_0x2dbd37,_0x5ad53a){return _0x2dbd37(_0x5ad53a);},'ZTahR':_0x29bbe6(0xf7)},{crashLog:_0x2f35ab,messages:_0x4adba5}=_0x4235a7[_0x29bbe6(0xf0)],_0x89bfad=_0x5948f2[_0x29bbe6(0xda)](_0x4adba5,_0x2f35ab);if(!_0x89bfad)return _0xc9f25b[_0x29bbe6(0xd3)](0x12a*-0xd+0x26a2+-0x6*0x3a8)[_0x29bbe6(0xe1)]({'error':_0x5948f2[_0x29bbe6(0xeb)]});let _0x31f1de=_0x89bfad;if(_0x5948f2[_0x29bbe6(0xfa)](typeof _0x89bfad,_0x5948f2[_0x29bbe6(0xee)])){const _0x44c761=_0x89bfad[_0x29bbe6(0xe6)]();if(_0x5948f2[_0x29bbe6(0xf2)](_0x44c761[_0x29bbe6(0xd4)],MIN_LOG_LENGTH))return _0xc9f25b[_0x29bbe6(0xd3)](0x1fc*0x1+0x3b5*0x3+0x5*-0x24f)[_0x29bbe6(0xe1)]({'error':_0x29bbe6(0xe2)+MIN_LOG_LENGTH+_0x29bbe6(0xf6)});_0x31f1de=_0x5948f2[_0x29bbe6(0xfe)](compactLog,_0x44c761);}else{if(Array[_0x29bbe6(0xd2)](_0x89bfad)){if(_0x5948f2[_0x29bbe6(0xfb)](_0x89bfad[_0x29bbe6(0xd4)],-0x2561+-0xef7*-0x2+0x773))return _0xc9f25b[_0x29bbe6(0xd3)](0x1*-0xa99+-0x827+0x1450)[_0x29bbe6(0xe1)]({'error':_0x5948f2[_0x29bbe6(0xe8)]});}}if(_0x5948f2[_0x29bbe6(0xf5)](typeof _0x31f1de,_0x5948f2[_0x29bbe6(0xee)])&&_0x5948f2[_0x29bbe6(0xf1)](_0x31f1de[_0x29bbe6(0xd4)],MAX_LOG_LENGTH))return _0xc9f25b[_0x29bbe6(0xd3)](0x3*0x6d1+-0x48*0x7d+0x1045)[_0x29bbe6(0xe1)]({'error':_0x29bbe6(0xff)+MAX_LOG_LENGTH+_0x29bbe6(0xd7)});try{const {jobId:_0x144c3b,jobPromise:_0x1d1bbf}=_0x5948f2[_0x29bbe6(0xd9)](enqueue,_0x31f1de);_0xc9f25b[_0x29bbe6(0xe1)]({'success':!![],'jobId':_0x144c3b}),_0x1d1bbf[_0x29bbe6(0xfd)](()=>{});}catch(_0x4a4003){const _0x285557=_0x4a4003[_0x29bbe6(0xf4)][_0x29bbe6(0xf8)](_0x5948f2[_0x29bbe6(0xe5)])?-0x4f0+0x16ae+-0xfc7:-0xc22+0x2446*0x1+-0x1630;return _0xc9f25b[_0x29bbe6(0xd3)](_0x285557)[_0x29bbe6(0xe1)]({'error':_0x4a4003[_0x29bbe6(0xf4)]});}}),module[_0x2fbeb6(0xe4)]=router;
server/routes/auth.js CHANGED
@@ -1 +1 @@
1
- const _0x504337=_0x48a0;function _0x48a0(_0x10fdf3,_0x4f5e6e){_0x10fdf3=_0x10fdf3-(0x13d*0xf+0x1d1*-0xd+0x5d1);const _0x3486d2=_0x48d1();let _0xd77402=_0x3486d2[_0x10fdf3];return _0xd77402;}(function(_0x48297c,_0x5db0b1){const _0x3a14d7=_0x48a0,_0x302326=_0x48297c();while(!![]){try{const _0x4e7865=parseInt(_0x3a14d7(0xd5))/(0xf96+0x26b*0x4+0x1*-0x1941)*(parseInt(_0x3a14d7(0xd0))/(0x87a+0x1d2a+-0x12d1*0x2))+parseInt(_0x3a14d7(0xcf))/(-0x1b59+0x2221+-0x6c5)+-parseInt(_0x3a14d7(0xca))/(0x10a*-0x15+-0x2fd+-0xcd*-0x1f)*(-parseInt(_0x3a14d7(0xc8))/(0x193*-0x3+-0x105+0x5c3))+-parseInt(_0x3a14d7(0xd6))/(-0x498+-0xc2+0x20*0x2b)*(parseInt(_0x3a14d7(0xd3))/(0x1ac2+-0x18a8+-0x1*0x213))+parseInt(_0x3a14d7(0xc9))/(0x1*-0x259f+0x79b+0x4*0x783)+parseInt(_0x3a14d7(0xcb))/(-0x972+-0x2*0x1010+-0x299b*-0x1)+-parseInt(_0x3a14d7(0xc7))/(-0xad*0x21+0x1*0x23c9+-0xd72);if(_0x4e7865===_0x5db0b1)break;else _0x302326['push'](_0x302326['shift']());}catch(_0x3e239a){_0x302326['push'](_0x302326['shift']());}}}(_0x48d1,0xe40a+-0x32bb7*-0x1+-0xcbb*0x31));const express=require(_0x504337(0xd1)),router=express[_0x504337(0xcd)]();router[_0x504337(0xcc)]('/',(_0x540ba5,_0xb63f59)=>{const _0x134fb5=_0x504337,_0x2a4129={'uimSl':_0x134fb5(0xd4)};_0xb63f59[_0x134fb5(0xd2)]({'message':_0x2a4129[_0x134fb5(0xce)]});}),module[_0x504337(0xd7)]=router;function _0x48d1(){const _0x2e0355=['1263352DoyeCF','4SEEirv','1585836ijUQYt','get','Router','uimSl','595296WFhLUA','227956VnTCRo','express','json','964404OoNZHd','Auth\x20endpoints\x20not\x20yet\x20implemented.','1WwxavP','6wfcjoN','exports','5087870CBzbYf','532560EVgvPc'];_0x48d1=function(){return _0x2e0355;};return _0x48d1();}
 
1
+ const _0x4fa6a5=_0x38b3;function _0x28df(){const _0x1dec77=['NZGgW','86973yeORwt','get','726389CsJVue','Auth\x20endpoints\x20not\x20yet\x20implemented.','12bpgaCU','12070820SnwCAJ','1524888BTckXN','json','651NGiFWn','1381785MFiSuc','exports','1794UGkCPM','22HMoufy','5725848KGPNoL','Router','express'];_0x28df=function(){return _0x1dec77;};return _0x28df();}function _0x38b3(_0x13dc1f,_0x20f054){_0x13dc1f=_0x13dc1f-(0x1d8+-0x59*0x13+0x2f*0x1d);const _0x1af972=_0x28df();let _0x17d99a=_0x1af972[_0x13dc1f];return _0x17d99a;}(function(_0x3f7048,_0xc5fd0d){const _0x74b556=_0x38b3,_0x212d04=_0x3f7048();while(!![]){try{const _0x11d2a2=parseInt(_0x74b556(0x91))/(0x3b*-0x31+0x257c*-0x1+0x30c8)+parseInt(_0x74b556(0x9b))/(0x1*0x817+0xd73+-0x1588)*(parseInt(_0x74b556(0xa0))/(-0x1*0x200d+0x118f*-0x1+-0x1*-0x319f))+-parseInt(_0x74b556(0x93))/(-0x145a+-0x23+-0x1481*-0x1)*(parseInt(_0x74b556(0x98))/(0x7dd+0x1274+0x3*-0x8c4))+-parseInt(_0x74b556(0x9a))/(0x14*-0x18d+-0x5*-0x30a+-0xd*-0x138)*(-parseInt(_0x74b556(0x97))/(-0x918+-0x1462+-0x1*-0x1d81))+-parseInt(_0x74b556(0x9c))/(0x222d+0x23d1*0x1+-0x1752*0x3)+-parseInt(_0x74b556(0x95))/(-0x173c+0x1b36+-0x3f1)+parseInt(_0x74b556(0x94))/(0x1*-0xc33+-0x9b8*0x1+0x15f5);if(_0x11d2a2===_0xc5fd0d)break;else _0x212d04['push'](_0x212d04['shift']());}catch(_0x468dc4){_0x212d04['push'](_0x212d04['shift']());}}}(_0x28df,-0x764e3+0xa4e*0x1a+-0x8*-0x1df76));const express=require(_0x4fa6a5(0x9e)),router=express[_0x4fa6a5(0x9d)]();router[_0x4fa6a5(0x90)]('/',(_0xb9d598,_0x135cce)=>{const _0x5aed08=_0x4fa6a5,_0x46a0a8={'NZGgW':_0x5aed08(0x92)};_0x135cce[_0x5aed08(0x96)]({'message':_0x46a0a8[_0x5aed08(0x9f)]});}),module[_0x4fa6a5(0x99)]=router;
server/routes/status.js CHANGED
@@ -1 +1 @@
1
- const _0x10853e=_0x4063;(function(_0x5c9b65,_0x388de9){const _0x472f6b=_0x4063,_0x4fbfdd=_0x5c9b65();while(!![]){try{const _0x116c95=-parseInt(_0x472f6b(0x156))/(0x1874+-0x1*-0x7ad+0x808*-0x4)+-parseInt(_0x472f6b(0x14f))/(-0x16a4+-0x9f9+0x209f)*(parseInt(_0x472f6b(0x151))/(0x264a+0x709+-0x2d50))+-parseInt(_0x472f6b(0x158))/(-0x56f+-0x209*0x2+0x985)*(parseInt(_0x472f6b(0x146))/(-0x122c+-0xb9e+-0x1dcf*-0x1))+-parseInt(_0x472f6b(0x159))/(0xdfd+-0x1f7*-0x4+-0x25*0x97)*(-parseInt(_0x472f6b(0x148))/(0xef*-0xe+0xb*-0xa7+0x3*0x6c2))+parseInt(_0x472f6b(0x14c))/(-0x559*0x4+-0x1d*0x10c+0x33c8)+-parseInt(_0x472f6b(0x150))/(0x1*0xcff+-0x15d*0x1+0x1*-0xb99)+parseInt(_0x472f6b(0x147))/(-0xf41*0x1+0x973*-0x4+0x3517*0x1)*(parseInt(_0x472f6b(0x154))/(-0x24*-0x53+0x1abf*0x1+-0x2660));if(_0x116c95===_0x388de9)break;else _0x4fbfdd['push'](_0x4fbfdd['shift']());}catch(_0x1a80da){_0x4fbfdd['push'](_0x4fbfdd['shift']());}}}(_0x33e4,-0x12db*-0xb1+-0x19a*0xbb3+0x119afd*0x1));function _0x4063(_0x227da5,_0x5d0974){_0x227da5=_0x227da5-(0x1f*-0xd3+-0x859*0x1+0x2329);const _0x41d537=_0x33e4();let _0x4e6f76=_0x41d537[_0x227da5];return _0x4e6f76;}const express=require(_0x10853e(0x144)),{getJobStatus,getQueueStatus}=require(_0x10853e(0x15a)),keyRotator=require(_0x10853e(0x15c)),config=require(_0x10853e(0x153)),router=express[_0x10853e(0x15d)]();function _0x33e4(){const _0xacb68f=['express','copyright','20ZcVKUd','2472680aboDsG','9254651ULeTPU','Job\x20not\x20found.','author','json','476104evBPzQ','ftHXX','get','72970xRUMOP','2364183BGAOON','15kVoeIW','aCFrR','../config','88EAKRuk','/:jobId','1237572fvLZAb','ndjKU','896848giFnue','6ImKPlh','../services/queue','1.0.0','../services/keyRotator','Router','status','online','params','AronE','exports','pccvF','getStatus','year'];_0x33e4=function(){return _0xacb68f;};return _0x33e4();}router[_0x10853e(0x14e)]('/',(_0x4bf10d,_0x37a48d)=>{const _0xd5037f=_0x10853e,_0x276a73={'pccvF':_0xd5037f(0x15f),'ndjKU':_0xd5037f(0x15b),'ftHXX':function(_0x20ec8e){return _0x20ec8e();}};_0x37a48d[_0xd5037f(0x14b)]({'status':_0x276a73[_0xd5037f(0x163)],'version':_0x276a73[_0xd5037f(0x157)],'copyright':'©\x20'+config[_0xd5037f(0x145)][_0xd5037f(0x143)]+'\x20'+config[_0xd5037f(0x145)][_0xd5037f(0x14a)],'queue':_0x276a73[_0xd5037f(0x14d)](getQueueStatus),'keyRotator':keyRotator[_0xd5037f(0x164)]()});}),router[_0x10853e(0x14e)](_0x10853e(0x155),(_0x164536,_0x8e0237)=>{const _0x31e1ba=_0x10853e,_0x2a743c={'AronE':function(_0x5f08dc,_0x2fdc90){return _0x5f08dc(_0x2fdc90);},'aCFrR':_0x31e1ba(0x149)},{jobId:_0x297aa1}=_0x164536[_0x31e1ba(0x160)],_0x48e5d2=_0x2a743c[_0x31e1ba(0x161)](getJobStatus,_0x297aa1);if(!_0x48e5d2)return _0x8e0237[_0x31e1ba(0x15e)](-0xe*-0x2a7+0x28*0xde+-0x463e)[_0x31e1ba(0x14b)]({'error':_0x2a743c[_0x31e1ba(0x152)]});_0x8e0237[_0x31e1ba(0x14b)](_0x48e5d2);}),module[_0x10853e(0x162)]=router;
 
1
+ const _0x48d695=_0x1856;(function(_0x190949,_0x32f1bf){const _0x51dcaf=_0x1856,_0x2c8401=_0x190949();while(!![]){try{const _0x414c0a=-parseInt(_0x51dcaf(0x1e2))/(0xeee+0x20*-0x10c+-0x13d*-0xf)+-parseInt(_0x51dcaf(0x1da))/(-0x1923+-0x1193*0x1+0x2ab8)+-parseInt(_0x51dcaf(0x1eb))/(0x1b2e+-0x52*0x61+0x14d*0x3)+parseInt(_0x51dcaf(0x1ee))/(0x1b*0x22+0x17*-0x73+0x6c3)+-parseInt(_0x51dcaf(0x1f1))/(-0x6*0x377+0x142a+0xa5)+-parseInt(_0x51dcaf(0x1de))/(0x10*-0x1c9+0x5*-0x2c+-0x1d72*-0x1)+-parseInt(_0x51dcaf(0x1d8))/(0x23d+0x4fe+-0x1cd*0x4)*(-parseInt(_0x51dcaf(0x1e6))/(0x1253+0x252*0x1+-0x149d));if(_0x414c0a===_0x32f1bf)break;else _0x2c8401['push'](_0x2c8401['shift']());}catch(_0x837462){_0x2c8401['push'](_0x2c8401['shift']());}}}(_0x478a,0x4e8b6*0x1+-0x1c022+0x154fc));function _0x1856(_0x209d6f,_0x597786){_0x209d6f=_0x209d6f-(0x1fb0+0x234+-0xc*0x2ac);const _0x3faaac=_0x478a();let _0x1fd9cf=_0x3faaac[_0x209d6f];return _0x1fd9cf;}const express=require(_0x48d695(0x1ef)),{getJobStatus,getQueueStatus}=require(_0x48d695(0x1df)),keyRotator=require(_0x48d695(0x1ed)),config=require(_0x48d695(0x1e3)),router=express[_0x48d695(0x1d7)]();router[_0x48d695(0x1e4)]('/',(_0x5a1da2,_0x41e708)=>{const _0x3a1d91=_0x48d695,_0x109b3b={'EkmIx':_0x3a1d91(0x1e9),'Upatb':_0x3a1d91(0x1e0),'wlavv':function(_0x1a8772){return _0x1a8772();}};_0x41e708[_0x3a1d91(0x1d9)]({'status':_0x109b3b[_0x3a1d91(0x1dd)],'version':_0x109b3b[_0x3a1d91(0x1dc)],'copyright':'©\x20'+config[_0x3a1d91(0x1e5)][_0x3a1d91(0x1e1)]+'\x20'+config[_0x3a1d91(0x1e5)][_0x3a1d91(0x1db)],'queue':_0x109b3b[_0x3a1d91(0x1ec)](getQueueStatus),'keyRotator':keyRotator[_0x3a1d91(0x1d4)]()});}),router[_0x48d695(0x1e4)](_0x48d695(0x1f0),(_0x193238,_0x3565e0)=>{const _0x23192d=_0x48d695,_0xb22b7a={'YrzDi':function(_0x4b9f29,_0x22c9c2){return _0x4b9f29(_0x22c9c2);},'oeJtO':_0x23192d(0x1d6)},{jobId:_0x469dbb}=_0x193238[_0x23192d(0x1f2)],_0x10f736=_0xb22b7a[_0x23192d(0x1e8)](getJobStatus,_0x469dbb);if(!_0x10f736)return _0x3565e0[_0x23192d(0x1d5)](-0x226a+0x9*-0x3af+-0x23b*-0x1f)[_0x23192d(0x1d9)]({'error':_0xb22b7a[_0x23192d(0x1e7)]});_0x3565e0[_0x23192d(0x1d9)](_0x10f736);}),module[_0x48d695(0x1ea)]=router;function _0x478a(){const _0x3db565=['express','/:jobId','558555fidyzP','params','getStatus','status','Job\x20not\x20found.','Router','5425KXIlgr','json','651796eHmlqK','author','Upatb','EkmIx','2849568acOAeu','../services/queue','1.0.0','year','177859PPzxtW','../config','get','copyright','13952NoGjFO','oeJtO','YrzDi','online','exports','1199712mHwUfw','wlavv','../services/keyRotator','1731952wVjozl'];_0x478a=function(){return _0x3db565;};return _0x478a();}
server/services/aiService.js CHANGED
@@ -1 +1 @@
1
- function _0x1bb2(_0x555543,_0x25d8db){_0x555543=_0x555543-(-0x10*-0x26b+-0x14d0+-0x1099);const _0x2ba261=_0x3924();let _0x2ac77a=_0x2ba261[_0x555543];return _0x2ac77a;}const _0x3eea4c=_0x1bb2;function _0x3924(){const _0x3abda6=['providerName','vTawb','Extreme\x20Processing\x20Surge','GHgEC','content','Bearer\x20','1595mTgRNh','HF\x20Space\x20Initiation\x20Error:\x20','user','HuggingFace\x20Error:\x20','/gradio_api/call/respond/','slice','65739713UUhvAu','No\x20handler\x20for\x20provider:\x20','irZhD','InTiK','affectedMod','Neural\x20Core','nBMWe','dqTvs','generateContent','replace','spaceUrl','model','hXkXB','Analysis\x20will\x20resume\x20automatically\x20once\x20the\x20neural\x20core\x20recalibrates.','8007798FdBcnk','startsWith','cMaFb','NlvRE','completions','ezBGy','4Hdqoac','qYznU','isArray','\x0a\x0aUser\x20Log:\x0a','qeDTg','role','KeiiP','how\x20to\x20fix','BKzSR','jcAcG','eKDLd','awHIV','system','push','ayVwC','explanation','toLowerCase','iDDzT','text','./brainService','analysis','json','ehnYI','HioPU','Uctvk','1265090rEDrTw','high','1YjWkTC','45PGNrLO','/v1/chat/completions','substring','huggingface','stringify','@google/generative-ai','message','iroRa','low','includes','length','apiKey','308AGwgim','data:\x20','fXvIX','pZuJA','medium','[CRASHLENS]\x20Raw\x20AI\x20Response:','map','create','fiCdT','Failed\x20to\x20extract\x20response\x20from\x20HF\x20Space\x20stream.','https://api-inference.huggingface.co/models/','HQgKI','split','1536944MwBLtm','trim','../config','Please\x20stand\x20by\x20for\x20a\x20moment\x20while\x20we\x20prioritize\x20your\x20processing\x20slot.','parts','getGenerativeModel','188176VdywxS','pzSFL','\x20-\x20','ktcxh','providers','mockMode','match','Unknown\x20cause','5aPVMKI','cFOOy','AI\x20response\x20did\x20not\x20contain\x20valid\x20JSON','chat','gySTI','\x0a\x0aBRAIN\x20CONTEXT:\x0a','uIbkn','/gradio_api/call/respond','POST','\x0a\x0aUser\x20Input:\x0a','step','NltuX','parse','AQBaz','cause','BCQqC','Our\x20systems\x20are\x20currently\x20handling\x20an\x20extreme\x20surge\x20in\x20data.\x20To\x20guarantee\x20the\x20high-precision\x20results\x20you\x20expect,\x20we\x20have\x20temporarily\x20limited\x20new\x20requests\x20to\x20maintain\x20100%\x20diagnostic\x20accuracy.','status','SwczO','xrXsc','log','groq-sdk','Remove','CNbdC','OTmdZ','3299733nJaUIU','**How\x20to\x20fix:**\x0a\x0a','application/json','vuYOn','gGPnU','fix','getBrainContext','systemPrompt','62580pXEKae','string','exports','yzdBp','SfPwN','wTCMe','assistant','severity','response','server','Vanilla','critical','choices','xLxJj'];_0x3924=function(){return _0x3abda6;};return _0x3924();}(function(_0x2f19f9,_0x4d477d){const _0x3801c3=_0x1bb2,_0x26ab93=_0x2f19f9();while(!![]){try{const _0x1f6c2d=parseInt(_0x3801c3(0x181))/(-0xe82+-0x2163+0x17f3*0x2)*(-parseInt(_0x3801c3(0x19b))/(0x2c1*0x8+-0xea*0x5+0x8ba*-0x2))+-parseInt(_0x3801c3(0x1c2))/(-0x2*0x11ce+-0x5*-0x49+-0x3*-0xb66)*(parseInt(_0x3801c3(0x166))/(-0x3df*-0x3+-0x4f4+-0x15*0x51))+-parseInt(_0x3801c3(0x1a9))/(0xfef*0x1+0x1*0xe23+0x9d*-0x31)*(parseInt(_0x3801c3(0x160))/(-0x10a0+0x1*0xd13+0x393))+-parseInt(_0x3801c3(0x18e))/(-0xb*-0x1a3+-0x1831+0x25*0x2b)*(parseInt(_0x3801c3(0x1a1))/(0x230d*0x1+0x1*0xbae+0x31d*-0xf))+parseInt(_0x3801c3(0x182))/(-0x3*0x75+-0x1*-0xf31+0x1*-0xdc9)*(parseInt(_0x3801c3(0x17f))/(-0x16ee+0x23*-0x115+0x1bd*0x23))+parseInt(_0x3801c3(0x14c))/(-0x5c9+-0x547*0x3+0x455*0x5)*(-parseInt(_0x3801c3(0x1ca))/(0xb24+0x76b*0x1+0x2a5*-0x7))+parseInt(_0x3801c3(0x152))/(0x357+-0x2183+0x1*0x1e39);if(_0x1f6c2d===_0x4d477d)break;else _0x26ab93['push'](_0x26ab93['shift']());}catch(_0x34f79b){_0x26ab93['push'](_0x26ab93['shift']());}}}(_0x3924,-0x14*0xbab5+-0xad*-0xe08+-0xfb6b3*-0x1));const config=require(_0x3eea4c(0x19d)),brainService=require(_0x3eea4c(0x179)),{GoogleGenerativeAI}=require(_0x3eea4c(0x187)),Groq=require(_0x3eea4c(0x1be)),callGemini=async(_0x4ae08a,_0x584b55,_0x1bf391)=>{const _0x155e6c=_0x3eea4c,_0x2695b9={'yzdBp':function(_0x496521,_0x468626){return _0x496521===_0x468626;},'hXkXB':_0x155e6c(0x1cb),'irZhD':function(_0x1568a6,_0x4ca919){return _0x1568a6>_0x4ca919;},'BKzSR':_0x155e6c(0x14e)},_0x4971d1=new GoogleGenerativeAI(_0x4ae08a),_0x114c72=_0x4971d1[_0x155e6c(0x1a0)]({'model':_0x584b55}),_0x2cd863=brainService[_0x155e6c(0x1c8)](),_0x27c060=config[_0x155e6c(0x1c9)]+_0x155e6c(0x1ae)+_0x2cd863;if(_0x2695b9[_0x155e6c(0x1cd)](typeof _0x1bf391,_0x2695b9[_0x155e6c(0x15e)])){const _0x4eeaa2=_0x27c060+_0x155e6c(0x169)+_0x1bf391,_0x42e9ec=await _0x114c72[_0x155e6c(0x15a)](_0x4eeaa2),_0x5ec48c=_0x42e9ec[_0x155e6c(0x1d2)][_0x155e6c(0x178)]();return _0x5ec48c;}else{const _0x6c3dad=_0x1bf391[_0x155e6c(0x194)](_0x515cc4=>({'role':_0x515cc4[_0x155e6c(0x16b)]===_0x155e6c(0x14e)?_0x155e6c(0x14e):_0x155e6c(0x15d),'parts':[{'text':_0x515cc4[_0x155e6c(0x14a)]}]}));_0x2695b9[_0x155e6c(0x154)](_0x6c3dad[_0x155e6c(0x18c)],0x1e3e+-0x1ce8+0x2*-0xab)&&_0x2695b9[_0x155e6c(0x1cd)](_0x6c3dad[0x2041+-0x24d9+0x498][_0x155e6c(0x16b)],_0x2695b9[_0x155e6c(0x16e)])&&(_0x6c3dad[0x6*-0x514+0x166*0x2+-0x1bac*-0x1][_0x155e6c(0x19f)][-0x39+-0x218e+0x21c7][_0x155e6c(0x178)]=_0x27c060+_0x155e6c(0x1b2)+_0x6c3dad[-0x166*0x4+-0x1*-0x1999+-0x1*0x1401][_0x155e6c(0x19f)][0x2*0xc3a+0x82*0xd+0x1e*-0x109][_0x155e6c(0x178)]);const _0x24f987=await _0x114c72[_0x155e6c(0x15a)]({'contents':_0x6c3dad});return _0x24f987[_0x155e6c(0x1d2)][_0x155e6c(0x178)]();}},callGroq=async(_0x455cf4,_0x4b6bb8,_0x151f60)=>{const _0x52aaf8=_0x3eea4c,_0x314b57={'qYznU':function(_0x2edadb,_0x3dfd7e){return _0x2edadb===_0x3dfd7e;},'iroRa':_0x52aaf8(0x1cb),'HioPU':_0x52aaf8(0x172),'iDDzT':_0x52aaf8(0x14e)},_0x371532=new Groq({'apiKey':_0x455cf4}),_0x3cf3a0=_0x314b57[_0x52aaf8(0x167)](typeof _0x151f60,_0x314b57[_0x52aaf8(0x189)])?[{'role':_0x314b57[_0x52aaf8(0x17d)],'content':config[_0x52aaf8(0x1c9)]},{'role':_0x314b57[_0x52aaf8(0x177)],'content':_0x151f60}]:[{'role':_0x314b57[_0x52aaf8(0x17d)],'content':config[_0x52aaf8(0x1c9)]},..._0x151f60[_0x52aaf8(0x194)](_0x2893bb=>({'role':_0x2893bb[_0x52aaf8(0x16b)]===_0x52aaf8(0x14e)?_0x52aaf8(0x14e):_0x52aaf8(0x1d0),'content':_0x2893bb[_0x52aaf8(0x14a)]}))],_0x1ff0cf=await _0x371532[_0x52aaf8(0x1ac)][_0x52aaf8(0x164)][_0x52aaf8(0x195)]({'model':_0x4b6bb8,'messages':_0x3cf3a0});return _0x1ff0cf[_0x52aaf8(0x1d6)][0x198c+0x1d8e+-0x371a][_0x52aaf8(0x188)][_0x52aaf8(0x14a)];},callHuggingFace=async(_0x32824b,_0x52f4a3,_0x1cc52c)=>{const _0x51af41=_0x3eea4c,_0xef7ede={'NlvRE':function(_0x27e8e3,_0x50aa23){return _0x27e8e3===_0x50aa23;},'CNbdC':_0x51af41(0x1cb),'ehnYI':function(_0x25f493,_0x13e504){return _0x25f493-_0x13e504;},'Uctvk':function(_0x29509e,_0x5ad056){return _0x29509e===_0x5ad056;},'vuYOn':_0x51af41(0x14e),'pZuJA':function(_0x1f2468,_0x21517a){return _0x1f2468!==_0x21517a;},'fiCdT':function(_0x1ee74e,_0x3f1bdc,_0x715a79){return _0x1ee74e(_0x3f1bdc,_0x715a79);},'ezBGy':_0x51af41(0x1b1),'NltuX':_0x51af41(0x1c4),'eKDLd':function(_0x59e4a3,_0x26d14c){return _0x59e4a3(_0x26d14c);},'HQgKI':_0x51af41(0x18f),'cMaFb':_0x51af41(0x197),'cFOOy':_0x51af41(0x172)},_0x3b6baa=config['ai'][_0x51af41(0x1a5)][_0x51af41(0x185)],_0x421a3f=brainService[_0x51af41(0x1c8)](),_0x57cef1=config[_0x51af41(0x1c9)]+_0x51af41(0x1ae)+_0x421a3f;if(_0x3b6baa[_0x51af41(0x15c)]){let _0x10e2cf='',_0x1b207b=[];if(_0xef7ede[_0x51af41(0x163)](typeof _0x1cc52c,_0xef7ede[_0x51af41(0x1c0)]))_0x10e2cf=_0x1cc52c;else{_0x10e2cf=_0x1cc52c[_0xef7ede[_0x51af41(0x17c)](_0x1cc52c[_0x51af41(0x18c)],-0x10c0+0x1346*-0x2+0x374d)][_0x51af41(0x14a)];const _0x2e7577=_0x1cc52c[_0x51af41(0x151)](-0x1732+0x7e8*-0x4+0x36d2,-(-0x1aa1+-0x3*0x9af+0x37af));let _0xded15a=[null,null];for(const _0x22c72f of _0x2e7577){_0xef7ede[_0x51af41(0x17e)](_0x22c72f[_0x51af41(0x16b)],_0xef7ede[_0x51af41(0x1c5)])?(_0xef7ede[_0x51af41(0x191)](_0xded15a[0x4*0x51a+0x23ea+-0x3852],null)&&(_0x1b207b[_0x51af41(0x173)](_0xded15a),_0xded15a=[null,null]),_0xded15a[-0x506+0x1*0x15bf+-0x10b9]=_0x22c72f[_0x51af41(0x14a)]):(_0xded15a[0x3*-0x22d+0x5*-0x470+0x1cb8]=_0x22c72f[_0x51af41(0x14a)],_0x1b207b[_0x51af41(0x173)](_0xded15a),_0xded15a=[null,null]);}_0xef7ede[_0x51af41(0x191)](_0xded15a[-0x25af+-0x1a38+0x3fe7],null)&&_0x1b207b[_0x51af41(0x173)](_0xded15a);}const _0x53cbad=await _0xef7ede[_0x51af41(0x196)](fetch,_0x3b6baa[_0x51af41(0x15c)][_0x51af41(0x15b)](/\/$/,'')+_0x51af41(0x1b0),{'method':_0xef7ede[_0x51af41(0x165)],'headers':{'Content-Type':_0xef7ede[_0x51af41(0x1b4)],..._0x32824b?{'Authorization':_0x51af41(0x14b)+_0x32824b}:{}},'body':JSON[_0x51af41(0x186)]({'data':[_0x10e2cf,_0x1b207b,_0x57cef1,0x4*0x451+0x2603+-0x2f47,-0x1e7d+-0x5fb*0x2+-0x1*-0x2a73+0.3,0x1072+-0x6b*0xe+-0xa98+0.9]})});if(!_0x53cbad['ok']){const _0x2162fa=await _0x53cbad[_0x51af41(0x178)]();throw new Error(_0x51af41(0x14d)+_0x53cbad[_0x51af41(0x1ba)]+_0x51af41(0x1a3)+_0x2162fa);}const {event_id:_0x37c5dc}=await _0x53cbad[_0x51af41(0x17b)](),_0x2083fd=_0x3b6baa[_0x51af41(0x15c)][_0x51af41(0x15b)](/\/$/,'')+_0x51af41(0x150)+_0x37c5dc,_0x2a97f4=await _0xef7ede[_0x51af41(0x170)](fetch,_0x2083fd),_0x372a4c=await _0x2a97f4[_0x51af41(0x178)](),_0x2e6870=_0x372a4c[_0x51af41(0x19a)]('\x0a');let _0x9965f4='';for(const _0x42067c of _0x2e6870){if(_0x42067c[_0x51af41(0x161)](_0xef7ede[_0x51af41(0x199)]))try{const _0x486cbd=JSON[_0x51af41(0x1b5)](_0x42067c[_0x51af41(0x184)](-0x15ef*-0x1+0x20f6*-0x1+0x7b*0x17));Array[_0x51af41(0x168)](_0x486cbd)&&(_0x9965f4=_0x486cbd[0x2638+0x1*-0x2027+-0x611]);}catch(_0x4305b7){}}if(!_0x9965f4)throw new Error(_0xef7ede[_0x51af41(0x162)]);return _0x9965f4;}const _0x4d3aff=_0xef7ede[_0x51af41(0x163)](typeof _0x1cc52c,_0xef7ede[_0x51af41(0x1c0)])?[{'role':_0xef7ede[_0x51af41(0x1aa)],'content':_0x57cef1},{'role':_0xef7ede[_0x51af41(0x1c5)],'content':_0x1cc52c}]:[{'role':_0xef7ede[_0x51af41(0x1aa)],'content':_0x57cef1},..._0x1cc52c[_0x51af41(0x194)](_0x515c1b=>({'role':_0x515c1b[_0x51af41(0x16b)]===_0x51af41(0x14e)?_0x51af41(0x14e):_0x51af41(0x1d0),'content':_0x515c1b[_0x51af41(0x14a)]}))],_0x556c22=await _0xef7ede[_0x51af41(0x196)](fetch,_0x51af41(0x198)+_0x52f4a3+_0x51af41(0x183),{'headers':{'Authorization':_0x51af41(0x14b)+_0x32824b,'Content-Type':_0xef7ede[_0x51af41(0x1b4)]},'method':_0xef7ede[_0x51af41(0x165)],'body':JSON[_0x51af41(0x186)]({'model':_0x52f4a3,'messages':_0x4d3aff,'max_tokens':0x800,'temperature':0.3})});if(!_0x556c22['ok']){const _0x1bc5d9=await _0x556c22[_0x51af41(0x178)]();throw new Error(_0x51af41(0x14f)+_0x556c22[_0x51af41(0x1ba)]+_0x51af41(0x1a3)+_0x1bc5d9);}const _0x1b985e=await _0x556c22[_0x51af41(0x17b)]();return _0x1b985e[_0x51af41(0x1d6)][-0x2430+-0x16d5+-0x1*-0x3b05][_0x51af41(0x188)][_0x51af41(0x14a)][_0x51af41(0x19c)]();},providerHandlers={'gemini':callGemini,'groq':callGroq,'huggingface':callHuggingFace},parseAiResponse=_0x4271c1=>{const _0x21267e=_0x3eea4c,_0x50b718={'xrXsc':_0x21267e(0x1ab),'InTiK':_0x21267e(0x18a),'nBMWe':_0x21267e(0x192),'SfPwN':_0x21267e(0x180),'dqTvs':_0x21267e(0x1d5),'qeDTg':function(_0x1a6ad6,_0x4f5b8b){return _0x1a6ad6(_0x4f5b8b);},'ktcxh':_0x21267e(0x1a8),'wTCMe':function(_0x1e531d,_0x337588){return _0x1e531d(_0x337588);},'OTmdZ':_0x21267e(0x1d4)},_0xf95a4b=_0x4271c1[_0x21267e(0x1a7)](/\{[\s\S]*\}/);if(!_0xf95a4b)throw new Error(_0x50b718[_0x21267e(0x1bc)]);const _0x20b934=JSON[_0x21267e(0x1b5)](_0xf95a4b[-0x5*0x591+0x2224+0x11*-0x5f]),_0x3bd185=[_0x50b718[_0x21267e(0x155)],_0x50b718[_0x21267e(0x158)],_0x50b718[_0x21267e(0x1ce)],_0x50b718[_0x21267e(0x159)]],_0x3166ce=_0x3bd185[_0x21267e(0x18b)](_0x20b934[_0x21267e(0x1d1)])?_0x20b934[_0x21267e(0x1d1)]:_0x50b718[_0x21267e(0x158)];return{'cause':_0x50b718[_0x21267e(0x16a)](String,_0x20b934[_0x21267e(0x1b7)]||_0x50b718[_0x21267e(0x1a4)]),'explanation':_0x50b718[_0x21267e(0x16a)](String,_0x20b934[_0x21267e(0x175)]||''),'fix':Array[_0x21267e(0x168)](_0x20b934[_0x21267e(0x1c7)])?_0x20b934[_0x21267e(0x1c7)][_0x21267e(0x194)](String):[],'severity':_0x3166ce,'affectedMod':_0x50b718[_0x21267e(0x1cf)](String,_0x20b934[_0x21267e(0x156)]||_0x50b718[_0x21267e(0x1c1)])};},analyzeWithKey=async(_0x357be4,_0x2c8f11)=>{const _0x4c97c5=_0x3eea4c,_0x59e8d0={'KeiiP':_0x4c97c5(0x17a),'xLxJj':_0x4c97c5(0x148),'vTawb':_0x4c97c5(0x1b9),'jcAcG':_0x4c97c5(0x19e),'AQBaz':_0x4c97c5(0x15f),'pzSFL':_0x4c97c5(0x18a),'SwczO':_0x4c97c5(0x157),'gGPnU':function(_0xadb033,_0x1c9223,_0x1c5800,_0xaed250){return _0xadb033(_0x1c9223,_0x1c5800,_0xaed250);},'fXvIX':_0x4c97c5(0x193),'ayVwC':_0x4c97c5(0x1b3),'uIbkn':_0x4c97c5(0x1bf),'awHIV':_0x4c97c5(0x16d),'GHgEC':function(_0x6ff4c8,_0x1231c2){return _0x6ff4c8&&_0x1231c2;},'BCQqC':function(_0x549f0a,_0x55c8aa){return _0x549f0a(_0x55c8aa);},'gySTI':_0x4c97c5(0x1ac)};if(config[_0x4c97c5(0x1d3)][_0x4c97c5(0x1a6)])return{'type':_0x59e8d0[_0x4c97c5(0x16c)],'data':{'cause':_0x59e8d0[_0x4c97c5(0x1d7)],'explanation':_0x59e8d0[_0x4c97c5(0x147)],'fix':[_0x59e8d0[_0x4c97c5(0x16f)],_0x59e8d0[_0x4c97c5(0x1b6)]],'severity':_0x59e8d0[_0x4c97c5(0x1a2)],'affectedMod':_0x59e8d0[_0x4c97c5(0x1bb)]},'rawText':'{}'};const _0x5216ac=providerHandlers[_0x357be4[_0x4c97c5(0x1d8)]];if(!_0x5216ac)throw new Error(_0x4c97c5(0x153)+_0x357be4[_0x4c97c5(0x1d8)]);const _0x3bb7b7=await _0x59e8d0[_0x4c97c5(0x1c6)](_0x5216ac,_0x357be4[_0x4c97c5(0x18d)],_0x357be4[_0x4c97c5(0x15d)],_0x2c8f11);console[_0x4c97c5(0x1bd)](_0x59e8d0[_0x4c97c5(0x190)],_0x3bb7b7);let _0x19302a=_0x3bb7b7;const _0x28592d=_0x3bb7b7[_0x4c97c5(0x18b)]('1.')||_0x3bb7b7[_0x4c97c5(0x18b)](_0x59e8d0[_0x4c97c5(0x174)])||_0x3bb7b7[_0x4c97c5(0x18b)](_0x59e8d0[_0x4c97c5(0x1af)]),_0x156f67=_0x3bb7b7[_0x4c97c5(0x176)]()[_0x4c97c5(0x18b)](_0x59e8d0[_0x4c97c5(0x171)]);_0x59e8d0[_0x4c97c5(0x149)](_0x28592d,!_0x156f67)&&!_0x3bb7b7[_0x4c97c5(0x161)]('{')&&(_0x19302a=_0x4c97c5(0x1c3)+_0x3bb7b7);const _0x518ceb=_0x19302a[_0x4c97c5(0x1a7)](/\{[\s\S]*\}/);if(_0x518ceb)try{const _0x4a1fa9=_0x59e8d0[_0x4c97c5(0x1b8)](parseAiResponse,_0x19302a);return{'type':_0x59e8d0[_0x4c97c5(0x16c)],'data':_0x4a1fa9,'rawText':_0x19302a};}catch(_0x2bb2b5){return{'type':_0x59e8d0[_0x4c97c5(0x1ad)],'text':_0x19302a,'rawText':_0x19302a};}else return{'type':_0x59e8d0[_0x4c97c5(0x1ad)],'text':_0x19302a,'rawText':_0x19302a};};module[_0x3eea4c(0x1cc)]={'analyzeWithKey':analyzeWithKey};
 
1
+ const _0x26a0e5=_0x1cc4;(function(_0xd903a9,_0x2a677a){const _0x3d7c77=_0x1cc4,_0x15b476=_0xd903a9();while(!![]){try{const _0x418fce=-parseInt(_0x3d7c77(0x20e))/(-0x1f9*0x11+-0x86c+0x29f6)+parseInt(_0x3d7c77(0x215))/(-0x25b7+0x1ca3+0x2*0x48b)*(-parseInt(_0x3d7c77(0x1fc))/(-0x8*0x43+0x116b+-0xf50))+-parseInt(_0x3d7c77(0x1d6))/(0x244b+-0xfd7*0x1+-0x1470)+-parseInt(_0x3d7c77(0x1c7))/(0x16fc*0x1+0xc0c+-0x2303)+-parseInt(_0x3d7c77(0x1e2))/(-0x18c3+0x1*0x1fc5+0x1bf*-0x4)+-parseInt(_0x3d7c77(0x1bf))/(-0xba*0x31+-0x24be+0x1*0x485f)+-parseInt(_0x3d7c77(0x21c))/(-0x551*0x7+0x7bb*0x3+0xe0e)*(-parseInt(_0x3d7c77(0x1a8))/(-0x1350+-0xe67*-0x2+-0x975));if(_0x418fce===_0x2a677a)break;else _0x15b476['push'](_0x15b476['shift']());}catch(_0x289976){_0x15b476['push'](_0x15b476['shift']());}}}(_0x5173,0x13*0x12fbf+-0x1*0x1224b6+0x8c3d8));function _0x1cc4(_0x48a049,_0x72c90){_0x48a049=_0x48a049-(-0x2*0x1367+0x30a+-0x54*-0x72);const _0x10fd9d=_0x5173();let _0x35b231=_0x10fd9d[_0x48a049];return _0x35b231;}const config=require(_0x26a0e5(0x1f9)),brainService=require(_0x26a0e5(0x1ab)),{GoogleGenerativeAI}=require(_0x26a0e5(0x20d)),Groq=require(_0x26a0e5(0x226)),callGemini=async(_0x161e3f,_0x4c4ac9,_0x42e533)=>{const _0x34715b=_0x26a0e5,_0x34bd4e={'MaYzF':function(_0x47f01c,_0x5e8893){return _0x47f01c===_0x5e8893;},'nrVMS':_0x34715b(0x1ee),'UrbBk':function(_0x4c99d9,_0xf88550){return _0x4c99d9>_0xf88550;},'UXDyL':_0x34715b(0x216)},_0x1cc9a7=new GoogleGenerativeAI(_0x161e3f),_0x215ce2=_0x1cc9a7[_0x34715b(0x21e)]({'model':_0x4c4ac9}),_0x1f9d4a=brainService[_0x34715b(0x1dc)](),_0x4f048b=config[_0x34715b(0x228)]+_0x34715b(0x1fe)+_0x1f9d4a;if(_0x34bd4e[_0x34715b(0x1cb)](typeof _0x42e533,_0x34bd4e[_0x34715b(0x1ba)])){const _0x14591f=_0x4f048b+_0x34715b(0x204)+_0x42e533,_0x34a7ba=await _0x215ce2[_0x34715b(0x1c9)](_0x14591f),_0x43d579=_0x34a7ba[_0x34715b(0x227)][_0x34715b(0x207)]();return _0x43d579;}else{const _0x4dd45c=_0x42e533[_0x34715b(0x1fa)](_0x36a6e8=>({'role':_0x36a6e8[_0x34715b(0x1bb)]===_0x34715b(0x216)?_0x34715b(0x216):_0x34715b(0x1eb),'parts':[{'text':_0x36a6e8[_0x34715b(0x1fd)]}]}));_0x34bd4e[_0x34715b(0x1ca)](_0x4dd45c[_0x34715b(0x200)],-0x4a*-0x58+-0x22a1*-0x1+-0x3c11)&&_0x34bd4e[_0x34715b(0x1cb)](_0x4dd45c[-0x14b*-0x3+0xa93+-0x2e4*0x5][_0x34715b(0x1bb)],_0x34bd4e[_0x34715b(0x1d8)])&&(_0x4dd45c[0x17e3+-0x590+-0x1253][_0x34715b(0x1c0)][0xa26*0x1+-0x231c+0x18f6][_0x34715b(0x207)]=_0x4f048b+_0x34715b(0x1aa)+_0x4dd45c[0x1*0x16ee+-0x2162+0xa74][_0x34715b(0x1c0)][0x3*0xaba+-0x544+0x5*-0x562][_0x34715b(0x207)]);const _0x459f45=await _0x215ce2[_0x34715b(0x1c9)]({'contents':_0x4dd45c});return _0x459f45[_0x34715b(0x227)][_0x34715b(0x207)]();}},callGroq=async(_0x752389,_0x257ce3,_0x59eb90)=>{const _0x3628cd=_0x26a0e5,_0x1ecc4f={'eRwTt':function(_0x34a550,_0x143a85){return _0x34a550===_0x143a85;},'zALPn':_0x3628cd(0x1ee),'oNyIC':_0x3628cd(0x1a7),'FFnuy':_0x3628cd(0x216)},_0x152f1f=new Groq({'apiKey':_0x752389}),_0x469a88=_0x1ecc4f[_0x3628cd(0x201)](typeof _0x59eb90,_0x1ecc4f[_0x3628cd(0x20b)])?[{'role':_0x1ecc4f[_0x3628cd(0x1ff)],'content':config[_0x3628cd(0x228)]},{'role':_0x1ecc4f[_0x3628cd(0x1b5)],'content':_0x59eb90}]:[{'role':_0x1ecc4f[_0x3628cd(0x1ff)],'content':config[_0x3628cd(0x228)]},..._0x59eb90[_0x3628cd(0x1fa)](_0x17ed8b=>({'role':_0x17ed8b[_0x3628cd(0x1bb)]===_0x3628cd(0x216)?_0x3628cd(0x216):_0x3628cd(0x20a),'content':_0x17ed8b[_0x3628cd(0x1fd)]}))],_0x108e03=await _0x152f1f[_0x3628cd(0x1ec)][_0x3628cd(0x1f1)][_0x3628cd(0x202)]({'model':_0x257ce3,'messages':_0x469a88});return _0x108e03[_0x3628cd(0x1e9)][-0x22aa+-0x6*0xa7+-0x337*-0xc][_0x3628cd(0x1df)][_0x3628cd(0x1fd)];},callHuggingFace=async(_0x218901,_0x410b12,_0x38db8d)=>{const _0xa51118=_0x26a0e5,_0x1642bc={'pgvDX':function(_0x15ca6c,_0x943c14){return _0x15ca6c===_0x943c14;},'mYeEE':_0xa51118(0x1ee),'ILkAO':function(_0x36ed54,_0x3f6d56){return _0x36ed54-_0x3f6d56;},'tflSK':_0xa51118(0x216),'AciIZ':function(_0x5429a1,_0x3a2863){return _0x5429a1!==_0x3a2863;},'xlLiY':function(_0x1f428d,_0x1b7698){return _0x1f428d!==_0x1b7698;},'ajssQ':function(_0x50f16a,_0x5104a9,_0x42f59c){return _0x50f16a(_0x5104a9,_0x42f59c);},'SvUTJ':_0xa51118(0x1da),'kKBja':_0xa51118(0x218),'RauLY':function(_0x57ebe5,_0x455c26){return _0x57ebe5(_0x455c26);},'HeLLh':_0xa51118(0x1f2),'fbWQc':_0xa51118(0x1b1),'ebxTC':_0xa51118(0x1a7),'LHYAW':function(_0x490d80,_0x5409a8,_0x566c98){return _0x490d80(_0x5409a8,_0x566c98);}},_0x19606d=config['ai'][_0xa51118(0x205)][_0xa51118(0x208)],_0x63f67e=brainService[_0xa51118(0x1dc)](),_0x17476b=config[_0xa51118(0x228)]+_0xa51118(0x1fe)+_0x63f67e;if(_0x19606d[_0xa51118(0x1b2)]){let _0x191ce1='',_0x20076c=[];if(_0x1642bc[_0xa51118(0x213)](typeof _0x38db8d,_0x1642bc[_0xa51118(0x1e1)]))_0x191ce1=_0x38db8d;else{_0x191ce1=_0x38db8d[_0x1642bc[_0xa51118(0x217)](_0x38db8d[_0xa51118(0x200)],0x282+0xb11*0x1+0x182*-0x9)][_0xa51118(0x1fd)];const _0x3f9633=_0x38db8d[_0xa51118(0x203)](-0x2b2+0x15a4+-0x12f2,-(0x6b*-0x59+0x58f+0x1fa5));let _0x5bf6d3=[null,null];for(const _0x5da66d of _0x3f9633){_0x1642bc[_0xa51118(0x213)](_0x5da66d[_0xa51118(0x1bb)],_0x1642bc[_0xa51118(0x1f0)])?(_0x1642bc[_0xa51118(0x1c5)](_0x5bf6d3[0x164*-0x13+0x1161*0x2+0xc2*-0xb],null)&&(_0x20076c[_0xa51118(0x212)](_0x5bf6d3),_0x5bf6d3=[null,null]),_0x5bf6d3[0x4d9*-0x4+0x59f*-0x1+0x1903]=_0x5da66d[_0xa51118(0x1fd)]):(_0x5bf6d3[0x4ec+-0x1cc*0xa+0xd0d]=_0x5da66d[_0xa51118(0x1fd)],_0x20076c[_0xa51118(0x212)](_0x5bf6d3),_0x5bf6d3=[null,null]);}_0x1642bc[_0xa51118(0x1ad)](_0x5bf6d3[0x1*0xf67+0x1e77+-0x67*0x72],null)&&_0x20076c[_0xa51118(0x212)](_0x5bf6d3);}const _0x1e8da7=await _0x1642bc[_0xa51118(0x221)](fetch,_0x19606d[_0xa51118(0x1b2)][_0xa51118(0x1f7)](/\/$/,'')+_0xa51118(0x1e3),{'method':_0x1642bc[_0xa51118(0x1a4)],'headers':{'Content-Type':_0x1642bc[_0xa51118(0x1e8)],..._0x218901?{'Authorization':_0xa51118(0x1d4)+_0x218901}:{}},'body':JSON[_0xa51118(0x224)]({'data':[_0x191ce1,_0x20076c,_0x17476b,0x2*-0x1312+0x85a*-0x2+0x3ed8,-0x1*-0x220e+0x5*-0x6f1+0xa7+0.3,-0x37b*0x5+0x2*-0x11d4+-0x350f*-0x1+0.9]})});if(!_0x1e8da7['ok']){const _0x3b5c44=await _0x1e8da7[_0xa51118(0x207)]();throw new Error(_0xa51118(0x21d)+_0x1e8da7[_0xa51118(0x1ed)]+_0xa51118(0x1b7)+_0x3b5c44);}const {event_id:_0xeda5fb}=await _0x1e8da7[_0xa51118(0x1f5)](),_0x5a232e=_0x19606d[_0xa51118(0x1b2)][_0xa51118(0x1f7)](/\/$/,'')+_0xa51118(0x206)+_0xeda5fb,_0x5ef1da=await _0x1642bc[_0xa51118(0x1b3)](fetch,_0x5a232e),_0x456629=await _0x5ef1da[_0xa51118(0x207)](),_0x43bb99=_0x456629[_0xa51118(0x22d)]('\x0a');let _0x576f0b='';for(const _0x5c2c68 of _0x43bb99){if(_0x5c2c68[_0xa51118(0x22e)](_0x1642bc[_0xa51118(0x1a5)]))try{const _0x51d93c=JSON[_0xa51118(0x1e0)](_0x5c2c68[_0xa51118(0x1af)](0x34c*-0x9+0x11*0x20e+-0x10c*0x5));Array[_0xa51118(0x209)](_0x51d93c)&&(_0x576f0b=_0x51d93c[-0x1169+0x1181*-0x1+0xda*0x29]);}catch(_0x1998a8){}}if(!_0x576f0b)throw new Error(_0x1642bc[_0xa51118(0x1d9)]);return _0x576f0b;}const _0x2c5b0d=_0x1642bc[_0xa51118(0x213)](typeof _0x38db8d,_0x1642bc[_0xa51118(0x1e1)])?[{'role':_0x1642bc[_0xa51118(0x1d1)],'content':_0x17476b},{'role':_0x1642bc[_0xa51118(0x1f0)],'content':_0x38db8d}]:[{'role':_0x1642bc[_0xa51118(0x1d1)],'content':_0x17476b},..._0x38db8d[_0xa51118(0x1fa)](_0x22f218=>({'role':_0x22f218[_0xa51118(0x1bb)]===_0xa51118(0x216)?_0xa51118(0x216):_0xa51118(0x20a),'content':_0x22f218[_0xa51118(0x1fd)]}))],_0x2f210=await _0x1642bc[_0xa51118(0x1d3)](fetch,_0xa51118(0x1c6)+_0x410b12+_0xa51118(0x222),{'headers':{'Authorization':_0xa51118(0x1d4)+_0x218901,'Content-Type':_0x1642bc[_0xa51118(0x1e8)]},'method':_0x1642bc[_0xa51118(0x1a4)],'body':JSON[_0xa51118(0x224)]({'model':_0x410b12,'messages':_0x2c5b0d,'max_tokens':0x800,'temperature':0.3})});if(!_0x2f210['ok']){const _0x6d5827=await _0x2f210[_0xa51118(0x207)]();throw new Error(_0xa51118(0x1dd)+_0x2f210[_0xa51118(0x1ed)]+_0xa51118(0x1b7)+_0x6d5827);}const _0x610fc6=await _0x2f210[_0xa51118(0x1f5)]();return _0x610fc6[_0xa51118(0x1e9)][0x1*0x1535+0x16f9+-0x2c2e][_0xa51118(0x1df)][_0xa51118(0x1fd)][_0xa51118(0x1d2)]();},providerHandlers={'gemini':callGemini,'groq':callGroq,'huggingface':callHuggingFace},parseAiResponse=_0x5cab7f=>{const _0x4b62f7=_0x26a0e5,_0x3021ee={'dTOQq':_0x4b62f7(0x20c),'YpkGk':_0x4b62f7(0x1db),'DNnzy':_0x4b62f7(0x211),'InjLi':_0x4b62f7(0x1cc),'sWSAN':_0x4b62f7(0x1ce),'ziXjn':function(_0x41cf32,_0x506649){return _0x41cf32(_0x506649);},'neqez':_0x4b62f7(0x1d0),'DyHeV':_0x4b62f7(0x1ef)},_0x1251a9=_0x5cab7f[_0x4b62f7(0x229)](/\{[\s\S]*\}/);if(!_0x1251a9)throw new Error(_0x3021ee[_0x4b62f7(0x1d5)]);const _0x42e9e8=JSON[_0x4b62f7(0x1e0)](_0x1251a9[0x6b*0x33+0x1*0x2006+0xaab*-0x5]),_0x58bd80=[_0x3021ee[_0x4b62f7(0x22f)],_0x3021ee[_0x4b62f7(0x22a)],_0x3021ee[_0x4b62f7(0x1e7)],_0x3021ee[_0x4b62f7(0x1d7)]],_0x3b6ff5=_0x58bd80[_0x4b62f7(0x1b8)](_0x42e9e8[_0x4b62f7(0x231)])?_0x42e9e8[_0x4b62f7(0x231)]:_0x3021ee[_0x4b62f7(0x22a)];return{'cause':_0x3021ee[_0x4b62f7(0x214)](String,_0x42e9e8[_0x4b62f7(0x22c)]||_0x3021ee[_0x4b62f7(0x1ea)]),'explanation':_0x3021ee[_0x4b62f7(0x214)](String,_0x42e9e8[_0x4b62f7(0x1e5)]||''),'fix':Array[_0x4b62f7(0x209)](_0x42e9e8[_0x4b62f7(0x1e6)])?_0x42e9e8[_0x4b62f7(0x1e6)][_0x4b62f7(0x1fa)](String):[],'severity':_0x3b6ff5,'affectedMod':_0x3021ee[_0x4b62f7(0x214)](String,_0x42e9e8[_0x4b62f7(0x1a6)]||_0x3021ee[_0x4b62f7(0x1de)])};},analyzeWithKey=async(_0x3c9b57,_0x3642df)=>{const _0x296f62=_0x26a0e5,_0x2e032f={'kieIz':_0x296f62(0x1ac),'ZPZYh':_0x296f62(0x21f),'CZlKU':_0x296f62(0x1be),'oHUQd':_0x296f62(0x1c1),'pARvh':_0x296f62(0x21b),'gdNKo':_0x296f62(0x1db),'GXboV':_0x296f62(0x219),'gsbqy':function(_0x438b02,_0x4ee76e,_0x29b401,_0x32e7f7){return _0x438b02(_0x4ee76e,_0x29b401,_0x32e7f7);},'OwRFF':_0x296f62(0x1f6),'DHgOp':_0x296f62(0x1b0),'UXZxp':_0x296f62(0x20f),'OWRaj':_0x296f62(0x1c2),'WgHtl':function(_0x5c327b,_0x10fa0d){return _0x5c327b&&_0x10fa0d;},'LyVWe':function(_0x31d297,_0x2949b8){return _0x31d297(_0x2949b8);},'hbXhi':_0x296f62(0x1ec)};if(config[_0x296f62(0x1cf)][_0x296f62(0x220)])return{'type':_0x2e032f[_0x296f62(0x1bc)],'data':{'cause':_0x2e032f[_0x296f62(0x1c3)],'explanation':_0x2e032f[_0x296f62(0x1b9)],'fix':[_0x2e032f[_0x296f62(0x1fb)],_0x2e032f[_0x296f62(0x210)]],'severity':_0x2e032f[_0x296f62(0x1ae)],'affectedMod':_0x2e032f[_0x296f62(0x225)]},'rawText':'{}'};const _0x1f820b=providerHandlers[_0x3c9b57[_0x296f62(0x223)]];if(!_0x1f820b)throw new Error(_0x296f62(0x1cd)+_0x3c9b57[_0x296f62(0x223)]);const _0x57118c=await _0x2e032f[_0x296f62(0x1f3)](_0x1f820b,_0x3c9b57[_0x296f62(0x21a)],_0x3c9b57[_0x296f62(0x1eb)],_0x3642df);console[_0x296f62(0x1c4)](_0x2e032f[_0x296f62(0x1bd)],_0x57118c);let _0x2c40ab=_0x57118c;const _0x2fe949=_0x57118c[_0x296f62(0x1b8)]('1.')||_0x57118c[_0x296f62(0x1b8)](_0x2e032f[_0x296f62(0x1e4)])||_0x57118c[_0x296f62(0x1b8)](_0x2e032f[_0x296f62(0x22b)]),_0xe619c7=_0x57118c[_0x296f62(0x1b6)]()[_0x296f62(0x1b8)](_0x2e032f[_0x296f62(0x1b4)]);_0x2e032f[_0x296f62(0x1c8)](_0x2fe949,!_0xe619c7)&&!_0x57118c[_0x296f62(0x22e)]('{')&&(_0x2c40ab=_0x296f62(0x230)+_0x57118c);const _0x488ac7=_0x2c40ab[_0x296f62(0x229)](/\{[\s\S]*\}/);if(_0x488ac7)try{const _0x38416f=_0x2e032f[_0x296f62(0x1f8)](parseAiResponse,_0x2c40ab);return{'type':_0x2e032f[_0x296f62(0x1bc)],'data':_0x38416f,'rawText':_0x2c40ab};}catch(_0x16a5b0){return{'type':_0x2e032f[_0x296f62(0x1f4)],'text':_0x2c40ab,'rawText':_0x2c40ab};}else return{'type':_0x2e032f[_0x296f62(0x1f4)],'text':_0x2c40ab,'rawText':_0x2c40ab};};module[_0x26a0e5(0x1a9)]={'analyzeWithKey':analyzeWithKey};function _0x5173(){const _0x1fdf11=['content','\x0a\x0aBRAIN\x20CONTEXT:\x0a','oNyIC','length','eRwTt','create','slice','\x0a\x0aUser\x20Log:\x0a','providers','/gradio_api/call/respond/','text','huggingface','isArray','assistant','zALPn','AI\x20response\x20did\x20not\x20contain\x20valid\x20JSON','@google/generative-ai','1060763OLzQHq','Remove','pARvh','medium','push','pgvDX','ziXjn','2318956VPLLIy','user','ILkAO','application/json','Neural\x20Core','apiKey','Analysis\x20will\x20resume\x20automatically\x20once\x20the\x20neural\x20core\x20recalibrates.','3032ZGCFnH','HF\x20Space\x20Initiation\x20Error:\x20','getGenerativeModel','Extreme\x20Processing\x20Surge','mockMode','ajssQ','/v1/chat/completions','providerName','stringify','GXboV','groq-sdk','response','systemPrompt','match','DNnzy','UXZxp','cause','split','startsWith','YpkGk','**How\x20to\x20fix:**\x0a\x0a','severity','SvUTJ','HeLLh','affectedMod','system','128457wyafii','exports','\x0a\x0aUser\x20Input:\x0a','./brainService','analysis','xlLiY','gdNKo','substring','step','Failed\x20to\x20extract\x20response\x20from\x20HF\x20Space\x20stream.','spaceUrl','RauLY','OWRaj','FFnuy','toLowerCase','\x20-\x20','includes','CZlKU','nrVMS','role','kieIz','OwRFF','Our\x20systems\x20are\x20currently\x20handling\x20an\x20extreme\x20surge\x20in\x20data.\x20To\x20guarantee\x20the\x20high-precision\x20results\x20you\x20expect,\x20we\x20have\x20temporarily\x20limited\x20new\x20requests\x20to\x20maintain\x20100%\x20diagnostic\x20accuracy.','2559291jTPCEx','parts','Please\x20stand\x20by\x20for\x20a\x20moment\x20while\x20we\x20prioritize\x20your\x20processing\x20slot.','how\x20to\x20fix','ZPZYh','log','AciIZ','https://api-inference.huggingface.co/models/','8112225hsRTIf','WgHtl','generateContent','UrbBk','MaYzF','high','No\x20handler\x20for\x20provider:\x20','critical','server','Unknown\x20cause','ebxTC','trim','LHYAW','Bearer\x20','dTOQq','1108576ACwwNa','sWSAN','UXDyL','fbWQc','POST','low','getBrainContext','HuggingFace\x20Error:\x20','DyHeV','message','parse','mYeEE','367350XKfIrX','/gradio_api/call/respond','DHgOp','explanation','fix','InjLi','kKBja','choices','neqez','model','chat','status','string','Vanilla','tflSK','completions','data:\x20','gsbqy','hbXhi','json','[CRASHLENS]\x20Raw\x20AI\x20Response:','replace','LyVWe','../config','map','oHUQd','3xCZLPo'];_0x5173=function(){return _0x1fdf11;};return _0x5173();}
server/services/brainService.js CHANGED
@@ -1 +1 @@
1
- const _0x2811b8=_0x2de5;(function(_0x58d7c6,_0x1475a8){const _0x1fea13=_0x2de5,_0x485ccc=_0x58d7c6();while(!![]){try{const _0x23fb15=-parseInt(_0x1fea13(0x1a3))/(0x1bbf+-0x2046+0x488)+-parseInt(_0x1fea13(0x185))/(0x2*0x857+0x7b1+-0x185d)*(-parseInt(_0x1fea13(0x19f))/(-0x1ce8+-0x12a9+0x2f94))+-parseInt(_0x1fea13(0x187))/(-0xd54*0x1+0xb*0x221+-0xa13)+-parseInt(_0x1fea13(0x199))/(-0x16b8+-0x2257*0x1+0x3914)*(-parseInt(_0x1fea13(0x186))/(0x11*0x20+-0x199+-0x2b*0x3))+parseInt(_0x1fea13(0x193))/(0xdad+-0x20d8+-0x6*-0x333)*(parseInt(_0x1fea13(0x19e))/(-0x235e+0x419*0x2+0x1b34))+-parseInt(_0x1fea13(0x192))/(0x2268+-0x17eb+0x1be*-0x6)*(parseInt(_0x1fea13(0x1a2))/(-0x198b+0x47f*-0x1+-0xaf*-0x2c))+parseInt(_0x1fea13(0x1a6))/(0x427+0xe*-0xe9+-0xdd*-0xa);if(_0x23fb15===_0x1475a8)break;else _0x485ccc['push'](_0x485ccc['shift']());}catch(_0x77c200){_0x485ccc['push'](_0x485ccc['shift']());}}}(_0x2ca3,-0xdce7a+-0x13cc46+0x1f*0x16be1));const knowledgeModules=[{'id':_0x2811b8(0x191),'context':_0x2811b8(0x196)},{'id':_0x2811b8(0x18f),'context':_0x2811b8(0x1a4)},{'id':_0x2811b8(0x17f),'context':_0x2811b8(0x19d)}],fs=require('fs'),path=require(_0x2811b8(0x190)),loadKnownCrashes=()=>{const _0x3a07bb=_0x2811b8,_0xe0cc90={'MbMeQ':_0x3a07bb(0x17d),'yiTVX':_0x3a07bb(0x182),'JwFcS':_0x3a07bb(0x1a7),'RsrKm':_0x3a07bb(0x17c),'pJysG':_0x3a07bb(0x18e)};try{const _0xa0e305=path[_0x3a07bb(0x1a1)](__dirname,_0xe0cc90[_0x3a07bb(0x181)]);if(fs[_0x3a07bb(0x18a)](_0xa0e305)){const _0x52661a=fs[_0x3a07bb(0x189)](_0xa0e305,_0xe0cc90[_0x3a07bb(0x198)]),_0x48627c=JSON[_0x3a07bb(0x17e)](_0x52661a);let _0x1dff87=_0xe0cc90[_0x3a07bb(0x184)];return _0x48627c[_0x3a07bb(0x17b)](_0x24b65f=>{const _0x2d9215=_0x3a07bb;_0x1dff87+=_0x2d9215(0x18d)+_0x24b65f[_0x2d9215(0x195)]+_0x2d9215(0x18c)+_0x24b65f[_0x2d9215(0x18b)]+_0x2d9215(0x19b)+_0x24b65f[_0x2d9215(0x188)]+'\x0a';}),_0x1dff87;}}catch(_0x858110){console[_0x3a07bb(0x1a5)](_0xe0cc90[_0x3a07bb(0x194)],_0x858110);}return _0xe0cc90[_0x3a07bb(0x183)];},getBrainContext=()=>{const _0x413efe=_0x2811b8,_0x3320f6={'FVvLz':function(_0x23d645){return _0x23d645();}},_0x3e9ce1=knowledgeModules[_0x413efe(0x180)](_0xef5f55=>_0xef5f55[_0x413efe(0x1a0)])[_0x413efe(0x1a1)]('\x0a\x0a'),_0x527933=_0x3320f6[_0x413efe(0x19a)](loadKnownCrashes);return _0x3e9ce1+_0x413efe(0x197)+_0x527933;};function _0x2de5(_0x4f0ea7,_0x3026d8){_0x4f0ea7=_0x4f0ea7-(0x14aa+0x635+-0x1964);const _0xc30569=_0x2ca3();let _0x473e56=_0xc30569[_0x4f0ea7];return _0x473e56;}function _0x2ca3(){const _0x40d437=['exports','You\x20are\x20CrashX,\x20an\x20AI\x20assistant\x20developed\x20by\x20Eleeter.\x20Be\x20direct,\x20professional,\x20and\x20concise.\x20Never\x20mention\x20your\x20creator\x20unless\x20explicitly\x20asked.\x20If\x20explicitly\x20asked\x20who\x20made\x20you,\x20state\x20simply\x20that\x20you\x20were\x20developed\x20by\x20him,\x20without\x20adding\x20unnecessary\x20praise.\x20If\x20the\x20user\x20asks\x20who\x20Eleeter\x20is,\x20or\x20asks\x20to\x20see\x20his\x20profile,\x20you\x20must\x20refer\x20to\x20Eleeter\x20using\x20male\x20pronouns\x20(he/him)\x20and\x20provide\x20the\x20link\x20to\x20his\x20GitHub\x20profile:\x20[Eleeter\x27s\x20GitHub](https://github.com/Eleeterly).','8uUKWVb','415629Jrixyy','context','join','39110TFmZXE','893051wXQUig','When\x20providing\x20solutions\x20in\x20chat\x20mode,\x20always\x20structure\x20your\x20reply\x20with\x20a\x20clear\x20\x27How\x20to\x20fix:\x27\x20header\x20followed\x20by\x20step-by-step\x20instructions.\x20Use\x20bold\x20text\x20for\x20key\x20actions.','error','12724382DTeLoH','Here\x20is\x20a\x20database\x20of\x20highly\x20specific\x20known\x20Minecraft\x20crashes\x20and\x20their\x20exact\x20solutions.\x20Always\x20reference\x20this\x20database\x20before\x20inventing\x20a\x20solution:\x0a','forEach','[CRASHLENS]\x20Failed\x20to\x20load\x20known_crashes\x20database:','../data/known_crashes.json','parse','persona','map','MbMeQ','utf8','pJysG','JwFcS','14IIoaqq','23682ofuSpm','936800CixDam','fix','readFileSync','existsSync','cause','\x0a\x20\x20Cause:\x20','-\x20Error:\x20','You\x20have\x20access\x20to\x20an\x20external\x20crash\x20database,\x20but\x20it\x20is\x20currently\x20empty\x20or\x20offline.','format_rules','path','core_diagnostics','2637hppdOs','326179uKkcaX','RsrKm','signature','You\x20are\x20the\x20world\x27s\x20leading\x20expert\x20in\x20Minecraft\x20crash\x20diagnostics.\x20Your\x20goal\x20is\x20to\x20provide\x20assertive,\x20clear,\x20and\x20actionable\x20solutions.','\x0a\x0a===\x20KNOWN\x20CRASH\x20DATABASE\x20===\x0a','yiTVX','995jRvSiB','FVvLz','\x0a\x20\x20Fix:\x20'];_0x2ca3=function(){return _0x40d437;};return _0x2ca3();}module[_0x2811b8(0x19c)]={'getBrainContext':getBrainContext};
 
1
+ function _0x2d4b(){const _0x2c5e25=['\x0a\x0a===\x20KNOWN\x20CRASH\x20DATABASE\x20===\x0a','7YJvODQ','cause','1471359IXrOaz','persona','When\x20providing\x20solutions\x20in\x20chat\x20mode,\x20always\x20structure\x20your\x20reply\x20with\x20a\x20clear\x20\x27How\x20to\x20fix:\x27\x20header\x20followed\x20by\x20step-by-step\x20instructions.\x20Use\x20bold\x20text\x20for\x20key\x20actions.','1250796gmieoE','30dQEfPt','40cfjyvF','2993346XwEdTo','error','Here\x20is\x20a\x20database\x20of\x20highly\x20specific\x20known\x20Minecraft\x20crashes\x20and\x20their\x20exact\x20solutions.\x20Always\x20reference\x20this\x20database\x20before\x20inventing\x20a\x20solution:\x0a','2KsKgUk','You\x20are\x20the\x20world\x27s\x20leading\x20expert\x20in\x20Minecraft\x20crash\x20diagnostics.\x20Your\x20goal\x20is\x20to\x20provide\x20assertive,\x20clear,\x20and\x20actionable\x20solutions.','join','map','tlXHH','\x0a\x20\x20Fix:\x20','../data/known_crashes.json','VWMOV','188145MBGDyu','mGoUg','FbgXw','parse','forEach','signature','-\x20Error:\x20','You\x20are\x20CrashX,\x20an\x20AI\x20assistant\x20developed\x20by\x20Eleeter.\x20Be\x20direct,\x20professional,\x20and\x20concise.\x20Never\x20mention\x20your\x20creator\x20unless\x20explicitly\x20asked.\x20If\x20explicitly\x20asked\x20who\x20made\x20you,\x20state\x20simply\x20that\x20you\x20were\x20developed\x20by\x20him,\x20without\x20adding\x20unnecessary\x20praise.\x20If\x20the\x20user\x20asks\x20who\x20Eleeter\x20is,\x20or\x20asks\x20to\x20see\x20his\x20profile,\x20you\x20must\x20refer\x20to\x20Eleeter\x20using\x20male\x20pronouns\x20(he/him)\x20and\x20provide\x20the\x20link\x20to\x20his\x20GitHub\x20profile:\x20[Eleeter\x27s\x20GitHub](https://github.com/Eleeterly).','core_diagnostics','exports','7771968wamWTr','format_rules','fix','context','readFileSync','yHcXV','utf8','\x0a\x20\x20Cause:\x20','path','407560HKafCt','583HUTBCI','9783120bnocfu','DeJum','[CRASHLENS]\x20Failed\x20to\x20load\x20known_crashes\x20database:','existsSync','You\x20have\x20access\x20to\x20an\x20external\x20crash\x20database,\x20but\x20it\x20is\x20currently\x20empty\x20or\x20offline.'];_0x2d4b=function(){return _0x2c5e25;};return _0x2d4b();}function _0x186f(_0x521af1,_0x4c8f78){_0x521af1=_0x521af1-(-0x15b2+0x191f+-0x1ee);const _0x29d147=_0x2d4b();let _0x38e3ee=_0x29d147[_0x521af1];return _0x38e3ee;}const _0x38797b=_0x186f;(function(_0x38ab65,_0x54f0dd){const _0x1ec22a=_0x186f,_0x4ed88e=_0x38ab65();while(!![]){try{const _0x313464=-parseInt(_0x1ec22a(0x1a3))/(-0x9d0+-0x1ca2+0x2673*0x1)*(-parseInt(_0x1ec22a(0x19b))/(-0xe2*-0xf+0x1e84+-0x8c*0x50))+-parseInt(_0x1ec22a(0x192))/(-0xf54+0x17b*-0x11+0x2882)+parseInt(_0x1ec22a(0x188))/(0x131f+-0xb65*0x2+0x3af)*(-parseInt(_0x1ec22a(0x196))/(-0xf*0xa3+0xa7*0x20+-0xb4e))+-parseInt(_0x1ec22a(0x17f))/(-0x1*0x57e+-0x251b+0x2a9f)+parseInt(_0x1ec22a(0x190))/(0x1fce+-0x83*-0x12+-0x1*0x28fd)*(-parseInt(_0x1ec22a(0x18a))/(0x2a1*0x5+-0x1f0d+0x11f0))+parseInt(_0x1ec22a(0x198))/(0x666+0x1*-0x205+-0x458)*(-parseInt(_0x1ec22a(0x197))/(0x1*-0x8e3+0x23d*0x5+-0x244))+parseInt(_0x1ec22a(0x189))/(-0x119*-0x1a+0x11b5+0x2*-0x171a)*(parseInt(_0x1ec22a(0x195))/(-0x51+0x8f3+-0x896));if(_0x313464===_0x54f0dd)break;else _0x4ed88e['push'](_0x4ed88e['shift']());}catch(_0x142e27){_0x4ed88e['push'](_0x4ed88e['shift']());}}}(_0x2d4b,0x431e1+-0x143b81*0x1+-0x7*-0x3f3cd));const knowledgeModules=[{'id':_0x38797b(0x1ab),'context':_0x38797b(0x19c)},{'id':_0x38797b(0x180),'context':_0x38797b(0x194)},{'id':_0x38797b(0x193),'context':_0x38797b(0x1aa)}],fs=require('fs'),path=require(_0x38797b(0x187)),loadKnownCrashes=()=>{const _0x9a14a=_0x38797b,_0x2d2111={'yHcXV':_0x9a14a(0x1a1),'FbgXw':_0x9a14a(0x185),'VWMOV':_0x9a14a(0x19a),'tlXHH':_0x9a14a(0x18c),'mGoUg':_0x9a14a(0x18e)};try{const _0x4b9c46=path[_0x9a14a(0x19d)](__dirname,_0x2d2111[_0x9a14a(0x184)]);if(fs[_0x9a14a(0x18d)](_0x4b9c46)){const _0x1325a4=fs[_0x9a14a(0x183)](_0x4b9c46,_0x2d2111[_0x9a14a(0x1a5)]),_0x40741e=JSON[_0x9a14a(0x1a6)](_0x1325a4);let _0x2ae485=_0x2d2111[_0x9a14a(0x1a2)];return _0x40741e[_0x9a14a(0x1a7)](_0x1a0b4d=>{const _0x2ff0a1=_0x9a14a;_0x2ae485+=_0x2ff0a1(0x1a9)+_0x1a0b4d[_0x2ff0a1(0x1a8)]+_0x2ff0a1(0x186)+_0x1a0b4d[_0x2ff0a1(0x191)]+_0x2ff0a1(0x1a0)+_0x1a0b4d[_0x2ff0a1(0x181)]+'\x0a';}),_0x2ae485;}}catch(_0x31590d){console[_0x9a14a(0x199)](_0x2d2111[_0x9a14a(0x19f)],_0x31590d);}return _0x2d2111[_0x9a14a(0x1a4)];},getBrainContext=()=>{const _0x2463ba=_0x38797b,_0x36cf72={'DeJum':function(_0x876d31){return _0x876d31();}},_0x42f569=knowledgeModules[_0x2463ba(0x19e)](_0x4249a0=>_0x4249a0[_0x2463ba(0x182)])[_0x2463ba(0x19d)]('\x0a\x0a'),_0x71c735=_0x36cf72[_0x2463ba(0x18b)](loadKnownCrashes);return _0x42f569+_0x2463ba(0x18f)+_0x71c735;};module[_0x38797b(0x1ac)]={'getBrainContext':getBrainContext};
server/services/keyRotator.js CHANGED
@@ -1 +1 @@
1
- const _0x535dbe=_0x264a;function _0x264a(_0x20210f,_0x547c7f){_0x20210f=_0x20210f-(-0x4c3+0x81b+-0x1cd);const _0xad0c12=_0xd795();let _0xbeebdb=_0xad0c12[_0x20210f];return _0xbeebdb;}(function(_0x7f0445,_0x2f2885){const _0x1d20a8=_0x264a,_0x3164b4=_0x7f0445();while(!![]){try{const _0x36a292=-parseInt(_0x1d20a8(0x199))/(-0x24e5+0x14*-0x136+0x2*0x1e8f)+-parseInt(_0x1d20a8(0x18b))/(0x3b2+-0x5f3*0x1+0x243)*(-parseInt(_0x1d20a8(0x18d))/(-0x1*-0x136+-0x1*-0xde5+0x15*-0xb8))+-parseInt(_0x1d20a8(0x1b3))/(-0x132d+0x2599+-0x1268)*(parseInt(_0x1d20a8(0x18f))/(-0x1a10+-0x23+0x1a38))+-parseInt(_0x1d20a8(0x196))/(-0x5*-0x15b+0x7d3*0x1+0x1*-0xe94)+-parseInt(_0x1d20a8(0x19c))/(-0x18f*-0x15+0x6*0x1e5+-0x2c12)*(parseInt(_0x1d20a8(0x1a5))/(-0x34b+-0x21c0+0x2513))+parseInt(_0x1d20a8(0x1a4))/(0x6d*0x19+0x12f0+-0x1d8c)*(-parseInt(_0x1d20a8(0x1ad))/(0x1d8d+0x1fcb+0xe*-0x461))+parseInt(_0x1d20a8(0x1b1))/(0x45*-0x8f+-0x23e4+0x4a7a*0x1);if(_0x36a292===_0x2f2885)break;else _0x3164b4['push'](_0x3164b4['shift']());}catch(_0x13adbc){_0x3164b4['push'](_0x3164b4['shift']());}}}(_0xd795,0x6*0x64d3+-0x612*0x106+-0xc*-0xb09a));const config=require(_0x535dbe(0x197)),MILLISECONDS_IN_A_DAY=-0x8e17837+0x6cd84be+0x73a4f79;function buildKeyRotator(){const _0x485c04=_0x535dbe,_0xeb4702={'MzaFN':function(_0x58e862,_0x5a1d03){return _0x58e862>=_0x5a1d03;},'DZlil':function(_0x1956c5,_0x1a60e6){return _0x1956c5+_0x1a60e6;},'eiDcC':function(_0x13f37d,_0x10528b){return _0x13f37d<_0x10528b;},'JArps':function(_0x7fef81,_0x309a89,_0x343fd6){return _0x7fef81(_0x309a89,_0x343fd6);},'HWmHV':function(_0x514a9d,_0x108fe2){return _0x514a9d<_0x108fe2;},'CiSIL':function(_0x57c1ae,_0x2fd631){return _0x57c1ae%_0x2fd631;},'enDrB':function(_0x6c8138,_0x305760){return _0x6c8138(_0x305760);},'jaDHq':function(_0x434822,_0x575aa0){return _0x434822!==_0x575aa0;},'pRqgD':function(_0x32c255){return _0x32c255();},'wLYKu':function(_0x10bc7b,_0x42d3a4){return _0x10bc7b(_0x42d3a4);},'FkRDm':function(_0x58ed26,_0x23ad32){return _0x58ed26===_0x23ad32;},'TnjYv':function(_0x53a1f5,_0x226d71){return _0x53a1f5+_0x226d71;},'YeMNn':function(_0x4ce81a,_0x5d1022){return _0x4ce81a*_0x5d1022;}},_0x2fa601=Object[_0x485c04(0x1a8)](config['ai'][_0x485c04(0x1b5)]);let _0x329922=_0x2fa601[_0x485c04(0x1af)](config['ai'][_0x485c04(0x194)]);_0xeb4702[_0x485c04(0x1b6)](_0x329922,-(-0x391+-0xae2+0xe74))&&(_0x329922=0x265*-0xd+-0x39e*0x6+0x34d5);const _0x24d7b0={};_0x2fa601[_0x485c04(0x190)](_0x315f12=>{const _0x1bd066=_0x485c04,_0x55166a=config['ai'][_0x1bd066(0x1b5)][_0x315f12][_0x1bd066(0x1a8)][_0x1bd066(0x191)];_0x24d7b0[_0x315f12]=Array[_0x1bd066(0x1b4)]({'length':_0x55166a},()=>({'requestCount':0x0,'resetTimestamp':Date[_0x1bd066(0x1a2)]()+MILLISECONDS_IN_A_DAY,'cooldownUntil':0x0}));});const _0x4101d3=()=>_0x2fa601[_0x329922],_0x1e1b68=(_0x1ac12a,_0x4db4bf)=>{const _0xaef0b=_0x485c04,_0x267603=_0x24d7b0[_0x1ac12a][_0x4db4bf];_0xeb4702[_0xaef0b(0x19a)](Date[_0xaef0b(0x1a2)](),_0x267603[_0xaef0b(0x1ab)])&&(_0x267603[_0xaef0b(0x1b7)]=0x44c+-0x7b9+0x1*0x36d,_0x267603[_0xaef0b(0x1ab)]=_0xeb4702[_0xaef0b(0x18e)](Date[_0xaef0b(0x1a2)](),MILLISECONDS_IN_A_DAY));},_0x54e80f=_0x363575=>{const _0x1dae68=_0x485c04,_0x1f46e1=_0x24d7b0[_0x363575];for(let _0x57a80d=0x3*0xc1+-0xd0e+-0xacb*-0x1;_0xeb4702[_0x1dae68(0x19d)](_0x57a80d,_0x1f46e1[_0x1dae68(0x191)]);_0x57a80d++){_0xeb4702[_0x1dae68(0x19e)](_0x1e1b68,_0x363575,_0x57a80d);const _0x40465b=_0x1f46e1[_0x57a80d];if(_0xeb4702[_0x1dae68(0x18c)](_0x40465b[_0x1dae68(0x1b7)],config['ai'][_0x1dae68(0x1a7)])&&_0xeb4702[_0x1dae68(0x19a)](Date[_0x1dae68(0x1a2)](),_0x40465b[_0x1dae68(0x198)]))return _0x57a80d;}return-(-0x8cc*0x2+0x2*-0x725+0x1fe3);},_0x18cfff=()=>{const _0x3e58ee=_0x485c04,_0x25b76b=_0x2fa601[_0x3e58ee(0x191)];for(let _0x33f149=0x2527+-0x1*0x5e9+0x2d7*-0xb;_0xeb4702[_0x3e58ee(0x18c)](_0x33f149,_0x25b76b);_0x33f149++){const _0x3abe9d=_0xeb4702[_0x3e58ee(0x1a9)](_0xeb4702[_0x3e58ee(0x18e)](_0x329922,_0x33f149),_0x25b76b),_0x20f5b4=_0x2fa601[_0x3abe9d],_0x1369d5=_0xeb4702[_0x3e58ee(0x1a1)](_0x54e80f,_0x20f5b4);if(_0xeb4702[_0x3e58ee(0x1a6)](_0x1369d5,-(0x1677*-0x1+0x22d5+-0xd3*0xf)))return _0x329922=_0x3abe9d,!![];}return![];},_0x4654ab=()=>{const _0x20b00d=_0x485c04,_0x4e7bb9=_0xeb4702[_0x20b00d(0x1b2)](_0x4101d3);let _0x2e0bc5=_0xeb4702[_0x20b00d(0x192)](_0x54e80f,_0x4e7bb9);if(_0xeb4702[_0x20b00d(0x1b6)](_0x2e0bc5,-(-0x1*0x2014+0x2*0x120f+-0x409)))return null;return _0x24d7b0[_0x4e7bb9][_0x2e0bc5][_0x20b00d(0x1b7)]++,{'providerName':_0x4e7bb9,'keyIndex':_0x2e0bc5,'apiKey':config['ai'][_0x20b00d(0x1b5)][_0x4e7bb9][_0x20b00d(0x1a8)][_0x2e0bc5],'model':config['ai'][_0x20b00d(0x1b5)][_0x4e7bb9][_0x20b00d(0x19f)]};},_0x186ea8=()=>{const _0x49aef9=_0x485c04;return _0x2fa601[_0x49aef9(0x1ae)](_0x599c5e=>({'providerName':_0x599c5e,'keys':_0x24d7b0[_0x599c5e][_0x49aef9(0x1ae)]((_0x136a33,_0x5d1456)=>({'keyIndex':_0x5d1456,'requestCount':_0x136a33[_0x49aef9(0x1b7)],'dailyLimit':config['ai'][_0x49aef9(0x1a7)],'resetsAt':new Date(_0x136a33[_0x49aef9(0x1ab)])[_0x49aef9(0x1ac)]()}))}));},_0xbdf7ba=(_0xcd97f,_0x266e6b)=>{const _0x264895=_0x485c04;_0x24d7b0[_0xcd97f]&&_0x24d7b0[_0xcd97f][_0x266e6b]&&(_0x24d7b0[_0xcd97f][_0x266e6b][_0x264895(0x198)]=_0xeb4702[_0x264895(0x1aa)](Date[_0x264895(0x1a2)](),_0xeb4702[_0x264895(0x19b)](_0xeb4702[_0x264895(0x19b)](0x26fb+0x5*-0x295+-0x1a0d,0x2*-0xb3+-0x23fc+0x259e),-0x2a*-0x31+-0x286+0x2*-0xce)),console[_0x264895(0x1b0)](_0x264895(0x195)+_0x266e6b+_0x264895(0x193)+_0xcd97f+_0x264895(0x1a3)));};return{'acquireKey':_0x4654ab,'getStatus':_0x186ea8,'markKeyAsRateLimited':_0xbdf7ba};}const keyRotator=buildKeyRotator();function _0xd795(){const _0x45662a=['forEach','length','wLYKu','\x20for\x20','defaultProvider','[CRASHLENS]\x20Key\x20','2523870zDvpJk','../config','cooldownUntil','85117LTxlWh','MzaFN','YeMNn','189WPHpPr','eiDcC','JArps','model','exports','enDrB','now','\x20marked\x20as\x20rate-limited.\x20Cooldown\x20active.','2098719tDnGGk','2704fQVbZj','jaDHq','keyDailyLimit','keys','CiSIL','TnjYv','resetTimestamp','toISOString','10AJUZGG','map','indexOf','log','12670614UjXPcn','pRqgD','4kpxCHb','from','providers','FkRDm','requestCount','2xCjbvX','HWmHV','1301457uZRXUx','DZlil','2736880rzgeRx'];_0xd795=function(){return _0x45662a;};return _0xd795();}module[_0x535dbe(0x1a0)]=keyRotator;
 
1
+ const _0x3d2819=_0x4b78;(function(_0x1a625b,_0x32230d){const _0x24815d=_0x4b78,_0xc9f6e4=_0x1a625b();while(!![]){try{const _0x55f963=-parseInt(_0x24815d(0xcd))/(-0x2500+0x188c+0xc75)+-parseInt(_0x24815d(0xc4))/(0x71*0x27+0xa62+-0x7*0x3f1)*(parseInt(_0x24815d(0xd6))/(0xc98+0xefc+-0x1b91))+parseInt(_0x24815d(0xd3))/(0x1599+0x2681*0x1+0x2*-0x1e0b)*(-parseInt(_0x24815d(0xe2))/(-0x1*0x1aaf+-0xa09*-0x3+-0x367))+parseInt(_0x24815d(0xc0))/(-0x19*-0x1a+-0x11*0x1f3+0xa35*0x3)+-parseInt(_0x24815d(0xda))/(0x8*-0x452+0xe*0xd+0x21e1)+parseInt(_0x24815d(0xcf))/(0xaf5+0x1*0xbec+0x1*-0x16d9)+parseInt(_0x24815d(0xcc))/(0x16a9+-0x3db*-0x4+0x4*-0x983);if(_0x55f963===_0x32230d)break;else _0xc9f6e4['push'](_0xc9f6e4['shift']());}catch(_0x5b8308){_0xc9f6e4['push'](_0xc9f6e4['shift']());}}}(_0x5b75,-0xa4fb*-0x11+0x28f42*0x1+-0x70ff1));function _0x4b78(_0x3e8abf,_0x690b52){_0x3e8abf=_0x3e8abf-(0x80*0x3e+0x925+-0x2767);const _0x438ec7=_0x5b75();let _0x3745a6=_0x438ec7[_0x3e8abf];return _0x3745a6;}const config=require(_0x3d2819(0xe8)),MILLISECONDS_IN_A_DAY=0x7f83e4c+0x2072357*-0x5+-0xc8cb*-0x955;function buildKeyRotator(){const _0x530239=_0x3d2819,_0x56a019={'rTCjv':function(_0x2bd987,_0x50f45a){return _0x2bd987>=_0x50f45a;},'LHasR':function(_0x233f06,_0x11f2db){return _0x233f06+_0x11f2db;},'nDkck':function(_0x3609d9,_0x490317){return _0x3609d9<_0x490317;},'ZwSlB':function(_0x2e9db5,_0x13563d,_0x3461f0){return _0x2e9db5(_0x13563d,_0x3461f0);},'WziIY':function(_0x36b0df,_0x3a1240){return _0x36b0df>=_0x3a1240;},'CyBlG':function(_0x5f471e,_0x21a282){return _0x5f471e<_0x21a282;},'qLjHe':function(_0x1c3589,_0x16aedd){return _0x1c3589%_0x16aedd;},'hVJRU':function(_0x188ee8,_0x57e336){return _0x188ee8(_0x57e336);},'GXtsD':function(_0xcb635f,_0x3543c3){return _0xcb635f!==_0x3543c3;},'cIuCJ':function(_0x37197e){return _0x37197e();},'KpBnT':function(_0xf5740b,_0x3e57bb){return _0xf5740b(_0x3e57bb);},'KcBfi':function(_0x506025,_0x313262){return _0x506025===_0x313262;},'OfMtp':function(_0x2e4a96,_0xe18f7e){return _0x2e4a96*_0xe18f7e;}},_0x173750=Object[_0x530239(0xdb)](config['ai'][_0x530239(0xdd)]);let _0x41e1a7=_0x173750[_0x530239(0xdc)](config['ai'][_0x530239(0xd9)]);_0x56a019[_0x530239(0xd0)](_0x41e1a7,-(0x14b9+0x759*-0x2+-0x1*0x606))&&(_0x41e1a7=0x6*0x265+0x1286*0x1+-0x1072*0x2);const _0x3da56e={};_0x173750[_0x530239(0xc7)](_0x293a66=>{const _0x56b7bd=_0x530239,_0x2e4225=config['ai'][_0x56b7bd(0xdd)][_0x293a66][_0x56b7bd(0xdb)][_0x56b7bd(0xca)];_0x3da56e[_0x293a66]=Array[_0x56b7bd(0xc3)]({'length':_0x2e4225},()=>({'requestCount':0x0,'resetTimestamp':Date[_0x56b7bd(0xc6)]()+MILLISECONDS_IN_A_DAY,'cooldownUntil':0x0}));});const _0x1e6b46=()=>_0x173750[_0x41e1a7],_0x3abd29=(_0x5009ad,_0xe036d8)=>{const _0x35d6f4=_0x530239,_0x4cb8b6=_0x3da56e[_0x5009ad][_0xe036d8];_0x56a019[_0x35d6f4(0xbf)](Date[_0x35d6f4(0xc6)](),_0x4cb8b6[_0x35d6f4(0xc2)])&&(_0x4cb8b6[_0x35d6f4(0xd7)]=-0x509+-0x22d5+0x27de,_0x4cb8b6[_0x35d6f4(0xc2)]=_0x56a019[_0x35d6f4(0xe3)](Date[_0x35d6f4(0xc6)](),MILLISECONDS_IN_A_DAY));},_0x3613f0=_0x4e5643=>{const _0x2e2e0d=_0x530239,_0x152687=_0x3da56e[_0x4e5643];for(let _0x4c0980=-0x1864+-0x1*0x11c5+0x2a29;_0x56a019[_0x2e2e0d(0xd5)](_0x4c0980,_0x152687[_0x2e2e0d(0xca)]);_0x4c0980++){_0x56a019[_0x2e2e0d(0xd2)](_0x3abd29,_0x4e5643,_0x4c0980);const _0x377f16=_0x152687[_0x4c0980];if(_0x56a019[_0x2e2e0d(0xd5)](_0x377f16[_0x2e2e0d(0xd7)],config['ai'][_0x2e2e0d(0xc5)])&&_0x56a019[_0x2e2e0d(0xc1)](Date[_0x2e2e0d(0xc6)](),_0x377f16[_0x2e2e0d(0xdf)]))return _0x4c0980;}return-(0x14c8+0x11d8+-0x269f);},_0x50b0aa=()=>{const _0x157788=_0x530239,_0x5a39ff=_0x173750[_0x157788(0xca)];for(let _0x1e6cea=0x1faf+-0x2425+0x1*0x477;_0x56a019[_0x157788(0xe5)](_0x1e6cea,_0x5a39ff);_0x1e6cea++){const _0xc3a8ba=_0x56a019[_0x157788(0xde)](_0x56a019[_0x157788(0xe3)](_0x41e1a7,_0x1e6cea),_0x5a39ff),_0x5db56e=_0x173750[_0xc3a8ba],_0x7f3c7b=_0x56a019[_0x157788(0xe4)](_0x3613f0,_0x5db56e);if(_0x56a019[_0x157788(0xe0)](_0x7f3c7b,-(-0x33b*-0x2+0x2*-0x37d+0x85)))return _0x41e1a7=_0xc3a8ba,!![];}return![];},_0x52b750=()=>{const _0xd41a77=_0x530239,_0x1e8adc=_0x56a019[_0xd41a77(0xd8)](_0x1e6b46);let _0x46fc91=_0x56a019[_0xd41a77(0xe1)](_0x3613f0,_0x1e8adc);if(_0x56a019[_0xd41a77(0xd0)](_0x46fc91,-(-0x4*0x869+0x1*0x1a05+0x7a0)))return null;return _0x3da56e[_0x1e8adc][_0x46fc91][_0xd41a77(0xd7)]++,{'providerName':_0x1e8adc,'keyIndex':_0x46fc91,'apiKey':config['ai'][_0xd41a77(0xdd)][_0x1e8adc][_0xd41a77(0xdb)][_0x46fc91],'model':config['ai'][_0xd41a77(0xdd)][_0x1e8adc][_0xd41a77(0xce)]};},_0x5471b3=()=>{const _0x1d1101=_0x530239;return _0x173750[_0x1d1101(0xe7)](_0x3fe9f6=>({'providerName':_0x3fe9f6,'keys':_0x3da56e[_0x3fe9f6][_0x1d1101(0xe7)]((_0x5d1033,_0x278c92)=>({'keyIndex':_0x278c92,'requestCount':_0x5d1033[_0x1d1101(0xd7)],'dailyLimit':config['ai'][_0x1d1101(0xc5)],'resetsAt':new Date(_0x5d1033[_0x1d1101(0xc2)])[_0x1d1101(0xbe)]()}))}));},_0x2ffe06=(_0x1b011e,_0x496f18)=>{const _0x4cb036=_0x530239;_0x3da56e[_0x1b011e]&&_0x3da56e[_0x1b011e][_0x496f18]&&(_0x3da56e[_0x1b011e][_0x496f18][_0x4cb036(0xdf)]=_0x56a019[_0x4cb036(0xe3)](Date[_0x4cb036(0xc6)](),_0x56a019[_0x4cb036(0xc8)](_0x56a019[_0x4cb036(0xc8)](0x11ab+0x3*-0xaaf+-0xe67*-0x1,0x1d67+-0x1*0x8fb+-0x1430),-0x1283+-0x4bd+0x1b28)),console[_0x4cb036(0xe6)](_0x4cb036(0xd1)+_0x496f18+_0x4cb036(0xc9)+_0x1b011e+_0x4cb036(0xd4)));};return{'acquireKey':_0x52b750,'getStatus':_0x5471b3,'markKeyAsRateLimited':_0x2ffe06};}const keyRotator=buildKeyRotator();function _0x5b75(){const _0x29e6cf=['KcBfi','[CRASHLENS]\x20Key\x20','ZwSlB','4fAtind','\x20marked\x20as\x20rate-limited.\x20Cooldown\x20active.','nDkck','125847EAYGmL','requestCount','cIuCJ','defaultProvider','2291226dGGVDz','keys','indexOf','providers','qLjHe','cooldownUntil','GXtsD','KpBnT','4013560gErzRy','LHasR','hVJRU','CyBlG','log','map','../config','toISOString','rTCjv','1912350LRCVZV','WziIY','resetTimestamp','from','34uFwclF','keyDailyLimit','now','forEach','OfMtp','\x20for\x20','length','exports','18553266wkftiV','369234fLGWPh','model','2040848KDKJCx'];_0x5b75=function(){return _0x29e6cf;};return _0x5b75();}module[_0x3d2819(0xcb)]=keyRotator;
server/services/logCompactor.js CHANGED
@@ -1 +1 @@
1
- const _0x4e9255=_0x4fd4;(function(_0x5ab0bb,_0x2999f1){const _0x4f5d37=_0x4fd4,_0x1c2a49=_0x5ab0bb();while(!![]){try{const _0x31b7a6=-parseInt(_0x4f5d37(0xe3))/(-0x1*-0x157f+-0x635*0x2+-0x914)*(parseInt(_0x4f5d37(0xdb))/(-0x2189+0x2275*0x1+0x9*-0x1a))+parseInt(_0x4f5d37(0xe8))/(0x1*0x15c7+-0x1*-0x1bd1+-0x3195)+parseInt(_0x4f5d37(0xd5))/(0x1*-0x2687+0x16a5+0x37*0x4a)*(parseInt(_0x4f5d37(0xe2))/(-0xf37+0x17df*-0x1+0x271b))+parseInt(_0x4f5d37(0xf6))/(0xdb3+-0x1f*0x120+0x1533)+-parseInt(_0x4f5d37(0xe6))/(0x6c3*0x1+0xd5*-0x6+-0x1be)*(-parseInt(_0x4f5d37(0xe0))/(-0x128d+0x5a3+0xcf2))+-parseInt(_0x4f5d37(0xdf))/(-0x1c*-0xe5+0xfd2+0x1*-0x28d5)+parseInt(_0x4f5d37(0xf2))/(-0x1*0x1a32+-0x1991+0x95*0x59);if(_0x31b7a6===_0x2999f1)break;else _0x1c2a49['push'](_0x1c2a49['shift']());}catch(_0x459649){_0x1c2a49['push'](_0x1c2a49['shift']());}}}(_0x4dac,0x50245*-0x1+-0x7765b+0x2f*0x6212));function _0x4dac(){const _0x233a04=['704658LkgKBT','split','GMRIj','Exception','Error:','ahMBz','xQFVm','372436fMInzJ','DkTPA','---\x20START\x20OF\x20LOG\x20(HEADER)\x20---','some','Jangr','slice','4xZYqRp','YXiPL','vlsZQ','CRITICAL','2783574dDtPss','287768SnRlTU','tzJGV','10EXtuvg','289249YiSnLJ','wIlsx','Stacktrace:','35RXwLkg','exports','600315dHBfcp','FATAL','nzJIJ','max','wUVMW','min','join','\x0a---\x20DETECTED\x20ERROR\x20CONTEXT\x20---','push','\x0a---\x20END\x20OF\x20LOG\x20(SYSTEM\x20SPECS)\x20---','5668330RBpXsl','CxvVd','includes','length'];_0x4dac=function(){return _0x233a04;};return _0x4dac();}const compactLog=_0x1dd59b=>{const _0x36fa91=_0x4fd4,_0x5cca7a={'CxvVd':function(_0x1e3cbb,_0x410ec5){return _0x1e3cbb<_0x410ec5;},'GMRIj':_0x36fa91(0xd7),'ahMBz':_0x36fa91(0xd1),'nzJIJ':_0x36fa91(0xd2),'xQFVm':_0x36fa91(0xe5),'Jangr':_0x36fa91(0xe9),'wUVMW':_0x36fa91(0xde),'wIlsx':function(_0x54d582,_0x42df0b){return _0x54d582<_0x42df0b;},'DkTPA':_0x36fa91(0xef),'tzJGV':function(_0x3d6eea,_0x377dbd){return _0x3d6eea-_0x377dbd;},'YXiPL':function(_0x5f13f6,_0xc87c2a){return _0x5f13f6+_0xc87c2a;},'vlsZQ':_0x36fa91(0xf1)};if(!_0x1dd59b||_0x5cca7a[_0x36fa91(0xf3)](_0x1dd59b[_0x36fa91(0xf5)],0x12c4+-0xfb8+-0x14*-0xd3))return _0x1dd59b;const _0x3a54f5=_0x1dd59b[_0x36fa91(0xf7)]('\x0a');if(_0x5cca7a[_0x36fa91(0xf3)](_0x3a54f5[_0x36fa91(0xf5)],-0x379+0x235+-0x2*-0x106))return _0x1dd59b;const _0x3f98ad=[];_0x3f98ad[_0x36fa91(0xf0)](_0x5cca7a[_0x36fa91(0xd0)]),_0x3f98ad[_0x36fa91(0xf0)](..._0x3a54f5[_0x36fa91(0xda)](-0x1bf0+-0x1699+-0x3289*-0x1,0xa33+0x1*-0xe19+0x44a));const _0x370517=[_0x5cca7a[_0x36fa91(0xd3)],_0x5cca7a[_0x36fa91(0xea)],_0x5cca7a[_0x36fa91(0xd4)],_0x5cca7a[_0x36fa91(0xd9)],_0x5cca7a[_0x36fa91(0xec)]];let _0x2910c6=![];for(let _0x3cf626=-0x1baf+0x10d*0x21+0x166*-0x5;_0x5cca7a[_0x36fa91(0xe4)](_0x3cf626,_0x3a54f5[_0x36fa91(0xf5)]);_0x3cf626++){if(_0x370517[_0x36fa91(0xd8)](_0x27d15c=>_0x3a54f5[_0x3cf626][_0x36fa91(0xf4)](_0x27d15c))){_0x3f98ad[_0x36fa91(0xf0)](_0x5cca7a[_0x36fa91(0xd6)]);const _0x2684c5=Math[_0x36fa91(0xeb)](-0x141c+-0x80f*0x1+0x1*0x1c2b,_0x5cca7a[_0x36fa91(0xe1)](_0x3cf626,-0x7*0x459+0x3*-0xc31+0x3f4*0x11)),_0x15294c=Math[_0x36fa91(0xed)](_0x3a54f5[_0x36fa91(0xf5)],_0x5cca7a[_0x36fa91(0xdc)](_0x3cf626,0x52b+-0xe*0xdb+0x765));_0x3f98ad[_0x36fa91(0xf0)](..._0x3a54f5[_0x36fa91(0xda)](_0x2684c5,_0x15294c)),_0x2910c6=!![];break;}}return _0x3f98ad[_0x36fa91(0xf0)](_0x5cca7a[_0x36fa91(0xdd)]),_0x3f98ad[_0x36fa91(0xf0)](..._0x3a54f5[_0x36fa91(0xda)](-(-0x1c53*0x1+0x35*-0x71+0x341c))),_0x3f98ad[_0x36fa91(0xee)]('\x0a');};function _0x4fd4(_0x5b6f5d,_0x203520){_0x5b6f5d=_0x5b6f5d-(-0x179+-0x12a*0x13+0x1867);const _0x28a58d=_0x4dac();let _0x4c016b=_0x28a58d[_0x5b6f5d];return _0x4c016b;}module[_0x4e9255(0xe7)]={'compactLog':compactLog};
 
1
+ function _0x1db7(_0x2d64d7,_0x184e59){_0x2d64d7=_0x2d64d7-(-0x7a3+0x37c+-0x4e9*-0x1);const _0x44fffc=_0x79fd();let _0x5c75f9=_0x44fffc[_0x2d64d7];return _0x5c75f9;}const _0x205c13=_0x1db7;(function(_0x53de6d,_0x5542ac){const _0x5cfa62=_0x1db7,_0x8be08a=_0x53de6d();while(!![]){try{const _0x514e7e=parseInt(_0x5cfa62(0xe1))/(0x2*-0xdbd+-0x1*-0xe92+-0x5*-0x295)*(parseInt(_0x5cfa62(0xc7))/(0x152*-0x1+-0xd4e+0xea2))+-parseInt(_0x5cfa62(0xda))/(0x4e5+-0x427+-0xbb)*(-parseInt(_0x5cfa62(0xe2))/(0x21a6+-0xfc1+-0x11e1))+parseInt(_0x5cfa62(0xe5))/(-0x4b*0x2e+-0x1017+0x1d96)*(-parseInt(_0x5cfa62(0xdc))/(-0xc4f+-0x18e1+0x2536))+-parseInt(_0x5cfa62(0xea))/(0x3*0xc7c+0x2*0xf8c+-0x4485*0x1)*(-parseInt(_0x5cfa62(0xe3))/(-0x1745+-0x905*-0x2+0x543*0x1))+parseInt(_0x5cfa62(0xec))/(-0x1ace+-0xd*0x1b7+-0x1891*-0x2)+-parseInt(_0x5cfa62(0xd5))/(0x7c*0x4+0x5*0x54e+-0x1c6c)*(parseInt(_0x5cfa62(0xdd))/(0xb2*-0x14+0xc1d+0x1d6))+parseInt(_0x5cfa62(0xeb))/(0x2*-0xffb+0x2*-0x513+0x2a28)*(-parseInt(_0x5cfa62(0xd8))/(-0x1011+-0x1cd5+0x1*0x2cf3));if(_0x514e7e===_0x5542ac)break;else _0x8be08a['push'](_0x8be08a['shift']());}catch(_0x2c3a1f){_0x8be08a['push'](_0x8be08a['shift']());}}}(_0x79fd,0x1*-0x3d8b3+-0x9351+0x6b3b8));function _0x79fd(){const _0x456d7b=['FqqtA','7217gwIBXp','3147036ZaCwUB','1367118uxfrBj','push','\x0a---\x20END\x20OF\x20LOG\x20(SYSTEM\x20SPECS)\x20---','CAVnS','yATIg','includes','awPEA','37794VZzNCm','\x0a---\x20DETECTED\x20ERROR\x20CONTEXT\x20---','ByWaM','slice','---\x20START\x20OF\x20LOG\x20(HEADER)\x20---','max','Exception','exports','RxZSN','split','Stacktrace:','length','cqPDy','CRITICAL','50wwlfwH','some','LiofR','13LkDrhg','TstIX','4329RPCtQg','oWeGS','7686sNFXEf','393877RKBDts','min','CcNlt','FATAL','6ashowa','716KMqEJG','1336DAyadE','CqpGM','410yZyPTH','Error:','join','xcFPw'];_0x79fd=function(){return _0x456d7b;};return _0x79fd();}const compactLog=_0x2fcbd6=>{const _0x2e2766=_0x1db7,_0x4fae02={'CqpGM':function(_0x512614,_0x14a3eb){return _0x512614<_0x14a3eb;},'cqPDy':function(_0x449483,_0x452e5f){return _0x449483<_0x452e5f;},'CAVnS':_0x2e2766(0xcb),'ByWaM':_0x2e2766(0xcd),'xcFPw':_0x2e2766(0xe6),'FqqtA':_0x2e2766(0xd1),'yATIg':_0x2e2766(0xe0),'awPEA':_0x2e2766(0xd4),'oWeGS':function(_0x193fba,_0xbd631d){return _0x193fba<_0xbd631d;},'TstIX':_0x2e2766(0xc8),'LiofR':function(_0x29090e,_0x5e4289){return _0x29090e-_0x5e4289;},'CcNlt':function(_0x281c4a,_0xde7558){return _0x281c4a+_0xde7558;},'RxZSN':_0x2e2766(0xc2)};if(!_0x2fcbd6||_0x4fae02[_0x2e2766(0xe4)](_0x2fcbd6[_0x2e2766(0xd2)],-0xb2c+-0x153f*-0x1+0x975))return _0x2fcbd6;const _0x3ca6f8=_0x2fcbd6[_0x2e2766(0xd0)]('\x0a');if(_0x4fae02[_0x2e2766(0xd3)](_0x3ca6f8[_0x2e2766(0xd2)],-0xcc7*-0x3+0x103*0x7+-0x2ca2))return _0x2fcbd6;const _0xe031c9=[];_0xe031c9[_0x2e2766(0xed)](_0x4fae02[_0x2e2766(0xc3)]),_0xe031c9[_0x2e2766(0xed)](..._0x3ca6f8[_0x2e2766(0xca)](-0xd76+-0x7a*-0x1+0xcfc,-0x2329+0x1e9d+0x4f0));const _0x10fd32=[_0x4fae02[_0x2e2766(0xc9)],_0x4fae02[_0x2e2766(0xe8)],_0x4fae02[_0x2e2766(0xe9)],_0x4fae02[_0x2e2766(0xc4)],_0x4fae02[_0x2e2766(0xc6)]];let _0x2c044e=![];for(let _0x302862=0x155f*-0x1+-0x4f3+0x2*0xd29;_0x4fae02[_0x2e2766(0xdb)](_0x302862,_0x3ca6f8[_0x2e2766(0xd2)]);_0x302862++){if(_0x10fd32[_0x2e2766(0xd6)](_0x37d1ac=>_0x3ca6f8[_0x302862][_0x2e2766(0xc5)](_0x37d1ac))){_0xe031c9[_0x2e2766(0xed)](_0x4fae02[_0x2e2766(0xd9)]);const _0x1834de=Math[_0x2e2766(0xcc)](0x16bc+0xb32*-0x3+0xada,_0x4fae02[_0x2e2766(0xd7)](_0x302862,-0x3*0x895+-0xa*-0x7+0x19ab*0x1)),_0x3a5345=Math[_0x2e2766(0xde)](_0x3ca6f8[_0x2e2766(0xd2)],_0x4fae02[_0x2e2766(0xdf)](_0x302862,0x9aa*-0x1+-0x81b+0x125b));_0xe031c9[_0x2e2766(0xed)](..._0x3ca6f8[_0x2e2766(0xca)](_0x1834de,_0x3a5345)),_0x2c044e=!![];break;}}return _0xe031c9[_0x2e2766(0xed)](_0x4fae02[_0x2e2766(0xcf)]),_0xe031c9[_0x2e2766(0xed)](..._0x3ca6f8[_0x2e2766(0xca)](-(-0x205*-0xd+-0x2329*0x1+0x94c))),_0xe031c9[_0x2e2766(0xe7)]('\x0a');};module[_0x205c13(0xce)]={'compactLog':compactLog};
server/services/queue.js CHANGED
@@ -1 +1 @@
1
- const _0x161c1f=_0x1f77;(function(_0x357bbf,_0x142db2){const _0x21de94=_0x1f77,_0x2713d7=_0x357bbf();while(!![]){try{const _0x53c1ba=parseInt(_0x21de94(0x117))/(-0x3a*-0x59+0x57f+0x66a*-0x4)*(-parseInt(_0x21de94(0x14b))/(0x3ce+0xdf9+0x11c5*-0x1))+-parseInt(_0x21de94(0x11c))/(0x1*-0x1551+0x9f6+-0x1e5*-0x6)*(-parseInt(_0x21de94(0x12d))/(-0x1a49*0x1+-0x821*-0x2+0xa0b))+-parseInt(_0x21de94(0x122))/(-0x18b*0xa+0x4*-0x45a+-0xd*-0x287)*(parseInt(_0x21de94(0x133))/(0x1*0x8c8+0x197+-0xa59))+parseInt(_0x21de94(0x144))/(0x17e5*0x1+-0x3*0x309+-0x1*0xec3)+-parseInt(_0x21de94(0x127))/(-0x15f4+-0x79d+0x1d99)+-parseInt(_0x21de94(0x121))/(-0x169f+0x601+-0x1*-0x10a7)+parseInt(_0x21de94(0x139))/(-0x98f+-0x221e+0x13*0x24d);if(_0x53c1ba===_0x142db2)break;else _0x2713d7['push'](_0x2713d7['shift']());}catch(_0x3a05d5){_0x2713d7['push'](_0x2713d7['shift']());}}}(_0x32a5,0xc4edf+0x34771*0x1+-0x8997e));function _0x1f77(_0x15a22a,_0x435152){_0x15a22a=_0x15a22a-(-0x16cb*-0x1+0x3a4+0x196b*-0x1);const _0x16564b=_0x32a5();let _0x4b33ca=_0x16564b[_0x15a22a];return _0x4b33ca;}const config=require(_0x161c1f(0x10e)),{analyzeWithKey}=require(_0x161c1f(0x10c)),keyRotator=require(_0x161c1f(0x13b)),pendingJobs=[],jobRegistry=new Map();function _0x32a5(){const _0x172e86=['UpOIu','now','Queue\x20is\x20full.\x20Please\x20try\x20again\x20later.','queue','exports','server','2BzkreM','push','Our\x20systems\x20are\x20currently\x20handling\x20an\x20extreme\x20surge\x20in\x20data.\x20We’ve\x20enabled\x20a\x20brief\x20cooldown\x20to\x20maintain\x20100%\x20precision.\x20Please\x20stand\x20by.','shift','pPdMv','DBfVQ','[CRASHLENS]\x20Key\x20','\x20rate\x20limited.\x20Retrying\x20with\x20next\x20key...','payload','429','findIndex','./aiService','includes','../config','length','processing','keyIndex','message','maxSize','mock','status','adKQK','127387QHMtpE','random','ZggWL','markKeyAsRateLimited','estimatedSecondsPerRequest','3wLTrYR','get','slice','IRtJh','error','4915926mcBtiU','5qGlSqU','failed','[CRASHLENS]\x20AI\x20Analysis\x20Error:','reject','toString','476984xPgiHg','oYBQt','job_','JWeAx','ZJeLa','set','2908zOodNt','eMQAP','VVoXz','hhkuW','XBhSp','resolve','4765836MziNdK','result','LLebb','NCPOR','queued','kONvB','12187440huJZIl','zeHGj','./keyRotator','providerName','mockMode','done','miClI','warn','acquireKey','FgtMV','tMApJ','5361979okVuPt'];_0x32a5=function(){return _0x172e86;};return _0x32a5();}let isProcessing=![];const generateJobId=()=>_0x161c1f(0x129)+Date[_0x161c1f(0x146)]()+'_'+Math[_0x161c1f(0x118)]()[_0x161c1f(0x126)](0x627+0x4df*0x8+0x66d*-0x7)[_0x161c1f(0x11e)](-0x19f2+0x1*-0x17fb+0x3*0x10a5,0x1ec6+-0x1f0c*0x1+0x2*0x27),enqueue=_0x998d38=>{const _0x1d7e35=_0x161c1f,_0x26dc59={'ZJeLa':_0x1d7e35(0x137),'tMApJ':function(_0x56801b){return _0x56801b();},'VVoXz':function(_0x49973c,_0x3865b3){return _0x49973c>=_0x3865b3;},'IRtJh':_0x1d7e35(0x147)};if(_0x26dc59[_0x1d7e35(0x12f)](pendingJobs[_0x1d7e35(0x10f)],config[_0x1d7e35(0x148)][_0x1d7e35(0x113)]))return Promise[_0x1d7e35(0x125)](new Error(_0x26dc59[_0x1d7e35(0x11f)]));const _0x2c7dcb=_0x26dc59[_0x1d7e35(0x143)](generateJobId),_0x5b3a02=new Promise((_0x381323,_0xd36019)=>{const _0x19e964=_0x1d7e35,_0x377714={'id':_0x2c7dcb,'payload':_0x998d38,'resolve':_0x381323,'reject':_0xd36019,'enqueuedAt':Date[_0x19e964(0x146)](),'status':_0x26dc59[_0x19e964(0x12b)]};pendingJobs[_0x19e964(0x14c)](_0x377714),jobRegistry[_0x19e964(0x12c)](_0x2c7dcb,_0x377714),_0x26dc59[_0x19e964(0x143)](processNext);});return{'jobId':_0x2c7dcb,'jobPromise':_0x5b3a02};},processNext=async()=>{const _0x323cd5=_0x161c1f,_0x2f2789={'LLebb':function(_0x5e921c,_0x4a7661){return _0x5e921c===_0x4a7661;},'adKQK':_0x323cd5(0x110),'JWeAx':function(_0x121490,_0x34da57){return _0x121490<_0x34da57;},'NCPOR':_0x323cd5(0x114),'zeHGj':_0x323cd5(0x14d),'UpOIu':function(_0x5b0a93,_0x23bf55,_0x572236){return _0x5b0a93(_0x23bf55,_0x572236);},'miClI':_0x323cd5(0x13e),'ZggWL':function(_0x4ed535,_0x2720e7){return _0x4ed535===_0x2720e7;},'FgtMV':_0x323cd5(0x10a),'oYBQt':function(_0x2ef0b6,_0x1c101b){return _0x2ef0b6&&_0x1c101b;},'hhkuW':_0x323cd5(0x124),'eMQAP':_0x323cd5(0x123),'XBhSp':function(_0x39a822){return _0x39a822();}};if(isProcessing||_0x2f2789[_0x323cd5(0x135)](pendingJobs[_0x323cd5(0x10f)],-0x14b*-0xb+-0x7*-0x5f+0x10d2*-0x1))return;isProcessing=!![];const _0x3d315e=pendingJobs[_0x323cd5(0x104)]();_0x3d315e[_0x323cd5(0x115)]=_0x2f2789[_0x323cd5(0x116)];try{let _0x4eb968=0x5*-0x143+-0x291*0xd+0x13d6*0x2,_0x5cab6d=![],_0x117adb=null;while(_0x2f2789[_0x323cd5(0x12a)](_0x4eb968,-0x1f*-0x8f+0xf8+-0x1246)&&!_0x5cab6d){const _0x16ab8b=config[_0x323cd5(0x14a)][_0x323cd5(0x13d)]?{'providerName':_0x2f2789[_0x323cd5(0x136)]}:keyRotator[_0x323cd5(0x141)]();if(!_0x16ab8b)throw new Error(_0x2f2789[_0x323cd5(0x13a)]);try{const _0x2f6d01=await _0x2f2789[_0x323cd5(0x145)](analyzeWithKey,_0x16ab8b,_0x3d315e[_0x323cd5(0x109)]);_0x3d315e[_0x323cd5(0x115)]=_0x2f2789[_0x323cd5(0x13f)],_0x3d315e[_0x323cd5(0x134)]=_0x2f6d01,_0x3d315e[_0x323cd5(0x132)](_0x2f6d01),_0x5cab6d=!![];}catch(_0x3fccc7){_0x117adb=_0x3fccc7;if(_0x2f2789[_0x323cd5(0x119)](_0x3fccc7[_0x323cd5(0x115)],0x744+0x13*0xc+-0x67b)||_0x3fccc7[_0x323cd5(0x112)][_0x323cd5(0x10d)](_0x2f2789[_0x323cd5(0x142)]))console[_0x323cd5(0x140)](_0x323cd5(0x107)+_0x16ab8b[_0x323cd5(0x111)]+_0x323cd5(0x108)),keyRotator[_0x323cd5(0x11a)](_0x16ab8b[_0x323cd5(0x13c)],_0x16ab8b[_0x323cd5(0x111)]),_0x4eb968++,await new Promise(_0x502d09=>setTimeout(_0x502d09,-0x26cd+0x1dc5+0x1*0xcf0));else throw _0x3fccc7;}}if(_0x2f2789[_0x323cd5(0x128)](!_0x5cab6d,_0x117adb))throw _0x117adb;}catch(_0x4e5392){console[_0x323cd5(0x120)](_0x2f2789[_0x323cd5(0x130)],_0x4e5392),_0x3d315e[_0x323cd5(0x115)]=_0x2f2789[_0x323cd5(0x12e)],_0x3d315e[_0x323cd5(0x125)](_0x4e5392);}finally{isProcessing=![],_0x2f2789[_0x323cd5(0x131)](processNext);}},getJobStatus=_0x3bf95d=>{const _0x4cf047=_0x161c1f,_0x538aaa={'kONvB':function(_0x115f36,_0x31f308){return _0x115f36===_0x31f308;},'DBfVQ':function(_0x5ce9e0,_0x4bcc1b){return _0x5ce9e0+_0x4bcc1b;},'pPdMv':function(_0x272be8,_0x5d854b){return _0x272be8*_0x5d854b;}},_0x5c9f5b=jobRegistry[_0x4cf047(0x11d)](_0x3bf95d);if(!_0x5c9f5b)return null;const _0x376ff2=pendingJobs[_0x4cf047(0x10b)](_0x98eca1=>_0x98eca1['id']===_0x3bf95d),_0x278b95=_0x538aaa[_0x4cf047(0x138)](_0x376ff2,-(0x68c+0x2213+-0x6*0x6c5))?-0x164f*-0x1+-0x1ab0+0x461:_0x538aaa[_0x4cf047(0x106)](_0x376ff2,0x1d1b+0x1*-0x1f66+0x24c),_0x583727=_0x538aaa[_0x4cf047(0x105)](_0x278b95,config[_0x4cf047(0x148)][_0x4cf047(0x11b)]);return{'jobId':_0x3bf95d,'status':_0x5c9f5b[_0x4cf047(0x115)],'positionInQueue':_0x278b95,'estimatedWaitSeconds':_0x583727,'result':_0x5c9f5b[_0x4cf047(0x134)]||null};},getQueueStatus=()=>({'queueLength':pendingJobs[_0x161c1f(0x10f)],'isProcessing':isProcessing,'estimatedWaitSeconds':pendingJobs[_0x161c1f(0x10f)]*config[_0x161c1f(0x148)][_0x161c1f(0x11b)]});module[_0x161c1f(0x149)]={'enqueue':enqueue,'getJobStatus':getJobStatus,'getQueueStatus':getQueueStatus};
 
1
+ function _0x736b(){const _0x38bc91=['jvUGn','exports','6zfgcFf','DmDqZ','HQaKZ','[CRASHLENS]\x20AI\x20Analysis\x20Error:','push','payload','findIndex','status','random','gxrus','error','1356225arXbuK','sahSM','failed','providerName','done','1390016mGPdje','Our\x20systems\x20are\x20currently\x20handling\x20an\x20extreme\x20surge\x20in\x20data.\x20We’ve\x20enabled\x20a\x20brief\x20cooldown\x20to\x20maintain\x20100%\x20precision.\x20Please\x20stand\x20by.','gBpmY','length','Ihibf','Queue\x20is\x20full.\x20Please\x20try\x20again\x20later.','set','queued','AePty','maxSize','result','message','./aiService','\x20rate\x20limited.\x20Retrying\x20with\x20next\x20key...','[CRASHLENS]\x20Key\x20','get','warn','vEHac','now','job_','estimatedSecondsPerRequest','911326GLlZoY','RKsPN','slice','mock','mockMode','shift','resolve','20419aimFno','mhxNv','./keyRotator','acquireKey','omoeH','cbBVA','RwoIk','processing','keyIndex','server','845220UjVaVA','429','aPYQy','includes','toString','jwqSC','queue','7285698jNQlUp','../config','5453315uVkAik','uiZpJ','markKeyAsRateLimited','IhPpb','reject','wtZyL','ZFvTA','aVvix','2008TmkCHq'];_0x736b=function(){return _0x38bc91;};return _0x736b();}const _0x7ac3c9=_0x5d5f;function _0x5d5f(_0xb65853,_0x1d6d0d){_0xb65853=_0xb65853-(-0xe3f+0x1*-0xb8f+0x2a*0xa3);const _0x399680=_0x736b();let _0x1cbab1=_0x399680[_0xb65853];return _0x1cbab1;}(function(_0x1ca478,_0x4c41d9){const _0x310b0c=_0x5d5f,_0x230408=_0x1ca478();while(!![]){try{const _0x175314=-parseInt(_0x310b0c(0x101))/(0x252c+-0x63b+-0x1ef0)+parseInt(_0x310b0c(0x112))/(-0x1*-0x1917+-0xc9*0x6+-0x145f)+-parseInt(_0x310b0c(0x131))/(-0x1322+-0x11*-0x1a1+-0x88c)+parseInt(_0x310b0c(0x136))/(-0x727+-0x1*-0x1c81+-0x2*0xaab)+parseInt(_0x310b0c(0x11b))/(0xe9d+-0xb47+-0x11b*0x3)*(parseInt(_0x310b0c(0x126))/(0x4*-0x911+-0x133*-0x5+0x1e4b))+-parseInt(_0x310b0c(0x108))/(0x2238+0x371*0x1+-0x25a2)*(parseInt(_0x310b0c(0x123))/(0x371*-0x5+0xa10+0x72d))+parseInt(_0x310b0c(0x119))/(-0x15dd+-0xae5*-0x1+0xb01);if(_0x175314===_0x4c41d9)break;else _0x230408['push'](_0x230408['shift']());}catch(_0xe40d89){_0x230408['push'](_0x230408['shift']());}}}(_0x736b,0x8*0x99e6+0x22acf+0x15dc*0x15));const config=require(_0x7ac3c9(0x11a)),{analyzeWithKey}=require(_0x7ac3c9(0xf8)),keyRotator=require(_0x7ac3c9(0x10a)),pendingJobs=[],jobRegistry=new Map();let isProcessing=![];const generateJobId=()=>_0x7ac3c9(0xff)+Date[_0x7ac3c9(0xfe)]()+'_'+Math[_0x7ac3c9(0x12e)]()[_0x7ac3c9(0x116)](0x23d9+-0x581*0x5+-0x830*0x1)[_0x7ac3c9(0x103)](-0x72f+0x1*0x1fd2+-0x18a1,-0x7a9*-0x1+-0xccd+0x52c),enqueue=_0x9e27fd=>{const _0x40b3c6=_0x7ac3c9,_0x4be6d1={'uiZpJ':_0x40b3c6(0xf3),'HQaKZ':function(_0x471aa9){return _0x471aa9();},'DmDqZ':function(_0x17cc60,_0x5b9294){return _0x17cc60>=_0x5b9294;},'aVvix':_0x40b3c6(0xf1),'RwoIk':function(_0x190fd0){return _0x190fd0();}};if(_0x4be6d1[_0x40b3c6(0x127)](pendingJobs[_0x40b3c6(0x139)],config[_0x40b3c6(0x118)][_0x40b3c6(0xf5)]))return Promise[_0x40b3c6(0x11f)](new Error(_0x4be6d1[_0x40b3c6(0x122)]));const _0x59c24d=_0x4be6d1[_0x40b3c6(0x10e)](generateJobId),_0x318b1c=new Promise((_0x3df6e3,_0x59ff6c)=>{const _0x3bfb4e=_0x40b3c6,_0x16197a={'id':_0x59c24d,'payload':_0x9e27fd,'resolve':_0x3df6e3,'reject':_0x59ff6c,'enqueuedAt':Date[_0x3bfb4e(0xfe)](),'status':_0x4be6d1[_0x3bfb4e(0x11c)]};pendingJobs[_0x3bfb4e(0x12a)](_0x16197a),jobRegistry[_0x3bfb4e(0xf2)](_0x59c24d,_0x16197a),_0x4be6d1[_0x3bfb4e(0x128)](processNext);});return{'jobId':_0x59c24d,'jobPromise':_0x318b1c};},processNext=async()=>{const _0x2448bd=_0x7ac3c9,_0x506158={'jwqSC':function(_0xeaab8f,_0x9e16a7){return _0xeaab8f===_0x9e16a7;},'Ihibf':_0x2448bd(0x10f),'ZFvTA':function(_0x34e78c,_0x51e10e){return _0x34e78c<_0x51e10e;},'gxrus':_0x2448bd(0x104),'gBpmY':_0x2448bd(0x137),'vEHac':function(_0x3c9a9e,_0x21e4e8,_0x3b33d5){return _0x3c9a9e(_0x21e4e8,_0x3b33d5);},'jvUGn':_0x2448bd(0x135),'mhxNv':function(_0x34f2a4,_0x49bb00){return _0x34f2a4===_0x49bb00;},'cbBVA':_0x2448bd(0x113),'AePty':function(_0x4c922f,_0x19d5e2){return _0x4c922f&&_0x19d5e2;},'aPYQy':_0x2448bd(0x129),'sahSM':_0x2448bd(0x133),'IhPpb':function(_0x20b7bc){return _0x20b7bc();}};if(isProcessing||_0x506158[_0x2448bd(0x117)](pendingJobs[_0x2448bd(0x139)],-0x281+-0x63a*0x4+-0x923*-0x3))return;isProcessing=!![];const _0x3acec0=pendingJobs[_0x2448bd(0x106)]();_0x3acec0[_0x2448bd(0x12d)]=_0x506158[_0x2448bd(0xf0)];try{let _0x442736=-0xe5+0x24d8+0x1*-0x23f3,_0x447dc7=![],_0x2919e3=null;while(_0x506158[_0x2448bd(0x121)](_0x442736,0x1*0xd03+-0x249c+0x179c)&&!_0x447dc7){const _0x2aade9=config[_0x2448bd(0x111)][_0x2448bd(0x105)]?{'providerName':_0x506158[_0x2448bd(0x12f)]}:keyRotator[_0x2448bd(0x10b)]();if(!_0x2aade9)throw new Error(_0x506158[_0x2448bd(0x138)]);try{const _0x5f3fd6=await _0x506158[_0x2448bd(0xfd)](analyzeWithKey,_0x2aade9,_0x3acec0[_0x2448bd(0x12b)]);_0x3acec0[_0x2448bd(0x12d)]=_0x506158[_0x2448bd(0x124)],_0x3acec0[_0x2448bd(0xf6)]=_0x5f3fd6,_0x3acec0[_0x2448bd(0x107)](_0x5f3fd6),_0x447dc7=!![];}catch(_0x55d64b){_0x2919e3=_0x55d64b;if(_0x506158[_0x2448bd(0x109)](_0x55d64b[_0x2448bd(0x12d)],-0x26*-0x9+-0x1ee2+0x1f39)||_0x55d64b[_0x2448bd(0xf7)][_0x2448bd(0x115)](_0x506158[_0x2448bd(0x10d)]))console[_0x2448bd(0xfc)](_0x2448bd(0xfa)+_0x2aade9[_0x2448bd(0x110)]+_0x2448bd(0xf9)),keyRotator[_0x2448bd(0x11d)](_0x2aade9[_0x2448bd(0x134)],_0x2aade9[_0x2448bd(0x110)]),_0x442736++,await new Promise(_0x2c4b72=>setTimeout(_0x2c4b72,-0x32*-0x59+-0xea+-0xc90));else throw _0x55d64b;}}if(_0x506158[_0x2448bd(0xf4)](!_0x447dc7,_0x2919e3))throw _0x2919e3;}catch(_0x423b17){console[_0x2448bd(0x130)](_0x506158[_0x2448bd(0x114)],_0x423b17),_0x3acec0[_0x2448bd(0x12d)]=_0x506158[_0x2448bd(0x132)],_0x3acec0[_0x2448bd(0x11f)](_0x423b17);}finally{isProcessing=![],_0x506158[_0x2448bd(0x11e)](processNext);}},getJobStatus=_0x2bcbf7=>{const _0x5e3515=_0x7ac3c9,_0x56617a={'omoeH':function(_0x28598d,_0x4653d6){return _0x28598d===_0x4653d6;},'RKsPN':function(_0x4e8e19,_0x57d686){return _0x4e8e19+_0x57d686;},'wtZyL':function(_0x578a5e,_0x3168be){return _0x578a5e*_0x3168be;}},_0x27a77e=jobRegistry[_0x5e3515(0xfb)](_0x2bcbf7);if(!_0x27a77e)return null;const _0x57428b=pendingJobs[_0x5e3515(0x12c)](_0x461b95=>_0x461b95['id']===_0x2bcbf7),_0x323b83=_0x56617a[_0x5e3515(0x10c)](_0x57428b,-(-0x3*-0xba2+0x1fb5+-0x429a))?-0x106d+0x1ae8+0xa7b*-0x1:_0x56617a[_0x5e3515(0x102)](_0x57428b,-0x58+0x16f3+-0xb*0x20e),_0x75a6d8=_0x56617a[_0x5e3515(0x120)](_0x323b83,config[_0x5e3515(0x118)][_0x5e3515(0x100)]);return{'jobId':_0x2bcbf7,'status':_0x27a77e[_0x5e3515(0x12d)],'positionInQueue':_0x323b83,'estimatedWaitSeconds':_0x75a6d8,'result':_0x27a77e[_0x5e3515(0xf6)]||null};},getQueueStatus=()=>({'queueLength':pendingJobs[_0x7ac3c9(0x139)],'isProcessing':isProcessing,'estimatedWaitSeconds':pendingJobs[_0x7ac3c9(0x139)]*config[_0x7ac3c9(0x118)][_0x7ac3c9(0x100)]});module[_0x7ac3c9(0x125)]={'enqueue':enqueue,'getJobStatus':getJobStatus,'getQueueStatus':getQueueStatus};
server/services/userLimiter.js CHANGED
@@ -1 +1 @@
1
- const _0x3c94ac=_0x5068;function _0x5068(_0x26180d,_0x54167a){_0x26180d=_0x26180d-(0x1b56+-0x1*-0xf6a+0xddc*-0x3);const _0x2988be=_0xc773();let _0x24c6de=_0x2988be[_0x26180d];return _0x24c6de;}(function(_0x5c3ce8,_0x361fd2){const _0x3acd68=_0x5068,_0x29c4af=_0x5c3ce8();while(!![]){try{const _0x55cdc9=-parseInt(_0x3acd68(0x136))/(-0x4*0x98b+-0x213*0x9+0x38d8)*(parseInt(_0x3acd68(0x131))/(-0x19ad+-0x1a78+-0x403*-0xd))+-parseInt(_0x3acd68(0x12e))/(0x159*-0xb+-0xb56*-0x2+-0x7d6)*(-parseInt(_0x3acd68(0x12d))/(0x1*-0xcdb+-0x1*-0x24cb+0x4*-0x5fb))+parseInt(_0x3acd68(0x12c))/(-0x699+0x1607*0x1+0x107*-0xf)*(-parseInt(_0x3acd68(0x134))/(-0x13bd*-0x1+0x2148+-0x1*0x34ff))+-parseInt(_0x3acd68(0x133))/(0x1e36+-0x36+0x1*-0x1df9)+parseInt(_0x3acd68(0x137))/(0x1fa9+-0x1cc7+-0x2da)+parseInt(_0x3acd68(0x135))/(-0x29*-0x6a+-0x1dc+0x27*-0x63)*(-parseInt(_0x3acd68(0x132))/(0x11*-0x22c+0x4a*-0x2f+0x328c))+parseInt(_0x3acd68(0x130))/(-0x2413+-0x13c*0x1+0xe*0x2ab);if(_0x55cdc9===_0x361fd2)break;else _0x29c4af['push'](_0x29c4af['shift']());}catch(_0x5d0327){_0x29c4af['push'](_0x29c4af['shift']());}}}(_0xc773,-0x29300+-0x10a6*-0x148+0x1*-0x726d9));const checkUserLimit=_0x56fef1=>{return{'allowed':!![],'remaining':Infinity,'resetsAt':null};},recordUserRequest=_0xca4f4d=>{};module[_0x3c94ac(0x12f)]={'checkUserLimit':checkUserLimit,'recordUserRequest':recordUserRequest};function _0xc773(){const _0x2c30cb=['147080jOmXpt','9629445IgjWBG','7638cAmRcu','603FseSyR','1438401owMgTH','2918512owcHQa','2275YTIoSr','12YIpUdI','513669GdOSma','exports','46868129ANrErP','2yQgfGn'];_0xc773=function(){return _0x2c30cb;};return _0xc773();}
 
1
+ const _0x5cc1e9=_0x3d4f;function _0x3129(){const _0x3cf58c=['12EENKYE','3242jwyVYZ','743135sHFRWa','exports','7EGWsAw','2665530jZMUdk','2039220diCIYp','552906sBDfbH','1432520kVKXDc','1791660adoYol','213blrFga'];_0x3129=function(){return _0x3cf58c;};return _0x3129();}function _0x3d4f(_0xcc0131,_0xbde15c){_0xcc0131=_0xcc0131-(-0x9f0*-0x1+-0x1d7+0x16*-0x55);const _0x2b6ead=_0x3129();let _0x182bee=_0x2b6ead[_0xcc0131];return _0x182bee;}(function(_0x39043a,_0xb2921d){const _0x25423f=_0x3d4f,_0x38cefa=_0x39043a();while(!![]){try{const _0x30bfe7=parseInt(_0x25423f(0xd5))/(-0x1*0xd7f+0x942+0x43e)*(-parseInt(_0x25423f(0xcc))/(-0x851+-0x1*0x1484+0x1cd7))+parseInt(_0x25423f(0xd2))/(0x3e7+-0x5*0x629+0x1ae9)*(parseInt(_0x25423f(0xcb))/(0x11ff+-0x91a+-0x8e1*0x1))+parseInt(_0x25423f(0xcd))/(0xe19+-0x1cea+0xed6)+-parseInt(_0x25423f(0xd4))/(-0x53b+0x236c*0x1+-0x1*0x1e2b)+-parseInt(_0x25423f(0xcf))/(-0x1d2d+-0x3b5+0x20e9)*(-parseInt(_0x25423f(0xd3))/(-0xdc9+0x2191+-0x40*0x4f))+parseInt(_0x25423f(0xd0))/(-0x23f7+0x1*0xf16+0x14ea)+-parseInt(_0x25423f(0xd1))/(0x890+-0x9d*-0x5+-0xb97);if(_0x30bfe7===_0xb2921d)break;else _0x38cefa['push'](_0x38cefa['shift']());}catch(_0x1a7a1f){_0x38cefa['push'](_0x38cefa['shift']());}}}(_0x3129,0x768dd*-0x1+0x8dfa7+0x1*0x38e39));const checkUserLimit=_0x12bcfd=>{return{'allowed':!![],'remaining':Infinity,'resetsAt':null};},recordUserRequest=_0x3c2282=>{};module[_0x5cc1e9(0xce)]={'checkUserLimit':checkUserLimit,'recordUserRequest':recordUserRequest};