@offgridsec/kira-lite-mcp 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -107,6 +107,17 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
107
107
  > - If scan returns critical or high findings, DO NOT write the code
108
108
  > - Tell the user what you found and what you fixed
109
109
  > - This applies to ALL files: .js, .ts, .py, .go, .java, .rb, .php, .yaml, .tf, Dockerfile, etc.
110
+ >
111
+ > ## ONBOARDING — First-time registration check
112
+ >
113
+ > On your **FIRST interaction** in any new conversation, you MUST call `get_config`.
114
+ >
115
+ > - If `registered` is `true`, do NOT mention registration. Proceed normally.
116
+ > - If `registered` is `false` AND `registrationSkippedUntil` is a future date, do NOT ask. The user already skipped.
117
+ > - If `registered` is `false` AND `registrationSkippedUntil` is `null`, ask the user:
118
+ > > "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories for popular frameworks, and product updates. Just share your email or say 'skip'."
119
+ > - If the user provides an email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
120
+ > - Do NOT ask about registration more than once per conversation.
110
121
  > ```
111
122
  >
112
123
  > </details>
@@ -226,6 +237,14 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
226
237
  4. For edits to existing files, use `scan_diff` with original and new code
227
238
  5. If scan returns critical or high findings, DO NOT write the code
228
239
  6. Tell the user what you found and what you fixed
240
+
241
+ # ONBOARDING — First-time registration check
242
+ On your FIRST interaction in any new conversation, call `get_config`.
243
+ - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
244
+ "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
245
+ - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
246
+ - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
247
+ - Do NOT ask about registration more than once per conversation.
229
248
  ```
230
249
 
231
250
  #### Step 3 — Verify
@@ -266,6 +285,14 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
266
285
  4. For edits to existing files, use `scan_diff` with original and new code
267
286
  5. If scan returns critical or high findings, DO NOT write the code
268
287
  6. Tell the user what you found and what you fixed
288
+
289
+ # ONBOARDING — First-time registration check
290
+ On your FIRST interaction in any new conversation, call `get_config`.
291
+ - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
292
+ "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
293
+ - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
294
+ - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
295
+ - Do NOT ask about registration more than once per conversation.
269
296
  ```
270
297
 
271
298
  #### Step 3 — Verify
@@ -306,6 +333,14 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
306
333
  4. For edits to existing files, use `scan_diff` with original and new code
307
334
  5. If scan returns critical or high findings, DO NOT write the code
308
335
  6. Tell the user what you found and what you fixed
336
+
337
+ # ONBOARDING — First-time registration check
338
+ On your FIRST interaction in any new conversation, call `get_config`.
339
+ - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
340
+ "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
341
+ - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
342
+ - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
343
+ - Do NOT ask about registration more than once per conversation.
309
344
  ```
310
345
 
311
346
  #### Step 3 — Verify
@@ -342,6 +377,14 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
342
377
  4. For edits to existing files, use `scan_diff` with original and new code
343
378
  5. If scan returns critical or high findings, DO NOT write the code
344
379
  6. Tell the user what you found and what you fixed
380
+
381
+ # ONBOARDING — First-time registration check
382
+ On your FIRST interaction in any new conversation, call `get_config`.
383
+ - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
384
+ "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
385
+ - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
386
+ - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
387
+ - Do NOT ask about registration more than once per conversation.
345
388
  ```
346
389
 
347
390
  #### Step 3 — Verify
@@ -387,6 +430,14 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
387
430
  4. For edits to existing files, use `scan_diff` with original and new code
388
431
  5. If scan returns critical or high findings, DO NOT write the code
389
432
  6. Tell the user what you found and what you fixed
433
+
434
+ # ONBOARDING — First-time registration check
435
+ On your FIRST interaction in any new conversation, call `get_config`.
436
+ - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
437
+ "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
438
+ - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
439
+ - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
440
+ - Do NOT ask about registration more than once per conversation.
390
441
  ```
391
442
 
392
443
  #### Step 3 — Verify
@@ -429,6 +480,14 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
429
480
  4. For edits to existing files, use `scan_diff` with original and new code
430
481
  5. If scan returns critical or high findings, DO NOT write the code
431
482
  6. Tell the user what you found and what you fixed
