@offgridsec/kira-lite-mcp 0.1.6 → 0.1.7

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/INSTALL.md CHANGED
@@ -14,14 +14,10 @@ Kira-Lite by [Offgrid Security](https://offgridsec.com) scans code for vulnerabi
14
14
  ## Step 1: Install
15
15
 
16
16
  ```bash
17
- npm install -g @offgridsec/kira-lite-mcp
17
+ npx -y @offgridsec/kira-lite-mcp
18
18
  ```
19
19
 
20
- Or use `npx` to run without installing:
21
-
22
- ```bash
23
- npx @offgridsec/kira-lite-mcp
24
- ```
20
+ > **No global install needed.** All setups use `npx -y`, which fetches the latest version automatically on every launch — you'll always be up to date.
25
21
 
26
22
  ---
27
23
 
@@ -75,20 +71,23 @@ cd /path/to/your-project
75
71
  #### macOS / Linux
76
72
 
77
73
  ```bash
78
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md .
74
+ PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
75
+ cp "$PKG/config/CLAUDE.md" .
79
76
  mkdir -p .claude
80
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/settings.local.json .claude/settings.local.json
77
+ cp "$PKG/config/settings.local.json" .claude/settings.local.json
81
78
  ```
82
79
 
83
80
  #### Windows (PowerShell)
84
81
 
85
82
  ```powershell
86
- $pkg = (npm root -g) + "\@offgridsec\kira-lite-mcp"
83
+ $pkg = Split-Path (node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/package.json'))")
87
84
  Copy-Item "$pkg\config\CLAUDE.md" .
88
85
  New-Item -ItemType Directory -Force .claude | Out-Null
89
86
  Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
90
87
  ```
91
88
 
89
+ > **Tip:** If the package isn't cached yet, run `npx -y @offgridsec/kira-lite-mcp` once first to download it.
90
+
92
91
  ---
93
92
 
94
93
  ### Scenario B: Project Already Has a CLAUDE.md
@@ -98,8 +97,9 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
98
97
  #### macOS / Linux
99
98
 
100
99
  ```bash
100
+ PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
101
101
  echo "" >> CLAUDE.md
102
- cat $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md >> CLAUDE.md
102
+ cat "$PKG/config/CLAUDE.md" >> CLAUDE.md
103
103
  ```
104
104
 
105
105
  #### Manual Option
@@ -282,9 +282,6 @@ get_config()
282
282
  ```bash
283
283
  # Claude Code
284
284
  claude mcp remove --scope user kira-lite
285
-
286
- # npm
287
- npm uninstall -g @offgridsec/kira-lite-mcp
288
285
  ```
289
286
 
290
287
  ### Remove config
@@ -324,7 +321,7 @@ Your scan mode is set to `"on-save"` or `"manual"`. Check with `get_config()` an
324
321
  Make sure Node.js can find the hook script:
325
322
 
326
323
  ```bash
327
- node $(npm root -g)/@offgridsec/kira-lite-mcp/hook.mjs
324
+ node $(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/hook.mjs'))")
328
325
  ```
329
326
 
330
327
  If it exits with no output, it's working. If it throws an error, check the path.
package/README.md CHANGED
@@ -21,13 +21,11 @@ Security tools shouldn't live in a separate tab. Kira-Lite runs **inside your AI
21
21
  ## Quick Start
22
22
 
23
23
  ```bash
24
- # Install globally
25
- npm install -g @offgridsec/kira-lite-mcp
26
-
27
- # Or run directly without installing
28
- npx @offgridsec/kira-lite-mcp
24
+ npx -y @offgridsec/kira-lite-mcp
29
25
  ```
30
26
 
27
+ > **No global install needed.** All IDE setups below use `npx -y`, which fetches the latest version automatically on every launch — you'll always be up to date.
28
+
31
29
  ---
32
30
 
33
31
  ## Setup by IDE / Tool
@@ -55,12 +53,15 @@ Navigate to your project directory, then copy the two config files:
55
53
  ```bash
56
54
  cd /path/to/your-project
57
55
 
56
+ # Resolve the package path via npx cache
57
+ PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
58
+
58
59
  # Copy CLAUDE.md (tells Claude to scan before every write)
59
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md .
60
+ cp "$PKG/config/CLAUDE.md" .
60
61
 
61
62
  # Copy settings (auto-allows kira-lite tools + adds post-write hook)
62
63
  mkdir -p .claude
63
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/settings.local.json .claude/settings.local.json
64
+ cp "$PKG/config/settings.local.json" .claude/settings.local.json
64
65
  ```
65
66
 
66
67
  **Windows (PowerShell):**
@@ -68,12 +69,14 @@ cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/settings.local.json .claude/s
68
69
  ```powershell
69
70
  cd C:\path\to\your-project
70
71
 
71
- $pkg = (npm root -g) + "\@offgridsec\kira-lite-mcp"
72
+ $pkg = Split-Path (node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/package.json'))")
72
73
  Copy-Item "$pkg\config\CLAUDE.md" .
73
74
  New-Item -ItemType Directory -Force .claude | Out-Null
74
75
  Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
75
76
  ```
76
77
 
78
+ > **Tip:** If the package isn't cached yet, run `npx -y @offgridsec/kira-lite-mcp` once first to download it.
79
+
77
80
  > **Already have a `CLAUDE.md` or `.claude/settings.local.json`?** Don't overwrite them — merge manually:
78
81
  >
79
82
  > <details>
@@ -83,8 +86,9 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
83
86
  >
84
87
  > ```bash
85
88
  > # macOS / Linux
89
+ > PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
86
90
  > echo "" >> CLAUDE.md
87
- > cat $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md >> CLAUDE.md
91
+ > cat "$PKG/config/CLAUDE.md" >> CLAUDE.md
88
92
  > ```
89
93
  >
90
94
  > Or manually add this block to the bottom of your `CLAUDE.md`:
@@ -788,7 +792,7 @@ Your scan mode is set to `"on-save"` or `"manual"`. Check with `get_config()` an
788
792
  Make sure Node.js can find the hook script:
789
793
 
790
794
  ```bash
791
- node $(npm root -g)/@offgridsec/kira-lite-mcp/hook.mjs
795
+ node $(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/hook.mjs'))")
792
796
  ```
793
797
 
794
798
  If it exits with no output, it's working. If it throws an error, check the path.
@@ -807,10 +811,7 @@ For Claude Code projects, also remove kira-lite entries from `.claude/settings.l
807
811
  # Claude Code
808
812
  claude mcp remove --scope user kira-lite
809
813
 
810
- # npm
811
- npm uninstall -g @offgridsec/kira-lite-mcp
812
-
813
- # Remove config
814
+ # Remove local config
814
815
  rm -rf ~/.kira-lite
815
816
  ```
816
817
 
package/dist/config.js CHANGED
@@ -1 +1 @@
1
- function _0x31fb94(_0x2122fe,_0x15b3a0){const _0x46ddd6={_0x261ffc:0x15b};return _0x1dfe(_0x15b3a0-_0x46ddd6._0x261ffc,_0x2122fe);}(function(_0x13f73f,_0x356878){const _0x224fb0={_0x55ea28:0x4d6,_0x1d0319:0x4ce,_0x2f111e:0x4bb,_0x16a99b:0x4b6,_0x17478a:0x36,_0x1ad6fa:0x4d7,_0xe747d8:0x4e2,_0x4d9c1a:0x3f,_0x505e07:0x33,_0x4d6ca5:0x1e},_0x2a0ce8={_0x432d82:0x38d};function _0x45a5ea(_0x29f6ad,_0x255542){return _0x1dfe(_0x29f6ad-_0x2a0ce8._0x432d82,_0x255542);}function _0x55334c(_0x2a25cf,_0x2f1552){return _0x1dfe(_0x2f1552- -0x115,_0x2a25cf);}const _0x5cce62=_0x13f73f();while(!![]){try{const _0x40b660=-parseInt(_0x45a5ea(0x4dc,_0x224fb0._0x55ea28))/(0x1ffa*-0x1+-0x2*-0x12b+-0x1da5*-0x1)*(parseInt(_0x45a5ea(0x4c8,0x4d3))/(0xa1*0x4+0x779*0x1+-0x9fb))+parseInt(_0x45a5ea(_0x224fb0._0x1d0319,0x4ca))/(-0x24cd*0x1+-0x24c0+-0x932*-0x8)*(parseInt(_0x45a5ea(0x4ba,0x4bb))/(-0x1d89+0x2466+-0x6d9))+-parseInt(_0x45a5ea(_0x224fb0._0x2f111e,_0x224fb0._0x16a99b))/(0x1*0xce9+-0x1a67+0xd83)+parseInt(_0x55334c(0x30,_0x224fb0._0x17478a))/(-0x10a5*-0x1+0x26c5+-0x3764)*(parseInt(_0x45a5ea(_0x224fb0._0x1ad6fa,_0x224fb0._0xe747d8))/(-0x26bc+0x44+0x267f))+-parseInt(_0x55334c(0x31,0x25))/(0x283+-0x6b1*0x1+0x436)*(-parseInt(_0x55334c(0x36,_0x224fb0._0x4d9c1a))/(-0x1b90+-0x246d*-0x1+-0x8d4*0x1))+parseInt(_0x55334c(0x40,_0x224fb0._0x505e07))/(0x1*-0x1e8f+-0x241*-0x5+0x1354)+-parseInt(_0x45a5ea(0x4cf,0x4b6))/(-0x1*0x1eac+-0x2380+-0x43*-0xfd)*(parseInt(_0x55334c(0x2e,_0x224fb0._0x4d6ca5))/(0x115*-0xd+0xc0*-0x3+0x47*0x3b));if(_0x40b660===_0x356878)break;else _0x5cce62['push'](_0x5cce62['shift']());}catch(_0x197730){_0x5cce62['push'](_0x5cce62['shift']());}}}(_0x2dd6,0x4f5*-0x11b+0x83f13+0x3*0x83f2));function _0x2c1161(_0x256735,_0x3f7f30){return _0x1dfe(_0x256735-0x9e,_0x3f7f30);}import{readFileSync,writeFileSync,mkdirSync}from'node:fs';function _0x1dfe(_0x46dcb3,_0x3060c1){_0x46dcb3=_0x46dcb3-(-0x2459+-0xd04+0x327e);const _0x1ced18=_0x2dd6();let _0x4929da=_0x1ced18[_0x46dcb3];if(_0x1dfe['FqLWQX']===undefined){var _0x4a153f=function(_0x4c2c4f){const _0x235657='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x561a9f='',_0x5e3ca9='';for(let _0x24ecec=0x11*0xff+0x14a4+-0x2593,_0x204a19,_0x2953e9,_0x7cbff9=-0x1*-0x12+-0x2618+0x2606;_0x2953e9=_0x4c2c4f['charAt'](_0x7cbff9++);~_0x2953e9&&(_0x204a19=_0x24ecec%(0x1*-0x150b+0x481+0x108e)?_0x204a19*(0x17c3+0x1*0xcdb+0x31*-0xbe)+_0x2953e9:_0x2953e9,_0x24ecec++%(0x4*0x43f+-0x1b59+-0x1*-0xa61))?_0x561a9f+=String['fromCharCode'](0x3*-0xf4+-0x6d3*0x2+0x1181&_0x204a19>>(-(0xedc+-0x260d+0x1733)*_0x24ecec&0x89+0x10*-0xf8+0x3*0x4ff)):-0x98a*-0x2+0x2461+-0x1*0x3775){_0x2953e9=_0x235657['indexOf'](_0x2953e9);}for(let _0x7e8617=0x3*-0x174+-0x2e8+0x744,_0x5cfe39=_0x561a9f['length'];_0x7e8617<_0x5cfe39;_0x7e8617++){_0x5e3ca9+='%'+('00'+_0x561a9f['charCodeAt'](_0x7e8617)['toString'](0x2173+0xb2b+0x1647*-0x2))['slice'](-(0x26d2+-0x7cf*-0x1+0x5*-0x953));}return decodeURIComponent(_0x5e3ca9);};_0x1dfe['VNVBvG']=_0x4a153f,_0x1dfe['hneKGv']={},_0x1dfe['FqLWQX']=!![];}const _0x5c7577=_0x1ced18[-0x1dcb+0x139*-0xb+0x2b3e],_0xb6bd28=_0x46dcb3+_0x5c7577,_0x2b64cc=_0x1dfe['hneKGv'][_0xb6bd28];return!_0x2b64cc?(_0x4929da=_0x1dfe['VNVBvG'](_0x4929da),_0x1dfe['hneKGv'][_0xb6bd28]=_0x4929da):_0x4929da=_0x2b64cc,_0x4929da;}import{join}from'node:path';import{homedir}from'node:os';const _0x162038={};_0x162038[_0x2c1161(0x1e2,0x1d3)+_0x31fb94(0x28c,0x27e)]=_0x2c1161(0x1e3,0x1e4)+'-edit';const DEFAULT_CONFIG=_0x162038,VALID_SCAN_MODES=[_0x2c1161(0x1e3,0x1ec)+_0x2c1161(0x1c9,0x1cb),'on-sa'+'ve','manua'+'l'];function getConfigDir(){const _0x32dacd={_0x1bdf05:0x38c,_0x212e73:0x367,_0x137857:0x378},_0x22fae1={_0x5f5d85:0x14b},_0xf5bf29={'BRenu':function(_0x2ed457,_0x5d6faf,_0x4b4df1){return _0x2ed457(_0x5d6faf,_0x4b4df1);},'Gtizn':function(_0x19b39d){return _0x19b39d();},'zgrIo':_0x313c33(0x390,_0x32dacd._0x1bdf05)+'-lite'};function _0x313c33(_0x465598,_0x5b78e3){return _0x31fb94(_0x465598,_0x5b78e3-0xf8);}function _0x489dd2(_0x5d4aa8,_0x4c3d51){return _0x31fb94(_0x5d4aa8,_0x4c3d51- -_0x22fae1._0x5f5d85);}return _0xf5bf29[_0x313c33(0x38f,0x374)](join,_0xf5bf29[_0x489dd2(0x128,0x136)](homedir),_0xf5bf29[_0x313c33(_0x32dacd._0x212e73,_0x32dacd._0x137857)]);}function getConfigPath(){const _0x42b445={_0x3d3650:0x15f,_0x36776e:0x378,_0x483b91:0x383,_0x316455:0x369,_0x360da5:0x36f,_0x21a2c3:0x375},_0x20c170={_0x217dae:0xdd};function _0x58d22c(_0x5c4b17,_0x24a924){return _0x31fb94(_0x24a924,_0x5c4b17-_0x20c170._0x217dae);}const _0x378662={'INCtr':function(_0x492744,_0x269128,_0x4a97db){return _0x492744(_0x269128,_0x4a97db);},'lUZPB':function(_0x3650a2){return _0x3650a2();},'vsggX':_0x819d49(-_0x42b445._0x3d3650,-0x14e)+_0x58d22c(_0x42b445._0x36776e,_0x42b445._0x483b91)+'n'};function _0x819d49(_0x54e6bd,_0x315824){return _0x2c1161(_0x54e6bd- -0x33a,_0x315824);}return _0x378662[_0x58d22c(0x37e,_0x42b445._0x316455)](join,_0x378662[_0x819d49(-0x16b,-0x155)](getConfigDir),_0x378662[_0x58d22c(_0x42b445._0x360da5,_0x42b445._0x21a2c3)]);}export function loadConfig(){const _0x2f5718={_0x4f564e:0x26d,_0x169f5f:0x156,_0x39c214:0x29e,_0x9f5a7b:0x29f,_0x4c3050:0x149,_0x2f7b5c:0x16d,_0x27ff9a:0x126,_0x56283f:0x28a,_0x3dff96:0x16e,_0x37c991:0x279,_0x5cae3f:0x28a,_0x4ff425:0x12e},_0xb63398={_0x3c457b:0x325},_0x47202f={_0x551814:0x15};function _0x32e910(_0x2f87bc,_0x75d440){return _0x31fb94(_0x2f87bc,_0x75d440- -_0x47202f._0x551814);}function _0x43997b(_0x1655fb,_0xa96cab){return _0x2c1161(_0xa96cab- -_0xb63398._0x3c457b,_0x1655fb);}const _0x2b1461={'jRCet':function(_0x16e9e1,_0x1fb8ab,_0x590591){return _0x16e9e1(_0x1fb8ab,_0x590591);},'CuawS':_0x32e910(_0x2f5718._0x4f564e,0x27f)+'-lite','PfePz':function(_0x1991ad,_0x50026c,_0xef3253){return _0x1991ad(_0x50026c,_0xef3253);},'tdQHD':function(_0x546b2e){return _0x546b2e();},'crdns':_0x43997b(-0x169,-0x158),'cryQV':function(_0x51f07d,_0x75701c){return _0x51f07d===_0x75701c;},'MtOjt':_0x43997b(-_0x2f5718._0x169f5f,-0x14b)+'g'};try{const _0x2bf07d=_0x2b1461[_0x32e910(0x283,0x278)](readFileSync,_0x2b1461[_0x32e910(0x2a3,0x289)](getConfigPath),_0x2b1461['crdns']),_0x47833b=JSON['parse'](_0x2bf07d);if(_0x47833b&&_0x2b1461[_0x32e910(0x2b3,_0x2f5718._0x39c214)](typeof _0x47833b[_0x32e910(_0x2f5718._0x9f5a7b,0x28a)+_0x32e910(0x265,0x269)],_0x2b1461[_0x43997b(-0x163,-_0x2f5718._0x4c3050)])&&VALID_SCAN_MODES[_0x43997b(-_0x2f5718._0x2f7b5c,-0x151)+_0x43997b(-_0x2f5718._0x27ff9a,-0x131)](_0x47833b[_0x32e910(0x28d,_0x2f5718._0x56283f)+_0x43997b(-_0x2f5718._0x3dff96,-0x164)])){if(_0x32e910(0x2b7,0x29d)!==_0x43997b(-0x146,-0x15d)){const _0x2766ba={};return _0x2766ba['scanM'+'ode']=_0x47833b[_0x32e910(_0x2f5718._0x37c991,_0x2f5718._0x5cae3f)+'ode'],_0x2766ba;}else return _0x2b1461[_0x43997b(-0x14e,-0x15f)](_0x1320d3,_0x408289(),_0x2b1461[_0x43997b(-_0x2f5718._0x4ff425,-0x13e)]);}const _0x203c4e={...DEFAULT_CONFIG};return _0x203c4e;}catch{const _0x1be211={...DEFAULT_CONFIG};return _0x1be211;}}export function saveConfig(_0x2940d9){const _0x4c3db1={_0x3c0809:0x77,_0x4b1f14:0x68,_0x541214:0x5e,_0x11a32d:0x2f,_0x174eaa:0x7d,_0x391cbf:0x66,_0x41b4bd:0x2a,_0x54cc10:0x3},_0x3e8847={_0x4cd3c4:0x1c2},_0xf4f398={'aCPrm':function(_0x553626){return _0x553626();},'uArDQ':function(_0x4a10c2,_0x40d9dc,_0x387b1c){return _0x4a10c2(_0x40d9dc,_0x387b1c);}},_0x27bc2a=_0xf4f398[_0x5ea8d0(0x72,_0x4c3db1._0x3c0809)](getConfigDir);function _0x4e46b7(_0x38c964,_0x5be089){return _0x2c1161(_0x38c964- -_0x3e8847._0x4cd3c4,_0x5be089);}function _0x5ea8d0(_0x445a3,_0x572f66){return _0x2c1161(_0x572f66- -0x174,_0x445a3);}const _0xee5db3={};_0xee5db3[_0x5ea8d0(_0x4c3db1._0x4b1f14,0x71)+_0x5ea8d0(0x75,_0x4c3db1._0x541214)]=!![],_0xf4f398[_0x4e46b7(_0x4c3db1._0x11a32d,0x1f)](mkdirSync,_0x27bc2a,_0xee5db3),writeFileSync(getConfigPath(),JSON[_0x5ea8d0(_0x4c3db1._0x174eaa,_0x4c3db1._0x391cbf)+_0x4e46b7(_0x4c3db1._0x41b4bd,0x2f)](_0x2940d9,null,0x19*0x98+-0x68f+-0xd*0xa3),_0x4e46b7(0xb,-_0x4c3db1._0x54cc10));}function getProfilePath(){const _0x453c93={_0x59bc92:0x3ca,_0x46bca3:0x3e4};function _0x4a32b9(_0x2170e5,_0x1e7fb1){return _0x31fb94(_0x1e7fb1,_0x2170e5-0x13a);}function _0x2430ed(_0x33abc5,_0x15ddb4){return _0x31fb94(_0x15ddb4,_0x33abc5- -0x402);}const _0x1eabbb={'wIeSz':function(_0x4ab620,_0x2f0b76,_0xf60e20){return _0x4ab620(_0x2f0b76,_0xf60e20);},'mmPBJ':function(_0x42f00c){return _0x42f00c();}};return _0x1eabbb[_0x2430ed(-0x185,-0x192)](join,_0x1eabbb[_0x2430ed(-0x177,-0x17d)](getConfigDir),'profi'+_0x4a32b9(_0x453c93._0x59bc92,_0x453c93._0x46bca3)+'on');}export function loadProfile(){const _0x48b350={_0x103fa8:0x2a2,_0x2a40f8:0x28b,_0x505379:0x51a,_0x25b556:0x50c,_0x22c44c:0x291,_0x182add:0x506,_0x3dc796:0x4f4,_0x107177:0x2a7,_0xca04de:0x29c,_0x125300:0x2a3,_0x1309b8:0x4fa,_0x430f80:0x27d,_0x55185a:0x4e7,_0x37b18b:0x4e3,_0x3c4a26:0x4d3,_0x239480:0x4e8,_0x5b368f:0x508,_0x45a01b:0x2a3,_0x5b3ce9:0x289,_0x1200bd:0x27e};function _0x43a05a(_0x3d9a58,_0x264e6a){return _0x31fb94(_0x264e6a,_0x3d9a58- -0x9);}function _0x1dc968(_0x1e4045,_0x435a29){return _0x2c1161(_0x435a29-0x31e,_0x1e4045);}const _0x33f79a={'wdBTm':function(_0x174001,_0xb5167e){return _0x174001!==_0xb5167e;},'vHiOp':function(_0xc3a2f3,_0x3389cf,_0x2f9a93){return _0xc3a2f3(_0x3389cf,_0x2f9a93);},'gNDnd':function(_0x17abe7){return _0x17abe7();},'qfyLS':function(_0x105778,_0x47e7e9){return _0x105778===_0x47e7e9;},'SlovT':'strin'+'g','Ujlsk':function(_0x32720c,_0xca20a2){return _0x32720c===_0xca20a2;}};try{if(_0x33f79a['wdBTm'](_0x43a05a(_0x48b350._0x103fa8,_0x48b350._0x2a40f8),_0x1dc968(_0x48b350._0x505379,_0x48b350._0x25b556))){const _0xe7585e={..._0x4db99e};return _0xe7585e;}else{const _0x59a9e8=_0x33f79a[_0x43a05a(_0x48b350._0x22c44c,0x2a3)](readFileSync,_0x33f79a[_0x1dc968(_0x48b350._0x182add,_0x48b350._0x3dc796)](getProfilePath),'utf-8'),_0x4bed1b=JSON[_0x43a05a(0x2a4,0x2b1)](_0x59a9e8),_0x26407a={};return _0x4bed1b&&_0x33f79a[_0x43a05a(_0x48b350._0x107177,_0x48b350._0xca04de)](typeof _0x4bed1b[_0x1dc968(0x4f6,0x4e0)],_0x33f79a[_0x43a05a(_0x48b350._0x125300,0x2af)])&&(_0x26407a[_0x1dc968(_0x48b350._0x1309b8,0x4e0)]=_0x4bed1b[_0x43a05a(0x276,_0x48b350._0x430f80)]),_0x4bed1b&&_0x33f79a[_0x1dc968(_0x48b350._0x55185a,_0x48b350._0x37b18b)](typeof _0x4bed1b[_0x1dc968(_0x48b350._0x3c4a26,_0x48b350._0x239480)+_0x1dc968(0x518,_0x48b350._0x5b368f)+'il'],_0x33f79a[_0x43a05a(_0x48b350._0x45a01b,_0x48b350._0x5b3ce9)])&&(_0x26407a['skipp'+_0x1dc968(0x522,_0x48b350._0x5b368f)+'il']=_0x4bed1b[_0x43a05a(_0x48b350._0x1200bd,0x28d)+_0x43a05a(0x29e,0x28f)+'il']),_0x26407a;}}catch{return{};}}function _0x2dd6(){const _0x4a6a78=['C2L2zq','BguUANm','Aw5JBhu','DNnNz1G','z05eBMq','lMTPCMe','mta0mJi1nLrVDxzMtG','nJa2mZHIqxbXweG','C3rYAw4','y29UzMK','txrpANq','DKHPt3a','zY5QC28','ntuWnxL1v0zuvW','otaZmwfoqLrhzG','Dgrrseq','C2nHBK0','zxzLCNK','su5dDhi','CMvJDxi','nduWnJaXmgLRB3vTza','q3vHD1m','otfSu1r4tLC','mtG4mtq4tvvRswzy','zwrvBNq','yunqCM0','z2LMEq','mtfVvwHICKS','qM9osM8','u2XVDLq','CgfYC2u','DufYrfe','mtHcywTyrhe','Cwz5tfm','zgvZ','vuPStxK','y3j5uvy','qLjLBNu','D0LLu3O','B2rL','zw1HAwW','EMDYsw8','r3rPEM4','vwPSC2S','ALjdzxq','A1P5rgy','veDnwNu','lwvKAxq','C2TPCha','mZy0rg1PtgHK','mJm1odK2mgHtEMrxsG','DxrMltG','Bw1qqKO','BfvAuei','ugzLuhO','mJG5mMvcEe9HwG'];_0x2dd6=function(){return _0x4a6a78;};return _0x2dd6();}export function saveProfile(_0x3a4ff1){const _0x1f27c5={_0x45aab0:0xfc,_0x5d3e0c:0x256,_0x542836:0x256,_0x479890:0x274,_0x446564:0x264,_0x3b7f25:0x24d,_0xee592a:0x24f},_0x199a2e={_0x3aa652:0x4f8},_0x46243e={'kZyDf':function(_0xf0368d){return _0xf0368d();},'JHWlb':function(_0x40576f,_0xfb2080,_0xfb280c){return _0x40576f(_0xfb2080,_0xfb280c);}};function _0xae56af(_0x198f76,_0x396685){return _0x31fb94(_0x198f76,_0x396685- -_0x199a2e._0x3aa652);}const _0x3e8d40=_0x46243e[_0xdc2d14(-0xf5,-_0x1f27c5._0x45aab0)](getConfigDir);function _0xdc2d14(_0x42f5a2,_0x3d644f){return _0x2c1161(_0x42f5a2- -0x2bc,_0x3d644f);}const _0x2b1c5a={};_0x2b1c5a[_0xae56af(-0x26b,-_0x1f27c5._0x5d3e0c)+_0xae56af(-_0x1f27c5._0x542836,-0x269)]=!![],_0x46243e['JHWlb'](mkdirSync,_0x3e8d40,_0x2b1c5a),writeFileSync(_0x46243e[_0xae56af(-0x273,-_0x1f27c5._0x479890)](getProfilePath),JSON[_0xae56af(-_0x1f27c5._0x446564,-0x261)+_0xae56af(-_0x1f27c5._0x3b7f25,-_0x1f27c5._0xee592a)](_0x3a4ff1,null,0xd7+0x120e*-0x1+0x1139),'utf-8');}
1
+ (function(_0x1e5f53,_0x2dec90){const _0xbdafff={_0x26c2c8:0x274,_0x2e61fc:0x28c,_0xed3198:0x1f3,_0x4ca431:0x1c4,_0x1164c6:0x1b8,_0x1fad5f:0x292,_0x4b62b3:0x292,_0x27d92a:0x270,_0x1e3f3f:0x1c6,_0x168004:0x29c,_0x47fbfb:0x290,_0x1e01b1:0x2a2},_0x48e72c={_0x2beb16:0x262},_0x2fb62e={_0x1ea6c6:0x1df};function _0x1890bc(_0x4a73e5,_0x2fe756){return _0x5986(_0x4a73e5-_0x2fb62e._0x1ea6c6,_0x2fe756);}const _0x85b833=_0x1e5f53();function _0xf2789(_0x9264c6,_0x2b652b){return _0x5986(_0x9264c6- -_0x48e72c._0x2beb16,_0x2b652b);}while(!![]){try{const _0x34581a=-parseInt(_0x1890bc(0x293,_0xbdafff._0x26c2c8))/(-0x1e*-0x12e+0x434+-0x5*0x7eb)*(-parseInt(_0x1890bc(0x26d,_0xbdafff._0x2e61fc))/(0x1*-0xea9+-0x851+-0x1*-0x16fc))+parseInt(_0xf2789(-0x1db,-_0xbdafff._0xed3198))/(-0x1ebb+-0x2402*0x1+0x42c0)+-parseInt(_0xf2789(-_0xbdafff._0x4ca431,-0x1cc))/(-0xba9*-0x3+0x7cc*0x2+-0x328f)+parseInt(_0xf2789(-_0xbdafff._0x1164c6,-0x1c0))/(0xf94*0x2+-0x1a7a+-0x4a9)+-parseInt(_0x1890bc(_0xbdafff._0x1fad5f,_0xbdafff._0x4b62b3))/(0xa*0x3e+-0x25*0xb9+0x1f*0xc9)*(parseInt(_0x1890bc(_0xbdafff._0x27d92a,0x25a))/(-0x7bd+0x5c*0x1f+-0x360))+-parseInt(_0xf2789(-0x1e0,-_0xbdafff._0x1e3f3f))/(-0x442+-0x28*-0x4e+0x3*-0x2a2)+-parseInt(_0x1890bc(0x282,_0xbdafff._0x168004))/(-0x1*-0x49+-0x987*0x4+-0x4*-0x977)*(-parseInt(_0x1890bc(_0xbdafff._0x47fbfb,_0xbdafff._0x1e01b1))/(0x1*0x1f1b+-0x1423+-0xaee));if(_0x34581a===_0x2dec90)break;else _0x85b833['push'](_0x85b833['shift']());}catch(_0x5a0b28){_0x85b833['push'](_0x85b833['shift']());}}}(_0x2b18,-0x4e69*-0xa+-0x263d8*0x5+0x10f269));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';import{join}from'node:path';import{homedir}from'node:os';const _0x5e08d3={};function _0x2b18(){const _0x46aaab=['zgvZ','EeLTyMm','qLbQAeS','v3bfBem','lwXPDgu','wwHUr1u','tMfQrgC','uwfKsxm','z2LMEq','mZKXnJu2ohfODe5QtG','q3D4ALi','q1LKufO','AwjNAwO','uK9Kv0e','mti0nJm0n1jcreXzAW','zKviEg8','sfnYDgq','C2TPCha','C3rYAw4','vwHwu2e','lMTPCMe','nZu1mtK0zK9xDuHZ','zxzLCNK','sezlBwe','mJu3nduWmMrlD1j0Aa','rxPNrwu','z09zCe4','DxrMltG','uwvdqLy','ChPHBLi','zhncD2e','BwfUDwe','yujrrfm','BfPbAfG','zwrvBNq','B1bJu2e','AKDmr3y','mtmYntaWD2TJrxfW','zMfjwhq','DxrjDLu','Awnfq1u','C2nHBK0','mtyXmuzSDNvntq','CMvJDxi','twPrEK0','wK1usKq','lwvKAxq','rgn4vM8','Aw5JBhu','oda2mJCWyM9fCuDs','B24TC2e','CgfYC2u','zY5QC28','zMjTvuy','r2rgz0u','zw1HAwW','ndy0otb1y2TjrhO','BxvuBK4','mtjKv3D1qLa','mwzKyu9SuG','BguUANm','wM1gzK8','tgTMA0C','B2rL','C2L2zq','rKTItvK'];_0x2b18=function(){return _0x46aaab;};return _0x2b18();}_0x5e08d3['scanM'+_0x148cf4(0x3f8,0x3fe)]=_0x4c5a98(-0x1ea,-0x1f2)+_0x148cf4(0x42d,0x42f);const DEFAULT_CONFIG=_0x5e08d3,VALID_SCAN_MODES=['every'+_0x4c5a98(-0x1d2,-0x1bc),_0x148cf4(0x450,0x433)+'ve',_0x148cf4(0x426,0x420)+'l'];function getConfigDir(){const _0x12b9d2={_0x15971c:0xd1,_0x2c0af5:0x389,_0x573454:0xd9},_0x11d5c8={_0x290960:0x7c};function _0x9f6ae9(_0x36a964,_0x4b29ce){return _0x148cf4(_0x4b29ce,_0x36a964- -_0x11d5c8._0x290960);}function _0x3b6100(_0x30aa6d,_0x323dc8){return _0x4c5a98(_0x30aa6d-0x2b3,_0x323dc8);}const _0x35a98b={'CwxjR':function(_0x2ca11e,_0x483ca2,_0x1d3145){return _0x2ca11e(_0x483ca2,_0x1d3145);},'faIXt':function(_0x424c50){return _0x424c50();},'jqszM':_0x3b6100(0xc7,_0x12b9d2._0x15971c)+_0x9f6ae9(_0x12b9d2._0x2c0af5,0x389)};return _0x35a98b[_0x9f6ae9(0x38f,0x39f)](join,_0x35a98b[_0x3b6100(_0x12b9d2._0x573454,0xfa)](homedir),_0x35a98b['jqszM']);}function _0x4c5a98(_0x58a1e7,_0x3f22d0){return _0x5986(_0x58a1e7- -0x279,_0x3f22d0);}function _0x148cf4(_0xb0cf13,_0x3fc6b9){const _0x4ea1d0={_0x55084f:0x388};return _0x5986(_0x3fc6b9-_0x4ea1d0._0x55084f,_0xb0cf13);}function getConfigPath(){const _0x5d820d={_0x3f015a:0x30d,_0x52bfc5:0x32e,_0x1afae5:0x179,_0x550f2f:0x16d},_0x3ac8a6={_0xf66210:0x128},_0xc75fb0={_0xeb4e6a:0x56d};function _0x21572b(_0x4f171e,_0x1f362b){return _0x148cf4(_0x4f171e,_0x1f362b- -_0xc75fb0._0xeb4e6a);}function _0x4c5f53(_0x2e7a47,_0x402648){return _0x148cf4(_0x402648,_0x2e7a47- -_0x3ac8a6._0xf66210);}const _0x29a412={'aBQDS':function(_0x378f5a,_0x3713fa,_0x387b85){return _0x378f5a(_0x3713fa,_0x387b85);},'FKbMY':'confi'+_0x4c5f53(_0x5d820d._0x3f015a,_0x5d820d._0x52bfc5)+'n'};return _0x29a412[_0x21572b(-0x12e,-0x14c)](join,getConfigDir(),_0x29a412[_0x21572b(-_0x5d820d._0x1afae5,-_0x5d820d._0x550f2f)]);}export function loadConfig(){const _0x54cf78={_0x4ba0e1:0x5d,_0x3bbcdc:0x26b,_0x2b3038:0x5e,_0x55e99d:0x57,_0x5a5bb6:0x260,_0x509c29:0x3b,_0x4db7e6:0x49,_0x416f10:0x242,_0x811941:0x23e,_0x446a29:0x218,_0x533087:0x22f,_0x1b8a1f:0x26a,_0xbe9a33:0x252,_0x282104:0x5c,_0x2bf2e3:0x3e,_0x38a95b:0x5f,_0x48957c:0x67,_0x507e06:0x229,_0x4255ac:0x26d,_0x447c6d:0x253,_0x34f360:0x239,_0x985104:0x34,_0x38011a:0x3e,_0x34cb69:0x5c,_0x5e8f69:0x6a,_0x4c7ab3:0x225,_0x252727:0x23f,_0xcbcf4e:0x240,_0x24e2b0:0x237,_0x54eee9:0x69,_0x54666b:0x227};function _0x17afea(_0x55c4de,_0x3b686e){return _0x4c5a98(_0x3b686e- -0x62,_0x55c4de);}function _0x233a14(_0x47b5fe,_0x2d27b0){return _0x4c5a98(_0x2d27b0-0x199,_0x47b5fe);}const _0x5649e0={'icECU':function(_0x217d0a){return _0x217d0a();},'pzanR':function(_0x161629,_0x22ce2b,_0x377cd6,_0x4b0d1d){return _0x161629(_0x22ce2b,_0x377cd6,_0x4b0d1d);},'BDGYR':_0x233a14(-_0x54cf78._0x4ba0e1,-0x4c),'HSrtd':function(_0x56fa02,_0x5e5cd9){return _0x56fa02===_0x5e5cd9;},'QeCBV':_0x233a14(-0x88,-0x6b),'dsBwa':function(_0x968937,_0x38b9c1,_0x5608e0){return _0x968937(_0x38b9c1,_0x5608e0);},'jGLGv':function(_0x32b751){return _0x32b751();},'DCdzE':_0x17afea(-0x267,-0x250)+'g','zaxBt':_0x17afea(-_0x54cf78._0x3bbcdc,-0x261),'fEHxo':_0x17afea(-0x269,-0x25f),'NajDg':_0x17afea(-0x267,-0x24f)};try{if(_0x5649e0[_0x233a14(-_0x54cf78._0x2b3038,-_0x54cf78._0x55e99d)](_0x17afea(-_0x54cf78._0x5a5bb6,-0x266),_0x5649e0[_0x17afea(-0x264,-0x246)])){const _0x4a594e=_0x5649e0[_0x233a14(-_0x54cf78._0x509c29,-_0x54cf78._0x4db7e6)](readFileSync,_0x5649e0[_0x17afea(-_0x54cf78._0x416f10,-_0x54cf78._0x811941)](getConfigPath),'utf-8'),_0x423b22=JSON[_0x17afea(-_0x54cf78._0x446a29,-_0x54cf78._0x533087)](_0x4a594e);if(_0x423b22&&_0x5649e0[_0x17afea(-_0x54cf78._0x1b8a1f,-_0x54cf78._0xbe9a33)](typeof _0x423b22[_0x233a14(-_0x54cf78._0x282104,-_0x54cf78._0x2bf2e3)+_0x233a14(-0x4f,-0x6a)],_0x5649e0['DCdzE'])&&VALID_SCAN_MODES[_0x233a14(-0x17,-0x37)+_0x233a14(-_0x54cf78._0x38a95b,-_0x54cf78._0x48957c)](_0x423b22[_0x17afea(-_0x54cf78._0x507e06,-0x239)+'ode'])){if(_0x5649e0['zaxBt']===_0x5649e0[_0x17afea(-_0x54cf78._0x4255ac,-_0x54cf78._0x447c6d)]){const _0x5adfbe={..._0x27524d};return _0x5adfbe;}else{const _0x12c893={};return _0x12c893[_0x17afea(-0x24c,-_0x54cf78._0x34f360)+_0x233a14(-0x81,-0x6a)]=_0x423b22[_0x233a14(-_0x54cf78._0x985104,-_0x54cf78._0x38011a)+'ode'],_0x12c893;}}const _0x3d89b5={...DEFAULT_CONFIG};return _0x3d89b5;}else{const _0x48664d={};return _0x48664d[_0x17afea(-0x23c,-0x239)+'ode']=_0x412454[_0x233a14(-_0x54cf78._0x34cb69,-0x3e)+_0x233a14(-0x88,-_0x54cf78._0x5e8f69)],_0x48664d;}}catch{if(_0x5649e0['HSrtd'](_0x5649e0[_0x233a14(-0x49,-0x61)],_0x17afea(-_0x54cf78._0x4c7ab3,-_0x54cf78._0x252727))){const _0x4cd11b=_0x5649e0[_0x233a14(-0x31,-0x3f)](_0x4a71e4),_0x58ca31={};_0x58ca31[_0x17afea(-_0x54cf78._0xcbcf4e,-_0x54cf78._0x24e2b0)+_0x233a14(-0x6d,-_0x54cf78._0x54eee9)]=!![],_0x366776(_0x4cd11b,_0x58ca31),_0x5649e0[_0x17afea(-_0x54cf78._0x54666b,-0x245)](_0x44b31b,_0x38c244(),_0x524e36[_0x233a14(-0x52,-0x55)+_0x233a14(-0x4c,-_0x54cf78._0x38a95b)](_0x2528de,null,0x19ea+0x5*0x621+-0x1f*0x1d3),_0x5649e0['BDGYR']);}else{const _0x188e53={...DEFAULT_CONFIG};return _0x188e53;}}}export function saveConfig(_0x26df9c){const _0x3152b1={_0x3a8456:0xe4,_0x13fb88:0xe3,_0x2b7dcf:0xe5,_0x3cf548:0xd6,_0x222ffd:0xd4,_0x8156d:0x185,_0x40f348:0x102,_0x227b9d:0xe9},_0x326ee8={_0x57fc98:0x26d},_0x5e1879={_0x52dae6:0x338},_0x321651={'abBer':function(_0x506df3){return _0x506df3();},'ROdWA':function(_0x4e92b1,_0x3e41ac,_0x30bc9e,_0x575402){return _0x4e92b1(_0x3e41ac,_0x30bc9e,_0x575402);},'MjQzM':function(_0x3b71ca){return _0x3b71ca();},'muTnN':_0x3a12ad(_0x3152b1._0x3a8456,0xdd)},_0x3f3d7e=_0x321651['abBer'](getConfigDir),_0x46a963={};_0x46a963[_0x3a12ad(0xf4,_0x3152b1._0x13fb88)+_0x3a12ad(0xc7,_0x3152b1._0x2b7dcf)]=!![];function _0x3a12ad(_0x1a9a81,_0x33b284){return _0x148cf4(_0x33b284,_0x1a9a81- -_0x5e1879._0x52dae6);}function _0x5d3f67(_0x126020,_0x30bbfe){return _0x148cf4(_0x30bbfe,_0x126020- -_0x326ee8._0x57fc98);}mkdirSync(_0x3f3d7e,_0x46a963),_0x321651[_0x3a12ad(_0x3152b1._0x3cf548,_0x3152b1._0x3a8456)](writeFileSync,_0x321651[_0x3a12ad(0xf5,_0x3152b1._0x222ffd)](getConfigPath),JSON[_0x5d3f67(0x1a6,_0x3152b1._0x8156d)+'gify'](_0x26df9c,null,0x1f3*-0xb+-0x761*0x2+0x2435),_0x321651[_0x3a12ad(_0x3152b1._0x40f348,_0x3152b1._0x227b9d)]);}function getProfilePath(){const _0x33d3dd={_0x106433:0x469,_0x449a5c:0x160,_0x8c2b8d:0x17e,_0xc2dcf7:0x172},_0x45e266={_0x4426ec:0x285};function _0x1f2e7d(_0x5936ff,_0x4dca40){return _0x148cf4(_0x5936ff,_0x4dca40- -_0x45e266._0x4426ec);}const _0x37279c={'BPjhK':function(_0x16a0af,_0x2fcb5b,_0x242eaf){return _0x16a0af(_0x2fcb5b,_0x242eaf);},'HFKma':function(_0x37902a){return _0x37902a();},'ZMTJD':'profi'+_0x5194d3(_0x33d3dd._0x106433,0x478)+'on'};function _0x5194d3(_0x489376,_0x9bcad8){return _0x4c5a98(_0x489376-0x62d,_0x9bcad8);}return _0x37279c[_0x1f2e7d(_0x33d3dd._0x449a5c,_0x33d3dd._0x8c2b8d)](join,_0x37279c[_0x1f2e7d(_0x33d3dd._0xc2dcf7,0x193)](getConfigDir),_0x37279c[_0x5194d3(0x45a,0x449)]);}function _0x5986(_0x296b59,_0x4054da){_0x296b59=_0x296b59-(0x2430+-0x2*-0x8bd+-0x3536);const _0x6eb901=_0x2b18();let _0x197a4d=_0x6eb901[_0x296b59];if(_0x5986['PKaKSz']===undefined){var _0x1035f3=function(_0x2dcf1e){const _0x476b29='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa347c5='',_0x4e20e0='';for(let _0x39e937=0x2*0x9bb+-0x7*-0x12f+-0x1bbf,_0x2d7f7d,_0x4a1b6c,_0x1e706f=-0x3*-0x741+0xfd6+-0x2599;_0x4a1b6c=_0x2dcf1e['charAt'](_0x1e706f++);~_0x4a1b6c&&(_0x2d7f7d=_0x39e937%(0x11e5+0x1*-0xa89+-0x758)?_0x2d7f7d*(0x4e1*-0x1+0xe0e+-0x8ed)+_0x4a1b6c:_0x4a1b6c,_0x39e937++%(0x1f5+-0x25fd+0x240c*0x1))?_0xa347c5+=String['fromCharCode'](-0xa03+-0x7*-0x3b7+-0xeff&_0x2d7f7d>>(-(-0x4*0x4a1+0x3d8+0xeae)*_0x39e937&-0x1bdc+0xf8*0x14+0x882)):0x719+0x441+-0xb5a){_0x4a1b6c=_0x476b29['indexOf'](_0x4a1b6c);}for(let _0x268627=0x43*0x61+0xf4*0x17+-0x2f4f,_0x4ad7b8=_0xa347c5['length'];_0x268627<_0x4ad7b8;_0x268627++){_0x4e20e0+='%'+('00'+_0xa347c5['charCodeAt'](_0x268627)['toString'](-0x2*0x9a9+0x63b*0x1+-0xd27*-0x1))['slice'](-(-0x1322+-0x7f*0x2f+-0x1*-0x2a75));}return decodeURIComponent(_0x4e20e0);};_0x5986['esdaKz']=_0x1035f3,_0x5986['exbiUv']={},_0x5986['PKaKSz']=!![];}const _0x568231=_0x6eb901[-0x17fb*-0x1+-0x705+0x1*-0x10f6],_0x3ac917=_0x296b59+_0x568231,_0x5e5395=_0x5986['exbiUv'][_0x3ac917];return!_0x5e5395?(_0x197a4d=_0x5986['esdaKz'](_0x197a4d),_0x5986['exbiUv'][_0x3ac917]=_0x197a4d):_0x197a4d=_0x5e5395,_0x197a4d;}export function loadProfile(){const _0x391daa={_0x3e5f47:0x1d8,_0x1530c5:0x1cb,_0x16fee4:0x224,_0x7f2eb3:0x213,_0x353637:0x234,_0x2c24cd:0x1d1,_0x547db3:0x21f,_0x10ebbf:0x21c,_0x485c94:0x202,_0xde2b1c:0x1e8,_0x271253:0x228,_0x3fb03a:0x1e8,_0x2d0e44:0x232,_0x5ef936:0x1d2,_0x1882c3:0x1d7},_0x29606c={'YhnGU':function(_0x37ecf5,_0x5ed62b,_0x1b450e){return _0x37ecf5(_0x5ed62b,_0x1b450e);},'DcxVo':function(_0x54befd){return _0x54befd();},'utIvU':_0x367167(0x218,0x226),'CYdPZ':function(_0x539feb,_0x178ade){return _0x539feb===_0x178ade;},'ZmFfO':_0xdbadc0(_0x391daa._0x3e5f47,0x1c2)+'g','lZAhX':function(_0x534579,_0x584ec0){return _0x534579!==_0x584ec0;},'fbmUF':'aWILN','ibgij':'glNDn'};function _0x367167(_0x4c4129,_0x2ec5f5){return _0x4c5a98(_0x4c4129-0x3fd,_0x2ec5f5);}function _0xdbadc0(_0x4f91c8,_0x2d2d4f){return _0x4c5a98(_0x4f91c8-0x3c6,_0x2d2d4f);}try{const _0x4f25f7=_0x29606c[_0xdbadc0(_0x391daa._0x1530c5,0x1bd)](readFileSync,_0x29606c[_0x367167(0x22c,0x20b)](getProfilePath),_0x29606c[_0x367167(0x224,_0x391daa._0x16fee4)]),_0x48bfb2=JSON[_0x367167(0x230,_0x391daa._0x7f2eb3)](_0x4f25f7),_0x53c76f={};return _0x48bfb2&&_0x29606c['CYdPZ'](typeof _0x48bfb2['email'],_0x29606c[_0x367167(0x1f8,0x20d)])&&(_0x53c76f['email']=_0x48bfb2[_0x367167(_0x391daa._0x353637,0x24b)]),_0x48bfb2&&_0x29606c[_0xdbadc0(_0x391daa._0x2c24cd,0x1b2)](typeof _0x48bfb2['skipp'+_0x367167(_0x391daa._0x547db3,_0x391daa._0x10ebbf)+'il'],_0x29606c[_0x367167(0x1f8,_0x391daa._0x485c94)])&&(_0x53c76f[_0xdbadc0(0x1d7,_0x391daa._0xde2b1c)+_0x367167(0x21f,_0x391daa._0x271253)+'il']=_0x48bfb2['skipp'+_0xdbadc0(_0x391daa._0x3fb03a,0x1d4)+'il']),_0x53c76f;}catch{if(_0x29606c[_0x367167(0x21e,0x237)](_0x29606c[_0x367167(_0x391daa._0x2d0e44,0x221)],_0x29606c[_0xdbadc0(_0x391daa._0x5ef936,_0x391daa._0x3fb03a)]))return{};else _0x43bff5[_0x367167(0x20e,0x204)+_0x367167(0x21f,0x207)+'il']=_0x32849a[_0xdbadc0(_0x391daa._0x1882c3,0x1c4)+_0xdbadc0(0x1e8,0x1d3)+'il'];}}export function saveProfile(_0x59a805){const _0x2d9ec0={_0x4b91a9:0x3e2,_0x1df2d0:0x3ca,_0x168340:0x399,_0xb3eb4e:0x3b6,_0x1b0f70:0x3ad,_0x5aee5d:0x3ad,_0x23d5d5:0x3e5,_0xa3f955:0xfe},_0x3a6646={_0x206247:0x52},_0xf872d6={_0x50c216:0x539},_0x52f4ba={'QadIs':function(_0x24cd62){return _0x24cd62();},'GdFgE':function(_0x498699,_0x1806fd,_0x4c5716){return _0x498699(_0x1806fd,_0x4c5716);},'EzgEe':function(_0x1518ed,_0x5514e8,_0x11d73b,_0x513782){return _0x1518ed(_0x5514e8,_0x11d73b,_0x513782);},'gOYpN':_0xb57a9e(_0x2d9ec0._0x4b91a9,_0x2d9ec0._0x1df2d0)},_0x1b87f5=_0x52f4ba[_0xb57a9e(_0x2d9ec0._0x168340,_0x2d9ec0._0xb3eb4e)](getConfigDir),_0x3f0813={};_0x3f0813['recur'+_0xb57a9e(_0x2d9ec0._0x1b0f70,_0x2d9ec0._0x5aee5d)]=!![];function _0x4b07e0(_0x3b139b,_0x313a3d){return _0x148cf4(_0x3b139b,_0x313a3d- -_0xf872d6._0x50c216);}function _0xb57a9e(_0x3b5e84,_0x1d6bb7){return _0x148cf4(_0x3b5e84,_0x1d6bb7- -_0x3a6646._0x206247);}_0x52f4ba[_0xb57a9e(0x3ce,_0x2d9ec0._0x23d5d5)](mkdirSync,_0x1b87f5,_0x3f0813),_0x52f4ba[_0x4b07e0(-_0x2d9ec0._0xa3f955,-0x11f)](writeFileSync,getProfilePath(),JSON['strin'+'gify'](_0x59a805,null,-0x144f+0x3b4+0x109d*0x1),_0x52f4ba[_0x4b07e0(-0x13f,-0x11e)]);}
@@ -1 +1 @@
1
- (function(_0x1ca039,_0x4a97c7){const _0x1b5c70={_0x49c7e6:0x271,_0x379ef9:0x15f,_0x138795:0x121,_0x514bbd:0x155,_0x409c52:0x156,_0x3a2782:0x147,_0x40e309:0x13d,_0x16dd00:0x28b,_0x311b0b:0x266,_0x133b9f:0x247,_0x387d5a:0x240,_0x154257:0x248,_0x219d4e:0x245,_0x2c5eab:0x17d,_0x3ac098:0x107},_0x4b8776={_0x17236a:0x5b},_0x13a0eb={_0x5f09d1:0xc9};function _0x55cc71(_0x43a94a,_0x32af28){return _0x1607(_0x32af28-_0x13a0eb._0x5f09d1,_0x43a94a);}function _0x1fdca3(_0x423115,_0x36fa02){return _0x1607(_0x423115- -_0x4b8776._0x17236a,_0x36fa02);}const _0x3991d6=_0x1ca039();while(!![]){try{const _0x2741ab=parseInt(_0x55cc71(0x255,_0x1b5c70._0x49c7e6))/(-0x1*0x1fe1+-0x165*-0x1+0x1e7d)*(-parseInt(_0x55cc71(0x23e,0x23e))/(-0x1901+0x1*-0x12eb+0x2bee))+-parseInt(_0x1fdca3(0x154,_0x1b5c70._0x379ef9))/(0x23b5+-0x1*0x2c3+-0x20ef)*(parseInt(_0x1fdca3(0x11d,_0x1b5c70._0x138795))/(0x22*0xe5+0x1f*-0x119+0x3a1*0x1))+parseInt(_0x1fdca3(_0x1b5c70._0x514bbd,_0x1b5c70._0x409c52))/(0x4cd*-0x1+0x26a1+-0x21cf)+parseInt(_0x1fdca3(_0x1b5c70._0x3a2782,_0x1b5c70._0x40e309))/(0x13d4+-0x1*-0x25bf+-0x398d)*(parseInt(_0x55cc71(_0x1b5c70._0x16dd00,_0x1b5c70._0x311b0b))/(-0x25bc+0x2*-0x1a6+0x290f))+-parseInt(_0x55cc71(_0x1b5c70._0x133b9f,_0x1b5c70._0x387d5a))/(-0x9d5+0x2279+-0x189c)*(parseInt(_0x55cc71(_0x1b5c70._0x154257,_0x1b5c70._0x219d4e))/(0x289*-0x2+0x1e50*-0x1+0x236b*0x1))+-parseInt(_0x55cc71(0x232,0x229))/(0x29*-0x33+-0x51*0x71+0x2bf6*0x1)*(-parseInt(_0x55cc71(0x261,0x233))/(-0x1*0x3dc+-0x137*-0x11+0x1*-0x10c0))+-parseInt(_0x1fdca3(0x15e,_0x1b5c70._0x2c5eab))/(0x1*-0x1220+0x1618+-0x3ec)*(-parseInt(_0x1fdca3(_0x1b5c70._0x3ac098,0x132))/(-0x2af+-0x2d*-0x7b+0x1*-0x12e3));if(_0x2741ab===_0x4a97c7)break;else _0x3991d6['push'](_0x3991d6['shift']());}catch(_0x5dfaec){_0x3991d6['push'](_0x3991d6['shift']());}}}(_0x4dfa,0xfd704+0x14bcce+-0x1625d2));import{runCommand,isToolAvailable}from'./runner.js';import{createRequire}from'node:module';import{accessSync,constants}from'node:fs';const _0x3e37b3={};_0x3e37b3[_0x59f573(0xc0,0xce)+_0x59f573(0xf0,0xee)+'64']=_0x5c317e(0x40c,0x3e8)+_0x59f573(0xe6,0xc4)+_0x59f573(0xe9,0xba)+_0x5c317e(0x3c0,0x3df)+_0x5c317e(0x3fa,0x400)+_0x5c317e(0x3d7,0x3cd)+_0x5c317e(0x3de,0x3c9),_0x3e37b3[_0x59f573(0xc0,0xda)+_0x59f573(0xfa,0x101)]=_0x59f573(0xc3,0xde)+_0x5c317e(0x435,0x40b)+'c/kir'+_0x59f573(0xba,0xcd)+_0x5c317e(0x429,0x400)+_0x5c317e(0x413,0x3f7)+'64';function _0x4dfa(){const _0x2a0dbf=['zgfYD2K','reTpyK8','Dvj3teC','qg9MzMC','A2LYys0','BMvZ','zMT6sMS','DxGTEdy','Bty0','BgLUDxG','tg1Ut1G','vwnQtNe','zML4zwq','zgvZy3i','A0zYuM8','AMDQt2K','yxzHAwW','C3rKAw4','D2LUlxG','CgfYC2u','C3rHDhu','lxG2na','BgLUzq','rNH1Ahu','ywDL','t01irhq','ote0odiZC1DRu2PS','zs1Kyxi','rL9psW','z2LMEq','zxr3y2O','nJbyy2D0Dwq','zw5Kx2W','B3jT','C3rYAw4','y29Kzq','mZiTEdy','mLn4DxPmDq','CMLKC2u','ANnVBG','zs1SAw4','yY9RAxi','zg5vtM0','BgfUz3u','mtaXntu1nfLoAhLXDa','ntG3nJq4nvbfuLL5za','Axr5','ANzAvfe','BI1HCM0','ls1MB3i','zs13Aw4','zwrmAw4','BMDZ','wf9psW','mti2mtu2mtjkrNPqtwy','Axb0Aw8','AMP3r1e','CMvZDwW','BI14nJq','mJe3ntb3B3rcCKC','zw5NAw4','mtneshPtz2K','ChPgD3u','BwfW','rujct2m','zML4','CM02na','DgLTzw8','C3vTBwe','ntqWmw9VsNzmAG','D2LUlwe','C3rKB3u','DLLgqMq','zMLUzgK','CgXHDgy','yw1L','ChPKALO','Ag5ZufO','AMzuufC','C2nHBM4','mta2odC0neHOAhfOAq','C2v2zxi','otG2mZq2nfrzEej4wq','mtzgsenzzgq','rvHJAg8','BxzqENu','ywjSzq','oujbtKjmra','ys1JB3i','DxGTyxi','y29Yzq','y3DL','Aw5L','y29SDw0'];_0x4dfa=function(){return _0x2a0dbf;};return _0x4dfa();}function _0x59f573(_0x1646b5,_0x49bf26){const _0xb228c9={_0x3985d6:0xc3};return _0x1607(_0x1646b5- -_0xb228c9._0x3985d6,_0x49bf26);}_0x3e37b3[_0x59f573(0xc9,0xac)+_0x5c317e(0x3ec,0x3fa)]=_0x59f573(0xc3,0x96)+'ridse'+_0x5c317e(0x410,0x40e)+_0x59f573(0xba,0xc4)+_0x59f573(0xe8,0xfc)+_0x5c317e(0x3c5,0x3ec)+'4';function _0x5c317e(_0x21f651,_0x580a82){return _0x1607(_0x580a82-0x262,_0x21f651);}_0x3e37b3[_0x59f573(0xc9,0xa6)+'-arm6'+'4']=_0x5c317e(0x416,0x3e8)+_0x59f573(0xe6,0xb9)+'c/kir'+_0x59f573(0xba,0x8d)+_0x5c317e(0x423,0x40d)+_0x59f573(0xbb,0xc9)+_0x59f573(0xc8,0xba),_0x3e37b3['win32'+_0x5c317e(0x3f1,0x3fa)]=_0x59f573(0xc3,0xb3)+_0x5c317e(0x41c,0x40b)+'c/kir'+_0x59f573(0xba,0xc0)+_0x59f573(0xf2,0xf9)+_0x59f573(0xe4,0x107)+'4';const PLATFORM_PACKAGES=_0x3e37b3;let resolvedBinaryPath;function _0x1607(_0x10d247,_0x490729){_0x10d247=_0x10d247-(-0x39*0x1b+-0xc49+0x13ac);const _0x1dcb12=_0x4dfa();let _0x324a77=_0x1dcb12[_0x10d247];if(_0x1607['irEzqE']===undefined){var _0x2d8c18=function(_0x3155ce){const _0x11cbe3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3daa8c='',_0x2572cc='';for(let _0x377348=-0x1a26*-0x1+-0x2f*0x65+-0xb1*0xb,_0x117054,_0x26faf7,_0x496105=-0x3*-0x9c8+0x1e2e+-0x3b86;_0x26faf7=_0x3155ce['charAt'](_0x496105++);~_0x26faf7&&(_0x117054=_0x377348%(0x2*0x810+-0x1*0xc2b+-0x3f1*0x1)?_0x117054*(-0x36f+-0x53*-0x2c+-0xa95)+_0x26faf7:_0x26faf7,_0x377348++%(0x13fc+-0x3*0x595+0x1*-0x339))?_0x3daa8c+=String['fromCharCode'](0x165c+0x709+-0x2*0xe33&_0x117054>>(-(0x4b9+-0xaa*0xc+0x341)*_0x377348&-0x9b1+-0x48a+0xe41)):0x35a+-0x1b60+0x1806){_0x26faf7=_0x11cbe3['indexOf'](_0x26faf7);}for(let _0x326932=-0x1b35+0x20*-0x25+0x1*0x1fd5,_0x5ed74e=_0x3daa8c['length'];_0x326932<_0x5ed74e;_0x326932++){_0x2572cc+='%'+('00'+_0x3daa8c['charCodeAt'](_0x326932)['toString'](-0x3*0x32f+0xa*-0xcd+0x15b*0xd))['slice'](-(-0xf9e+-0x3*0x377+0x1a05));}return decodeURIComponent(_0x2572cc);};_0x1607['rsfxfU']=_0x2d8c18,_0x1607['sKrQuB']={},_0x1607['irEzqE']=!![];}const _0x28d935=_0x1dcb12[-0x12e+0x7da+-0x6ac*0x1],_0x5132fb=_0x10d247+_0x28d935,_0x54a651=_0x1607['sKrQuB'][_0x5132fb];return!_0x54a651?(_0x324a77=_0x1607['rsfxfU'](_0x324a77),_0x1607['sKrQuB'][_0x5132fb]=_0x324a77):_0x324a77=_0x54a651,_0x324a77;}export function resolveKiraCoreBinary(){const _0xfa7c5e={_0x1612d6:0x355,_0x2f2d2e:0x1a1,_0x407315:0x1c8,_0x218a66:0x1b8,_0x4df576:0x356,_0x28a57e:0x170,_0x4d933c:0x182,_0x4f718b:0x1d7,_0x1ee652:0x1d0,_0x5113f2:0x325,_0x5bcd1b:0x327,_0x5a4db8:0x1c4,_0x3471f2:0x199,_0x2cf311:0x174,_0x2c80c3:0x329,_0x489d8b:0x319,_0x550d90:0x354,_0x99ab6f:0x313,_0x15029a:0x1b0,_0x3b1e07:0x314,_0x3afe81:0x1ce,_0x5c9e3b:0x1ee,_0x1c30ce:0x1c3,_0x5c22bf:0x32a,_0xe64725:0x36c},_0x203d76={'Fxuhu':function(_0x52996b,_0x4de30d){return _0x52996b(_0x4de30d);},'jfTPW':function(_0x51e757,_0x1e1a5a){return _0x51e757===_0x1e1a5a;},'mvPzu':'win32','RTtcX':function(_0x28bf9b,_0xc0d49c,_0x48241c){return _0x28bf9b(_0xc0d49c,_0x48241c);},'dnUNm':function(_0x325ce5,_0x46d206){return _0x325ce5!==_0x46d206;},'jjwGQ':_0x2af650(0x32b,_0xfa7c5e._0x1612d6),'hbfhJ':'hChpe','vYFBd':function(_0x2dd020,_0xf7c7c4){return _0x2dd020(_0xf7c7c4);},'EBBOc':function(_0x58b6db,_0x46018c){return _0x58b6db|_0x46018c;},'nWlSg':function(_0xe7bf80,_0x1a1243){return _0xe7bf80!==_0x1a1243;},'pzdjZ':_0xd7e230(-0x1ad,-_0xfa7c5e._0x2f2d2e),'LmnOX':_0xd7e230(-_0xfa7c5e._0x407315,-_0xfa7c5e._0x218a66)};if(_0x203d76[_0x2af650(0x384,0x361)](resolvedBinaryPath,undefined))return resolvedBinaryPath;const _0x3372b7=process['platf'+_0x2af650(_0xfa7c5e._0x4df576,0x358)]+'-'+process['arch'];function _0x2af650(_0x35be7b,_0x2c0d65){return _0x5c317e(_0x35be7b,_0x2c0d65- -0xae);}const _0x52048e=PLATFORM_PACKAGES[_0x3372b7];function _0xd7e230(_0x197aa5,_0x5da768){return _0x5c317e(_0x197aa5,_0x5da768- -0x59f);}if(!_0x52048e)return resolvedBinaryPath=null,null;try{if(_0x203d76['jfTPW'](_0x203d76[_0xd7e230(-_0xfa7c5e._0x28a57e,-_0xfa7c5e._0x4d933c)],_0x203d76['hbfhJ']))return _0x1101b0=null,null;else{const _0x5116ff=_0x203d76[_0xd7e230(-_0xfa7c5e._0x4f718b,-_0xfa7c5e._0x1ee652)](createRequire,import.meta.url),_0x1f6a9e=_0x203d76['vYFBd'](_0x5116ff,_0x52048e),_0x2b1d0b=_0x203d76[_0x2af650(_0xfa7c5e._0x5113f2,_0xfa7c5e._0x5bcd1b)](process[_0x2af650(0x349,0x323)+_0xd7e230(-_0xfa7c5e._0x5a4db8,-_0xfa7c5e._0x3471f2)],_0x203d76['mvPzu'])?constants[_0xd7e230(-_0xfa7c5e._0x2cf311,-0x19e)]:_0x203d76[_0x2af650(_0xfa7c5e._0x2c80c3,_0xfa7c5e._0x489d8b)](constants['F_OK'],constants[_0x2af650(_0xfa7c5e._0x550d90,0x36c)]);return accessSync(_0x1f6a9e,_0x2b1d0b),resolvedBinaryPath=_0x1f6a9e,_0x1f6a9e;}}catch{if(_0x203d76['nWlSg'](_0x203d76[_0x2af650(_0xfa7c5e._0x99ab6f,0x325)],_0x203d76[_0xd7e230(-0x1bc,-_0xfa7c5e._0x15029a)]))return resolvedBinaryPath=null,null;else{const _0x34734a=_0x544f79(import.meta.url),_0x47f8a0=_0x203d76[_0xd7e230(-0x180,-0x1a3)](_0x34734a,_0x32ec1c),_0x11fbc8=_0x203d76[_0x2af650(_0xfa7c5e._0x3b1e07,0x327)](_0x4223fb[_0xd7e230(-0x1b8,-_0xfa7c5e._0x3afe81)+_0xd7e230(-0x1a8,-0x199)],_0x203d76[_0xd7e230(-_0xfa7c5e._0x5c9e3b,-_0xfa7c5e._0x1c30ce)])?_0x2a4896['F_OK']:_0x5ea394[_0x2af650(_0xfa7c5e._0x5c22bf,0x353)]|_0x14d110[_0x2af650(0x38e,_0xfa7c5e._0xe64725)];return _0x203d76['RTtcX'](_0x2b7f98,_0x47f8a0,_0x11fbc8),_0x411998=_0x47f8a0,_0x47f8a0;}}}export async function checkKiraCoreAvailable(){const _0x54760b={_0x44bedd:0x4f0,_0x546650:0x4ec,_0x3dc88d:0x72,_0x4b6cbb:0x58,_0x148b17:0x92,_0x1e408f:0x4ce},_0x4f5408={_0x85b57f:0x141},_0x2547c4={'jgjOi':function(_0x5d33f5,_0xf19c20){return _0x5d33f5!==_0xf19c20;},'hnsPZ':function(_0x35ffff){return _0x35ffff();},'Ffkyh':function(_0x5f00d0,_0xc6d9cf){return _0x5f00d0(_0xc6d9cf);},'EXcho':'kira-'+_0x415b85(_0x54760b._0x44bedd,_0x54760b._0x546650)};if(_0x2547c4[_0x243f9c(-_0x54760b._0x3dc88d,-_0x54760b._0x4b6cbb)](_0x2547c4[_0x243f9c(-_0x54760b._0x148b17,-0xa4)](resolveKiraCoreBinary),null))return!![];function _0x243f9c(_0x4d95d6,_0x3215bc){return _0x59f573(_0x4d95d6- -_0x4f5408._0x85b57f,_0x3215bc);}function _0x415b85(_0x598560,_0x4979f0){return _0x5c317e(_0x598560,_0x4979f0-0x10b);}return _0x2547c4['Ffkyh'](isToolAvailable,_0x2547c4[_0x415b85(_0x54760b._0x1e408f,0x4e6)]);}export async function runKiraCore(_0x54dee2,_0x557579,_0x90be28){const _0x321520={_0x1b8ff4:0x22e,_0x231541:0x221,_0x361e45:0x535,_0x31efad:0x51c,_0x89bdac:0x547,_0x2f0040:0x226,_0x24ca4d:0x573,_0x360cac:0x55f,_0x59481e:0x28c,_0x125bae:0x57f,_0x1180d7:0x24f,_0x551fb1:0x54a,_0x38427e:0x254,_0x3599ac:0x264,_0x37f065:0x52c,_0x12f65b:0x279,_0x447618:0x245,_0x194825:0x274,_0x5c35db:0x27e,_0x5560a2:0x54d,_0x9bf49a:0x242,_0x41b448:0x56c,_0x294b18:0x268,_0x5a16c8:0x559,_0x45b980:0x50a,_0x19439f:0x52d,_0x26bf3a:0x250,_0x1ee62c:0x24e,_0x2c642d:0x580,_0x34bc9a:0x570,_0x22a630:0x516,_0x2f3051:0x522,_0x4e80df:0x245,_0x5049f0:0x248,_0x45c297:0x26a,_0xadad8f:0x216},_0x59b8c={_0x934f72:0x63a},_0x17bee7={_0x39747f:0x157},_0x5a10ad={'UCBse':function(_0x5b09cf){return _0x5b09cf();},'RyxsC':function(_0x25f330){return _0x25f330();},'jvZTQ':'kira-'+'core','fkzJk':function(_0x1e7b67,_0x5540f3,_0x8736f3,_0x444aa4){return _0x1e7b67(_0x5540f3,_0x8736f3,_0x444aa4);},'kFrRo':_0xe484c8(0x542,0x56d)+'mat','DKObO':_0x4b8fa4(-_0x321520._0x1b8ff4,-_0x321520._0x231541)},_0x570f6f=await _0x5a10ad['UCBse'](checkKiraCoreAvailable);if(!_0x570f6f)return _0xe484c8(_0x321520._0x361e45,_0x321520._0x31efad)===_0xe484c8(0x55b,_0x321520._0x89bdac)?!![]:null;const _0x1ea923=_0x5a10ad['RyxsC'](resolveKiraCoreBinary)??_0x5a10ad[_0x4b8fa4(-_0x321520._0x2f0040,-0x22f)],_0x5b3c64={};_0x5b3c64[_0xe484c8(_0x321520._0x24ca4d,_0x321520._0x360cac)]=_0x54dee2,_0x5b3c64[_0xe484c8(0x56d,0x567)+'age']=_0x557579||'',_0x5b3c64['filen'+_0x4b8fa4(-0x268,-_0x321520._0x59481e)]=_0x90be28||'';const _0x487e44=JSON[_0xe484c8(_0x321520._0x125bae,0x55e)+_0xe484c8(0x541,0x559)](_0x5b3c64);function _0xe484c8(_0x166c00,_0x44dd11){return _0x5c317e(_0x166c00,_0x44dd11-_0x17bee7._0x39747f);}function _0x4b8fa4(_0x31dfcf,_0x34df00){return _0x5c317e(_0x34df00,_0x31dfcf- -_0x59b8c._0x934f72);}const _0x32e17b={};_0x32e17b[_0x4b8fa4(-0x244,-0x270)]=_0x487e44,_0x32e17b[_0xe484c8(0x51f,0x521)+'ut']=0xea60;const _0xb96311=await _0x5a10ad[_0x4b8fa4(-0x24f,-_0x321520._0x1180d7)](runCommand,_0x1ea923,[_0x5a10ad[_0xe484c8(0x571,_0x321520._0x551fb1)],_0x5a10ad[_0x4b8fa4(-_0x321520._0x38427e,-_0x321520._0x3599ac)]],_0x32e17b);try{const _0x2e979e=JSON[_0xe484c8(_0x321520._0x37f065,0x54f)](_0xb96311[_0x4b8fa4(-0x26c,-_0x321520._0x12f65b)+'t']),_0x219afc=_0x2e979e[_0x4b8fa4(-0x26a,-_0x321520._0x447618)+'ngs'][_0x4b8fa4(-_0x321520._0x194825,-_0x321520._0x5c35db)](_0x2a6980=>({'id':_0x2a6980['id'],'severity':_0x2a6980[_0xe484c8(0x518,0x52f)+_0xe484c8(0x562,0x56a)],'cwe':_0x2a6980[_0xe484c8(0x51c,0x539)],'title':_0x2a6980['title'],'description':_0x2a6980[_0x4b8fa4(-0x248,-0x242)+_0x4b8fa4(-0x21e,-0x1f1)+'n'],'line':_0x2a6980[_0x4b8fa4(-0x23f,-0x21a)],'column':_0x2a6980[_0x4b8fa4(-0x256,-0x263)+'n'],'endLine':_0x2a6980[_0x4b8fa4(-0x235,-0x260)+_0x4b8fa4(-0x257,-0x23b)],'snippet':_0x2a6980['snipp'+'et'],'fix':_0x2a6980[_0xe484c8(0x54e,0x51f)],'fixedCode':_0x2a6980[_0x4b8fa4(-0x249,-0x267)+'_code'],'engine':_0xe484c8(0x55a,0x540)+_0x4b8fa4(-0x259,-0x247)})),_0x55d7fa={};_0x55d7fa[_0xe484c8(_0x321520._0x5560a2,0x550)+'s']=_0x2e979e[_0x4b8fa4(-0x241,-_0x321520._0x9bf49a)+'s'],_0x55d7fa['langu'+_0xe484c8(_0x321520._0x41b448,0x554)]=_0x2e979e[_0xe484c8(0x54c,0x567)+_0xe484c8(0x53d,0x554)],_0x55d7fa[_0x4b8fa4(-0x264,-_0x321520._0x294b18)+_0xe484c8(_0x321520._0x5a16c8,0x56f)+'es']=_0x2e979e[_0xe484c8(_0x321520._0x45b980,_0x321520._0x19439f)+'ed_li'+_0x4b8fa4(-_0x321520._0x26bf3a,-_0x321520._0x1ee62c)],_0x55d7fa[_0xe484c8(0x506,0x527)+_0xe484c8(_0x321520._0x2c642d,_0x321520._0x34bc9a)]=_0x219afc,_0x55d7fa[_0xe484c8(0x528,0x522)+'ry']=_0x2e979e[_0xe484c8(_0x321520._0x22a630,_0x321520._0x2f3051)+'ry'],_0x55d7fa[_0x4b8fa4(-0x277,-0x287)+'es']=[];const _0x88c54b={};return _0x88c54b[_0x4b8fa4(-_0x321520._0x4e80df,-_0x321520._0x5049f0)+_0x4b8fa4(-0x25d,-_0x321520._0x45c297)]=!![],_0x88c54b[_0x4b8fa4(-0x21c,-_0x321520._0xadad8f)+'t']=_0x55d7fa,_0x88c54b;}catch{return null;}}
1
+ (function(_0x378470,_0x22c8a6){const _0x58d091={_0x5ae7fa:0x1f6,_0x3c5eef:0x41e,_0x10a386:0x40b,_0x389c61:0x20a,_0xa23936:0x201,_0x1e0b25:0x3d4,_0x1d9137:0x228,_0x2e4c2e:0x230,_0x547e58:0x242,_0x2d5682:0x20f,_0x4d6416:0x222,_0x2f2518:0x236,_0x578182:0x21d,_0x1041a4:0x226,_0x2578ec:0x23b},_0x70d203={_0x1a5234:0xb0},_0x2b818b={_0x5c6e8f:0x29d};function _0x37ede0(_0x39828c,_0x520889){return _0x5695(_0x39828c-_0x2b818b._0x5c6e8f,_0x520889);}function _0x48d8ef(_0x31e751,_0x3d36b0){return _0x5695(_0x31e751-_0x70d203._0x1a5234,_0x3d36b0);}const _0x349174=_0x378470();while(!![]){try{const _0x4c6166=parseInt(_0x48d8ef(0x1eb,_0x58d091._0x5ae7fa))/(0x1*-0x24d7+-0x232f+0x4807)*(-parseInt(_0x37ede0(_0x58d091._0x3c5eef,_0x58d091._0x10a386))/(-0x1ab7+0x619*-0x4+-0x5*-0xa39))+-parseInt(_0x48d8ef(0x1ec,0x1f4))/(0x732+-0x1426+0xcf7)*(-parseInt(_0x48d8ef(_0x58d091._0x389c61,_0x58d091._0xa23936))/(0x3*0x551+0x24d9*-0x1+0x14ea))+parseInt(_0x37ede0(0x3db,_0x58d091._0x1e0b25))/(0x755*0x5+-0x10a*0x1a+-0x20*0x4d)+-parseInt(_0x48d8ef(_0x58d091._0x1d9137,_0x58d091._0x2e4c2e))/(0x149c+0x2*-0x2bf+-0x1*0xf18)+parseInt(_0x48d8ef(0x232,_0x58d091._0x547e58))/(-0x1*0xfbf+0x114a+0x184*-0x1)*(parseInt(_0x37ede0(0x409,0x406))/(0x2472+-0xa7*0x1f+-0x33d*0x5))+parseInt(_0x48d8ef(0x20f,_0x58d091._0x2d5682))/(0x2611+0x13c5+-0x39cd)*(parseInt(_0x48d8ef(_0x58d091._0x4d6416,0x243))/(0x509*-0x3+0x6c5*-0x4+0x4b1*0x9))+parseInt(_0x48d8ef(_0x58d091._0x2f2518,_0x58d091._0x578182))/(-0x6*0x3c1+-0x124+0x17b5)*(-parseInt(_0x48d8ef(_0x58d091._0x1041a4,_0x58d091._0x2578ec))/(-0x48*0x23+-0xc04+-0x57a*-0x4));if(_0x4c6166===_0x22c8a6)break;else _0x349174['push'](_0x349174['shift']());}catch(_0x540ab4){_0x349174['push'](_0x349174['shift']());}}}(_0x5919,-0x19773+0x5*0x2c32c+-0x8c7c));import{runCommand,isToolAvailable}from'./runner.js';function _0x5695(_0x477b71,_0x473d3b){_0x477b71=_0x477b71-(0x1ba*-0xd+0x1fa5+-0x7fb*0x1);const _0x5739d7=_0x5919();let _0x9abeb=_0x5739d7[_0x477b71];if(_0x5695['TAEkAj']===undefined){var _0x178e1b=function(_0x2c064b){const _0x2db860='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2b7f29='',_0x15ac95='';for(let _0x3770b4=0x287+0x1*-0x5d6+0x34f,_0x53b0a4,_0x4ecf32,_0x1793d8=0xef8+-0x1*0x56f+-0x989*0x1;_0x4ecf32=_0x2c064b['charAt'](_0x1793d8++);~_0x4ecf32&&(_0x53b0a4=_0x3770b4%(-0x5a2+-0xb3f+0x10e5)?_0x53b0a4*(-0xc84+-0x1f*0x3d+0x1d5*0xb)+_0x4ecf32:_0x4ecf32,_0x3770b4++%(-0x4*0x45c+-0x1*-0x416+0xd5e))?_0x2b7f29+=String['fromCharCode'](-0x2*-0x201+0x3d1*0x6+0x25b*-0xb&_0x53b0a4>>(-(0x15*0xaf+0x1*0xe7b+-0x5*0x5c4)*_0x3770b4&-0x14de+-0x2285+0x3769*0x1)):-0x193*0xb+0x3*0x617+-0xf4){_0x4ecf32=_0x2db860['indexOf'](_0x4ecf32);}for(let _0x29d8c2=-0x893+-0x10e7+0x6*0x43f,_0x237c66=_0x2b7f29['length'];_0x29d8c2<_0x237c66;_0x29d8c2++){_0x15ac95+='%'+('00'+_0x2b7f29['charCodeAt'](_0x29d8c2)['toString'](0x1e97*0x1+-0x1e02+-0x85))['slice'](-(0x4e5*0x5+-0x7*-0x422+0x1*-0x3565));}return decodeURIComponent(_0x15ac95);};_0x5695['qVPOyw']=_0x178e1b,_0x5695['kDawel']={},_0x5695['TAEkAj']=!![];}const _0xe2fbfe=_0x5739d7[-0x15b5+0x1*-0xb2d+-0x20e2*-0x1],_0x1db8e0=_0x477b71+_0xe2fbfe,_0xc83f44=_0x5695['kDawel'][_0x1db8e0];return!_0xc83f44?(_0x9abeb=_0x5695['qVPOyw'](_0x9abeb),_0x5695['kDawel'][_0x1db8e0]=_0x9abeb):_0x9abeb=_0xc83f44,_0x9abeb;}import{createRequire}from'node:module';import{accessSync,constants}from'node:fs';const _0x34638f={};_0x34638f['darwi'+_0x530afb(-0x29a,-0x289)+'64']=_0x3b6027(-0xd4,-0xd4)+_0x3b6027(-0xf7,-0xe0)+_0x3b6027(-0xfa,-0x109)+_0x3b6027(-0x10f,-0xeb)+_0x530afb(-0x282,-0x293)+'win-a'+'rm64',_0x34638f[_0x530afb(-0x271,-0x27f)+'n-x64']=_0x530afb(-0x266,-0x269)+_0x3b6027(-0xf7,-0xf8)+_0x530afb(-0x28c,-0x284)+_0x3b6027(-0x10f,-0x139)+'e-dar'+_0x530afb(-0x2a9,-0x2a9)+'64';function _0x3b6027(_0x56091f,_0x321d13){const _0x441ec8={_0x255f13:0x250};return _0x5695(_0x56091f- -_0x441ec8._0x255f13,_0x321d13);}_0x34638f[_0x3b6027(-0xf2,-0xf9)+'-x64']=_0x530afb(-0x266,-0x27e)+_0x3b6027(-0xf7,-0x10a)+'c/kir'+_0x3b6027(-0x10f,-0xef)+_0x530afb(-0x259,-0x271)+_0x530afb(-0x279,-0x290)+'4',_0x34638f[_0x530afb(-0x284,-0x27c)+_0x530afb(-0x291,-0x2a5)+'4']=_0x530afb(-0x266,-0x24f)+_0x530afb(-0x289,-0x2b2)+_0x3b6027(-0xfa,-0xf2)+_0x3b6027(-0x10f,-0x124)+_0x530afb(-0x259,-0x23b)+'ux-ar'+_0x530afb(-0x294,-0x295);function _0x530afb(_0x21668d,_0x4385c0){return _0x5695(_0x21668d- -0x3e2,_0x4385c0);}_0x34638f['win32'+'-x64']=_0x530afb(-0x266,-0x25b)+'ridse'+_0x530afb(-0x28c,-0x26b)+_0x530afb(-0x2a1,-0x2c8)+_0x3b6027(-0x103,-0x126)+_0x530afb(-0x286,-0x2ae)+'4';const PLATFORM_PACKAGES=_0x34638f;function _0x5919(){const _0x8f9c23=['yxjJAa','sgXZDKG','mZu5mK5hze11Da','ANnVBG','C3rYAw4','sgXVB3C','qxbItxa','zgfYD2K','mtbjDg5LvNe','Bwf0','u2HkvgW','vffHD3q','ndq0DwPhsfvY','BwfW','ndi1ndCYELjlDe11','zw5NAw4','rvvVtva','BgfUz3u','qg9MzMC','y3DL','C25PCha','C2nHBM4','C2v2zxi','mta1mtH4wK1ivMe','mtKWnhf4z3Dlra','yxzHAwW','zwrmAw4','zwrFBgK','mZa5mZqYvw9mD0jZ','BMvZ','y2HIuK4','zs1SAw4','yK1nvMe','z2LMEq','D2LUlxG','Aw5L','mtaZyMrtzfHm','ntK1nJe0DhziAxrc','werezLi','ndqXnZq3mfvUA2Hbua','BMDZ','Axr5','ys1JB3i','vNntwLK','ywDL','CgXHDgy','BgLUzq','C3rHDhu','y29Yzq','BI1HCM0','BMHYtw4','wf9psW','zujetNi','AvnNzg8','zs13Aw4','Bty0','y29SDw0','EK10Cwe','lwfYBty','x2nVzgu','DgL0Bgu','ls1MB3i','zML4','yY9RAxi','zvPnB3u','zgvZy3i','CMLKC2u','og1KA1fjqG','ywjSzq','mZiTEdy','rL9psW','BgLUDxG','oteZnZGYnLLWwg1TrW','zs1Kyxi','CMvZDwW','AhLzy2O','zw5Kx2W','B3jT','A2LYys0','zML4zwq','C3vTBwe','tM1breO','DxGTEdy'];_0x5919=function(){return _0x8f9c23;};return _0x5919();}let resolvedBinaryPath;export function resolveKiraCoreBinary(){const _0x53c84e={_0x4d6be1:0x529,_0x1f3da0:0xe3,_0x2c8b27:0xf8,_0x56a439:0xf4,_0x1f212c:0x55a,_0x1fef57:0x52f,_0x2b409f:0x519},_0x567fab={_0x364856:0x635};function _0x2161f2(_0x4bbf2d,_0x5b6fc1){return _0x3b6027(_0x4bbf2d-_0x567fab._0x364856,_0x5b6fc1);}const _0x3006f7={'HlsvH':function(_0x75c495,_0x5339db){return _0x75c495(_0x5339db);},'bMMVa':function(_0x4fb20a,_0x39949d){return _0x4fb20a===_0x39949d;},'qgyyx':'win32','TQawt':function(_0x2fd0e8,_0x43aad1){return _0x2fd0e8|_0x43aad1;},'ShJTl':function(_0x5ea1b6,_0x72b2ec,_0x59ab33){return _0x5ea1b6(_0x72b2ec,_0x59ab33);}};function _0x1eb246(_0x4d0216,_0x460530){return _0x530afb(_0x460530-0x36f,_0x4d0216);}if(resolvedBinaryPath!==undefined)return resolvedBinaryPath;const _0x2efbfb=process[_0x2161f2(_0x53c84e._0x4d6be1,0x511)+'orm']+'-'+process[_0x1eb246(0x11a,0xf7)],_0x1a1224=PLATFORM_PACKAGES[_0x2efbfb];if(!_0x1a1224)return resolvedBinaryPath=null,null;try{const _0x209240=createRequire(import.meta.url),_0x1441bc=_0x3006f7[_0x1eb246(_0x53c84e._0x1f3da0,_0x53c84e._0x2c8b27)](_0x209240,_0x1a1224),_0x7884d=_0x3006f7[_0x2161f2(0x56f,0x58b)](process['platf'+_0x1eb246(0x107,0xf1)],_0x3006f7['qgyyx'])?constants[_0x1eb246(_0x53c84e._0x56a439,0xea)]:_0x3006f7[_0x2161f2(_0x53c84e._0x1f212c,0x57b)](constants['F_OK'],constants[_0x2161f2(_0x53c84e._0x1fef57,_0x53c84e._0x2b409f)]);return _0x3006f7[_0x2161f2(0x559,0x541)](accessSync,_0x1441bc,_0x7884d),resolvedBinaryPath=_0x1441bc,_0x1441bc;}catch{return resolvedBinaryPath=null,null;}}export async function checkKiraCoreAvailable(){const _0x137054={_0x5e1e2a:0x3be,_0x14a3b0:0x444,_0x4cae1e:0x3ba},_0x3b1220={_0x11011e:0x6c6},_0x4a2291={_0x5db5c7:0x630};function _0x5e5f9c(_0x568386,_0x419039){return _0x530afb(_0x568386-_0x4a2291._0x5db5c7,_0x419039);}const _0x1eb283={'ApbMp':function(_0x288307,_0x13847b){return _0x288307!==_0x13847b;},'jRqSS':function(_0x219cbe){return _0x219cbe();},'zUjTd':function(_0x6aa449,_0x53e6b4){return _0x6aa449(_0x53e6b4);}};if(_0x1eb283[_0x5e5f9c(_0x137054._0x5e1e2a,0x3c7)](_0x1eb283['jRqSS'](resolveKiraCoreBinary),null))return!![];function _0x530d2f(_0x35abd0,_0x531b93){return _0x530afb(_0x35abd0-_0x3b1220._0x11011e,_0x531b93);}return _0x1eb283['zUjTd'](isToolAvailable,_0x530d2f(0x449,_0x137054._0x14a3b0)+_0x5e5f9c(0x395,_0x137054._0x4cae1e));}export async function runKiraCore(_0xb7da4b,_0x276ee6,_0x170797){const _0x35cb1b={_0x3d32e5:0x3c4,_0x29d3ff:0x8d,_0x3cae1d:0xb2,_0x4d9835:0x3ce,_0x4e5224:0x3ea,_0x3b8335:0x3c8,_0x54302f:0xb8,_0x1d154b:0x91,_0x18a76a:0x96,_0x46c74b:0xa0,_0x4487d2:0x3e1,_0x2f8293:0x39e,_0x541e71:0x3ba,_0x5078d8:0x405,_0x17bde7:0x3c9,_0x22d4e2:0xb5,_0x58a32d:0x9d,_0x3e4281:0x3fa,_0x2468c8:0x3f4,_0x18d2dd:0xa4,_0x26e90f:0xfa,_0x2466cb:0xd9,_0x1f590e:0x3e9,_0x4f28f1:0x3f8,_0x2fb2c0:0xde,_0x1e5f0e:0x41d,_0x3ab209:0x402,_0x514617:0xe5,_0x575bbc:0xc5,_0x46e8e8:0xe1,_0x42b9fb:0x3fb,_0x5a665e:0x98,_0x3f48e4:0xae,_0x294f39:0xbd,_0x27ee0c:0x90},_0x30efd3={_0x2e0293:0x340};function _0x153c59(_0x5bdadf,_0x69f735){return _0x530afb(_0x69f735-0x65f,_0x5bdadf);}const _0x55fe25={'NmADJ':function(_0x31145b){return _0x31145b();},'eBDNr':function(_0x2cdd9f){return _0x2cdd9f();},'Hloow':_0x153c59(0x3e7,0x3e2)+_0x153c59(0x3cc,_0x35cb1b._0x3d32e5),'hyYcj':function(_0x22c43c,_0xf2eee8){return _0x22c43c||_0xf2eee8;},'nhrMn':function(_0x3cec3b,_0x54d89d){return _0x3cec3b||_0x54d89d;},'XDDfR':function(_0x14cd7a,_0x1da3ad,_0x4db49d,_0xb7ad41){return _0x14cd7a(_0x1da3ad,_0x4db49d,_0xb7ad41);},'chbRN':_0x51f276(_0x35cb1b._0x29d3ff,_0x35cb1b._0x3cae1d)+_0x153c59(_0x35cb1b._0x4d9835,0x3f0),'iSgdo':_0x153c59(0x3dd,_0x35cb1b._0x4e5224),'zMtqa':function(_0x3bdbf1,_0x50cd4a){return _0x3bdbf1!==_0x50cd4a;},'VsSZY':_0x153c59(0x3be,0x3d4)},_0x1d667d=await _0x55fe25[_0x153c59(0x3ef,0x3e5)](checkKiraCoreAvailable);if(!_0x1d667d)return null;const _0x2ccbc9=_0x55fe25[_0x153c59(0x3bf,_0x35cb1b._0x3b8335)](resolveKiraCoreBinary)??_0x55fe25[_0x153c59(_0x35cb1b._0x3b8335,0x3ec)],_0x2a062d=JSON[_0x51f276(_0x35cb1b._0x54302f,0xcc)+_0x51f276(_0x35cb1b._0x1d154b,_0x35cb1b._0x18a76a)]({'code':_0xb7da4b,'language':_0x55fe25[_0x51f276(_0x35cb1b._0x46c74b,0xc0)](_0x276ee6,''),'filename':_0x55fe25[_0x153c59(_0x35cb1b._0x4487d2,0x3c6)](_0x170797,'')}),_0x5556c4={};_0x5556c4['stdin']=_0x2a062d,_0x5556c4['timeo'+'ut']=0xea60;const _0x2b1fb9=await _0x55fe25[_0x153c59(_0x35cb1b._0x2f8293,_0x35cb1b._0x541e71)](runCommand,_0x2ccbc9,[_0x55fe25[_0x153c59(0x41c,_0x35cb1b._0x5078d8)],_0x55fe25[_0x153c59(_0x35cb1b._0x4487d2,_0x35cb1b._0x17bde7)]],_0x5556c4);function _0x51f276(_0x1f0a63,_0x32c554){return _0x530afb(_0x32c554-_0x30efd3._0x2e0293,_0x1f0a63);}try{const _0x422b88=JSON['parse'](_0x2b1fb9['stdou'+'t']),_0x5a1f7f=_0x422b88['findi'+_0x51f276(_0x35cb1b._0x22d4e2,_0x35cb1b._0x58a32d)][_0x153c59(_0x35cb1b._0x3e4281,_0x35cb1b._0x2468c8)](_0xfce2ef=>({'id':_0xfce2ef['id'],'severity':_0xfce2ef[_0x153c59(0x3eb,0x3fd)+_0x51f276(0xb4,0x9e)],'cwe':_0xfce2ef[_0x51f276(0xcf,0xdb)],'title':_0xfce2ef[_0x153c59(0x3f7,0x3d0)],'description':_0xfce2ef[_0x153c59(0x3d5,0x3d5)+'iptio'+'n'],'line':_0xfce2ef[_0x51f276(0xb1,0xa3)],'column':_0xfce2ef[_0x51f276(0xcb,0xad)+'n'],'endLine':_0xfce2ef[_0x153c59(0x3e1,0x3e0)+_0x51f276(0xa8,0x98)],'snippet':_0xfce2ef[_0x51f276(0xf0,0xdc)+'et'],'fix':_0xfce2ef[_0x153c59(0x3cd,0x3d2)],'fixedCode':_0xfce2ef[_0x153c59(0x3c6,0x3e3)+_0x51f276(0x92,0xb0)],'engine':_0x153c59(0x3c3,0x3e2)+_0x51f276(0x9d,0xa5)})),_0xa859b9={};_0xa859b9[_0x51f276(_0x35cb1b._0x54302f,_0x35cb1b._0x18d2dd)+'s']=_0x422b88[_0x51f276(0xa8,_0x35cb1b._0x18d2dd)+'s'],_0xa859b9[_0x51f276(_0x35cb1b._0x26e90f,_0x35cb1b._0x2466cb)+_0x153c59(0x3c1,0x3c0)]=_0x422b88[_0x153c59(_0x35cb1b._0x1f590e,_0x35cb1b._0x4f28f1)+'age'],_0xa859b9[_0x51f276(_0x35cb1b._0x2fb2c0,0xdd)+_0x153c59(0x40e,0x401)+'es']=_0x422b88[_0x153c59(0x414,0x3fc)+_0x153c59(_0x35cb1b._0x1e5f0e,_0x35cb1b._0x3ab209)+_0x51f276(_0x35cb1b._0x26e90f,_0x35cb1b._0x514617)],_0xa859b9['findi'+'ngs']=_0x5a1f7f,_0xa859b9['summa'+'ry']=_0x422b88[_0x51f276(0xed,_0x35cb1b._0x575bbc)+'ry'],_0xa859b9[_0x153c59(0x404,0x3f6)+'es']=[];const _0x829e01={};return _0x829e01[_0x51f276(0xe0,_0x35cb1b._0x46e8e8)+_0x153c59(_0x35cb1b._0x42b9fb,0x3d8)]=!![],_0x829e01[_0x51f276(0xa7,0xbf)+'t']=_0xa859b9,_0x829e01;}catch{return _0x55fe25[_0x51f276(_0x35cb1b._0x5a665e,_0x35cb1b._0x3f48e4)](_0x51f276(_0x35cb1b._0x294f39,0xd8),_0x55fe25[_0x51f276(_0x35cb1b._0x27ee0c,_0x35cb1b._0x46c74b)])?null:_0x2fbf6a;}}