@taazkareem/clickup-mcp-server 0.14.1 → 0.14.3

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.
Files changed (93) hide show
  1. package/README.md +250 -192
  2. package/build/auth/routes.js +1 -1
  3. package/build/config.js +1 -1
  4. package/build/index.js +1 -1
  5. package/build/license.js +1 -1
  6. package/build/logger.js +1 -1
  7. package/build/middleware/auth.js +1 -1
  8. package/build/middleware/security.js +1 -1
  9. package/build/personas.js +1 -1
  10. package/build/prompts.js +1 -1
  11. package/build/server.js +1 -1
  12. package/build/services/clickup/audit-logs.js +1 -1
  13. package/build/services/clickup/base.js +1 -1
  14. package/build/services/clickup/bulk.js +1 -1
  15. package/build/services/clickup/chat.js +1 -1
  16. package/build/services/clickup/custom-field.js +1 -1
  17. package/build/services/clickup/document.js +1 -1
  18. package/build/services/clickup/errors.js +1 -1
  19. package/build/services/clickup/folder.js +1 -1
  20. package/build/services/clickup/goal.js +1 -1
  21. package/build/services/clickup/guest.js +1 -1
  22. package/build/services/clickup/index.js +1 -1
  23. package/build/services/clickup/list.js +1 -1
  24. package/build/services/clickup/rate-limiter.js +1 -1
  25. package/build/services/clickup/sprint.js +1 -1
  26. package/build/services/clickup/tag.js +1 -1
  27. package/build/services/clickup/task/index.js +1 -1
  28. package/build/services/clickup/task/task-attachments.js +1 -1
  29. package/build/services/clickup/task/task-checklists.js +1 -1
  30. package/build/services/clickup/task/task-comments.js +1 -1
  31. package/build/services/clickup/task/task-core.js +1 -1
  32. package/build/services/clickup/task/task-relationships.js +1 -1
  33. package/build/services/clickup/task/task-search.js +1 -1
  34. package/build/services/clickup/task/task-service.js +1 -1
  35. package/build/services/clickup/task/task-tags.js +1 -1
  36. package/build/services/clickup/task-templates.js +1 -1
  37. package/build/services/clickup/time.js +1 -1
  38. package/build/services/clickup/types.js +1 -1
  39. package/build/services/clickup/user-group.js +1 -1
  40. package/build/services/clickup/view.js +1 -1
  41. package/build/services/clickup/webhook.js +1 -1
  42. package/build/services/clickup/workspace.js +1 -1
  43. package/build/services/oauth.js +1 -1
  44. package/build/services/shared.js +1 -1
  45. package/build/sse_server.js +1 -1
  46. package/build/tools/attachment.js +1 -1
  47. package/build/tools/audit-logs.js +1 -1
  48. package/build/tools/chat/handlers.js +1 -1
  49. package/build/tools/chat/index.js +1 -1
  50. package/build/tools/chat/utils.js +1 -1
  51. package/build/tools/custom-field.js +1 -1
  52. package/build/tools/documents.js +1 -1
  53. package/build/tools/feedback.js +1 -1
  54. package/build/tools/folder.js +1 -1
  55. package/build/tools/goal.js +1 -1
  56. package/build/tools/guest.js +1 -1
  57. package/build/tools/index.js +1 -1
  58. package/build/tools/list.js +1 -1
  59. package/build/tools/registry.js +1 -1
  60. package/build/tools/space.js +1 -1
  61. package/build/tools/sprint.js +1 -1
  62. package/build/tools/tag.js +1 -1
  63. package/build/tools/task/bulk-operations.js +1 -1
  64. package/build/tools/task/checklists.js +1 -1
  65. package/build/tools/task/handlers.js +1 -1
  66. package/build/tools/task/index.js +1 -1
  67. package/build/tools/task/main.js +1 -1
  68. package/build/tools/task/markdown-converter.js +1 -1
  69. package/build/tools/task/params.js +1 -1
  70. package/build/tools/task/relationships.js +1 -1
  71. package/build/tools/task/single-operations.js +1 -1
  72. package/build/tools/task/utilities.js +1 -1
  73. package/build/tools/task/workspace-operations.js +1 -1
  74. package/build/tools/task-templates.js +1 -1
  75. package/build/tools/time_entries.js +1 -1
  76. package/build/tools/user-group.js +1 -1
  77. package/build/tools/utils.js +1 -1
  78. package/build/tools/view.js +1 -1
  79. package/build/tools/webhook.js +1 -1
  80. package/build/tools/workspace.js +1 -1
  81. package/build/transport/mcp-handler.js +1 -1
  82. package/build/utils/cache.js +1 -1
  83. package/build/utils/color-processor.js +1 -1
  84. package/build/utils/concurrency-utils.js +1 -1
  85. package/build/utils/context-utils.js +1 -1
  86. package/build/utils/date-utils.js +1 -1
  87. package/build/utils/log-sanitizer.js +1 -1
  88. package/build/utils/member-utils.js +1 -1
  89. package/build/utils/request-utils.js +1 -1
  90. package/build/utils/resolver-utils.js +1 -1
  91. package/build/utils/sponsor-service.js +1 -1
  92. package/build/utils/token-utils.js +1 -1
  93. package/package.json +1 -1
