gpusmarket 2.4.6 → 2.4.8
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/LICENSE +1 -1
- package/README.md +39 -9
- package/dist/api.js +1 -1
- package/dist/commands/admin.js +1 -1
- package/dist/commands/auth.js +1 -1
- package/dist/commands/benchmark.js +1 -0
- package/dist/commands/chat.js +1 -1
- package/dist/commands/host.js +1 -1
- package/dist/commands/init.js +1 -1
- package/dist/commands/pool.js +1 -1
- package/dist/commands/rent.js +1 -1
- package/dist/commands/search.js +1 -1
- package/dist/config.js +1 -1
- package/dist/format.js +1 -1
- package/dist/main.js +1 -1
- package/dist/mcp-tools.js +1 -1
- package/dist/mcp.js +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -4,15 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/gpusmarket)
|
|
6
6
|
[](#mcp-server)
|
|
7
|
+
[](#built-for-agents)
|
|
7
8
|
[](https://smithery.ai/servers/jyswee/gpusmarket)
|
|
8
9
|
|
|
9
10
|
One command to sign up, one to rent, one to run inference. Per-second billing, no subscriptions, $0.50 minimum per rental. The CLI your coding agent can drive end-to-end: [GPUsMarket](https://gpusmarket.com).
|
|
10
11
|
|
|
12
|
+
> **`npm install` for GPUs. One command in, one command out.**
|
|
13
|
+
|
|
14
|
+
Renting a GPU usually means a signup form, a quota request, a support ticket, and a $50 minimum — before you've run a single token. GPUsMarket collapses that to three commands: everything from consumer RTX 4090s to datacenter H100s and MI300Xs, rentable by the second. And it's built so your **agent can sign up and rent by itself** — no human, no browser, no dashboard.
|
|
15
|
+
|
|
11
16
|
**Works with:** Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any MCP client
|
|
12
17
|
|
|
13
18
|
<!-- HERO: money loop — install → signup → search → rent → chat (real inference) → stop → per-second bill -->
|
|
14
19
|
[](https://prodmedia.tyga.host/public/tyga.cloud/landing/gpusmarket.com/cli/hero-stitched.mp4)
|
|
15
20
|
|
|
21
|
+
*Install to real inference in under a minute — [watch the full-res demo](https://prodmedia.tyga.host/public/tyga.cloud/landing/gpusmarket.com/cli/hero-stitched.mp4).*
|
|
22
|
+
|
|
16
23
|
```bash
|
|
17
24
|
npm install -g gpusmarket
|
|
18
25
|
gpusmarket init
|
|
@@ -39,13 +46,19 @@ gpusmarket stop RENTAL-ID
|
|
|
39
46
|
|
|
40
47
|
## Built for agents
|
|
41
48
|
|
|
42
|
-
This CLI is designed to be driven by AI coding agents (Claude Code, Cursor, Cline, Windsurf, Codex, Copilot), not just humans.
|
|
49
|
+
**Built so an agent can go from zero to running inference with no human in the loop** — sign up, rent, infer, and stop, all from the terminal or over MCP. This CLI is designed to be driven by AI coding agents (Claude Code, Cursor, Cline, Windsurf, Codex, Copilot), not just humans.
|
|
43
50
|
|
|
44
51
|
- **`gpusmarket init`** — in-terminal quickstart: detects your agent's config file, prints a ready-to-paste skill block, MCP setup, and next steps.
|
|
45
52
|
- **`gpusmarket init --agent-schema`** — the full command contract as JSON: every command, every flag, plus the rules agents must follow. Load it into context and your agent never hallucinates a flag.
|
|
46
53
|
- **`--json` everywhere** — every command has machine-readable output.
|
|
47
54
|
- **Zero dependencies** — a single self-contained Node.js CLI. Nothing to audit but us.
|
|
48
55
|
|
|
56
|
+
**Watch an agent drive it end-to-end** (click for the full-res video):
|
|
57
|
+
|
|
58
|
+
[](https://prodmedia.tyga.host/public/tyga.cloud/landing/gpusmarket.com/cli/claude-code-stitched.mp4)
|
|
59
|
+
|
|
60
|
+
*Claude Code searches, rents, runs inference, and stops the GPU — no human in the loop.*
|
|
61
|
+
|
|
49
62
|
## MCP server
|
|
50
63
|
|
|
51
64
|
`gpusmarket mcp-serve` exposes **32 tools** over stdio — search, rent, status, stop, chat, host, pools, the whole surface. Add it to Claude Code:
|
|
@@ -54,7 +67,7 @@ This CLI is designed to be driven by AI coding agents (Claude Code, Cursor, Clin
|
|
|
54
67
|
claude mcp add gpusmarket -- gpusmarket mcp-serve
|
|
55
68
|
```
|
|
56
69
|
|
|
57
|
-
…or drop it into any MCP client's `.mcp.json
|
|
70
|
+
…or drop it into any MCP client's `.mcp.json`. The MCP server runs outside your project directory, so pass your API key via the `GPUSMARKET_API_KEY` environment variable:
|
|
58
71
|
|
|
59
72
|
```json
|
|
60
73
|
{
|
|
@@ -62,12 +75,15 @@ claude mcp add gpusmarket -- gpusmarket mcp-serve
|
|
|
62
75
|
"gpusmarket": {
|
|
63
76
|
"type": "stdio",
|
|
64
77
|
"command": "gpusmarket",
|
|
65
|
-
"args": ["mcp-serve"]
|
|
78
|
+
"args": ["mcp-serve"],
|
|
79
|
+
"env": { "GPUSMARKET_API_KEY": "gpu_your_key_here" }
|
|
66
80
|
}
|
|
67
81
|
}
|
|
68
82
|
}
|
|
69
83
|
```
|
|
70
84
|
|
|
85
|
+
No key yet? Run `gpusmarket signup` to provision one, or grab it from your [dashboard](https://gpusmarket.com).
|
|
86
|
+
|
|
71
87
|
## Core capabilities
|
|
72
88
|
|
|
73
89
|
Each demo links to the full-resolution MP4.
|
|
@@ -103,18 +119,20 @@ gpusmarket pool list
|
|
|
103
119
|
|
|
104
120
|
## Earn with your GPU
|
|
105
121
|
|
|
106
|
-
|
|
107
|
-
|
|
122
|
+
Your GPU earns nothing while it sits idle. List it in one command — the CLI auto-detects your hardware, prints your host key, and the listing goes live in minutes. You keep **90%** of every rental, paid out to your Stripe account automatically. No port forwarding, no static IP, no open inbound ports.
|
|
123
|
+
|
|
124
|
+
**Three ways to host** (click any demo for the full-res video):
|
|
108
125
|
|
|
109
|
-
|
|
126
|
+
| Mac (Apple Silicon) | NVIDIA GPU | Docker sidecar |
|
|
127
|
+
|---|---|---|
|
|
128
|
+
| [](https://prodmedia.tyga.host/public/tyga.cloud/landing/gpusmarket.com/cli/host-mac-stitched.mp4) | [](https://prodmedia.tyga.host/public/tyga.cloud/landing/gpusmarket.com/cli/host-gpu-stitched.mp4) | [](https://prodmedia.tyga.host/public/tyga.cloud/landing/gpusmarket.com/cli/host-docker-stitched.mp4) |
|
|
129
|
+
| `gpusmarket host setup` | auto-detects CUDA + VRAM | `docker compose up -d` |
|
|
110
130
|
|
|
111
131
|
```bash
|
|
112
132
|
gpusmarket host setup # auto-detects your GPU, creates the listing
|
|
113
133
|
npx gpusmarket-host --key KEY # connect your machine — no port forwarding needed
|
|
114
134
|
```
|
|
115
135
|
|
|
116
|
-
You keep 90% of every rental, paid out to your Stripe account automatically.
|
|
117
|
-
|
|
118
136
|
## Commands
|
|
119
137
|
|
|
120
138
|
| Command | Description |
|
|
@@ -126,13 +144,25 @@ You keep 90% of every rental, paid out to your Stripe account automatically.
|
|
|
126
144
|
| `chat` | Inference through your rental (streams, or pipe from stdin) |
|
|
127
145
|
| `pool create/list/add/remove` | Load-balance several rentals behind one key |
|
|
128
146
|
| `host setup` | List **your own** GPU for rent (auto-detects hardware) |
|
|
147
|
+
| `benchmark submit` | Run the gmbench/1 suite on your local Ollama + publish measured speed to your listing |
|
|
129
148
|
| `mcp-serve` | Start the MCP server (stdio) |
|
|
130
149
|
|
|
131
150
|
Run `gpusmarket --help` for the full reference, flags included.
|
|
132
151
|
|
|
152
|
+
## Features
|
|
153
|
+
|
|
154
|
+
- **Search** — filter the marketplace by GPU, price, or the exact model you need to run.
|
|
155
|
+
- **Rent** — one command returns an OpenAI/Ollama-compatible endpoint + key, ready for inference.
|
|
156
|
+
- **Chat** — stream inference straight through your rental, or pipe from stdin.
|
|
157
|
+
- **Pools** — put several rentals behind one endpoint and load-balance across them.
|
|
158
|
+
- **Host** — list your own GPU (Mac, NVIDIA, or Docker) and keep 90% of every rental.
|
|
159
|
+
- **Per-second billing** — receipts for everything, $0.50 minimum per rental, no subscriptions.
|
|
160
|
+
- **MCP server** — 32 tools over stdio for Claude Code, Cursor, Cline, Windsurf, any MCP client.
|
|
161
|
+
- **Agent-native** — `--json` everywhere plus `init --agent-schema` so agents never guess a flag.
|
|
162
|
+
|
|
133
163
|
## Why this exists
|
|
134
164
|
|
|
135
|
-
Renting a GPU should be as fast as `npm install`. Not a signup form, a quota request, a support ticket, and a $50 minimum. GPUsMarket is a marketplace where anyone can list an idle GPU and anyone — or any agent — can rent it by the second. This CLI is the agent-native front door to that marketplace.
|
|
165
|
+
Renting a GPU should be as fast as `npm install`. Not a signup form, a quota request, a support ticket, and a $50 minimum. GPUsMarket is a marketplace where anyone can list an idle GPU and anyone — or any agent — can rent it by the second. This CLI is the agent-native front door to that marketplace. It's early and moving fast: if something's rough or missing, [open an issue](https://github.com/jyswee/gpusmarket/issues) — we read every one.
|
|
136
166
|
|
|
137
167
|
## Documentation
|
|
138
168
|
|
package/dist/api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a0_0x48e3(){const _0x36d708=['BMTkDfa','Dg9tDhjPBMC','l2fWAs92ms9NChuVCg9VBhm','l3n1CgvYywrTAw4VyxbPl3bHEw1LBNrZ','l2fWAs92ms9TyxjRzxrWBgfJzs9Tzq','mJi4nZbyBhfZvwu','uMvXDwvZDcb0Aw1LB3v0','l3zLCMLMEq','serjAg4','nJKWota1neHYB3HwAG','uhP1B0C','l3n1CgvYywrTAw4VyxbPl2nSB3n1CMvZp2rHExm9','D3jPDgu','Cg9YDa','l2fJDgL2yxrL','l2fWAs92ms9NChuVy2HLyxbLC3q','l2fWAs9ZAwDUDxa','l2fNzw50','l3n1CgvYywrTAw4VyxbPl3vZzxjZl3jLC2v0lxbHC3n3B3jK','AK53y1y','A2XOEu4','swvxveG','rgzMC0O','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2jPBgXPBMC','seLjzMe','Cgf0Ag5HBwu','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2DWDxm','zgvZDhjVEq','wuLiALC','EfLhB3m','wu5LrLK','mZGYnxfUwvnitW','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhmV','CMvXDwvZDa','l3vZywDL','l2fWAs92ms9NChuVCg9VBhmV','BNHYAK8','mtG0mduXnuvWB0nQsa','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNmV','r0vu','l3n1CgvYywrTAw4VyxbPl2HLywX0Aa','CMvWBgfJzq','l3n1CgvYywrTAw4VyxbPl25VDgLMAwnHDgLVBNm','l2fWAs92ms9TyxjRzxrWBgfJzs9ZzwfYy2G','l3jLBw92zq','l2vHCM5PBMDZ','l3n1CgvYywrTAw4VyxbPl2HVC3rZlW','qxv0Ag9YAxPHDgLVBG','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNm','zuD5tfe','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZ','u0HnvKW','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZ','uw9Hsuq','Ahr0Chm6','DMvYC2LVBG','Ag9ZDg5HBwu','l2rLC3rYB3K','l3n1CgvYywrTAw4VyxbPl3nPz251Chm/zgf5CZ0','AevLqKy','l3n1CgvYywrTAw4VyxbPl3bVB2XZ','ndq0mZLYAvLtuLO','l3yXl2nOyxqVy29TCgXLDgLVBNm','zgf0yq','l3jLC3vTzq','l2fWAs92ms9TyxjRzxrWBgfJzs9NChuTBw9KzwXZ','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzhm','ChjVDg9JB2W','sfruuca','l3DHBgXLDa','l2fKza','l3rPBwvSAw5L','C3rYAw5NAwz5','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzhmV','EMTvBuO','ue9tva','l3n1CgvYywrTAw4VyxbPl3vZzxjZ','p3n0yxr1CZ0','qNjwvvG','Ahr0Chm','zw5K','DMXXAeK','v3LlzNy','uefuq0G','l3n1CgvYywrTAw4VyxbPl3bHEw1LBNrZlW','l3n0B3a','mZG3mdqWnwfWz2fIsq','zxjYB3i','l3n1C3bLBMq','mJiZodGWBM9lyKLZ','revmrvrf','zxHWB3j0CW','s1bMuNK','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZlW','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhm','rfrWCwK','l3n1CgvYywrTAw4VyxbPl2z1BM5LBa','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2nOzwfWzxn0p3zYyw09','n3jYALvuzW','CgfYC2u','CfPAAwi','l3n1CgvYywrTAw4VyxbPl3vZzxjZlW','mti4wfvQCfrA','yxbWBgLJyxrPB24VANnVBG','oda0nJuYrgriCNvs','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2fJy291BNq','C3rHDhvZq29Kzq','l3n1CgvYywrTAw4VyxbPl2nSB3vKl21HCMDPBG','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZlW','C2v0vgLTzw91Da','z3b1C21HCMTLDc1JBgKV','C29ABei','C3vIC3rYAw5N','qMn5uuK','qMvHCMvYia','Ahr0Ca','BwvZC2fNzq','BgLZDgLUz0LK','C2vHCMnO','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50lW','A1jgsKS','sgnWrfK','u3Phr0e','l3jLzNvUza','EgnYzfq'];a0_0x48e3=function(){return _0x36d708;};return a0_0x48e3();}const a0_0x29c1e1=a0_0x597a;(function(_0x3207d7,_0x563b38){const _0x22d6b6=a0_0x597a,_0x586df6=_0x3207d7();while(!![]){try{const _0x9e5c52=parseInt(_0x22d6b6(0x1c4))/0x1+-parseInt(_0x22d6b6(0x18a))/0x2+-parseInt(_0x22d6b6(0x1dc))/0x3*(-parseInt(_0x22d6b6(0x188))/0x4)+-parseInt(_0x22d6b6(0x178))/0x5+-parseInt(_0x22d6b6(0x1a8))/0x6+parseInt(_0x22d6b6(0x184))/0x7*(-parseInt(_0x22d6b6(0x17b))/0x8)+parseInt(_0x22d6b6(0x1be))/0x9*(parseInt(_0x22d6b6(0x1a4))/0xa);if(_0x9e5c52===_0x563b38)break;else _0x586df6['push'](_0x586df6['shift']());}catch(_0x30d21d){_0x586df6['push'](_0x586df6['shift']());}}}(a0_0x48e3,0xe332d));const PKG_VERSION=require('../package.json')[a0_0x29c1e1(0x1d6)];function request(_0x7694dc,_0xa78f80,_0x2b9021,_0x904a41,_0x529a0f){const _0x143f43=a0_0x29c1e1,_0xd3fcdc={'KPfRy':function(_0x193b1e,_0x14279d){return _0x193b1e(_0x14279d);},'nxrjO':_0x143f43(0x1a5),'SzGGA':function(_0x499901,_0x42ab39){return _0x499901>=_0x42ab39;},'pZZib':_0x143f43(0x1d5),'xYGos':_0x143f43(0x195),'DffsJ':_0x143f43(0x179)};return new Promise((_0x20a306,_0x42f13e)=>{const _0x4cacb4=_0x143f43,_0x329d03={'zsQiM':function(_0x329dbc,_0x21a496){const _0x55bd5e=a0_0x597a;return _0xd3fcdc[_0x55bd5e(0x19c)](_0x329dbc,_0x21a496);},'OzbgL':_0x4cacb4(0x172)},_0x1ae1ce=new URL(_0x904a41,_0x7694dc),_0x501905=_0x1ae1ce['protocol']===_0xd3fcdc[_0x4cacb4(0x186)],_0x1dd1fa=_0x501905?_0xd3fcdc[_0x4cacb4(0x17e)](require,'https'):require(_0xd3fcdc[_0x4cacb4(0x1bc)]),_0x32320a={'hostname':_0x1ae1ce[_0x4cacb4(0x1d7)],'port':_0x1ae1ce[_0x4cacb4(0x1ac)]||(_0x501905?0x1bb:0x50),'path':_0x1ae1ce[_0x4cacb4(0x1b8)]+_0x1ae1ce[_0x4cacb4(0x198)],'method':_0x2b9021,'headers':{'Content-Type':_0x4cacb4(0x189),'User-Agent':'gpusmarket-cli/'+PKG_VERSION}};if(_0xa78f80)_0x32320a['headers'][_0x4cacb4(0x1ce)]=_0x4cacb4(0x194)+_0xa78f80;const _0x50c814=_0x1dd1fa[_0x4cacb4(0x1c0)](_0x32320a,_0x363b6b=>{const _0x37b6d0=_0x4cacb4,_0x5ca094={'WyKfv':_0x37b6d0(0x1d2),'BrVUX':function(_0x88dd6a,_0x32cff){return _0x329d03['zsQiM'](_0x88dd6a,_0x32cff);},'klhyN':function(_0x116516,_0x1d7d48){return _0x116516(_0x1d7d48);},'kRFJK':function(_0x252604,_0x854e4f){return _0x252604(_0x854e4f);},'vlqhI':function(_0x5a4007,_0x336491){return _0x5a4007(_0x336491);}};let _0x477d0b='';_0x363b6b['on'](_0x37b6d0(0x161),_0x313df4=>_0x477d0b+=_0x313df4),_0x363b6b['on'](_0x329d03['OzbgL'],()=>{const _0x1ee1de=_0x37b6d0;if(_0x1ee1de(0x1d2)===_0x5ca094[_0x1ee1de(0x174)])try{const _0x1203ad=JSON[_0x1ee1de(0x185)](_0x477d0b);_0x5ca094[_0x1ee1de(0x170)](_0x363b6b[_0x1ee1de(0x18c)],0x190)?_0x42f13e(new Error(_0x1203ad[_0x1ee1de(0x179)]||_0x1203ad['message']||_0x1ee1de(0x166)+_0x363b6b[_0x1ee1de(0x18c)])):_0x5ca094[_0x1ee1de(0x1b3)](_0x20a306,_0x1203ad);}catch{if(_0x363b6b[_0x1ee1de(0x18c)]>=0x190)_0x5ca094[_0x1ee1de(0x19a)](_0x42f13e,new Error(_0x1ee1de(0x166)+_0x363b6b[_0x1ee1de(0x18c)]+':\x20'+_0x477d0b['substring'](0x0,0xc8)));else _0x5ca094[_0x1ee1de(0x173)](_0x20a306,_0x477d0b);}else _0x9e4eea(_0x29c9c5);});});_0x50c814['on'](_0xd3fcdc[_0x4cacb4(0x1b5)],_0x42f13e),_0x50c814[_0x4cacb4(0x18f)](0x7530,()=>{const _0x4d7d59=_0x4cacb4;_0x50c814[_0x4d7d59(0x1ba)](),_0xd3fcdc['KPfRy'](_0x42f13e,new Error(_0xd3fcdc[_0x4d7d59(0x1c3)]));});if(_0x529a0f)_0x50c814[_0x4cacb4(0x1ab)](JSON[_0x4cacb4(0x16a)](_0x529a0f));_0x50c814['end']();});}function streamRequest(_0x3d6020,_0x33def8,_0x50af0d,_0x5ad928,_0x427a91){const _0x56ea40=a0_0x29c1e1,_0x38a48d={'QoaID':function(_0x4869b3,_0x2055ee){return _0x4869b3(_0x2055ee);},'BcyQI':function(_0x44bdc7,_0xd48237){return _0x44bdc7!==_0xd48237;},'zkUmJ':_0x56ea40(0x19e),'PzuoG':_0x56ea40(0x172),'soZlB':_0x56ea40(0x171),'FHLPB':function(_0x185e17,_0x54878c){return _0x185e17(_0x54878c);},'HDIhn':_0x56ea40(0x16d)};return new Promise((_0x300bac,_0x341fa5)=>{const _0xec0869=_0x56ea40,_0x31eb5b={'DTpqi':function(_0x390fbb,_0xa484c7){return _0x390fbb>=_0xa484c7;},'YNeFY':function(_0x5408d6,_0x1f6899){const _0x3e46b4=a0_0x597a;return _0x38a48d[_0x3e46b4(0x1d4)](_0x5408d6,_0x1f6899);},'HIIfa':function(_0xa98215,_0x206b7e){return _0xa98215(_0x206b7e);},'IeWTH':function(_0x411510,_0x37a406){const _0x2860a5=a0_0x597a;return _0x38a48d[_0x2860a5(0x193)](_0x411510,_0x37a406);},'hEeBF':_0x38a48d[_0xec0869(0x16c)],'nkJtP':_0x38a48d[_0xec0869(0x1a9)],'eGyLQ':_0xec0869(0x161)},_0x22289c=new URL(_0x50af0d,_0x3d6020),_0x43b005=_0x22289c[_0xec0869(0x165)]===_0xec0869(0x1d5),_0x20ca56=_0x43b005?require(_0x38a48d[_0xec0869(0x191)]):_0x38a48d['FHLPB'](require,'http'),_0x14de91=_0x20ca56['request']({'hostname':_0x22289c['hostname'],'port':_0x22289c[_0xec0869(0x1ac)]||(_0x43b005?0x1bb:0x50),'path':_0x22289c[_0xec0869(0x1b8)]+_0x22289c[_0xec0869(0x198)],'method':_0x38a48d[_0xec0869(0x1a7)],'headers':{'Content-Type':_0xec0869(0x189),'Authorization':_0xec0869(0x194)+_0x33def8,'User-Agent':_0xec0869(0x190)+PKG_VERSION}},_0x34d6dd=>{const _0xabd512=_0xec0869;if(_0x31eb5b[_0xabd512(0x181)](_0x34d6dd[_0xabd512(0x18c)],0x190)){if(_0x31eb5b[_0xabd512(0x1b4)](_0x31eb5b[_0xabd512(0x1da)],_0xabd512(0x19b))){let _0x5877f6='';_0x34d6dd['on']('data',_0x33dff3=>_0x5877f6+=_0x33dff3),_0x34d6dd['on'](_0x31eb5b['nkJtP'],()=>_0x341fa5(new Error(_0xabd512(0x166)+_0x34d6dd[_0xabd512(0x18c)]+':\x20'+_0x5877f6[_0xabd512(0x192)](0x0,0xc8))));return;}else{const _0x483297=_0x2be20a[_0xabd512(0x185)](_0x171493);gFddtg[_0xabd512(0x181)](_0x5dae41[_0xabd512(0x18c)],0x190)?gFddtg[_0xabd512(0x1bd)](_0x4394c9,new _0x56e9ef(_0x483297[_0xabd512(0x179)]||_0x483297[_0xabd512(0x196)]||_0xabd512(0x166)+_0x21f699[_0xabd512(0x18c)])):gFddtg[_0xabd512(0x1b7)](_0x303d88,_0x483297);}}_0x34d6dd['on'](_0x31eb5b[_0xabd512(0x1d0)],_0x1180ee=>_0x427a91(_0x1180ee[_0xabd512(0x1a0)]())),_0x34d6dd['on'](_0x31eb5b[_0xabd512(0x19f)],()=>_0x300bac());});_0x14de91['on'](_0xec0869(0x179),_0x341fa5),_0x14de91[_0xec0869(0x18f)](0x1d4c0,()=>{const _0x554904=_0xec0869;_0x14de91[_0x554904(0x1ba)](),_0x341fa5(new Error(_0x554904(0x1a5)));}),_0x14de91['write'](JSON['stringify'](_0x5ad928)),_0x14de91[_0xec0869(0x172)]();});}function a0_0x597a(_0x560ec4,_0x44d8e8){_0x560ec4=_0x560ec4-0x160;const _0x48e323=a0_0x48e3();let _0x597a63=_0x48e323[_0x560ec4];if(a0_0x597a['CTgblS']===undefined){var _0x59b90c=function(_0x57cfe5){const _0x1f4e76='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1eeeeb='',_0x5c5ba0='';for(let _0x4fe7d1=0x0,_0xc03dd5,_0x2ca282,_0x5c4623=0x0;_0x2ca282=_0x57cfe5['charAt'](_0x5c4623++);~_0x2ca282&&(_0xc03dd5=_0x4fe7d1%0x4?_0xc03dd5*0x40+_0x2ca282:_0x2ca282,_0x4fe7d1++%0x4)?_0x1eeeeb+=String['fromCharCode'](0xff&_0xc03dd5>>(-0x2*_0x4fe7d1&0x6)):0x0){_0x2ca282=_0x1f4e76['indexOf'](_0x2ca282);}for(let _0x43aa37=0x0,_0x2be20a=_0x1eeeeb['length'];_0x43aa37<_0x2be20a;_0x43aa37++){_0x5c5ba0+='%'+('00'+_0x1eeeeb['charCodeAt'](_0x43aa37)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c5ba0);};a0_0x597a['nvflls']=_0x59b90c,a0_0x597a['TUGGsm']={},a0_0x597a['CTgblS']=!![];}const _0x35cd16=_0x48e323[0x0],_0x143424=_0x560ec4+_0x35cd16,_0xbd7869=a0_0x597a['TUGGsm'][_0x143424];return!_0xbd7869?(_0x597a63=a0_0x597a['nvflls'](_0x597a63),a0_0x597a['TUGGsm'][_0x143424]=_0x597a63):_0x597a63=_0xbd7869,_0x597a63;}function api(_0x5c8b4b){const _0x201f63=a0_0x29c1e1,_0x268aa0={'jNwcV':_0x201f63(0x16d)},{baseUrl:_0x3c41ed,apiKey:_0x1c71f5}=_0x5c8b4b,_0x24ddf7=(_0x4e656b,_0x1a95b8,_0x174077)=>request(_0x3c41ed,_0x1c71f5,_0x4e656b,_0x1a95b8,_0x174077);return{'baseUrl':_0x3c41ed,'signup':_0x3604ae=>request(_0x3c41ed,null,_0x201f63(0x16d),_0x201f63(0x1af),_0x3604ae),'whoami':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1a3)),'search':_0x95cedc=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1ca)+(_0x95cedc?'?'+_0x95cedc:'')),'gpuModels':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x163)),'cheapest':_0x4285f6=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1ae)+(_0x4285f6?'?'+_0x4285f6:'')),'gpuTypes':()=>_0x24ddf7('GET','/api/v1/gpu/types'),'hostSetup':_0x267a54=>_0x24ddf7('POST','/api/v1/gpu/host-setup',_0x267a54),'rent':_0x29304a=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x199)+_0x29304a[_0x201f63(0x197)],_0x29304a),'rentals':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1d3)),'rentalStatus':_0x363313=>_0x24ddf7(_0x201f63(0x1c6),'/api/v1/marketplace/rentals/'+_0x363313),'stopRental':_0x1f71d9=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x17f)+_0x1f71d9+_0x201f63(0x177)),'pools':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1a1)),'createPool':_0x4f0f56=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x1a1),_0x4f0f56),'addToPool':(_0x318ea0,_0x2cd777)=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x1c2)+_0x318ea0+_0x201f63(0x168),{'rentalId':_0x2cd777}),'removeFromPool':(_0x51c09a,_0x2315a5)=>_0x24ddf7(_0x201f63(0x16d),'/api/v1/gpu/pools/'+_0x51c09a+_0x201f63(0x1cb),{'rentalId':_0x2315a5}),'chat':(_0x55487d,_0x3d6a35,_0x450f95)=>{const _0x3fb5db=_0x201f63,_0x2970f7={'YDCzA':function(_0xfc0a96,_0x4d4258,_0x5dd813,_0x1dc14e,_0x15f857,_0x24d3ea){return _0xfc0a96(_0x4d4258,_0x5dd813,_0x1dc14e,_0x15f857,_0x24d3ea);}};if(_0x3fb5db(0x1bb)!==_0x3fb5db(0x1bb))return _0x2970f7['YDCzA'](_0x1b7828,_0x2ba0ef,_0x725e9,'/api/v1/openai/'+_0x1b1388+_0x3fb5db(0x160),{..._0x5ea21b,'stream':!![]},_0x3937fe);else{const _0x2408e8=_0x3c41ed+'/api/v1/openai/'+_0x3d6a35+'/v1/chat/completions';return request(_0x2408e8[_0x3fb5db(0x1c8)](/\/v1\/chat\/completions$/,''),_0x55487d,_0x268aa0[_0x3fb5db(0x1b2)],_0x3fb5db(0x160),_0x450f95);}},'chatStream':(_0x18ec37,_0x2e76a8,_0x56f03e,_0x3284f3)=>{return streamRequest(_0x3c41ed,_0x18ec37,'/api/v1/openai/'+_0x2e76a8+'/v1/chat/completions',{..._0x56f03e,'stream':!![]},_0x3284f3);},'adminStats':()=>_0x24ddf7(_0x201f63(0x1c6),'/superadmin/api/stats'),'adminRevenue':()=>_0x24ddf7(_0x201f63(0x1c6),'/superadmin/api/revenue'),'adminFunnel':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x182)),'adminSignups':_0x2d30d7=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1d9)+(_0x2d30d7||0x7)),'adminUsers':_0x3c7af4=>_0x24ddf7('GET',_0x201f63(0x16e)+(_0x3c7af4?'?'+_0x3c7af4:'')),'adminUserView':_0x20d21d=>_0x24ddf7(_0x201f63(0x1c6),'/superadmin/api/users/'+encodeURIComponent(_0x20d21d)),'adminCreateUser':_0x2e0bea=>_0x24ddf7('POST',_0x201f63(0x16e),_0x2e0bea),'adminResetPassword':(_0x195e83,_0x2ee1ce)=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x1b1),{'email':_0x195e83,'password':_0x2ee1ce}),'adminVerifyUser':_0x4b3e76=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x187)+encodeURIComponent(_0x4b3e76)+_0x201f63(0x1a6)),'adminSuspendUser':_0x4a8860=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x187)+encodeURIComponent(_0x4a8860)+_0x201f63(0x17a)),'adminActivateUser':_0x5d8df1=>_0x24ddf7('POST',_0x201f63(0x187)+encodeURIComponent(_0x5d8df1)+_0x201f63(0x1ad)),'adminDeleteUser':_0x355068=>_0x24ddf7(_0x201f63(0x17c),_0x201f63(0x187)+encodeURIComponent(_0x355068)),'adminUpdateUser':(_0x28b5d2,_0x2658d6)=>_0x24ddf7(_0x201f63(0x175),'/superadmin/api/users/'+encodeURIComponent(_0x28b5d2),_0x2658d6),'adminCouponCreate':_0x4ad402=>_0x24ddf7(_0x201f63(0x16d),'/superadmin/api/coupons',_0x4ad402),'adminCoupons':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1cf)),'adminCouponRevoke':_0x5a53bb=>_0x24ddf7(_0x201f63(0x17c),_0x201f63(0x1c5)+encodeURIComponent(_0x5a53bb)),'adminListings':_0x4462fb=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1d1)+(_0x4462fb?'?'+_0x4462fb:'')),'adminListingView':_0x1a6261=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x18e)+_0x1a6261),'adminSuspendListing':_0x308ea9=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x18e)+_0x308ea9+_0x201f63(0x17a)),'adminRentals':_0x1dbe46=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x180)+(_0x1dbe46?'?'+_0x1dbe46:'')),'adminRentalView':_0x240a59=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1bf)+_0x240a59),'adminPayments':_0x23c2d4=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1a2)+(_0x23c2d4?'?'+_0x23c2d4:'')),'adminPools':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1db)),'adminAudit':_0x5b276b=>_0x24ddf7(_0x201f63(0x1c6),'/superadmin/api/audit?days='+(_0x5b276b||0x1e)),'adminNotifications':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1c9)),'adminHealth':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1c7)),'adminUserTimeline':_0x2b9e24=>_0x24ddf7('GET',_0x201f63(0x187)+encodeURIComponent(_0x2b9e24)+_0x201f63(0x169)),'adminAgentStatus':_0x3f41bf=>_0x24ddf7('GET',_0x201f63(0x18e)+_0x3f41bf+_0x201f63(0x1b0)),'adminHostEarnings':_0x34cf05=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1cd)+encodeURIComponent(_0x34cf05)+_0x201f63(0x1cc)),'adminRentalUsage':_0x3fc896=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1bf)+_0x3fc896+_0x201f63(0x1c1)),'adminWallet':_0x4a51d6=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x187)+encodeURIComponent(_0x4a51d6)+_0x201f63(0x167)),'adminClosures':_0x126940=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1aa)+(_0x126940||0x5a)),'adminRefund':_0x49c6d7=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x176)+_0x49c6d7+_0x201f63(0x19d)),'adminCloudGpus':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1b9)),'adminCloudCheapest':_0x56099d=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x183)+(_0x56099d||0x18)),'adminCloudAccount':()=>_0x24ddf7('GET',_0x201f63(0x18b)),'adminCloudBilling':()=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x1b6)),'adminCloudPods':_0x2de685=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x164)+(_0x2de685?_0x201f63(0x16f)+_0x2de685:'')),'adminCloudPod':_0x2428e1=>_0x24ddf7(_0x201f63(0x1c6),_0x201f63(0x16b)+_0x2428e1),'adminCloudStop':_0x456c86=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x16b)+_0x456c86+_0x201f63(0x177)),'adminCloudResume':_0xd03d2b=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x16b)+_0xd03d2b+_0x201f63(0x162)),'adminCloudDestroy':_0x19d661=>_0x24ddf7(_0x201f63(0x16d),_0x201f63(0x16b)+_0x19d661+_0x201f63(0x1d8)),'adminCloudMargin':()=>_0x24ddf7('GET',_0x201f63(0x18d))};}module[a0_0x29c1e1(0x17d)]={'api':api,'request':request};
|
|
1
|
+
const a0_0x1fb996=a0_0x35a1;(function(_0x4e0538,_0x21c5aa){const _0x35818a=a0_0x35a1,_0x481ea1=_0x4e0538();while(!![]){try{const _0x16f557=-parseInt(_0x35818a(0xe1))/0x1+parseInt(_0x35818a(0x106))/0x2*(parseInt(_0x35818a(0xee))/0x3)+parseInt(_0x35818a(0xd6))/0x4+parseInt(_0x35818a(0xcf))/0x5*(-parseInt(_0x35818a(0xf5))/0x6)+-parseInt(_0x35818a(0xea))/0x7+-parseInt(_0x35818a(0xd1))/0x8+parseInt(_0x35818a(0xce))/0x9;if(_0x16f557===_0x21c5aa)break;else _0x481ea1['push'](_0x481ea1['shift']());}catch(_0x458722){_0x481ea1['push'](_0x481ea1['shift']());}}}(a0_0x1e19,0xead0a));function a0_0x35a1(_0x225a9d,_0x48f0f5){_0x225a9d=_0x225a9d-0xc0;const _0x1e198c=a0_0x1e19();let _0x35a1bd=_0x1e198c[_0x225a9d];if(a0_0x35a1['wgKDBC']===undefined){var _0x50daeb=function(_0x358209){const _0x472576='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d6f67='',_0x454355='';for(let _0x5094dc=0x0,_0x35ca63,_0x39ca96,_0x479b8a=0x0;_0x39ca96=_0x358209['charAt'](_0x479b8a++);~_0x39ca96&&(_0x35ca63=_0x5094dc%0x4?_0x35ca63*0x40+_0x39ca96:_0x39ca96,_0x5094dc++%0x4)?_0x1d6f67+=String['fromCharCode'](0xff&_0x35ca63>>(-0x2*_0x5094dc&0x6)):0x0){_0x39ca96=_0x472576['indexOf'](_0x39ca96);}for(let _0x12d0da=0x0,_0x399f3c=_0x1d6f67['length'];_0x12d0da<_0x399f3c;_0x12d0da++){_0x454355+='%'+('00'+_0x1d6f67['charCodeAt'](_0x12d0da)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x454355);};a0_0x35a1['XFqLhA']=_0x50daeb,a0_0x35a1['ZGQcSn']={},a0_0x35a1['wgKDBC']=!![];}const _0x155c53=_0x1e198c[0x0],_0x177970=_0x225a9d+_0x155c53,_0x26b3e7=a0_0x35a1['ZGQcSn'][_0x177970];return!_0x26b3e7?(_0x35a1bd=a0_0x35a1['XFqLhA'](_0x35a1bd),a0_0x35a1['ZGQcSn'][_0x177970]=_0x35a1bd):_0x35a1bd=_0x26b3e7,_0x35a1bd;}const PKG_VERSION=require('../package.json')[a0_0x1fb996(0xd3)];function request(_0x5e4e07,_0x112651,_0x3564fb,_0xe7c911,_0x29008e){const _0x14cdfd=a0_0x1fb996,_0x4bcca2={'FJqiD':'eBHnO','rxOmf':function(_0x3221ee,_0x20e24d){return _0x3221ee(_0x20e24d);},'HfIAN':function(_0x4c3935,_0x56afa4){return _0x4c3935>=_0x56afa4;},'lJgsX':'data','rLVLb':'end','cmZgO':function(_0x579e20,_0x584fca){return _0x579e20===_0x584fca;},'GYTsf':_0x14cdfd(0x13a),'teMXX':'https','qWmJC':function(_0x4e92d9,_0x142494){return _0x4e92d9(_0x142494);},'SoytO':'Authorization'};return new Promise((_0x5e4e9a,_0x507eb4)=>{const _0x3e3449=_0x14cdfd,_0x3fb03b={'cIjAn':function(_0x477755,_0x439afa){return _0x477755>=_0x439afa;},'ccPNK':_0x4bcca2[_0x3e3449(0xcb)],'MaOeL':function(_0x154950,_0x4d427e){const _0x1d8707=_0x3e3449;return _0x4bcca2[_0x1d8707(0x10b)](_0x154950,_0x4d427e);},'uBQta':function(_0x3cc155,_0x2720ec){const _0x1a8c1c=_0x3e3449;return _0x4bcca2[_0x1a8c1c(0xda)](_0x3cc155,_0x2720ec);},'KzJQd':_0x4bcca2[_0x3e3449(0xff)],'lGACt':_0x4bcca2[_0x3e3449(0xf1)]},_0x3cccee=new URL(_0xe7c911,_0x5e4e07),_0xaa2fe8=_0x4bcca2[_0x3e3449(0x116)](_0x3cccee[_0x3e3449(0x130)],_0x4bcca2['GYTsf']),_0xfc381f=_0xaa2fe8?require(_0x4bcca2[_0x3e3449(0x122)]):_0x4bcca2[_0x3e3449(0x12d)](require,'http'),_0x47b09d={'hostname':_0x3cccee['hostname'],'port':_0x3cccee[_0x3e3449(0x14e)]||(_0xaa2fe8?0x1bb:0x50),'path':_0x3cccee[_0x3e3449(0x12e)]+_0x3cccee[_0x3e3449(0xe7)],'method':_0x3564fb,'headers':{'Content-Type':_0x3e3449(0x11f),'User-Agent':'gpusmarket-cli/'+PKG_VERSION}};if(_0x112651)_0x47b09d['headers'][_0x4bcca2[_0x3e3449(0xdf)]]=_0x3e3449(0xfd)+_0x112651;const _0x5002f4=_0xfc381f[_0x3e3449(0xc9)](_0x47b09d,_0x4c624b=>{const _0x4f1aff=_0x3e3449,_0x16f742={'TzbAQ':function(_0x37f8a5,_0x149792){return _0x37f8a5>=_0x149792;},'fDPtA':_0x4f1aff(0x14b),'lVKmv':_0x4f1aff(0x148),'jgOkb':function(_0x499dad,_0x44bc95){return _0x499dad===_0x44bc95;},'zbncz':_0x4f1aff(0x12f),'UoZeB':_0x4f1aff(0x11f),'IMNko':function(_0x3d3caf,_0x45e768){return _0x3fb03b['cIjAn'](_0x3d3caf,_0x45e768);},'CdFnD':_0x3fb03b['ccPNK'],'lLdmI':function(_0x76ae6d,_0xf804e){const _0xe17f6b=_0x4f1aff;return _0x3fb03b[_0xe17f6b(0x145)](_0x76ae6d,_0xf804e);},'EEnwP':function(_0x4008fc,_0x59d3a4){const _0x53aa5f=_0x4f1aff;return _0x3fb03b[_0x53aa5f(0x114)](_0x4008fc,_0x59d3a4);}};let _0x25013e='';_0x4c624b['on'](_0x3fb03b[_0x4f1aff(0x12b)],_0x385ce3=>_0x25013e+=_0x385ce3),_0x4c624b['on'](_0x3fb03b[_0x4f1aff(0xc8)],()=>{const _0x31f1f0=_0x4f1aff,_0x418ae1={'KElKC':function(_0x1bc28e,_0x1d7a54){const _0x1397cd=a0_0x35a1;return _0x16f742[_0x1397cd(0x111)](_0x1bc28e,_0x1d7a54);},'yHpTq':_0x16f742['fDPtA'],'nNLvs':_0x31f1f0(0x135),'HOcwu':_0x16f742[_0x31f1f0(0x109)],'fYbOB':function(_0x1f6d4d,_0x2aa53d){const _0xb0b8d4=_0x31f1f0;return _0x16f742[_0xb0b8d4(0x13e)](_0x1f6d4d,_0x2aa53d);},'fTBby':_0x31f1f0(0x120),'NnylV':function(_0x40b4c6,_0x36f66e){return _0x40b4c6(_0x36f66e);},'nBueE':_0x31f1f0(0xe4),'OhJuo':function(_0x5d0c49,_0xf71381){return _0x5d0c49+_0xf71381;},'xFEBE':_0x16f742['zbncz'],'zCsjT':_0x16f742[_0x31f1f0(0xe8)]};try{const _0x1fceb3=JSON['parse'](_0x25013e);if(_0x16f742['IMNko'](_0x4c624b[_0x31f1f0(0x133)],0x190)){if(_0x16f742[_0x31f1f0(0x10e)]===_0x31f1f0(0x137)){const _0x3b907f=new _0x4c0cd7(_0x3f0075,_0x3759b9),_0x40a3cc=_0x418ae1[_0x31f1f0(0x13f)](_0x3b907f[_0x31f1f0(0x130)],_0x31f1f0(0x13a)),_0x4f683e=_0x40a3cc?_0x360e5e(_0x418ae1[_0x31f1f0(0xe3)]):_0x418ae1[_0x31f1f0(0x10d)](_0x213599,_0x418ae1['nBueE']),_0x1722e3=_0x4f683e[_0x31f1f0(0xc9)]({'hostname':_0x3b907f[_0x31f1f0(0x100)],'port':_0x3b907f[_0x31f1f0(0x14e)]||(_0x40a3cc?0x1bb:0x50),'path':_0x418ae1[_0x31f1f0(0x119)](_0x3b907f['pathname'],_0x3b907f[_0x31f1f0(0xe7)]),'method':_0x418ae1['xFEBE'],'headers':{'Content-Type':_0x418ae1[_0x31f1f0(0xec)],'Authorization':_0x31f1f0(0xfd)+_0x44e855,'User-Agent':_0x31f1f0(0xc4)+_0xc0d3d4}},_0x1a9183=>{const _0x1162fb=_0x31f1f0;if(_0x418ae1[_0x1162fb(0x105)](_0x1a9183[_0x1162fb(0x133)],0x190)){let _0x2e07df='';_0x1a9183['on'](_0x418ae1[_0x1162fb(0xde)],_0x49e2a3=>_0x2e07df+=_0x49e2a3),_0x1a9183['on'](_0x1162fb(0x135),()=>_0x3e2810(new _0x21b8a6(_0x1162fb(0xfa)+_0x1a9183[_0x1162fb(0x133)]+':\x20'+_0x2e07df[_0x1162fb(0x14d)](0x0,0xc8))));return;}_0x1a9183['on'](_0x1162fb(0x14b),_0xe48ea=>_0x42daae(_0xe48ea['toString']())),_0x1a9183['on'](_0x418ae1[_0x1162fb(0xdb)],()=>_0x2b2084());});_0x1722e3['on']('error',_0x522b70),_0x1722e3[_0x31f1f0(0x13c)](0x1d4c0,()=>{const _0x34e318=_0x31f1f0;_0x1722e3[_0x34e318(0xd2)](),_0x15dc99(new _0x1a04f1(_0x418ae1[_0x34e318(0xd9)]));}),_0x1722e3[_0x31f1f0(0xd7)](_0x2f3653['stringify'](_0x47044c)),_0x1722e3[_0x31f1f0(0x135)]();}else _0x16f742[_0x31f1f0(0xfb)](_0x507eb4,new Error(_0x1fceb3[_0x31f1f0(0xf6)]||_0x1fceb3[_0x31f1f0(0x123)]||_0x31f1f0(0xfa)+_0x4c624b[_0x31f1f0(0x133)]));}else _0x5e4e9a(_0x1fceb3);}catch{if(_0x16f742[_0x31f1f0(0xc7)](_0x4c624b[_0x31f1f0(0x133)],0x190))_0x507eb4(new Error('HTTP\x20'+_0x4c624b['statusCode']+':\x20'+_0x25013e[_0x31f1f0(0x14d)](0x0,0xc8)));else _0x5e4e9a(_0x25013e);}});});_0x5002f4['on'](_0x3e3449(0xf6),_0x507eb4),_0x5002f4[_0x3e3449(0x13c)](0x7530,()=>{const _0x386f2f=_0x3e3449;_0x5002f4[_0x386f2f(0xd2)](),_0x507eb4(new Error(_0x386f2f(0x148)));});if(_0x29008e)_0x5002f4[_0x3e3449(0xd7)](JSON[_0x3e3449(0xf0)](_0x29008e));_0x5002f4[_0x3e3449(0x135)]();});}function a0_0x1e19(){const _0x457cb5=['l3n1CgvYywrTAw4VyxbPl2z1BM5LBa','l3n1CgvYywrTAw4VyxbPl2f1zgL0p2rHExm9','z3b1C21HCMTLDc1JBgKV','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzhm','zvzvD3e','ruvUD1a','BeDbq3q','CMvXDwvZDa','l2rLC3rYB3K','rKPXAuq','l2fWAs92ms9TyxjRzxrWBgfJzs9Tzq','uefuq0G','ndKZnJm4m0HnCwXdAG','ndC3ntCWrw5HugjM','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVBM9Kzxm','mJyXmdK2ofDJDhr5sq','zgvZDhjVEq','DMvYC2LVBG','l3vZywDL','l3n1CgvYywrTAw4VyxbPl25VDgLMAwnHDgLVBNm','nZu3mZC1nNjYzLfiqq','D3jPDgu','l3jLzNvUza','se9JD3u','sgzjqu4','BK5mDNm','l2fKza','AMjotNG','EuHWvhe','u295De8','l3n1CgvYywrTAw4VyxbPl3vZzxjZlW','otG0otmXrwzZwMfw','Aw5iuKq','zLrcyNK','Ahr0Ca','l3n0CMLWzs1VBMjVyxjK','l3n1CgvYywrTAw4VyxbPl3bVB2XZ','C2vHCMnO','vw9Azui','swPJBui','nZiWnteZnu9yrwTABG','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVzgvWCM92AxnPB24','EKnZALq','Cfz2vuK','nZyXn1jgvNfowq','l2fWAs92ms9NChuVAg9ZDc1Zzxr1Ca','C3rYAw5NAwz5','CKXwtgi','r0vu','l3n0B3a','l2fJDgL2yxrL','mZbxyvLnEgG','zxjYB3i','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZ','l3n1CgvYywrTAw4VyxbPl2HLywX0Aa','l3zLCMLMEq','sfruuca','BeXKBuK','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzhmV','qMvHCMvYia','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2jPBgXPBMC','BePNC1G','Ag9ZDg5HBwu','l2fWAs92ms9TyxjRzxrWBgfJzs9NChuTBw9KzwXZ','l3n1CgvYywrTAw4VyxbPl3nPz251Chm/zgf5CZ0','l3jLyxnZAwDU','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2DWDxm','s0vSs0m','mta1neDhrhPeEG','l2fWAs9ZAwDUDxa','l3n1CgvYywrTAw4VyxbPl2nSB3vKl21HCMDPBG','BfzlBxy','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50lW','CNHpBwy','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNmV','tM55Bfy','q2rgBKq','l3n1CgvYywrTAw4VyxbPl3bHEw1LBNrZlW','l2vHCM5PBMDZ','vhPIqve','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZlW','l3rPBwvSAw5L','DujrDge','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZlW','y21Az08','BgLZDgLUz0LK','l3n1CgvYywrTAw4VyxbPl3bHEw1LBNrZ','t2HkDw8','l3DHBgXLDa','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZ','l3n1CgvYywrTAw4VyxbPl2HVC3rZlW','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2fJy291BNq','p3n0yxr1CZ0','yxbWBgLJyxrPB24VANnVBG','Ahr0Chm','revmrvrf','DgvnwfG','BwvZC2fNzq','l2fWAs92ms9NChuVy2HLyxbLC3q','l3n1CgvYywrTAw4VyxbPl3jLDMvUDwu','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2nOzwfWzxn0p3zYyw09','wwHJzhe','l2fWAs92ms9TyxjRzxrWBgfJzs9ZzwfYy2G','l3jLC3vTzq','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVChjVDMLZAw9U','s3Pkuwq','l2fWAs92ms9NChuVCg9VBhmV','CvDTsKm','Cgf0Ag5HBwu','ue9tva','ChjVDg9JB2W','l2fWAs92ms9VCgvUywKV','l3n1C3bLBMq','C3rHDhvZq29Kzq','qwDxCgq','zw5K','l3jLBw92zq','wK5Hv2m','l3n1CgvYywrTAw4VyxbPl3vZzxjZl3jLC2v0lxbHC3n3B3jK','l3n1CgvYywrTAw4VyxbPl3n0yxrZ','Ahr0Chm6','l3yXl2nOyxqVy29TCgXLDgLVBNm','C2v0vgLTzw91Da','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVywrVChq','AMDpA2i','zLLIt0i','sLDWChC','l2fNzw50','AMz6zhy','l2fWAs92ms9NChuVyMvUy2HTyxjRCW','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhm','twfpzuW','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhmV','t1vQuuO','uMvXDwvZDcb0Aw1LB3v0','z0XrA3u','l2fWAs92ms9NChuVCg9VBhm','zgf0yq','l2fWAs92ms9NChuVDhLWzxm','C3vIC3rYAw5N','Cg9YDa','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNm','CMvWBgfJzq','l3n1CgvYywrTAw4VyxbPl3vZzxjZ','l3n1CgvYywrTAw4VyxbPl2nSB3n1CMvZp2rHExm9'];a0_0x1e19=function(){return _0x457cb5;};return a0_0x1e19();}function streamRequest(_0x416f60,_0x39f6b4,_0xb1c89c,_0x3fa1d8,_0x546ee6){const _0x4e33c8=a0_0x1fb996,_0x2f5fd1={'eVUwq':function(_0x311e0b,_0x27c3c6){return _0x311e0b>=_0x27c3c6;},'JWppw':function(_0x3edfea,_0x5a1263){return _0x3edfea!==_0x5a1263;},'IjcmB':_0x4e33c8(0x149),'OUjQJ':_0x4e33c8(0x14b),'jfzdv':_0x4e33c8(0x135),'pVvUI':_0x4e33c8(0x120),'AgWpd':_0x4e33c8(0xe4),'Yhcdq':_0x4e33c8(0x12f),'inHRD':'error'};return new Promise((_0x5a3660,_0x389e3c)=>{const _0x2853ac=_0x4e33c8,_0x581cc5={'TZPqL':_0x2853ac(0x13b)},_0x16b481=new URL(_0xb1c89c,_0x416f60),_0x35f050=_0x16b481[_0x2853ac(0x130)]===_0x2853ac(0x13a),_0x235d91=_0x35f050?require(_0x2f5fd1[_0x2853ac(0xed)]):require(_0x2f5fd1[_0x2853ac(0x134)]),_0x27bd7e=_0x235d91[_0x2853ac(0xc9)]({'hostname':_0x16b481[_0x2853ac(0x100)],'port':_0x16b481[_0x2853ac(0x14e)]||(_0x35f050?0x1bb:0x50),'path':_0x16b481[_0x2853ac(0x12e)]+_0x16b481[_0x2853ac(0xe7)],'method':_0x2f5fd1[_0x2853ac(0x127)],'headers':{'Content-Type':'application/json','Authorization':_0x2853ac(0xfd)+_0x39f6b4,'User-Agent':_0x2853ac(0xc4)+PKG_VERSION}},_0x267683=>{const _0xe285d1=_0x2853ac;if(_0x2f5fd1[_0xe285d1(0xc6)](_0x267683['statusCode'],0x190)){if(_0x2f5fd1[_0xe285d1(0x140)](_0x2f5fd1[_0xe285d1(0xe9)],_0x2f5fd1[_0xe285d1(0xe9)])){const _0x4ae545={'oXSoG':_0x581cc5['TZPqL']},{baseUrl:_0x82284,apiKey:_0x3d094e}=_0x9c79c2,_0x367539=(_0x5dc8fe,_0x38ddb4,_0x2026f9)=>_0x5c524c(_0x82284,_0x3d094e,_0x5dc8fe,_0x38ddb4,_0x2026f9);return{'baseUrl':_0x82284,'signup':_0x568f78=>_0x2cd5e5(_0x82284,null,_0xe285d1(0x12f),_0xe285d1(0x107),_0x568f78),'whoami':()=>_0x367539(_0xe285d1(0xf2),'/api/v1/marketplace/me'),'search':_0x3f4a00=>_0x367539(_0xe285d1(0xf2),'/api/v1/marketplace/search'+(_0x3f4a00?'?'+_0x3f4a00:'')),'gpuModels':()=>_0x367539(_0xe285d1(0xf2),'/api/v1/marketplace/gpu-models'),'cheapest':_0x413a7a=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x124)+(_0x413a7a?'?'+_0x413a7a:'')),'gpuTypes':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x14c)),'hostSetup':_0x1308b8=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0xef),_0x1308b8),'benchmarkSubmit':(_0x15c1e3,_0x4a7715)=>_0x28a6ec(_0x82284,_0x15c1e3,_0xe285d1(0x12f),'/api/v1/gpu/benchmarks',_0x4a7715),'rent':_0x24b0d7=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x10a)+_0x24b0d7[_0xe285d1(0x117)],_0x24b0d7),'rentals':()=>_0x367539('GET',_0xe285d1(0x11b)),'rentalStatus':_0x4ac5a6=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x115)+_0x4ac5a6),'stopRental':_0x457adc=>_0x367539(_0xe285d1(0x12f),'/api/v1/marketplace/rentals/'+_0x457adc+_0xe285d1(0xf3)),'pools':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x14a)),'createPool':_0x52a474=>_0x367539('POST',_0xe285d1(0x14a),_0x52a474),'addToPool':(_0x4c592c,_0x1f3ddf)=>_0x367539(_0xe285d1(0x12f),'/api/v1/gpu/pools/'+_0x4c592c+_0xe285d1(0xdc),{'rentalId':_0x1f3ddf}),'removeFromPool':(_0x358b32,_0x5e010d)=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x12c)+_0x358b32+'/remove',{'rentalId':_0x5e010d}),'chat':(_0x3fc1a6,_0x5f2b11,_0x1e9ab4)=>{const _0x30b5ef=_0xe285d1,_0x48f02b=_0x82284+_0x30b5ef(0x131)+_0x5f2b11+_0x30b5ef(0x13b);return _0x61fb1d(_0x48f02b[_0x30b5ef(0x150)](/\/v1\/chat\/completions$/,''),_0x3fc1a6,'POST',_0x4ae545['oXSoG'],_0x1e9ab4);},'chatStream':(_0x5a75fb,_0x548c18,_0x4f8161,_0x230751)=>{const _0x3b63f0=_0xe285d1;return _0x4a92cc(_0x82284,_0x5a75fb,_0x3b63f0(0x131)+_0x548c18+_0x3b63f0(0x13b),{..._0x4f8161,'stream':!![]},_0x230751);},'adminStats':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x139)),'adminRevenue':()=>_0x367539(_0xe285d1(0xf2),'/superadmin/api/revenue'),'adminFunnel':()=>_0x367539('GET',_0xe285d1(0xc2)),'adminSignups':_0x3addb1=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x102)+(_0x3addb1||0x7)),'adminUsers':_0x36e76a=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xc0)+(_0x36e76a?'?'+_0x36e76a:'')),'adminUserView':_0x86aa7d=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xe0)+_0x3b7123(_0x86aa7d)),'adminCreateUser':_0xa90112=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0xc0),_0xa90112),'adminResetPassword':(_0x1bbd78,_0x7c2369)=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x138),{'email':_0x1bbd78,'password':_0x7c2369}),'adminVerifyUser':_0x13122b=>_0x367539(_0xe285d1(0x12f),'/superadmin/api/users/'+_0x61e048(_0x13122b)+_0xe285d1(0xf9)),'adminSuspendUser':_0x19b4c6=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0xe0)+_0x3dfdcf(_0x19b4c6)+_0xe285d1(0x132)),'adminActivateUser':_0x2d7c81=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0xe0)+_0x1b7844(_0x2d7c81)+_0xe285d1(0xf4)),'adminDeleteUser':_0x268776=>_0x367539(_0xe285d1(0x121),_0xe285d1(0xe0)+_0x10ec6f(_0x268776)),'adminUpdateUser':(_0x3476db,_0x881e59)=>_0x367539(_0xe285d1(0xcd),_0xe285d1(0xe0)+_0x42cf2a(_0x3476db),_0x881e59),'adminCouponCreate':_0x4b5799=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x14f),_0x4b5799),'adminCoupons':()=>_0x367539('GET',_0xe285d1(0x14f)),'adminCouponRevoke':_0x3098fb=>_0x367539(_0xe285d1(0x121),'/superadmin/api/coupons/'+_0x4bb1fb(_0x3098fb)),'adminListings':_0x56e23e=>_0x367539(_0xe285d1(0xf2),'/superadmin/api/listings'+(_0x56e23e?'?'+_0x56e23e:'')),'adminListingView':_0x34b80f=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x112)+_0x34b80f),'adminSuspendListing':_0x3822ac=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x112)+_0x3822ac+'/suspend'),'adminReassignListing':(_0x222e64,_0x1c3dd7)=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x112)+_0x222e64+_0xe285d1(0x103),_0x1c3dd7),'adminStripeOnboard':(_0x1062e3,_0xe2f86b)=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x11c)+_0x585a92(_0x1062e3)+_0xe285d1(0xe5),_0xe2f86b||{}),'adminRentals':_0x13eac8=>_0x367539('GET',_0xe285d1(0x144)+(_0x13eac8?'?'+_0x13eac8:'')),'adminRentalView':_0x4739c6=>_0x367539(_0xe285d1(0xf2),'/superadmin/api/rentals/'+_0x4739c6),'adminPayments':_0x3be008=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x118)+(_0x3be008?'?'+_0x3be008:'')),'adminPools':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xe6)),'adminAudit':_0x1ef8a9=>_0x367539('GET',_0xe285d1(0xc3)+(_0x1ef8a9||0x1e)),'adminNotifications':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xd5)),'adminHealth':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xf8)),'adminUserTimeline':_0x490f76=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xe0)+_0x3fef6c(_0x490f76)+_0xe285d1(0x113)),'adminAgentStatus':_0x329484=>_0x367539('GET','/superadmin/api/listings/'+_0x329484+_0xe285d1(0x141)),'adminHostEarnings':_0x39a9fc=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x11c)+_0x1457ea(_0x39a9fc)+_0xe285d1(0x110)),'adminRentalUsage':_0x3ab767=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x146)+_0x3ab767+'/usage'),'adminWallet':_0x45ae4e=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xe0)+_0x3cc796(_0x45ae4e)+'/wallet'),'adminClosures':_0x3e2814=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xc1)+(_0x3e2814||0x5a)),'adminRefund':_0x293662=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0x10f)+_0x293662+_0xe285d1(0xd8)),'adminCloudGpus':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0x104)),'adminCloudCheapest':_0x53e19f=>_0x367539(_0xe285d1(0xf2),'/superadmin/api/cloud/cheapest?vram='+(_0x53e19f||0x18)),'adminCloudAccount':()=>_0x367539('GET',_0xe285d1(0x11d)),'adminCloudBilling':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xfe)),'adminCloudPods':_0x3c1502=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xc5)+(_0x3c1502?_0xe285d1(0x11e)+_0x3c1502:'')),'adminCloudPod':_0x2e4252=>_0x367539(_0xe285d1(0xf2),'/superadmin/api/cloud/pods/'+_0x2e4252),'adminCloudStop':_0x2fcdc2=>_0x367539(_0xe285d1(0x12f),'/superadmin/api/cloud/pods/'+_0x2fcdc2+_0xe285d1(0xf3)),'adminCloudResume':_0x421cb8=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0xfc)+_0x421cb8+_0xe285d1(0x129)),'adminCloudDestroy':_0x5f3dac=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0xfc)+_0x5f3dac+_0xe285d1(0xca)),'adminCloudMargin':()=>_0x367539('GET',_0xe285d1(0x108)),'adminPlaygroundProvision':_0x449f6b=>_0x367539('POST',_0xe285d1(0x12a),_0x449f6b),'adminPlaygroundDeprovision':_0x407f9b=>_0x367539(_0xe285d1(0x12f),_0xe285d1(0xeb),_0x407f9b||{}),'adminPlaygroundNodes':()=>_0x367539(_0xe285d1(0xf2),_0xe285d1(0xd0)),'adminPlaygroundAdopt':_0x5e2ed3=>_0x367539('POST',_0xe285d1(0x13d),_0x5e2ed3)};}else{let _0x27f158='';_0x267683['on'](_0xe285d1(0x14b),_0x5d8a2d=>_0x27f158+=_0x5d8a2d),_0x267683['on'](_0xe285d1(0x135),()=>_0x389e3c(new Error(_0xe285d1(0xfa)+_0x267683[_0xe285d1(0x133)]+':\x20'+_0x27f158[_0xe285d1(0x14d)](0x0,0xc8))));return;}}_0x267683['on'](_0x2f5fd1[_0xe285d1(0x147)],_0x49473b=>_0x546ee6(_0x49473b['toString']())),_0x267683['on'](_0x2f5fd1[_0xe285d1(0x142)],()=>_0x5a3660());});_0x27bd7e['on'](_0x2f5fd1[_0x2853ac(0xe2)],_0x389e3c),_0x27bd7e[_0x2853ac(0x13c)](0x1d4c0,()=>{const _0x3e0beb=_0x2853ac;_0x27bd7e['destroy'](),_0x389e3c(new Error(_0x3e0beb(0x148)));}),_0x27bd7e[_0x2853ac(0xd7)](JSON[_0x2853ac(0xf0)](_0x3fa1d8)),_0x27bd7e[_0x2853ac(0x135)]();});}function api(_0x4dbfa4){const _0x586273=a0_0x1fb996,_0x26b207={'jbNNx':function(_0x556c6c,_0x5961da,_0x238647,_0x9ad5b2,_0x22996d,_0x17c8b2){return _0x556c6c(_0x5961da,_0x238647,_0x9ad5b2,_0x22996d,_0x17c8b2);}},{baseUrl:_0x16e5b7,apiKey:_0x3526d3}=_0x4dbfa4,_0x1637aa=(_0x51fbe8,_0x39642f,_0x3a6550)=>request(_0x16e5b7,_0x3526d3,_0x51fbe8,_0x39642f,_0x3a6550);return{'baseUrl':_0x16e5b7,'signup':_0x27aa84=>request(_0x16e5b7,null,_0x586273(0x12f),_0x586273(0x107),_0x27aa84),'whoami':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0xcc)),'search':_0x2c3b53=>_0x1637aa(_0x586273(0xf2),_0x586273(0x128)+(_0x2c3b53?'?'+_0x2c3b53:'')),'gpuModels':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0x101)),'cheapest':_0x1a6534=>_0x1637aa(_0x586273(0xf2),_0x586273(0x124)+(_0x1a6534?'?'+_0x1a6534:'')),'gpuTypes':()=>_0x1637aa('GET',_0x586273(0x14c)),'hostSetup':_0x36c492=>_0x1637aa(_0x586273(0x12f),_0x586273(0xef),_0x36c492),'benchmarkSubmit':(_0x552914,_0x4ab24f)=>request(_0x16e5b7,_0x552914,_0x586273(0x12f),_0x586273(0x143),_0x4ab24f),'rent':_0x526e24=>_0x1637aa(_0x586273(0x12f),_0x586273(0x10a)+_0x526e24[_0x586273(0x117)],_0x526e24),'rentals':()=>_0x1637aa('GET',_0x586273(0x11b)),'rentalStatus':_0x490a63=>_0x1637aa(_0x586273(0xf2),_0x586273(0x115)+_0x490a63),'stopRental':_0x53ae3c=>_0x1637aa('POST',_0x586273(0x115)+_0x53ae3c+_0x586273(0xf3)),'pools':()=>_0x1637aa('GET',_0x586273(0x14a)),'createPool':_0xbced65=>_0x1637aa(_0x586273(0x12f),_0x586273(0x14a),_0xbced65),'addToPool':(_0x429e13,_0x274544)=>_0x1637aa(_0x586273(0x12f),_0x586273(0x12c)+_0x429e13+_0x586273(0xdc),{'rentalId':_0x274544}),'removeFromPool':(_0x38e20e,_0x254151)=>_0x1637aa(_0x586273(0x12f),_0x586273(0x12c)+_0x38e20e+_0x586273(0x136),{'rentalId':_0x254151}),'chat':(_0x16d4bf,_0x5f1111,_0x475f56)=>{const _0x2e6795=_0x586273,_0x5a284c=_0x16e5b7+_0x2e6795(0x131)+_0x5f1111+'/v1/chat/completions';return request(_0x5a284c[_0x2e6795(0x150)](/\/v1\/chat\/completions$/,''),_0x16d4bf,'POST',_0x2e6795(0x13b),_0x475f56);},'chatStream':(_0x8e27fc,_0x4c42e7,_0x2af393,_0x9acee7)=>{const _0x372bae=_0x586273;return _0x26b207[_0x372bae(0xdd)](streamRequest,_0x16e5b7,_0x8e27fc,'/api/v1/openai/'+_0x4c42e7+_0x372bae(0x13b),{..._0x2af393,'stream':!![]},_0x9acee7);},'adminStats':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0x139)),'adminRevenue':()=>_0x1637aa('GET',_0x586273(0x125)),'adminFunnel':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0xc2)),'adminSignups':_0x1da104=>_0x1637aa('GET','/superadmin/api/signups?days='+(_0x1da104||0x7)),'adminUsers':_0x4a3d34=>_0x1637aa(_0x586273(0xf2),_0x586273(0xc0)+(_0x4a3d34?'?'+_0x4a3d34:'')),'adminUserView':_0x18920c=>_0x1637aa(_0x586273(0xf2),_0x586273(0xe0)+encodeURIComponent(_0x18920c)),'adminCreateUser':_0x37f99a=>_0x1637aa('POST',_0x586273(0xc0),_0x37f99a),'adminResetPassword':(_0x2c1f54,_0x937356)=>_0x1637aa(_0x586273(0x12f),'/superadmin/api/users/reset-password',{'email':_0x2c1f54,'password':_0x937356}),'adminVerifyUser':_0x429482=>_0x1637aa(_0x586273(0x12f),'/superadmin/api/users/'+encodeURIComponent(_0x429482)+_0x586273(0xf9)),'adminSuspendUser':_0x295c22=>_0x1637aa('POST',_0x586273(0xe0)+encodeURIComponent(_0x295c22)+_0x586273(0x132)),'adminActivateUser':_0x5d1b06=>_0x1637aa(_0x586273(0x12f),_0x586273(0xe0)+encodeURIComponent(_0x5d1b06)+'/activate'),'adminDeleteUser':_0x1ccdaf=>_0x1637aa('DELETE',_0x586273(0xe0)+encodeURIComponent(_0x1ccdaf)),'adminUpdateUser':(_0x48d040,_0x41e1ad)=>_0x1637aa(_0x586273(0xcd),'/superadmin/api/users/'+encodeURIComponent(_0x48d040),_0x41e1ad),'adminCouponCreate':_0x5b9412=>_0x1637aa(_0x586273(0x12f),_0x586273(0x14f),_0x5b9412),'adminCoupons':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0x14f)),'adminCouponRevoke':_0xcba23f=>_0x1637aa(_0x586273(0x121),_0x586273(0x10c)+encodeURIComponent(_0xcba23f)),'adminListings':_0x573890=>_0x1637aa('GET',_0x586273(0xf7)+(_0x573890?'?'+_0x573890:'')),'adminListingView':_0x21d2cd=>_0x1637aa(_0x586273(0xf2),'/superadmin/api/listings/'+_0x21d2cd),'adminSuspendListing':_0x1d1033=>_0x1637aa(_0x586273(0x12f),_0x586273(0x112)+_0x1d1033+_0x586273(0x132)),'adminReassignListing':(_0x287439,_0x46112c)=>_0x1637aa(_0x586273(0x12f),'/superadmin/api/listings/'+_0x287439+_0x586273(0x103),_0x46112c),'adminStripeOnboard':(_0x218f48,_0x3ef1f6)=>_0x1637aa(_0x586273(0x12f),_0x586273(0x11c)+encodeURIComponent(_0x218f48)+'/stripe-onboard',_0x3ef1f6||{}),'adminRentals':_0x2e5833=>_0x1637aa('GET',_0x586273(0x144)+(_0x2e5833?'?'+_0x2e5833:'')),'adminRentalView':_0x33ac2d=>_0x1637aa(_0x586273(0xf2),_0x586273(0x146)+_0x33ac2d),'adminPayments':_0x479667=>_0x1637aa(_0x586273(0xf2),_0x586273(0x118)+(_0x479667?'?'+_0x479667:'')),'adminPools':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0xe6)),'adminAudit':_0x1be025=>_0x1637aa(_0x586273(0xf2),_0x586273(0xc3)+(_0x1be025||0x1e)),'adminNotifications':()=>_0x1637aa('GET',_0x586273(0xd5)),'adminHealth':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0xf8)),'adminUserTimeline':_0x5c9550=>_0x1637aa(_0x586273(0xf2),'/superadmin/api/users/'+encodeURIComponent(_0x5c9550)+_0x586273(0x113)),'adminAgentStatus':_0x35b952=>_0x1637aa(_0x586273(0xf2),_0x586273(0x112)+_0x35b952+_0x586273(0x141)),'adminHostEarnings':_0x59f583=>_0x1637aa(_0x586273(0xf2),_0x586273(0x11c)+encodeURIComponent(_0x59f583)+_0x586273(0x110)),'adminRentalUsage':_0x3cd807=>_0x1637aa(_0x586273(0xf2),_0x586273(0x146)+_0x3cd807+_0x586273(0xd4)),'adminWallet':_0x3f851e=>_0x1637aa(_0x586273(0xf2),_0x586273(0xe0)+encodeURIComponent(_0x3f851e)+_0x586273(0x11a)),'adminClosures':_0x374350=>_0x1637aa('GET','/superadmin/api/closures?days='+(_0x374350||0x5a)),'adminRefund':_0x3c4d1a=>_0x1637aa('POST',_0x586273(0x10f)+_0x3c4d1a+_0x586273(0xd8)),'adminCloudGpus':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0x104)),'adminCloudCheapest':_0x2f9336=>_0x1637aa(_0x586273(0xf2),_0x586273(0x126)+(_0x2f9336||0x18)),'adminCloudAccount':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0x11d)),'adminCloudBilling':()=>_0x1637aa('GET',_0x586273(0xfe)),'adminCloudPods':_0x23c1e2=>_0x1637aa(_0x586273(0xf2),_0x586273(0xc5)+(_0x23c1e2?_0x586273(0x11e)+_0x23c1e2:'')),'adminCloudPod':_0x2e171f=>_0x1637aa(_0x586273(0xf2),_0x586273(0xfc)+_0x2e171f),'adminCloudStop':_0x3bfaaa=>_0x1637aa(_0x586273(0x12f),_0x586273(0xfc)+_0x3bfaaa+_0x586273(0xf3)),'adminCloudResume':_0x5c1b59=>_0x1637aa(_0x586273(0x12f),'/superadmin/api/cloud/pods/'+_0x5c1b59+'/resume'),'adminCloudDestroy':_0x2963b8=>_0x1637aa('POST',_0x586273(0xfc)+_0x2963b8+_0x586273(0xca)),'adminCloudMargin':()=>_0x1637aa(_0x586273(0xf2),_0x586273(0x108)),'adminPlaygroundProvision':_0x570aee=>_0x1637aa(_0x586273(0x12f),_0x586273(0x12a),_0x570aee),'adminPlaygroundDeprovision':_0x210d5f=>_0x1637aa(_0x586273(0x12f),_0x586273(0xeb),_0x210d5f||{}),'adminPlaygroundNodes':()=>_0x1637aa(_0x586273(0xf2),'/superadmin/api/playground/nodes'),'adminPlaygroundAdopt':_0x547de6=>_0x1637aa(_0x586273(0x12f),_0x586273(0x13d),_0x547de6)};}module['exports']={'api':api,'request':request};
|