@opentiny/next 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +20 -7
- package/index.d.ts +12 -1
- package/index.js +657 -627
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -2,806 +2,835 @@ import { JSONRPCMessageSchema, EmptyResultSchema, ElicitResultSchema, CreateMess
|
|
|
2
2
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
3
3
|
import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
|
|
4
4
|
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
5
|
+
import { WebSocketClientTransport } from "@modelcontextprotocol/sdk/client/websocket.js";
|
|
5
6
|
import { UnauthorizedError } from "@modelcontextprotocol/sdk/client/auth.js";
|
|
6
|
-
const
|
|
7
|
-
(function(
|
|
8
|
-
const
|
|
7
|
+
const _0x4f2826 = _0xad7a;
|
|
8
|
+
(function(_0x5153c5, _0x3abbea) {
|
|
9
|
+
const _0x5f186f = _0xad7a, _0x3f8155 = _0xad7a, _0x5ad68c = _0x5153c5();
|
|
9
10
|
while (!![]) {
|
|
10
11
|
try {
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
13
|
-
else
|
|
14
|
-
} catch (
|
|
15
|
-
|
|
12
|
+
const _0x1209c2 = parseInt(_0x5f186f(403)) / (-1 * -8962 + 7125 + -1 * 16086) + -parseInt(_0x5f186f(411)) / (-118 * -62 + 5798 + -298 * 44) * (-parseInt(_0x3f8155(406)) / (-3602 + 4764 + -1159 * 1)) + -parseInt(_0x3f8155(425)) / (-878 * 8 + 6350 + 678) * (parseInt(_0x5f186f(387)) / (-2471 + -7095 + 9571)) + -parseInt(_0x3f8155(426)) / (-1158 + 4090 + -266 * 11) + parseInt(_0x3f8155(395)) / (-5007 + 205 * 3 + 83 * 53) * (-parseInt(_0x5f186f(419)) / (-4925 + 9223 + -4290)) + -parseInt(_0x5f186f(413)) / (8348 + -7962 + -1 * 377) + parseInt(_0x3f8155(400)) / (-1828 + 1230 + 608);
|
|
13
|
+
if (_0x1209c2 === _0x3abbea) break;
|
|
14
|
+
else _0x5ad68c["push"](_0x5ad68c["shift"]());
|
|
15
|
+
} catch (_0x3c6d23) {
|
|
16
|
+
_0x5ad68c["push"](_0x5ad68c["shift"]());
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
|
-
})(
|
|
19
|
-
function _0xacbd(_0x396270, _0x4ec458) {
|
|
20
|
-
const _0x101255 = _0x2dd1();
|
|
21
|
-
return _0xacbd = function(_0x3e7420, _0x33b9ab) {
|
|
22
|
-
_0x3e7420 = _0x3e7420 - (-2505 + -1757 + 4391);
|
|
23
|
-
let _0x51f210 = _0x101255[_0x3e7420];
|
|
24
|
-
return _0x51f210;
|
|
25
|
-
}, _0xacbd(_0x396270, _0x4ec458);
|
|
26
|
-
}
|
|
19
|
+
})(_0xf7c7, -118057 + 3521 * -35 + -2099 * -233);
|
|
27
20
|
const getGlobalObject = () => {
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
21
|
+
const _0x5b06d9 = _0xad7a, _0x55441c = _0xad7a, _0x3922ee = {};
|
|
22
|
+
_0x3922ee[_0x5b06d9(420)] = "3|0|2|1|4", _0x3922ee["vQYJZ"] = function(_0x5e2b69, _0x44350c) {
|
|
23
|
+
return _0x5e2b69 !== _0x44350c;
|
|
24
|
+
}, _0x3922ee[_0x55441c(394)] = _0x55441c(414), _0x3922ee["ktWqD"] = function(_0x187cae, _0x331f13) {
|
|
25
|
+
return _0x187cae !== _0x331f13;
|
|
26
|
+
}, _0x3922ee[_0x5b06d9(424)] = _0x5b06d9(391);
|
|
27
|
+
const _0x4bc984 = _0x3922ee, _0x58c960 = _0x4bc984[_0x55441c(420)]["split"]("|");
|
|
28
|
+
let _0x55d9fc = 859 * 2 + -3 * -1039 + -4835 * 1;
|
|
29
|
+
while (!![]) {
|
|
30
|
+
switch (_0x58c960[_0x55d9fc++]) {
|
|
31
|
+
case "0":
|
|
32
|
+
if (_0x4bc984[_0x55441c(407)](typeof window, "undefined")) return window;
|
|
33
|
+
continue;
|
|
34
|
+
case "1":
|
|
35
|
+
if (_0x4bc984["vQYJZ"](typeof self, _0x4bc984["NZmUq"])) return self;
|
|
36
|
+
continue;
|
|
37
|
+
case "2":
|
|
38
|
+
if (_0x4bc984[_0x55441c(405)](typeof global, "undefined")) return global;
|
|
39
|
+
continue;
|
|
40
|
+
case "3":
|
|
41
|
+
if (_0x4bc984[_0x55441c(405)](typeof globalThis, _0x4bc984[_0x5b06d9(394)])) return globalThis;
|
|
42
|
+
continue;
|
|
43
|
+
case "4":
|
|
44
|
+
return Function(_0x4bc984[_0x5b06d9(424)])();
|
|
45
|
+
}
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}, sendMessage = (_0x35d0b8, _0xeea47, _0xfb13f6) => {
|
|
49
|
+
const _0x348bd2 = _0xad7a, _0x30ad92 = _0xad7a, _0x31ab0f = {};
|
|
50
|
+
_0x31ab0f["eOzBp"] = function(_0xa5b644, _0x9c2e17) {
|
|
51
|
+
return _0xa5b644 !== _0x9c2e17;
|
|
52
|
+
}, _0x31ab0f["ooaJk"] = "undefined", _0x31ab0f[_0x348bd2(402)] = function(_0x3bec39, _0x3d0904) {
|
|
53
|
+
return _0x3bec39 === _0x3d0904;
|
|
54
|
+
}, _0x31ab0f[_0x348bd2(421)] = "function";
|
|
55
|
+
const _0x3ab65e = _0x31ab0f;
|
|
56
|
+
if (_0x3ab65e[_0x30ad92(389)](typeof window, _0x3ab65e["ooaJk"])) _0x35d0b8[_0x30ad92(423)](_0xeea47, "*", _0xfb13f6);
|
|
57
|
+
else _0x348bd2(423) in _0x35d0b8 && _0x3ab65e["pTvSc"](typeof _0x35d0b8[_0x30ad92(423)], _0x3ab65e[_0x348bd2(421)]) && _0x35d0b8["postMessage"](_0xeea47, _0xfb13f6);
|
|
58
|
+
}, setMessageHandler = (_0x47e26b, _0x56d6f3) => {
|
|
59
|
+
const _0x3198b3 = _0xad7a, _0x178e44 = _0xad7a, _0x878ed8 = {};
|
|
60
|
+
_0x878ed8["nTCfA"] = function(_0x161049, _0x23c671) {
|
|
61
|
+
return _0x161049 in _0x23c671;
|
|
62
|
+
}, _0x878ed8[_0x3198b3(390)] = "addEventListener", _0x878ed8[_0x3198b3(385)] = function(_0x113571, _0x525d77) {
|
|
63
|
+
return _0x113571 === _0x525d77;
|
|
64
|
+
}, _0x878ed8[_0x3198b3(409)] = "function", _0x878ed8["VaHpd"] = _0x178e44(392), _0x878ed8[_0x178e44(384)] = _0x3198b3(417), _0x878ed8["FPOYW"] = function(_0x450905, _0x43bced) {
|
|
65
|
+
return _0x450905 !== _0x43bced;
|
|
66
|
+
};
|
|
67
|
+
const _0xbc5ca5 = _0x878ed8;
|
|
68
|
+
if (_0xbc5ca5["nTCfA"](_0xbc5ca5["ogKey"], _0x47e26b) && _0xbc5ca5[_0x178e44(385)](typeof _0x47e26b["addEventListener"], _0xbc5ca5[_0x178e44(409)])) _0x47e26b[_0x178e44(386)](_0xbc5ca5["VaHpd"], _0x56d6f3);
|
|
69
|
+
else _0xbc5ca5[_0x178e44(384)] in _0x47e26b && _0xbc5ca5[_0x3198b3(398)](typeof _0x47e26b[_0x178e44(417)], _0x3198b3(414)) && (_0x47e26b["onmessage"] = _0x56d6f3);
|
|
64
70
|
};
|
|
65
71
|
class MessageChannelTransport {
|
|
66
|
-
constructor(
|
|
67
|
-
this["_port"] =
|
|
72
|
+
constructor(_0x34a0c2) {
|
|
73
|
+
this["_port"] = _0x34a0c2;
|
|
68
74
|
}
|
|
69
|
-
async [
|
|
70
|
-
const
|
|
71
|
-
if (!this[
|
|
72
|
-
this[
|
|
75
|
+
async [_0x4f2826(401)]() {
|
|
76
|
+
const _0x128b02 = _0x4f2826, _0x5486a4 = _0x4f2826;
|
|
77
|
+
if (!this[_0x128b02(422)]) return;
|
|
78
|
+
this[_0x5486a4(422)]["onmessage"] = (_0x589d80) => {
|
|
73
79
|
var _a, _b;
|
|
74
|
-
const
|
|
80
|
+
const _0x48ea76 = _0x128b02;
|
|
75
81
|
try {
|
|
76
|
-
const
|
|
77
|
-
(_a = this["onmessage"]) == null ? void 0 : _a.call(this,
|
|
78
|
-
} catch (
|
|
79
|
-
const
|
|
80
|
-
(_b = this[
|
|
82
|
+
const _0xb2e035 = JSONRPCMessageSchema["parse"](_0x589d80["data"]["message"]);
|
|
83
|
+
(_a = this["onmessage"]) == null ? void 0 : _a.call(this, _0xb2e035, _0x589d80[_0x48ea76(412)][_0x48ea76(428)]);
|
|
84
|
+
} catch (_0x28fd34) {
|
|
85
|
+
const _0x19f373 = new Error("MessageChannel failed to parse message: " + _0x28fd34);
|
|
86
|
+
(_b = this[_0x48ea76(383)]) == null ? void 0 : _b.call(this, _0x19f373);
|
|
81
87
|
}
|
|
82
|
-
}, this["_port"]["onmessageerror"] = (
|
|
88
|
+
}, this["_port"]["onmessageerror"] = (_0xf11ae3) => {
|
|
83
89
|
var _a;
|
|
84
|
-
const
|
|
85
|
-
(_a = this["onerror"]) == null ? void 0 : _a.call(this,
|
|
86
|
-
}, this[
|
|
87
|
-
}
|
|
88
|
-
async ["send"](
|
|
89
|
-
const
|
|
90
|
-
return
|
|
91
|
-
}, "
|
|
92
|
-
return
|
|
93
|
-
}, "
|
|
94
|
-
return
|
|
90
|
+
const _0x2e8678 = _0x5486a4, _0x2174a2 = new Error("MessageChannel transport error: " + JSON[_0x2e8678(415)](_0xf11ae3));
|
|
91
|
+
(_a = this["onerror"]) == null ? void 0 : _a.call(this, _0x2174a2);
|
|
92
|
+
}, this[_0x5486a4(422)]["start"]();
|
|
93
|
+
}
|
|
94
|
+
async ["send"](_0x53414e, _0x1fad39) {
|
|
95
|
+
const _0x242e50 = { "EoBZE": function(_0x5dfbdd) {
|
|
96
|
+
return _0x5dfbdd();
|
|
97
|
+
}, "leEiG": function(_0x2c92ea, _0x3a00c7) {
|
|
98
|
+
return _0x2c92ea instanceof _0x3a00c7;
|
|
99
|
+
}, "cDUwk": function(_0x502cb0, _0x62d20e) {
|
|
100
|
+
return _0x502cb0(_0x62d20e);
|
|
95
101
|
} };
|
|
96
|
-
return new Promise((
|
|
102
|
+
return new Promise((_0x27cc57, _0x179db2) => {
|
|
97
103
|
var _a;
|
|
98
|
-
const
|
|
104
|
+
const _0x1ce41e = _0xad7a, _0x5396c7 = _0xad7a;
|
|
99
105
|
try {
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
if (this[
|
|
105
|
-
|
|
106
|
-
} catch (
|
|
107
|
-
const
|
|
108
|
-
(_a = this[
|
|
106
|
+
const _0x4c1128 = {};
|
|
107
|
+
_0x4c1128[_0x1ce41e(404)] = _0x1fad39 == null ? void 0 : _0x1fad39[_0x1ce41e(404)];
|
|
108
|
+
const _0x2b6c6f = {};
|
|
109
|
+
_0x2b6c6f[_0x1ce41e(392)] = _0x53414e, _0x2b6c6f["extra"] = _0x4c1128;
|
|
110
|
+
if (this["_port"]) this["_port"][_0x5396c7(423)](_0x2b6c6f);
|
|
111
|
+
_0x242e50[_0x1ce41e(399)](_0x27cc57);
|
|
112
|
+
} catch (_0xd49ca8) {
|
|
113
|
+
const _0x306c32 = _0x242e50["leEiG"](_0xd49ca8, Error) ? _0xd49ca8 : new Error(_0x242e50["cDUwk"](String, _0xd49ca8));
|
|
114
|
+
(_a = this["onerror"]) == null ? void 0 : _a.call(this, _0x306c32), _0x179db2(_0x306c32);
|
|
109
115
|
}
|
|
110
116
|
});
|
|
111
117
|
}
|
|
112
118
|
async ["close"]() {
|
|
113
119
|
var _a, _b;
|
|
114
|
-
const
|
|
115
|
-
(_a = this["_port"]) == null ? void 0 : _a[
|
|
120
|
+
const _0x45fe11 = _0x4f2826, _0x27cc50 = _0x4f2826;
|
|
121
|
+
(_a = this["_port"]) == null ? void 0 : _a[_0x45fe11(393)](), this[_0x45fe11(422)] = void 0, (_b = this[_0x27cc50(408)]) == null ? void 0 : _b.call(this);
|
|
116
122
|
}
|
|
117
123
|
}
|
|
118
|
-
function _0x2dd1() {
|
|
119
|
-
const _0xc13ee7 = ["start", "18osCtKg", "RphJy", "FzgVC", "MJJde", "jnGTR", "LnNVQ", "1051519VVnrnU", "33477396wnvbno", "sxstg", "5032460FukhmU", "gdsVr", "11iMeJBh", "function", "_endpoint", "_listen", "1275704COqcWf", "56LfVOEz", "listen", "fDJxn", "undefined", "ports", "JlLHy", "4dKwrPa", "close", "onmessage", "postMessage", "authInfo", "11129553jiEKRY", "776455JhRkBm", "data", "port2", "onerror", "_port", "SUplI", "SjhYv", "extra", "cgHZW", "2982963YuFHfk", "OXUfv", "1sYviCF", "port1", "BODwV", "message", "ZJoRh", "_globalObject", "Pfhxv", "addEventListener"];
|
|
120
|
-
_0x2dd1 = function() {
|
|
121
|
-
return _0xc13ee7;
|
|
122
|
-
};
|
|
123
|
-
return _0x2dd1();
|
|
124
|
-
}
|
|
125
124
|
class MessageChannelClientTransport extends MessageChannelTransport {
|
|
126
|
-
constructor(
|
|
127
|
-
const
|
|
128
|
-
return
|
|
125
|
+
constructor(_0x20201a, _0x4e42d0 = getGlobalObject()) {
|
|
126
|
+
const _0xe917b4 = _0x4f2826, _0x2ee57a = { "lSpBh": function(_0x15fcf6, _0xd26994, _0x5aabc7, _0x5b05d2) {
|
|
127
|
+
return _0x15fcf6(_0xd26994, _0x5aabc7, _0x5b05d2);
|
|
129
128
|
} };
|
|
130
|
-
super(), this[
|
|
131
|
-
const
|
|
132
|
-
this["_port"] =
|
|
129
|
+
super(), this["_endpoint"] = _0x20201a, this["_globalObject"] = _0x4e42d0;
|
|
130
|
+
const _0x24f521 = new MessageChannel();
|
|
131
|
+
this["_port"] = _0x24f521[_0xe917b4(410)], _0x2ee57a[_0xe917b4(418)](sendMessage, this["_globalObject"], { "endpoint": this[_0xe917b4(397)] }, [_0x24f521[_0xe917b4(429)]]);
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
134
|
class MessageChannelServerTransport extends MessageChannelTransport {
|
|
136
|
-
constructor(
|
|
137
|
-
const
|
|
138
|
-
return
|
|
139
|
-
}, "
|
|
140
|
-
return
|
|
141
|
-
}, "
|
|
142
|
-
return
|
|
135
|
+
constructor(_0x3de1c8, _0x3c4f19 = getGlobalObject()) {
|
|
136
|
+
const _0x2eab2a = _0x4f2826, _0x26e754 = _0x4f2826, _0x496337 = { "HITdC": function(_0xf4906b, _0x545503) {
|
|
137
|
+
return _0xf4906b === _0x545503;
|
|
138
|
+
}, "QdDxM": function(_0xe02af1) {
|
|
139
|
+
return _0xe02af1();
|
|
140
|
+
}, "jowPp": function(_0x44b8f3, _0x17adcb, _0xc8cd9d) {
|
|
141
|
+
return _0x44b8f3(_0x17adcb, _0xc8cd9d);
|
|
143
142
|
} };
|
|
144
|
-
super(), this[
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
143
|
+
super(), this[_0x2eab2a(397)] = _0x3de1c8, this[_0x26e754(388)] = _0x3c4f19, this[_0x26e754(416)] = new Promise((_0x1e1df9) => {
|
|
144
|
+
const _0x5d87de = _0x2eab2a, _0xb8f004 = { "XlglK": function(_0xfd91d5, _0x4e700d) {
|
|
145
|
+
return _0x496337["HITdC"](_0xfd91d5, _0x4e700d);
|
|
146
|
+
}, "pXlad": function(_0x35325b) {
|
|
147
|
+
return _0x496337["QdDxM"](_0x35325b);
|
|
148
|
+
} };
|
|
149
|
+
_0x496337[_0x5d87de(427)](setMessageHandler, this["_globalObject"], (_0x594651) => {
|
|
150
|
+
const _0x598787 = _0x5d87de, _0x338e8d = _0x5d87de;
|
|
151
|
+
_0x594651[_0x598787(412)] && _0xb8f004["XlglK"](_0x594651["data"][_0x338e8d(396)], this["_endpoint"]) && (this[_0x598787(422)] = _0x594651[_0x338e8d(430)][122 * -38 + 1600 + -1518 * -2], _0xb8f004["pXlad"](_0x1e1df9));
|
|
149
152
|
});
|
|
150
153
|
});
|
|
151
154
|
}
|
|
152
|
-
async [
|
|
153
|
-
|
|
154
|
-
return this[_0xa20b7b(168)];
|
|
155
|
+
async ["listen"]() {
|
|
156
|
+
return this["_listen"];
|
|
155
157
|
}
|
|
156
158
|
}
|
|
159
|
+
function _0xf7c7() {
|
|
160
|
+
const _0x217378 = ["message", "close", "NZmUq", "177464iLQCGm", "endpoint", "_endpoint", "FPOYW", "EoBZE", "3022630ngzRBs", "start", "pTvSc", "272809yMhhPJ", "authInfo", "ktWqD", "21849KofsKk", "vQYJZ", "onclose", "mkHJS", "port1", "22dUTKmE", "data", "608229RXNlUs", "undefined", "stringify", "_listen", "onmessage", "lSpBh", "8FmlYyF", "XwdDB", "cHbAW", "_port", "postMessage", "kFtNB", "72572mbPnfL", "689424jqaGZE", "jowPp", "extra", "port2", "ports", "onerror", "Fzdib", "mkuHv", "addEventListener", "55juYkZZ", "_globalObject", "eOzBp", "ogKey", "return this"];
|
|
161
|
+
_0xf7c7 = function() {
|
|
162
|
+
return _0x217378;
|
|
163
|
+
};
|
|
164
|
+
return _0xf7c7();
|
|
165
|
+
}
|
|
166
|
+
function _0xad7a(_0x5c8efe, _0x17336f) {
|
|
167
|
+
const _0x4b62f0 = _0xf7c7();
|
|
168
|
+
return _0xad7a = function(_0x222a68, _0x35aa14) {
|
|
169
|
+
_0x222a68 = _0x222a68 - (9175 + 8052 + 1 * -16844);
|
|
170
|
+
let _0x4cf37b = _0x4b62f0[_0x222a68];
|
|
171
|
+
return _0x4cf37b;
|
|
172
|
+
}, _0xad7a(_0x5c8efe, _0x17336f);
|
|
173
|
+
}
|
|
157
174
|
const createTransportPair = () => {
|
|
158
|
-
const
|
|
159
|
-
return [new MessageChannelTransport(
|
|
175
|
+
const _0x4bcc62 = new MessageChannel();
|
|
176
|
+
return [new MessageChannelTransport(_0x4bcc62["port1"]), new MessageChannelTransport(_0x4bcc62["port2"])];
|
|
160
177
|
};
|
|
161
|
-
(function(
|
|
162
|
-
const
|
|
178
|
+
(function(_0x3d7f1e, _0xfc81c8) {
|
|
179
|
+
const _0x276c7b = _0x21a3, _0x2dfe35 = _0x21a3, _0x234d86 = _0x3d7f1e();
|
|
163
180
|
while (!![]) {
|
|
164
181
|
try {
|
|
165
|
-
const
|
|
166
|
-
if (
|
|
167
|
-
else
|
|
168
|
-
} catch (
|
|
169
|
-
|
|
182
|
+
const _0x380f07 = parseInt(_0x276c7b(452)) / (-9341 * 1 + 3580 + 5762) * (parseInt(_0x2dfe35(441)) / (-6775 + 1161 + 16 * 351)) + parseInt(_0x2dfe35(434)) / (-4159 + -9100 + -349 * -38) * (-parseInt(_0x2dfe35(418)) / (6 * -1155 + 1020 * 9 + 2246 * -1)) + parseInt(_0x276c7b(459)) / (-2939 * -1 + -7622 + 4688) + parseInt(_0x276c7b(482)) / (8451 * 1 + 426 * 14 + -14409) * (-parseInt(_0x276c7b(479)) / (8180 + 7314 + -17 * 911)) + -parseInt(_0x276c7b(458)) / (6370 + -4744 + -1618) * (parseInt(_0x276c7b(457)) / (10 * 983 + 2949 * -3 + -487 * 2)) + -parseInt(_0x2dfe35(416)) / (-1 * -8615 + 9674 + -18279) + -parseInt(_0x276c7b(450)) / (-9359 + 3829 + 5541) * (-parseInt(_0x276c7b(433)) / (6146 + -143 * 39 + 1 * -557));
|
|
183
|
+
if (_0x380f07 === _0xfc81c8) break;
|
|
184
|
+
else _0x234d86["push"](_0x234d86["shift"]());
|
|
185
|
+
} catch (_0x1d5794) {
|
|
186
|
+
_0x234d86["push"](_0x234d86["shift"]());
|
|
170
187
|
}
|
|
171
188
|
}
|
|
172
|
-
})(
|
|
173
|
-
const forwardServerRequest = async (
|
|
189
|
+
})(_0x3610, -411935 * 1 + 228107 + 208149 * 2);
|
|
190
|
+
const forwardServerRequest = async (_0x1da138, _0x46e2a5, _0xa7e9d) => {
|
|
174
191
|
var _a;
|
|
175
|
-
const
|
|
176
|
-
|
|
177
|
-
const
|
|
178
|
-
let
|
|
179
|
-
switch (
|
|
180
|
-
case "
|
|
181
|
-
|
|
192
|
+
const _0x334ed0 = _0x21a3, _0x4f511c = _0x21a3, _0x249fa5 = {};
|
|
193
|
+
_0x249fa5["VRyiJ"] = "tools/list", _0x249fa5["VkPYu"] = "tools/call", _0x249fa5[_0x334ed0(475)] = _0x334ed0(411), _0x249fa5["SoCaE"] = "resources/templates/list", _0x249fa5[_0x4f511c(484)] = "resources/read", _0x249fa5[_0x334ed0(461)] = "prompts/get", _0x249fa5["srIIC"] = _0x4f511c(477), _0x249fa5[_0x4f511c(436)] = _0x4f511c(478), _0x249fa5[_0x4f511c(442)] = _0x334ed0(437), _0x249fa5["dEmVs"] = _0x334ed0(465);
|
|
194
|
+
const _0x472708 = _0x249fa5, { id: _0x467a84, method: _0x866073, params: _0x4698ee } = _0xa7e9d;
|
|
195
|
+
let _0x413eb6 = {};
|
|
196
|
+
switch (_0x866073) {
|
|
197
|
+
case _0x472708["VRyiJ"]:
|
|
198
|
+
_0x413eb6 = await _0x46e2a5["listTools"](_0x4698ee);
|
|
182
199
|
break;
|
|
183
|
-
case
|
|
184
|
-
|
|
200
|
+
case _0x472708["VkPYu"]:
|
|
201
|
+
_0x413eb6 = await _0x46e2a5["callTool"](_0x4698ee);
|
|
185
202
|
break;
|
|
186
|
-
case
|
|
187
|
-
|
|
203
|
+
case _0x472708["fgMSD"]:
|
|
204
|
+
_0x413eb6 = await _0x46e2a5["listResources"](_0x4698ee);
|
|
188
205
|
break;
|
|
189
|
-
case
|
|
190
|
-
|
|
206
|
+
case _0x472708[_0x4f511c(466)]:
|
|
207
|
+
_0x413eb6 = await _0x46e2a5["listResourceTemplates"](_0x4698ee);
|
|
191
208
|
break;
|
|
192
|
-
case "
|
|
193
|
-
|
|
209
|
+
case _0x472708["sthgI"]:
|
|
210
|
+
_0x413eb6 = await _0x46e2a5[_0x334ed0(455)](_0x4698ee);
|
|
194
211
|
break;
|
|
195
|
-
case
|
|
196
|
-
|
|
212
|
+
case _0x4f511c(486):
|
|
213
|
+
_0x413eb6 = await _0x46e2a5["subscribeResource"](_0x4698ee);
|
|
197
214
|
break;
|
|
198
|
-
case
|
|
199
|
-
|
|
215
|
+
case _0x334ed0(410):
|
|
216
|
+
_0x413eb6 = await _0x46e2a5["unsubscribeResource"](_0x4698ee);
|
|
200
217
|
break;
|
|
201
|
-
case
|
|
202
|
-
|
|
218
|
+
case _0x472708[_0x4f511c(461)]:
|
|
219
|
+
_0x413eb6 = await _0x46e2a5[_0x4f511c(414)](_0x4698ee);
|
|
203
220
|
break;
|
|
204
|
-
case
|
|
205
|
-
|
|
221
|
+
case _0x472708[_0x334ed0(412)]:
|
|
222
|
+
_0x413eb6 = await _0x46e2a5[_0x334ed0(491)](_0x4698ee);
|
|
206
223
|
break;
|
|
207
|
-
case
|
|
208
|
-
|
|
224
|
+
case _0x472708[_0x334ed0(436)]:
|
|
225
|
+
_0x413eb6 = await _0x46e2a5[_0x334ed0(478)]();
|
|
209
226
|
break;
|
|
210
|
-
case
|
|
211
|
-
|
|
227
|
+
case _0x472708["kkNqg"]:
|
|
228
|
+
_0x413eb6 = await _0x46e2a5["complete"](_0x4698ee);
|
|
212
229
|
break;
|
|
213
|
-
case
|
|
214
|
-
|
|
230
|
+
case _0x334ed0(464):
|
|
231
|
+
_0x413eb6 = await _0x46e2a5["setLoggingLevel"](_0x4698ee == null ? void 0 : _0x4698ee[_0x4f511c(443)]);
|
|
215
232
|
break;
|
|
216
233
|
}
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
}, forwardClientRequest = async (
|
|
234
|
+
const _0x58de11 = {};
|
|
235
|
+
_0x58de11["result"] = _0x413eb6, _0x58de11["jsonrpc"] = _0x472708[_0x4f511c(472)], _0x58de11["id"] = _0x467a84, await ((_a = _0x1da138 == null ? void 0 : _0x1da138[_0x4f511c(488)]) == null ? void 0 : _a[_0x334ed0(460)](_0x58de11));
|
|
236
|
+
}, forwardClientRequest = async (_0x28a0ac, _0x338cef, _0x40baf5) => {
|
|
220
237
|
var _a;
|
|
221
|
-
const
|
|
222
|
-
|
|
223
|
-
const
|
|
224
|
-
let
|
|
225
|
-
switch (
|
|
226
|
-
case
|
|
227
|
-
const
|
|
228
|
-
|
|
238
|
+
const _0x5efcdf = _0x21a3, _0x450048 = _0x21a3, _0x2c33ce = {};
|
|
239
|
+
_0x2c33ce[_0x5efcdf(487)] = _0x450048(462), _0x2c33ce["ypHTC"] = "ping", _0x2c33ce["fPExS"] = _0x5efcdf(465);
|
|
240
|
+
const _0x319e5f = _0x2c33ce, { id: _0x70260b, method: _0x3f464d, params: _0x362734 } = _0x40baf5;
|
|
241
|
+
let _0xc56c52 = {};
|
|
242
|
+
switch (_0x3f464d) {
|
|
243
|
+
case "roots/list":
|
|
244
|
+
const _0x408740 = {};
|
|
245
|
+
_0x408740["method"] = _0x3f464d, _0x408740[_0x450048(446)] = _0x362734, _0xc56c52 = await _0x338cef[_0x5efcdf(469)](_0x408740, ListRootsResultSchema);
|
|
229
246
|
break;
|
|
230
247
|
case "sampling/createMessage":
|
|
231
|
-
const
|
|
232
|
-
|
|
248
|
+
const _0x14dd4f = {};
|
|
249
|
+
_0x14dd4f[_0x5efcdf(481)] = _0x3f464d, _0x14dd4f[_0x5efcdf(446)] = _0x362734, _0xc56c52 = await _0x338cef["request"](_0x14dd4f, CreateMessageResultSchema);
|
|
233
250
|
break;
|
|
234
|
-
case
|
|
235
|
-
const
|
|
236
|
-
|
|
251
|
+
case _0x319e5f[_0x5efcdf(487)]:
|
|
252
|
+
const _0x5991f6 = {};
|
|
253
|
+
_0x5991f6["method"] = _0x3f464d, _0x5991f6[_0x450048(446)] = _0x362734, _0xc56c52 = await _0x338cef["request"](_0x5991f6, ElicitResultSchema);
|
|
237
254
|
break;
|
|
238
|
-
case
|
|
239
|
-
const
|
|
240
|
-
|
|
255
|
+
case _0x319e5f["ypHTC"]:
|
|
256
|
+
const _0x41ab78 = {};
|
|
257
|
+
_0x41ab78["method"] = _0x3f464d, _0xc56c52 = await _0x338cef["request"](_0x41ab78, EmptyResultSchema);
|
|
241
258
|
break;
|
|
242
259
|
}
|
|
243
|
-
const
|
|
244
|
-
return
|
|
260
|
+
const _0x5e6d17 = {};
|
|
261
|
+
return _0x5e6d17["result"] = _0xc56c52, _0x5e6d17["jsonrpc"] = _0x319e5f["fPExS"], _0x5e6d17["id"] = _0x70260b, await ((_a = _0x28a0ac == null ? void 0 : _0x28a0ac["transport"]) == null ? void 0 : _a["send"](_0x5e6d17)), _0xc56c52;
|
|
245
262
|
};
|
|
246
|
-
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
263
|
+
function _0x21a3(_0x59a0be, _0x1661dd) {
|
|
264
|
+
const _0x4be0a9 = _0x3610();
|
|
265
|
+
return _0x21a3 = function(_0x137762, _0x29cfcd) {
|
|
266
|
+
_0x137762 = _0x137762 - (-71 * 113 + 4 * -2344 + -17809 * -1);
|
|
267
|
+
let _0x1f8d56 = _0x4be0a9[_0x137762];
|
|
268
|
+
return _0x1f8d56;
|
|
269
|
+
}, _0x21a3(_0x59a0be, _0x1661dd);
|
|
270
|
+
}
|
|
271
|
+
const forwardServerOnRequest = (_0x329455, _0x16d5d5) => {
|
|
272
|
+
const _0x5a2100 = _0x21a3, _0x4a22d9 = _0x21a3, _0x577008 = { "vYlhn": function(_0x330259, _0x50ff20) {
|
|
273
|
+
return _0x330259 === _0x50ff20;
|
|
274
|
+
}, "DhPFX": _0x5a2100(470), "NYVNC": function(_0x5732a5, _0x76d95c, _0x228f7f, _0x207877) {
|
|
275
|
+
return _0x5732a5(_0x76d95c, _0x228f7f, _0x207877);
|
|
276
|
+
}, "yfZbw": "2.0" }, _0x516d92 = _0x329455["_onrequest"];
|
|
277
|
+
_0x329455[_0x4a22d9(463)] = async (_0x5a04f0, _0xbef58f) => {
|
|
251
278
|
var _a, _b, _c, _d, _e;
|
|
252
|
-
const
|
|
279
|
+
const _0x54051b = _0x4a22d9, _0x80d773 = _0x5a2100, { id: _0x32bf38, method: _0x463a73 } = _0x5a04f0;
|
|
253
280
|
try {
|
|
254
|
-
|
|
255
|
-
} catch (
|
|
256
|
-
const { code:
|
|
281
|
+
_0x577008[_0x54051b(451)](_0x463a73, _0x577008["DhPFX"]) ? await _0x516d92["call"](_0x329455, _0x5a04f0, _0xbef58f) : await _0x577008[_0x80d773(474)](forwardServerRequest, _0x329455, _0x16d5d5, _0x5a04f0);
|
|
282
|
+
} catch (_0x508f60) {
|
|
283
|
+
const { code: _0x214832, message: _0xfed545, data: _0x33967a } = _0x508f60;
|
|
257
284
|
try {
|
|
258
|
-
if (
|
|
259
|
-
const
|
|
260
|
-
|
|
261
|
-
const
|
|
262
|
-
|
|
263
|
-
} else (_c = (_b =
|
|
264
|
-
} catch (
|
|
265
|
-
(_e = (_d =
|
|
285
|
+
if (_0x214832) {
|
|
286
|
+
const _0x15f047 = {};
|
|
287
|
+
_0x15f047[_0x80d773(485)] = _0x214832, _0x15f047[_0x54051b(422)] = _0xfed545, _0x15f047["data"] = _0x33967a;
|
|
288
|
+
const _0x567f35 = {};
|
|
289
|
+
_0x567f35[_0x80d773(448)] = _0x15f047, _0x567f35["jsonrpc"] = _0x577008[_0x54051b(417)], _0x567f35["id"] = _0x32bf38, await ((_a = _0x329455 == null ? void 0 : _0x329455["transport"]) == null ? void 0 : _a[_0x80d773(460)](_0x567f35));
|
|
290
|
+
} else (_c = (_b = _0x329455 == null ? void 0 : _0x329455["transport"]) == null ? void 0 : _b["onerror"]) == null ? void 0 : _c.call(_b, _0x508f60);
|
|
291
|
+
} catch (_0x541ca6) {
|
|
292
|
+
(_e = (_d = _0x329455 == null ? void 0 : _0x329455["transport"]) == null ? void 0 : _d["onerror"]) == null ? void 0 : _e.call(_d, _0x541ca6);
|
|
266
293
|
}
|
|
267
294
|
}
|
|
268
295
|
};
|
|
269
296
|
};
|
|
270
|
-
const forwardServerOnNotification = (
|
|
271
|
-
const
|
|
272
|
-
|
|
273
|
-
return
|
|
274
|
-
},
|
|
275
|
-
const
|
|
276
|
-
|
|
297
|
+
const forwardServerOnNotification = (_0x59fb06, _0xc053ae) => {
|
|
298
|
+
const _0xa34383 = _0x21a3, _0x5b22bf = _0x21a3, _0x4c9779 = {};
|
|
299
|
+
_0x4c9779[_0xa34383(476)] = _0xa34383(439), _0x4c9779[_0xa34383(431)] = function(_0x473631, _0x5f30f9) {
|
|
300
|
+
return _0x473631 !== _0x5f30f9;
|
|
301
|
+
}, _0x4c9779["UPdQt"] = "notifications/cancelled";
|
|
302
|
+
const _0x1bd652 = _0x4c9779;
|
|
303
|
+
_0x59fb06[_0xa34383(421)] = async (_0xa54d77) => {
|
|
277
304
|
var _a, _b;
|
|
278
|
-
const
|
|
279
|
-
if (
|
|
280
|
-
await
|
|
281
|
-
} catch (
|
|
282
|
-
(_b = (_a =
|
|
305
|
+
const _0x2e1bc3 = _0xa34383, _0x535235 = _0x5b22bf, { method: _0x33bd7f, params: _0x53a86f } = _0xa54d77;
|
|
306
|
+
if (_0x33bd7f !== _0x1bd652[_0x2e1bc3(476)] && (_0x1bd652["QWYMz"](_0x33bd7f, _0x1bd652["UPdQt"]) || (_0x53a86f == null ? void 0 : _0x53a86f[_0x535235(490)]))) try {
|
|
307
|
+
await _0xc053ae[_0x2e1bc3(445)](_0xa54d77);
|
|
308
|
+
} catch (_0x113034) {
|
|
309
|
+
(_b = (_a = _0x59fb06 == null ? void 0 : _0x59fb06[_0x2e1bc3(488)]) == null ? void 0 : _a[_0x2e1bc3(480)]) == null ? void 0 : _b.call(_a, _0x113034);
|
|
283
310
|
}
|
|
284
311
|
};
|
|
285
312
|
};
|
|
286
|
-
const forwardClientOnRequest = (
|
|
313
|
+
const forwardClientOnRequest = (_0x30f928, _0x3f46c8) => async (_0x31962c) => {
|
|
287
314
|
var _a, _b, _c, _d, _e;
|
|
288
|
-
const
|
|
289
|
-
return
|
|
290
|
-
}, "
|
|
315
|
+
const _0x356ff8 = _0x21a3, _0x26811b = _0x21a3, _0x1cab49 = { "TJhyV": function(_0x18467a, _0x4aa001, _0x48eb92, _0x5965f6) {
|
|
316
|
+
return _0x18467a(_0x4aa001, _0x48eb92, _0x5965f6);
|
|
317
|
+
}, "MMNTY": _0x356ff8(465) };
|
|
291
318
|
try {
|
|
292
|
-
return await
|
|
293
|
-
} catch (
|
|
294
|
-
const { code:
|
|
319
|
+
return await _0x1cab49["TJhyV"](forwardClientRequest, _0x30f928, _0x3f46c8, _0x31962c);
|
|
320
|
+
} catch (_0x29fecb) {
|
|
321
|
+
const { code: _0x3da4f4, message: _0x3bdceb, data: _0x3744ea } = _0x29fecb;
|
|
295
322
|
try {
|
|
296
|
-
if (
|
|
297
|
-
const
|
|
298
|
-
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
} else (_c = (_b =
|
|
302
|
-
} catch (
|
|
303
|
-
(_e = (_d =
|
|
323
|
+
if (_0x3da4f4) {
|
|
324
|
+
const _0x3e55f6 = {};
|
|
325
|
+
_0x3e55f6["code"] = _0x3da4f4, _0x3e55f6[_0x356ff8(422)] = _0x3bdceb, _0x3e55f6[_0x26811b(419)] = _0x3744ea;
|
|
326
|
+
const _0x290f0d = {};
|
|
327
|
+
_0x290f0d[_0x356ff8(448)] = _0x3e55f6, _0x290f0d[_0x356ff8(424)] = _0x1cab49["MMNTY"], _0x290f0d["id"] = _0x31962c["id"], await ((_a = _0x30f928 == null ? void 0 : _0x30f928["transport"]) == null ? void 0 : _a[_0x26811b(460)](_0x290f0d));
|
|
328
|
+
} else (_c = (_b = _0x30f928 == null ? void 0 : _0x30f928["transport"]) == null ? void 0 : _b[_0x356ff8(480)]) == null ? void 0 : _c.call(_b, _0x29fecb);
|
|
329
|
+
} catch (_0x1c8062) {
|
|
330
|
+
(_e = (_d = _0x30f928 == null ? void 0 : _0x30f928[_0x356ff8(488)]) == null ? void 0 : _d["onerror"]) == null ? void 0 : _e.call(_d, _0x1c8062);
|
|
304
331
|
}
|
|
305
332
|
}
|
|
306
333
|
};
|
|
307
|
-
|
|
308
|
-
const _0x25ea07 = ["level", "originalOnResponse", "55170mBdYDU", "message", "forward", "completion/complete", "YTglM", "_onrequest", "push", "resources/subscribe", "method", "evRYg", "IwJLf", "36vWOzfl", "INhFO", "ERLmZ", "4771400ICkNjz", "removeListener", "bepKH", "jsonrpc", "1588030zEKxZA", "readResource", "request", "indexOf", "_onresponse", "elicitation/create", "transport", "listResourceTemplates", "SAxlc", "TivTb", "VvMvg", "lKSxx", "resources/templates/list", "send", "removeRequestListener", "resources/list", "HHuTf", "error", "unsubscribeResource", "JgvOQ", "params", "HMnPG", "mKgNI", "initialize", "2.0", "clearListener", "result", "xAZkD", "_onnotification", "notifications/initialized", "DNAeN", "deQam", "18856juHcqp", "1408312pVrTzy", "exSlO", "_notificationHandlers", "fallbackRequestHandler", "1770391vhkQKM", "clear", "length", "917098eoebuK", "onerror", "eBAUu", "subscribeResource", "get", "clearRequestListener", "dFopk", "listPrompts", "2853mVPrjm", "addNotificationListener", "lfNNa", "prompts/list", "code", "call", "18wkYBws", "addResponseListener", "data", "RZSpk"];
|
|
309
|
-
_0x5c4b = function() {
|
|
310
|
-
return _0x25ea07;
|
|
311
|
-
};
|
|
312
|
-
return _0x5c4b();
|
|
313
|
-
}
|
|
314
|
-
const forwardClientOnNotification = (_0x56a744, _0x5bc58a) => async (_0x229c21) => {
|
|
334
|
+
const forwardClientOnNotification = (_0x320cea, _0x3f25ca) => async (_0x4767e2) => {
|
|
315
335
|
var _a, _b, _c;
|
|
316
|
-
const
|
|
317
|
-
|
|
318
|
-
return
|
|
319
|
-
},
|
|
320
|
-
const
|
|
321
|
-
if (
|
|
322
|
-
const
|
|
323
|
-
|
|
324
|
-
} catch (
|
|
325
|
-
(_c = (_b =
|
|
336
|
+
const _0x1d24fb = _0x21a3, _0x27d938 = _0x21a3, _0x213b9b = {};
|
|
337
|
+
_0x213b9b["xmcLM"] = function(_0x12d227, _0x276a63) {
|
|
338
|
+
return _0x12d227 !== _0x276a63;
|
|
339
|
+
}, _0x213b9b["xSWLt"] = "notifications/initialized", _0x213b9b[_0x1d24fb(420)] = _0x27d938(453);
|
|
340
|
+
const _0x1e4b70 = _0x213b9b, { method: _0x4711e2, params: _0x108731 } = _0x4767e2;
|
|
341
|
+
if (_0x1e4b70["xmcLM"](_0x4711e2, _0x1e4b70["xSWLt"]) && (_0x1e4b70["xmcLM"](_0x4711e2, _0x1e4b70[_0x27d938(420)]) || (_0x108731 == null ? void 0 : _0x108731[_0x27d938(490)]))) try {
|
|
342
|
+
const _0x8005f4 = { ..._0x4767e2 };
|
|
343
|
+
_0x8005f4["jsonrpc"] = _0x1d24fb(465), await ((_a = _0x3f25ca == null ? void 0 : _0x3f25ca[_0x1d24fb(488)]) == null ? void 0 : _a["send"](_0x8005f4));
|
|
344
|
+
} catch (_0x32056a) {
|
|
345
|
+
(_c = (_b = _0x320cea == null ? void 0 : _0x320cea["transport"]) == null ? void 0 : _b["onerror"]) == null ? void 0 : _c.call(_b, _0x32056a);
|
|
326
346
|
}
|
|
327
347
|
};
|
|
328
|
-
function
|
|
329
|
-
const
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
}, _0x39e0(_0x3bf758, _0x40c6b7);
|
|
348
|
+
function _0x3610() {
|
|
349
|
+
const _0x541b55 = ["JMaxV", "cNneM", "completion/complete", "addResponseListener", "notifications/initialized", "call", "570686biwZQB", "kkNqg", "level", "addNotificationListener", "notification", "params", "addListener", "error", "_onresponse", "164054EGcqjc", "vYlhn", "1PDRdga", "notifications/cancelled", "_requestHandlers", "readResource", "FjTAY", "1782ueLDLp", "4496TJFZWc", "1767765yPcVQJ", "send", "HefvS", "elicitation/create", "_onrequest", "logging/setLevel", "2.0", "SoCaE", "HucXo", "function", "request", "initialize", "push", "dEmVs", "addRequestListener", "NYVNC", "fgMSD", "CSjwA", "prompts/list", "ping", "35pZrnNj", "onerror", "method", "238086YifXhM", "get", "sthgI", "code", "resources/subscribe", "sttJM", "transport", "jsmFN", "forward", "listPrompts", "resources/unsubscribe", "resources/list", "srIIC", "originalOnResponse", "getPrompt", "indexOf", "3653560KcjkMk", "yfZbw", "4SAWlvk", "data", "rCDHw", "_onnotification", "message", "UlqiY", "jsonrpc", "yCyFn", "clearNotificationListener", "VWsxO", "name", "UynHf", "length", "QWYMz", "fallbackRequestHandler", "492jTClKn", "1028589HsbHVQ"];
|
|
350
|
+
_0x3610 = function() {
|
|
351
|
+
return _0x541b55;
|
|
352
|
+
};
|
|
353
|
+
return _0x3610();
|
|
335
354
|
}
|
|
336
|
-
const forwardClientOnResponse = (
|
|
355
|
+
const forwardClientOnResponse = (_0x52736d, _0x58c3cf) => async (_0xd20f53) => {
|
|
337
356
|
var _a, _b, _c, _d, _e, _f;
|
|
338
|
-
const
|
|
339
|
-
|
|
340
|
-
const
|
|
357
|
+
const _0xf4b324 = _0x21a3, _0x2956df = _0x21a3, _0x4964bc = {};
|
|
358
|
+
_0x4964bc["kSvAZ"] = _0xf4b324(465);
|
|
359
|
+
const _0x4c53ce = _0x4964bc;
|
|
341
360
|
try {
|
|
342
|
-
await ((_a =
|
|
343
|
-
} catch (
|
|
344
|
-
const { code:
|
|
361
|
+
await ((_a = _0x58c3cf == null ? void 0 : _0x58c3cf[_0x2956df(488)]) == null ? void 0 : _a[_0x2956df(460)](_0xd20f53));
|
|
362
|
+
} catch (_0x1408a9) {
|
|
363
|
+
const { code: _0x512075, message: _0xe99b85, data: _0x347365 } = _0x1408a9;
|
|
345
364
|
try {
|
|
346
|
-
if (
|
|
347
|
-
const
|
|
348
|
-
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
} else (_d = (_c =
|
|
352
|
-
} catch (
|
|
353
|
-
(_f = (_e =
|
|
365
|
+
if (_0x512075) {
|
|
366
|
+
const _0x6472f2 = {};
|
|
367
|
+
_0x6472f2["code"] = _0x512075, _0x6472f2["message"] = _0xe99b85, _0x6472f2["data"] = _0x347365;
|
|
368
|
+
const _0x41cab2 = {};
|
|
369
|
+
_0x41cab2["error"] = _0x6472f2, _0x41cab2[_0x2956df(424)] = _0x4c53ce["kSvAZ"], _0x41cab2["id"] = _0xd20f53["id"], await ((_b = _0x52736d == null ? void 0 : _0x52736d["transport"]) == null ? void 0 : _b["send"](_0x41cab2));
|
|
370
|
+
} else (_d = (_c = _0x52736d == null ? void 0 : _0x52736d["transport"]) == null ? void 0 : _c[_0xf4b324(480)]) == null ? void 0 : _d.call(_c, _0x1408a9);
|
|
371
|
+
} catch (_0x1e60d2) {
|
|
372
|
+
(_f = (_e = _0x52736d == null ? void 0 : _0x52736d[_0xf4b324(488)]) == null ? void 0 : _e[_0x2956df(480)]) == null ? void 0 : _f.call(_e, _0x1e60d2);
|
|
354
373
|
}
|
|
355
374
|
}
|
|
356
375
|
};
|
|
357
376
|
const createHandleListener = () => {
|
|
358
|
-
const
|
|
359
|
-
return
|
|
360
|
-
}, "
|
|
361
|
-
return
|
|
362
|
-
}, "
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
const _0x266ba4 = _0x39e0;
|
|
368
|
-
if (_0x5bcb4c) {
|
|
369
|
-
const _0x20b740 = [];
|
|
370
|
-
for (const _0xd61b85 of _0x3fed1f) {
|
|
377
|
+
const _0xac9689 = _0x21a3, _0x1107c8 = { "rgPZO": function(_0x5d043a, _0x1def76) {
|
|
378
|
+
return _0x5d043a !== _0x1def76;
|
|
379
|
+
}, "VWsxO": function(_0x2ade8e, _0xecf54) {
|
|
380
|
+
return _0x2ade8e(_0xecf54);
|
|
381
|
+
}, "FjTAY": "function" }, _0x2eb4ef = [], _0x4b0952 = (_0x496b22, _0x2a3c52) => {
|
|
382
|
+
const _0x4de46f = _0x21a3;
|
|
383
|
+
if (_0x2a3c52) {
|
|
384
|
+
const _0x568d5d = [];
|
|
385
|
+
for (const _0x3baad7 of _0x2eb4ef) {
|
|
371
386
|
try {
|
|
372
|
-
|
|
387
|
+
_0x568d5d["push"](_0x3baad7(_0x496b22, _0x2a3c52));
|
|
373
388
|
} catch {
|
|
374
389
|
}
|
|
375
390
|
}
|
|
376
|
-
for (const
|
|
377
|
-
if (
|
|
391
|
+
for (const _0x5f4b66 of _0x568d5d) {
|
|
392
|
+
if (_0x1107c8["rgPZO"](_0x5f4b66, null)) return _0x5f4b66;
|
|
378
393
|
}
|
|
379
|
-
} else for (const
|
|
394
|
+
} else for (const _0xbf6e37 of _0x2eb4ef) {
|
|
380
395
|
try {
|
|
381
|
-
|
|
396
|
+
_0x1107c8[_0x4de46f(427)](_0xbf6e37, _0x496b22);
|
|
382
397
|
} catch {
|
|
383
398
|
}
|
|
384
399
|
}
|
|
385
|
-
},
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
},
|
|
389
|
-
const
|
|
390
|
-
|
|
391
|
-
},
|
|
392
|
-
const
|
|
393
|
-
|
|
394
|
-
},
|
|
395
|
-
return
|
|
396
|
-
}, setClientListener = (
|
|
397
|
-
const
|
|
398
|
-
return
|
|
399
|
-
}, "
|
|
400
|
-
return
|
|
401
|
-
}, "SwOnF": function(_0xbb267d) {
|
|
402
|
-
return _0xbb267d();
|
|
400
|
+
}, _0x55a910 = (_0x173206) => {
|
|
401
|
+
const _0xcd10e3 = _0x21a3, _0x1d3d8a = _0x21a3;
|
|
402
|
+
typeof _0x173206 === _0x1107c8[_0xcd10e3(456)] && !_0x2eb4ef["includes"](_0x173206) && _0x2eb4ef[_0x1d3d8a(471)](_0x173206);
|
|
403
|
+
}, _0x5bbfbf = (_0x5069e7) => {
|
|
404
|
+
const _0x26df23 = _0x21a3, _0x270444 = _0x2eb4ef[_0x26df23(415)](_0x5069e7);
|
|
405
|
+
_0x270444 !== -1 && _0x2eb4ef["splice"](_0x270444, -9598 + -7993 + 6 * 2932);
|
|
406
|
+
}, _0x5e8325 = () => {
|
|
407
|
+
const _0x1c5cd6 = _0x21a3;
|
|
408
|
+
_0x2eb4ef[_0x1c5cd6(430)] = -505 * 7 + 1322 + 2213;
|
|
409
|
+
}, _0x192b11 = {};
|
|
410
|
+
return _0x192b11["handleListener"] = _0x4b0952, _0x192b11[_0xac9689(447)] = _0x55a910, _0x192b11["removeListener"] = _0x5bbfbf, _0x192b11["clearListener"] = _0x5e8325, _0x192b11;
|
|
411
|
+
}, setClientListener = (_0x3f2a4b) => {
|
|
412
|
+
const _0x2b0dcf = _0x21a3, _0x59aa79 = _0x21a3, _0x1dbe74 = { "UlqiY": function(_0x29f7e1) {
|
|
413
|
+
return _0x29f7e1();
|
|
414
|
+
}, "jsmFN": function(_0x491d18) {
|
|
415
|
+
return _0x491d18();
|
|
403
416
|
} };
|
|
404
417
|
{
|
|
405
|
-
const { handleListener:
|
|
406
|
-
|
|
418
|
+
const { handleListener: _0x396f91, addListener: _0xd63d09, removeListener: _0x5219aa, clearListener: _0x2d1072 } = _0x1dbe74[_0x2b0dcf(423)](createHandleListener);
|
|
419
|
+
_0x3f2a4b["_onresponse"] = _0x396f91, _0x3f2a4b[_0x59aa79(438)] = _0xd63d09, _0x3f2a4b["removeResponseListener"] = _0x5219aa, _0x3f2a4b["clearResponseListener"] = _0x2d1072;
|
|
407
420
|
}
|
|
408
421
|
{
|
|
409
|
-
const { handleListener:
|
|
410
|
-
|
|
422
|
+
const { handleListener: _0x22f5be, addListener: _0x3da798, removeListener: _0x288ae5, clearListener: _0x351358 } = _0x1dbe74[_0x2b0dcf(489)](createHandleListener);
|
|
423
|
+
_0x3f2a4b[_0x2b0dcf(432)] = _0x22f5be, _0x3f2a4b[_0x59aa79(473)] = _0x3da798, _0x3f2a4b["removeRequestListener"] = _0x288ae5, _0x3f2a4b["clearRequestListener"] = _0x351358;
|
|
411
424
|
}
|
|
412
425
|
{
|
|
413
|
-
const { handleListener:
|
|
414
|
-
|
|
426
|
+
const { handleListener: _0x2ac8fa, addListener: _0x7c4ea0, removeListener: _0x5e1228, clearListener: _0x2230ce } = _0x1dbe74["jsmFN"](createHandleListener);
|
|
427
|
+
_0x3f2a4b["fallbackNotificationHandler"] = _0x2ac8fa, _0x3f2a4b[_0x2b0dcf(444)] = _0x7c4ea0, _0x3f2a4b["removeNotificationListener"] = _0x5e1228, _0x3f2a4b[_0x59aa79(426)] = _0x2230ce;
|
|
415
428
|
}
|
|
416
429
|
};
|
|
417
|
-
const initClientHandler = (
|
|
418
|
-
const
|
|
419
|
-
return
|
|
420
|
-
}, "
|
|
421
|
-
return
|
|
422
|
-
}, "
|
|
423
|
-
return
|
|
424
|
-
}, "
|
|
425
|
-
return
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
430
|
+
const initClientHandler = (_0x44fc4b, { beforeInit: _0x2f7bcf, afterInit: _0x3a8b46 } = {}) => {
|
|
431
|
+
const _0xd1a2a = _0x21a3, _0x2c5aa6 = _0x21a3, _0xd894da = { "HucXo": function(_0x4f3317, _0x48b59e) {
|
|
432
|
+
return _0x4f3317 === _0x48b59e;
|
|
433
|
+
}, "HicFO": _0xd1a2a(468), "JMaxV": function(_0x38cdf8) {
|
|
434
|
+
return _0x38cdf8();
|
|
435
|
+
}, "DclXr": function(_0x2d9c7c, _0x40079a) {
|
|
436
|
+
return _0x2d9c7c(_0x40079a);
|
|
437
|
+
}, "UynHf": function(_0xe96982, _0x5d6dbc) {
|
|
438
|
+
return _0xe96982 === _0x5d6dbc;
|
|
439
|
+
}, "yCyFn": function(_0x2d408b) {
|
|
440
|
+
return _0x2d408b();
|
|
441
|
+
} }, _0x2ed60f = new Map(_0x44fc4b["_notificationHandlers"]);
|
|
442
|
+
_0x44fc4b[_0xd1a2a(454)]["clear"](), _0x44fc4b["_notificationHandlers"]["clear"](), _0xd894da["HucXo"](typeof _0x2f7bcf, _0xd894da["HicFO"]) && _0xd894da[_0xd1a2a(435)](_0x2f7bcf), _0xd894da[_0xd1a2a(467)](_0x44fc4b[_0xd1a2a(449)][_0x2c5aa6(428)], _0xd1a2a(449)) && (_0x44fc4b[_0x2c5aa6(413)] = _0x44fc4b[_0x2c5aa6(449)]), _0xd894da["DclXr"](setClientListener, _0x44fc4b), _0x44fc4b[_0x2c5aa6(438)]((_0x2331a6) => {
|
|
443
|
+
const _0x34d91a = _0xd1a2a;
|
|
444
|
+
_0x44fc4b["originalOnResponse"][_0x34d91a(440)](_0x44fc4b, _0x2331a6);
|
|
445
|
+
}), _0xd894da[_0xd1a2a(429)](typeof _0x3a8b46, _0xd894da["HicFO"]) && _0xd894da[_0x2c5aa6(425)](_0x3a8b46), _0x44fc4b[_0x2c5aa6(444)]((_0x339f8e) => {
|
|
446
|
+
const _0x4a50fe = _0x2c5aa6, { method: _0x325e41 } = _0x339f8e, _0x11bd8a = _0x2ed60f[_0x4a50fe(483)](_0x325e41);
|
|
447
|
+
_0xd894da[_0x4a50fe(467)](typeof _0x11bd8a, "function") && _0x11bd8a(_0x339f8e);
|
|
433
448
|
});
|
|
434
449
|
};
|
|
435
|
-
const
|
|
436
|
-
function
|
|
437
|
-
const
|
|
438
|
-
return _0x1297 = function(_0x2f5cb5, _0x4e91df) {
|
|
439
|
-
_0x2f5cb5 = _0x2f5cb5 - (-499 * 3 + 1 * -890 + -337 * -8);
|
|
440
|
-
let _0xf2c16e = _0x40b1f3[_0x2f5cb5];
|
|
441
|
-
return _0xf2c16e;
|
|
442
|
-
}, _0x1297(_0x430353, _0x592bca);
|
|
443
|
-
}
|
|
444
|
-
(function(_0x63ec62, _0x14ec52) {
|
|
445
|
-
const _0x75460f = _0x1297, _0x264884 = _0x1297, _0x3d2de = _0x63ec62();
|
|
450
|
+
const _0x580c11 = _0x3345;
|
|
451
|
+
(function(_0x478e44, _0xa6dc8a) {
|
|
452
|
+
const _0x25e00b = _0x3345, _0x47302c = _0x3345, _0x2eda2a = _0x478e44();
|
|
446
453
|
while (!![]) {
|
|
447
454
|
try {
|
|
448
|
-
const
|
|
449
|
-
if (
|
|
450
|
-
else
|
|
451
|
-
} catch (
|
|
452
|
-
|
|
455
|
+
const _0x494140 = parseInt(_0x25e00b(215)) / (886 + 503 * 15 + -8430) * (-parseInt(_0x47302c(217)) / (-8610 + 2472 + -6140 * -1)) + parseInt(_0x25e00b(216)) / (3238 * -1 + -3707 + 3474 * 2) + parseInt(_0x25e00b(210)) / (-37 * -228 + 1 * 8449 + -5627 * 3) * (parseInt(_0x47302c(223)) / (-7747 + -4788 + 1 * 12540)) + -parseInt(_0x47302c(214)) / (4967 + 1364 + -6325) * (parseInt(_0x47302c(220)) / (4 * 1044 + -3 * 1182 + -623)) + parseInt(_0x47302c(212)) / (-2957 * 3 + 1472 + -1 * -7407) * (parseInt(_0x25e00b(228)) / (-1937 + -1990 + 3936)) + parseInt(_0x25e00b(219)) / (-173 * 57 + -25 * 296 + 101 * 171) + parseInt(_0x25e00b(222)) / (-8629 + -58 * -157 + -466) * (parseInt(_0x25e00b(224)) / (-7707 + 181 * -29 + 12968));
|
|
456
|
+
if (_0x494140 === _0xa6dc8a) break;
|
|
457
|
+
else _0x2eda2a["push"](_0x2eda2a["shift"]());
|
|
458
|
+
} catch (_0x46fc95) {
|
|
459
|
+
_0x2eda2a["push"](_0x2eda2a["shift"]());
|
|
453
460
|
}
|
|
454
461
|
}
|
|
455
|
-
})(
|
|
462
|
+
})(_0x15b2, 995159 + -6 * -266138 + -1619768);
|
|
456
463
|
const randomUUID = () => {
|
|
457
|
-
const
|
|
458
|
-
|
|
459
|
-
return
|
|
460
|
-
},
|
|
461
|
-
return
|
|
462
|
-
},
|
|
463
|
-
return
|
|
464
|
-
},
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
const _0x243f0f = _0x130126, _0x546fa8 = _0x130126, _0x1446e2 = _0x50bbd[_0x243f0f(317)](crypto[_0x546fa8(321)](new Uint8Array(-8718 + 124 * 25 + 5619))[-6393 + -329 * -4 + 1 * 5077], 222 * -2 + -5419 * -1 + -496 * 10), _0x5e28a6 = _0x314035 === "x" ? _0x1446e2 : _0x50bbd["koxtC"](_0x50bbd["CJbSq"](_0x1446e2, 333 + 1177 + 1 * -1507), 737 * -3 + -3740 + 5959);
|
|
471
|
-
return _0x5e28a6["toString"](-2193 + -5935 + 8144);
|
|
464
|
+
const _0xb079cb = _0x3345, _0x528f08 = _0x3345, _0x5a8a43 = {};
|
|
465
|
+
_0x5a8a43["svuxn"] = function(_0x193cff, _0x4c5d10) {
|
|
466
|
+
return _0x193cff & _0x4c5d10;
|
|
467
|
+
}, _0x5a8a43["ZUPdr"] = function(_0x332e8b, _0x121e9f) {
|
|
468
|
+
return _0x332e8b === _0x121e9f;
|
|
469
|
+
}, _0x5a8a43[_0xb079cb(227)] = function(_0x255fbc, _0x2ab97f) {
|
|
470
|
+
return _0x255fbc === _0x2ab97f;
|
|
471
|
+
}, _0x5a8a43["SpRzi"] = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";
|
|
472
|
+
const _0x43115c = _0x5a8a43;
|
|
473
|
+
if (_0x43115c[_0x528f08(227)](typeof crypto, "object") && crypto[_0xb079cb(211)]) return crypto["randomUUID"]();
|
|
474
|
+
return _0x43115c["SpRzi"]["replace"](/[xy]/g, (_0x362ab3) => {
|
|
475
|
+
const _0x14d41e = _0xb079cb, _0x2776e = _0x43115c["svuxn"](crypto["getRandomValues"](new Uint8Array(-3798 + 8571 * -1 + 12370))[5599 + -7924 + -25 * -93], 46 * -149 + -1470 + 8339 * 1), _0x3ff335 = _0x43115c[_0x14d41e(225)](_0x362ab3, "x") ? _0x2776e : _0x43115c[_0x14d41e(209)](_0x2776e, 28 * -139 + 58 * -157 + -1 * -13001) | 813 * 10 + -3707 + 883 * -5;
|
|
476
|
+
return _0x3ff335["toString"](-1 * -1851 + 6493 + -8328);
|
|
472
477
|
});
|
|
473
|
-
}, randomBytes = (
|
|
474
|
-
const
|
|
475
|
-
return crypto[
|
|
476
|
-
},
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
478
|
+
}, randomBytes = (_0x4e1e74) => {
|
|
479
|
+
const _0x52a103 = _0x3345, _0x49e565 = _0x3345, _0x133a67 = new Uint8Array(_0x4e1e74);
|
|
480
|
+
return crypto[_0x52a103(221)](_0x133a67), Array[_0x49e565(218)](_0x133a67, (_0x268787) => _0x268787[_0x49e565(226)](39 * 181 + 4365 + 4 * -2852)["padStart"](7831 + 1119 + 2237 * -4, "0"))[_0x52a103(213)]("");
|
|
481
|
+
}, _0x5e2e0a = {};
|
|
482
|
+
_0x5e2e0a[_0x580c11(211)] = randomUUID, _0x5e2e0a["randomBytes"] = randomBytes;
|
|
483
|
+
function _0x3345(_0x7cf9, _0x178965) {
|
|
484
|
+
const _0x30367e = _0x15b2();
|
|
485
|
+
return _0x3345 = function(_0x5db3dc, _0x53b88a) {
|
|
486
|
+
_0x5db3dc = _0x5db3dc - (-7373 + 7187 * 1 + 395);
|
|
487
|
+
let _0x1b99a4 = _0x30367e[_0x5db3dc];
|
|
488
|
+
return _0x1b99a4;
|
|
489
|
+
}, _0x3345(_0x7cf9, _0x178965);
|
|
490
|
+
}
|
|
491
|
+
function _0x15b2() {
|
|
492
|
+
const _0x18a9ba = ["join", "2500590yHdCUG", "3CzpgOE", "219762yRRBUK", "592022JqIdxi", "from", "6033730pSHJFF", "28gKZiuO", "getRandomValues", "147169GUBreL", "5fFOMNB", "1140KVOWlq", "ZUPdr", "toString", "DBGzc", "45351XtLuDF", "svuxn", "9892WpQPGF", "randomUUID", "2504EaskHQ"];
|
|
493
|
+
_0x15b2 = function() {
|
|
494
|
+
return _0x18a9ba;
|
|
481
495
|
};
|
|
482
|
-
return
|
|
496
|
+
return _0x15b2();
|
|
483
497
|
}
|
|
484
|
-
|
|
485
|
-
const
|
|
486
|
-
|
|
487
|
-
|
|
498
|
+
function _0xd139(_0x296853, _0x37f015) {
|
|
499
|
+
const _0x5da840 = _0x3ca7();
|
|
500
|
+
return _0xd139 = function(_0x54e7ad, _0x50f639) {
|
|
501
|
+
_0x54e7ad = _0x54e7ad - (-1483 * 3 + -5564 + 20 * 513);
|
|
502
|
+
let _0x14a7dc = _0x5da840[_0x54e7ad];
|
|
503
|
+
return _0x14a7dc;
|
|
504
|
+
}, _0xd139(_0x296853, _0x37f015);
|
|
505
|
+
}
|
|
506
|
+
const _0x403f63 = _0xd139, _0x165645 = _0xd139;
|
|
507
|
+
(function(_0x1a9ffe, _0x259fb9) {
|
|
508
|
+
const _0x1f17e3 = _0xd139, _0x385b90 = _0xd139, _0x2090d1 = _0x1a9ffe();
|
|
488
509
|
while (!![]) {
|
|
489
510
|
try {
|
|
490
|
-
const
|
|
491
|
-
if (
|
|
492
|
-
else
|
|
493
|
-
} catch (
|
|
494
|
-
|
|
511
|
+
const _0x575940 = parseInt(_0x1f17e3(302)) / (483 * -9 + -8479 + 127 * 101) + -parseInt(_0x385b90(249)) / (-109 * -51 + 8949 + -14506) + -parseInt(_0x1f17e3(291)) / (155 * 4 + -7609 + -2 * -3496) + -parseInt(_0x1f17e3(292)) / (-4223 + 1 * -2293 + 6520) * (parseInt(_0x1f17e3(264)) / (-2453 * -1 + 2607 + -5055)) + -parseInt(_0x385b90(273)) / (5458 + -70 * -15 + -6502) * (parseInt(_0x1f17e3(266)) / (-1 * -739 + -3 * 2669 + -7275 * -1)) + parseInt(_0x1f17e3(300)) / (-1069 + 1 * 9049 + -7972) * (parseInt(_0x1f17e3(269)) / (602 * 11 + 72 * -73 + -1357)) + parseInt(_0x385b90(255)) / (-11 * 888 + 2728 + 7050) * (parseInt(_0x1f17e3(284)) / (-6908 + 3298 + 3621));
|
|
512
|
+
if (_0x575940 === _0x259fb9) break;
|
|
513
|
+
else _0x2090d1["push"](_0x2090d1["shift"]());
|
|
514
|
+
} catch (_0x44a878) {
|
|
515
|
+
_0x2090d1["push"](_0x2090d1["shift"]());
|
|
495
516
|
}
|
|
496
517
|
}
|
|
497
|
-
})(
|
|
498
|
-
|
|
499
|
-
const
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
const forwardProxyClient = (_0x4c41bd, _0x381031) => {
|
|
506
|
-
const _0x437eca = _0x2455, _0x538232 = _0x2455, _0x13e513 = { "MRyfg": function(_0x153d8c, _0x551dc1, _0x3e4d0e) {
|
|
507
|
-
return _0x153d8c(_0x551dc1, _0x3e4d0e);
|
|
518
|
+
})(_0x3ca7, -4 * 308317 + 753182 * 2 + 658196);
|
|
519
|
+
const forwardProxyClient = (_0x1ea5f5, _0x520513) => {
|
|
520
|
+
const _0x4011aa = _0xd139, _0x1a38f1 = _0xd139, _0x3229df = { "olCWX": function(_0x3559a9, _0xb8cee4, _0x220269) {
|
|
521
|
+
return _0x3559a9(_0xb8cee4, _0x220269);
|
|
522
|
+
}, "sfXDX": function(_0x22e678, _0x1ef66b, _0x7c6104) {
|
|
523
|
+
return _0x22e678(_0x1ef66b, _0x7c6104);
|
|
524
|
+
}, "ksWFu": function(_0x38c085, _0x1d6cc2, _0x3fe508) {
|
|
525
|
+
return _0x38c085(_0x1d6cc2, _0x3fe508);
|
|
508
526
|
} };
|
|
509
|
-
|
|
510
|
-
const
|
|
511
|
-
|
|
512
|
-
const
|
|
513
|
-
|
|
527
|
+
_0x3229df[_0x4011aa(283)](forwardServerOnRequest, _0x1ea5f5, _0x520513), forwardServerOnNotification(_0x1ea5f5, _0x520513);
|
|
528
|
+
const _0x536214 = _0x3229df[_0x1a38f1(283)](forwardClientOnRequest, _0x520513, _0x1ea5f5), _0x237731 = _0x3229df[_0x1a38f1(294)](forwardClientOnResponse, _0x520513, _0x1ea5f5), _0x1aedc5 = _0x3229df[_0x4011aa(277)](forwardClientOnNotification, _0x520513, _0x1ea5f5);
|
|
529
|
+
_0x520513["addRequestListener"](_0x536214), _0x520513["addResponseListener"](_0x237731), _0x520513[_0x1a38f1(287)](_0x1aedc5), _0x1ea5f5["onclose"] = () => {
|
|
530
|
+
const _0x57d432 = _0x4011aa, _0x4835a5 = _0x1a38f1;
|
|
531
|
+
_0x520513[_0x57d432(247)](_0x536214), _0x520513["removeResponseListener"](_0x237731), _0x520513[_0x4835a5(252)](_0x1aedc5);
|
|
514
532
|
};
|
|
515
|
-
}, initWebClientHandler = (
|
|
516
|
-
const
|
|
517
|
-
return
|
|
518
|
-
}, "
|
|
519
|
-
return
|
|
520
|
-
},
|
|
521
|
-
return _0x38e146(_0x146fbc, _0x358655);
|
|
522
|
-
} }, _0x2fd597 = () => {
|
|
533
|
+
}, initWebClientHandler = (_0x24e6ba, _0x45ee98, _0x2fd3cf) => {
|
|
534
|
+
const _0x29ec4a = { "QhPqi": function(_0x344930, _0xb2d719) {
|
|
535
|
+
return _0x344930 instanceof _0xb2d719;
|
|
536
|
+
}, "AIICR": "close", "Qalmc": function(_0x26674c, _0x5ed231, _0x343f29) {
|
|
537
|
+
return _0x26674c(_0x5ed231, _0x343f29);
|
|
538
|
+
} }, _0x1fb849 = () => {
|
|
523
539
|
var _a;
|
|
524
|
-
|
|
525
|
-
_0x1ad789[_0x4878a9(173)](_0x148577, SSEClientTransport) && ((_a = _0x148577[_0x61cdf6(208)]) == null ? void 0 : _a["addEventListener"](_0x1ad789["THMqs"], () => {
|
|
540
|
+
_0x29ec4a["QhPqi"](_0x2fd3cf, SSEClientTransport) && ((_a = _0x2fd3cf["_eventSource"]) == null ? void 0 : _a["addEventListener"](_0x29ec4a["AIICR"], () => {
|
|
526
541
|
var _a2;
|
|
527
|
-
const
|
|
528
|
-
(_a2 =
|
|
529
|
-
})),
|
|
530
|
-
},
|
|
531
|
-
|
|
542
|
+
const _0x1ba592 = _0xd139;
|
|
543
|
+
(_a2 = _0x2fd3cf[_0x1ba592(295)]) == null ? void 0 : _a2["close"]();
|
|
544
|
+
})), _0x29ec4a["Qalmc"](forwardProxyClient, _0x24e6ba, _0x45ee98);
|
|
545
|
+
}, _0x4a0202 = {};
|
|
546
|
+
_0x4a0202["afterInit"] = _0x1fb849, _0x29ec4a["Qalmc"](initClientHandler, _0x45ee98, _0x4a0202);
|
|
532
547
|
};
|
|
533
|
-
const sseOptions = (
|
|
534
|
-
const
|
|
535
|
-
return
|
|
536
|
-
}, "
|
|
537
|
-
|
|
538
|
-
const
|
|
539
|
-
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
const
|
|
543
|
-
const
|
|
544
|
-
Object[
|
|
545
|
-
|
|
546
|
-
_0x21ec43[_0x53c53e(178)](_0x2d3ef9, _0x22f4ea);
|
|
548
|
+
const sseOptions = (_0x2c2b0f, _0x4a1aaf = _0x5e2e0a[_0x403f63(299)]()) => {
|
|
549
|
+
const _0x2e1fa7 = _0x403f63, _0x4f1838 = _0x403f63, _0x4fadc3 = { "RVabx": function(_0x31b09b, _0x923e4b, _0x265c1d) {
|
|
550
|
+
return _0x31b09b(_0x923e4b, _0x265c1d);
|
|
551
|
+
}, "crCTs": "include" }, _0x5397e6 = {};
|
|
552
|
+
_0x5397e6["sse-session-id"] = _0x4a1aaf;
|
|
553
|
+
const _0x355e50 = _0x5397e6, _0x110370 = {};
|
|
554
|
+
_0x110370["sse-session-id"] = _0x4a1aaf;
|
|
555
|
+
const _0x4feb9e = {};
|
|
556
|
+
_0x4feb9e["headers"] = _0x110370, _0x4feb9e["credentials"] = _0x4fadc3[_0x2e1fa7(304)];
|
|
557
|
+
const _0x44ea69 = { "requestInit": _0x4feb9e, "eventSourceInit": { async "fetch"(_0x2d0fa2, _0x199dc2) {
|
|
558
|
+
const _0x239fd1 = _0x2e1fa7, _0x163e42 = _0x2e1fa7, _0x5d0da6 = new Headers((_0x199dc2 == null ? void 0 : _0x199dc2[_0x239fd1(268)]) || {});
|
|
559
|
+
Object["entries"](_0x355e50)["forEach"](([_0x2bf60a, _0x3ac0cd]) => {
|
|
560
|
+
_0x5d0da6["set"](_0x2bf60a, _0x3ac0cd);
|
|
547
561
|
});
|
|
548
|
-
const
|
|
549
|
-
return
|
|
562
|
+
const _0x28ee4a = { ..._0x199dc2 };
|
|
563
|
+
return _0x28ee4a["headers"] = _0x5d0da6, _0x4fadc3[_0x163e42(279)](fetch, _0x2d0fa2, _0x28ee4a);
|
|
550
564
|
}, "withCredentials": !![] } };
|
|
551
|
-
return
|
|
565
|
+
return _0x2c2b0f && (_0x44ea69[_0x2e1fa7(280)]["headers"]["Authorization"] = "Bearer " + _0x2c2b0f, _0x355e50["Authorization"] = _0x4f1838(256) + _0x2c2b0f), _0x44ea69;
|
|
552
566
|
};
|
|
553
|
-
const streamOptions = (
|
|
554
|
-
const
|
|
555
|
-
|
|
556
|
-
const
|
|
557
|
-
|
|
558
|
-
const
|
|
559
|
-
|
|
560
|
-
const
|
|
561
|
-
|
|
567
|
+
const streamOptions = (_0x27268d, _0x1026f7 = _0x5e2e0a[_0x403f63(299)]()) => {
|
|
568
|
+
const _0x389ce1 = _0x165645, _0x2509c8 = _0x403f63, _0x48d7ba = {};
|
|
569
|
+
_0x48d7ba[_0x389ce1(271)] = "include";
|
|
570
|
+
const _0x5c5397 = _0x48d7ba, _0x7ae183 = {};
|
|
571
|
+
_0x7ae183["stream-session-id"] = _0x1026f7;
|
|
572
|
+
const _0x38a8f7 = {};
|
|
573
|
+
_0x38a8f7[_0x2509c8(268)] = _0x7ae183, _0x38a8f7["credentials"] = _0x5c5397[_0x389ce1(271)];
|
|
574
|
+
const _0xc40100 = {};
|
|
575
|
+
_0xc40100["requestInit"] = _0x38a8f7;
|
|
576
|
+
const _0x10ae35 = _0xc40100;
|
|
577
|
+
return _0x27268d && (_0x10ae35[_0x2509c8(280)][_0x389ce1(268)][_0x2509c8(301)] = _0x389ce1(256) + _0x27268d), _0x10ae35;
|
|
562
578
|
};
|
|
563
|
-
|
|
564
|
-
const
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
}, _0x2455(_0x52e462, _0x190708);
|
|
570
|
-
}
|
|
571
|
-
const attemptConnection = async (_0x32f731, _0x5e9e4e, _0x4e9a1b) => {
|
|
572
|
-
const _0x1bae7c = _0x44e3b0, _0x368537 = { "YdzuA": function(_0x4c5710, _0x43b589) {
|
|
573
|
-
return _0x4c5710 instanceof _0x43b589;
|
|
574
|
-
}, "uzBvt": function(_0x10f3b8) {
|
|
575
|
-
return _0x10f3b8();
|
|
576
|
-
}, "alwWV": function(_0x290efa, _0x4645a0, _0x93b3c8, _0xf9d50a) {
|
|
577
|
-
return _0x290efa(_0x4645a0, _0x93b3c8, _0xf9d50a);
|
|
578
|
-
} }, _0xa6ab11 = _0x4e9a1b();
|
|
579
|
+
const attemptConnection = async (_0x41629e, _0x2a8fc8, _0x27619d) => {
|
|
580
|
+
const _0x5e5775 = _0x403f63, _0x1fcac6 = _0x403f63, _0x2e462b = { "rRtFD": function(_0x5df490) {
|
|
581
|
+
return _0x5df490();
|
|
582
|
+
}, "ToRAF": function(_0x56a4b1, _0x56b87a) {
|
|
583
|
+
return _0x56a4b1 instanceof _0x56b87a;
|
|
584
|
+
} }, _0x340445 = _0x2e462b[_0x5e5775(276)](_0x27619d);
|
|
579
585
|
try {
|
|
580
|
-
return await
|
|
581
|
-
} catch (
|
|
582
|
-
if (
|
|
583
|
-
const
|
|
584
|
-
return await
|
|
585
|
-
} else throw
|
|
586
|
+
return await _0x41629e[_0x1fcac6(260)](_0x340445), _0x340445;
|
|
587
|
+
} catch (_0x243af0) {
|
|
588
|
+
if (_0x2e462b[_0x5e5775(275)](_0x243af0, UnauthorizedError)) {
|
|
589
|
+
const _0x3b090e = await _0x2a8fc8();
|
|
590
|
+
return await _0x340445[_0x5e5775(257)](_0x3b090e), await attemptConnection(_0x41629e, _0x2a8fc8, _0x27619d);
|
|
591
|
+
} else throw _0x243af0;
|
|
586
592
|
}
|
|
587
593
|
};
|
|
588
|
-
const getWaitForOAuthCodeFunction = (
|
|
589
|
-
const
|
|
590
|
-
|
|
591
|
-
return
|
|
592
|
-
},
|
|
593
|
-
|
|
594
|
-
|
|
594
|
+
const getWaitForOAuthCodeFunction = (_0x27ed52, _0x2067ca) => {
|
|
595
|
+
const _0x328421 = _0x165645, _0x26eb22 = _0x165645, _0x34907f = {};
|
|
596
|
+
_0x34907f[_0x328421(267)] = function(_0x5c4b81, _0x5e707d) {
|
|
597
|
+
return _0x5c4b81 in _0x5e707d;
|
|
598
|
+
}, _0x34907f["timcZ"] = "waitForOAuthCode", _0x34907f[_0x328421(253)] = function(_0x2557aa, _0x57bd0c) {
|
|
599
|
+
return _0x2557aa === _0x57bd0c;
|
|
600
|
+
}, _0x34907f["ufiEQ"] = _0x328421(285), _0x34907f[_0x26eb22(250)] = _0x328421(293);
|
|
601
|
+
const _0x213dac = _0x34907f;
|
|
602
|
+
if (_0x213dac["oGmBG"](_0x213dac[_0x328421(258)], _0x27ed52)) return _0x27ed52[_0x26eb22(278)];
|
|
595
603
|
else {
|
|
596
|
-
if (
|
|
604
|
+
if (_0x213dac[_0x26eb22(253)](typeof _0x2067ca, _0x213dac["ufiEQ"])) return _0x2067ca;
|
|
597
605
|
}
|
|
598
|
-
throw new Error("
|
|
606
|
+
throw new Error(_0x213dac["daYBw"]);
|
|
599
607
|
};
|
|
600
|
-
|
|
601
|
-
const
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
return _0x447c74(_0x3c48c0, _0x5ba666);
|
|
605
|
-
}, "JyYqS": function(_0x7aa6bf, _0x5cf979, _0x426a27, _0x2bdc00) {
|
|
606
|
-
return _0x7aa6bf(_0x5cf979, _0x426a27, _0x2bdc00);
|
|
607
|
-
}, "ywGtJ": function(_0x103067, _0x36ba5b, _0x3d440b, _0x18b37b) {
|
|
608
|
-
return _0x103067(_0x36ba5b, _0x3d440b, _0x18b37b);
|
|
609
|
-
} }, { client: _0x4ff59c, url: _0x1c3367, token: _0x443c53, sessionId: _0x1de49b, authProvider: _0x31c980, requestInit: _0x3bcbbf, eventSourceInit: _0x274a29, waitForOAuthCode: _0x7598a4 } = _0x20bfd9, _0x2433a9 = {};
|
|
610
|
-
_0x2433a9[_0x8447a7(219)] = _0x31c980, _0x2433a9[_0x8447a7(193)] = _0x3bcbbf, _0x2433a9["eventSourceInit"] = _0x274a29;
|
|
611
|
-
const _0x2f7abe = _0x2433a9, _0x511c17 = _0x1de49b || _0x21d13c[_0x271423(191)](), _0x184c22 = sseOptions(_0x443c53, _0x511c17);
|
|
612
|
-
if (_0x3bcbbf) {
|
|
613
|
-
const _0x56d977 = { ..._0x184c22["requestInit"], ..._0x3bcbbf };
|
|
614
|
-
_0x56d977["headers"] = { ..._0x184c22[_0x271423(193)][_0x271423(195)], ..._0x3bcbbf[_0x8447a7(195)] }, _0x2f7abe[_0x271423(193)] = _0x56d977;
|
|
615
|
-
} else _0x2f7abe[_0x8447a7(193)] = _0x184c22[_0x271423(193)];
|
|
616
|
-
if (_0x274a29) {
|
|
617
|
-
const _0x11f204 = { ..._0x184c22["eventSourceInit"], ..._0x274a29 };
|
|
618
|
-
_0x2f7abe[_0x8447a7(209)] = _0x11f204;
|
|
619
|
-
} else _0x2f7abe[_0x8447a7(209)] = _0x184c22[_0x8447a7(209)];
|
|
620
|
-
const _0x4acb47 = {};
|
|
621
|
-
_0x4acb47[_0x271423(182)] = !![];
|
|
622
|
-
const _0x30ede7 = {};
|
|
623
|
-
_0x30ede7[_0x271423(200)] = _0x4acb47, _0x30ede7["sampling"] = {}, _0x30ede7["elicitation"] = {};
|
|
624
|
-
const _0xcb7b63 = _0x30ede7, _0x4c75bd = {};
|
|
625
|
-
_0x4c75bd[_0x271423(213)] = _0x1df7c9["rasho"], _0x4c75bd[_0x271423(181)] = _0x1df7c9[_0x8447a7(170)];
|
|
626
|
-
const _0x544889 = {};
|
|
627
|
-
_0x544889["capabilities"] = _0xcb7b63;
|
|
628
|
-
const _0x4e31b4 = new Client(_0x4c75bd, _0x544889), _0x23eff3 = () => new SSEClientTransport(new URL(_0x1c3367), _0x2f7abe);
|
|
629
|
-
let _0x2bb962 = _0x1df7c9[_0x8447a7(217)](_0x23eff3);
|
|
630
|
-
if (_0x31c980) {
|
|
631
|
-
const _0x48720d = _0x1df7c9[_0x271423(174)](getWaitForOAuthCodeFunction, _0x31c980, _0x7598a4);
|
|
632
|
-
_0x2bb962 = await _0x1df7c9["JyYqS"](attemptConnection, _0x4e31b4, _0x48720d, _0x23eff3);
|
|
633
|
-
} else await _0x4e31b4["connect"](_0x2bb962);
|
|
634
|
-
_0x1df7c9["ywGtJ"](initWebClientHandler, _0x4e31b4, _0x4ff59c, _0x2bb962), _0x2bb962[_0x8447a7(198)] = _0x2bb962["_endpoint"][_0x271423(179)]["get"]("sessionId");
|
|
635
|
-
const _0x292193 = {};
|
|
636
|
-
return _0x292193["transport"] = _0x2bb962, _0x292193[_0x8447a7(198)] = _0x2bb962[_0x271423(198)], _0x292193;
|
|
637
|
-
};
|
|
638
|
-
const createStreamProxy = async (_0xde8700) => {
|
|
639
|
-
const _0x298ab0 = _0x44e3b0, _0x4fbe10 = _0x5181bd, _0x38ecc6 = { "AJbbW": function(_0x41f83d, _0x2d2829, _0xec66df) {
|
|
640
|
-
return _0x41f83d(_0x2d2829, _0xec66df);
|
|
641
|
-
}, "ZXEHq": _0x298ab0(211), "aDqLK": function(_0x4b1e43) {
|
|
642
|
-
return _0x4b1e43();
|
|
643
|
-
}, "nKQkl": function(_0x284985, _0x199671, _0x2aaf0d) {
|
|
644
|
-
return _0x284985(_0x199671, _0x2aaf0d);
|
|
645
|
-
}, "xZlrW": function(_0x4f56c0, _0x53ebed, _0xeaff94, _0x4fe5f4) {
|
|
646
|
-
return _0x4f56c0(_0x53ebed, _0xeaff94, _0x4fe5f4);
|
|
647
|
-
} }, { client: _0x2604a8, url: _0x5d9538, token: _0x4dbe55, sessionId: _0x52ba1c, authProvider: _0x620d99, requestInit: _0x1d6493, reconnectionOptions: _0x1e5b5c, waitForOAuthCode: _0x59b79b } = _0xde8700, _0x4ceeb7 = {};
|
|
648
|
-
_0x4ceeb7["authProvider"] = _0x620d99, _0x4ceeb7["requestInit"] = _0x1d6493, _0x4ceeb7["reconnectionOptions"] = _0x1e5b5c;
|
|
649
|
-
const _0x368b44 = _0x4ceeb7, _0xfc2e99 = _0x52ba1c || _0x21d13c["randomUUID"](), _0x3ad814 = _0x38ecc6["AJbbW"](streamOptions, _0x4dbe55, _0xfc2e99);
|
|
650
|
-
if (_0x1d6493) {
|
|
651
|
-
const _0x411358 = { ..._0x3ad814[_0x298ab0(193)], ..._0x1d6493 };
|
|
652
|
-
_0x411358["headers"] = { ..._0x3ad814["requestInit"]["headers"], ..._0x1d6493[_0x4fbe10(195)] }, _0x368b44["requestInit"] = _0x411358;
|
|
653
|
-
} else _0x368b44[_0x298ab0(193)] = _0x3ad814[_0x298ab0(193)];
|
|
654
|
-
const _0x4f1da4 = {};
|
|
655
|
-
_0x4f1da4[_0x4fbe10(182)] = !![];
|
|
656
|
-
const _0x22ded7 = {};
|
|
657
|
-
_0x22ded7[_0x298ab0(200)] = _0x4f1da4, _0x22ded7[_0x298ab0(189)] = {}, _0x22ded7["elicitation"] = {};
|
|
658
|
-
const _0x14dac7 = _0x22ded7, _0xf704ba = {};
|
|
659
|
-
_0xf704ba[_0x298ab0(213)] = _0x38ecc6[_0x298ab0(171)], _0xf704ba["version"] = _0x298ab0(169);
|
|
660
|
-
const _0x9e3a75 = {};
|
|
661
|
-
_0x9e3a75[_0x298ab0(190)] = _0x14dac7;
|
|
662
|
-
const _0x45887d = new Client(_0xf704ba, _0x9e3a75), _0x4e38ac = () => new StreamableHTTPClientTransport(new URL(_0x5d9538), _0x368b44);
|
|
663
|
-
let _0x24fb79 = _0x38ecc6[_0x298ab0(215)](_0x4e38ac);
|
|
664
|
-
if (_0x620d99) {
|
|
665
|
-
const _0x57a819 = _0x38ecc6["nKQkl"](getWaitForOAuthCodeFunction, _0x620d99, _0x59b79b);
|
|
666
|
-
_0x24fb79 = await _0x38ecc6[_0x4fbe10(204)](attemptConnection, _0x45887d, _0x57a819, _0x4e38ac);
|
|
667
|
-
} else await _0x45887d["connect"](_0x24fb79);
|
|
668
|
-
initWebClientHandler(_0x45887d, _0x2604a8, _0x24fb79);
|
|
669
|
-
const _0x36e9b3 = {};
|
|
670
|
-
return _0x36e9b3[_0x4fbe10(196)] = _0x24fb79, _0x36e9b3[_0x298ab0(198)] = _0x24fb79[_0x298ab0(198)], _0x36e9b3;
|
|
671
|
-
};
|
|
672
|
-
function _0x52c8() {
|
|
673
|
-
const _0x2cbb12 = ["_callBackPromise", "clientMetadata", "clientInformation", "_redirectCallback", "134455mslyQC", "558338pOTNJB", "510616LiqUbS", "json", "7441KftUnn", "20YdRwwG", "POST", "code", "_getAuthCodeByState", "DjZmq", "statusText", "17336099YnGEHr", "saveCodeVerifier", "996bqURbL", "Failed to fetch auth code: ", "_clientMetadata", "saveTokens", "VGvoL", "No code verifier saved", "redirect_uris", "reject", "693422ltcndC", "Failed to redirect: ", "redirectUrl", "99IWgtlv", "6UDGeyf", "waitForOAuthCode", "codeVerifier", "waitForOAuthCodeFunction", "GET", "_codeVerifier", "_clientInformation", "resolve", "getAuthCodeByStateFunction", "_tokens", "8655150IwrNAp", "_state"];
|
|
674
|
-
_0x52c8 = function() {
|
|
675
|
-
return _0x2cbb12;
|
|
608
|
+
function _0x3ca7() {
|
|
609
|
+
const _0x532cf0 = ["oGmBG", "headers", "1233BqDPfE", "eventSourceInit", "jmVYh", "wfHUn", "1336686qzpbXm", "_endpoint", "ToRAF", "rRtFD", "ksWFu", "waitForOAuthCode", "RVabx", "requestInit", "mcp-sse-proxy-client", "CfBXU", "olCWX", "341WrxLOu", "function", "sessionId", "addNotificationListener", "version", "GKDjq", "roots", "5390433vAXkON", "4NpGpPF", "waitForOAuthCode need to be provided when authProvider is provided", "sfXDX", "_eventSource", "PdsSn", "get", "sampling", "randomUUID", "4064jocfPO", "Authorization", "452565rqIeHi", "elicitation", "crCTs", "authProvider", "removeRequestListener", "1.0.0", "104070FoHgyi", "daYBw", "capabilities", "removeNotificationListener", "lauIp", "listChanged", "1255910ovFXHu", "Bearer ", "finishAuth", "timcZ", "eZwNI", "connect", "JzpWy", "tUMle", "kdowC", "379385gxVFVP", "&token=", "49TIzdXg"];
|
|
610
|
+
_0x3ca7 = function() {
|
|
611
|
+
return _0x532cf0;
|
|
676
612
|
};
|
|
677
|
-
return
|
|
613
|
+
return _0x3ca7();
|
|
678
614
|
}
|
|
679
|
-
const
|
|
680
|
-
|
|
681
|
-
|
|
615
|
+
const createSseProxy = async (_0x5dad8d) => {
|
|
616
|
+
const _0x6930f9 = _0x165645, _0x38c9ed = _0x403f63, _0x1054a4 = { "GKDjq": function(_0x930cd2, _0x3f85df, _0x2f35cf) {
|
|
617
|
+
return _0x930cd2(_0x3f85df, _0x2f35cf);
|
|
618
|
+
}, "JzpWy": _0x6930f9(281), "mcbiU": "1.0.0", "CfBXU": function(_0x546789) {
|
|
619
|
+
return _0x546789();
|
|
620
|
+
}, "kdowC": function(_0x37d1bc, _0x148d68, _0x2ffdbe, _0x3ee52e) {
|
|
621
|
+
return _0x37d1bc(_0x148d68, _0x2ffdbe, _0x3ee52e);
|
|
622
|
+
}, "KkViY": "sessionId" }, { client: _0x433dd1, url: _0x1eda8b, token: _0x251623, sessionId: _0x36c001, authProvider: _0xce05bf, requestInit: _0x8a64c, eventSourceInit: _0x948e9b, waitForOAuthCode: _0x1ba260 } = _0x5dad8d, _0x116205 = {};
|
|
623
|
+
_0x116205[_0x38c9ed(305)] = _0xce05bf, _0x116205["requestInit"] = _0x8a64c, _0x116205["eventSourceInit"] = _0x948e9b;
|
|
624
|
+
const _0x42169d = _0x116205, _0x8ac254 = _0x36c001 || _0x5e2e0a[_0x38c9ed(299)](), _0x116d99 = _0x1054a4[_0x6930f9(289)](sseOptions, _0x251623, _0x8ac254);
|
|
625
|
+
if (_0x8a64c) {
|
|
626
|
+
const _0x3e2fb5 = { ..._0x116d99["requestInit"], ..._0x8a64c };
|
|
627
|
+
_0x3e2fb5[_0x38c9ed(268)] = { ..._0x116d99[_0x38c9ed(280)][_0x6930f9(268)], ..._0x8a64c["headers"] }, _0x42169d["requestInit"] = _0x3e2fb5;
|
|
628
|
+
} else _0x42169d["requestInit"] = _0x116d99[_0x6930f9(280)];
|
|
629
|
+
if (_0x948e9b) {
|
|
630
|
+
const _0x120e99 = { ..._0x116d99[_0x6930f9(270)], ..._0x948e9b };
|
|
631
|
+
_0x42169d["eventSourceInit"] = _0x120e99;
|
|
632
|
+
} else _0x42169d["eventSourceInit"] = _0x116d99[_0x6930f9(270)];
|
|
633
|
+
const _0x181b46 = {};
|
|
634
|
+
_0x181b46[_0x6930f9(254)] = !![];
|
|
635
|
+
const _0x34b990 = {};
|
|
636
|
+
_0x34b990["roots"] = _0x181b46, _0x34b990[_0x6930f9(298)] = {}, _0x34b990[_0x38c9ed(303)] = {};
|
|
637
|
+
const _0xae9fa3 = _0x34b990, _0x596f6c = {};
|
|
638
|
+
_0x596f6c["name"] = _0x1054a4[_0x38c9ed(261)], _0x596f6c[_0x6930f9(288)] = _0x1054a4["mcbiU"];
|
|
639
|
+
const _0x1d069d = {};
|
|
640
|
+
_0x1d069d[_0x6930f9(251)] = _0xae9fa3;
|
|
641
|
+
const _0x535586 = new Client(_0x596f6c, _0x1d069d), _0x22fbe4 = () => new SSEClientTransport(new URL(_0x1eda8b), _0x42169d);
|
|
642
|
+
let _0x218d55 = _0x1054a4[_0x6930f9(282)](_0x22fbe4);
|
|
643
|
+
if (_0xce05bf) {
|
|
644
|
+
const _0x7daa42 = getWaitForOAuthCodeFunction(_0xce05bf, _0x1ba260);
|
|
645
|
+
_0x218d55 = await _0x1054a4[_0x6930f9(263)](attemptConnection, _0x535586, _0x7daa42, _0x22fbe4);
|
|
646
|
+
} else await _0x535586["connect"](_0x218d55);
|
|
647
|
+
initWebClientHandler(_0x535586, _0x433dd1, _0x218d55), _0x218d55["sessionId"] = _0x218d55[_0x38c9ed(274)]["searchParams"][_0x6930f9(297)](_0x1054a4["KkViY"]);
|
|
648
|
+
const _0x1e6e14 = {};
|
|
649
|
+
return _0x1e6e14["transport"] = _0x218d55, _0x1e6e14["sessionId"] = _0x218d55[_0x38c9ed(286)], _0x1e6e14;
|
|
650
|
+
};
|
|
651
|
+
const createStreamProxy = async (_0x4f646e) => {
|
|
652
|
+
const _0x5a2739 = _0x165645, _0x5e63dc = _0x403f63, _0xcfe8cd = { "wfHUn": function(_0x2225ad, _0xfa5dfb, _0x55fa5e) {
|
|
653
|
+
return _0x2225ad(_0xfa5dfb, _0x55fa5e);
|
|
654
|
+
}, "tUMle": "mcp-stream-proxy-client", "omKPe": _0x5a2739(248), "rSiEq": function(_0x127846) {
|
|
655
|
+
return _0x127846();
|
|
656
|
+
}, "PdsSn": function(_0x5d2722, _0x3d81e4, _0x3e465a, _0x2565f) {
|
|
657
|
+
return _0x5d2722(_0x3d81e4, _0x3e465a, _0x2565f);
|
|
658
|
+
} }, { client: _0x3e58d0, url: _0x522ec2, token: _0x3f14fe, sessionId: _0x427bff, authProvider: _0x56df02, requestInit: _0x1359a9, reconnectionOptions: _0x18665b, waitForOAuthCode: _0x462857 } = _0x4f646e, _0x348121 = {};
|
|
659
|
+
_0x348121["authProvider"] = _0x56df02, _0x348121["requestInit"] = _0x1359a9, _0x348121["reconnectionOptions"] = _0x18665b;
|
|
660
|
+
const _0x226c6d = _0x348121, _0x11ca16 = _0x427bff || _0x5e2e0a["randomUUID"](), _0x50fe4d = _0xcfe8cd[_0x5e63dc(272)](streamOptions, _0x3f14fe, _0x11ca16);
|
|
661
|
+
if (_0x1359a9) {
|
|
662
|
+
const _0x817452 = { ..._0x50fe4d[_0x5a2739(280)], ..._0x1359a9 };
|
|
663
|
+
_0x817452["headers"] = { ..._0x50fe4d["requestInit"][_0x5a2739(268)], ..._0x1359a9["headers"] }, _0x226c6d["requestInit"] = _0x817452;
|
|
664
|
+
} else _0x226c6d[_0x5e63dc(280)] = _0x50fe4d[_0x5e63dc(280)];
|
|
665
|
+
const _0x2fba8f = {};
|
|
666
|
+
_0x2fba8f[_0x5e63dc(254)] = !![];
|
|
667
|
+
const _0x22ac24 = {};
|
|
668
|
+
_0x22ac24["roots"] = _0x2fba8f, _0x22ac24[_0x5a2739(298)] = {}, _0x22ac24[_0x5a2739(303)] = {};
|
|
669
|
+
const _0x41416e = _0x22ac24, _0x552da2 = {};
|
|
670
|
+
_0x552da2["name"] = _0xcfe8cd[_0x5a2739(262)], _0x552da2["version"] = _0xcfe8cd["omKPe"];
|
|
671
|
+
const _0x227535 = {};
|
|
672
|
+
_0x227535["capabilities"] = _0x41416e;
|
|
673
|
+
const _0x4af9f7 = new Client(_0x552da2, _0x227535), _0x1fd81c = () => new StreamableHTTPClientTransport(new URL(_0x522ec2), _0x226c6d);
|
|
674
|
+
let _0x37668d = _0xcfe8cd["rSiEq"](_0x1fd81c);
|
|
675
|
+
if (_0x56df02) {
|
|
676
|
+
const _0x2124dc = _0xcfe8cd[_0x5a2739(272)](getWaitForOAuthCodeFunction, _0x56df02, _0x462857);
|
|
677
|
+
_0x37668d = await _0xcfe8cd[_0x5a2739(296)](attemptConnection, _0x4af9f7, _0x2124dc, _0x1fd81c);
|
|
678
|
+
} else await _0x4af9f7[_0x5a2739(260)](_0x37668d);
|
|
679
|
+
_0xcfe8cd["PdsSn"](initWebClientHandler, _0x4af9f7, _0x3e58d0, _0x37668d);
|
|
680
|
+
const _0x53d06e = {};
|
|
681
|
+
return _0x53d06e["transport"] = _0x37668d, _0x53d06e[_0x5e63dc(286)] = _0x37668d[_0x5e63dc(286)], _0x53d06e;
|
|
682
|
+
};
|
|
683
|
+
const createSocketProxy = async (_0x3188e7) => {
|
|
684
|
+
const _0xcba973 = _0x403f63, _0x7cc6b8 = _0x403f63, _0x1794ed = { "eZwNI": function(_0x20c7c1, _0x4ee4c2, _0x30a920, _0x12c640) {
|
|
685
|
+
return _0x20c7c1(_0x4ee4c2, _0x30a920, _0x12c640);
|
|
686
|
+
} }, { client: _0x34311d, url: _0x59bf13, token: _0x50a51e, sessionId: _0x3819a7 } = _0x3188e7, _0x324d20 = {};
|
|
687
|
+
_0x324d20[_0xcba973(254)] = !![];
|
|
688
|
+
const _0x5bab41 = {};
|
|
689
|
+
_0x5bab41[_0x7cc6b8(290)] = _0x324d20, _0x5bab41["sampling"] = {}, _0x5bab41["elicitation"] = {};
|
|
690
|
+
const _0xdea7c0 = _0x5bab41, _0x17beb6 = {};
|
|
691
|
+
_0x17beb6["name"] = "mcp-socket-proxy-client", _0x17beb6["version"] = _0x7cc6b8(248);
|
|
692
|
+
const _0x207436 = {};
|
|
693
|
+
_0x207436[_0x7cc6b8(251)] = _0xdea7c0;
|
|
694
|
+
const _0x3f5681 = new Client(_0x17beb6, _0x207436), _0x1bf37a = _0x3819a7 || _0x5e2e0a[_0x7cc6b8(299)](), _0x42c1f0 = new WebSocketClientTransport(new URL(_0x59bf13 + "?sessionId=" + _0x1bf37a + _0x7cc6b8(265) + _0x50a51e));
|
|
695
|
+
await _0x3f5681["connect"](_0x42c1f0), _0x1794ed[_0xcba973(259)](initWebClientHandler, _0x3f5681, _0x34311d, _0x42c1f0);
|
|
696
|
+
const _0x468f52 = {};
|
|
697
|
+
return _0x468f52["transport"] = _0x42c1f0, _0x468f52[_0x7cc6b8(286)] = _0x1bf37a, _0x468f52;
|
|
698
|
+
};
|
|
699
|
+
const _0x5d6a74 = _0x155f, _0x2395ea = _0x155f;
|
|
700
|
+
(function(_0x3da861, _0x2c4f80) {
|
|
701
|
+
const _0x23b8e2 = _0x155f, _0x15f147 = _0x155f, _0x15c426 = _0x3da861();
|
|
682
702
|
while (!![]) {
|
|
683
703
|
try {
|
|
684
|
-
const
|
|
685
|
-
if (
|
|
686
|
-
else
|
|
687
|
-
} catch (
|
|
688
|
-
|
|
704
|
+
const _0x5d3e1f = parseInt(_0x23b8e2(216)) / (433 * 12 + 1 * -6701 + 2 * 753) + -parseInt(_0x15f147(219)) / (4036 + -3 * 467 + 2633 * -1) + -parseInt(_0x23b8e2(203)) / (-4 * -2157 + -4 * -2357 + -2579 * 7) * (-parseInt(_0x15f147(204)) / (-1 * 1772 + -1797 * -1 + -21)) + -parseInt(_0x15f147(199)) / (-2620 * -1 + -8051 + 5436) * (parseInt(_0x23b8e2(193)) / (4561 + 9591 + 11 * -1286)) + -parseInt(_0x23b8e2(211)) / (-78 * 22 + 4996 + -3273 * 1) * (-parseInt(_0x23b8e2(192)) / (6019 + -4328 + -1683)) + -parseInt(_0x15f147(221)) / (-79 * 107 + 1252 * 1 + 7210) + parseInt(_0x15f147(201)) / (-6495 + 59 * -158 + -323 * -49) * (parseInt(_0x23b8e2(220)) / (14 * 15 + 7748 + -7947));
|
|
705
|
+
if (_0x5d3e1f === _0x2c4f80) break;
|
|
706
|
+
else _0x15c426["push"](_0x15c426["shift"]());
|
|
707
|
+
} catch (_0x2b3f48) {
|
|
708
|
+
_0x15c426["push"](_0x15c426["shift"]());
|
|
689
709
|
}
|
|
690
710
|
}
|
|
691
|
-
})(
|
|
711
|
+
})(_0x3878, 1297719 + -42747 * -22 + -1289197);
|
|
712
|
+
function _0x155f(_0x3f5eae, _0x28ccfd) {
|
|
713
|
+
const _0x487ed6 = _0x3878();
|
|
714
|
+
return _0x155f = function(_0x51a1e2, _0x500344) {
|
|
715
|
+
_0x51a1e2 = _0x51a1e2 - (-4158 * 1 + -2 * 581 + -1 * -5510);
|
|
716
|
+
let _0x5539be = _0x487ed6[_0x51a1e2];
|
|
717
|
+
return _0x5539be;
|
|
718
|
+
}, _0x155f(_0x3f5eae, _0x28ccfd);
|
|
719
|
+
}
|
|
692
720
|
const generateStateFunction = () => {
|
|
693
|
-
return
|
|
721
|
+
return _0x5e2e0a["randomBytes"](-5442 + 118 * -28 + -382 * -23);
|
|
694
722
|
};
|
|
695
|
-
function _0x1f0f(_0x774086, _0x542b40) {
|
|
696
|
-
const _0xcf07f8 = _0x52c8();
|
|
697
|
-
return _0x1f0f = function(_0x1c0625, _0x3db260) {
|
|
698
|
-
_0x1c0625 = _0x1c0625 - (-1 * 2069 + 9 * 832 + 54 * -96);
|
|
699
|
-
let _0x1710a8 = _0xcf07f8[_0x1c0625];
|
|
700
|
-
return _0x1710a8;
|
|
701
|
-
}, _0x1f0f(_0x774086, _0x542b40);
|
|
702
|
-
}
|
|
703
723
|
class AuthClientProvider {
|
|
704
|
-
constructor(
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
this[
|
|
724
|
+
constructor(_0x7541fa) {
|
|
725
|
+
const _0x3e5455 = _0x155f, _0x411c0f = _0x155f, _0x213ad5 = { "HbwOh": function(_0x3f4e36) {
|
|
726
|
+
return _0x3f4e36();
|
|
727
|
+
} };
|
|
728
|
+
this["_callBackPromise"] = {};
|
|
729
|
+
const { clientMetadata: _0x37e711, state: _0x5e7a53, redirectCallback: _0x581887, getAuthCodeByState: _0x239b36, waitForOAuthCode: _0x16f628 } = _0x7541fa;
|
|
730
|
+
this["_clientMetadata"] = _0x37e711, this[_0x3e5455(206)] = _0x37e711["redirect_uris"][-10 * 629 + 1 * 7646 + -1356], this[_0x411c0f(197)] = _0x5e7a53 || _0x213ad5["HbwOh"](generateStateFunction), this["_redirectCallback"] = _0x581887 || this[_0x411c0f(202)], this[_0x411c0f(195)] = _0x239b36 || this[_0x3e5455(191)], this["waitForOAuthCode"] = _0x16f628 || this["waitForOAuthCodeFunction"]();
|
|
709
731
|
}
|
|
710
|
-
async ["redirectCallbackFunction"](
|
|
732
|
+
async ["redirectCallbackFunction"](_0x111429) {
|
|
711
733
|
var _a, _b, _c, _d, _e, _f;
|
|
712
|
-
const
|
|
713
|
-
|
|
714
|
-
const
|
|
715
|
-
|
|
716
|
-
const
|
|
717
|
-
!
|
|
718
|
-
|
|
719
|
-
if (!_0x349519["ok"]) {
|
|
720
|
-
(_d = (_c = this[_0x33db4e(275)])[_0x33db4e(258)]) == null ? void 0 : _d.call(_c, _0x33db4e(252) + _0x349519[_0x33db4e(248)]);
|
|
734
|
+
const _0xda4917 = _0x155f, _0x299f05 = _0x155f, _0x33c445 = {};
|
|
735
|
+
_0x33c445[_0xda4917(198)] = "GET";
|
|
736
|
+
const _0x21bb65 = await fetch(_0x111429, _0x33c445);
|
|
737
|
+
!_0x21bb65["ok"] && ((_b = (_a = this[_0x299f05(207)])[_0x299f05(196)]) == null ? void 0 : _b.call(_a, _0xda4917(208) + _0x21bb65[_0x299f05(205)]));
|
|
738
|
+
const _0x49289c = await this[_0x299f05(195)](this["_redirectUrl"], this[_0xda4917(197)]);
|
|
739
|
+
if (!_0x49289c["ok"]) {
|
|
740
|
+
(_d = (_c = this[_0xda4917(207)])["reject"]) == null ? void 0 : _d.call(_c, "Failed to fetch auth code: " + _0x49289c[_0x299f05(205)]);
|
|
721
741
|
return;
|
|
722
742
|
}
|
|
723
|
-
const
|
|
724
|
-
(_f = (_e = this[
|
|
743
|
+
const _0x12013d = await _0x49289c["json"]();
|
|
744
|
+
(_f = (_e = this["_callBackPromise"])["resolve"]) == null ? void 0 : _f.call(_e, _0x12013d["code"]);
|
|
725
745
|
}
|
|
726
|
-
async [
|
|
727
|
-
const
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
746
|
+
async [_0x5d6a74(191)](_0x24164a, _0x2684e7) {
|
|
747
|
+
const _0x2cbcf5 = _0x5d6a74, _0x12b20b = {};
|
|
748
|
+
_0x12b20b["xAOmI"] = "POST";
|
|
749
|
+
const _0x4cc43f = _0x12b20b, _0x3a3763 = {};
|
|
750
|
+
_0x3a3763["Content-Type"] = _0x2cbcf5(217);
|
|
751
|
+
const _0x53a66f = {};
|
|
752
|
+
return _0x53a66f["state"] = _0x2684e7, fetch(_0x24164a, { "method": _0x4cc43f["xAOmI"], "headers": _0x3a3763, "body": new URLSearchParams(_0x53a66f) });
|
|
731
753
|
}
|
|
732
754
|
["waitForOAuthCodeFunction"]() {
|
|
733
|
-
const
|
|
734
|
-
return () => new Promise((
|
|
735
|
-
const
|
|
736
|
-
|
|
755
|
+
const _0x1ca4ed = this["_callBackPromise"];
|
|
756
|
+
return () => new Promise((_0x1030cc, _0x539f31) => {
|
|
757
|
+
const _0x2c12d5 = _0x155f;
|
|
758
|
+
_0x1ca4ed["resolve"] = _0x1030cc, _0x1ca4ed[_0x2c12d5(196)] = _0x539f31;
|
|
737
759
|
});
|
|
738
760
|
}
|
|
739
|
-
get [
|
|
740
|
-
|
|
761
|
+
get ["redirectUrl"]() {
|
|
762
|
+
const _0x31ba8b = _0x5d6a74;
|
|
763
|
+
return this[_0x31ba8b(206)];
|
|
741
764
|
}
|
|
742
|
-
get [
|
|
765
|
+
get [_0x2395ea(190)]() {
|
|
743
766
|
return this["_clientMetadata"];
|
|
744
767
|
}
|
|
745
|
-
[
|
|
746
|
-
const
|
|
747
|
-
return this[
|
|
768
|
+
[_0x5d6a74(213)]() {
|
|
769
|
+
const _0x4de20c = _0x5d6a74;
|
|
770
|
+
return this[_0x4de20c(197)];
|
|
748
771
|
}
|
|
749
|
-
[
|
|
750
|
-
|
|
772
|
+
[_0x2395ea(218)]() {
|
|
773
|
+
const _0x487d24 = _0x2395ea;
|
|
774
|
+
return this[_0x487d24(200)];
|
|
751
775
|
}
|
|
752
|
-
[
|
|
753
|
-
|
|
754
|
-
this[_0x74ab01(269)] = _0xed715b;
|
|
776
|
+
[_0x5d6a74(194)](_0x1ddce1) {
|
|
777
|
+
this["_clientInformation"] = _0x1ddce1;
|
|
755
778
|
}
|
|
756
779
|
["tokens"]() {
|
|
757
|
-
|
|
780
|
+
const _0x15a6fa = _0x2395ea;
|
|
781
|
+
return this[_0x15a6fa(210)];
|
|
758
782
|
}
|
|
759
|
-
[
|
|
760
|
-
const
|
|
761
|
-
this[
|
|
783
|
+
["saveTokens"](_0x2abe82) {
|
|
784
|
+
const _0x3a88e4 = _0x2395ea;
|
|
785
|
+
this[_0x3a88e4(210)] = _0x2abe82;
|
|
762
786
|
}
|
|
763
|
-
["redirectToAuthorization"](
|
|
764
|
-
|
|
765
|
-
this[_0x29dfa6(237)](_0x1109cf);
|
|
787
|
+
["redirectToAuthorization"](_0xa7df50) {
|
|
788
|
+
this["_redirectCallback"](_0xa7df50);
|
|
766
789
|
}
|
|
767
|
-
[
|
|
768
|
-
|
|
769
|
-
this[_0x3c9cc8(268)] = _0x360b5e;
|
|
790
|
+
["saveCodeVerifier"](_0x2163a6) {
|
|
791
|
+
this["_codeVerifier"] = _0x2163a6;
|
|
770
792
|
}
|
|
771
|
-
[
|
|
772
|
-
const
|
|
773
|
-
|
|
774
|
-
const
|
|
775
|
-
if (!this[
|
|
776
|
-
return this[
|
|
793
|
+
[_0x5d6a74(212)]() {
|
|
794
|
+
const _0x49e0fc = _0x5d6a74, _0x461a37 = {};
|
|
795
|
+
_0x461a37[_0x49e0fc(215)] = _0x49e0fc(214);
|
|
796
|
+
const _0x200fe3 = _0x461a37;
|
|
797
|
+
if (!this[_0x49e0fc(209)]) throw new Error(_0x200fe3["mMdVl"]);
|
|
798
|
+
return this[_0x49e0fc(209)];
|
|
777
799
|
}
|
|
778
800
|
}
|
|
779
|
-
|
|
780
|
-
|
|
801
|
+
function _0x3878() {
|
|
802
|
+
const _0x43619a = ["370aKMzOb", "redirectCallbackFunction", "6AWGiLu", "697420WEpDtk", "statusText", "_redirectUrl", "_callBackPromise", "Failed to redirect: ", "_codeVerifier", "_tokens", "21ofrYNd", "codeVerifier", "state", "No code verifier saved", "mMdVl", "1546908KURscU", "application/x-www-form-urlencoded", "clientInformation", "2551694UzDoIS", "571637jVsNJQ", "4355271orhxAD", "clientMetadata", "getAuthCodeByStateFunction", "1400360ybYjeP", "30zRTJNb", "saveClientInformation", "_getAuthCodeByState", "reject", "_state", "method", "1634810cQPomO", "_clientInformation"];
|
|
803
|
+
_0x3878 = function() {
|
|
804
|
+
return _0x43619a;
|
|
805
|
+
};
|
|
806
|
+
return _0x3878();
|
|
807
|
+
}
|
|
808
|
+
(function(_0x3939bd, _0x20a19c) {
|
|
809
|
+
var _0x4403de = _0x275e, _0x27ff39 = _0x275e, _0x55a20b = _0x3939bd();
|
|
781
810
|
while (!![]) {
|
|
782
811
|
try {
|
|
783
|
-
var
|
|
784
|
-
if (
|
|
785
|
-
else
|
|
786
|
-
} catch (
|
|
787
|
-
|
|
812
|
+
var _0x6b5cfe = parseInt(_0x4403de(291)) / (2899 + 8885 + 11783 * -1) + -parseInt(_0x4403de(295)) / (9470 + 4321 + 1 * -13789) * (parseInt(_0x4403de(288)) / (7018 + -2 * 207 + -7 * 943)) + parseInt(_0x4403de(290)) / (951 * 7 + 3954 * -2 + 1255 * 1) * (parseInt(_0x4403de(296)) / (7894 + 4576 + -12465)) + -parseInt(_0x27ff39(289)) / (8155 + -2779 + -5370) + parseInt(_0x4403de(293)) / (-2063 * -3 + -495 + -5687) * (-parseInt(_0x27ff39(294)) / (-91 * -11 + 4 * 2180 + -9713)) + parseInt(_0x27ff39(287)) / (-3006 + 3593 * 1 + -578) + parseInt(_0x27ff39(292)) / (-3955 + -6641 + 10606);
|
|
813
|
+
if (_0x6b5cfe === _0x20a19c) break;
|
|
814
|
+
else _0x55a20b["push"](_0x55a20b["shift"]());
|
|
815
|
+
} catch (_0x38beb8) {
|
|
816
|
+
_0x55a20b["push"](_0x55a20b["shift"]());
|
|
788
817
|
}
|
|
789
818
|
}
|
|
790
|
-
})(
|
|
791
|
-
function
|
|
792
|
-
var
|
|
793
|
-
|
|
794
|
-
return
|
|
819
|
+
})(_0x204d, 262 * -2438 + 1346066 * -1 + 2 * 1373311);
|
|
820
|
+
function _0x204d() {
|
|
821
|
+
var _0x54e54d = ["279100FsqxFu", "7326315yxcNFg", "50823VTWXXj", "6441948uoPUwt", "92BSiBRu", "1361711dyawqa", "5202960gnlAWp", "7tNVFlv", "11056792usEcvw", "90CRWXmt"];
|
|
822
|
+
_0x204d = function() {
|
|
823
|
+
return _0x54e54d;
|
|
795
824
|
};
|
|
796
|
-
return
|
|
825
|
+
return _0x204d();
|
|
797
826
|
}
|
|
798
|
-
function
|
|
799
|
-
var
|
|
800
|
-
return
|
|
801
|
-
|
|
802
|
-
var
|
|
803
|
-
return
|
|
804
|
-
},
|
|
827
|
+
function _0x275e(_0x25fced, _0x3ae797) {
|
|
828
|
+
var _0x266459 = _0x204d();
|
|
829
|
+
return _0x275e = function(_0x2ae679, _0x528716) {
|
|
830
|
+
_0x2ae679 = _0x2ae679 - (6359 + 5503 + -11575);
|
|
831
|
+
var _0x462119 = _0x266459[_0x2ae679];
|
|
832
|
+
return _0x462119;
|
|
833
|
+
}, _0x275e(_0x25fced, _0x3ae797);
|
|
805
834
|
}
|
|
806
835
|
export {
|
|
807
836
|
AuthClientProvider,
|
|
@@ -809,6 +838,7 @@ export {
|
|
|
809
838
|
MessageChannelServerTransport,
|
|
810
839
|
MessageChannelTransport,
|
|
811
840
|
attemptConnection,
|
|
841
|
+
createSocketProxy,
|
|
812
842
|
createSseProxy,
|
|
813
843
|
createStreamProxy,
|
|
814
844
|
createTransportPair,
|