@@ -1 +1 @@
1
- const a0_0x40e62d=a0_0xf2b0;(function(_0x3c10ed,_0xc4b9fd){const _0x28cf47=a0_0xf2b0,_0x554628=_0x3c10ed();while(!![]){try{const _0x217343=parseInt(_0x28cf47(0x17f))/0x1+-parseInt(_0x28cf47(0x12e))/0x2*(-parseInt(_0x28cf47(0x11f))/0x3)+parseInt(_0x28cf47(0x18a))/0x4*(parseInt(_0x28cf47(0x196))/0x5)+-parseInt(_0x28cf47(0x18f))/0x6*(parseInt(_0x28cf47(0x171))/0x7)+parseInt(_0x28cf47(0x1a8))/0x8*(-parseInt(_0x28cf47(0x13e))/0x9)+parseInt(_0x28cf47(0x15b))/0xa*(-parseInt(_0x28cf47(0x1a5))/0xb)+parseInt(_0x28cf47(0x14a))/0xc;if(_0x217343===_0xc4b9fd)break;else _0x554628['push'](_0x554628['shift']());}catch(_0x4108ef){_0x554628['push'](_0x554628['shift']());}}}(a0_0x4294,0x739d9));import{sponsorService}from'../utils/sponsor-service.js';import{Logger}from'../logger.js';import{parseFilterDate}from'../utils/date-utils.js';function a0_0xf2b0(_0x8211cc,_0x1a6fc6){_0x8211cc=_0x8211cc-0x11c;const _0x42942e=a0_0x4294();let _0xf2b05a=_0x42942e[_0x8211cc];if(a0_0xf2b0['wkeDSy']===undefined){var _0x56deb5=function(_0x39ecfc){const _0x55a271='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37c060='',_0x126614='';for(let _0x5f133a=0x0,_0x2c0cd8,_0x54da37,_0x153934=0x0;_0x54da37=_0x39ecfc['charAt'](_0x153934++);~_0x54da37&&(_0x2c0cd8=_0x5f133a%0x4?_0x2c0cd8*0x40+_0x54da37:_0x54da37,_0x5f133a++%0x4)?_0x37c060+=String['fromCharCode'](0xff&_0x2c0cd8>>(-0x2*_0x5f133a&0x6)):0x0){_0x54da37=_0x55a271['indexOf'](_0x54da37);}for(let _0x3004db=0x0,_0x57b191=_0x37c060['length'];_0x3004db<_0x57b191;_0x3004db++){_0x126614+='%'+('00'+_0x37c060['charCodeAt'](_0x3004db)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x126614);};a0_0xf2b0['PaYTuI']=_0x56deb5,a0_0xf2b0['BYfnRb']={},a0_0xf2b0['wkeDSy']=!![];}const _0x18eee6=_0x42942e[0x0],_0x18acb7=_0x8211cc+_0x18eee6,_0x544bb6=a0_0xf2b0['BYfnRb'][_0x18acb7];return!_0x544bb6?(_0xf2b05a=a0_0xf2b0['PaYTuI'](_0xf2b05a),a0_0xf2b0['BYfnRb'][_0x18acb7]=_0xf2b05a):_0xf2b05a=_0x544bb6,_0xf2b05a;}const logger=new Logger('audit'+a0_0x40e62d(0x197)+a0_0x40e62d(0x19f));function a0_0x4294(){const _0x169e69=['Ccbuzwe','mJCYCfrxDhbr','CgfJzsa','ywnLige','zvrLyw0','B2yGBg8','Bw9UDgG','msWGvw4','EcbTCYW','lcbVCIa','CNbYAxm','CIbPBIa','DgHPCYa','ntmXzuP5qvLn','CMTZCge','Axr5','y2fIAwW','ihjLDhu','zxjTAxm','zsaOzs4','z3mGDg8','u3rYAw4','z2uUifm','rw5Kig8','EsKUifi','y3jLyxq','B3jRC3a','zxmGv28','odqXnfnKCfnyrq','DNv4Dwm','BgLTAxq','tg9NCW','y2uGt3C','igfNBYi','zvjLC3a','ywWGBge','y3rPDMK','r2v0ihC','DML0Eq','ihbHz2K','zxjYB3i','DMvZihm','Dw0GBNu','zw50ihi','mta1mJu1DuzIBM54','DhmGAw4','z2v0ige','igzPBhq','C2vYlca','z2v0qxu','s2HIwee','zcb0BYa','kevUDgu','Bg9NCZO','AwvYyxi','y3vYC28','mZm3mdeWnfLqsvrPuG','zxf1zxm','ywDLBNq','yxrPB24','iIWGiJm','z2v0vgu','DgvHBv8','D2LSBca','Bs1MAwu','BMf0Dxi','BMLUzYa','BgLJA1u','BgfZDca','q3vYC28','zM9Yihq','y2H5ige','tg9N','mJbABuH6zhy','AgLZige','lIbszxe','x2rHDgu','DwLYzwq','ig9Yig4','B3rOzxi','Bg9NCYa','CIbMB3i','C3rYAw4','ywn0Axy','zs4Gu3u','C3nPB24','qMvNAw4','B25Zzq','DhKUcLi','CM92Awq','BNvTyMu','yxrL','CNzLCIa','BMvYiha','Dg9ju08','n3vuDxjxrq','DxbKyxq','vgHLiem','B3iGv28','zw5Kx2q','Acb0BYa','ChbVCNq','Aw5NCY0','zxiGyNK','CLjLC3a','DhKSihu','rMfPBgu','yw5KigG','zxf1Axi','otm2mtC0yuHNBwzl','zgf0yq','zuvYCM8','B2yGDgG','ieLMiha','Bg9NCW','AxGGBxm','yxvKAxq','DwrPDca','BwvZC2e','zIb0Agu','mty5ota4ne9fAe9fwG','tYa4nJa','vw5LEha','Bsbjrca','zgL0tg8','mZGZnZu0nNzpBerNwq','C3DPDgm','igrHExm','BNqGC2u','yw5Klxm','CYbju08','yxbWBgK','nwDmEvfYBq','lwXVz3m','D29YA3m','BwuGDg8','z2v0x2e','y2uGtMe','y3vYCMu','CMnOEs0','zwn1CMK','lxrVB2W','z3vHz2u','CgfJzq','y3vZDg8','lcbvBMK','DxbWB3i','ndGXnJa0mLDQwhbHBW','yw1jza'];a0_0x4294=function(){return _0x169e69;};return a0_0x4294();}export const getAuditLogsTool={'name':a0_0x40e62d(0x19a)+'udit_'+a0_0x40e62d(0x184),'description':a0_0x40e62d(0x137)+a0_0x40e62d(0x12c)+a0_0x40e62d(0x1aa)+'udit\x20'+a0_0x40e62d(0x162)+a0_0x40e62d(0x146)+a0_0x40e62d(0x11c)+'e\x20onl'+a0_0x40e62d(0x12a)+'etrie'+a0_0x40e62d(0x13b)+a0_0x40e62d(0x19e)+a0_0x40e62d(0x17b)+a0_0x40e62d(0x142)+a0_0x40e62d(0x17d)+a0_0x40e62d(0x148)+a0_0x40e62d(0x159)+a0_0x40e62d(0x136)+a0_0x40e62d(0x16a)+a0_0x40e62d(0x17e)+a0_0x40e62d(0x12d)+a0_0x40e62d(0x120)+a0_0x40e62d(0x132)+a0_0x40e62d(0x16f)+a0_0x40e62d(0x124)+'sions'+'.','annotations':{'title':'Get\x20A'+a0_0x40e62d(0x187)+a0_0x40e62d(0x131),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'team_id':{'type':a0_0x40e62d(0x164)+'g','description':a0_0x40e62d(0x173)+a0_0x40e62d(0x155)+a0_0x40e62d(0x1a7)+a0_0x40e62d(0x18d)+a0_0x40e62d(0x174)+'rkspa'+a0_0x40e62d(0x19b)+a0_0x40e62d(0x199)+'\x20use.'+a0_0x40e62d(0x183)+a0_0x40e62d(0x16b)+'ed,\x20t'+'he\x20se'+a0_0x40e62d(0x16e)+a0_0x40e62d(0x151)+a0_0x40e62d(0x190)+a0_0x40e62d(0x176)+a0_0x40e62d(0x11e)+a0_0x40e62d(0x198)+a0_0x40e62d(0x1a9)+a0_0x40e62d(0x158)+a0_0x40e62d(0x15c)+'nd\x20su'+'bsequ'+a0_0x40e62d(0x13d)+a0_0x40e62d(0x14b)+a0_0x40e62d(0x13f)+'\x20the\x20'+a0_0x40e62d(0x19c)+a0_0x40e62d(0x192)+a0_0x40e62d(0x167)+'.'},'applicability':{'type':a0_0x40e62d(0x164)+'g','enum':['auth-'+a0_0x40e62d(0x193)+'ecuri'+'ty',a0_0x40e62d(0x1a2)+a0_0x40e62d(0x152)+'lds','hiera'+a0_0x40e62d(0x19d)+'activ'+'ity','user-'+'activ'+a0_0x40e62d(0x121),a0_0x40e62d(0x14c)+'-sett'+a0_0x40e62d(0x178)+a0_0x40e62d(0x165)+a0_0x40e62d(0x121),a0_0x40e62d(0x161)+'-acti'+a0_0x40e62d(0x138)],'description':'Type\x20'+a0_0x40e62d(0x1ac)+a0_0x40e62d(0x126)+a0_0x40e62d(0x141)+a0_0x40e62d(0x179)+a0_0x40e62d(0x15d)+a0_0x40e62d(0x15f)+'.'},'start_date':{'type':['strin'+'g',a0_0x40e62d(0x16c)+'r'],'description':a0_0x40e62d(0x168)+a0_0x40e62d(0x154)+a0_0x40e62d(0x182)+'e\x20ran'+a0_0x40e62d(0x128)+a0_0x40e62d(0x1a4)+'ts\x20IS'+a0_0x40e62d(0x18b)+a0_0x40e62d(0x1ae)+a0_0x40e62d(0x185)+a0_0x40e62d(0x1b0)+a0_0x40e62d(0x153)+a0_0x40e62d(0x135)+'nguag'+a0_0x40e62d(0x125)+'g.,\x20\x22'+a0_0x40e62d(0x156)+a0_0x40e62d(0x1ad)+a0_0x40e62d(0x14e)+a0_0x40e62d(0x191)+a0_0x40e62d(0x133)+').'},'end_date':{'type':['strin'+'g',a0_0x40e62d(0x16c)+'r'],'description':a0_0x40e62d(0x129)+a0_0x40e62d(0x189)+'\x20rang'+a0_0x40e62d(0x166)+a0_0x40e62d(0x177)+a0_0x40e62d(0x194)+'\x208601'+a0_0x40e62d(0x1a3)+a0_0x40e62d(0x1af)+a0_0x40e62d(0x160)+'atura'+'l\x20lan'+a0_0x40e62d(0x1a0)+'.'},'limit':{'type':a0_0x40e62d(0x16c)+'r','description':'Maxim'+a0_0x40e62d(0x13c)+'mber\x20'+a0_0x40e62d(0x1ac)+a0_0x40e62d(0x126)+a0_0x40e62d(0x123)+'rn\x20(m'+'ax\x2010'+'0).'},'cursor':{'type':a0_0x40e62d(0x164)+'g','description':a0_0x40e62d(0x157)+a0_0x40e62d(0x163)+a0_0x40e62d(0x139)+'natio'+'n.'}},'required':[a0_0x40e62d(0x195)+'cabil'+'ity']}};export async function handleGetAuditLogs(_0x3d86e3,_0x5ee2c2){const _0x597c48=a0_0x40e62d,_0x129f15={'vuxuc':function(_0x430974,_0x3c6fc8){return _0x430974!==_0x3c6fc8;},'KhbXA':'Faile'+'d\x20to\x20'+_0x597c48(0x140)+_0x597c48(0x187)+'logs:'};try{_0x3d86e3[_0x597c48(0x150)+'id']&&_0x5ee2c2[_0x597c48(0x172)+_0x597c48(0x1ab)+'Id'](_0x3d86e3[_0x597c48(0x150)+'id']);const _0x4070d1=_0x3d86e3['appli'+_0x597c48(0x122)+'ity'],_0x5c90b9=parseFilterDate(_0x3d86e3['start'+_0x597c48(0x15e)]),_0x154454=parseFilterDate(_0x3d86e3[_0x597c48(0x175)+_0x597c48(0x16d)]),_0x28033b={'filter':{'applicability':_0x4070d1,'start_date':_0x5c90b9?new Date(_0x5c90b9)[_0x597c48(0x170)+'Strin'+'g']():undefined,'end_date':_0x154454?new Date(_0x154454)['toISO'+_0x597c48(0x127)+'g']():undefined}};(_0x3d86e3[_0x597c48(0x130)]!==undefined||_0x129f15[_0x597c48(0x12f)](_0x3d86e3[_0x597c48(0x149)+'r'],undefined))&&(_0x28033b['pagin'+_0x597c48(0x14d)]={'limit':_0x3d86e3[_0x597c48(0x130)],'cursor':_0x3d86e3[_0x597c48(0x149)+'r']});const _0x4dbf11=await _0x5ee2c2[_0x597c48(0x186)+_0x597c48(0x15a)][_0x597c48(0x143)+_0x597c48(0x18e)+'gs'](_0x5ee2c2[_0x597c48(0x198)+_0x597c48(0x1a1)][_0x597c48(0x14f)+_0x597c48(0x1a6)](),_0x28033b);if(!_0x4dbf11['succe'+'ss'])return sponsorService['creat'+_0x597c48(0x181)+_0x597c48(0x17a)+_0x597c48(0x169)](_0x4dbf11[_0x597c48(0x13a)]?.[_0x597c48(0x188)+'ge']||_0x597c48(0x17c)+_0x597c48(0x145)+_0x597c48(0x140)+'udit\x20'+'logs');return sponsorService[_0x597c48(0x12b)+_0x597c48(0x134)+_0x597c48(0x169)](_0x4dbf11[_0x597c48(0x180)]);}catch(_0x3ded49){return logger[_0x597c48(0x13a)](_0x129f15[_0x597c48(0x144)],_0x3ded49),sponsorService[_0x597c48(0x12b)+_0x597c48(0x181)+_0x597c48(0x17a)+_0x597c48(0x169)](_0x597c48(0x18c)+'ected'+'\x20erro'+_0x597c48(0x11d)+_0x597c48(0x19a)+'udit_'+_0x597c48(0x147)+'\x20'+_0x3ded49['messa'+'ge']);}}
1
+ function a0_0x3209(_0x59827c,_0x1d1788){_0x59827c=_0x59827c-0xbf;const _0x3c033a=a0_0x3c03();let _0x3209a2=_0x3c033a[_0x59827c];if(a0_0x3209['sZDROR']===undefined){var _0x4de68c=function(_0x252ba6){const _0x1b737d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xba8034='',_0x212491='';for(let _0x211542=0x0,_0x3b73ce,_0x405f86,_0x972ec3=0x0;_0x405f86=_0x252ba6['charAt'](_0x972ec3++);~_0x405f86&&(_0x3b73ce=_0x211542%0x4?_0x3b73ce*0x40+_0x405f86:_0x405f86,_0x211542++%0x4)?_0xba8034+=String['fromCharCode'](0xff&_0x3b73ce>>(-0x2*_0x211542&0x6)):0x0){_0x405f86=_0x1b737d['indexOf'](_0x405f86);}for(let _0x2a006a=0x0,_0x3045b0=_0xba8034['length'];_0x2a006a<_0x3045b0;_0x2a006a++){_0x212491+='%'+('00'+_0xba8034['charCodeAt'](_0x2a006a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x212491);};a0_0x3209['EUKvbu']=_0x4de68c,a0_0x3209['WiYYhZ']={},a0_0x3209['sZDROR']=!![];}const _0x5f1210=_0x3c033a[0x0],_0x302f76=_0x59827c+_0x5f1210,_0x742aca=a0_0x3209['WiYYhZ'][_0x302f76];return!_0x742aca?(_0x3209a2=a0_0x3209['EUKvbu'](_0x3209a2),a0_0x3209['WiYYhZ'][_0x302f76]=_0x3209a2):_0x3209a2=_0x742aca,_0x3209a2;}const a0_0x1e7358=a0_0x3209;(function(_0x3f0d7a,_0xa55108){const _0x373dd6=a0_0x3209,_0x4d52ac=_0x3f0d7a();while(!![]){try{const _0x112c75=parseInt(_0x373dd6(0x12d))/0x1+parseInt(_0x373dd6(0x110))/0x2+-parseInt(_0x373dd6(0x10a))/0x3*(-parseInt(_0x373dd6(0xe1))/0x4)+parseInt(_0x373dd6(0x107))/0x5*(-parseInt(_0x373dd6(0x126))/0x6)+parseInt(_0x373dd6(0xd8))/0x7+parseInt(_0x373dd6(0x151))/0x8+-parseInt(_0x373dd6(0x130))/0x9*(parseInt(_0x373dd6(0x111))/0xa);if(_0x112c75===_0xa55108)break;else _0x4d52ac['push'](_0x4d52ac['shift']());}catch(_0x2c05b7){_0x4d52ac['push'](_0x4d52ac['shift']());}}}(a0_0x3c03,0x3f2d2));import{sponsorService}from'../utils/sponsor-service.js';import{Logger}from'../logger.js';import{parseFilterDate}from'../utils/date-utils.js';const logger=new Logger(a0_0x1e7358(0xd7)+a0_0x1e7358(0x11a)+a0_0x1e7358(0x158));export const getAuditLogsTool={'name':a0_0x1e7358(0x115)+a0_0x1e7358(0x138)+a0_0x1e7358(0x143),'description':a0_0x1e7358(0x12a)+a0_0x1e7358(0xd1)+a0_0x1e7358(0x11e)+a0_0x1e7358(0x139)+a0_0x1e7358(0xe9)+a0_0x1e7358(0x129)+a0_0x1e7358(0x137)+a0_0x1e7358(0x132)+a0_0x1e7358(0x144)+a0_0x1e7358(0x101)+'ves\x20s'+'ecuri'+'ty,\x20u'+'ser,\x20'+a0_0x1e7358(0x14c)+'ierar'+a0_0x1e7358(0x14e)+'ctivi'+a0_0x1e7358(0xe4)+a0_0x1e7358(0x12c)+a0_0x1e7358(0x154)+'rkspa'+a0_0x1e7358(0xe3)+a0_0x1e7358(0x148)+a0_0x1e7358(0x13b)+'sions'+'.','annotations':{'title':a0_0x1e7358(0xd4)+'udit\x20'+a0_0x1e7358(0xea),'openWorldHint':!![]},'inputSchema':{'type':a0_0x1e7358(0x14f)+'t','properties':{'team_id':{'type':a0_0x1e7358(0x136)+'g','description':a0_0x1e7358(0x10d)+'lickU'+a0_0x1e7358(0xdd)+'m\x20ID\x20'+a0_0x1e7358(0x134)+'rkspa'+a0_0x1e7358(0x13f)+a0_0x1e7358(0xc2)+a0_0x1e7358(0x141)+a0_0x1e7358(0xc0)+a0_0x1e7358(0x113)+a0_0x1e7358(0xdc)+a0_0x1e7358(0xbf)+a0_0x1e7358(0xef)+a0_0x1e7358(0xc9)+a0_0x1e7358(0xd0)+a0_0x1e7358(0xfc)+a0_0x1e7358(0xed)+a0_0x1e7358(0xe0)+a0_0x1e7358(0xf7)+a0_0x1e7358(0xe6)+a0_0x1e7358(0xe7)+'nd\x20su'+a0_0x1e7358(0x125)+a0_0x1e7358(0xd6)+a0_0x1e7358(0x145)+a0_0x1e7358(0x102)+a0_0x1e7358(0x13e)+a0_0x1e7358(0x122)+a0_0x1e7358(0x156)+a0_0x1e7358(0xf9)+'.'},'applicability':{'type':'strin'+'g','enum':[a0_0x1e7358(0xe2)+a0_0x1e7358(0xf1)+'ecuri'+'ty','custo'+a0_0x1e7358(0x133)+'lds',a0_0x1e7358(0x131)+a0_0x1e7358(0x140)+a0_0x1e7358(0x127)+a0_0x1e7358(0xc3),a0_0x1e7358(0xd5)+a0_0x1e7358(0x127)+a0_0x1e7358(0xc3),a0_0x1e7358(0x147)+a0_0x1e7358(0xc8)+a0_0x1e7358(0xe8)+a0_0x1e7358(0x127)+'ity',a0_0x1e7358(0x104)+a0_0x1e7358(0x116)+'vity'],'description':a0_0x1e7358(0x12e)+a0_0x1e7358(0x105)+a0_0x1e7358(0xfe)+a0_0x1e7358(0x149)+a0_0x1e7358(0xca)+'.\x20Req'+a0_0x1e7358(0xdf)+'.'},'start_date':{'type':[a0_0x1e7358(0x136)+'g',a0_0x1e7358(0xfa)+'r'],'description':a0_0x1e7358(0x153)+'ning\x20'+a0_0x1e7358(0xf4)+a0_0x1e7358(0xc5)+'ge.\x20S'+a0_0x1e7358(0x13a)+a0_0x1e7358(0x157)+a0_0x1e7358(0x142)+a0_0x1e7358(0x11b)+a0_0x1e7358(0xee)+',\x20or\x20'+a0_0x1e7358(0xf5)+a0_0x1e7358(0x103)+a0_0x1e7358(0x11c)+a0_0x1e7358(0x100)+a0_0x1e7358(0xd2)+a0_0x1e7358(0x123)+a0_0x1e7358(0x12b)+a0_0x1e7358(0x108)+a0_0x1e7358(0xf2)+'\x20ago\x22'+').'},'end_date':{'type':[a0_0x1e7358(0x136)+'g',a0_0x1e7358(0xfa)+'r'],'description':a0_0x1e7358(0xcd)+'f\x20the'+a0_0x1e7358(0xfd)+a0_0x1e7358(0xc6)+a0_0x1e7358(0xeb)+'s\x20ISO'+a0_0x1e7358(0xcb)+a0_0x1e7358(0x146)+a0_0x1e7358(0x112)+a0_0x1e7358(0x152)+a0_0x1e7358(0x117)+a0_0x1e7358(0xc4)+'guage'+'.'},'limit':{'type':a0_0x1e7358(0xfa)+'r','description':a0_0x1e7358(0x14d)+'um\x20nu'+'mber\x20'+a0_0x1e7358(0x105)+'gs\x20to'+a0_0x1e7358(0x12f)+a0_0x1e7358(0xcc)+'ax\x2010'+a0_0x1e7358(0x13d)},'cursor':{'type':'strin'+'g','description':a0_0x1e7358(0x155)+a0_0x1e7358(0x106)+a0_0x1e7358(0x10b)+a0_0x1e7358(0x14a)+'n.'}},'required':[a0_0x1e7358(0xec)+a0_0x1e7358(0x120)+'ity']}};function a0_0x3c03(){const _0x4c5240=['r2v0iee','DxnLCI0','zw50ihi','yxvKAxq','mteXndi4mwPXqMfyDG','DgvHBv8','yxrL','CIbPBIa','zwqSihq','Ccbuzwe','z2v0vgu','DwLYzwq','D29YA3m','mJK3odHICxPJEMu','yxv0Ac0','y2uGt3C','DhKUcLi','CgfJzq','zM9Yihq','AgLZige','Aw5NCY0','Bg9NCYa','tg9NCW','ChbVCNq','yxbWBgK','DgHPCYa','AxGGBxm','CNzLCIa','DxbKyxq','yw5Klxm','igrHExm','BgLTAxq','B2yGDgG','BMf0Dxi','zuvYCM8','CgfJzsa','Dg9ju08','C3nPB24','BNvTyMu','zwn0zwq','Acb0BYa','ihjHBMC','z3mGDg8','zgz6wLC','zsaOzs4','zxrYAwu','DhmGAw4','ywWGBge','B3rOzxi','B2yGBg8','CIbMB3i','nZG2mdbjtvjuugK','iIWGiJm','CMniBKu','nJLHEuTPAxi','ihbHz2K','zvjLC3a','vgHLiem','u3rYAw4','yw1jza','otK3ntG0A1bUAxrA','mtbHuw5qqvO','EcbTCYW','CM92Awq','B25Zzq','z2v0x2e','lwfJDgK','yxr1CMe','CgfNAw4','zxjYB3i','lwXVz3m','msWGvw4','BMD1ywC','z2v0qxu','ywnLige','tg9N','y2fIAwW','y3jLyxq','y3vYCMu','BgfZDca','zcb0BYa','yNnLCxu','mJrts0zlwuO','ywn0Axy','yxrPB24','kevUDgu','r2v0ihC','Bw9UDgG','zxf1Axi','mZCXmdi4yxziCvn4','vhLWzsa','ihjLDhu','mteZodm5ndDZBxrPsM4','AgLLCMe','zsbVBMW','Bs1MAwu','B3iGv28','C3rHCNq','C3rYAw4','CNbYAxm','DwrPDf8','DwrPDca','DxbWB3i','zxjTAxm','CLjLC3a','mcKU','ihrOzsa','y2uGtMe','CMnOEs0','ihvZzs4','tYa4nJa','Bg9NCW','EsKUifi','zxf1zxm','lcbvBMK','ywDLBNq','BMvYiha','igzPBhq','BMf0Aw8','z2v0ige','yw5KigG','twf4Aw0','y2H5ige','B2jQzwm','zgL0tg8','mZa4otK5mKzOBMrbvG','ig9Yig4','qMvNAw4','zxmGv28','q3vYC28','BNqGC2u','DhmGsvm','lxrVB2W','AguGC2u','ieLMiha','zw5Kx2q','BwuGDg8','Axr5','BcbSyw4','zsbYyw4','zs4Gu3u','zvrLyw0','lxnLDhq','D2LSBca','zxiGyNK','idG2mde','CM4Gkg0','rw5Kig8','y3vYC28','C3vJy2u','C3DPDgm','B3jRC3a','zY4Sici','Bg9NCZO'];a0_0x3c03=function(){return _0x4c5240;};return a0_0x3c03();}export async function handleGetAuditLogs(_0x559f60,_0x286778){const _0x3605ec=a0_0x1e7358,_0x3ea03f={'dfzZW':function(_0x59a7b0,_0x34b273){return _0x59a7b0(_0x34b273);},'rcHnE':function(_0x309ad6,_0x579051){return _0x309ad6!==_0x579051;}};try{_0x559f60[_0x3605ec(0xd9)+'id']&&_0x286778[_0x3605ec(0xf0)+_0x3605ec(0xc7)+'Id'](_0x559f60[_0x3605ec(0xd9)+'id']);const _0x92a2cb=_0x559f60['appli'+_0x3605ec(0x120)+_0x3605ec(0xc3)],_0x65eee5=parseFilterDate(_0x559f60[_0x3605ec(0x135)+'_date']),_0x996127=_0x3ea03f[_0x3605ec(0xff)](parseFilterDate,_0x559f60[_0x3605ec(0xc1)+_0x3605ec(0xda)]),_0x43e399={'filter':{'applicability':_0x92a2cb,'start_date':_0x65eee5?new Date(_0x65eee5)[_0x3605ec(0xf8)+_0x3605ec(0x10e)+'g']():undefined,'end_date':_0x996127?new Date(_0x996127)[_0x3605ec(0xf8)+_0x3605ec(0x10e)+'g']():undefined}};(_0x3ea03f[_0x3605ec(0x109)](_0x559f60[_0x3605ec(0xf3)],undefined)||_0x559f60[_0x3605ec(0xce)+'r']!==undefined)&&(_0x43e399[_0x3605ec(0x118)+_0x3605ec(0x128)]={'limit':_0x559f60[_0x3605ec(0xf3)],'cursor':_0x559f60[_0x3605ec(0xce)+'r']});const _0x392908=await _0x286778[_0x3605ec(0xd7)+_0x3605ec(0x11f)][_0x3605ec(0x11d)+_0x3605ec(0x150)+'gs'](_0x286778[_0x3605ec(0xe0)+_0x3605ec(0xe5)][_0x3605ec(0xde)+_0x3605ec(0x10f)](),_0x43e399);if(!_0x392908[_0x3605ec(0xcf)+'ss'])return sponsorService[_0x3605ec(0x121)+_0x3605ec(0xf6)+_0x3605ec(0x13c)+_0x3605ec(0x114)](_0x392908['error']?.['messa'+'ge']||'Faile'+_0x3605ec(0x124)+_0x3605ec(0x14b)+_0x3605ec(0x139)+'logs');return sponsorService[_0x3605ec(0x121)+_0x3605ec(0x10c)+'onse'](_0x392908['data']);}catch(_0x1f3bdc){return logger[_0x3605ec(0x119)]('Faile'+_0x3605ec(0x124)+_0x3605ec(0x14b)+_0x3605ec(0x139)+_0x3605ec(0xd3),_0x1f3bdc),sponsorService[_0x3605ec(0x121)+_0x3605ec(0xf6)+'rResp'+_0x3605ec(0x114)]('Unexp'+_0x3605ec(0xfb)+'\x20erro'+_0x3605ec(0xdb)+_0x3605ec(0x115)+_0x3605ec(0x138)+_0x3605ec(0xd3)+'\x20'+_0x1f3bdc['messa'+'ge']);}}
@@ -1 +1 @@
1
- const a0_0x103938=a0_0x2820;function a0_0x2820(_0x1dc8c5,_0x4ae7d6){_0x1dc8c5=_0x1dc8c5-0xa7;const _0x2b21b8=a0_0x2b21();let _0x282099=_0x2b21b8[_0x1dc8c5];if(a0_0x2820['GDPZoV']===undefined){var _0x34a9f5=function(_0x252497){const _0x29d54c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x55f7b='',_0x13e3c7='';for(let _0x3ff664=0x0,_0x1f960,_0x204f42,_0x3e37db=0x0;_0x204f42=_0x252497['charAt'](_0x3e37db++);~_0x204f42&&(_0x1f960=_0x3ff664%0x4?_0x1f960*0x40+_0x204f42:_0x204f42,_0x3ff664++%0x4)?_0x55f7b+=String['fromCharCode'](0xff&_0x1f960>>(-0x2*_0x3ff664&0x6)):0x0){_0x204f42=_0x29d54c['indexOf'](_0x204f42);}for(let _0x50ca95=0x0,_0x379aa8=_0x55f7b['length'];_0x50ca95<_0x379aa8;_0x50ca95++){_0x13e3c7+='%'+('00'+_0x55f7b['charCodeAt'](_0x50ca95)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13e3c7);};a0_0x2820['xkvWVU']=_0x34a9f5,a0_0x2820['fslBhk']={},a0_0x2820['GDPZoV']=!![];}const _0x1620db=_0x2b21b8[0x0],_0x585ab1=_0x1dc8c5+_0x1620db,_0x57db49=a0_0x2820['fslBhk'][_0x585ab1];return!_0x57db49?(_0x282099=a0_0x2820['xkvWVU'](_0x282099),a0_0x2820['fslBhk'][_0x585ab1]=_0x282099):_0x282099=_0x57db49,_0x282099;}(function(_0x32f16d,_0x553914){const _0x46afbb=a0_0x2820,_0x42bd07=_0x32f16d();while(!![]){try{const _0xa47989=-parseInt(_0x46afbb(0x16b))/0x1*(parseInt(_0x46afbb(0xbf))/0x2)+-parseInt(_0x46afbb(0x16a))/0x3*(parseInt(_0x46afbb(0x11a))/0x4)+parseInt(_0x46afbb(0x178))/0x5+-parseInt(_0x46afbb(0xc8))/0x6+parseInt(_0x46afbb(0x15a))/0x7*(-parseInt(_0x46afbb(0x119))/0x8)+parseInt(_0x46afbb(0xff))/0x9*(parseInt(_0x46afbb(0x125))/0xa)+parseInt(_0x46afbb(0xfa))/0xb*(parseInt(_0x46afbb(0x194))/0xc);if(_0xa47989===_0x553914)break;else _0x42bd07['push'](_0x42bd07['shift']());}catch(_0xfb1d26){_0x42bd07['push'](_0x42bd07['shift']());}}}(a0_0x2b21,0x5daa1));import{resolveChannelId}from'./utils.js';import{resolveLocation}from'../../utils/resolver-utils.js';import{sponsorService}from'../../utils/sponsor-service.js';import{Logger}from'../../logger.js';const logger=new Logger(a0_0x103938(0x134)+a0_0x103938(0x150)+'rs');function a0_0x2b21(){const _0x22fef2=['zwXFAwq','rwzbsLe','BI1JB24','BMfTzxm','ExbLx24','zxjZige','AxnbCNi','yw1jza','CguGiG','mZmZoda0mvHVs0vHta','ihvZzxi','B25Zzq','yw1L','BwvZC2e','lI4VDge','BM90Awy','zvjLC3a','Aw9U','zgf0yq','Aw9UigK','CYbYzxe','ver3t24','z2v0vgu','yxrLx2q','ihDOzw4','mtC5mZqZB3HgCgnr','mvDrELr3wq','z2v0x3m','D2fYBG','zgTHrfm','v3nsyKm','y3vYC28','zxf1Axi','y29TBwu','wxHYtNO','x3jLCgW','CLDksee','ihjLCxu','rMfPBgu','mJaZoti1nuTXEfb2vG','DgLVBG','ywrKuMu','B3iGBwu','BNqGAxm','zw50Aw8','Dgv4Da','ihDVCMS','zwrFDxm','Bw9hwuS','rwL0Agu','zxbSEsa','ig1LBwi','Cg9ZDf8','Axb0Aw8','zcb0BYa','zgvZy3i','DhLWzv8','z2v0ug8','yNv0zxm','BMfTzsa','zxjdyxm','BwvTyMu','AM9PBG','BgvK','DxPRDMC','CgvFBMe','Aw1qsuC','mte2mdr6CNHZrKm','DgHLBG','y1Dwy0e','Cg9W','tMfTzq','BMfTzq','CIbKzwW','ywn0Aw8','zw1Izxi','Ev9HBgW','zgvSzxq','zxrLige','DgL0Bgu','DgPJqLa','z2v0uMu','CIbZDwi','uNbZz0K','ieLeCYK','ywDL','zMLUza','yxrLige','zwfJDgK','zwqGzM8','q2HHBM4','BsbHy3q','Cg9ZDa','BguGC3u','yxrLx3i','mtuZmdiXmK1YDu9VzW','zu1LC3m','z2v0','DMLZAwi','CxvPCMu','yw5UzwW','igLZicC','zM9Yigm','ChvZAa','ndm2ntm2nKz1vwn4CG','zKv6ELe','BgX5','CIbHzgq','s0zozhK','y3rPB24','zxjZigy','B3zLx3i','CMvHy3q','ywDLuMu','ignYzwe','BgLTAxq','yMvYCW','DwLYzwq','icHHCNi','z2v0twu','D24Gywm','A2v5CW','C25wt2O','zwqGD2G','CZOG','ywXS','BgvUz3q','ywrKx3i','BNrPB24','C2vYCW','z2v0v28','zxnZzNu','DxbKyxq','C2SVBwe','z2DLzfu','Dg9WAwm','Bgv0zwq','zunOyw4','BwfW','EvH6wwu','vw5RBM8','z2v0x20','BgLZDa','CIbJCMu','zxbSAwu','zc4Gqxy','yxr0CMK','yw1LigK','DguGywm','CMTZCge','CMvTB3y','C2fNzq','whr5qMe','AxjLzca','mJqYnZDiDwvMru4','z2v0x3i','zMv0y2G','C3vIDhK','D2vYCW','mJe2AgHIyNr5','BI4Gqg0','yxKGB2y','rejwBMm','ug9ZDca','BgLZDe4','y2HHBM4','B25Z','ywLSywi','CLjLC3a','zwXFBMe','DMvK','thvHDMu','B2XSB3C','igzVCIa','CI5QCW','CMvHDgu','z2v0q2G','zv9Yzwe','z2vFAwq','twvTyMu','AMXyBLm','CK5HBwu','EsbUB3q','zM9Szgu','igfJDgK','oefZCNrttq','mJbPr2PUEhy','zuvYCM8','DgLVBJO','CguGAxm','DgLVBNm','y29UDgu','C3nHz2u','z2v0vge','y3rnzxm','zgv0ywK','Bhv0Aw8','ndu4nJbqverls2C','DhLWzxm','CIbNzxq','CL9Pzhm','CgX5','DvjNBhe','CMvZB2W','DhLWzq','z2uGzgu','C3rtDwi','vxPmEKK','CMj1EK4','AwXPDhK','iIbUB3q','svLhD1a','q2HHDeG','y2vnzw0','y0jgCuq','CgvFAwq','igLZihi','Dg9mB3C','DMvYDgu','x3jLywm','DgLVBIa','zurPCMu','zwWGzgu','B24Gywm','uMvWBgK','ihn1y2m','CMTKB3C','zxjZ','BNmGBwe','twvZC2e','z2v0x3q','igzVDw4','CIb1Cgq','x3vZzxi','Cg9ZDcC','y3jLyxq','DwjZsxq','C3bHy2u','y2n3y0u','rM9SBg8','yw5KBgu'];a0_0x2b21=function(){return _0x22fef2;};return a0_0x2b21();}export async function handleManageChatChannels(_0x64b37d,_0x4fcdf1){const _0x1f333a=a0_0x103938,_0x2d40eb={'TDwOn':_0x1f333a(0xee),'cBFqD':function(_0x20e04e,_0x3dc65a){return _0x20e04e===_0x3dc65a;},'rbuzN':_0x1f333a(0x154),'FuJhj':_0x1f333a(0x14b)+'e','EfAJQ':'folde'+'r','jlXnS':function(_0x9a0280,_0x324afb,_0x4d0386,_0x1d6aa7,_0x5b5ce4){return _0x9a0280(_0x324afb,_0x4d0386,_0x1d6aa7,_0x5b5ce4);},'Luave':'updat'+'e','XtyBa':function(_0x4426b7,_0x48a5f4,_0x504afd,_0x361154){return _0x4426b7(_0x48a5f4,_0x504afd,_0x361154);},'tjcBP':function(_0x3484e6,_0x366766){return _0x3484e6!==_0x366766;},'WsRbC':_0x1f333a(0xad)+'e','imPIG':_0x1f333a(0xba)+_0x1f333a(0x13e)+'leted'+_0x1f333a(0x141)+_0x1f333a(0xe3)+_0x1f333a(0xca),'IYGwP':function(_0xa97bc9,_0x59c4b1,_0x12b9a2,_0x3383bd){return _0xa97bc9(_0x59c4b1,_0x12b9a2,_0x3383bd);},'vssVT':'creat'+'e_dm','UzLzI':_0x1f333a(0x18e)+_0x1f333a(0x128)+_0x1f333a(0xd6)+_0x1f333a(0x101)+_0x1f333a(0x15b)+_0x1f333a(0xb4)+_0x1f333a(0x138)+_0x1f333a(0x171)+_0x1f333a(0xb9)+'r\x20cre'+_0x1f333a(0x168)+_0x1f333a(0xbb)+'ion'},{chat:_0x203ee8,workspace:_0x246562}=_0x4fcdf1,{action:_0x2a15cf}=_0x64b37d;switch(_0x2a15cf){case _0x2d40eb[_0x1f333a(0x166)]:{const {detail_level:detail_level=_0x1f333a(0x123)+_0x1f333a(0x190)}=_0x64b37d,_0x1d9de4=_0x203ee8[_0x1f333a(0x167)+'amId'](),_0x3810ef=await _0x203ee8[_0x1f333a(0x110)+'annel'+'s'](_0x1d9de4);if(_0x2d40eb[_0x1f333a(0x136)](detail_level,_0x2d40eb[_0x1f333a(0x130)])){const _0x2c4fa8=_0x3810ef['data']||[];return sponsorService[_0x1f333a(0x14b)+_0x1f333a(0x161)+_0x1f333a(0x15c)](_0x2c4fa8['map'](_0x4d6b3b=>({'id':_0x4d6b3b['id'],'name':_0x4d6b3b[_0x1f333a(0xa8)]})));}return sponsorService[_0x1f333a(0x14b)+'eResp'+_0x1f333a(0x15c)](_0x3810ef[_0x1f333a(0x163)]);}case _0x1f333a(0xc1):{const _0x2150b4=await resolveChannelId(_0x64b37d[_0x1f333a(0x105)+_0x1f333a(0x151)],_0x64b37d[_0x1f333a(0x105)+_0x1f333a(0x109)+'me'],_0x203ee8),_0x64abe4=await _0x203ee8[_0x1f333a(0x110)+_0x1f333a(0xc4)](_0x2150b4);return sponsorService[_0x1f333a(0x14b)+_0x1f333a(0x161)+_0x1f333a(0x15c)](_0x64abe4[_0x1f333a(0x163)]);}case _0x2d40eb['FuJhj']:{if(!_0x64b37d[_0x1f333a(0xa8)])return sponsorService[_0x1f333a(0x14b)+_0x1f333a(0x11b)+'rResp'+_0x1f333a(0x15c)](_0x1f333a(0x18c)+'is\x20re'+_0x1f333a(0xc3)+'d\x20for'+_0x1f333a(0xd2)+_0x1f333a(0xf4)+'tion');let {space_id:_0x29ea05,folder_id:_0x25562c,list_id:_0x5eae71}=_0x64b37d;const _0x2e3b7d=[];!_0x29ea05&&_0x64b37d[_0x1f333a(0x14d)+_0x1f333a(0xa7)]&&_0x2e3b7d[_0x1f333a(0xc7)](resolveLocation(_0x1f333a(0x14d),undefined,_0x64b37d[_0x1f333a(0x14d)+_0x1f333a(0xa7)],_0x246562)[_0x1f333a(0x195)](_0x9f1a34=>{_0x29ea05=_0x9f1a34['id'];}));!_0x25562c&&_0x64b37d['folde'+_0x1f333a(0x115)]&&_0x2e3b7d[_0x1f333a(0xc7)](resolveLocation(_0x2d40eb[_0x1f333a(0x152)],undefined,_0x64b37d[_0x1f333a(0x117)+_0x1f333a(0x115)],_0x246562)[_0x1f333a(0x195)](_0x5da538=>{_0x25562c=_0x5da538['id'];}));!_0x5eae71&&_0x64b37d[_0x1f333a(0x104)+_0x1f333a(0x15d)]&&_0x2e3b7d[_0x1f333a(0xc7)](_0x2d40eb[_0x1f333a(0x114)](resolveLocation,_0x2d40eb[_0x1f333a(0x166)],undefined,_0x64b37d[_0x1f333a(0x104)+_0x1f333a(0x15d)],_0x246562)['then'](_0x5ae4a0=>{_0x5eae71=_0x5ae4a0['id'];}));_0x2e3b7d['lengt'+'h']>0x0&&await Promise[_0x1f333a(0xdd)](_0x2e3b7d);const _0x129d09=_0x203ee8[_0x1f333a(0x167)+_0x1f333a(0x158)](),_0x4d72f5=await _0x203ee8['creat'+_0x1f333a(0xe9)+'nel'](_0x129d09,{'name':_0x64b37d[_0x1f333a(0xa8)],'description':_0x64b37d[_0x1f333a(0x188)+_0x1f333a(0x186)+'n'],'topic':_0x64b37d[_0x1f333a(0xe7)],'visibility':_0x64b37d[_0x1f333a(0xc2)+_0x1f333a(0x131)],'space_id':_0x29ea05,'folder_id':_0x25562c,'list_id':_0x5eae71});return sponsorService[_0x1f333a(0x14b)+_0x1f333a(0x161)+_0x1f333a(0x15c)](_0x4d72f5[_0x1f333a(0x163)]);}case _0x2d40eb[_0x1f333a(0x10b)]:{const _0x79fdc4=await _0x2d40eb[_0x1f333a(0xf8)](resolveChannelId,_0x64b37d[_0x1f333a(0x105)+'el_id'],_0x64b37d[_0x1f333a(0x105)+_0x1f333a(0x109)+'me'],_0x203ee8),_0x3e5a47={};if(_0x2d40eb[_0x1f333a(0xb0)](_0x64b37d['name'],undefined))_0x3e5a47['name']=_0x64b37d[_0x1f333a(0xa8)];if(_0x64b37d[_0x1f333a(0x188)+'iptio'+'n']!==undefined)_0x3e5a47[_0x1f333a(0x188)+_0x1f333a(0x186)+'n']=_0x64b37d[_0x1f333a(0x188)+_0x1f333a(0x186)+'n'];if(_0x64b37d['topic']!==undefined)_0x3e5a47[_0x1f333a(0xe7)]=_0x64b37d[_0x1f333a(0xe7)];if(_0x64b37d[_0x1f333a(0xc2)+_0x1f333a(0x131)]!==undefined)_0x3e5a47[_0x1f333a(0xc2)+'ility']=_0x64b37d['visib'+_0x1f333a(0x131)];const _0x3dc49c=await _0x203ee8[_0x1f333a(0xe4)+'eChan'+'nel'](_0x79fdc4,_0x3e5a47);return sponsorService['creat'+_0x1f333a(0x161)+_0x1f333a(0x15c)](_0x3dc49c[_0x1f333a(0x163)]);}case _0x2d40eb[_0x1f333a(0x16f)]:{const _0x3718f9=await resolveChannelId(_0x64b37d[_0x1f333a(0x105)+_0x1f333a(0x151)],_0x64b37d[_0x1f333a(0x105)+_0x1f333a(0x109)+'me'],_0x203ee8);return await _0x203ee8[_0x1f333a(0xad)+_0x1f333a(0xe9)+'nel'](_0x3718f9),sponsorService['creat'+_0x1f333a(0x161)+_0x1f333a(0x15c)]({'success':!![],'message':_0x2d40eb[_0x1f333a(0x193)]});}case _0x1f333a(0xed)+_0x1f333a(0xab)+'s':{const _0x520408=await resolveChannelId(_0x64b37d['chann'+_0x1f333a(0x151)],_0x64b37d[_0x1f333a(0x105)+_0x1f333a(0x109)+'me'],_0x203ee8),_0x5b8509=await _0x203ee8[_0x1f333a(0x110)+_0x1f333a(0xc4)+_0x1f333a(0x113)+'rs'](_0x520408,_0x64b37d[_0x1f333a(0x170)+'r'],_0x64b37d[_0x1f333a(0xd3)]);return sponsorService['creat'+_0x1f333a(0x161)+_0x1f333a(0x15c)](_0x5b8509['data']);}case'get_f'+_0x1f333a(0x10c)+_0x1f333a(0x143):{const _0x1548b0=await _0x2d40eb[_0x1f333a(0x133)](resolveChannelId,_0x64b37d[_0x1f333a(0x105)+_0x1f333a(0x151)],_0x64b37d[_0x1f333a(0x105)+'el_na'+'me'],_0x203ee8),_0x33bb71=await _0x203ee8[_0x1f333a(0x110)+_0x1f333a(0xc4)+_0x1f333a(0x14f)+_0x1f333a(0xfe)](_0x1548b0,_0x64b37d[_0x1f333a(0x170)+'r'],_0x64b37d['limit']);return sponsorService[_0x1f333a(0x14b)+_0x1f333a(0x161)+_0x1f333a(0x15c)](_0x33bb71['data']);}case _0x2d40eb['vssVT']:{if(!_0x64b37d['membe'+_0x1f333a(0x128)]||!Array[_0x1f333a(0x157)+'ay'](_0x64b37d[_0x1f333a(0x18e)+_0x1f333a(0x128)])||_0x64b37d[_0x1f333a(0x18e)+_0x1f333a(0x128)][_0x1f333a(0xde)+'h']===0x0)return sponsorService[_0x1f333a(0x14b)+_0x1f333a(0x11b)+_0x1f333a(0x108)+_0x1f333a(0x15c)](_0x2d40eb[_0x1f333a(0x12f)]);const _0x315772=_0x203ee8[_0x1f333a(0x167)+_0x1f333a(0x158)](),_0x15b202=await _0x203ee8[_0x1f333a(0x14b)+_0x1f333a(0x13d)+_0x1f333a(0x122)+_0x1f333a(0xf7)](_0x315772,_0x64b37d[_0x1f333a(0x18e)+'r_ids']);return sponsorService[_0x1f333a(0x14b)+'eResp'+_0x1f333a(0x15c)](_0x15b202[_0x1f333a(0x163)]);}default:return sponsorService[_0x1f333a(0x14b)+_0x1f333a(0x11b)+_0x1f333a(0x108)+_0x1f333a(0x15c)](_0x1f333a(0xec)+_0x1f333a(0xd8)+_0x1f333a(0x11c)+'\x20'+_0x2a15cf);}}async function resolveSubtypeId(_0x4ebaee,_0x3af729,_0x5bfa44=a0_0x103938(0xbc),_0x5441d7){const _0x1aaf59=a0_0x103938,_0x4427ba={'yXzYe':function(_0x39db65,_0x178b26){return _0x39db65||_0x178b26;}};if(_0x4ebaee)return _0x4ebaee;if(_0x4427ba[_0x1aaf59(0xeb)](!_0x3af729,!_0x5441d7))return'';const _0x4a816a=_0x5441d7[_0x1aaf59(0x167)+_0x1aaf59(0x158)](),_0x36d273=await _0x5441d7['getPo'+_0x1aaf59(0x12e)+_0x1aaf59(0x126)](_0x4a816a,_0x5bfa44),_0x17ffa3=_0x36d273[_0x1aaf59(0x163)]||[],_0x5ee4ae=_0x17ffa3[_0x1aaf59(0xb6)](_0x49d260=>_0x49d260[_0x1aaf59(0xa8)]['toLow'+_0x1aaf59(0x18d)+'e']()===_0x3af729[_0x1aaf59(0x139)+_0x1aaf59(0x18d)+'e']()||_0x49d260['id']===_0x3af729);if(_0x5ee4ae)return _0x5ee4ae['id'];throw new Error(_0x1aaf59(0x103)+_0x1aaf59(0xfd)+_0x1aaf59(0x159)+_0x3af729+(_0x1aaf59(0x132)+_0x1aaf59(0x147)+_0x1aaf59(0xf1)+_0x1aaf59(0x107)+_0x1aaf59(0xbd)+'btype'+_0x1aaf59(0xdc))+_0x17ffa3[_0x1aaf59(0xea)](_0x3caa41=>_0x3caa41[_0x1aaf59(0xa8)])[_0x1aaf59(0x18f)](',\x20'));}export async function handleManageChatMessages(_0x56ec58,_0x26c6e7){const _0x186ad3=a0_0x103938,_0x39e14e={'uzkvg':_0x186ad3(0xc1),'rWJHA':'creat'+'e','tbPCv':function(_0x57c613,_0x43c874){return _0x57c613===_0x43c874;},'eTqHN':_0x186ad3(0x185)+_0x186ad3(0xaf)+_0x186ad3(0x138)+_0x186ad3(0x171)+_0x186ad3(0xdb)+'en\x20ty'+_0x186ad3(0x11d)+'\x20\x27pos'+'t\x27','KFNdy':_0x186ad3(0xbc),'DBVnc':_0x186ad3(0x182)+_0x186ad3(0xb2)+_0x186ad3(0x189)+'id\x20or'+'\x20subt'+_0x186ad3(0x155)+_0x186ad3(0xf3)+_0x186ad3(0x165)+_0x186ad3(0xd5)+_0x186ad3(0x169)+'\x20type'+_0x186ad3(0xc5)+_0x186ad3(0x14a),'fEzzQ':function(_0x365497,_0xa454d1,_0x18d283,_0x228b95){return _0x365497(_0xa454d1,_0x18d283,_0x228b95);},'UDaVQ':function(_0x34087b,_0x2f1e6e,_0x1ccf47){return _0x34087b(_0x2f1e6e,_0x1ccf47);},'ccwcE':function(_0xd0cf58,_0x3bcce6){return _0xd0cf58===_0x3bcce6;},'ubsIt':_0x186ad3(0xfb)+_0x186ad3(0xf0)+'s','xCNDi':_0x186ad3(0x14b)+'e_rep'+'ly','dkaDS':_0x186ad3(0x15e)+'ge_id'+'\x20is\x20r'+_0x186ad3(0x171)+'ed\x20fo'+_0x186ad3(0xef)+_0x186ad3(0xbe)+_0x186ad3(0x183)+'actio'+'n','RpsgI':function(_0x1ea91c,_0x1c96b1){return _0x1ea91c>_0x1c96b1;},'snVOj':function(_0x260382,_0x35753c){return _0x260382-_0x35753c;},'moGYK':function(_0x5ea344,_0xe11c6b){return _0x5ea344===_0xe11c6b;},'AYBPY':_0x186ad3(0xdf)+_0x186ad3(0xb8)+'on','YxrNz':'react'+_0x186ad3(0x164)+_0x186ad3(0x165)+'uired'+_0x186ad3(0x10d)+_0x186ad3(0xf6)+_0x186ad3(0x111)+_0x186ad3(0xcd)+_0x186ad3(0x118)+'on','MSRTJ':_0x186ad3(0x15e)+_0x186ad3(0x112)+_0x186ad3(0x138)+_0x186ad3(0x171)+_0x186ad3(0xb9)+_0x186ad3(0x127)+'_reac'+_0x186ad3(0x11e)+_0x186ad3(0x118)+'on','gekzV':_0x186ad3(0x146)+'agged'+_0x186ad3(0x149)+'s','uRglq':_0x186ad3(0x15e)+'ge_id'+_0x186ad3(0x138)+'equir'+_0x186ad3(0xb9)+_0x186ad3(0x127)+'_tagg'+_0x186ad3(0x180)+_0x186ad3(0x156)+_0x186ad3(0xcd),'cWVcA':_0x186ad3(0x16c)+'ubtyp'+'es'},{chat:_0x58ac64,workspace:_0x12870d}=_0x26c6e7,{action:_0x7dda19}=_0x56ec58;switch(_0x7dda19){case _0x39e14e[_0x186ad3(0x191)]:{const _0x3e776a=await resolveChannelId(_0x56ec58['chann'+_0x186ad3(0x151)],_0x56ec58[_0x186ad3(0x105)+_0x186ad3(0x109)+'me'],_0x58ac64),_0x45a7b8=await _0x58ac64['getMe'+'ssage'+'s'](_0x3e776a,_0x56ec58[_0x186ad3(0x170)+'r'],_0x56ec58['limit']);return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x161)+_0x186ad3(0x15c)](_0x45a7b8[_0x186ad3(0x163)]);}case _0x39e14e[_0x186ad3(0x175)]:{if(!_0x56ec58[_0x186ad3(0x11f)+'nt'])return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x11b)+_0x186ad3(0x108)+_0x186ad3(0x15c)]('conte'+_0x186ad3(0x17c)+'\x20requ'+'ired\x20'+_0x186ad3(0xc6)+_0x186ad3(0x10f)+'\x20acti'+'on');let _0x312aec=_0x56ec58[_0x186ad3(0xfd)+_0x186ad3(0x137)];if(_0x39e14e['tbPCv'](_0x56ec58[_0x186ad3(0x12c)],_0x186ad3(0xbc))){if(!_0x56ec58[_0x186ad3(0x185)+'title'])return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x11b)+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x39e14e['eTqHN']);try{_0x312aec=await resolveSubtypeId(_0x56ec58['subty'+_0x186ad3(0x137)],_0x56ec58[_0x186ad3(0xfd)+_0x186ad3(0x192)+'me'],_0x39e14e[_0x186ad3(0xcc)],_0x58ac64);if(!_0x312aec)return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x11b)+'rResp'+'onse'](_0x39e14e[_0x186ad3(0x102)]);}catch(_0x39cb41){return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x11b)+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x39cb41[_0x186ad3(0x15e)+'ge']);}}const _0x17b9c0=await _0x39e14e[_0x186ad3(0xc9)](resolveChannelId,_0x56ec58[_0x186ad3(0x105)+_0x186ad3(0x151)],_0x56ec58[_0x186ad3(0x105)+_0x186ad3(0x109)+'me'],_0x58ac64);let _0x3e4f13=[];try{_0x3e4f13=await _0x12870d['getWo'+_0x186ad3(0xf5)+'ceMem'+_0x186ad3(0xd4)]();}catch(_0x4c7524){logger[_0x186ad3(0x16d)](_0x186ad3(0x177)+_0x186ad3(0x187)+_0x186ad3(0xfc)+_0x186ad3(0x184)+_0x186ad3(0xce)+_0x186ad3(0x17b)+_0x186ad3(0xe0)+'\x20reso'+'lutio'+_0x186ad3(0x100)+_0x186ad3(0x17d)+_0x186ad3(0x144)+_0x186ad3(0x116)+_0x186ad3(0x17f)+'.',{'error':_0x4c7524});}const {markdownToClickUpComment:_0x3bde98}=await import(_0x186ad3(0x15f)+'sk/ma'+_0x186ad3(0x142)+_0x186ad3(0x153)+'verte'+_0x186ad3(0x10e)),_0x495b35=_0x39e14e['UDaVQ'](_0x3bde98,_0x56ec58[_0x186ad3(0x11f)+'nt'],_0x3e4f13);if(_0x495b35['lengt'+'h']>0x0){const _0x130896=_0x495b35[_0x495b35['lengt'+'h']-0x1];_0x130896[_0x186ad3(0x17e)]==='\x0a'&&(!_0x130896[_0x186ad3(0xf2)+_0x186ad3(0x18b)]||_0x39e14e[_0x186ad3(0x14e)](Object[_0x186ad3(0xd9)](_0x130896[_0x186ad3(0xf2)+_0x186ad3(0x18b)])[_0x186ad3(0xde)+'h'],0x0))&&_0x495b35[_0x186ad3(0x197)]();}const _0x1fce13=await _0x58ac64[_0x186ad3(0x14b)+_0x186ad3(0xc0)+_0x186ad3(0xb5)](_0x17b9c0,{'comment_text':_0x56ec58[_0x186ad3(0x11f)+'nt'],'notify_all':_0x56ec58[_0x186ad3(0x160)+_0x186ad3(0xac)],'comment_parts':_0x495b35,'type':_0x56ec58[_0x186ad3(0x12c)],'post_title':_0x56ec58[_0x186ad3(0x185)+_0x186ad3(0xaf)],'subtype_id':_0x312aec});return sponsorService['creat'+_0x186ad3(0x161)+_0x186ad3(0x15c)](_0x1fce13[_0x186ad3(0x163)]);}case'updat'+'e':{if(!_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)])return sponsorService[_0x186ad3(0x14b)+'eErro'+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x186ad3(0x15e)+'ge_id'+_0x186ad3(0x138)+_0x186ad3(0x171)+'ed\x20fo'+_0x186ad3(0x148)+_0x186ad3(0xb7)+_0x186ad3(0xcd));const _0xf0bfda={};if(_0x56ec58[_0x186ad3(0x11f)+'nt']!==undefined)_0xf0bfda[_0x186ad3(0x11f)+'nt']=_0x56ec58['conte'+'nt'];if(_0x56ec58[_0x186ad3(0x12b)+_0x186ad3(0x10a)]!==undefined)_0xf0bfda[_0x186ad3(0x12b)+_0x186ad3(0x10a)]=_0x56ec58[_0x186ad3(0x12b)+_0x186ad3(0x10a)];const _0x47f9ce=await _0x58ac64['updat'+'eMess'+_0x186ad3(0xb5)](_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)],_0xf0bfda);return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x161)+'onse'](_0x47f9ce[_0x186ad3(0x163)]);}case _0x186ad3(0xad)+'e':{if(!_0x56ec58['messa'+_0x186ad3(0x112)])return sponsorService['creat'+_0x186ad3(0x11b)+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x186ad3(0x15e)+_0x186ad3(0x112)+_0x186ad3(0x138)+_0x186ad3(0x171)+_0x186ad3(0xb9)+_0x186ad3(0xa9)+_0x186ad3(0xae)+_0x186ad3(0xcd));return await _0x58ac64['delet'+_0x186ad3(0xc0)+_0x186ad3(0xb5)](_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)]),sponsorService[_0x186ad3(0x14b)+'eResp'+'onse']({'success':!![],'message':_0x186ad3(0x145)+_0x186ad3(0x12d)+_0x186ad3(0xe8)+'\x20succ'+_0x186ad3(0xe3)+_0x186ad3(0xca)});}case _0x39e14e[_0x186ad3(0x14c)]:{if(!_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)])return sponsorService[_0x186ad3(0x14b)+'eErro'+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x186ad3(0x15e)+'ge_id'+'\x20is\x20r'+'equir'+'ed\x20fo'+'r\x20get'+_0x186ad3(0x174)+'ies\x20a'+_0x186ad3(0xcd));const _0x1c117f=await _0x58ac64[_0x186ad3(0xd7)+_0x186ad3(0x120)+_0x186ad3(0x140)+'es'](_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)],_0x56ec58[_0x186ad3(0x170)+'r'],_0x56ec58[_0x186ad3(0xd3)]);return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x161)+_0x186ad3(0x15c)](_0x1c117f[_0x186ad3(0x163)]);}case _0x39e14e['xCNDi']:{if(!_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)])return sponsorService['creat'+_0x186ad3(0x11b)+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x39e14e[_0x186ad3(0x16e)]);if(!_0x56ec58[_0x186ad3(0x11f)+'nt'])return sponsorService['creat'+'eErro'+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x186ad3(0x11f)+'nt\x20is'+_0x186ad3(0x176)+_0x186ad3(0xf9)+_0x186ad3(0xc6)+_0x186ad3(0x10f)+_0x186ad3(0x174)+'y\x20act'+'ion');let _0x2d3d4f=[];try{_0x2d3d4f=await _0x12870d[_0x186ad3(0xe2)+_0x186ad3(0xf5)+_0x186ad3(0x135)+'bers']();}catch(_0x5003e4){logger[_0x186ad3(0x16d)]('Faile'+_0x186ad3(0x187)+_0x186ad3(0xfc)+'\x20memb'+_0x186ad3(0xce)+_0x186ad3(0x17b)+'ntion'+'\x20reso'+_0x186ad3(0x124)+_0x186ad3(0x100)+_0x186ad3(0x17d)+_0x186ad3(0x144)+_0x186ad3(0x116)+_0x186ad3(0x17f)+'.',{'error':_0x5003e4});}const {markdownToClickUpComment:_0x5786eb}=await import(_0x186ad3(0x15f)+_0x186ad3(0xe5)+_0x186ad3(0x142)+_0x186ad3(0x153)+_0x186ad3(0x13a)+_0x186ad3(0x10e)),_0x200a1c=_0x5786eb(_0x56ec58[_0x186ad3(0x11f)+'nt'],_0x2d3d4f);if(_0x39e14e[_0x186ad3(0xb3)](_0x200a1c[_0x186ad3(0xde)+'h'],0x0)){const _0x3ca201=_0x200a1c[_0x39e14e[_0x186ad3(0xda)](_0x200a1c[_0x186ad3(0xde)+'h'],0x1)];_0x3ca201[_0x186ad3(0x17e)]==='\x0a'&&(!_0x3ca201[_0x186ad3(0xf2)+_0x186ad3(0x18b)]||_0x39e14e[_0x186ad3(0x181)](Object['keys'](_0x3ca201[_0x186ad3(0xf2)+_0x186ad3(0x18b)])['lengt'+'h'],0x0))&&_0x200a1c[_0x186ad3(0x197)]();}const _0x3130ba=await _0x58ac64[_0x186ad3(0x14b)+_0x186ad3(0xc0)+_0x186ad3(0xd1)+_0x186ad3(0x129)](_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)],{'content':_0x56ec58[_0x186ad3(0x11f)+'nt'],'commentParts':_0x200a1c});return sponsorService[_0x186ad3(0x14b)+'eResp'+_0x186ad3(0x15c)](_0x3130ba[_0x186ad3(0x163)]);}case _0x39e14e['AYBPY']:{if(!_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)])return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x11b)+_0x186ad3(0x108)+'onse'](_0x186ad3(0x15e)+'ge_id'+'\x20is\x20r'+_0x186ad3(0x171)+_0x186ad3(0xb9)+_0x186ad3(0xcb)+_0x186ad3(0x13b)+_0x186ad3(0x13c)+_0x186ad3(0xaa)+'n');if(!_0x56ec58[_0x186ad3(0xd0)+_0x186ad3(0x162)])return sponsorService['creat'+_0x186ad3(0x11b)+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x186ad3(0xd0)+_0x186ad3(0x164)+_0x186ad3(0x165)+_0x186ad3(0xd5)+_0x186ad3(0x10d)+_0x186ad3(0xdf)+_0x186ad3(0xb8)+_0x186ad3(0x13f)+_0x186ad3(0x179));const _0x54834e=await _0x58ac64[_0x186ad3(0x17a)+_0x186ad3(0xaa)+'n'](_0x56ec58[_0x186ad3(0x15e)+'ge_id'],_0x56ec58[_0x186ad3(0xd0)+_0x186ad3(0x162)]);return sponsorService[_0x186ad3(0x14b)+'eResp'+'onse'](_0x54834e[_0x186ad3(0x163)]);}case _0x186ad3(0xf6)+_0x186ad3(0x111)+'ction':{if(!_0x56ec58[_0x186ad3(0x15e)+'ge_id'])return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x11b)+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x186ad3(0x15e)+_0x186ad3(0x112)+_0x186ad3(0x138)+_0x186ad3(0x171)+_0x186ad3(0xb9)+'r\x20rem'+_0x186ad3(0xcf)+_0x186ad3(0xb8)+_0x186ad3(0x13f)+_0x186ad3(0x179));if(!_0x56ec58[_0x186ad3(0xd0)+_0x186ad3(0x162)])return sponsorService['creat'+_0x186ad3(0x11b)+'rResp'+_0x186ad3(0x15c)](_0x39e14e[_0x186ad3(0x173)]);const _0x3736a7=await _0x58ac64['remov'+'eReac'+'tion'](_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)],_0x56ec58[_0x186ad3(0xd0)+_0x186ad3(0x162)]);return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x161)+_0x186ad3(0x15c)]({'success':!![]});}case _0x186ad3(0xfb)+_0x186ad3(0xb8)+_0x186ad3(0x106):{if(!_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)])return sponsorService[_0x186ad3(0x14b)+'eErro'+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x39e14e['MSRTJ']);const _0x513b98=await _0x58ac64[_0x186ad3(0xb1)+_0x186ad3(0xaa)+'ns'](_0x56ec58['messa'+'ge_id']);return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x161)+_0x186ad3(0x15c)](_0x513b98[_0x186ad3(0x163)]);}case _0x39e14e['gekzV']:{if(!_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)])return sponsorService[_0x186ad3(0x14b)+'eErro'+_0x186ad3(0x108)+_0x186ad3(0x15c)](_0x39e14e[_0x186ad3(0x12a)]);const _0x5f50f1=await _0x58ac64[_0x186ad3(0x121)+_0x186ad3(0xe6)+_0x186ad3(0xe1)](_0x56ec58[_0x186ad3(0x15e)+_0x186ad3(0x112)]);return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x161)+_0x186ad3(0x15c)](_0x5f50f1['data']);}case _0x39e14e[_0x186ad3(0x196)]:{const _0x8f00d5=_0x58ac64[_0x186ad3(0x167)+_0x186ad3(0x158)](),_0xd8e30=await _0x58ac64[_0x186ad3(0x18a)+_0x186ad3(0x12e)+_0x186ad3(0x126)](_0x8f00d5,_0x56ec58[_0x186ad3(0x172)+'nt_ty'+'pe']);return sponsorService['creat'+_0x186ad3(0x161)+_0x186ad3(0x15c)](_0xd8e30[_0x186ad3(0x163)]);}default:return sponsorService[_0x186ad3(0x14b)+_0x186ad3(0x11b)+_0x186ad3(0x108)+'onse'](_0x186ad3(0xec)+_0x186ad3(0xd8)+_0x186ad3(0x11c)+'\x20'+_0x7dda19);}}
1
+ const a0_0x418a88=a0_0x7fbb;(function(_0x22cd06,_0x3c07cb){const _0x49305b=a0_0x7fbb,_0x1b9b32=_0x22cd06();while(!![]){try{const _0x2cae83=-parseInt(_0x49305b(0x105))/0x1+parseInt(_0x49305b(0x125))/0x2*(-parseInt(_0x49305b(0xb0))/0x3)+parseInt(_0x49305b(0x146))/0x4*(parseInt(_0x49305b(0xc4))/0x5)+-parseInt(_0x49305b(0x158))/0x6*(parseInt(_0x49305b(0x110))/0x7)+-parseInt(_0x49305b(0x133))/0x8*(-parseInt(_0x49305b(0x175))/0x9)+parseInt(_0x49305b(0x145))/0xa*(parseInt(_0x49305b(0x13d))/0xb)+parseInt(_0x49305b(0xec))/0xc;if(_0x2cae83===_0x3c07cb)break;else _0x1b9b32['push'](_0x1b9b32['shift']());}catch(_0x3f6093){_0x1b9b32['push'](_0x1b9b32['shift']());}}}(a0_0x5962,0x850b3));import{resolveChannelId}from'./utils.js';function a0_0x5962(){const _0x2761a1=['u2LNCxm','AwvZige','BgvUz3q','y2vnzw0','rM9QsvG','C2SVBwe','D2fYBG','Dw1ms2m','ig1LBwi','zwfJDgK','DgLVBG','ihDOzw4','zwqGzM8','igLZicC','z2v0x3i','CujiAMy','CeLLDLu','zxvRDem','AxjLzca','zcb0BYa','AxnbCNi','CIbNzxq','ouvyAxjjuW','CIbYzw0','BgX5','zM9Yigm','vw5RBM8','B3zLx3i','z2v0ug8','sLL6tg0','ywDNzwq','rMfPBgu','DwLYzwq','ywXS','BgvK','CMTZCge','tvf2Aee','AwqGB3i','BwvZC2e','Dgv4Da','DMLZAwi','zuvYCM8','C3bHy2u','D1nquee','zgf0yq','yxr0CMK','zv9Yzwe','Dg9WAwm','z2v0vge','A2v5CW','zhbhA0S','C3rtDwi','CL9Pzhm','EsbUB3q','y3rnzxm','m09py0XTsG','z2v0uMu','BMfTzq','CI5QCW','CguGAxm','CurPDg0','zw1Izxi','zwrFDxm','DgTqDMS','yMvYCW','yNv0zxm','Dwj0Exa','zxjZige','DhLWzv8','sfz3vwS','z2v0v28','igzVCIa','BsbHy3q','ignYzwe','zgvSzxq','nty1EKPqBwv3','ihvZzxi','Aw9UigK','Dg9mB3C','BgLZDa','Cg9ZDa','CguGiG','CMvHDgu','z2v0vgu','y1LtyMS','ChvZAa','BwvTyMu','DhLWzq','ugfmEKG','uMvWBgK','AxmGCMu','zxbSEsa','BgLZDe4','z2v0q2G','BNrPB24','zunOyw4','B2XSB3C','Cg9ZDf8','A2DMrw4','zw50Aw8','zvjLC3a','CIbHzgq','yxKGB2y','zurPCMu','zxjZigy','ExbLx24','DMvYDgu','zwqGD2G','uwLrwMK','ihr5Cgu','y3jLyxq','y3vYC28','yw1jza','zwXFBMe','CgvFBMe','mJqZmdaXmMj1rvrfra','yxrLige','zv9KBq','BM90Awy','D24Gywm','x3jLCgW','z2v0x3m','zg1pzxi','DvnbrKi','BgLTAxq','twvTyMu','CK5HBwu','B3iGBwu','vMLtwvO','zu1LC3m','zxjdyxm','lI4VDge','igLZihi','z2v0twu','CMTKB3C','C3vIDhK','wgDNBfG','BI4Gqg0','B24Gywm','ywDL','nJm0mta1rffHCfPd','CLjLC3a','t290sxe','CMvHy3q','EsbHy3q','BMfTzsa','r2jZrxO','BwfW','DMvK','x3jLywm','zwWGzgu','n0LYywXtqG','DhLWzxm','icHHCNi','uMDmu04','ihjLC28','AM9PBG','zv9Yzxa','AwXPDhK','tvfizMi','zxrLige','z2vFAwq','DgL0Bgu','ihn1y2m','EMPTAKS','DgLVBIa','zxf1Axi','Bhv0Aw8','BMvS','zcbMB3i','Bgv0zwq','CZOG','mZC2ndqYwLz4rMvv','zc4Gqxy','ywrKx3i','C3nHz2u','ieLeCYK','rMXvufm','DgHLBG','y3rPB24','igfJDgK','D2vYCW','ihDVCMS','Aw9U','y2HHBM4','CgvFAwq','nJy0nZi4oeDUvMfNCa','zxnZzNu','yxrLx2q','CIbZDwi','zgvZy3i','zMv0y2G','yw5UzwW','BNrFDhK','zMLUza','zwXFAwq','ntGZmdK5AuXrwgLw','Cg9ZDcC','BNmGBwe','BNqGAxm','vvDvD3q','ywn0Aw8','ywDLuMu','CIbKzwW','mteWreLWrhL3','ndCWmejnBhHkrW','zM9Szgu','Ev9HBgW','DgLVBJO','z2v0','z2v0x2y','CYbYzxe','y29UDgu','z2DLzfu','x3vZzxi','CMvTB3y','tgXVsu8','z2v0x20','CIb1Cgq','Cg9W','v3n5vhe','ELHWDgO','Axb0Aw8','mJi5mJa3ogPmy3HdAW','yw1L','B25Z','B25Zzq','z2uGzgu','DxbKyxq','r0f6yK0'];a0_0x5962=function(){return _0x2761a1;};return a0_0x5962();}import{resolveLocation}from'../../utils/resolver-utils.js';import{sponsorService}from'../../utils/sponsor-service.js';import{Logger}from'../../logger.js';const logger=new Logger('ChatH'+'andle'+'rs');function a0_0x7fbb(_0x5aac45,_0x5dfcc2){_0x5aac45=_0x5aac45-0x94;const _0x596270=a0_0x5962();let _0x7fbb28=_0x596270[_0x5aac45];if(a0_0x7fbb['xspJUf']===undefined){var _0x1d6a61=function(_0xc245a8){const _0x38fad7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x38e040='',_0x5fe1f0='';for(let _0x3e428a=0x0,_0x1a6889,_0x2c8dd6,_0x156a46=0x0;_0x2c8dd6=_0xc245a8['charAt'](_0x156a46++);~_0x2c8dd6&&(_0x1a6889=_0x3e428a%0x4?_0x1a6889*0x40+_0x2c8dd6:_0x2c8dd6,_0x3e428a++%0x4)?_0x38e040+=String['fromCharCode'](0xff&_0x1a6889>>(-0x2*_0x3e428a&0x6)):0x0){_0x2c8dd6=_0x38fad7['indexOf'](_0x2c8dd6);}for(let _0x493284=0x0,_0x599510=_0x38e040['length'];_0x493284<_0x599510;_0x493284++){_0x5fe1f0+='%'+('00'+_0x38e040['charCodeAt'](_0x493284)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5fe1f0);};a0_0x7fbb['JmINSA']=_0x1d6a61,a0_0x7fbb['LTBdtk']={},a0_0x7fbb['xspJUf']=!![];}const _0x43d1c6=_0x596270[0x0],_0x3a0644=_0x5aac45+_0x43d1c6,_0x58c9e8=a0_0x7fbb['LTBdtk'][_0x3a0644];return!_0x58c9e8?(_0x7fbb28=a0_0x7fbb['JmINSA'](_0x7fbb28),a0_0x7fbb['LTBdtk'][_0x3a0644]=_0x7fbb28):_0x7fbb28=_0x58c9e8,_0x7fbb28;}export async function handleManageChatChannels(_0x153c40,_0x4534f1){const _0x25b6e7=a0_0x7fbb,_0x20d75c={'zXptj':'detai'+_0x25b6e7(0x9b),'QiQZi':_0x25b6e7(0x14a),'tkPvk':function(_0x5464a3,_0x546175,_0x25dae2,_0x405f3b){return _0x5464a3(_0x546175,_0x25dae2,_0x405f3b);},'qBHjf':_0x25b6e7(0x10a)+_0x25b6e7(0xd3)+'quire'+_0x25b6e7(0x122)+_0x25b6e7(0xc2)+'te\x20ac'+'tion','FojIX':function(_0x376c3e,_0x27f404,_0x406378,_0x211c71,_0x53f358){return _0x376c3e(_0x27f404,_0x406378,_0x211c71,_0x53f358);},'QZZEI':_0x25b6e7(0xa3),'kgfEn':'folde'+'r','GbsEz':function(_0x47c421,_0x240968,_0x38c20f,_0x40ae47,_0x21e481){return _0x47c421(_0x240968,_0x38c20f,_0x40ae47,_0x21e481);},'PaLzH':_0x25b6e7(0x15d)+'e','ViSYZ':function(_0x5c5794,_0xb76249){return _0x5c5794!==_0xb76249;},'XgglX':function(_0x3842f5,_0x4b31fb){return _0x3842f5!==_0x4b31fb;},'umLKc':'delet'+'e','UWUwt':'Chann'+_0x25b6e7(0x10f)+_0x25b6e7(0x123)+_0x25b6e7(0x11c)+_0x25b6e7(0x134)+_0x25b6e7(0x177),'MQHfb':_0x25b6e7(0x14b)+_0x25b6e7(0xd9)+'ers','qDitm':function(_0x701a14,_0x566673,_0x3981bb,_0x3b6ff4){return _0x701a14(_0x566673,_0x3981bb,_0x3b6ff4);}},{chat:_0x2e7d47,workspace:_0x165b58}=_0x4534f1,{action:_0x1c2481}=_0x153c40;switch(_0x1c2481){case _0x25b6e7(0xc8):{const {detail_level:detail_level=_0x20d75c[_0x25b6e7(0x156)]}=_0x153c40,_0x80a948=_0x2e7d47[_0x25b6e7(0xcc)+'amId'](),_0x530cdf=await _0x2e7d47['getCh'+_0x25b6e7(0x139)+'s'](_0x80a948);if(detail_level==='names'){const _0x102575=_0x530cdf[_0x25b6e7(0xa5)]||[];return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xdd)+_0x25b6e7(0x15b)](_0x102575[_0x25b6e7(0x10c)](_0x34f72f=>({'id':_0x34f72f['id'],'name':_0x34f72f[_0x25b6e7(0xb2)]})));}return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xdd)+_0x25b6e7(0x15b)](_0x530cdf[_0x25b6e7(0xa5)]);}case _0x20d75c[_0x25b6e7(0xe5)]:{const _0xb60c68=await _0x20d75c['tkPvk'](resolveChannelId,_0x153c40[_0x25b6e7(0x131)+_0x25b6e7(0x13c)],_0x153c40[_0x25b6e7(0x131)+_0x25b6e7(0xea)+'me'],_0x2e7d47),_0x1ff1fe=await _0x2e7d47[_0x25b6e7(0xd6)+_0x25b6e7(0x139)](_0xb60c68);return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xdd)+_0x25b6e7(0x15b)](_0x1ff1fe[_0x25b6e7(0xa5)]);}case'creat'+'e':{if(!_0x153c40['name'])return sponsorService[_0x25b6e7(0xe7)+'eErro'+'rResp'+'onse'](_0x20d75c[_0x25b6e7(0x16e)]);let {space_id:_0x2d7a8d,folder_id:_0xe65df3,list_id:_0x5b4c15}=_0x153c40;const _0xa20014=[];!_0x2d7a8d&&_0x153c40['space'+'Name']&&_0xa20014[_0x25b6e7(0xce)](_0x20d75c[_0x25b6e7(0x163)](resolveLocation,_0x20d75c['QZZEI'],undefined,_0x153c40[_0x25b6e7(0xa3)+'Name'],_0x165b58)[_0x25b6e7(0x12b)](_0x2c4dc7=>{_0x2d7a8d=_0x2c4dc7['id'];}));!_0xe65df3&&_0x153c40[_0x25b6e7(0x147)+_0x25b6e7(0xf7)]&&_0xa20014['push'](resolveLocation(_0x20d75c[_0x25b6e7(0xdb)],undefined,_0x153c40[_0x25b6e7(0x147)+_0x25b6e7(0xf7)],_0x165b58)[_0x25b6e7(0x12b)](_0x197f73=>{_0xe65df3=_0x197f73['id'];}));!_0x5b4c15&&_0x153c40[_0x25b6e7(0xd5)+_0x25b6e7(0x159)]&&_0xa20014['push'](_0x20d75c[_0x25b6e7(0x10b)](resolveLocation,_0x25b6e7(0xc8),undefined,_0x153c40[_0x25b6e7(0xd5)+'ame'],_0x165b58)[_0x25b6e7(0x12b)](_0x41c76d=>{_0x5b4c15=_0x41c76d['id'];}));_0xa20014[_0x25b6e7(0x161)+'h']>0x0&&await Promise[_0x25b6e7(0x9a)](_0xa20014);const _0x4e4c94=_0x2e7d47[_0x25b6e7(0xcc)+_0x25b6e7(0xe9)](),_0x177703=await _0x2e7d47[_0x25b6e7(0xe7)+_0x25b6e7(0xd8)+'nel'](_0x4e4c94,{'name':_0x153c40['name'],'description':_0x153c40[_0x25b6e7(0x137)+_0x25b6e7(0x157)+'n'],'topic':_0x153c40[_0x25b6e7(0xa8)],'visibility':_0x153c40[_0x25b6e7(0xa1)+'ility'],'space_id':_0x2d7a8d,'folder_id':_0xe65df3,'list_id':_0x5b4c15});return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xdd)+_0x25b6e7(0x15b)](_0x177703['data']);}case _0x20d75c[_0x25b6e7(0xd1)]:{const _0xc9133=await resolveChannelId(_0x153c40['chann'+_0x25b6e7(0x13c)],_0x153c40[_0x25b6e7(0x131)+'el_na'+'me'],_0x2e7d47),_0x3fc95f={};if(_0x20d75c[_0x25b6e7(0xf9)](_0x153c40['name'],undefined))_0x3fc95f[_0x25b6e7(0xb2)]=_0x153c40[_0x25b6e7(0xb2)];if(_0x153c40[_0x25b6e7(0x137)+_0x25b6e7(0x157)+'n']!==undefined)_0x3fc95f[_0x25b6e7(0x137)+'iptio'+'n']=_0x153c40[_0x25b6e7(0x137)+'iptio'+'n'];if(_0x153c40[_0x25b6e7(0xa8)]!==undefined)_0x3fc95f[_0x25b6e7(0xa8)]=_0x153c40[_0x25b6e7(0xa8)];if(_0x20d75c[_0x25b6e7(0x101)](_0x153c40['visib'+_0x25b6e7(0x117)],undefined))_0x3fc95f['visib'+'ility']=_0x153c40['visib'+_0x25b6e7(0x117)];const _0xbe3ef9=await _0x2e7d47['updat'+'eChan'+_0x25b6e7(0x121)](_0xc9133,_0x3fc95f);return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xdd)+_0x25b6e7(0x15b)](_0xbe3ef9['data']);}case _0x20d75c[_0x25b6e7(0x166)]:{const _0x297f21=await resolveChannelId(_0x153c40[_0x25b6e7(0x131)+_0x25b6e7(0x13c)],_0x153c40[_0x25b6e7(0x131)+_0x25b6e7(0xea)+'me'],_0x2e7d47);return await _0x2e7d47[_0x25b6e7(0xc3)+'eChan'+_0x25b6e7(0x121)](_0x297f21),sponsorService['creat'+_0x25b6e7(0xdd)+'onse']({'success':!![],'message':_0x20d75c[_0x25b6e7(0x141)]});}case _0x25b6e7(0x152)+_0x25b6e7(0xb6)+'s':{const _0x18aaee=await _0x20d75c[_0x25b6e7(0xb8)](resolveChannelId,_0x153c40[_0x25b6e7(0x131)+'el_id'],_0x153c40['chann'+_0x25b6e7(0xea)+'me'],_0x2e7d47),_0x11a137=await _0x2e7d47[_0x25b6e7(0xd6)+_0x25b6e7(0x139)+_0x25b6e7(0xf6)+'rs'](_0x18aaee,_0x153c40[_0x25b6e7(0xe8)+'r'],_0x153c40[_0x25b6e7(0xf5)]);return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xdd)+_0x25b6e7(0x15b)](_0x11a137['data']);}case _0x20d75c[_0x25b6e7(0x118)]:{const _0x3a4b8d=await _0x20d75c[_0x25b6e7(0xb5)](resolveChannelId,_0x153c40[_0x25b6e7(0x131)+_0x25b6e7(0x13c)],_0x153c40[_0x25b6e7(0x131)+'el_na'+'me'],_0x2e7d47),_0x3443c5=await _0x2e7d47[_0x25b6e7(0xd6)+_0x25b6e7(0x139)+'Follo'+_0x25b6e7(0x12e)](_0x3a4b8d,_0x153c40[_0x25b6e7(0xe8)+'r'],_0x153c40[_0x25b6e7(0xf5)]);return sponsorService['creat'+_0x25b6e7(0xdd)+_0x25b6e7(0x15b)](_0x3443c5[_0x25b6e7(0xa5)]);}case _0x25b6e7(0xe7)+_0x25b6e7(0xee):{if(!_0x153c40['membe'+'r_ids']||!Array[_0x25b6e7(0x173)+'ay'](_0x153c40['membe'+_0x25b6e7(0xad)])||_0x153c40[_0x25b6e7(0xcf)+'r_ids'][_0x25b6e7(0x161)+'h']===0x0)return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xa2)+_0x25b6e7(0x106)+'onse'](_0x25b6e7(0xcf)+'r_ids'+_0x25b6e7(0x112)+_0x25b6e7(0xdf)+_0x25b6e7(0xc5)+_0x25b6e7(0x129)+_0x25b6e7(0xfd)+'equir'+'ed\x20fo'+'r\x20cre'+_0x25b6e7(0x135)+_0x25b6e7(0xc1)+_0x25b6e7(0x130));const _0xaea27c=_0x2e7d47[_0x25b6e7(0xcc)+'amId'](),_0x494b12=await _0x2e7d47[_0x25b6e7(0xe7)+_0x25b6e7(0xe0)+_0x25b6e7(0xaf)+'sage'](_0xaea27c,_0x153c40[_0x25b6e7(0xcf)+_0x25b6e7(0xad)]);return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xdd)+'onse'](_0x494b12[_0x25b6e7(0xa5)]);}default:return sponsorService[_0x25b6e7(0xe7)+_0x25b6e7(0xa2)+'rResp'+_0x25b6e7(0x15b)](_0x25b6e7(0x179)+_0x25b6e7(0xf0)+_0x25b6e7(0x149)+'\x20'+_0x1c2481);}}async function resolveSubtypeId(_0x21917c,_0x1a74d5,_0x4d54ef=a0_0x418a88(0xc9),_0x2b3635){const _0x511a40=a0_0x418a88,_0x578262={'pIevU':function(_0x228cd7,_0x49ed80){return _0x228cd7||_0x49ed80;}};if(_0x21917c)return _0x21917c;if(_0x578262[_0x511a40(0x16f)](!_0x1a74d5,!_0x2b3635))return'';const _0x3d39bf=_0x2b3635[_0x511a40(0xcc)+_0x511a40(0xe9)](),_0x572847=await _0x2b3635[_0x511a40(0x95)+_0x511a40(0xac)+_0x511a40(0x111)](_0x3d39bf,_0x4d54ef),_0x22db7f=_0x572847['data']||[],_0x1c2caf=_0x22db7f[_0x511a40(0x13b)](_0x1fe93c=>_0x1fe93c[_0x511a40(0xb2)][_0x511a40(0xc7)+_0x511a40(0xfb)+'e']()===_0x1a74d5['toLow'+_0x511a40(0xfb)+'e']()||_0x1fe93c['id']===_0x1a74d5);if(_0x1c2caf)return _0x1c2caf['id'];throw new Error('Post\x20'+_0x511a40(0x100)+_0x511a40(0xca)+_0x1a74d5+('\x22\x20not'+'\x20foun'+_0x511a40(0x126)+'ailab'+'le\x20su'+'btype'+_0x511a40(0x124))+_0x22db7f[_0x511a40(0x10c)](_0x47bbd7=>_0x47bbd7['name'])[_0x511a40(0x115)](',\x20'));}export async function handleManageChatMessages(_0x59da4e,_0x53ff4b){const _0x4e72c6=a0_0x418a88,_0x3eea7a={'FlUPS':_0x4e72c6(0xe7)+'e','LloIO':_0x4e72c6(0x14d)+_0x4e72c6(0x140)+'\x20requ'+_0x4e72c6(0x171)+'for\x20c'+_0x4e72c6(0xcb)+'\x20acti'+'on','GAzbM':'Eithe'+_0x4e72c6(0x136)+_0x4e72c6(0xbd)+_0x4e72c6(0x9e)+'\x20subt'+_0x4e72c6(0xe2)+'ame\x20i'+'s\x20req'+'uired'+_0x4e72c6(0x16a)+_0x4e72c6(0xe6)+_0x4e72c6(0x16c)+_0x4e72c6(0x13e),'okPyy':function(_0x28d568,_0x5dc5dc,_0x372ee2,_0x4f882e){return _0x28d568(_0x5dc5dc,_0x372ee2,_0x4f882e);},'wSPPA':_0x4e72c6(0xfc)+_0x4e72c6(0x164)+_0x4e72c6(0xff)+'n-con'+_0x4e72c6(0xe3)+'r.js','cYSbk':_0x4e72c6(0x15d)+'e','Sigqs':'Messa'+_0x4e72c6(0x15c)+_0x4e72c6(0x123)+_0x4e72c6(0x11c)+_0x4e72c6(0x134)+_0x4e72c6(0x177),'WsyTq':_0x4e72c6(0x9f)+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+_0x4e72c6(0x11f)+'ed\x20fo'+_0x4e72c6(0x174)+_0x4e72c6(0xf1)+_0x4e72c6(0x160)+_0x4e72c6(0x12c),'zjmjK':_0x4e72c6(0x9f)+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+'equir'+_0x4e72c6(0x16b)+'r\x20cre'+'ate_r'+_0x4e72c6(0xd4)+_0x4e72c6(0x142)+'n','MQvhA':'Faile'+_0x4e72c6(0x172)+_0x4e72c6(0x138)+_0x4e72c6(0x167)+_0x4e72c6(0xe1)+_0x4e72c6(0xf8)+_0x4e72c6(0xd7)+_0x4e72c6(0x114)+_0x4e72c6(0x120)+'n.\x20@m'+_0x4e72c6(0xdc)+_0x4e72c6(0x13f)+_0x4e72c6(0xae)+_0x4e72c6(0x12f)+'.','uSAFB':function(_0x172c36,_0x46d476,_0x3d82b0){return _0x172c36(_0x46d476,_0x3d82b0);},'euktC':function(_0x35856e,_0x5006c0){return _0x35856e>_0x5006c0;},'dpGkK':function(_0x2146f4,_0x383251){return _0x2146f4-_0x383251;},'JYzLm':_0x4e72c6(0x127)+_0x4e72c6(0x168)+'on','OotIq':'react'+_0x4e72c6(0xc6)+'s\x20req'+'uired'+_0x4e72c6(0xc0)+_0x4e72c6(0x127)+'eacti'+_0x4e72c6(0x103)+_0x4e72c6(0x169),'HVwUk':_0x4e72c6(0x108)+_0x4e72c6(0xc6)+_0x4e72c6(0x14c)+_0x4e72c6(0x99)+_0x4e72c6(0xc0)+_0x4e72c6(0x150)+_0x4e72c6(0xa7)+_0x4e72c6(0x12c)+_0x4e72c6(0x12d)+'on','hPJhj':_0x4e72c6(0x16d)+'eacti'+_0x4e72c6(0x15a),'LOeZx':_0x4e72c6(0x9f)+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+_0x4e72c6(0x11f)+_0x4e72c6(0x16b)+'r\x20get'+_0x4e72c6(0x10e)+'tions'+_0x4e72c6(0x12d)+'on','RgLSN':'get_t'+_0x4e72c6(0x97)+_0x4e72c6(0x14f)+'s','dmOer':_0x4e72c6(0x9f)+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+_0x4e72c6(0x11f)+_0x4e72c6(0x16b)+'r\x20get'+'_tagg'+_0x4e72c6(0xb7)+_0x4e72c6(0xbc)+_0x4e72c6(0x12c)},{chat:_0x1622eb,workspace:_0x2efa6e}=_0x53ff4b,{action:_0x4bd67e}=_0x59da4e;switch(_0x4bd67e){case _0x4e72c6(0x14a):{const _0x4d568a=await resolveChannelId(_0x59da4e[_0x4e72c6(0x131)+_0x4e72c6(0x13c)],_0x59da4e[_0x4e72c6(0x131)+_0x4e72c6(0xea)+'me'],_0x1622eb),_0x8e0a0e=await _0x1622eb[_0x4e72c6(0xfe)+_0x4e72c6(0x128)+'s'](_0x4d568a,_0x59da4e['curso'+'r'],_0x59da4e[_0x4e72c6(0xf5)]);return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xdd)+_0x4e72c6(0x15b)](_0x8e0a0e[_0x4e72c6(0xa5)]);}case _0x3eea7a[_0x4e72c6(0x12a)]:{if(!_0x59da4e[_0x4e72c6(0x14d)+'nt'])return sponsorService[_0x4e72c6(0xe7)+'eErro'+'rResp'+_0x4e72c6(0x15b)](_0x3eea7a[_0x4e72c6(0x151)]);let _0x5bafc5=_0x59da4e[_0x4e72c6(0x100)+_0x4e72c6(0x132)];if(_0x59da4e[_0x4e72c6(0xd0)]===_0x4e72c6(0xc9)){if(!_0x59da4e[_0x4e72c6(0xda)+_0x4e72c6(0x11b)])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x4e72c6(0xda)+_0x4e72c6(0x11b)+_0x4e72c6(0xfd)+'equir'+_0x4e72c6(0xe4)+'en\x20ty'+_0x4e72c6(0xb4)+'\x20\x27pos'+'t\x27');try{_0x5bafc5=await resolveSubtypeId(_0x59da4e[_0x4e72c6(0x100)+_0x4e72c6(0x132)],_0x59da4e[_0x4e72c6(0x100)+_0x4e72c6(0xeb)+'me'],'post',_0x1622eb);if(!_0x5bafc5)return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x3eea7a[_0x4e72c6(0x15e)]);}catch(_0x1e94f4){return sponsorService[_0x4e72c6(0xe7)+'eErro'+'rResp'+_0x4e72c6(0x15b)](_0x1e94f4[_0x4e72c6(0x9f)+'ge']);}}const _0x3966f0=await _0x3eea7a['okPyy'](resolveChannelId,_0x59da4e['chann'+_0x4e72c6(0x13c)],_0x59da4e[_0x4e72c6(0x131)+_0x4e72c6(0xea)+'me'],_0x1622eb);let _0x412cb5=[];try{_0x412cb5=await _0x2efa6e[_0x4e72c6(0xbf)+_0x4e72c6(0x9c)+_0x4e72c6(0x162)+_0x4e72c6(0xb9)]();}catch(_0x5e6579){logger[_0x4e72c6(0x165)](_0x4e72c6(0x98)+'d\x20to\x20'+_0x4e72c6(0x138)+_0x4e72c6(0x167)+_0x4e72c6(0xe1)+_0x4e72c6(0xf8)+_0x4e72c6(0xd7)+_0x4e72c6(0x114)+'lutio'+_0x4e72c6(0x102)+_0x4e72c6(0xdc)+_0x4e72c6(0x13f)+'y\x20not'+'\x20work'+'.',{'error':_0x5e6579});}const {markdownToClickUpComment:_0x2ae0c4}=await import(_0x3eea7a[_0x4e72c6(0xa4)]),_0x465c0c=_0x2ae0c4(_0x59da4e[_0x4e72c6(0x14d)+'nt'],_0x412cb5);if(_0x465c0c[_0x4e72c6(0x161)+'h']>0x0){const _0x3f29dc=_0x465c0c[_0x465c0c[_0x4e72c6(0x161)+'h']-0x1];_0x3f29dc[_0x4e72c6(0xa0)]==='\x0a'&&(!_0x3f29dc[_0x4e72c6(0xa6)+_0x4e72c6(0xba)]||Object[_0x4e72c6(0xaa)](_0x3f29dc[_0x4e72c6(0xa6)+_0x4e72c6(0xba)])[_0x4e72c6(0x161)+'h']===0x0)&&_0x465c0c[_0x4e72c6(0x154)]();}const _0x2e0f49=await _0x1622eb[_0x4e72c6(0xe7)+_0x4e72c6(0xfa)+_0x4e72c6(0x104)](_0x3966f0,{'comment_text':_0x59da4e[_0x4e72c6(0x14d)+'nt'],'notify_all':_0x59da4e[_0x4e72c6(0xef)+_0x4e72c6(0x148)],'comment_parts':_0x465c0c,'type':_0x59da4e[_0x4e72c6(0xd0)],'post_title':_0x59da4e[_0x4e72c6(0xda)+_0x4e72c6(0x11b)],'subtype_id':_0x5bafc5});return sponsorService[_0x4e72c6(0xe7)+'eResp'+_0x4e72c6(0x15b)](_0x2e0f49[_0x4e72c6(0xa5)]);}case _0x3eea7a[_0x4e72c6(0xcd)]:{if(!_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)]('messa'+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+_0x4e72c6(0x11f)+_0x4e72c6(0x16b)+_0x4e72c6(0x153)+_0x4e72c6(0xed)+_0x4e72c6(0x12c));const _0x5de94b={};if(_0x59da4e['conte'+'nt']!==undefined)_0x5de94b['conte'+'nt']=_0x59da4e[_0x4e72c6(0x14d)+'nt'];if(_0x59da4e['resol'+'ved']!==undefined)_0x5de94b['resol'+_0x4e72c6(0x10d)]=_0x59da4e['resol'+_0x4e72c6(0x10d)];const _0x37a579=await _0x1622eb[_0x4e72c6(0x15d)+_0x4e72c6(0xfa)+'age'](_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)],_0x5de94b);return sponsorService[_0x4e72c6(0xe7)+'eResp'+_0x4e72c6(0x15b)](_0x37a579[_0x4e72c6(0xa5)]);}case _0x4e72c6(0xc3)+'e':{if(!_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+'rResp'+_0x4e72c6(0x15b)](_0x4e72c6(0x9f)+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+'equir'+_0x4e72c6(0x16b)+_0x4e72c6(0x144)+_0x4e72c6(0x119)+_0x4e72c6(0x12c));return await _0x1622eb['delet'+_0x4e72c6(0xfa)+_0x4e72c6(0x104)](_0x59da4e['messa'+_0x4e72c6(0x11a)]),sponsorService['creat'+_0x4e72c6(0xdd)+'onse']({'success':!![],'message':_0x3eea7a[_0x4e72c6(0x15f)]});}case _0x4e72c6(0x16d)+'eplie'+'s':{if(!_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+'eErro'+_0x4e72c6(0x106)+'onse'](_0x3eea7a[_0x4e72c6(0x155)]);const _0x575bc9=await _0x1622eb[_0x4e72c6(0xfe)+'ssage'+_0x4e72c6(0xd2)+'es'](_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)],_0x59da4e[_0x4e72c6(0xe8)+'r'],_0x59da4e[_0x4e72c6(0xf5)]);return sponsorService[_0x4e72c6(0xe7)+'eResp'+_0x4e72c6(0x15b)](_0x575bc9[_0x4e72c6(0xa5)]);}case _0x4e72c6(0xe7)+_0x4e72c6(0x116)+'ly':{if(!_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x3eea7a[_0x4e72c6(0x11d)]);if(!_0x59da4e[_0x4e72c6(0x14d)+'nt'])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x4e72c6(0x14d)+_0x4e72c6(0x140)+'\x20requ'+_0x4e72c6(0x171)+_0x4e72c6(0x178)+_0x4e72c6(0xcb)+_0x4e72c6(0xf1)+_0x4e72c6(0x109)+_0x4e72c6(0x130));let _0x109edf=[];try{_0x109edf=await _0x2efa6e[_0x4e72c6(0xbf)+'rkspa'+_0x4e72c6(0x162)+_0x4e72c6(0xb9)]();}catch(_0x58158f){logger[_0x4e72c6(0x165)](_0x3eea7a[_0x4e72c6(0x9d)],{'error':_0x58158f});}const {markdownToClickUpComment:_0x20df7a}=await import(_0x4e72c6(0xfc)+'sk/ma'+_0x4e72c6(0xff)+'n-con'+_0x4e72c6(0xe3)+_0x4e72c6(0xb3)),_0x1dce63=_0x3eea7a[_0x4e72c6(0xf4)](_0x20df7a,_0x59da4e['conte'+'nt'],_0x109edf);if(_0x3eea7a[_0x4e72c6(0x170)](_0x1dce63['lengt'+'h'],0x0)){const _0xd0ec93=_0x1dce63[_0x3eea7a[_0x4e72c6(0xab)](_0x1dce63[_0x4e72c6(0x161)+'h'],0x1)];_0xd0ec93[_0x4e72c6(0xa0)]==='\x0a'&&(!_0xd0ec93[_0x4e72c6(0xa6)+'butes']||Object[_0x4e72c6(0xaa)](_0xd0ec93[_0x4e72c6(0xa6)+_0x4e72c6(0xba)])['lengt'+'h']===0x0)&&_0x1dce63[_0x4e72c6(0x154)]();}const _0x5dfecd=await _0x1622eb[_0x4e72c6(0xe7)+_0x4e72c6(0xfa)+_0x4e72c6(0x143)+'ply'](_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)],{'content':_0x59da4e[_0x4e72c6(0x14d)+'nt'],'commentParts':_0x1dce63});return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xdd)+_0x4e72c6(0x15b)](_0x5dfecd['data']);}case _0x3eea7a[_0x4e72c6(0x96)]:{if(!_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x4e72c6(0x9f)+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+_0x4e72c6(0x11f)+'ed\x20fo'+_0x4e72c6(0xde)+'_reac'+_0x4e72c6(0x11e)+_0x4e72c6(0x142)+'n');if(!_0x59da4e[_0x4e72c6(0x108)+'ion'])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x3eea7a[_0x4e72c6(0x107)]);const _0x2b3780=await _0x1622eb['addRe'+_0x4e72c6(0x142)+'n'](_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)],_0x59da4e[_0x4e72c6(0x108)+_0x4e72c6(0x130)]);return sponsorService['creat'+_0x4e72c6(0xdd)+_0x4e72c6(0x15b)](_0x2b3780['data']);}case'remov'+'e_rea'+_0x4e72c6(0x12c):{if(!_0x59da4e[_0x4e72c6(0x9f)+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+'eErro'+'rResp'+'onse'](_0x4e72c6(0x9f)+_0x4e72c6(0x11a)+_0x4e72c6(0xfd)+_0x4e72c6(0x11f)+_0x4e72c6(0x16b)+_0x4e72c6(0x176)+_0x4e72c6(0x94)+_0x4e72c6(0x168)+'on\x20ac'+'tion');if(!_0x59da4e['react'+_0x4e72c6(0x130)])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x3eea7a[_0x4e72c6(0xbe)]);const _0x2236ea=await _0x1622eb[_0x4e72c6(0x150)+'eReac'+'tion'](_0x59da4e[_0x4e72c6(0x9f)+'ge_id'],_0x59da4e[_0x4e72c6(0x108)+'ion']);return sponsorService['creat'+_0x4e72c6(0xdd)+_0x4e72c6(0x15b)]({'success':!![]});}case _0x3eea7a['hPJhj']:{if(!_0x59da4e['messa'+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xa2)+'rResp'+_0x4e72c6(0x15b)](_0x3eea7a['LOeZx']);const _0x2ef70a=await _0x1622eb[_0x4e72c6(0xb1)+'actio'+'ns'](_0x59da4e['messa'+_0x4e72c6(0x11a)]);return sponsorService[_0x4e72c6(0xe7)+_0x4e72c6(0xdd)+'onse'](_0x2ef70a[_0x4e72c6(0xa5)]);}case _0x3eea7a[_0x4e72c6(0x113)]:{if(!_0x59da4e['messa'+_0x4e72c6(0x11a)])return sponsorService[_0x4e72c6(0xe7)+'eErro'+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x3eea7a[_0x4e72c6(0xf3)]);const _0x50f4c5=await _0x1622eb[_0x4e72c6(0xa9)+_0x4e72c6(0x14e)+'sers'](_0x59da4e[_0x4e72c6(0x9f)+'ge_id']);return sponsorService[_0x4e72c6(0xe7)+'eResp'+_0x4e72c6(0x15b)](_0x50f4c5['data']);}case _0x4e72c6(0xf2)+_0x4e72c6(0xbb)+'es':{const _0x504873=_0x1622eb['getTe'+_0x4e72c6(0xe9)](),_0x6d8284=await _0x1622eb[_0x4e72c6(0x95)+_0x4e72c6(0xac)+_0x4e72c6(0x111)](_0x504873,_0x59da4e['comme'+_0x4e72c6(0x13a)+'pe']);return sponsorService['creat'+'eResp'+_0x4e72c6(0x15b)](_0x6d8284[_0x4e72c6(0xa5)]);}default:return sponsorService[_0x4e72c6(0xe7)+'eErro'+_0x4e72c6(0x106)+_0x4e72c6(0x15b)](_0x4e72c6(0x179)+_0x4e72c6(0xf0)+'tion:'+'\x20'+_0x4bd67e);}}
@@ -1 +1 @@
1
- const a0_0x30b12d=a0_0x3c28;(function(_0x418b47,_0x406ceb){const _0x5efa52=a0_0x3c28,_0x52824c=_0x418b47();while(!![]){try{const _0x4e3b1c=parseInt(_0x5efa52(0x2ed))/0x1+parseInt(_0x5efa52(0x2fc))/0x2+parseInt(_0x5efa52(0x243))/0x3*(-parseInt(_0x5efa52(0x310))/0x4)+-parseInt(_0x5efa52(0x236))/0x5*(parseInt(_0x5efa52(0x2f9))/0x6)+-parseInt(_0x5efa52(0x2cb))/0x7+parseInt(_0x5efa52(0x293))/0x8*(-parseInt(_0x5efa52(0x1ee))/0x9)+-parseInt(_0x5efa52(0x1f3))/0xa*(-parseInt(_0x5efa52(0x2c6))/0xb);if(_0x4e3b1c===_0x406ceb)break;else _0x52824c['push'](_0x52824c['shift']());}catch(_0x4e4638){_0x52824c['push'](_0x52824c['shift']());}}}(a0_0x3361,0x6ef74));export const listChatChannelsTool={'name':'list_'+'chat_'+a0_0x30b12d(0x298)+a0_0x30b12d(0x336),'description':a0_0x30b12d(0x2fa)+'all\x20c'+'hat\x20c'+a0_0x30b12d(0x33a)+a0_0x30b12d(0x206)+a0_0x30b12d(0x29d)+a0_0x30b12d(0x2e1)+a0_0x30b12d(0x222)+a0_0x30b12d(0x2e5)+a0_0x30b12d(0x2e7),'annotations':{'title':a0_0x30b12d(0x2fa)+a0_0x30b12d(0x223)+a0_0x30b12d(0x226)+a0_0x30b12d(0x336),'openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'cursor':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x28b)+'ation'+a0_0x30b12d(0x2a5)+a0_0x30b12d(0x30a)},'limit':{'type':a0_0x30b12d(0x279)+'r','description':a0_0x30b12d(0x2d4)+a0_0x30b12d(0x1f7)+a0_0x30b12d(0x2a7)+'\x20to\x201'+a0_0x30b12d(0x2d8)},'detail_level':{'type':a0_0x30b12d(0x299)+'g','enum':['names',a0_0x30b12d(0x294)+a0_0x30b12d(0x2bc)],'description':'Contr'+a0_0x30b12d(0x2c0)+a0_0x30b12d(0x25e)+a0_0x30b12d(0x278)+a0_0x30b12d(0x2ad)+a0_0x30b12d(0x31c)+a0_0x30b12d(0x232)+a0_0x30b12d(0x24b)+'urns\x20'+a0_0x30b12d(0x216)+a0_0x30b12d(0x342)+a0_0x30b12d(0x1eb)+a0_0x30b12d(0x27a)+a0_0x30b12d(0x2fb)+a0_0x30b12d(0x240)+a0_0x30b12d(0x331)+'on.\x20\x27'+a0_0x30b12d(0x294)+a0_0x30b12d(0x241)+a0_0x30b12d(0x2c9)+a0_0x30b12d(0x275)+a0_0x30b12d(0x300)+'tadat'+a0_0x30b12d(0x289)+'fault'+a0_0x30b12d(0x2e3)+a0_0x30b12d(0x248)+'.'}}}};export const getChatChannelTool={'name':a0_0x30b12d(0x322)+'hat_c'+'hanne'+'l','description':a0_0x30b12d(0x32a)+a0_0x30b12d(0x20e)+'ed\x20in'+'forma'+a0_0x30b12d(0x33d)+a0_0x30b12d(0x225)+a0_0x30b12d(0x324)+a0_0x30b12d(0x212)+a0_0x30b12d(0x286)+a0_0x30b12d(0x2b3)+a0_0x30b12d(0x24d)+a0_0x30b12d(0x253)+'ires\x20'+a0_0x30b12d(0x298)+a0_0x30b12d(0x262)+'\x20or\x20c'+'hanne'+a0_0x30b12d(0x21a)+'e.','annotations':{'title':a0_0x30b12d(0x247)+'hat\x20C'+a0_0x30b12d(0x33a)+'l','openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'channel_id':{'type':'strin'+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x31e)+a0_0x30b12d(0x1f9)+a0_0x30b12d(0x2c3)+'d).'},'channel_name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x2a2)+a0_0x30b12d(0x2a6)+'uto-r'+a0_0x30b12d(0x26e)+'ed).'}},'required':[a0_0x30b12d(0x298)+'el_id']}};export const createChatChannelTool={'name':a0_0x30b12d(0x219)+'e_cha'+a0_0x30b12d(0x32b)+a0_0x30b12d(0x329),'description':a0_0x30b12d(0x2f5)+a0_0x30b12d(0x252)+a0_0x30b12d(0x2c1)+a0_0x30b12d(0x2fe)+'annel'+a0_0x30b12d(0x21c)+a0_0x30b12d(0x27c)+a0_0x30b12d(0x314)+a0_0x30b12d(0x221)+a0_0x30b12d(0x29c)+a0_0x30b12d(0x2f7)+a0_0x30b12d(0x1fc)+'\x20spac'+a0_0x30b12d(0x1ec)+a0_0x30b12d(0x28c)+'r_id/'+a0_0x30b12d(0x313)+a0_0x30b12d(0x1f4)+'r\x20loc'+'ation'+a0_0x30b12d(0x2f2)+a0_0x30b12d(0x2da),'annotations':{'title':a0_0x30b12d(0x2f5)+a0_0x30b12d(0x2a1)+'t\x20Cha'+a0_0x30b12d(0x329),'openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x2a2)+a0_0x30b12d(0x2f0)+a0_0x30b12d(0x2ab)+a0_0x30b12d(0x1fd)},'description':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+'el\x20de'+'scrip'+'tion.'},'topic':{'type':'strin'+'g','description':'Chann'+a0_0x30b12d(0x22b)+a0_0x30b12d(0x282)},'visibility':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x1fe)+a0_0x30b12d(0x30f)+a0_0x30b12d(0x327)+'TE.','enum':[a0_0x30b12d(0x1fe)+'C',a0_0x30b12d(0x327)+'TE']},'space_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x341)+a0_0x30b12d(0x27f)+a0_0x30b12d(0x201)+a0_0x30b12d(0x2ce)+'.'},'spaceName':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x341)+a0_0x30b12d(0x314)+a0_0x30b12d(0x28d)+a0_0x30b12d(0x2ae)+a0_0x30b12d(0x2b6)+').'},'folder_id':{'type':a0_0x30b12d(0x299)+'g','description':'Folde'+a0_0x30b12d(0x2de)+'for\x20c'+a0_0x30b12d(0x277)+'t.'},'folderName':{'type':'strin'+'g','description':'Folde'+a0_0x30b12d(0x2b8)+a0_0x30b12d(0x292)+a0_0x30b12d(0x2f4)+a0_0x30b12d(0x2c7)+'d).'},'list_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2fa)+a0_0x30b12d(0x231)+a0_0x30b12d(0x30c)+a0_0x30b12d(0x220)},'listName':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2fa)+'name\x20'+'(auto'+'-reso'+a0_0x30b12d(0x284)+'.'}},'required':[a0_0x30b12d(0x23e)]}};export const updateChatChannelTool={'name':'updat'+a0_0x30b12d(0x20c)+a0_0x30b12d(0x32b)+'nnel','description':a0_0x30b12d(0x287)+a0_0x30b12d(0x273)+a0_0x30b12d(0x26d)+a0_0x30b12d(0x25c)+'hat\x20c'+'hanne'+'l\x27s\x20m'+a0_0x30b12d(0x1ea)+a0_0x30b12d(0x2e0)+a0_0x30b12d(0x306)+'bilit'+a0_0x30b12d(0x303)+'quire'+a0_0x30b12d(0x272)+a0_0x30b12d(0x20f)+a0_0x30b12d(0x217)+a0_0x30b12d(0x1f8)+'nel_n'+a0_0x30b12d(0x31f),'annotations':{'title':a0_0x30b12d(0x287)+'e\x20Cha'+'t\x20Cha'+'nnel','openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'channel_id':{'type':a0_0x30b12d(0x299)+'g','description':'Chann'+a0_0x30b12d(0x31e)+a0_0x30b12d(0x1f9)+'ferre'+'d).'},'channel_name':{'type':a0_0x30b12d(0x299)+'g','description':'Chann'+a0_0x30b12d(0x2a2)+'me\x20(a'+a0_0x30b12d(0x235)+a0_0x30b12d(0x26e)+a0_0x30b12d(0x31a)},'name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x26b)+a0_0x30b12d(0x33a)+a0_0x30b12d(0x1ff)+'e.'},'description':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2fd)+a0_0x30b12d(0x2d6)+a0_0x30b12d(0x233)+'.'},'topic':{'type':a0_0x30b12d(0x299)+'g','description':'New\x20t'+a0_0x30b12d(0x2e2)},'visibility':{'type':a0_0x30b12d(0x299)+'g','description':'PUBLI'+'C\x20or\x20'+a0_0x30b12d(0x327)+a0_0x30b12d(0x339),'enum':[a0_0x30b12d(0x1fe)+'C','PRIVA'+'TE']}},'required':['chann'+a0_0x30b12d(0x262)]}};export const deleteChatChannelTool={'name':'delet'+'e_cha'+a0_0x30b12d(0x32b)+a0_0x30b12d(0x329),'description':'Perma'+a0_0x30b12d(0x257)+a0_0x30b12d(0x22f)+'ove\x20a'+a0_0x30b12d(0x237)+a0_0x30b12d(0x1f8)+'nel.','annotations':{'title':'Delet'+a0_0x30b12d(0x2a1)+a0_0x30b12d(0x312)+a0_0x30b12d(0x329),'openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'channel_id':{'type':'strin'+'g','description':a0_0x30b12d(0x226)+'el\x20ID'+a0_0x30b12d(0x1f9)+a0_0x30b12d(0x2c3)+a0_0x30b12d(0x267)},'channel_name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+'el\x20na'+a0_0x30b12d(0x2a6)+a0_0x30b12d(0x235)+a0_0x30b12d(0x26e)+a0_0x30b12d(0x31a)}},'required':[a0_0x30b12d(0x298)+a0_0x30b12d(0x262)]}};export const getChatChannelMembersTool={'name':a0_0x30b12d(0x322)+a0_0x30b12d(0x22d)+a0_0x30b12d(0x33a)+'l_mem'+a0_0x30b12d(0x1fa),'description':a0_0x30b12d(0x2fa)+'the\x20m'+a0_0x30b12d(0x261)+a0_0x30b12d(0x2b0)+a0_0x30b12d(0x307)+a0_0x30b12d(0x295)+'a\x20spe'+a0_0x30b12d(0x249)+a0_0x30b12d(0x237)+a0_0x30b12d(0x1f8)+a0_0x30b12d(0x29a)+a0_0x30b12d(0x2e9)+'res\x20c'+a0_0x30b12d(0x33a)+a0_0x30b12d(0x283)+'or\x20ch'+a0_0x30b12d(0x32c)+a0_0x30b12d(0x1f0)+'.','annotations':{'title':a0_0x30b12d(0x247)+a0_0x30b12d(0x238)+a0_0x30b12d(0x33a)+a0_0x30b12d(0x337)+a0_0x30b12d(0x1fa),'openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'channel_id':{'type':a0_0x30b12d(0x299)+'g','description':'Chann'+'el\x20ID'+a0_0x30b12d(0x1f9)+'ferre'+a0_0x30b12d(0x267)},'channel_name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x2a2)+a0_0x30b12d(0x2a6)+a0_0x30b12d(0x235)+a0_0x30b12d(0x26e)+a0_0x30b12d(0x31a)},'cursor':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x28b)+a0_0x30b12d(0x334)+a0_0x30b12d(0x2a5)+a0_0x30b12d(0x30a)},'limit':{'type':'numbe'+'r','description':a0_0x30b12d(0x2d4)+a0_0x30b12d(0x1f7)+a0_0x30b12d(0x2a7)+a0_0x30b12d(0x229)+a0_0x30b12d(0x2d8)}},'required':[a0_0x30b12d(0x298)+a0_0x30b12d(0x262)]}};export const getChatChannelFollowersTool={'name':a0_0x30b12d(0x322)+a0_0x30b12d(0x22d)+a0_0x30b12d(0x33a)+a0_0x30b12d(0x308)+a0_0x30b12d(0x269)+'s','description':a0_0x30b12d(0x2fa)+a0_0x30b12d(0x2a0)+a0_0x30b12d(0x1e9)+a0_0x30b12d(0x2be)+a0_0x30b12d(0x213)+a0_0x30b12d(0x33b)+'ic\x20ch'+'at\x20ch'+'annel'+'.\x20Req'+a0_0x30b12d(0x27c)+a0_0x30b12d(0x1f8)+a0_0x30b12d(0x2f1)+a0_0x30b12d(0x30d)+'chann'+'el_na'+'me.','annotations':{'title':a0_0x30b12d(0x247)+a0_0x30b12d(0x238)+a0_0x30b12d(0x33a)+a0_0x30b12d(0x2b7)+a0_0x30b12d(0x269)+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'channel_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x31e)+'\x20(pre'+a0_0x30b12d(0x2c3)+a0_0x30b12d(0x267)},'channel_name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x2a2)+a0_0x30b12d(0x2a6)+'uto-r'+a0_0x30b12d(0x26e)+a0_0x30b12d(0x31a)},'cursor':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x28b)+'ation'+a0_0x30b12d(0x2a5)+a0_0x30b12d(0x30a)},'limit':{'type':a0_0x30b12d(0x279)+'r','description':a0_0x30b12d(0x2d4)+'esult'+a0_0x30b12d(0x2a7)+a0_0x30b12d(0x229)+a0_0x30b12d(0x2d8)}},'required':[a0_0x30b12d(0x298)+a0_0x30b12d(0x262)]}};function a0_0x3c28(_0x5e0c28,_0x1283d5){_0x5e0c28=_0x5e0c28-0x1e9;const _0x336121=a0_0x3361();let _0x3c282c=_0x336121[_0x5e0c28];if(a0_0x3c28['APkRZA']===undefined){var _0x45a9c3=function(_0x4bbc4b){const _0x59f014='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x25925b='',_0x41f528='';for(let _0x4a870a=0x0,_0x506409,_0x2efee3,_0xdf7b56=0x0;_0x2efee3=_0x4bbc4b['charAt'](_0xdf7b56++);~_0x2efee3&&(_0x506409=_0x4a870a%0x4?_0x506409*0x40+_0x2efee3:_0x2efee3,_0x4a870a++%0x4)?_0x25925b+=String['fromCharCode'](0xff&_0x506409>>(-0x2*_0x4a870a&0x6)):0x0){_0x2efee3=_0x59f014['indexOf'](_0x2efee3);}for(let _0x26bd93=0x0,_0x206c84=_0x25925b['length'];_0x26bd93<_0x206c84;_0x26bd93++){_0x41f528+='%'+('00'+_0x25925b['charCodeAt'](_0x26bd93)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41f528);};a0_0x3c28['mcpHSt']=_0x45a9c3,a0_0x3c28['trwSrq']={},a0_0x3c28['APkRZA']=!![];}const _0x46d8b5=_0x336121[0x0],_0x10fe8f=_0x5e0c28+_0x46d8b5,_0x3fc0be=a0_0x3c28['trwSrq'][_0x10fe8f];return!_0x3fc0be?(_0x3c282c=a0_0x3c28['mcpHSt'](_0x3c282c),a0_0x3c28['trwSrq'][_0x10fe8f]=_0x3c282c):_0x3c282c=_0x3fc0be,_0x3c282c;}export const createChatDmTool={'name':a0_0x30b12d(0x219)+a0_0x30b12d(0x20c)+a0_0x30b12d(0x20b),'description':a0_0x30b12d(0x323)+a0_0x30b12d(0x2b1)+a0_0x30b12d(0x2ba)+a0_0x30b12d(0x305)+a0_0x30b12d(0x276)+a0_0x30b12d(0x33e)+a0_0x30b12d(0x1f8)+a0_0x30b12d(0x33c)+a0_0x30b12d(0x251)+a0_0x30b12d(0x33b)+a0_0x30b12d(0x333)+a0_0x30b12d(0x330)+a0_0x30b12d(0x253)+a0_0x30b12d(0x21b)+a0_0x30b12d(0x20a)+a0_0x30b12d(0x24a)+a0_0x30b12d(0x2c4)+'y.','annotations':{'title':a0_0x30b12d(0x2f5)+a0_0x30b12d(0x2a1)+a0_0x30b12d(0x264),'openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'member_ids':{'type':a0_0x30b12d(0x311),'items':{'type':a0_0x30b12d(0x29b)+'er'},'description':'Array'+a0_0x30b12d(0x2b4)+a0_0x30b12d(0x261)+'\x20user'+'\x20IDs.'+'\x20Requ'+a0_0x30b12d(0x2f8)}},'required':['membe'+'r_ids']}};export const getChatMessagesTool={'name':'get_c'+a0_0x30b12d(0x26f)+a0_0x30b12d(0x1ef)+'es','description':a0_0x30b12d(0x21e)+a0_0x30b12d(0x281)+'essag'+'es\x20fr'+'om\x20a\x20'+a0_0x30b12d(0x266)+a0_0x30b12d(0x2b5)+a0_0x30b12d(0x27d)+a0_0x30b12d(0x33a)+'l.\x20Re'+a0_0x30b12d(0x268)+a0_0x30b12d(0x272)+a0_0x30b12d(0x20f)+a0_0x30b12d(0x217)+a0_0x30b12d(0x1f8)+a0_0x30b12d(0x209)+'ame.','annotations':{'title':a0_0x30b12d(0x247)+a0_0x30b12d(0x29e)+a0_0x30b12d(0x1ef)+'es','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'channel_id':{'type':'strin'+'g','description':a0_0x30b12d(0x226)+'el\x20ID'+'\x20(pre'+a0_0x30b12d(0x2c3)+a0_0x30b12d(0x267)},'channel_name':{'type':'strin'+'g','description':'Chann'+'el\x20na'+a0_0x30b12d(0x2a6)+a0_0x30b12d(0x235)+a0_0x30b12d(0x26e)+'ed).'},'cursor':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x28b)+a0_0x30b12d(0x334)+a0_0x30b12d(0x2a5)+'or.'},'limit':{'type':a0_0x30b12d(0x279)+'r','description':a0_0x30b12d(0x2d4)+'esult'+'s\x20(up'+a0_0x30b12d(0x229)+a0_0x30b12d(0x2d8)}},'required':[a0_0x30b12d(0x298)+a0_0x30b12d(0x262)]}};export const createChatMessageTool={'name':'creat'+'e_cha'+'t_mes'+a0_0x30b12d(0x321),'description':a0_0x30b12d(0x25f)+a0_0x30b12d(0x2ac)+a0_0x30b12d(0x319)+'age\x20t'+a0_0x30b12d(0x2eb)+a0_0x30b12d(0x27d)+a0_0x30b12d(0x33a)+a0_0x30b12d(0x2a9)+'quire'+'s\x20cha'+a0_0x30b12d(0x20f)+a0_0x30b12d(0x217)+a0_0x30b12d(0x1f8)+a0_0x30b12d(0x209)+a0_0x30b12d(0x1ed)+'\x20cont'+a0_0x30b12d(0x224),'annotations':{'title':a0_0x30b12d(0x2f5)+'e\x20Cha'+a0_0x30b12d(0x2f6)+a0_0x30b12d(0x321),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'channel_id':{'type':a0_0x30b12d(0x299)+'g','description':'Chann'+a0_0x30b12d(0x31e)+a0_0x30b12d(0x1f9)+a0_0x30b12d(0x2c3)+a0_0x30b12d(0x267)},'channel_name':{'type':'strin'+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x2a2)+a0_0x30b12d(0x2a6)+'uto-r'+'esolv'+a0_0x30b12d(0x31a)},'content':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x320)+a0_0x30b12d(0x32f)+a0_0x30b12d(0x1f1)+a0_0x30b12d(0x250)+a0_0x30b12d(0x26a)+'orted'+').\x20Re'+a0_0x30b12d(0x268)+'d.'},'notify_all':{'type':'boole'+'an','description':'Notif'+a0_0x30b12d(0x317)+a0_0x30b12d(0x1f8)+a0_0x30b12d(0x258)+a0_0x30b12d(0x261)+'s.'},'type':{'type':a0_0x30b12d(0x299)+'g','description':'Messa'+a0_0x30b12d(0x274)+a0_0x30b12d(0x2b9),'enum':['messa'+'ge',a0_0x30b12d(0x325)],'default':'messa'+'ge'},'post_title':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x285)+a0_0x30b12d(0x301)+a0_0x30b12d(0x315)+'type.'},'subtype_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2a4)+a0_0x30b12d(0x242)+a0_0x30b12d(0x301)+a0_0x30b12d(0x315)+a0_0x30b12d(0x316)},'subtype_name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2a4)+a0_0x30b12d(0x2df)+a0_0x30b12d(0x25b)+'.g.\x20\x27'+'Annou'+'nceme'+a0_0x30b12d(0x2af)+a0_0x30b12d(0x2cf)+a0_0x30b12d(0x2b2)+a0_0x30b12d(0x2a3)+a0_0x30b12d(0x245)+'.'}},'required':[a0_0x30b12d(0x298)+a0_0x30b12d(0x262),a0_0x30b12d(0x22e)+'nt']}};export const updateChatMessageTool={'name':'updat'+a0_0x30b12d(0x20c)+'t_mes'+'sage','description':a0_0x30b12d(0x207)+a0_0x30b12d(0x205)+a0_0x30b12d(0x26d)+a0_0x30b12d(0x25c)+a0_0x30b12d(0x24c)+a0_0x30b12d(0x1ef)+'e\x20or\x20'+a0_0x30b12d(0x214)+a0_0x30b12d(0x28e)+a0_0x30b12d(0x33d)+'statu'+a0_0x30b12d(0x1fb)+a0_0x30b12d(0x268)+a0_0x30b12d(0x23d)+a0_0x30b12d(0x270)+a0_0x30b12d(0x2ca),'annotations':{'title':a0_0x30b12d(0x287)+a0_0x30b12d(0x2a1)+a0_0x30b12d(0x2f6)+a0_0x30b12d(0x321),'openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'message_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+a0_0x30b12d(0x21c)+a0_0x30b12d(0x2f3)+'.'},'content':{'type':a0_0x30b12d(0x299)+'g','description':'New\x20m'+a0_0x30b12d(0x1ef)+a0_0x30b12d(0x234)+a0_0x30b12d(0x239)},'resolved':{'type':a0_0x30b12d(0x2ec)+'an','description':a0_0x30b12d(0x32d)+'messa'+a0_0x30b12d(0x30b)+a0_0x30b12d(0x297)+'lved.'}},'required':['messa'+a0_0x30b12d(0x2e6)]}};export const deleteChatMessageTool={'name':a0_0x30b12d(0x2bf)+a0_0x30b12d(0x20c)+a0_0x30b12d(0x227)+a0_0x30b12d(0x321),'description':'Perma'+'nentl'+a0_0x30b12d(0x22f)+a0_0x30b12d(0x210)+a0_0x30b12d(0x237)+a0_0x30b12d(0x319)+'age.','annotations':{'title':a0_0x30b12d(0x260)+a0_0x30b12d(0x2a1)+'t\x20Mes'+a0_0x30b12d(0x321),'openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'message_id':{'type':'strin'+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+a0_0x30b12d(0x21c)+a0_0x30b12d(0x2f3)+'.'}},'required':[a0_0x30b12d(0x29f)+a0_0x30b12d(0x2e6)]}};export const getChatMessageRepliesTool={'name':a0_0x30b12d(0x322)+a0_0x30b12d(0x26f)+a0_0x30b12d(0x1ef)+a0_0x30b12d(0x291)+a0_0x30b12d(0x28f),'description':a0_0x30b12d(0x21e)+a0_0x30b12d(0x338)+a0_0x30b12d(0x25d)+a0_0x30b12d(0x335)+a0_0x30b12d(0x318)+a0_0x30b12d(0x249)+a0_0x30b12d(0x237)+a0_0x30b12d(0x319)+a0_0x30b12d(0x2d7)+a0_0x30b12d(0x200)+'ded\x20c'+'hat).'+a0_0x30b12d(0x253)+'ires\x20'+a0_0x30b12d(0x29f)+'ge_id'+'.','annotations':{'title':'Get\x20C'+'hat\x20M'+a0_0x30b12d(0x1ef)+a0_0x30b12d(0x32e)+a0_0x30b12d(0x28f),'openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'message_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+a0_0x30b12d(0x21c)+a0_0x30b12d(0x2f3)+'.'},'cursor':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x28b)+a0_0x30b12d(0x334)+a0_0x30b12d(0x2a5)+'or.'},'limit':{'type':'numbe'+'r','description':a0_0x30b12d(0x2d4)+a0_0x30b12d(0x1f7)+a0_0x30b12d(0x2a7)+a0_0x30b12d(0x229)+'00).'}},'required':[a0_0x30b12d(0x29f)+a0_0x30b12d(0x2e6)]}};export const createChatMessageReplyTool={'name':'creat'+a0_0x30b12d(0x20c)+a0_0x30b12d(0x227)+a0_0x30b12d(0x270)+a0_0x30b12d(0x215),'description':a0_0x30b12d(0x25f)+a0_0x30b12d(0x271)+a0_0x30b12d(0x23a)+a0_0x30b12d(0x2cd)+a0_0x30b12d(0x2a8)+a0_0x30b12d(0x276)+a0_0x30b12d(0x21c)+a0_0x30b12d(0x27c)+'\x20mess'+a0_0x30b12d(0x21f)+a0_0x30b12d(0x332)+a0_0x30b12d(0x246)+'t.','annotations':{'title':a0_0x30b12d(0x2f5)+a0_0x30b12d(0x2a1)+'t\x20Mes'+a0_0x30b12d(0x25a)+'Reply','openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'message_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+a0_0x30b12d(0x21c)+'uired'+'.'},'content':{'type':a0_0x30b12d(0x299)+'g','description':'Reply'+a0_0x30b12d(0x2f2)+a0_0x30b12d(0x2d2)+a0_0x30b12d(0x263)+a0_0x30b12d(0x204)+a0_0x30b12d(0x2bd)+a0_0x30b12d(0x1f5)+a0_0x30b12d(0x253)+a0_0x30b12d(0x2f8)}},'required':[a0_0x30b12d(0x29f)+a0_0x30b12d(0x2e6),a0_0x30b12d(0x22e)+'nt']}};function a0_0x3361(){const _0x1389a8=['BNmGzNu','C3nHz2u','B250zxG','C2uGDMu','BNvTyMu','CIbLzMy','ywrKx2m','DwLYzxm','Agf0igm','lcaNAgu','ieLeigy','ifvZzxi','zxzLig0','CgLJlG','Bf9Pzca','BhzLzcK','vgL0Bgu','yYbJAge','vxbKyxq','Aw9U','ys4Grgu','ywXSigu','ugfNAw4','zM9Szgu','icHHDxq','zxnVBhu','BgLLCW','zxjJyxm','zv9Yzxa','zsaOyxu','otu0ngfOrxv1qW','zgv0ywK','zYb0BYa','icSGCMu','ihjLC28','y2HHBM4','C3rYAw4','BMvSlIa','Aw50zwC','Aw9UywW','zMLUzwq','Agf0ie0','BwvZC2e','DgHLigy','zsbdAge','zwWGBMe','BhzLzca','u3vIDhK','ign1CNm','BwuGkge','CYaODxa','yxqGBwu','Bc4GuMu','BNqGDhK','zxf1Axi','ysbUzxC','CMjVC2K','BY1Yzxm','BNqNks4','CYbIzwW','yxrLige','lxjLC28','DcbJAge','ig9Mig0','zMLJigm','B2X2zwq','BcbgB2W','CIbUyw0','CguU','igrPCMu','twvZC2e','BgvK','DxbWB3i','zxjZig8','zgvSzxq','B2XZihi','zxCGy2G','B2jQzwm','zMvYCMu','igfYCMe','zwfJDgK','mtm1oda5otzvtMDWCNq','C29SDMu','Df9Yzwe','CMv0Dxi','AwqU','nduWmdm4ngDQyMHNza','icHSB3C','igeGy2G','BNrLEhq','ief1Dg8','AMKGBMe','icCRmsC','zw50icG','Agf0ifi','twf4ihi','B25Lzca','zxnJCMK','ywDLicG','mdaPlG','Agf0ifq','zxH0lG','rMLSDgu','CMvKlG','B25Z','CIbjrca','CguGBMe','DgeGB3i','igLUihq','B3bPyY4','oIbKzxq','CIbIEsa','CMTZCge','z2vFAwq','y2uU','Aw9UCYa','uMvXDwK','Bw9QAsa','BYbHigm','yM9VBgu','mZq4mZe1zeHkC3rX','CMvTB3y','BwuU','BwuUifi','BMvSx2K','ignVBNq','DwLYzwq','Dg8TCMu','q3jLyxq','Dcbnzxm','BhKGChi','AxjLzc4','ndjUvgLXvgq','tgLZDca','AwnPzw4','mtaYmZqXmfzmu0fnyq','tMv3igq','yxqGy2G','ihjLywm','BgWGBwu','igzVCIa','z2uGsuq','Es4GuMu','BNmPlIa','y3qGBwu','ihzPC2K','B25NAw4','Bf9MB2W','rw1VAMK','B3iU','z2uGyxm','CIbJB24','zcbVCIa','BwvUDgK','qYbVCIa','ne1SsgHerW','yxjYyxK','DcbdAge','BgLZDf8','ig5HBwu','Cg9ZDca','DhLWzs4','EsbHBgW','ysbZCgu','ig1LC3m','zwqPlG','Agf0x3i','DhKUicC','zwWU','zwWGsuq','yw1LlG','z2uGy28','C2fNzq','z2v0x2m','sw5PDgK','igeGC3a','Cg9ZDa','yMXLig0','ufjjvKe','AMKGCMu','BM5LBa','r2v0igq','Df9JAge','yw5UzwW','twfYAYa','zsbszxa','BNrLBNq','C2vYCY4','AwDHDgK','zcaRigm','AwvKihu','yxrPB24','CYb0BYa','zwXZ','Bcbnzw0','zxzLihi','veuU','AgfUBMu','CgvJAwy','BMvSihC','DgLVBIa','icHetsK','C3LUy3u','Dcbszwe','u3bHy2u','BwuGB24','uMv2B2S','ywn0Aw8','B2XSB3C','zxrHzge','BhKGzM8','zv9Pzc8','yw1LicS','mti4n1jwvurhCq','zxnZywC','x25HBwu','icHnyxi','ignVBg8','mtbPAeX3u1e','AwqGzM8','DgvKks4','DcbTzxm','zxn1Bhq','ignOyw4','icHWCMu','yMvYCW','CY4GuMu','B3zPzgu','zwqU','ufvcteK','BcbUyw0','DgHYzwe','B3iGy28','BIb0BYa','D2HVihC','B3DUihm','EsbHBIa','BhmGzgu','tw9KAwy','Aw4Gysa','BMvSx24','BwvTyMu','Df9KBq','zv9JAge','ywLFDMK','zxrHAwW','BM5LBf8','B3zLige','ywXSihu','zwnPzMK','zIbHihm','AxrZihi','CMvWBhK','AwqVBMe','AwqGB3i','zNjVBsa','y3jLyxq','Bf9Uyw0','AxjLCYa','lIbszxe','zs4GuMu','uMv0CMK','ywDLx2K','Dgv4Dc4','lIbpChq','AguGD28','q2HHDca','zw50lG','ywjVDxq','q2HHBM4','Df9Tzxm','qwrKiem','ihrVide','icHJyxq','zwWGDg8','Agf0x3q','Agf0x2m','y29UDgu','EsbYzw0','uMvTB3y','suqGzM8','BMfTzxm','ChrPB24','zsbJB24','DxrVlxi','otqZnxH2EeTvwq','ignOyxq','Agf0iem','DgvUDc4','BhKGDg8','ywDNzwq','zsWGBM8','CYbTzxm','BMfTzq','BIbLBw8','DcbUyxy','BgvKjYa','CguGsuq','mJq0mdi2mernzKrSEG','C2fNzs4','Dg8Gsuq','B250zw4','r2v0iem','ywLSzwq','y2LMAwm','CL9Pzhm','jYbYzxq','Agf0ig0','BM5LBc4','x3vZzxi','DhLWzxm','A2rVD24','AxrOihm','zsbHig4','ifjLCxu','zsbtDwi','ysbJAge','r2v0ige','BMvUDgW','BMvSig0','yv9ICMe','C2fNzsa','BwuGkgu','Aw5Nigm','zxbSAwu','zxnWB24','ug9ZDca','rgvSzxq','zw1Izxi','zwXFAwq','twfYA2q','Dcbetq','CMvHy3q','C3bLy2K','zcKU','CxvPCMu','Bg93zxi','ihn1Cha','tMv3igm','y3rPB24','zxHPC3q','zxnVBhy','Agf0x20','C2fNzv8','ysbYzxa','CYbJAge','zsbHBIa','z2uGDhK'];a0_0x3361=function(){return _0x1389a8;};return a0_0x3361();}export const addChatReactionTool={'name':a0_0x30b12d(0x27b)+a0_0x30b12d(0x31b)+'eacti'+'on','description':'Add\x20a'+a0_0x30b12d(0x23f)+a0_0x30b12d(0x328)+a0_0x30b12d(0x344)+a0_0x30b12d(0x202)+a0_0x30b12d(0x255)+a0_0x30b12d(0x1f6)+a0_0x30b12d(0x244)+a0_0x30b12d(0x253)+a0_0x30b12d(0x21b)+a0_0x30b12d(0x29f)+a0_0x30b12d(0x2e6)+a0_0x30b12d(0x296)+a0_0x30b12d(0x344)+a0_0x30b12d(0x23f)+a0_0x30b12d(0x2d0)+'me.','annotations':{'title':a0_0x30b12d(0x228)+a0_0x30b12d(0x2d3)+a0_0x30b12d(0x2c5)+'on','openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'message_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+a0_0x30b12d(0x21c)+a0_0x30b12d(0x2f3)+'.'},'reaction':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x309)+a0_0x30b12d(0x314)+a0_0x30b12d(0x2cc)+a0_0x30b12d(0x290)+a0_0x30b12d(0x23c)+a0_0x30b12d(0x1f2)+a0_0x30b12d(0x304)+'E.g.\x20'+'\x27joy\x27'+a0_0x30b12d(0x27e)+'art\x27,'+a0_0x30b12d(0x2d1)+a0_0x30b12d(0x21c)+a0_0x30b12d(0x2f3)+'.'}},'required':[a0_0x30b12d(0x29f)+a0_0x30b12d(0x2e6),a0_0x30b12d(0x265)+a0_0x30b12d(0x288)]}};export const removeChatReactionTool={'name':a0_0x30b12d(0x2ee)+a0_0x30b12d(0x20c)+a0_0x30b12d(0x2c8)+'ction','description':a0_0x30b12d(0x343)+a0_0x30b12d(0x273)+'emoji'+a0_0x30b12d(0x2ff)+'tion\x20'+a0_0x30b12d(0x218)+a0_0x30b12d(0x255)+a0_0x30b12d(0x1f6)+'sage.'+a0_0x30b12d(0x253)+'ires\x20'+'messa'+'ge_id'+'\x20+\x20re'+a0_0x30b12d(0x344)+a0_0x30b12d(0x23f)+'ji\x20na'+a0_0x30b12d(0x2ef),'annotations':{'title':a0_0x30b12d(0x230)+'e\x20Cha'+a0_0x30b12d(0x340)+a0_0x30b12d(0x26c),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'message_id':{'type':'strin'+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+'.\x20Req'+'uired'+'.'},'reaction':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x309)+a0_0x30b12d(0x314)+'\x20(low'+a0_0x30b12d(0x290)+a0_0x30b12d(0x23c)+a0_0x30b12d(0x1f2)+a0_0x30b12d(0x304)+a0_0x30b12d(0x2e9)+a0_0x30b12d(0x2dc)}},'required':[a0_0x30b12d(0x29f)+a0_0x30b12d(0x2e6),a0_0x30b12d(0x265)+'ion']}};export const getChatReactionsTool={'name':a0_0x30b12d(0x322)+a0_0x30b12d(0x31b)+a0_0x30b12d(0x2c5)+a0_0x30b12d(0x2dd),'description':'List\x20'+a0_0x30b12d(0x28a)+a0_0x30b12d(0x2ea)+a0_0x30b12d(0x265)+a0_0x30b12d(0x2e8)+'on\x20a\x20'+a0_0x30b12d(0x266)+a0_0x30b12d(0x2b5)+'hat\x20m'+a0_0x30b12d(0x1ef)+a0_0x30b12d(0x21d)+'quire'+a0_0x30b12d(0x23d)+a0_0x30b12d(0x270)+'id.','annotations':{'title':a0_0x30b12d(0x247)+a0_0x30b12d(0x2d3)+a0_0x30b12d(0x2c5)+'ons','openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'message_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+a0_0x30b12d(0x21c)+a0_0x30b12d(0x2f3)+'.'}},'required':['messa'+'ge_id']}};export const getChatTaggedUsersTool={'name':a0_0x30b12d(0x322)+a0_0x30b12d(0x22c)+a0_0x30b12d(0x23b)+a0_0x30b12d(0x24e)+'s','description':a0_0x30b12d(0x2fa)+a0_0x30b12d(0x211)+'sers\x20'+a0_0x30b12d(0x203)+'ere\x20@'+a0_0x30b12d(0x30e)+a0_0x30b12d(0x2d5)+a0_0x30b12d(0x208)+'speci'+a0_0x30b12d(0x2b5)+a0_0x30b12d(0x24c)+a0_0x30b12d(0x1ef)+a0_0x30b12d(0x21d)+a0_0x30b12d(0x268)+a0_0x30b12d(0x23d)+a0_0x30b12d(0x270)+a0_0x30b12d(0x2ca),'annotations':{'title':a0_0x30b12d(0x247)+a0_0x30b12d(0x2d9)+a0_0x30b12d(0x23b)+a0_0x30b12d(0x280)+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'message_id':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2bb)+a0_0x30b12d(0x302)+'.\x20Req'+a0_0x30b12d(0x2f3)+'.'}},'required':['messa'+a0_0x30b12d(0x2e6)]}};export const getChatMessageSubtypesTool={'name':a0_0x30b12d(0x322)+'hat_m'+a0_0x30b12d(0x1ef)+'e_sub'+a0_0x30b12d(0x24f),'description':a0_0x30b12d(0x256)+'vaila'+a0_0x30b12d(0x326)+a0_0x30b12d(0x1ef)+'e\x20sub'+a0_0x30b12d(0x24f)+a0_0x30b12d(0x22a)+'egori'+'es)\x20f'+'or\x20a\x20'+a0_0x30b12d(0x298)+a0_0x30b12d(0x31d),'annotations':{'title':a0_0x30b12d(0x247)+a0_0x30b12d(0x29e)+a0_0x30b12d(0x1ef)+a0_0x30b12d(0x254)+a0_0x30b12d(0x24f),'openWorldHint':!![]},'inputSchema':{'type':a0_0x30b12d(0x2c2)+'t','properties':{'channel_id':{'type':a0_0x30b12d(0x299)+'g','description':'Chann'+'el\x20ID'+a0_0x30b12d(0x1f9)+a0_0x30b12d(0x2c3)+'d).'},'channel_name':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x226)+a0_0x30b12d(0x2a2)+'me\x20(a'+a0_0x30b12d(0x235)+a0_0x30b12d(0x26e)+a0_0x30b12d(0x31a)},'comment_type':{'type':a0_0x30b12d(0x299)+'g','description':a0_0x30b12d(0x2db)+a0_0x30b12d(0x2e4)+'comme'+a0_0x30b12d(0x2aa)+a0_0x30b12d(0x2b9),'enum':[a0_0x30b12d(0x325),'ai',a0_0x30b12d(0x33f)+'p',a0_0x30b12d(0x20d)+a0_0x30b12d(0x259)+'in']}}}};
1
+ const a0_0x4c2aeb=a0_0x6a19;(function(_0xa136ed,_0x17e16e){const _0x1f6046=a0_0x6a19,_0x475b4e=_0xa136ed();while(!![]){try{const _0x2bf710=-parseInt(_0x1f6046(0x1c6))/0x1*(parseInt(_0x1f6046(0x147))/0x2)+parseInt(_0x1f6046(0x23b))/0x3+-parseInt(_0x1f6046(0x189))/0x4+-parseInt(_0x1f6046(0x127))/0x5*(-parseInt(_0x1f6046(0x191))/0x6)+-parseInt(_0x1f6046(0x176))/0x7*(-parseInt(_0x1f6046(0x235))/0x8)+parseInt(_0x1f6046(0x163))/0x9+-parseInt(_0x1f6046(0x21a))/0xa;if(_0x2bf710===_0x17e16e)break;else _0x475b4e['push'](_0x475b4e['shift']());}catch(_0x19adc4){_0x475b4e['push'](_0x475b4e['shift']());}}}(a0_0x306f,0xc379c));export const listChatChannelsTool={'name':'list_'+a0_0x4c2aeb(0x1d9)+a0_0x4c2aeb(0x139)+a0_0x4c2aeb(0x1ec),'description':a0_0x4c2aeb(0x225)+'all\x20c'+'hat\x20c'+a0_0x4c2aeb(0x241)+a0_0x4c2aeb(0x1bc)+'fined'+a0_0x4c2aeb(0x268)+a0_0x4c2aeb(0x1b0)+a0_0x4c2aeb(0x1e0)+a0_0x4c2aeb(0x230),'annotations':{'title':a0_0x4c2aeb(0x225)+a0_0x4c2aeb(0x132)+a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x1ec),'openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'cursor':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Pagin'+'ation'+'\x20curs'+a0_0x4c2aeb(0x1f9)},'limit':{'type':a0_0x4c2aeb(0x26a)+'r','description':a0_0x4c2aeb(0x14c)+a0_0x4c2aeb(0x12d)+a0_0x4c2aeb(0x1df)+a0_0x4c2aeb(0x13e)+a0_0x4c2aeb(0x160)},'detail_level':{'type':a0_0x4c2aeb(0x18f)+'g','enum':[a0_0x4c2aeb(0x26e),a0_0x4c2aeb(0x242)+'led'],'description':a0_0x4c2aeb(0x1e9)+a0_0x4c2aeb(0x14b)+a0_0x4c2aeb(0x12b)+'se\x20ve'+a0_0x4c2aeb(0x1ce)+'ty.\x20\x27'+a0_0x4c2aeb(0x26e)+a0_0x4c2aeb(0x24b)+a0_0x4c2aeb(0x181)+a0_0x4c2aeb(0x214)+a0_0x4c2aeb(0x1c8)+a0_0x4c2aeb(0x204)+a0_0x4c2aeb(0x243)+a0_0x4c2aeb(0x14f)+a0_0x4c2aeb(0x1b6)+a0_0x4c2aeb(0x172)+'on.\x20\x27'+'detai'+'led\x27\x20'+a0_0x4c2aeb(0x231)+a0_0x4c2aeb(0x25b)+a0_0x4c2aeb(0x1b7)+a0_0x4c2aeb(0x1af)+a0_0x4c2aeb(0x228)+a0_0x4c2aeb(0x207)+':\x20det'+'ailed'+'.'}}}};export const getChatChannelTool={'name':'get_c'+'hat_c'+a0_0x4c2aeb(0x241)+'l','description':a0_0x4c2aeb(0x254)+a0_0x4c2aeb(0x121)+'ed\x20in'+a0_0x4c2aeb(0x1f0)+a0_0x4c2aeb(0x208)+a0_0x4c2aeb(0x120)+a0_0x4c2aeb(0x19c)+a0_0x4c2aeb(0x1f3)+a0_0x4c2aeb(0x253)+a0_0x4c2aeb(0x124)+a0_0x4c2aeb(0x1b9)+a0_0x4c2aeb(0x1c0)+a0_0x4c2aeb(0x1e4)+'chann'+'el_id'+a0_0x4c2aeb(0x201)+a0_0x4c2aeb(0x241)+a0_0x4c2aeb(0x265)+'e.','annotations':{'title':a0_0x4c2aeb(0x1cc)+a0_0x4c2aeb(0x20d)+'hanne'+'l','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'channel_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Chann'+a0_0x4c2aeb(0x258)+'\x20(pre'+a0_0x4c2aeb(0x19b)+'d).'},'channel_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x165)+'me\x20(a'+a0_0x4c2aeb(0x1ca)+'esolv'+a0_0x4c2aeb(0x1cb)}},'required':[a0_0x4c2aeb(0x139)+a0_0x4c2aeb(0x15c)]}};export const createChatChannelTool={'name':a0_0x4c2aeb(0x170)+a0_0x4c2aeb(0x20a)+a0_0x4c2aeb(0x173)+a0_0x4c2aeb(0x1bd),'description':'Creat'+'e\x20a\x20n'+'ew\x20ch'+'at\x20ch'+a0_0x4c2aeb(0x21b)+a0_0x4c2aeb(0x1e6)+a0_0x4c2aeb(0x1bb)+a0_0x4c2aeb(0x1b5)+a0_0x4c2aeb(0x1a9)+a0_0x4c2aeb(0x15a)+a0_0x4c2aeb(0x26d)+a0_0x4c2aeb(0x212)+a0_0x4c2aeb(0x25f)+a0_0x4c2aeb(0x1a5)+'folde'+a0_0x4c2aeb(0x227)+a0_0x4c2aeb(0x229)+'id\x20fo'+a0_0x4c2aeb(0x14a)+'ation'+a0_0x4c2aeb(0x167)+'ext.','annotations':{'title':a0_0x4c2aeb(0x213)+a0_0x4c2aeb(0x15e)+a0_0x4c2aeb(0x22f)+'nnel','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'name':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Chann'+a0_0x4c2aeb(0x165)+'me.\x20R'+'equir'+a0_0x4c2aeb(0x1fb)},'description':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+'el\x20de'+a0_0x4c2aeb(0x215)+a0_0x4c2aeb(0x184)},'topic':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Chann'+a0_0x4c2aeb(0x216)+a0_0x4c2aeb(0x1bf)},'visibility':{'type':'strin'+'g','description':a0_0x4c2aeb(0x205)+a0_0x4c2aeb(0x1d2)+a0_0x4c2aeb(0x248)+a0_0x4c2aeb(0x272),'enum':['PUBLI'+'C',a0_0x4c2aeb(0x248)+'TE']},'space_id':{'type':'strin'+'g','description':'Space'+a0_0x4c2aeb(0x1da)+a0_0x4c2aeb(0x166)+a0_0x4c2aeb(0x1c4)+'.'},'spaceName':{'type':'strin'+'g','description':'Space'+a0_0x4c2aeb(0x1b5)+a0_0x4c2aeb(0x21f)+'o-res'+'olved'+').'},'folder_id':{'type':'strin'+'g','description':a0_0x4c2aeb(0x211)+a0_0x4c2aeb(0x1ed)+a0_0x4c2aeb(0x209)+'ontex'+'t.'},'folderName':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x211)+'r\x20nam'+a0_0x4c2aeb(0x153)+a0_0x4c2aeb(0x1a1)+a0_0x4c2aeb(0x12f)+a0_0x4c2aeb(0x144)},'list_id':{'type':'strin'+'g','description':'List\x20'+a0_0x4c2aeb(0x1fa)+a0_0x4c2aeb(0x1d1)+a0_0x4c2aeb(0x16b)},'listName':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x225)+a0_0x4c2aeb(0x1a3)+'(auto'+a0_0x4c2aeb(0x1a6)+a0_0x4c2aeb(0x20b)+'.'}},'required':[a0_0x4c2aeb(0x15f)]}};export const updateChatChannelTool={'name':a0_0x4c2aeb(0x15b)+a0_0x4c2aeb(0x20a)+a0_0x4c2aeb(0x173)+a0_0x4c2aeb(0x1bd),'description':a0_0x4c2aeb(0x149)+a0_0x4c2aeb(0x1c2)+a0_0x4c2aeb(0x197)+a0_0x4c2aeb(0x16e)+'hat\x20c'+a0_0x4c2aeb(0x241)+a0_0x4c2aeb(0x125)+a0_0x4c2aeb(0x168)+a0_0x4c2aeb(0x1d5)+a0_0x4c2aeb(0x237)+'bilit'+'y.\x20Re'+a0_0x4c2aeb(0x240)+a0_0x4c2aeb(0x1de)+a0_0x4c2aeb(0x194)+a0_0x4c2aeb(0x199)+a0_0x4c2aeb(0x18a)+a0_0x4c2aeb(0x190)+'ame.','annotations':{'title':a0_0x4c2aeb(0x149)+a0_0x4c2aeb(0x15e)+a0_0x4c2aeb(0x22f)+a0_0x4c2aeb(0x1bd),'openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'channel_id':{'type':'strin'+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x258)+a0_0x4c2aeb(0x180)+'ferre'+a0_0x4c2aeb(0x144)},'channel_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x165)+a0_0x4c2aeb(0x18b)+a0_0x4c2aeb(0x1ca)+a0_0x4c2aeb(0x238)+a0_0x4c2aeb(0x1cb)},'name':{'type':a0_0x4c2aeb(0x18f)+'g','description':'New\x20c'+'hanne'+a0_0x4c2aeb(0x1fd)+'e.'},'description':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x255)+a0_0x4c2aeb(0x188)+'ption'+'.'},'topic':{'type':'strin'+'g','description':a0_0x4c2aeb(0x25a)+'opic.'},'visibility':{'type':'strin'+'g','description':a0_0x4c2aeb(0x205)+a0_0x4c2aeb(0x1d2)+a0_0x4c2aeb(0x248)+a0_0x4c2aeb(0x272),'enum':[a0_0x4c2aeb(0x205)+'C','PRIVA'+'TE']}},'required':['chann'+a0_0x4c2aeb(0x15c)]}};export const deleteChatChannelTool={'name':a0_0x4c2aeb(0x17d)+a0_0x4c2aeb(0x20a)+a0_0x4c2aeb(0x173)+a0_0x4c2aeb(0x1bd),'description':a0_0x4c2aeb(0x1b8)+a0_0x4c2aeb(0x1d4)+a0_0x4c2aeb(0x259)+'ove\x20a'+a0_0x4c2aeb(0x156)+a0_0x4c2aeb(0x18a)+a0_0x4c2aeb(0x134),'annotations':{'title':a0_0x4c2aeb(0x122)+a0_0x4c2aeb(0x15e)+a0_0x4c2aeb(0x22f)+a0_0x4c2aeb(0x1bd),'openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'channel_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Chann'+a0_0x4c2aeb(0x258)+'\x20(pre'+a0_0x4c2aeb(0x19b)+a0_0x4c2aeb(0x144)},'channel_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x165)+'me\x20(a'+a0_0x4c2aeb(0x1ca)+a0_0x4c2aeb(0x238)+a0_0x4c2aeb(0x1cb)}},'required':[a0_0x4c2aeb(0x139)+a0_0x4c2aeb(0x15c)]}};export const getChatChannelMembersTool={'name':a0_0x4c2aeb(0x161)+a0_0x4c2aeb(0x142)+a0_0x4c2aeb(0x241)+a0_0x4c2aeb(0x226)+a0_0x4c2aeb(0x196),'description':a0_0x4c2aeb(0x225)+a0_0x4c2aeb(0x1b4)+a0_0x4c2aeb(0x12a)+a0_0x4c2aeb(0x16a)+a0_0x4c2aeb(0x182)+a0_0x4c2aeb(0x245)+a0_0x4c2aeb(0x13b)+a0_0x4c2aeb(0x1ad)+a0_0x4c2aeb(0x156)+a0_0x4c2aeb(0x18a)+'nel.\x20'+a0_0x4c2aeb(0x157)+a0_0x4c2aeb(0x22d)+a0_0x4c2aeb(0x241)+a0_0x4c2aeb(0x21e)+a0_0x4c2aeb(0x17f)+a0_0x4c2aeb(0x21b)+a0_0x4c2aeb(0x21d)+'.','annotations':{'title':'Get\x20C'+'hat\x20C'+a0_0x4c2aeb(0x241)+a0_0x4c2aeb(0x1e1)+a0_0x4c2aeb(0x196),'openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'channel_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Chann'+a0_0x4c2aeb(0x258)+a0_0x4c2aeb(0x180)+'ferre'+a0_0x4c2aeb(0x144)},'channel_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Chann'+a0_0x4c2aeb(0x165)+'me\x20(a'+a0_0x4c2aeb(0x1ca)+a0_0x4c2aeb(0x238)+a0_0x4c2aeb(0x1cb)},'cursor':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x1db)+a0_0x4c2aeb(0x1cf)+a0_0x4c2aeb(0x1eb)+a0_0x4c2aeb(0x1f9)},'limit':{'type':a0_0x4c2aeb(0x26a)+'r','description':a0_0x4c2aeb(0x14c)+a0_0x4c2aeb(0x12d)+'s\x20(up'+a0_0x4c2aeb(0x13e)+a0_0x4c2aeb(0x160)}},'required':[a0_0x4c2aeb(0x139)+a0_0x4c2aeb(0x15c)]}};export const getChatChannelFollowersTool={'name':a0_0x4c2aeb(0x161)+'hat_c'+a0_0x4c2aeb(0x241)+'l_fol'+a0_0x4c2aeb(0x203)+'s','description':a0_0x4c2aeb(0x225)+a0_0x4c2aeb(0x252)+a0_0x4c2aeb(0x20e)+a0_0x4c2aeb(0x19d)+a0_0x4c2aeb(0x1f6)+a0_0x4c2aeb(0x123)+a0_0x4c2aeb(0x217)+a0_0x4c2aeb(0x1d0)+a0_0x4c2aeb(0x21b)+'.\x20Req'+'uires'+a0_0x4c2aeb(0x18a)+a0_0x4c2aeb(0x16d)+a0_0x4c2aeb(0x273)+a0_0x4c2aeb(0x139)+a0_0x4c2aeb(0x1dc)+a0_0x4c2aeb(0x271),'annotations':{'title':a0_0x4c2aeb(0x1cc)+a0_0x4c2aeb(0x20d)+'hanne'+'l\x20Fol'+a0_0x4c2aeb(0x203)+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'channel_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+'el\x20ID'+a0_0x4c2aeb(0x180)+a0_0x4c2aeb(0x19b)+a0_0x4c2aeb(0x144)},'channel_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x165)+'me\x20(a'+a0_0x4c2aeb(0x1ca)+a0_0x4c2aeb(0x238)+a0_0x4c2aeb(0x1cb)},'cursor':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x1db)+a0_0x4c2aeb(0x1cf)+a0_0x4c2aeb(0x1eb)+a0_0x4c2aeb(0x1f9)},'limit':{'type':a0_0x4c2aeb(0x26a)+'r','description':a0_0x4c2aeb(0x14c)+a0_0x4c2aeb(0x12d)+a0_0x4c2aeb(0x1df)+'\x20to\x201'+a0_0x4c2aeb(0x160)}},'required':[a0_0x4c2aeb(0x139)+'el_id']}};export const createChatDmTool={'name':'creat'+'e_cha'+a0_0x4c2aeb(0x158),'description':'Initi'+a0_0x4c2aeb(0x145)+'\x20dire'+a0_0x4c2aeb(0x1be)+a0_0x4c2aeb(0x175)+a0_0x4c2aeb(0x246)+a0_0x4c2aeb(0x18a)+a0_0x4c2aeb(0x162)+a0_0x4c2aeb(0x234)+a0_0x4c2aeb(0x123)+'ied\x20u'+a0_0x4c2aeb(0x249)+a0_0x4c2aeb(0x1c0)+a0_0x4c2aeb(0x1e4)+a0_0x4c2aeb(0x247)+'r_ids'+a0_0x4c2aeb(0x239)+'y.','annotations':{'title':a0_0x4c2aeb(0x213)+'e\x20Cha'+a0_0x4c2aeb(0x18e),'openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'member_ids':{'type':a0_0x4c2aeb(0x1d6),'items':{'type':a0_0x4c2aeb(0x14e)+'er'},'description':a0_0x4c2aeb(0x1ab)+a0_0x4c2aeb(0x15d)+a0_0x4c2aeb(0x12a)+a0_0x4c2aeb(0x1f5)+a0_0x4c2aeb(0x150)+'\x20Requ'+a0_0x4c2aeb(0x275)}},'required':[a0_0x4c2aeb(0x247)+a0_0x4c2aeb(0x159)]}};export const getChatMessagesTool={'name':a0_0x4c2aeb(0x161)+a0_0x4c2aeb(0x1e7)+'essag'+'es','description':a0_0x4c2aeb(0x23d)+a0_0x4c2aeb(0x25d)+'essag'+a0_0x4c2aeb(0x1a0)+a0_0x4c2aeb(0x25c)+a0_0x4c2aeb(0x177)+a0_0x4c2aeb(0x1c3)+a0_0x4c2aeb(0x193)+a0_0x4c2aeb(0x241)+a0_0x4c2aeb(0x202)+a0_0x4c2aeb(0x240)+a0_0x4c2aeb(0x1de)+a0_0x4c2aeb(0x194)+a0_0x4c2aeb(0x199)+a0_0x4c2aeb(0x18a)+a0_0x4c2aeb(0x190)+'ame.','annotations':{'title':'Get\x20C'+'hat\x20M'+a0_0x4c2aeb(0x251)+'es','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'channel_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Chann'+'el\x20ID'+a0_0x4c2aeb(0x180)+'ferre'+a0_0x4c2aeb(0x144)},'channel_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x165)+'me\x20(a'+a0_0x4c2aeb(0x1ca)+a0_0x4c2aeb(0x238)+a0_0x4c2aeb(0x1cb)},'cursor':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x1db)+a0_0x4c2aeb(0x1cf)+a0_0x4c2aeb(0x1eb)+a0_0x4c2aeb(0x1f9)},'limit':{'type':a0_0x4c2aeb(0x26a)+'r','description':a0_0x4c2aeb(0x14c)+a0_0x4c2aeb(0x12d)+'s\x20(up'+a0_0x4c2aeb(0x13e)+a0_0x4c2aeb(0x160)}},'required':[a0_0x4c2aeb(0x139)+'el_id']}};export const createChatMessageTool={'name':a0_0x4c2aeb(0x170)+a0_0x4c2aeb(0x20a)+'t_mes'+a0_0x4c2aeb(0x140),'description':a0_0x4c2aeb(0x151)+a0_0x4c2aeb(0x220)+a0_0x4c2aeb(0x186)+a0_0x4c2aeb(0x16c)+a0_0x4c2aeb(0x138)+a0_0x4c2aeb(0x193)+a0_0x4c2aeb(0x241)+'l.\x20Re'+a0_0x4c2aeb(0x240)+a0_0x4c2aeb(0x1de)+a0_0x4c2aeb(0x194)+a0_0x4c2aeb(0x199)+'\x20chan'+a0_0x4c2aeb(0x190)+a0_0x4c2aeb(0x236)+a0_0x4c2aeb(0x167)+a0_0x4c2aeb(0x141),'annotations':{'title':'Creat'+a0_0x4c2aeb(0x15e)+'t\x20Mes'+a0_0x4c2aeb(0x140),'openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'channel_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x258)+a0_0x4c2aeb(0x180)+a0_0x4c2aeb(0x19b)+a0_0x4c2aeb(0x144)},'channel_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x165)+a0_0x4c2aeb(0x18b)+'uto-r'+a0_0x4c2aeb(0x238)+'ed).'},'content':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x256)+a0_0x4c2aeb(0x244)+a0_0x4c2aeb(0x26c)+'kdown'+'\x20supp'+a0_0x4c2aeb(0x22e)+a0_0x4c2aeb(0x1a2)+a0_0x4c2aeb(0x240)+'d.'},'notify_all':{'type':a0_0x4c2aeb(0x143)+'an','description':a0_0x4c2aeb(0x1b2)+a0_0x4c2aeb(0x24a)+a0_0x4c2aeb(0x18a)+'nel\x20m'+a0_0x4c2aeb(0x12a)+'s.'},'type':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x155)+'pe.','enum':['messa'+'ge','post'],'default':a0_0x4c2aeb(0x223)+'ge'},'post_title':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Title'+'\x20for\x20'+a0_0x4c2aeb(0x17c)+a0_0x4c2aeb(0x222)},'subtype_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x130)+a0_0x4c2aeb(0x1d7)+a0_0x4c2aeb(0x1aa)+a0_0x4c2aeb(0x17c)+a0_0x4c2aeb(0x222)},'subtype_name':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x130)+'pe\x20na'+'me\x20(e'+a0_0x4c2aeb(0x23f)+'Annou'+a0_0x4c2aeb(0x224)+a0_0x4c2aeb(0x262)+a0_0x4c2aeb(0x22a)+a0_0x4c2aeb(0x1a6)+'lved\x20'+a0_0x4c2aeb(0x22b)+'.'}},'required':[a0_0x4c2aeb(0x139)+a0_0x4c2aeb(0x15c),'conte'+'nt']}};export const updateChatMessageTool={'name':a0_0x4c2aeb(0x15b)+a0_0x4c2aeb(0x20a)+a0_0x4c2aeb(0x1fe)+'sage','description':'Modif'+a0_0x4c2aeb(0x200)+'exist'+'ing\x20c'+'hat\x20m'+a0_0x4c2aeb(0x251)+a0_0x4c2aeb(0x1b3)+a0_0x4c2aeb(0x185)+'esolu'+'tion\x20'+a0_0x4c2aeb(0x1ac)+a0_0x4c2aeb(0x1cd)+a0_0x4c2aeb(0x240)+a0_0x4c2aeb(0x1b1)+'sage_'+a0_0x4c2aeb(0x13a),'annotations':{'title':'Updat'+'e\x20Cha'+a0_0x4c2aeb(0x257)+a0_0x4c2aeb(0x140),'openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'message_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Messa'+a0_0x4c2aeb(0x178)+a0_0x4c2aeb(0x1e6)+a0_0x4c2aeb(0x129)+'.'},'content':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x1f2)+'essag'+a0_0x4c2aeb(0x21c)+'tent.'},'resolved':{'type':a0_0x4c2aeb(0x143)+'an','description':a0_0x4c2aeb(0x1ee)+a0_0x4c2aeb(0x223)+'ge\x20as'+a0_0x4c2aeb(0x187)+a0_0x4c2aeb(0x23e)}},'required':['messa'+a0_0x4c2aeb(0x1ea)]}};export const deleteChatMessageTool={'name':a0_0x4c2aeb(0x17d)+'e_cha'+a0_0x4c2aeb(0x1fe)+a0_0x4c2aeb(0x140),'description':a0_0x4c2aeb(0x1b8)+a0_0x4c2aeb(0x1d4)+'y\x20rem'+a0_0x4c2aeb(0x1dd)+a0_0x4c2aeb(0x156)+'\x20mess'+a0_0x4c2aeb(0x250),'annotations':{'title':a0_0x4c2aeb(0x122)+'e\x20Cha'+a0_0x4c2aeb(0x257)+a0_0x4c2aeb(0x140),'openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'message_id':{'type':'strin'+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x178)+a0_0x4c2aeb(0x1e6)+a0_0x4c2aeb(0x129)+'.'}},'required':['messa'+a0_0x4c2aeb(0x1ea)]}};export const getChatMessageRepliesTool={'name':a0_0x4c2aeb(0x161)+a0_0x4c2aeb(0x1e7)+a0_0x4c2aeb(0x251)+'e_rep'+a0_0x4c2aeb(0x154),'description':a0_0x4c2aeb(0x23d)+'eve\x20r'+'eplie'+a0_0x4c2aeb(0x221)+a0_0x4c2aeb(0x13b)+a0_0x4c2aeb(0x1ad)+a0_0x4c2aeb(0x156)+a0_0x4c2aeb(0x186)+a0_0x4c2aeb(0x18c)+a0_0x4c2aeb(0x152)+a0_0x4c2aeb(0x24c)+a0_0x4c2aeb(0x1f1)+a0_0x4c2aeb(0x1c0)+a0_0x4c2aeb(0x1e4)+'messa'+a0_0x4c2aeb(0x1ea)+'.','annotations':{'title':a0_0x4c2aeb(0x1cc)+a0_0x4c2aeb(0x24d)+a0_0x4c2aeb(0x251)+'e\x20Rep'+'lies','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'message_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x178)+'.\x20Req'+a0_0x4c2aeb(0x129)+'.'},'cursor':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x1db)+a0_0x4c2aeb(0x1cf)+'\x20curs'+a0_0x4c2aeb(0x1f9)},'limit':{'type':a0_0x4c2aeb(0x26a)+'r','description':'Max\x20r'+a0_0x4c2aeb(0x12d)+a0_0x4c2aeb(0x1df)+a0_0x4c2aeb(0x13e)+a0_0x4c2aeb(0x160)}},'required':[a0_0x4c2aeb(0x223)+a0_0x4c2aeb(0x1ea)]}};export const createChatMessageReplyTool={'name':'creat'+'e_cha'+'t_mes'+a0_0x4c2aeb(0x1c7)+'reply','description':a0_0x4c2aeb(0x151)+a0_0x4c2aeb(0x1e8)+a0_0x4c2aeb(0x169)+a0_0x4c2aeb(0x19a)+a0_0x4c2aeb(0x26b)+a0_0x4c2aeb(0x175)+a0_0x4c2aeb(0x1e6)+a0_0x4c2aeb(0x1bb)+a0_0x4c2aeb(0x186)+'age_i'+a0_0x4c2aeb(0x126)+a0_0x4c2aeb(0x16f)+'t.','annotations':{'title':a0_0x4c2aeb(0x213)+a0_0x4c2aeb(0x15e)+a0_0x4c2aeb(0x257)+'sage\x20'+'Reply','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'message_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x178)+a0_0x4c2aeb(0x1e6)+'uired'+'.'},'content':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x233)+'\x20cont'+'ent\x20('+a0_0x4c2aeb(0x1a7)+a0_0x4c2aeb(0x18d)+a0_0x4c2aeb(0x164)+'ted).'+'\x20Requ'+'ired.'}},'required':['messa'+a0_0x4c2aeb(0x1ea),'conte'+'nt']}};export const addChatReactionTool={'name':a0_0x4c2aeb(0x20c)+a0_0x4c2aeb(0x261)+a0_0x4c2aeb(0x131)+'on','description':a0_0x4c2aeb(0x219)+'n\x20emo'+'ji\x20re'+a0_0x4c2aeb(0x1f4)+a0_0x4c2aeb(0x210)+a0_0x4c2aeb(0x171)+a0_0x4c2aeb(0x23a)+a0_0x4c2aeb(0x148)+'\x20Requ'+'ires\x20'+'messa'+'ge_id'+a0_0x4c2aeb(0x192)+a0_0x4c2aeb(0x1f4)+'n\x20emo'+'ji\x20na'+a0_0x4c2aeb(0x271),'annotations':{'title':a0_0x4c2aeb(0x146)+'hat\x20R'+a0_0x4c2aeb(0x131)+'on','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'message_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x178)+a0_0x4c2aeb(0x1e6)+'uired'+'.'},'reaction':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Emoji'+'\x20name'+a0_0x4c2aeb(0x19f)+'ercas'+a0_0x4c2aeb(0x198)+a0_0x4c2aeb(0x183)+a0_0x4c2aeb(0x133)+a0_0x4c2aeb(0x174)+a0_0x4c2aeb(0x13f)+a0_0x4c2aeb(0x232)+'art\x27,'+'\x20\x27+1\x27'+'.\x20Req'+a0_0x4c2aeb(0x129)+'.'}},'required':['messa'+'ge_id','react'+a0_0x4c2aeb(0x263)]}};function a0_0x306f(){const _0xcf137c=['CMvHy3q','BIb0BYa','rM9Szgu','B3zPzgu','q3jLyxq','AwqVBMe','C2nYAxa','zwWGDg8','AwmGy2G','B24Gysa','qwrKige','mJG5otuWmg9SDNnVEG','yw5UzwW','zsbJB24','x25HBwu','Bf9Pzca','icHHDxq','ysbUzxC','CYb0BYa','DhLWzs4','BwvZC2e','BMnLBwu','tgLZDca','Bf9Tzw0','CL9Pzc8','ys4Grgu','BgLZDf8','ief1Dg8','Dg8Gsuq','rMLSDgu','CMvZigm','B3j0zwq','DcbdAge','y2uU','CMv0Dxi','lcaNAgu','uMvWBhK','AxrOihm','mta5nLjUC0DptW','yw1LicS','ihzPC2K','zxnVBhy','igfYCMe','DcbTzxm','mtG1mJC0nKfezeLAwG','Aw9UCYa','uMv0CMK','BhzLzc4','lMCUicC','CxvPCMu','AgfUBMu','zgv0ywK','CIbLzMy','BNrLBNq','zYb0BYa','icHetsK','BwvTyMu','ufjjvKe','C2vYCY4','EsbHBgW','jYbYzxq','zgvKigm','Agf0ie0','yMXLig0','Agf0ig0','ywDLlG','zxnZywC','DgHLigy','yYbJAge','r2v0igq','tMv3igq','z2uGy28','Dcbnzxm','zwWGsuq','EsbYzw0','tMv3ihq','BNmGzNu','B20Gysa','zxzLig0','ihjLywm','ihnWywm','zs4GuMu','Agf0x3i','BNqNks4','Aw9U','ywDNzwq','Bf9Uyw0','uMvTB3y','zxjJyxm','igLUihq','uMv2B2S','BNvTyMu','yxqGBwu','icHnyxi','BhKGChi','BMfTzxm','C2vYCYa','CIbIEsa','BwuU','veuU','zcbVCIa','ywXSihu','AxjLzc4','ywjVDxq','zxrHAwW','rgvSzxq','CgvJAwy','DcbJAge','BcDZig0','zcaRigm','nJy2nuTXCNnQqG','B2jQzwm','DwLYzwq','zw1Izxi','zxnWB24','AMKGBMe','zxn1Bhq','twvZC2e','C29SDMu','u3vIDhK','zwfJDgK','q2HHDca','BNmPlIa','BMvSlG','r2v0ige','q2HHBM4','zwWU','BYbHigm','y2HHBM4','AwqU','ysbZCgu','zsbtDwi','Agf0ifq','ihrVide','j2PVEsC','C2fNzq','zw50lG','Agf0x2m','yM9VBgu','zcKU','yxrLige','qwrKiem','ndCYntjVsvvzC0q','C2fNzs4','vxbKyxq','CIbSB2m','B2XZihi','twf4ihi','zsbZDwi','Aw50zwC','AwnPzw4','ieLeCY4','ug9ZDca','DgHYzwe','zsaOyxu','BgLLCW','z2uGDhK','ignOyxq','uMvXDwK','Df9KBq','CL9Pzhm','Aw9UywW','DxbKyxq','zwXFAwq','ig9Mig0','zsbdAge','BMfTzq','mdaPlG','z2v0x2m','BMvSihC','mtu1mtyWrhnfsNPt','DxbWB3i','zwWGBMe','B3iGy28','ignVBNq','zxrHzge','BhKGDg8','CYbIzwW','Dgv4Dc4','ywDLihq','BMvSx2K','Aw5Nigm','B250zw4','y3jLyxq','ysbJAge','AwDHDgK','Df9JAge','rs5NlIa','C3nHz2u','mtaXmJLorLDiALu','C3bLy2K','z2uGsuq','D2HVihC','Dcbszwe','y29TBwu','Cg9ZDca','zgvSzxq','Agf0ifi','B3iGy2G','icHWCMu','DxjUCYa','B25NAw4','ignVBg8','DgLVBI4','AxrZihi','ig1LC3m','ihjLC28','zxnJCMK','mJK3ntu3nMHfuMj0Bq','ignOyw4','BwuGkge','ywDLicG','B3DUihm','Dcbetq','C3rYAw4','BMvSx24','ndyXne9mu2zmwq','icSGCMu','Agf0igm','BM5LBf8','DhLWzxm','yMvYCW','zxHPC3q','zsWGBM8','AwqGB3i','igeGy2G','zMvYCMu','igeGC3a','zxjZig8','BNqGDhK','icHSB3C','zxmGzNi','Dg8TCMu','ks4GuMu','BMfTzsa','zwDVCMK','zv9Pzc8','lxjLC28','twfYA2q','Aw4Gysa','lIbpChq','igzVCIa','qxjYyxK','C3rHDhu','y2LMAwm','ywXSigu','DgfKyxq','AguGD28','CYbTzxm','tM90Awy','zsbVCIa','DgHLig0','ig5HBwu','DcbUyxy','BgWGBwu','ugvYBwe','BM5LBc4','icHJyxq','DwLYzxm','BhmGzgu','BM5LBa','y3qGBwu','CgLJlG','ifjLCxu','B3iGysa','zsbHBIa','zMLJigm','BNrLEhq','ifvZzxi','muzrqMfVsG','C2fNzv8','BwuGB24','yv9ICMe','DxrVlxi','zwqPlG','r2v0iem','CY4GuMu','CMjVC2K','yxrPB24','yxqGy2G','CIbJB24','qYbVCIa','Bw9QAsa','BMvUDgW','DgeGB3i','yxjYyxK','CguGsuq','CguU','y2HHDf8','ieLeigy','ugfNAw4','zwXFBMe','B3zLige','CYbJAge','CYaODxa','CMTZCge','Bcbnzw0','B25Z','x3vZzxi','AxjLCYa','ywLFDMK','lIbszxe','Agf0x20','ysbYzxa','q29UDhi','z2vFAwq','ign1CNm','zwXZ','CIbjrca','twfYAYa','DMfPBge','zM9YBwe','Agf0ks4','tMv3ig0','zwnPzMK','ywn0Aw8','ihvZzxi','zIbHihm','CMvTB3y','C3LUy3u','B3iU','suqGzM8','zwqU','zxmPigy','BcbUyw0','Df9Tzxm','zNjVBsa','EsbHBIa','ig9Yigm','Bc4GuMu','Bg93zxi','BhKGzM8','ufvcteK','CMvKlG','zMf1Bhq','DgLVBIa','zM9Yigm','zv9JAge','BhzLzcK','ywrKx2m','Agf0iem','B2XSB3C'];a0_0x306f=function(){return _0xcf137c;};return a0_0x306f();}export const removeChatReactionTool={'name':a0_0x4c2aeb(0x1f7)+a0_0x4c2aeb(0x20a)+'t_rea'+'ction','description':a0_0x4c2aeb(0x269)+'e\x20an\x20'+'emoji'+a0_0x4c2aeb(0x25e)+'tion\x20'+a0_0x4c2aeb(0x1ff)+a0_0x4c2aeb(0x171)+'t\x20mes'+a0_0x4c2aeb(0x148)+'\x20Requ'+a0_0x4c2aeb(0x1e4)+'messa'+a0_0x4c2aeb(0x1ea)+a0_0x4c2aeb(0x192)+'actio'+'n\x20emo'+a0_0x4c2aeb(0x12c)+a0_0x4c2aeb(0x271),'annotations':{'title':a0_0x4c2aeb(0x266)+a0_0x4c2aeb(0x15e)+a0_0x4c2aeb(0x17a)+'ction','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'message_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x178)+a0_0x4c2aeb(0x1e6)+a0_0x4c2aeb(0x129)+'.'},'reaction':{'type':a0_0x4c2aeb(0x18f)+'g','description':'Emoji'+a0_0x4c2aeb(0x1b5)+a0_0x4c2aeb(0x19f)+a0_0x4c2aeb(0x267)+a0_0x4c2aeb(0x198)+a0_0x4c2aeb(0x183)+a0_0x4c2aeb(0x133)+a0_0x4c2aeb(0x157)+a0_0x4c2aeb(0x206)}},'required':[a0_0x4c2aeb(0x223)+a0_0x4c2aeb(0x1ea),a0_0x4c2aeb(0x20f)+a0_0x4c2aeb(0x263)]}};function a0_0x6a19(_0x415b34,_0xf19400){_0x415b34=_0x415b34-0x120;const _0x306fd5=a0_0x306f();let _0x6a19bb=_0x306fd5[_0x415b34];if(a0_0x6a19['GbQqAC']===undefined){var _0x2fa4e1=function(_0x23e180){const _0x1d9207='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a3f5e='',_0x2efc2b='';for(let _0x42139f=0x0,_0x198a18,_0x4e35a9,_0x359747=0x0;_0x4e35a9=_0x23e180['charAt'](_0x359747++);~_0x4e35a9&&(_0x198a18=_0x42139f%0x4?_0x198a18*0x40+_0x4e35a9:_0x4e35a9,_0x42139f++%0x4)?_0x4a3f5e+=String['fromCharCode'](0xff&_0x198a18>>(-0x2*_0x42139f&0x6)):0x0){_0x4e35a9=_0x1d9207['indexOf'](_0x4e35a9);}for(let _0x3033a9=0x0,_0x30f53b=_0x4a3f5e['length'];_0x3033a9<_0x30f53b;_0x3033a9++){_0x2efc2b+='%'+('00'+_0x4a3f5e['charCodeAt'](_0x3033a9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2efc2b);};a0_0x6a19['QSZhew']=_0x2fa4e1,a0_0x6a19['qRlwMq']={},a0_0x6a19['GbQqAC']=!![];}const _0x1b2810=_0x306fd5[0x0],_0x47cecb=_0x415b34+_0x1b2810,_0xd26fde=a0_0x6a19['qRlwMq'][_0x47cecb];return!_0xd26fde?(_0x6a19bb=a0_0x6a19['QSZhew'](_0x6a19bb),a0_0x6a19['qRlwMq'][_0x47cecb]=_0x6a19bb):_0x6a19bb=_0xd26fde,_0x6a19bb;}export const getChatReactionsTool={'name':a0_0x4c2aeb(0x161)+a0_0x4c2aeb(0x261)+a0_0x4c2aeb(0x131)+a0_0x4c2aeb(0x1e2),'description':'List\x20'+a0_0x4c2aeb(0x1ae)+a0_0x4c2aeb(0x1d3)+a0_0x4c2aeb(0x20f)+a0_0x4c2aeb(0x23c)+a0_0x4c2aeb(0x218)+a0_0x4c2aeb(0x177)+a0_0x4c2aeb(0x1c3)+'hat\x20m'+a0_0x4c2aeb(0x251)+a0_0x4c2aeb(0x260)+a0_0x4c2aeb(0x240)+'s\x20mes'+a0_0x4c2aeb(0x1c7)+'id.','annotations':{'title':a0_0x4c2aeb(0x1cc)+a0_0x4c2aeb(0x17e)+'eacti'+a0_0x4c2aeb(0x1e2),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'message_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+'ge\x20ID'+a0_0x4c2aeb(0x1e6)+a0_0x4c2aeb(0x129)+'.'}},'required':[a0_0x4c2aeb(0x223)+'ge_id']}};export const getChatTaggedUsersTool={'name':a0_0x4c2aeb(0x161)+'hat_t'+'agged'+a0_0x4c2aeb(0x1e3)+'s','description':a0_0x4c2aeb(0x225)+a0_0x4c2aeb(0x274)+a0_0x4c2aeb(0x26f)+a0_0x4c2aeb(0x179)+'ere\x20@'+'menti'+'oned\x20'+a0_0x4c2aeb(0x1a8)+'speci'+a0_0x4c2aeb(0x1c3)+a0_0x4c2aeb(0x24f)+'essag'+'e.\x20Re'+a0_0x4c2aeb(0x240)+a0_0x4c2aeb(0x1b1)+'sage_'+a0_0x4c2aeb(0x13a),'annotations':{'title':a0_0x4c2aeb(0x1cc)+a0_0x4c2aeb(0x13d)+a0_0x4c2aeb(0x264)+a0_0x4c2aeb(0x1c5)+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'message_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x12e)+a0_0x4c2aeb(0x178)+a0_0x4c2aeb(0x1e6)+a0_0x4c2aeb(0x129)+'.'}},'required':[a0_0x4c2aeb(0x223)+a0_0x4c2aeb(0x1ea)]}};export const getChatMessageSubtypesTool={'name':a0_0x4c2aeb(0x161)+a0_0x4c2aeb(0x1e7)+a0_0x4c2aeb(0x251)+'e_sub'+a0_0x4c2aeb(0x195),'description':a0_0x4c2aeb(0x135)+a0_0x4c2aeb(0x1ef)+a0_0x4c2aeb(0x24e)+a0_0x4c2aeb(0x251)+a0_0x4c2aeb(0x14d)+a0_0x4c2aeb(0x195)+a0_0x4c2aeb(0x1ba)+a0_0x4c2aeb(0x1a4)+a0_0x4c2aeb(0x1fc)+a0_0x4c2aeb(0x1c1)+a0_0x4c2aeb(0x139)+a0_0x4c2aeb(0x137),'annotations':{'title':a0_0x4c2aeb(0x1cc)+'hat\x20M'+a0_0x4c2aeb(0x251)+a0_0x4c2aeb(0x13c)+a0_0x4c2aeb(0x195),'openWorldHint':!![]},'inputSchema':{'type':a0_0x4c2aeb(0x128)+'t','properties':{'channel_id':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x258)+'\x20(pre'+a0_0x4c2aeb(0x19b)+a0_0x4c2aeb(0x144)},'channel_name':{'type':'strin'+'g','description':a0_0x4c2aeb(0x136)+a0_0x4c2aeb(0x165)+a0_0x4c2aeb(0x18b)+a0_0x4c2aeb(0x1ca)+a0_0x4c2aeb(0x238)+a0_0x4c2aeb(0x1cb)},'comment_type':{'type':a0_0x4c2aeb(0x18f)+'g','description':a0_0x4c2aeb(0x22c)+a0_0x4c2aeb(0x270)+a0_0x4c2aeb(0x17b)+a0_0x4c2aeb(0x19e)+a0_0x4c2aeb(0x1d8),'enum':['post','ai',a0_0x4c2aeb(0x1f8)+'p',a0_0x4c2aeb(0x1e5)+a0_0x4c2aeb(0x1c9)+'in']}}}};
@@ -1 +1 @@
1
- function a0_0x366f(){const _0x1c9391=['mKzluuLqAq','mJC1nJCXovj0whnTsa','nJu2mZvese5JBNu','nJq5mLH4v0fqvW','Dxn0igi','nJCXmtuWtefKtxjn','mtjLA3zVwee','ndK1v0TjDe9M','CIbJAge','ignOyw4','mtG2nZa5nLbOqMHSuq','otuZmZrItLjwA3u','nda1mtbhq0n1ugq','zwWGiG','BMvSx24','q2HHBM4','odCZCNjuBuDR','AwqGB3i','nJb0BMjXBKO','iIbUB3q','rwL0Agu','BM5LBf8'];a0_0x366f=function(){return _0x1c9391;};return a0_0x366f();}(function(_0x4e7fd1,_0x62b522){const _0x576c28=a0_0x2950,_0x774872=_0x4e7fd1();while(!![]){try{const _0x315f59=-parseInt(_0x576c28(0x1a2))/0x1*(-parseInt(_0x576c28(0x191))/0x2)+parseInt(_0x576c28(0x197))/0x3*(parseInt(_0x576c28(0x192))/0x4)+-parseInt(_0x576c28(0x18e))/0x5*(parseInt(_0x576c28(0x19e))/0x6)+parseInt(_0x576c28(0x18d))/0x7+-parseInt(_0x576c28(0x196))/0x8+parseInt(_0x576c28(0x19c))/0x9*(-parseInt(_0x576c28(0x198))/0xa)+-parseInt(_0x576c28(0x193))/0xb*(-parseInt(_0x576c28(0x18f))/0xc);if(_0x315f59===_0x62b522)break;else _0x774872['push'](_0x774872['shift']());}catch(_0x26fc90){_0x774872['push'](_0x774872['shift']());}}}(a0_0x366f,0x68422));function a0_0x2950(_0x4cb51b,_0x2be862){_0x4cb51b=_0x4cb51b-0x18d;const _0x366fc0=a0_0x366f();let _0x295008=_0x366fc0[_0x4cb51b];if(a0_0x2950['BuZHKB']===undefined){var _0xab972b=function(_0x3238cf){const _0x1dc503='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2b320d='',_0x1aa104='';for(let _0x11a29d=0x0,_0x682fe2,_0x4b5b1e,_0xbd048f=0x0;_0x4b5b1e=_0x3238cf['charAt'](_0xbd048f++);~_0x4b5b1e&&(_0x682fe2=_0x11a29d%0x4?_0x682fe2*0x40+_0x4b5b1e:_0x4b5b1e,_0x11a29d++%0x4)?_0x2b320d+=String['fromCharCode'](0xff&_0x682fe2>>(-0x2*_0x11a29d&0x6)):0x0){_0x4b5b1e=_0x1dc503['indexOf'](_0x4b5b1e);}for(let _0x2ba7f0=0x0,_0x143b66=_0x2b320d['length'];_0x2ba7f0<_0x143b66;_0x2ba7f0++){_0x1aa104+='%'+('00'+_0x2b320d['charCodeAt'](_0x2ba7f0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1aa104);};a0_0x2950['xYvCOG']=_0xab972b,a0_0x2950['QQcOQc']={},a0_0x2950['BuZHKB']=!![];}const _0xf62b0a=_0x366fc0[0x0],_0x56bd8f=_0x4cb51b+_0xf62b0a,_0x5ea10e=a0_0x2950['QQcOQc'][_0x56bd8f];return!_0x5ea10e?(_0x295008=a0_0x2950['xYvCOG'](_0x295008),a0_0x2950['QQcOQc'][_0x56bd8f]=_0x295008):_0x295008=_0x5ea10e,_0x295008;}import{findChannelIDByName}from'../../utils/resolver-utils.js';export async function resolveChannelId(_0x4e1d51,_0x4b9aaf,_0x3d7f7a){const _0x17d661=a0_0x2950;if(_0x4e1d51)return _0x4e1d51;if(_0x4b9aaf){const _0x1e443c=await findChannelIDByName(_0x4b9aaf,_0x3d7f7a);if(_0x1e443c)return _0x1e443c['id'];throw new Error(_0x17d661(0x19b)+_0x17d661(0x199)+_0x4b9aaf+(_0x17d661(0x19f)+'\x20foun'+'d'));}throw new Error(_0x17d661(0x1a0)+_0x17d661(0x194)+_0x17d661(0x1a1)+_0x17d661(0x19d)+_0x17d661(0x195)+_0x17d661(0x19a)+'ame\x20m'+_0x17d661(0x190)+'e\x20pro'+'vided');}
1
+ (function(_0x47d36c,_0x27f441){const _0x3a235a=a0_0x19f1,_0x357631=_0x47d36c();while(!![]){try{const _0x541124=-parseInt(_0x3a235a(0x1dd))/0x1+-parseInt(_0x3a235a(0x1e4))/0x2+parseInt(_0x3a235a(0x1e6))/0x3+parseInt(_0x3a235a(0x1da))/0x4*(-parseInt(_0x3a235a(0x1d8))/0x5)+-parseInt(_0x3a235a(0x1d7))/0x6+-parseInt(_0x3a235a(0x1e2))/0x7*(parseInt(_0x3a235a(0x1d5))/0x8)+parseInt(_0x3a235a(0x1df))/0x9;if(_0x541124===_0x27f441)break;else _0x357631['push'](_0x357631['shift']());}catch(_0x537396){_0x357631['push'](_0x357631['shift']());}}}(a0_0x2d28,0xbdeb5));function a0_0x2d28(){const _0x3d3511=['ota2mdi1oeXru0DzCa','mJbLtfrlDgi','rwL0Agu','mteXmtK5nMXbCfHtzW','uuDlr2q','Dxn0igi','mtq3ntGZovnvwhrhAa','BM5LBf8','ndyZmtyYntL1zvf1tMC','ignOyw4','AwqGB3i','mZC4n1PZy1vyzW','yw1Lig0','mJm2mJmYnfbdv3rdsq','zwWGiG','mZiZmdm1nxPRBu1rCa','DMLKzwq','iIbUB3q','q2HHBM4','igzVDw4','mJq1nM5xv2Dltq','CIbJAge'];a0_0x2d28=function(){return _0x3d3511;};return a0_0x2d28();}import{findChannelIDByName}from'../../utils/resolver-utils.js';function a0_0x19f1(_0x2725d4,_0x15e9cd){_0x2725d4=_0x2725d4-0x1d5;const _0x2d2871=a0_0x2d28();let _0x19f1f0=_0x2d2871[_0x2725d4];if(a0_0x19f1['EjuQMp']===undefined){var _0x594d7f=function(_0xfdad78){const _0x163ad6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x23197c='',_0x85ca46='';for(let _0x4f055a=0x0,_0x3a2da3,_0x1977d3,_0x255d14=0x0;_0x1977d3=_0xfdad78['charAt'](_0x255d14++);~_0x1977d3&&(_0x3a2da3=_0x4f055a%0x4?_0x3a2da3*0x40+_0x1977d3:_0x1977d3,_0x4f055a++%0x4)?_0x23197c+=String['fromCharCode'](0xff&_0x3a2da3>>(-0x2*_0x4f055a&0x6)):0x0){_0x1977d3=_0x163ad6['indexOf'](_0x1977d3);}for(let _0x4d2be=0x0,_0x20f693=_0x23197c['length'];_0x4d2be<_0x20f693;_0x4d2be++){_0x85ca46+='%'+('00'+_0x23197c['charCodeAt'](_0x4d2be)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x85ca46);};a0_0x19f1['nkEgRt']=_0x594d7f,a0_0x19f1['IGZGMA']={},a0_0x19f1['EjuQMp']=!![];}const _0x5af33c=_0x2d2871[0x0],_0x4ea7f0=_0x2725d4+_0x5af33c,_0x22cb90=a0_0x19f1['IGZGMA'][_0x4ea7f0];return!_0x22cb90?(_0x19f1f0=a0_0x19f1['nkEgRt'](_0x19f1f0),a0_0x19f1['IGZGMA'][_0x4ea7f0]=_0x19f1f0):_0x19f1f0=_0x22cb90,_0x19f1f0;}export async function resolveChannelId(_0x2e8e67,_0x255abe,_0x3e9f09){const _0x1f4c8a=a0_0x19f1,_0x3cabaa={'QGKGd':function(_0x39a043,_0x55578b,_0x232576){return _0x39a043(_0x55578b,_0x232576);}};if(_0x2e8e67)return _0x2e8e67;if(_0x255abe){const _0x20603e=await _0x3cabaa[_0x1f4c8a(0x1db)](findChannelIDByName,_0x255abe,_0x3e9f09);if(_0x20603e)return _0x20603e['id'];throw new Error(_0x1f4c8a(0x1e9)+_0x1f4c8a(0x1e5)+_0x255abe+(_0x1f4c8a(0x1e8)+_0x1f4c8a(0x1ea)+'d'));}throw new Error(_0x1f4c8a(0x1d9)+_0x1f4c8a(0x1d6)+_0x1f4c8a(0x1de)+_0x1f4c8a(0x1e1)+_0x1f4c8a(0x1e0)+'nel_n'+_0x1f4c8a(0x1e3)+_0x1f4c8a(0x1dc)+'e\x20pro'+_0x1f4c8a(0x1e7));}
@@ -1 +1 @@
1
- const a0_0x21f8ec=a0_0x4344;(function(_0x1aa7d5,_0xd8e396){const _0x3ed367=a0_0x4344,_0x3baf98=_0x1aa7d5();while(!![]){try{const _0x7aa03d=parseInt(_0x3ed367(0x2ba))/0x1+-parseInt(_0x3ed367(0x280))/0x2*(parseInt(_0x3ed367(0x29c))/0x3)+-parseInt(_0x3ed367(0x2ac))/0x4+parseInt(_0x3ed367(0x2d2))/0x5+-parseInt(_0x3ed367(0x223))/0x6+parseInt(_0x3ed367(0x298))/0x7+parseInt(_0x3ed367(0x24c))/0x8*(parseInt(_0x3ed367(0x2a8))/0x9);if(_0x7aa03d===_0xd8e396)break;else _0x3baf98['push'](_0x3baf98['shift']());}catch(_0x2d2170){_0x3baf98['push'](_0x3baf98['shift']());}}}(a0_0x58e3,0xc3ca0));import{Logger}from'../logger.js';import{sponsorService}from'../utils/sponsor-service.js';import{resolveLocation,findBestMatchInArray}from'../utils/resolver-utils.js';import{getTaskId}from'./task/utilities.js';function a0_0x58e3(){const _0x1e9c58=['zIbHigm','ign1C3q','icD0Exa','BMfSigm','x3rLEhq','yw1LjYa','BMzPz3u','CIb3B3i','zgvYtMe','BwfUDwe','BY1Yzxm','C2v0x2m','C3royw0','ysb0yxm','zhjVCf8','BhvLig8','y3vYCMu','t3b0Aw8','CIaI','zvjLC3a','C3qUifi','AY4GuMu','B3iGBgK','DwLYzwq','zwnRyM8','CYbezw4','vhrtzxO','seXZq2q','Ew91CIa','B3iGj2y','yw5KBgu','C2v0x3y','zM9Yigq','ig9Yigy','zg93BG','C29SDMu','C3rjzca','zuvYCM8','B2X2zwq','zsWGB3i','BwL0ige','lcbZzxq','uLncD0e','Dg8TCMu','zMXHDe0','ndjLs0nhyMm','zcbKzwy','B24GB24','zc9ZCge','AvzjEgC','B24GzM8','BgqGiG','CYWGBMe','DffPDfK','zsCGAxm','C3rVBuy','Eg1Iz0O','Dg9Tigy','CgfJzsa','igzVCIa','zw1HAwW','ihjLCxu','BJOG','BgqGvvu','zsbKAxm','ihrVigm','Dwn0Axy','BwuSihm','BMfTzxm','mZmZndqYmK9LvwrIDW','Aw9UCYa','zfLvAeO','q3jLyxq','mJeXmtDMyMXmEw4','BMfTzq','CLjLC3a','DMfSDwu','DgLTzq','B20GzMK','C2HVCNq','t0XgwNm','u254BxC','zxmU','AxmGCMu','BgLZDe4','mtHtD3ftu0S','ieLelG','CgvVCgW','twfUywC','ntC0nJmZnNPRs2LjBG','rMLLBgq','DxbKyxq','ywXS','y3rPB24','igzPzwW','CgHVBMu','zsaOyxu','CMvHDgu','ywn0Aw8','Aw5JBhu','ueKGy28','Aw5PDgK','zwXKvMe','ndm3nJyYAxzXCfzr','qujtswW','C3rdDxm','Axn0igm','jYKGyxi','lcaNDg8','zwXKswq','CIbZzxq','BgqGBMe','AxnbCNi','igeGy3u','zgf0yq','zfrVB2W','BgLZDca','Dg8GzgK','uxjkDfe','CgfJzuK','zgvZ','qwv2wve','BhzLzcK','yYbMAwu','ig9WDgK','igLUigG','BgrLCKK','ndqXndyYnu9qyuP2Ca','DgLTzxO','Dg8Gy3i','B2jQzwm','z3vHDgu','CYb0yxm','DxaPlG','zMLUza','zwf0zsa','zsbYzxe','CIaNDge','Aw9UCY4','rgvZDhi','z2v0rM8','AfvRthG','zxjdyxm','BwfW','vgfZAYa','zwXK','u3bHy2u','ig5HBwu','D24PlG','D24Gywm','ywrK','yM9VBgu','BgfIzwW','igXPC3q','Dg9VBey','ignVBNq','tMfTzs4','suqGkha','zsbHy3q','y3vZDg8','B3b0Aw8','yM94','ChjVz3i','DMvFDMe','BMn5','AwrZ','y2voyw0','igeGBgK','j2zPzwW','ihrHC2S','AwvSze4','B25L','ysbJDxm','zw1VAMK','z2v0vge','zxH0lG','Dg9Tx2y','q29UzMK','EfzbrLa','B3bFzg8','zxqUifm','CMTZCge','zgf0zq','ig9Yiee','AguGDMe','zwXKCW','z2v0u3a','zM9Yihm','y29UzMK','DwfNzsa','BhKGB24','zM9Szgu','s2jYB2q','DgLUzYa','Dg9TrMK','y2vdDxm','DgHLihq','zcb0BYa','CMf0Aw8','EsbZy28','CguGy28','zc9MB2W','zgvUy3K','DhLWzv8','A05HBwu','Dg9Tiey','DxbWB3i','zxnZ','yMvSCYa','DgvZDa','BwvZC2e','Aw9U','BhvLlG','DhmGDhK','DhvYywW','rM9Szgu','zsaRig4','igXVB2S','zsCGyxi','AxrPDMu','CMf0Aw4','CMvKks4','zs1Szxy','y3jLyxq','CIb0yxm','BwuGkgm','D29YA3m','icSGzMK','ywnLq3u','zeLKjYa','BgrLCKm','BhvLige','BMfTzsa','lcaNBMu','zcbwywW','Bg9Jyxq','B3iGy2G','q3vZDg8','Bf9WCM8','AwvSzf8','CMvTB3y','DgLVBIa','AwvSza','BgvK','rMfPBgu','A0LKig8','AwX0zxi','CIbUyw0','BgLZDa','AYaI','zNjVBsa','ztOGBgK','zuzPzwW','zxf1Axi','zxjJAw8','B25Zzq','uMvTB3y','yxrLzca','ihr5Cgu','BgLZDf8','BsbMAwu','ywjSzwq','q291Bgq','u2v0ihq','B21gAwu','zun1C3q','DxnLCNm','BNnLBNm','zsWGzM8','C3vJy2u','DgfZA3m','C2v0rMK','yxrLlca','yw1Ligm','zhLWsNq','rwjZshu','EcbTCYa','BhvL','j3rHC2S','v29YA3m','zf92ywW','Bw9YCM8','zxnZzNu','zgvWzw4','lIbszxe','C3rVBsa','vw5RBM8','kgf1Dg8','BgrZ','swqVBgK','z2v0v28','zMLLBgq','y2HLy2S','C3rYAw4','B250zxG','zsbdDxm','zwnPzMK','swqNig8','zMLSzxm','ChvZAa','CIbvBMK','zv9JDxm','C3qSigm','C2Toyw0','DcKU','AxjLzc4','CxDQwuy','zxmGBgK','ihn1y2m','Dg9mB3C','Dhj1zq','ihrVihm','nJC0nda4nfDRDffyzW','icHHDxq','zxjYB3i','CMvT','vMfSDwu','ihzHBhu','Aw9Uigy','ie9WDgK','C3bHy2u','AxjLzca','DhLWzq','AwvSzca','zsb0Agu','zvfZAgG','Bgf0','swqUie8','DxjS','iezPzwW','z3jLC3m','BJOGBge','uvblr20','Bg5N','zxrFDMe','zwWU','C2DXvva','uhPzwuK','A3nWywm','x2zPzwW','ywX1zq','tgLZDca','zMLUAxq','B3iGBge','z2v0tgK','AxjLCYa','Dxn0B20','suqU','BsbgAwu','j3zHBhu','CxvPCMu','BNvTyMu','AwvSzhm','nJG1mZC0ne9bDgrorq','CMvMzxi','weLxCxm','lxjLC28','yMvSCY8','zsbHigm','DxjHDgK'];a0_0x58e3=function(){return _0x1e9c58;};return a0_0x58e3();}import{parseDueDate}from'../utils/date-utils.js';const logger=new Logger(a0_0x21f8ec(0x1d8)+'mFiel'+a0_0x21f8ec(0x2c6));export const listCustomFieldsTool={'name':a0_0x21f8ec(0x1ee)+a0_0x21f8ec(0x2f2)+'m_fie'+a0_0x21f8ec(0x20b),'description':'List\x20'+a0_0x21f8ec(0x2f2)+a0_0x21f8ec(0x1ef)+'ld\x20de'+a0_0x21f8ec(0x241)+a0_0x21f8ec(0x2dd)+a0_0x21f8ec(0x22a)+'onall'+a0_0x21f8ec(0x31a)+'pe\x20by'+a0_0x21f8ec(0x2ec)+a0_0x21f8ec(0x20c)+'stNam'+a0_0x21f8ec(0x1f7)+a0_0x21f8ec(0x2d1)+a0_0x21f8ec(0x31c)+a0_0x21f8ec(0x25b)+a0_0x21f8ec(0x296)+a0_0x21f8ec(0x2ca)+a0_0x21f8ec(0x283)+a0_0x21f8ec(0x2f9)+'e,\x20or'+'\x20team'+a0_0x21f8ec(0x232)+a0_0x21f8ec(0x27b)+'ll\x20fo'+a0_0x21f8ec(0x25a)+a0_0x21f8ec(0x23d)+a0_0x21f8ec(0x1c9)+a0_0x21f8ec(0x23a),'annotations':{'title':a0_0x21f8ec(0x240)+a0_0x21f8ec(0x1d8)+a0_0x21f8ec(0x247)+a0_0x21f8ec(0x20b),'readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'listId':{'type':a0_0x21f8ec(0x210)+'g','description':'List\x20'+'ID.'},'listName':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x240)+'name\x20'+a0_0x21f8ec(0x20a)+a0_0x21f8ec(0x24f)+a0_0x21f8ec(0x2cd)+'.'},'folderId':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x1c2)+'r\x20ID.'},'folderName':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x1c2)+a0_0x21f8ec(0x1e2)+a0_0x21f8ec(0x2b3)+a0_0x21f8ec(0x27e)+a0_0x21f8ec(0x276)+'d).'},'spaceId':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x2e5)+a0_0x21f8ec(0x2a9)},'spaceName':{'type':a0_0x21f8ec(0x210)+'g','description':'Space'+'\x20name'+a0_0x21f8ec(0x224)+a0_0x21f8ec(0x25d)+a0_0x21f8ec(0x279)+').'},'teamId':{'type':'strin'+'g','description':'Team/'+a0_0x21f8ec(0x202)+a0_0x21f8ec(0x28d)+a0_0x21f8ec(0x246)}}}};export const createCustomFieldTool={'name':a0_0x21f8ec(0x1ca)+'e_cus'+a0_0x21f8ec(0x303)+a0_0x21f8ec(0x1dd),'description':a0_0x21f8ec(0x29b)+a0_0x21f8ec(0x251)+a0_0x21f8ec(0x245)+a0_0x21f8ec(0x2b1)+a0_0x21f8ec(0x281)+a0_0x21f8ec(0x2b8)+a0_0x21f8ec(0x282)+a0_0x21f8ec(0x2fa)+a0_0x21f8ec(0x267)+a0_0x21f8ec(0x1e8)+a0_0x21f8ec(0x21e)+a0_0x21f8ec(0x277)+a0_0x21f8ec(0x269)+a0_0x21f8ec(0x25f)+a0_0x21f8ec(0x1c3)+'ame\x20+'+a0_0x21f8ec(0x1ed)+'.','annotations':{'title':a0_0x21f8ec(0x29b)+a0_0x21f8ec(0x212)+'tom\x20F'+a0_0x21f8ec(0x1dd)},'inputSchema':{'type':a0_0x21f8ec(0x2d5)+'t','properties':{'listId':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x240)+a0_0x21f8ec(0x2f0)+a0_0x21f8ec(0x24d)+'red).'},'listName':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x240)+a0_0x21f8ec(0x1d3)+'(auto'+a0_0x21f8ec(0x24f)+a0_0x21f8ec(0x2cd)+'.'},'name':{'type':'strin'+'g','description':'Field'+a0_0x21f8ec(0x2e6)+a0_0x21f8ec(0x207)+'uired'+'.'},'type':{'type':'strin'+'g','description':a0_0x21f8ec(0x2ad)+a0_0x21f8ec(0x1ed)+a0_0x21f8ec(0x207)+a0_0x21f8ec(0x26a)+'.','enum':[a0_0x21f8ec(0x2a2)+a0_0x21f8ec(0x257),a0_0x21f8ec(0x24a)+'r',a0_0x21f8ec(0x261)+a0_0x21f8ec(0x275),a0_0x21f8ec(0x309),a0_0x21f8ec(0x20f)+a0_0x21f8ec(0x2f4),a0_0x21f8ec(0x1f5),a0_0x21f8ec(0x28f),a0_0x21f8ec(0x233),'curre'+a0_0x21f8ec(0x2f7),'text',a0_0x21f8ec(0x1f9),a0_0x21f8ec(0x2eb)+'s',a0_0x21f8ec(0x2b2),'locat'+a0_0x21f8ec(0x1be),a0_0x21f8ec(0x1c7)+'g',a0_0x21f8ec(0x2f5)+a0_0x21f8ec(0x1ba),a0_0x21f8ec(0x206)+a0_0x21f8ec(0x31d),a0_0x21f8ec(0x300),a0_0x21f8ec(0x215),a0_0x21f8ec(0x2aa)+'e']},'typeConfig':{'type':a0_0x21f8ec(0x2d5)+'t','properties':{},'description':a0_0x21f8ec(0x304)+'gurat'+a0_0x21f8ec(0x229)+'or\x20sp'+a0_0x21f8ec(0x213)+a0_0x21f8ec(0x2ce)+'ld\x20ty'+'pes\x20('+'e.g.,'+a0_0x21f8ec(0x2cf)+'ons\x20f'+'or\x20dr'+a0_0x21f8ec(0x306)+a0_0x21f8ec(0x2e7)}},'required':[a0_0x21f8ec(0x29d),a0_0x21f8ec(0x22d)]}};export const setCustomFieldValueTool={'name':a0_0x21f8ec(0x25e)+a0_0x21f8ec(0x245)+a0_0x21f8ec(0x23e)+a0_0x21f8ec(0x203)+'ue','description':a0_0x21f8ec(0x1f2)+a0_0x21f8ec(0x30b)+a0_0x21f8ec(0x262)+a0_0x21f8ec(0x253)+a0_0x21f8ec(0x245)+a0_0x21f8ec(0x2b1)+'d\x20on\x20'+'a\x20tas'+a0_0x21f8ec(0x268)+a0_0x21f8ec(0x249)+a0_0x21f8ec(0x2d7)+a0_0x21f8ec(0x1e0)+'r\x20tas'+a0_0x21f8ec(0x1b7)+'\x20+\x20fi'+'eldId'+a0_0x21f8ec(0x274)+a0_0x21f8ec(0x2fd)+'ame\x20+'+a0_0x21f8ec(0x228)+'e.','annotations':{'title':'Set\x20C'+a0_0x21f8ec(0x245)+a0_0x21f8ec(0x234)+a0_0x21f8ec(0x1d5)+'ue'},'inputSchema':{'type':'objec'+'t','properties':{'taskId':{'type':a0_0x21f8ec(0x210)+'g','description':'Task\x20'+a0_0x21f8ec(0x2f0)+'refer'+a0_0x21f8ec(0x1c8)},'taskName':{'type':'strin'+'g','description':a0_0x21f8ec(0x2e3)+a0_0x21f8ec(0x1d3)+'(requ'+'ires\x20'+a0_0x21f8ec(0x2a7)+a0_0x21f8ec(0x1fc)+a0_0x21f8ec(0x211)+a0_0x21f8ec(0x21b)},'listName':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x240)+'name\x20'+a0_0x21f8ec(0x2c8)+'sambi'+'guate'+a0_0x21f8ec(0x2fc)+a0_0x21f8ec(0x2ef)},'fieldId':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x1d8)+'m\x20fie'+'ld\x20UU'+'ID\x20(p'+a0_0x21f8ec(0x24d)+a0_0x21f8ec(0x1c8)},'fieldName':{'type':'strin'+'g','description':a0_0x21f8ec(0x1d8)+a0_0x21f8ec(0x1ef)+a0_0x21f8ec(0x2c2)+a0_0x21f8ec(0x1cc)+'ase-i'+'nsens'+a0_0x21f8ec(0x1c6)+a0_0x21f8ec(0x1c4)+'up).'},'value':{'description':a0_0x21f8ec(0x227)+a0_0x21f8ec(0x222)+a0_0x21f8ec(0x307)+a0_0x21f8ec(0x1b9)+a0_0x21f8ec(0x1c0)+a0_0x21f8ec(0x31b)+a0_0x21f8ec(0x1e9)+a0_0x21f8ec(0x236)+a0_0x21f8ec(0x250)+a0_0x21f8ec(0x297)+a0_0x21f8ec(0x28e)+'drop_'+'down\x20'+a0_0x21f8ec(0x242)+a0_0x21f8ec(0x1bb)+a0_0x21f8ec(0x20e)+a0_0x21f8ec(0x287)+a0_0x21f8ec(0x1c1)+'\x20lang'+a0_0x21f8ec(0x310)+'(e.g.'+a0_0x21f8ec(0x1d4)+'xt\x20Fr'+'iday\x27'+a0_0x21f8ec(0x2bf)+a0_0x21f8ec(0x204)+'w\x27)\x20o'+a0_0x21f8ec(0x217)+a0_0x21f8ec(0x1ff)+a0_0x21f8ec(0x273)+a0_0x21f8ec(0x1fb)+a0_0x21f8ec(0x2ea)+'ans\x20f'+a0_0x21f8ec(0x1d7)+a0_0x21f8ec(0x26b)+'x.'},'valueOptions':{'type':'objec'+'t','properties':{},'description':a0_0x21f8ec(0x264)+a0_0x21f8ec(0x256)+'onfig'+a0_0x21f8ec(0x252)+a0_0x21f8ec(0x285)+a0_0x21f8ec(0x2c1)+a0_0x21f8ec(0x314)+a0_0x21f8ec(0x20e)+a0_0x21f8ec(0x228)+a0_0x21f8ec(0x2a5)}},'required':['value']}};export const removeCustomFieldValueTool={'name':a0_0x21f8ec(0x1db)+'e_cus'+'tom_f'+a0_0x21f8ec(0x1da)+a0_0x21f8ec(0x29f),'description':a0_0x21f8ec(0x1eb)+a0_0x21f8ec(0x22f)+a0_0x21f8ec(0x228)+'e\x20of\x20'+a0_0x21f8ec(0x2ff)+'tom\x20f'+a0_0x21f8ec(0x22e)+a0_0x21f8ec(0x1e5)+a0_0x21f8ec(0x260)+a0_0x21f8ec(0x268)+a0_0x21f8ec(0x249)+a0_0x21f8ec(0x2d7)+a0_0x21f8ec(0x1e0)+a0_0x21f8ec(0x1cb)+a0_0x21f8ec(0x1b7)+a0_0x21f8ec(0x1ce)+a0_0x21f8ec(0x2c0)+a0_0x21f8ec(0x274)+a0_0x21f8ec(0x2fd)+'ame.','annotations':{'title':a0_0x21f8ec(0x1eb)+a0_0x21f8ec(0x212)+a0_0x21f8ec(0x1b8)+a0_0x21f8ec(0x22e)+a0_0x21f8ec(0x227),'destructiveHint':!![]},'inputSchema':{'type':a0_0x21f8ec(0x2d5)+'t','properties':{'taskId':{'type':'strin'+'g','description':a0_0x21f8ec(0x2e3)+a0_0x21f8ec(0x2f0)+a0_0x21f8ec(0x24d)+a0_0x21f8ec(0x1c8)},'taskName':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x2e3)+a0_0x21f8ec(0x1d3)+'(requ'+a0_0x21f8ec(0x244)+a0_0x21f8ec(0x2a7)+a0_0x21f8ec(0x1fc)+a0_0x21f8ec(0x211)+'t).'},'listName':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x240)+a0_0x21f8ec(0x1d3)+a0_0x21f8ec(0x2c8)+'sambi'+a0_0x21f8ec(0x2d6)+a0_0x21f8ec(0x2fc)+a0_0x21f8ec(0x2ef)},'fieldId':{'type':'strin'+'g','description':a0_0x21f8ec(0x1d8)+'m\x20fie'+a0_0x21f8ec(0x292)+a0_0x21f8ec(0x2f0)+a0_0x21f8ec(0x24d)+a0_0x21f8ec(0x1c8)},'fieldName':{'type':a0_0x21f8ec(0x210)+'g','description':a0_0x21f8ec(0x1d8)+a0_0x21f8ec(0x1ef)+a0_0x21f8ec(0x2c2)+a0_0x21f8ec(0x1cc)+'ase-i'+a0_0x21f8ec(0x1f6)+'itive'+a0_0x21f8ec(0x1c4)+a0_0x21f8ec(0x2d8)}}}};export async function handleManageCustomFields(_0x15def1,_0x2b35be){const _0xd57be7=a0_0x21f8ec,_0x200554={'dYUhJ':_0xd57be7(0x1db)+'e_val'+'ue','QrJtQ':function(_0x1cec50,_0x3802f8,_0xdf9b66,_0xaf114b,_0x4a1ea1){return _0x1cec50(_0x3802f8,_0xdf9b66,_0xaf114b,_0x4a1ea1);},'oCuck':function(_0x360a77,_0x62224e){return _0x360a77||_0x62224e;},'mCIuZ':function(_0x10b90b,_0x18df60){return _0x10b90b&&_0x18df60;},'Snxmw':'\x27list'+_0xd57be7(0x214)+'r\x20\x27li'+_0xd57be7(0x25f)+_0xd57be7(0x289)+'\x20requ'+_0xd57be7(0x22c)+_0xd57be7(0x2d4)+_0xd57be7(0x2da)+_0xd57be7(0x2ff)+_0xd57be7(0x28c)+'ield.','tQitY':'\x27name'+'\x27\x20and'+_0xd57be7(0x255)+_0xd57be7(0x1c5)+_0xd57be7(0x2db)+_0xd57be7(0x26a)+_0xd57be7(0x294)+_0xd57be7(0x2b4)+_0xd57be7(0x2c4)+_0xd57be7(0x208)+'field'+'.','xVAFP':function(_0x5155ca,_0x5475d5){return _0x5155ca&&_0x5475d5;},'ABSIl':_0xd57be7(0x248)+'e\x27\x20is'+_0xd57be7(0x290)+_0xd57be7(0x22c)+_0xd57be7(0x30e)+_0xd57be7(0x239)+_0xd57be7(0x1d2)+_0xd57be7(0x2b0)+'.','RMFdQ':function(_0x69cc8b,_0x442910){return _0x69cc8b===_0x442910;},'FzXyD':function(_0x4c6be3,_0xee602a,_0x4077a6,_0x710068,_0x1257c4,_0x3aa0aa,_0x1a5b98){return _0x4c6be3(_0xee602a,_0x4077a6,_0x710068,_0x1257c4,_0x3aa0aa,_0x1a5b98);},'QPKGm':_0xd57be7(0x272)+_0xd57be7(0x23f),'hUkLx':_0xd57be7(0x2ae)+'ed','iVIxg':'remov'+'ed'},{customField:_0x8281e8,workspace:_0x47559b,task:_0x2d2e7f}=_0x2b35be,{action:_0x1b9431,listId:_0x8229ff,listName:_0x4b5478,folderId:_0x18b11c,folderName:_0x4b7008,spaceId:_0x755b20,spaceName:_0x2aa8d6,teamId:_0x2465ed,taskId:_0x4e5cb7,taskName:_0x2d61d9,fieldId:_0xd97077,fieldName:_0x44d5b9,name:_0x348cf7,type:_0x2d1772,typeConfig:_0x321252,value:_0x36deca,valueOptions:_0x2c0928}=_0x15def1;try{const _0x103550=_0x2b35be[_0xd57be7(0x2ed)+_0xd57be7(0x1e1)]?.['disab'+_0xd57be7(0x1de)]||[];if(_0x1b9431===_0x200554[_0xd57be7(0x29a)]&&_0x103550[_0xd57be7(0x2b6)+_0xd57be7(0x2cb)](_0xd57be7(0x1db)+_0xd57be7(0x218)+_0xd57be7(0x303)+_0xd57be7(0x1da)+_0xd57be7(0x29f)))return sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x278)+_0xd57be7(0x29e)+_0xd57be7(0x1ea)]('Acces'+_0xd57be7(0x26c)+'ied:\x20'+_0xd57be7(0x2de)+_0xd57be7(0x295)+_0xd57be7(0x2f1)+_0xd57be7(0x299)+'(\x27'+_0x1b9431+(_0xd57be7(0x2be)+_0xd57be7(0x293)+_0xd57be7(0x1f0)+_0xd57be7(0x28e)+_0xd57be7(0x26f)+_0xd57be7(0x263)+'nt\x20pe'+'rsona'+_0xd57be7(0x30a)+_0xd57be7(0x2b7)+_0xd57be7(0x259)+_0xd57be7(0x319)+'n.'));switch(_0x1b9431){case'list':{let _0x46eb9d,_0x384c6a;if(_0x8229ff||_0x4b5478){const _0x2041d6=await _0x200554[_0xd57be7(0x2c9)](resolveLocation,_0xd57be7(0x1e3),_0x8229ff,_0x4b5478,_0x47559b);_0x46eb9d=await _0x8281e8[_0xd57be7(0x243)+_0xd57be7(0x2bc)+_0xd57be7(0x315)+_0xd57be7(0x30c)](_0x2041d6['id']),_0x384c6a=_0xd57be7(0x2c7)+'\x22'+(_0x2041d6[_0xd57be7(0x29d)]||_0x2041d6['id'])+'\x22';}else{if(_0x18b11c||_0x4b7008){const _0x262a65=await _0x200554[_0xd57be7(0x2c9)](resolveLocation,_0xd57be7(0x312)+'r',_0x18b11c,_0x4b7008,_0x47559b);_0x46eb9d=await _0x8281e8[_0xd57be7(0x2df)+_0xd57be7(0x1d1)+'ustom'+'Field'+'s'](_0x262a65['id']),_0x384c6a=_0xd57be7(0x312)+_0xd57be7(0x265)+(_0x262a65[_0xd57be7(0x29d)]||_0x262a65['id'])+'\x22';}else{if(_0x200554['oCuck'](_0x755b20,_0x2aa8d6)){const _0x5ce8cf=await _0x200554[_0xd57be7(0x2c9)](resolveLocation,_0xd57be7(0x22b),_0x755b20,_0x2aa8d6,_0x47559b);_0x46eb9d=await _0x8281e8[_0xd57be7(0x30d)+_0xd57be7(0x1cf)+_0xd57be7(0x28a)+_0xd57be7(0x24b)](_0x5ce8cf['id']),_0x384c6a=_0xd57be7(0x22b)+'\x20\x22'+(_0x5ce8cf['name']||_0x5ce8cf['id'])+'\x22';}else _0x46eb9d=await _0x8281e8['getWo'+'rkspa'+'ceCus'+_0xd57be7(0x315)+_0xd57be7(0x30c)](),_0x384c6a=_0xd57be7(0x1cd)+'pace';}}if(!_0x46eb9d[_0xd57be7(0x1f8)+'ss'])return sponsorService[_0xd57be7(0x1ca)+'eErro'+'rResp'+_0xd57be7(0x1ea)](_0x46eb9d[_0xd57be7(0x225)]?.[_0xd57be7(0x1bd)+'ge']||_0xd57be7(0x1df)+_0xd57be7(0x318)+_0xd57be7(0x2c7)+_0xd57be7(0x2f2)+_0xd57be7(0x1ef)+_0xd57be7(0x20b));return sponsorService['creat'+_0xd57be7(0x266)+'onse']({'fields':_0x46eb9d[_0xd57be7(0x2c5)]?.[_0xd57be7(0x20e)+'s']||[],'count':_0x46eb9d['data']?.[_0xd57be7(0x20e)+'s']['lengt'+'h']||0x0,'scope':_0x384c6a},!![]);}case _0xd57be7(0x1ca)+'e':{if(_0x200554['mCIuZ'](!_0x8229ff,!_0x4b5478))return sponsorService['creat'+_0xd57be7(0x278)+_0xd57be7(0x29e)+_0xd57be7(0x1ea)](_0x200554[_0xd57be7(0x2a4)]);if(!_0x348cf7||!_0x2d1772)return sponsorService[_0xd57be7(0x1ca)+'eErro'+_0xd57be7(0x29e)+'onse'](_0x200554[_0xd57be7(0x288)]);const _0x31cadc=await _0x200554[_0xd57be7(0x2c9)](resolveLocation,_0xd57be7(0x1e3),_0x8229ff,_0x4b5478,_0x47559b),_0x298d8f={'name':_0x348cf7,'type':_0x2d1772};if(_0x321252)_0x298d8f[_0xd57be7(0x1b6)+'confi'+'g']=_0x321252;const _0x43314a=await _0x8281e8[_0xd57be7(0x1ca)+_0xd57be7(0x1f4)+_0xd57be7(0x1f3)+'ld'](_0x31cadc['id'],_0x298d8f);if(!_0x43314a['succe'+'ss'])return sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x278)+_0xd57be7(0x29e)+_0xd57be7(0x1ea)](_0x43314a['error']?.[_0xd57be7(0x1bd)+'ge']||_0xd57be7(0x1df)+_0xd57be7(0x318)+_0xd57be7(0x1ca)+'e\x20cus'+_0xd57be7(0x28c)+_0xd57be7(0x1dd));const _0x5a0f98=_0x43314a[_0xd57be7(0x2c5)]?.['field']||_0x43314a[_0xd57be7(0x2c5)][_0xd57be7(0x20e)];return sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x266)+'onse']({'field':_0x5a0f98,'message':_0xd57be7(0x1d8)+'m\x20fie'+_0xd57be7(0x286)+_0x348cf7+('\x22\x20cre'+_0xd57be7(0x1ec)+_0xd57be7(0x1f8)+'ssful'+_0xd57be7(0x311)+_0xd57be7(0x2ec)+'\x20\x22')+_0x31cadc[_0xd57be7(0x29d)]+'\x22.'},!![]);}case _0xd57be7(0x272)+_0xd57be7(0x23f):case _0x200554[_0xd57be7(0x29a)]:{if(!_0x4e5cb7&&!_0x2d61d9)return sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x278)+_0xd57be7(0x29e)+'onse'](_0xd57be7(0x201)+_0xd57be7(0x214)+_0xd57be7(0x2dc)+_0xd57be7(0x21a)+'e\x27\x20is'+_0xd57be7(0x290)+_0xd57be7(0x21c));if(_0x200554[_0xd57be7(0x305)](!_0xd97077,!_0x44d5b9))return sponsorService['creat'+'eErro'+_0xd57be7(0x29e)+'onse'](_0xd57be7(0x2fb)+_0xd57be7(0x1d0)+_0xd57be7(0x270)+_0xd57be7(0x2fd)+_0xd57be7(0x258)+_0xd57be7(0x2a6)+_0xd57be7(0x249)+'d.');if(_0x1b9431===_0xd57be7(0x272)+'alue'&&_0x36deca===undefined)return sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x278)+'rResp'+_0xd57be7(0x1ea)](_0x200554[_0xd57be7(0x2bb)]);const _0x2d2def=await getTaskId(_0x4e5cb7||_0x2d61d9,undefined,undefined,_0x4b5478,undefined,![],_0x2b35be),_0x116b8c=await _0x2d2e7f[_0xd57be7(0x301)+'sk'](_0x2d2def);if(!_0x116b8c[_0xd57be7(0x1e3)]?.['id'])throw new Error(_0xd57be7(0x2e3)+'\x22'+_0x2d2def+('\x22\x20has'+'\x20no\x20l'+_0xd57be7(0x2bd)+_0xd57be7(0x211)+'t.'));const _0x1248ba=[_0x8281e8[_0xd57be7(0x243)+_0xd57be7(0x2bc)+'tomFi'+_0xd57be7(0x30c)](_0x116b8c[_0xd57be7(0x1e3)]['id'])];if(_0x116b8c['folde'+'r']?.['id'])_0x1248ba[_0xd57be7(0x216)](_0x8281e8[_0xd57be7(0x2df)+_0xd57be7(0x1d1)+_0xd57be7(0x245)+'Field'+'s'](_0x116b8c[_0xd57be7(0x312)+'r']['id']));if(_0x116b8c[_0xd57be7(0x22b)]?.['id'])_0x1248ba['push'](_0x8281e8[_0xd57be7(0x30d)+_0xd57be7(0x1cf)+'stomF'+_0xd57be7(0x24b)](_0x116b8c[_0xd57be7(0x22b)]['id']));_0x1248ba['push'](_0x8281e8[_0xd57be7(0x20d)+_0xd57be7(0x308)+_0xd57be7(0x316)+_0xd57be7(0x315)+'elds']());const _0x235cb3=await Promise[_0xd57be7(0x2af)](_0x1248ba),_0x13ca01=_0x235cb3[_0xd57be7(0x27f)+'ap'](_0x32cc76=>_0x32cc76[_0xd57be7(0x1f8)+'ss']?_0x32cc76[_0xd57be7(0x2c5)]?.[_0xd57be7(0x20e)+'s']||[]:[]);let _0x465a2f;if(_0xd97077)_0x465a2f=_0x13ca01[_0xd57be7(0x2d9)](_0x26c64f=>_0x26c64f['id']===_0xd97077);else{if(_0x44d5b9){const _0x3e72ae=findBestMatchInArray(_0x13ca01,_0x44d5b9);if(_0x3e72ae)_0x465a2f=_0x3e72ae['item'];}}if(!_0x465a2f)return sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x278)+_0xd57be7(0x29e)+'onse'](_0xd57be7(0x1f1)+'\x20not\x20'+'find\x20'+_0xd57be7(0x2f2)+_0xd57be7(0x1ef)+_0xd57be7(0x286)+(_0xd97077||_0x44d5b9)+('\x22\x20in\x20'+_0xd57be7(0x317)+'ask\x27s'+_0xd57be7(0x2ee)+_0xd57be7(0x302)));let _0x36dc7e;if(_0x200554['RMFdQ'](_0x1b9431,_0xd57be7(0x272)+_0xd57be7(0x23f))){const {typedValue:_0x3b9ed7,typedValueOptions:_0x2d6006}=_0x200554['FzXyD'](buildTypedFieldValue,_0x465a2f['type'],_0x36deca,_0x36deca,_0x2c0928,_0x2b35be[_0xd57be7(0x2d3)+_0xd57be7(0x2fe)],_0x465a2f[_0xd57be7(0x1b6)+_0xd57be7(0x30f)+'g']);_0x36dc7e=await _0x8281e8[_0xd57be7(0x1fa)+_0xd57be7(0x2b9)+_0xd57be7(0x200)](_0x2d2def,_0x465a2f['id'],_0x3b9ed7,_0x2d6006);}else _0x36dc7e=await _0x8281e8[_0xd57be7(0x1db)+_0xd57be7(0x1e7)+'dValu'+'e'](_0x2d2def,_0x465a2f['id']);if(!_0x36dc7e[_0xd57be7(0x1f8)+'ss'])return sponsorService[_0xd57be7(0x1ca)+'eErro'+'rResp'+_0xd57be7(0x1ea)](_0x36dc7e[_0xd57be7(0x225)]?.[_0xd57be7(0x1bd)+'ge']||'Faile'+_0xd57be7(0x318)+_0x1b9431+(_0xd57be7(0x254)+_0xd57be7(0x2a1)+_0xd57be7(0x2e4)));return sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x266)+'onse']({'success':!![],'message':_0xd57be7(0x1d8)+'m\x20fie'+'ld\x20\x22'+_0x465a2f[_0xd57be7(0x29d)]+'\x22\x20'+(_0x1b9431===_0x200554[_0xd57be7(0x237)]?_0x200554[_0xd57be7(0x2e0)]:_0x200554[_0xd57be7(0x284)])+(_0xd57be7(0x21f)+_0xd57be7(0x205)+'lly\x20o'+'n\x20tas'+_0xd57be7(0x1e4))+_0x116b8c['name']+'\x22.'},!![]);}default:return sponsorService['creat'+_0xd57be7(0x278)+_0xd57be7(0x29e)+'onse'](_0xd57be7(0x209)+_0xd57be7(0x2e8)+_0xd57be7(0x1dc)+'\x22'+_0x1b9431+('\x22.\x20Us'+_0xd57be7(0x1e6)+_0xd57be7(0x219)+_0xd57be7(0x2b4)+_0xd57be7(0x27c)+'_valu'+_0xd57be7(0x27a)+'\x20remo'+_0xd57be7(0x2f6)+_0xd57be7(0x1bf)));}}catch(_0x2de885){return logger['error']('Error'+_0xd57be7(0x2d0)+_0xd57be7(0x271)+_0xd57be7(0x2ab)+'eCust'+'omFie'+'lds\x20('+_0xd57be7(0x2b5)+_0xd57be7(0x291)+_0x1b9431+')',_0x2de885),sponsorService[_0xd57be7(0x1ca)+_0xd57be7(0x278)+'rResp'+_0xd57be7(0x1ea)](_0x2de885[_0xd57be7(0x1bd)+'ge']||String(_0x2de885));}}function a0_0x4344(_0x46d662,_0x2e05cb){_0x46d662=_0x46d662-0x1b6;const _0x58e327=a0_0x58e3();let _0x434463=_0x58e327[_0x46d662];if(a0_0x4344['LRVZYv']===undefined){var _0x164897=function(_0x22b8ff){const _0x1fe4e2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x24cb2e='',_0x12dda4='';for(let _0x300fbc=0x0,_0x356a1f,_0x3e54a9,_0x33b352=0x0;_0x3e54a9=_0x22b8ff['charAt'](_0x33b352++);~_0x3e54a9&&(_0x356a1f=_0x300fbc%0x4?_0x356a1f*0x40+_0x3e54a9:_0x3e54a9,_0x300fbc++%0x4)?_0x24cb2e+=String['fromCharCode'](0xff&_0x356a1f>>(-0x2*_0x300fbc&0x6)):0x0){_0x3e54a9=_0x1fe4e2['indexOf'](_0x3e54a9);}for(let _0x4cc2bb=0x0,_0x2fea2b=_0x24cb2e['length'];_0x4cc2bb<_0x2fea2b;_0x4cc2bb++){_0x12dda4+='%'+('00'+_0x24cb2e['charCodeAt'](_0x4cc2bb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x12dda4);};a0_0x4344['ZSKzUL']=_0x164897,a0_0x4344['AoorKt']={},a0_0x4344['LRVZYv']=!![];}const _0x29b7f0=_0x58e327[0x0],_0x1bd007=_0x46d662+_0x29b7f0,_0x28c947=a0_0x4344['AoorKt'][_0x1bd007];return!_0x28c947?(_0x434463=a0_0x4344['ZSKzUL'](_0x434463),a0_0x4344['AoorKt'][_0x1bd007]=_0x434463):_0x434463=_0x28c947,_0x434463;}function looksLikeUUID(_0x240870){const _0x5de3bb=a0_0x21f8ec;return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i[_0x5de3bb(0x1bc)](_0x240870);}function buildTypedFieldValue(_0x2d071a,_0x47f0c4,_0x4ce1f0,_0x500ea9,_0x49d893,_0x3cae7c){const _0x8b02d5=a0_0x21f8ec,_0x498c03={'TtSez':function(_0x4bf7df,_0x2c9bff){return _0x4bf7df(_0x2c9bff);},'sgqUP':function(_0x1a09e0,_0x4cf73b){return _0x1a09e0===_0x4cf73b;},'eQshh':_0x8b02d5(0x24a)+'r','XIWqs':_0x8b02d5(0x263)+_0x8b02d5(0x2f7),'AevYQ':_0x8b02d5(0x300),'EbsHu':function(_0x4662de,_0x1b780f){return _0x4662de(_0x1b780f);},'xmbgJ':_0x8b02d5(0x1f9),'PzYYI':_0x8b02d5(0x2aa)+'e','RSBwA':function(_0x3751a2,_0x2278bc){return _0x3751a2===_0x2278bc;},'Kbrod':_0x8b02d5(0x2eb)+'s','qwjYF':_0x8b02d5(0x2d5)+'t','OLFZs':function(_0x3466a6,_0x29b4cb){return _0x3466a6!==_0x29b4cb;},'dypJt':function(_0x29a616,_0x1ce212){return _0x29a616(_0x1ce212);},'HLsCd':function(_0x1d70ed,_0x36d092){return _0x1d70ed===_0x36d092;}};switch(_0x2d071a){case'check'+_0x8b02d5(0x2f4):return{'typedValue':_0x498c03[_0x8b02d5(0x23b)](_0x47f0c4,_0x8b02d5(0x221))||_0x47f0c4===!![]};case _0x498c03[_0x8b02d5(0x230)]:case _0x498c03[_0x8b02d5(0x24e)]:return{'typedValue':typeof _0x47f0c4===_0x8b02d5(0x24a)+'r'?_0x47f0c4:parseFloat(String(_0x47f0c4))};case _0x498c03[_0x8b02d5(0x2cc)]:return{'typedValue':_0x498c03['sgqUP'](typeof _0x47f0c4,_0x498c03[_0x8b02d5(0x230)])?_0x47f0c4:parseInt(String(_0x47f0c4),0xa)};case _0x8b02d5(0x309):{const _0x22db92=parseDueDate(_0x498c03[_0x8b02d5(0x1fe)](String,_0x47f0c4),undefined,_0x49d893);return{'typedValue':_0x22db92,'typedValueOptions':_0x500ea9?.[_0x8b02d5(0x2a0)]!==undefined?{'time':_0x500ea9[_0x8b02d5(0x2a0)]}:undefined};}case _0x498c03[_0x8b02d5(0x28b)]:case'users':case _0x498c03[_0x8b02d5(0x23c)]:if(_0x498c03[_0x8b02d5(0x27d)](typeof _0x47f0c4,_0x8b02d5(0x2d5)+'t')&&(_0x47f0c4['add']||_0x47f0c4[_0x8b02d5(0x226)]))return{'typedValue':{'add':_0x47f0c4[_0x8b02d5(0x2e9)]||[],'rem':_0x47f0c4[_0x8b02d5(0x226)]||[]}};return{'typedValue':_0x47f0c4};case _0x498c03[_0x8b02d5(0x313)]:{const _0x3cae99=Array[_0x8b02d5(0x2c3)+'ay'](_0x47f0c4)?_0x47f0c4:_0x4ce1f0?.[_0x8b02d5(0x2f8)]||[];if(_0x3cae7c?.['optio'+'ns']){const _0x56eeef=_0x3cae99[_0x8b02d5(0x2e2)](_0x6ed023=>{const _0x4d6276=_0x8b02d5;if(_0x498c03[_0x4d6276(0x26d)](looksLikeUUID,_0x6ed023))return _0x6ed023;const _0x53ee84=_0x3cae7c[_0x4d6276(0x2f3)+'ns'][_0x4d6276(0x2d9)](_0x4af03b=>_0x4af03b[_0x4d6276(0x2eb)][_0x4d6276(0x220)+_0x4d6276(0x2e1)+'e']()===_0x6ed023[_0x4d6276(0x220)+'erCas'+'e']());return _0x53ee84?_0x53ee84['id']:_0x6ed023;});return{'typedValue':_0x56eeef};}return{'typedValue':_0x3cae99};}case _0x8b02d5(0x261)+_0x8b02d5(0x275):{let _0x116ce7=_0x47f0c4;if(_0x47f0c4&&_0x3cae7c?.[_0x8b02d5(0x2f3)+'ns']&&typeof _0x47f0c4===_0x8b02d5(0x210)+'g'&&!looksLikeUUID(_0x47f0c4)){const _0x4356d0=_0x3cae7c[_0x8b02d5(0x2f3)+'ns'][_0x8b02d5(0x2d9)](_0x2e0310=>_0x2e0310[_0x8b02d5(0x29d)][_0x8b02d5(0x220)+_0x8b02d5(0x2e1)+'e']()===_0x47f0c4[_0x8b02d5(0x220)+_0x8b02d5(0x2e1)+'e']());_0x4356d0&&(_0x116ce7=_0x4356d0['id']);}return{'typedValue':_0x116ce7};}case _0x8b02d5(0x25c)+_0x8b02d5(0x1d9)+_0x8b02d5(0x235):if(_0x498c03[_0x8b02d5(0x27d)](typeof _0x47f0c4,_0x498c03[_0x8b02d5(0x21d)])&&_0x498c03[_0x8b02d5(0x2a3)](_0x47f0c4[_0x8b02d5(0x263)+'nt'],undefined))return{'typedValue':{'current':_0x47f0c4[_0x8b02d5(0x263)+'nt']}};return{'typedValue':{'current':typeof _0x47f0c4===_0x498c03[_0x8b02d5(0x230)]?_0x47f0c4:_0x498c03[_0x8b02d5(0x1fd)](parseFloat,_0x498c03[_0x8b02d5(0x1fe)](String,_0x47f0c4))}};case _0x8b02d5(0x1d6)+'ion':if(_0x498c03[_0x8b02d5(0x26e)](typeof _0x47f0c4,_0x8b02d5(0x2d5)+'t')&&_0x47f0c4[_0x8b02d5(0x1d6)+_0x8b02d5(0x1be)])return{'typedValue':_0x47f0c4};return{'typedValue':{'location':{'lat':_0x4ce1f0?.[_0x8b02d5(0x231)],'lng':_0x4ce1f0?.[_0x8b02d5(0x238)]},'formatted_address':_0x4ce1f0?.['addre'+'ss']}};default:return{'typedValue':_0x47f0c4};}}
1
+ const a0_0x43cf71=a0_0x3fce;(function(_0x5bfdf8,_0x18b194){const _0x1ec688=a0_0x3fce,_0x450580=_0x5bfdf8();while(!![]){try{const _0xf7f245=parseInt(_0x1ec688(0x25f))/0x1+parseInt(_0x1ec688(0x2d2))/0x2*(-parseInt(_0x1ec688(0x2a6))/0x3)+-parseInt(_0x1ec688(0x23b))/0x4*(-parseInt(_0x1ec688(0x296))/0x5)+parseInt(_0x1ec688(0x1d0))/0x6*(parseInt(_0x1ec688(0x28f))/0x7)+parseInt(_0x1ec688(0x252))/0x8*(parseInt(_0x1ec688(0x19e))/0x9)+parseInt(_0x1ec688(0x1ca))/0xa+parseInt(_0x1ec688(0x1fa))/0xb*(-parseInt(_0x1ec688(0x16c))/0xc);if(_0xf7f245===_0x18b194)break;else _0x450580['push'](_0x450580['shift']());}catch(_0x31ce08){_0x450580['push'](_0x450580['shift']());}}}(a0_0x4a76,0x861ba));import{Logger}from'../logger.js';function a0_0x4a76(){const _0x46dc13=['B25HBgW','CMf0Aw4','q3vZDg8','t3b0Aw8','mtaYqKPhrhvp','uMvTB3y','lIbszxe','BNrxvNi','Aw9UCYa','yw1LicS','Dg9Tx2y','z3vHDgu','ywn0Aw8','rMLLBgq','iI4Gvxm','q3jLyxq','zs5NlIW','BMfTzxm','CIbvBMK','zfzHBhu','C2fTyMK','DgfZA3m','iIbOyxm','CIbZzxq','AuPXs0u','C3nMDwW','zxnZ','DxbWB3i','B3b0Aw8','zwXKswq','ywX1zq','A05HBwu','DhLWzv8','C2v0x3y','lcaNDg8','CgfJzuK','yYbMAwu','AwvSzhm','zxnZzNu','zNjVBsa','BgvK','ueKGy28','zIbHigm','DgLVBIa','AwvSze4','yM94','BwvZC2e','yw5Zigy','ndi5mJj0v2fRyuO','mJGWmJaZnMTkyLfpEG','AxmGCMu','D29YA3m','ig9Yigy','BJOG','zsbHigm','j2zPzwW','B3iGy2G','DgnIB3i','CMvHDgu','zxrFDMe','AxjLzc4','CIbjrc4','jYKGyxi','Axn0igm','ignVBNq','z3vYyxq','AxjLCYa','lxjLC28','vgH6yxm','tvrcBMS','khjLCxu','BgLZDca','y29UzMK','BhKGB24','ig9Yiee','vK5SAeG','j2XPC3q','BMn5','DwfNzsa','DxjS','CMvKks4','DhLWzq','zgvZ','CYWGBMe','zgLZywi','zsWGB3i','C3qUifi','B3iGBgK','ihrHC2S','CguGyNK','zsbdDxm','ywXS','DgLUzYa','vgfZAYa','iIbJCMu','zM9Szgu','BhvLig8','igzPzwW','B250zxG','ntG5nZu0n1fNAM5XyW','C3rVBsa','zwXK','ig5HBwu','BgrZ','BMfTzq','u3bHy2u','ywrK','z1vcEuW','ihzHBhu','DMvFDMe','zsb0Agu','ieLelG','suqU','DhvYywW','ysb0yxm','DgLTzq','zgvUy3K','uLDoD3a','BNqGCgu','zcbVBIa','BgqGiG','zvfSsNu','AYaI','zMLUza','B3iGj2y','zxqUifm','v29YA3m','zhjVCf8','q29UzMK','ihjLCxu','zwnRyM8','BgrZicG','zNbKAuW','ign1C3q','BhvL','zsCGyxi','BsbgAwu','BgLZDa','vKH1qM0','yxrLzca','DxjHDgK','BhvLlG','igzVCIa','mZCZmdeXme1oBvfKyG','Aw5PDgK','B25Zigy','icSGzMK','BgX5ig8','zxjdyxm','nNjMBu1ktq','BgrLCKm','Dg9TrMK','ihr5Cgu','BNnLBNm','jYbHBMq','EhqGrNi','CgfJzq','Ew91CIa','BY1Yzxm','vgvHBs8','tgLZDca','tLjpsgi','j25HBwu','z2v0u3a','y3vYCMu','Dg8TCMu','vMfSDwu','DwLYzwq','zuzPzwW','BMzPz3u','zxjYB3i','zMLLBgq','zwXKvMe','Dg9Tiey','B20GzMK','BwuSihm','AY4GuMu','yw1Ligm','B25Zzq','igeGBgK','zxmU','ig5VigW','z2v0vge','CIb0yxm','Dxn0B20','yM9VBgu','x3rLEhq','C3rVBuy','B2jQzwm','zc9MB2W','zMLUAxq','ntvhswz2t3G','AwX0zxi','yw1LlG','C2HVCNq','ChjVz3i','B24GB24','CIaNDge','CYb0yxm','igXPC3q','zsWGzM8','Aw5JBhu','Bg5N','kgf1Dg8','C29SDMu','r1bQtfe','zfrVB2W','zsbYzxe','Dgv4Da','y2vdDxm','AxnbCNi','ihn1y2m','tfvQAgm','zsCGAxm','BIb0yxm','CIaNBgK','CMvT','BJOGBge','q291Bgq','BwfW','txrvr0y','CYbezw4','icHHDxq','zsbJDxm','BgLZDf8','iezPzwW','y3rPB24','tuzey2e','BgjPu20','BgLZDe4','x2zPzwW','ie9WDgK','C3rYAw4','C3vJy2u','q251u1y','zv9JDxm','B25MAwC','Bf9WCM8','EcbTCYa','BwfUDwe','z2v0tgK','BNvTyMu','Bg9Jyxq','AxrLBq','AxjLzca','ysbJDxm','AguGDMe','BgfIzwW','zsaOyxu','Dhj1zq','BgqGBMe','B3iGzhi','zwXKCW','u2v0iem','C3bHy2u','DxnLCNm','nti2mdreuLLLExm','ihrVihm','rM9Szgu','rgX4Agm','AwvSzc4','zwnPzMK','AwvSza','yw1LjYa','zw1VAMK','zgf0yq','zuvYCM8','CguGy28','Dg9mB3C','y2HLy2S','BgqGvvu','zc9ZCge','ywnLq3u','CIaI','zcbKzwy','CLjLC3a','C3rdDxm','CxvPCMu','yMvSCYa','oe5ztxzqDW','CgvZicG','DxaPlG','igXHBMC','BsbMAwu','C3qSigm','Dg8GzgK','zf92ywW','B25L','zvjLC3a','j3rHC2S','lcaNBMu','Bw9YCM8','nZCZntqXvNj1vuDy','z3jLC3m','AxrPDMu','tLjiAhK','zMXHDe0','yxnLlwK','z2v0v28','CMvMzxi','BgqGzgu','CgfJzsa','CMf0Aw8','zM9Yigq','y3jLyxq','zsbKAxm','ywrKCMu','ztOGBgK','y3vZDg8','BhvLige','zxH0lG','BwL0ige','u2v0ihq','ihrVigm','DYCPig8','suqGkha','DLPvyNe','z2v0rM8','tMfTzs4','BgqGDhK','twfUywC','DhmGDhK','qwnJzxm','CgvVCgW','BMfTzsa','x3zHBhu','DcKU','zv92ywW','BwuGkgm','zg93BG','AwvSzf8','BhzLzcK','C3royw0','BMfSigm','rMfPBgu','igXVB2S','zcb0BYa','B24GzM8','zg93BIa','swqVBgK','mtG1otqXAhPVCeXw','CMTZCge','zcbwywW','Aw9UCY4','Aw9Uigy','swqNig8','D0joENG','mJm1swrNuvnw','Dg9Tigy','iIbPBIa','Aw9U','y2voyw0','igLUigG','DMfSDwu','rKnbs2m','BgrLCKK','A0LKig8','CMvTB3y','AwvSzca'];a0_0x4a76=function(){return _0x46dc13;};return a0_0x4a76();}function a0_0x3fce(_0x5e3604,_0x5acfdf){_0x5e3604=_0x5e3604-0x16c;const _0x4a768e=a0_0x4a76();let _0x3fce32=_0x4a768e[_0x5e3604];if(a0_0x3fce['yhGsjr']===undefined){var _0x1c73db=function(_0x59c201){const _0x434a78='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x14363a='',_0x489208='';for(let _0x189a0e=0x0,_0x2bc2b7,_0x3f3514,_0x2d80a0=0x0;_0x3f3514=_0x59c201['charAt'](_0x2d80a0++);~_0x3f3514&&(_0x2bc2b7=_0x189a0e%0x4?_0x2bc2b7*0x40+_0x3f3514:_0x3f3514,_0x189a0e++%0x4)?_0x14363a+=String['fromCharCode'](0xff&_0x2bc2b7>>(-0x2*_0x189a0e&0x6)):0x0){_0x3f3514=_0x434a78['indexOf'](_0x3f3514);}for(let _0x2a7fae=0x0,_0x280aa1=_0x14363a['length'];_0x2a7fae<_0x280aa1;_0x2a7fae++){_0x489208+='%'+('00'+_0x14363a['charCodeAt'](_0x2a7fae)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x489208);};a0_0x3fce['ndtTEh']=_0x1c73db,a0_0x3fce['ysZtox']={},a0_0x3fce['yhGsjr']=!![];}const _0x367000=_0x4a768e[0x0],_0x1bf2d0=_0x5e3604+_0x367000,_0x343dc8=a0_0x3fce['ysZtox'][_0x1bf2d0];return!_0x343dc8?(_0x3fce32=a0_0x3fce['ndtTEh'](_0x3fce32),a0_0x3fce['ysZtox'][_0x1bf2d0]=_0x3fce32):_0x3fce32=_0x343dc8,_0x3fce32;}import{sponsorService}from'../utils/sponsor-service.js';import{resolveLocation,findBestMatchInArray}from'../utils/resolver-utils.js';import{getTaskId}from'./task/utilities.js';import{parseDueDate}from'../utils/date-utils.js';const logger=new Logger(a0_0x43cf71(0x2a4)+'mFiel'+a0_0x43cf71(0x209));export const listCustomFieldsTool={'name':a0_0x43cf71(0x21b)+a0_0x43cf71(0x26f)+'m_fie'+a0_0x43cf71(0x1a2),'description':a0_0x43cf71(0x1db)+a0_0x43cf71(0x26f)+a0_0x43cf71(0x256)+a0_0x43cf71(0x267)+a0_0x43cf71(0x1f9)+a0_0x43cf71(0x292)+a0_0x43cf71(0x222)+a0_0x43cf71(0x2a2)+'y\x20sco'+a0_0x43cf71(0x194)+a0_0x43cf71(0x202)+a0_0x43cf71(0x28e)+a0_0x43cf71(0x287)+a0_0x43cf71(0x203)+a0_0x43cf71(0x29e)+a0_0x43cf71(0x1f8)+'derNa'+a0_0x43cf71(0x1ea)+a0_0x43cf71(0x2c5)+a0_0x43cf71(0x24a)+a0_0x43cf71(0x29a)+a0_0x43cf71(0x190)+'\x20team'+'Id.\x20O'+a0_0x43cf71(0x272)+'ll\x20fo'+'r\x20wor'+'kspac'+'e-lev'+'el.','annotations':{'title':'List\x20'+'Custo'+a0_0x43cf71(0x1c3)+'lds','readOnlyHint':!![]},'inputSchema':{'type':a0_0x43cf71(0x1f7)+'t','properties':{'listId':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x1db)+a0_0x43cf71(0x1ab)},'listName':{'type':a0_0x43cf71(0x223)+'g','description':'List\x20'+a0_0x43cf71(0x27f)+a0_0x43cf71(0x206)+a0_0x43cf71(0x17e)+'lved)'+'.'},'folderId':{'type':'strin'+'g','description':a0_0x43cf71(0x23d)+a0_0x43cf71(0x178)},'folderName':{'type':'strin'+'g','description':a0_0x43cf71(0x23d)+'r\x20nam'+a0_0x43cf71(0x233)+a0_0x43cf71(0x1e0)+a0_0x43cf71(0x207)+'d).'},'spaceId':{'type':'strin'+'g','description':a0_0x43cf71(0x1a4)+a0_0x43cf71(0x1aa)},'spaceName':{'type':a0_0x43cf71(0x223)+'g','description':'Space'+'\x20name'+a0_0x43cf71(0x219)+a0_0x43cf71(0x1d9)+'olved'+').'},'teamId':{'type':'strin'+'g','description':a0_0x43cf71(0x1da)+a0_0x43cf71(0x1b9)+a0_0x43cf71(0x268)+a0_0x43cf71(0x1ab)}}}};export const createCustomFieldTool={'name':a0_0x43cf71(0x26b)+'e_cus'+'tom_f'+'ield','description':a0_0x43cf71(0x2b1)+a0_0x43cf71(0x171)+a0_0x43cf71(0x1f3)+'\x20fiel'+a0_0x43cf71(0x24d)+a0_0x43cf71(0x1cb)+a0_0x43cf71(0x1ff)+a0_0x43cf71(0x1ee)+a0_0x43cf71(0x191)+'equir'+'es\x20li'+'stId\x20'+a0_0x43cf71(0x192)+'stNam'+'e\x20+\x20n'+'ame\x20+'+a0_0x43cf71(0x1d3)+'.','annotations':{'title':a0_0x43cf71(0x2b1)+a0_0x43cf71(0x195)+a0_0x43cf71(0x1e8)+'ield'},'inputSchema':{'type':a0_0x43cf71(0x1f7)+'t','properties':{'listId':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x1db)+a0_0x43cf71(0x276)+a0_0x43cf71(0x266)+a0_0x43cf71(0x18b)},'listName':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x1db)+a0_0x43cf71(0x27f)+'(auto'+'-reso'+a0_0x43cf71(0x286)+'.'},'name':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x2af)+a0_0x43cf71(0x1a1)+'.\x20Req'+a0_0x43cf71(0x1e2)+'.'},'type':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x2af)+a0_0x43cf71(0x1d3)+a0_0x43cf71(0x2a8)+a0_0x43cf71(0x1e2)+'.','enum':[a0_0x43cf71(0x1fd)+a0_0x43cf71(0x1f5),a0_0x43cf71(0x22c)+'r',a0_0x43cf71(0x1ba)+a0_0x43cf71(0x284),'date','check'+a0_0x43cf71(0x2cf),a0_0x43cf71(0x23a),'email',a0_0x43cf71(0x18a),a0_0x43cf71(0x1df)+'ncy',a0_0x43cf71(0x20b),a0_0x43cf71(0x2b7),a0_0x43cf71(0x232)+'s','phone','locat'+'ion',a0_0x43cf71(0x2a3)+'g',a0_0x43cf71(0x1fe)+a0_0x43cf71(0x2bc),'depen'+a0_0x43cf71(0x1af),a0_0x43cf71(0x243),'files',a0_0x43cf71(0x27e)+'e']},'typeConfig':{'type':a0_0x43cf71(0x1f7)+'t','properties':{},'description':a0_0x43cf71(0x1bb)+a0_0x43cf71(0x17c)+a0_0x43cf71(0x293)+'or\x20sp'+a0_0x43cf71(0x240)+a0_0x43cf71(0x2c6)+a0_0x43cf71(0x27a)+a0_0x43cf71(0x253)+a0_0x43cf71(0x2b2)+'\x20opti'+a0_0x43cf71(0x1cc)+a0_0x43cf71(0x236)+'op_do'+'wn).'}},'required':[a0_0x43cf71(0x1a3),a0_0x43cf71(0x18c)]}};export const setCustomFieldValueTool={'name':'set_c'+'ustom'+a0_0x43cf71(0x221)+a0_0x43cf71(0x259)+'ue','description':a0_0x43cf71(0x273)+a0_0x43cf71(0x231)+a0_0x43cf71(0x19b)+a0_0x43cf71(0x2cc)+a0_0x43cf71(0x1f3)+a0_0x43cf71(0x19c)+a0_0x43cf71(0x1b2)+a0_0x43cf71(0x1ad)+a0_0x43cf71(0x1eb)+a0_0x43cf71(0x250)+a0_0x43cf71(0x201)+a0_0x43cf71(0x29f)+a0_0x43cf71(0x1f2)+a0_0x43cf71(0x2c1)+a0_0x43cf71(0x1cd)+a0_0x43cf71(0x2bf)+a0_0x43cf71(0x16f)+a0_0x43cf71(0x2ce)+a0_0x43cf71(0x2ab)+a0_0x43cf71(0x1a7)+'e.','annotations':{'title':a0_0x43cf71(0x238)+a0_0x43cf71(0x1f3)+a0_0x43cf71(0x21c)+a0_0x43cf71(0x291)+'ue'},'inputSchema':{'type':a0_0x43cf71(0x1f7)+'t','properties':{'taskId':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x198)+'ID\x20(p'+a0_0x43cf71(0x266)+'red).'},'taskName':{'type':'strin'+'g','description':a0_0x43cf71(0x198)+a0_0x43cf71(0x27f)+a0_0x43cf71(0x181)+a0_0x43cf71(0x17d)+'listN'+a0_0x43cf71(0x1ec)+a0_0x43cf71(0x19d)+a0_0x43cf71(0x281)},'listName':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x1db)+a0_0x43cf71(0x27f)+a0_0x43cf71(0x258)+'sambi'+'guate'+a0_0x43cf71(0x193)+a0_0x43cf71(0x279)},'fieldId':{'type':'strin'+'g','description':a0_0x43cf71(0x2a4)+a0_0x43cf71(0x256)+'ld\x20UU'+a0_0x43cf71(0x276)+'refer'+'red).'},'fieldName':{'type':'strin'+'g','description':'Custo'+a0_0x43cf71(0x256)+a0_0x43cf71(0x235)+'me\x20(c'+a0_0x43cf71(0x264)+'nsens'+a0_0x43cf71(0x261)+a0_0x43cf71(0x28a)+'up).'},'value':{'description':a0_0x43cf71(0x1e1)+a0_0x43cf71(0x23c)+a0_0x43cf71(0x1b8)+a0_0x43cf71(0x2bd)+a0_0x43cf71(0x27c)+a0_0x43cf71(0x246)+'ercio'+a0_0x43cf71(0x214)+'bels/'+a0_0x43cf71(0x2b3)+a0_0x43cf71(0x1c9)+a0_0x43cf71(0x1ba)+a0_0x43cf71(0x28d)+'or\x20la'+a0_0x43cf71(0x251)+a0_0x43cf71(0x1e6)+a0_0x43cf71(0x18e)+a0_0x43cf71(0x1ac)+a0_0x43cf71(0x255)+a0_0x43cf71(0x189)+'(e.g.'+a0_0x43cf71(0x25d)+a0_0x43cf71(0x1d6)+'iday\x27'+a0_0x43cf71(0x2c4)+a0_0x43cf71(0x25e)+a0_0x43cf71(0x275)+a0_0x43cf71(0x2b4)+a0_0x43cf71(0x229)+a0_0x43cf71(0x26a)+'ate,\x20'+a0_0x43cf71(0x1f4)+a0_0x43cf71(0x2d1)+a0_0x43cf71(0x173)+a0_0x43cf71(0x1bd)+'x.'},'valueOptions':{'type':a0_0x43cf71(0x1f7)+'t','properties':{},'description':a0_0x43cf71(0x2a5)+a0_0x43cf71(0x288)+a0_0x43cf71(0x227)+a0_0x43cf71(0x1c7)+a0_0x43cf71(0x28c)+a0_0x43cf71(0x2b9)+a0_0x43cf71(0x197)+a0_0x43cf71(0x1e6)+a0_0x43cf71(0x1a7)+a0_0x43cf71(0x1ef)}},'required':['value']}};export const removeCustomFieldValueTool={'name':a0_0x43cf71(0x2a0)+a0_0x43cf71(0x226)+a0_0x43cf71(0x2ac)+a0_0x43cf71(0x285)+a0_0x43cf71(0x29c),'description':'Remov'+a0_0x43cf71(0x1a9)+'\x20valu'+'e\x20of\x20'+a0_0x43cf71(0x230)+a0_0x43cf71(0x297)+a0_0x43cf71(0x2a1)+a0_0x43cf71(0x2c9)+a0_0x43cf71(0x1ad)+a0_0x43cf71(0x1eb)+'quire'+a0_0x43cf71(0x201)+a0_0x43cf71(0x29f)+a0_0x43cf71(0x1f2)+a0_0x43cf71(0x2c1)+a0_0x43cf71(0x1cd)+'eldId'+a0_0x43cf71(0x16f)+a0_0x43cf71(0x2ce)+a0_0x43cf71(0x1fc),'annotations':{'title':a0_0x43cf71(0x2a7)+a0_0x43cf71(0x195)+'tom\x20F'+'ield\x20'+a0_0x43cf71(0x1e1),'destructiveHint':!![]},'inputSchema':{'type':a0_0x43cf71(0x1f7)+'t','properties':{'taskId':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x198)+'ID\x20(p'+a0_0x43cf71(0x266)+a0_0x43cf71(0x18b)},'taskName':{'type':'strin'+'g','description':a0_0x43cf71(0x198)+'name\x20'+a0_0x43cf71(0x181)+a0_0x43cf71(0x17d)+a0_0x43cf71(0x220)+'ame\x20c'+a0_0x43cf71(0x19d)+a0_0x43cf71(0x281)},'listName':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x1db)+a0_0x43cf71(0x27f)+a0_0x43cf71(0x258)+a0_0x43cf71(0x2b6)+a0_0x43cf71(0x2ad)+a0_0x43cf71(0x193)+a0_0x43cf71(0x279)},'fieldId':{'type':a0_0x43cf71(0x223)+'g','description':'Custo'+a0_0x43cf71(0x256)+a0_0x43cf71(0x249)+a0_0x43cf71(0x276)+a0_0x43cf71(0x266)+a0_0x43cf71(0x18b)},'fieldName':{'type':a0_0x43cf71(0x223)+'g','description':a0_0x43cf71(0x2a4)+a0_0x43cf71(0x256)+a0_0x43cf71(0x235)+a0_0x43cf71(0x283)+a0_0x43cf71(0x264)+a0_0x43cf71(0x1d4)+a0_0x43cf71(0x261)+'\x20look'+a0_0x43cf71(0x254)}}}};export async function handleManageCustomFields(_0x3d722d,_0x180584){const _0x194094=a0_0x43cf71,_0x25fcbf={'WKdJW':function(_0x512261,_0x4272f9){return _0x512261||_0x4272f9;},'ntWVr':function(_0x2b9bf5,_0x181f50,_0x2610cd,_0x4edbf5,_0x39fb6e){return _0x2b9bf5(_0x181f50,_0x2610cd,_0x4edbf5,_0x39fb6e);},'MTBnk':_0x194094(0x1c4),'VHuBm':function(_0x1fb995,_0x8a77be,_0x1d6c2e,_0x342a26,_0x21d5db){return _0x1fb995(_0x8a77be,_0x1d6c2e,_0x342a26,_0x21d5db);},'LUjhc':function(_0x426220,_0x216be2){return _0x426220||_0x216be2;},'FCAKc':_0x194094(0x289)+_0x194094(0x28b)+_0x194094(0x182)+_0x194094(0x26f)+_0x194094(0x256)+_0x194094(0x1a2),'fpdiL':_0x194094(0x289)+_0x194094(0x28b)+_0x194094(0x26b)+_0x194094(0x21a)+'tom\x20f'+_0x194094(0x241),'RWNwp':_0x194094(0x2c3)+_0x194094(0x2c0),'JrTJO':'remov'+_0x194094(0x282)+'ue','NROHb':_0x194094(0x25c)+_0x194094(0x294)+_0x194094(0x200)+'skNam'+_0x194094(0x210)+_0x194094(0x1bc)+_0x194094(0x177),'GPjLQ':function(_0x58a896,_0x4736a3){return _0x58a896&&_0x4736a3;},'eQlJu':function(_0x4614d4,_0x3709b5){return _0x4614d4===_0x3709b5;},'CnuSV':function(_0x36cc8b,_0xf688d1,_0x3dfb87){return _0x36cc8b(_0xf688d1,_0x3dfb87);},'lWqXx':function(_0x287fd0,_0x21091d,_0x5e58b8,_0x19aa43,_0x191462,_0x4c1355,_0x370cde){return _0x287fd0(_0x21091d,_0x5e58b8,_0x19aa43,_0x191462,_0x4c1355,_0x370cde);},'VNlhH':'updat'+'ed'},{customField:_0x436c1e,workspace:_0x5237a4,task:_0x1f16de}=_0x180584,{action:_0x914774,listId:_0x1a0d8b,listName:_0x54b8ac,folderId:_0x55db54,folderName:_0x4a647b,spaceId:_0x30f259,spaceName:_0x51dee8,teamId:_0x137f4b,taskId:_0x3d6f99,taskName:_0x4dac76,fieldId:_0x165e8e,fieldName:_0x3f0e5b,name:_0x3aff59,type:_0x190b3e,typeConfig:_0x3ee08f,value:_0x2ac819,valueOptions:_0xc72271}=_0x3d722d;try{const _0x9b1031=_0x180584['toolF'+_0x194094(0x1fb)]?.[_0x194094(0x18f)+_0x194094(0x2ca)]||[];if(_0x914774===_0x194094(0x2a0)+'e_val'+'ue'&&_0x9b1031[_0x194094(0x204)+_0x194094(0x18d)](_0x194094(0x2a0)+_0x194094(0x226)+'tom_f'+_0x194094(0x285)+'value'))return sponsorService[_0x194094(0x26b)+'eErro'+_0x194094(0x24e)+'onse'](_0x194094(0x27d)+_0x194094(0x218)+'ied:\x20'+'Destr'+'uctiv'+'e\x20act'+_0x194094(0x2aa)+'(\x27'+_0x914774+(_0x194094(0x179)+_0x194094(0x26c)+'abled'+_0x194094(0x1c9)+_0x194094(0x1d8)+_0x194094(0x1df)+_0x194094(0x1b1)+'rsona'+_0x194094(0x185)+_0x194094(0x2cb)+_0x194094(0x1e4)+_0x194094(0x269)+'n.'));switch(_0x914774){case'list':{let _0x3ad305,_0x2e14fe;if(_0x25fcbf['WKdJW'](_0x1a0d8b,_0x54b8ac)){const _0xf8fbed=await _0x25fcbf[_0x194094(0x2a9)](resolveLocation,_0x25fcbf[_0x194094(0x180)],_0x1a0d8b,_0x54b8ac,_0x5237a4);_0x3ad305=await _0x436c1e[_0x194094(0x22b)+_0x194094(0x24f)+_0x194094(0x1d2)+_0x194094(0x237)](_0xf8fbed['id']),_0x2e14fe=_0x194094(0x182)+'\x22'+(_0xf8fbed[_0x194094(0x1a3)]||_0xf8fbed['id'])+'\x22';}else{if(_0x55db54||_0x4a647b){const _0xcb0812=await _0x25fcbf[_0x194094(0x1c5)](resolveLocation,_0x194094(0x19a)+'r',_0x55db54,_0x4a647b,_0x5237a4);_0x3ad305=await _0x436c1e[_0x194094(0x278)+_0x194094(0x1d1)+_0x194094(0x1f3)+_0x194094(0x2af)+'s'](_0xcb0812['id']),_0x2e14fe=_0x194094(0x19a)+_0x194094(0x24c)+(_0xcb0812[_0x194094(0x1a3)]||_0xcb0812['id'])+'\x22';}else{if(_0x25fcbf[_0x194094(0x20f)](_0x30f259,_0x51dee8)){const _0x329808=await _0x25fcbf[_0x194094(0x1c5)](resolveLocation,_0x194094(0x239),_0x30f259,_0x51dee8,_0x5237a4);_0x3ad305=await _0x436c1e['getSp'+_0x194094(0x24b)+_0x194094(0x1f6)+_0x194094(0x2c7)](_0x329808['id']),_0x2e14fe=_0x194094(0x239)+'\x20\x22'+(_0x329808[_0x194094(0x1a3)]||_0x329808['id'])+'\x22';}else _0x3ad305=await _0x436c1e[_0x194094(0x265)+'rkspa'+_0x194094(0x20c)+_0x194094(0x1d2)+_0x194094(0x237)](),_0x2e14fe=_0x194094(0x16e)+_0x194094(0x1d7);}}if(!_0x3ad305[_0x194094(0x224)+'ss'])return sponsorService[_0x194094(0x26b)+_0x194094(0x245)+_0x194094(0x24e)+_0x194094(0x1ed)](_0x3ad305[_0x194094(0x1e5)]?.[_0x194094(0x2d0)+'ge']||_0x25fcbf[_0x194094(0x29d)]);return sponsorService[_0x194094(0x26b)+_0x194094(0x25b)+'onse']({'fields':_0x3ad305[_0x194094(0x244)]?.[_0x194094(0x1e6)+'s']||[],'count':_0x3ad305[_0x194094(0x244)]?.[_0x194094(0x1e6)+'s']['lengt'+'h']||0x0,'scope':_0x2e14fe},!![]);}case'creat'+'e':{if(!_0x1a0d8b&&!_0x54b8ac)return sponsorService[_0x194094(0x26b)+_0x194094(0x245)+_0x194094(0x24e)+_0x194094(0x1ed)](_0x194094(0x187)+_0x194094(0x294)+_0x194094(0x212)+_0x194094(0x287)+_0x194094(0x210)+_0x194094(0x1bc)+_0x194094(0x22f)+'to\x20cr'+'eate\x20'+_0x194094(0x230)+_0x194094(0x297)+_0x194094(0x23f));if(_0x25fcbf[_0x194094(0x20f)](!_0x3aff59,!_0x190b3e))return sponsorService['creat'+'eErro'+_0x194094(0x24e)+_0x194094(0x1ed)](_0x194094(0x1dd)+_0x194094(0x1d5)+'\x20\x27typ'+_0x194094(0x1c2)+_0x194094(0x20a)+'uired'+_0x194094(0x274)+_0x194094(0x175)+'\x20a\x20cu'+_0x194094(0x19f)+'field'+'.');const _0xbfdb0b=await resolveLocation(_0x194094(0x1c4),_0x1a0d8b,_0x54b8ac,_0x5237a4),_0x13da6f={'name':_0x3aff59,'type':_0x190b3e};if(_0x3ee08f)_0x13da6f[_0x194094(0x2c2)+_0x194094(0x183)+'g']=_0x3ee08f;const _0x8c8430=await _0x436c1e[_0x194094(0x26b)+'eCust'+'omFie'+'ld'](_0xbfdb0b['id'],_0x13da6f);if(!_0x8c8430[_0x194094(0x224)+'ss'])return sponsorService['creat'+_0x194094(0x245)+'rResp'+_0x194094(0x1ed)](_0x8c8430[_0x194094(0x1e5)]?.[_0x194094(0x2d0)+'ge']||_0x25fcbf[_0x194094(0x1bf)]);const _0x53fd57=_0x8c8430[_0x194094(0x244)]?.[_0x194094(0x1e6)]||_0x8c8430[_0x194094(0x244)][_0x194094(0x1e6)];return sponsorService['creat'+'eResp'+_0x194094(0x1ed)]({'field':_0x53fd57,'message':'Custo'+_0x194094(0x256)+'ld\x20\x22'+_0x3aff59+(_0x194094(0x199)+_0x194094(0x1c6)+_0x194094(0x224)+_0x194094(0x2bb)+_0x194094(0x184)+_0x194094(0x202)+'\x20\x22')+_0xbfdb0b[_0x194094(0x1a3)]+'\x22.'},!![]);}case _0x25fcbf[_0x194094(0x1b0)]:case _0x25fcbf['JrTJO']:{if(!_0x3d6f99&&!_0x4dac76)return sponsorService[_0x194094(0x26b)+'eErro'+_0x194094(0x24e)+_0x194094(0x1ed)](_0x25fcbf[_0x194094(0x1dc)]);if(_0x25fcbf[_0x194094(0x208)](!_0x165e8e,!_0x3f0e5b))return sponsorService['creat'+'eErro'+'rResp'+_0x194094(0x1ed)](_0x194094(0x172)+'dId\x27\x20'+_0x194094(0x1b7)+'ieldN'+_0x194094(0x242)+_0x194094(0x16d)+_0x194094(0x250)+'d.');if(_0x25fcbf[_0x194094(0x1b4)](_0x914774,'set_v'+'alue')&&_0x25fcbf[_0x194094(0x1b4)](_0x2ac819,undefined))return sponsorService[_0x194094(0x26b)+_0x194094(0x245)+'rResp'+_0x194094(0x1ed)]('\x27valu'+_0x194094(0x210)+'\x20requ'+_0x194094(0x22f)+'for\x20s'+_0x194094(0x176)+_0x194094(0x270)+_0x194094(0x21d)+'.');const _0x19200c=await getTaskId(_0x25fcbf['LUjhc'](_0x3d6f99,_0x4dac76),undefined,undefined,_0x54b8ac,undefined,![],_0x180584),_0x339031=await _0x1f16de[_0x194094(0x1f1)+'sk'](_0x19200c);if(!_0x339031[_0x194094(0x1c4)]?.['id'])throw new Error(_0x194094(0x198)+'\x22'+_0x19200c+(_0x194094(0x2b8)+_0x194094(0x1f0)+_0x194094(0x17a)+'ontex'+'t.'));const _0x2a2e47=[_0x436c1e[_0x194094(0x22b)+_0x194094(0x24f)+_0x194094(0x1d2)+_0x194094(0x237)](_0x339031['list']['id'])];if(_0x339031[_0x194094(0x19a)+'r']?.['id'])_0x2a2e47['push'](_0x436c1e[_0x194094(0x278)+'lderC'+_0x194094(0x1f3)+_0x194094(0x2af)+'s'](_0x339031[_0x194094(0x19a)+'r']['id']));if(_0x339031[_0x194094(0x239)]?.['id'])_0x2a2e47['push'](_0x436c1e[_0x194094(0x1de)+'aceCu'+'stomF'+'ields'](_0x339031['space']['id']));_0x2a2e47['push'](_0x436c1e[_0x194094(0x265)+_0x194094(0x290)+'ceCus'+_0x194094(0x1d2)+_0x194094(0x237)]());const _0x5400bf=await Promise[_0x194094(0x196)](_0x2a2e47),_0x22225=_0x5400bf[_0x194094(0x263)+'ap'](_0x5dc5d4=>_0x5dc5d4[_0x194094(0x224)+'ss']?_0x5dc5d4['data']?.['field'+'s']||[]:[]);let _0x50212d;if(_0x165e8e)_0x50212d=_0x22225[_0x194094(0x1b6)](_0x15574b=>_0x15574b['id']===_0x165e8e);else{if(_0x3f0e5b){const _0x1cf9ce=_0x25fcbf[_0x194094(0x225)](findBestMatchInArray,_0x22225,_0x3f0e5b);if(_0x1cf9ce)_0x50212d=_0x1cf9ce[_0x194094(0x22e)];}}if(!_0x50212d)return sponsorService[_0x194094(0x26b)+_0x194094(0x245)+_0x194094(0x24e)+_0x194094(0x1ed)](_0x194094(0x215)+'\x20not\x20'+'find\x20'+_0x194094(0x26f)+_0x194094(0x256)+_0x194094(0x1b3)+(_0x165e8e||_0x3f0e5b)+(_0x194094(0x298)+'the\x20t'+'ask\x27s'+_0x194094(0x17b)+_0x194094(0x271)));let _0x56eea7;if(_0x914774===_0x194094(0x2c3)+_0x194094(0x2c0)){const {typedValue:_0x587f6f,typedValueOptions:_0x1d2733}=_0x25fcbf['lWqXx'](buildTypedFieldValue,_0x50212d[_0x194094(0x18c)],_0x2ac819,_0x2ac819,_0xc72271,_0x180584['timez'+_0x194094(0x25a)],_0x50212d[_0x194094(0x2c2)+_0x194094(0x183)+'g']);_0x56eea7=await _0x436c1e['setFi'+_0x194094(0x1e7)+_0x194094(0x1c1)](_0x19200c,_0x50212d['id'],_0x587f6f,_0x1d2733);}else _0x56eea7=await _0x436c1e[_0x194094(0x2a0)+_0x194094(0x1e3)+_0x194094(0x2b5)+'e'](_0x19200c,_0x50212d['id']);if(!_0x56eea7['succe'+'ss'])return sponsorService['creat'+_0x194094(0x245)+'rResp'+_0x194094(0x1ed)](_0x56eea7[_0x194094(0x1e5)]?.[_0x194094(0x2d0)+'ge']||_0x194094(0x289)+'d\x20to\x20'+_0x914774+(_0x194094(0x1c0)+_0x194094(0x1e9)+_0x194094(0x1a0)));return sponsorService[_0x194094(0x26b)+_0x194094(0x25b)+'onse']({'success':!![],'message':_0x194094(0x2a4)+'m\x20fie'+_0x194094(0x1b3)+_0x50212d[_0x194094(0x1a3)]+'\x22\x20'+(_0x914774===_0x194094(0x2c3)+_0x194094(0x2c0)?_0x25fcbf[_0x194094(0x186)]:_0x194094(0x2a0)+'ed')+(_0x194094(0x20e)+_0x194094(0x2c8)+_0x194094(0x1ce)+_0x194094(0x211)+_0x194094(0x1b5))+_0x339031[_0x194094(0x1a3)]+'\x22.'},!![]);}default:return sponsorService[_0x194094(0x26b)+_0x194094(0x245)+_0x194094(0x24e)+_0x194094(0x1ed)]('Unkno'+'wn\x20ac'+_0x194094(0x2cd)+'\x22'+_0x914774+(_0x194094(0x2b0)+_0x194094(0x26e)+_0x194094(0x257)+_0x194094(0x175)+',\x20set'+_0x194094(0x280)+_0x194094(0x190)+'\x20remo'+_0x194094(0x1a8)+_0x194094(0x1c8)));}}catch(_0x1f4073){return logger[_0x194094(0x1e5)]('Error'+_0x194094(0x29b)+'andle'+_0x194094(0x27b)+'eCust'+'omFie'+_0x194094(0x1be)+_0x194094(0x2ae)+_0x194094(0x170)+_0x914774+')',_0x1f4073),sponsorService[_0x194094(0x26b)+_0x194094(0x245)+_0x194094(0x24e)+_0x194094(0x1ed)](_0x1f4073[_0x194094(0x2d0)+'ge']||String(_0x1f4073));}}function looksLikeUUID(_0x220784){return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i['test'](_0x220784);}function buildTypedFieldValue(_0xa34106,_0x4db4b1,_0x2dd6bc,_0x80afc4,_0x229150,_0x455673){const _0xd1a01b=a0_0x43cf71,_0x3d7665={'wBNzx':function(_0x3ffe64,_0x1fcde1){return _0x3ffe64(_0x1fcde1);},'vZUbq':function(_0x36d616,_0x2d10e5){return _0x36d616===_0x2d10e5;},'Dlxhc':_0xd1a01b(0x234),'lbiSm':_0xd1a01b(0x22c)+'r','Thzas':_0xd1a01b(0x1df)+_0xd1a01b(0x188),'iJqKE':function(_0x56a2ec,_0x3a5c84){return _0x56a2ec===_0x3a5c84;},'tcbor':function(_0x33a9b3,_0x2badf9,_0x19c996){return _0x33a9b3(_0x2badf9,_0x19c996);},'ezvxC':function(_0x504a01,_0x361d6){return _0x504a01(_0x361d6);},'MtUGF':function(_0x4b16b3,_0x10c0b7,_0x2fe203,_0xa54856){return _0x4b16b3(_0x10c0b7,_0x2fe203,_0xa54856);},'ZIHwM':_0xd1a01b(0x2b7),'NRHhy':function(_0x417afe,_0x225850){return _0x417afe===_0x225850;},'gUByL':_0xd1a01b(0x1f7)+'t','JWwLC':_0xd1a01b(0x223)+'g','VphHn':function(_0x5a0ea9,_0x44cba2){return _0x5a0ea9===_0x44cba2;},'MFDca':function(_0x4641f1,_0x57f57f){return _0x4641f1(_0x57f57f);},'jeCDj':function(_0x239114,_0x241c4a){return _0x239114===_0x241c4a;}};switch(_0xa34106){case _0xd1a01b(0x248)+_0xd1a01b(0x2cf):return{'typedValue':_0x3d7665[_0xd1a01b(0x277)](_0x4db4b1,_0x3d7665[_0xd1a01b(0x23e)])||_0x4db4b1===!![]};case _0x3d7665['lbiSm']:case _0x3d7665[_0xd1a01b(0x17f)]:return{'typedValue':typeof _0x4db4b1===_0x3d7665[_0xd1a01b(0x21f)]?_0x4db4b1:parseFloat(_0x3d7665[_0xd1a01b(0x295)](String,_0x4db4b1))};case'emoji':return{'typedValue':_0x3d7665[_0xd1a01b(0x2ba)](typeof _0x4db4b1,_0xd1a01b(0x22c)+'r')?_0x4db4b1:_0x3d7665[_0xd1a01b(0x174)](parseInt,_0x3d7665['ezvxC'](String,_0x4db4b1),0xa)};case'date':{const _0x230316=_0x3d7665[_0xd1a01b(0x217)](parseDueDate,String(_0x4db4b1),undefined,_0x229150);return{'typedValue':_0x230316,'typedValueOptions':_0x80afc4?.[_0xd1a01b(0x1ae)]!==undefined?{'time':_0x80afc4[_0xd1a01b(0x1ae)]}:undefined};}case _0x3d7665['ZIHwM']:case _0xd1a01b(0x23a):case _0xd1a01b(0x27e)+'e':if(_0x3d7665[_0xd1a01b(0x262)](typeof _0x4db4b1,_0x3d7665[_0xd1a01b(0x1a6)])&&(_0x4db4b1[_0xd1a01b(0x1a5)]||_0x4db4b1[_0xd1a01b(0x213)]))return{'typedValue':{'add':_0x4db4b1[_0xd1a01b(0x1a5)]||[],'rem':_0x4db4b1[_0xd1a01b(0x213)]||[]}};return{'typedValue':_0x4db4b1};case'label'+'s':{const _0x53d2dd=Array[_0xd1a01b(0x20d)+'ay'](_0x4db4b1)?_0x4db4b1:_0x2dd6bc?.['ids']||[];if(_0x455673?.['optio'+'ns']){const _0x5a701a=_0x53d2dd[_0xd1a01b(0x216)](_0x1e8557=>{const _0x239a40=_0xd1a01b;if(_0x3d7665[_0x239a40(0x295)](looksLikeUUID,_0x1e8557))return _0x1e8557;const _0xade812=_0x455673['optio'+'ns'][_0x239a40(0x1b6)](_0x2e9078=>_0x2e9078['label'][_0x239a40(0x247)+_0x239a40(0x1cf)+'e']()===_0x1e8557['toLow'+_0x239a40(0x1cf)+'e']());return _0xade812?_0xade812['id']:_0x1e8557;});return{'typedValue':_0x5a701a};}return{'typedValue':_0x53d2dd};}case _0xd1a01b(0x1ba)+_0xd1a01b(0x284):{let _0x6a9cde=_0x4db4b1;if(_0x4db4b1&&_0x455673?.[_0xd1a01b(0x2be)+'ns']&&typeof _0x4db4b1===_0x3d7665['JWwLC']&&!looksLikeUUID(_0x4db4b1)){const _0x71f78c=_0x455673[_0xd1a01b(0x2be)+'ns']['find'](_0x3c5318=>_0x3c5318[_0xd1a01b(0x1a3)][_0xd1a01b(0x247)+_0xd1a01b(0x1cf)+'e']()===_0x4db4b1['toLow'+'erCas'+'e']());_0x71f78c&&(_0x6a9cde=_0x71f78c['id']);}return{'typedValue':_0x6a9cde};}case _0xd1a01b(0x22a)+_0xd1a01b(0x228)+_0xd1a01b(0x260):if(_0x3d7665['VphHn'](typeof _0x4db4b1,_0x3d7665['gUByL'])&&_0x4db4b1[_0xd1a01b(0x1df)+'nt']!==undefined)return{'typedValue':{'current':_0x4db4b1[_0xd1a01b(0x1df)+'nt']}};return{'typedValue':{'current':typeof _0x4db4b1==='numbe'+'r'?_0x4db4b1:parseFloat(_0x3d7665[_0xd1a01b(0x21e)](String,_0x4db4b1))}};case _0xd1a01b(0x22d)+'ion':if(_0x3d7665['jeCDj'](typeof _0x4db4b1,_0xd1a01b(0x1f7)+'t')&&_0x4db4b1[_0xd1a01b(0x22d)+_0xd1a01b(0x299)])return{'typedValue':_0x4db4b1};return{'typedValue':{'location':{'lat':_0x2dd6bc?.['lat'],'lng':_0x2dd6bc?.[_0xd1a01b(0x205)]},'formatted_address':_0x2dd6bc?.[_0xd1a01b(0x26d)+'ss']}};default:return{'typedValue':_0x4db4b1};}}