UNPKG

@taazkareem/clickup-mcp-server

Version:

ClickUp MCP Server - Powering AI Agents with full ClickUp task, document, and chat management capabilities.

1 lines 19.1 kB
const a0_0x2b22ec=a0_0x2c39;(function(_0x2794c0,_0x45ebfa){const _0x28f963=a0_0x2c39,_0x510cd4=_0x2794c0();while(!![]){try{const _0x45726c=-parseInt(_0x28f963(0x113))/0x1+-parseInt(_0x28f963(0x1a9))/0x2+parseInt(_0x28f963(0x1e4))/0x3+-parseInt(_0x28f963(0x179))/0x4+parseInt(_0x28f963(0x11d))/0x5+-parseInt(_0x28f963(0x12e))/0x6*(-parseInt(_0x28f963(0x130))/0x7)+parseInt(_0x28f963(0x157))/0x8;if(_0x45726c===_0x45ebfa)break;else _0x510cd4['push'](_0x510cd4['shift']());}catch(_0x32461d){_0x510cd4['push'](_0x510cd4['shift']());}}}(a0_0x4875,0x567fd));import{Logger}from'../logger.js';function a0_0x2c39(_0x599836,_0xa724ca){_0x599836=_0x599836-0xf8;const _0x4875eb=a0_0x4875();let _0x2c39e8=_0x4875eb[_0x599836];if(a0_0x2c39['wxNZzH']===undefined){var _0x4e9cf9=function(_0x3a3ccd){const _0x37dce4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5dbf03='',_0x89ccf3='';for(let _0x18f67d=0x0,_0x201f31,_0x5f913b,_0x13c6b2=0x0;_0x5f913b=_0x3a3ccd['charAt'](_0x13c6b2++);~_0x5f913b&&(_0x201f31=_0x18f67d%0x4?_0x201f31*0x40+_0x5f913b:_0x5f913b,_0x18f67d++%0x4)?_0x5dbf03+=String['fromCharCode'](0xff&_0x201f31>>(-0x2*_0x18f67d&0x6)):0x0){_0x5f913b=_0x37dce4['indexOf'](_0x5f913b);}for(let _0x26b864=0x0,_0x1e3f9b=_0x5dbf03['length'];_0x26b864<_0x1e3f9b;_0x26b864++){_0x89ccf3+='%'+('00'+_0x5dbf03['charCodeAt'](_0x26b864)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x89ccf3);};a0_0x2c39['fKyUwc']=_0x4e9cf9,a0_0x2c39['IKjLFr']={},a0_0x2c39['wxNZzH']=!![];}const _0x432205=_0x4875eb[0x0],_0x5bf1d8=_0x599836+_0x432205,_0x440563=a0_0x2c39['IKjLFr'][_0x5bf1d8];return!_0x440563?(_0x2c39e8=a0_0x2c39['fKyUwc'](_0x2c39e8),a0_0x2c39['IKjLFr'][_0x5bf1d8]=_0x2c39e8):_0x2c39e8=_0x440563,_0x2c39e8;}import{sponsorService}from'../utils/sponsor-service.js';function a0_0x4875(){const _0x278425=['nZa4mZi0r1vtDKTP','AgfZx3q','z2v0v28','DhLWzq','zxjZl2W','ywnLifa','zf9NDwu','DgfZAYa','B25Zzq','ihnLyxi','CYWGy3u','yMvYCW','y2vnzw0','Dg8GzMK','Bwf0Dgu','igzVCIa','Bv90yxm','z3vLC3q','y2H5oIa','C3bHy2u','y3jLyxq','zcb3B3i','ywnLigG','y2vqBge','B3rL','C2SGDhK','AhKGkhm','igDLDhq','zMLSBgu','B24GzM8','y2Hty28','yxqTB24','BhKGCxu','zwqGD28','C2vHCMm','zgvFAgK','ytOGAgK','DhLWzxm','BgvKlca','zxm7ihu','yMvY','A3mG4Ocuia','AgvKici','z2v0vgu','CMTZCge','BwvZC2e','BNmGD28','BhvKzv8','ihbSyw4','A190Exa','zguGC2G','zwqGAgK','rfvkwgK','qxzHAwW','CgfJzvq','CgXHBIa','lcbHBMq','CL9Zzwe','ndG0mJi3zg5nzujk','ihDVCMS','BNn0zwe','igL0zw0','B2jQzwm','Df93B3i','D2L0Aca','zMLJig0','ywnLx3a','Bcb3B3i','mJmWmZi3mef0rxjuuG','tfztwfa','zguGD28','ChvZAa','zwrFBwu','zM8U','Af9Tzw0','zvjLC3a','B20GDge','ywnLx3m','BwjLCNm','y2uGBwu','BwvTyMu','thjxu2O','ywnLig8','zwf0CZO','AcbTzw0','mZuZotrMCuLmtey','BgvUz3q','mJG3CKL6v3nd','zxjFC2u','zguGy3u','igDLDf8','C3rYAw4','ywnLiha','sgPUt1C','yxjLzeG','sw5JBhu','CIbHig0','r2v0ifC','C2HHCMu','rxjYB3i','C2vHDhm','zMLSDgu','BgL6yxq','BMqGysa','CMfYy2G','Aw5NihC','l2zVBgq','z3DjyxO','zgvFy3u','BMX5ihe','cGPtAg8','r2v0iha','iokgKcbHyW','BgnLrey','BgfU','zsbPBMy','CgX1CMe','yxrPB24','uMv0Dxi','x2D1zxm','icHjrdO','y2GGzM8','tvjbAgS','zw1Izxi','y2vFDge','C3rVBsa','mtGXodq5nKzVuK1PBa','AxPHDgK','4PscicaG','z2v0q3u','z2v0x3C','CY4Gre8','C2nVCMu','yMvYCYW','CLjLC3a','Dg90ywW','zguGywW','yM9VBgu','zcb0BYa','ywjSzvq','oIb0CNu','CMvU','y2H5','v29YA3m','lIbvC2u','x25HBwu','DgfZA3m','igfUzca','y2uGCgW','AwXZ','zM9Yige','u1bbu2O','BMfTzv8','zxjdyxm','zgvFCgW','BwfPBc4','BwfW','oGOk','C2XPy2u','DxnLihq','mti0mdmYELzNwfr1','y05xs3q','AgfYzwq','AxrLBxm','zsb3Axq','yw4Gzgu','z1z3tNe','CYbHCYa','DgL2zq','ihrOzsa','ig1HDgm','Df9Zzwe','zMv0y2G','zM9Yihm','t3b0Aw8','C2uGz2u','CMnOEq','CgvZ','D2LUzYa','yxrZigy','A3nWywm','AgLLCMe','Dg9vCha','CgXHBI0','CgfJzsa','lcbZzwe','CM9VDa','DMvYCMK','zM9Yigm','C3bLy2K','CgXHBL8','CxvLCMK','y2HHCKe','zcb0yxm','DgfKyxq','D29YA3m','Axn0CYK','r2v0ig0','khbSyw4','oYb1C2u','zwf0CYa','BgfUigq','ihnLyxq','BMfTzq','icaTia','y2vtzwe','CMnOx24','BcbOAwu','ntKYnZK0r0foq0zM','C3rVBv8','yxrZ','zM9Yrwe','B29S','zM11vwO','zgvFBwu','igj5ig4','ig1LBwi','yKfoBxK','CMLHBa','zsbMDwW','y2HPBgq','ywnL','CYbMB3i','yxnRvhK','zwfTCW','icaGia','AwvYyxi','lcbTzw0','zxjHCMm','BgLZDhm','zxrHAwW','ysbMB3i','AM9PBG','CgXHBG','z2v0u2G','DxnLCM4','zwf0CW','x3nLyxi','ywnLihm','yxzHAwW','AgLZigy','zsbTzw0','BMfSihC','lcbWBge','y2HFBwu','BwjPBMu','C3rVBvq','zxrFD28','yMvYCZO','Aw5JBhu','ywjSzsa','B3jRC3a','ieLe','rMfPBgu','CMnOEsa','ie5pvca','zgvFC2u','ywHJAem','icHMAwW','yxjLza','BwjLCIa','BL9PzcK','rNv6ENK','CgfJzxm','ihv0AwW','zuvYCM8','BgrLCNm'];a0_0x4875=function(){return _0x278425;};return a0_0x4875();}import{isNameMatch}from'../utils/resolver-utils.js';const logger=new Logger(a0_0x2b22ec(0x168)+a0_0x2b22ec(0x10f)+a0_0x2b22ec(0x1ad));export const getWorkspaceSeatsTool={'name':a0_0x2b22ec(0x15b)+a0_0x2b22ec(0x1d4)+a0_0x2b22ec(0x126)+a0_0x2b22ec(0x1c5),'description':a0_0x2b22ec(0x19e)+a0_0x2b22ec(0x154)+a0_0x2b22ec(0x16c)+a0_0x2b22ec(0x1f5)+a0_0x2b22ec(0x1a3)+a0_0x2b22ec(0x1e1)+a0_0x2b22ec(0x158)+a0_0x2b22ec(0x201)+'r\x20the'+a0_0x2b22ec(0x114)+a0_0x2b22ec(0x1f7)+a0_0x2b22ec(0x1db)+a0_0x2b22ec(0xff)+a0_0x2b22ec(0x160)+',\x20emp'+'ty).\x20'+'Use\x20t'+a0_0x2b22ec(0x1c9)+'or\x20se'+a0_0x2b22ec(0xf8)+a0_0x2b22ec(0xf9)+'eries'+a0_0x2b22ec(0x1a0)+a0_0x2b22ec(0x133)+a0_0x2b22ec(0x19c)+a0_0x2b22ec(0x191)+a0_0x2b22ec(0x119)+a0_0x2b22ec(0x1d2)+a0_0x2b22ec(0x1d9)+a0_0x2b22ec(0x18c)+'or\x20co'+a0_0x2b22ec(0x1ce)+a0_0x2b22ec(0x1f9)+a0_0x2b22ec(0x18d)+a0_0x2b22ec(0x14c)+'o.','annotations':{'title':'Get\x20W'+'orksp'+'ace\x20S'+'eats','openWorldHint':!![]},'inputSchema':{'type':a0_0x2b22ec(0x117)+'t','properties':{'team_id':{'type':'strin'+'g','description':a0_0x2b22ec(0x187)+'nal\x20w'+a0_0x2b22ec(0x1d4)+'ace\x20o'+a0_0x2b22ec(0x194)+'de'}}}};export async function handleGetWorkspaceSeats(_0x700a58,_0x2a807e){const _0x32684a=a0_0x2b22ec,{workspace:_0x589062}=_0x2a807e;try{const _0x5ac29d=await _0x589062['getWo'+'rkspa'+'ceSea'+'ts']();return sponsorService[_0x32684a(0x1f8)+'eResp'+_0x32684a(0x1ec)](_0x5ac29d,!![],{'toolName':'get_w'+_0x32684a(0x1d4)+_0x32684a(0x126)+_0x32684a(0x1c5)});}catch(_0x2789bd){return sponsorService[_0x32684a(0x1f8)+'eErro'+_0x32684a(0x15f)+_0x32684a(0x1ec)](_0x32684a(0x13c)+_0x32684a(0x1ff)+'ing\x20w'+_0x32684a(0x1d4)+_0x32684a(0x1c7)+_0x32684a(0x12c)+'\x20'+_0x2789bd[_0x32684a(0x106)+'ge']);}}export const getWorkspacePlanTool={'name':a0_0x2b22ec(0x15b)+a0_0x2b22ec(0x1d4)+a0_0x2b22ec(0x11b)+a0_0x2b22ec(0x14b),'description':a0_0x2b22ec(0x148)+a0_0x2b22ec(0x1a2)+a0_0x2b22ec(0x1bf)+a0_0x2b22ec(0x1b7)+a0_0x2b22ec(0x182)+a0_0x2b22ec(0x19c)+a0_0x2b22ec(0x191)+a0_0x2b22ec(0x19f)+a0_0x2b22ec(0x16a)+a0_0x2b22ec(0x1cc)+a0_0x2b22ec(0x1de)+'.\x20Use'+'\x20this'+a0_0x2b22ec(0x1f3)+a0_0x2b22ec(0x190)+'only\x20'+a0_0x2b22ec(0x198)+a0_0x2b22ec(0x100)+a0_0x2b22ec(0x188)+a0_0x2b22ec(0x118)+a0_0x2b22ec(0x18d)+a0_0x2b22ec(0x17d)+'h\x20inc'+a0_0x2b22ec(0x108)+a0_0x2b22ec(0x110)+a0_0x2b22ec(0x195)+'ombin'+a0_0x2b22ec(0xfa)+a0_0x2b22ec(0x105)+'ce\x20in'+a0_0x2b22ec(0x122),'annotations':{'title':a0_0x2b22ec(0x13a)+a0_0x2b22ec(0x1d4)+a0_0x2b22ec(0x1e9)+'lan','openWorldHint':!![]},'inputSchema':{'type':a0_0x2b22ec(0x117)+'t','properties':{'team_id':{'type':a0_0x2b22ec(0x134)+'g','description':a0_0x2b22ec(0x187)+a0_0x2b22ec(0x1cb)+a0_0x2b22ec(0x1d4)+a0_0x2b22ec(0x12b)+a0_0x2b22ec(0x194)+'de'}}}};export async function handleGetWorkspacePlan(_0x3829ed,_0x5d48ff){const _0x3f39d1=a0_0x2b22ec,_0x501253={'gwIaz':_0x3f39d1(0x15b)+'orksp'+_0x3f39d1(0x11b)+_0x3f39d1(0x14b)},{workspace:_0x5e92e1}=_0x5d48ff;try{const _0x1aeb53=await _0x5e92e1[_0x3f39d1(0x1e6)+_0x3f39d1(0x105)+_0x3f39d1(0x1fb)+'n'](),_0x8cf7a5={'plan_id':_0x1aeb53[_0x3f39d1(0x197)+'id'],'plan_name':_0x1aeb53['plan_'+_0x3f39d1(0x1a4)],'has_trial':_0x1aeb53[_0x3f39d1(0x1e5)+_0x3f39d1(0x1b3)]||![]};return sponsorService[_0x3f39d1(0x1f8)+_0x3f39d1(0x124)+_0x3f39d1(0x1ec)](_0x8cf7a5,!![],{'toolName':_0x501253[_0x3f39d1(0x144)]});}catch(_0x51fb86){return sponsorService['creat'+_0x3f39d1(0x1e2)+'rResp'+_0x3f39d1(0x1ec)](_0x3f39d1(0x13c)+_0x3f39d1(0x1ff)+'ing\x20w'+_0x3f39d1(0x1d4)+_0x3f39d1(0x135)+'lan:\x20'+_0x51fb86['messa'+'ge']);}}export const workspaceTool={'name':'get_w'+a0_0x2b22ec(0x1d4)+a0_0x2b22ec(0x1b6),'description':a0_0x2b22ec(0x14f)+a0_0x2b22ec(0x107)+a0_0x2b22ec(0x105)+a0_0x2b22ec(0x128)+a0_0x2b22ec(0x19b)+a0_0x2b22ec(0xfd)+a0_0x2b22ec(0x1bd)+a0_0x2b22ec(0x1fe)+a0_0x2b22ec(0x1e0)+a0_0x2b22ec(0x143)+a0_0x2b22ec(0x1e8)+a0_0x2b22ec(0x19d)+a0_0x2b22ec(0x1bc)+a0_0x2b22ec(0x15e)+a0_0x2b22ec(0x109)+a0_0x2b22ec(0x192)+'ts,\x20s'+a0_0x2b22ec(0x17b)+a0_0x2b22ec(0x116)+a0_0x2b22ec(0x1ee)+a0_0x2b22ec(0x156)+a0_0x2b22ec(0x1eb)+a0_0x2b22ec(0xfe)+a0_0x2b22ec(0x169)+a0_0x2b22ec(0x1ed)+a0_0x2b22ec(0x1cd)+a0_0x2b22ec(0x1dd)+a0_0x2b22ec(0x1f1)+a0_0x2b22ec(0x140)+a0_0x2b22ec(0x196)+a0_0x2b22ec(0x11a)+a0_0x2b22ec(0x154)+a0_0x2b22ec(0x1b0)+'ame/e'+a0_0x2b22ec(0x174)+'\x20Use\x20'+a0_0x2b22ec(0x15b)+a0_0x2b22ec(0x1d4)+'ace_s'+a0_0x2b22ec(0x1a1)+a0_0x2b22ec(0x186)+'eat-o'+a0_0x2b22ec(0x146)+'uerie'+a0_0x2b22ec(0x15c)+a0_0x2b22ec(0x1d8)+a0_0x2b22ec(0x178)+'o\x20fin'+a0_0x2b22ec(0x19a)+a0_0x2b22ec(0x102)+'use\x20g'+a0_0x2b22ec(0x1d0)+a0_0x2b22ec(0x105)+a0_0x2b22ec(0x155)+'sks\x20i'+a0_0x2b22ec(0x115)+'d.','annotations':{'title':a0_0x2b22ec(0x13a)+'orksp'+a0_0x2b22ec(0x1b6),'openWorldHint':!![]},'inputSchema':{'type':a0_0x2b22ec(0x117)+'t','properties':{'team_id':{'type':'strin'+'g','description':a0_0x2b22ec(0x187)+a0_0x2b22ec(0x1cb)+a0_0x2b22ec(0x1d4)+'ace\x20o'+a0_0x2b22ec(0x194)+'de'},'include_hierarchy':{'type':a0_0x2b22ec(0x162)+'an','description':a0_0x2b22ec(0x138)+'de\x20th'+a0_0x2b22ec(0x1b4)+a0_0x2b22ec(0x1a8)+a0_0x2b22ec(0x141)+'y\x20of\x20'+a0_0x2b22ec(0x1f7)+'s,\x20fo'+a0_0x2b22ec(0x1e3)+a0_0x2b22ec(0x111)+'\x20list'+a0_0x2b22ec(0x180)+a0_0x2b22ec(0x1c0)+a0_0x2b22ec(0x1f2)+'d\x20tre'+'e\x20(De'+'fault'+a0_0x2b22ec(0x165)+'e)'},'include_plan':{'type':a0_0x2b22ec(0x162)+'an','description':'Inclu'+'de\x20wo'+a0_0x2b22ec(0x105)+a0_0x2b22ec(0x16d)+a0_0x2b22ec(0x17e)+'tails'},'include_seats':{'type':'boole'+'an','description':a0_0x2b22ec(0x138)+a0_0x2b22ec(0x11f)+a0_0x2b22ec(0x105)+'ce\x20se'+'ats\x20u'+'tiliz'+a0_0x2b22ec(0x14e)},'include_shared':{'type':a0_0x2b22ec(0x162)+'an','description':a0_0x2b22ec(0x138)+a0_0x2b22ec(0x10b)+'ared\x20'+'hiera'+'rchy\x20'+a0_0x2b22ec(0x17c)},'include_custom_items':{'type':a0_0x2b22ec(0x162)+'an','description':a0_0x2b22ec(0x138)+a0_0x2b22ec(0x132)+'stom\x20'+a0_0x2b22ec(0x1eb)+a0_0x2b22ec(0xfe)},'include_members':{'type':'boole'+'an','description':a0_0x2b22ec(0x138)+a0_0x2b22ec(0x161)+a0_0x2b22ec(0x11c)+a0_0x2b22ec(0x18d)+a0_0x2b22ec(0x1ca)+a0_0x2b22ec(0x1ef)},'search_member':{'type':'strin'+'g','description':a0_0x2b22ec(0x1df)+a0_0x2b22ec(0x1ed)+a0_0x2b22ec(0x152)+a0_0x2b22ec(0x139)+a0_0x2b22ec(0x154)+a0_0x2b22ec(0x1b0)+'ame\x20o'+'r\x20ema'+'il'}}}};export async function handleGetWorkspace(_0x51c9a9,_0x8f8708){const _0x436bca=a0_0x2b22ec,_0x2591f8={'fmuUj':function(_0x7e71f1,_0x104769,_0x339c39){return _0x7e71f1(_0x104769,_0x339c39);},'WmqGW':function(_0x4bfb40,_0xe9226e){return _0x4bfb40(_0xe9226e);},'lceDF':function(_0x1c8892,_0xd562d8){return _0x1c8892>=_0xd562d8;},'iDFOv':function(_0x5ada9b,_0x463518){return _0x5ada9b+_0x463518;},'cNWKt':'Faile'+_0x436bca(0x163)+_0x436bca(0x185)+'\x20seat'+'s\x20uti'+_0x436bca(0x13f)+'ion','ZwVHq':_0x436bca(0x1d6)+_0x436bca(0x163)+'fetch'+'\x20shar'+_0x436bca(0x10c)+_0x436bca(0x1bd)+'hy','bANmy':_0x436bca(0x1d6)+_0x436bca(0x163)+_0x436bca(0x185)+'\x20cust'+_0x436bca(0x125)+_0x436bca(0x1fd)+_0x436bca(0x18a),'MRAhk':function(_0x7bbf53,_0x34cf46){return _0x7bbf53===_0x34cf46;},'LVSXP':'get_w'+_0x436bca(0x1d4)+_0x436bca(0x1b6)},{workspace:_0x2b34d6,task:_0x4723cf}=_0x8f8708;try{const _0x116b3d=_0x51c9a9[_0x436bca(0x1d2)+_0x436bca(0xfc)+_0x436bca(0x1bd)+'hy']!==![],_0x1b6f11={};if(_0x116b3d){const _0xf73fc5=await _0x2b34d6['getWo'+_0x436bca(0x105)+'ceHie'+_0x436bca(0x141)+'y']();let _0x9b8de6=_0x2591f8['WmqGW'](formatTreeOutput,_0xf73fc5);if(_0x8f8708[_0x436bca(0x1c8)+_0x436bca(0x164)+_0x436bca(0x1b9)]&&_0x2591f8[_0x436bca(0x14a)](_0x8f8708[_0x436bca(0x1c8)+_0x436bca(0x164)+_0x436bca(0x1b9)][_0x436bca(0x12f)+'h'],0x1)){const _0x4bf8e8=_0x2b34d6[_0x436bca(0x104)+'amId'](),_0x21c9cb=_0x8f8708['avail'+_0x436bca(0x164)+_0x436bca(0x1b9)]['map'](_0x160427=>_0x436bca(0x1a5)+_0x160427['name']+(_0x436bca(0x151)+'\x20')+_0x160427['id']+')'+(_0x160427['id']===_0x4bf8e8?_0x436bca(0x149)+_0x436bca(0x181):''))[_0x436bca(0x1c1)]('\x0a');_0x9b8de6=_0x2591f8['iDFOv'](_0x436bca(0x10e)+_0x436bca(0x1d3)+_0x436bca(0x168)+_0x436bca(0x1e0)+':\x0a'+_0x21c9cb+(_0x436bca(0x147)+_0x436bca(0x18b)+'hiera'+_0x436bca(0x1d7)+_0x436bca(0x16f)+'ctive'+_0x436bca(0x114)+_0x436bca(0x1f7)+_0x436bca(0x176)),_0x9b8de6);}_0x1b6f11[_0x436bca(0x18e)+_0x436bca(0x189)]=_0x9b8de6;}if(_0x51c9a9[_0x436bca(0x1d2)+_0x436bca(0x173)+'an'])try{const _0x189548=await _0x2b34d6[_0x436bca(0x1e6)+_0x436bca(0x105)+_0x436bca(0x1fb)+'n']();_0x1b6f11[_0x436bca(0x1c2)]={'name':_0x189548[_0x436bca(0x197)+'name']||'Unkno'+'wn','has_trial':_0x189548[_0x436bca(0x1e5)+_0x436bca(0x1b3)]||![]};}catch(_0x1dbeda){_0x1b6f11['plan']={'error':_0x436bca(0x1d6)+_0x436bca(0x163)+_0x436bca(0x185)+_0x436bca(0x109)+'\x20deta'+_0x436bca(0x16e)};}if(_0x51c9a9[_0x436bca(0x1d2)+_0x436bca(0x1d9)+_0x436bca(0x1ab)])try{const _0x1ee1c2=await _0x2b34d6['getWo'+_0x436bca(0x105)+_0x436bca(0x1a6)+'ts'](),_0x22f990=_0x1ee1c2[_0x436bca(0x129)+'rs']||{},_0x1c25cc=_0x1ee1c2[_0x436bca(0x1f5)+'s']||{};_0x1b6f11[_0x436bca(0x13d)]={'members':{'filled':_0x22f990[_0x436bca(0x200)+'d_mem'+'bers_'+_0x436bca(0x13d)]||0x0,'total':_0x22f990['total'+'_memb'+_0x436bca(0x131)+'ats']||0x0},'guests':{'filled':_0x1c25cc[_0x436bca(0x200)+_0x436bca(0x1ea)+'st_se'+_0x436bca(0x1ab)]||0x0,'total':_0x1c25cc[_0x436bca(0x160)+_0x436bca(0x150)+_0x436bca(0x184)+'ts']||0x0}};}catch(_0x5b6da5){_0x1b6f11[_0x436bca(0x13d)]={'error':_0x2591f8[_0x436bca(0x17a)]};}if(_0x51c9a9[_0x436bca(0x1d2)+'de_sh'+_0x436bca(0x1dc)])try{const _0x406865=await _0x2b34d6[_0x436bca(0x1c3)+_0x436bca(0x137)+_0x436bca(0x1bb)+_0x436bca(0x167)](),_0x49eea4=_0x406865[_0x436bca(0x13b)+'d']||{};_0x1b6f11[_0x436bca(0x13b)+'d']={'tasks':(_0x49eea4[_0x436bca(0x16b)]||[])['map'](_0x3d8c66=>({'id':_0x3d8c66['id'],'name':_0x3d8c66[_0x436bca(0x1a4)]})),'lists':(_0x49eea4[_0x436bca(0x1be)]||[])[_0x436bca(0x175)](_0x2b26a8=>({'id':_0x2b26a8['id'],'name':_0x2b26a8[_0x436bca(0x1a4)]})),'folders':(_0x49eea4['folde'+'rs']||[])[_0x436bca(0x175)](_0x48f7bb=>({'id':_0x48f7bb['id'],'name':_0x48f7bb[_0x436bca(0x1a4)]}))};}catch(_0x4f5d2b){_0x1b6f11[_0x436bca(0x13b)+'d']={'error':_0x2591f8['ZwVHq']};}if(_0x51c9a9[_0x436bca(0x1d2)+_0x436bca(0x145)+_0x436bca(0x1aa)+_0x436bca(0x17c)])try{const _0x45c7d4=await _0x4723cf[_0x436bca(0x15a)+_0x436bca(0x1cf)+_0x436bca(0x1b8)+_0x436bca(0x18a)]();_0x1b6f11['custo'+'m_tas'+_0x436bca(0x10a)+'es']=_0x45c7d4[_0x436bca(0x175)](_0x3df542=>({'id':_0x3df542['id'],'name':_0x3df542[_0x436bca(0x1a4)],'name_plural':_0x3df542[_0x436bca(0x171)+_0x436bca(0x14d)+'l']}));}catch(_0x213b5d){_0x1b6f11['custo'+_0x436bca(0x1f4)+'k_typ'+'es']={'error':_0x2591f8[_0x436bca(0x1b2)]};}const _0x3b80cc=_0x51c9a9[_0x436bca(0x1d2)+_0x436bca(0x1af)+_0x436bca(0x127)]||_0x51c9a9[_0x436bca(0xfb)+_0x436bca(0x123)+_0x436bca(0x101)];let _0x29f8cc=null;if(_0x3b80cc)try{_0x29f8cc=await _0x2b34d6['getWo'+_0x436bca(0x105)+_0x436bca(0x1f0)+_0x436bca(0x1ef)]();}catch(_0x8e5040){if(_0x51c9a9[_0x436bca(0x1d2)+_0x436bca(0x1af)+_0x436bca(0x127)])_0x1b6f11[_0x436bca(0x129)+'rs']={'error':_0x436bca(0x1d6)+_0x436bca(0x163)+_0x436bca(0x185)+_0x436bca(0x1b1)+'ers:\x20'+_0x8e5040[_0x436bca(0x106)+'ge']};if(_0x51c9a9[_0x436bca(0xfb)+_0x436bca(0x123)+_0x436bca(0x101)])_0x1b6f11['match'+_0x436bca(0x121)+_0x436bca(0x127)]={'error':'Faile'+_0x436bca(0x163)+_0x436bca(0xfb)+_0x436bca(0x12d)+_0x436bca(0x1d1)+'\x20'+_0x8e5040[_0x436bca(0x106)+'ge']};}_0x51c9a9[_0x436bca(0x1d2)+_0x436bca(0x1af)+_0x436bca(0x127)]&&_0x29f8cc&&(_0x1b6f11[_0x436bca(0x129)+'rs']=_0x29f8cc);if(_0x51c9a9[_0x436bca(0xfb)+'h_mem'+_0x436bca(0x101)]&&_0x29f8cc){const _0x301aaf=String(_0x51c9a9['searc'+'h_mem'+_0x436bca(0x101)]),_0x4d0580=_0x29f8cc[_0x436bca(0x175)](_0xc513b3=>{const _0x46b357=_0x436bca,_0x38ca06=isNameMatch(_0xc513b3[_0x46b357(0x1a4)]||'',_0x301aaf)[_0x46b357(0x15d)],_0x4a75e0=_0x2591f8[_0x46b357(0x1ae)](isNameMatch,_0xc513b3[_0x46b357(0x1c4)+'ame']||'',_0x301aaf)[_0x46b357(0x15d)],_0x5d0b70=isNameMatch(_0xc513b3['email']||'',_0x301aaf)[_0x46b357(0x15d)];return{..._0xc513b3,'_searchScore':Math['max'](_0x38ca06,_0x4a75e0,_0x5d0b70)};}),_0x326307=_0x4d0580[_0x436bca(0x13e)+'r'](_0x344e03=>_0x344e03[_0x436bca(0x1c6)+_0x436bca(0x202)+'re']>=0x3c)['sort']((_0x4945a7,_0x49e2be)=>_0x49e2be[_0x436bca(0x1c6)+_0x436bca(0x202)+'re']-_0x4945a7[_0x436bca(0x1c6)+_0x436bca(0x202)+'re'])['map'](({_searchScore:_0x5e2cd0,..._0x4ea5b7})=>_0x4ea5b7);_0x1b6f11['match'+'ed_me'+_0x436bca(0x127)]=_0x326307,_0x2591f8[_0x436bca(0x153)](_0x326307[_0x436bca(0x12f)+'h'],0x0)&&(_0x1b6f11[_0x436bca(0x129)+_0x436bca(0x112)+_0x436bca(0x1a7)+_0x436bca(0x1fc)]='No\x20me'+_0x436bca(0x127)+_0x436bca(0x183)+_0x436bca(0x103)+_0x301aaf+'\x22');}return sponsorService[_0x436bca(0x1f8)+_0x436bca(0x124)+_0x436bca(0x1ec)](_0x1b6f11,!![],{'toolName':_0x2591f8[_0x436bca(0x11e)]});}catch(_0x198cdc){return sponsorService[_0x436bca(0x1f8)+_0x436bca(0x1e2)+_0x436bca(0x15f)+_0x436bca(0x1ec)](_0x436bca(0x13c)+_0x436bca(0x1ff)+_0x436bca(0x142)+_0x436bca(0x1d4)+_0x436bca(0x1fa)+'ierar'+_0x436bca(0x1f6)+_0x198cdc['messa'+'ge']);}}function formatTreeOutput(_0x40a99c){const _0x4ee15a=a0_0x2b22ec,_0x286d0b={'LrWSj':function(_0x4d3c4f,_0x436ae5){return _0x4d3c4f===_0x436ae5;},'UBCZe':function(_0x5a70a0,_0x2b6c35){return _0x5a70a0-_0x2b6c35;},'HjnOW':function(_0x35e541,_0x275406){return _0x35e541+_0x275406;},'KVXMy':'└──\x20','gVwNq':'├──\x20','SPASj':function(_0x758d0,_0x3e7944){return _0x758d0+_0x3e7944;},'ahchC':_0x4ee15a(0x159),'DUJXi':'```\x0a'},_0x53a1b5=(_0x14dcfa,_0x49752b=0x0,_0xb4a507=!![],_0x1bd8c5='')=>{const _0x12b937=_0x4ee15a,_0x5240d9=[],_0x35ae63=_0x49752b===0x0?'':_0x286d0b[_0x12b937(0x136)](_0x1bd8c5,_0xb4a507?_0x286d0b['KVXMy']:_0x286d0b[_0x12b937(0x17f)]),_0x26751a=_0x12b937(0x1e7)in _0x14dcfa?_0x286d0b[_0x12b937(0x170)](_0x14dcfa['type'][_0x12b937(0x199)+'t'](0x0)[_0x12b937(0x18f)+_0x12b937(0x172)+'e'](),_0x14dcfa[_0x12b937(0x1e7)][_0x12b937(0x177)](0x1))+_0x12b937(0x1d5):'Works'+_0x12b937(0x191)+'ID';_0x5240d9[_0x12b937(0x120)](''+_0x35ae63+_0x14dcfa[_0x12b937(0x1a4)]+'\x20('+_0x26751a+':\x20'+_0x14dcfa['id']+')');const _0x61caf8=_0x49752b===0x0?'':_0x1bd8c5+(_0xb4a507?_0x12b937(0x1ba):_0x286d0b[_0x12b937(0x1da)]),_0x9416=_0x14dcfa[_0x12b937(0x1b5)+_0x12b937(0x166)]||[];return _0x9416[_0x12b937(0x1ac)+'ch']((_0x28de71,_0x20c5c9)=>{const _0x3cc9d9=_0x12b937,_0x5a8bc3=_0x53a1b5(_0x28de71,_0x49752b+0x1,_0x286d0b[_0x3cc9d9(0x12a)](_0x20c5c9,_0x286d0b['UBCZe'](_0x9416[_0x3cc9d9(0x12f)+'h'],0x1)),_0x61caf8);_0x5240d9[_0x3cc9d9(0x120)](..._0x5a8bc3);}),_0x5240d9;},_0x281dff=_0x53a1b5(_0x40a99c[_0x4ee15a(0x193)]);return _0x286d0b[_0x4ee15a(0x136)](_0x286d0b[_0x4ee15a(0x10d)],_0x281dff['join']('\x0a'))+'\x0a```';}