483
+
484
+ # ONBOARDING — First-time registration check
485
+ On your FIRST interaction in any new conversation, call `get_config`.
486
+ - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
487
+ "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
488
+ - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
489
+ - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
490
+ - Do NOT ask about registration more than once per conversation.
432
491
  ```
433
492
 
434
493
  ---
@@ -455,8 +514,10 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
455
514
  | `scan_diff` | Compare original vs modified code — reports only NEW vulnerabilities |
456
515
  | `scan_dependencies` | Scan project dependencies for known CVEs via OSV.dev (supports 13 lockfile formats across 11 ecosystems) |
457
516
  | `fix_vulnerability` | Get fix guidance for a specific vulnerability ID or CWE |
458
- | `get_config` | View current Kira-Lite configuration |
517
+ | `get_config` | View current configuration and registration status |
459
518
  | `set_config` | Change scan frequency and other settings |
519
+ | `register` | Register your email for security updates and vulnerability alerts |
520
+ | `skip_registration` | Skip registration with a 7-day cooldown before being asked again |
460
521
 
461
522
  ## Configuration
462
523
 
@@ -494,6 +555,45 @@ get_config()
494
555
 
495
556
  > **Note:** The default mode is `"every-edit"`, which preserves the original behavior when no config file exists.
496
557
 
558
+ ## Registration (Optional)
559
+
560
+ Register your email to receive security updates — new vulnerability rules, security advisories for popular frameworks, and product updates.
561
+
562
+ ### What you get
563
+
564
+ | Benefit | Description |
565
+ |---------|-------------|
566
+ | **New vulnerability rules** | Get notified when Kira adds detection for new CVEs and attack patterns |
567
+ | **Security advisories** | Early alerts for critical vulnerabilities affecting popular frameworks and libraries |
568
+ | **Product updates** | New features, engine improvements, and expanded language support |
569
+
570
+ ### How it works
571
+
572
+ On your first conversation, your AI assistant will ask if you'd like to register. You can:
573
+
574
+ - **Register** — provide your email and the assistant calls `register`
575
+ - **Skip** — say "skip" and you won't be asked again for 7 days
576
+
577
+ ### Manual registration
578
+
579
+ You can also register anytime by asking your AI assistant:
580
+
581
+ ```
582
+ Please register my email user@example.com with Kira-Lite
583
+ ```
584
+
585
+ Or call the tool directly:
586
+
587
+ ```
588
+ register({ email: "user@example.com" })
589
+ ```
590
+
591
+ ### Data storage
592
+
593
+ - Your email is stored locally at `~/.kira-lite/profile.json`
594
+ - Delete the file anytime to unregister
595
+ - No email is sent to external servers — registration is linked to your anonymous device ID via telemetry only
596
+
497
597
  ## How It Works
498
598
 
499
599
  Kira-Lite ships with **Kira-Core**, a compiled Go binary that includes all 376 security rules and runs entirely on your machine. No external tools required.
package/config/CLAUDE.md CHANGED
@@ -24,3 +24,21 @@ RIGHT (always do this):
24
24
  - If scan returns critical or high findings, DO NOT write the code
25
25
  - Tell the user what you found and what you fixed
26
26
  - This applies to ALL files: .js, .ts, .py, .go, .java, .rb, .php, .yaml, .tf, Dockerfile, etc.
27
+
28
+ ## ONBOARDING — First-time registration check
29
+
30
+ On your **FIRST interaction** in any new conversation, you MUST call `get_config`.
31
+
32
+ - If `registered` is `true`, do NOT mention registration. Proceed normally.
33
+ - If `registered` is `false` AND `registrationSkippedUntil` is a future date, do NOT ask about registration. The user already skipped — respect the cooldown.
34
+ - If `registered` is `false` AND `registrationSkippedUntil` is `null` (expired or never set), ask the user:
35
+ > "Kira-Lite security scanner is active and protecting your code! Would you like to register your email? It's optional, but here's what you get:
36
+ >
37
+ > - **New vulnerability rules** — get notified when Kira adds detection for new CVEs and attack patterns
38
+ > - **Security advisories** — early alerts for critical vulnerabilities affecting popular frameworks and libraries
39
+ > - **Product updates** — new features, engine improvements, and expanded language support
40
+ >
41
+ > Just share your email and I'll register you, or say 'skip' to continue without it."
42
+ - If the user provides an email, call the `register` tool with their email.
43
+ - If the user declines or says "skip", call the `skip_registration` tool to record it (suppresses the prompt for 7 days).
44
+ - **Do NOT ask about registration more than once per conversation.**
package/dist/config.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1e8130,_0x4f26c1){const _0x29853e={_0x127a9c:0x16d,_0x5b1e7c:0x14f,_0x25784f:0x180,_0x5a21cb:0x19c,_0x14ded0:0x183,_0x4d1129:0x16e,_0x13c45c:0x181,_0x1b7d61:0x19b},_0x51247c={_0x558c18:0x2c1},_0x2993da=_0x1e8130();function _0x345bd8(_0x1792e5,_0x315dd5){return _0x41cb(_0x315dd5-0x60,_0x1792e5);}function _0x465d54(_0x33f8ff,_0x14fba6){return _0x41cb(_0x14fba6- -_0x51247c._0x558c18,_0x33f8ff);}while(!![]){try{const _0x220343=-parseInt(_0x345bd8(0x1a9,0x1b1))/(-0x1208+-0x2*-0xfed+-0x189*0x9)*(-parseInt(_0x345bd8(0x1ab,0x197))/(-0x1691+-0x2158+0x37eb))+parseInt(_0x465d54(-0x177,-_0x29853e._0x127a9c))/(-0x2001+-0x10c6+0xa*0x4e1)*(parseInt(_0x465d54(-_0x29853e._0x5b1e7c,-0x164))/(0x44*-0x22+0x1a4f+-0x1143))+-parseInt(_0x465d54(-_0x29853e._0x25784f,-0x179))/(0x33f*0x3+-0x11f*0x3+-0x1*0x65b)+-parseInt(_0x465d54(-_0x29853e._0x5a21cb,-_0x29853e._0x14ded0))/(-0x1838+-0x3b*0x8e+0xe3e*0x4)+-parseInt(_0x465d54(-0x15a,-_0x29853e._0x4d1129))/(0x1*0x5b1+0xd96+-0x1340)+-parseInt(_0x345bd8(0x1b4,0x1a5))/(0x1*-0x2620+-0x1428+0x3a50)+parseInt(_0x345bd8(_0x29853e._0x13c45c,_0x29853e._0x1b7d61))/(-0x1f8c+-0x70+0x2005);if(_0x220343===_0x4f26c1)break;else _0x2993da['push'](_0x2993da['shift']());}catch(_0x426e70){_0x2993da['push'](_0x2993da['shift']());}}}(_0x30d5,-0xc90a0+0x1*0x41689+0x149620));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';function _0x142d11(_0x159bd0,_0xe9a086){return _0x41cb(_0x159bd0- -0x27c,_0xe9a086);}function _0x30d5(){const _0xe59457=['z1LkAeW','ndq4odG0mvbezMrVBG','mti5m0jqBvbxvW','sLjOveW','uvjcEeq','qKrVs08','zgvZ','ugn2t2q','BNnHqLC','BvvVDLm','z3j5uwS','mZi4me5tBhPjtG','s0XKzKS','AerOywG','q2HOAeS','zezvq1u','zKHmC1u','EMfQy0G','lMTPCMe','zwrJC0m','z29rzuG','y29UzMK','zw1HAwW','CMvJDxi','BwfUDwe','lwXPDgu','whvcr0K','CgfYC2u','C3rYAw4','nJj6vwrwrKy','zxzLCNK','zY5QC28','AKfqAvm','mZqXote4mtbfBLjLy2m','C2L2zq','C2nHBK0','odm0mtu5meDMB2XJvG','tgvRChi','AhjNDuC','B2rL','lwvKAxq','wvrYqwK','zvzAA1u','mte1mtq2mZjWrgHgr3m','C2TPCha','BguUANm','nJG0mda3nvPut0nzAq','z2LMEq','swTjt0q','DxrMltG','B24TC2e','zwrvBNq','BM1Uzuu','vfDSr0i','zwntBuG','ndC3ndfutfHMDe4'];_0x30d5=function(){return _0xe59457;};return _0x30d5();}import{join}from'node:path';import{homedir}from'node:os';const _0x3a2b58={};function _0x26ef44(_0x4efb52,_0xace905){const _0x2ae9ff={_0x108cca:0x1b5};return _0x41cb(_0xace905- -_0x2ae9ff._0x108cca,_0x4efb52);}_0x3a2b58[_0x26ef44(-0x63,-0x78)+_0x142d11(-0x13b,-0x134)]=_0x142d11(-0x144,-0x146)+_0x142d11(-0x13a,-0x12f);const DEFAULT_CONFIG=_0x3a2b58,VALID_SCAN_MODES=['every'+_0x142d11(-0x13a,-0x146),_0x142d11(-0x130,-0x126)+'ve',_0x142d11(-0x14a,-0x158)+'l'];function getConfigDir(){const _0x562789={_0x44bad3:0x498,_0x100d1b:0x4b3},_0x1e9fc7={_0x5a77e7:0x493};function _0x33b084(_0x2f5303,_0x2a9d11){return _0x142d11(_0x2a9d11-0x5fc,_0x2f5303);}function _0x268c57(_0x4ca793,_0x53323b){return _0x142d11(_0x53323b-_0x1e9fc7._0x5a77e7,_0x4ca793);}const _0x50d26c={'edcsC':function(_0x3ac13a){return _0x3ac13a();}};return join(_0x50d26c[_0x268c57(0x34b,0x344)](homedir),'.kira'+_0x33b084(_0x562789._0x44bad3,_0x562789._0x100d1b));}function _0x41cb(_0x22be66,_0x226bb1){_0x22be66=_0x22be66-(0xb*-0x1cd+-0x1*-0x263f+-0x1143);const _0x5481a9=_0x30d5();let _0x2c567a=_0x5481a9[_0x22be66];if(_0x41cb['pdKCEI']===undefined){var _0x541ac9=function(_0x175a42){const _0x5e5709='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a3587='',_0x38eef4='';for(let _0x347bae=0xb9*0xb+-0x7*-0x1ab+-0x13a0,_0x327c19,_0x170db0,_0x39845d=0x24d6+-0x161b+-0x3*0x4e9;_0x170db0=_0x175a42['charAt'](_0x39845d++);~_0x170db0&&(_0x327c19=_0x347bae%(0x1a9a+0x466+-0x52a*0x6)?_0x327c19*(-0x1*0x20a7+-0x21f*0xc+0x3a5b)+_0x170db0:_0x170db0,_0x347bae++%(0x10a9+-0x16d8+-0x45*-0x17))?_0x4a3587+=String['fromCharCode'](0x18e8+0x5*0x365+-0x28e2*0x1&_0x327c19>>(-(-0xf*0x1f3+-0x1dfb+-0x7*-0x876)*_0x347bae&0x1336+-0xb6a+-0x7c6)):-0xee8+-0x1*0x14d2+0x23ba){_0x170db0=_0x5e5709['indexOf'](_0x170db0);}for(let _0x249ff3=-0xa90*0x1+0x4*0x5c3+0x31f*-0x4,_0x1fe285=_0x4a3587['length'];_0x249ff3<_0x1fe285;_0x249ff3++){_0x38eef4+='%'+('00'+_0x4a3587['charCodeAt'](_0x249ff3)['toString'](0x816+-0x1a5*0x2+-0x4bc))['slice'](-(0x67f*-0x3+-0x12a*0x17+0x67*0x73));}return decodeURIComponent(_0x38eef4);};_0x41cb['OdLSuT']=_0x541ac9,_0x41cb['yPEunJ']={},_0x41cb['pdKCEI']=!![];}const _0x2f5b05=_0x5481a9[-0x581*-0x1+0x9*0x6+-0x5b7],_0x14c810=_0x22be66+_0x2f5b05,_0xa95bc0=_0x41cb['yPEunJ'][_0x14c810];return!_0xa95bc0?(_0x2c567a=_0x41cb['OdLSuT'](_0x2c567a),_0x41cb['yPEunJ'][_0x14c810]=_0x2c567a):_0x2c567a=_0xa95bc0,_0x2c567a;}function getConfigPath(){const _0x4b38a5={_0x17965e:0x4,_0x4ac139:0x41,_0x3365d8:0xf,_0x50eca2:0x1e},_0x5cbafd={_0x86f6c9:0x3ca},_0x5ce5d2={_0x5e81a1:0x5e};function _0x194af6(_0x203abe,_0x49e09f){return _0x26ef44(_0x203abe,_0x49e09f-_0x5ce5d2._0x5e81a1);}function _0x7a7d16(_0xbff5e9,_0xc0ccdd){return _0x142d11(_0xbff5e9-_0x5cbafd._0x86f6c9,_0xc0ccdd);}const _0x1f1b4b={'YTrAi':function(_0x44f80d,_0x542288,_0x4d4020){return _0x44f80d(_0x542288,_0x4d4020);}};return _0x1f1b4b[_0x194af6(-_0x4b38a5._0x17965e,-0x14)](join,getConfigDir(),_0x194af6(-_0x4b38a5._0x4ac139,-0x28)+_0x194af6(-_0x4b38a5._0x3365d8,-_0x4b38a5._0x50eca2)+'n');}export function loadConfig(){const _0x9cae76={_0x3f32dc:0x3e0,_0x4e04b3:0x286,_0x2139bb:0x3ec,_0x4bb57:0x3ff,_0x574581:0x2b2,_0x311d5b:0x2c7,_0x2208c9:0x2aa,_0x556bd1:0x295,_0x57e686:0x3d7,_0x46c2d0:0x284,_0x569337:0x29a,_0x453942:0x2a6,_0x37c061:0x29b},_0x102dd3={_0x2bdc2f:0x456},_0x13ec84={'Lekpr':function(_0x18eeb8,_0x5da576,_0x81b355){return _0x18eeb8(_0x5da576,_0x81b355);},'dFUCU':function(_0x5f3b75){return _0x5f3b75();}};function _0xfb5f5e(_0x1aea9,_0x3292a0){return _0x26ef44(_0x3292a0,_0x1aea9-_0x102dd3._0x2bdc2f);}function _0x381b52(_0xf3df3,_0x67a7c1){return _0x26ef44(_0x67a7c1,_0xf3df3- -0x232);}try{const _0x23fe50=_0x13ec84[_0xfb5f5e(_0x9cae76._0x3f32dc,0x3f9)](readFileSync,_0x13ec84[_0x381b52(-_0x9cae76._0x4e04b3,-0x273)](getConfigPath),_0xfb5f5e(_0x9cae76._0x2139bb,_0x9cae76._0x4bb57)),_0x59afac=JSON[_0x381b52(-_0x9cae76._0x574581,-_0x9cae76._0x311d5b)](_0x23fe50);if(_0x59afac&&typeof _0x59afac[_0x381b52(-_0x9cae76._0x2208c9,-_0x9cae76._0x556bd1)+'ode']===_0xfb5f5e(_0x9cae76._0x57e686,_0x9cae76._0x57e686)+'g'&&VALID_SCAN_MODES['inclu'+_0x381b52(-0x28f,-_0x9cae76._0x46c2d0)](_0x59afac[_0x381b52(-0x2aa,-_0x9cae76._0x569337)+'ode'])){const _0x1b71b8={};return _0x1b71b8['scanM'+'ode']=_0x59afac[_0xfb5f5e(0x3de,0x3e0)+_0x381b52(-_0x9cae76._0x453942,-_0x9cae76._0x37c061)],_0x1b71b8;}const _0x57e52b={...DEFAULT_CONFIG};return _0x57e52b;}catch{const _0xb09502={...DEFAULT_CONFIG};return _0xb09502;}}export function saveConfig(_0x3e7a84){const _0x5aa4f7={_0x44841c:0x20e,_0x45f1d1:0x201,_0x598f6f:0x1e7,_0x2dde96:0x27f,_0xf79d19:0x207,_0x13267d:0x259,_0x898e13:0x26b},_0x37f096={_0x366895:0x332},_0x2cb0c8={_0x474929:0x13f},_0x3670a1={'BDoKO':function(_0x5c2b76){return _0x5c2b76();},'ecSmH':_0xbc401f(_0x5aa4f7._0x44841c,_0x5aa4f7._0x45f1d1)},_0x1ebec4=_0x3670a1[_0x507e59(-0x267,-0x264)](getConfigDir);function _0x507e59(_0x2b843d,_0x5c7870){return _0x142d11(_0x5c7870- -_0x2cb0c8._0x474929,_0x2b843d);}const _0x20eb7b={};_0x20eb7b[_0xbc401f(0x200,_0x5aa4f7._0x598f6f)+_0x507e59(-0x28d,-_0x5aa4f7._0x2dde96)]=!![];function _0xbc401f(_0x5ce02c,_0x3d6360){return _0x142d11(_0x3d6360-_0x37f096._0x366895,_0x5ce02c);}mkdirSync(_0x1ebec4,_0x20eb7b),writeFileSync(_0x3670a1[_0xbc401f(_0x5aa4f7._0xf79d19,0x20d)](getConfigPath),JSON[_0xbc401f(0x1d1,0x1ec)+'gify'](_0x3e7a84,null,0x23ef*0x1+-0x2582+0x195),_0x3670a1[_0x507e59(-_0x5aa4f7._0x13267d,-_0x5aa4f7._0x898e13)]);}function getProfilePath(){const _0x5d6895={_0x16b067:0x4fd,_0x3e202b:0x4e2,_0x56a8c7:0x4e5,_0x45b044:0x3c5},_0x787338={_0x33c563:0x4e2},_0x4995dd={_0x4f8924:0x61a},_0x5ebfb3={};function _0x3a3ee5(_0x2b2253,_0x3db1bb){return _0x142d11(_0x2b2253-_0x4995dd._0x4f8924,_0x3db1bb);}_0x5ebfb3[_0x3a3ee5(_0x5d6895._0x16b067,_0x5d6895._0x3e202b)]='profi'+_0x3a3ee5(_0x5d6895._0x56a8c7,0x4cc)+'on';function _0x5c66bc(_0x26c931,_0x1be91d){return _0x142d11(_0x1be91d-_0x787338._0x33c563,_0x26c931);}const _0x41c796=_0x5ebfb3;return join(getConfigDir(),_0x41c796[_0x5c66bc(0x3ce,_0x5d6895._0x45b044)]);}export function loadProfile(){const _0x4dc02c={_0x2e7f3c:0x61,_0xbece36:0x45,_0x477114:0x6e,_0x33dee1:0xf,_0x4c9f5e:0x28,_0x1899de:0x4e,_0x5d5db2:0x80,_0x4c040e:0x79,_0x45e98b:0x4,_0x16c071:0xd,_0x58f932:0x76,_0x23d2a3:0x64,_0x2c2ae2:0x7a,_0x536b94:0x2,_0x19ac72:0x13,_0x50d08b:0x2e,_0x1f5eb5:0x3,_0x711297:0x87,_0x2228f0:0x18,_0x33c45a:0x4e,_0x2134b9:0x68,_0x2eb19a:0x4f,_0x12da43:0x61,_0x58042b:0x68,_0x518a66:0x35,_0x11ec57:0x61,_0x36f194:0x58,_0x153611:0x5f,_0x2a4c56:0x50,_0x3d79fc:0x40,_0x1525aa:0x5c,_0x3c010c:0x8,_0xf54b9a:0x7,_0x29a6c6:0x1b,_0x38f9d5:0x77,_0x3ea1ad:0xb,_0xb64315:0x6,_0x58f408:0xf,_0xf2773e:0x26,_0xa55df7:0x69,_0x358a44:0x71,_0x3adf86:0x7,_0x19334e:0xb,_0x10c56f:0x6d,_0x3307b1:0x71,_0x2f917c:0x6d,_0x4c7e18:0x3c,_0x53a445:0x55,_0x4e1935:0x53,_0x4dab7c:0x32,_0x416d12:0x1},_0x429f8c={_0xb7fc8d:0xce},_0x54dd88={_0x27d6e0:0x14a},_0x494e4a={'mUovS':function(_0x169825,_0xa33d88,_0x4bc905){return _0x169825(_0xa33d88,_0x4bc905);},'ChhhK':_0x1e4c8b(0x19,-0x3),'TWlGB':_0x2bfe92(-_0x4dc02c._0x2e7f3c,-0x78)+'g','IkIOD':function(_0x1984d4,_0x161fee){return _0x1984d4===_0x161fee;},'nsaBW':function(_0x58e781){return _0x58e781();},'PcvOd':function(_0x46c34a,_0xc46c9c){return _0x46c34a===_0xc46c9c;},'eVZkU':'RTpqs','kjxts':'PXRuh','jgUUb':function(_0xc323f0,_0x2db42f){return _0xc323f0===_0x2db42f;},'XuBGI':'pzTRs','gryQk':function(_0x175726,_0x493ea1){return _0x175726===_0x493ea1;},'goQeH':function(_0x41ef52,_0x1697a8){return _0x41ef52!==_0x1697a8;},'KLdfK':_0x2bfe92(-_0x4dc02c._0xbece36,-0x4b),'SjSRM':_0x1e4c8b(0x1c,0x11),'jAPiS':_0x2bfe92(-0x81,-_0x4dc02c._0x477114)};function _0x1e4c8b(_0x2e50b0,_0x2818ab){return _0x142d11(_0x2e50b0-_0x54dd88._0x27d6e0,_0x2818ab);}function _0x2bfe92(_0x161814,_0x270053){return _0x142d11(_0x270053-_0x429f8c._0xb7fc8d,_0x161814);}try{if(_0x494e4a[_0x1e4c8b(0x27,0x12)](_0x494e4a[_0x1e4c8b(0x12,-0x2)],_0x494e4a['kjxts'])){const _0x1298c9={};return _0x1298c9['scanM'+'ode']=_0x27470e[_0x2bfe92(-0x5b,-0x71)+_0x1e4c8b(_0x4dc02c._0x33dee1,0x1e)],_0x1298c9;}else{const _0x4ea896=readFileSync(_0x494e4a[_0x1e4c8b(_0x4dc02c._0x4c9f5e,0x2f)](getProfilePath),_0x494e4a[_0x2bfe92(-0x50,-_0x4dc02c._0x1899de)]),_0x4dd562=JSON[_0x2bfe92(-_0x4dc02c._0x5d5db2,-_0x4dc02c._0x4c040e)](_0x4ea896),_0x3e1070={};if(_0x4dd562&&_0x494e4a['jgUUb'](typeof _0x4dd562['email'],_0x1e4c8b(_0x4dc02c._0x45e98b,-_0x4dc02c._0x16c071)+'g')){if(_0x494e4a[_0x2bfe92(-_0x4dc02c._0x58f932,-_0x4dc02c._0x23d2a3)](_0x494e4a[_0x2bfe92(-_0x4dc02c._0x58f932,-0x7a)],_0x494e4a[_0x2bfe92(-0x66,-_0x4dc02c._0x2c2ae2)]))_0x3e1070['email']=_0x4dd562[_0x1e4c8b(-_0x4dc02c._0x536b94,-_0x4dc02c._0x19ac72)];else{const _0x2ab61b=_0x494e4a[_0x2bfe92(-_0x4dc02c._0x477114,-0x53)](_0x3a5f3e,_0x137f02(),_0x494e4a[_0x1e4c8b(_0x4dc02c._0x50d08b,0x22)]),_0x5382c8=_0x86c3ce[_0x1e4c8b(_0x4dc02c._0x1f5eb5,0x17)](_0x2ab61b),_0x323957={};return _0x5382c8&&typeof _0x5382c8['email']===_0x494e4a[_0x2bfe92(-0x4b,-0x5f)]&&(_0x323957[_0x2bfe92(-0x91,-0x7e)]=_0x5382c8[_0x2bfe92(-_0x4dc02c._0x711297,-0x7e)]),_0x5382c8&&_0x494e4a[_0x1e4c8b(_0x4dc02c._0x2228f0,0x1a)](typeof _0x5382c8[_0x2bfe92(-_0x4dc02c._0x33c45a,-0x68)+'edUnt'+'il'],_0x494e4a['TWlGB'])&&(_0x323957[_0x2bfe92(-0x5e,-_0x4dc02c._0x2134b9)+_0x2bfe92(-_0x4dc02c._0x2eb19a,-_0x4dc02c._0x12da43)+'il']=_0x5382c8[_0x2bfe92(-_0x4dc02c._0x58042b,-_0x4dc02c._0x2134b9)+_0x2bfe92(-0x52,-0x61)+'il']),_0x323957;}}if(_0x4dd562&&_0x494e4a[_0x1e4c8b(0x2a,_0x4dc02c._0x518a66)](typeof _0x4dd562['skipp'+_0x2bfe92(-0x6c,-_0x4dc02c._0x11ec57)+'il'],_0x494e4a[_0x2bfe92(-_0x4dc02c._0x36f194,-_0x4dc02c._0x153611)])){if(_0x494e4a[_0x2bfe92(-_0x4dc02c._0x477114,-0x80)](_0x494e4a[_0x2bfe92(-0x42,-_0x4dc02c._0x2a4c56)],_0x2bfe92(-_0x4dc02c._0x3d79fc,-_0x4dc02c._0x1525aa)))_0x3e1070[_0x1e4c8b(0x14,-_0x4dc02c._0x3c010c)+'edUnt'+'il']=_0x4dd562[_0x1e4c8b(0x14,-_0x4dc02c._0xf54b9a)+_0x1e4c8b(_0x4dc02c._0x29a6c6,0xb)+'il'];else{const _0x5e0d4c=_0x494e4a[_0x1e4c8b(0x29,0x26)](_0x46256f,_0x494e4a['nsaBW'](_0x3f2df7),_0x494e4a['ChhhK']),_0x4a250d=_0xc00afb[_0x2bfe92(-_0x4dc02c._0x38f9d5,-_0x4dc02c._0x4c040e)](_0x5e0d4c);if(_0x4a250d&&_0x494e4a[_0x2bfe92(-0x4e,-0x64)](typeof _0x4a250d[_0x1e4c8b(_0x4dc02c._0x3ea1ad,-_0x4dc02c._0xb64315)+_0x1e4c8b(_0x4dc02c._0x58f408,_0x4dc02c._0x19ac72)],_0x494e4a[_0x2bfe92(-0x59,-0x5f)])&&_0xb190ae['inclu'+_0x1e4c8b(_0x4dc02c._0xf2773e,0x2d)](_0x4a250d[_0x2bfe92(-_0x4dc02c._0xa55df7,-_0x4dc02c._0x358a44)+_0x1e4c8b(0xf,-_0x4dc02c._0x3adf86)])){const _0x3de3d9={};return _0x3de3d9[_0x1e4c8b(_0x4dc02c._0x19334e,0xf)+_0x2bfe92(-0x72,-_0x4dc02c._0x10c56f)]=_0x4a250d[_0x2bfe92(-0x5e,-_0x4dc02c._0x3307b1)+_0x2bfe92(-_0x4dc02c._0x23d2a3,-_0x4dc02c._0x2f917c)],_0x3de3d9;}const _0x4a870a={..._0x3ea6f8};return _0x4a870a;}}return _0x3e1070;}}catch{return _0x494e4a[_0x2bfe92(-_0x4dc02c._0x4c7e18,-_0x4dc02c._0x53a445)](_0x494e4a['SjSRM'],_0x494e4a[_0x2bfe92(-0x86,-0x74)])?_0x494e4a[_0x2bfe92(-0x55,-_0x4dc02c._0x4e1935)](_0x20f6a5,_0x284787(),_0x1e4c8b(_0x4dc02c._0x4dab7c,0x2d)+_0x1e4c8b(_0x4dc02c._0x416d12,-_0x4dc02c._0x3adf86)):{};}}export function saveProfile(_0x4266de){const _0x3b14d2={_0x305086:0x1a4,_0x258946:0x166,_0x23e2ca:0x17e,_0x11a32f:0x172,_0x115820:0x187,_0x4aeb1e:0x16e,_0x23be47:0x18b,_0x331df3:0x16f,_0x449f43:0x19b},_0x1d334c={'fHLsU':function(_0x2fc170){return _0x2fc170();},'QRBxD':function(_0x4af843,_0x33a495,_0x3f1fb5){return _0x4af843(_0x33a495,_0x3f1fb5);},'oYYrg':function(_0x3c40f3,_0x5a248a,_0x48127f,_0x3c1fff){return _0x3c40f3(_0x5a248a,_0x48127f,_0x3c1fff);},'kIhJx':function(_0x3ca68e){return _0x3ca68e();},'JRhTL':_0x3fcf93(0x18d,0x17f)},_0x426ab5=_0x1d334c[_0x3fcf93(_0x3b14d2._0x305086,0x1ae)](getConfigDir),_0x4b6038={};_0x4b6038[_0x589e34(0x167,_0x3b14d2._0x258946)+_0x3fcf93(_0x3b14d2._0x23e2ca,_0x3b14d2._0x11a32f)]=!![],_0x1d334c[_0x589e34(0x18c,_0x3b14d2._0x115820)](mkdirSync,_0x426ab5,_0x4b6038);function _0x3fcf93(_0x43d2f7,_0x48134b){return _0x26ef44(_0x48134b,_0x43d2f7-0x1f7);}function _0x589e34(_0x469d49,_0x390102){return _0x26ef44(_0x390102,_0x469d49-0x1eb);}_0x1d334c['oYYrg'](writeFileSync,_0x1d334c['kIhJx'](getProfilePath),JSON[_0x589e34(0x16c,_0x3b14d2._0x4aeb1e)+_0x3fcf93(_0x3b14d2._0x23be47,_0x3b14d2._0x331df3)](_0x4266de,null,0x2ea*-0x1+0x1fd6+-0x1cea),_0x1d334c[_0x3fcf93(0x197,_0x3b14d2._0x449f43)]);}
1
+ (function(_0x226df3,_0x5a6540){const _0x4b5a76={_0x142955:0xac,_0x6fe969:0x96,_0x1814ba:0x30f,_0xdc6c23:0x94,_0x318368:0x304,_0x2cd2a9:0x317,_0x24f076:0x31c,_0x30204f:0x8b,_0x483460:0x2fb,_0x2921ca:0xa8,_0x1facaa:0x88,_0x21aea4:0x80},_0x54fb05={_0x5cd67c:0x37};function _0x2371ed(_0x3cfd1b,_0xd204eb){return _0x15de(_0x3cfd1b-0x23d,_0xd204eb);}function _0x3d6eb8(_0x2d5da0,_0x788b27){return _0x15de(_0x2d5da0- -_0x54fb05._0x5cd67c,_0x788b27);}const _0x270aad=_0x226df3();while(!![]){try{const _0x5cb805=-parseInt(_0x3d6eb8(_0x4b5a76._0x142955,_0x4b5a76._0x6fe969))/(-0xd88+-0x3*-0xa79+-0x15*0xda)*(-parseInt(_0x2371ed(0x30a,_0x4b5a76._0x1814ba))/(-0x11*-0x165+0x229*0xf+-0x56*0xa7))+-parseInt(_0x3d6eb8(_0x4b5a76._0xdc6c23,0x85))/(-0x4f5+-0x20ed*-0x1+-0x1bf5)*(-parseInt(_0x2371ed(0x30d,_0x4b5a76._0x318368))/(0x3*-0xb9b+-0x3c4*-0x3+0x1*0x1789))+-parseInt(_0x3d6eb8(0x81,0x70))/(-0x323*-0x6+0x26f0+-0x39bd)+parseInt(_0x2371ed(_0x4b5a76._0x2cd2a9,_0x4b5a76._0x24f076))/(-0xea4*-0x1+0x318+-0x11b6)+-parseInt(_0x3d6eb8(0xa6,_0x4b5a76._0x30204f))/(0x1d9e+0x42*0x10+-0x21b7)*(parseInt(_0x2371ed(0x301,_0x4b5a76._0x483460))/(0x683*-0x2+0x37b+0x331*0x3))+-parseInt(_0x3d6eb8(_0x4b5a76._0x2921ca,_0x4b5a76._0x1facaa))/(-0x1a7*0x2+0x1347+-0xff*0x10)+parseInt(_0x3d6eb8(_0x4b5a76._0x21aea4,0xa0))/(-0x15ab+0x1*-0x554+0x1b09);if(_0x5cb805===_0x5a6540)break;else _0x270aad['push'](_0x270aad['shift']());}catch(_0x576863){_0x270aad['push'](_0x270aad['shift']());}}}(_0x5465,-0xaabe2+0x46c84+0xd0188));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';import{join}from'node:path';function _0x15de(_0x273492,_0x3938a2){_0x273492=_0x273492-(-0x58*-0x2c+0x2*0x10e7+0x9*-0x55d);const _0x89157d=_0x5465();let _0x4a544c=_0x89157d[_0x273492];if(_0x15de['QZENQF']===undefined){var _0x1dd6f3=function(_0x3440b3){const _0x282ae7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x356258='',_0xaabdf6='';for(let _0x2da078=0x193e+-0x1d2c+-0x2*-0x1f7,_0x309a41,_0x3c177e,_0xc8c3be=0x2223+-0x1c2b+-0x4*0x17e;_0x3c177e=_0x3440b3['charAt'](_0xc8c3be++);~_0x3c177e&&(_0x309a41=_0x2da078%(-0x248d*0x1+0x2562+-0x13*0xb)?_0x309a41*(0x7f8+0x1e59+-0x2611)+_0x3c177e:_0x3c177e,_0x2da078++%(-0x8f1+0x725+0x1d0))?_0x356258+=String['fromCharCode'](0x1d*0x2+-0x3*0xa9f+0x20a2&_0x309a41>>(-(-0x47*0x4+0x155*0x5+0x58b*-0x1)*_0x2da078&-0xb*0x273+-0x40b+-0x15*-0x17a)):0x9*-0x1b7+0x1*0x166e+-0x6ff){_0x3c177e=_0x282ae7['indexOf'](_0x3c177e);}for(let _0x75b9bf=0xec*-0x1e+-0x1*0x17f9+0x33a1,_0x2b206d=_0x356258['length'];_0x75b9bf<_0x2b206d;_0x75b9bf++){_0xaabdf6+='%'+('00'+_0x356258['charCodeAt'](_0x75b9bf)['toString'](-0x2197+-0xb5*-0x1f+0xbbc))['slice'](-(0x449+0x1e32+-0x2279));}return decodeURIComponent(_0xaabdf6);};_0x15de['DWTNcy']=_0x1dd6f3,_0x15de['pEjcqI']={},_0x15de['QZENQF']=!![];}const _0x41e40d=_0x89157d[0x100c+0x364+-0x137*0x10],_0x2041a2=_0x273492+_0x41e40d,_0x3404f3=_0x15de['pEjcqI'][_0x2041a2];return!_0x3404f3?(_0x4a544c=_0x15de['DWTNcy'](_0x4a544c),_0x15de['pEjcqI'][_0x2041a2]=_0x4a544c):_0x4a544c=_0x3404f3,_0x4a544c;}import{homedir}from'node:os';const _0x44835a={};_0x44835a[_0x58e0b8(0x156,0x173)+'ode']=_0x5be677(0x256,0x269)+_0x5be677(0x26b,0x277);const DEFAULT_CONFIG=_0x44835a,VALID_SCAN_MODES=[_0x58e0b8(0x14d,0x145)+_0x5be677(0x26b,0x255),_0x5be677(0x245,0x248)+'ve','manua'+'l'];function getConfigDir(){const _0x2bd302={_0x57f436:0x2d3};function _0x3b3089(_0x13d46a,_0x5c312c){return _0x5be677(_0x13d46a- -0x535,_0x5c312c);}const _0x5ffa68={'bcTLN':function(_0x54e384){return _0x54e384();}};return join(_0x5ffa68['bcTLN'](homedir),'.kira'+_0x3b3089(-0x2f2,-_0x2bd302._0x57f436));}function getConfigPath(){const _0x681530={_0x10c65f:0x31c,_0xca6ee7:0x2db,_0x527eeb:0x305},_0x1f9697={_0x511db4:0xd},_0x109a81={};function _0x428dd8(_0x35dc65,_0x106120){return _0x5be677(_0x106120-0xb4,_0x35dc65);}_0x109a81[_0x428dd8(0x32d,_0x681530._0x10c65f)]='confi'+_0x428dd8(_0x681530._0xca6ee7,0x2e9)+'n';function _0x434d7d(_0x412e66,_0x1e4a28){return _0x58e0b8(_0x412e66- -_0x1f9697._0x511db4,_0x1e4a28);}const _0xa683cd=_0x109a81;return join(getConfigDir(),_0xa683cd[_0x428dd8(_0x681530._0x527eeb,0x31c)]);}function _0x5465(){const _0x48b4dd=['quTQsee','CMvJDxi','BguUANm','v3PNCK8','zxjywva','zw1HAwW','wKvQD0C','Aw5JBhu','rxDqEfm','u3L3uLa','uNnXzMm','su5ADwO','zY5QC28','AfbgqM4','veDbtMW','B052Dg4','vKvMAK0','Devor2e','nJe0nZi1mePmDLfoBW','ndi3ndq3mhroqNDzuq','zwrvBNq','zNLeAvi','DKXsDvC','y29UzMK','z2LMEq','CgfYC2u','lwXPDgu','ww1kC0m','B24TC2e','qvrfrMe','r1zpt0y','odi2nfDiALPWqG','C3rYAw4','tvjtseC','ChjVzMK','qwLjsey','zgvZ','AezYCwm','nZqWmtmZu0v4DeHe','D2T4DNy','mKvfuKDjqG','ANz0rMG','DxrMltG','nfLhCg9trW','y1fmD3i','zxzLCNK','vMjPqM8','B2rL','AuTsDMu','r0DmA2q','C2L2zq','B2HAvw4','uM5gAuO','nde3odm4mKzICK5pBG','C2nHBK0','wfzRsuK','otCZzhPLsNHg','t1L2uui','mZK5nZm5nxPnDMXsza','y0zZDfq','AeXoAMW','rhL1u0W','mZi3nZi1ywPfDeTM','q0PizxO','qwXRCgu','C2TPCha','lwvKAxq'];_0x5465=function(){return _0x48b4dd;};return _0x5465();}export function loadConfig(){const _0xfd561e={_0x46898c:0xf5,_0x323404:0x206,_0x1bc616:0x21d,_0x5cc9c9:0x112,_0x4a29d3:0xfd,_0x4133b8:0x108,_0x36f7a5:0x1ee,_0x438cd2:0x11d,_0x555421:0x113,_0x1039bf:0x201,_0x3ae0da:0x1d9,_0x170487:0xee,_0x211fbe:0x106,_0x572929:0x1f1,_0xf415dc:0x225,_0xbbc435:0x1f6,_0x1fa83f:0x1e5,_0x1d0259:0x1f3,_0x5cfb04:0x214,_0x31e3fc:0x1f0,_0x37b937:0x1f0,_0x3eb78a:0x107,_0x1c6746:0x121,_0x13f97b:0x115,_0x292488:0x10f,_0x4e0565:0xf7,_0x17920b:0xfd};function _0x182a1c(_0x2e4771,_0x4e3e5b){return _0x5be677(_0x4e3e5b- -0x455,_0x2e4771);}function _0x1d8dc7(_0x53812d,_0x3acac8){return _0x5be677(_0x53812d- -0x14c,_0x3acac8);}const _0x5ae70b={'tENGa':function(_0x429522,_0x48a8f0,_0x459f70){return _0x429522(_0x48a8f0,_0x459f70);},'MRSHG':function(_0x5647b7){return _0x5647b7();},'yEaEA':_0x1d8dc7(0xf4,_0xfd561e._0x46898c)+'g.jso'+'n','dZNvG':function(_0x591c4d,_0x436d56,_0x260276,_0x5e0e00){return _0x591c4d(_0x436d56,_0x260276,_0x5e0e00);},'jvtFh':function(_0x3cf923){return _0x3cf923();},'AKjHA':_0x182a1c(-0x1f4,-0x202),'Alkpe':function(_0x322655,_0x56ed98){return _0x322655!==_0x56ed98;},'iKRve':_0x182a1c(-_0xfd561e._0x323404,-_0xfd561e._0x1bc616),'OYvQB':_0x1d8dc7(0xf8,_0xfd561e._0x5cc9c9),'erXYP':function(_0x531746,_0x55021d){return _0x531746===_0x55021d;},'hAnxD':_0x1d8dc7(_0xfd561e._0x4a29d3,_0xfd561e._0x4133b8)+'g','hLNjl':_0x182a1c(-_0xfd561e._0x36f7a5,-0x205),'fyDiR':'cJzfo'};try{if(_0x5ae70b[_0x1d8dc7(_0xfd561e._0x438cd2,_0xfd561e._0x555421)](_0x5ae70b[_0x182a1c(-_0xfd561e._0x1039bf,-0x1fc)],_0x5ae70b[_0x182a1c(-_0xfd561e._0x3ae0da,-0x1f3)])){const _0x49d900=_0x5ae70b[_0x1d8dc7(_0xfd561e._0x170487,0x100)](readFileSync,_0x5ae70b[_0x1d8dc7(_0xfd561e._0x211fbe,0xed)](getConfigPath),_0x5ae70b[_0x182a1c(-_0xfd561e._0x572929,-0x1e9)]),_0x5ee0d5=JSON['parse'](_0x49d900);if(_0x5ee0d5&&_0x5ae70b[_0x1d8dc7(0xe1,0xcf)](typeof _0x5ee0d5[_0x1d8dc7(_0xfd561e._0x555421,0x110)+_0x182a1c(-0x206,-0x1fd)],_0x5ae70b['hAnxD'])&&VALID_SCAN_MODES[_0x182a1c(-0x204,-_0xfd561e._0xf415dc)+'des'](_0x5ee0d5[_0x182a1c(-0x1f6,-_0xfd561e._0xbbc435)+_0x182a1c(-_0xfd561e._0x1fa83f,-0x1fd)])){const _0x3c1a30={};return _0x3c1a30[_0x182a1c(-_0xfd561e._0x1d0259,-0x1f6)+_0x182a1c(-_0xfd561e._0x5cfb04,-0x1fd)]=_0x5ee0d5[_0x1d8dc7(0x113,_0xfd561e._0x4a29d3)+'ode'],_0x3c1a30;}const _0x2db786={...DEFAULT_CONFIG};return _0x2db786;}else return _0x5ae70b[_0x182a1c(-0x233,-0x21b)](_0xcc3a69,_0x5ae70b[_0x182a1c(-_0xfd561e._0x31e3fc,-0x20b)](_0xeed618),_0x5ae70b['yEaEA']);}catch{if(_0x5ae70b['erXYP'](_0x5ae70b[_0x182a1c(-0x1d8,-_0xfd561e._0x37b937)],_0x5ae70b[_0x1d8dc7(0xf2,_0xfd561e._0x3eb78a)])){const _0x11fec4=_0x4aca91(),_0x24ca20={};_0x24ca20[_0x1d8dc7(_0xfd561e._0x1c6746,_0xfd561e._0x13f97b)+_0x1d8dc7(_0xfd561e._0x292488,_0xfd561e._0x4e0565)]=!![],_0x5ae70b['tENGa'](_0x42dd5c,_0x11fec4,_0x24ca20),_0x5ae70b['dZNvG'](_0x5d3574,_0x5ae70b['jvtFh'](_0x300fa9),_0x104748[_0x1d8dc7(_0xfd561e._0x17920b,0xef)+'gify'](_0xdeef6b,null,-0x14cd+0x1*0x61f+-0x2*-0x758),_0x5ae70b['AKjHA']);}else{const _0x4a9d6f={...DEFAULT_CONFIG};return _0x4a9d6f;}}}export function saveConfig(_0x54eed1){const _0x389b92={_0x44fe0e:0x3fb,_0xa27b49:0x30a,_0x296273:0x3ff},_0x3f27e2={'IqKBl':function(_0xa4d72f){return _0xa4d72f();},'TGANl':function(_0x20bdba,_0x46cccb,_0xc4e0b5){return _0x20bdba(_0x46cccb,_0xc4e0b5);},'cQLwr':function(_0xd3020f,_0x5dfe7b,_0x1f5611,_0x5468b9){return _0xd3020f(_0x5dfe7b,_0x1f5611,_0x5468b9);},'Rsqfc':function(_0x1e394f){return _0x1e394f();}},_0x2c45fd=_0x3f27e2['IqKBl'](getConfigDir);function _0x1c9acb(_0x14ff89,_0x139832){return _0x58e0b8(_0x139832-0x2b8,_0x14ff89);}function _0x1bce48(_0x115e57,_0x1d88d6){return _0x5be677(_0x115e57-0xcc,_0x1d88d6);}const _0x4d927c={};_0x4d927c['recur'+'sive']=!![],_0x3f27e2[_0x1c9acb(_0x389b92._0x44fe0e,0x3e6)](mkdirSync,_0x2c45fd,_0x4d927c),_0x3f27e2[_0x1bce48(0x321,0x317)](writeFileSync,_0x3f27e2[_0x1bce48(0x2ff,_0x389b92._0xa27b49)](getConfigPath),JSON[_0x1c9acb(0x40e,0x3f8)+'gify'](_0x54eed1,null,0xd6c+0x2e7*0xc+-0xd*0x3b6),_0x1c9acb(_0x389b92._0x296273,0x402));}function getProfilePath(){const _0x1851ed={_0x3c8c66:0x37,_0x1b2ab0:0x1a8,_0x559338:0x192,_0x134db0:0x6b,_0xcd0dc6:0x75},_0x4963d8={_0x1bd72b:0x4d},_0x1d7a2e={'cFstT':function(_0xecc772,_0x100294,_0x27680b){return _0xecc772(_0x100294,_0x27680b);},'IobUV':function(_0x40ad9c){return _0x40ad9c();},'GVOOF':_0x1eba7d(-0x67,-0x56)+_0x1eba7d(-0x44,-_0x1851ed._0x3c8c66)+'on'};function _0xe0d016(_0x1651a0,_0x456bfa){return _0x58e0b8(_0x1651a0-_0x4963d8._0x1bd72b,_0x456bfa);}function _0x1eba7d(_0x234158,_0x48eaae){return _0x5be677(_0x234158- -0x2b2,_0x48eaae);}return _0x1d7a2e[_0xe0d016(_0x1851ed._0x1b2ab0,_0x1851ed._0x559338)](join,_0x1d7a2e['IobUV'](getConfigDir),_0x1d7a2e[_0x1eba7d(-_0x1851ed._0x134db0,-_0x1851ed._0xcd0dc6)]);}function _0x58e0b8(_0x47d67a,_0x1be757){return _0x15de(_0x47d67a-0x7b,_0x1be757);}function _0x5be677(_0x5a76a0,_0x5ba54d){return _0x15de(_0x5a76a0-0x184,_0x5ba54d);}export function loadProfile(){const _0x359323={_0x40a7d3:0x4a6,_0x15ffd5:0x4a0,_0x20c8f0:0x49c,_0x20f143:0x49d,_0x4c9a9f:0x291,_0x5edb7a:0x299,_0x4aba37:0x277,_0x1797f8:0x27f,_0x159182:0x2ba,_0xdb316d:0x2bd,_0x43e50b:0x47e,_0xbf2cfd:0x2a4,_0xeb2ff0:0x297,_0x5eea2b:0x499,_0x51f12:0x481,_0x2c63d8:0x482,_0x59120d:0x2b5,_0x2ee9d0:0x479,_0x4860d8:0x48f,_0x42a761:0x291,_0x4efcd6:0x4bd,_0x268b66:0x4a1,_0x398a1b:0x2b5,_0x27c544:0x288,_0x2c5300:0x298,_0x2994e:0x2a7,_0xe8375:0x278,_0x20e7e0:0x28d,_0x40c6dd:0x484,_0x192843:0x490,_0x151497:0x2b5,_0x3b9d9c:0x484,_0x1a85fa:0x4a0,_0x3a7a88:0x2b6,_0x3fa59c:0x495,_0x117062:0x286,_0x361fdd:0x2c4,_0x460572:0x2a2,_0x2c1340:0x483,_0xb4e2f9:0x47b,_0x5496bc:0x2b1,_0x7c5656:0x298,_0x2a2904:0x28a,_0x3fd43d:0x2aa,_0x824208:0x4ab,_0x18ebe2:0x2a3,_0xb3f57f:0x2a3},_0x261b00={'ohZUn':function(_0x5dc832){return _0x5dc832();},'WzgrO':_0x157dc8(_0x359323._0x40a7d3,_0x359323._0x15ffd5),'SywRP':function(_0x233c70,_0x13bbc7){return _0x233c70===_0x13bbc7;},'EwPxS':function(_0x1ca4c7,_0x34af9f){return _0x1ca4c7===_0x34af9f;},'VbiBo':_0x157dc8(_0x359323._0x20c8f0,_0x359323._0x20f143)+'g','GGLkd':function(_0x2dd7ae,_0xf7d818,_0x3edcc0){return _0x2dd7ae(_0xf7d818,_0x3edcc0);},'ZEjwG':function(_0x5a0f84){return _0x5a0f84();},'RnFiJ':function(_0x2fa8da,_0x4a5957,_0x4a5422){return _0x2fa8da(_0x4a5957,_0x4a5422);},'VEfjM':_0x1c9d37(_0x359323._0x4c9a9f,0x297),'ATEFa':'GXsPk','hPFBn':_0x1c9d37(0x281,_0x359323._0x5edb7a),'DyuSL':_0x1c9d37(_0x359323._0x4aba37,_0x359323._0x1797f8)};function _0x157dc8(_0x24e3c9,_0x46e3f2){return _0x58e0b8(_0x24e3c9-0x35c,_0x46e3f2);}function _0x1c9d37(_0x2a8df2,_0x2762c9){return _0x5be677(_0x2762c9-0x4b,_0x2a8df2);}try{const _0x36899f=_0x261b00[_0x157dc8(0x4b0,0x4cc)](readFileSync,getProfilePath(),_0x261b00[_0x1c9d37(0x2d5,_0x359323._0x159182)]),_0x3e3a8f=JSON['parse'](_0x36899f),_0x180201={};if(_0x3e3a8f&&_0x261b00[_0x1c9d37(0x299,0x27d)](typeof _0x3e3a8f[_0x1c9d37(0x275,0x279)],_0x261b00[_0x1c9d37(_0x359323._0xdb316d,0x2a2)])){if(_0x261b00[_0x157dc8(0x484,_0x359323._0x43e50b)](_0x261b00[_0x1c9d37(_0x359323._0xbf2cfd,0x284)],_0x1c9d37(0x27c,_0x359323._0xeb2ff0)))_0x180201[_0x157dc8(0x481,_0x359323._0x5eea2b)]=_0x3e3a8f[_0x157dc8(_0x359323._0x51f12,_0x359323._0x2c63d8)];else return{};}if(_0x3e3a8f&&typeof _0x3e3a8f[_0x1c9d37(0x2c6,_0x359323._0x59120d)+_0x157dc8(0x490,_0x359323._0x2ee9d0)+'il']===_0x261b00[_0x157dc8(0x4aa,_0x359323._0x4860d8)]){if(_0x261b00[_0x1c9d37(0x29b,_0x359323._0x42a761)]!==_0x261b00[_0x157dc8(0x489,0x49d)])_0x180201[_0x157dc8(_0x359323._0x4efcd6,_0x359323._0x268b66)+'edUnt'+'il']=_0x3e3a8f[_0x1c9d37(0x2ae,_0x359323._0x398a1b)+_0x1c9d37(0x297,_0x359323._0x27c544)+'il'];else{const _0x5eee57=_0x13301d(_0x261b00[_0x1c9d37(_0x359323._0x2c5300,_0x359323._0x2994e)](_0x5a3281),_0x261b00['WzgrO']),_0x5a8b45=_0x11858c[_0x1c9d37(_0x359323._0xe8375,_0x359323._0x20e7e0)](_0x5eee57),_0x5232f0={};return _0x5a8b45&&_0x261b00[_0x157dc8(0x485,_0x359323._0x20f143)](typeof _0x5a8b45['email'],_0x157dc8(0x49c,0x47f)+'g')&&(_0x5232f0[_0x157dc8(0x481,0x462)]=_0x5a8b45['email']),_0x5a8b45&&_0x261b00[_0x157dc8(_0x359323._0x40c6dd,_0x359323._0x20f143)](typeof _0x5a8b45[_0x157dc8(0x4bd,0x4cf)+_0x157dc8(_0x359323._0x192843,0x493)+'il'],_0x261b00['VbiBo'])&&(_0x5232f0['skipp'+_0x157dc8(0x490,0x49b)+'il']=_0x5a8b45[_0x1c9d37(0x2d5,_0x359323._0x151497)+'edUnt'+'il']),_0x5232f0;}}return _0x180201;}catch{if(_0x261b00[_0x157dc8(_0x359323._0x3b9d9c,_0x359323._0x1a85fa)](_0x261b00[_0x1c9d37(0x2c6,0x2b1)],_0x261b00[_0x1c9d37(_0x359323._0x3a7a88,0x2b1)]))return{};else try{const _0x198ebb=_0x261b00[_0x1c9d37(0x2c2,0x2a5)](_0x1b60fa,_0x261b00[_0x1c9d37(0x26a,0x27a)](_0x4f625c),_0x261b00['WzgrO']),_0x4faa64=_0x24c68e[_0x157dc8(_0x359323._0x3fa59c,0x49d)](_0x198ebb);if(_0x4faa64&&_0x261b00[_0x1c9d37(0x291,0x27d)](typeof _0x4faa64[_0x1c9d37(0x2aa,0x2aa)+_0x1c9d37(_0x359323._0x117062,0x2a3)],_0x261b00[_0x1c9d37(_0x359323._0x361fdd,_0x359323._0x460572)])&&_0x386829[_0x157dc8(_0x359323._0x2c1340,_0x359323._0xb4e2f9)+_0x1c9d37(_0x359323._0x5496bc,_0x359323._0x7c5656)](_0x4faa64[_0x1c9d37(_0x359323._0x2a2904,_0x359323._0x3fd43d)+_0x157dc8(_0x359323._0x824208,0x4ae)])){const _0x190c7c={};return _0x190c7c['scanM'+_0x1c9d37(0x2b3,_0x359323._0x18ebe2)]=_0x4faa64[_0x157dc8(0x4b2,0x4c7)+_0x1c9d37(0x2a6,_0x359323._0xb3f57f)],_0x190c7c;}const _0x5c7365={..._0x1ed3ae};return _0x5c7365;}catch{const _0x52bc88={..._0x2eae88};return _0x52bc88;}}}export function saveProfile(_0x3fa1f2){const _0x41e573={_0xbc7185:0x121,_0x4c7cd7:0x120,_0x3aabc2:0x10a,_0x4a1c2c:0x112,_0x2febe4:0x102,_0x2549f4:0x100,_0xa40481:0xeb},_0x23182b={_0x33cb53:0x208},_0x458d50={'XVkII':function(_0x50f55c){return _0x50f55c();},'vLRuW':'utf-8'},_0x1d8f2c=getConfigDir();function _0x3b2bab(_0x110c71,_0x10da38){return _0x5be677(_0x110c71- -_0x23182b._0x33cb53,_0x10da38);}const _0x2c2400={};_0x2c2400['recur'+'sive']=!![];function _0x3f88fe(_0xb1a153,_0xf23e44){return _0x5be677(_0xb1a153- -0x13f,_0xf23e44);}mkdirSync(_0x1d8f2c,_0x2c2400),writeFileSync(_0x458d50[_0x3f88fe(_0x41e573._0xbc7185,_0x41e573._0x4c7cd7)](getProfilePath),JSON[_0x3f88fe(_0x41e573._0x3aabc2,_0x41e573._0x4a1c2c)+_0x3f88fe(_0x41e573._0x2febe4,0x120)](_0x3fa1f2,null,-0x12*-0x96+0xbe8+0x1672*-0x1),_0x458d50[_0x3f88fe(_0x41e573._0x2549f4,_0x41e573._0xa40481)]);}
@@ -1 +1 @@
1
- (function(_0x8ff46e,_0x5c4319){const _0x3db724={_0x33ffaa:0x77,_0x4dec5b:0x60,_0x1f84b3:0x38,_0x20bf69:0x8c,_0x2b8495:0x48,_0x1ea775:0x65},_0x83d642={_0x6e95f4:0x38},_0x2ffdb4=_0x8ff46e();function _0x35db07(_0x2129a6,_0x242801){return _0x1ed6(_0x242801- -_0x83d642._0x6e95f4,_0x2129a6);}function _0x584871(_0x4bb4a4,_0x5d60ae){return _0x1ed6(_0x5d60ae- -0x46,_0x4bb4a4);}while(!![]){try{const _0x426fb7=parseInt(_0x584871(0x64,0x3b))/(0x5*0x55c+-0x32b*-0x1+-0x1df6)+-parseInt(_0x35db07(_0x3db724._0x33ffaa,_0x3db724._0x4dec5b))/(0xc*0x11f+-0xa4c+0xd*-0x3e)+parseInt(_0x584871(_0x3db724._0x1f84b3,0x59))/(0x1*0x669+0x18cb+-0x1f31)*(-parseInt(_0x584871(_0x3db724._0x20bf69,0x6e))/(0x1*0x2265+-0x1356+0x1*-0xf0b))+parseInt(_0x35db07(0x4a,_0x3db724._0x2b8495))/(-0x11c0*0x2+-0x5*0x235+-0xca*-0x3b)*(-parseInt(_0x35db07(0x6f,_0x3db724._0x1ea775))/(0xdce+0x4d5*0x5+0x25f1*-0x1))+parseInt(_0x35db07(0x72,0x56))/(0x227*0x9+-0x19b*0x2+-0x2*0x811)+parseInt(_0x35db07(0x98,0x87))/(-0x4cb+0x22de+-0x1e0b)*(parseInt(_0x584871(0x6f,0x53))/(0x104d+-0x14c3+0x47f))+-parseInt(_0x35db07(0x4c,0x5b))/(0x1*0x1ac9+-0x358*0x7+-0x357)*(-parseInt(_0x584871(0x4c,0x51))/(-0x2c*0x34+-0x2691+-0xbe3*-0x4));if(_0x426fb7===_0x5c4319)break;else _0x2ffdb4['push'](_0x2ffdb4['shift']());}catch(_0x506963){_0x2ffdb4['push'](_0x2ffdb4['shift']());}}}(_0x1379,0xec006+-0x5b49c+0x102f));import{runCommand,isToolAvailable}from'./runner.js';import{createRequire}from'node:module';import{accessSync,constants}from'node:fs';function _0x1ed6(_0x5b7f67,_0x325fcf){_0x5b7f67=_0x5b7f67-(0x1e31+-0x1f6b+0x1b6);const _0x2ef6cd=_0x1379();let _0x32a37d=_0x2ef6cd[_0x5b7f67];if(_0x1ed6['Mgnisq']===undefined){var _0x5bcb9c=function(_0x5255c9){const _0x31512e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ad7a7='',_0x2c50ca='';for(let _0x29f4ef=-0x18c5*0x1+-0x20ec+-0x669*-0x9,_0x380537,_0x3f9795,_0x5d720d=0x1173*0x1+0x11a+0x62f*-0x3;_0x3f9795=_0x5255c9['charAt'](_0x5d720d++);~_0x3f9795&&(_0x380537=_0x29f4ef%(0x1*-0x7c9+0xd*0xf0+-0x1*0x463)?_0x380537*(-0x20*-0xf4+0x371*0x1+-0x21b1)+_0x3f9795:_0x3f9795,_0x29f4ef++%(-0xdbd+0x31d+0x1c6*0x6))?_0x3ad7a7+=String['fromCharCode'](0xefa+0x24*-0x14+-0x1*0xb2b&_0x380537>>(-(-0x1*-0x1d07+-0x1*-0x365+-0x206a)*_0x29f4ef&-0x3*0x7d9+0xd71+-0x8*-0x144)):0x2287*-0x1+-0xd*-0x1af+-0x4*-0x329){_0x3f9795=_0x31512e['indexOf'](_0x3f9795);}for(let _0x3b93=0x46+0xe*0x271+-0x2274,_0x392eca=_0x3ad7a7['length'];_0x3b93<_0x392eca;_0x3b93++){_0x2c50ca+='%'+('00'+_0x3ad7a7['charCodeAt'](_0x3b93)['toString'](-0x1*-0x101+0xac6+-0xbb7))['slice'](-(0x7d3*-0x2+-0x23d1+-0x3379*-0x1));}return decodeURIComponent(_0x2c50ca);};_0x1ed6['Efqaae']=_0x5bcb9c,_0x1ed6['SaNdhM']={},_0x1ed6['Mgnisq']=!![];}const _0x559cba=_0x2ef6cd[-0x10d+0x12c7+0x2*-0x8dd],_0x1291e6=_0x5b7f67+_0x559cba,_0x57cb3f=_0x1ed6['SaNdhM'][_0x1291e6];return!_0x57cb3f?(_0x32a37d=_0x1ed6['Efqaae'](_0x32a37d),_0x1ed6['SaNdhM'][_0x1291e6]=_0x32a37d):_0x32a37d=_0x57cb3f,_0x32a37d;}function _0x39df76(_0x49ea8a,_0x4f74e5){return _0x1ed6(_0x49ea8a- -0x30b,_0x4f74e5);}const _0x3d6e59={};_0x3d6e59[_0x4d2d66(-0x2a5,-0x296)+_0x4d2d66(-0x2ad,-0x2a6)+'64']=_0x4d2d66(-0x295,-0x296)+_0x4d2d66(-0x29c,-0x282)+_0x4d2d66(-0x286,-0x289)+'a-cor'+'e-dar'+_0x4d2d66(-0x2c6,-0x2b3)+_0x4d2d66(-0x27f,-0x27e),_0x3d6e59[_0x39df76(-0x25f,-0x245)+_0x39df76(-0x25d,-0x24b)]=_0x39df76(-0x24f,-0x255)+_0x39df76(-0x256,-0x22f)+'c/kir'+_0x4d2d66(-0x2b5,-0x29a)+_0x39df76(-0x28f,-0x292)+'win-x'+'64',_0x3d6e59[_0x4d2d66(-0x2ab,-0x2a9)+_0x39df76(-0x24e,-0x253)]=_0x39df76(-0x24f,-0x27a)+_0x4d2d66(-0x29c,-0x27c)+'c/kir'+_0x4d2d66(-0x2b5,-0x2ce)+_0x39df76(-0x261,-0x235)+_0x39df76(-0x250,-0x25d)+'4';function _0x4d2d66(_0x4f481f,_0xb6f546){const _0x13bf0d={_0x59c6f4:0x351};return _0x1ed6(_0x4f481f- -_0x13bf0d._0x59c6f4,_0xb6f546);}_0x3d6e59[_0x39df76(-0x265,-0x240)+_0x39df76(-0x244,-0x23e)+'4']=_0x4d2d66(-0x295,-0x277)+_0x39df76(-0x256,-0x268)+_0x39df76(-0x240,-0x22a)+_0x4d2d66(-0x2b5,-0x2b1)+'e-lin'+_0x39df76(-0x254,-0x279)+_0x4d2d66(-0x2c1,-0x2e1),_0x3d6e59[_0x39df76(-0x271,-0x293)+_0x4d2d66(-0x294,-0x283)]=_0x39df76(-0x24f,-0x24f)+_0x39df76(-0x256,-0x22e)+_0x4d2d66(-0x286,-0x29b)+_0x4d2d66(-0x2b5,-0x2b5)+_0x4d2d66(-0x2c0,-0x2e2)+_0x39df76(-0x23a,-0x241)+'4';const PLATFORM_PACKAGES=_0x3d6e59;function _0x1379(){const _0x36b15a=['y3DL','mJbmzMX3yNC','CMLKC2u','shr5Cha','DxGTyxi','vK5fBKG','BMDZ','yxjJAa','DxGTEdy','qg9MzMC','lxG2na','C3rKB3u','mtyZmJaZmMTOt0vlvW','A2LYys0','DuDxzLK','CgXHDgy','BwfW','Ee1ID28','ze9xuxi','C2v2zxi','lwfYBty','DgLTzw8','DgL0Bgu','rL9psW','yY9RAxi','y29SDw0','ywDL','CgfYC2u','zMLUzgK','C2nHBM4','mZiTEdy','CM02na','zs1Kyxi','yu5hAgu','B3jT','u3LuCMC','odi5mg1Qr3rpwG','nZCYnZDKBM1iBe8','wLLYsfq','Axb0Aw8','Axr5','A0zMuxy','wf9psW','z2LMEq','BgLUzq','ls1MB3i','zLL2D3G','D2LUlwe','DLzJDKO','C3rYAw4','nJy1ntGXwu9Rrwzh','r0HJquG','Bty0','zs13Aw4','yxzHAwW','mtu5mfbry1rKsa','y29Yzq','zwrFBgK','Aw5L','mtuZotaXEMHOuMXY','mtiZmdiXnLHUrxrvvq','mtHOtvnTqNe','D2LUmZi','zML4zwq','ys1JB3i','mZyWmeXNqNzHrW','vwTwu0e','mZu4odG0vKzPwMnX','tLHwCey','Efj2ze8','CMvZDwW','BMvZ','BI1HCM0','DwzMBK4','BgLUDxG','C3vTBwe','ru1sCKm','zwrmAw4','zs1SAw4','C3rHDhu','zgfYD2K','BgfUz3u','BI14nJq','zML4','ywjSzq','x2nVzgu','tK1VDKe'];_0x1379=function(){return _0x36b15a;};return _0x1379();}let resolvedBinaryPath;export function resolveKiraCoreBinary(){const _0x17c3be={_0xd2b291:0x14e,_0x265894:0x10a,_0xf6d05f:0x146,_0x341c2f:0x178,_0xa2294f:0xf3,_0x250875:0x118,_0x1cb45b:0x2f0,_0xc61616:0x2f1,_0x3a5454:0x313},_0x2c9df3={_0x6cc21b:0x397},_0x27c5f3={'UkVSA':function(_0x13dd44,_0x2ba571){return _0x13dd44(_0x2ba571);},'YaFJU':function(_0x2ed2f9,_0x29556f){return _0x2ed2f9===_0x29556f;},'vVcvJ':'win32','kFfQv':function(_0x43ecf7,_0xf843d9){return _0x43ecf7|_0xf843d9;},'EMRrC':function(_0x4826ef,_0x1b172d,_0x183658){return _0x4826ef(_0x1b172d,_0x183658);}};function _0x24af20(_0x708429,_0x243949){return _0x4d2d66(_0x243949-0x5bc,_0x708429);}if(resolvedBinaryPath!==undefined)return resolvedBinaryPath;function _0x12def2(_0x200e5e,_0x4182a6){return _0x39df76(_0x4182a6-_0x2c9df3._0x6cc21b,_0x200e5e);}const _0x4d03ed=process[_0x12def2(0x12d,_0x17c3be._0xd2b291)+_0x12def2(0x116,_0x17c3be._0x265894)]+'-'+process[_0x12def2(_0x17c3be._0xf6d05f,0x146)],_0x13ca98=PLATFORM_PACKAGES[_0x4d03ed];if(!_0x13ca98)return resolvedBinaryPath=null,null;try{const _0x378317=_0x27c5f3['UkVSA'](createRequire,import.meta.url),_0x42e39d=_0x27c5f3[_0x24af20(0x2e1,0x309)](_0x378317,_0x13ca98),_0x5ff638=_0x27c5f3['YaFJU'](process[_0x12def2(_0x17c3be._0x341c2f,0x14e)+_0x24af20(0x30b,0x2e9)],_0x27c5f3[_0x12def2(_0x17c3be._0xa2294f,_0x17c3be._0x250875)])?constants['F_OK']:_0x27c5f3[_0x24af20(0x2e6,_0x17c3be._0x1cb45b)](constants[_0x12def2(0x15a,0x156)],constants[_0x24af20(0x309,_0x17c3be._0xc61616)]);return _0x27c5f3[_0x24af20(0x2f2,_0x17c3be._0x3a5454)](accessSync,_0x42e39d,_0x5ff638),resolvedBinaryPath=_0x42e39d,_0x42e39d;}catch{return resolvedBinaryPath=null,null;}}export async function checkKiraCoreAvailable(){const _0x51f25a={_0x2ba059:0x275,_0x4e8f85:0x279,_0x1a9665:0x257,_0x3be391:0x2a4},_0x407e02={'NXVpF':function(_0x5c2da7,_0x4a3d8f){return _0x5c2da7!==_0x4a3d8f;},'lfdqB':function(_0x505639){return _0x505639();},'Tkqmy':function(_0x4f903a,_0x531c9a){return _0x4f903a(_0x531c9a);}};function _0x8818ec(_0x4f958a,_0x1704ac){return _0x4d2d66(_0x1704ac-0x289,_0x4f958a);}function _0x1ce743(_0x20f823,_0x8a4900){return _0x39df76(_0x8a4900- -0xe,_0x20f823);}if(_0x407e02[_0x1ce743(-_0x51f25a._0x2ba059,-_0x51f25a._0x4e8f85)](_0x407e02['lfdqB'](resolveKiraCoreBinary),null))return!![];return _0x407e02['Tkqmy'](isToolAvailable,_0x1ce743(-_0x51f25a._0x1a9665,-0x259)+_0x1ce743(-_0x51f25a._0x3be391,-0x285));}export async function runKiraCore(_0x188e37,_0x587e50,_0x4bd767){const _0x5af700={_0x232b4e:0x44,_0x539d41:0x2c,_0x5c2b27:0x8,_0x37d6ad:0x21,_0x3235c1:0x1c8,_0x20c462:0x1c6,_0x314cd5:0x50,_0x4d1810:0x26,_0x487c9b:0x1fb,_0x37dc1c:0x1c7,_0x1b108e:0x1b1,_0x5210f2:0x1e5,_0x1d0876:0x1ca,_0x22f1a6:0x59,_0x17969b:0x75,_0x23b356:0x5d,_0x5056df:0x5c,_0xaa9540:0x69,_0x153558:0x192,_0x11c4ef:0x199,_0x59756d:0x1a9,_0xea0f6a:0x67,_0x505b03:0x87,_0x587f4a:0x65,_0x5537b3:0x19d,_0x5ee167:0x1a4,_0x5721db:0x1bc,_0x2be7c3:0x43,_0x2902c0:0x5b,_0x1aea65:0x41,_0x521e4c:0x1da,_0x45083f:0x65,_0x14d398:0x6a,_0x1f4894:0x66,_0x1ead79:0x1d2,_0x14062d:0x60,_0x40b95d:0x1d9,_0x419f54:0x5d,_0x2ce4f4:0x2a,_0x10300e:0x1b7,_0x118d40:0x3a,_0x4214f0:0x3a,_0x1710e8:0x1e9,_0x2c4939:0x22},_0x49b5e3={_0x541ca0:0xa4},_0x478c5a={'KpzoN':function(_0x573e28,_0x581db4){return _0x573e28!==_0x581db4;},'ZYrHT':function(_0xe8ad9b){return _0xe8ad9b();},'aNGhe':function(_0x1d63be,_0x1cc0c7){return _0x1d63be(_0x1cc0c7);},'fYvwx':_0x2b57ab(0x58,_0x5af700._0x232b4e)+_0x2b57ab(_0x5af700._0x539d41,_0x5af700._0x5c2b27),'uffnN':function(_0x3eeb4b,_0x19a43f){return _0x3eeb4b||_0x19a43f;},'SyTrg':function(_0x55726a,_0x3da943){return _0x55726a||_0x3da943;},'hvKhd':function(_0x4b5f27,_0x2a77e2,_0x35cade,_0x3690c9){return _0x4b5f27(_0x2a77e2,_0x35cade,_0x3690c9);},'uGWfY':_0x2b57ab(_0x5af700._0x37d6ad,-0x4)+'mat','dOWQr':'json','jzvDP':_0x2cf64c(-_0x5af700._0x3235c1,-_0x5af700._0x20c462),'xMbwo':_0x2b57ab(_0x5af700._0x314cd5,_0x5af700._0x4d1810),'uZhwx':function(_0x354055,_0x1ab657){return _0x354055===_0x1ab657;},'NMovA':_0x2cf64c(-_0x5af700._0x487c9b,-0x1d8),'wmsay':_0x2cf64c(-_0x5af700._0x37dc1c,-_0x5af700._0x1b108e)},_0x34ed17=await checkKiraCoreAvailable();if(!_0x34ed17)return null;const _0x48d5ae=_0x478c5a[_0x2cf64c(-0x1fa,-_0x5af700._0x5210f2)](resolveKiraCoreBinary)??_0x478c5a['fYvwx'],_0x445f2b=JSON[_0x2b57ab(0x25,0x1e)+_0x2cf64c(-0x1ed,-0x1e0)]({'code':_0x188e37,'language':_0x478c5a[_0x2cf64c(-_0x5af700._0x1d0876,-0x1c2)](_0x587e50,''),'filename':_0x478c5a[_0x2b57ab(0x17,0x19)](_0x4bd767,'')});function _0x2cf64c(_0x2147fc,_0x1596fa){return _0x39df76(_0x1596fa-_0x49b5e3._0x541ca0,_0x2147fc);}const _0x5b28c9={};_0x5b28c9['stdin']=_0x445f2b,_0x5b28c9[_0x2b57ab(0x60,0x88)+'ut']=0xea60;function _0x2b57ab(_0x47111c,_0x2cd020){return _0x4d2d66(_0x47111c-0x2e9,_0x2cd020);}const _0x245261=await _0x478c5a['hvKhd'](runCommand,_0x48d5ae,[_0x478c5a[_0x2b57ab(_0x5af700._0x22f1a6,_0x5af700._0x17969b)],_0x478c5a[_0x2b57ab(_0x5af700._0x23b356,0x39)]],_0x5b28c9);try{if(_0x478c5a['jzvDP']===_0x478c5a[_0x2b57ab(_0x5af700._0x5056df,_0x5af700._0xaa9540)])return null;else{const _0x4953bd=JSON[_0x2cf64c(-_0x5af700._0x153558,-_0x5af700._0x11c4ef)](_0x245261[_0x2cf64c(-0x181,-_0x5af700._0x59756d)+'t']),_0x35c3ef=_0x4953bd[_0x2b57ab(_0x5af700._0xea0f6a,_0x5af700._0x505b03)+_0x2b57ab(0x51,_0x5af700._0x587f4a)][_0x2cf64c(-_0x5af700._0x5537b3,-_0x5af700._0x5ee167)](_0x3dd3ed=>({'id':_0x3dd3ed['id'],'severity':_0x3dd3ed[_0x2b57ab(0x5e,0x74)+_0x2b57ab(0x1c,-0x4)],'cwe':_0x3dd3ed[_0x2b57ab(0x4b,0x6c)],'title':_0x3dd3ed[_0x2cf64c(-0x1b0,-0x19e)],'description':_0x3dd3ed['descr'+_0x2cf64c(-0x1d8,-0x1e4)+'n'],'line':_0x3dd3ed[_0x2b57ab(0x20,0x25)],'column':_0x3dd3ed[_0x2b57ab(0x64,0x70)+'n'],'endLine':_0x3dd3ed['end_l'+_0x2cf64c(-0x1d8,-0x1d1)],'snippet':_0x3dd3ed['snipp'+'et'],'fix':_0x3dd3ed[_0x2cf64c(-0x197,-0x1b8)],'fixedCode':_0x3dd3ed[_0x2b57ab(0x33,0x56)+_0x2cf64c(-0x1b9,-0x1b6)],'engine':_0x2b57ab(0x58,0x34)+'core'})),_0x2a613a={};_0x2a613a[_0x2cf64c(-0x1dc,-_0x5af700._0x5721db)+'s']=_0x4953bd[_0x2b57ab(_0x5af700._0x2be7c3,_0x5af700._0x2902c0)+'s'],_0x2a613a[_0x2b57ab(0x45,0x2e)+_0x2b57ab(0x65,_0x5af700._0x1aea65)]=_0x4953bd[_0x2cf64c(-_0x5af700._0x521e4c,-0x1ba)+_0x2b57ab(_0x5af700._0x45083f,_0x5af700._0x14d398)],_0x2a613a['scann'+_0x2b57ab(0x41,_0x5af700._0x1f4894)+'es']=_0x4953bd[_0x2b57ab(0x68,0x69)+_0x2cf64c(-0x1b6,-_0x5af700._0x1ead79)+_0x2b57ab(0x3b,_0x5af700._0x14062d)],_0x2a613a[_0x2b57ab(0x67,0x49)+_0x2cf64c(-_0x5af700._0x40b95d,-0x1ae)]=_0x35c3ef,_0x2a613a[_0x2b57ab(0x3f,_0x5af700._0x419f54)+'ry']=_0x4953bd['summa'+'ry'],_0x2a613a['engin'+'es']=[];const _0x5b5301={};return _0x5b5301[_0x2b57ab(_0x5af700._0x2ce4f4,0x55)+_0x2cf64c(-0x193,-_0x5af700._0x10300e)]=!![],_0x5b5301[_0x2b57ab(_0x5af700._0x118d40,0x19)+'t']=_0x2a613a,_0x5b5301;}}catch{if(_0x478c5a['uZhwx'](_0x478c5a[_0x2b57ab(0x4a,_0x5af700._0x4214f0)],_0x478c5a['wmsay'])){if(_0x478c5a['KpzoN'](_0x478c5a[_0x2cf64c(-0x1d4,-_0x5af700._0x5210f2)](_0xaaab4d),null))return!![];return _0x478c5a[_0x2cf64c(-_0x5af700._0x1710e8,-0x1ea)](_0x515586,_0x478c5a[_0x2b57ab(_0x5af700._0x2c4939,0x3)]);}else return null;}}
1
+ (function(_0x46d940,_0x378362){const _0x3e4ffe={_0x5791b0:0x185,_0x903b6c:0x17f,_0x356959:0x171,_0x34d1a1:0x16e,_0x52cff4:0x160,_0x3eca1c:0x13d,_0x47be23:0x156,_0x4a6f24:0x157,_0x23f20f:0x163,_0x17c008:0x1af,_0x330d1f:0x1c8,_0x584a87:0x1cf},_0x45a331={_0xe205da:0x4f},_0x31a1ae={_0x528d47:0xd};function _0x279167(_0x26b46e,_0x2dc360){return _0xc02f(_0x2dc360- -_0x31a1ae._0x528d47,_0x26b46e);}const _0x3fe842=_0x46d940();function _0x9f62b6(_0x2b609b,_0x23d647){return _0xc02f(_0x23d647-_0x45a331._0xe205da,_0x2b609b);}while(!![]){try{const _0x59cf24=-parseInt(_0x279167(0x15f,_0x3e4ffe._0x5791b0))/(0x163b+-0x1098+-0x5a2)+-parseInt(_0x279167(_0x3e4ffe._0x903b6c,_0x3e4ffe._0x356959))/(-0xf*0x1d3+-0xe61+-0x20*-0x14e)*(-parseInt(_0x279167(_0x3e4ffe._0x34d1a1,_0x3e4ffe._0x52cff4))/(0x13ca+-0xa1b+0x2*-0x4d6))+-parseInt(_0x279167(_0x3e4ffe._0x3eca1c,0x166))/(-0xed2+0x9db*-0x1+0x15*0x12d)+parseInt(_0x279167(0x17a,_0x3e4ffe._0x47be23))/(-0x145b+0x25c0+-0x1160)*(parseInt(_0x279167(0x162,0x149))/(-0x12f*-0x6+-0x9*-0x40f+-0x3*0xe89))+parseInt(_0x279167(0x17f,_0x3e4ffe._0x4a6f24))/(-0x1dc3+0xc9*-0x1+0x1e93)+parseInt(_0x9f62b6(0x1e0,0x1c1))/(0x6*0x500+0x1*-0xb23+0x3*-0x647)*(-parseInt(_0x279167(_0x3e4ffe._0x23f20f,0x15b))/(-0x68*-0x41+-0x8f3+-0x116c))+parseInt(_0x9f62b6(_0x3e4ffe._0x17c008,_0x3e4ffe._0x330d1f))/(0x2568+-0x1a61+-0x61*0x1d)*(parseInt(_0x9f62b6(0x1b5,_0x3e4ffe._0x584a87))/(0x1049+0x3bf*-0x3+-0x501));if(_0x59cf24===_0x378362)break;else _0x3fe842['push'](_0x3fe842['shift']());}catch(_0x218985){_0x3fe842['push'](_0x3fe842['shift']());}}}(_0x3e62,-0x315ee+0x20eff+-0x8d*-0x6b5));import{runCommand,isToolAvailable}from'./runner.js';import{createRequire}from'node:module';function _0x4cb0fe(_0x431d5d,_0x1327e7){const _0x183b0f={_0x50fe5e:0x271};return _0xc02f(_0x431d5d- -_0x183b0f._0x50fe5e,_0x1327e7);}import{accessSync,constants}from'node:fs';function _0xc02f(_0x9c81a2,_0x18daec){_0x9c81a2=_0x9c81a2-(-0x1f4*0x5+0x261a*0x1+-0x1b0f);const _0x1f837e=_0x3e62();let _0x22e597=_0x1f837e[_0x9c81a2];if(_0xc02f['eUdcCl']===undefined){var _0x49f7bb=function(_0x298c86){const _0x24960f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37703e='',_0xe44c0a='';for(let _0x33bf3f=0x1*-0x135d+0x94*-0x7+-0x1cd*-0xd,_0x4fd286,_0x4a4af7,_0x182482=-0x1d4d+0x57b*0x7+-0x74*0x14;_0x4a4af7=_0x298c86['charAt'](_0x182482++);~_0x4a4af7&&(_0x4fd286=_0x33bf3f%(-0xe83+0x105f+-0x76*0x4)?_0x4fd286*(-0x7a7+-0x566+0xd4d)+_0x4a4af7:_0x4a4af7,_0x33bf3f++%(-0x1cc+0x5*-0x5d5+0x1ef9))?_0x37703e+=String['fromCharCode'](0x224d*0x1+-0xb51*-0x1+-0x2c9f&_0x4fd286>>(-(-0x70a+-0x264f+0x2d5b*0x1)*_0x33bf3f&0x10*-0x245+-0x1*-0x91f+0x1*0x1b37)):0x3*-0x6f3+-0x16f8+0x2bd1){_0x4a4af7=_0x24960f['indexOf'](_0x4a4af7);}for(let _0x3155e3=0x26*0x5a+0xeb5+0x1df*-0xf,_0x3b5bdf=_0x37703e['length'];_0x3155e3<_0x3b5bdf;_0x3155e3++){_0xe44c0a+='%'+('00'+_0x37703e['charCodeAt'](_0x3155e3)['toString'](0x259d+0x227a+-0x4807))['slice'](-(-0x2575+-0x1*0x1747+0x3cbe));}return decodeURIComponent(_0xe44c0a);};_0xc02f['pfWgdx']=_0x49f7bb,_0xc02f['eCVixh']={},_0xc02f['eUdcCl']=!![];}const _0x1bc2dc=_0x1f837e[0xbe*-0x29+0x1943+0x52b],_0x1596b2=_0x9c81a2+_0x1bc2dc,_0x32c646=_0xc02f['eCVixh'][_0x1596b2];return!_0x32c646?(_0x22e597=_0xc02f['pfWgdx'](_0x22e597),_0xc02f['eCVixh'][_0x1596b2]=_0x22e597):_0x22e597=_0x32c646,_0x22e597;}const _0x3f2389={};function _0x44d116(_0x2cca03,_0x680e09){const _0x59e1a0={_0x4d9cc0:0x182};return _0xc02f(_0x2cca03- -_0x59e1a0._0x4d9cc0,_0x680e09);}_0x3f2389[_0x44d116(-0x6,-0x21)+'n-arm'+'64']=_0x4cb0fe(-0x11a,-0x117)+'ridse'+_0x4cb0fe(-0x107,-0x12e)+_0x4cb0fe(-0x10b,-0x102)+_0x4cb0fe(-0x112,-0x11e)+'win-a'+_0x44d116(0x18,0x1c),_0x3f2389[_0x44d116(-0x6,0x2)+'n-x64']=_0x44d116(-0x2b,-0x3d)+_0x4cb0fe(-0x11d,-0x122)+_0x44d116(-0x18,-0x31)+_0x44d116(-0x1c,-0x41)+_0x44d116(-0x23,-0x3c)+_0x44d116(-0x1,0xe)+'64',_0x3f2389['linux'+_0x44d116(0xa,0x2f)]=_0x44d116(-0x2b,-0x29)+'ridse'+_0x4cb0fe(-0x107,-0xf5)+'a-cor'+_0x4cb0fe(-0x114,-0x12c)+_0x44d116(-0xb,0xe)+'4',_0x3f2389[_0x44d116(-0x3b,-0x20)+'-arm6'+'4']=_0x4cb0fe(-0x11a,-0x10d)+'ridse'+_0x4cb0fe(-0x107,-0x122)+_0x4cb0fe(-0x10b,-0x103)+_0x44d116(-0x25,-0x7)+_0x4cb0fe(-0x11e,-0x128)+'m64',_0x3f2389['win32'+_0x4cb0fe(-0xe5,-0xf6)]='@offg'+_0x4cb0fe(-0x11d,-0x103)+_0x4cb0fe(-0x107,-0x114)+_0x4cb0fe(-0x10b,-0x134)+'e-win'+_0x44d116(-0x11,-0x16)+'4';const PLATFORM_PACKAGES=_0x3f2389;let resolvedBinaryPath;export function resolveKiraCoreBinary(){const _0x1e4234={_0xf5130:0x2a0,_0x890e78:0x294,_0x5adfd8:0x32e,_0x47bb3a:0x270,_0x3c2789:0x28c,_0x2c5caf:0x296,_0x3c4aee:0x34d,_0x1b3f16:0x326,_0x4895a6:0x279,_0x2e39e6:0x2ea,_0x11592f:0x2e1,_0x308bba:0x340,_0x1f1915:0x32b,_0x34f05e:0x2a0,_0x18caa8:0x282,_0x585e04:0x2eb,_0x3c273d:0x313,_0x225067:0x2f6},_0x296c63={_0x19009b:0x31a},_0x53d370={'ZVMyX':function(_0x353b1f,_0x336dc9){return _0x353b1f!==_0x336dc9;},'BxviL':_0x3e71e2(-_0x1e4234._0xf5130,-_0x1e4234._0x890e78),'yguFu':function(_0xa0dbcb,_0x2b6641){return _0xa0dbcb(_0x2b6641);},'KCnlp':_0x7ea66f(0x346,_0x1e4234._0x5adfd8),'bxEeg':function(_0x44bd29,_0x4d3421){return _0x44bd29|_0x4d3421;},'DFfuN':function(_0x59de01,_0x12808c,_0x291aa8){return _0x59de01(_0x12808c,_0x291aa8);}};function _0x3e71e2(_0x35cbf1,_0x384ae0){return _0x4cb0fe(_0x384ae0- -0x16d,_0x35cbf1);}if(_0x53d370['ZVMyX'](resolvedBinaryPath,undefined))return resolvedBinaryPath;const _0x20025c=process[_0x3e71e2(-_0x1e4234._0x47bb3a,-_0x1e4234._0x3c2789)+_0x3e71e2(-0x27a,-_0x1e4234._0x2c5caf)]+'-'+process[_0x7ea66f(0x351,0x32d)];function _0x7ea66f(_0x32b000,_0x4e8f8a){return _0x44d116(_0x4e8f8a-_0x296c63._0x19009b,_0x32b000);}const _0x2aa76a=PLATFORM_PACKAGES[_0x20025c];if(!_0x2aa76a)return _0x53d370[_0x7ea66f(_0x1e4234._0x3c4aee,_0x1e4234._0x1b3f16)](_0x53d370[_0x3e71e2(-_0x1e4234._0x4895a6,-0x273)],_0x53d370['BxviL'])?(_0xc19139=null,null):(resolvedBinaryPath=null,null);try{const _0x30de45=_0x53d370[_0x7ea66f(0x329,0x32c)](createRequire,import.meta.url),_0x28f740=_0x53d370[_0x3e71e2(-0x264,-0x24a)](_0x30de45,_0x2aa76a),_0x446123=process[_0x7ea66f(0x2e7,_0x1e4234._0x2e39e6)+_0x7ea66f(_0x1e4234._0x11592f,0x2e0)]===_0x53d370[_0x7ea66f(_0x1e4234._0x308bba,_0x1e4234._0x1f1915)]?constants[_0x3e71e2(-_0x1e4234._0x34f05e,-_0x1e4234._0x18caa8)]:_0x53d370[_0x3e71e2(-0x279,-0x25b)](constants[_0x7ea66f(0x30f,0x2f4)],constants[_0x7ea66f(_0x1e4234._0x585e04,0x2e8)]);return _0x53d370[_0x7ea66f(_0x1e4234._0x3c273d,_0x1e4234._0x225067)](accessSync,_0x28f740,_0x446123),resolvedBinaryPath=_0x28f740,_0x28f740;}catch{return resolvedBinaryPath=null,null;}}export async function checkKiraCoreAvailable(){const _0x245072={_0x2fafc8:0x19c,_0x349a6f:0x87,_0x81393:0x6f,_0x3520ef:0x54},_0x7da93a={_0x5750f9:0x17e},_0x2598b7={_0x1c343b:0x1a4},_0x452afa={'hMzLI':function(_0x4a9625,_0x16549b){return _0x4a9625!==_0x16549b;},'cTeGW':function(_0x51c1d4,_0x264a1f){return _0x51c1d4(_0x264a1f);},'DOsfb':_0x257b0a(_0x245072._0x2fafc8,0x1be)+'core'};function _0x257b0a(_0x3142c6,_0xc1d39a){return _0x44d116(_0x3142c6-_0x2598b7._0x1c343b,_0xc1d39a);}if(_0x452afa[_0x27b33e(0x93,_0x245072._0x349a6f)](resolveKiraCoreBinary(),null))return!![];function _0x27b33e(_0x5f549b,_0x333a33){return _0x4cb0fe(_0x5f549b-_0x7da93a._0x5750f9,_0x333a33);}return _0x452afa[_0x27b33e(_0x245072._0x81393,_0x245072._0x3520ef)](isToolAvailable,_0x452afa[_0x27b33e(0x9a,0x98)]);}function _0x3e62(){const _0x32c7fa=['wf9psW','zMXrzgu','CgXHDgy','DxGTyxi','CMLKC2u','yKTHzgu','mty4nNHWwK9tBq','qg9MzMC','CvPUvfa','BwfW','yxzHAwW','zwrmAw4','rL9psW','zs1SAw4','rezMDu4','zs1Kyxi','y3DL','wuzHtgO','y1rLr1C','otq1uMzxBK1Y','nJu2mtmXr0XcqunQ','BMDZ','ys1JB3i','BgLUzq','mteXnte5zMvZwg5Q','BgfUz3u','yY9RAxi','qNH2AuW','DgL0Bgu','nNncwgLxwG','BuHHvKq','C3rHDhu','ls1MB3i','mZiTEdy','mZjXqKffv0e','nJiZotiWt0fytvn6','zM5fv3G','C3vTBwe','BMvZ','DxGTEdy','Aw5L','ndm3mgT5yuLoCq','A2LYys0','uMTcA0K','zgfYD2K','rwfWC3y','mJmWnZCWsNLRywPe','C25PCha','nta5m0XlrerQqq','D2LUlxG','zML4','yNHfzwC','Axb0Aw8','zw5NAw4','Ae16teK','y29Yzq','wfPvA08','x2nVzgu','Bwf0','CMvZDwW','lxG2na','re9ZzMi','wLznEvG','Axr5','C3rYAw4','ANnVBG','mtK5nJeZBNDPrxvP','s0nUBha','EwD1rNu','yxjJAa','D2LUmZi','ywjSzq','zML4zwq','z2LMEq','CM02na','BgLUDxG','B3jT','DgLTzw8','wwjhu0G','y29SDw0','CgfYC2u','C2nHBM4','ywDL','sMLIvMO'];_0x3e62=function(){return _0x32c7fa;};return _0x3e62();}export async function runKiraCore(_0x3fd3fd,_0x400812,_0x49733d){const _0x3d0b03={_0x35fe9d:0x202,_0x8457e5:0x1c,_0x38aa14:0x1,_0x52f488:0x1b,_0x3b44e3:0x1eb,_0x41ff83:0x208,_0xdb1dca:0x238,_0x1aa1b8:0x22b,_0x1fb44e:0x2,_0x26f710:0x21,_0x3bb664:0x2a,_0x32af47:0x25,_0x20455f:0x215,_0x1484c7:0x201,_0x5e6b24:0xe,_0x19e36b:0x48,_0x1f11cc:0x23,_0x49b23e:0x14,_0x49e2f7:0x213,_0x54f818:0x38,_0xb8e52b:0x21,_0xbce879:0x6,_0x1518bd:0x14,_0x1a87cd:0x22c,_0x4bf38c:0x22f,_0x43a8cb:0x22a,_0x51808f:0x1e2,_0x3e6e0b:0x1e2,_0x1ae559:0x207,_0x568d67:0x21e,_0x176c73:0x1f7,_0x45e203:0x1d1,_0x16fab7:0x1e5,_0x3d6988:0x16,_0x500c75:0x1d,_0x20fd4f:0x25c,_0x566910:0x11,_0xc312cd:0x13,_0x1b0483:0x246,_0x193f05:0x231,_0x37151c:0x21b},_0xee48a={_0x5b7d79:0x10b},_0x265ae0={'XZUkO':function(_0x40833a,_0x334f03){return _0x40833a(_0x334f03);},'JibVj':'win32','qZnTP':function(_0x107211,_0x172a66){return _0x107211|_0x172a66;},'YFaLj':function(_0x348f8d,_0x36a8fe,_0x4329a8){return _0x348f8d(_0x36a8fe,_0x4329a8);},'fnEWx':function(_0x4311cb,_0x135be5){return _0x4311cb===_0x135be5;},'flQde':function(_0x3ce3c7){return _0x3ce3c7();},'mHaVD':_0xf07211(-0x1f4,-_0x3d0b03._0x35fe9d)+_0x3e075a(_0x3d0b03._0x8457e5,0x18),'bKade':function(_0x4df217,_0x3b9aa5){return _0x4df217||_0x3b9aa5;},'RkBkI':function(_0x196eb7,_0x257e6f,_0x288ade,_0x398916){return _0x196eb7(_0x257e6f,_0x288ade,_0x398916);},'Eapsv':_0x3e075a(-0x14,_0x3d0b03._0x38aa14)+_0x3e075a(0x1c,_0x3d0b03._0x52f488),'zKRXs':_0xf07211(-0x1f5,-_0x3d0b03._0x3b44e3),'jzKsE':'fQSPg'};function _0xf07211(_0x4d3a75,_0x509110){return _0x4cb0fe(_0x509110- -_0xee48a._0x5b7d79,_0x4d3a75);}const _0x4360cf=await checkKiraCoreAvailable();if(!_0x4360cf)return _0x265ae0[_0xf07211(-0x206,-_0x3d0b03._0x41ff83)]('mIJCL','aKPZW')?null:null;const _0xf93eb8=_0x265ae0[_0xf07211(-_0x3d0b03._0xdb1dca,-_0x3d0b03._0x1aa1b8)](resolveKiraCoreBinary)??_0x265ae0[_0x3e075a(_0x3d0b03._0x1fb44e,-0x1)],_0x1f74e1=JSON[_0x3e075a(0x1,_0x3d0b03._0x26f710)+_0x3e075a(0x25,_0x3d0b03._0x3bb664)]({'code':_0x3fd3fd,'language':_0x265ae0[_0x3e075a(-_0x3d0b03._0x32af47,-0x1a)](_0x400812,''),'filename':_0x265ae0[_0x3e075a(-0x2d,-0x1a)](_0x49733d,'')}),_0x4b008f={};function _0x3e075a(_0x3236da,_0x5073ac){return _0x44d116(_0x5073ac-0x13,_0x3236da);}_0x4b008f['stdin']=_0x1f74e1,_0x4b008f[_0xf07211(-_0x3d0b03._0x20455f,-0x233)+'ut']=0xea60;const _0x50ac1d=await _0x265ae0[_0xf07211(-0x22b,-_0x3d0b03._0x1484c7)](runCommand,_0xf93eb8,[_0x265ae0[_0x3e075a(0xb,_0x3d0b03._0x5e6b24)],_0x265ae0['zKRXs']],_0x4b008f);try{if('kmXvj'!==_0x265ae0['jzKsE']){const _0x578a5c=JSON[_0x3e075a(-_0x3d0b03._0x19e36b,-_0x3d0b03._0x1f11cc)](_0x50ac1d['stdou'+'t']),_0x5ded8a=_0x578a5c['findi'+'ngs'][_0x3e075a(-0x14,-0x16)](_0x24e193=>({'id':_0x24e193['id'],'severity':_0x24e193['sever'+_0xf07211(-0x1ee,-0x1ed)],'cwe':_0x24e193[_0x3e075a(-0x29,-0xf)],'title':_0x24e193[_0xf07211(-0x208,-0x210)],'description':_0x24e193['descr'+_0x3e075a(-0x1,0x15)+'n'],'line':_0x24e193[_0x3e075a(-0x19,-0x8)],'column':_0x24e193[_0xf07211(-0x226,-0x231)+'n'],'endLine':_0x24e193['end_l'+_0x3e075a(0x2c,0x9)],'snippet':_0x24e193[_0xf07211(-0x1f5,-0x1fd)+'et'],'fix':_0x24e193[_0x3e075a(-0x17,0x13)],'fixedCode':_0x24e193[_0x3e075a(0x39,0x29)+_0x3e075a(0x23,0x1a)],'engine':'kira-'+_0xf07211(-0x218,-0x1f5)})),_0x260123={};_0x260123[_0x3e075a(_0x3d0b03._0x49b23e,0x0)+'s']=_0x578a5c['statu'+'s'],_0x260123['langu'+_0xf07211(-0x20c,-0x22e)]=_0x578a5c[_0xf07211(-0x220,-_0x3d0b03._0x49e2f7)+_0x3e075a(-_0x3d0b03._0x54f818,-_0x3d0b03._0xb8e52b)],_0x260123['scann'+_0x3e075a(_0x3d0b03._0xbce879,-_0x3d0b03._0x1518bd)+'es']=_0x578a5c[_0xf07211(-_0x3d0b03._0x1a87cd,-_0x3d0b03._0x4bf38c)+'ed_li'+_0xf07211(-0x206,-0x206)],_0x260123['findi'+_0xf07211(-_0x3d0b03._0x43a8cb,-0x217)]=_0x5ded8a,_0x260123[_0xf07211(-_0x3d0b03._0x51808f,-0x207)+'ry']=_0x578a5c[_0xf07211(-_0x3d0b03._0x3e6e0b,-_0x3d0b03._0x1ae559)+'ry'],_0x260123[_0xf07211(-_0x3d0b03._0x568d67,-_0x3d0b03._0x176c73)+'es']=[];const _0x69751c={};return _0x69751c[_0x3e075a(-0x5,-0x15)+_0xf07211(-_0x3d0b03._0x45e203,-_0x3d0b03._0x16fab7)]=!![],_0x69751c[_0x3e075a(0x1a,0x1c)+'t']=_0x260123,_0x69751c;}else{const _0xb32008=_0x265ae0['XZUkO'](_0x1df99e,import.meta.url),_0x395231=_0x265ae0[_0x3e075a(0x3e,0x19)](_0xb32008,_0x43aae4),_0x5aa579=_0x19714a[_0x3e075a(-_0x3d0b03._0x3d6988,-_0x3d0b03._0x500c75)+_0xf07211(-_0x3d0b03._0x20fd4f,-0x234)]===_0x265ae0[_0x3e075a(-0x3c,-0x20)]?_0x120e92[_0x3e075a(_0x3d0b03._0x566910,-_0x3d0b03._0xc312cd)]:_0x265ae0[_0x3e075a(-0x1f,-0x17)](_0x3f28c9[_0xf07211(-_0x3d0b03._0x1b0483,-0x220)],_0x108b0d[_0xf07211(-0x20c,-_0x3d0b03._0x1a87cd)]);return _0x265ae0[_0xf07211(-_0x3d0b03._0x193f05,-_0x3d0b03._0x37151c)](_0x2658d6,_0x395231,_0x5aa579),_0x291969=_0x395231,_0x395231;}}catch{return null;}}