@tangle-network/sandbox 0.0.0-develop.20260531025532.660bec1 → 0.0.0-develop.20260531035202.9ae6904
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/dist/agent/index.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-CygjzF3v.js +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-CRyb5e8F.js +1 -1
- package/dist/core.js +1 -1
- package/dist/errors-CljiGR__.js +1 -1
- package/dist/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/sandbox-DTup2jzz.js +1 -1
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-CnYnTRi6.js +1 -1
- package/package.json +1 -1
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x202811=a0_0x41ef;(function(_0x58d341,_0x5479a9){const _0xcc8276=a0_0x41ef,_0x555eea=_0x58d341();while(!![]){try{const _0x8cfa94=-parseInt(_0xcc8276(0x23a))/0x1+parseInt(_0xcc8276(0x1e4))/0x2*(parseInt(_0xcc8276(0x1e9))/0x3)+parseInt(_0xcc8276(0x274))/0x4*(-parseInt(_0xcc8276(0x257))/0x5)+parseInt(_0xcc8276(0x230))/0x6*(-parseInt(_0xcc8276(0x1e5))/0x7)+-parseInt(_0xcc8276(0x23f))/0x8*(parseInt(_0xcc8276(0x235))/0x9)+-parseInt(_0xcc8276(0x217))/0xa+parseInt(_0xcc8276(0x1ef))/0xb;if(_0x8cfa94===_0x5479a9)break;else _0x555eea['push'](_0x555eea['shift']());}catch(_0x98f43e){_0x555eea['push'](_0x555eea['shift']());}}}(a0_0x5681,0xe1229));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';const TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x64\x65':{'\x6e\x61\x6d\x65':a0_0x202811(0x201),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x1f7),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x6c\x61\x6e\x67\x75\x61\x67\x65':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x65\x6e\x75\x6d':[a0_0x202811(0x267),a0_0x202811(0x233),a0_0x202811(0x22d),a0_0x202811(0x24d)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x207)},'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x1ea)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x202811(0x269),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x25e)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x212),a0_0x202811(0x261)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x5917b1,sessionId:_0x2850c5})=>async _0x1e1baf=>{const _0x2bd46f=a0_0x202811;return await _0x5917b1[_0x2bd46f(0x1d5)](_0x1e1baf['\x6c\x61\x6e\x67\x75\x61\x67\x65'],_0x1e1baf[_0x2bd46f(0x261)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x2850c5,'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x1e1baf[_0x2bd46f(0x21e)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63':{'\x6e\x61\x6d\x65':a0_0x202811(0x1e3),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x1e0),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x256)},'\x63\x77\x64':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x253)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x202811(0x269),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x1e2)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x1d7)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x34e777,sessionId:_0x2ad290})=>async _0x4b36b6=>{const _0x13ddf0=a0_0x202811;return await _0x34e777['\x65\x78\x65\x63'](_0x4b36b6[_0x13ddf0(0x1d7)],{'\x63\x77\x64':_0x4b36b6[_0x13ddf0(0x23b)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x4b36b6[_0x13ddf0(0x21e)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x2ad290});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x65\x61\x64':{'\x6e\x61\x6d\x65':a0_0x202811(0x25c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x24f),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x202811(0x20a)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x275)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x2fb33b,sessionId:_0x193921})=>async _0xec810e=>{const _0x4c207e=a0_0x202811;return{'\x63\x6f\x6e\x74\x65\x6e\x74':await _0x2fb33b[_0x4c207e(0x23e)](_0xec810e[_0x4c207e(0x275)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x193921})};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x77\x72\x69\x74\x65':{'\x6e\x61\x6d\x65':a0_0x202811(0x26a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x57\x72\x69\x74\x65\x20\x61\x20\x66\x69\x6c\x65\x20\x69\x6e\x20\x74\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x2e\x20\x43\x72\x65\x61\x74\x65\x73\x20\x70\x61\x72\x65\x6e\x74\x20\x64\x69\x72\x65\x63\x74\x6f\x72\x69\x65\x73\x20\x61\x73\x20\x6e\x65\x65\x64\x65\x64\x2e\x20\x4f\x76\x65\x72\x77\x72\x69\x74\x65\x73\x20\x65\x78\x69\x73\x74\x69\x6e\x67\x20\x66\x69\x6c\x65\x73\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x202811(0x20a)},'\x63\x6f\x6e\x74\x65\x6e\x74':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x240)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x70\x61\x74\x68','\x63\x6f\x6e\x74\x65\x6e\x74'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x5263c3})=>async _0x3c99d=>{const _0x570d04=a0_0x202811;return await _0x5263c3['\x77\x72\x69\x74\x65'](_0x3c99d[_0x570d04(0x275)],_0x3c99d['\x63\x6f\x6e\x74\x65\x6e\x74']),{'\x6f\x6b':!![]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x6c\x69\x73\x74':{'\x6e\x61\x6d\x65':a0_0x202811(0x26e),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x218),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x202811(0x20a)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x275)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x4a8811})=>async _0x20e706=>{const _0x4d3e5a=a0_0x202811;return{'\x65\x6e\x74\x72\x69\x65\x73':await _0x4a8811['\x66\x73'][_0x4d3e5a(0x266)](_0x20e706[_0x4d3e5a(0x275)])};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68':{'\x6e\x61\x6d\x65':a0_0x202811(0x1f2),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x52\x69\x70\x67\x72\x65\x70\x2d\x73\x74\x79\x6c\x65\x20\x63\x6f\x64\x65\x20\x73\x65\x61\x72\x63\x68\x2e\x20\x52\x65\x74\x75\x72\x6e\x73\x20\x6d\x61\x74\x63\x68\x69\x6e\x67\x20\x6c\x69\x6e\x65\x73\x20\x77\x69\x74\x68\x20\x73\x75\x72\x72\x6f\x75\x6e\x64\x69\x6e\x67\x20\x63\x6f\x6e\x74\x65\x78\x74\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x74\x65\x72\x6e':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x52\x65\x67\x65\x78\x20\x70\x61\x74\x74\x65\x72\x6e\x2e'},'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x53\x75\x62\x64\x69\x72\x65\x63\x74\x6f\x72\x79\x20\x74\x6f\x20\x73\x65\x61\x72\x63\x68\x2e\x20\x4f\x70\x74\x69\x6f\x6e\x61\x6c\x2e'},'\x6d\x61\x78\x5f\x72\x65\x73\x75\x6c\x74\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x43\x61\x70\x2e\x20\x44\x65\x66\x61\x75\x6c\x74\x20\x31\x30\x30\x2e'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x26f)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x30703f})=>async _0x37868b=>{const _0x24f93f=a0_0x202811,_0x4a62f2=[],_0x1e1476=_0x37868b[_0x24f93f(0x24c)]??0x64;for await(const _0x5ee801 of _0x30703f[_0x24f93f(0x1df)](_0x37868b[_0x24f93f(0x26f)],{'\x63\x77\x64':_0x37868b['\x70\x61\x74\x68'],'\x6d\x61\x78\x52\x65\x73\x75\x6c\x74\x73':_0x1e1476})){_0x4a62f2['\x70\x75\x73\x68'](_0x5ee801);if(_0x4a62f2['\x6c\x65\x6e\x67\x74\x68']>=_0x1e1476)break;}return{'\x6d\x61\x74\x63\x68\x65\x73':_0x4a62f2};}}},ALL_TOOL_SPECS=Object[a0_0x202811(0x1fb)](TOOL_SPECS);function selectSpecs(_0x14ddf2){const _0x57efc6=a0_0x202811,_0x3b1a49={'\x55\x48\x4a\x77\x73':function(_0x1d000f,_0x467d9b){return _0x1d000f===_0x467d9b;}};if(!_0x14ddf2||_0x3b1a49[_0x57efc6(0x259)](_0x14ddf2[_0x57efc6(0x25d)],0x0))return ALL_TOOL_SPECS;const _0xe19da2=new Set(_0x14ddf2);return Object[_0x57efc6(0x220)](TOOL_SPECS)[_0x57efc6(0x243)](_0x29e305=>_0xe19da2[_0x57efc6(0x20e)](_0x29e305))['\x6d\x61\x70'](_0xc85ee4=>TOOL_SPECS[_0xc85ee4]);}function serializeToolResult(_0x4933fe){const _0x471f69=a0_0x202811,_0x5943f0={'\x58\x52\x42\x6d\x66':function(_0x224154,_0x1f80a4){return _0x224154===_0x1f80a4;},'\x59\x55\x55\x43\x41':function(_0x32b4c9,_0x5937a){return _0x32b4c9(_0x5937a);}};if(_0x5943f0[_0x471f69(0x225)](typeof _0x4933fe,_0x471f69(0x20a)))return _0x4933fe;try{return JSON[_0x471f69(0x1f8)](_0x4933fe,null,0x2);}catch{return _0x5943f0[_0x471f69(0x248)](String,_0x4933fe);}}const SDK_VERSION=((()=>{const _0x404eb5=a0_0x202811,_0x5ed896={'\x77\x58\x44\x50\x73':function(_0x3e0e48,_0x9f18a4){return _0x3e0e48(_0x9f18a4);},'\x6d\x61\x68\x47\x4c':_0x404eb5(0x1f4)};try{return _0x5ed896[_0x404eb5(0x231)](createRequire,import.meta.url)(_0x404eb5(0x213))[_0x404eb5(0x214)]??_0x404eb5(0x1f4);}catch{return _0x5ed896['\x6d\x61\x68\x47\x4c'];}})());async function createMcpServer(_0x59fdbf,_0x5e03a0={}){const _0xb2088a=a0_0x202811,_0x2c280e={'\x44\x65\x4c\x65\x6c':_0xb2088a(0x271),'\x61\x76\x4c\x57\x6c':function(_0x2d896a,_0x57bcd3){return _0x2d896a(_0x57bcd3);},'\x41\x52\x52\x53\x5a':function(_0x1042e1,_0x4d9121){return _0x1042e1(_0x4d9121);},'\x5a\x50\x73\x78\x69':_0xb2088a(0x26c),'\x54\x72\x46\x61\x68':function(_0x4fe535,_0x514766){return _0x4fe535(_0x514766);}};let _0x404a34,_0x9e8915;try{[_0x404a34,_0x9e8915]=await Promise[_0xb2088a(0x245)]([import(_0x2c280e[_0xb2088a(0x200)]),import('\x40\x6d\x6f\x64\x65\x6c\x63\x6f\x6e\x74\x65\x78\x74\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x2f\x73\x64\x6b\x2f\x74\x79\x70\x65\x73\x2e\x6a\x73')]);}catch{throw new Error(_0xb2088a(0x1da));}const _0x66171e=_0x2c280e[_0xb2088a(0x21d)](selectSpecs,_0x5e03a0[_0xb2088a(0x1f6)]),_0x52d15f={'\x62\x6f\x78':_0x59fdbf,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x5e03a0[_0xb2088a(0x215)]},_0x4e4260=new Map();for(const _0x5c66a0 of _0x66171e)_0x4e4260[_0xb2088a(0x1e8)](_0x5c66a0['\x6e\x61\x6d\x65'],_0x5c66a0['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x52d15f));const _0x3fca63=new _0x404a34[(_0xb2088a(0x21a))]({'\x6e\x61\x6d\x65':_0x5e03a0[_0xb2088a(0x21f)]??_0xb2088a(0x206),'\x76\x65\x72\x73\x69\x6f\x6e':_0x5e03a0[_0xb2088a(0x214)]??SDK_VERSION},{'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x74\x6f\x6f\x6c\x73':{}}});return _0x3fca63[_0xb2088a(0x21c)](_0x9e8915[_0xb2088a(0x1f5)],async()=>({'\x74\x6f\x6f\x6c\x73':_0x66171e[_0xb2088a(0x24a)](_0x11a7f0=>({'\x6e\x61\x6d\x65':_0x11a7f0[_0xb2088a(0x21f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x11a7f0[_0xb2088a(0x221)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x11a7f0[_0xb2088a(0x244)]}))})),_0x3fca63[_0xb2088a(0x21c)](_0x9e8915[_0xb2088a(0x252)],async _0x3210fc=>{const _0x4f507b=_0xb2088a,_0x595e3b=_0x3210fc,_0x517f6f=_0x4e4260[_0x4f507b(0x1ed)](_0x595e3b[_0x4f507b(0x1d8)][_0x4f507b(0x21f)]);if(!_0x517f6f)return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x2c280e[_0x4f507b(0x228)],'\x74\x65\x78\x74':_0x4f507b(0x22c)+_0x595e3b[_0x4f507b(0x1d8)]['\x6e\x61\x6d\x65']}]};try{return{'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x4f507b(0x271),'\x74\x65\x78\x74':_0x2c280e[_0x4f507b(0x264)](serializeToolResult,await _0x2c280e[_0x4f507b(0x238)](_0x517f6f,_0x595e3b['\x70\x61\x72\x61\x6d\x73'][_0x4f507b(0x1dc)]??{}))}]};}catch(_0x27f0d6){return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x2c280e[_0x4f507b(0x228)],'\x74\x65\x78\x74':_0x27f0d6 instanceof Error?_0x27f0d6[_0x4f507b(0x224)]:String(_0x27f0d6)}]};}}),{'\x73\x65\x72\x76\x65\x72':_0x3fca63,'\x63\x6f\x6e\x6e\x65\x63\x74':_0xc47afe=>_0x3fca63[_0xb2088a(0x251)](_0xc47afe),'\x63\x6c\x6f\x73\x65':()=>_0x3fca63[_0xb2088a(0x223)]()};}function runCode(_0x2d9be5,_0x3e4c72,_0xacdd9e,_0x183fbc){const _0x185b2b=a0_0x202811;return _0x2d9be5[_0x185b2b(0x1d5)](_0x3e4c72,_0xacdd9e,_0x183fbc);}function anthropicTools(_0x173f26,_0x58c058={}){const _0x424cdf=a0_0x202811,_0x32f769={'\x74\x52\x6f\x73\x52':_0x424cdf(0x210),'\x58\x72\x45\x52\x6c':function(_0xc1dc20,_0x2fb052){return _0xc1dc20(_0x2fb052);},'\x41\x72\x57\x61\x66':function(_0x323a1d,_0x535a1f){return _0x323a1d(_0x535a1f);}},_0x1419f0=_0x32f769[_0x424cdf(0x249)](selectSpecs,_0x58c058['\x61\x6c\x6c\x6f\x77']),_0x5cd579={'\x62\x6f\x78':_0x173f26,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x58c058[_0x424cdf(0x215)]},_0x7da725=new Map();for(const _0x1e078a of _0x1419f0)_0x7da725[_0x424cdf(0x1e8)](_0x1e078a['\x6e\x61\x6d\x65'],_0x1e078a[_0x424cdf(0x250)](_0x5cd579));const _0xce1410=_0x1419f0[_0x424cdf(0x24a)](_0x1b8a66=>({'\x6e\x61\x6d\x65':_0x1b8a66[_0x424cdf(0x21f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x1b8a66[_0x424cdf(0x221)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x1b8a66[_0x424cdf(0x244)]}));async function _0x1a9ccb(_0x8002e1){const _0x5e8395=_0x424cdf,_0x571a50=_0x7da725['\x67\x65\x74'](_0x8002e1[_0x5e8395(0x21f)]);if(!_0x571a50)return{'\x74\x79\x70\x65':_0x32f769[_0x5e8395(0x1dd)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x8002e1['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x5e8395(0x22c)+_0x8002e1[_0x5e8395(0x21f)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x5a1da3=await _0x32f769[_0x5e8395(0x25b)](_0x571a50,_0x8002e1[_0x5e8395(0x1ff)]);return{'\x74\x79\x70\x65':'\x74\x6f\x6f\x6c\x5f\x72\x65\x73\x75\x6c\x74','\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x8002e1['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x32f769['\x41\x72\x57\x61\x66'](toAnthropicContent,_0x5a1da3)};}catch(_0x2ad582){return{'\x74\x79\x70\x65':_0x5e8395(0x210),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x8002e1['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x2ad582 instanceof Error?_0x2ad582[_0x5e8395(0x224)]:String(_0x2ad582),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}async function _0x28eb78(_0x243107){const _0x3e5a9c=_0x424cdf,_0x4121cf=_0x243107[_0x3e5a9c(0x243)](_0x4203e9=>typeof _0x4203e9===_0x3e5a9c(0x265)&&_0x4203e9!==null&&_0x4203e9[_0x3e5a9c(0x1e1)]===_0x3e5a9c(0x254));return Promise[_0x3e5a9c(0x245)](_0x4121cf[_0x3e5a9c(0x24a)](_0x1a9ccb));}return{'\x74\x6f\x6f\x6c\x73':_0xce1410,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65':_0x1a9ccb,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x28eb78};}function toAnthropicContent(_0x5c1bf5){const _0xb461ec=a0_0x202811,_0x1a70d7={'\x43\x44\x76\x53\x70':function(_0x1d77fb,_0x43694c){return _0x1d77fb(_0x43694c);},'\x6c\x72\x4c\x42\x64':function(_0x30d20b,_0x1f6fce){return _0x30d20b(_0x1f6fce);},'\x62\x4b\x53\x47\x50':'\x74\x65\x78\x74','\x67\x71\x79\x72\x74':function(_0xdca952,_0x4636a3){return _0xdca952(_0x4636a3);}};if(!_0x1a70d7['\x43\x44\x76\x53\x70'](isCodeExecutionResultWithImages,_0x5c1bf5))return _0x1a70d7[_0xb461ec(0x246)](serializeToolResult,_0x5c1bf5);const _0x20e4fc=[],_0x1878db={..._0x5c1bf5,'\x72\x65\x73\x75\x6c\x74\x73':_0x5c1bf5[_0xb461ec(0x25f)]['\x66\x69\x6c\x74\x65\x72'](_0x17a9b9=>_0x17a9b9[_0xb461ec(0x1e1)]!==_0xb461ec(0x273))};_0x20e4fc[_0xb461ec(0x232)]({'\x74\x79\x70\x65':_0x1a70d7[_0xb461ec(0x20d)],'\x74\x65\x78\x74':serializeToolResult(_0x1878db)});for(const _0x309749 of _0x5c1bf5[_0xb461ec(0x25f)])if(_0x1a70d7[_0xb461ec(0x246)](isImagePart,_0x309749))_0x20e4fc[_0xb461ec(0x232)]({'\x74\x79\x70\x65':_0xb461ec(0x273),'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':_0xb461ec(0x22f),'\x6d\x65\x64\x69\x61\x5f\x74\x79\x70\x65':_0x1a70d7[_0xb461ec(0x241)](imageMediaType,_0x309749[_0xb461ec(0x24e)]),'\x64\x61\x74\x61':_0x309749[_0xb461ec(0x1ec)]}});return _0x20e4fc;}function isImagePart(_0x579c1b){const _0x4215c4=a0_0x202811;return _0x579c1b[_0x4215c4(0x1e1)]===_0x4215c4(0x273);}function isCodeExecutionResultWithImages(_0x4b5c5b){const _0x4bc571=a0_0x202811,_0x3b923c={'\x54\x52\x48\x62\x45':function(_0x3ae96b,_0x5b93e7){return _0x3ae96b!==_0x5b93e7;},'\x46\x65\x65\x4e\x68':_0x4bc571(0x265)};if(!_0x4b5c5b||_0x3b923c[_0x4bc571(0x263)](typeof _0x4b5c5b,_0x3b923c[_0x4bc571(0x1f9)]))return![];const _0x5f5ced=_0x4b5c5b[_0x4bc571(0x25f)];if(!Array['\x69\x73\x41\x72\x72\x61\x79'](_0x5f5ced))return![];return _0x5f5ced[_0x4bc571(0x216)](_0x37a8eb=>_0x37a8eb&&typeof _0x37a8eb===_0x4bc571(0x265)&&_0x37a8eb['\x74\x79\x70\x65']==='\x69\x6d\x61\x67\x65');}function imageMediaType(_0x46d108){const _0xa359dc=a0_0x202811,_0x3c4488={'\x72\x42\x6a\x66\x6d':_0xa359dc(0x1fd),'\x55\x55\x77\x77\x76':_0xa359dc(0x26d)};switch(_0x46d108){case'\x70\x6e\x67':return _0x3c4488[_0xa359dc(0x209)];case _0x3c4488[_0xa359dc(0x1e6)]:return _0xa359dc(0x23d);case _0xa359dc(0x258):return _0x3c4488[_0xa359dc(0x209)];}}const FLEET_TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x70\x61\x77\x6e':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x70\x61\x77\x6e','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x20b),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x1f1)},'\x77\x6f\x72\x6b\x65\x72\x73':{'\x74\x79\x70\x65':a0_0x202811(0x269),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x247)},'\x6d\x65\x74\x61\x64\x61\x74\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{},'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':!![],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x1ee)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64',a0_0x202811(0x262)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x5b628a})=>async _0x1c8cf5=>{const _0x40e4ca=a0_0x202811,_0x300aef=await _0x5b628a[_0x40e4ca(0x234)][_0x40e4ca(0x219)]({'\x64\x65\x66\x61\x75\x6c\x74\x73':{'\x70\x75\x62\x6c\x69\x63\x54\x65\x6d\x70\x6c\x61\x74\x65\x49\x64':_0x1c8cf5['\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64']},'\x77\x6f\x72\x6b\x65\x72\x73':Array[_0x40e4ca(0x1eb)]({'\x6c\x65\x6e\x67\x74\x68':_0x1c8cf5['\x77\x6f\x72\x6b\x65\x72\x73']},(_0x56725f,_0x234993)=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x40e4ca(0x20f)+_0x234993})),'\x6d\x65\x74\x61\x64\x61\x74\x61':_0x1c8cf5['\x6d\x65\x74\x61\x64\x61\x74\x61']});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x300aef[_0x40e4ca(0x1d9)],'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64\x73':_0x300aef[_0x40e4ca(0x222)]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x69\x73\x70\x61\x74\x63\x68':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x69\x73\x70\x61\x74\x63\x68','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x52\x75\x6e\x20\x61\x20\x73\x68\x65\x6c\x6c\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x20\x6f\x6e\x20\x61\x20\x66\x6c\x65\x65\x74\x27\x73\x20\x77\x6f\x72\x6b\x65\x72\x73\x20\x69\x6e\x20\x70\x61\x72\x61\x6c\x6c\x65\x6c\x2e\x20\x44\x65\x66\x61\x75\x6c\x74\x73\x20\x74\x6f\x20\x61\x6c\x6c\x20\x77\x6f\x72\x6b\x65\x72\x73\x3b\x20\x70\x61\x73\x73\x20\x60\x6d\x61\x63\x68\x69\x6e\x65\x73\x60\x20\x74\x6f\x20\x74\x61\x72\x67\x65\x74\x20\x73\x70\x65\x63\x69\x66\x69\x63\x20\x6f\x6e\x65\x73\x2e\x20\x52\x65\x74\x75\x72\x6e\x73\x20\x70\x65\x72\x2d\x6d\x61\x63\x68\x69\x6e\x65\x20\x7b\x6f\x6b\x2c\x20\x72\x65\x73\x75\x6c\x74\x3f\x2c\x20\x65\x72\x72\x6f\x72\x3f\x7d\x20\x65\x6e\x74\x72\x69\x65\x73\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x202811(0x20a)},'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0x202811(0x20a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x256)},'\x6d\x61\x63\x68\x69\x6e\x65\x73':{'\x74\x79\x70\x65':a0_0x202811(0x22a),'\x69\x74\x65\x6d\x73':{'\x74\x79\x70\x65':a0_0x202811(0x20a)},'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x21b)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x202811(0x269),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x1d6)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x1f0),a0_0x202811(0x1d7)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x1fc1b2})=>async _0xfdf7ca=>{const _0x3251b5=a0_0x202811;return await(await _0x1fc1b2[_0x3251b5(0x234)][_0x3251b5(0x266)]({'\x66\x6c\x65\x65\x74\x49\x64':_0xfdf7ca['\x66\x6c\x65\x65\x74\x5f\x69\x64']}))[_0x3251b5(0x270)](_0xfdf7ca[_0x3251b5(0x1d7)],{'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0xfdf7ca['\x6d\x61\x63\x68\x69\x6e\x65\x73'],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0xfdf7ca[_0x3251b5(0x21e)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x74\x61\x74\x75\x73':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x74\x61\x74\x75\x73','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x226),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x202811(0x265),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x1f0)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0xc64131})=>async _0x234203=>{const _0x4c564f=a0_0x202811,_0x56bec4=await _0xc64131[_0x4c564f(0x234)][_0x4c564f(0x266)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x234203[_0x4c564f(0x1f0)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x56bec4[_0x4c564f(0x1d9)],'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x56bec4['\x69\x64\x73'][_0x4c564f(0x24a)](_0x1743e5=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x1743e5,'\x73\x74\x61\x74\x75\x73':_0x56bec4[_0x4c564f(0x1ed)](_0x1743e5)[_0x4c564f(0x1fa)]}))};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x65\x73\x74\x72\x6f\x79':{'\x6e\x61\x6d\x65':a0_0x202811(0x23c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x272),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x202811(0x20a)},'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x5f\x6f\x6e\x5f\x65\x72\x72\x6f\x72':{'\x74\x79\x70\x65':a0_0x202811(0x268),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x202811(0x242)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x202811(0x1f0)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x261fa0})=>async _0x5c27ee=>{const _0x4e1d0f=a0_0x202811;return await(await _0x261fa0[_0x4e1d0f(0x234)][_0x4e1d0f(0x266)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x5c27ee['\x66\x6c\x65\x65\x74\x5f\x69\x64']}))[_0x4e1d0f(0x255)]({'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x4f\x6e\x45\x72\x72\x6f\x72':_0x5c27ee[_0x4e1d0f(0x237)]}),{'\x66\x6c\x65\x65\x74\x49\x64':_0x5c27ee[_0x4e1d0f(0x1f0)],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_FLEET_TOOL_SPECS=Object[a0_0x202811(0x1fb)](FLEET_TOOL_SPECS);function selectFleetSpecs(_0x16c077){const _0x430731=a0_0x202811;if(!_0x16c077||_0x16c077['\x6c\x65\x6e\x67\x74\x68']===0x0)return ALL_FLEET_TOOL_SPECS;const _0x5b79e3=new Set(_0x16c077);return Object[_0x430731(0x220)](FLEET_TOOL_SPECS)[_0x430731(0x243)](_0x5c120c=>_0x5b79e3[_0x430731(0x20e)](_0x5c120c))[_0x430731(0x24a)](_0x1e174b=>FLEET_TOOL_SPECS[_0x1e174b]);}function anthropicFleetTools(_0x40f998,_0x4364bd={}){const _0x95d11=a0_0x202811,_0xfebb89={'\x49\x44\x6b\x44\x42':function(_0x509859,_0xa86edb){return _0x509859(_0xa86edb);},'\x50\x47\x4b\x6d\x56':function(_0x335bc1,_0x3c1b6e,_0x4cdad0){return _0x335bc1(_0x3c1b6e,_0x4cdad0);}},_0x23500a=_0xfebb89['\x49\x44\x6b\x44\x42'](selectFleetSpecs,_0x4364bd[_0x95d11(0x1f6)]),_0x4bc27f=_0xfebb89[_0x95d11(0x260)](buildFleetHandlers,_0x23500a,{'\x63\x6c\x69\x65\x6e\x74':_0x40f998});return{'\x74\x6f\x6f\x6c\x73':_0x23500a[_0x95d11(0x24a)](_0x1c55b9=>({'\x6e\x61\x6d\x65':_0x1c55b9[_0x95d11(0x21f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x1c55b9[_0x95d11(0x221)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x1c55b9[_0x95d11(0x244)]})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x422d30){const _0x49dbb9=_0x95d11,_0x559097=_0x4bc27f[_0x49dbb9(0x1ed)](_0x422d30[_0x49dbb9(0x21f)]);if(!_0x559097)return{'\x74\x79\x70\x65':_0x49dbb9(0x210),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x422d30['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x49dbb9(0x1de)+_0x422d30[_0x49dbb9(0x21f)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x4f3ee9=await _0xfebb89[_0x49dbb9(0x1e7)](_0x559097,_0x422d30[_0x49dbb9(0x1ff)]);return{'\x74\x79\x70\x65':_0x49dbb9(0x210),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x422d30['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x4f3ee9)};}catch(_0x369824){return{'\x74\x79\x70\x65':'\x74\x6f\x6f\x6c\x5f\x72\x65\x73\x75\x6c\x74','\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x422d30['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x369824 instanceof Error?_0x369824[_0x49dbb9(0x224)]:String(_0x369824),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiFleetTools(_0xa75a14,_0xe2df0e={}){const _0x5abda5=a0_0x202811,_0x275e73={'\x79\x6c\x61\x77\x65':_0x5abda5(0x227),'\x66\x42\x52\x50\x7a':function(_0xfff4a0,_0x50e620){return _0xfff4a0 instanceof _0x50e620;}},_0x2e0cdb=selectFleetSpecs(_0xe2df0e[_0x5abda5(0x1f6)]),_0x3b853c=buildFleetHandlers(_0x2e0cdb,{'\x63\x6c\x69\x65\x6e\x74':_0xa75a14});return{'\x74\x6f\x6f\x6c\x73':_0x2e0cdb[_0x5abda5(0x24a)](_0xe0be60=>({'\x74\x79\x70\x65':_0x5abda5(0x20c),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0xe0be60[_0x5abda5(0x21f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0xe0be60['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0xe0be60[_0x5abda5(0x244)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x582ccf){const _0x522737=_0x5abda5,_0x48a963=_0x3b853c['\x67\x65\x74'](_0x582ccf[_0x522737(0x20c)]['\x6e\x61\x6d\x65']);if(!_0x48a963)return{'\x72\x6f\x6c\x65':_0x522737(0x227),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x582ccf['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x522737(0x1f8)]({'\x65\x72\x72\x6f\x72':_0x522737(0x1de)+_0x582ccf[_0x522737(0x20c)][_0x522737(0x21f)]})};let _0x58b106={};try{const _0x3f3755=JSON[_0x522737(0x25a)](_0x582ccf['\x66\x75\x6e\x63\x74\x69\x6f\x6e'][_0x522737(0x1dc)]||'\x7b\x7d');if(_0x3f3755&&typeof _0x3f3755===_0x522737(0x265))_0x58b106=_0x3f3755;}catch{}try{const _0x177492=await _0x48a963(_0x58b106);return{'\x72\x6f\x6c\x65':_0x522737(0x227),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x582ccf['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x177492)};}catch(_0x4a0f77){return{'\x72\x6f\x6c\x65':_0x275e73[_0x522737(0x236)],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x582ccf['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x522737(0x1f8)]({'\x65\x72\x72\x6f\x72':_0x275e73['\x66\x42\x52\x50\x7a'](_0x4a0f77,Error)?_0x4a0f77[_0x522737(0x224)]:String(_0x4a0f77)})};}}};}async function vercelAiFleetTools(_0x4f0d73,_0x35d789={}){const _0x5c0095=a0_0x202811,_0x544af3={'\x6c\x61\x6f\x4e\x6c':function(_0x25898f,_0x197dcf){return _0x25898f(_0x197dcf);},'\x68\x78\x6e\x56\x6d':'\x76\x65\x72\x63\x65\x6c\x41\x69\x46\x6c\x65\x65\x74\x54\x6f\x6f\x6c\x73\x28\x29\x3a\x20\x74\x68\x65\x20\x60\x61\x69\x60\x20\x70\x61\x63\x6b\x61\x67\x65\x20\x69\x73\x20\x6e\x6f\x74\x20\x69\x6e\x73\x74\x61\x6c\x6c\x65\x64\x2e\x20\x49\x6e\x73\x74\x61\x6c\x6c\x20\x76\x69\x61\x20\x60\x70\x6e\x70\x6d\x20\x61\x64\x64\x20\x61\x69\x60\x2e','\x74\x48\x62\x61\x63':function(_0x598d17,_0x51b4b2){return _0x598d17(_0x51b4b2);}};let _0x16fe6b;try{_0x16fe6b=await import('\x61\x69');}catch{throw new Error(_0x544af3['\x68\x78\x6e\x56\x6d']);}const _0xc3cc64=_0x544af3['\x74\x48\x62\x61\x63'](selectFleetSpecs,_0x35d789[_0x5c0095(0x1f6)]),_0x3ecf0b=buildFleetHandlers(_0xc3cc64,{'\x63\x6c\x69\x65\x6e\x74':_0x4f0d73}),_0x598379={};for(const _0x3e23ad of _0xc3cc64)_0x598379[_0x3e23ad[_0x5c0095(0x21f)]]=_0x16fe6b[_0x5c0095(0x227)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x3e23ad[_0x5c0095(0x221)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x16fe6b[_0x5c0095(0x1fc)](_0x3e23ad['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']),'\x65\x78\x65\x63\x75\x74\x65':async _0x23281f=>{const _0x3335d8=_0x5c0095,_0x236315=_0x3ecf0b[_0x3335d8(0x1ed)](_0x3e23ad[_0x3335d8(0x21f)]);if(!_0x236315)throw new Error(_0x3335d8(0x1de)+_0x3e23ad[_0x3335d8(0x21f)]);return serializeToolResult(await _0x544af3['\x6c\x61\x6f\x4e\x6c'](_0x236315,_0x23281f));}});return _0x598379;}function a0_0x5681(){const _0x38239b=['\x42\x78\x6a\x68\x44\x4c\x71','\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c','\x44\x67\x66\x55\x7a\x32\x58\x4c\x6c\x78\x6e\x48\x42\x4d\x72\x49\x42\x33\x47','\x73\x32\x76\x59\x42\x4d\x76\x53\x69\x67\x58\x48\x42\x4d\x44\x31\x79\x77\x44\x4c\x6c\x47','\x77\x77\x4c\x6e\x7a\x4d\x43','\x43\x4b\x6a\x51\x7a\x4d\x30','\x43\x33\x72\x59\x41\x77\x35\x4e','\x75\x33\x62\x48\x44\x32\x34\x47\x79\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x56\x7a\x49\x62\x6f\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x4c\x43\x59\x62\x4d\x43\x4d\x39\x54\x69\x67\x65\x47\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x75\x53\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x4a\x42\x32\x39\x59\x7a\x67\x4c\x55\x79\x78\x72\x56\x43\x49\x62\x57\x42\x68\x76\x5a\x69\x65\x34\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x62\x5a\x41\x67\x66\x59\x41\x77\x35\x4e\x69\x67\x65\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x72\x4f\x7a\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x50\x7a\x63\x62\x48\x42\x4d\x71\x47\x44\x67\x48\x4c\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x41\x77\x72\x5a\x6c\x49\x62\x66\x79\x77\x6e\x4f\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x49\x62\x4f\x79\x78\x6d\x47\x41\x78\x72\x5a\x69\x67\x39\x33\x42\x49\x62\x57\x7a\x78\x6a\x5a\x41\x78\x6e\x30\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x75\x54\x7a\x78\x48\x4c\x79\x33\x76\x30\x41\x77\x39\x55\x69\x67\x54\x4c\x43\x4d\x35\x4c\x42\x64\x53\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x77\x75\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x67\x4c\x5a\x69\x67\x31\x56\x44\x77\x35\x30\x7a\x77\x71\x47\x79\x77\x6e\x59\x42\x33\x6e\x5a\x69\x68\x72\x4f\x7a\x77\x30\x55\x69\x65\x6e\x70\x75\x31\x72\x74\x69\x66\x6e\x64\x71\x75\x58\x66\x69\x65\x58\x6a\x74\x4b\x76\x62\x75\x4b\x58\x7a\x69\x68\x44\x50\x44\x67\x47\x47\x79\x68\x44\x56\x43\x4d\x54\x4c\x43\x4e\x6e\x47\x6c\x49\x62\x76\x43\x32\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35\x69\x68\x44\x4f\x7a\x77\x34\x47\x7a\x67\x39\x55\x7a\x73\x34','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x79\x4b\x54\x74\x72\x31\x61','\x41\x67\x66\x5a','\x44\x32\x39\x59\x41\x32\x76\x59\x6c\x71','\x44\x67\x39\x56\x42\x66\x39\x59\x7a\x78\x6e\x31\x42\x68\x71','\x41\x76\x62\x73\x76\x67\x65','\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75','\x6c\x49\x34\x56\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x32\x39\x55','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x43\x32\x39\x54\x7a\x71','\x6e\x4a\x79\x57\x6d\x5a\x71\x35\x6d\x65\x6e\x72\x45\x77\x54\x5a\x43\x47','\x74\x67\x4c\x5a\x44\x63\x62\x4c\x42\x4e\x72\x59\x41\x77\x76\x5a\x69\x67\x4c\x55\x69\x67\x65\x47\x7a\x67\x4c\x59\x7a\x77\x6e\x30\x42\x33\x6a\x35\x69\x68\x44\x50\x44\x67\x47\x47\x43\x32\x4c\x36\x7a\x73\x57\x47\x44\x68\x4c\x57\x7a\x73\x57\x47\x79\x77\x35\x4b\x69\x67\x31\x56\x7a\x67\x75\x55','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x32\x4c\x30\x41\x65\x6e\x56\x42\x33\x6a\x4b\x41\x77\x35\x48\x44\x67\x39\x59','\x75\x32\x76\x59\x44\x4d\x76\x59','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x43\x33\x76\x49\x43\x32\x76\x30\x69\x67\x39\x4d\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x41\x77\x72\x5a\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x43\x59\x62\x30\x42\x59\x62\x48\x42\x67\x57\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x34','\x43\x32\x76\x30\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x76\x68\x6a\x67\x79\x77\x47','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x66\x39\x54\x43\x57','\x42\x4d\x66\x54\x7a\x71','\x41\x32\x76\x35\x43\x57','\x7a\x67\x76\x5a\x79\x33\x6a\x50\x43\x68\x72\x50\x42\x32\x34','\x41\x77\x72\x5a','\x79\x32\x58\x56\x43\x32\x75','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x77\x66\x6a\x63\x42\x77\x79','\x74\x67\x4c\x5a\x44\x63\x62\x30\x41\x67\x75\x47\x7a\x4d\x58\x4c\x7a\x78\x71\x4e\x43\x59\x62\x54\x79\x77\x6e\x4f\x41\x77\x35\x4c\x43\x59\x62\x48\x42\x4d\x71\x47\x44\x67\x48\x4c\x41\x78\x69\x47\x43\x67\x76\x59\x6c\x77\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x43\x33\x72\x48\x44\x67\x75\x47\x6b\x68\x6a\x31\x42\x4d\x35\x50\x42\x4d\x43\x47\x6c\x59\x62\x5a\x44\x67\x39\x57\x43\x67\x76\x4b\x69\x63\x38\x47\x7a\x4d\x66\x50\x42\x67\x76\x4b\x6b\x73\x62\x57\x42\x68\x76\x5a\x69\x67\x58\x48\x43\x33\x71\x54\x44\x78\x6e\x4c\x7a\x63\x62\x30\x41\x77\x31\x4c\x43\x33\x72\x48\x42\x78\x62\x5a\x6c\x47','\x44\x67\x39\x56\x42\x61','\x72\x67\x76\x6d\x7a\x77\x57','\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x79\x78\x6a\x59\x79\x78\x4b','\x76\x75\x48\x4a\x74\x67\x65','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x44\x68\x4c\x57\x7a\x78\x6e\x4a\x43\x4d\x4c\x57\x44\x61','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x67\x39\x56\x42\x61','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x6d\x74\x75\x30\x6e\x4a\x79\x34\x74\x76\x72\x62\x73\x65\x76\x6c','\x44\x31\x48\x65\x75\x68\x6d','\x43\x68\x76\x5a\x41\x61','\x42\x4d\x39\x4b\x7a\x71','\x7a\x4d\x58\x4c\x7a\x78\x72\x5a','\x6f\x78\x7a\x78\x74\x33\x6e\x34\x75\x61','\x45\x77\x58\x48\x44\x32\x75','\x79\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x76\x46\x42\x32\x35\x46\x7a\x78\x6a\x59\x42\x33\x69','\x71\x76\x6a\x73\x75\x31\x4f','\x77\x67\x72\x48\x75\x31\x61','\x6d\x74\x6d\x30\x6d\x64\x65\x30\x6d\x4d\x35\x55\x41\x4e\x48\x78\x41\x47','\x79\x33\x44\x4b','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35','\x41\x77\x31\x48\x7a\x32\x75\x56\x41\x4e\x62\x4c\x7a\x57','\x43\x4d\x76\x48\x7a\x61','\x6d\x74\x6d\x33\x6d\x5a\x43\x5a\x6d\x64\x72\x5a\x77\x4e\x50\x71\x42\x65\x4b','\x72\x4e\x76\x53\x42\x63\x62\x4d\x41\x77\x58\x4c\x69\x67\x6e\x56\x42\x4e\x72\x4c\x42\x4e\x72\x5a\x6c\x47','\x7a\x33\x66\x35\x43\x4e\x71','\x71\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x75\x47\x7a\x67\x76\x53\x7a\x78\x72\x50\x42\x4d\x43\x47\x43\x4d\x76\x54\x79\x77\x4c\x55\x41\x77\x35\x4e\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x76\x5a\x69\x67\x4c\x4d\x69\x67\x39\x55\x7a\x73\x62\x4d\x79\x77\x4c\x53\x43\x59\x34','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x41\x77\x35\x57\x44\x78\x72\x74\x79\x32\x48\x4c\x42\x77\x65','\x79\x77\x58\x53','\x42\x68\x6a\x6d\x71\x4d\x71','\x74\x4e\x76\x54\x79\x4d\x76\x59\x69\x67\x39\x4d\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x7a\x78\x6d\x55\x69\x65\x76\x48\x79\x32\x47\x47\x41\x78\x6d\x47\x79\x4d\x4c\x53\x42\x67\x76\x4b\x69\x67\x4c\x55\x7a\x67\x76\x57\x7a\x77\x35\x4b\x7a\x77\x35\x30\x42\x68\x4b\x55','\x77\x76\x76\x76\x71\x30\x65','\x71\x78\x6a\x78\x79\x77\x79','\x42\x77\x66\x57','\x42\x4b\x54\x69\x71\x4d\x65','\x42\x77\x66\x34\x78\x33\x6a\x4c\x43\x33\x76\x53\x44\x68\x6d','\x79\x4d\x66\x5a\x41\x61','\x7a\x4d\x39\x59\x42\x77\x66\x30','\x75\x4d\x76\x48\x7a\x63\x62\x48\x69\x67\x7a\x50\x42\x67\x75\x47\x7a\x4e\x6a\x56\x42\x73\x62\x30\x41\x67\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x62\x4d\x41\x77\x58\x4c\x43\x33\x4c\x5a\x44\x67\x76\x54\x6c\x49\x62\x73\x7a\x77\x58\x48\x44\x67\x4c\x32\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x59\x62\x59\x7a\x78\x6e\x56\x42\x68\x7a\x4c\x69\x67\x7a\x59\x42\x32\x30\x47\x44\x67\x48\x4c\x69\x68\x44\x56\x43\x4d\x54\x5a\x43\x67\x66\x4a\x7a\x73\x62\x59\x42\x32\x39\x30\x6f\x59\x62\x48\x79\x4e\x6e\x56\x42\x68\x76\x30\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x59\x62\x59\x7a\x77\x66\x4b\x69\x68\x72\x4f\x7a\x73\x62\x4a\x42\x32\x35\x30\x79\x77\x4c\x55\x7a\x78\x69\x47\x7a\x4d\x4c\x53\x7a\x78\x6e\x35\x43\x33\x72\x4c\x42\x73\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x53\x45\x73\x34','\x42\x77\x66\x52\x7a\x75\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x79\x32\x39\x55\x42\x4d\x76\x4a\x44\x61','\x71\x32\x66\x53\x42\x66\x72\x56\x42\x32\x58\x73\x7a\x78\x66\x31\x7a\x78\x6e\x30\x75\x32\x6e\x4f\x7a\x77\x31\x48','\x76\x32\x39\x59\x41\x32\x4c\x55\x7a\x59\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4e\x4b\x55\x69\x65\x39\x57\x44\x67\x4c\x56\x42\x4d\x66\x53\x6c\x47','\x44\x67\x39\x56\x42\x66\x39\x31\x43\x32\x75','\x7a\x67\x76\x53\x7a\x78\x72\x4c','\x75\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x62\x53\x41\x77\x35\x4c\x6c\x47','\x6d\x4a\x61\x59\x6d\x74\x76\x69\x73\x30\x50\x56\x43\x65\x69','\x43\x33\x7a\x4e','\x76\x75\x48\x6b\x44\x33\x6d','\x43\x67\x66\x59\x43\x32\x75','\x77\x68\x6a\x66\x75\x4d\x57','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x7a\x77\x66\x4b','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x75\x67\x76\x59\x6c\x77\x6e\x48\x42\x67\x57\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x6d\x63\x62\x4b\x41\x78\x6e\x48\x79\x4d\x58\x4c\x43\x59\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x75\x65\x44\x6c\x42\x76\x79','\x43\x32\x39\x31\x43\x4d\x6e\x4c','\x44\x32\x39\x59\x41\x32\x76\x59\x43\x57','\x76\x66\x6a\x69\x79\x4b\x75','\x79\x78\x7a\x6d\x76\x32\x57','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x42\x67\x4c\x5a\x44\x61','\x43\x68\x4c\x30\x41\x67\x39\x55','\x79\x4d\x39\x56\x42\x67\x76\x48\x42\x47','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x33\x43\x4d\x4c\x30\x7a\x71','\x79\x77\x7a\x54\x71\x31\x69','\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x59\x39\x5a\x7a\x78\x6a\x32\x7a\x78\x69\x56\x41\x77\x35\x4b\x7a\x78\x47\x55\x41\x4e\x6d','\x41\x4e\x62\x4c\x7a\x57','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x53\x41\x78\x6e\x30','\x43\x67\x66\x30\x44\x67\x76\x59\x42\x47','\x7a\x67\x4c\x5a\x43\x67\x66\x30\x79\x32\x48\x66\x45\x67\x76\x4a','\x44\x67\x76\x34\x44\x61','\x72\x67\x76\x53\x7a\x78\x72\x4c\x69\x68\x72\x4f\x7a\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x48\x42\x4d\x71\x47\x7a\x78\x7a\x4c\x43\x4e\x4b\x47\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x73\x62\x50\x42\x49\x62\x50\x44\x63\x34\x47\x75\x33\x72\x56\x43\x68\x6d\x47\x79\x4d\x4c\x53\x42\x67\x4c\x55\x7a\x59\x62\x50\x42\x77\x31\x4c\x7a\x67\x4c\x48\x44\x67\x76\x53\x45\x73\x34\x47\x71\x32\x66\x53\x42\x63\x62\x30\x41\x67\x4c\x5a\x69\x68\x44\x4f\x7a\x77\x34\x47\x44\x67\x48\x4c\x69\x67\x6e\x48\x42\x78\x62\x48\x41\x77\x44\x55\x69\x67\x4c\x5a\x69\x67\x72\x56\x42\x4d\x75\x37\x69\x67\x39\x59\x43\x67\x48\x48\x42\x4d\x76\x4b\x69\x67\x7a\x53\x7a\x77\x76\x30\x43\x59\x62\x52\x7a\x77\x76\x57\x69\x67\x6a\x31\x43\x4d\x35\x50\x42\x4d\x43\x47\x79\x33\x6a\x4c\x7a\x67\x4c\x30\x43\x59\x34','\x41\x77\x31\x48\x7a\x32\x75','\x6f\x64\x48\x6f\x45\x76\x4c\x78\x74\x77\x69','\x43\x67\x66\x30\x41\x61','\x43\x4e\x76\x55\x71\x32\x39\x4b\x7a\x71','\x75\x67\x76\x59\x6c\x77\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\x43\x67\x66\x59\x79\x77\x31\x5a','\x7a\x4d\x58\x4c\x7a\x78\x72\x6a\x7a\x61','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x74\x77\x6e\x57\x75\x32\x76\x59\x44\x4d\x76\x59\x6b\x63\x4b\x36\x69\x68\x72\x4f\x7a\x73\x62\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x67\x4c\x30\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x55','\x71\x32\x44\x74\x72\x4d\x53','\x79\x78\x6a\x4e\x44\x77\x31\x4c\x42\x4e\x72\x5a','\x44\x66\x6a\x56\x43\x31\x69','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x43\x32\x76\x48\x43\x4d\x6e\x4f','\x75\x4e\x76\x55\x69\x67\x65\x47\x43\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x61\x4f\x42\x4d\x38\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x5a\x44\x67\x66\x30\x7a\x73\x4b\x47\x41\x77\x34\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x55\x69\x66\x76\x5a\x7a\x73\x62\x4d\x42\x33\x69\x47\x42\x32\x35\x4c\x6c\x78\x6e\x4f\x42\x33\x71\x47\x44\x67\x66\x5a\x41\x33\x6d\x47\x42\x67\x4c\x52\x7a\x73\x61\x4e\x43\x67\x35\x57\x42\x73\x62\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x6a\x59\x62\x56\x43\x49\x61\x4e\x42\x68\x6d\x4e\x6c\x49\x62\x67\x42\x33\x69\x47\x79\x32\x39\x4b\x7a\x73\x62\x30\x41\x67\x66\x30\x69\x68\x6e\x4f\x42\x33\x76\x53\x7a\x63\x62\x5a\x41\x67\x66\x59\x7a\x73\x62\x5a\x44\x67\x66\x30\x7a\x73\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x53\x69\x68\x62\x59\x7a\x77\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x33\x6a\x31\x42\x4c\x39\x4a\x42\x32\x72\x4c\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x73\x77\x71\x55','\x44\x68\x4c\x57\x7a\x71','\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4c\x45\x67\x76\x4a','\x6d\x4d\x44\x79\x77\x4e\x7a\x72\x76\x71','\x6d\x74\x65\x35\x42\x68\x48\x71\x73\x32\x39\x48','\x76\x76\x76\x33\x44\x33\x79','\x73\x75\x72\x52\x72\x65\x69','\x43\x32\x76\x30','\x6e\x64\x47\x33\x6e\x4a\x4b\x59\x6f\x75\x54\x52\x73\x32\x50\x53\x73\x71','\x75\x32\x39\x31\x43\x4d\x6e\x4c\x69\x67\x6e\x56\x7a\x67\x75\x47\x44\x67\x38\x47\x43\x4e\x76\x55\x6c\x49\x62\x6e\x44\x77\x58\x30\x41\x73\x31\x53\x41\x77\x35\x4c\x69\x68\x6e\x31\x43\x68\x62\x56\x43\x4e\x72\x4c\x7a\x63\x34','\x7a\x4e\x6a\x56\x42\x71','\x7a\x67\x66\x30\x79\x71','\x7a\x32\x76\x30','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65\x47\x43\x33\x72\x48\x42\x78\x62\x4c\x7a\x63\x62\x56\x42\x49\x62\x4c\x44\x4d\x76\x59\x45\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x54\x7a\x77\x31\x49\x7a\x78\x69\x55','\x6d\x5a\x47\x35\x6e\x74\x71\x32\x6f\x74\x7a\x4b\x7a\x77\x50\x59\x74\x66\x47','\x7a\x4d\x58\x4c\x7a\x78\x72\x46\x41\x77\x71','\x75\x68\x76\x49\x42\x67\x4c\x4a\x69\x68\x72\x4c\x42\x78\x62\x53\x79\x78\x72\x4c\x69\x68\x6e\x53\x44\x77\x43\x47\x42\x33\x69\x47\x41\x77\x71\x47\x6b\x67\x75\x55\x7a\x59\x34\x47\x6a\x33\x62\x35\x44\x67\x48\x56\x42\x49\x31\x4b\x79\x78\x72\x48\x6c\x78\x6e\x4a\x41\x77\x76\x55\x79\x32\x75\x4e\x6b\x73\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x5a\x7a\x77\x66\x59\x79\x32\x47','\x42\x77\x66\x5a\x44\x68\x6a\x48\x72\x4d\x58\x4c\x7a\x78\x72\x75\x42\x32\x39\x53\x43\x59\x47\x50\x6f\x49\x62\x30\x41\x67\x75\x47\x79\x65\x62\x54\x79\x78\x6e\x30\x43\x4d\x65\x56\x79\x32\x39\x59\x7a\x77\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c\x79\x63\x34','\x6d\x63\x34\x57\x6c\x4a\x61','\x74\x67\x4c\x5a\x44\x66\x72\x56\x42\x32\x58\x5a\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x66\x6e\x4a\x41\x67\x76\x54\x79\x71','\x79\x77\x58\x53\x42\x33\x43','\x72\x78\x48\x4c\x79\x33\x76\x30\x7a\x73\x62\x4a\x42\x32\x72\x4c\x69\x67\x4c\x55\x69\x67\x65\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x53\x79\x77\x35\x4e\x44\x77\x66\x4e\x7a\x73\x62\x52\x7a\x78\x6a\x55\x7a\x77\x57\x47\x41\x77\x35\x5a\x41\x77\x72\x4c\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x6c\x49\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x78\x6d\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x63\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x47\x44\x32\x4c\x30\x41\x63\x62\x30\x41\x67\x75\x47\x43\x32\x66\x54\x7a\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x6e\x30\x7a\x67\x39\x31\x44\x63\x57\x47\x43\x33\x72\x4b\x7a\x78\x6a\x59\x6c\x63\x62\x4c\x45\x67\x4c\x30\x69\x67\x6e\x56\x7a\x67\x75\x53\x69\x67\x66\x55\x7a\x63\x62\x48\x69\x68\x72\x35\x43\x67\x76\x4b\x69\x67\x62\x59\x7a\x78\x6e\x31\x42\x68\x72\x5a\x79\x63\x62\x48\x43\x4e\x6a\x48\x45\x73\x62\x4a\x42\x32\x35\x30\x79\x77\x4c\x55\x41\x77\x35\x4e\x69\x67\x31\x48\x44\x68\x62\x53\x42\x33\x72\x53\x41\x77\x69\x47\x7a\x4d\x4c\x4e\x44\x78\x6a\x4c\x43\x59\x61\x4f\x79\x4d\x66\x5a\x7a\x74\x79\x30\x69\x66\x62\x6f\x72\x59\x4b\x53\x69\x68\x62\x48\x42\x4d\x72\x48\x43\x59\x62\x65\x79\x78\x72\x48\x72\x4e\x6a\x48\x42\x77\x76\x5a\x6c\x63\x62\x6b\x75\x30\x39\x6f\x69\x68\x7a\x50\x79\x73\x62\x4b\x41\x78\x6e\x57\x42\x67\x66\x35\x6b\x63\x4b\x53\x69\x67\x39\x59\x69\x67\x76\x59\x43\x4d\x39\x59\x43\x59\x34\x47\x75\x68\x6a\x4c\x7a\x4d\x76\x59\x69\x68\x72\x4f\x41\x78\x6d\x47\x42\x33\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x32\x76\x34\x7a\x77\x6d\x47\x7a\x4d\x39\x59\x69\x67\x66\x55\x45\x73\x62\x4a\x42\x32\x72\x4c\x69\x68\x72\x4f\x79\x78\x71\x47\x42\x4d\x76\x4c\x7a\x68\x6d\x47\x43\x33\x72\x59\x44\x77\x6e\x30\x44\x78\x6a\x4c\x7a\x63\x62\x56\x44\x78\x72\x57\x44\x78\x71\x55','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x72\x4d\x76\x4c\x74\x4d\x47','\x43\x33\x72\x48\x44\x68\x76\x5a','\x44\x4d\x66\x53\x44\x77\x76\x5a','\x41\x4e\x6e\x56\x42\x4c\x6e\x4a\x41\x67\x76\x54\x79\x71','\x41\x77\x31\x48\x7a\x32\x75\x56\x43\x67\x35\x4e','\x7a\x66\x48\x55\x7a\x33\x69','\x41\x77\x35\x57\x44\x78\x71','\x77\x4c\x62\x5a\x45\x67\x4b','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x44\x77\x35\x46\x79\x32\x39\x4b\x7a\x71','\x42\x77\x66\x5a\x44\x68\x6a\x48\x76\x67\x39\x56\x42\x68\x6d\x4f\x6b\x74\x4f\x47\x44\x67\x48\x4c\x69\x67\x62\x61\x42\x77\x66\x5a\x44\x68\x6a\x48\x6c\x32\x6e\x56\x43\x4d\x76\x47\x69\x68\x62\x48\x79\x32\x54\x48\x7a\x32\x75\x47\x41\x78\x6d\x47\x42\x4d\x39\x30\x69\x67\x4c\x55\x43\x33\x72\x48\x42\x67\x58\x4c\x7a\x63\x34\x47\x73\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x62\x50\x44\x63\x62\x32\x41\x77\x65\x47\x79\x68\x62\x55\x43\x67\x30\x47\x79\x77\x72\x4b\x69\x65\x62\x54\x79\x78\x6e\x30\x43\x4d\x65\x56\x79\x32\x39\x59\x7a\x77\x61\x55','\x44\x4d\x76\x59\x79\x32\x76\x53\x71\x77\x4c\x75\x42\x32\x39\x53\x43\x59\x47\x50\x6f\x49\x62\x30\x41\x67\x75\x47\x79\x67\x66\x50\x79\x63\x62\x57\x79\x77\x6e\x52\x79\x77\x44\x4c\x69\x67\x4c\x5a\x69\x67\x35\x56\x44\x63\x62\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x7a\x77\x71\x55\x69\x65\x4c\x55\x43\x33\x72\x48\x42\x67\x57\x47\x41\x78\x71\x47\x44\x4d\x4c\x48\x69\x67\x62\x57\x42\x4e\x62\x54\x69\x67\x66\x4b\x7a\x63\x62\x48\x41\x77\x61\x47\x6b\x67\x66\x55\x7a\x63\x62\x57\x41\x77\x6e\x52\x69\x67\x66\x55\x69\x67\x62\x61\x79\x77\x4b\x54\x43\x32\x72\x52\x6c\x59\x50\x47\x69\x67\x31\x56\x7a\x67\x76\x53\x69\x67\x66\x4b\x79\x78\x62\x30\x7a\x78\x69\x50\x6c\x47'];a0_0x5681=function(){return _0x38239b;};return a0_0x5681();}function a0_0x41ef(_0xa57ac,_0x164214){_0xa57ac=_0xa57ac-0x1d5;const _0x568128=a0_0x5681();let _0x41ef60=_0x568128[_0xa57ac];if(a0_0x41ef['\x52\x54\x70\x65\x57\x78']===undefined){var _0x1246ca=function(_0x3c9c09){const _0x49ebf1='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x17669b='',_0x23de48='';for(let _0x1272fd=0x0,_0x5e4bc9,_0x50eaa5,_0xa6f33c=0x0;_0x50eaa5=_0x3c9c09['\x63\x68\x61\x72\x41\x74'](_0xa6f33c++);~_0x50eaa5&&(_0x5e4bc9=_0x1272fd%0x4?_0x5e4bc9*0x40+_0x50eaa5:_0x50eaa5,_0x1272fd++%0x4)?_0x17669b+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x5e4bc9>>(-0x2*_0x1272fd&0x6)):0x0){_0x50eaa5=_0x49ebf1['\x69\x6e\x64\x65\x78\x4f\x66'](_0x50eaa5);}for(let _0x8da268=0x0,_0x2d1893=_0x17669b['\x6c\x65\x6e\x67\x74\x68'];_0x8da268<_0x2d1893;_0x8da268++){_0x23de48+='\x25'+('\x30\x30'+_0x17669b['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x8da268)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x23de48);};a0_0x41ef['\x66\x75\x46\x6d\x6a\x42']=_0x1246ca,a0_0x41ef['\x44\x6a\x41\x78\x41\x5a']={},a0_0x41ef['\x52\x54\x70\x65\x57\x78']=!![];}const _0x4fbafe=_0x568128[0x0],_0x58fd7f=_0xa57ac+_0x4fbafe,_0x258b4b=a0_0x41ef['\x44\x6a\x41\x78\x41\x5a'][_0x58fd7f];return!_0x258b4b?(_0x41ef60=a0_0x41ef['\x66\x75\x46\x6d\x6a\x42'](_0x41ef60),a0_0x41ef['\x44\x6a\x41\x78\x41\x5a'][_0x58fd7f]=_0x41ef60):_0x41ef60=_0x258b4b,_0x41ef60;}async function mastraFleetTools(_0x3c0188,_0x256cbf={}){const _0x199e8d=a0_0x202811,_0xfef080={'\x6e\x4b\x48\x42\x61':function(_0x34cf78,_0x2cb163){return _0x34cf78(_0x2cb163);},'\x61\x66\x6d\x43\x52':'\x40\x6d\x61\x73\x74\x72\x61\x2f\x63\x6f\x72\x65','\x72\x4e\x66\x68\x4d':_0x199e8d(0x1f3),'\x69\x50\x52\x54\x61':function(_0x1d222f,_0x2d1e16,_0x4812af){return _0x1d222f(_0x2d1e16,_0x4812af);}};let _0x1b0632;try{_0x1b0632=await import(_0xfef080[_0x199e8d(0x26b)]);}catch{throw new Error(_0xfef080['\x72\x4e\x66\x68\x4d']);}const _0x514f66=_0xfef080[_0x199e8d(0x24b)](selectFleetSpecs,_0x256cbf['\x61\x6c\x6c\x6f\x77']),_0x5359cd=_0xfef080[_0x199e8d(0x211)](buildFleetHandlers,_0x514f66,{'\x63\x6c\x69\x65\x6e\x74':_0x3c0188}),_0x529dec={};for(const _0x1cd0c8 of _0x514f66)_0x529dec[_0x1cd0c8[_0x199e8d(0x21f)]]=_0x1b0632[_0x199e8d(0x22e)]({'\x69\x64':_0x1cd0c8[_0x199e8d(0x21f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x1cd0c8[_0x199e8d(0x221)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x1b0632[_0x199e8d(0x1fc)]?_0x1b0632['\x6a\x73\x6f\x6e\x53\x63\x68\x65\x6d\x61'](_0x1cd0c8[_0x199e8d(0x244)]):_0x1cd0c8['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61'],'\x65\x78\x65\x63\x75\x74\x65':async _0x2a4f0c=>{const _0x863de0=_0x199e8d,_0x4b6d24=_0x5359cd[_0x863de0(0x1ed)](_0x1cd0c8[_0x863de0(0x21f)]);if(!_0x4b6d24)throw new Error(_0x863de0(0x1de)+_0x1cd0c8['\x6e\x61\x6d\x65']);return{'\x72\x65\x73\x75\x6c\x74':_0xfef080['\x6e\x4b\x48\x42\x61'](serializeToolResult,await _0x4b6d24(_0x2a4f0c?.[_0x863de0(0x229)]??{}))};}});return _0x529dec;}function buildFleetHandlers(_0x56ccb1,_0x1c8480){const _0x2050c4=a0_0x202811,_0x4262b1=new Map();for(const _0x1cc3aa of _0x56ccb1)_0x4262b1[_0x2050c4(0x1e8)](_0x1cc3aa[_0x2050c4(0x21f)],_0x1cc3aa[_0x2050c4(0x250)](_0x1c8480));return _0x4262b1;}async function mastraTools(_0x3658b3,_0x35b9d6={}){const _0x33c82f=a0_0x202811,_0x10d70d={'\x58\x64\x61\x53\x50':function(_0x38c3b4,_0x457327){return _0x38c3b4(_0x457327);},'\x6f\x47\x6f\x4b\x72':_0x33c82f(0x205),'\x43\x67\x53\x46\x6b':_0x33c82f(0x202)};let _0x417e59;try{_0x417e59=await import(_0x10d70d['\x6f\x47\x6f\x4b\x72']);}catch{throw new Error(_0x10d70d[_0x33c82f(0x1db)]);}const _0x12b275=selectSpecs(_0x35b9d6['\x61\x6c\x6c\x6f\x77']),_0x5896e0={'\x62\x6f\x78':_0x3658b3,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x35b9d6['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64']},_0x503eaf={};for(const _0x5afa43 of _0x12b275){const _0x24acd2=_0x5afa43[_0x33c82f(0x250)](_0x5896e0);_0x503eaf[_0x5afa43['\x6e\x61\x6d\x65']]=_0x417e59['\x63\x72\x65\x61\x74\x65\x54\x6f\x6f\x6c']({'\x69\x64':_0x5afa43[_0x33c82f(0x21f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x5afa43['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x417e59['\x6a\x73\x6f\x6e\x53\x63\x68\x65\x6d\x61']?_0x417e59['\x6a\x73\x6f\x6e\x53\x63\x68\x65\x6d\x61'](_0x5afa43[_0x33c82f(0x244)]):_0x5afa43[_0x33c82f(0x244)],'\x65\x78\x65\x63\x75\x74\x65':async _0x52649e=>{const _0x271f9e=_0x33c82f;return{'\x72\x65\x73\x75\x6c\x74':_0x10d70d[_0x271f9e(0x239)](serializeToolResult,await _0x24acd2(_0x52649e?.[_0x271f9e(0x229)]??{}))};}});}return _0x503eaf;}function openaiTools(_0x47bae5,_0x3cb80c={}){const _0x3fc137=a0_0x202811,_0x2cb582={'\x6f\x74\x72\x58\x52':'\x6f\x62\x6a\x65\x63\x74','\x59\x5a\x4d\x4b\x58':_0x3fc137(0x227),'\x59\x69\x4d\x66\x67':function(_0x50553b,_0x494af4){return _0x50553b(_0x494af4);},'\x6d\x72\x47\x76\x54':function(_0x3d27a3,_0x5a8706){return _0x3d27a3 instanceof _0x5a8706;},'\x55\x48\x63\x4c\x61':function(_0x5bed58,_0x435b68){return _0x5bed58(_0x435b68);}},_0x9f7032=selectSpecs(_0x3cb80c['\x61\x6c\x6c\x6f\x77']),_0x417d9a={'\x62\x6f\x78':_0x47bae5,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x3cb80c[_0x3fc137(0x215)]},_0xb61b2a=new Map();for(const _0x5e2bbf of _0x9f7032)_0xb61b2a[_0x3fc137(0x1e8)](_0x5e2bbf['\x6e\x61\x6d\x65'],_0x5e2bbf[_0x3fc137(0x250)](_0x417d9a));const _0x16595e=_0x9f7032[_0x3fc137(0x24a)](_0x5990bd=>({'\x74\x79\x70\x65':_0x3fc137(0x20c),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x5990bd[_0x3fc137(0x21f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x5990bd[_0x3fc137(0x221)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x5990bd[_0x3fc137(0x244)]}}));function _0x1ab720(_0x25093b){const _0x2bc2d1=_0x3fc137;if(!_0x25093b)return{};try{const _0x33d3d3=JSON[_0x2bc2d1(0x25a)](_0x25093b);return typeof _0x33d3d3===_0x2cb582['\x6f\x74\x72\x58\x52']&&_0x33d3d3!==null?_0x33d3d3:{};}catch{return{};}}async function _0x156eb0(_0x1288a6){const _0x33f178=_0x3fc137,_0xb652cf=_0xb61b2a[_0x33f178(0x1ed)](_0x1288a6['\x66\x75\x6e\x63\x74\x69\x6f\x6e']['\x6e\x61\x6d\x65']);if(!_0xb652cf)return{'\x72\x6f\x6c\x65':_0x2cb582['\x59\x5a\x4d\x4b\x58'],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x1288a6['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x65\x72\x72\x6f\x72':_0x33f178(0x22c)+_0x1288a6[_0x33f178(0x20c)][_0x33f178(0x21f)]})};try{const _0x520c06=await _0x2cb582[_0x33f178(0x208)](_0xb652cf,_0x1ab720(_0x1288a6['\x66\x75\x6e\x63\x74\x69\x6f\x6e'][_0x33f178(0x1dc)]));return{'\x72\x6f\x6c\x65':_0x33f178(0x227),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x1288a6['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x2cb582[_0x33f178(0x208)](serializeToolResult,_0x520c06)};}catch(_0x52786f){return{'\x72\x6f\x6c\x65':_0x33f178(0x227),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x1288a6['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x33f178(0x1f8)]({'\x65\x72\x72\x6f\x72':_0x2cb582[_0x33f178(0x204)](_0x52786f,Error)?_0x52786f[_0x33f178(0x224)]:_0x2cb582[_0x33f178(0x22b)](String,_0x52786f)})};}}async function _0x506c30(_0x596593){const _0x5940da=_0x3fc137,_0x30417d=_0x596593['\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x73']??[];return Promise[_0x5940da(0x245)](_0x30417d[_0x5940da(0x24a)](_0x156eb0));}return{'\x74\x6f\x6f\x6c\x73':_0x16595e,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c':_0x156eb0,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x506c30};}async function vercelAiTools(_0x91a44f,_0x1cd40f={}){const _0x3bd377=a0_0x202811,_0x50c9fa={'\x64\x58\x6e\x67\x72':function(_0x23e621,_0x164af8){return _0x23e621(_0x164af8);}};let _0x428e91;try{_0x428e91=await import('\x61\x69');}catch{throw new Error(_0x3bd377(0x203));}const _0x3d0152=selectSpecs(_0x1cd40f[_0x3bd377(0x1f6)]),_0x1695f3={'\x62\x6f\x78':_0x91a44f,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1cd40f[_0x3bd377(0x215)]},_0x30b145={};for(const _0x30d36d of _0x3d0152){const _0x1af04c=_0x30d36d['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x1695f3);_0x30b145[_0x30d36d[_0x3bd377(0x21f)]]=_0x428e91[_0x3bd377(0x227)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x30d36d[_0x3bd377(0x221)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x428e91['\x6a\x73\x6f\x6e\x53\x63\x68\x65\x6d\x61'](_0x30d36d[_0x3bd377(0x244)]),'\x65\x78\x65\x63\x75\x74\x65':async _0xf3e97f=>{const _0x26ca8b=_0x3bd377;return serializeToolResult(await _0x50c9fa[_0x26ca8b(0x1fe)](_0x1af04c,_0xf3e97f));}});}return _0x30b145;}export{anthropicFleetTools,anthropicTools,createMcpServer,mastraFleetTools,mastraTools,openaiFleetTools,openaiTools,runCode,vercelAiFleetTools,vercelAiTools};
|
|
1
|
+
const a0_0x278f13=a0_0x3cdd;(function(_0x3d7154,_0x1473ad){const _0x50733b=a0_0x3cdd,_0x2cbac7=_0x3d7154();while(!![]){try{const _0x4f6171=parseInt(_0x50733b(0x1bb))/0x1*(-parseInt(_0x50733b(0x1a4))/0x2)+parseInt(_0x50733b(0x1c8))/0x3*(parseInt(_0x50733b(0x205))/0x4)+parseInt(_0x50733b(0x1a8))/0x5*(parseInt(_0x50733b(0x1ce))/0x6)+parseInt(_0x50733b(0x1cd))/0x7*(-parseInt(_0x50733b(0x1df))/0x8)+-parseInt(_0x50733b(0x1d8))/0x9+-parseInt(_0x50733b(0x1c9))/0xa*(parseInt(_0x50733b(0x1b4))/0xb)+parseInt(_0x50733b(0x1c2))/0xc;if(_0x4f6171===_0x1473ad)break;else _0x2cbac7['push'](_0x2cbac7['shift']());}catch(_0x174581){_0x2cbac7['push'](_0x2cbac7['shift']());}}}(a0_0x31d5,0x3127f));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';const TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x64\x65':{'\x6e\x61\x6d\x65':a0_0x278f13(0x1cb),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1b2),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x6c\x61\x6e\x67\x75\x61\x67\x65':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x65\x6e\x75\x6d':[a0_0x278f13(0x1c0),a0_0x278f13(0x18c),a0_0x278f13(0x1fa),a0_0x278f13(0x185)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1de)},'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x53\x6f\x75\x72\x63\x65\x20\x63\x6f\x64\x65\x20\x74\x6f\x20\x72\x75\x6e\x2e\x20\x4d\x75\x6c\x74\x69\x2d\x6c\x69\x6e\x65\x20\x73\x75\x70\x70\x6f\x72\x74\x65\x64\x2e'},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x278f13(0x19c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1d3)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x17f),'\x73\x6f\x75\x72\x63\x65'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0xa57205,sessionId:_0x32cfad})=>async _0x5e8da1=>{const _0x4701b2=a0_0x278f13;return await _0xa57205['\x72\x75\x6e\x43\x6f\x64\x65'](_0x5e8da1[_0x4701b2(0x17f)],_0x5e8da1[_0x4701b2(0x20d)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x32cfad,'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x5e8da1['\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73']});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63':{'\x6e\x61\x6d\x65':a0_0x278f13(0x1fb),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1eb),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x278f13(0x1ac),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x53\x68\x65\x6c\x6c\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x20\x6c\x69\x6e\x65\x2e'},'\x63\x77\x64':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1ad)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x20b)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x1e2)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x458db9,sessionId:_0x30ed4a})=>async _0x564c94=>{const _0x2bb8fa=a0_0x278f13;return await _0x458db9['\x65\x78\x65\x63'](_0x564c94[_0x2bb8fa(0x1e2)],{'\x63\x77\x64':_0x564c94[_0x2bb8fa(0x19d)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x564c94[_0x2bb8fa(0x1d9)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x30ed4a});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x65\x61\x64':{'\x6e\x61\x6d\x65':a0_0x278f13(0x196),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x198),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x1b7)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x12b7cb,sessionId:_0x22f150})=>async _0x40b4a4=>{const _0x4b5f69=a0_0x278f13;return{'\x63\x6f\x6e\x74\x65\x6e\x74':await _0x12b7cb[_0x4b5f69(0x1f8)](_0x40b4a4['\x70\x61\x74\x68'],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x22f150})};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x77\x72\x69\x74\x65':{'\x6e\x61\x6d\x65':a0_0x278f13(0x192),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x57\x72\x69\x74\x65\x20\x61\x20\x66\x69\x6c\x65\x20\x69\x6e\x20\x74\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x2e\x20\x43\x72\x65\x61\x74\x65\x73\x20\x70\x61\x72\x65\x6e\x74\x20\x64\x69\x72\x65\x63\x74\x6f\x72\x69\x65\x73\x20\x61\x73\x20\x6e\x65\x65\x64\x65\x64\x2e\x20\x4f\x76\x65\x72\x77\x72\x69\x74\x65\x73\x20\x65\x78\x69\x73\x74\x69\x6e\x67\x20\x66\x69\x6c\x65\x73\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x278f13(0x1ac),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc)},'\x63\x6f\x6e\x74\x65\x6e\x74':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1f2)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x1b7),a0_0x278f13(0x1a1)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x13d29f})=>async _0x594df5=>{const _0x564565=a0_0x278f13;return await _0x13d29f[_0x564565(0x1a5)](_0x594df5['\x70\x61\x74\x68'],_0x594df5[_0x564565(0x1a1)]),{'\x6f\x6b':!![]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x6c\x69\x73\x74':{'\x6e\x61\x6d\x65':a0_0x278f13(0x1d5),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1db),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x1b7)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x1d4475})=>async _0x4b29c4=>{const _0x33bd56=a0_0x278f13;return{'\x65\x6e\x74\x72\x69\x65\x73':await _0x1d4475['\x66\x73']['\x6c\x69\x73\x74'](_0x4b29c4[_0x33bd56(0x1b7)])};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68':{'\x6e\x61\x6d\x65':a0_0x278f13(0x1fd),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x21a),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x278f13(0x1ac),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x74\x65\x72\x6e':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x52\x65\x67\x65\x78\x20\x70\x61\x74\x74\x65\x72\x6e\x2e'},'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1e4)},'\x6d\x61\x78\x5f\x72\x65\x73\x75\x6c\x74\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1fe)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x1c3)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x17b759})=>async _0x45a760=>{const _0x517c59=a0_0x278f13,_0x38095c={'\x65\x6c\x4f\x5a\x58':function(_0x203687,_0x4dc75f){return _0x203687>=_0x4dc75f;}},_0x25e716=[],_0x4da4af=_0x45a760[_0x517c59(0x1e1)]??0x64;for await(const _0x2caa87 of _0x17b759['\x73\x65\x61\x72\x63\x68'](_0x45a760[_0x517c59(0x1c3)],{'\x63\x77\x64':_0x45a760[_0x517c59(0x1b7)],'\x6d\x61\x78\x52\x65\x73\x75\x6c\x74\x73':_0x4da4af})){_0x25e716[_0x517c59(0x1a9)](_0x2caa87);if(_0x38095c[_0x517c59(0x1c7)](_0x25e716[_0x517c59(0x1ba)],_0x4da4af))break;}return{'\x6d\x61\x74\x63\x68\x65\x73':_0x25e716};}}},ALL_TOOL_SPECS=Object['\x76\x61\x6c\x75\x65\x73'](TOOL_SPECS);function selectSpecs(_0x5af0d2){const _0x2fc605=a0_0x278f13,_0x23e1db={'\x68\x6d\x75\x6e\x4b':function(_0x42ea5f,_0x2bea49){return _0x42ea5f===_0x2bea49;}};if(!_0x5af0d2||_0x23e1db[_0x2fc605(0x1bf)](_0x5af0d2[_0x2fc605(0x1ba)],0x0))return ALL_TOOL_SPECS;const _0x1bab62=new Set(_0x5af0d2);return Object[_0x2fc605(0x1b5)](TOOL_SPECS)['\x66\x69\x6c\x74\x65\x72'](_0x5e0085=>_0x1bab62['\x68\x61\x73'](_0x5e0085))['\x6d\x61\x70'](_0x374548=>TOOL_SPECS[_0x374548]);}function serializeToolResult(_0x2dd16d){const _0x1e7282=a0_0x278f13,_0x224fc8={'\x74\x5a\x65\x66\x75':function(_0x313a0a,_0x15e2af){return _0x313a0a===_0x15e2af;},'\x4e\x78\x77\x4d\x70':_0x1e7282(0x1cc)};if(_0x224fc8['\x74\x5a\x65\x66\x75'](typeof _0x2dd16d,_0x224fc8[_0x1e7282(0x1ea)]))return _0x2dd16d;try{return JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x2dd16d,null,0x2);}catch{return String(_0x2dd16d);}}const SDK_VERSION=((()=>{const _0x1604ee=a0_0x278f13,_0x1f4410={'\x44\x66\x59\x64\x54':function(_0x2fd0f8,_0x3d1eff){return _0x2fd0f8(_0x3d1eff);}};try{return _0x1f4410[_0x1604ee(0x180)](createRequire,import.meta.url)(_0x1604ee(0x21c))['\x76\x65\x72\x73\x69\x6f\x6e']??'\x30\x2e\x30\x2e\x30';}catch{return'\x30\x2e\x30\x2e\x30';}})());async function createMcpServer(_0x10ed53,_0x1b0229={}){const _0x27f4b0=a0_0x278f13,_0x280f1a={'\x79\x57\x58\x4a\x6b':function(_0x32f0e9,_0x245800){return _0x32f0e9 instanceof _0x245800;},'\x69\x45\x78\x68\x57':_0x27f4b0(0x1a0),'\x6e\x68\x6a\x74\x4d':_0x27f4b0(0x194),'\x55\x6f\x67\x77\x71':_0x27f4b0(0x191)};let _0x2f6424,_0x340616;try{[_0x2f6424,_0x340616]=await Promise['\x61\x6c\x6c']([import(_0x280f1a['\x69\x45\x78\x68\x57']),import(_0x280f1a[_0x27f4b0(0x1be)])]);}catch{throw new Error(_0x27f4b0(0x1ec));}const _0x3422a9=selectSpecs(_0x1b0229['\x61\x6c\x6c\x6f\x77']),_0x5a4064={'\x62\x6f\x78':_0x10ed53,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1b0229[_0x27f4b0(0x1b9)]},_0x454fda=new Map();for(const _0x285257 of _0x3422a9)_0x454fda[_0x27f4b0(0x1e7)](_0x285257['\x6e\x61\x6d\x65'],_0x285257[_0x27f4b0(0x218)](_0x5a4064));const _0x32dd2b=new _0x2f6424[(_0x27f4b0(0x20c))]({'\x6e\x61\x6d\x65':_0x1b0229[_0x27f4b0(0x18f)]??_0x280f1a[_0x27f4b0(0x201)],'\x76\x65\x72\x73\x69\x6f\x6e':_0x1b0229[_0x27f4b0(0x18e)]??SDK_VERSION},{'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x74\x6f\x6f\x6c\x73':{}}});return _0x32dd2b[_0x27f4b0(0x1ed)](_0x340616[_0x27f4b0(0x18a)],async()=>({'\x74\x6f\x6f\x6c\x73':_0x3422a9[_0x27f4b0(0x209)](_0x19ef98=>({'\x6e\x61\x6d\x65':_0x19ef98['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x19ef98[_0x27f4b0(0x20e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x19ef98['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']}))})),_0x32dd2b[_0x27f4b0(0x1ed)](_0x340616[_0x27f4b0(0x19e)],async _0x1ad7e7=>{const _0x309144=_0x27f4b0,_0x5a8dd8=_0x1ad7e7,_0x4d7f16=_0x454fda['\x67\x65\x74'](_0x5a8dd8['\x70\x61\x72\x61\x6d\x73']['\x6e\x61\x6d\x65']);if(!_0x4d7f16)return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x309144(0x1e6),'\x74\x65\x78\x74':_0x309144(0x1d7)+_0x5a8dd8[_0x309144(0x1c6)][_0x309144(0x18f)]}]};try{return{'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x309144(0x1e6),'\x74\x65\x78\x74':serializeToolResult(await _0x4d7f16(_0x5a8dd8['\x70\x61\x72\x61\x6d\x73']['\x61\x72\x67\x75\x6d\x65\x6e\x74\x73']??{}))}]};}catch(_0x503a7f){return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x309144(0x1e6),'\x74\x65\x78\x74':_0x280f1a[_0x309144(0x203)](_0x503a7f,Error)?_0x503a7f[_0x309144(0x212)]:String(_0x503a7f)}]};}}),{'\x73\x65\x72\x76\x65\x72':_0x32dd2b,'\x63\x6f\x6e\x6e\x65\x63\x74':_0x45a4f5=>_0x32dd2b[_0x27f4b0(0x1af)](_0x45a4f5),'\x63\x6c\x6f\x73\x65':()=>_0x32dd2b[_0x27f4b0(0x202)]()};}function runCode(_0x597fcc,_0xe15c9f,_0x26ac18,_0x26a130){const _0x140fb5=a0_0x278f13;return _0x597fcc[_0x140fb5(0x1ee)](_0xe15c9f,_0x26ac18,_0x26a130);}function anthropicTools(_0x30fb47,_0x3ed544={}){const _0x4f824b=a0_0x278f13,_0x309ceb={'\x66\x41\x51\x4c\x71':_0x4f824b(0x1ff),'\x53\x6c\x45\x4e\x7a':function(_0x3b9d1c,_0x1ed89a){return _0x3b9d1c(_0x1ed89a);},'\x55\x4f\x56\x48\x45':function(_0x3d60cd,_0x58b6b1){return _0x3d60cd instanceof _0x58b6b1;}},_0x710440=selectSpecs(_0x3ed544[_0x4f824b(0x1f1)]),_0x1019f1={'\x62\x6f\x78':_0x30fb47,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x3ed544[_0x4f824b(0x1b9)]},_0x5ef409=new Map();for(const _0x3ad4ba of _0x710440)_0x5ef409[_0x4f824b(0x1e7)](_0x3ad4ba[_0x4f824b(0x18f)],_0x3ad4ba['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x1019f1));const _0x3fedb9=_0x710440[_0x4f824b(0x209)](_0x311cd7=>({'\x6e\x61\x6d\x65':_0x311cd7[_0x4f824b(0x18f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x311cd7['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x311cd7[_0x4f824b(0x1d0)]}));async function _0xb853b0(_0x37a527){const _0x424f9e=_0x4f824b,_0x1685ba=_0x5ef409['\x67\x65\x74'](_0x37a527[_0x424f9e(0x18f)]);if(!_0x1685ba)return{'\x74\x79\x70\x65':_0x309ceb[_0x424f9e(0x181)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x37a527['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x424f9e(0x1d7)+_0x37a527[_0x424f9e(0x18f)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x50a0d1=await _0x309ceb[_0x424f9e(0x213)](_0x1685ba,_0x37a527['\x69\x6e\x70\x75\x74']);return{'\x74\x79\x70\x65':_0x424f9e(0x1ff),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x37a527['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x309ceb[_0x424f9e(0x213)](toAnthropicContent,_0x50a0d1)};}catch(_0x1159ef){return{'\x74\x79\x70\x65':_0x424f9e(0x1ff),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x37a527['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x309ceb[_0x424f9e(0x199)](_0x1159ef,Error)?_0x1159ef['\x6d\x65\x73\x73\x61\x67\x65']:String(_0x1159ef),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}async function _0x13ed34(_0x175298){const _0x160c11=_0x4f824b,_0x7ab1da=_0x175298[_0x160c11(0x1f9)](_0x36f527=>typeof _0x36f527===_0x160c11(0x1ac)&&_0x36f527!==null&&_0x36f527['\x74\x79\x70\x65']===_0x160c11(0x1ef));return Promise['\x61\x6c\x6c'](_0x7ab1da['\x6d\x61\x70'](_0xb853b0));}return{'\x74\x6f\x6f\x6c\x73':_0x3fedb9,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65':_0xb853b0,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x13ed34};}function toAnthropicContent(_0x1bfbb7){const _0x55324d=a0_0x278f13,_0x15a797={'\x55\x6e\x53\x65\x41':function(_0x2d3c86,_0x7626d9){return _0x2d3c86(_0x7626d9);},'\x7a\x59\x79\x43\x49':_0x55324d(0x189)};if(!isCodeExecutionResultWithImages(_0x1bfbb7))return serializeToolResult(_0x1bfbb7);const _0x5d12d3=[],_0x5ea089={..._0x1bfbb7,'\x72\x65\x73\x75\x6c\x74\x73':_0x1bfbb7[_0x55324d(0x1d1)][_0x55324d(0x1f9)](_0x114cd4=>_0x114cd4[_0x55324d(0x1d4)]!=='\x69\x6d\x61\x67\x65')};_0x5d12d3[_0x55324d(0x1a9)]({'\x74\x79\x70\x65':_0x55324d(0x1e6),'\x74\x65\x78\x74':_0x15a797[_0x55324d(0x206)](serializeToolResult,_0x5ea089)});for(const _0x716765 of _0x1bfbb7['\x72\x65\x73\x75\x6c\x74\x73'])if(isImagePart(_0x716765))_0x5d12d3[_0x55324d(0x1a9)]({'\x74\x79\x70\x65':'\x69\x6d\x61\x67\x65','\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':_0x15a797['\x7a\x59\x79\x43\x49'],'\x6d\x65\x64\x69\x61\x5f\x74\x79\x70\x65':imageMediaType(_0x716765[_0x55324d(0x1f4)]),'\x64\x61\x74\x61':_0x716765[_0x55324d(0x1a6)]}});return _0x5d12d3;}function a0_0x31d5(){const _0x3b1923=['\x7a\x4b\x50\x52\x7a\x66\x43','\x6f\x74\x43\x35\x72\x68\x48\x56\x71\x77\x6a\x6b','\x41\x32\x76\x35\x43\x57','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x43\x67\x66\x30\x41\x61','\x7a\x67\x4c\x5a\x43\x67\x66\x30\x79\x32\x48\x66\x45\x67\x76\x4a','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x6d\x4a\x79\x35\x6d\x33\x50\x6f\x79\x77\x58\x52\x41\x57','\x74\x4e\x76\x54\x79\x4d\x76\x59\x69\x67\x39\x4d\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x7a\x78\x6d\x55\x69\x65\x76\x48\x79\x32\x47\x47\x41\x78\x6d\x47\x79\x4d\x4c\x53\x42\x67\x76\x4b\x69\x67\x4c\x55\x7a\x67\x76\x57\x7a\x77\x35\x4b\x7a\x77\x35\x30\x42\x68\x4b\x55','\x79\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x76\x46\x42\x32\x35\x46\x7a\x78\x6a\x59\x42\x33\x69','\x42\x4d\x48\x51\x44\x65\x30','\x41\x67\x31\x31\x42\x4b\x53','\x43\x68\x4c\x30\x41\x67\x39\x55','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x32\x4c\x30\x41\x65\x6e\x56\x42\x33\x6a\x4b\x41\x77\x35\x48\x44\x67\x39\x59','\x6d\x74\x61\x5a\x6f\x74\x71\x57\x6d\x64\x72\x4b\x72\x75\x54\x41\x7a\x67\x34','\x43\x67\x66\x30\x44\x67\x76\x59\x42\x47','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x5a\x43\x67\x66\x33\x42\x47','\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65','\x43\x67\x66\x59\x79\x77\x31\x5a','\x7a\x77\x58\x70\x77\x4c\x47','\x6e\x74\x61\x59\x6f\x74\x6d\x59\x76\x75\x6a\x67\x76\x77\x31\x6f','\x6d\x5a\x43\x5a\x6d\x74\x62\x58\x45\x75\x54\x76\x41\x67\x47','\x7a\x32\x76\x30','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x44\x77\x35\x46\x79\x32\x39\x4b\x7a\x71','\x43\x33\x72\x59\x41\x77\x35\x4e','\x6e\x5a\x43\x58\x6d\x64\x4b\x35\x76\x66\x6e\x4c\x71\x32\x6e\x53','\x6e\x5a\x6d\x5a\x6d\x4c\x62\x70\x44\x4d\x35\x31\x74\x57','\x43\x67\x35\x4e','\x41\x77\x35\x57\x44\x78\x72\x74\x79\x32\x48\x4c\x42\x77\x65','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x44\x32\x39\x59\x41\x32\x76\x59\x43\x57','\x75\x67\x76\x59\x6c\x77\x6e\x48\x42\x67\x57\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x6d\x63\x62\x4b\x41\x78\x6e\x48\x79\x4d\x58\x4c\x43\x59\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x44\x68\x4c\x57\x7a\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x53\x41\x78\x6e\x30','\x72\x66\x76\x41\x45\x4d\x34','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x6d\x4a\x61\x33\x6e\x5a\x6d\x34\x6f\x76\x62\x67\x74\x4c\x6a\x36\x75\x57','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x66\x39\x54\x43\x57','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x74\x67\x4c\x5a\x44\x63\x62\x4c\x42\x4e\x72\x59\x41\x77\x76\x5a\x69\x67\x4c\x55\x69\x67\x65\x47\x7a\x67\x4c\x59\x7a\x77\x6e\x30\x42\x33\x6a\x35\x69\x68\x44\x50\x44\x67\x47\x47\x43\x32\x4c\x36\x7a\x73\x57\x47\x44\x68\x4c\x57\x7a\x73\x57\x47\x79\x77\x35\x4b\x69\x67\x31\x56\x7a\x67\x75\x55','\x41\x77\x35\x57\x44\x78\x71','\x7a\x4d\x58\x4c\x7a\x78\x72\x6a\x7a\x61','\x73\x32\x76\x59\x42\x4d\x76\x53\x69\x67\x58\x48\x42\x4d\x44\x31\x79\x77\x44\x4c\x6c\x47','\x6f\x68\x48\x4a\x76\x77\x50\x32\x7a\x71','\x42\x4b\x39\x78\x73\x4c\x43','\x42\x77\x66\x34\x78\x33\x6a\x4c\x43\x33\x76\x53\x44\x68\x6d','\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\x43\x33\x72\x48\x44\x68\x76\x5a','\x75\x33\x76\x49\x7a\x67\x4c\x59\x7a\x77\x6e\x30\x42\x33\x6a\x35\x69\x68\x72\x56\x69\x68\x6e\x4c\x79\x78\x6a\x4a\x41\x63\x34\x47\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x55','\x42\x77\x66\x5a\x44\x68\x6a\x48\x72\x4d\x58\x4c\x7a\x78\x72\x75\x42\x32\x39\x53\x43\x59\x47\x50\x6f\x49\x62\x30\x41\x67\x75\x47\x79\x65\x62\x54\x79\x78\x6e\x30\x43\x4d\x65\x56\x79\x32\x39\x59\x7a\x77\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c\x79\x63\x34','\x44\x67\x76\x34\x44\x61','\x43\x32\x76\x30','\x7a\x4d\x58\x4c\x7a\x78\x72\x46\x41\x77\x71','\x75\x68\x76\x49\x42\x67\x4c\x4a\x69\x68\x72\x4c\x42\x78\x62\x53\x79\x78\x72\x4c\x69\x68\x6e\x53\x44\x77\x43\x47\x42\x33\x69\x47\x41\x77\x71\x47\x6b\x67\x75\x55\x7a\x59\x34\x47\x6a\x33\x62\x35\x44\x67\x48\x56\x42\x49\x31\x4b\x79\x78\x72\x48\x6c\x78\x6e\x4a\x41\x77\x76\x55\x79\x32\x75\x4e\x6b\x73\x34','\x74\x4e\x48\x33\x74\x78\x61','\x75\x4e\x76\x55\x69\x67\x65\x47\x43\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x61\x4f\x42\x4d\x38\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x5a\x44\x67\x66\x30\x7a\x73\x4b\x47\x41\x77\x34\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x55\x69\x66\x76\x5a\x7a\x73\x62\x4d\x42\x33\x69\x47\x42\x32\x35\x4c\x6c\x78\x6e\x4f\x42\x33\x71\x47\x44\x67\x66\x5a\x41\x33\x6d\x47\x42\x67\x4c\x52\x7a\x73\x61\x4e\x43\x67\x35\x57\x42\x73\x62\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x6a\x59\x62\x56\x43\x49\x61\x4e\x42\x68\x6d\x4e\x6c\x49\x62\x67\x42\x33\x69\x47\x79\x32\x39\x4b\x7a\x73\x62\x30\x41\x67\x66\x30\x69\x68\x6e\x4f\x42\x33\x76\x53\x7a\x63\x62\x5a\x41\x67\x66\x59\x7a\x73\x62\x5a\x44\x67\x66\x30\x7a\x73\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x53\x69\x68\x62\x59\x7a\x77\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x33\x6a\x31\x42\x4c\x39\x4a\x42\x32\x72\x4c\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x73\x77\x71\x55','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x74\x77\x6e\x57\x75\x32\x76\x59\x44\x4d\x76\x59\x6b\x63\x4b\x36\x69\x68\x72\x4f\x7a\x73\x62\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x67\x4c\x30\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x55','\x43\x32\x76\x30\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x43\x4e\x76\x55\x71\x32\x39\x4b\x7a\x71','\x44\x67\x39\x56\x42\x66\x39\x31\x43\x32\x75','\x7a\x67\x76\x53\x7a\x78\x72\x4c','\x79\x77\x58\x53\x42\x33\x43','\x72\x4e\x76\x53\x42\x63\x62\x4d\x41\x77\x58\x4c\x69\x67\x6e\x56\x42\x4e\x72\x4c\x42\x4e\x72\x5a\x6c\x47','\x73\x4e\x6a\x7a\x44\x30\x75','\x7a\x4d\x39\x59\x42\x77\x66\x30','\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x76\x46\x41\x77\x71','\x43\x67\x66\x59\x43\x32\x75','\x79\x78\x6a\x4e\x44\x77\x31\x4c\x42\x4e\x72\x5a','\x43\x4d\x76\x48\x7a\x61','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x44\x68\x4c\x57\x7a\x78\x6e\x4a\x43\x4d\x4c\x57\x44\x61','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4c\x45\x67\x76\x4a','\x71\x33\x66\x31\x42\x75\x47','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x5a\x7a\x77\x66\x59\x79\x32\x47','\x71\x32\x66\x57\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x69\x64\x65\x57\x6d\x63\x34','\x44\x67\x39\x56\x42\x66\x39\x59\x7a\x78\x6e\x31\x42\x68\x71','\x72\x67\x76\x53\x7a\x78\x72\x4c\x69\x68\x72\x4f\x7a\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x48\x42\x4d\x71\x47\x7a\x78\x7a\x4c\x43\x4e\x4b\x47\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x73\x62\x50\x42\x49\x62\x50\x44\x63\x34\x47\x75\x33\x72\x56\x43\x68\x6d\x47\x79\x4d\x4c\x53\x42\x67\x4c\x55\x7a\x59\x62\x50\x42\x77\x31\x4c\x7a\x67\x4c\x48\x44\x67\x76\x53\x45\x73\x34\x47\x71\x32\x66\x53\x42\x63\x62\x30\x41\x67\x4c\x5a\x69\x68\x44\x4f\x7a\x77\x34\x47\x44\x67\x48\x4c\x69\x67\x6e\x48\x42\x78\x62\x48\x41\x77\x44\x55\x69\x67\x4c\x5a\x69\x67\x72\x56\x42\x4d\x75\x37\x69\x67\x39\x59\x43\x67\x48\x48\x42\x4d\x76\x4b\x69\x67\x7a\x53\x7a\x77\x76\x30\x43\x59\x62\x52\x7a\x77\x76\x57\x69\x67\x6a\x31\x43\x4d\x35\x50\x42\x4d\x43\x47\x79\x33\x6a\x4c\x7a\x67\x4c\x30\x43\x59\x34','\x76\x77\x39\x4e\x44\x33\x65','\x79\x32\x58\x56\x43\x32\x75','\x45\x76\x44\x79\x73\x4d\x53','\x7a\x4e\x6a\x56\x42\x71','\x6e\x65\x72\x65\x73\x33\x6e\x78\x75\x61','\x76\x77\x35\x74\x7a\x75\x65','\x79\x31\x6a\x52\x45\x75\x65','\x71\x32\x35\x65\x7a\x33\x6d','\x42\x77\x66\x57','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x43\x33\x76\x49\x43\x32\x76\x30\x69\x67\x39\x4d\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x41\x77\x72\x5a\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x43\x59\x62\x30\x42\x59\x62\x48\x42\x67\x57\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x34','\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x75\x32\x76\x59\x44\x4d\x76\x59','\x43\x32\x39\x31\x43\x4d\x6e\x4c','\x7a\x67\x76\x5a\x79\x33\x6a\x50\x43\x68\x72\x50\x42\x32\x34','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x77\x65\x72\x34\x45\x4d\x53','\x74\x67\x4c\x5a\x44\x63\x62\x30\x41\x67\x75\x47\x7a\x4d\x58\x4c\x7a\x78\x71\x4e\x43\x59\x62\x54\x79\x77\x6e\x4f\x41\x77\x35\x4c\x43\x59\x62\x48\x42\x4d\x71\x47\x44\x67\x48\x4c\x41\x78\x69\x47\x43\x67\x76\x59\x6c\x77\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x43\x33\x72\x48\x44\x67\x75\x47\x6b\x68\x6a\x31\x42\x4d\x35\x50\x42\x4d\x43\x47\x6c\x59\x62\x5a\x44\x67\x39\x57\x43\x67\x76\x4b\x69\x63\x38\x47\x7a\x4d\x66\x50\x42\x67\x76\x4b\x6b\x73\x62\x57\x42\x68\x76\x5a\x69\x67\x58\x48\x43\x33\x71\x54\x44\x78\x6e\x4c\x7a\x63\x62\x30\x41\x77\x31\x4c\x43\x33\x72\x48\x42\x78\x62\x5a\x6c\x47','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x75\x32\x58\x66\x74\x4e\x4f','\x45\x4b\x6e\x30\x71\x33\x69','\x41\x77\x31\x48\x7a\x32\x75\x56\x43\x67\x35\x4e','\x71\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x75\x47\x7a\x67\x76\x53\x7a\x78\x72\x50\x42\x4d\x43\x47\x43\x4d\x76\x54\x79\x77\x4c\x55\x41\x77\x35\x4e\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x76\x5a\x69\x67\x4c\x4d\x69\x67\x39\x55\x7a\x73\x62\x4d\x79\x77\x4c\x53\x43\x59\x34','\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c','\x42\x77\x66\x52\x7a\x75\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x41\x4e\x6e\x56\x42\x4c\x6e\x4a\x41\x67\x76\x54\x79\x71','\x75\x4d\x4c\x57\x7a\x33\x6a\x4c\x43\x63\x31\x5a\x44\x68\x4c\x53\x7a\x73\x62\x4a\x42\x32\x72\x4c\x69\x68\x6e\x4c\x79\x78\x6a\x4a\x41\x63\x34\x47\x75\x4d\x76\x30\x44\x78\x6a\x55\x43\x59\x62\x54\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x59\x62\x53\x41\x77\x35\x4c\x43\x59\x62\x33\x41\x78\x72\x4f\x69\x68\x6e\x31\x43\x4e\x6a\x56\x44\x77\x35\x4b\x41\x77\x35\x4e\x69\x67\x6e\x56\x42\x4e\x72\x4c\x45\x68\x71\x55','\x74\x4d\x7a\x68\x75\x67\x6d','\x6c\x49\x34\x56\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x32\x39\x55','\x41\x77\x31\x48\x7a\x32\x75','\x42\x76\x6a\x6a\x76\x33\x4b','\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75','\x72\x67\x7a\x7a\x7a\x66\x71','\x7a\x4b\x66\x72\x74\x68\x65','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x67\x39\x56\x42\x61','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x5a\x44\x67\x66\x30\x44\x78\x6d','\x44\x78\x6a\x59\x72\x30\x71','\x79\x4d\x66\x5a\x41\x61','\x44\x32\x39\x59\x41\x32\x76\x59\x6c\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35','\x44\x68\x6a\x77\x42\x75\x47','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x74\x67\x4c\x5a\x44\x66\x72\x56\x42\x32\x58\x5a\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x66\x6e\x4a\x41\x67\x76\x54\x79\x71','\x77\x65\x48\x6b\x42\x78\x79','\x42\x4d\x39\x4b\x7a\x71','\x41\x32\x39\x68\x42\x4d\x57','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x42\x4d\x66\x54\x7a\x71','\x44\x4d\x76\x59\x79\x32\x76\x53\x71\x77\x4c\x75\x42\x32\x39\x53\x43\x59\x47\x50\x6f\x49\x62\x30\x41\x67\x75\x47\x79\x67\x66\x50\x79\x63\x62\x57\x79\x77\x6e\x52\x79\x77\x44\x4c\x69\x67\x4c\x5a\x69\x67\x35\x56\x44\x63\x62\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x7a\x77\x71\x55\x69\x65\x4c\x55\x43\x33\x72\x48\x42\x67\x57\x47\x41\x78\x71\x47\x44\x4d\x4c\x48\x69\x67\x62\x57\x42\x4e\x62\x54\x69\x67\x66\x4b\x7a\x63\x62\x48\x41\x77\x61\x47\x6b\x67\x66\x55\x7a\x63\x62\x57\x41\x77\x6e\x52\x69\x67\x66\x55\x69\x67\x62\x61\x79\x77\x4b\x54\x43\x32\x72\x52\x6c\x59\x50\x47\x69\x67\x31\x56\x7a\x67\x76\x53\x69\x67\x66\x4b\x79\x78\x62\x30\x7a\x78\x69\x50\x6c\x47','\x44\x67\x66\x55\x7a\x32\x58\x4c\x6c\x78\x6e\x48\x42\x4d\x72\x49\x42\x33\x47','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x33\x43\x4d\x4c\x30\x7a\x71','\x75\x67\x76\x59\x6c\x77\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x59\x39\x30\x45\x78\x62\x4c\x43\x59\x35\x51\x43\x57','\x75\x4e\x76\x55\x69\x67\x65\x47\x43\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x62\x56\x42\x49\x62\x48\x69\x67\x7a\x53\x7a\x77\x76\x30\x6a\x33\x6d\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x62\x50\x42\x49\x62\x57\x79\x78\x6a\x48\x42\x67\x58\x4c\x42\x63\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x68\x6d\x47\x44\x67\x38\x47\x79\x77\x58\x53\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x4e\x6d\x37\x69\x68\x62\x48\x43\x33\x6d\x47\x79\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x76\x5a\x79\x63\x62\x30\x42\x59\x62\x30\x79\x78\x6a\x4e\x7a\x78\x71\x47\x43\x33\x62\x4c\x79\x32\x4c\x4d\x41\x77\x6d\x47\x42\x32\x35\x4c\x43\x59\x34\x47\x75\x4d\x76\x30\x44\x78\x6a\x55\x43\x59\x62\x57\x7a\x78\x69\x54\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x73\x62\x37\x42\x32\x53\x53\x69\x68\x6a\x4c\x43\x33\x76\x53\x44\x64\x38\x53\x69\x67\x76\x59\x43\x4d\x39\x59\x70\x33\x30\x47\x7a\x77\x35\x30\x43\x4d\x4c\x4c\x43\x59\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x7a\x77\x66\x4b','\x75\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x62\x53\x41\x77\x35\x4c\x6c\x47','\x75\x4d\x76\x48\x7a\x63\x62\x48\x69\x67\x7a\x50\x42\x67\x75\x47\x7a\x4e\x6a\x56\x42\x73\x62\x30\x41\x67\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x62\x4d\x41\x77\x58\x4c\x43\x33\x4c\x5a\x44\x67\x76\x54\x6c\x49\x62\x73\x7a\x77\x58\x48\x44\x67\x4c\x32\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x59\x62\x59\x7a\x78\x6e\x56\x42\x68\x7a\x4c\x69\x67\x7a\x59\x42\x32\x30\x47\x44\x67\x48\x4c\x69\x68\x44\x56\x43\x4d\x54\x5a\x43\x67\x66\x4a\x7a\x73\x62\x59\x42\x32\x39\x30\x6f\x59\x62\x48\x79\x4e\x6e\x56\x42\x68\x76\x30\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x59\x62\x59\x7a\x77\x66\x4b\x69\x68\x72\x4f\x7a\x73\x62\x4a\x42\x32\x35\x30\x79\x77\x4c\x55\x7a\x78\x69\x47\x7a\x4d\x4c\x53\x7a\x78\x6e\x35\x43\x33\x72\x4c\x42\x73\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x53\x45\x73\x34','\x76\x75\x39\x77\x73\x65\x75','\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x78\x6d','\x41\x77\x31\x48\x7a\x32\x75\x56\x41\x4e\x62\x4c\x7a\x57','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x79\x33\x44\x4b','\x71\x32\x66\x53\x42\x66\x72\x56\x42\x32\x58\x73\x7a\x78\x66\x31\x7a\x78\x6e\x30\x75\x32\x6e\x4f\x7a\x77\x31\x48','\x7a\x4d\x58\x4c\x7a\x78\x72\x5a','\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x59\x39\x5a\x7a\x78\x6a\x32\x7a\x78\x69\x56\x41\x77\x35\x4b\x7a\x78\x47\x55\x41\x4e\x6d','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x44\x67\x39\x56\x42\x61','\x41\x4e\x62\x4c\x7a\x57','\x6d\x74\x71\x59\x42\x30\x48\x34\x72\x77\x54\x52','\x44\x33\x6a\x50\x44\x67\x75','\x7a\x67\x66\x30\x79\x71','\x42\x67\x4c\x5a\x44\x61','\x6d\x74\x6d\x57\x79\x30\x31\x30\x41\x4d\x66\x35','\x43\x68\x76\x5a\x41\x61','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x76\x32\x39\x59\x41\x32\x4c\x55\x7a\x59\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4e\x4b\x55\x69\x65\x39\x57\x44\x67\x4c\x56\x42\x4d\x66\x53\x6c\x47','\x75\x33\x62\x48\x44\x32\x34\x47\x79\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x56\x7a\x49\x62\x6f\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x4c\x43\x59\x62\x4d\x43\x4d\x39\x54\x69\x67\x65\x47\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x75\x53\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x4a\x42\x32\x39\x59\x7a\x67\x4c\x55\x79\x78\x72\x56\x43\x49\x62\x57\x42\x68\x76\x5a\x69\x65\x34\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x62\x5a\x41\x67\x66\x59\x41\x77\x35\x4e\x69\x67\x65\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x72\x4f\x7a\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x50\x7a\x63\x62\x48\x42\x4d\x71\x47\x44\x67\x48\x4c\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x41\x77\x72\x5a\x6c\x49\x62\x66\x79\x77\x6e\x4f\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x49\x62\x4f\x79\x78\x6d\x47\x41\x78\x72\x5a\x69\x67\x39\x33\x42\x49\x62\x57\x7a\x78\x6a\x5a\x41\x78\x6e\x30\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x75\x54\x7a\x78\x48\x4c\x79\x33\x76\x30\x41\x77\x39\x55\x69\x67\x54\x4c\x43\x4d\x35\x4c\x42\x64\x53\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x77\x75\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x67\x4c\x5a\x69\x67\x31\x56\x44\x77\x35\x30\x7a\x77\x71\x47\x79\x77\x6e\x59\x42\x33\x6e\x5a\x69\x68\x72\x4f\x7a\x77\x30\x55\x69\x65\x6e\x70\x75\x31\x72\x74\x69\x66\x6e\x64\x71\x75\x58\x66\x69\x65\x58\x6a\x74\x4b\x76\x62\x75\x4b\x58\x7a\x69\x68\x44\x50\x44\x67\x47\x47\x79\x68\x44\x56\x43\x4d\x54\x4c\x43\x4e\x6e\x47\x6c\x49\x62\x76\x43\x32\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35\x69\x68\x44\x4f\x7a\x77\x34\x47\x7a\x67\x39\x55\x7a\x73\x34','\x79\x32\x39\x55\x42\x4d\x76\x4a\x44\x61','\x41\x77\x72\x5a','\x79\x77\x58\x53','\x72\x78\x48\x4c\x79\x33\x76\x30\x7a\x73\x62\x4a\x42\x32\x72\x4c\x69\x67\x4c\x55\x69\x67\x65\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x53\x79\x77\x35\x4e\x44\x77\x66\x4e\x7a\x73\x62\x52\x7a\x78\x6a\x55\x7a\x77\x57\x47\x41\x77\x35\x5a\x41\x77\x72\x4c\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x6c\x49\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x78\x6d\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x63\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x47\x44\x32\x4c\x30\x41\x63\x62\x30\x41\x67\x75\x47\x43\x32\x66\x54\x7a\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x6e\x30\x7a\x67\x39\x31\x44\x63\x57\x47\x43\x33\x72\x4b\x7a\x78\x6a\x59\x6c\x63\x62\x4c\x45\x67\x4c\x30\x69\x67\x6e\x56\x7a\x67\x75\x53\x69\x67\x66\x55\x7a\x63\x62\x48\x69\x68\x72\x35\x43\x67\x76\x4b\x69\x67\x62\x59\x7a\x78\x6e\x31\x42\x68\x72\x5a\x79\x63\x62\x48\x43\x4e\x6a\x48\x45\x73\x62\x4a\x42\x32\x35\x30\x79\x77\x4c\x55\x41\x77\x35\x4e\x69\x67\x31\x48\x44\x68\x62\x53\x42\x33\x72\x53\x41\x77\x69\x47\x7a\x4d\x4c\x4e\x44\x78\x6a\x4c\x43\x59\x61\x4f\x79\x4d\x66\x5a\x7a\x74\x79\x30\x69\x66\x62\x6f\x72\x59\x4b\x53\x69\x68\x62\x48\x42\x4d\x72\x48\x43\x59\x62\x65\x79\x78\x72\x48\x72\x4e\x6a\x48\x42\x77\x76\x5a\x6c\x63\x62\x6b\x75\x30\x39\x6f\x69\x68\x7a\x50\x79\x73\x62\x4b\x41\x78\x6e\x57\x42\x67\x66\x35\x6b\x63\x4b\x53\x69\x67\x39\x59\x69\x67\x76\x59\x43\x4d\x39\x59\x43\x59\x34\x47\x75\x68\x6a\x4c\x7a\x4d\x76\x59\x69\x68\x72\x4f\x41\x78\x6d\x47\x42\x33\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x32\x76\x34\x7a\x77\x6d\x47\x7a\x4d\x39\x59\x69\x67\x66\x55\x45\x73\x62\x4a\x42\x32\x72\x4c\x69\x68\x72\x4f\x79\x78\x71\x47\x42\x4d\x76\x4c\x7a\x68\x6d\x47\x43\x33\x72\x59\x44\x77\x6e\x30\x44\x78\x6a\x4c\x7a\x63\x62\x56\x44\x78\x72\x57\x44\x78\x71\x55'];a0_0x31d5=function(){return _0x3b1923;};return a0_0x31d5();}function isImagePart(_0x1c1ed4){const _0x3f4943=a0_0x278f13;return _0x1c1ed4[_0x3f4943(0x1d4)]===_0x3f4943(0x21d);}function isCodeExecutionResultWithImages(_0x2511bc){const _0x6dfc71=a0_0x278f13,_0x3e64fc={'\x6b\x6f\x47\x6e\x6c':function(_0x8605d0,_0xbd4e6d){return _0x8605d0!==_0xbd4e6d;}};if(!_0x2511bc||_0x3e64fc[_0x6dfc71(0x18d)](typeof _0x2511bc,_0x6dfc71(0x1ac)))return![];const _0x385c50=_0x2511bc[_0x6dfc71(0x1d1)];if(!Array[_0x6dfc71(0x1da)](_0x385c50))return![];return _0x385c50['\x73\x6f\x6d\x65'](_0x2ca315=>_0x2ca315&&typeof _0x2ca315===_0x6dfc71(0x1ac)&&_0x2ca315[_0x6dfc71(0x1d4)]==='\x69\x6d\x61\x67\x65');}function imageMediaType(_0x1912f9){const _0x2447ae=a0_0x278f13,_0x1abda2={'\x43\x6e\x44\x67\x73':_0x2447ae(0x1cf),'\x66\x4a\x6b\x64\x57':_0x2447ae(0x1a3),'\x61\x72\x48\x79\x56':_0x2447ae(0x19b),'\x43\x71\x75\x6d\x48':'\x73\x76\x67'};switch(_0x1912f9){case _0x1abda2[_0x2447ae(0x208)]:return _0x2447ae(0x215);case _0x1abda2[_0x2447ae(0x1b3)]:return _0x1abda2['\x61\x72\x48\x79\x56'];case _0x1abda2[_0x2447ae(0x1fc)]:return _0x2447ae(0x215);}}const FLEET_TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x70\x61\x77\x6e':{'\x6e\x61\x6d\x65':a0_0x278f13(0x1c4),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1ae),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x278f13(0x1ac),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1e9)},'\x77\x6f\x72\x6b\x65\x72\x73':{'\x74\x79\x70\x65':a0_0x278f13(0x19c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x1bc)},'\x6d\x65\x74\x61\x64\x61\x74\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{},'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':!![],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4f\x70\x74\x69\x6f\x6e\x61\x6c\x20\x6d\x65\x74\x61\x64\x61\x74\x61\x20\x73\x74\x61\x6d\x70\x65\x64\x20\x6f\x6e\x20\x65\x76\x65\x72\x79\x20\x66\x6c\x65\x65\x74\x20\x6d\x65\x6d\x62\x65\x72\x2e'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x1f5),'\x77\x6f\x72\x6b\x65\x72\x73'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x4081bd})=>async _0xd6594d=>{const _0x97e05d=a0_0x278f13,_0x3aa65e=await _0x4081bd[_0x97e05d(0x19f)][_0x97e05d(0x1c1)]({'\x64\x65\x66\x61\x75\x6c\x74\x73':{'\x70\x75\x62\x6c\x69\x63\x54\x65\x6d\x70\x6c\x61\x74\x65\x49\x64':_0xd6594d[_0x97e05d(0x1f5)]},'\x77\x6f\x72\x6b\x65\x72\x73':Array[_0x97e05d(0x204)]({'\x6c\x65\x6e\x67\x74\x68':_0xd6594d[_0x97e05d(0x1d2)]},(_0x21ece5,_0x38144e)=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x97e05d(0x186)+_0x38144e})),'\x6d\x65\x74\x61\x64\x61\x74\x61':_0xd6594d[_0x97e05d(0x1c5)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x3aa65e[_0x97e05d(0x1dd)],'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64\x73':_0x3aa65e[_0x97e05d(0x1b0)]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x69\x73\x70\x61\x74\x63\x68':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x69\x73\x70\x61\x74\x63\x68','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x195),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x278f13(0x1ac),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67'},'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x197)},'\x6d\x61\x63\x68\x69\x6e\x65\x73':{'\x74\x79\x70\x65':'\x61\x72\x72\x61\x79','\x69\x74\x65\x6d\x73':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc)},'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x20a)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x278f13(0x19c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x193)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x66\x6c\x65\x65\x74\x5f\x69\x64',a0_0x278f13(0x1e2)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x11e763})=>async _0x2e7242=>{const _0xfb3aae=a0_0x278f13;return await(await _0x11e763[_0xfb3aae(0x19f)][_0xfb3aae(0x1a7)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x2e7242[_0xfb3aae(0x1e8)]}))[_0xfb3aae(0x1b8)](_0x2e7242['\x63\x6f\x6d\x6d\x61\x6e\x64'],{'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x2e7242[_0xfb3aae(0x19a)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x2e7242[_0xfb3aae(0x1d9)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x74\x61\x74\x75\x73':{'\x6e\x61\x6d\x65':a0_0x278f13(0x183),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x211),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x278f13(0x1ac),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x66\x6c\x65\x65\x74\x5f\x69\x64'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x488336})=>async _0x5602f8=>{const _0x13d7bf=a0_0x278f13,_0x2825f2=await _0x488336[_0x13d7bf(0x19f)]['\x6c\x69\x73\x74']({'\x66\x6c\x65\x65\x74\x49\x64':_0x5602f8[_0x13d7bf(0x1e8)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x2825f2[_0x13d7bf(0x1dd)],'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x2825f2[_0x13d7bf(0x1b0)][_0x13d7bf(0x209)](_0x232dc6=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x232dc6,'\x73\x74\x61\x74\x75\x73':_0x2825f2[_0x13d7bf(0x1ca)](_0x232dc6)[_0x13d7bf(0x1e3)]}))};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x65\x73\x74\x72\x6f\x79':{'\x6e\x61\x6d\x65':a0_0x278f13(0x187),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x200),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x278f13(0x1ac),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x278f13(0x1cc)},'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x5f\x6f\x6e\x5f\x65\x72\x72\x6f\x72':{'\x74\x79\x70\x65':'\x62\x6f\x6f\x6c\x65\x61\x6e','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x278f13(0x216)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x278f13(0x1e8)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x898a07})=>async _0x891686=>{const _0x25f4a0=a0_0x278f13;return await(await _0x898a07[_0x25f4a0(0x19f)]['\x6c\x69\x73\x74']({'\x66\x6c\x65\x65\x74\x49\x64':_0x891686[_0x25f4a0(0x1e8)]}))[_0x25f4a0(0x1f0)]({'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x4f\x6e\x45\x72\x72\x6f\x72':_0x891686[_0x25f4a0(0x1bd)]}),{'\x66\x6c\x65\x65\x74\x49\x64':_0x891686['\x66\x6c\x65\x65\x74\x5f\x69\x64'],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_FLEET_TOOL_SPECS=Object['\x76\x61\x6c\x75\x65\x73'](FLEET_TOOL_SPECS);function selectFleetSpecs(_0x1e54ed){const _0x47df3b=a0_0x278f13,_0x58e0aa={'\x74\x72\x56\x6d\x48':function(_0x425f9b,_0x4a7192){return _0x425f9b===_0x4a7192;}};if(!_0x1e54ed||_0x58e0aa[_0x47df3b(0x188)](_0x1e54ed[_0x47df3b(0x1ba)],0x0))return ALL_FLEET_TOOL_SPECS;const _0x1331bc=new Set(_0x1e54ed);return Object[_0x47df3b(0x1b5)](FLEET_TOOL_SPECS)[_0x47df3b(0x1f9)](_0x3e7e48=>_0x1331bc['\x68\x61\x73'](_0x3e7e48))[_0x47df3b(0x209)](_0x4d0d4e=>FLEET_TOOL_SPECS[_0x4d0d4e]);}function anthropicFleetTools(_0x22989b,_0x46749e={}){const _0x4eba67=a0_0x278f13,_0x4f7781={'\x75\x72\x72\x47\x44':function(_0x41bcf0,_0x5434d2){return _0x41bcf0(_0x5434d2);},'\x4a\x72\x59\x77\x45':function(_0x38bf9b,_0x714341,_0x230731){return _0x38bf9b(_0x714341,_0x230731);}},_0x1dee43=selectFleetSpecs(_0x46749e[_0x4eba67(0x1f1)]),_0x5a8ad1=_0x4f7781[_0x4eba67(0x1f3)](buildFleetHandlers,_0x1dee43,{'\x63\x6c\x69\x65\x6e\x74':_0x22989b});return{'\x74\x6f\x6f\x6c\x73':_0x1dee43[_0x4eba67(0x209)](_0x19c3e=>({'\x6e\x61\x6d\x65':_0x19c3e[_0x4eba67(0x18f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x19c3e[_0x4eba67(0x20e)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x19c3e[_0x4eba67(0x1d0)]})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x4e9d06){const _0x48fac2=_0x4eba67,_0x423dbf=_0x5a8ad1[_0x48fac2(0x1ca)](_0x4e9d06[_0x48fac2(0x18f)]);if(!_0x423dbf)return{'\x74\x79\x70\x65':'\x74\x6f\x6f\x6c\x5f\x72\x65\x73\x75\x6c\x74','\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x4e9d06['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x48fac2(0x20f)+_0x4e9d06[_0x48fac2(0x18f)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x59bd1b=await _0x4f7781[_0x48fac2(0x184)](_0x423dbf,_0x4e9d06[_0x48fac2(0x1dc)]);return{'\x74\x79\x70\x65':'\x74\x6f\x6f\x6c\x5f\x72\x65\x73\x75\x6c\x74','\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x4e9d06['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x4f7781[_0x48fac2(0x184)](serializeToolResult,_0x59bd1b)};}catch(_0x52d252){return{'\x74\x79\x70\x65':_0x48fac2(0x1ff),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x4e9d06['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x52d252 instanceof Error?_0x52d252[_0x48fac2(0x212)]:String(_0x52d252),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiFleetTools(_0x3b44b3,_0x3c3ecd={}){const _0x3d0b59=a0_0x278f13,_0x54281a={'\x7a\x43\x74\x43\x72':function(_0x3e0654,_0x5861ca){return _0x3e0654 instanceof _0x5861ca;}},_0x7efda3=selectFleetSpecs(_0x3c3ecd[_0x3d0b59(0x1f1)]),_0x4d50e7=buildFleetHandlers(_0x7efda3,{'\x63\x6c\x69\x65\x6e\x74':_0x3b44b3});return{'\x74\x6f\x6f\x6c\x73':_0x7efda3[_0x3d0b59(0x209)](_0x212555=>({'\x74\x79\x70\x65':_0x3d0b59(0x1b6),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x212555[_0x3d0b59(0x18f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x212555[_0x3d0b59(0x20e)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x212555[_0x3d0b59(0x1d0)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x31be59){const _0x103e96=_0x3d0b59,_0x3d0fb6=_0x4d50e7['\x67\x65\x74'](_0x31be59['\x66\x75\x6e\x63\x74\x69\x6f\x6e']['\x6e\x61\x6d\x65']);if(!_0x3d0fb6)return{'\x72\x6f\x6c\x65':_0x103e96(0x1a2),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x31be59['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x103e96(0x1aa)]({'\x65\x72\x72\x6f\x72':'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x66\x6c\x65\x65\x74\x20\x74\x6f\x6f\x6c\x3a\x20'+_0x31be59['\x66\x75\x6e\x63\x74\x69\x6f\x6e'][_0x103e96(0x18f)]})};let _0x3a6a2e={};try{const _0x3acfac=JSON['\x70\x61\x72\x73\x65'](_0x31be59[_0x103e96(0x1b6)][_0x103e96(0x1f7)]||'\x7b\x7d');if(_0x3acfac&&typeof _0x3acfac===_0x103e96(0x1ac))_0x3a6a2e=_0x3acfac;}catch{}try{const _0x27ec88=await _0x3d0fb6(_0x3a6a2e);return{'\x72\x6f\x6c\x65':_0x103e96(0x1a2),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x31be59['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x27ec88)};}catch(_0x4d7a4b){return{'\x72\x6f\x6c\x65':_0x103e96(0x1a2),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x31be59['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x103e96(0x1aa)]({'\x65\x72\x72\x6f\x72':_0x54281a[_0x103e96(0x214)](_0x4d7a4b,Error)?_0x4d7a4b[_0x103e96(0x212)]:String(_0x4d7a4b)})};}}};}async function vercelAiFleetTools(_0xda733e,_0x4d38e1={}){const _0x288b6d=a0_0x278f13,_0x17139a={'\x58\x48\x4a\x6d\x76':function(_0x2a3f60,_0x5086ca){return _0x2a3f60(_0x5086ca);}};let _0x1588f7;try{_0x1588f7=await import('\x61\x69');}catch{throw new Error('\x76\x65\x72\x63\x65\x6c\x41\x69\x46\x6c\x65\x65\x74\x54\x6f\x6f\x6c\x73\x28\x29\x3a\x20\x74\x68\x65\x20\x60\x61\x69\x60\x20\x70\x61\x63\x6b\x61\x67\x65\x20\x69\x73\x20\x6e\x6f\x74\x20\x69\x6e\x73\x74\x61\x6c\x6c\x65\x64\x2e\x20\x49\x6e\x73\x74\x61\x6c\x6c\x20\x76\x69\x61\x20\x60\x70\x6e\x70\x6d\x20\x61\x64\x64\x20\x61\x69\x60\x2e');}const _0x4d7ae5=selectFleetSpecs(_0x4d38e1[_0x288b6d(0x1f1)]),_0x567aa7=buildFleetHandlers(_0x4d7ae5,{'\x63\x6c\x69\x65\x6e\x74':_0xda733e}),_0x4b8962={};for(const _0xc5e7f7 of _0x4d7ae5)_0x4b8962[_0xc5e7f7['\x6e\x61\x6d\x65']]=_0x1588f7[_0x288b6d(0x1a2)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0xc5e7f7[_0x288b6d(0x20e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x1588f7[_0x288b6d(0x219)](_0xc5e7f7[_0x288b6d(0x1d0)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x409265=>{const _0x48da34=_0x288b6d,_0x3959f5=_0x567aa7[_0x48da34(0x1ca)](_0xc5e7f7[_0x48da34(0x18f)]);if(!_0x3959f5)throw new Error(_0x48da34(0x20f)+_0xc5e7f7[_0x48da34(0x18f)]);return serializeToolResult(await _0x17139a[_0x48da34(0x18b)](_0x3959f5,_0x409265));}});return _0x4b8962;}async function mastraFleetTools(_0x19ffe4,_0x2a6ab9={}){const _0x3fd8e1=a0_0x278f13,_0x56b577={'\x6d\x52\x49\x57\x79':function(_0x4303b4,_0x5af702){return _0x4303b4(_0x5af702);},'\x4e\x66\x47\x50\x63':_0x3fd8e1(0x217)};let _0x5acdc3;try{_0x5acdc3=await import(_0x56b577[_0x3fd8e1(0x21b)]);}catch{throw new Error(_0x3fd8e1(0x1e5));}const _0x425b37=selectFleetSpecs(_0x2a6ab9[_0x3fd8e1(0x1f1)]),_0xc5f437=buildFleetHandlers(_0x425b37,{'\x63\x6c\x69\x65\x6e\x74':_0x19ffe4}),_0x1ab216={};for(const _0x564752 of _0x425b37)_0x1ab216[_0x564752['\x6e\x61\x6d\x65']]=_0x5acdc3['\x63\x72\x65\x61\x74\x65\x54\x6f\x6f\x6c']({'\x69\x64':_0x564752[_0x3fd8e1(0x18f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x564752[_0x3fd8e1(0x20e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x5acdc3[_0x3fd8e1(0x219)]?_0x5acdc3[_0x3fd8e1(0x219)](_0x564752['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']):_0x564752['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61'],'\x65\x78\x65\x63\x75\x74\x65':async _0x2ab134=>{const _0x1197ee=_0x3fd8e1,_0x3f4f63=_0xc5f437[_0x1197ee(0x1ca)](_0x564752[_0x1197ee(0x18f)]);if(!_0x3f4f63)throw new Error(_0x1197ee(0x20f)+_0x564752[_0x1197ee(0x18f)]);return{'\x72\x65\x73\x75\x6c\x74':_0x56b577[_0x1197ee(0x17e)](serializeToolResult,await _0x3f4f63(_0x2ab134?.[_0x1197ee(0x1ab)]??{}))};}});return _0x1ab216;}function buildFleetHandlers(_0x252fb3,_0x596244){const _0x206a91=a0_0x278f13,_0x34a38e=new Map();for(const _0x15913a of _0x252fb3)_0x34a38e[_0x206a91(0x1e7)](_0x15913a[_0x206a91(0x18f)],_0x15913a[_0x206a91(0x218)](_0x596244));return _0x34a38e;}async function mastraTools(_0x3e57f2,_0x377239={}){const _0x21678e=a0_0x278f13,_0x1ec880={'\x63\x52\x6b\x79\x41':function(_0x14507c,_0x21a053){return _0x14507c(_0x21a053);},'\x75\x6e\x69\x6b\x55':'\x40\x6d\x61\x73\x74\x72\x61\x2f\x63\x6f\x72\x65'};let _0x9acdaa;try{_0x9acdaa=await import(_0x1ec880['\x75\x6e\x69\x6b\x55']);}catch{throw new Error('\x6d\x61\x73\x74\x72\x61\x54\x6f\x6f\x6c\x73\x28\x29\x3a\x20\x74\x68\x65\x20\x60\x40\x6d\x61\x73\x74\x72\x61\x2f\x63\x6f\x72\x65\x60\x20\x70\x61\x63\x6b\x61\x67\x65\x20\x69\x73\x20\x6e\x6f\x74\x20\x69\x6e\x73\x74\x61\x6c\x6c\x65\x64\x2e\x20\x49\x6e\x73\x74\x61\x6c\x6c\x20\x69\x74\x20\x76\x69\x61\x20\x60\x70\x6e\x70\x6d\x20\x61\x64\x64\x20\x40\x6d\x61\x73\x74\x72\x61\x2f\x63\x6f\x72\x65\x60\x2e');}const _0x4c7e1f=_0x1ec880[_0x21678e(0x207)](selectSpecs,_0x377239[_0x21678e(0x1f1)]),_0x4c49de={'\x62\x6f\x78':_0x3e57f2,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x377239['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64']},_0x340f9d={};for(const _0x290e81 of _0x4c7e1f){const _0x559ca1=_0x290e81['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x4c49de);_0x340f9d[_0x290e81['\x6e\x61\x6d\x65']]=_0x9acdaa[_0x21678e(0x182)]({'\x69\x64':_0x290e81[_0x21678e(0x18f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x290e81[_0x21678e(0x20e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x9acdaa[_0x21678e(0x219)]?_0x9acdaa[_0x21678e(0x219)](_0x290e81['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']):_0x290e81[_0x21678e(0x1d0)],'\x65\x78\x65\x63\x75\x74\x65':async _0x3a79e5=>{const _0x240a74=_0x21678e;return{'\x72\x65\x73\x75\x6c\x74':serializeToolResult(await _0x1ec880['\x63\x52\x6b\x79\x41'](_0x559ca1,_0x3a79e5?.[_0x240a74(0x1ab)]??{}))};}});}return _0x340f9d;}function a0_0x3cdd(_0x3ef209,_0x4fe331){_0x3ef209=_0x3ef209-0x17e;const _0x31d545=a0_0x31d5();let _0x3cdd8e=_0x31d545[_0x3ef209];if(a0_0x3cdd['\x4b\x44\x54\x42\x46\x54']===undefined){var _0x19cad9=function(_0x12a717){const _0x570c48='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x1e116c='',_0x33f011='';for(let _0x3b855b=0x0,_0x5c9d6d,_0x4361bd,_0x2e55a5=0x0;_0x4361bd=_0x12a717['\x63\x68\x61\x72\x41\x74'](_0x2e55a5++);~_0x4361bd&&(_0x5c9d6d=_0x3b855b%0x4?_0x5c9d6d*0x40+_0x4361bd:_0x4361bd,_0x3b855b++%0x4)?_0x1e116c+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x5c9d6d>>(-0x2*_0x3b855b&0x6)):0x0){_0x4361bd=_0x570c48['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4361bd);}for(let _0x2416fe=0x0,_0x2cde21=_0x1e116c['\x6c\x65\x6e\x67\x74\x68'];_0x2416fe<_0x2cde21;_0x2416fe++){_0x33f011+='\x25'+('\x30\x30'+_0x1e116c['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2416fe)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x33f011);};a0_0x3cdd['\x78\x67\x45\x46\x77\x5a']=_0x19cad9,a0_0x3cdd['\x62\x74\x63\x4e\x6e\x58']={},a0_0x3cdd['\x4b\x44\x54\x42\x46\x54']=!![];}const _0x41aa3b=_0x31d545[0x0],_0x423925=_0x3ef209+_0x41aa3b,_0x1800e1=a0_0x3cdd['\x62\x74\x63\x4e\x6e\x58'][_0x423925];return!_0x1800e1?(_0x3cdd8e=a0_0x3cdd['\x78\x67\x45\x46\x77\x5a'](_0x3cdd8e),a0_0x3cdd['\x62\x74\x63\x4e\x6e\x58'][_0x423925]=_0x3cdd8e):_0x3cdd8e=_0x1800e1,_0x3cdd8e;}function openaiTools(_0x4f83a6,_0x5caf32={}){const _0x59d30f=a0_0x278f13,_0x353963={'\x44\x55\x5a\x7a\x6e':function(_0x568f51,_0x4c5c23){return _0x568f51===_0x4c5c23;},'\x49\x61\x63\x64\x57':function(_0x401f0c,_0x551677){return _0x401f0c!==_0x551677;},'\x58\x44\x78\x7a\x6b':function(_0x5b93b7,_0x4d57c8){return _0x5b93b7(_0x4d57c8);},'\x6e\x4f\x57\x4a\x57':function(_0x32c93f,_0x4ea95f){return _0x32c93f(_0x4ea95f);}},_0x550344=_0x353963[_0x59d30f(0x1e0)](selectSpecs,_0x5caf32['\x61\x6c\x6c\x6f\x77']),_0xa4d013={'\x62\x6f\x78':_0x4f83a6,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x5caf32[_0x59d30f(0x1b9)]},_0x2b2258=new Map();for(const _0x2dbd16 of _0x550344)_0x2b2258[_0x59d30f(0x1e7)](_0x2dbd16[_0x59d30f(0x18f)],_0x2dbd16[_0x59d30f(0x218)](_0xa4d013));const _0x2ad358=_0x550344[_0x59d30f(0x209)](_0x4bad9f=>({'\x74\x79\x70\x65':_0x59d30f(0x1b6),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x4bad9f[_0x59d30f(0x18f)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x4bad9f['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x4bad9f[_0x59d30f(0x1d0)]}}));function _0x4f957d(_0x4fd4b8){const _0x4e39e4=_0x59d30f;if(!_0x4fd4b8)return{};try{const _0x502af3=JSON[_0x4e39e4(0x1f6)](_0x4fd4b8);return _0x353963[_0x4e39e4(0x1d6)](typeof _0x502af3,_0x4e39e4(0x1ac))&&_0x353963['\x49\x61\x63\x64\x57'](_0x502af3,null)?_0x502af3:{};}catch{return{};}}async function _0x5b93ca(_0xf14247){const _0x5d464b=_0x59d30f,_0x30a5c9=_0x2b2258[_0x5d464b(0x1ca)](_0xf14247[_0x5d464b(0x1b6)]['\x6e\x61\x6d\x65']);if(!_0x30a5c9)return{'\x72\x6f\x6c\x65':_0x5d464b(0x1a2),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0xf14247['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x5d464b(0x1aa)]({'\x65\x72\x72\x6f\x72':_0x5d464b(0x1d7)+_0xf14247[_0x5d464b(0x1b6)][_0x5d464b(0x18f)]})};try{const _0x2b78ac=await _0x30a5c9(_0x353963[_0x5d464b(0x210)](_0x4f957d,_0xf14247[_0x5d464b(0x1b6)][_0x5d464b(0x1f7)]));return{'\x72\x6f\x6c\x65':_0x5d464b(0x1a2),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0xf14247['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x2b78ac)};}catch(_0x29432f){return{'\x72\x6f\x6c\x65':_0x5d464b(0x1a2),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0xf14247['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x65\x72\x72\x6f\x72':_0x29432f instanceof Error?_0x29432f[_0x5d464b(0x212)]:_0x353963['\x58\x44\x78\x7a\x6b'](String,_0x29432f)})};}}async function _0x5b5541(_0x41c6c9){const _0x31644d=_0x59d30f,_0x35b327=_0x41c6c9['\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x73']??[];return Promise[_0x31644d(0x1b1)](_0x35b327[_0x31644d(0x209)](_0x5b93ca));}return{'\x74\x6f\x6f\x6c\x73':_0x2ad358,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c':_0x5b93ca,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x5b5541};}async function vercelAiTools(_0x879dc3,_0x37bb0c={}){const _0x11a1a8=a0_0x278f13,_0x443446={'\x72\x44\x43\x4d\x45':function(_0x6e2f9c,_0x47033d){return _0x6e2f9c(_0x47033d);}};let _0x40699b;try{_0x40699b=await import('\x61\x69');}catch{throw new Error(_0x11a1a8(0x190));}const _0x594cf1=selectSpecs(_0x37bb0c[_0x11a1a8(0x1f1)]),_0x221840={'\x62\x6f\x78':_0x879dc3,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x37bb0c[_0x11a1a8(0x1b9)]},_0xe267c4={};for(const _0x3b4ddd of _0x594cf1){const _0x1f658b=_0x3b4ddd[_0x11a1a8(0x218)](_0x221840);_0xe267c4[_0x3b4ddd[_0x11a1a8(0x18f)]]=_0x40699b['\x74\x6f\x6f\x6c']({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x3b4ddd[_0x11a1a8(0x20e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x40699b['\x6a\x73\x6f\x6e\x53\x63\x68\x65\x6d\x61'](_0x3b4ddd[_0x11a1a8(0x1d0)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x246a09=>{return serializeToolResult(await _0x443446['\x72\x44\x43\x4d\x45'](_0x1f658b,_0x246a09));}});}return _0xe267c4;}export{anthropicFleetTools,anthropicTools,createMcpServer,mastraFleetTools,mastraTools,openaiFleetTools,openaiTools,runCode,vercelAiFleetTools,vercelAiTools};
|
package/dist/auth/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0xd6fc39=a0_0x46c7;(function(_0x430173,_0x1b33ae){const _0x2ecf76=a0_0x46c7,_0x324fcd=_0x430173();while(!![]){try{const _0x44d4d5=-parseInt(_0x2ecf76(0x14f))/0x1+-parseInt(_0x2ecf76(0x16f))/0x2*(parseInt(_0x2ecf76(0x17b))/0x3)+-parseInt(_0x2ecf76(0x152))/0x4*(-parseInt(_0x2ecf76(0x14a))/0x5)+parseInt(_0x2ecf76(0x16b))/0x6*(-parseInt(_0x2ecf76(0x180))/0x7)+-parseInt(_0x2ecf76(0x16d))/0x8+-parseInt(_0x2ecf76(0x177))/0x9+parseInt(_0x2ecf76(0x15d))/0xa*(parseInt(_0x2ecf76(0x15f))/0xb);if(_0x44d4d5===_0x1b33ae)break;else _0x324fcd['push'](_0x324fcd['shift']());}catch(_0x12a8b1){_0x324fcd['push'](_0x324fcd['shift']());}}}(a0_0x5ef0,0x59b0a));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x3c0d75){const _0x150a39=a0_0x46c7,_0x4016f7={'\x6e\x55\x46\x62\x57':function(_0x3c4f23,_0x2aa790){return _0x3c4f23===_0x2aa790;}};return(_0x4016f7[_0x150a39(0x167)](typeof _0x3c0d75,'\x73\x74\x72\x69\x6e\x67')?Buffer['\x66\x72\x6f\x6d'](_0x3c0d75):_0x3c0d75)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](_0x150a39(0x147))[_0x150a39(0x185)](/\+/g,'\x2d')[_0x150a39(0x185)](/\//g,'\x5f')[_0x150a39(0x185)](/=+$/,'');}function decodeBase64UrlToBuffer(_0xf48f97){const _0x4b5cb8=a0_0x46c7,_0x254528={'\x78\x41\x79\x4a\x68':function(_0x42b77e,_0xc8a0e9){return _0x42b77e%_0xc8a0e9;},'\x48\x57\x53\x78\x6a':_0x4b5cb8(0x147)};if(!/^[A-Za-z0-9_-]*$/[_0x4b5cb8(0x181)](_0xf48f97))return null;const _0x49f16a=_0xf48f97+'\x3d'[_0x4b5cb8(0x148)]((0x4-_0x254528['\x78\x41\x79\x4a\x68'](_0xf48f97[_0x4b5cb8(0x156)],0x4))%0x4);return Buffer[_0x4b5cb8(0x171)](_0x49f16a[_0x4b5cb8(0x185)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x254528['\x48\x57\x53\x78\x6a']);}function createSignature(_0x1e4215,_0x290aa3){const _0x28e448=a0_0x46c7,_0x573007={'\x56\x70\x66\x62\x6b':function(_0x273538,_0x522db4){return _0x273538(_0x522db4);},'\x47\x44\x75\x5a\x71':function(_0x573ed2,_0xf037c5,_0x522292){return _0x573ed2(_0xf037c5,_0x522292);}};return _0x573007[_0x28e448(0x140)](base64UrlEncode,_0x573007[_0x28e448(0x14e)](createHmac,_0x28e448(0x150),_0x290aa3)[_0x28e448(0x155)](_0x1e4215)[_0x28e448(0x163)]());}const JWT_HEADER=base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x61\x6c\x67':'\x48\x53\x32\x35\x36','\x74\x79\x70':a0_0xd6fc39(0x144)}));function issueToken(_0x3f6ac7,_0x806dca,_0x921247){const _0x42ebd1=a0_0xd6fc39,_0x3b4423={'\x48\x4a\x71\x46\x59':function(_0x3896d3,_0x546d4f){return _0x3896d3+_0x546d4f;},'\x43\x62\x64\x51\x79':function(_0x43e8f7,_0x16ae30){return _0x43e8f7*_0x16ae30;},'\x66\x59\x78\x65\x47':function(_0x66775c,_0x9f2139){return _0x66775c(_0x9f2139);}},_0x49959d=Math['\x66\x6c\x6f\x6f\x72'](Date[_0x42ebd1(0x164)]()/0x3e8),_0x4ccc3e={..._0x806dca,'\x69\x61\x74':_0x49959d,'\x65\x78\x70':_0x3b4423[_0x42ebd1(0x143)](_0x49959d,_0x3b4423[_0x42ebd1(0x145)](_0x921247,0x3c))},_0x3fb925=JWT_HEADER+'\x2e'+_0x3b4423[_0x42ebd1(0x14c)](base64UrlEncode,JSON[_0x42ebd1(0x165)](_0x4ccc3e));return _0x3fb925+'\x2e'+createSignature(_0x3fb925,_0x3f6ac7);}function issueReadToken(_0x73a494,_0x500520,_0x414256){const _0xdad1b6=a0_0xd6fc39,_0x1cfe83={'\x44\x7a\x6a\x77\x52':_0xdad1b6(0x154)};return issueToken(_0x73a494,{..._0x500520,'\x74\x79\x70':_0x1cfe83[_0xdad1b6(0x16a)]},_0x414256);}function issueSessionScopedToken(_0x4107b0,_0x59d7b5,_0x5123fa){return issueReadToken(_0x4107b0,_0x59d7b5,_0x5123fa);}function issueProjectScopedToken(_0x500667,_0x32baae,_0x3c297a){const _0x1da01a=a0_0xd6fc39,_0x5163af={'\x4a\x72\x4a\x56\x6e':function(_0x967caf,_0x5c26cf,_0x46a38d,_0x62bfd9){return _0x967caf(_0x5c26cf,_0x46a38d,_0x62bfd9);}};return _0x5163af[_0x1da01a(0x182)](issueReadToken,_0x500667,_0x32baae,_0x3c297a);}function issueBatchScopedToken(_0x175e97,_0xc8784c,_0x25fc16){const _0x4926ea=a0_0xd6fc39,_0x1960ff={'\x71\x56\x66\x48\x52':function(_0x160252,_0x21a6b7,_0x21db1e,_0x22772d){return _0x160252(_0x21a6b7,_0x21db1e,_0x22772d);}};return _0x1960ff[_0x4926ea(0x151)](issueReadToken,_0x175e97,_0xc8784c,_0x25fc16);}function a0_0x46c7(_0x3201cd,_0x2412d8){_0x3201cd=_0x3201cd-0x140;const _0x5ef0b1=a0_0x5ef0();let _0x46c733=_0x5ef0b1[_0x3201cd];if(a0_0x46c7['\x6f\x6c\x67\x51\x6d\x59']===undefined){var _0x502752=function(_0x4bf158){const _0x3b88ea='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x1dc1f5='',_0x907c69='';for(let _0x3b7214=0x0,_0x4750af,_0x102d7e,_0x5f339c=0x0;_0x102d7e=_0x4bf158['\x63\x68\x61\x72\x41\x74'](_0x5f339c++);~_0x102d7e&&(_0x4750af=_0x3b7214%0x4?_0x4750af*0x40+_0x102d7e:_0x102d7e,_0x3b7214++%0x4)?_0x1dc1f5+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x4750af>>(-0x2*_0x3b7214&0x6)):0x0){_0x102d7e=_0x3b88ea['\x69\x6e\x64\x65\x78\x4f\x66'](_0x102d7e);}for(let _0x5de4b0=0x0,_0x3eebf2=_0x1dc1f5['\x6c\x65\x6e\x67\x74\x68'];_0x5de4b0<_0x3eebf2;_0x5de4b0++){_0x907c69+='\x25'+('\x30\x30'+_0x1dc1f5['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x5de4b0)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x907c69);};a0_0x46c7['\x53\x6e\x78\x52\x61\x55']=_0x502752,a0_0x46c7['\x6d\x4b\x53\x59\x42\x6c']={},a0_0x46c7['\x6f\x6c\x67\x51\x6d\x59']=!![];}const _0x9c6e9a=_0x5ef0b1[0x0],_0xde5fd0=_0x3201cd+_0x9c6e9a,_0x36fd67=a0_0x46c7['\x6d\x4b\x53\x59\x42\x6c'][_0xde5fd0];return!_0x36fd67?(_0x46c733=a0_0x46c7['\x53\x6e\x78\x52\x61\x55'](_0x46c733),a0_0x46c7['\x6d\x4b\x53\x59\x42\x6c'][_0xde5fd0]=_0x46c733):_0x46c733=_0x36fd67,_0x46c733;}function issueCollaborationToken(_0x3c0b20,_0x3e9ad5,_0x42e71a){const _0x2e4262=a0_0xd6fc39,_0x593a2d={'\x55\x55\x4d\x54\x48':function(_0x4ec7d9,_0xb5d6eb,_0x302e2e,_0x5ee62a){return _0x4ec7d9(_0xb5d6eb,_0x302e2e,_0x5ee62a);}};return _0x593a2d['\x55\x55\x4d\x54\x48'](issueToken,_0x3c0b20,{'\x73\x75\x62':_0x3e9ad5[_0x2e4262(0x169)],'\x73\x69\x64':_0x3e9ad5['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':_0x3e9ad5[_0x2e4262(0x15c)],'\x63\x69\x64':_0x3e9ad5[_0x2e4262(0x174)],'\x74\x79\x70':_0x2e4262(0x15b),'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x3e9ad5[_0x2e4262(0x16e)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x3e9ad5['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x3e9ad5[_0x2e4262(0x176)]},_0x42e71a);}function unsafeDecodeToken(_0xdf6284){const _0x4ae12e=a0_0xd6fc39,_0x3c0b70={'\x66\x4e\x6e\x54\x64':function(_0x561729,_0x362f7f){return _0x561729-_0x362f7f;},'\x79\x53\x73\x53\x4c':function(_0x23d4c3,_0x4bfd53){return _0x23d4c3%_0x4bfd53;},'\x44\x6a\x6e\x71\x77':_0x4ae12e(0x147)};try{const _0x633bf5=_0xdf6284[_0x4ae12e(0x17c)]('\x2e');if(_0x633bf5['\x6c\x65\x6e\x67\x74\x68']!==0x3)return null;const _0x4e6175=_0x633bf5[0x1]+'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x3c0b70[_0x4ae12e(0x184)](0x4,_0x3c0b70[_0x4ae12e(0x178)](_0x633bf5[0x1][_0x4ae12e(0x156)],0x4))%0x4),_0x4a6dc3=Buffer[_0x4ae12e(0x171)](_0x4e6175['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')[_0x4ae12e(0x185)](/_/g,'\x2f'),_0x3c0b70[_0x4ae12e(0x172)])[_0x4ae12e(0x153)]();return JSON[_0x4ae12e(0x175)](_0x4a6dc3);}catch{return null;}}function verifyToken(_0x2658bd,_0x1bb3f9,_0x1332b7={}){const _0x203b83=a0_0xd6fc39,_0x419da7={'\x69\x4d\x52\x41\x43':function(_0x5585f7,_0x1d50ae){return _0x5585f7||_0x1d50ae;},'\x4f\x59\x62\x76\x49':function(_0x44ff32,_0x23d184){return _0x44ff32+_0x23d184;},'\x65\x53\x44\x72\x6e':'\x62\x61\x73\x65\x36\x34','\x56\x45\x77\x56\x52':_0x203b83(0x179),'\x6e\x45\x62\x6b\x6b':function(_0x25560c,_0xa8671,_0x247940){return _0x25560c(_0xa8671,_0x247940);},'\x42\x5a\x47\x77\x53':function(_0x550d38,_0x472cb3){return _0x550d38(_0x472cb3);},'\x55\x4f\x42\x48\x4a':function(_0x31384c,_0xfe50d8){return _0x31384c(_0xfe50d8);},'\x66\x45\x4a\x76\x72':function(_0x5a8822,_0x580c98){return _0x5a8822||_0x580c98;},'\x6e\x6b\x6a\x72\x74':function(_0x4a8325,_0x33384b){return _0x4a8325(_0x33384b);},'\x51\x55\x61\x78\x6f':function(_0x3a7204,_0x33d44d){return _0x3a7204!==_0x33d44d;},'\x69\x74\x45\x6a\x4c':_0x203b83(0x17f)};try{const _0x459506=_0x2658bd['\x73\x70\x6c\x69\x74']('\x2e');if(_0x459506[_0x203b83(0x156)]!==0x3)return null;const [_0x3e2b15,_0x2ff07c,_0x8d666e]=_0x459506;if(_0x419da7[_0x203b83(0x162)](!_0x3e2b15,!_0x2ff07c)||!_0x8d666e)return null;let _0x314851;try{const _0x174596=_0x419da7['\x4f\x59\x62\x76\x49'](_0x3e2b15,'\x3d'[_0x203b83(0x148)]((0x4-_0x3e2b15[_0x203b83(0x156)]%0x4)%0x4)),_0x1b1c18=Buffer['\x66\x72\x6f\x6d'](_0x174596['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')[_0x203b83(0x185)](/_/g,'\x2f'),_0x419da7[_0x203b83(0x149)])['\x74\x6f\x53\x74\x72\x69\x6e\x67']();_0x314851=JSON[_0x203b83(0x175)](_0x1b1c18);}catch{return null;}if(_0x314851[_0x203b83(0x142)]!==_0x419da7[_0x203b83(0x168)])return null;const _0x2fb0d1=_0x419da7[_0x203b83(0x161)](createSignature,_0x3e2b15+'\x2e'+_0x2ff07c,_0x1bb3f9),_0x424ef4=_0x419da7[_0x203b83(0x170)](decodeBase64UrlToBuffer,_0x8d666e),_0x18aaa0=_0x419da7[_0x203b83(0x14d)](decodeBase64UrlToBuffer,_0x2fb0d1);if(_0x419da7['\x66\x45\x4a\x76\x72'](!_0x424ef4,!_0x18aaa0))return null;if(_0x424ef4[_0x203b83(0x156)]!==_0x18aaa0[_0x203b83(0x156)])return null;if(!_0x419da7['\x6e\x45\x62\x6b\x6b'](timingSafeEqual,_0x424ef4,_0x18aaa0))return null;const _0xd765d3=_0x419da7[_0x203b83(0x146)](unsafeDecodeToken,_0x2658bd);if(!_0xd765d3)return null;const _0x40edfa=Math['\x66\x6c\x6f\x6f\x72'](Date[_0x203b83(0x164)]()/0x3e8),_0x3e5afb=Math['\x6d\x61\x78'](0x0,_0x1332b7['\x63\x6c\x6f\x63\x6b\x53\x6b\x65\x77\x53\x65\x63\x6f\x6e\x64\x73']??0x0);if(_0x419da7[_0x203b83(0x166)](typeof _0xd765d3[_0x203b83(0x14b)],_0x419da7[_0x203b83(0x157)])||_0x419da7[_0x203b83(0x16c)](_0xd765d3[_0x203b83(0x14b)],_0x3e5afb)<_0x40edfa)return null;return _0xd765d3;}catch{return null;}}function getTokenTTL(_0x25d027){const _0x527494=a0_0xd6fc39,_0x13e143={'\x76\x76\x71\x62\x44':function(_0x7f9ccc,_0x411a06){return _0x7f9ccc/_0x411a06;},'\x41\x44\x7a\x61\x5a':function(_0x305988,_0x2c69a0){return _0x305988-_0x2c69a0;}},_0x5ba502=Math[_0x527494(0x159)](_0x13e143['\x76\x76\x71\x62\x44'](Date[_0x527494(0x164)](),0x3e8));return _0x13e143['\x41\x44\x7a\x61\x5a'](_0x25d027[_0x527494(0x14b)],_0x5ba502);}function isTokenExpiringSoon(_0x3a5683,_0x590a68=0x3c){return getTokenTTL(_0x3a5683)<=_0x590a68;}var ProductTokenIssuer=class{['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'];[a0_0xd6fc39(0x15a)];[a0_0xd6fc39(0x183)];constructor(_0x56f965){const _0x511ce4=a0_0xd6fc39;this[_0x511ce4(0x15c)]=_0x56f965[_0x511ce4(0x15c)],this[_0x511ce4(0x15a)]=_0x56f965[_0x511ce4(0x15a)],this[_0x511ce4(0x183)]={'\x66\x72\x65\x65':_0x56f965['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x511ce4(0x141)]??0xf,'\x70\x72\x6f':_0x56f965[_0x511ce4(0x183)]?.[_0x511ce4(0x17d)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x56f965['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x511ce4(0x158)]??0x1e0};}['\x69\x73\x73\x75\x65'](_0x4b84bf){const _0x2df51e=a0_0xd6fc39,_0x2b050f={'\x7a\x57\x4a\x4b\x55':function(_0x57c2eb,_0x77e8c0){return _0x57c2eb+_0x77e8c0;},'\x48\x4f\x44\x63\x6c':function(_0x57410a,_0x14d495){return _0x57410a/_0x14d495;},'\x53\x68\x54\x68\x54':function(_0x38e913,_0x8701f3){return _0x38e913*_0x8701f3;}},_0x3ad9a8=_0x4b84bf[_0x2df51e(0x173)]??_0x2df51e(0x141),_0x359811=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x3ad9a8]??this[_0x2df51e(0x183)]['\x66\x72\x65\x65'];return{'\x74\x6f\x6b\x65\x6e':issueReadToken(this['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'],{'\x73\x75\x62':_0x4b84bf[_0x2df51e(0x169)],'\x73\x69\x64':_0x4b84bf[_0x2df51e(0x15e)],'\x70\x69\x64':this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],'\x63\x69\x64':_0x4b84bf[_0x2df51e(0x174)]},_0x359811),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x2b050f[_0x2df51e(0x17e)](Math[_0x2df51e(0x159)](_0x2b050f[_0x2df51e(0x17a)](Date['\x6e\x6f\x77'](),0x3e8)),_0x2b050f['\x53\x68\x54\x68\x54'](_0x359811,0x3c))};}['\x69\x73\x73\x75\x65\x43\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e'](_0x5d0b97){const _0x323383=a0_0xd6fc39,_0x406bde={'\x59\x6e\x6e\x70\x63':function(_0x54c05e,_0x5b0d77){return _0x54c05e/_0x5b0d77;},'\x72\x55\x6f\x66\x59':function(_0xdd81a8,_0x2184ee){return _0xdd81a8*_0x2184ee;}},_0x344ac0=_0x5d0b97[_0x323383(0x173)]??'\x66\x72\x65\x65',_0x1c2a93=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x344ac0]??this[_0x323383(0x183)][_0x323383(0x141)];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x323383(0x15a)],{'\x75\x73\x65\x72\x49\x64':_0x5d0b97[_0x323383(0x169)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x5d0b97['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0x323383(0x15c)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x5d0b97[_0x323383(0x16e)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x5d0b97['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x5d0b97[_0x323383(0x176)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x5d0b97[_0x323383(0x174)]},_0x1c2a93),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math['\x66\x6c\x6f\x6f\x72'](_0x406bde['\x59\x6e\x6e\x70\x63'](Date[_0x323383(0x164)](),0x3e8))+_0x406bde[_0x323383(0x160)](_0x1c2a93,0x3c)};}['\x67\x65\x74\x54\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'](_0x1ba3c9=a0_0xd6fc39(0x141)){const _0x3bb429=a0_0xd6fc39;return this[_0x3bb429(0x183)][_0x1ba3c9]??this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']['\x66\x72\x65\x65'];}};function a0_0x5ef0(){const _0x2eebde=['\x6d\x4a\x69\x58\x6d\x78\x4c\x65\x7a\x78\x76\x54\x43\x47','\x43\x4c\x76\x56\x7a\x4c\x4b','\x42\x4b\x76\x49\x41\x32\x53','\x41\x75\x31\x73\x71\x75\x6d','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x42\x4d\x39\x33','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x75\x76\x76\x48\x45\x67\x38','\x42\x4c\x76\x67\x79\x4c\x43','\x76\x4b\x76\x33\x76\x4c\x69','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x72\x68\x50\x51\x44\x31\x69','\x6d\x5a\x79\x31\x6d\x4a\x47\x33\x6f\x67\x48\x78\x43\x78\x6a\x4b\x75\x57','\x74\x31\x4c\x49\x44\x4b\x4b','\x6e\x64\x65\x5a\x6d\x4a\x43\x31\x6d\x4b\x31\x4d\x77\x77\x72\x49\x44\x71','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x6f\x74\x7a\x33\x7a\x31\x6e\x70\x77\x76\x61','\x71\x4c\x50\x68\x44\x31\x6d','\x7a\x4e\x6a\x56\x42\x71','\x72\x67\x50\x55\x43\x78\x43','\x44\x67\x4c\x4c\x43\x47','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x43\x67\x66\x59\x43\x32\x75','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x6e\x74\x75\x59\x6e\x5a\x65\x57\x6e\x31\x66\x59\x72\x30\x6a\x36\x71\x71','\x45\x76\x6e\x5a\x75\x30\x57','\x73\x66\x6d\x59\x6e\x74\x79','\x73\x65\x39\x65\x79\x32\x57','\x6d\x4a\x4b\x57\x6d\x77\x48\x56\x41\x4d\x4c\x64\x79\x57','\x43\x33\x62\x53\x41\x78\x71','\x43\x68\x6a\x56','\x45\x4c\x44\x6b\x73\x31\x75','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x6e\x32\x35\x4d\x75\x76\x72\x63\x45\x47','\x44\x67\x76\x5a\x44\x61','\x73\x4e\x6a\x6b\x76\x4d\x34','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x7a\x4b\x35\x55\x76\x67\x71','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x76\x4e\x62\x4d\x79\x4d\x53','\x7a\x4e\x6a\x4c\x7a\x71','\x79\x77\x58\x4e','\x73\x65\x50\x58\x72\x4c\x4b','\x73\x4c\x44\x75','\x71\x32\x6a\x4b\x75\x78\x4b','\x42\x4d\x54\x51\x43\x4e\x71','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x7a\x76\x6e\x65\x43\x4d\x34','\x6f\x64\x76\x54\x7a\x4c\x50\x7a\x45\x78\x4f','\x7a\x78\x48\x57','\x7a\x4c\x4c\x34\x7a\x75\x43','\x76\x75\x39\x63\x73\x65\x4f','\x72\x30\x72\x31\x77\x4e\x65','\x6e\x64\x71\x58\x6d\x74\x47\x58\x72\x30\x35\x49\x71\x75\x72\x6f','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x43\x76\x7a\x4d\x73\x66\x69','\x6d\x74\x75\x58\x6d\x4a\x71\x30\x76\x4e\x6a\x67\x44\x32\x7a\x50','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x43\x4d\x76\x48\x7a\x61','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x41\x78\x72\x66\x41\x4b\x57','\x7a\x77\x35\x30\x7a\x78\x6a\x57\x43\x4d\x4c\x5a\x7a\x71','\x7a\x4d\x58\x56\x42\x33\x69','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x79\x32\x39\x53\x42\x67\x66\x49\x42\x33\x6a\x48\x44\x67\x4c\x56\x42\x47','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x6f\x74\x43\x58\x6d\x64\x62\x41\x73\x31\x6a\x5a\x45\x65\x69','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b'];a0_0x5ef0=function(){return _0x2eebde;};return a0_0x5ef0();}export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
|
|
1
|
+
const a0_0x195190=a0_0x546c;(function(_0xc61ee,_0x46a3ce){const _0x4b3e3e=a0_0x546c,_0x217b84=_0xc61ee();while(!![]){try{const _0x40d9b9=parseInt(_0x4b3e3e(0xc5))/0x1*(-parseInt(_0x4b3e3e(0xb2))/0x2)+-parseInt(_0x4b3e3e(0xd3))/0x3+-parseInt(_0x4b3e3e(0xe9))/0x4+-parseInt(_0x4b3e3e(0xf0))/0x5*(-parseInt(_0x4b3e3e(0xe5))/0x6)+-parseInt(_0x4b3e3e(0xe2))/0x7*(parseInt(_0x4b3e3e(0xed))/0x8)+parseInt(_0x4b3e3e(0xb9))/0x9*(parseInt(_0x4b3e3e(0xe1))/0xa)+parseInt(_0x4b3e3e(0xb6))/0xb*(parseInt(_0x4b3e3e(0xbb))/0xc);if(_0x40d9b9===_0x46a3ce)break;else _0x217b84['push'](_0x217b84['shift']());}catch(_0xe5d509){_0x217b84['push'](_0x217b84['shift']());}}}(a0_0x57d9,0xab604));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x2e0126){const _0x1f70f5=a0_0x546c;return(typeof _0x2e0126===_0x1f70f5(0xb3)?Buffer[_0x1f70f5(0xcd)](_0x2e0126):_0x2e0126)[_0x1f70f5(0xe3)](_0x1f70f5(0xd2))[_0x1f70f5(0xd0)](/\+/g,'\x2d')[_0x1f70f5(0xd0)](/\//g,'\x5f')[_0x1f70f5(0xd0)](/=+$/,'');}function decodeBase64UrlToBuffer(_0x22bca0){const _0x24bf34=a0_0x546c,_0x3413ba={'\x4e\x79\x75\x72\x76':function(_0x40fb36,_0x3faa45){return _0x40fb36-_0x3faa45;},'\x49\x59\x44\x54\x50':function(_0x4ad9eb,_0x5246b0){return _0x4ad9eb%_0x5246b0;},'\x65\x6a\x4e\x44\x75':_0x24bf34(0xd2)};if(!/^[A-Za-z0-9_-]*$/[_0x24bf34(0xcf)](_0x22bca0))return null;const _0x157d34=_0x22bca0+'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x3413ba['\x4e\x79\x75\x72\x76'](0x4,_0x3413ba[_0x24bf34(0xe8)](_0x22bca0[_0x24bf34(0xe4)],0x4))%0x4);return Buffer[_0x24bf34(0xcd)](_0x157d34[_0x24bf34(0xd0)](/-/g,'\x2b')[_0x24bf34(0xd0)](/_/g,'\x2f'),_0x3413ba[_0x24bf34(0xdc)]);}function createSignature(_0x4ea497,_0x1f1fd2){const _0x2ba38d=a0_0x546c,_0x56be6f={'\x49\x65\x76\x74\x69':function(_0x25c6da,_0x3ce8f2){return _0x25c6da(_0x3ce8f2);},'\x50\x61\x46\x4f\x4e':function(_0x45547e,_0xaa9870,_0x50200d){return _0x45547e(_0xaa9870,_0x50200d);},'\x69\x52\x6b\x75\x4f':_0x2ba38d(0xd7)};return _0x56be6f[_0x2ba38d(0xe6)](base64UrlEncode,_0x56be6f['\x50\x61\x46\x4f\x4e'](createHmac,_0x56be6f[_0x2ba38d(0xf1)],_0x1f1fd2)[_0x2ba38d(0xd5)](_0x4ea497)[_0x2ba38d(0xd4)]());}const JWT_HEADER=base64UrlEncode(JSON[a0_0x195190(0xce)]({'\x61\x6c\x67':a0_0x195190(0xd8),'\x74\x79\x70':'\x4a\x57\x54'}));function issueToken(_0x1553ce,_0x14f19e,_0x186286){const _0x34028e=a0_0x195190,_0x4bf93d={'\x74\x61\x44\x6e\x63':function(_0x53662a,_0xa9b4c){return _0x53662a*_0xa9b4c;}},_0x5123a6=Math[_0x34028e(0xec)](Date[_0x34028e(0xbf)]()/0x3e8),_0x410f76={..._0x14f19e,'\x69\x61\x74':_0x5123a6,'\x65\x78\x70':_0x5123a6+_0x4bf93d[_0x34028e(0xef)](_0x186286,0x3c)},_0x41f74c=JWT_HEADER+'\x2e'+base64UrlEncode(JSON[_0x34028e(0xce)](_0x410f76));return _0x41f74c+'\x2e'+createSignature(_0x41f74c,_0x1553ce);}function issueReadToken(_0x5688de,_0x4994ef,_0x96a637){const _0x1d32cc=a0_0x195190,_0x4f53bb={'\x44\x7a\x47\x76\x43':function(_0x142c2a,_0x25a1d9,_0x424fc1,_0x8ffc05){return _0x142c2a(_0x25a1d9,_0x424fc1,_0x8ffc05);}};return _0x4f53bb['\x44\x7a\x47\x76\x43'](issueToken,_0x5688de,{..._0x4994ef,'\x74\x79\x70':_0x1d32cc(0xf2)},_0x96a637);}function a0_0x57d9(){const _0x562250=['\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x73\x76\x4c\x65\x76\x66\x61','\x6d\x4a\x75\x35\x6d\x74\x69\x59\x6d\x67\x58\x53\x76\x65\x31\x5a\x45\x47','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x7a\x4d\x58\x56\x42\x33\x69','\x6d\x4a\x4b\x57\x6f\x74\x7a\x72\x43\x33\x4c\x4e\x72\x4c\x71','\x43\x67\x66\x59\x43\x32\x75','\x44\x67\x66\x65\x42\x4d\x6d','\x6e\x64\x61\x32\x6d\x4a\x4b\x31\x41\x4e\x44\x49\x79\x30\x58\x63','\x41\x76\x6a\x52\x44\x75\x38','\x43\x4d\x76\x48\x7a\x61','\x44\x67\x7a\x6e\x75\x77\x53','\x6d\x4a\x4b\x57\x6d\x74\x43\x57\x73\x4b\x6a\x65\x45\x75\x39\x6e','\x43\x33\x72\x59\x41\x77\x35\x4e','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x6d\x5a\x61\x31\x6e\x74\x48\x6c\x71\x4d\x72\x6d\x74\x4d\x75','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x7a\x4e\x6a\x4c\x7a\x71','\x6f\x64\x47\x35\x6f\x64\x6e\x6a\x75\x33\x4c\x6e\x77\x4d\x38','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x6e\x4a\x62\x48\x77\x66\x62\x35\x41\x65\x47','\x74\x65\x58\x7a\x76\x76\x79','\x72\x68\x76\x78\x71\x32\x75','\x74\x77\x31\x76\x74\x67\x30','\x42\x4d\x39\x33','\x75\x4b\x48\x58\x43\x65\x38','\x74\x75\x7a\x56\x73\x65\x6d','\x7a\x32\x76\x30\x76\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x76\x65\x58\x36\x42\x78\x75','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x6e\x4d\x35\x4f\x72\x78\x7a\x33\x43\x57','\x7a\x67\x54\x54\x76\x4b\x47','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x44\x67\x4c\x4c\x43\x47','\x42\x68\x50\x67\x42\x78\x69','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x42\x32\x4c\x6e\x77\x75\x79','\x77\x66\x6a\x68\x72\x4e\x65','\x7a\x4e\x6a\x56\x42\x71','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x44\x67\x76\x5a\x44\x61','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x71\x78\x48\x35\x71\x76\x47','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x6e\x74\x79\x58\x6d\x5a\x71\x31\x71\x76\x76\x67\x7a\x4b\x72\x71','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x73\x66\x6d\x59\x6e\x74\x79','\x7a\x78\x48\x57','\x74\x75\x31\x4b\x75\x67\x53','\x41\x78\x6e\x5a\x44\x77\x75','\x7a\x77\x50\x6f\x72\x68\x75','\x43\x33\x62\x53\x41\x78\x71','\x41\x78\x6e\x5a\x44\x77\x76\x64\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55','\x75\x31\x50\x33\x75\x30\x69','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x6d\x74\x69\x34\x6d\x67\x76\x53\x74\x32\x4c\x4c\x41\x61','\x6d\x74\x43\x31\x44\x77\x50\x52\x71\x32\x44\x4f','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x6f\x74\x62\x64\x75\x76\x6a\x4e\x7a\x4b\x6d','\x73\x77\x76\x32\x44\x67\x4b'];a0_0x57d9=function(){return _0x562250;};return a0_0x57d9();}function issueSessionScopedToken(_0x121d99,_0x35f9d7,_0x489b3a){const _0x50f29c=a0_0x195190,_0x182f42={'\x4c\x4c\x59\x55\x56':function(_0x486854,_0x72fb3,_0x386605,_0x549eaa){return _0x486854(_0x72fb3,_0x386605,_0x549eaa);}};return _0x182f42[_0x50f29c(0xbc)](issueReadToken,_0x121d99,_0x35f9d7,_0x489b3a);}function issueProjectScopedToken(_0x53e478,_0x46fd04,_0x2b3c11){return issueReadToken(_0x53e478,_0x46fd04,_0x2b3c11);}function issueBatchScopedToken(_0x2895ab,_0x3d0e98,_0x567e2b){return issueReadToken(_0x2895ab,_0x3d0e98,_0x567e2b);}function a0_0x546c(_0x4fd091,_0x5cf08f){_0x4fd091=_0x4fd091-0xb1;const _0x57d961=a0_0x57d9();let _0x546c5e=_0x57d961[_0x4fd091];if(a0_0x546c['\x67\x65\x67\x69\x6e\x43']===undefined){var _0x561b53=function(_0x29cf0d){const _0x5d5181='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x4fec53='',_0x1815d2='';for(let _0xc6dc67=0x0,_0x41e9d8,_0x2633db,_0x3a99d1=0x0;_0x2633db=_0x29cf0d['\x63\x68\x61\x72\x41\x74'](_0x3a99d1++);~_0x2633db&&(_0x41e9d8=_0xc6dc67%0x4?_0x41e9d8*0x40+_0x2633db:_0x2633db,_0xc6dc67++%0x4)?_0x4fec53+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x41e9d8>>(-0x2*_0xc6dc67&0x6)):0x0){_0x2633db=_0x5d5181['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2633db);}for(let _0x41fedb=0x0,_0x4e7851=_0x4fec53['\x6c\x65\x6e\x67\x74\x68'];_0x41fedb<_0x4e7851;_0x41fedb++){_0x1815d2+='\x25'+('\x30\x30'+_0x4fec53['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x41fedb)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1815d2);};a0_0x546c['\x77\x53\x53\x68\x56\x59']=_0x561b53,a0_0x546c['\x7a\x59\x45\x61\x62\x66']={},a0_0x546c['\x67\x65\x67\x69\x6e\x43']=!![];}const _0xf6e25f=_0x57d961[0x0],_0x479cdf=_0x4fd091+_0xf6e25f,_0x1ed717=a0_0x546c['\x7a\x59\x45\x61\x62\x66'][_0x479cdf];return!_0x1ed717?(_0x546c5e=a0_0x546c['\x77\x53\x53\x68\x56\x59'](_0x546c5e),a0_0x546c['\x7a\x59\x45\x61\x62\x66'][_0x479cdf]=_0x546c5e):_0x546c5e=_0x1ed717,_0x546c5e;}function issueCollaborationToken(_0x25e4cb,_0x46b1b6,_0x4891f0){const _0x222ff1=a0_0x195190;return issueToken(_0x25e4cb,{'\x73\x75\x62':_0x46b1b6['\x75\x73\x65\x72\x49\x64'],'\x73\x69\x64':_0x46b1b6['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':_0x46b1b6[_0x222ff1(0xca)],'\x63\x69\x64':_0x46b1b6[_0x222ff1(0xb5)],'\x74\x79\x70':'\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e','\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x46b1b6[_0x222ff1(0xe7)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x46b1b6[_0x222ff1(0xea)],'\x61\x63\x63\x65\x73\x73':_0x46b1b6[_0x222ff1(0xe0)]},_0x4891f0);}function unsafeDecodeToken(_0x3f6d61){const _0x5e738d=a0_0x195190,_0x5bbc35={'\x44\x75\x57\x43\x65':function(_0x3cf619,_0x155cb0){return _0x3cf619-_0x155cb0;},'\x6c\x7a\x46\x6d\x72':_0x5e738d(0xd2)};try{const _0x534fe7=_0x3f6d61[_0x5e738d(0xdd)]('\x2e');if(_0x534fe7[_0x5e738d(0xe4)]!==0x3)return null;const _0x355bdd=_0x534fe7[0x1]+'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x5bbc35[_0x5e738d(0xbd)](0x4,_0x534fe7[0x1][_0x5e738d(0xe4)]%0x4)%0x4),_0x318699=Buffer['\x66\x72\x6f\x6d'](_0x355bdd[_0x5e738d(0xd0)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x5bbc35[_0x5e738d(0xc9)])['\x74\x6f\x53\x74\x72\x69\x6e\x67']();return JSON[_0x5e738d(0xee)](_0x318699);}catch{return null;}}function verifyToken(_0x2667b7,_0x121613,_0x5da659={}){const _0x137bb7=a0_0x195190,_0x2dd08d={'\x58\x52\x47\x46\x71':function(_0x5d601f,_0x3642ef){return _0x5d601f!==_0x3642ef;},'\x52\x48\x71\x70\x4f':function(_0x3ad482,_0x563bbc){return _0x3ad482+_0x563bbc;},'\x64\x6b\x6d\x56\x48':function(_0x233b63,_0x195133){return _0x233b63%_0x195133;},'\x53\x5a\x77\x53\x42':_0x137bb7(0xd2),'\x74\x66\x4d\x51\x6b':function(_0x13448c,_0x1150d3,_0x406df1){return _0x13448c(_0x1150d3,_0x406df1);},'\x4d\x4d\x64\x50\x6b':function(_0x163678,_0xf048d6){return _0x163678(_0xf048d6);},'\x6f\x69\x4d\x59\x46':_0x137bb7(0xb4),'\x64\x69\x58\x49\x57':function(_0x537201,_0x7617f0){return _0x537201<_0x7617f0;}};try{const _0x2629ce=_0x2667b7[_0x137bb7(0xdd)]('\x2e');if(_0x2dd08d[_0x137bb7(0xcc)](_0x2629ce[_0x137bb7(0xe4)],0x3))return null;const [_0x34d689,_0x2a7c6c,_0x2a06aa]=_0x2629ce;if(!_0x34d689||!_0x2a7c6c||!_0x2a06aa)return null;let _0x3b32c4;try{const _0x4667e7=_0x2dd08d[_0x137bb7(0xc0)](_0x34d689,'\x3d'[_0x137bb7(0xc7)](_0x2dd08d[_0x137bb7(0xc6)](0x4-_0x34d689[_0x137bb7(0xe4)]%0x4,0x4))),_0xd97665=Buffer['\x66\x72\x6f\x6d'](_0x4667e7[_0x137bb7(0xd0)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x2dd08d[_0x137bb7(0xdf)])[_0x137bb7(0xe3)]();_0x3b32c4=JSON[_0x137bb7(0xee)](_0xd97665);}catch{return null;}if(_0x3b32c4['\x61\x6c\x67']!==_0x137bb7(0xd8))return null;const _0xf35d3e=_0x2dd08d[_0x137bb7(0xb1)](createSignature,_0x34d689+'\x2e'+_0x2a7c6c,_0x121613),_0x2347aa=decodeBase64UrlToBuffer(_0x2a06aa),_0x32bfb9=_0x2dd08d[_0x137bb7(0xda)](decodeBase64UrlToBuffer,_0xf35d3e);if(!_0x2347aa||!_0x32bfb9)return null;if(_0x2347aa[_0x137bb7(0xe4)]!==_0x32bfb9[_0x137bb7(0xe4)])return null;if(!timingSafeEqual(_0x2347aa,_0x32bfb9))return null;const _0x39ddd5=unsafeDecodeToken(_0x2667b7);if(!_0x39ddd5)return null;const _0xab19e8=Math['\x66\x6c\x6f\x6f\x72'](Date[_0x137bb7(0xbf)]()/0x3e8),_0x4a492b=Math['\x6d\x61\x78'](0x0,_0x5da659[_0x137bb7(0xba)]??0x0);if(_0x2dd08d[_0x137bb7(0xcc)](typeof _0x39ddd5[_0x137bb7(0xd9)],_0x2dd08d[_0x137bb7(0xcb)])||_0x2dd08d['\x64\x69\x58\x49\x57'](_0x39ddd5['\x65\x78\x70']+_0x4a492b,_0xab19e8))return null;return _0x39ddd5;}catch{return null;}}function getTokenTTL(_0x13e6d5){const _0x43e679=a0_0x195190,_0x86bc4b={'\x65\x6c\x49\x4a\x70':function(_0x1af284,_0x407d01){return _0x1af284/_0x407d01;}},_0x5a9ed9=Math[_0x43e679(0xec)](_0x86bc4b['\x65\x6c\x49\x4a\x70'](Date[_0x43e679(0xbf)](),0x3e8));return _0x13e6d5[_0x43e679(0xd9)]-_0x5a9ed9;}function isTokenExpiringSoon(_0x131529,_0x31bf54=0x3c){const _0x3854bf=a0_0x195190,_0x4db4f6={'\x41\x78\x79\x41\x58':function(_0x51cd8c,_0x158a18){return _0x51cd8c(_0x158a18);}};return _0x4db4f6[_0x3854bf(0xd1)](getTokenTTL,_0x131529)<=_0x31bf54;}var ProductTokenIssuer=class{[a0_0x195190(0xca)];[a0_0x195190(0xd6)];[a0_0x195190(0xeb)];constructor(_0x237da5){const _0x2d2868=a0_0x195190;this[_0x2d2868(0xca)]=_0x237da5[_0x2d2868(0xca)],this[_0x2d2868(0xd6)]=_0x237da5[_0x2d2868(0xd6)],this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']={'\x66\x72\x65\x65':_0x237da5[_0x2d2868(0xeb)]?.[_0x2d2868(0xb8)]??0xf,'\x70\x72\x6f':_0x237da5[_0x2d2868(0xeb)]?.['\x70\x72\x6f']??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x237da5[_0x2d2868(0xeb)]?.['\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65']??0x1e0};}[a0_0x195190(0xdb)](_0x5b986d){const _0x34a530=a0_0x195190,_0x42cf01={'\x4d\x6d\x55\x4c\x6d':function(_0x2f961e,_0x4cf2a1){return _0x2f961e+_0x4cf2a1;}},_0x3139c2=_0x5b986d[_0x34a530(0xc8)]??_0x34a530(0xb8),_0x522cd5=this[_0x34a530(0xeb)][_0x3139c2]??this[_0x34a530(0xeb)][_0x34a530(0xb8)];return{'\x74\x6f\x6b\x65\x6e':issueReadToken(this[_0x34a530(0xd6)],{'\x73\x75\x62':_0x5b986d['\x75\x73\x65\x72\x49\x64'],'\x73\x69\x64':_0x5b986d[_0x34a530(0xc4)],'\x70\x69\x64':this[_0x34a530(0xca)],'\x63\x69\x64':_0x5b986d[_0x34a530(0xb5)]},_0x522cd5),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x42cf01[_0x34a530(0xbe)](Math[_0x34a530(0xec)](Date[_0x34a530(0xbf)]()/0x3e8),_0x522cd5*0x3c)};}[a0_0x195190(0xde)](_0x1d85ff){const _0x205e08=a0_0x195190,_0xe76272={'\x54\x4c\x7a\x6d\x75':function(_0x51b157,_0x207aa2,_0x111b29,_0x1a1dfe){return _0x51b157(_0x207aa2,_0x111b29,_0x1a1dfe);},'\x47\x59\x56\x4b\x54':function(_0xf2758,_0x11072a){return _0xf2758+_0x11072a;},'\x4d\x46\x6f\x48\x43':function(_0x28a02d,_0xff6743){return _0x28a02d/_0xff6743;}},_0x3925d8=_0x1d85ff[_0x205e08(0xc8)]??_0x205e08(0xb8),_0x36de57=this[_0x205e08(0xeb)][_0x3925d8]??this[_0x205e08(0xeb)][_0x205e08(0xb8)];return{'\x74\x6f\x6b\x65\x6e':_0xe76272[_0x205e08(0xc3)](issueCollaborationToken,this['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'],{'\x75\x73\x65\x72\x49\x64':_0x1d85ff[_0x205e08(0xb7)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1d85ff['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0x205e08(0xca)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x1d85ff['\x70\x72\x6f\x6a\x65\x63\x74\x49\x64'],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x1d85ff[_0x205e08(0xea)],'\x61\x63\x63\x65\x73\x73':_0x1d85ff['\x61\x63\x63\x65\x73\x73'],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x1d85ff[_0x205e08(0xb5)]},_0x36de57),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0xe76272['\x47\x59\x56\x4b\x54'](Math[_0x205e08(0xec)](_0xe76272[_0x205e08(0xc1)](Date['\x6e\x6f\x77'](),0x3e8)),_0x36de57*0x3c)};}[a0_0x195190(0xc2)](_0x36fe38=a0_0x195190(0xb8)){const _0x350cce=a0_0x195190;return this[_0x350cce(0xeb)][_0x36fe38]??this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x350cce(0xb8)];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
|