@tangle-network/sandbox 0.0.0-develop.20260618083447.3fc83ee → 0.0.0-develop.20260618093133.b1f8a9b
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-BzCVXf8q.js +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-BxlfZ2Uh.js +1 -1
- package/dist/core.js +1 -1
- package/dist/errors-DZsfJUuc.js +1 -1
- package/dist/index.js +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/sandbox-DPOAZg0L.js +1 -1
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-B5FyUuxh.js +1 -1
- package/package.json +1 -1
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0xdae746=a0_0x3bc0;(function(_0x333cb0,_0xaecc39){const _0x283187=a0_0x3bc0,_0x49f629=_0x333cb0();while(!![]){try{const _0x1f1858=-parseInt(_0x283187(0x10e))/0x1*(parseInt(_0x283187(0xc4))/0x2)+parseInt(_0x283187(0xe6))/0x3*(parseInt(_0x283187(0xc2))/0x4)+parseInt(_0x283187(0x145))/0x5+-parseInt(_0x283187(0xb4))/0x6*(-parseInt(_0x283187(0xb7))/0x7)+parseInt(_0x283187(0xc5))/0x8*(-parseInt(_0x283187(0x151))/0x9)+-parseInt(_0x283187(0xd6))/0xa+-parseInt(_0x283187(0x154))/0xb*(-parseInt(_0x283187(0x156))/0xc);if(_0x1f1858===_0xaecc39)break;else _0x49f629['push'](_0x49f629['shift']());}catch(_0xa5cf46){_0x49f629['push'](_0x49f629['shift']());}}}(a0_0x5048,0x2c497));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_0xdae746(0xef),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x153),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\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':['\x70\x79\x74\x68\x6f\x6e',a0_0xdae746(0xac),a0_0xdae746(0xbf),a0_0xdae746(0xb9)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xe1)},'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\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':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x13e)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0x131),a0_0xdae746(0x117)],'\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:_0x300509,sessionId:_0x9b6499})=>async _0xafd76a=>{const _0x318da4=a0_0xdae746;return await _0x300509[_0x318da4(0x13a)](_0xafd76a[_0x318da4(0x131)],_0xafd76a[_0x318da4(0x117)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x9b6499,'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0xafd76a[_0x318da4(0x138)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xc3),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\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':a0_0xdae746(0x116)},'\x63\x77\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xaa)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0xdae746(0x14c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xc9)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0x14e)],'\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:_0x4093bb,sessionId:_0x3e7838})=>async _0x5b4bcf=>{const _0xd2ff92=a0_0xdae746;return await _0x4093bb[_0xd2ff92(0xbc)](_0x5b4bcf[_0xd2ff92(0x14e)],{'\x63\x77\x64':_0x5b4bcf[_0xd2ff92(0xda)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x5b4bcf[_0xd2ff92(0x138)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x3e7838});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x65\x61\x64':{'\x6e\x61\x6d\x65':a0_0xdae746(0xfa),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xd4),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0xdae746(0xd7)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0x107)],'\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:_0xd70a9f,sessionId:_0x48c038})=>async _0x553b0f=>{const _0x300b1b=a0_0xdae746;return{'\x63\x6f\x6e\x74\x65\x6e\x74':await _0xd70a9f[_0x300b1b(0xc8)](_0x553b0f[_0x300b1b(0x107)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x48c038})};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x77\x72\x69\x74\x65':{'\x6e\x61\x6d\x65':a0_0xdae746(0xec),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x120),'\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':'\x73\x74\x72\x69\x6e\x67'},'\x63\x6f\x6e\x74\x65\x6e\x74':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xbe)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0x107),a0_0xdae746(0xfc)],'\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:_0xe5551b})=>async _0x29b9d2=>{const _0x48dad7=a0_0xdae746;return await _0xe5551b[_0x48dad7(0xab)](_0x29b9d2[_0x48dad7(0x107)],_0x29b9d2[_0x48dad7(0xfc)]),{'\x6f\x6b':!![]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x6c\x69\x73\x74':{'\x6e\x61\x6d\x65':a0_0xdae746(0xde),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x14b),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0x107)],'\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:_0x3d4749})=>async _0x3f6835=>{const _0x4ef5fd=a0_0xdae746;return{'\x65\x6e\x74\x72\x69\x65\x73':await _0x3d4749['\x66\x73']['\x6c\x69\x73\x74'](_0x3f6835[_0x4ef5fd(0x107)])};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68':{'\x6e\x61\x6d\x65':a0_0xdae746(0xb1),'\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_0xdae746(0xf6),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x74\x65\x72\x6e':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x119)},'\x70\x61\x74\x68':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xf7)},'\x6d\x61\x78\x5f\x72\x65\x73\x75\x6c\x74\x73':{'\x74\x79\x70\x65':a0_0xdae746(0x14c),'\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_0xdae746(0xf8)],'\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:_0x23ec76})=>async _0x27f25e=>{const _0x333880=a0_0xdae746,_0x202a12=[],_0x3b2a0a=_0x27f25e[_0x333880(0xdb)]??0x64;for await(const _0x86bc89 of _0x23ec76[_0x333880(0xca)](_0x27f25e[_0x333880(0xf8)],{'\x63\x77\x64':_0x27f25e[_0x333880(0x107)],'\x6d\x61\x78\x52\x65\x73\x75\x6c\x74\x73':_0x3b2a0a})){_0x202a12['\x70\x75\x73\x68'](_0x86bc89);if(_0x202a12[_0x333880(0x127)]>=_0x3b2a0a)break;}return{'\x6d\x61\x74\x63\x68\x65\x73':_0x202a12};}}},ALL_TOOL_SPECS=Object[a0_0xdae746(0x101)](TOOL_SPECS);function selectSpecs(_0x8be683){const _0x20f1bf=a0_0xdae746,_0x49334f={'\x71\x4f\x41\x47\x70':function(_0x3d9c0e,_0x1568bc){return _0x3d9c0e===_0x1568bc;}};if(!_0x8be683||_0x49334f['\x71\x4f\x41\x47\x70'](_0x8be683[_0x20f1bf(0x127)],0x0))return ALL_TOOL_SPECS;const _0xaab52e=new Set(_0x8be683);return Object[_0x20f1bf(0xba)](TOOL_SPECS)[_0x20f1bf(0xc1)](_0x359a1c=>_0xaab52e[_0x20f1bf(0x12e)](_0x359a1c))[_0x20f1bf(0x159)](_0x55da6f=>TOOL_SPECS[_0x55da6f]);}function serializeToolResult(_0x3f512c){const _0x24390a=a0_0xdae746;if(typeof _0x3f512c===_0x24390a(0xd7))return _0x3f512c;try{return JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x3f512c,null,0x2);}catch{return String(_0x3f512c);}}const SDK_VERSION=((()=>{const _0x546689=a0_0xdae746,_0x4c7fc2={'\x52\x78\x67\x4e\x69':_0x546689(0xe4)};try{return createRequire(import.meta.url)(_0x546689(0xcb))[_0x546689(0xcf)]??_0x546689(0xe4);}catch{return _0x4c7fc2[_0x546689(0x149)];}})());async function createMcpServer(_0x2e5d7d,_0x1e6b28={}){const _0x1df562=a0_0xdae746,_0x5ccc2f={'\x50\x4a\x73\x77\x50':_0x1df562(0x11e),'\x68\x4f\x57\x45\x51':_0x1df562(0x134),'\x42\x5a\x4d\x6c\x45':_0x1df562(0x111)};let _0x3c8706,_0x821f;try{[_0x3c8706,_0x821f]=await Promise[_0x1df562(0x148)]([import(_0x5ccc2f[_0x1df562(0x146)]),import(_0x5ccc2f[_0x1df562(0xe3)])]);}catch{throw new Error(_0x1df562(0x130));}const _0x57cc3a=selectSpecs(_0x1e6b28[_0x1df562(0xfe)]),_0x112f42={'\x62\x6f\x78':_0x2e5d7d,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1e6b28['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64']},_0x4f38d6=new Map();for(const _0x528ade of _0x57cc3a)_0x4f38d6['\x73\x65\x74'](_0x528ade[_0x1df562(0xeb)],_0x528ade[_0x1df562(0xc7)](_0x112f42));const _0x4f00c7=new _0x3c8706[(_0x1df562(0x139))]({'\x6e\x61\x6d\x65':_0x1e6b28[_0x1df562(0xeb)]??'\x74\x61\x6e\x67\x6c\x65\x2d\x73\x61\x6e\x64\x62\x6f\x78','\x76\x65\x72\x73\x69\x6f\x6e':_0x1e6b28['\x76\x65\x72\x73\x69\x6f\x6e']??SDK_VERSION},{'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x74\x6f\x6f\x6c\x73':{}}});return _0x4f00c7['\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x61\x6e\x64\x6c\x65\x72'](_0x821f[_0x1df562(0x13c)],async()=>({'\x74\x6f\x6f\x6c\x73':_0x57cc3a['\x6d\x61\x70'](_0x3ce686=>({'\x6e\x61\x6d\x65':_0x3ce686[_0x1df562(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x3ce686[_0x1df562(0x126)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x3ce686[_0x1df562(0x157)]}))})),_0x4f00c7[_0x1df562(0x10b)](_0x821f[_0x1df562(0x13f)],async _0x3f1f8b=>{const _0x176893=_0x1df562,_0x24b78a=_0x3f1f8b,_0x4f5c04=_0x4f38d6['\x67\x65\x74'](_0x24b78a[_0x176893(0x141)]['\x6e\x61\x6d\x65']);if(!_0x4f5c04)return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x5ccc2f[_0x176893(0xd3)],'\x74\x65\x78\x74':_0x176893(0x14a)+_0x24b78a[_0x176893(0x141)][_0x176893(0xeb)]}]};try{return{'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x176893(0x11e),'\x74\x65\x78\x74':serializeToolResult(await _0x4f5c04(_0x24b78a[_0x176893(0x141)][_0x176893(0x104)]??{}))}]};}catch(_0x2acb7b){return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x176893(0x11e),'\x74\x65\x78\x74':_0x2acb7b instanceof Error?_0x2acb7b[_0x176893(0xdd)]:String(_0x2acb7b)}]};}}),{'\x73\x65\x72\x76\x65\x72':_0x4f00c7,'\x63\x6f\x6e\x6e\x65\x63\x74':_0x4b2a55=>_0x4f00c7[_0x1df562(0xdf)](_0x4b2a55),'\x63\x6c\x6f\x73\x65':()=>_0x4f00c7[_0x1df562(0x118)]()};}function runCode(_0x1f3d58,_0x2a416a,_0x1cfb9a,_0x301521){const _0x1db5d3=a0_0xdae746;return _0x1f3d58[_0x1db5d3(0x13a)](_0x2a416a,_0x1cfb9a,_0x301521);}function anthropicTools(_0x5b3551,_0x24164c={}){const _0x14d10f=a0_0xdae746,_0x11b3d8={'\x42\x48\x44\x6a\x59':_0x14d10f(0xb2),'\x79\x57\x44\x4a\x45':function(_0x4880fa,_0x592ce0){return _0x4880fa(_0x592ce0);},'\x6e\x72\x7a\x51\x64':function(_0x5b7268,_0x246433){return _0x5b7268 instanceof _0x246433;}},_0x2931fb=selectSpecs(_0x24164c[_0x14d10f(0xfe)]),_0x465ae0={'\x62\x6f\x78':_0x5b3551,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x24164c[_0x14d10f(0x102)]},_0x4697f7=new Map();for(const _0xddc98b of _0x2931fb)_0x4697f7[_0x14d10f(0xe8)](_0xddc98b['\x6e\x61\x6d\x65'],_0xddc98b[_0x14d10f(0xc7)](_0x465ae0));const _0x5ba234=_0x2931fb[_0x14d10f(0x159)](_0x54d24b=>({'\x6e\x61\x6d\x65':_0x54d24b[_0x14d10f(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x54d24b[_0x14d10f(0x126)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x54d24b[_0x14d10f(0x157)]}));async function _0x2ce6ec(_0x22c53a){const _0x22e07e=_0x14d10f,_0x65d2db=_0x4697f7['\x67\x65\x74'](_0x22c53a[_0x22e07e(0xeb)]);if(!_0x65d2db)return{'\x74\x79\x70\x65':_0x11b3d8[_0x22e07e(0xcd)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x22c53a['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x22e07e(0x14a)+_0x22c53a['\x6e\x61\x6d\x65'],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x35874a=await _0x65d2db(_0x22c53a[_0x22e07e(0x115)]);return{'\x74\x79\x70\x65':_0x11b3d8[_0x22e07e(0xcd)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x22c53a['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x11b3d8['\x79\x57\x44\x4a\x45'](toAnthropicContent,_0x35874a)};}catch(_0x4b0999){return{'\x74\x79\x70\x65':_0x22e07e(0xb2),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x22c53a['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x11b3d8[_0x22e07e(0x10a)](_0x4b0999,Error)?_0x4b0999[_0x22e07e(0xdd)]:String(_0x4b0999),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}async function _0x514247(_0x4d07e8){const _0x3c65af=_0x14d10f,_0x59d982=_0x4d07e8[_0x3c65af(0xc1)](_0x3280dd=>typeof _0x3280dd==='\x6f\x62\x6a\x65\x63\x74'&&_0x3280dd!==null&&_0x3280dd[_0x3c65af(0x12c)]===_0x3c65af(0xe5));return Promise[_0x3c65af(0x148)](_0x59d982[_0x3c65af(0x159)](_0x2ce6ec));}return{'\x74\x6f\x6f\x6c\x73':_0x5ba234,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65':_0x2ce6ec,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x514247};}function toAnthropicContent(_0x309600){const _0x243b9f=a0_0xdae746,_0x5af085={'\x4d\x47\x65\x4a\x56':function(_0x15c1ea,_0x2779fa){return _0x15c1ea(_0x2779fa);}};if(!isCodeExecutionResultWithImages(_0x309600))return serializeToolResult(_0x309600);const _0x19934d=[],_0x368f34={..._0x309600,'\x72\x65\x73\x75\x6c\x74\x73':_0x309600[_0x243b9f(0xbd)][_0x243b9f(0xc1)](_0x519992=>_0x519992[_0x243b9f(0x12c)]!==_0x243b9f(0xee))};_0x19934d[_0x243b9f(0xdc)]({'\x74\x79\x70\x65':_0x243b9f(0x11e),'\x74\x65\x78\x74':_0x5af085['\x4d\x47\x65\x4a\x56'](serializeToolResult,_0x368f34)});for(const _0x4ba0f5 of _0x309600['\x72\x65\x73\x75\x6c\x74\x73'])if(isImagePart(_0x4ba0f5))_0x19934d[_0x243b9f(0xdc)]({'\x74\x79\x70\x65':_0x243b9f(0xee),'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':'\x62\x61\x73\x65\x36\x34','\x6d\x65\x64\x69\x61\x5f\x74\x79\x70\x65':imageMediaType(_0x4ba0f5['\x66\x6f\x72\x6d\x61\x74']),'\x64\x61\x74\x61':_0x4ba0f5[_0x243b9f(0xea)]}});return _0x19934d;}function isImagePart(_0x254a79){const _0x425ab4=a0_0xdae746,_0x8b8dd3={'\x70\x6f\x70\x78\x74':function(_0x38313f,_0x911d1b){return _0x38313f===_0x911d1b;},'\x6a\x65\x4e\x46\x5a':_0x425ab4(0xee)};return _0x8b8dd3[_0x425ab4(0x133)](_0x254a79[_0x425ab4(0x12c)],_0x8b8dd3[_0x425ab4(0xf9)]);}function a0_0x3bc0(_0x3cc0a0,_0x5761a5){_0x3cc0a0=_0x3cc0a0-0xa7;const _0x504891=a0_0x5048();let _0x3bc0ab=_0x504891[_0x3cc0a0];if(a0_0x3bc0['\x68\x70\x6d\x67\x78\x6d']===undefined){var _0xcc3a19=function(_0x1b50dc){const _0x2a24a1='\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 _0x411591='',_0x35192b='';for(let _0x34033a=0x0,_0x1e1997,_0x54d879,_0x32bfc6=0x0;_0x54d879=_0x1b50dc['\x63\x68\x61\x72\x41\x74'](_0x32bfc6++);~_0x54d879&&(_0x1e1997=_0x34033a%0x4?_0x1e1997*0x40+_0x54d879:_0x54d879,_0x34033a++%0x4)?_0x411591+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x1e1997>>(-0x2*_0x34033a&0x6)):0x0){_0x54d879=_0x2a24a1['\x69\x6e\x64\x65\x78\x4f\x66'](_0x54d879);}for(let _0x60b5f2=0x0,_0x165020=_0x411591['\x6c\x65\x6e\x67\x74\x68'];_0x60b5f2<_0x165020;_0x60b5f2++){_0x35192b+='\x25'+('\x30\x30'+_0x411591['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x60b5f2)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x35192b);};a0_0x3bc0['\x62\x4a\x4d\x4a\x6d\x75']=_0xcc3a19,a0_0x3bc0['\x58\x56\x56\x46\x6c\x4b']={},a0_0x3bc0['\x68\x70\x6d\x67\x78\x6d']=!![];}const _0x23ea30=_0x504891[0x0],_0x1863cb=_0x3cc0a0+_0x23ea30,_0x141331=a0_0x3bc0['\x58\x56\x56\x46\x6c\x4b'][_0x1863cb];return!_0x141331?(_0x3bc0ab=a0_0x3bc0['\x62\x4a\x4d\x4a\x6d\x75'](_0x3bc0ab),a0_0x3bc0['\x58\x56\x56\x46\x6c\x4b'][_0x1863cb]=_0x3bc0ab):_0x3bc0ab=_0x141331,_0x3bc0ab;}function isCodeExecutionResultWithImages(_0x545c00){const _0x8e1d4f=a0_0xdae746,_0x2f0f9a={'\x77\x61\x64\x73\x6b':function(_0x252735,_0x3655df){return _0x252735!==_0x3655df;}};if(!_0x545c00||_0x2f0f9a[_0x8e1d4f(0xfb)](typeof _0x545c00,_0x8e1d4f(0xf6)))return![];const _0x1eebf7=_0x545c00[_0x8e1d4f(0xbd)];if(!Array[_0x8e1d4f(0x121)](_0x1eebf7))return![];return _0x1eebf7[_0x8e1d4f(0x144)](_0x49b42d=>_0x49b42d&&typeof _0x49b42d===_0x8e1d4f(0xf6)&&_0x49b42d[_0x8e1d4f(0x12c)]===_0x8e1d4f(0xee));}function imageMediaType(_0x235d25){const _0xa41f7e=a0_0xdae746,_0x1eb0c6={'\x4f\x4a\x57\x47\x79':'\x6a\x70\x65\x67','\x6e\x75\x75\x70\x75':_0xa41f7e(0x10f)};switch(_0x235d25){case _0xa41f7e(0x110):return _0xa41f7e(0x10f);case _0x1eb0c6[_0xa41f7e(0x103)]:return _0xa41f7e(0xb8);case _0xa41f7e(0x12a):return _0x1eb0c6[_0xa41f7e(0xed)];}}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_0xdae746(0x14f),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xf1),'\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':{'\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xc6)},'\x77\x6f\x72\x6b\x65\x72\x73':{'\x74\x79\x70\x65':a0_0xdae746(0x14c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x123)},'\x6d\x65\x74\x61\x64\x61\x74\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\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_0xdae746(0xe2),a0_0xdae746(0x10d)],'\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:_0x4ce81d})=>async _0x1aee76=>{const _0x523206=a0_0xdae746,_0x4700ec=await _0x4ce81d[_0x523206(0x155)]['\x63\x72\x65\x61\x74\x65\x57\x69\x74\x68\x43\x6f\x6f\x72\x64\x69\x6e\x61\x74\x6f\x72']({'\x64\x65\x66\x61\x75\x6c\x74\x73':{'\x70\x75\x62\x6c\x69\x63\x54\x65\x6d\x70\x6c\x61\x74\x65\x49\x64':_0x1aee76[_0x523206(0xe2)]},'\x77\x6f\x72\x6b\x65\x72\x73':Array[_0x523206(0xd1)]({'\x6c\x65\x6e\x67\x74\x68':_0x1aee76['\x77\x6f\x72\x6b\x65\x72\x73']},(_0x434c08,_0x479164)=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x523206(0xa9)+_0x479164})),'\x6d\x65\x74\x61\x64\x61\x74\x61':_0x1aee76[_0x523206(0xfd)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x4700ec[_0x523206(0xf0)],'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64\x73':_0x4700ec[_0x523206(0xa8)]};}},'\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':a0_0xdae746(0xad),'\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_0xdae746(0xf6),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7)},'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x116)},'\x6d\x61\x63\x68\x69\x6e\x65\x73':{'\x74\x79\x70\x65':a0_0xdae746(0xf3),'\x69\x74\x65\x6d\x73':{'\x74\x79\x70\x65':a0_0xdae746(0xd7)},'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x136)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0xdae746(0x14c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x152)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0xb5),'\x63\x6f\x6d\x6d\x61\x6e\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:_0x4ecad9})=>async _0x58eddc=>{const _0x5cc5ef=a0_0xdae746;return await(await _0x4ecad9[_0x5cc5ef(0x155)][_0x5cc5ef(0x128)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x58eddc[_0x5cc5ef(0xb5)]}))[_0x5cc5ef(0x12d)](_0x58eddc[_0x5cc5ef(0x14e)],{'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x58eddc[_0x5cc5ef(0xd5)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x58eddc[_0x5cc5ef(0x138)]});}},'\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_0xdae746(0x132),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x140),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0xb5)],'\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:_0x187925})=>async _0x60d577=>{const _0x1cd331=a0_0xdae746,_0x3573f6=await _0x187925[_0x1cd331(0x155)][_0x1cd331(0x128)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x60d577[_0x1cd331(0xb5)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x3573f6['\x66\x6c\x65\x65\x74\x49\x64'],'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x3573f6[_0x1cd331(0xa8)][_0x1cd331(0x159)](_0x1151f5=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x1151f5,'\x73\x74\x61\x74\x75\x73':_0x3573f6[_0x1cd331(0x105)](_0x1151f5)[_0x1cd331(0x147)]}))};}},'\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_0xdae746(0xaf),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x11c),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\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\x6e\x74\x69\x6e\x75\x65\x5f\x6f\x6e\x5f\x65\x72\x72\x6f\x72':{'\x74\x79\x70\x65':a0_0xdae746(0x124),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x14d)}},'\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:_0x4d4145})=>async _0x52468d=>{const _0x21520f=a0_0xdae746;return await(await _0x4d4145[_0x21520f(0x155)][_0x21520f(0x128)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x52468d[_0x21520f(0xb5)]}))[_0x21520f(0xe9)]({'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x4f\x6e\x45\x72\x72\x6f\x72':_0x52468d[_0x21520f(0x109)]}),{'\x66\x6c\x65\x65\x74\x49\x64':_0x52468d[_0x21520f(0xb5)],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_FLEET_TOOL_SPECS=Object['\x76\x61\x6c\x75\x65\x73'](FLEET_TOOL_SPECS);function selectFleetSpecs(_0x3bf59d){const _0x1ae206=a0_0xdae746,_0x41d4bd={'\x62\x78\x73\x5a\x48':function(_0x216a24,_0x43e5df){return _0x216a24===_0x43e5df;}};if(!_0x3bf59d||_0x41d4bd['\x62\x78\x73\x5a\x48'](_0x3bf59d[_0x1ae206(0x127)],0x0))return ALL_FLEET_TOOL_SPECS;const _0x596c5b=new Set(_0x3bf59d);return Object['\x6b\x65\x79\x73'](FLEET_TOOL_SPECS)[_0x1ae206(0xc1)](_0x1acfc8=>_0x596c5b[_0x1ae206(0x12e)](_0x1acfc8))[_0x1ae206(0x159)](_0x101738=>FLEET_TOOL_SPECS[_0x101738]);}function anthropicFleetTools(_0x155213,_0x68cb70={}){const _0x2ed704=a0_0xdae746,_0x592cfc={'\x42\x4a\x72\x6c\x4a':_0x2ed704(0xb2),'\x59\x46\x41\x51\x56':function(_0x49844e,_0x32e03e){return _0x49844e(_0x32e03e);}},_0x1f58ab=_0x592cfc['\x59\x46\x41\x51\x56'](selectFleetSpecs,_0x68cb70[_0x2ed704(0xfe)]),_0x56d767=buildFleetHandlers(_0x1f58ab,{'\x63\x6c\x69\x65\x6e\x74':_0x155213});return{'\x74\x6f\x6f\x6c\x73':_0x1f58ab['\x6d\x61\x70'](_0x4d6e50=>({'\x6e\x61\x6d\x65':_0x4d6e50[_0x2ed704(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x4d6e50[_0x2ed704(0x126)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x4d6e50[_0x2ed704(0x157)]})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x2fd96f){const _0x22f5eb=_0x2ed704,_0x5b2542=_0x56d767[_0x22f5eb(0x105)](_0x2fd96f[_0x22f5eb(0xeb)]);if(!_0x5b2542)return{'\x74\x79\x70\x65':_0x592cfc[_0x22f5eb(0x142)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x2fd96f['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x22f5eb(0xa7)+_0x2fd96f['\x6e\x61\x6d\x65'],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x41737e=await _0x5b2542(_0x2fd96f['\x69\x6e\x70\x75\x74']);return{'\x74\x79\x70\x65':_0x592cfc['\x42\x4a\x72\x6c\x4a'],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x2fd96f['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x41737e)};}catch(_0x364e3a){return{'\x74\x79\x70\x65':_0x22f5eb(0xb2),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x2fd96f['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x364e3a instanceof Error?_0x364e3a[_0x22f5eb(0xdd)]:_0x592cfc[_0x22f5eb(0xd2)](String,_0x364e3a),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiFleetTools(_0x155b06,_0x109acd={}){const _0x547db8=a0_0xdae746,_0x5a9d63={'\x52\x4a\x5a\x62\x7a':function(_0x133885,_0x2a4323){return _0x133885===_0x2a4323;},'\x56\x41\x47\x67\x4e':function(_0x3fb2fd,_0x325bf1){return _0x3fb2fd(_0x325bf1);},'\x70\x45\x49\x42\x77':function(_0x16cb67,_0x2f4c52,_0x1c4d98){return _0x16cb67(_0x2f4c52,_0x1c4d98);}},_0x3e35a5=selectFleetSpecs(_0x109acd[_0x547db8(0xfe)]),_0x2d8b27=_0x5a9d63[_0x547db8(0x11f)](buildFleetHandlers,_0x3e35a5,{'\x63\x6c\x69\x65\x6e\x74':_0x155b06});return{'\x74\x6f\x6f\x6c\x73':_0x3e35a5[_0x547db8(0x159)](_0x4d308a=>({'\x74\x79\x70\x65':'\x66\x75\x6e\x63\x74\x69\x6f\x6e','\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x4d308a[_0x547db8(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x4d308a[_0x547db8(0x126)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x4d308a[_0x547db8(0x157)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x5d98fd){const _0x1c98b2=_0x547db8,_0x3dbf12=_0x2d8b27['\x67\x65\x74'](_0x5d98fd[_0x1c98b2(0x158)][_0x1c98b2(0xeb)]);if(!_0x3dbf12)return{'\x72\x6f\x6c\x65':'\x74\x6f\x6f\x6c','\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x5d98fd['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x1c98b2(0xe0)]({'\x65\x72\x72\x6f\x72':_0x1c98b2(0xa7)+_0x5d98fd[_0x1c98b2(0x158)]['\x6e\x61\x6d\x65']})};let _0x501d1b={};try{const _0x1d5f2a=JSON[_0x1c98b2(0x106)](_0x5d98fd[_0x1c98b2(0x158)][_0x1c98b2(0x104)]||'\x7b\x7d');if(_0x1d5f2a&&_0x5a9d63['\x52\x4a\x5a\x62\x7a'](typeof _0x1d5f2a,_0x1c98b2(0xf6)))_0x501d1b=_0x1d5f2a;}catch{}try{const _0x449583=await _0x3dbf12(_0x501d1b);return{'\x72\x6f\x6c\x65':_0x1c98b2(0x12b),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x5d98fd['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x449583)};}catch(_0xf1c9c0){return{'\x72\x6f\x6c\x65':_0x1c98b2(0x12b),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x5d98fd['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x1c98b2(0xe0)]({'\x65\x72\x72\x6f\x72':_0xf1c9c0 instanceof Error?_0xf1c9c0[_0x1c98b2(0xdd)]:_0x5a9d63[_0x1c98b2(0xc0)](String,_0xf1c9c0)})};}}};}async function vercelAiFleetTools(_0x25dfb8,_0x1d6a56={}){const _0x449c81=a0_0xdae746,_0x2f71d4={'\x7a\x70\x44\x41\x53':function(_0x23b921,_0x3046e4){return _0x23b921(_0x3046e4);}};let _0x4de99b;try{_0x4de99b=await import('\x61\x69');}catch{throw new Error(_0x449c81(0x135));}const _0x105b22=_0x2f71d4[_0x449c81(0xf5)](selectFleetSpecs,_0x1d6a56['\x61\x6c\x6c\x6f\x77']),_0x1c63c6=buildFleetHandlers(_0x105b22,{'\x63\x6c\x69\x65\x6e\x74':_0x25dfb8}),_0xba2a61={};for(const _0x3188c7 of _0x105b22)_0xba2a61[_0x3188c7['\x6e\x61\x6d\x65']]=_0x4de99b['\x74\x6f\x6f\x6c']({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x3188c7[_0x449c81(0x126)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x4de99b[_0x449c81(0xb3)](_0x3188c7[_0x449c81(0x157)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x5b590b=>{const _0x275f0c=_0x449c81,_0x2d7586=_0x1c63c6[_0x275f0c(0x105)](_0x3188c7[_0x275f0c(0xeb)]);if(!_0x2d7586)throw new Error(_0x275f0c(0xa7)+_0x3188c7[_0x275f0c(0xeb)]);return serializeToolResult(await _0x2d7586(_0x5b590b));}});return _0xba2a61;}function a0_0x5048(){const _0x21f784=['\x7a\x67\x76\x5a\x79\x33\x6a\x50\x43\x68\x72\x50\x42\x32\x34','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x67\x4c\x5a\x44\x61','\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x43\x33\x7a\x4e','\x44\x67\x39\x56\x42\x61','\x44\x68\x4c\x57\x7a\x71','\x7a\x67\x4c\x5a\x43\x67\x66\x30\x79\x32\x48\x66\x45\x67\x76\x4a','\x41\x67\x66\x5a','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x50\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','\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75','\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','\x43\x67\x39\x57\x45\x68\x71','\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','\x44\x4d\x76\x59\x79\x32\x76\x53\x71\x77\x4c\x67\x42\x67\x76\x4c\x44\x66\x72\x56\x42\x32\x58\x5a\x6b\x63\x4b\x36\x69\x68\x72\x4f\x7a\x73\x62\x47\x79\x77\x4c\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\x32\x41\x77\x65\x47\x79\x68\x62\x55\x43\x67\x30\x47\x79\x77\x72\x4b\x69\x67\x66\x50\x79\x63\x34','\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','\x73\x77\x71\x47\x43\x4d\x76\x30\x44\x78\x6a\x55\x7a\x77\x71\x47\x79\x4e\x4b\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4a\x43\x4d\x76\x48\x44\x67\x75\x55','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x66\x39\x54\x43\x57','\x75\x32\x76\x59\x44\x4d\x76\x59','\x43\x4e\x76\x55\x71\x32\x39\x4b\x7a\x71','\x75\x75\x4c\x6f\x73\x4c\x65','\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\x33\x6a\x4c\x79\x78\x72\x4c\x76\x67\x39\x56\x42\x61','\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','\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','\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','\x43\x67\x66\x59\x79\x77\x31\x5a','\x71\x4b\x50\x59\x42\x65\x4f','\x74\x4b\x7a\x4c\x73\x68\x61','\x43\x32\x39\x54\x7a\x71','\x6e\x64\x4b\x34\x6f\x74\x47\x57\x45\x4e\x7a\x52\x42\x65\x6a\x63','\x41\x65\x39\x78\x72\x76\x65','\x43\x33\x72\x48\x44\x68\x76\x5a','\x79\x77\x58\x53','\x75\x4e\x48\x4e\x74\x4d\x4b','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\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','\x42\x4e\x76\x54\x79\x4d\x76\x59','\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','\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\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\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','\x6d\x4a\x65\x58\x6e\x4a\x48\x7a\x76\x4e\x7a\x50\x42\x65\x4f','\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','\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','\x6d\x4a\x4b\x57\x6e\x5a\x6d\x35\x6f\x75\x44\x78\x45\x77\x4c\x4a\x73\x71','\x7a\x4d\x58\x4c\x7a\x78\x72\x5a','\x6d\x74\x6a\x4f\x43\x77\x44\x56\x45\x66\x47','\x41\x77\x35\x57\x44\x78\x72\x74\x79\x32\x48\x4c\x42\x77\x65','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x42\x77\x66\x57','\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','\x41\x77\x72\x5a','\x44\x32\x39\x59\x41\x32\x76\x59\x6c\x71','\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\x33\x6a\x50\x44\x67\x75','\x42\x4d\x39\x4b\x7a\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x41\x78\x6e\x57\x79\x78\x72\x4a\x41\x61','\x7a\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x4e\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','\x7a\x78\x48\x50\x44\x65\x6e\x56\x7a\x67\x75','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x5a\x7a\x77\x66\x59\x79\x32\x47','\x44\x67\x39\x56\x42\x66\x39\x59\x7a\x78\x6e\x31\x42\x68\x71','\x41\x4e\x6e\x56\x42\x4c\x6e\x4a\x41\x67\x76\x54\x79\x71','\x6e\x4d\x6a\x54\x79\x33\x50\x72\x73\x71','\x7a\x4d\x58\x4c\x7a\x78\x72\x46\x41\x77\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x44\x77\x35\x46\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\x6f\x64\x75\x57\x6d\x5a\x65\x34\x75\x76\x6e\x52\x76\x31\x76\x4a','\x41\x77\x31\x48\x7a\x32\x75\x56\x41\x4e\x62\x4c\x7a\x57','\x79\x4d\x66\x5a\x41\x61','\x41\x32\x76\x35\x43\x57','\x71\x33\x6a\x4c\x79\x78\x72\x4c\x69\x67\x66\x55\x69\x67\x4c\x5a\x42\x32\x58\x48\x44\x67\x76\x4b\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x47\x7a\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x4e\x71\x47\x79\x77\x35\x4b\x69\x68\x6a\x4c\x44\x68\x76\x59\x42\x49\x62\x50\x44\x68\x6d\x47\x41\x77\x71\x47\x7a\x4d\x39\x59\x69\x68\x76\x5a\x7a\x73\x62\x33\x41\x78\x72\x4f\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x46\x43\x4e\x76\x55\x78\x32\x6e\x56\x42\x77\x31\x48\x42\x4d\x71\x55\x69\x66\x76\x5a\x7a\x73\x62\x30\x41\x67\x4c\x5a\x69\x68\x44\x4f\x7a\x77\x34\x47\x44\x67\x48\x4c\x69\x68\x76\x5a\x7a\x78\x69\x47\x42\x4d\x76\x4c\x7a\x68\x6d\x47\x79\x32\x39\x4b\x7a\x73\x62\x4c\x45\x67\x76\x4a\x44\x78\x72\x4c\x7a\x63\x57\x47\x7a\x4d\x4c\x53\x7a\x78\x6d\x47\x79\x77\x35\x48\x42\x68\x4c\x36\x7a\x77\x71\x53\x69\x67\x39\x59\x69\x67\x6e\x56\x42\x77\x31\x48\x42\x4d\x72\x5a\x69\x68\x6a\x31\x42\x49\x62\x50\x42\x49\x62\x48\x69\x68\x6e\x4c\x79\x33\x76\x59\x7a\x73\x62\x4c\x42\x4e\x7a\x50\x43\x4d\x39\x55\x42\x77\x76\x55\x44\x63\x34\x47\x76\x67\x48\x4c\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x47\x71\x4b\x4c\x6d\x74\x66\x6d\x47\x44\x77\x35\x30\x41\x77\x57\x47\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x77\x76\x4b\x69\x6f\x6b\x61\x4c\x63\x62\x4a\x79\x77\x58\x53\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x46\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x73\x62\x33\x41\x67\x76\x55\x69\x68\x72\x4f\x7a\x73\x62\x33\x42\x33\x6a\x52\x69\x67\x4c\x5a\x69\x67\x72\x56\x42\x4d\x75\x55','\x7a\x78\x48\x4c\x79\x57','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\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','\x44\x68\x4c\x57\x7a\x78\x6e\x4a\x43\x4d\x4c\x57\x44\x61','\x76\x4b\x66\x68\x7a\x30\x34','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x6e\x64\x69\x58\x6d\x74\x65\x59\x44\x33\x6a\x41\x73\x67\x7a\x4a','\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','\x6d\x5a\x47\x34\x6f\x74\x72\x70\x44\x65\x54\x7a\x43\x30\x65','\x6d\x74\x61\x57\x6f\x67\x31\x63\x72\x4e\x44\x6e\x76\x47','\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','\x42\x77\x66\x52\x7a\x75\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x43\x4d\x76\x48\x7a\x61','\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x43\x32\x76\x48\x43\x4d\x6e\x4f','\x6c\x49\x34\x56\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x32\x39\x55','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x4e\x71\x47\x42\x4d\x66\x54\x7a\x73\x61\x4f\x7a\x73\x35\x4e\x6c\x49\x61\x4e\x44\x77\x35\x50\x44\x4d\x76\x59\x43\x32\x66\x53\x6a\x59\x62\x4d\x42\x33\x69\x47\x42\x78\x76\x53\x44\x67\x4b\x54\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75\x47\x74\x4d\x39\x4b\x7a\x73\x39\x71\x45\x78\x72\x4f\x42\x32\x34\x50\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x69\x63\x44\x31\x42\x4d\x4c\x32\x7a\x78\x6a\x5a\x79\x77\x57\x4e\x6c\x47','\x71\x4b\x48\x65\x41\x4c\x4b','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x61','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x7a\x67\x4c\x5a\x43\x67\x58\x48\x45\x73\x62\x55\x79\x77\x31\x4c\x69\x67\x7a\x56\x43\x49\x62\x30\x41\x67\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x34','\x7a\x4e\x6a\x56\x42\x71','\x77\x75\x7a\x62\x75\x76\x79','\x75\x65\x50\x5a\x44\x31\x61','\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\x4a\x41\x67\x4c\x55\x7a\x78\x6d','\x6d\x74\x47\x33\x6e\x74\x6d\x5a\x6d\x67\x48\x55\x73\x4b\x76\x4f\x7a\x61','\x43\x33\x72\x59\x41\x77\x35\x4e','\x72\x33\x66\x72\x73\x76\x43','\x77\x4d\x7a\x36\x73\x68\x79','\x79\x33\x44\x4b','\x42\x77\x66\x34\x78\x33\x6a\x4c\x43\x33\x76\x53\x44\x68\x6d','\x43\x68\x76\x5a\x41\x61','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x53\x41\x78\x6e\x30','\x79\x32\x39\x55\x42\x4d\x76\x4a\x44\x61','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x73\x32\x76\x59\x42\x4d\x76\x53\x69\x67\x58\x48\x42\x4d\x44\x31\x79\x77\x44\x4c\x6c\x47','\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x76\x46\x41\x77\x71','\x71\x4c\x50\x6e\x42\x65\x75','\x6d\x63\x34\x57\x6c\x4a\x61','\x44\x67\x39\x56\x42\x66\x39\x31\x43\x32\x75','\x6f\x77\x48\x35\x72\x4d\x31\x31\x45\x47','\x75\x68\x72\x77\x72\x4b\x75','\x43\x32\x76\x30','\x7a\x67\x76\x53\x7a\x78\x72\x4c','\x7a\x67\x66\x30\x79\x71','\x42\x4d\x66\x54\x7a\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x33\x43\x4d\x4c\x30\x7a\x71','\x42\x4e\x76\x31\x43\x68\x75','\x41\x77\x31\x48\x7a\x32\x75','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x44\x77\x35\x46\x79\x32\x39\x4b\x7a\x71','\x7a\x4d\x58\x4c\x7a\x78\x72\x6a\x7a\x61','\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','\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','\x79\x78\x6a\x59\x79\x78\x4b','\x41\x78\x6e\x67\x42\x75\x79','\x45\x4e\x62\x65\x71\x76\x6d','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\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','\x43\x67\x66\x30\x44\x67\x76\x59\x42\x47','\x41\x4d\x76\x6f\x72\x4c\x4f','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x7a\x77\x66\x4b','\x44\x32\x66\x4b\x43\x32\x53','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65','\x79\x77\x58\x53\x42\x33\x43','\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c','\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\x4d\x66\x53\x44\x77\x76\x5a','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x74\x30\x50\x78\x72\x33\x4b','\x79\x78\x6a\x4e\x44\x77\x31\x4c\x42\x4e\x72\x5a','\x7a\x32\x76\x30','\x43\x67\x66\x59\x43\x32\x75','\x43\x67\x66\x30\x41\x61','\x42\x4c\x7a\x4c\x77\x66\x47','\x79\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x76\x46\x42\x32\x35\x46\x7a\x78\x6a\x59\x42\x33\x69','\x42\x4e\x6a\x36\x75\x77\x71','\x43\x32\x76\x30\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x43\x33\x72\x4b\x42\x33\x76\x30','\x44\x32\x39\x59\x41\x32\x76\x59\x43\x57','\x6e\x32\x48\x5a\x77\x75\x48\x4f\x77\x47','\x41\x77\x31\x48\x7a\x32\x75\x56\x43\x67\x35\x4e','\x43\x67\x35\x4e','\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','\x44\x77\x35\x50\x44\x4d\x76\x59\x43\x32\x66\x53','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4a\x43\x4d\x76\x48\x44\x67\x75','\x79\x33\x6a\x4c\x79\x78\x72\x4c','\x41\x77\x35\x57\x44\x78\x71','\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','\x43\x32\x39\x31\x43\x4d\x6e\x4c','\x79\x32\x58\x56\x43\x32\x75','\x75\x4d\x76\x4e\x7a\x78\x47\x47\x43\x67\x66\x30\x44\x67\x76\x59\x42\x49\x34','\x44\x67\x39\x56\x42\x66\x39\x4a\x79\x77\x58\x53\x43\x57','\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x63\x34\x47\x71\x33\x6a\x4c\x79\x78\x72\x4c\x69\x67\x4c\x30\x69\x67\x7a\x50\x43\x4e\x6e\x30\x69\x68\x44\x50\x44\x67\x47\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4a\x43\x4d\x76\x48\x44\x67\x75\x55','\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','\x45\x4e\x7a\x50\x77\x4c\x4f','\x44\x67\x76\x34\x44\x61','\x43\x65\x76\x6a\x71\x4e\x43','\x76\x33\x6a\x50\x44\x67\x75\x47\x79\x73\x62\x4d\x41\x77\x58\x4c\x69\x67\x4c\x55\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x6c\x49\x62\x64\x43\x4d\x76\x48\x44\x67\x76\x5a\x69\x68\x62\x48\x43\x4d\x76\x55\x44\x63\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4d\x4c\x4c\x43\x59\x62\x48\x43\x59\x62\x55\x7a\x77\x76\x4b\x7a\x77\x71\x55\x69\x65\x39\x32\x7a\x78\x6a\x33\x43\x4d\x4c\x30\x7a\x78\x6d\x47\x7a\x78\x48\x50\x43\x33\x72\x50\x42\x4d\x43\x47\x7a\x4d\x4c\x53\x7a\x78\x6d\x55','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x79\x30\x50\x31\x7a\x77\x4b','\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\x4d\x39\x56\x42\x67\x76\x48\x42\x47','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x53\x41\x77\x7a\x4c\x79\x33\x4c\x4a\x42\x67\x75\x47\x44\x67\x39\x56\x42\x64\x4f\x47'];a0_0x5048=function(){return _0x21f784;};return a0_0x5048();}async function mastraFleetTools(_0x555e9c,_0x155d3f={}){const _0x306295=a0_0xdae746,_0x3f873a={'\x56\x45\x62\x50\x7a':function(_0x107ce5,_0x492372){return _0x107ce5(_0x492372);},'\x56\x56\x74\x67\x72':_0x306295(0xf2),'\x75\x51\x72\x53\x5a':function(_0x366e75,_0x4a0825){return _0x366e75(_0x4a0825);}};let _0x5b9656;try{_0x5b9656=await import('\x40\x6d\x61\x73\x74\x72\x61\x2f\x63\x6f\x72\x65');}catch{throw new Error(_0x3f873a['\x56\x56\x74\x67\x72']);}const _0x431763=_0x3f873a['\x75\x51\x72\x53\x5a'](selectFleetSpecs,_0x155d3f['\x61\x6c\x6c\x6f\x77']),_0x43d360=buildFleetHandlers(_0x431763,{'\x63\x6c\x69\x65\x6e\x74':_0x555e9c}),_0x52bc57={};for(const _0x421e0a of _0x431763)_0x52bc57[_0x421e0a['\x6e\x61\x6d\x65']]=_0x5b9656[_0x306295(0x13d)]({'\x69\x64':_0x421e0a['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x421e0a[_0x306295(0x126)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x5b9656[_0x306295(0xb3)]?_0x5b9656[_0x306295(0xb3)](_0x421e0a[_0x306295(0x157)]):_0x421e0a[_0x306295(0x157)],'\x65\x78\x65\x63\x75\x74\x65':async _0x6cca3f=>{const _0x52fd7b=_0x306295,_0x5ee448=_0x43d360['\x67\x65\x74'](_0x421e0a[_0x52fd7b(0xeb)]);if(!_0x5ee448)throw new Error(_0x52fd7b(0xa7)+_0x421e0a[_0x52fd7b(0xeb)]);return{'\x72\x65\x73\x75\x6c\x74':serializeToolResult(await _0x3f873a['\x56\x45\x62\x50\x7a'](_0x5ee448,_0x6cca3f?.['\x63\x6f\x6e\x74\x65\x78\x74']??{}))};}});return _0x52bc57;}function buildFleetHandlers(_0x755914,_0x4138fc){const _0x3e4d2a=a0_0xdae746,_0x2d818b=new Map();for(const _0xf09572 of _0x755914)_0x2d818b[_0x3e4d2a(0xe8)](_0xf09572[_0x3e4d2a(0xeb)],_0xf09572[_0x3e4d2a(0xc7)](_0x4138fc));return _0x2d818b;}const LIFECYCLE_TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65':{'\x6e\x61\x6d\x65':a0_0xdae746(0x113),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xbb),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x65\x6e\x76\x69\x72\x6f\x6e\x6d\x65\x6e\x74':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xcc)},'\x6e\x61\x6d\x65':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0xd0)}},'\x72\x65\x71\x75\x69\x72\x65\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:_0x239c0c})=>async _0x56d246=>{const _0x4cf7b3=a0_0xdae746,_0x20f0d9=await _0x239c0c[_0x4cf7b3(0x114)]({'\x65\x6e\x76\x69\x72\x6f\x6e\x6d\x65\x6e\x74':_0x56d246[_0x4cf7b3(0xae)]??_0x4cf7b3(0x112),'\x6e\x61\x6d\x65':_0x56d246[_0x4cf7b3(0xeb)]});return{'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x20f0d9['\x69\x64'],'\x73\x74\x61\x74\x75\x73':_0x20f0d9['\x73\x74\x61\x74\x75\x73']};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x6e\x61\x6d\x65':a0_0xdae746(0xb6),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x45\x78\x65\x63\x75\x74\x65\x20\x61\x20\x73\x68\x65\x6c\x6c\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x20\x69\x6e\x20\x61\x20\x70\x72\x65\x76\x69\x6f\x75\x73\x6c\x79\x20\x63\x72\x65\x61\x74\x65\x64\x20\x73\x61\x6e\x64\x62\x6f\x78\x20\x61\x6e\x64\x20\x72\x65\x74\x75\x72\x6e\x20\x7b\x73\x74\x64\x6f\x75\x74\x2c\x20\x73\x74\x64\x65\x72\x72\x2c\x20\x65\x78\x69\x74\x43\x6f\x64\x65\x7d\x2e\x20\x54\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x20\x6d\x75\x73\x74\x20\x65\x78\x69\x73\x74\x20\u2014\x20\x63\x72\x65\x61\x74\x65\x20\x69\x74\x20\x66\x69\x72\x73\x74\x20\x77\x69\x74\x68\x20\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0xdae746(0xf6),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x49\x64\x20\x72\x65\x74\x75\x72\x6e\x65\x64\x20\x62\x79\x20\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65\x2e'},'\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':a0_0xdae746(0x116)},'\x63\x77\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4f\x70\x74\x69\x6f\x6e\x61\x6c\x20\x77\x6f\x72\x6b\x69\x6e\x67\x20\x64\x69\x72\x65\x63\x74\x6f\x72\x79\x20\x66\x6f\x72\x20\x74\x68\x65\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x2e'},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0xdae746(0x14c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x54\x69\x6d\x65\x6f\x75\x74\x20\x69\x6e\x20\x6d\x69\x6c\x6c\x69\x73\x65\x63\x6f\x6e\x64\x73\x2e\x20\x44\x65\x66\x61\x75\x6c\x74\x20\x36\x30\x30\x30\x30\x2e'}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x73\x61\x6e\x64\x62\x6f\x78\x5f\x69\x64',a0_0xdae746(0x14e)],'\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:_0x55d1e9})=>async _0x1db177=>{const _0x5c7788=a0_0xdae746,_0x5b67aa=await _0x55d1e9[_0x5c7788(0x105)](_0x1db177[_0x5c7788(0x12f)]);if(!_0x5b67aa)throw new Error(_0x5c7788(0xce)+_0x1db177['\x73\x61\x6e\x64\x62\x6f\x78\x5f\x69\x64']+_0x5c7788(0x11b));const _0x26ddbf=await _0x5b67aa[_0x5c7788(0xbc)](_0x1db177[_0x5c7788(0x14e)],{'\x63\x77\x64':_0x1db177[_0x5c7788(0xda)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x1db177[_0x5c7788(0x138)]??0xea60});return{'\x73\x74\x64\x6f\x75\x74':_0x26ddbf[_0x5c7788(0x10c)],'\x73\x74\x64\x65\x72\x72':_0x26ddbf['\x73\x74\x64\x65\x72\x72'],'\x65\x78\x69\x74\x43\x6f\x64\x65':_0x26ddbf[_0x5c7788(0xb0)]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x64\x65\x73\x74\x72\x6f\x79':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x64\x65\x73\x74\x72\x6f\x79','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x44\x65\x6c\x65\x74\x65\x20\x61\x20\x73\x61\x6e\x64\x62\x6f\x78\x20\x63\x72\x65\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65\x2e\x20\x53\x74\x6f\x70\x73\x20\x62\x69\x6c\x6c\x69\x6e\x67\x20\x69\x6d\x6d\x65\x64\x69\x61\x74\x65\x6c\x79\x2e\x20\x43\x61\x6c\x6c\x20\x74\x68\x69\x73\x20\x6f\x6e\x63\x65\x20\x74\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x65\x64\x20\x77\x6f\x72\x6b\x20\x69\x73\x20\x66\x69\x6e\x69\x73\x68\x65\x64\x3b\x20\x6f\x72\x70\x68\x61\x6e\x65\x64\x20\x73\x61\x6e\x64\x62\x6f\x78\x65\x73\x20\x6b\x65\x65\x70\x20\x61\x63\x63\x72\x75\x69\x6e\x67\x20\x63\x6f\x73\x74\x2e','\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':{'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0xdae746(0xd7),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xdae746(0x137)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0xdae746(0x12f)],'\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:_0x4412b7})=>async _0x4aefee=>{const _0x5c27a0=a0_0xdae746,_0x553713=await _0x4412b7[_0x5c27a0(0x105)](_0x4aefee[_0x5c27a0(0x12f)]);if(!_0x553713)return{'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x4aefee['\x73\x61\x6e\x64\x62\x6f\x78\x5f\x69\x64'],'\x64\x65\x6c\x65\x74\x65\x64':!![]};return await _0x553713['\x64\x65\x6c\x65\x74\x65'](),{'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x4aefee[_0x5c27a0(0x12f)],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_LIFECYCLE_TOOL_SPECS=Object[a0_0xdae746(0x101)](LIFECYCLE_TOOL_SPECS);function selectLifecycleSpecs(_0x20ef5a){const _0x3c3fba=a0_0xdae746;if(!_0x20ef5a||_0x20ef5a['\x6c\x65\x6e\x67\x74\x68']===0x0)return ALL_LIFECYCLE_TOOL_SPECS;const _0x5cc335=new Set(_0x20ef5a);return Object[_0x3c3fba(0xba)](LIFECYCLE_TOOL_SPECS)[_0x3c3fba(0xc1)](_0x56ae9b=>_0x5cc335['\x68\x61\x73'](_0x56ae9b))[_0x3c3fba(0x159)](_0x59ea7e=>LIFECYCLE_TOOL_SPECS[_0x59ea7e]);}function anthropicLifecycleTools(_0x6f54c1,_0x373f2b={}){const _0x5e23b7=a0_0xdae746,_0x516c40={'\x69\x73\x46\x6d\x46':_0x5e23b7(0xb2),'\x6f\x58\x4b\x70\x6f':function(_0x11f207,_0xb76704){return _0x11f207(_0xb76704);},'\x4e\x46\x65\x48\x70':function(_0x547279,_0x281f3d){return _0x547279(_0x281f3d);},'\x5a\x66\x7a\x48\x76':function(_0x23ee58,_0x43a320){return _0x23ee58 instanceof _0x43a320;}},_0x293bc6=selectLifecycleSpecs(_0x373f2b[_0x5e23b7(0xfe)]),_0x3ea2e3=buildLifecycleHandlers(_0x293bc6,{'\x63\x6c\x69\x65\x6e\x74':_0x6f54c1});return{'\x74\x6f\x6f\x6c\x73':_0x293bc6[_0x5e23b7(0x159)](_0x3a1c69=>({'\x6e\x61\x6d\x65':_0x3a1c69[_0x5e23b7(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x3a1c69[_0x5e23b7(0x126)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x3a1c69[_0x5e23b7(0x157)]})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x12cc01){const _0x369109=_0x5e23b7,_0x37b132=_0x3ea2e3['\x67\x65\x74'](_0x12cc01[_0x369109(0xeb)]);if(!_0x37b132)return{'\x74\x79\x70\x65':_0x516c40[_0x369109(0xf4)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x12cc01['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x369109(0x125)+_0x12cc01[_0x369109(0xeb)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x5c3ffd=await _0x516c40['\x6f\x58\x4b\x70\x6f'](_0x37b132,_0x12cc01[_0x369109(0x115)]);return{'\x74\x79\x70\x65':_0x516c40[_0x369109(0xf4)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x12cc01['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x516c40[_0x369109(0x143)](serializeToolResult,_0x5c3ffd)};}catch(_0x7f1bdc){return{'\x74\x79\x70\x65':_0x369109(0xb2),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x12cc01['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x516c40[_0x369109(0xd9)](_0x7f1bdc,Error)?_0x7f1bdc['\x6d\x65\x73\x73\x61\x67\x65']:_0x516c40['\x4e\x46\x65\x48\x70'](String,_0x7f1bdc),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiLifecycleTools(_0x42b861,_0x38775a={}){const _0x4105d5=a0_0xdae746,_0x337672={'\x70\x41\x44\x76\x64':function(_0x1dd528,_0x675d13){return _0x1dd528===_0x675d13;},'\x7a\x76\x69\x5a\x5a':_0x4105d5(0x12b),'\x51\x49\x4e\x4a\x51':function(_0x183791,_0x542b20){return _0x183791(_0x542b20);}},_0x413e59=selectLifecycleSpecs(_0x38775a[_0x4105d5(0xfe)]),_0x3c2ab6=buildLifecycleHandlers(_0x413e59,{'\x63\x6c\x69\x65\x6e\x74':_0x42b861});return{'\x74\x6f\x6f\x6c\x73':_0x413e59[_0x4105d5(0x159)](_0x251b40=>({'\x74\x79\x70\x65':'\x66\x75\x6e\x63\x74\x69\x6f\x6e','\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x251b40[_0x4105d5(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x251b40[_0x4105d5(0x126)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x251b40[_0x4105d5(0x157)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x4eb9c2){const _0x1e8d64=_0x4105d5,_0x5e1829=_0x3c2ab6[_0x1e8d64(0x105)](_0x4eb9c2[_0x1e8d64(0x158)][_0x1e8d64(0xeb)]);if(!_0x5e1829)return{'\x72\x6f\x6c\x65':_0x1e8d64(0x12b),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x4eb9c2['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x1e8d64(0xe0)]({'\x65\x72\x72\x6f\x72':_0x1e8d64(0x125)+_0x4eb9c2[_0x1e8d64(0x158)][_0x1e8d64(0xeb)]})};let _0x2d4b2f={};try{const _0x43039f=JSON[_0x1e8d64(0x106)](_0x4eb9c2['\x66\x75\x6e\x63\x74\x69\x6f\x6e']['\x61\x72\x67\x75\x6d\x65\x6e\x74\x73']||'\x7b\x7d');if(_0x43039f&&_0x337672['\x70\x41\x44\x76\x64'](typeof _0x43039f,_0x1e8d64(0xf6)))_0x2d4b2f=_0x43039f;}catch{}try{const _0x1546a4=await _0x5e1829(_0x2d4b2f);return{'\x72\x6f\x6c\x65':_0x1e8d64(0x12b),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x4eb9c2['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x1546a4)};}catch(_0x246f2e){return{'\x72\x6f\x6c\x65':_0x337672[_0x1e8d64(0x11d)],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x4eb9c2['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x1e8d64(0xe0)]({'\x65\x72\x72\x6f\x72':_0x246f2e instanceof Error?_0x246f2e['\x6d\x65\x73\x73\x61\x67\x65']:_0x337672[_0x1e8d64(0x13b)](String,_0x246f2e)})};}}};}function buildLifecycleHandlers(_0x36e631,_0x57bf8c){const _0x2675f2=a0_0xdae746,_0x258d06=new Map();for(const _0x5ef35a of _0x36e631)_0x258d06[_0x2675f2(0xe8)](_0x5ef35a[_0x2675f2(0xeb)],_0x5ef35a['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x57bf8c));return _0x258d06;}async function mastraTools(_0x29278b,_0x46e700={}){const _0x4bf2d1=a0_0xdae746,_0x1f6ebb={'\x50\x74\x56\x46\x45':_0x4bf2d1(0xff)};let _0x556510;try{_0x556510=await import(_0x1f6ebb[_0x4bf2d1(0xe7)]);}catch{throw new Error(_0x4bf2d1(0x150));}const _0x5a1ac8=selectSpecs(_0x46e700['\x61\x6c\x6c\x6f\x77']),_0x3e5597={'\x62\x6f\x78':_0x29278b,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x46e700[_0x4bf2d1(0x102)]},_0x5adf66={};for(const _0x2a1331 of _0x5a1ac8){const _0x3c876c=_0x2a1331[_0x4bf2d1(0xc7)](_0x3e5597);_0x5adf66[_0x2a1331[_0x4bf2d1(0xeb)]]=_0x556510[_0x4bf2d1(0x13d)]({'\x69\x64':_0x2a1331[_0x4bf2d1(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x2a1331['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x556510[_0x4bf2d1(0xb3)]?_0x556510[_0x4bf2d1(0xb3)](_0x2a1331[_0x4bf2d1(0x157)]):_0x2a1331['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61'],'\x65\x78\x65\x63\x75\x74\x65':async _0x193db0=>{const _0x4eab58=_0x4bf2d1;return{'\x72\x65\x73\x75\x6c\x74':serializeToolResult(await _0x3c876c(_0x193db0?.[_0x4eab58(0x129)]??{}))};}});}return _0x5adf66;}function openaiTools(_0x32a7ad,_0x14fc7c={}){const _0x2cf668=a0_0xdae746,_0x30480e={'\x47\x71\x51\x49\x57':function(_0xa469af,_0x2755d6){return _0xa469af===_0x2755d6;},'\x6e\x56\x65\x58\x58':function(_0x1f662b,_0x2ff193){return _0x1f662b(_0x2ff193);}},_0x3f7c80=_0x30480e[_0x2cf668(0x108)](selectSpecs,_0x14fc7c[_0x2cf668(0xfe)]),_0x3227c3={'\x62\x6f\x78':_0x32a7ad,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x14fc7c[_0x2cf668(0x102)]},_0x1269fb=new Map();for(const _0x161a87 of _0x3f7c80)_0x1269fb['\x73\x65\x74'](_0x161a87[_0x2cf668(0xeb)],_0x161a87[_0x2cf668(0xc7)](_0x3227c3));const _0x3899b0=_0x3f7c80[_0x2cf668(0x159)](_0x423d4a=>({'\x74\x79\x70\x65':_0x2cf668(0x158),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x423d4a[_0x2cf668(0xeb)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x423d4a[_0x2cf668(0x126)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x423d4a[_0x2cf668(0x157)]}}));function _0x20b0b4(_0x48787c){const _0x6329fb=_0x2cf668;if(!_0x48787c)return{};try{const _0x5ab318=JSON[_0x6329fb(0x106)](_0x48787c);return _0x30480e[_0x6329fb(0xd8)](typeof _0x5ab318,_0x6329fb(0xf6))&&_0x5ab318!==null?_0x5ab318:{};}catch{return{};}}async function _0x507bb5(_0x24828e){const _0x4b6281=_0x2cf668,_0x4941f2=_0x1269fb[_0x4b6281(0x105)](_0x24828e[_0x4b6281(0x158)][_0x4b6281(0xeb)]);if(!_0x4941f2)return{'\x72\x6f\x6c\x65':_0x4b6281(0x12b),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x24828e['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x4b6281(0xe0)]({'\x65\x72\x72\x6f\x72':_0x4b6281(0x14a)+_0x24828e[_0x4b6281(0x158)][_0x4b6281(0xeb)]})};try{const _0x32ce39=await _0x4941f2(_0x30480e[_0x4b6281(0x108)](_0x20b0b4,_0x24828e['\x66\x75\x6e\x63\x74\x69\x6f\x6e'][_0x4b6281(0x104)]));return{'\x72\x6f\x6c\x65':'\x74\x6f\x6f\x6c','\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x24828e['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x32ce39)};}catch(_0x141399){return{'\x72\x6f\x6c\x65':_0x4b6281(0x12b),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x24828e['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x65\x72\x72\x6f\x72':_0x141399 instanceof Error?_0x141399[_0x4b6281(0xdd)]:String(_0x141399)})};}}async function _0xd804ea(_0x388449){const _0x594d21=_0x2cf668,_0x2959db=_0x388449[_0x594d21(0x11a)]??[];return Promise['\x61\x6c\x6c'](_0x2959db[_0x594d21(0x159)](_0x507bb5));}return{'\x74\x6f\x6f\x6c\x73':_0x3899b0,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c':_0x507bb5,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0xd804ea};}async function vercelAiTools(_0x18bf91,_0x1b9e51={}){const _0x4fd221=a0_0xdae746,_0x126968={'\x63\x4a\x75\x65\x69':function(_0x54143c,_0x3d8020){return _0x54143c(_0x3d8020);}};let _0x466be8;try{_0x466be8=await import('\x61\x69');}catch{throw new Error(_0x4fd221(0x100));}const _0xc543bf=_0x126968[_0x4fd221(0x122)](selectSpecs,_0x1b9e51['\x61\x6c\x6c\x6f\x77']),_0x2c5895={'\x62\x6f\x78':_0x18bf91,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1b9e51['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64']},_0x4c71b0={};for(const _0x8b3f5d of _0xc543bf){const _0x91f176=_0x8b3f5d['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x2c5895);_0x4c71b0[_0x8b3f5d[_0x4fd221(0xeb)]]=_0x466be8['\x74\x6f\x6f\x6c']({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x8b3f5d['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x466be8[_0x4fd221(0xb3)](_0x8b3f5d[_0x4fd221(0x157)]),'\x65\x78\x65\x63\x75\x74\x65':async _0xad6103=>{return serializeToolResult(await _0x91f176(_0xad6103));}});}return _0x4c71b0;}export{ALL_FLEET_TOOL_SPECS,ALL_LIFECYCLE_TOOL_SPECS,ALL_TOOL_SPECS,FLEET_TOOL_SPECS,LIFECYCLE_TOOL_SPECS,TOOL_SPECS,anthropicFleetTools,anthropicLifecycleTools,anthropicTools,createMcpServer,mastraFleetTools,mastraTools,openaiFleetTools,openaiLifecycleTools,openaiTools,runCode,vercelAiFleetTools,vercelAiTools};
|
|
1
|
+
const a0_0x4771af=a0_0x29ce;(function(_0x54a3d3,_0x22daa2){const _0x391ce5=a0_0x29ce,_0xc68b0e=_0x54a3d3();while(!![]){try{const _0x264584=-parseInt(_0x391ce5(0x132))/0x1+parseInt(_0x391ce5(0x194))/0x2*(-parseInt(_0x391ce5(0x1ba))/0x3)+-parseInt(_0x391ce5(0x1be))/0x4*(parseInt(_0x391ce5(0x155))/0x5)+parseInt(_0x391ce5(0x146))/0x6+parseInt(_0x391ce5(0x159))/0x7*(-parseInt(_0x391ce5(0x186))/0x8)+parseInt(_0x391ce5(0x143))/0x9+parseInt(_0x391ce5(0x15b))/0xa*(parseInt(_0x391ce5(0x1b4))/0xb);if(_0x264584===_0x22daa2)break;else _0xc68b0e['push'](_0xc68b0e['shift']());}catch(_0x252b60){_0xc68b0e['push'](_0xc68b0e['shift']());}}}(a0_0x3ca0,0x34076));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':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x64\x65','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x190),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x6c\x61\x6e\x67\x75\x61\x67\x65':{'\x74\x79\x70\x65':a0_0x4771af(0x122),'\x65\x6e\x75\x6d':['\x70\x79\x74\x68\x6f\x6e',a0_0x4771af(0x145),a0_0x4771af(0x14e),a0_0x4771af(0x1b1)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x1c4)},'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':a0_0x4771af(0x122),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x1c2)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x4771af(0x1ac),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x1b7)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x156),'\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:_0x5c761b,sessionId:_0xaf8713})=>async _0x1bc28e=>{const _0x5c1682=a0_0x4771af;return await _0x5c761b[_0x5c1682(0x13b)](_0x1bc28e[_0x5c1682(0x156)],_0x1bc28e['\x73\x6f\x75\x72\x63\x65'],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0xaf8713,'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x1bc28e[_0x5c1682(0x19c)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63':{'\x6e\x61\x6d\x65':a0_0x4771af(0x1bd),'\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\x28\x6e\x6f\x20\x70\x65\x72\x73\x69\x73\x74\x65\x6e\x74\x20\x73\x74\x61\x74\x65\x29\x20\x69\x6e\x20\x74\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x2e\x20\x55\x73\x65\x20\x66\x6f\x72\x20\x6f\x6e\x65\x2d\x73\x68\x6f\x74\x20\x74\x61\x73\x6b\x73\x20\x6c\x69\x6b\x65\x20\x27\x70\x6e\x70\x6d\x20\x69\x6e\x73\x74\x61\x6c\x6c\x27\x20\x6f\x72\x20\x27\x6c\x73\x27\x2e\x20\x46\x6f\x72\x20\x63\x6f\x64\x65\x20\x74\x68\x61\x74\x20\x73\x68\x6f\x75\x6c\x64\x20\x73\x68\x61\x72\x65\x20\x73\x74\x61\x74\x65\x20\x61\x63\x72\x6f\x73\x73\x20\x63\x61\x6c\x6c\x73\x2c\x20\x70\x72\x65\x66\x65\x72\x20\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x64\x65\x20\x77\x69\x74\x68\x20\x61\x20\x73\x65\x73\x73\x69\x6f\x6e\x49\x64\x2e','\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':{'\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':a0_0x4771af(0x120)},'\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_0x4771af(0x1bc)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x4771af(0x1ac),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x1b3)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x15e)],'\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:_0x1f1cc7,sessionId:_0xda7381})=>async _0x137a2f=>{const _0x21950c=a0_0x4771af;return await _0x1f1cc7[_0x21950c(0x1c3)](_0x137a2f[_0x21950c(0x15e)],{'\x63\x77\x64':_0x137a2f[_0x21950c(0x114)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x137a2f[_0x21950c(0x19c)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0xda7381});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x65\x61\x64':{'\x6e\x61\x6d\x65':a0_0x4771af(0x18e),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x1ab),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x1b5)],'\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:_0x1e64b9,sessionId:_0x52d4b5})=>async _0x53afb0=>{const _0x409fbb=a0_0x4771af;return{'\x63\x6f\x6e\x74\x65\x6e\x74':await _0x1e64b9[_0x409fbb(0x19b)](_0x53afb0['\x70\x61\x74\x68'],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x52d4b5})};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x77\x72\x69\x74\x65':{'\x6e\x61\x6d\x65':a0_0x4771af(0x14d),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x135),'\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_0x4771af(0x122)},'\x63\x6f\x6e\x74\x65\x6e\x74':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x161)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x1b5),a0_0x4771af(0x19e)],'\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:_0x4bfefc})=>async _0x258485=>{const _0x3a174c=a0_0x4771af;return await _0x4bfefc[_0x3a174c(0x11b)](_0x258485[_0x3a174c(0x1b5)],_0x258485[_0x3a174c(0x19e)]),{'\x6f\x6b':!![]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x6c\x69\x73\x74':{'\x6e\x61\x6d\x65':a0_0x4771af(0x117),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x115),'\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_0x4771af(0x122)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x70\x61\x74\x68'],'\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:_0x38c3b5})=>async _0x5256bc=>{const _0x2da0b7=a0_0x4771af;return{'\x65\x6e\x74\x72\x69\x65\x73':await _0x38c3b5['\x66\x73'][_0x2da0b7(0x18f)](_0x5256bc[_0x2da0b7(0x1b5)])};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x1a2),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x74\x65\x72\x6e':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x139)},'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x4771af(0x122),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x12b)},'\x6d\x61\x78\x5f\x72\x65\x73\x75\x6c\x74\x73':{'\x74\x79\x70\x65':a0_0x4771af(0x1ac),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x14a)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x70\x61\x74\x74\x65\x72\x6e'],'\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:_0x1cbafb})=>async _0x5da1e0=>{const _0x93b81e=a0_0x4771af,_0x47441d={'\x4b\x64\x41\x44\x45':function(_0x4ce55d,_0x5aba6d){return _0x4ce55d>=_0x5aba6d;}},_0x4b5f98=[],_0x360091=_0x5da1e0[_0x93b81e(0x17c)]??0x64;for await(const _0x5632c6 of _0x1cbafb[_0x93b81e(0x126)](_0x5da1e0[_0x93b81e(0x11c)],{'\x63\x77\x64':_0x5da1e0[_0x93b81e(0x1b5)],'\x6d\x61\x78\x52\x65\x73\x75\x6c\x74\x73':_0x360091})){_0x4b5f98[_0x93b81e(0x172)](_0x5632c6);if(_0x47441d[_0x93b81e(0x176)](_0x4b5f98['\x6c\x65\x6e\x67\x74\x68'],_0x360091))break;}return{'\x6d\x61\x74\x63\x68\x65\x73':_0x4b5f98};}}},ALL_TOOL_SPECS=Object[a0_0x4771af(0x18c)](TOOL_SPECS);function selectSpecs(_0x1f9b6e){const _0x4a1ca5=a0_0x4771af;if(!_0x1f9b6e||_0x1f9b6e[_0x4a1ca5(0x125)]===0x0)return ALL_TOOL_SPECS;const _0x2eb49e=new Set(_0x1f9b6e);return Object[_0x4a1ca5(0x16b)](TOOL_SPECS)[_0x4a1ca5(0x12e)](_0x509f7b=>_0x2eb49e[_0x4a1ca5(0x199)](_0x509f7b))[_0x4a1ca5(0x182)](_0x12510d=>TOOL_SPECS[_0x12510d]);}function serializeToolResult(_0x3c9c51){const _0x253686=a0_0x4771af,_0x22e8df={'\x59\x50\x76\x46\x48':function(_0x36ae4f,_0x24cb57){return _0x36ae4f(_0x24cb57);}};if(typeof _0x3c9c51==='\x73\x74\x72\x69\x6e\x67')return _0x3c9c51;try{return JSON[_0x253686(0x171)](_0x3c9c51,null,0x2);}catch{return _0x22e8df[_0x253686(0x188)](String,_0x3c9c51);}}const SDK_VERSION=((()=>{const _0x4972e0=a0_0x4771af,_0xf75b0a={'\x57\x54\x57\x43\x79':_0x4972e0(0x193)};try{return createRequire(import.meta.url)(_0x4972e0(0x1a0))[_0x4972e0(0x1bb)]??_0x4972e0(0x193);}catch{return _0xf75b0a[_0x4972e0(0x1c1)];}})());async function createMcpServer(_0x277940,_0xf6c22={}){const _0x830797=a0_0x4771af,_0x5c74d2={'\x55\x47\x4f\x56\x79':_0x830797(0x128),'\x49\x4b\x47\x78\x42':function(_0x39339b,_0x5a39ca){return _0x39339b(_0x5a39ca);},'\x68\x66\x68\x78\x64':'\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','\x56\x58\x68\x46\x47':'\x63\x72\x65\x61\x74\x65\x4d\x63\x70\x53\x65\x72\x76\x65\x72\x28\x29\x3a\x20\x74\x68\x65\x20\x60\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\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\x6f\x64\x65\x6c\x63\x6f\x6e\x74\x65\x78\x74\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x2f\x73\x64\x6b\x60\x2e','\x67\x52\x76\x6b\x49':function(_0x3291f7,_0x42b26c){return _0x3291f7(_0x42b26c);},'\x4d\x7a\x67\x44\x52':_0x830797(0x11a)};let _0x5a835f,_0x263d2a;try{[_0x5a835f,_0x263d2a]=await Promise[_0x830797(0x18d)]([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\x73\x65\x72\x76\x65\x72\x2f\x69\x6e\x64\x65\x78\x2e\x6a\x73'),import(_0x5c74d2[_0x830797(0x11e)])]);}catch{throw new Error(_0x5c74d2['\x56\x58\x68\x46\x47']);}const _0x404908=_0x5c74d2[_0x830797(0x142)](selectSpecs,_0xf6c22[_0x830797(0x196)]),_0x21dcdf={'\x62\x6f\x78':_0x277940,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0xf6c22[_0x830797(0x1bf)]},_0x4796d0=new Map();for(const _0x553d40 of _0x404908)_0x4796d0['\x73\x65\x74'](_0x553d40[_0x830797(0x1aa)],_0x553d40[_0x830797(0x130)](_0x21dcdf));const _0x3bae6a=new _0x5a835f['\x53\x65\x72\x76\x65\x72']({'\x6e\x61\x6d\x65':_0xf6c22[_0x830797(0x1aa)]??_0x5c74d2['\x4d\x7a\x67\x44\x52'],'\x76\x65\x72\x73\x69\x6f\x6e':_0xf6c22['\x76\x65\x72\x73\x69\x6f\x6e']??SDK_VERSION},{'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x74\x6f\x6f\x6c\x73':{}}});return _0x3bae6a['\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x61\x6e\x64\x6c\x65\x72'](_0x263d2a[_0x830797(0x164)],async()=>({'\x74\x6f\x6f\x6c\x73':_0x404908[_0x830797(0x182)](_0x34f02f=>({'\x6e\x61\x6d\x65':_0x34f02f['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x34f02f[_0x830797(0x17e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x34f02f['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']}))})),_0x3bae6a[_0x830797(0x137)](_0x263d2a[_0x830797(0x1a4)],async _0x2d1ee9=>{const _0x1f90d6=_0x830797,_0x67e7d6=_0x2d1ee9,_0x5ec05c=_0x4796d0[_0x1f90d6(0x15f)](_0x67e7d6[_0x1f90d6(0x19f)]['\x6e\x61\x6d\x65']);if(!_0x5ec05c)return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x1f90d6(0x128),'\x74\x65\x78\x74':_0x1f90d6(0x140)+_0x67e7d6['\x70\x61\x72\x61\x6d\x73'][_0x1f90d6(0x1aa)]}]};try{return{'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x5c74d2['\x55\x47\x4f\x56\x79'],'\x74\x65\x78\x74':serializeToolResult(await _0x5c74d2['\x49\x4b\x47\x78\x42'](_0x5ec05c,_0x67e7d6[_0x1f90d6(0x19f)][_0x1f90d6(0x14c)]??{}))}]};}catch(_0x56840c){return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x1f90d6(0x128),'\x74\x65\x78\x74':_0x56840c instanceof Error?_0x56840c[_0x1f90d6(0x147)]:String(_0x56840c)}]};}}),{'\x73\x65\x72\x76\x65\x72':_0x3bae6a,'\x63\x6f\x6e\x6e\x65\x63\x74':_0x4e98b6=>_0x3bae6a[_0x830797(0x14b)](_0x4e98b6),'\x63\x6c\x6f\x73\x65':()=>_0x3bae6a[_0x830797(0x157)]()};}function runCode(_0x2e53a8,_0x5773bf,_0x3dd5d6,_0x4a6952){const _0x30f771=a0_0x4771af;return _0x2e53a8[_0x30f771(0x13b)](_0x5773bf,_0x3dd5d6,_0x4a6952);}function a0_0x29ce(_0x305fe2,_0x5cbd68){_0x305fe2=_0x305fe2-0x113;const _0x3ca0=a0_0x3ca0();let _0x29ce6b=_0x3ca0[_0x305fe2];if(a0_0x29ce['\x68\x4f\x63\x77\x56\x58']===undefined){var _0x2b086a=function(_0x23419c){const _0x3ae050='\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 _0x1fea27='',_0x1392ef='';for(let _0x390ee8=0x0,_0x5c6bc5,_0x2c61cd,_0x16f2f7=0x0;_0x2c61cd=_0x23419c['\x63\x68\x61\x72\x41\x74'](_0x16f2f7++);~_0x2c61cd&&(_0x5c6bc5=_0x390ee8%0x4?_0x5c6bc5*0x40+_0x2c61cd:_0x2c61cd,_0x390ee8++%0x4)?_0x1fea27+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x5c6bc5>>(-0x2*_0x390ee8&0x6)):0x0){_0x2c61cd=_0x3ae050['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2c61cd);}for(let _0x193947=0x0,_0x4cdeba=_0x1fea27['\x6c\x65\x6e\x67\x74\x68'];_0x193947<_0x4cdeba;_0x193947++){_0x1392ef+='\x25'+('\x30\x30'+_0x1fea27['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x193947)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1392ef);};a0_0x29ce['\x46\x62\x49\x6e\x50\x66']=_0x2b086a,a0_0x29ce['\x79\x79\x51\x62\x6f\x61']={},a0_0x29ce['\x68\x4f\x63\x77\x56\x58']=!![];}const _0x3d0b05=_0x3ca0[0x0],_0x470589=_0x305fe2+_0x3d0b05,_0x2a0764=a0_0x29ce['\x79\x79\x51\x62\x6f\x61'][_0x470589];return!_0x2a0764?(_0x29ce6b=a0_0x29ce['\x46\x62\x49\x6e\x50\x66'](_0x29ce6b),a0_0x29ce['\x79\x79\x51\x62\x6f\x61'][_0x470589]=_0x29ce6b):_0x29ce6b=_0x2a0764,_0x29ce6b;}function anthropicTools(_0x4916c9,_0xb49618={}){const _0x445217=a0_0x4771af,_0x666339={'\x77\x4f\x79\x61\x62':function(_0x20fcbd,_0x505f5e){return _0x20fcbd(_0x505f5e);},'\x45\x77\x78\x52\x59':'\x74\x6f\x6f\x6c\x5f\x72\x65\x73\x75\x6c\x74'},_0x4e826b=selectSpecs(_0xb49618[_0x445217(0x196)]),_0x249c64={'\x62\x6f\x78':_0x4916c9,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0xb49618['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64']},_0x1c92a2=new Map();for(const _0xc85542 of _0x4e826b)_0x1c92a2['\x73\x65\x74'](_0xc85542[_0x445217(0x1aa)],_0xc85542[_0x445217(0x130)](_0x249c64));const _0x1e0ec8=_0x4e826b['\x6d\x61\x70'](_0x370058=>({'\x6e\x61\x6d\x65':_0x370058['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x370058['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x370058['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']}));async function _0x4560b5(_0x434487){const _0x291ec7=_0x445217,_0xe15113=_0x1c92a2[_0x291ec7(0x15f)](_0x434487[_0x291ec7(0x1aa)]);if(!_0xe15113)return{'\x74\x79\x70\x65':_0x291ec7(0x136),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x434487['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x291ec7(0x140)+_0x434487[_0x291ec7(0x1aa)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x5aaadc=await _0x666339[_0x291ec7(0x1a9)](_0xe15113,_0x434487[_0x291ec7(0x1b6)]);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':_0x434487['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':toAnthropicContent(_0x5aaadc)};}catch(_0x18149e){return{'\x74\x79\x70\x65':_0x666339[_0x291ec7(0x1b8)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x434487['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x18149e instanceof Error?_0x18149e[_0x291ec7(0x147)]:String(_0x18149e),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}async function _0x433736(_0x16dec4){const _0x1e2ba3=_0x445217,_0x20d68b=_0x16dec4[_0x1e2ba3(0x12e)](_0x2c38ed=>typeof _0x2c38ed===_0x1e2ba3(0x153)&&_0x2c38ed!==null&&_0x2c38ed[_0x1e2ba3(0x17a)]===_0x1e2ba3(0x1b0));return Promise[_0x1e2ba3(0x18d)](_0x20d68b['\x6d\x61\x70'](_0x4560b5));}return{'\x74\x6f\x6f\x6c\x73':_0x1e0ec8,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65':_0x4560b5,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x433736};}function toAnthropicContent(_0x20ec3f){const _0x5d5489=a0_0x4771af,_0x2abcdf={'\x41\x47\x75\x56\x76':function(_0x16d6fa,_0xb709be){return _0x16d6fa(_0xb709be);},'\x78\x45\x68\x63\x65':function(_0x2ae384,_0x46d67e){return _0x2ae384(_0x46d67e);},'\x46\x51\x62\x4e\x6e':'\x62\x61\x73\x65\x36\x34'};if(!isCodeExecutionResultWithImages(_0x20ec3f))return _0x2abcdf[_0x5d5489(0x118)](serializeToolResult,_0x20ec3f);const _0xf773be=[],_0x1d7135={..._0x20ec3f,'\x72\x65\x73\x75\x6c\x74\x73':_0x20ec3f[_0x5d5489(0x151)]['\x66\x69\x6c\x74\x65\x72'](_0x66cabf=>_0x66cabf[_0x5d5489(0x17a)]!==_0x5d5489(0x127))};_0xf773be[_0x5d5489(0x172)]({'\x74\x79\x70\x65':'\x74\x65\x78\x74','\x74\x65\x78\x74':_0x2abcdf[_0x5d5489(0x162)](serializeToolResult,_0x1d7135)});for(const _0x25ce05 of _0x20ec3f[_0x5d5489(0x151)])if(isImagePart(_0x25ce05))_0xf773be['\x70\x75\x73\x68']({'\x74\x79\x70\x65':_0x5d5489(0x127),'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':_0x2abcdf['\x46\x51\x62\x4e\x6e'],'\x6d\x65\x64\x69\x61\x5f\x74\x79\x70\x65':imageMediaType(_0x25ce05[_0x5d5489(0x12a)]),'\x64\x61\x74\x61':_0x25ce05[_0x5d5489(0x15c)]}});return _0xf773be;}function isImagePart(_0x19fa80){const _0x43093c=a0_0x4771af,_0x822cd8={'\x59\x6b\x57\x70\x56':function(_0x3927cf,_0x30a652){return _0x3927cf===_0x30a652;},'\x73\x77\x4b\x49\x4f':_0x43093c(0x127)};return _0x822cd8[_0x43093c(0x195)](_0x19fa80[_0x43093c(0x17a)],_0x822cd8[_0x43093c(0x141)]);}function isCodeExecutionResultWithImages(_0x4b84e5){const _0x4d9b13=a0_0x4771af,_0x44607f={'\x43\x6d\x4b\x47\x64':_0x4d9b13(0x153)};if(!_0x4b84e5||typeof _0x4b84e5!==_0x44607f['\x43\x6d\x4b\x47\x64'])return![];const _0x1cac58=_0x4b84e5[_0x4d9b13(0x151)];if(!Array['\x69\x73\x41\x72\x72\x61\x79'](_0x1cac58))return![];return _0x1cac58[_0x4d9b13(0x19a)](_0x4ca310=>_0x4ca310&&typeof _0x4ca310==='\x6f\x62\x6a\x65\x63\x74'&&_0x4ca310[_0x4d9b13(0x17a)]==='\x69\x6d\x61\x67\x65');}function imageMediaType(_0x7a0583){const _0x8f0209=a0_0x4771af,_0x37cc17={'\x69\x70\x55\x76\x55':_0x8f0209(0x11d)};switch(_0x7a0583){case _0x8f0209(0x1a5):return _0x8f0209(0x11d);case _0x8f0209(0x18b):return _0x8f0209(0x11f);case _0x8f0209(0x174):return _0x37cc17[_0x8f0209(0x1a7)];}}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_0x4771af(0x15a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x17b),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\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_0x4771af(0x122),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x50\x75\x62\x6c\x69\x63\x20\x74\x65\x6d\x70\x6c\x61\x74\x65\x20\x73\x6c\x75\x67\x20\x6f\x72\x20\x69\x64\x20\x28\x65\x2e\x67\x2e\x20\x27\x70\x79\x74\x68\x6f\x6e\x2d\x64\x61\x74\x61\x2d\x73\x63\x69\x65\x6e\x63\x65\x27\x29\x2e'},'\x77\x6f\x72\x6b\x65\x72\x73':{'\x74\x79\x70\x65':a0_0x4771af(0x1ac),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4e\x75\x6d\x62\x65\x72\x20\x6f\x66\x20\x77\x6f\x72\x6b\x65\x72\x20\x73\x61\x6e\x64\x62\x6f\x78\x65\x73\x2e\x20\x45\x61\x63\x68\x20\x69\x73\x20\x62\x69\x6c\x6c\x65\x64\x20\x69\x6e\x64\x65\x70\x65\x6e\x64\x65\x6e\x74\x6c\x79\x2e'},'\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_0x4771af(0x113)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x1c5),a0_0x4771af(0x181)],'\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:_0x363ca7})=>async _0x5423bf=>{const _0x52e898=a0_0x4771af,_0x25eae6=await _0x363ca7[_0x52e898(0x177)][_0x52e898(0x16c)]({'\x64\x65\x66\x61\x75\x6c\x74\x73':{'\x70\x75\x62\x6c\x69\x63\x54\x65\x6d\x70\x6c\x61\x74\x65\x49\x64':_0x5423bf['\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64']},'\x77\x6f\x72\x6b\x65\x72\x73':Array['\x66\x72\x6f\x6d']({'\x6c\x65\x6e\x67\x74\x68':_0x5423bf['\x77\x6f\x72\x6b\x65\x72\x73']},(_0x13bc03,_0xa2811f)=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x52e898(0x16a)+_0xa2811f})),'\x6d\x65\x74\x61\x64\x61\x74\x61':_0x5423bf['\x6d\x65\x74\x61\x64\x61\x74\x61']});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x25eae6[_0x52e898(0x129)],'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64\x73':_0x25eae6[_0x52e898(0x13a)]};}},'\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':a0_0x4771af(0x19d),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x16e),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4771af(0x122)},'\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'},'\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':'\x73\x74\x72\x69\x6e\x67'},'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4f\x70\x74\x69\x6f\x6e\x61\x6c\x20\x73\x75\x62\x73\x65\x74\x20\x6f\x66\x20\x6d\x61\x63\x68\x69\x6e\x65\x20\x69\x64\x73\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\x2e'},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x4771af(0x1ac),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x17d)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x167),a0_0x4771af(0x15e)],'\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:_0x184b87})=>async _0xd151f6=>{const _0x24c8eb=a0_0x4771af;return await(await _0x184b87[_0x24c8eb(0x177)]['\x6c\x69\x73\x74']({'\x66\x6c\x65\x65\x74\x49\x64':_0xd151f6['\x66\x6c\x65\x65\x74\x5f\x69\x64']}))[_0x24c8eb(0x187)](_0xd151f6[_0x24c8eb(0x15e)],{'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0xd151f6[_0x24c8eb(0x152)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0xd151f6[_0x24c8eb(0x19c)]});}},'\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_0x4771af(0x1a6),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4771af(0x122)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x167)],'\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:_0x1764b8})=>async _0x26ad04=>{const _0x340b73=a0_0x4771af,_0x38a0d8=await _0x1764b8[_0x340b73(0x177)][_0x340b73(0x18f)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x26ad04[_0x340b73(0x167)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x38a0d8[_0x340b73(0x129)],'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x38a0d8[_0x340b73(0x13a)][_0x340b73(0x182)](_0x2ec847=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x2ec847,'\x73\x74\x61\x74\x75\x73':_0x38a0d8['\x67\x65\x74'](_0x2ec847)[_0x340b73(0x1a1)]}))};}},'\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':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x65\x73\x74\x72\x6f\x79','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x197),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4771af(0x122)},'\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_0x4771af(0x18a)}},'\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:_0x18e4b4})=>async _0x1c5218=>{const _0x2e946f=a0_0x4771af;return await(await _0x18e4b4[_0x2e946f(0x177)][_0x2e946f(0x18f)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x1c5218[_0x2e946f(0x167)]}))[_0x2e946f(0x1af)]({'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x4f\x6e\x45\x72\x72\x6f\x72':_0x1c5218[_0x2e946f(0x16f)]}),{'\x66\x6c\x65\x65\x74\x49\x64':_0x1c5218[_0x2e946f(0x167)],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_FLEET_TOOL_SPECS=Object['\x76\x61\x6c\x75\x65\x73'](FLEET_TOOL_SPECS);function selectFleetSpecs(_0xe65e2){const _0x593f98=a0_0x4771af;if(!_0xe65e2||_0xe65e2[_0x593f98(0x125)]===0x0)return ALL_FLEET_TOOL_SPECS;const _0x566753=new Set(_0xe65e2);return Object[_0x593f98(0x16b)](FLEET_TOOL_SPECS)[_0x593f98(0x12e)](_0x3023c8=>_0x566753[_0x593f98(0x199)](_0x3023c8))[_0x593f98(0x182)](_0x2a0aed=>FLEET_TOOL_SPECS[_0x2a0aed]);}function anthropicFleetTools(_0x35e319,_0x267307={}){const _0x4dd5ad=a0_0x4771af,_0x5aa248={'\x6c\x6b\x5a\x62\x6d':_0x4dd5ad(0x136),'\x45\x73\x6f\x49\x56':function(_0x4cbd8e,_0x3fb183){return _0x4cbd8e(_0x3fb183);},'\x4f\x77\x57\x61\x59':function(_0xcb15af,_0x3ac8d9){return _0xcb15af(_0x3ac8d9);}},_0x4ae869=_0x5aa248[_0x4dd5ad(0x138)](selectFleetSpecs,_0x267307[_0x4dd5ad(0x196)]),_0x2442f3=buildFleetHandlers(_0x4ae869,{'\x63\x6c\x69\x65\x6e\x74':_0x35e319});return{'\x74\x6f\x6f\x6c\x73':_0x4ae869[_0x4dd5ad(0x182)](_0x2b21b5=>({'\x6e\x61\x6d\x65':_0x2b21b5[_0x4dd5ad(0x1aa)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x2b21b5[_0x4dd5ad(0x17e)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x2b21b5[_0x4dd5ad(0x17f)]})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x393fb3){const _0x226fa8=_0x4dd5ad,_0x1be34c=_0x2442f3[_0x226fa8(0x15f)](_0x393fb3[_0x226fa8(0x1aa)]);if(!_0x1be34c)return{'\x74\x79\x70\x65':_0x226fa8(0x136),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x393fb3['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x226fa8(0x1b9)+_0x393fb3[_0x226fa8(0x1aa)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x31433f=await _0x1be34c(_0x393fb3[_0x226fa8(0x1b6)]);return{'\x74\x79\x70\x65':_0x5aa248[_0x226fa8(0x1a8)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x393fb3['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x5aa248[_0x226fa8(0x179)](serializeToolResult,_0x31433f)};}catch(_0x5dc5a4){return{'\x74\x79\x70\x65':_0x226fa8(0x136),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x393fb3['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x5dc5a4 instanceof Error?_0x5dc5a4['\x6d\x65\x73\x73\x61\x67\x65']:String(_0x5dc5a4),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiFleetTools(_0x4c9f42,_0x15b587={}){const _0x3b4573=a0_0x4771af,_0x4a15be={'\x6a\x59\x55\x47\x67':function(_0x5655ee,_0x9128c2){return _0x5655ee===_0x9128c2;},'\x65\x6e\x6e\x59\x48':_0x3b4573(0x153),'\x48\x4e\x70\x69\x63':_0x3b4573(0x180),'\x75\x67\x70\x79\x42':function(_0x17f7ee,_0x40fce2){return _0x17f7ee(_0x40fce2);},'\x79\x73\x6d\x77\x71':function(_0x115af5,_0x5d49f8){return _0x115af5 instanceof _0x5d49f8;},'\x52\x73\x61\x56\x72':function(_0x4e2859,_0x1e616a,_0x373cc5){return _0x4e2859(_0x1e616a,_0x373cc5);}},_0x1ce352=selectFleetSpecs(_0x15b587[_0x3b4573(0x196)]),_0x6eec32=_0x4a15be[_0x3b4573(0x183)](buildFleetHandlers,_0x1ce352,{'\x63\x6c\x69\x65\x6e\x74':_0x4c9f42});return{'\x74\x6f\x6f\x6c\x73':_0x1ce352[_0x3b4573(0x182)](_0x571fb2=>({'\x74\x79\x70\x65':'\x66\x75\x6e\x63\x74\x69\x6f\x6e','\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x571fb2[_0x3b4573(0x1aa)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x571fb2['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x571fb2[_0x3b4573(0x17f)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x2fad9c){const _0x29df16=_0x3b4573,_0x2ec259=_0x6eec32[_0x29df16(0x15f)](_0x2fad9c[_0x29df16(0x148)]['\x6e\x61\x6d\x65']);if(!_0x2ec259)return{'\x72\x6f\x6c\x65':_0x29df16(0x180),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x2fad9c['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x29df16(0x171)]({'\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'+_0x2fad9c[_0x29df16(0x148)]['\x6e\x61\x6d\x65']})};let _0xb9e862={};try{const _0x35d85a=JSON['\x70\x61\x72\x73\x65'](_0x2fad9c[_0x29df16(0x148)][_0x29df16(0x14c)]||'\x7b\x7d');if(_0x35d85a&&_0x4a15be[_0x29df16(0x14f)](typeof _0x35d85a,_0x4a15be[_0x29df16(0x165)]))_0xb9e862=_0x35d85a;}catch{}try{const _0x326e9a=await _0x2ec259(_0xb9e862);return{'\x72\x6f\x6c\x65':_0x4a15be[_0x29df16(0x12f)],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x2fad9c['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x4a15be[_0x29df16(0x144)](serializeToolResult,_0x326e9a)};}catch(_0x5eb183){return{'\x72\x6f\x6c\x65':_0x29df16(0x180),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x2fad9c['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x29df16(0x171)]({'\x65\x72\x72\x6f\x72':_0x4a15be[_0x29df16(0x13f)](_0x5eb183,Error)?_0x5eb183[_0x29df16(0x147)]:String(_0x5eb183)})};}}};}async function vercelAiFleetTools(_0x2e93e0,_0x342d2a={}){const _0x3770f7=a0_0x4771af;let _0x5dadb2;try{_0x5dadb2=await import('\x61\x69');}catch{throw new Error(_0x3770f7(0x154));}const _0x1ffefe=selectFleetSpecs(_0x342d2a['\x61\x6c\x6c\x6f\x77']),_0x58f4d5=buildFleetHandlers(_0x1ffefe,{'\x63\x6c\x69\x65\x6e\x74':_0x2e93e0}),_0x115316={};for(const _0x3794d6 of _0x1ffefe)_0x115316[_0x3794d6[_0x3770f7(0x1aa)]]=_0x5dadb2[_0x3770f7(0x180)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x3794d6[_0x3770f7(0x17e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x5dadb2[_0x3770f7(0x168)](_0x3794d6[_0x3770f7(0x17f)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x38e67e=>{const _0x506d58=_0x3770f7,_0x4a2497=_0x58f4d5[_0x506d58(0x15f)](_0x3794d6[_0x506d58(0x1aa)]);if(!_0x4a2497)throw new Error(_0x506d58(0x1b9)+_0x3794d6['\x6e\x61\x6d\x65']);return serializeToolResult(await _0x4a2497(_0x38e67e));}});return _0x115316;}async function mastraFleetTools(_0x3cb3d2,_0x328d6e={}){const _0x14577a=a0_0x4771af,_0x29aa31={'\x78\x66\x47\x63\x43':_0x14577a(0x119)};let _0x4f54f0;try{_0x4f54f0=await import(_0x14577a(0x149));}catch{throw new Error(_0x29aa31[_0x14577a(0x13c)]);}const _0x32d7e2=selectFleetSpecs(_0x328d6e['\x61\x6c\x6c\x6f\x77']),_0x5c30df=buildFleetHandlers(_0x32d7e2,{'\x63\x6c\x69\x65\x6e\x74':_0x3cb3d2}),_0xe15ffa={};for(const _0x1f83b9 of _0x32d7e2)_0xe15ffa[_0x1f83b9[_0x14577a(0x1aa)]]=_0x4f54f0[_0x14577a(0x1c7)]({'\x69\x64':_0x1f83b9[_0x14577a(0x1aa)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x1f83b9[_0x14577a(0x17e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x4f54f0[_0x14577a(0x168)]?_0x4f54f0[_0x14577a(0x168)](_0x1f83b9['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']):_0x1f83b9[_0x14577a(0x17f)],'\x65\x78\x65\x63\x75\x74\x65':async _0x5b2d6e=>{const _0x128ec6=_0x14577a,_0x44fcce=_0x5c30df[_0x128ec6(0x15f)](_0x1f83b9['\x6e\x61\x6d\x65']);if(!_0x44fcce)throw new Error(_0x128ec6(0x1b9)+_0x1f83b9[_0x128ec6(0x1aa)]);return{'\x72\x65\x73\x75\x6c\x74':serializeToolResult(await _0x44fcce(_0x5b2d6e?.[_0x128ec6(0x133)]??{}))};}});return _0xe15ffa;}function buildFleetHandlers(_0x120976,_0x37ed2e){const _0x19d591=a0_0x4771af,_0x4d32a9=new Map();for(const _0x2fc7e9 of _0x120976)_0x4d32a9[_0x19d591(0x16d)](_0x2fc7e9['\x6e\x61\x6d\x65'],_0x2fc7e9[_0x19d591(0x130)](_0x37ed2e));return _0x4d32a9;}const LIFECYCLE_TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x134),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x65\x6e\x76\x69\x72\x6f\x6e\x6d\x65\x6e\x74':{'\x74\x79\x70\x65':a0_0x4771af(0x122),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x169)},'\x6e\x61\x6d\x65':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4f\x70\x74\x69\x6f\x6e\x61\x6c\x20\x64\x69\x73\x70\x6c\x61\x79\x20\x6e\x61\x6d\x65\x20\x66\x6f\x72\x20\x74\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x2e'}},'\x72\x65\x71\x75\x69\x72\x65\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:_0x2b8767})=>async _0x46482f=>{const _0x4ab47f=a0_0x4771af,_0x2c4a39=await _0x2b8767[_0x4ab47f(0x1c6)]({'\x65\x6e\x76\x69\x72\x6f\x6e\x6d\x65\x6e\x74':_0x46482f[_0x4ab47f(0x192)]??_0x4ab47f(0x13d),'\x6e\x61\x6d\x65':_0x46482f[_0x4ab47f(0x1aa)]});return{'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x2c4a39['\x69\x64'],'\x73\x74\x61\x74\x75\x73':_0x2c4a39['\x73\x74\x61\x74\x75\x73']};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x6e\x61\x6d\x65':a0_0x4771af(0x123),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x131),'\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':{'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4771af(0x122),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x49\x64\x20\x72\x65\x74\x75\x72\x6e\x65\x64\x20\x62\x79\x20\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65\x2e'},'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0x4771af(0x122),'\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':a0_0x4771af(0x122),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x121)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x4771af(0x1ac),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x54\x69\x6d\x65\x6f\x75\x74\x20\x69\x6e\x20\x6d\x69\x6c\x6c\x69\x73\x65\x63\x6f\x6e\x64\x73\x2e\x20\x44\x65\x66\x61\x75\x6c\x74\x20\x36\x30\x30\x30\x30\x2e'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x198),a0_0x4771af(0x15e)],'\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:_0x25882e})=>async _0x1bc5db=>{const _0x434f99=a0_0x4771af,_0x53b0e8=await _0x25882e[_0x434f99(0x15f)](_0x1bc5db[_0x434f99(0x198)]);if(!_0x53b0e8)throw new Error(_0x434f99(0x15d)+_0x1bc5db[_0x434f99(0x198)]+'\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x2e\x20\x43\x72\x65\x61\x74\x65\x20\x69\x74\x20\x66\x69\x72\x73\x74\x20\x77\x69\x74\x68\x20\x73\x61\x6e\x64\x62\x6f\x78\x5f\x63\x72\x65\x61\x74\x65\x2e');const _0x380df9=await _0x53b0e8[_0x434f99(0x1c3)](_0x1bc5db[_0x434f99(0x15e)],{'\x63\x77\x64':_0x1bc5db['\x63\x77\x64'],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x1bc5db[_0x434f99(0x19c)]??0xea60});return{'\x73\x74\x64\x6f\x75\x74':_0x380df9[_0x434f99(0x12d)],'\x73\x74\x64\x65\x72\x72':_0x380df9['\x73\x74\x64\x65\x72\x72'],'\x65\x78\x69\x74\x43\x6f\x64\x65':_0x380df9[_0x434f99(0x1b2)]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x64\x65\x73\x74\x72\x6f\x79':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x64\x65\x73\x74\x72\x6f\x79','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x150),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4771af(0x153),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4771af(0x122),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4771af(0x158)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4771af(0x198)],'\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:_0x132406})=>async _0x2e1c29=>{const _0x59878a=a0_0x4771af,_0x46512f=await _0x132406[_0x59878a(0x15f)](_0x2e1c29[_0x59878a(0x198)]);if(!_0x46512f)return{'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x2e1c29[_0x59878a(0x198)],'\x64\x65\x6c\x65\x74\x65\x64':!![]};return await _0x46512f[_0x59878a(0x1af)](),{'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x2e1c29[_0x59878a(0x198)],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_LIFECYCLE_TOOL_SPECS=Object[a0_0x4771af(0x18c)](LIFECYCLE_TOOL_SPECS);function selectLifecycleSpecs(_0x3646cf){const _0x323611=a0_0x4771af;if(!_0x3646cf||_0x3646cf[_0x323611(0x125)]===0x0)return ALL_LIFECYCLE_TOOL_SPECS;const _0x55a17d=new Set(_0x3646cf);return Object[_0x323611(0x16b)](LIFECYCLE_TOOL_SPECS)[_0x323611(0x12e)](_0x55370f=>_0x55a17d['\x68\x61\x73'](_0x55370f))[_0x323611(0x182)](_0x509c36=>LIFECYCLE_TOOL_SPECS[_0x509c36]);}function anthropicLifecycleTools(_0x78309a,_0x27b5e0={}){const _0x384559=a0_0x4771af,_0x3a86cc={'\x43\x6d\x66\x4f\x6d':function(_0x45966f,_0x3f874b){return _0x45966f(_0x3f874b);},'\x4c\x7a\x59\x45\x68':_0x384559(0x136),'\x64\x51\x47\x49\x73':function(_0x263085,_0x3d4a0c){return _0x263085 instanceof _0x3d4a0c;},'\x4b\x4e\x75\x70\x4f':function(_0x3995c9,_0x57354a){return _0x3995c9(_0x57354a);},'\x78\x6a\x66\x75\x52':function(_0x4d1be3,_0x4810ea,_0x4c8cb6){return _0x4d1be3(_0x4810ea,_0x4c8cb6);}},_0x4f796b=selectLifecycleSpecs(_0x27b5e0[_0x384559(0x196)]),_0x58da0e=_0x3a86cc[_0x384559(0x166)](buildLifecycleHandlers,_0x4f796b,{'\x63\x6c\x69\x65\x6e\x74':_0x78309a});return{'\x74\x6f\x6f\x6c\x73':_0x4f796b[_0x384559(0x182)](_0x1770c5=>({'\x6e\x61\x6d\x65':_0x1770c5[_0x384559(0x1aa)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x1770c5[_0x384559(0x17e)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x1770c5['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x27044c){const _0x37de9e=_0x384559,_0x2d9bfa=_0x58da0e[_0x37de9e(0x15f)](_0x27044c[_0x37de9e(0x1aa)]);if(!_0x2d9bfa)return{'\x74\x79\x70\x65':_0x37de9e(0x136),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x27044c['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x6c\x69\x66\x65\x63\x79\x63\x6c\x65\x20\x74\x6f\x6f\x6c\x3a\x20'+_0x27044c[_0x37de9e(0x1aa)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x2999e7=await _0x3a86cc[_0x37de9e(0x173)](_0x2d9bfa,_0x27044c[_0x37de9e(0x1b6)]);return{'\x74\x79\x70\x65':_0x3a86cc[_0x37de9e(0x170)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x27044c['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x3a86cc['\x43\x6d\x66\x4f\x6d'](serializeToolResult,_0x2999e7)};}catch(_0x185370){return{'\x74\x79\x70\x65':_0x37de9e(0x136),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x27044c['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x3a86cc['\x64\x51\x47\x49\x73'](_0x185370,Error)?_0x185370['\x6d\x65\x73\x73\x61\x67\x65']:_0x3a86cc[_0x37de9e(0x13e)](String,_0x185370),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiLifecycleTools(_0x2ab684,_0x42fa3d={}){const _0x4dcca2=a0_0x4771af,_0x41d1fa={'\x55\x54\x79\x4c\x46':_0x4dcca2(0x153),'\x53\x41\x70\x4f\x72':function(_0x4bada9,_0x515ea9){return _0x4bada9(_0x515ea9);},'\x4d\x6a\x70\x44\x63':function(_0x3e4115,_0x58ab58){return _0x3e4115(_0x58ab58);}},_0x5ab62e=selectLifecycleSpecs(_0x42fa3d['\x61\x6c\x6c\x6f\x77']),_0x17b488=buildLifecycleHandlers(_0x5ab62e,{'\x63\x6c\x69\x65\x6e\x74':_0x2ab684});return{'\x74\x6f\x6f\x6c\x73':_0x5ab62e[_0x4dcca2(0x182)](_0x4c7a67=>({'\x74\x79\x70\x65':_0x4dcca2(0x148),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x4c7a67[_0x4dcca2(0x1aa)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x4c7a67['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x4c7a67[_0x4dcca2(0x17f)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x242112){const _0x67cd9c=_0x4dcca2,_0x209a3e=_0x17b488[_0x67cd9c(0x15f)](_0x242112['\x66\x75\x6e\x63\x74\x69\x6f\x6e']['\x6e\x61\x6d\x65']);if(!_0x209a3e)return{'\x72\x6f\x6c\x65':'\x74\x6f\x6f\x6c','\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x242112['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x67cd9c(0x171)]({'\x65\x72\x72\x6f\x72':_0x67cd9c(0x160)+_0x242112[_0x67cd9c(0x148)]['\x6e\x61\x6d\x65']})};let _0x291446={};try{const _0x12cb33=JSON[_0x67cd9c(0x185)](_0x242112[_0x67cd9c(0x148)][_0x67cd9c(0x14c)]||'\x7b\x7d');if(_0x12cb33&&typeof _0x12cb33===_0x41d1fa[_0x67cd9c(0x178)])_0x291446=_0x12cb33;}catch{}try{const _0x4260f4=await _0x41d1fa[_0x67cd9c(0x163)](_0x209a3e,_0x291446);return{'\x72\x6f\x6c\x65':_0x67cd9c(0x180),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x242112['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x41d1fa[_0x67cd9c(0x1c0)](serializeToolResult,_0x4260f4)};}catch(_0x26eaad){return{'\x72\x6f\x6c\x65':_0x67cd9c(0x180),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x242112['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x67cd9c(0x171)]({'\x65\x72\x72\x6f\x72':_0x26eaad instanceof Error?_0x26eaad[_0x67cd9c(0x147)]:String(_0x26eaad)})};}}};}function a0_0x3ca0(){const _0x25debd=['\x6d\x63\x34\x57\x6c\x4a\x61','\x6d\x4e\x66\x57\x41\x4e\x6a\x4e\x71\x57','\x77\x77\x54\x78\x43\x66\x79','\x79\x77\x58\x53\x42\x33\x43','\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','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x50\x7a\x61','\x41\x67\x66\x5a','\x43\x32\x39\x54\x7a\x71','\x43\x4d\x76\x48\x7a\x61','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x66\x39\x54\x43\x57','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x41\x78\x6e\x57\x79\x78\x72\x4a\x41\x61','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x43\x67\x66\x59\x79\x77\x31\x5a','\x6c\x49\x34\x56\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x32\x39\x55','\x43\x33\x72\x48\x44\x68\x76\x5a','\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','\x77\x4d\x7a\x41\x42\x31\x75','\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','\x43\x67\x35\x4e','\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','\x41\x78\x62\x76\x44\x4c\x75','\x42\x67\x54\x41\x79\x4d\x30','\x44\x30\x39\x35\x79\x77\x69','\x42\x4d\x66\x54\x7a\x71','\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\x4e\x76\x54\x79\x4d\x76\x59','\x77\x75\x54\x63\x75\x65\x71','\x44\x30\x6a\x31\x43\x65\x34','\x7a\x67\x76\x53\x7a\x78\x72\x4c','\x44\x67\x39\x56\x42\x66\x39\x31\x43\x32\x75','\x79\x4d\x66\x5a\x41\x61','\x7a\x78\x48\x50\x44\x65\x6e\x56\x7a\x67\x75','\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x6d\x74\x66\x67\x44\x4e\x6e\x55\x41\x67\x69','\x43\x67\x66\x30\x41\x61','\x41\x77\x35\x57\x44\x78\x71','\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','\x72\x78\x44\x34\x75\x4c\x4b','\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','\x6f\x74\x61\x34\x6e\x5a\x69\x58\x79\x30\x50\x36\x75\x31\x50\x78','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\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','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4c\x45\x67\x76\x4a','\x6e\x64\x72\x53\x76\x30\x48\x75\x41\x65\x71','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x74\x77\x50\x57\x72\x67\x6d','\x76\x31\x72\x78\x71\x33\x4b','\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\x78\x48\x4c\x79\x57','\x73\x32\x76\x59\x42\x4d\x76\x53\x69\x67\x58\x48\x42\x4d\x44\x31\x79\x77\x44\x4c\x6c\x47','\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x76\x46\x41\x77\x71','\x79\x33\x6a\x4c\x79\x78\x72\x4c','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x67\x39\x56\x42\x61','\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','\x79\x33\x44\x4b','\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','\x7a\x4b\x4c\x6a\x42\x77\x53','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x53\x41\x78\x6e\x30','\x71\x75\x44\x31\x76\x4e\x79','\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\x66\x55\x7a\x32\x58\x4c\x6c\x78\x6e\x48\x42\x4d\x72\x49\x42\x33\x47','\x44\x33\x6a\x50\x44\x67\x75','\x43\x67\x66\x30\x44\x67\x76\x59\x42\x47','\x41\x77\x31\x48\x7a\x32\x75\x56\x43\x67\x35\x4e','\x41\x67\x7a\x4f\x45\x67\x71','\x41\x77\x31\x48\x7a\x32\x75\x56\x41\x4e\x62\x4c\x7a\x57','\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','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x44\x32\x39\x59\x41\x32\x4c\x55\x7a\x59\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4e\x4b\x47\x7a\x4d\x39\x59\x69\x68\x72\x4f\x7a\x73\x62\x4a\x42\x32\x31\x54\x79\x77\x35\x4b\x6c\x47','\x43\x33\x72\x59\x41\x77\x35\x4e','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x44\x77\x35\x46\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\x44\x65\x50\x32\x77\x76\x75','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x32\x76\x48\x43\x4d\x6e\x4f','\x41\x77\x31\x48\x7a\x32\x75','\x44\x67\x76\x34\x44\x61','\x7a\x4d\x58\x4c\x7a\x78\x72\x6a\x7a\x61','\x7a\x4d\x39\x59\x42\x77\x66\x30','\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','\x44\x67\x39\x56\x42\x66\x39\x4a\x79\x77\x58\x53\x43\x57','\x43\x33\x72\x4b\x42\x33\x76\x30','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x73\x65\x35\x57\x41\x77\x6d','\x42\x77\x66\x52\x7a\x75\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x72\x78\x48\x4c\x79\x33\x76\x30\x7a\x73\x62\x48\x69\x68\x6e\x4f\x7a\x77\x58\x53\x69\x67\x6e\x56\x42\x77\x31\x48\x42\x4d\x71\x47\x41\x77\x34\x47\x79\x73\x62\x57\x43\x4d\x76\x32\x41\x77\x39\x31\x43\x32\x58\x35\x69\x67\x6e\x59\x7a\x77\x66\x30\x7a\x77\x71\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x62\x48\x42\x4d\x71\x47\x43\x4d\x76\x30\x44\x78\x6a\x55\x69\x68\x54\x5a\x44\x67\x72\x56\x44\x78\x71\x53\x69\x68\x6e\x30\x7a\x67\x76\x59\x43\x49\x57\x47\x7a\x78\x48\x50\x44\x65\x6e\x56\x7a\x67\x76\x39\x6c\x49\x62\x75\x41\x67\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x62\x54\x44\x78\x6e\x30\x69\x67\x76\x34\x41\x78\x6e\x30\x69\x6f\x6b\x61\x4c\x63\x62\x4a\x43\x4d\x76\x48\x44\x67\x75\x47\x41\x78\x71\x47\x7a\x4d\x4c\x59\x43\x33\x71\x47\x44\x32\x4c\x30\x41\x63\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x32\x6e\x59\x7a\x77\x66\x30\x7a\x73\x34','\x6d\x4a\x75\x59\x6d\x74\x65\x57\x7a\x4b\x48\x4b\x77\x67\x54\x6d','\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x71\x33\x6a\x4c\x79\x78\x72\x4c\x69\x67\x66\x55\x69\x67\x4c\x5a\x42\x32\x58\x48\x44\x67\x76\x4b\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x47\x7a\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x4e\x71\x47\x79\x77\x35\x4b\x69\x68\x6a\x4c\x44\x68\x76\x59\x42\x49\x62\x50\x44\x68\x6d\x47\x41\x77\x71\x47\x7a\x4d\x39\x59\x69\x68\x76\x5a\x7a\x73\x62\x33\x41\x78\x72\x4f\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x46\x43\x4e\x76\x55\x78\x32\x6e\x56\x42\x77\x31\x48\x42\x4d\x71\x55\x69\x66\x76\x5a\x7a\x73\x62\x30\x41\x67\x4c\x5a\x69\x68\x44\x4f\x7a\x77\x34\x47\x44\x67\x48\x4c\x69\x68\x76\x5a\x7a\x78\x69\x47\x42\x4d\x76\x4c\x7a\x68\x6d\x47\x79\x32\x39\x4b\x7a\x73\x62\x4c\x45\x67\x76\x4a\x44\x78\x72\x4c\x7a\x63\x57\x47\x7a\x4d\x4c\x53\x7a\x78\x6d\x47\x79\x77\x35\x48\x42\x68\x4c\x36\x7a\x77\x71\x53\x69\x67\x39\x59\x69\x67\x6e\x56\x42\x77\x31\x48\x42\x4d\x72\x5a\x69\x68\x6a\x31\x42\x49\x62\x50\x42\x49\x62\x48\x69\x68\x6e\x4c\x79\x33\x76\x59\x7a\x73\x62\x4c\x42\x4e\x7a\x50\x43\x4d\x39\x55\x42\x77\x76\x55\x44\x63\x34\x47\x76\x67\x48\x4c\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x47\x71\x4b\x4c\x6d\x74\x66\x6d\x47\x44\x77\x35\x30\x41\x77\x57\x47\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x77\x76\x4b\x69\x6f\x6b\x61\x4c\x63\x62\x4a\x79\x77\x58\x53\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x46\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x73\x62\x33\x41\x67\x76\x55\x69\x68\x72\x4f\x7a\x73\x62\x33\x42\x33\x6a\x52\x69\x67\x4c\x5a\x69\x67\x72\x56\x42\x4d\x75\x55','\x76\x33\x6a\x50\x44\x67\x75\x47\x79\x73\x62\x4d\x41\x77\x58\x4c\x69\x67\x4c\x55\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x6c\x49\x62\x64\x43\x4d\x76\x48\x44\x67\x76\x5a\x69\x68\x62\x48\x43\x4d\x76\x55\x44\x63\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4d\x4c\x4c\x43\x59\x62\x48\x43\x59\x62\x55\x7a\x77\x76\x4b\x7a\x77\x71\x55\x69\x65\x39\x32\x7a\x78\x6a\x33\x43\x4d\x4c\x30\x7a\x78\x6d\x47\x7a\x78\x48\x50\x43\x33\x72\x50\x42\x4d\x43\x47\x7a\x4d\x4c\x53\x7a\x78\x6d\x55','\x44\x67\x39\x56\x42\x66\x39\x59\x7a\x78\x6e\x31\x42\x68\x71','\x43\x32\x76\x30\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x74\x33\x44\x78\x79\x76\x4b','\x75\x4d\x76\x4e\x7a\x78\x47\x47\x43\x67\x66\x30\x44\x67\x76\x59\x42\x49\x34','\x41\x77\x72\x5a','\x43\x4e\x76\x55\x71\x32\x39\x4b\x7a\x71','\x45\x67\x7a\x68\x79\x30\x6d','\x44\x77\x35\x50\x44\x4d\x76\x59\x43\x32\x66\x53','\x73\x30\x35\x31\x43\x65\x38','\x45\x78\x6e\x54\x44\x33\x65','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x43\x33\x44\x6c\x73\x75\x38','\x7a\x31\x6a\x32\x41\x30\x4b','\x6d\x74\x71\x33\x6d\x5a\x61\x35\x6d\x32\x4c\x78\x71\x75\x76\x4d\x43\x61','\x44\x77\x44\x57\x45\x75\x69','\x42\x4d\x39\x4b\x7a\x71','\x6d\x74\x71\x33\x6d\x5a\x6d\x35\x6e\x4c\x44\x4b\x43\x4b\x48\x66\x43\x57','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c','\x71\x32\x66\x57\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x69\x64\x65\x57\x6d\x63\x34','\x79\x32\x39\x55\x42\x4d\x76\x4a\x44\x61','\x79\x78\x6a\x4e\x44\x77\x31\x4c\x42\x4e\x72\x5a','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x33\x43\x4d\x4c\x30\x7a\x71','\x44\x68\x4c\x57\x7a\x78\x6e\x4a\x43\x4d\x4c\x57\x44\x61','\x41\x4c\x4c\x76\x72\x32\x43','\x72\x67\x76\x53\x7a\x78\x72\x4c\x69\x67\x65\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x62\x4a\x43\x4d\x76\x48\x44\x67\x76\x4b\x69\x68\x44\x50\x44\x67\x47\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4a\x43\x4d\x76\x48\x44\x67\x75\x55\x69\x66\x6e\x30\x42\x33\x62\x5a\x69\x67\x6a\x50\x42\x67\x58\x50\x42\x4d\x43\x47\x41\x77\x31\x54\x7a\x77\x72\x50\x79\x78\x72\x4c\x42\x68\x4b\x55\x69\x65\x6e\x48\x42\x67\x57\x47\x44\x67\x48\x50\x43\x59\x62\x56\x42\x4d\x6e\x4c\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x7a\x77\x71\x47\x44\x32\x39\x59\x41\x59\x62\x50\x43\x59\x62\x4d\x41\x77\x35\x50\x43\x32\x48\x4c\x7a\x64\x53\x47\x42\x33\x6a\x57\x41\x67\x66\x55\x7a\x77\x71\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x67\x76\x5a\x69\x67\x54\x4c\x7a\x78\x61\x47\x79\x77\x6e\x4a\x43\x4e\x76\x50\x42\x4d\x43\x47\x79\x32\x39\x5a\x44\x63\x34','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x78\x6d','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x44\x4d\x76\x59\x79\x32\x76\x53\x71\x77\x4c\x67\x42\x67\x76\x4c\x44\x66\x72\x56\x42\x32\x58\x5a\x6b\x63\x4b\x36\x69\x68\x72\x4f\x7a\x73\x62\x47\x79\x77\x4c\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\x32\x41\x77\x65\x47\x79\x68\x62\x55\x43\x67\x30\x47\x79\x77\x72\x4b\x69\x67\x66\x50\x79\x63\x34','\x6d\x74\x69\x34\x6e\x4a\x75\x31\x43\x4b\x50\x64\x42\x33\x76\x7a','\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75','\x79\x32\x58\x56\x43\x32\x75','\x73\x77\x71\x47\x43\x4d\x76\x30\x44\x78\x6a\x55\x7a\x77\x71\x47\x79\x4e\x4b\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4a\x43\x4d\x76\x48\x44\x67\x75\x55','\x6e\x32\x7a\x63\x71\x4e\x6e\x30\x76\x71','\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','\x6e\x5a\x75\x59\x6e\x64\x65\x33\x6d\x66\x7a\x74\x7a\x31\x48\x6f\x45\x47','\x7a\x67\x66\x30\x79\x71','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x61','\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\x7a\x32\x76\x30','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x53\x41\x77\x7a\x4c\x79\x33\x4c\x4a\x42\x67\x75\x47\x44\x67\x39\x56\x42\x64\x4f\x47','\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','\x45\x65\x76\x4f\x79\x32\x75','\x75\x30\x66\x57\x74\x33\x69','\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','\x7a\x77\x35\x55\x77\x75\x47','\x45\x67\x50\x4d\x44\x76\x69','\x7a\x4d\x58\x4c\x7a\x78\x72\x46\x41\x77\x71','\x41\x4e\x6e\x56\x42\x4c\x6e\x4a\x41\x67\x76\x54\x79\x71','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x4e\x71\x47\x42\x4d\x66\x54\x7a\x73\x61\x4f\x7a\x73\x35\x4e\x6c\x49\x61\x4e\x44\x77\x35\x50\x44\x4d\x76\x59\x43\x32\x66\x53\x6a\x59\x62\x4d\x42\x33\x69\x47\x42\x78\x76\x53\x44\x67\x4b\x54\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75\x47\x74\x4d\x39\x4b\x7a\x73\x39\x71\x45\x78\x72\x4f\x42\x32\x34\x50\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x69\x63\x44\x31\x42\x4d\x4c\x32\x7a\x78\x6a\x5a\x79\x77\x57\x4e\x6c\x47','\x44\x32\x39\x59\x41\x32\x76\x59\x6c\x71','\x41\x32\x76\x35\x43\x57','\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','\x43\x32\x76\x30','\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','\x79\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x76\x46\x42\x32\x35\x46\x7a\x78\x6a\x59\x42\x33\x69','\x74\x68\x50\x7a\x72\x77\x47','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x43\x68\x76\x5a\x41\x61','\x71\x32\x31\x4d\x74\x32\x30','\x43\x33\x7a\x4e','\x41\x4c\x62\x6c\x73\x75\x75','\x73\x32\x72\x62\x72\x65\x75','\x7a\x4d\x58\x4c\x7a\x78\x72\x5a','\x76\x76\x72\x35\x74\x65\x79','\x72\x78\x6e\x56\x73\x76\x79','\x44\x68\x4c\x57\x7a\x71','\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','\x42\x77\x66\x34\x78\x33\x6a\x4c\x43\x33\x76\x53\x44\x68\x6d','\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','\x7a\x67\x76\x5a\x79\x33\x6a\x50\x43\x68\x72\x50\x42\x32\x34','\x41\x77\x35\x57\x44\x78\x72\x74\x79\x32\x48\x4c\x42\x77\x65','\x44\x67\x39\x56\x42\x61','\x44\x32\x39\x59\x41\x32\x76\x59\x43\x57','\x42\x77\x66\x57','\x75\x4e\x6e\x48\x76\x4e\x69','\x77\x77\x4c\x79\x44\x31\x79','\x43\x67\x66\x59\x43\x32\x75','\x6f\x64\x47\x5a\x6f\x74\x6d\x32\x75\x32\x58\x73\x42\x4b\x39\x75','\x7a\x67\x4c\x5a\x43\x67\x66\x30\x79\x32\x48\x66\x45\x67\x76\x4a','\x77\x76\x62\x32\x72\x4b\x47','\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','\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','\x41\x4e\x62\x4c\x7a\x57','\x44\x4d\x66\x53\x44\x77\x76\x5a','\x79\x77\x58\x53','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x7a\x77\x66\x4b','\x42\x67\x4c\x5a\x44\x61','\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','\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','\x7a\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x4e\x71'];a0_0x3ca0=function(){return _0x25debd;};return a0_0x3ca0();}function buildLifecycleHandlers(_0x3f7fc1,_0x2c9141){const _0x2634ce=a0_0x4771af,_0x576299=new Map();for(const _0x24ed44 of _0x3f7fc1)_0x576299[_0x2634ce(0x16d)](_0x24ed44[_0x2634ce(0x1aa)],_0x24ed44['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x2c9141));return _0x576299;}async function mastraTools(_0x1cbacf,_0x24e90c={}){const _0x3ff29f=a0_0x4771af,_0x13655d={'\x6a\x50\x4b\x49\x45':function(_0x330cb4,_0x3d47ce){return _0x330cb4(_0x3d47ce);}};let _0x2329f5;try{_0x2329f5=await import(_0x3ff29f(0x149));}catch{throw new Error(_0x3ff29f(0x191));}const _0x479eb7=_0x13655d[_0x3ff29f(0x175)](selectSpecs,_0x24e90c[_0x3ff29f(0x196)]),_0x58de05={'\x62\x6f\x78':_0x1cbacf,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x24e90c[_0x3ff29f(0x1bf)]},_0x3e2f83={};for(const _0xc12588 of _0x479eb7){const _0x4a738a=_0xc12588['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x58de05);_0x3e2f83[_0xc12588[_0x3ff29f(0x1aa)]]=_0x2329f5[_0x3ff29f(0x1c7)]({'\x69\x64':_0xc12588[_0x3ff29f(0x1aa)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0xc12588['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x2329f5[_0x3ff29f(0x168)]?_0x2329f5[_0x3ff29f(0x168)](_0xc12588['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']):_0xc12588[_0x3ff29f(0x17f)],'\x65\x78\x65\x63\x75\x74\x65':async _0x286b71=>{const _0x27df44=_0x3ff29f;return{'\x72\x65\x73\x75\x6c\x74':serializeToolResult(await _0x13655d['\x6a\x50\x4b\x49\x45'](_0x4a738a,_0x286b71?.[_0x27df44(0x133)]??{}))};}});}return _0x3e2f83;}function openaiTools(_0x512909,_0x10070a={}){const _0x2f37c9=a0_0x4771af,_0x104ef3={'\x5a\x66\x5a\x6f\x55':function(_0x5b81e2,_0x77da37){return _0x5b81e2===_0x77da37;},'\x77\x42\x75\x70\x4e':function(_0x5d9e11,_0x349ee9){return _0x5d9e11!==_0x349ee9;},'\x59\x69\x58\x77\x56':_0x2f37c9(0x180)},_0x10facd=selectSpecs(_0x10070a[_0x2f37c9(0x196)]),_0xf812d4={'\x62\x6f\x78':_0x512909,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x10070a[_0x2f37c9(0x1bf)]},_0x5e40a2=new Map();for(const _0x1d1bbf of _0x10facd)_0x5e40a2[_0x2f37c9(0x16d)](_0x1d1bbf[_0x2f37c9(0x1aa)],_0x1d1bbf[_0x2f37c9(0x130)](_0xf812d4));const _0x49f328=_0x10facd['\x6d\x61\x70'](_0x127dc6=>({'\x74\x79\x70\x65':_0x2f37c9(0x148),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x127dc6[_0x2f37c9(0x1aa)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x127dc6[_0x2f37c9(0x17e)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x127dc6['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']}}));function _0x21f2e8(_0x1857a9){const _0x380812=_0x2f37c9;if(!_0x1857a9)return{};try{const _0x40bb54=JSON['\x70\x61\x72\x73\x65'](_0x1857a9);return _0x104ef3[_0x380812(0x1a3)](typeof _0x40bb54,_0x380812(0x153))&&_0x104ef3[_0x380812(0x1ae)](_0x40bb54,null)?_0x40bb54:{};}catch{return{};}}async function _0x3338ad(_0x265a32){const _0x54206b=_0x2f37c9,_0x2ab6b1=_0x5e40a2['\x67\x65\x74'](_0x265a32[_0x54206b(0x148)][_0x54206b(0x1aa)]);if(!_0x2ab6b1)return{'\x72\x6f\x6c\x65':_0x54206b(0x180),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x265a32['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x54206b(0x171)]({'\x65\x72\x72\x6f\x72':'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x74\x6f\x6f\x6c\x3a\x20'+_0x265a32[_0x54206b(0x148)]['\x6e\x61\x6d\x65']})};try{const _0x471f51=await _0x2ab6b1(_0x21f2e8(_0x265a32[_0x54206b(0x148)]['\x61\x72\x67\x75\x6d\x65\x6e\x74\x73']));return{'\x72\x6f\x6c\x65':_0x54206b(0x180),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x265a32['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x471f51)};}catch(_0x24c9d0){return{'\x72\x6f\x6c\x65':_0x104ef3[_0x54206b(0x184)],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x265a32['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x54206b(0x171)]({'\x65\x72\x72\x6f\x72':_0x24c9d0 instanceof Error?_0x24c9d0[_0x54206b(0x147)]:String(_0x24c9d0)})};}}async function _0x411bba(_0x4bf4b6){const _0x15da2f=_0x2f37c9,_0x4a543e=_0x4bf4b6[_0x15da2f(0x12c)]??[];return Promise['\x61\x6c\x6c'](_0x4a543e[_0x15da2f(0x182)](_0x3338ad));}return{'\x74\x6f\x6f\x6c\x73':_0x49f328,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c':_0x3338ad,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x411bba};}async function vercelAiTools(_0x16cc95,_0x1bf7f7={}){const _0xe18b4f=a0_0x4771af,_0x4e1ce5={'\x66\x49\x49\x6d\x6b':function(_0x1c69f7,_0x4f479d){return _0x1c69f7(_0x4f479d);},'\x74\x4a\x76\x59\x55':_0xe18b4f(0x189),'\x59\x4b\x42\x50\x44':function(_0x23257e,_0x10c93a){return _0x23257e(_0x10c93a);}};let _0x59f1b0;try{_0x59f1b0=await import('\x61\x69');}catch{throw new Error(_0x4e1ce5[_0xe18b4f(0x124)]);}const _0x2c001b=_0x4e1ce5[_0xe18b4f(0x1ad)](selectSpecs,_0x1bf7f7[_0xe18b4f(0x196)]),_0x589956={'\x62\x6f\x78':_0x16cc95,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1bf7f7[_0xe18b4f(0x1bf)]},_0x119fc3={};for(const _0x13563f of _0x2c001b){const _0x59f515=_0x13563f[_0xe18b4f(0x130)](_0x589956);_0x119fc3[_0x13563f['\x6e\x61\x6d\x65']]=_0x59f1b0[_0xe18b4f(0x180)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x13563f[_0xe18b4f(0x17e)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x59f1b0['\x6a\x73\x6f\x6e\x53\x63\x68\x65\x6d\x61'](_0x13563f[_0xe18b4f(0x17f)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x1934ce=>{const _0x590ee7=_0xe18b4f;return _0x4e1ce5[_0x590ee7(0x116)](serializeToolResult,await _0x4e1ce5['\x66\x49\x49\x6d\x6b'](_0x59f515,_0x1934ce));}});}return _0x119fc3;}export{ALL_FLEET_TOOL_SPECS,ALL_LIFECYCLE_TOOL_SPECS,ALL_TOOL_SPECS,FLEET_TOOL_SPECS,LIFECYCLE_TOOL_SPECS,TOOL_SPECS,anthropicFleetTools,anthropicLifecycleTools,anthropicTools,createMcpServer,mastraFleetTools,mastraTools,openaiFleetTools,openaiLifecycleTools,openaiTools,runCode,vercelAiFleetTools,vercelAiTools};
|
package/dist/auth/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x53d8a7=a0_0xa353;(function(_0x36930f,_0x3b7434){const _0x39401d=a0_0xa353,_0x327d2c=_0x36930f();while(!![]){try{const _0x464c9a=parseInt(_0x39401d(0x1d9))/0x1+parseInt(_0x39401d(0x1f4))/0x2+-parseInt(_0x39401d(0x1ee))/0x3*(parseInt(_0x39401d(0x1c6))/0x4)+-parseInt(_0x39401d(0x1c9))/0x5*(parseInt(_0x39401d(0x1b3))/0x6)+-parseInt(_0x39401d(0x1f6))/0x7*(parseInt(_0x39401d(0x1c5))/0x8)+parseInt(_0x39401d(0x1f3))/0x9*(parseInt(_0x39401d(0x1de))/0xa)+-parseInt(_0x39401d(0x1bc))/0xb*(parseInt(_0x39401d(0x1f0))/0xc);if(_0x464c9a===_0x3b7434)break;else _0x327d2c['push'](_0x327d2c['shift']());}catch(_0x1a61a5){_0x327d2c['push'](_0x327d2c['shift']());}}}(a0_0x1fad,0xbe5b2));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x56b945){const _0x11ecf3=a0_0xa353,_0x1f20b1={'\x67\x77\x70\x49\x51':function(_0x6dce45,_0x4bd87f){return _0x6dce45===_0x4bd87f;}};return(_0x1f20b1['\x67\x77\x70\x49\x51'](typeof _0x56b945,_0x11ecf3(0x1fc))?Buffer[_0x11ecf3(0x1ba)](_0x56b945):_0x56b945)[_0x11ecf3(0x1c2)](_0x11ecf3(0x1ef))[_0x11ecf3(0x1c3)](/\+/g,'\x2d')[_0x11ecf3(0x1c3)](/\//g,'\x5f')[_0x11ecf3(0x1c3)](/=+$/,'');}function decodeBase64UrlToBuffer(_0x14cbac){const _0x16fbf5=a0_0xa353,_0x434338={'\x56\x50\x6f\x66\x75':function(_0x13f065,_0x202b30){return _0x13f065+_0x202b30;},'\x52\x4d\x71\x6b\x74':function(_0x25753c,_0x1c4731){return _0x25753c-_0x1c4731;},'\x79\x69\x41\x74\x5a':function(_0x5d06e1,_0x3d811b){return _0x5d06e1%_0x3d811b;}};if(!/^[A-Za-z0-9_-]*$/['\x74\x65\x73\x74'](_0x14cbac))return null;const _0x396937=_0x434338[_0x16fbf5(0x1e4)](_0x14cbac,'\x3d'[_0x16fbf5(0x1e6)](_0x434338[_0x16fbf5(0x1ea)](0x4,_0x434338[_0x16fbf5(0x1d1)](_0x14cbac[_0x16fbf5(0x1e1)],0x4))%0x4));return Buffer[_0x16fbf5(0x1ba)](_0x396937['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')[_0x16fbf5(0x1c3)](/_/g,'\x2f'),_0x16fbf5(0x1ef));}function createSignature(_0x503833,_0x26b67c){const _0x3e5736=a0_0xa353,_0x1ab7ca={'\x56\x47\x61\x79\x4e':function(_0xab0bd0,_0xfc68fb){return _0xab0bd0(_0xfc68fb);},'\x4e\x4e\x63\x72\x6e':function(_0x5d3a80,_0x37b6ef,_0x31dcf0){return _0x5d3a80(_0x37b6ef,_0x31dcf0);},'\x71\x79\x64\x68\x52':'\x73\x68\x61\x32\x35\x36'};return _0x1ab7ca[_0x3e5736(0x1d2)](base64UrlEncode,_0x1ab7ca[_0x3e5736(0x1e7)](createHmac,_0x1ab7ca[_0x3e5736(0x1c4)],_0x26b67c)[_0x3e5736(0x1bf)](_0x503833)[_0x3e5736(0x1da)]());}function a0_0xa353(_0x1ef25d,_0x146faa){_0x1ef25d=_0x1ef25d-0x1b2;const _0x1fadcd=a0_0x1fad();let _0xa3536f=_0x1fadcd[_0x1ef25d];if(a0_0xa353['\x4b\x5a\x77\x45\x70\x77']===undefined){var _0x5cf236=function(_0x25c847){const _0x3f9897='\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 _0x441c1f='',_0x497ab8='';for(let _0x22fbbb=0x0,_0x37ee53,_0xe31ac1,_0x5c4941=0x0;_0xe31ac1=_0x25c847['\x63\x68\x61\x72\x41\x74'](_0x5c4941++);~_0xe31ac1&&(_0x37ee53=_0x22fbbb%0x4?_0x37ee53*0x40+_0xe31ac1:_0xe31ac1,_0x22fbbb++%0x4)?_0x441c1f+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x37ee53>>(-0x2*_0x22fbbb&0x6)):0x0){_0xe31ac1=_0x3f9897['\x69\x6e\x64\x65\x78\x4f\x66'](_0xe31ac1);}for(let _0x5e851f=0x0,_0x4e38a1=_0x441c1f['\x6c\x65\x6e\x67\x74\x68'];_0x5e851f<_0x4e38a1;_0x5e851f++){_0x497ab8+='\x25'+('\x30\x30'+_0x441c1f['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x5e851f)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x497ab8);};a0_0xa353['\x54\x4b\x48\x55\x58\x78']=_0x5cf236,a0_0xa353['\x4e\x6f\x6b\x46\x57\x76']={},a0_0xa353['\x4b\x5a\x77\x45\x70\x77']=!![];}const _0x5c5616=_0x1fadcd[0x0],_0x2a0a87=_0x1ef25d+_0x5c5616,_0x5027e6=a0_0xa353['\x4e\x6f\x6b\x46\x57\x76'][_0x2a0a87];return!_0x5027e6?(_0xa3536f=a0_0xa353['\x54\x4b\x48\x55\x58\x78'](_0xa3536f),a0_0xa353['\x4e\x6f\x6b\x46\x57\x76'][_0x2a0a87]=_0xa3536f):_0xa3536f=_0x5027e6,_0xa3536f;}const JWT_HEADER=base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x61\x6c\x67':a0_0x53d8a7(0x1cf),'\x74\x79\x70':'\x4a\x57\x54'}));function issueToken(_0x284c04,_0x583ac8,_0x2c9897){const _0x1718ae=a0_0x53d8a7,_0x382601={'\x77\x4c\x74\x61\x50':function(_0x47a835,_0x24583b){return _0x47a835/_0x24583b;},'\x66\x4a\x79\x6f\x7a':function(_0x4e49b0,_0x390a44){return _0x4e49b0*_0x390a44;}},_0x519334=Math[_0x1718ae(0x1ca)](_0x382601[_0x1718ae(0x1e5)](Date['\x6e\x6f\x77'](),0x3e8)),_0x484891={..._0x583ac8,'\x69\x61\x74':_0x519334,'\x65\x78\x70':_0x519334+_0x382601[_0x1718ae(0x1dd)](_0x2c9897,0x3c)},_0x2a18a4=JWT_HEADER+'\x2e'+base64UrlEncode(JSON[_0x1718ae(0x1e3)](_0x484891));return _0x2a18a4+'\x2e'+createSignature(_0x2a18a4,_0x284c04);}function issueReadToken(_0x2858c6,_0xecfc83,_0x557295){const _0x595a21=a0_0x53d8a7,_0x1b6587={'\x58\x6b\x67\x6b\x61':_0x595a21(0x1ce)};return issueToken(_0x2858c6,{..._0xecfc83,'\x74\x79\x70':_0x1b6587[_0x595a21(0x1dc)]},_0x557295);}function issueSessionScopedToken(_0x3012cf,_0x2d92b8,_0x2a1506){const _0x26bb68=a0_0x53d8a7,_0x1f95a5={'\x44\x6b\x64\x79\x52':function(_0x518883,_0x56c147,_0x2e009b,_0x30e702){return _0x518883(_0x56c147,_0x2e009b,_0x30e702);}};return _0x1f95a5[_0x26bb68(0x1e8)](issueReadToken,_0x3012cf,_0x2d92b8,_0x2a1506);}function a0_0x1fad(){const _0xdd45de=['\x74\x65\x44\x4a\x75\x77\x71','\x6e\x64\x69\x58\x6d\x5a\x62\x35\x71\x77\x48\x59\x73\x31\x6d','\x74\x67\x4c\x73\x79\x75\x43','\x43\x68\x6a\x56','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x41\x33\x6e\x72\x72\x4d\x75','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x43\x78\x4c\x4b\x41\x66\x69','\x6d\x5a\x69\x30\x6f\x68\x44\x74\x73\x32\x76\x64\x79\x71','\x6e\x74\x79\x33\x6d\x74\x75\x59\x75\x78\x6a\x4c\x43\x33\x7a\x48','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x42\x77\x66\x34','\x6e\x4a\x69\x58\x6e\x74\x71\x31\x72\x66\x76\x76\x43\x33\x6e\x41','\x7a\x4d\x58\x56\x42\x33\x69','\x7a\x77\x35\x30\x7a\x78\x6a\x57\x43\x4d\x4c\x5a\x7a\x71','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x79\x78\x48\x67\x41\x4e\x71','\x43\x4d\x76\x48\x7a\x61','\x73\x66\x6d\x59\x6e\x74\x79','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x45\x77\x4c\x62\x44\x66\x4f','\x76\x4b\x44\x48\x45\x75\x34','\x42\x4e\x66\x49\x75\x77\x38','\x7a\x75\x44\x6c\x74\x65\x71','\x44\x4d\x39\x75\x74\x4d\x34','\x72\x77\x76\x55\x79\x4e\x4f','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61','\x6e\x4a\x69\x58\x6e\x4a\x6d\x30\x41\x75\x50\x6f\x43\x30\x6e\x58','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x79\x32\x39\x53\x42\x67\x66\x49\x42\x33\x6a\x48\x44\x67\x4c\x56\x42\x47','\x77\x67\x54\x4e\x41\x32\x65','\x7a\x4b\x50\x35\x42\x33\x4f','\x6d\x74\x6d\x57\x6d\x4a\x69\x5a\x6d\x5a\x62\x6e\x73\x78\x44\x67\x72\x30\x79','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x75\x78\x44\x58\x7a\x65\x75','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x76\x31\x7a\x6e\x43\x67\x57','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x76\x4c\x62\x56\x7a\x4e\x75','\x44\x30\x58\x30\x79\x76\x61','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x74\x4b\x35\x4a\x43\x4d\x34','\x72\x67\x54\x4b\x45\x76\x69','\x79\x77\x58\x4e','\x75\x4b\x31\x58\x41\x33\x71','\x43\x33\x62\x53\x41\x78\x71','\x41\x78\x6e\x5a\x44\x77\x75','\x75\x77\x54\x57\x74\x4d\x47','\x6d\x4a\x66\x77\x43\x4c\x76\x5a\x42\x4e\x47','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x6e\x5a\x61\x34\x74\x4c\x50\x6b\x75\x77\x72\x4f','\x43\x67\x66\x59\x43\x32\x75','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x6f\x75\x31\x67\x42\x75\x31\x69\x71\x47','\x6d\x74\x79\x32\x6d\x4a\x6d\x30\x6f\x68\x4c\x53\x79\x4d\x58\x33\x73\x47','\x74\x75\x35\x6b\x41\x30\x79','\x6d\x74\x61\x35\x6d\x64\x7a\x69\x73\x68\x4c\x53\x72\x78\x69','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x79\x77\x4c\x35\x72\x4d\x30','\x7a\x4d\x35\x4e\x7a\x32\x30','\x41\x78\x6e\x5a\x44\x77\x76\x64\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55','\x43\x33\x72\x59\x41\x77\x35\x4e','\x42\x4d\x39\x33','\x6e\x4d\x48\x73\x77\x4d\x50\x6e\x41\x47','\x72\x31\x48\x78\x43\x4c\x43','\x73\x65\x54\x32\x71\x4e\x47','\x7a\x4e\x6a\x4c\x7a\x71','\x44\x67\x4c\x4c\x43\x47','\x7a\x78\x48\x57','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x7a\x4e\x6a\x56\x42\x71'];a0_0x1fad=function(){return _0xdd45de;};return a0_0x1fad();}function issueProjectScopedToken(_0x57051a,_0x149f99,_0x1afebe){return issueReadToken(_0x57051a,_0x149f99,_0x1afebe);}function issueBatchScopedToken(_0xf57c09,_0xbf4fad,_0x157dc4){const _0x5f3758=a0_0x53d8a7,_0x5c7dd7={'\x48\x4b\x76\x42\x78':function(_0x143a1b,_0x55bf01,_0x5dbdd8,_0x54cff4){return _0x143a1b(_0x55bf01,_0x5dbdd8,_0x54cff4);}};return _0x5c7dd7[_0x5f3758(0x1b5)](issueReadToken,_0xf57c09,_0xbf4fad,_0x157dc4);}function issueCollaborationToken(_0x1bb5d6,_0x4e6da8,_0x5a92eb){const _0x1b538c=a0_0x53d8a7;return issueToken(_0x1bb5d6,{'\x73\x75\x62':_0x4e6da8['\x75\x73\x65\x72\x49\x64'],'\x73\x69\x64':_0x4e6da8[_0x1b538c(0x1d0)],'\x70\x69\x64':_0x4e6da8[_0x1b538c(0x1f8)],'\x63\x69\x64':_0x4e6da8['\x73\x61\x6e\x64\x62\x6f\x78\x49\x64'],'\x74\x79\x70':_0x1b538c(0x1db),'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x4e6da8[_0x1b538c(0x1c1)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x4e6da8['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x4e6da8['\x61\x63\x63\x65\x73\x73']},_0x5a92eb);}function unsafeDecodeToken(_0x56b37e){const _0x2315c2=a0_0x53d8a7,_0x2d7e0a={'\x4c\x69\x52\x61\x47':function(_0x1cf0f3,_0x470fe1){return _0x1cf0f3!==_0x470fe1;}};try{const _0x2d3ea6=_0x56b37e[_0x2315c2(0x1eb)]('\x2e');if(_0x2d7e0a[_0x2315c2(0x1bd)](_0x2d3ea6[_0x2315c2(0x1e1)],0x3))return null;const _0x585a55=_0x2d3ea6[0x1]+'\x3d'['\x72\x65\x70\x65\x61\x74']((0x4-_0x2d3ea6[0x1][_0x2315c2(0x1e1)]%0x4)%0x4),_0xf414e0=Buffer[_0x2315c2(0x1ba)](_0x585a55[_0x2315c2(0x1c3)](/-/g,'\x2b')[_0x2315c2(0x1c3)](/_/g,'\x2f'),_0x2315c2(0x1ef))[_0x2315c2(0x1c2)]();return JSON[_0x2315c2(0x1f1)](_0xf414e0);}catch{return null;}}function verifyToken(_0x4df0c7,_0xbe6eb6,_0x38c8b2={}){const _0xd37c08=a0_0x53d8a7,_0x3afc27={'\x51\x77\x71\x64\x45':function(_0x47a0c5,_0x5a2fa5){return _0x47a0c5!==_0x5a2fa5;},'\x61\x69\x79\x46\x6d':function(_0x1fd091,_0x41e059){return _0x1fd091||_0x41e059;},'\x6b\x73\x51\x46\x65':function(_0x2616ac,_0x4af41b){return _0x2616ac+_0x4af41b;},'\x45\x49\x6d\x55\x73':function(_0x31af45,_0x1214dc){return _0x31af45-_0x1214dc;},'\x51\x6b\x70\x4e\x68':function(_0x158f15,_0x486827){return _0x158f15%_0x486827;},'\x61\x78\x46\x6a\x74':function(_0x31a232,_0x264d8d){return _0x31a232(_0x264d8d);},'\x6e\x71\x62\x51\x6f':function(_0x80bf1a,_0x1c94ff){return _0x80bf1a/_0x1c94ff;},'\x45\x65\x6e\x62\x7a':_0xd37c08(0x1f2),'\x57\x56\x4d\x70\x6c':function(_0x47dedf,_0x50ea51){return _0x47dedf<_0x50ea51;}};try{const _0x5381dd=_0x4df0c7[_0xd37c08(0x1eb)]('\x2e');if(_0x3afc27['\x51\x77\x71\x64\x45'](_0x5381dd[_0xd37c08(0x1e1)],0x3))return null;const [_0x1dd7a5,_0x19b980,_0xb87933]=_0x5381dd;if(_0x3afc27['\x61\x69\x79\x46\x6d'](!_0x1dd7a5,!_0x19b980)||!_0xb87933)return null;let _0x10e27c;try{const _0xfd4e36=_0x3afc27[_0xd37c08(0x1c0)](_0x1dd7a5,'\x3d'[_0xd37c08(0x1e6)](_0x3afc27['\x45\x49\x6d\x55\x73'](0x4,_0x3afc27[_0xd37c08(0x1ed)](_0x1dd7a5['\x6c\x65\x6e\x67\x74\x68'],0x4))%0x4)),_0x1ccae2=Buffer[_0xd37c08(0x1ba)](_0xfd4e36[_0xd37c08(0x1c3)](/-/g,'\x2b')[_0xd37c08(0x1c3)](/_/g,'\x2f'),_0xd37c08(0x1ef))[_0xd37c08(0x1c2)]();_0x10e27c=JSON['\x70\x61\x72\x73\x65'](_0x1ccae2);}catch{return null;}if(_0x3afc27[_0xd37c08(0x1e0)](_0x10e27c[_0xd37c08(0x1e9)],_0xd37c08(0x1cf)))return null;const _0x578b4d=createSignature(_0x1dd7a5+'\x2e'+_0x19b980,_0xbe6eb6),_0x396305=decodeBase64UrlToBuffer(_0xb87933),_0x1c2ace=decodeBase64UrlToBuffer(_0x578b4d);if(_0x3afc27[_0xd37c08(0x1f9)](!_0x396305,!_0x1c2ace))return null;if(_0x396305[_0xd37c08(0x1e1)]!==_0x1c2ace[_0xd37c08(0x1e1)])return null;if(!timingSafeEqual(_0x396305,_0x1c2ace))return null;const _0x1b8cf9=_0x3afc27[_0xd37c08(0x1cd)](unsafeDecodeToken,_0x4df0c7);if(!_0x1b8cf9)return null;const _0x305d88=Math[_0xd37c08(0x1ca)](_0x3afc27[_0xd37c08(0x1d3)](Date[_0xd37c08(0x1b2)](),0x3e8)),_0x4b4cb7=Math[_0xd37c08(0x1c8)](0x0,_0x38c8b2[_0xd37c08(0x1c7)]??0x0);if(typeof _0x1b8cf9[_0xd37c08(0x1b8)]!==_0x3afc27[_0xd37c08(0x1d6)]||_0x3afc27[_0xd37c08(0x1e2)](_0x3afc27['\x6b\x73\x51\x46\x65'](_0x1b8cf9[_0xd37c08(0x1b8)],_0x4b4cb7),_0x305d88))return null;return _0x1b8cf9;}catch{return null;}}function getTokenTTL(_0x33e91e){const _0x23ecc9=a0_0x53d8a7,_0xbd183={'\x47\x58\x57\x72\x57':function(_0x542ed4,_0x3bc12b){return _0x542ed4/_0x3bc12b;},'\x66\x6e\x67\x67\x6d':function(_0x59159d,_0x5cdd32){return _0x59159d-_0x5cdd32;}},_0x23b9b5=Math[_0x23ecc9(0x1ca)](_0xbd183[_0x23ecc9(0x1b4)](Date[_0x23ecc9(0x1b2)](),0x3e8));return _0xbd183[_0x23ecc9(0x1fa)](_0x33e91e[_0x23ecc9(0x1b8)],_0x23b9b5);}function isTokenExpiringSoon(_0x440fbd,_0x359aa3=0x3c){const _0x34ab1b=a0_0x53d8a7,_0x2c4b5={'\x4d\x4e\x4a\x6b\x46':function(_0x56353f,_0x281330){return _0x56353f<=_0x281330;}};return _0x2c4b5[_0x34ab1b(0x1f5)](getTokenTTL(_0x440fbd),_0x359aa3);}var ProductTokenIssuer=class{[a0_0x53d8a7(0x1f8)];['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'];[a0_0x53d8a7(0x1d7)];constructor(_0x166fc5){const _0x2dcf13=a0_0x53d8a7;this[_0x2dcf13(0x1f8)]=_0x166fc5[_0x2dcf13(0x1f8)],this[_0x2dcf13(0x1f7)]=_0x166fc5[_0x2dcf13(0x1f7)],this[_0x2dcf13(0x1d7)]={'\x66\x72\x65\x65':_0x166fc5['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x2dcf13(0x1b6)]??0xf,'\x70\x72\x6f':_0x166fc5[_0x2dcf13(0x1d7)]?.[_0x2dcf13(0x1be)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x166fc5['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x2dcf13(0x1cb)]??0x1e0};}[a0_0x53d8a7(0x1ec)](_0x1e6854){const _0xa1f38a=a0_0x53d8a7,_0x205284={'\x4c\x47\x63\x51\x64':function(_0x3748f7,_0x3640c4,_0x3df245,_0x253906){return _0x3748f7(_0x3640c4,_0x3df245,_0x253906);},'\x76\x6f\x54\x4e\x6e':function(_0xfe20d4,_0x134db5){return _0xfe20d4/_0x134db5;}},_0x52895b=_0x1e6854[_0xa1f38a(0x1b7)]??'\x66\x72\x65\x65',_0x40ae46=this[_0xa1f38a(0x1d7)][_0x52895b]??this[_0xa1f38a(0x1d7)]['\x66\x72\x65\x65'];return{'\x74\x6f\x6b\x65\x6e':_0x205284[_0xa1f38a(0x1bb)](issueReadToken,this['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'],{'\x73\x75\x62':_0x1e6854[_0xa1f38a(0x1df)],'\x73\x69\x64':_0x1e6854[_0xa1f38a(0x1d0)],'\x70\x69\x64':this[_0xa1f38a(0x1f8)],'\x63\x69\x64':_0x1e6854[_0xa1f38a(0x1b9)]},_0x40ae46),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math['\x66\x6c\x6f\x6f\x72'](_0x205284[_0xa1f38a(0x1d5)](Date[_0xa1f38a(0x1b2)](),0x3e8))+_0x40ae46*0x3c};}[a0_0x53d8a7(0x1fb)](_0x18f41a){const _0x56d541=a0_0x53d8a7,_0x45ec98={'\x65\x47\x4b\x4c\x44':function(_0x446d0e,_0x26f083){return _0x446d0e*_0x26f083;}},_0xadb76a=_0x18f41a['\x74\x69\x65\x72']??'\x66\x72\x65\x65',_0x45a3e1=this[_0x56d541(0x1d7)][_0xadb76a]??this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']['\x66\x72\x65\x65'];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x56d541(0x1f7)],{'\x75\x73\x65\x72\x49\x64':_0x18f41a[_0x56d541(0x1df)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x18f41a[_0x56d541(0x1d0)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0x56d541(0x1f8)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x18f41a[_0x56d541(0x1c1)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x18f41a[_0x56d541(0x1d8)],'\x61\x63\x63\x65\x73\x73':_0x18f41a[_0x56d541(0x1cc)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x18f41a[_0x56d541(0x1b9)]},_0x45a3e1),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math[_0x56d541(0x1ca)](Date['\x6e\x6f\x77']()/0x3e8)+_0x45ec98[_0x56d541(0x1d4)](_0x45a3e1,0x3c)};}['\x67\x65\x74\x54\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'](_0x3de050=a0_0x53d8a7(0x1b6)){const _0x365712=a0_0x53d8a7;return this[_0x365712(0x1d7)][_0x3de050]??this[_0x365712(0x1d7)][_0x365712(0x1b6)];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
|
|
1
|
+
function a0_0x3fe0(_0x1c863b,_0x46fc8f){_0x1c863b=_0x1c863b-0x17b;const _0x5898ec=a0_0x5898();let _0x3fe054=_0x5898ec[_0x1c863b];if(a0_0x3fe0['\x50\x73\x54\x55\x58\x62']===undefined){var _0x440a50=function(_0x3a6920){const _0x5ddf90='\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 _0xd076a8='',_0x4b8f93='';for(let _0x55537e=0x0,_0x56a564,_0x453ed4,_0x189be9=0x0;_0x453ed4=_0x3a6920['\x63\x68\x61\x72\x41\x74'](_0x189be9++);~_0x453ed4&&(_0x56a564=_0x55537e%0x4?_0x56a564*0x40+_0x453ed4:_0x453ed4,_0x55537e++%0x4)?_0xd076a8+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x56a564>>(-0x2*_0x55537e&0x6)):0x0){_0x453ed4=_0x5ddf90['\x69\x6e\x64\x65\x78\x4f\x66'](_0x453ed4);}for(let _0x1343a1=0x0,_0x17f8ae=_0xd076a8['\x6c\x65\x6e\x67\x74\x68'];_0x1343a1<_0x17f8ae;_0x1343a1++){_0x4b8f93+='\x25'+('\x30\x30'+_0xd076a8['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1343a1)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x4b8f93);};a0_0x3fe0['\x44\x59\x65\x76\x61\x4e']=_0x440a50,a0_0x3fe0['\x4c\x58\x4c\x65\x48\x59']={},a0_0x3fe0['\x50\x73\x54\x55\x58\x62']=!![];}const _0x1fb1f2=_0x5898ec[0x0],_0x3647ef=_0x1c863b+_0x1fb1f2,_0x3c39ac=a0_0x3fe0['\x4c\x58\x4c\x65\x48\x59'][_0x3647ef];return!_0x3c39ac?(_0x3fe054=a0_0x3fe0['\x44\x59\x65\x76\x61\x4e'](_0x3fe054),a0_0x3fe0['\x4c\x58\x4c\x65\x48\x59'][_0x3647ef]=_0x3fe054):_0x3fe054=_0x3c39ac,_0x3fe054;}const a0_0x17ed4a=a0_0x3fe0;(function(_0x4dc53f,_0x46e7d1){const _0x28ff7a=a0_0x3fe0,_0x43d191=_0x4dc53f();while(!![]){try{const _0x469e54=parseInt(_0x28ff7a(0x18b))/0x1+parseInt(_0x28ff7a(0x197))/0x2+parseInt(_0x28ff7a(0x19b))/0x3+parseInt(_0x28ff7a(0x198))/0x4+parseInt(_0x28ff7a(0x185))/0x5+parseInt(_0x28ff7a(0x19f))/0x6+-parseInt(_0x28ff7a(0x1a4))/0x7*(parseInt(_0x28ff7a(0x186))/0x8);if(_0x469e54===_0x46e7d1)break;else _0x43d191['push'](_0x43d191['shift']());}catch(_0x35f5b9){_0x43d191['push'](_0x43d191['shift']());}}}(a0_0x5898,0x8381c));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x64d578){const _0x2e00d8=a0_0x3fe0;return(typeof _0x64d578===_0x2e00d8(0x194)?Buffer['\x66\x72\x6f\x6d'](_0x64d578):_0x64d578)[_0x2e00d8(0x18e)](_0x2e00d8(0x1b3))[_0x2e00d8(0x17c)](/\+/g,'\x2d')[_0x2e00d8(0x17c)](/\//g,'\x5f')['\x72\x65\x70\x6c\x61\x63\x65'](/=+$/,'');}function a0_0x5898(){const _0xbc1814=['\x73\x4c\x44\x75','\x41\x68\x62\x70\x43\x65\x4b','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x41\x78\x6e\x5a\x44\x77\x75','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x43\x68\x6a\x56','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x72\x66\x48\x36\x74\x77\x71','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x6e\x64\x71\x31\x6e\x5a\x43\x31\x41\x76\x7a\x7a\x73\x67\x50\x67','\x6d\x74\x4b\x5a\x6d\x64\x4b\x35\x6e\x5a\x7a\x4d\x71\x4c\x6e\x5a\x75\x78\x43','\x79\x77\x58\x4e','\x7a\x32\x76\x30\x76\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x79\x30\x39\x34\x71\x31\x69','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x6d\x74\x47\x33\x6e\x4a\x75\x33\x79\x78\x66\x55\x72\x78\x72\x4e','\x43\x33\x62\x53\x41\x78\x71','\x74\x76\x4c\x4b\x73\x67\x71','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x73\x66\x6d\x59\x6e\x74\x79','\x7a\x4e\x6a\x4c\x7a\x71','\x7a\x78\x72\x56\x43\x30\x38','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x77\x4d\x58\x73\x77\x4c\x47','\x43\x33\x72\x59\x41\x77\x35\x4e','\x42\x4d\x39\x33','\x72\x67\x4c\x7a\x41\x67\x30','\x6f\x74\x71\x32\x6d\x4a\x65\x32\x41\x67\x48\x76\x75\x65\x54\x75','\x6d\x4a\x47\x5a\x6e\x74\x65\x5a\x6e\x4c\x7a\x36\x74\x75\x6a\x49\x42\x61','\x77\x4d\x31\x33\x77\x67\x4b','\x42\x75\x39\x56\x71\x4c\x47','\x6d\x4a\x43\x58\x6e\x5a\x4b\x30\x6f\x75\x58\x56\x77\x65\x6e\x4f\x41\x61','\x45\x66\x76\x51\x41\x4d\x38','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x7a\x78\x48\x6d\x42\x31\x47','\x6d\x5a\x75\x59\x6e\x4a\x69\x33\x6d\x4e\x44\x70\x74\x32\x31\x6e\x41\x71','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x44\x67\x4c\x4c\x43\x47','\x7a\x4d\x58\x56\x42\x33\x69','\x43\x67\x66\x59\x43\x32\x75','\x6e\x30\x50\x5a\x76\x77\x4c\x48\x45\x61','\x75\x66\x50\x69\x41\x65\x43','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x7a\x4e\x6a\x56\x42\x71','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x7a\x77\x35\x30\x7a\x78\x6a\x57\x43\x4d\x4c\x5a\x7a\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','\x7a\x78\x48\x57','\x71\x30\x31\x52\x75\x31\x6d','\x72\x30\x35\x68\x42\x66\x4f','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x76\x68\x72\x6f\x72\x30\x34','\x79\x4d\x66\x5a\x7a\x74\x79\x30'];a0_0x5898=function(){return _0xbc1814;};return a0_0x5898();}function decodeBase64UrlToBuffer(_0x2b636a){const _0x510560=a0_0x3fe0,_0x5c9ea3={'\x78\x55\x6a\x6a\x6f':function(_0x4907d1,_0x3d8352){return _0x4907d1+_0x3d8352;},'\x43\x4d\x6b\x53\x53':function(_0x284d5d,_0x436a18){return _0x284d5d%_0x436a18;},'\x6d\x4f\x6f\x42\x58':function(_0x4cce30,_0x3aa37a){return _0x4cce30%_0x3aa37a;},'\x50\x5a\x48\x68\x47':_0x510560(0x1b3)};if(!/^[A-Za-z0-9_-]*$/['\x74\x65\x73\x74'](_0x2b636a))return null;const _0x42b6df=_0x5c9ea3[_0x510560(0x19c)](_0x2b636a,'\x3d'[_0x510560(0x1a8)](_0x5c9ea3[_0x510560(0x1ac)](0x4-_0x5c9ea3[_0x510560(0x19a)](_0x2b636a[_0x510560(0x1af)],0x4),0x4)));return Buffer['\x66\x72\x6f\x6d'](_0x42b6df[_0x510560(0x17c)](/-/g,'\x2b')[_0x510560(0x17c)](/_/g,'\x2f'),_0x5c9ea3[_0x510560(0x1a5)]);}function createSignature(_0x297a50,_0x581e8a){const _0x2de459=a0_0x3fe0,_0x35a9d9={'\x44\x69\x59\x68\x6d':function(_0x11c50d,_0xfb3b3c,_0x1fa392){return _0x11c50d(_0xfb3b3c,_0x1fa392);},'\x47\x4e\x47\x6c\x5a':_0x2de459(0x180)};return base64UrlEncode(_0x35a9d9[_0x2de459(0x196)](createHmac,_0x35a9d9[_0x2de459(0x1ad)],_0x581e8a)[_0x2de459(0x1a0)](_0x297a50)[_0x2de459(0x184)]());}const JWT_HEADER=base64UrlEncode(JSON[a0_0x17ed4a(0x17b)]({'\x61\x6c\x67':'\x48\x53\x32\x35\x36','\x74\x79\x70':a0_0x17ed4a(0x1b4)}));function issueToken(_0x5762d5,_0x9c6a5,_0x5bc33d){const _0x566a8a=a0_0x17ed4a,_0x46bd19={'\x72\x49\x76\x70\x44':function(_0x1ed09a,_0x5709a0){return _0x1ed09a/_0x5709a0;}},_0x377b4e=Math[_0x566a8a(0x1a2)](_0x46bd19['\x72\x49\x76\x70\x44'](Date[_0x566a8a(0x195)](),0x3e8)),_0x2d0c90={..._0x9c6a5,'\x69\x61\x74':_0x377b4e,'\x65\x78\x70':_0x377b4e+_0x5bc33d*0x3c},_0x496096=JWT_HEADER+'\x2e'+base64UrlEncode(JSON[_0x566a8a(0x17b)](_0x2d0c90));return _0x496096+'\x2e'+createSignature(_0x496096,_0x5762d5);}function issueReadToken(_0x1656bb,_0x488302,_0x2689d9){return issueToken(_0x1656bb,{..._0x488302,'\x74\x79\x70':'\x72\x65\x61\x64'},_0x2689d9);}function issueSessionScopedToken(_0x130cec,_0x360f4e,_0x4ce9d9){return issueReadToken(_0x130cec,_0x360f4e,_0x4ce9d9);}function issueProjectScopedToken(_0x516794,_0x59fcb3,_0x31b900){return issueReadToken(_0x516794,_0x59fcb3,_0x31b900);}function issueBatchScopedToken(_0x1cae6e,_0x4f046a,_0x50f73c){return issueReadToken(_0x1cae6e,_0x4f046a,_0x50f73c);}function issueCollaborationToken(_0x513e59,_0x70af15,_0x24eda8){const _0x39e76a=a0_0x17ed4a;return issueToken(_0x513e59,{'\x73\x75\x62':_0x70af15[_0x39e76a(0x17e)],'\x73\x69\x64':_0x70af15[_0x39e76a(0x19d)],'\x70\x69\x64':_0x70af15[_0x39e76a(0x18a)],'\x63\x69\x64':_0x70af15[_0x39e76a(0x1a6)],'\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':_0x70af15[_0x39e76a(0x192)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x70af15[_0x39e76a(0x1ae)],'\x61\x63\x63\x65\x73\x73':_0x70af15[_0x39e76a(0x183)]},_0x24eda8);}function unsafeDecodeToken(_0x416b0b){const _0x45afb9=a0_0x17ed4a,_0x4505e3={'\x4d\x59\x64\x48\x64':function(_0x2780a6,_0x176f64){return _0x2780a6+_0x176f64;},'\x49\x6f\x46\x69\x6f':function(_0x136caf,_0x1a3980){return _0x136caf-_0x1a3980;}};try{const _0x5b71f9=_0x416b0b[_0x45afb9(0x18c)]('\x2e');if(_0x5b71f9[_0x45afb9(0x1af)]!==0x3)return null;const _0x12c54a=_0x4505e3[_0x45afb9(0x18d)](_0x5b71f9[0x1],'\x3d'[_0x45afb9(0x1a8)](_0x4505e3['\x49\x6f\x46\x69\x6f'](0x4,_0x5b71f9[0x1][_0x45afb9(0x1af)]%0x4)%0x4)),_0x3f6462=Buffer[_0x45afb9(0x1a7)](_0x12c54a[_0x45afb9(0x17c)](/-/g,'\x2b')[_0x45afb9(0x17c)](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34')[_0x45afb9(0x18e)]();return JSON[_0x45afb9(0x1a3)](_0x3f6462);}catch{return null;}}function verifyToken(_0x46eb20,_0x172519,_0x2f9088={}){const _0x491743=a0_0x17ed4a,_0x2ad91c={'\x5a\x6c\x52\x5a\x58':function(_0x1312a0,_0x66e887){return _0x1312a0!==_0x66e887;},'\x63\x4f\x78\x43\x52':function(_0x4b0ccb,_0x14718d){return _0x4b0ccb%_0x14718d;},'\x65\x74\x6f\x73\x4f':function(_0x4427c1,_0x4fde54,_0x3a082e){return _0x4427c1(_0x4fde54,_0x3a082e);},'\x5a\x6d\x77\x58\x69':function(_0xc0368d,_0x5cf978){return _0xc0368d+_0x5cf978;}};try{const _0x39686d=_0x46eb20[_0x491743(0x18c)]('\x2e');if(_0x2ad91c[_0x491743(0x193)](_0x39686d['\x6c\x65\x6e\x67\x74\x68'],0x3))return null;const [_0x5efded,_0x3fa015,_0x3e2d75]=_0x39686d;if(!_0x5efded||!_0x3fa015||!_0x3e2d75)return null;let _0x2346fd;try{const _0x45a2b4=_0x5efded+'\x3d'[_0x491743(0x1a8)](_0x2ad91c[_0x491743(0x189)](0x4-_0x5efded['\x6c\x65\x6e\x67\x74\x68']%0x4,0x4)),_0x342898=Buffer[_0x491743(0x1a7)](_0x45a2b4[_0x491743(0x17c)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34')[_0x491743(0x18e)]();_0x2346fd=JSON[_0x491743(0x1a3)](_0x342898);}catch{return null;}if(_0x2346fd[_0x491743(0x187)]!==_0x491743(0x18f))return null;const _0x1acd70=createSignature(_0x5efded+'\x2e'+_0x3fa015,_0x172519),_0x17652c=decodeBase64UrlToBuffer(_0x3e2d75),_0x278363=decodeBase64UrlToBuffer(_0x1acd70);if(!_0x17652c||!_0x278363)return null;if(_0x17652c['\x6c\x65\x6e\x67\x74\x68']!==_0x278363['\x6c\x65\x6e\x67\x74\x68'])return null;if(!_0x2ad91c[_0x491743(0x191)](timingSafeEqual,_0x17652c,_0x278363))return null;const _0x4034ae=unsafeDecodeToken(_0x46eb20);if(!_0x4034ae)return null;const _0x2a267a=Math[_0x491743(0x1a2)](Date[_0x491743(0x195)]()/0x3e8),_0x46eeb1=Math['\x6d\x61\x78'](0x0,_0x2f9088['\x63\x6c\x6f\x63\x6b\x53\x6b\x65\x77\x53\x65\x63\x6f\x6e\x64\x73']??0x0);if(typeof _0x4034ae[_0x491743(0x1ab)]!==_0x491743(0x1b0)||_0x2ad91c[_0x491743(0x199)](_0x4034ae[_0x491743(0x1ab)],_0x46eeb1)<_0x2a267a)return null;return _0x4034ae;}catch{return null;}}function getTokenTTL(_0x378fcb){const _0xb4d978=a0_0x17ed4a,_0x2c9877=Math[_0xb4d978(0x1a2)](Date[_0xb4d978(0x195)]()/0x3e8);return _0x378fcb['\x65\x78\x70']-_0x2c9877;}function isTokenExpiringSoon(_0x240953,_0x3c793e=0x3c){const _0x474137=a0_0x17ed4a,_0x1758ec={'\x68\x70\x4f\x70\x49':function(_0x20c2a4,_0x149300){return _0x20c2a4(_0x149300);}};return _0x1758ec[_0x474137(0x1b5)](getTokenTTL,_0x240953)<=_0x3c793e;}var ProductTokenIssuer=class{[a0_0x17ed4a(0x18a)];[a0_0x17ed4a(0x182)];['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'];constructor(_0x46c5d2){const _0x33241a=a0_0x17ed4a;this[_0x33241a(0x18a)]=_0x46c5d2[_0x33241a(0x18a)],this[_0x33241a(0x182)]=_0x46c5d2[_0x33241a(0x182)],this[_0x33241a(0x1b1)]={'\x66\x72\x65\x65':_0x46c5d2[_0x33241a(0x1b1)]?.[_0x33241a(0x190)]??0xf,'\x70\x72\x6f':_0x46c5d2[_0x33241a(0x1b1)]?.[_0x33241a(0x17f)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x46c5d2[_0x33241a(0x1b1)]?.[_0x33241a(0x1a9)]??0x1e0};}[a0_0x17ed4a(0x17d)](_0x4e93ae){const _0x571712=a0_0x17ed4a,_0x50c41d=_0x4e93ae[_0x571712(0x1a1)]??_0x571712(0x190),_0x4d6395=this[_0x571712(0x1b1)][_0x50c41d]??this[_0x571712(0x1b1)][_0x571712(0x190)];return{'\x74\x6f\x6b\x65\x6e':issueReadToken(this[_0x571712(0x182)],{'\x73\x75\x62':_0x4e93ae[_0x571712(0x17e)],'\x73\x69\x64':_0x4e93ae['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],'\x63\x69\x64':_0x4e93ae['\x73\x61\x6e\x64\x62\x6f\x78\x49\x64']},_0x4d6395),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math[_0x571712(0x1a2)](Date['\x6e\x6f\x77']()/0x3e8)+_0x4d6395*0x3c};}[a0_0x17ed4a(0x1aa)](_0x21a723){const _0x2a25e5=a0_0x17ed4a,_0x365e83={'\x65\x78\x4c\x6f\x58':function(_0x128f28,_0x1203e5,_0x5b13be,_0x122d8b){return _0x128f28(_0x1203e5,_0x5b13be,_0x122d8b);},'\x44\x58\x7a\x4d\x64':function(_0x331545,_0x54e6e6){return _0x331545/_0x54e6e6;},'\x54\x74\x4e\x47\x4e':function(_0x36c78e,_0x153160){return _0x36c78e*_0x153160;}},_0x151bd7=_0x21a723[_0x2a25e5(0x1a1)]??_0x2a25e5(0x190),_0x20fbfa=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x151bd7]??this[_0x2a25e5(0x1b1)]['\x66\x72\x65\x65'];return{'\x74\x6f\x6b\x65\x6e':_0x365e83[_0x2a25e5(0x19e)](issueCollaborationToken,this[_0x2a25e5(0x182)],{'\x75\x73\x65\x72\x49\x64':_0x21a723[_0x2a25e5(0x17e)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x21a723[_0x2a25e5(0x19d)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0x2a25e5(0x18a)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x21a723[_0x2a25e5(0x192)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x21a723[_0x2a25e5(0x1ae)],'\x61\x63\x63\x65\x73\x73':_0x21a723['\x61\x63\x63\x65\x73\x73'],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x21a723[_0x2a25e5(0x1a6)]},_0x20fbfa),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math[_0x2a25e5(0x1a2)](_0x365e83[_0x2a25e5(0x181)](Date[_0x2a25e5(0x195)](),0x3e8))+_0x365e83[_0x2a25e5(0x1b2)](_0x20fbfa,0x3c)};}[a0_0x17ed4a(0x188)](_0x2398b0=a0_0x17ed4a(0x190)){const _0x4d3917=a0_0x17ed4a;return this[_0x4d3917(0x1b1)][_0x2398b0]??this[_0x4d3917(0x1b1)][_0x4d3917(0x190)];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
|