@taazkareem/clickup-mcp-server 0.14.5 → 0.14.6

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 (94) hide show
  1. package/README.md +2 -2
  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/categories.js +1 -1
  49. package/build/tools/chat/handlers.js +1 -1
  50. package/build/tools/chat/index.js +1 -1
  51. package/build/tools/chat/utils.js +1 -1
  52. package/build/tools/custom-field.js +1 -1
  53. package/build/tools/documents.js +1 -1
  54. package/build/tools/feedback.js +1 -1
  55. package/build/tools/folder.js +1 -1
  56. package/build/tools/goal.js +1 -1
  57. package/build/tools/guest.js +1 -1
  58. package/build/tools/index.js +1 -1
  59. package/build/tools/list.js +1 -1
  60. package/build/tools/registry.js +1 -1
  61. package/build/tools/space.js +1 -1
  62. package/build/tools/sprint.js +1 -1
  63. package/build/tools/tag.js +1 -1
  64. package/build/tools/task/bulk-operations.js +1 -1
  65. package/build/tools/task/checklists.js +1 -1
  66. package/build/tools/task/handlers.js +1 -1
  67. package/build/tools/task/index.js +1 -1
  68. package/build/tools/task/main.js +1 -1
  69. package/build/tools/task/markdown-converter.js +1 -1
  70. package/build/tools/task/params.js +1 -1
  71. package/build/tools/task/relationships.js +1 -1
  72. package/build/tools/task/single-operations.js +1 -1
  73. package/build/tools/task/utilities.js +1 -1
  74. package/build/tools/task/workspace-operations.js +1 -1
  75. package/build/tools/task-templates.js +1 -1
  76. package/build/tools/time_entries.js +1 -1
  77. package/build/tools/user-group.js +1 -1
  78. package/build/tools/utils.js +1 -1
  79. package/build/tools/view.js +1 -1
  80. package/build/tools/webhook.js +1 -1
  81. package/build/tools/workspace.js +1 -1
  82. package/build/transport/mcp-handler.js +1 -1
  83. package/build/utils/cache.js +1 -1
  84. package/build/utils/color-processor.js +1 -1
  85. package/build/utils/concurrency-utils.js +1 -1
  86. package/build/utils/context-utils.js +1 -1
  87. package/build/utils/date-utils.js +1 -1
  88. package/build/utils/log-sanitizer.js +1 -1
  89. package/build/utils/member-utils.js +1 -1
  90. package/build/utils/request-utils.js +1 -1
  91. package/build/utils/resolver-utils.js +1 -1
  92. package/build/utils/sponsor-service.js +1 -1
  93. package/build/utils/token-utils.js +1 -1
  94. package/package.json +3 -1
@@ -1 +1 @@
1
- const a0_0x4b2d40=a0_0x22fe;(function(_0x30a90e,_0x5cdeac){const _0x5ea7d4=a0_0x22fe,_0x23663a=_0x30a90e();while(!![]){try{const _0x522f72=parseInt(_0x5ea7d4(0x2cc))/0x1+parseInt(_0x5ea7d4(0x223))/0x2*(parseInt(_0x5ea7d4(0x2e0))/0x3)+parseInt(_0x5ea7d4(0x305))/0x4+parseInt(_0x5ea7d4(0x274))/0x5+parseInt(_0x5ea7d4(0x289))/0x6+parseInt(_0x5ea7d4(0x348))/0x7+-parseInt(_0x5ea7d4(0x22c))/0x8*(parseInt(_0x5ea7d4(0x2dc))/0x9);if(_0x522f72===_0x5cdeac)break;else _0x23663a['push'](_0x23663a['shift']());}catch(_0x186617){_0x23663a['push'](_0x23663a['shift']());}}}(a0_0x5a12,0x97083));import a0_0x9adc66 from'../config.js';import{sponsorService}from'../utils/sponsor-service.js';import{Logger}from'../logger.js';function a0_0x22fe(_0x3d42cb,_0x3cee7b){_0x3d42cb=_0x3d42cb-0x1ec;const _0x5a12ce=a0_0x5a12();let _0x22feee=_0x5a12ce[_0x3d42cb];if(a0_0x22fe['ZqlqNJ']===undefined){var _0x41d4e7=function(_0x378b1d){const _0x37351b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x32c501='',_0x528745='';for(let _0x49705c=0x0,_0x88450c,_0x39cfb2,_0x58fcc2=0x0;_0x39cfb2=_0x378b1d['charAt'](_0x58fcc2++);~_0x39cfb2&&(_0x88450c=_0x49705c%0x4?_0x88450c*0x40+_0x39cfb2:_0x39cfb2,_0x49705c++%0x4)?_0x32c501+=String['fromCharCode'](0xff&_0x88450c>>(-0x2*_0x49705c&0x6)):0x0){_0x39cfb2=_0x37351b['indexOf'](_0x39cfb2);}for(let _0x35293c=0x0,_0x13b70d=_0x32c501['length'];_0x35293c<_0x13b70d;_0x35293c++){_0x528745+='%'+('00'+_0x32c501['charCodeAt'](_0x35293c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x528745);};a0_0x22fe['YGcnWN']=_0x41d4e7,a0_0x22fe['llVxBB']={},a0_0x22fe['ZqlqNJ']=!![];}const _0x1fd7ff=_0x5a12ce[0x0],_0x2d65bb=_0x3d42cb+_0x1fd7ff,_0x3d255c=a0_0x22fe['llVxBB'][_0x2d65bb];return!_0x3d255c?(_0x22feee=a0_0x22fe['YGcnWN'](_0x22feee),a0_0x22fe['llVxBB'][_0x2d65bb]=_0x22feee):_0x22feee=_0x3d255c,_0x22feee;}import{resolveDocumentArgument,findParentIdByName,findDocumentByTitle,findListIDByName}from'../utils/resolver-utils.js';const logger=new Logger('Docum'+a0_0x4b2d40(0x20a)+a0_0x4b2d40(0x275));function buildDocumentUrl(_0x1d758a,_0x694e1d){const _0x11b3b0=a0_0x4b2d40,_0xe22a1d=_0x1d758a[_0x11b3b0(0x250)+_0x11b3b0(0x36f)+'id']||_0x694e1d[_0x11b3b0(0x225)+_0x11b3b0(0x202)]();return a0_0x9adc66[_0x11b3b0(0x24e)+'upApp'+'Url']+'/'+_0xe22a1d+(_0x11b3b0(0x226)+'/')+_0x1d758a['id'];}export const listDocumentsTool={'name':a0_0x4b2d40(0x251)+a0_0x4b2d40(0x1fa)+'ents','description':a0_0x4b2d40(0x367)+a0_0x4b2d40(0x2f6)+a0_0x4b2d40(0x215)+a0_0x4b2d40(0x2c1)+a0_0x4b2d40(0x231)+a0_0x4b2d40(0x204)+a0_0x4b2d40(0x2a6)+a0_0x4b2d40(0x2f0)+a0_0x4b2d40(0x28c)+'paren'+a0_0x4b2d40(0x286)+'arent'+a0_0x4b2d40(0x22d)+'\x20crea'+'tor,\x20'+a0_0x4b2d40(0x332)+'ed,\x20a'+'rchiv'+a0_0x4b2d40(0x2b1),'annotations':{'title':a0_0x4b2d40(0x367)+a0_0x4b2d40(0x344)+a0_0x4b2d40(0x265),'readOnlyHint':!![]},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'parentId':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x233)+a0_0x4b2d40(0x333)+a0_0x4b2d40(0x260)+a0_0x4b2d40(0x2e5)+a0_0x4b2d40(0x352)+'\x20or\x20l'+'ist).'},'parentName':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x233)+'t\x20nam'+'e.'},'parentType':{'type':'strin'+'g','enum':[a0_0x4b2d40(0x2d7),'FOLDE'+'R',a0_0x4b2d40(0x2f4),a0_0x4b2d40(0x26f)+a0_0x4b2d40(0x2bf),a0_0x4b2d40(0x296)+a0_0x4b2d40(0x249),a0_0x4b2d40(0x32c)],'description':a0_0x4b2d40(0x233)+a0_0x4b2d40(0x26c)+'e.'},'creator':{'type':a0_0x4b2d40(0x30d)+'r','description':a0_0x4b2d40(0x257)+a0_0x4b2d40(0x28c)+a0_0x4b2d40(0x21d)+a0_0x4b2d40(0x23c)+'.'},'deleted':{'type':a0_0x4b2d40(0x33e)+'an','description':a0_0x4b2d40(0x311)+a0_0x4b2d40(0x23f)+a0_0x4b2d40(0x1f6)+a0_0x4b2d40(0x343)+a0_0x4b2d40(0x224)+'.'},'archived':{'type':a0_0x4b2d40(0x33e)+'an','description':a0_0x4b2d40(0x311)+a0_0x4b2d40(0x2ed)+a0_0x4b2d40(0x353)+a0_0x4b2d40(0x2d1)+a0_0x4b2d40(0x2e6)+'s.'},'limit':{'type':a0_0x4b2d40(0x30d)+'r','description':a0_0x4b2d40(0x30c)+a0_0x4b2d40(0x1fe)+'s.'},'cursor':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x2a4)+'ation'+a0_0x4b2d40(0x210)+a0_0x4b2d40(0x1f5)+'refer'+'red).'},'next_cursor':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x2a4)+a0_0x4b2d40(0x2ea)+a0_0x4b2d40(0x210)+'or\x20(d'+a0_0x4b2d40(0x2e4)+a0_0x4b2d40(0x2f2)+'.'},'detail_level':{'type':a0_0x4b2d40(0x309)+'g','enum':['names',a0_0x4b2d40(0x213)+'led'],'description':a0_0x4b2d40(0x243)+a0_0x4b2d40(0x2b5)+a0_0x4b2d40(0x30f)+a0_0x4b2d40(0x293)+'rbosi'+a0_0x4b2d40(0x32f)+a0_0x4b2d40(0x290)+a0_0x4b2d40(0x2ce)+'urns\x20'+a0_0x4b2d40(0x211)+a0_0x4b2d40(0x326)+a0_0x4b2d40(0x221)+a0_0x4b2d40(0x363)+a0_0x4b2d40(0x28b)+a0_0x4b2d40(0x2da)+'\x20navi'+a0_0x4b2d40(0x30e)+'n.\x20\x27d'+a0_0x4b2d40(0x220)+'ed\x27\x20r'+a0_0x4b2d40(0x320)+a0_0x4b2d40(0x1fd)+a0_0x4b2d40(0x285)+a0_0x4b2d40(0x2c9)+'.\x20Def'+a0_0x4b2d40(0x2b7)+'\x20deta'+a0_0x4b2d40(0x349)}}}};export const getDocumentTool={'name':'get_d'+a0_0x4b2d40(0x341)+'nt','description':'Get\x20d'+a0_0x4b2d40(0x220)+a0_0x4b2d40(0x34e)+a0_0x4b2d40(0x2ac)+a0_0x4b2d40(0x34f)+'about'+a0_0x4b2d40(0x32e)+'ecifi'+'c\x20doc'+a0_0x4b2d40(0x2e6)+a0_0x4b2d40(0x364)+'ludin'+a0_0x4b2d40(0x31f)+a0_0x4b2d40(0x307)+a0_0x4b2d40(0x2db)+a0_0x4b2d40(0x2e9)+a0_0x4b2d40(0x27d)+'on.','annotations':{'title':a0_0x4b2d40(0x2ec)+'ocume'+'nt','openWorldHint':!![]},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'documentId':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x264)+a0_0x4b2d40(0x318)+a0_0x4b2d40(0x2a3)+a0_0x4b2d40(0x362)},'title':{'type':a0_0x4b2d40(0x309)+'g','description':'Docum'+'ent\x20t'+'itle\x20'+'(for\x20'+'name\x20'+'resol'+a0_0x4b2d40(0x2d8)+').'},'parentId':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x233)+a0_0x4b2d40(0x333)+a0_0x4b2d40(0x276)+a0_0x4b2d40(0x23d)+a0_0x4b2d40(0x2fa)+a0_0x4b2d40(0x2d8)+'.'},'parentName':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x233)+a0_0x4b2d40(0x25d)+a0_0x4b2d40(0x1fb)+a0_0x4b2d40(0x2bc)+a0_0x4b2d40(0x35b)+a0_0x4b2d40(0x1ff)+'on.'},'parentType':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x1ec),a0_0x4b2d40(0x29c)+'r',a0_0x4b2d40(0x2d4),a0_0x4b2d40(0x250)+'pace',a0_0x4b2d40(0x278)+a0_0x4b2d40(0x20e),a0_0x4b2d40(0x32c)],'description':a0_0x4b2d40(0x233)+'t\x20typ'+'e.'}}}};export const createDocumentTool={'name':a0_0x4b2d40(0x21d)+a0_0x4b2d40(0x30a)+a0_0x4b2d40(0x2e6),'description':a0_0x4b2d40(0x308)+'e\x20a\x20n'+a0_0x4b2d40(0x2ca)+a0_0x4b2d40(0x2c1)+a0_0x4b2d40(0x271)+a0_0x4b2d40(0x2b2)+a0_0x4b2d40(0x2a8)+a0_0x4b2d40(0x28f)+a0_0x4b2d40(0x22f)+'ntTyp'+'e.','annotations':{'title':a0_0x4b2d40(0x308)+a0_0x4b2d40(0x24a)+a0_0x4b2d40(0x2e6)},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'name':{'type':'strin'+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x23a)+a0_0x4b2d40(0x266)+a0_0x4b2d40(0x302)+'red.'},'parentId':{'type':'strin'+'g','description':a0_0x4b2d40(0x233)+a0_0x4b2d40(0x229)},'parentName':{'type':a0_0x4b2d40(0x309)+'g','description':'Paren'+'t\x20nam'+'e.'},'parentType':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x1ec),a0_0x4b2d40(0x29c)+'r',a0_0x4b2d40(0x2d4),'works'+'pace','every'+'thing',a0_0x4b2d40(0x32c)],'description':a0_0x4b2d40(0x233)+a0_0x4b2d40(0x26c)+'e.\x20Re'+a0_0x4b2d40(0x2b2)+'d.'},'visibility':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x2cf)+'C',a0_0x4b2d40(0x247)+'TE'],'description':a0_0x4b2d40(0x303)+a0_0x4b2d40(0x2b8)+a0_0x4b2d40(0x2a2)+a0_0x4b2d40(0x2b7)+a0_0x4b2d40(0x246)+a0_0x4b2d40(0x321)},'create_page':{'type':a0_0x4b2d40(0x33e)+'an','description':a0_0x4b2d40(0x308)+a0_0x4b2d40(0x365)+a0_0x4b2d40(0x284)+a0_0x4b2d40(0x2cb)+a0_0x4b2d40(0x27f)+a0_0x4b2d40(0x232)+a0_0x4b2d40(0x2ff)+'.'}},'required':[a0_0x4b2d40(0x350),a0_0x4b2d40(0x301)+'tType']}};export const listDocumentPagesTool={'name':a0_0x4b2d40(0x251)+'docum'+a0_0x4b2d40(0x26e)+'ages','description':'List\x20'+'pages'+'\x20in\x20a'+a0_0x4b2d40(0x343)+a0_0x4b2d40(0x21c)+a0_0x4b2d40(0x277)+'ires\x20'+a0_0x4b2d40(0x1fa)+a0_0x4b2d40(0x25b)+a0_0x4b2d40(0x1ed)+a0_0x4b2d40(0x341)+a0_0x4b2d40(0x200)+'e.','annotations':{'title':a0_0x4b2d40(0x367)+'Docum'+a0_0x4b2d40(0x2fb)+a0_0x4b2d40(0x2f5),'readOnlyHint':!![]},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'documentId':{'type':'strin'+'g','description':'Docum'+'ent\x20I'+a0_0x4b2d40(0x318)+'eferr'+a0_0x4b2d40(0x362)},'documentName':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x23a)+a0_0x4b2d40(0x369)+a0_0x4b2d40(0x212)+a0_0x4b2d40(0x291)+'e).'},'title':{'type':a0_0x4b2d40(0x309)+'g','description':'Docum'+a0_0x4b2d40(0x297)+a0_0x4b2d40(0x23d)+a0_0x4b2d40(0x1f9)+a0_0x4b2d40(0x28a)+a0_0x4b2d40(0x298)},'max_page_depth':{'type':a0_0x4b2d40(0x30d)+'r','description':'Max\x20d'+'epth\x20'+a0_0x4b2d40(0x336)+a0_0x4b2d40(0x2d6)+'istin'+a0_0x4b2d40(0x236)+a0_0x4b2d40(0x347)+a0_0x4b2d40(0x248)+'(all)'+'.'},'detail_level':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x290),a0_0x4b2d40(0x213)+a0_0x4b2d40(0x2fc)],'description':'Contr'+a0_0x4b2d40(0x2b5)+a0_0x4b2d40(0x30f)+'se\x20ve'+'rbosi'+a0_0x4b2d40(0x32f)+a0_0x4b2d40(0x290)+a0_0x4b2d40(0x2ce)+'urns\x20'+a0_0x4b2d40(0x211)+'me\x20on'+a0_0x4b2d40(0x2dd)+a0_0x4b2d40(0x33a)+a0_0x4b2d40(0x21b)+a0_0x4b2d40(0x270)+a0_0x4b2d40(0x322)+a0_0x4b2d40(0x2bd)+a0_0x4b2d40(0x213)+'led\x27\x20'+'retur'+a0_0x4b2d40(0x327)+'ll\x20pa'+a0_0x4b2d40(0x34b)+a0_0x4b2d40(0x281)+a0_0x4b2d40(0x2a5)+'fault'+a0_0x4b2d40(0x346)+a0_0x4b2d40(0x323)+'.'}}}};export const getDocumentPageTool={'name':a0_0x4b2d40(0x238)+'ocume'+a0_0x4b2d40(0x35a)+'ge','description':a0_0x4b2d40(0x228)+'\x20sing'+a0_0x4b2d40(0x23b)+a0_0x4b2d40(0x31e)+a0_0x4b2d40(0x2a7)+a0_0x4b2d40(0x1fa)+a0_0x4b2d40(0x25a)+'Requi'+'res\x20p'+a0_0x4b2d40(0x328)+a0_0x4b2d40(0x2e3)+a0_0x4b2d40(0x2c1)+a0_0x4b2d40(0x235)+'r\x20doc'+a0_0x4b2d40(0x2e6)+a0_0x4b2d40(0x324),'annotations':{'title':a0_0x4b2d40(0x2ec)+'ocume'+a0_0x4b2d40(0x25f)+'ge','readOnlyHint':!![]},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'pageId':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x31c)+'ID.\x20R'+a0_0x4b2d40(0x33c)+a0_0x4b2d40(0x2b1)},'documentId':{'type':a0_0x4b2d40(0x309)+'g','description':'Docum'+a0_0x4b2d40(0x264)+'D\x20(pr'+'eferr'+a0_0x4b2d40(0x362)},'documentName':{'type':'strin'+'g','description':a0_0x4b2d40(0x344)+'ent\x20n'+'ame\x20('+a0_0x4b2d40(0x212)+a0_0x4b2d40(0x291)+a0_0x4b2d40(0x36e)},'title':{'type':'strin'+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x297)+a0_0x4b2d40(0x23d)+'for\x20r'+a0_0x4b2d40(0x28a)+'tion.'},'content_format':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x21a)+'md',a0_0x4b2d40(0x21a)+a0_0x4b2d40(0x234)],'description':a0_0x4b2d40(0x208)+a0_0x4b2d40(0x273)+'rmat.'}},'required':[a0_0x4b2d40(0x20c)+'d']}};export const getDocumentPagesTool={'name':a0_0x4b2d40(0x238)+'ocume'+a0_0x4b2d40(0x35a)+a0_0x4b2d40(0x27e),'description':a0_0x4b2d40(0x22e)+a0_0x4b2d40(0x2fe)+a0_0x4b2d40(0x23b)+a0_0x4b2d40(0x23e)+a0_0x4b2d40(0x2d3)+a0_0x4b2d40(0x343)+a0_0x4b2d40(0x314)+'by\x20ID'+'s.\x20Re'+a0_0x4b2d40(0x2b2)+a0_0x4b2d40(0x337)+a0_0x4b2d40(0x36a)+a0_0x4b2d40(0x2c6)+a0_0x4b2d40(0x2e3)+'cumen'+a0_0x4b2d40(0x235)+a0_0x4b2d40(0x207)+a0_0x4b2d40(0x2e6)+a0_0x4b2d40(0x324),'annotations':{'title':a0_0x4b2d40(0x2ec)+a0_0x4b2d40(0x341)+a0_0x4b2d40(0x25f)+'ges','readOnlyHint':!![]},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'pageIds':{'type':a0_0x4b2d40(0x2c6),'items':{'type':a0_0x4b2d40(0x309)+'g'},'description':a0_0x4b2d40(0x32b)+'\x20of\x20p'+a0_0x4b2d40(0x218)+a0_0x4b2d40(0x25e)+'equir'+a0_0x4b2d40(0x2b1)},'documentId':{'type':a0_0x4b2d40(0x309)+'g','description':'Docum'+a0_0x4b2d40(0x264)+a0_0x4b2d40(0x318)+'eferr'+a0_0x4b2d40(0x362)},'documentName':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x344)+'ent\x20n'+'ame\x20('+a0_0x4b2d40(0x212)+a0_0x4b2d40(0x291)+a0_0x4b2d40(0x36e)},'title':{'type':'strin'+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x297)+a0_0x4b2d40(0x23d)+a0_0x4b2d40(0x1f9)+a0_0x4b2d40(0x28a)+a0_0x4b2d40(0x298)},'content_format':{'type':a0_0x4b2d40(0x309)+'g','enum':['text/'+'md',a0_0x4b2d40(0x21a)+a0_0x4b2d40(0x234)],'description':a0_0x4b2d40(0x208)+'nt\x20fo'+a0_0x4b2d40(0x317)}},'required':[a0_0x4b2d40(0x20c)+'ds']}};export const createDocumentPageTool={'name':a0_0x4b2d40(0x21d)+'e_doc'+a0_0x4b2d40(0x2e6)+a0_0x4b2d40(0x2fd),'description':a0_0x4b2d40(0x308)+a0_0x4b2d40(0x334)+a0_0x4b2d40(0x1f8)+'ge\x20in'+a0_0x4b2d40(0x27a)+a0_0x4b2d40(0x2c1)+a0_0x4b2d40(0x271)+a0_0x4b2d40(0x2b2)+a0_0x4b2d40(0x2a8)+'e\x20+\x20d'+'ocume'+a0_0x4b2d40(0x254)+a0_0x4b2d40(0x1f4)+a0_0x4b2d40(0x2c1)+a0_0x4b2d40(0x259)+'.','annotations':{'title':'Creat'+a0_0x4b2d40(0x24a)+'ument'+'\x20Page'},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'name':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x31c)+a0_0x4b2d40(0x27b)+'/name'+'.\x20Req'+a0_0x4b2d40(0x24f)+'.'},'documentId':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x264)+'D\x20(pr'+'eferr'+'ed).'},'documentName':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x23a)+a0_0x4b2d40(0x369)+a0_0x4b2d40(0x212)+'nativ'+a0_0x4b2d40(0x36e)},'title':{'type':'strin'+'g','description':a0_0x4b2d40(0x344)+'ent\x20t'+a0_0x4b2d40(0x23d)+'for\x20r'+a0_0x4b2d40(0x28a)+'tion.'},'content':{'type':'strin'+'g','description':a0_0x4b2d40(0x31c)+a0_0x4b2d40(0x2b6)+a0_0x4b2d40(0x2a9)},'sub_title':{'type':a0_0x4b2d40(0x309)+'g','description':'Page\x20'+a0_0x4b2d40(0x30b)+a0_0x4b2d40(0x354)},'parent_page_id':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x233)+a0_0x4b2d40(0x2d5)+a0_0x4b2d40(0x203)+'for\x20n'+a0_0x4b2d40(0x1f7)+'g.'},'content_format':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x21a)+'md',a0_0x4b2d40(0x21a)+'plain'],'description':a0_0x4b2d40(0x208)+a0_0x4b2d40(0x273)+a0_0x4b2d40(0x317)}},'required':[a0_0x4b2d40(0x350)]}};export const updateDocumentPageTool={'name':'updat'+'e_doc'+a0_0x4b2d40(0x2e6)+'_page','description':a0_0x4b2d40(0x27c)+'e\x20a\x20d'+'ocume'+'nt\x20pa'+a0_0x4b2d40(0x360)+a0_0x4b2d40(0x33c)+'es\x20pa'+a0_0x4b2d40(0x279)+a0_0x4b2d40(0x29e)+a0_0x4b2d40(0x2e6)+'Id\x20or'+'\x20docu'+a0_0x4b2d40(0x2f3)+'ame.','annotations':{'title':'Updat'+a0_0x4b2d40(0x24a)+a0_0x4b2d40(0x2e6)+a0_0x4b2d40(0x32d)},'inputSchema':{'type':a0_0x4b2d40(0x331)+'t','properties':{'pageId':{'type':a0_0x4b2d40(0x309)+'g','description':'Page\x20'+'ID.\x20R'+'equir'+a0_0x4b2d40(0x2b1)},'documentId':{'type':a0_0x4b2d40(0x309)+'g','description':'Docum'+a0_0x4b2d40(0x264)+'D\x20(pr'+a0_0x4b2d40(0x2a3)+'ed).'},'documentName':{'type':'strin'+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x23a)+'ame\x20('+a0_0x4b2d40(0x212)+'nativ'+a0_0x4b2d40(0x36e)},'title':{'type':'strin'+'g','description':a0_0x4b2d40(0x344)+a0_0x4b2d40(0x297)+a0_0x4b2d40(0x23d)+'for\x20r'+'esolu'+a0_0x4b2d40(0x298)},'name':{'type':'strin'+'g','description':a0_0x4b2d40(0x2c0)+'age\x20t'+a0_0x4b2d40(0x28e)},'sub_title':{'type':a0_0x4b2d40(0x309)+'g','description':a0_0x4b2d40(0x2c0)+'age\x20s'+'ubtit'+a0_0x4b2d40(0x2c5)},'content':{'type':'strin'+'g','description':a0_0x4b2d40(0x31c)+'conte'+a0_0x4b2d40(0x2a9)},'content_format':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x21a)+'md','text/'+a0_0x4b2d40(0x329)],'description':a0_0x4b2d40(0x208)+a0_0x4b2d40(0x273)+a0_0x4b2d40(0x317)},'content_edit_mode':{'type':a0_0x4b2d40(0x309)+'g','enum':[a0_0x4b2d40(0x35e)+'ce',a0_0x4b2d40(0x2e2)+'d','prepe'+'nd'],'description':'Edit\x20'+'mode.'}},'required':['pageI'+'d']}};function a0_0x5a12(){const _0x366d8e=['twf4ihi','BNvTyMu','z2f0Aw8','zxnWB24','BNrFzwq','sw5JBhu','qLvYC0O','r3P2D0i','BwvUDca','quXHDxC','u3rYAw4','CM1HDc4','rcaOChi','BNrLBNq','CKvhCNq','ELDvtMq','ugfNzsa','BNrZ','z2uGzNi','zYbPDhm','zxr1CM4','sumPlG','AwDHDgK','ywLSzwq','tMfTzs4','Bwf0CZO','BwuVDxi','BNmGzNu','ywDLswq','CgXHAw4','u1fLEhC','qxjYyxK','veftsW','ifbHz2u','igeGC3a','DhKUicC','BMv4Df8','B2jQzwm','zgvSzxq','Dcbjrca','zsbHig4','zgvZ','zM9Yiha','CYbWywC','j3rLEhq','s0DvwK8','CIbLzMy','y2HPBgq','zxf1Axi','twfUywC','yM9VBgu','Cg9YDgu','CNjHEsa','B2n1Bwu','AwqGCge','igrVy3u','rg9JDw0','CIbJCMu','oIbKzxq','zMf1Bhq','mti5odaXqNnxu2Xm','AwXLzc4','AenbCMC','z2uGBwu','zxH0l20','BgvUz3q','zwqGAw4','DgLVBIa','BMfTzq','igLZihi','BgrLCIW','y2HPDMu','DgXLlG','DxbWB3i','igzVDw4','AxjLza','yw5KBgu','x2zVCM0','BNrFCge','zsbYzxm','BwvUDcG','AxmGCMu','CMvWBge','l2H0BwW','z2uUifi','z2v0rg8','zwqPlG','EsbMB3i','lcbPBMm','zsbPBMK','Dg9ju08','tgLZDca','ywDLige','yw1LicG','zuLKCYa','DMvK','suqGAxm','iIbUB3q','zsKU','CgfJzv8','C3bHy2u','ig9Yigq','BNrFzM8','C3PPweu','CKTyruS','BuLK','Df9Pza','BYKGBxu','B3iGzg8','B3iGkha','Bgv0zwq','zxn0Aw4','zxCGCge','zM9Yihi','zg9JDw0','zsbMB3i','igLUigG','CYbMDwW','zxn1Bhq','B2X1DgK','BNroyw0','l05HBwu','yw1jza','zsbjrca','ChrPB24','zwqGC3u','BgLKifa','CIbKB2m','q29UDgu','swqGB3i','zw50vg8','zv9WywC','CgfNzuK','C3vIx3q','DgHPBMC','sxnrzLm','ign1CNm','AwqVBMe','ywX0zxi','zgv0ywK','BNrqywC','vxaGzg8','AwqGy28','y3rPB24','ywDLieK','ue5Krg0','Dgv4Dc8','AwnPzw4','BwvUDc4','y3jLyxq','BwqNlca','ChvIBgK','zxrHAwW','BcbVBMW','tM94DhO','mti4mJuYy1vsuMnS','BwvUDhm','z2v0vgu','l2rVy3m','zgf0zv8','r2v0ige','Dcbjrc4','AxrSzq','CZOGj3q','mJe2mdy4mJr2tg52q2G','vhLWzsW','r2v0ig0','ihbHCMu','sgrAEw0','DhmUie8','DwX0oIa','ugfYzw4','AhrTBa','DeLKig8','zY4Grgu','rM91BMq','z2v0x2q','qvjbEMK','zw50ig4','BguGCge','B3iGsuq','AxrSzsa','z2vZigy','zguGzgu','rK9mreu','zcbHy3q','qK1st0G','q29UDhi','Aw9UlIa','ANHHvNK','ifbvqKW','ufjjvKe','oIaTmsa','veHjtKC','zsbeB2m','igfJDgK','DfbHz2u','CLjLC3a','y2XPy2S','DwLYzwq','D29YA3m','BgLZDf8','sgDRB1q','zxjdyxm','BNrjzca','CgfJzq','t01PuuO','rMLSDgu','zurVy3u','De5HBwu','zw50lIa','zw50swq','zvjLC3a','DcbUyw0','rhmUifi','BNqGuge','khnWywm','icH0Axq','zw50ici','yxrLx3a','zw50ieK','zw50CW','yw1LlIa','vMLXsuC','sw52ywW','EgXZA3K','lcaNDgu','ihjLCxu','Dcb0Exa','zvbHz2u','zw50x3a','v09ss1m','DcbUyxy','Dc4GuMu','Dc9TzcC','BNqGzM8','mJe4nZi0nxLuzfLvEa','B2XZ','zM9Yihq','ifjLCxu','zxzLCNK','z2vjzca','igeGzg8','DgL0Bgu','vxbKyxq','B2nHDgK','z2vZ','kgrLzMe','AhrTBcC','DgfKyxq','wxbwB3K','CgfNzxm','DgLHBca','BcbTzxq','DeLKl3a','Dg9mB3C','tMfTzsa','mJmZntmYnNffBgT4Aq','zxnVBhu','igvMzMK','CIbIEsa','z2v0','AxrSzs4','zsbHBMq','BMfTzxm','BMf0Axy','ywDL','C2uGDMu','Df90Exa','zuvYCM8','rvzfuLK','zw50ihq','DgLVBI4','B1fctue','AKzYDLa','zxjYB3i','zM9Szgu','yxqGzM8','kYbKB2m','CMvK','lIbtDxa','B25Zzq','icHKzwy','zwzLCNi','ugfNAw4','ys4Grgu','ywXSEsa','B20Gysa','CYbUyw0','BNqU','AwrLza','iIbJCMu','zM9YBwe','u3vWCg8','DhfyDM0','tgHbqLe','CM1HDa','zwqU','CxvPCMu','rgXHz0e','BgLTAxq','B2XZihi','y29UDgu','yxvSDdO','AwXPDhK','BwfW','y3vYC28','yNrKAKm','ihrPDgW','B24UicC','uLL5vK0','uefdrq','tMv3iha','y3vTzw4','z2v0x3a','y2nLC3m','AxnbCNi','BguU','yxjYyxK','rxjYB3i','CIb1Cgq','ywrHDge','zxCGzg8','CgfNzsa','nte5nZuXuvbOvM5U','zg9JCW','jYbYzxq','ufvcteK','rwL0Agu','zcbKB2m','DxbKyxq','CM9Tige','BgLZDa','DcbWywC','ywDLigW','u1bbq0u','DxrPB24','DhLWzq','y2LLBNq','zgf0ysa','ovj1rwHODq','BhKGzM8','BwvUDa','Aw5JBhu','ntfSveDcENu','v3PJzvi','yxbWzw4','icSGzg8','zxbYzwm','zsWGzM8','Dw1LBNq','B3jTyxq','Ag5uuLK','yw5KigW','yxrPB24','CvP2uxe','r2v0ieq','zguGyxi','BgLZDeq','EhqVCgW','zMLSDgu','z0fos1q','yxrLzcK','BwvUDe4','teLtva','ywDLCW','q2XPy2S','Dxbuzwe','CIbNzxq','AxrFBw8','CMvZB2W','zw50ifa','BgvK','x3bHz2u','DwX0Axa','Dhj1zsK','shbIt0e','CgfYzw4','uMvXDwK','vMLZAwi','y1jiDwy','mZq1nZq5nMzpzwfiEa','whPPz2q','ig1LDge','q3jLyxq','C3rYAw4','zv9KB2m','C3vIDgK'];a0_0x5a12=function(){return _0x366d8e;};return a0_0x5a12();}export async function handleManageDocuments(_0x58ce1f,_0x2b66f8){const _0x3627df=a0_0x4b2d40,_0x35d363={'ARAzi':'creat'+'e','Xzigd':function(_0x3bf5d0,_0x11c9ab,_0x39d5dd){return _0x3bf5d0(_0x11c9ab,_0x39d5dd);},'jFrvP':_0x3627df(0x28d),'KGUZO':_0x3627df(0x2d4),'jWpwN':'list_'+_0x3627df(0x283),'aWjDa':_0x3627df(0x2c2)+_0x3627df(0x292),'ViqIG':_0x3627df(0x2c2)+_0x3627df(0x2f5),'rEGrt':function(_0x3d2242,_0x4d3b91,_0x4c92d4){return _0x3d2242(_0x4d3b91,_0x4c92d4);},'oQBMA':'updat'+'e_pag'+'e','jxaVy':function(_0x3c55db,_0x117c16){return _0x3c55db(_0x117c16);}},{action:_0x56ccfa}=_0x58ce1f;try{switch(_0x56ccfa){case _0x35d363[_0x3627df(0x239)]:return await _0x35d363[_0x3627df(0x306)](handleCreateDocument,_0x58ce1f,_0x2b66f8);case _0x35d363[_0x3627df(0x29a)]:return await handleGetDocument(_0x58ce1f,_0x2b66f8);case _0x35d363[_0x3627df(0x339)]:return await _0x35d363[_0x3627df(0x306)](handleListDocuments,_0x58ce1f,_0x2b66f8);case _0x35d363['jWpwN']:return await handleListDocumentPages(_0x58ce1f,_0x2b66f8);case _0x35d363['aWjDa']:return await handleGetDocumentPage(_0x58ce1f,_0x2b66f8);case _0x35d363[_0x3627df(0x267)]:return await _0x35d363[_0x3627df(0x306)](handleGetDocumentPages,_0x58ce1f,_0x2b66f8);case _0x3627df(0x21d)+_0x3627df(0x20b)+'e':return await _0x35d363[_0x3627df(0x31a)](handleCreateDocumentPage,_0x58ce1f,_0x2b66f8);case _0x35d363[_0x3627df(0x299)]:return await handleUpdateDocumentPage(_0x58ce1f,_0x2b66f8);default:return sponsorService['creat'+'eErro'+'rResp'+_0x3627df(0x2a1)]('Unsup'+_0x3627df(0x33f)+_0x3627df(0x241)+'ion:\x20'+_0x56ccfa);}}catch(_0x5b8000){return logger[_0x3627df(0x29b)](_0x3627df(0x2c7)+_0x3627df(0x1fc)+_0x3627df(0x358)+_0x3627df(0x33d)+_0x3627df(0x258)+_0x3627df(0x224)+'\x20('+_0x56ccfa+'):',_0x5b8000),sponsorService['creat'+_0x3627df(0x295)+_0x3627df(0x24d)+_0x3627df(0x2a1)](_0x5b8000['messa'+'ge']||_0x35d363[_0x3627df(0x245)](String,_0x5b8000));}}async function handleCreateDocument(_0x3ec7e1,_0x5b97f0){const _0x8ed09e=a0_0x4b2d40,_0x2dd520={'HdZym':_0x8ed09e(0x2cf)+'C','HgkoT':_0x8ed09e(0x288)+_0x8ed09e(0x35d)+_0x8ed09e(0x2b2)+'d','hnTRY':function(_0x2efe63,_0x287e5e){return _0x2efe63&&_0x287e5e;},'OMiQJ':function(_0x1c0c17,_0x33cdde){return _0x1c0c17===_0x33cdde;},'btdjC':function(_0x25aeaf,_0x11fbb8,_0x1d30f3){return _0x25aeaf(_0x11fbb8,_0x1d30f3);},'OHskc':'space','PNdDm':_0x8ed09e(0x29c)+'r','SQexw':function(_0x22ad5a,_0x393c1a,_0x10eeb1,_0x2c6a11){return _0x22ad5a(_0x393c1a,_0x10eeb1,_0x2c6a11);},'qZvQq':_0x8ed09e(0x250)+_0x8ed09e(0x255),'GzvwB':_0x8ed09e(0x233)+'t\x20ID\x20'+'or\x20va'+_0x8ed09e(0x206)+'arent'+'\x20Name'+_0x8ed09e(0x351)+_0x8ed09e(0x33c)+'ed'},{document:_0x2e6fe0,workspace:_0x460b4e}=_0x5b97f0,{name:_0x329c86,parentId:_0x3219b1,parentName:_0x2edbfb,parentType:_0x3aa4e5,visibility:visibility=_0x2dd520[_0x8ed09e(0x230)],create_page:create_page=!![]}=_0x3ec7e1;if(!_0x329c86)return sponsorService[_0x8ed09e(0x21d)+_0x8ed09e(0x295)+_0x8ed09e(0x24d)+_0x8ed09e(0x2a1)](_0x2dd520[_0x8ed09e(0x252)]);if(!_0x3aa4e5)return sponsorService[_0x8ed09e(0x21d)+_0x8ed09e(0x295)+'rResp'+_0x8ed09e(0x2a1)](_0x8ed09e(0x233)+_0x8ed09e(0x26c)+'e\x20is\x20'+'requi'+_0x8ed09e(0x29f));let _0x664c07=_0x3219b1;if(_0x2dd520[_0x8ed09e(0x2e8)](!_0x664c07,_0x2edbfb)){const _0x225051=_0x3aa4e5['toLow'+_0x8ed09e(0x253)+'e']();if(_0x2dd520[_0x8ed09e(0x256)](_0x225051,'list')){const _0x43bfc7=await _0x2dd520['btdjC'](findListIDByName,_0x460b4e,_0x2edbfb);if(!_0x43bfc7)throw new Error(_0x8ed09e(0x367)+'\x22'+_0x2edbfb+(_0x8ed09e(0x36d)+'\x20foun'+'d'));_0x664c07=_0x43bfc7['id'];}else{if([_0x2dd520['OHskc'],_0x2dd520[_0x8ed09e(0x219)]][_0x8ed09e(0x2df)+'des'](_0x225051)){_0x664c07=await _0x2dd520[_0x8ed09e(0x32a)](findParentIdByName,_0x2edbfb,_0x225051,_0x460b4e);if(!_0x664c07)throw new Error(_0x225051+'\x20\x22'+_0x2edbfb+('\x22\x20not'+_0x8ed09e(0x356)+'d'));}else{if(_0x225051==='works'+_0x8ed09e(0x255)){if(a0_0x9adc66[_0x8ed09e(0x24e)+_0x8ed09e(0x2f7)+_0x8ed09e(0x1f1)])_0x664c07=a0_0x9adc66[_0x8ed09e(0x24e)+'upTea'+_0x8ed09e(0x1f1)];}}}}!_0x664c07&&_0x3aa4e5[_0x8ed09e(0x287)+_0x8ed09e(0x253)+'e']()===_0x2dd520[_0x8ed09e(0x2eb)]&&a0_0x9adc66[_0x8ed09e(0x24e)+_0x8ed09e(0x2f7)+_0x8ed09e(0x1f1)]&&(_0x664c07=a0_0x9adc66[_0x8ed09e(0x24e)+'upTea'+_0x8ed09e(0x1f1)]);if(!_0x664c07)return sponsorService['creat'+'eErro'+_0x8ed09e(0x24d)+'onse'](_0x2dd520[_0x8ed09e(0x313)]);const _0xbb3356={'space':0x4,'folder':0x5,'list':0x6,'everything':0x7,'task':0xa,'workspace':0xc},_0x3db837=_0x3aa4e5['toLow'+'erCas'+'e'](),_0x1ace20=_0xbb3356[_0x3db837];if(_0x1ace20===undefined)return sponsorService[_0x8ed09e(0x21d)+_0x8ed09e(0x295)+_0x8ed09e(0x24d)+_0x8ed09e(0x2a1)](_0x8ed09e(0x268)+_0x8ed09e(0x342)+'rentT'+'ype:\x20'+_0x3aa4e5);const _0x79f43b={'name':_0x329c86,'parent':{'id':_0x664c07,'type':_0x1ace20},'visibility':visibility,'create_page':create_page},_0x11311f=await _0x2e6fe0[_0x8ed09e(0x21d)+_0x8ed09e(0x258)+_0x8ed09e(0x2de)](_0x79f43b);return sponsorService[_0x8ed09e(0x21d)+_0x8ed09e(0x25c)+'onse']({'id':_0x11311f['id'],'name':_0x11311f[_0x8ed09e(0x350)],'parent':_0x11311f[_0x8ed09e(0x301)+'t'],'url':_0x2dd520[_0x8ed09e(0x2bb)](buildDocumentUrl,_0x11311f,_0x460b4e),'message':_0x8ed09e(0x344)+_0x8ed09e(0x262)+_0x329c86+(_0x8ed09e(0x2ab)+'ated\x20'+'succe'+'ssful'+'ly')},!![]);}async function handleGetDocument(_0x1c5c51,_0x4a2188){const _0xe17001=a0_0x4b2d40,_0x5ba651={'RYyVM':_0xe17001(0x1ec),'scqdy':'list','DlagA':function(_0x5aa56f,_0x50e0bc,_0x2d54ee,_0x1b56f3){return _0x5aa56f(_0x50e0bc,_0x2d54ee,_0x1b56f3);},'ALauw':function(_0x5e492f,_0x537fde){return _0x5e492f&&_0x537fde;},'BUrsJ':_0xe17001(0x2d0)+_0xe17001(0x207)+'ument'+_0xe17001(0x209)+_0xe17001(0x261)+'le\x20+\x20'+_0xe17001(0x301)+'t\x20inf'+_0xe17001(0x1f3)+'st\x20be'+'\x20prov'+_0xe17001(0x2aa),'rKXEK':function(_0x521a9f,_0x4affc7,_0xb22b2){return _0x521a9f(_0x4affc7,_0xb22b2);}},{document:_0x4f2f79,workspace:_0x267a03}=_0x4a2188,{documentId:_0x36fd57,title:_0x2613da,parentId:_0xdfed5f,parentName:_0x169139,parentType:_0x35f743}=_0x1c5c51;let _0x553fb6=_0x36fd57,_0x439457=_0xdfed5f;if(!_0x439457&&_0x169139&&_0x35f743){const _0x56a941=_0x35f743['toLow'+_0xe17001(0x253)+'e']();[_0x5ba651[_0xe17001(0x2be)],'folde'+'r',_0x5ba651['scqdy']][_0xe17001(0x2df)+'des'](_0x56a941)&&(_0x439457=await _0x5ba651[_0xe17001(0x2b3)](findParentIdByName,_0x169139,_0x56a941,_0x267a03));}_0x5ba651[_0xe17001(0x315)](!_0x553fb6,_0x2613da)&&_0x439457&&(_0x553fb6=await findDocumentByTitle(_0x439457,_0x2613da,_0x4f2f79));if(!_0x553fb6)throw new Error(_0x5ba651[_0xe17001(0x312)]);const _0x4f0b7b=await _0x4f2f79['getDo'+'cumen'+'t'](_0x553fb6);return sponsorService[_0xe17001(0x21d)+_0xe17001(0x25c)+'onse']({'id':_0x4f0b7b['id'],'name':_0x4f0b7b[_0xe17001(0x350)],'parent':_0x4f0b7b['paren'+'t'],'created':new Date(_0x4f0b7b[_0xe17001(0x227)+_0xe17001(0x21d)+'ed'])[_0xe17001(0x366)+'Strin'+'g'](),'updated':new Date(_0x4f0b7b[_0xe17001(0x227)+_0xe17001(0x2d2)+'ed'])[_0xe17001(0x366)+_0xe17001(0x316)+'g'](),'creator':_0x4f0b7b['creat'+'or'],'public':_0x4f0b7b[_0xe17001(0x21f)+'c'],'type':_0x4f0b7b[_0xe17001(0x2d9)],'url':_0x5ba651[_0xe17001(0x1f0)](buildDocumentUrl,_0x4f0b7b,_0x267a03)},!![]);}async function handleListDocuments(_0x167ab4,_0x3066b2){const _0x5a7e0f=a0_0x4b2d40,_0x692486={'sziXE':_0x5a7e0f(0x29c)+'r','zWUNd':_0x5a7e0f(0x2d7),'HpbOA':'LIST','YpVoy':'TASK','IsQfS':function(_0xe35b05,_0x55f104){return _0xe35b05!==_0x55f104;},'hCArg':function(_0x37dde1,_0x7c85f1){return _0x37dde1!==_0x7c85f1;},'gANKT':_0x5a7e0f(0x26f)+_0x5a7e0f(0x2bf),'WzceR':function(_0x29c6e0,_0x575024){return _0x29c6e0===_0x575024;}},{document:_0x2837d5,workspace:_0x9b6b68}=_0x3066b2,{detail_level:detail_level=_0x5a7e0f(0x213)+_0x5a7e0f(0x2fc)}=_0x167ab4;let {id:_0x2b9ba4,creator:_0x182cdd,deleted:_0x24bb95,archived:_0xb7acd0,parentId:_0x1ec388,parentName:_0xce7221,parentType:_0x134aab,limit:_0x32fefb,cursor:_0x3a8e18,next_cursor:_0x417b55}=_0x167ab4;if(!_0x1ec388&&_0xce7221&&_0x134aab){const _0x4a06f7=_0x134aab[_0x5a7e0f(0x287)+_0x5a7e0f(0x253)+'e']();if(_0x4a06f7==='list'){const _0x352c74=await findListIDByName(_0x9b6b68,_0xce7221);if(_0x352c74)_0x1ec388=_0x352c74['id'];}else[_0x5a7e0f(0x1ec),_0x692486[_0x5a7e0f(0x1ef)]][_0x5a7e0f(0x2df)+'des'](_0x4a06f7)&&(_0x1ec388=await findParentIdByName(_0xce7221,_0x4a06f7,_0x9b6b68));}const _0x4bbc1e={'space':_0x692486[_0x5a7e0f(0x31b)],'folder':_0x5a7e0f(0x240)+'R','list':_0x692486[_0x5a7e0f(0x300)],'everything':'EVERY'+_0x5a7e0f(0x249),'task':_0x692486[_0x5a7e0f(0x282)],'workspace':_0x5a7e0f(0x26f)+_0x5a7e0f(0x2bf)},_0x1411e0={};if(_0x692486[_0x5a7e0f(0x20f)](_0x2b9ba4,undefined))_0x1411e0['id']=_0x2b9ba4;if(_0x692486[_0x5a7e0f(0x20f)](_0x182cdd,undefined))_0x1411e0[_0x5a7e0f(0x21d)+'or']=_0x182cdd;if(_0x692486[_0x5a7e0f(0x34a)](_0x24bb95,undefined))_0x1411e0[_0x5a7e0f(0x332)+'ed']=_0x24bb95;if(_0xb7acd0!==undefined)_0x1411e0['archi'+_0x5a7e0f(0x36b)]=_0xb7acd0;_0x692486[_0x5a7e0f(0x20f)](_0x1ec388,undefined)&&(_0x1411e0[_0x5a7e0f(0x301)+_0x5a7e0f(0x1f2)]=_0x1ec388);if(_0x692486[_0x5a7e0f(0x20f)](_0x134aab,undefined)){const _0x106a21=_0x134aab[_0x5a7e0f(0x287)+_0x5a7e0f(0x253)+'e'](),_0x2c6f17=_0x4bbc1e[_0x106a21];if(_0x2c6f17===_0x692486[_0x5a7e0f(0x2f1)])_0x1ec388&&(_0x1411e0[_0x5a7e0f(0x301)+_0x5a7e0f(0x294)+'e']=_0x2c6f17);else _0x2c6f17&&(_0x1411e0[_0x5a7e0f(0x301)+_0x5a7e0f(0x294)+'e']=_0x2c6f17);}if(_0x32fefb!==undefined)_0x1411e0[_0x5a7e0f(0x2b4)]=_0x32fefb;if(_0x692486[_0x5a7e0f(0x34a)](_0x167ab4[_0x5a7e0f(0x2ba)+'r'],undefined))_0x1411e0[_0x5a7e0f(0x2ba)+'r']=_0x167ab4[_0x5a7e0f(0x2ba)+'r'];else _0x417b55!==undefined&&(_0x1411e0[_0x5a7e0f(0x2ba)+'r']=_0x417b55);const _0x209067=await _0x2837d5[_0x5a7e0f(0x2ee)+_0x5a7e0f(0x341)+_0x5a7e0f(0x31d)](_0x1411e0);if(_0x692486[_0x5a7e0f(0x2e1)](detail_level,_0x5a7e0f(0x290))){const _0x3e7918=(_0x209067[_0x5a7e0f(0x2cd)]||[])[_0x5a7e0f(0x2b9)](_0x44d812=>({'id':_0x44d812['id'],'name':_0x44d812[_0x5a7e0f(0x350)],'url':buildDocumentUrl(_0x44d812,_0x9b6b68)}));return sponsorService['creat'+_0x5a7e0f(0x25c)+_0x5a7e0f(0x2a1)]({'documents':_0x3e7918,'count':_0x3e7918[_0x5a7e0f(0x34d)+'h'],'cursor':_0x209067[_0x5a7e0f(0x2ba)+'r'],'next_cursor':_0x209067[_0x5a7e0f(0x330)+_0x5a7e0f(0x2ba)+'r'],'message':_0x5a7e0f(0x237)+'\x20'+_0x3e7918[_0x5a7e0f(0x34d)+'h']+('\x20docu'+_0x5a7e0f(0x35c)+'s)')},!![]);}const _0x5ee254=(_0x209067[_0x5a7e0f(0x2cd)]||[])[_0x5a7e0f(0x2b9)](_0x5f36c=>({'id':_0x5f36c['id'],'name':_0x5f36c[_0x5a7e0f(0x350)],'url':buildDocumentUrl(_0x5f36c,_0x9b6b68),'parent':_0x5f36c[_0x5a7e0f(0x301)+'t'],'created':new Date(_0x5f36c[_0x5a7e0f(0x227)+'creat'+'ed'])[_0x5a7e0f(0x366)+_0x5a7e0f(0x316)+'g'](),'updated':new Date(_0x5f36c[_0x5a7e0f(0x227)+_0x5a7e0f(0x2d2)+'ed'])[_0x5a7e0f(0x366)+'Strin'+'g'](),'creator':_0x5f36c[_0x5a7e0f(0x21d)+'or'],'public':_0x5f36c[_0x5a7e0f(0x21f)+'c'],'type':_0x5f36c['type']}));return sponsorService[_0x5a7e0f(0x21d)+_0x5a7e0f(0x25c)+_0x5a7e0f(0x2a1)]({'documents':_0x5ee254,'count':_0x5ee254[_0x5a7e0f(0x34d)+'h'],'cursor':_0x209067[_0x5a7e0f(0x2ba)+'r'],'next_cursor':_0x209067['next_'+_0x5a7e0f(0x2ba)+'r'],'message':_0x5a7e0f(0x237)+'\x20'+_0x5ee254['lengt'+'h']+(_0x5a7e0f(0x343)+'ment('+'s)')},!![]);}async function handleListDocumentPages(_0x2e9e4d,_0x4f4fdd){const _0x573dce=a0_0x4b2d40,_0x4d7889={'xlsky':_0x573dce(0x213)+_0x573dce(0x2fc)},{document:_0x3a4f4a}=_0x4f4fdd,{max_page_depth:max_page_depth=-0x1,detail_level:detail_level=_0x4d7889[_0x573dce(0x269)]}=_0x2e9e4d,_0x39abbc=await resolveDocumentArgument(_0x2e9e4d,_0x4f4fdd),_0xdf0607=await _0x3a4f4a['listD'+_0x573dce(0x341)+_0x573dce(0x214)+'es'](_0x39abbc,{'max_page_depth':max_page_depth});if(detail_level==='names'){const _0x25f4e2=_0x4fa67f=>_0x4fa67f['flatM'+'ap'](_0x4913d2=>[{'id':_0x4913d2['id'],'name':_0x4913d2[_0x573dce(0x350)]},..._0x4913d2['child'+'ren']?_0x25f4e2(_0x4913d2[_0x573dce(0x33b)+'ren']):[]]);return sponsorService[_0x573dce(0x21d)+_0x573dce(0x25c)+_0x573dce(0x2a1)]({'pages':_0x25f4e2(_0xdf0607[_0x573dce(0x283)]||[])});}return sponsorService[_0x573dce(0x21d)+_0x573dce(0x25c)+_0x573dce(0x2a1)](_0xdf0607);}async function handleGetDocumentPage(_0x5002ca,_0x4eb148){const _0x179345=a0_0x4b2d40,_0x2a1255={'LhABQ':_0x179345(0x31c)+'ID\x20is'+_0x179345(0x26b)+_0x179345(0x357),'TqHos':_0x179345(0x21a)+'md','cRHuf':function(_0x1d2f2e,_0x14270e,_0x19e9bb){return _0x1d2f2e(_0x14270e,_0x19e9bb);}},{document:_0x2eb51d}=_0x4eb148,{pageId:_0x388d96,content_format:_0x32e925}=_0x5002ca;if(!_0x388d96)throw new Error(_0x2a1255[_0x179345(0x2af)]);if(_0x32e925&&![_0x2a1255['TqHos'],_0x179345(0x21a)+_0x179345(0x234)][_0x179345(0x2df)+_0x179345(0x335)](_0x32e925))throw new Error(_0x179345(0x268)+_0x179345(0x216)+_0x179345(0x319)+_0x179345(0x359)+_0x179345(0x29d)+_0x179345(0x2f8)+_0x179345(0x2fd)+_0x179345(0x24b)+'on.\x20S'+_0x179345(0x355)+'ted\x20f'+_0x179345(0x2e7)+_0x179345(0x22b)+_0x179345(0x34c)+'d\x27,\x20\x27'+_0x179345(0x21a)+_0x179345(0x280)+'.');const _0x356a69=await _0x2a1255[_0x179345(0x304)](resolveDocumentArgument,_0x5002ca,_0x4eb148),_0x14457c={};if(_0x32e925)_0x14457c[_0x179345(0x2b6)+_0x179345(0x1ee)+_0x179345(0x2b0)]=_0x32e925;const _0x1ec861=await _0x2eb51d[_0x179345(0x361)+_0x179345(0x2c1)+'tPage'](_0x356a69,_0x388d96,_0x14457c);return sponsorService[_0x179345(0x21d)+_0x179345(0x25c)+_0x179345(0x2a1)](_0x1ec861);}async function handleGetDocumentPages(_0x5a6d6e,_0x365b1e){const _0x3a7682=a0_0x4b2d40,_0x4e5670={'GoJjv':'text/'+'md'},{document:_0x5473c9}=_0x365b1e,{pageIds:_0x4c1530,content_format:_0xdbcb48}=_0x5a6d6e;if(!_0x4c1530||!Array[_0x3a7682(0x2c4)+'ay'](_0x4c1530)||_0x4c1530[_0x3a7682(0x34d)+'h']===0x0)throw new Error(_0x3a7682(0x31c)+'IDs\x20a'+_0x3a7682(0x340)+_0x3a7682(0x35d)+'quire'+'d');if(_0xdbcb48&&![_0x4e5670['GoJjv'],'text/'+_0x3a7682(0x234)][_0x3a7682(0x2df)+'des'](_0xdbcb48))throw new Error(_0x3a7682(0x268)+_0x3a7682(0x216)+_0x3a7682(0x319)+_0x3a7682(0x359)+_0x3a7682(0x29d)+_0x3a7682(0x2f8)+'_page'+'s\x20act'+_0x3a7682(0x244)+_0x3a7682(0x2ad)+'rted\x20'+_0x3a7682(0x2ac)+'ts:\x20\x27'+'text/'+_0x3a7682(0x21e)+_0x3a7682(0x338)+_0x3a7682(0x35f)+'\x27.');const _0x225c76=await resolveDocumentArgument(_0x5a6d6e,_0x365b1e),_0x3ec2e1={'pageIds':_0x4c1530};if(_0xdbcb48)_0x3ec2e1[_0x3a7682(0x2b6)+_0x3a7682(0x1ee)+_0x3a7682(0x2b0)]=_0xdbcb48;const _0x117de4=await _0x5473c9[_0x3a7682(0x361)+_0x3a7682(0x2c1)+_0x3a7682(0x24c)+'s'](_0x225c76,_0x4c1530,_0x3ec2e1);return sponsorService['creat'+_0x3a7682(0x25c)+_0x3a7682(0x2a1)](_0x117de4);}async function handleCreateDocumentPage(_0x5a7087,_0x37201f){const _0xfbc7e9=a0_0x4b2d40,_0x592455={'BMROH':'text/'+'md'},{document:_0x5dc627}=_0x37201f,{content:_0x33c3ca,sub_title:_0x1665b3,name:_0x4a730b,parent_page_id:_0x4d703e,content_format:_0x30c1df}=_0x5a7087;if(!_0x4a730b)throw new Error('Title'+_0xfbc7e9(0x201)+_0xfbc7e9(0x351)+_0xfbc7e9(0x33c)+'ed');if(_0x30c1df&&![_0x592455[_0xfbc7e9(0x242)],_0xfbc7e9(0x21a)+'plain'][_0xfbc7e9(0x2df)+_0xfbc7e9(0x335)](_0x30c1df))throw new Error('Inval'+_0xfbc7e9(0x216)+'ntent'+_0xfbc7e9(0x359)+_0xfbc7e9(0x29d)+_0xfbc7e9(0x345)+_0xfbc7e9(0x263)+_0xfbc7e9(0x368)+_0xfbc7e9(0x217)+_0xfbc7e9(0x2a0)+_0xfbc7e9(0x33f)+'d\x20for'+_0xfbc7e9(0x325)+'\x20\x27tex'+_0xfbc7e9(0x272)+',\x20\x27te'+_0xfbc7e9(0x2ef)+'ain\x27.');const _0x2208dd=await resolveDocumentArgument(_0x5a7087,_0x37201f),_0x23358a={'name':_0x4a730b,'content':_0x33c3ca,'sub_title':_0x1665b3,'parent_page_id':_0x4d703e,'content_format':_0x30c1df},_0x2a1a27=await _0x5dc627[_0xfbc7e9(0x21d)+_0xfbc7e9(0x26d)](_0x2208dd,_0x23358a);return sponsorService[_0xfbc7e9(0x21d)+_0xfbc7e9(0x25c)+_0xfbc7e9(0x2a1)](_0x2a1a27);}async function handleUpdateDocumentPage(_0x56bf2e,_0x23e6d4){const _0x15b6d1=a0_0x4b2d40,_0x3a4389={'tqXvm':_0x15b6d1(0x21a)+_0x15b6d1(0x329),'Noxtz':function(_0x2cad3f,_0x4e7de5,_0x4c5ce8){return _0x2cad3f(_0x4e7de5,_0x4c5ce8);}},{document:_0x5d81fa}=_0x23e6d4,{pageId:_0x172e26,name:_0x26a67b,sub_title:_0x4042cf,content:_0x5428d9,content_format:_0x8ea0bc,content_edit_mode:_0x35060f}=_0x56bf2e;if(!_0x172e26)throw new Error('Page\x20'+_0x15b6d1(0x36c)+_0x15b6d1(0x26b)+_0x15b6d1(0x357));if(_0x8ea0bc&&![_0x15b6d1(0x21a)+'md',_0x3a4389[_0x15b6d1(0x2ae)]]['inclu'+'des'](_0x8ea0bc))throw new Error(_0x15b6d1(0x268)+'id\x20co'+_0x15b6d1(0x319)+_0x15b6d1(0x359)+_0x15b6d1(0x29d)+_0x15b6d1(0x2c8)+_0x15b6d1(0x263)+_0x15b6d1(0x368)+_0x15b6d1(0x217)+'.\x20Sup'+_0x15b6d1(0x33f)+'d\x20for'+_0x15b6d1(0x325)+'\x20\x27tex'+_0x15b6d1(0x272)+_0x15b6d1(0x26a)+_0x15b6d1(0x2ef)+'ain\x27.');const _0x21d24d=await _0x3a4389[_0x15b6d1(0x222)](resolveDocumentArgument,_0x56bf2e,_0x23e6d4),_0x284212={};if(_0x26a67b)_0x284212['name']=_0x26a67b;if(_0x4042cf)_0x284212[_0x15b6d1(0x20d)+_0x15b6d1(0x22a)]=_0x4042cf;if(_0x5428d9)_0x284212[_0x15b6d1(0x2b6)+'nt']=_0x5428d9;if(_0x8ea0bc)_0x284212['conte'+'nt_fo'+'rmat']=_0x8ea0bc;if(_0x35060f)_0x284212[_0x15b6d1(0x2b6)+_0x15b6d1(0x310)+_0x15b6d1(0x2f9)+'de']=_0x35060f;return await _0x5d81fa[_0x15b6d1(0x2d2)+_0x15b6d1(0x26d)](_0x21d24d,_0x172e26,_0x284212),sponsorService[_0x15b6d1(0x21d)+_0x15b6d1(0x25c)+_0x15b6d1(0x2a1)]({'message':_0x15b6d1(0x31c)+_0x15b6d1(0x2d2)+_0x15b6d1(0x205)+_0x15b6d1(0x2c3)+'fully'},!![]);}
1
+ const a0_0x5378c8=a0_0x5e96;(function(_0x2fa64f,_0x1a1d5a){const _0x2f0167=a0_0x5e96,_0x1cf548=_0x2fa64f();while(!![]){try{const _0xeee81a=parseInt(_0x2f0167(0x151))/0x1*(parseInt(_0x2f0167(0x221))/0x2)+parseInt(_0x2f0167(0xd8))/0x3*(-parseInt(_0x2f0167(0x17a))/0x4)+-parseInt(_0x2f0167(0x166))/0x5*(parseInt(_0x2f0167(0x146))/0x6)+parseInt(_0x2f0167(0x179))/0x7*(parseInt(_0x2f0167(0xc6))/0x8)+parseInt(_0x2f0167(0x148))/0x9*(-parseInt(_0x2f0167(0x1ca))/0xa)+parseInt(_0x2f0167(0x156))/0xb*(parseInt(_0x2f0167(0x245))/0xc)+-parseInt(_0x2f0167(0x20d))/0xd;if(_0xeee81a===_0x1a1d5a)break;else _0x1cf548['push'](_0x1cf548['shift']());}catch(_0x298bf7){_0x1cf548['push'](_0x1cf548['shift']());}}}(a0_0x5dea,0x8451e));import a0_0x2b8a57 from'../config.js';import{sponsorService}from'../utils/sponsor-service.js';import{Logger}from'../logger.js';import{resolveDocumentArgument,findParentIdByName,findDocumentByTitle,findListIDByName}from'../utils/resolver-utils.js';const logger=new Logger('Docum'+'entTo'+a0_0x5378c8(0x232));function a0_0x5dea(){const _0x50cfba=['Dhj1zsK','ntiYCffkuMDf','ig9YigW','CgXHAw4','vxjS','B3iGkgq','z2v0x2q','BgLZDf8','sxvptfK','zY4Grgu','ofDzqvrfCG','zM9Yig4','icHKzwy','Dxbuzwe','zw50ieK','mtiXtNH5zvrY','DhKUicC','Dwj0Axq','igeGzg8','C3vIDgK','q2XPy2S','tgLUC3e','ifjLCxu','AwqGy28','uvPVrMW','ywDLswq','AxnbCNi','yxjJAgK','B2jQzwm','zxjYB3i','BNmGzNu','nJbbz3z0yxK','BMv4Df8','BgrLCIW','yw5KigW','BgLZDeq','wMjeteW','ugfNzsa','BgLTAxq','z2v0','zgv0ywK','CMjVC2K','B3iGkha','BguGCge','yw1LicG','CNrLzca','CgfNzxm','x2zVCM0','ig9Miha','vgL0Bgu','n3LJsxz4tW','mtm5mdqWofP2vNbNBa','tMfTzsa','zxzLCNK','tg12wu8','ignYzwe','CMv0Dxi','A0z6AMG','ufvcteK','zg9JCW','l2H0BwW','DgL0Bgu','CMvZB2W','BNroyw0','BNrFzM8','ihnPBMC','AwXLzc4','u3vWCg8','DcbUyxy','Dhm6icC','vxbKyxq','B2n1Bwu','ign1CNm','ywDL','BgvKjYa','zguGyxi','B24UicC','Dc4GuMu','twf4igq','kYbKB2m','CIbLzMy','BNrjzca','Dgv4Dc8','CMvXDwK','zv9WywC','BNvTyMu','qLj6zfu','y2LLBNq','BMf0Axy','BwvUDcG','rg9JDw0','lcaNDgu','renftNm','EhPLv0y','BgvUz3q','z2uUifi','AwDHDgK','DgHPBMC','CMnOAxy','ywLUjY4','zMLSDgu','yw5KBgu','icSGzg8','Dcbjrca','ig1LDge','yxbWzw4','ywDLihq','zsbHBMq','uefdrq','DcbPBMy','CM1HDc4','BNrFCge','zfHYBva','BI4Gj2q','zs4GuMu','BNrZ','AxrSzs4','ywDLihm','yxjLBNq','veHjtKC','C3nMDwW','Dg9Ylca','ifbvqKW','zMf1Bhq','DxbbCha','zxCGCge','BYKGBxu','DwLYzwq','yM9VBgu','ugfYzw4','vMLZAwi','otyXmtbyrK14rwC','EhqVCgW','sw52ywW','l2rVy3m','DxjUCYa','rK9mreu','Df9WywC','sw5JBhu','zsbeB2m','z2vZ','iIbUB3q','BwvUDca','igrVy3u','D2jPzvu','DeLKl3a','zxnVBhu','zwqGC3u','q3jLyxq','EwrdBem','qxjYyxK','BgLZDa','B3iGsuq','lIbszxe','y3vYC28','EsbMB3i','B25Zzq','thrlCuq','zgvZ','Dg9mB3C','tMngELq','z2uGzNi','zsKU','zxn0Aw4','AhrTBa','zurVy3u','zvbHz2u','zM9Yihi','CMvUDfq','BgLKifa','Bgv0zwq','DxbKyxq','BNrFzwq','ifbHz2u','BguGkYa','CZOGj3q','BNjotMK','AxjLza','AwrLza','zxrHAwW','ywLSzwq','y2nLC3m','AwqGCge','q29UDgu','DwX0oIa','EvH6Bha','B2X1DgK','BwvUDe4','rxjYB3i','tMfTzs4','EfPPqw8','B3iGDMe','rhmUifi','yw1jza','zxf1Axi','AxrSzq','zNvSBhK','z2uGAw4','ndGWodm2mNPWz09fsG','BuLK','zwnPzMK','DeLKig8','yxvSDdO','zw50CW','Axn0ks4','C3rYAw4','yxrLzca','zcCSicC','zxbYzwm','zw50swq','DxbWB3i','we9Ktgq','rwrPDca','y3jLyxq','ys4Grgu','igrLDge','BMfTzxm','lIbezwy','mJmZotK0ALf1EwDv','DgXLlG','DxrPB24','y2HPBgq','zw50ici','yNKGsuq','zuvYCM8','BMfTzq','C3vJy2u','yxrLzcK','u3rYAw4','Cg9YDgu','zxjdyxm','zwqSige','zsbHig4','B24U','zYbPDhm','B2XZ','kgzVCIa','y29UDgu','zsbPBMK','DgLVBIa','zv9Pza','zsbYzxm','DgLVBI4','igfJDgK','vhLWzsW','CgfNzuK','surZige','suqUifi','ig5HDMK','yw1LlIa','yxqGzM8','CMvU','zw50ihq','zgf0zv8','mty4nJeYswTAAfvU','khnWywm','z2vjzca','jYbYzxq','CIbIEsa','sLrhz3O','yxrPB24','ywDLCW','ywrHDge','y1b0u1m','zxb0Aca','x3bHz2u','Df9Pza','yuj4AuS','ChvIBgK','z2v0rg8','BcbVBMW','AhrTBcC','tgLZDca','nJe3odKZnKLWvKD0BG','z2v0x3a','veftsW','igLUigG','B2nHDgK','oIaTmsa','t2Dft2i','Chf2AxO','Dc9TzcC','Dcbjrc4','zcbMB3i','ugfNAw4','q29UDhi','rcaOChi','u1bbq0u','ihjLCxu','AxrSzsa','Aw5JBhu','m05ZvNn0Bq','BcbTzxq','AwqVBMe','DgfKyxq','zxnWB24','zxr1CM4','zw50ig4','v09ss1m','rvzfuLK','rvbqEeG','zM9YBwe','CY4GuMu','yxrLx3a','suqGAxm','CeLUzMW','ywX0zxi','yLLhEfy','B3jTyxq','Dw1LBNq','ywDLieK','BgvK','igLZihi','CMvZiha','AhbfENa','Axn0Aw4','C3vIx3q','Df90Exa','vvznDK0','zsaRigq','vw5ZDxa','CM9Tige','twf4ihi','zsbPCYa','y2XPy2S','AxmGCMu','CgfJzv8','BNqGzM8','ENbfqxC','zwzLCNi','zw50lIa','swqGB3i','teLtva','CLjLC3a','z2f0Aw8','B20Gysa','CIbKB2m','uMvXDwK','zsbMB3i','ihbHCMu','lcbPBMm','CMvMzxi','zxH0l20','twfUywC','BwfW','zxmGCge','zw50ifa','icD0zxG','zMXHDe0','vxaGzg8','igvMzMK','CNjHEsa','zM9Szgu','ExbLoIa','C2uGDMu','zKnZyvu','B3iGzg8','zvjLC3a','Bwf0CZO','lIbtDxa','r2v0ieq','BwvUDhm','DcbUyw0','uw5uD1q','zxCGzg8','BNqGCge','CxvPCMu','CIb1Cgq','BNruExa','verwCNO','zg9JDw0','BhvKAw4','igzVDw4','CIbNzxq','CgfJzq','BNqGuge','zv9KB2m','y3vTzw4','zxn1Bhq','kgrLzMe','D29YA3m','igeGC3a','Dg9ju08','CYbUyw0','CgfYzw4','ie5HBwu','y3rPB24','BNrLBNq','Dcb0Exa','B2XZihi','zcbHy3q','zwqU','rM91BMq','CgfNzsa','icH0Axq','r2v0igq','yYbKB2m','CM1HDa','zwqPlG','C3bHy2u','BwvZC2e','mJmWmdr5wKTXuxG'];a0_0x5dea=function(){return _0x50cfba;};return a0_0x5dea();}function buildDocumentUrl(_0xd295fe,_0x3abc36){const _0x42e3d1=a0_0x5378c8,_0x4008ac=_0xd295fe[_0x42e3d1(0x131)+_0x42e3d1(0xfb)+'id']||_0x3abc36['getTe'+_0x42e3d1(0x208)]();return a0_0x2b8a57['click'+_0x42e3d1(0x1c3)+_0x42e3d1(0x14b)]+'/'+_0x4008ac+(_0x42e3d1(0x1cd)+'/')+_0xd295fe['id'];}function a0_0x5e96(_0x313287,_0x10df85){_0x313287=_0x313287-0xbb;const _0x5deab7=a0_0x5dea();let _0x5e9606=_0x5deab7[_0x313287];if(a0_0x5e96['jwjRWI']===undefined){var _0x2b34fc=function(_0x3726f6){const _0x16b885='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53bf02='',_0x48eb01='';for(let _0x4bdf0d=0x0,_0x2c7794,_0x343f63,_0x553c4d=0x0;_0x343f63=_0x3726f6['charAt'](_0x553c4d++);~_0x343f63&&(_0x2c7794=_0x4bdf0d%0x4?_0x2c7794*0x40+_0x343f63:_0x343f63,_0x4bdf0d++%0x4)?_0x53bf02+=String['fromCharCode'](0xff&_0x2c7794>>(-0x2*_0x4bdf0d&0x6)):0x0){_0x343f63=_0x16b885['indexOf'](_0x343f63);}for(let _0xbed6=0x0,_0x1a5594=_0x53bf02['length'];_0xbed6<_0x1a5594;_0xbed6++){_0x48eb01+='%'+('00'+_0x53bf02['charCodeAt'](_0xbed6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x48eb01);};a0_0x5e96['NehVAA']=_0x2b34fc,a0_0x5e96['TWznMe']={},a0_0x5e96['jwjRWI']=!![];}const _0x4f25a9=_0x5deab7[0x0];a0_0x5e96['PbJqOG']!==_0x4f25a9&&(a0_0x5e96['TWznMe']={},a0_0x5e96['PbJqOG']=_0x4f25a9);const _0x32f8ac=a0_0x5e96['TWznMe'][_0x313287];return _0x32f8ac===undefined?(_0x5e9606=a0_0x5e96['NehVAA'](_0x5e9606),a0_0x5e96['TWznMe'][_0x313287]=_0x5e9606):_0x5e9606=_0x32f8ac,_0x5e9606;}export const listDocumentsTool={'name':'list_'+'docum'+a0_0x5378c8(0x212),'description':'List\x20'+a0_0x5378c8(0x15b)+a0_0x5378c8(0x112)+a0_0x5378c8(0x12e)+'ts.\x20O'+'ption'+'ally\x20'+a0_0x5378c8(0x1ab)+a0_0x5378c8(0x249)+a0_0x5378c8(0x135)+a0_0x5378c8(0x1d8)+'arent'+a0_0x5378c8(0x23b)+a0_0x5378c8(0x17e)+a0_0x5378c8(0x1c0)+'delet'+a0_0x5378c8(0x22e)+a0_0x5378c8(0x1a9)+a0_0x5378c8(0x13c),'annotations':{'title':a0_0x5378c8(0xc5)+a0_0x5378c8(0x1a1)+a0_0x5378c8(0x212),'readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'parentId':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1c8)+a0_0x5378c8(0x1ae)+a0_0x5378c8(0x246)+'e,\x20fo'+a0_0x5378c8(0x168)+a0_0x5378c8(0x149)+a0_0x5378c8(0x213)},'parentName':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1c8)+'t\x20nam'+'e.'},'parentType':{'type':a0_0x5378c8(0x214)+'g','enum':[a0_0x5378c8(0xd4),a0_0x5378c8(0x1cf)+'R',a0_0x5378c8(0x101),a0_0x5378c8(0xdf)+a0_0x5378c8(0x1b3),a0_0x5378c8(0xe0)+'THING','TASK'],'description':'Paren'+a0_0x5378c8(0x139)+'e.'},'creator':{'type':'numbe'+'r','description':'Filte'+a0_0x5378c8(0x249)+a0_0x5378c8(0x21c)+a0_0x5378c8(0x1df)+'.'},'deleted':{'type':a0_0x5378c8(0x1c7)+'an','description':a0_0x5378c8(0x1d1)+'de\x20de'+a0_0x5378c8(0x1f1)+a0_0x5378c8(0x1d6)+'ments'+'.'},'archived':{'type':'boole'+'an','description':a0_0x5378c8(0x1d1)+a0_0x5378c8(0x192)+'chive'+'d\x20doc'+'ument'+'s.'},'limit':{'type':a0_0x5378c8(0x19c)+'r','description':a0_0x5378c8(0xf7)+a0_0x5378c8(0x12f)+'s.'},'cursor':{'type':'strin'+'g','description':a0_0x5378c8(0xd1)+a0_0x5378c8(0x24b)+a0_0x5378c8(0x18f)+a0_0x5378c8(0x171)+a0_0x5378c8(0x10a)+'red).'},'next_cursor':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0xd1)+'ation'+a0_0x5378c8(0x18f)+a0_0x5378c8(0x14c)+a0_0x5378c8(0x217)+a0_0x5378c8(0x22a)+'.'},'detail_level':{'type':a0_0x5378c8(0x214)+'g','enum':[a0_0x5378c8(0x21f),a0_0x5378c8(0x16f)+'led'],'description':a0_0x5378c8(0xd2)+a0_0x5378c8(0x13a)+a0_0x5378c8(0xdc)+a0_0x5378c8(0x117)+a0_0x5378c8(0x170)+a0_0x5378c8(0x157)+'names'+a0_0x5378c8(0x248)+a0_0x5378c8(0x1ce)+a0_0x5378c8(0xda)+'me/ur'+a0_0x5378c8(0xc3)+a0_0x5378c8(0x1e2)+a0_0x5378c8(0x113)+a0_0x5378c8(0x19e)+a0_0x5378c8(0x23f)+a0_0x5378c8(0x103)+a0_0x5378c8(0x1b8)+a0_0x5378c8(0x1fa)+'ed\x27\x20r'+a0_0x5378c8(0xdd)+'s\x20ful'+a0_0x5378c8(0xd9)+a0_0x5378c8(0xbb)+a0_0x5378c8(0x220)+a0_0x5378c8(0x211)+a0_0x5378c8(0x21e)+a0_0x5378c8(0x189)}}}};export const getDocumentTool={'name':a0_0x5378c8(0x14d)+a0_0x5378c8(0x18e)+'nt','description':a0_0x5378c8(0x140)+a0_0x5378c8(0x1fa)+'ed\x20in'+a0_0x5378c8(0xe2)+a0_0x5378c8(0x236)+'about'+a0_0x5378c8(0x132)+a0_0x5378c8(0x20f)+a0_0x5378c8(0x141)+a0_0x5378c8(0xea)+a0_0x5378c8(0x109)+a0_0x5378c8(0x128)+a0_0x5378c8(0x231)+a0_0x5378c8(0x1af)+'data\x20'+a0_0x5378c8(0x169)+a0_0x5378c8(0xca)+a0_0x5378c8(0x230),'annotations':{'title':a0_0x5378c8(0x11d)+'ocume'+'nt','openWorldHint':!![]},'inputSchema':{'type':a0_0x5378c8(0x163)+'t','properties':{'documentId':{'type':'strin'+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x155)+a0_0x5378c8(0xd3)+a0_0x5378c8(0xfe)+a0_0x5378c8(0x143)},'title':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x243)+a0_0x5378c8(0xd6)+a0_0x5378c8(0x233)+'name\x20'+a0_0x5378c8(0x185)+'ution'+').'},'parentId':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1c8)+a0_0x5378c8(0x1ae)+'for\x20t'+'itle\x20'+a0_0x5378c8(0x185)+a0_0x5378c8(0x223)+'.'},'parentName':{'type':'strin'+'g','description':'Paren'+a0_0x5378c8(0x11f)+a0_0x5378c8(0x107)+'\x20titl'+a0_0x5378c8(0x238)+a0_0x5378c8(0x201)+a0_0x5378c8(0x230)},'parentType':{'type':'strin'+'g','enum':[a0_0x5378c8(0x144),a0_0x5378c8(0x115)+'r','list',a0_0x5378c8(0x131)+a0_0x5378c8(0x12b),'every'+'thing',a0_0x5378c8(0xc8)],'description':a0_0x5378c8(0x1c8)+a0_0x5378c8(0x139)+'e.'}}}};export const createDocumentTool={'name':a0_0x5378c8(0x21c)+a0_0x5378c8(0x12d)+a0_0x5378c8(0xea),'description':a0_0x5378c8(0x1db)+'e\x20a\x20n'+a0_0x5378c8(0x121)+a0_0x5378c8(0x12e)+a0_0x5378c8(0x194)+'quire'+a0_0x5378c8(0x134)+a0_0x5378c8(0x1b2)+a0_0x5378c8(0x108)+a0_0x5378c8(0x125)+'e.','annotations':{'title':a0_0x5378c8(0x1db)+a0_0x5378c8(0x1d2)+a0_0x5378c8(0xea)},'inputSchema':{'type':a0_0x5378c8(0x163)+'t','properties':{'name':{'type':a0_0x5378c8(0x214)+'g','description':'Docum'+a0_0x5378c8(0xde)+a0_0x5378c8(0x240)+'Requi'+'red.'},'parentId':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1c8)+a0_0x5378c8(0xcf)},'parentName':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1c8)+a0_0x5378c8(0x11f)+'e.'},'parentType':{'type':a0_0x5378c8(0x214)+'g','enum':['space',a0_0x5378c8(0x115)+'r',a0_0x5378c8(0x1de),a0_0x5378c8(0x131)+a0_0x5378c8(0x12b),a0_0x5378c8(0x17c)+a0_0x5378c8(0x1a8),'TASK'],'description':'Paren'+a0_0x5378c8(0x139)+a0_0x5378c8(0x1b9)+a0_0x5378c8(0x123)+'d.'},'visibility':{'type':a0_0x5378c8(0x214)+'g','enum':[a0_0x5378c8(0x181)+'C','PRIVA'+'TE'],'description':a0_0x5378c8(0x1c9)+'ility'+a0_0x5378c8(0x153)+a0_0x5378c8(0x211)+a0_0x5378c8(0x1c1)+'IC).'},'create_page':{'type':'boole'+'an','description':a0_0x5378c8(0x1db)+a0_0x5378c8(0x235)+'tial\x20'+a0_0x5378c8(0x13e)+a0_0x5378c8(0x130)+a0_0x5378c8(0x1ff)+a0_0x5378c8(0x147)+'.'}},'required':['name','paren'+'tType']}};export const listDocumentPagesTool={'name':a0_0x5378c8(0x14e)+a0_0x5378c8(0x127)+'ent_p'+a0_0x5378c8(0x24c),'description':a0_0x5378c8(0xc5)+'pages'+'\x20in\x20a'+'\x20docu'+'ment.'+a0_0x5378c8(0x15d)+'ires\x20'+'docum'+a0_0x5378c8(0x218)+'\x20or\x20d'+a0_0x5378c8(0x18e)+a0_0x5378c8(0x186)+'e.','annotations':{'title':'List\x20'+'Docum'+a0_0x5378c8(0x10f)+a0_0x5378c8(0x24c),'readOnlyHint':!![]},'inputSchema':{'type':a0_0x5378c8(0x163)+'t','properties':{'documentId':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x155)+'D\x20(pr'+'eferr'+'ed).'},'documentName':{'type':'strin'+'g','description':'Docum'+a0_0x5378c8(0xde)+a0_0x5378c8(0x173)+a0_0x5378c8(0xe7)+'nativ'+a0_0x5378c8(0x1e9)},'title':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x243)+a0_0x5378c8(0xd6)+a0_0x5378c8(0x1ee)+a0_0x5378c8(0x1d9)+a0_0x5378c8(0x239)},'max_page_depth':{'type':'numbe'+'r','description':a0_0x5378c8(0x195)+a0_0x5378c8(0xbd)+'for\x20p'+'age\x20l'+a0_0x5378c8(0xf0)+a0_0x5378c8(0x150)+'fault'+a0_0x5378c8(0xcb)+'(all)'+'.'},'detail_level':{'type':'strin'+'g','enum':[a0_0x5378c8(0x21f),a0_0x5378c8(0x16f)+a0_0x5378c8(0xec)],'description':'Contr'+a0_0x5378c8(0x13a)+a0_0x5378c8(0xdc)+'se\x20ve'+a0_0x5378c8(0x170)+a0_0x5378c8(0x157)+'names'+a0_0x5378c8(0x248)+a0_0x5378c8(0x1ce)+'id/na'+'me\x20on'+'ly\x20fo'+a0_0x5378c8(0x197)+'icien'+a0_0x5378c8(0x18b)+a0_0x5378c8(0x1a7)+a0_0x5378c8(0x193)+a0_0x5378c8(0x16f)+a0_0x5378c8(0x191)+a0_0x5378c8(0x17f)+a0_0x5378c8(0x165)+'ll\x20pa'+'ge\x20me'+a0_0x5378c8(0xdb)+a0_0x5378c8(0x21d)+a0_0x5378c8(0x1c2)+':\x20det'+a0_0x5378c8(0x1fb)+'.'}}}};export const getDocumentPageTool={'name':a0_0x5378c8(0x14d)+a0_0x5378c8(0x18e)+a0_0x5378c8(0x1b6)+'ge','description':'Get\x20a'+a0_0x5378c8(0x188)+a0_0x5378c8(0x172)+a0_0x5378c8(0x1e8)+a0_0x5378c8(0x104)+a0_0x5378c8(0x127)+a0_0x5378c8(0xff)+a0_0x5378c8(0x106)+a0_0x5378c8(0xee)+a0_0x5378c8(0x160)+a0_0x5378c8(0x1ad)+'cumen'+'tId\x20o'+a0_0x5378c8(0x105)+'ument'+a0_0x5378c8(0x204),'annotations':{'title':'Get\x20D'+a0_0x5378c8(0x18e)+a0_0x5378c8(0x12c)+'ge','readOnlyHint':!![]},'inputSchema':{'type':a0_0x5378c8(0x163)+'t','properties':{'pageId':{'type':'strin'+'g','description':a0_0x5378c8(0x16c)+a0_0x5378c8(0x23e)+a0_0x5378c8(0x209)+a0_0x5378c8(0x13c)},'documentId':{'type':'strin'+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x155)+a0_0x5378c8(0xd3)+'eferr'+a0_0x5378c8(0x143)},'documentName':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0xde)+a0_0x5378c8(0x173)+'alter'+a0_0x5378c8(0x19f)+a0_0x5378c8(0x1e9)},'title':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x243)+a0_0x5378c8(0xd6)+a0_0x5378c8(0x1ee)+a0_0x5378c8(0x1d9)+a0_0x5378c8(0x239)},'content_format':{'type':a0_0x5378c8(0x214)+'g','enum':['text/'+'md',a0_0x5378c8(0x199)+a0_0x5378c8(0x1eb)],'description':a0_0x5378c8(0x1fe)+a0_0x5378c8(0xfc)+a0_0x5378c8(0x1b5)}},'required':[a0_0x5378c8(0x23c)+'d']}};export const getDocumentPagesTool={'name':'get_d'+a0_0x5378c8(0x18e)+a0_0x5378c8(0x1b6)+'ges','description':'Get\x20m'+'ultip'+'le\x20pa'+'ges\x20f'+a0_0x5378c8(0xf6)+a0_0x5378c8(0x1d6)+a0_0x5378c8(0x1d5)+a0_0x5378c8(0x226)+a0_0x5378c8(0xe3)+a0_0x5378c8(0x123)+'s\x20pag'+'eIds\x20'+'array'+a0_0x5378c8(0x1ad)+'cumen'+a0_0x5378c8(0x210)+'r\x20doc'+a0_0x5378c8(0xea)+a0_0x5378c8(0x204),'annotations':{'title':'Get\x20D'+a0_0x5378c8(0x18e)+a0_0x5378c8(0x12c)+a0_0x5378c8(0x1d3),'readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'pageIds':{'type':'array','items':{'type':a0_0x5378c8(0x214)+'g'},'description':a0_0x5378c8(0x1dd)+a0_0x5378c8(0x177)+a0_0x5378c8(0xeb)+a0_0x5378c8(0x207)+'equir'+'ed.'},'documentId':{'type':a0_0x5378c8(0x214)+'g','description':'Docum'+'ent\x20I'+a0_0x5378c8(0xd3)+a0_0x5378c8(0xfe)+a0_0x5378c8(0x143)},'documentName':{'type':'strin'+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0xde)+a0_0x5378c8(0x173)+a0_0x5378c8(0xe7)+a0_0x5378c8(0x19f)+a0_0x5378c8(0x1e9)},'title':{'type':a0_0x5378c8(0x214)+'g','description':'Docum'+'ent\x20t'+a0_0x5378c8(0xd6)+a0_0x5378c8(0x1ee)+a0_0x5378c8(0x1d9)+a0_0x5378c8(0x239)},'content_format':{'type':a0_0x5378c8(0x214)+'g','enum':[a0_0x5378c8(0x199)+'md',a0_0x5378c8(0x199)+a0_0x5378c8(0x1eb)],'description':a0_0x5378c8(0x1fe)+'nt\x20fo'+a0_0x5378c8(0x1b5)}},'required':[a0_0x5378c8(0x23c)+'ds']}};export const createDocumentPageTool={'name':a0_0x5378c8(0x21c)+a0_0x5378c8(0x12d)+a0_0x5378c8(0xea)+'_page','description':a0_0x5378c8(0x1db)+a0_0x5378c8(0x22f)+a0_0x5378c8(0x1c4)+a0_0x5378c8(0x20c)+a0_0x5378c8(0x159)+a0_0x5378c8(0x12e)+'t.\x20Re'+a0_0x5378c8(0x123)+a0_0x5378c8(0x134)+a0_0x5378c8(0xf4)+a0_0x5378c8(0x18e)+a0_0x5378c8(0x198)+a0_0x5378c8(0x119)+a0_0x5378c8(0x12e)+'tName'+'.','annotations':{'title':a0_0x5378c8(0x1db)+a0_0x5378c8(0x1d2)+a0_0x5378c8(0xea)+a0_0x5378c8(0x1f4)},'inputSchema':{'type':'objec'+'t','properties':{'name':{'type':a0_0x5378c8(0x214)+'g','description':'Page\x20'+a0_0x5378c8(0x184)+'/name'+a0_0x5378c8(0x1e0)+a0_0x5378c8(0x1c6)+'.'},'documentId':{'type':'strin'+'g','description':'Docum'+a0_0x5378c8(0x155)+'D\x20(pr'+'eferr'+a0_0x5378c8(0x143)},'documentName':{'type':a0_0x5378c8(0x214)+'g','description':'Docum'+a0_0x5378c8(0xde)+'ame\x20('+a0_0x5378c8(0xe7)+'nativ'+a0_0x5378c8(0x1e9)},'title':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x243)+'itle\x20'+a0_0x5378c8(0x1ee)+'esolu'+a0_0x5378c8(0x239)},'content':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x16c)+a0_0x5378c8(0x234)+'nt.'},'sub_title':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x16c)+a0_0x5378c8(0x15a)+a0_0x5378c8(0x222)},'parent_page_id':{'type':'strin'+'g','description':a0_0x5378c8(0x1c8)+'t\x20pag'+'e\x20ID\x20'+a0_0x5378c8(0x152)+a0_0x5378c8(0x1ea)+'g.'},'content_format':{'type':'strin'+'g','enum':[a0_0x5378c8(0x199)+'md',a0_0x5378c8(0x199)+a0_0x5378c8(0x14a)],'description':a0_0x5378c8(0x1fe)+a0_0x5378c8(0xfc)+a0_0x5378c8(0x1b5)}},'required':[a0_0x5378c8(0x228)]}};export const updateDocumentPageTool={'name':a0_0x5378c8(0x1f2)+a0_0x5378c8(0x12d)+'ument'+a0_0x5378c8(0xbe),'description':a0_0x5378c8(0x18d)+'e\x20a\x20d'+a0_0x5378c8(0x18e)+a0_0x5378c8(0x122)+a0_0x5378c8(0x1a6)+a0_0x5378c8(0x209)+a0_0x5378c8(0x10e)+a0_0x5378c8(0x247)+a0_0x5378c8(0x196)+a0_0x5378c8(0xea)+a0_0x5378c8(0x100)+a0_0x5378c8(0x1d6)+a0_0x5378c8(0x202)+'ame.','annotations':{'title':a0_0x5378c8(0x18d)+'e\x20Doc'+a0_0x5378c8(0xea)+a0_0x5378c8(0x1f4)},'inputSchema':{'type':'objec'+'t','properties':{'pageId':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x16c)+a0_0x5378c8(0x23e)+a0_0x5378c8(0x209)+a0_0x5378c8(0x13c)},'documentId':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x155)+a0_0x5378c8(0xd3)+a0_0x5378c8(0xfe)+a0_0x5378c8(0x143)},'documentName':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0xde)+a0_0x5378c8(0x173)+a0_0x5378c8(0xe7)+'nativ'+a0_0x5378c8(0x1e9)},'title':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x1a1)+a0_0x5378c8(0x243)+a0_0x5378c8(0xd6)+a0_0x5378c8(0x1ee)+a0_0x5378c8(0x1d9)+a0_0x5378c8(0x239)},'name':{'type':'strin'+'g','description':'New\x20p'+a0_0x5378c8(0x1b1)+a0_0x5378c8(0x1bb)},'sub_title':{'type':a0_0x5378c8(0x214)+'g','description':'New\x20p'+a0_0x5378c8(0x1bc)+a0_0x5378c8(0x158)+'le.'},'content':{'type':a0_0x5378c8(0x214)+'g','description':a0_0x5378c8(0x16c)+'conte'+'nt.'},'content_format':{'type':'strin'+'g','enum':[a0_0x5378c8(0x199)+'md',a0_0x5378c8(0x199)+a0_0x5378c8(0x14a)],'description':a0_0x5378c8(0x1fe)+a0_0x5378c8(0xfc)+a0_0x5378c8(0x1b5)},'content_edit_mode':{'type':a0_0x5378c8(0x214)+'g','enum':['repla'+'ce',a0_0x5378c8(0x1b0)+'d','prepe'+'nd'],'description':a0_0x5378c8(0x21b)+'mode.'}},'required':[a0_0x5378c8(0x23c)+'d']}};export async function handleManageDocuments(_0x5c1ce4,_0x25a9d6){const _0x29a79c=a0_0x5378c8,_0x5b21c6={'cnqje':function(_0x4865ce,_0x592206,_0x5a7ff3){return _0x4865ce(_0x592206,_0x5a7ff3);},'BRzdU':'list_'+_0x29a79c(0x175),'JTGgz':function(_0x347403,_0x355bb8,_0x1f4d8b){return _0x347403(_0x355bb8,_0x1f4d8b);},'oGiSR':function(_0x1406b9,_0x55fcb8,_0x2e83ea){return _0x1406b9(_0x55fcb8,_0x2e83ea);},'qpBHf':function(_0x4993fc,_0x27f890,_0x4d5f40){return _0x4993fc(_0x27f890,_0x4d5f40);},'aqWyt':function(_0xb0dda7,_0x31868b,_0x4fc5e8){return _0xb0dda7(_0x31868b,_0x4fc5e8);}},{action:_0x23bfb8}=_0x5c1ce4;try{switch(_0x23bfb8){case _0x29a79c(0x21c)+'e':return await handleCreateDocument(_0x5c1ce4,_0x25a9d6);case _0x29a79c(0x16e):return await _0x5b21c6['cnqje'](handleGetDocument,_0x5c1ce4,_0x25a9d6);case _0x29a79c(0x1de):return await handleListDocuments(_0x5c1ce4,_0x25a9d6);case _0x5b21c6[_0x29a79c(0x19d)]:return await _0x5b21c6[_0x29a79c(0x24a)](handleListDocumentPages,_0x5c1ce4,_0x25a9d6);case'get_p'+_0x29a79c(0x190):return await handleGetDocumentPage(_0x5c1ce4,_0x25a9d6);case _0x29a79c(0xc7)+_0x29a79c(0x24c):return await _0x5b21c6['oGiSR'](handleGetDocumentPages,_0x5c1ce4,_0x25a9d6);case'creat'+'e_pag'+'e':return await _0x5b21c6['qpBHf'](handleCreateDocumentPage,_0x5c1ce4,_0x25a9d6);case _0x29a79c(0x1f2)+_0x29a79c(0x19b)+'e':return await _0x5b21c6['aqWyt'](handleUpdateDocumentPage,_0x5c1ce4,_0x25a9d6);default:return sponsorService['creat'+_0x29a79c(0x227)+_0x29a79c(0x102)+_0x29a79c(0x1e3)](_0x29a79c(0xf5)+_0x29a79c(0x22c)+_0x29a79c(0x13b)+'ion:\x20'+_0x23bfb8);}}catch(_0x5210e5){return logger[_0x29a79c(0x164)](_0x29a79c(0x203)+_0x29a79c(0xc9)+_0x29a79c(0x1ac)+_0x29a79c(0x10c)+'eDocu'+_0x29a79c(0x11e)+'\x20('+_0x23bfb8+'):',_0x5210e5),sponsorService[_0x29a79c(0x21c)+_0x29a79c(0x227)+_0x29a79c(0x102)+'onse'](_0x5210e5[_0x29a79c(0x145)+'ge']||String(_0x5210e5));}}async function handleCreateDocument(_0x5e3f22,_0x3445bb){const _0x5d18e0=a0_0x5378c8,_0x67dad1={'hGTTm':_0x5d18e0(0x1c8)+_0x5d18e0(0x139)+_0x5d18e0(0xf8)+_0x5d18e0(0x19a)+'red','zpEAw':function(_0x4850ba,_0x3f3587){return _0x4850ba===_0x3f3587;},'QnTwT':function(_0x22810a,_0x4640a8,_0x222663){return _0x22810a(_0x4640a8,_0x222663);},'nrNNi':_0x5d18e0(0x115)+'r','DCENs':function(_0x58ea5e,_0x122c2b,_0x3f0bc5,_0xaf6d2b){return _0x58ea5e(_0x122c2b,_0x3f0bc5,_0xaf6d2b);},'LmvYO':_0x5d18e0(0x131)+_0x5d18e0(0x12b),'kFzjh':'Paren'+_0x5d18e0(0x1ae)+_0x5d18e0(0x206)+_0x5d18e0(0x1f0)+_0x5d18e0(0x1bd)+_0x5d18e0(0x136)+_0x5d18e0(0xed)+_0x5d18e0(0x209)+'ed','UVMvM':function(_0x350f9d,_0x397c32){return _0x350f9d===_0x397c32;}},{document:_0x5e5f41,workspace:_0x57c2b4}=_0x3445bb,{name:_0x147b1e,parentId:_0x1302aa,parentName:_0x31e0e2,parentType:_0x3638a5,visibility:visibility=_0x5d18e0(0x181)+'C',create_page:create_page=!![]}=_0x5e3f22;if(!_0x147b1e)return sponsorService[_0x5d18e0(0x21c)+_0x5d18e0(0x227)+_0x5d18e0(0x102)+'onse'](_0x5d18e0(0x17b)+'is\x20re'+_0x5d18e0(0x123)+'d');if(!_0x3638a5)return sponsorService[_0x5d18e0(0x21c)+_0x5d18e0(0x227)+'rResp'+_0x5d18e0(0x1e3)](_0x67dad1['hGTTm']);let _0x37941a=_0x1302aa;if(!_0x37941a&&_0x31e0e2){const _0x40f0e0=_0x3638a5['toLow'+'erCas'+'e']();if(_0x67dad1[_0x5d18e0(0xfd)](_0x40f0e0,_0x5d18e0(0x1de))){const _0x50b353=await _0x67dad1[_0x5d18e0(0x120)](findListIDByName,_0x57c2b4,_0x31e0e2);if(!_0x50b353)throw new Error(_0x5d18e0(0xc5)+'\x22'+_0x31e0e2+(_0x5d18e0(0x1d4)+_0x5d18e0(0x129)+'d'));_0x37941a=_0x50b353['id'];}else{if([_0x5d18e0(0x144),_0x67dad1[_0x5d18e0(0x1f7)]][_0x5d18e0(0xd7)+_0x5d18e0(0x1e5)](_0x40f0e0)){_0x37941a=await _0x67dad1[_0x5d18e0(0x1a3)](findParentIdByName,_0x31e0e2,_0x40f0e0,_0x57c2b4);if(!_0x37941a)throw new Error(_0x40f0e0+'\x20\x22'+_0x31e0e2+(_0x5d18e0(0x1d4)+_0x5d18e0(0x129)+'d'));}else{if(_0x67dad1[_0x5d18e0(0xfd)](_0x40f0e0,_0x67dad1[_0x5d18e0(0x17d)])){if(a0_0x2b8a57[_0x5d18e0(0xf9)+_0x5d18e0(0x154)+_0x5d18e0(0x20e)])_0x37941a=a0_0x2b8a57[_0x5d18e0(0xf9)+'upTea'+_0x5d18e0(0x20e)];}}}}!_0x37941a&&_0x67dad1['zpEAw'](_0x3638a5['toLow'+_0x5d18e0(0x22d)+'e'](),_0x5d18e0(0x131)+_0x5d18e0(0x12b))&&a0_0x2b8a57[_0x5d18e0(0xf9)+_0x5d18e0(0x154)+'mId']&&(_0x37941a=a0_0x2b8a57[_0x5d18e0(0xf9)+'upTea'+_0x5d18e0(0x20e)]);if(!_0x37941a)return sponsorService[_0x5d18e0(0x21c)+_0x5d18e0(0x227)+'rResp'+_0x5d18e0(0x1e3)](_0x67dad1[_0x5d18e0(0x180)]);const _0x55f294={'space':0x4,'folder':0x5,'list':0x6,'everything':0x7,'task':0xa,'workspace':0xc},_0x15c7cf=_0x3638a5[_0x5d18e0(0x1e6)+_0x5d18e0(0x22d)+'e'](),_0x499805=_0x55f294[_0x15c7cf];if(_0x67dad1[_0x5d18e0(0xf3)](_0x499805,undefined))return sponsorService['creat'+_0x5d18e0(0x227)+_0x5d18e0(0x102)+_0x5d18e0(0x1e3)](_0x5d18e0(0x1cc)+_0x5d18e0(0x1fd)+_0x5d18e0(0x1ef)+_0x5d18e0(0x116)+_0x3638a5);const _0x4e95ae={'name':_0x147b1e,'parent':{'id':_0x37941a,'type':_0x499805},'visibility':visibility,'create_page':create_page},_0x26ea84=await _0x5e5f41[_0x5d18e0(0x21c)+_0x5d18e0(0x1ec)+'ment'](_0x4e95ae);return sponsorService[_0x5d18e0(0x21c)+_0x5d18e0(0x11a)+'onse']({'id':_0x26ea84['id'],'name':_0x26ea84[_0x5d18e0(0x228)],'parent':_0x26ea84['paren'+'t'],'url':_0x67dad1['QnTwT'](buildDocumentUrl,_0x26ea84,_0x57c2b4),'message':_0x5d18e0(0x1a1)+_0x5d18e0(0x225)+_0x147b1e+('\x22\x20cre'+_0x5d18e0(0x215)+_0x5d18e0(0x229)+_0x5d18e0(0x1bf)+'ly')},!![]);}async function handleGetDocument(_0x2b0dd9,_0x27a394){const _0x4b4881=a0_0x5378c8,_0x5c7924={'cKJWn':_0x4b4881(0x115)+'r','fCsaU':'list','baMwf':function(_0x16352e,_0x239081,_0x5596f0,_0x5e2e57){return _0x16352e(_0x239081,_0x5596f0,_0x5e2e57);},'xzeWF':function(_0x588d7f,_0x4e455d,_0x4c9150){return _0x588d7f(_0x4e455d,_0x4c9150);}},{document:_0x518d13,workspace:_0x226268}=_0x27a394,{documentId:_0x5777b7,title:_0x8244d4,parentId:_0x58ad2c,parentName:_0x125f50,parentType:_0x41093c}=_0x2b0dd9;let _0x249791=_0x5777b7,_0x320d02=_0x58ad2c;if(!_0x320d02&&_0x125f50&&_0x41093c){const _0x552a5d=_0x41093c['toLow'+_0x4b4881(0x22d)+'e']();[_0x4b4881(0x144),_0x5c7924['cKJWn'],_0x5c7924[_0x4b4881(0x118)]][_0x4b4881(0xd7)+_0x4b4881(0x1e5)](_0x552a5d)&&(_0x320d02=await _0x5c7924['baMwf'](findParentIdByName,_0x125f50,_0x552a5d,_0x226268));}!_0x249791&&_0x8244d4&&_0x320d02&&(_0x249791=await findDocumentByTitle(_0x320d02,_0x8244d4,_0x518d13));if(!_0x249791)throw new Error('Eithe'+_0x4b4881(0x105)+'ument'+_0x4b4881(0x100)+_0x4b4881(0x13f)+_0x4b4881(0x1f5)+'paren'+_0x4b4881(0x1b4)+_0x4b4881(0x1c5)+'st\x20be'+'\x20prov'+_0x4b4881(0x1f9));const _0x2ba789=await _0x518d13[_0x4b4881(0xc2)+'cumen'+'t'](_0x249791);return sponsorService[_0x4b4881(0x21c)+_0x4b4881(0x11a)+_0x4b4881(0x1e3)]({'id':_0x2ba789['id'],'name':_0x2ba789[_0x4b4881(0x228)],'parent':_0x2ba789['paren'+'t'],'created':new Date(_0x2ba789[_0x4b4881(0x244)+_0x4b4881(0x21c)+'ed'])[_0x4b4881(0x133)+'Strin'+'g'](),'updated':new Date(_0x2ba789['date_'+_0x4b4881(0x1f2)+'ed'])['toISO'+'Strin'+'g'](),'creator':_0x2ba789[_0x4b4881(0x21c)+'or'],'public':_0x2ba789[_0x4b4881(0xc1)+'c'],'type':_0x2ba789['type'],'url':_0x5c7924[_0x4b4881(0x1a4)](buildDocumentUrl,_0x2ba789,_0x226268)},!![]);}async function handleListDocuments(_0xfaf743,_0x121107){const _0x3c7f0b=a0_0x5378c8,_0x2cd6c2={'hpEzp':_0x3c7f0b(0x16f)+'led','bYGxV':_0x3c7f0b(0x144),'yXzlp':function(_0xc996b4,_0x2af40d,_0x36e8b2,_0x2d0b51){return _0xc996b4(_0x2af40d,_0x36e8b2,_0x2d0b51);},'dXrmP':_0x3c7f0b(0x1cf)+'R','aBxiK':'LIST','dgyWI':_0x3c7f0b(0xe0)+_0x3c7f0b(0x1be),'xZiAo':_0x3c7f0b(0xdf)+_0x3c7f0b(0x1b3),'OgEOb':function(_0x386c60,_0x21ab9e){return _0x386c60!==_0x21ab9e;},'IuOLY':function(_0x4dec96,_0xcd6e24){return _0x4dec96!==_0xcd6e24;},'ydClC':function(_0x13ef3c,_0x5cdcc4){return _0x13ef3c===_0x5cdcc4;},'EPPxH':function(_0x3e2bac,_0x4aa7b3){return _0x3e2bac!==_0x4aa7b3;},'NcFzT':function(_0x2bb6e7,_0x2f8402){return _0x2bb6e7!==_0x2f8402;},'QZoFl':function(_0x4f0f0c,_0x95687a){return _0x4f0f0c===_0x95687a;}},{document:_0x5b5a2b,workspace:_0x2b5a8c}=_0x121107,{detail_level:detail_level=_0x2cd6c2[_0x3c7f0b(0xef)]}=_0xfaf743;let {id:_0x2cc731,creator:_0x49ee05,deleted:_0x28c77d,archived:_0x3d98c3,parentId:_0x317c08,parentName:_0x483e17,parentType:_0x6bfe27,limit:_0x5e14ad,cursor:_0x8c05b7,next_cursor:_0x364489}=_0xfaf743;if(!_0x317c08&&_0x483e17&&_0x6bfe27){const _0x3e1e82=_0x6bfe27[_0x3c7f0b(0x1e6)+'erCas'+'e']();if(_0x3e1e82===_0x3c7f0b(0x1de)){const _0xf31984=await findListIDByName(_0x2b5a8c,_0x483e17);if(_0xf31984)_0x317c08=_0xf31984['id'];}else[_0x2cd6c2[_0x3c7f0b(0xe8)],_0x3c7f0b(0x115)+'r'][_0x3c7f0b(0xd7)+'des'](_0x3e1e82)&&(_0x317c08=await _0x2cd6c2[_0x3c7f0b(0x200)](findParentIdByName,_0x483e17,_0x3e1e82,_0x2b5a8c));}const _0x46361c={'space':_0x3c7f0b(0xd4),'folder':_0x2cd6c2[_0x3c7f0b(0x1b7)],'list':_0x2cd6c2[_0x3c7f0b(0xc0)],'everything':_0x2cd6c2['dgyWI'],'task':_0x3c7f0b(0xc8),'workspace':_0x2cd6c2[_0x3c7f0b(0x205)]},_0x5732e0={};if(_0x2cd6c2[_0x3c7f0b(0xcc)](_0x2cc731,undefined))_0x5732e0['id']=_0x2cc731;if(_0x2cd6c2[_0x3c7f0b(0xcc)](_0x49ee05,undefined))_0x5732e0['creat'+'or']=_0x49ee05;if(_0x2cd6c2[_0x3c7f0b(0x14f)](_0x28c77d,undefined))_0x5732e0['delet'+'ed']=_0x28c77d;if(_0x3d98c3!==undefined)_0x5732e0[_0x3c7f0b(0x162)+'ved']=_0x3d98c3;_0x317c08!==undefined&&(_0x5732e0[_0x3c7f0b(0x135)+_0x3c7f0b(0xbf)]=_0x317c08);if(_0x6bfe27!==undefined){const _0x269189=_0x6bfe27[_0x3c7f0b(0x1e6)+_0x3c7f0b(0x22d)+'e'](),_0xc30d77=_0x46361c[_0x269189];if(_0x2cd6c2[_0x3c7f0b(0x1dc)](_0xc30d77,_0x2cd6c2[_0x3c7f0b(0x205)]))_0x317c08&&(_0x5732e0[_0x3c7f0b(0x135)+_0x3c7f0b(0xf2)+'e']=_0xc30d77);else _0xc30d77&&(_0x5732e0['paren'+_0x3c7f0b(0xf2)+'e']=_0xc30d77);}if(_0x2cd6c2[_0x3c7f0b(0xe1)](_0x5e14ad,undefined))_0x5732e0[_0x3c7f0b(0x16d)]=_0x5e14ad;if(_0xfaf743[_0x3c7f0b(0x1e1)+'r']!==undefined)_0x5732e0[_0x3c7f0b(0x1e1)+'r']=_0xfaf743[_0x3c7f0b(0x1e1)+'r'];else _0x2cd6c2[_0x3c7f0b(0x1e7)](_0x364489,undefined)&&(_0x5732e0[_0x3c7f0b(0x1e1)+'r']=_0x364489);const _0x2636fc=await _0x5b5a2b[_0x3c7f0b(0x16a)+_0x3c7f0b(0x18e)+_0x3c7f0b(0x1ba)](_0x5732e0);if(_0x2cd6c2[_0x3c7f0b(0x15f)](detail_level,'names')){const _0x1ea82c=(_0x2636fc[_0x3c7f0b(0x182)]||[])['map'](_0x553cfa=>({'id':_0x553cfa['id'],'name':_0x553cfa[_0x3c7f0b(0x228)],'url':buildDocumentUrl(_0x553cfa,_0x2b5a8c)}));return sponsorService[_0x3c7f0b(0x21c)+_0x3c7f0b(0x11a)+_0x3c7f0b(0x1e3)]({'documents':_0x1ea82c,'count':_0x1ea82c[_0x3c7f0b(0x1a5)+'h'],'cursor':_0x2636fc[_0x3c7f0b(0x1e1)+'r'],'next_cursor':_0x2636fc['next_'+_0x3c7f0b(0x1e1)+'r'],'message':_0x3c7f0b(0x13d)+'\x20'+_0x1ea82c[_0x3c7f0b(0x1a5)+'h']+('\x20docu'+'ment('+'s)')},!![]);}const _0x40fae4=(_0x2636fc[_0x3c7f0b(0x182)]||[])[_0x3c7f0b(0x10d)](_0x1408ec=>({'id':_0x1408ec['id'],'name':_0x1408ec['name'],'url':buildDocumentUrl(_0x1408ec,_0x2b5a8c),'parent':_0x1408ec['paren'+'t'],'created':new Date(_0x1408ec['date_'+_0x3c7f0b(0x21c)+'ed'])['toISO'+_0x3c7f0b(0x22b)+'g'](),'updated':new Date(_0x1408ec[_0x3c7f0b(0x244)+_0x3c7f0b(0x1f2)+'ed'])[_0x3c7f0b(0x133)+_0x3c7f0b(0x22b)+'g'](),'creator':_0x1408ec[_0x3c7f0b(0x21c)+'or'],'public':_0x1408ec['publi'+'c'],'type':_0x1408ec['type']}));return sponsorService[_0x3c7f0b(0x21c)+'eResp'+_0x3c7f0b(0x1e3)]({'documents':_0x40fae4,'count':_0x40fae4['lengt'+'h'],'cursor':_0x2636fc[_0x3c7f0b(0x1e1)+'r'],'next_cursor':_0x2636fc[_0x3c7f0b(0x167)+'curso'+'r'],'message':_0x3c7f0b(0x13d)+'\x20'+_0x40fae4[_0x3c7f0b(0x1a5)+'h']+(_0x3c7f0b(0x1d6)+_0x3c7f0b(0x1a0)+'s)')},!![]);}async function handleListDocumentPages(_0x255a4f,_0x4221f9){const _0x5e9042=a0_0x5378c8,_0x13c546={'pkwwS':function(_0x2c7711,_0x387210,_0xa64ad0){return _0x2c7711(_0x387210,_0xa64ad0);},'wbieU':_0x5e9042(0x16f)+'led','SfVrL':function(_0x54f0a6,_0xa1993b){return _0x54f0a6===_0xa1993b;},'pInfl':_0x5e9042(0x21f)},{document:_0x5db189}=_0x4221f9,{max_page_depth:max_page_depth=-0x1,detail_level:detail_level=_0x13c546[_0x5e9042(0x1d7)]}=_0x255a4f,_0x586b13=await _0x13c546['pkwwS'](resolveDocumentArgument,_0x255a4f,_0x4221f9),_0x424d62=await _0x5db189[_0x5e9042(0x16a)+_0x5e9042(0x18e)+'ntPag'+'es'](_0x586b13,{'max_page_depth':max_page_depth});if(_0x13c546['SfVrL'](detail_level,_0x13c546[_0x5e9042(0xe6)])){const _0x5c1099=(_0x2f8620,_0x4171e8)=>_0x2f8620[_0x5e9042(0x111)+'ap'](_0x8caa07=>{const _0x9579a7=_0x5e9042,_0x14bbd6=_0x8caa07[_0x9579a7(0x175)]??_0x8caa07[_0x9579a7(0x224)+_0x9579a7(0x242)]??[],_0x489fa5={'id':_0x8caa07['id'],'name':_0x8caa07[_0x9579a7(0x228)]};if(_0x4171e8)_0x489fa5[_0x9579a7(0x135)+_0x9579a7(0x1d0)+_0x9579a7(0x237)]=_0x4171e8;return[_0x489fa5,..._0x13c546['pkwwS'](_0x5c1099,_0x14bbd6,_0x8caa07['id'])];});return sponsorService[_0x5e9042(0x21c)+_0x5e9042(0x11a)+'onse']({'pages':_0x5c1099(_0x424d62[_0x5e9042(0x175)]||[])});}return sponsorService[_0x5e9042(0x21c)+_0x5e9042(0x11a)+_0x5e9042(0x1e3)](_0x424d62);}async function handleGetDocumentPage(_0x26e865,_0x1b7b7c){const _0x39c6a6=a0_0x5378c8,_0x2c058a={'Linsq':'Page\x20'+_0x39c6a6(0xe5)+_0x39c6a6(0xd5)+_0x39c6a6(0x1f8),'GDiJx':_0x39c6a6(0x199)+_0x39c6a6(0x1eb),'lqVvy':function(_0x440680,_0x1cad91,_0x63a402){return _0x440680(_0x1cad91,_0x63a402);}},{document:_0x515f9b}=_0x1b7b7c,{pageId:_0x3142a6,content_format:_0x2b03c6}=_0x26e865;if(!_0x3142a6)throw new Error(_0x2c058a[_0x39c6a6(0x15c)]);if(_0x2b03c6&&![_0x39c6a6(0x199)+'md',_0x2c058a['GDiJx']][_0x39c6a6(0xd7)+'des'](_0x2b03c6))throw new Error(_0x39c6a6(0x1cc)+_0x39c6a6(0x15e)+_0x39c6a6(0x138)+_0x39c6a6(0x176)+_0x39c6a6(0x241)+_0x39c6a6(0x12a)+'_page'+_0x39c6a6(0x23a)+'on.\x20S'+_0x39c6a6(0x219)+'ted\x20f'+_0x39c6a6(0xe9)+_0x39c6a6(0x1f6)+_0x39c6a6(0x10b)+_0x39c6a6(0x216)+_0x39c6a6(0x199)+_0x39c6a6(0xc4)+'.');const _0x8886d1=await _0x2c058a['lqVvy'](resolveDocumentArgument,_0x26e865,_0x1b7b7c),_0x12f6df={};if(_0x2b03c6)_0x12f6df[_0x39c6a6(0x234)+_0x39c6a6(0x187)+_0x39c6a6(0x142)]=_0x2b03c6;const _0x27a1d6=await _0x515f9b[_0x39c6a6(0xc2)+_0x39c6a6(0x12e)+'tPage'](_0x8886d1,_0x3142a6,_0x12f6df);return sponsorService[_0x39c6a6(0x21c)+_0x39c6a6(0x11a)+_0x39c6a6(0x1e3)](_0x27a1d6);}async function handleGetDocumentPages(_0x2b7f45,_0x47eff4){const _0x1bf0dd=a0_0x5378c8,_0x25711a={'LtKqD':_0x1bf0dd(0x16c)+_0x1bf0dd(0x23d)+_0x1bf0dd(0x114)+_0x1bf0dd(0xfa)+_0x1bf0dd(0x123)+'d','XOdLd':_0x1bf0dd(0x199)+'md','cPtSS':function(_0x34a72f,_0xaedf3c,_0x2ee7ef){return _0x34a72f(_0xaedf3c,_0x2ee7ef);}},{document:_0x5682cf}=_0x47eff4,{pageIds:_0x5bd4f7,content_format:_0x38a3db}=_0x2b7f45;if(!_0x5bd4f7||!Array[_0x1bf0dd(0x161)+'ay'](_0x5bd4f7)||_0x5bd4f7[_0x1bf0dd(0x1a5)+'h']===0x0)throw new Error(_0x25711a[_0x1bf0dd(0x1e4)]);if(_0x38a3db&&![_0x25711a[_0x1bf0dd(0x21a)],_0x1bf0dd(0x199)+'html'][_0x1bf0dd(0xd7)+'des'](_0x38a3db))throw new Error(_0x1bf0dd(0x1cc)+'id\x20co'+_0x1bf0dd(0x138)+_0x1bf0dd(0x176)+_0x1bf0dd(0x241)+_0x1bf0dd(0x12a)+'_page'+'s\x20act'+'ion.\x20'+_0x1bf0dd(0x18a)+_0x1bf0dd(0x174)+_0x1bf0dd(0xe2)+_0x1bf0dd(0x18c)+_0x1bf0dd(0x199)+'md\x27,\x20'+'\x27text'+_0x1bf0dd(0x183)+'\x27.');const _0x1c363c=await _0x25711a[_0x1bf0dd(0xbc)](resolveDocumentArgument,_0x2b7f45,_0x47eff4),_0x268994={'pageIds':_0x5bd4f7};if(_0x38a3db)_0x268994['conte'+'nt_fo'+_0x1bf0dd(0x142)]=_0x38a3db;const _0x5adfcb=await _0x5682cf['getDo'+_0x1bf0dd(0x12e)+'tPage'+'s'](_0x1c363c,_0x5bd4f7,_0x268994);return sponsorService['creat'+_0x1bf0dd(0x11a)+'onse'](_0x5adfcb);}async function handleCreateDocumentPage(_0x74d0d,_0x3114b6){const _0x4d5334=a0_0x5378c8,_0x5e2d73={'ZbDLL':'text/'+'md'},{document:_0x1d9a9a}=_0x3114b6,{content:_0x5da2d6,sub_title:_0x191669,name:_0x525336,parent_page_id:_0x2d594d,content_format:_0x1176bd}=_0x74d0d;if(!_0x525336)throw new Error(_0x4d5334(0x178)+'/Name'+_0x4d5334(0xed)+'equir'+'ed');if(_0x1176bd&&![_0x5e2d73[_0x4d5334(0x16b)],_0x4d5334(0x199)+_0x4d5334(0x14a)][_0x4d5334(0xd7)+_0x4d5334(0x1e5)](_0x1176bd))throw new Error('Inval'+_0x4d5334(0x15e)+'ntent'+'_form'+_0x4d5334(0x241)+'r\x20cre'+_0x4d5334(0xe4)+'age\x20a'+'ction'+_0x4d5334(0x11c)+_0x4d5334(0x22c)+_0x4d5334(0xd0)+'mats:'+_0x4d5334(0x110)+_0x4d5334(0xce)+',\x20\x27te'+_0x4d5334(0x1cb)+'ain\x27.');const _0x2cffe5=await resolveDocumentArgument(_0x74d0d,_0x3114b6),_0x520338={'name':_0x525336,'content':_0x5da2d6,'sub_title':_0x191669,'parent_page_id':_0x2d594d,'content_format':_0x1176bd},_0x5d1025=await _0x1d9a9a[_0x4d5334(0x21c)+_0x4d5334(0x1ed)](_0x2cffe5,_0x520338);return sponsorService[_0x4d5334(0x21c)+_0x4d5334(0x11a)+_0x4d5334(0x1e3)](_0x5d1025);}async function handleUpdateDocumentPage(_0x4043d7,_0xc94b12){const _0x2a1439=a0_0x5378c8,_0x4fd5b2={'pqviz':_0x2a1439(0x199)+'plain','TDVrz':function(_0xfe7ab,_0x5d88cf,_0x44684b){return _0xfe7ab(_0x5d88cf,_0x44684b);}},{document:_0x45ab28}=_0xc94b12,{pageId:_0x4eca5d,name:_0x577c00,sub_title:_0x549333,content:_0x5910e4,content_format:_0x32f884,content_edit_mode:_0x3b53fc}=_0x4043d7;if(!_0x4eca5d)throw new Error(_0x2a1439(0x16c)+_0x2a1439(0xe5)+_0x2a1439(0xd5)+_0x2a1439(0x1f8));if(_0x32f884&&!['text/'+'md',_0x4fd5b2[_0x2a1439(0xcd)]]['inclu'+_0x2a1439(0x1e5)](_0x32f884))throw new Error(_0x2a1439(0x1cc)+_0x2a1439(0x15e)+'ntent'+_0x2a1439(0x176)+'at\x20fo'+_0x2a1439(0x124)+_0x2a1439(0xe4)+'age\x20a'+_0x2a1439(0x137)+_0x2a1439(0x11c)+_0x2a1439(0x22c)+_0x2a1439(0xd0)+_0x2a1439(0x11b)+'\x20\x27tex'+_0x2a1439(0xce)+_0x2a1439(0x1a2)+_0x2a1439(0x1cb)+_0x2a1439(0x1aa));const _0x27361b=await _0x4fd5b2[_0x2a1439(0x126)](resolveDocumentArgument,_0x4043d7,_0xc94b12),_0x141a85={};if(_0x577c00)_0x141a85['name']=_0x577c00;if(_0x549333)_0x141a85[_0x2a1439(0xf1)+_0x2a1439(0x20a)]=_0x549333;if(_0x5910e4)_0x141a85[_0x2a1439(0x234)+'nt']=_0x5910e4;if(_0x32f884)_0x141a85['conte'+_0x2a1439(0x187)+'rmat']=_0x32f884;if(_0x3b53fc)_0x141a85[_0x2a1439(0x234)+_0x2a1439(0x1f3)+'it_mo'+'de']=_0x3b53fc;return await _0x45ab28[_0x2a1439(0x1f2)+_0x2a1439(0x1ed)](_0x27361b,_0x4eca5d,_0x141a85),sponsorService[_0x2a1439(0x21c)+_0x2a1439(0x11a)+_0x2a1439(0x1e3)]({'message':_0x2a1439(0x16c)+_0x2a1439(0x1f2)+_0x2a1439(0x1da)+_0x2a1439(0x1fc)+_0x2a1439(0x20b)},!![]);}
@@ -1 +1 @@
1
- const a0_0x33a716=a0_0x564e;function a0_0x564e(_0x5d278b,_0x380573){_0x5d278b=_0x5d278b-0x1cc;const _0x4fe148=a0_0x4fe1();let _0x564ed2=_0x4fe148[_0x5d278b];if(a0_0x564e['SxFXrt']===undefined){var _0x3839b3=function(_0x279161){const _0x35c7df='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x404023='',_0x345371='';for(let _0x2d8302=0x0,_0xf86abe,_0x5a57cf,_0x54ecc0=0x0;_0x5a57cf=_0x279161['charAt'](_0x54ecc0++);~_0x5a57cf&&(_0xf86abe=_0x2d8302%0x4?_0xf86abe*0x40+_0x5a57cf:_0x5a57cf,_0x2d8302++%0x4)?_0x404023+=String['fromCharCode'](0xff&_0xf86abe>>(-0x2*_0x2d8302&0x6)):0x0){_0x5a57cf=_0x35c7df['indexOf'](_0x5a57cf);}for(let _0x2b0856=0x0,_0x589ceb=_0x404023['length'];_0x2b0856<_0x589ceb;_0x2b0856++){_0x345371+='%'+('00'+_0x404023['charCodeAt'](_0x2b0856)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x345371);};a0_0x564e['mATFPJ']=_0x3839b3,a0_0x564e['BEatea']={},a0_0x564e['SxFXrt']=!![];}const _0x42344f=_0x4fe148[0x0],_0x43d3b5=_0x5d278b+_0x42344f,_0x48edcd=a0_0x564e['BEatea'][_0x43d3b5];return!_0x48edcd?(_0x564ed2=a0_0x564e['mATFPJ'](_0x564ed2),a0_0x564e['BEatea'][_0x43d3b5]=_0x564ed2):_0x564ed2=_0x48edcd,_0x564ed2;}function a0_0x4fe1(){const _0x2ba896=['DgvKihq','ie5pvca','ic0TDMu','tLnuuLu','CMvKcI0','zxf1Axi','t3rOzxi','DgXLlca','ysbIDwC','rufetuu','ms4Gww8','Cg9YDca','zxiU','igfZA3m','Bgu6kIO','ig44BIK','ALjeChO','lJaRkqO','yIbPC3m','y29UDgu','ihjLCxu','q1rjt04','Aw5Rici','CWOTifS','Cw92EvC','zxmGkgy','CIaTifa','DwCSigy','w1n1yM0','Aw9U','lsbB','oIbnAxm','zxnJCMK','mtuZote5mfb5Bgfcra','CfrnExC','AguGDxm','y2HLCYa','zxHWCMu','sxvhv2u','zxjHDgu','oIOQcI0','BgLJA2e','cGOQkLe','DMLKzwq','mJG3ndiWvwj5Bfzr','AM9PBG','AxzLihq','B3bLCMe','CIbLBMm','DgHLigm','uMvWB3i','DgGGChi','ANvZDca','sw5MB3i','r2vUzxi','zsWGDgK','AxqGEw8','xsboB2q','zYbMzwu','zYb1C2u','vvjmigy','DwrLieq','ChrPB24','zxbVCNq','yxvSDc4','CMf0Aw8','q1rjvKu','Bs4Gr2u','BcbYzxm','CIbJyw4','B3CGDg8','BMSGD2K','m1P3BgDxyW','Aw5Lkq','B2y6igi','BIaOz2u','AYbIzwW','u2vSzI0','lcbxAw4','Bsb3AwW','ywnOzsa','ie1duca','AwvSzhm','z2vZlca','lcbTywm','AYbhzw4','vxnLCIa','ywrKAxq','CM5Zige','DhuGmJi','BgLLBNq','ChmGDg8','Aw9UyaO','u3vIBwK','BgLUAYa','zw5Oyw4','BhmGEw8','ignHC2u','BNbTigm','AxrZlG','CIbMzwe','zIWGBJG','zxjZAw8','zYbtExm','igLUCxu','svLoELG','CNnPB24','EsboB2q','CMvXDwK','BMHHBMm','BMvLzca','zwf0Dxi','C3vLlGO','ihDPDgG','igjLAge','C3vIBwK','Aw5N','yxrPB24','C3qUiey','BM90ihm','zgrPDgK','cImJiee','ifvIDw4','u2vYDMu','z3bpDgm','zM9Yihq','BsaOzs4','CMvXDwu','CMvZoIa','ig9Mihq','CYaXmsW','sxnZDwu','igf2ywK','idiYlJa','Df9Mzwu','Dg9Tigy','ssD2zsa','C3nLCYa','if0GssC','Axb0Aw8','zgvZy3i','AxqGsxm','ieDvsuq','xsbdBgK','ihrLEhq','AgvUoGO','zNj1C3q','oI8Vz2K','BgvHCMK','AguGBwe','zsbJBgK','BIb3Axq','rgv0ywK','B24GBwu','iezLyxq','Dg9tDhi','icHMCM8','ihjLC3a','Dsbnvvm','AYbmAw4','BIbKzxq','xsbnq1a','Dg9Wlca','zxf1zxm','B3iGzMu','vcbVDxq','zxKGy28','zwrIywm','zMvHDhu','zxmGysa','zxn0Aw8','ihrVihq','igjLAw4','AZOQkGO','yMXLigW','B2r1y2u','igzHAwW','zxn0igu','Dc4GvgG','AxrSzsa','B3vUDgu','q2HLy2S','Cc1Zzxi','qvbjigS','DsbWCM8','AxrHDgK','mJGXmJi0thbPwMLy','y29TlW','DgvToIa','yxr1CMu','CxvLC3q','igzPBMe','DMLVCI4','lcbIDwC','AcbJDxm','ihjLCg8','igDLBMu','BgvKigq','y3jPChq','mJfYywz4Duy','BMrZDxi','kIPBu3u','DgfHEMS','Aw5MBW','BMfSoIa','iYmGrMu','B29SihC','cLbst0e','BMCGBNa','BwnWsg8','B3iG','yMvUzwy','ifvZzxi','ifSGxsa','D09Ts00','ieKNDMu','ifn1z2C','y2TvCca','CgXHEsa','yw5Kigq','BNzPCM8','yxnLiha','AguGAxm','ig9UieC','cImJieq','l2LZC3u','xsbpCgu','BIWGq2W','Dgv4Da','BwL0ihq','ysbWCM8','z3m6igK','DxjLifi','ifrpiee','BNbTic0','BMzPz3u','lIbqBgu','ierLC2S','vgjPBwG','ChjLlwy','B3j0CYK','ksiGAw4','Aw5JBhu','mKjJDu5mAa','AgLZihq','cI0GwW','CNjVCIa','mtqSifC','DgHLifi','svnuqu4','DgLVBI8','mZe1odi2ogPTAKrXCW','Dcbgzwu','CM9YCYa','qxnitNi','lJa0kq','vcOQoG','r2L0shu','nJKZnZq3nw9bzwTSuW','CMvTAxu','BMrPy2e','zxmVBMu','lxzLCNm','igfUzca','DhLWzsa','igzLzwq','AYbHz2e','AwvKigm','zsb1C2u','BMnSDwq','kIPuExa','BwvZC2e','ANmGDMu','CMf0Aw4','DguGysa','igv4yw0','Axj5kq','DhLWzq','zxjYB3i','ywnRvg8','khn1z2C','ifvsta','zsWGCxu','AZOGyNu','yxqGBwK','DMuGDhi','Ahr0Chm','BIbhAxq','BM9Kzvy','ic0TzM8','cI0GwYa','CNnVCIW','BIbTyxq','iI4GvgG','zxn0ihq','CcWGq3u','lsbvC2u','zxn0CYa','Aw4GAw4','ksOQ','zw1LBNq','AwnRvxa','ugXLyxm','BIbLCNi','y2SGDgG','zMLSDgu','Bwf0Aw8','B3iGDgG','Aw9UywW','iezVCIa','zY4Sig0','vevnieK','zgjHy2S','tM9Kzs4','A2vKihq','vcbKAxm','t3b0Aw8','yNvUDhu','lcbdBge','CMuGuMu','z2H0igK','ihjLChi','B29Sigy','zY4Siem','ihrVB2W','DgL0Bgu','C2LUzYa','iI4Gtxu','mJu3nde5nKv3zgnkzW','CNmGzxi','vMrjv1O','DgLUz1m','AYbJCMu','qu5drtO','zguGls0','zYbszxa','yMXLBsK','CM92Awq','Aw5KB3C','zxHWBge','C3vLig8','iej1zYa','B25HBca','zxmklsa','yNvN','ywXPzca','DgLUzYa','zwjqBuS','ssbbu1m','BMvYywW','BcbIzsa','CIbSAw0','DMvYC2K','BsbJywm','zgv0ywK','rxjYB3i','ywLSDxi','igHVDYa','lcbKzxm','C3rYAw4','Dg8GCMu','BMvYyxq','shvIige','DxiG','kIPtwvm','ienOzwm','ihLVDxi','DJe4lJa','B2yGzMu','ig5WBsa','B3iGyNu','DwLJAYa','icHTDxm','CMTKB3C','DsDSBca','B25Gkq','B246ia','mteSifu','nJa5nJi5nfrwExzfvG','t1mGmtq','DMvYAwy','DwLZAxq','iff1zxm','DwuGBgK','lsbBif0','Chv0ihq','ztOGww8','DhvYzsa','ihn1yM0','lsbBEf0','B25Zzs4','cGOQkKu','rMvLzgi'];a0_0x4fe1=function(){return _0x2ba896;};return a0_0x4fe1();}(function(_0x1d2220,_0x397bac){const _0x16e8af=a0_0x564e,_0x337890=_0x1d2220();while(!![]){try{const _0x3a190c=parseInt(_0x16e8af(0x1f9))/0x1*(parseInt(_0x16e8af(0x2bb))/0x2)+-parseInt(_0x16e8af(0x2d7))/0x3*(parseInt(_0x16e8af(0x24e))/0x4)+parseInt(_0x16e8af(0x208))/0x5+parseInt(_0x16e8af(0x201))/0x6+-parseInt(_0x16e8af(0x1cd))/0x7*(parseInt(_0x16e8af(0x349))/0x8)+-parseInt(_0x16e8af(0x280))/0x9+parseInt(_0x16e8af(0x2b0))/0xa;if(_0x3a190c===_0x397bac)break;else _0x337890['push'](_0x337890['shift']());}catch(_0x4c7bdb){_0x337890['push'](_0x337890['shift']());}}}(a0_0x4fe1,0xe2c46));import{Logger}from'../logger.js';const logger=new Logger(a0_0x33a716(0x28e)+a0_0x33a716(0x21d)+'ol'),REPO_OWNER=a0_0x33a716(0x1d0)+'areem',REPO_NAME='click'+'up-mc'+a0_0x33a716(0x345)+'ver',ISSUE_URL_BASE=a0_0x33a716(0x224)+a0_0x33a716(0x322)+'thub.'+a0_0x33a716(0x34a)+REPO_OWNER+'/'+REPO_NAME+(a0_0x33a716(0x1e7)+a0_0x33a716(0x20b)+'w'),ISSUE_TYPES={'bug':{'label':a0_0x33a716(0x25e),'checkbox':a0_0x33a716(0x28b)+a0_0x33a716(0x25b)+a0_0x33a716(0x2c1)+'t'},'feature':{'label':a0_0x33a716(0x2ee)+'cemen'+'t','checkbox':'-\x20[x]'+'\x20Feat'+'ure\x20R'+a0_0x33a716(0x332)+'t'},'question':{'label':a0_0x33a716(0x34d)+'ion','checkbox':a0_0x33a716(0x28b)+a0_0x33a716(0x284)+a0_0x33a716(0x200)+'Other'}};export const submitFeedbackTool={'name':a0_0x33a716(0x302)+a0_0x33a716(0x315)+a0_0x33a716(0x23e),'description':a0_0x33a716(0x2ec)+'t\x20fee'+a0_0x33a716(0x23e)+a0_0x33a716(0x350)+a0_0x33a716(0x352)+'rts,\x20'+a0_0x33a716(0x333)+a0_0x33a716(0x34c)+a0_0x33a716(0x2a3)+a0_0x33a716(0x22f)+a0_0x33a716(0x30c)+'he\x20Cl'+a0_0x33a716(0x233)+a0_0x33a716(0x2e0)+a0_0x33a716(0x30a)+a0_0x33a716(0x2a9)+a0_0x33a716(0x209)+a0_0x33a716(0x2d2)+a0_0x33a716(0x26f)+a0_0x33a716(0x338)+a0_0x33a716(0x207)+a0_0x33a716(0x2a1)+a0_0x33a716(0x285)+a0_0x33a716(0x2d6)+a0_0x33a716(0x2c2)+'e-fil'+'led\x20c'+'onten'+a0_0x33a716(0x341)+a0_0x33a716(0x212)+a0_0x33a716(0x2d4)+'\x20revi'+'ew\x20an'+'d\x20sub'+a0_0x33a716(0x1eb)+'he\x20is'+a0_0x33a716(0x2ff)+a0_0x33a716(0x1d5)+a0_0x33a716(0x2d1)+a0_0x33a716(0x31d)+a0_0x33a716(0x253)+a0_0x33a716(0x1de)+a0_0x33a716(0x22c)+a0_0x33a716(0x1fa)+a0_0x33a716(0x1d4)+a0_0x33a716(0x320)+a0_0x33a716(0x22e)+a0_0x33a716(0x2bf)+a0_0x33a716(0x343)+a0_0x33a716(0x24f)+a0_0x33a716(0x203)+'or\x20un'+'expec'+a0_0x33a716(0x28f)+a0_0x33a716(0x248)+a0_0x33a716(0x26a)+a0_0x33a716(0x25d)+a0_0x33a716(0x2e5)+a0_0x33a716(0x2b4)+a0_0x33a716(0x318)+a0_0x33a716(0x321)+'ratio'+a0_0x33a716(0x326)+'h\x20mis'+a0_0x33a716(0x24c)+a0_0x33a716(0x337)+'res\x20o'+a0_0x33a716(0x265)+a0_0x33a716(0x348)+'ons\x0a-'+a0_0x33a716(0x1da)+a0_0x33a716(0x29c)+a0_0x33a716(0x26b)+a0_0x33a716(0x26e)+a0_0x33a716(0x29a)+a0_0x33a716(0x297)+'\x20or\x20r'+a0_0x33a716(0x332)+'t\x20a\x20f'+a0_0x33a716(0x2fe)+'e\x0a-\x20A'+a0_0x33a716(0x24a)+'\x20retu'+a0_0x33a716(0x2e7)+a0_0x33a716(0x235)+a0_0x33a716(0x239)+a0_0x33a716(0x222)+a0_0x33a716(0x246)+a0_0x33a716(0x20a)+a0_0x33a716(0x218)+a0_0x33a716(0x25e),'annotations':{'title':'Submi'+a0_0x33a716(0x202)+a0_0x33a716(0x23e),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'type':{'type':a0_0x33a716(0x26d)+'g','enum':[a0_0x33a716(0x25e),a0_0x33a716(0x337)+'re',a0_0x33a716(0x34d)+a0_0x33a716(0x2ac)],'description':'Type\x20'+a0_0x33a716(0x276)+a0_0x33a716(0x336)+a0_0x33a716(0x221)+'g\x20(re'+a0_0x33a716(0x29a)+a0_0x33a716(0x1ec)+a0_0x33a716(0x256)+',\x20fea'+a0_0x33a716(0x289)+a0_0x33a716(0x21e)+a0_0x33a716(0x340)+a0_0x33a716(0x2fc)+a0_0x33a716(0x232)+'),\x20qu'+'estio'+a0_0x33a716(0x2da)+a0_0x33a716(0x263)+a0_0x33a716(0x2f7)+a0_0x33a716(0x21a)},'title':{'type':'strin'+'g','description':'Brief'+a0_0x33a716(0x26c)+a0_0x33a716(0x1cc)+a0_0x33a716(0x2bd)+a0_0x33a716(0x342)+'for\x20t'+a0_0x33a716(0x1e4)+'sue\x20('+'e.g.,'+'\x20\x22Tas'+a0_0x33a716(0x252)+a0_0x33a716(0x304)+a0_0x33a716(0x33f)+'s\x20wit'+a0_0x33a716(0x351)+a0_0x33a716(0x316)+a0_0x33a716(0x2e1)+'\x22)'},'description':{'type':a0_0x33a716(0x26d)+'g','description':a0_0x33a716(0x327)+a0_0x33a716(0x354)+a0_0x33a716(0x2af)+a0_0x33a716(0x2cd)+a0_0x33a716(0x310)+a0_0x33a716(0x1e4)+'sue\x20o'+a0_0x33a716(0x2f3)+a0_0x33a716(0x289)+a0_0x33a716(0x30e)+a0_0x33a716(0x305)+a0_0x33a716(0x278)+a0_0x33a716(0x1ed)+a0_0x33a716(0x213)+'e\x20ste'+a0_0x33a716(0x2ea)+a0_0x33a716(0x247)+a0_0x33a716(0x33e)+',\x20exp'+'ected'+'\x20vs\x20a'+'ctual'+a0_0x33a716(0x301)+a0_0x33a716(0x34f)+a0_0x33a716(0x23b)+a0_0x33a716(0x337)+a0_0x33a716(0x30f)+a0_0x33a716(0x259)+'in\x20th'+a0_0x33a716(0x212)+a0_0x33a716(0x2f0)+a0_0x33a716(0x20d)+a0_0x33a716(0x1d9)+a0_0x33a716(0x2f2)},'nodeVersion':{'type':a0_0x33a716(0x26d)+'g','description':a0_0x33a716(0x242)+a0_0x33a716(0x1d2)+a0_0x33a716(0x23f)+a0_0x33a716(0x216)+a0_0x33a716(0x2f9)+a0_0x33a716(0x32b)+'m\x20`no'+a0_0x33a716(0x254)+a0_0x33a716(0x266)+a0_0x33a716(0x27d)},'mcpHost':{'type':a0_0x33a716(0x26d)+'g','description':a0_0x33a716(0x242)+'nal:\x20'+'MCP\x20h'+'ost/c'+a0_0x33a716(0x2e9)+a0_0x33a716(0x33b)+a0_0x33a716(0x2ca)+'d\x20(e.'+a0_0x33a716(0x249)+'laude'+a0_0x33a716(0x1f3)+a0_0x33a716(0x331)+'Curso'+'r,\x20Wi'+a0_0x33a716(0x1ce)+a0_0x33a716(0x2f4)+a0_0x33a716(0x1e9)+a0_0x33a716(0x2d8)},'operatingSystem':{'type':a0_0x33a716(0x26d)+'g','description':'Optio'+a0_0x33a716(0x1d2)+'Opera'+a0_0x33a716(0x260)+'syste'+a0_0x33a716(0x30d)+a0_0x33a716(0x23c)+'acOS\x20'+a0_0x33a716(0x1fd)+a0_0x33a716(0x258)+a0_0x33a716(0x311)+a0_0x33a716(0x309)+a0_0x33a716(0x2e8)+a0_0x33a716(0x205)},'additionalContext':{'type':'strin'+'g','description':'Optio'+a0_0x33a716(0x1d2)+'Any\x20a'+a0_0x33a716(0x307)+a0_0x33a716(0x25c)+a0_0x33a716(0x2a2)+'xt,\x20e'+a0_0x33a716(0x1fc)+a0_0x33a716(0x215)+a0_0x33a716(0x2e2)+'or\x20co'+'nfigu'+a0_0x33a716(0x2d0)+a0_0x33a716(0x32f)+'ails'}},'required':[a0_0x33a716(0x21b),'title','descr'+a0_0x33a716(0x31a)+'n']}};function buildIssueBody(_0x4c56af){const _0xb01bb7=a0_0x33a716,_0x5169c2={'IuGWe':'##\x20Ty'+'pe','wOmKM':_0xb01bb7(0x25e),'XCxDO':_0xb01bb7(0x28b)+_0xb01bb7(0x25b)+_0xb01bb7(0x2c1)+'t','nwuMu':'-\x20[\x20]'+_0xb01bb7(0x25b)+'Repor'+'t','qovyW':function(_0xfa7267,_0x4ed08c){return _0xfa7267===_0x4ed08c;},'gpOtc':_0xb01bb7(0x28b)+'\x20Feat'+_0xb01bb7(0x1ee)+_0xb01bb7(0x332)+'t','ebPmK':_0xb01bb7(0x34d)+'ion','IYNzX':function(_0x4c902f,_0x5bd42d){return _0x4c902f||_0x5bd42d;},'pSkWn':function(_0x558717,_0x5ec28f){return _0x558717||_0x5ec28f;}},{type:_0x313164,description:_0x15e3ff,nodeVersion:_0x2812cd,mcpHost:_0x42a8b1,operatingSystem:_0x5921a4,additionalContext:_0x7269ea}=_0x4c56af,_0x218406=ISSUE_TYPES[_0x313164],_0x12de0b=[_0x5169c2[_0xb01bb7(0x2b5)],_0x313164===_0x5169c2[_0xb01bb7(0x1dc)]?_0x5169c2['XCxDO']:_0x5169c2['nwuMu'],_0x5169c2[_0xb01bb7(0x2a7)](_0x313164,'featu'+'re')?_0x5169c2[_0xb01bb7(0x30b)]:'-\x20[\x20]'+_0xb01bb7(0x329)+_0xb01bb7(0x1ee)+_0xb01bb7(0x332)+'t',_0x313164===_0x5169c2[_0xb01bb7(0x261)]?'-\x20[x]'+_0xb01bb7(0x284)+_0xb01bb7(0x200)+_0xb01bb7(0x295):_0xb01bb7(0x286)+_0xb01bb7(0x284)+'tion/'+'Other'][_0xb01bb7(0x2bc)]('\x0a');let _0x3a7c6a='';_0x5169c2['qovyW'](_0x313164,_0xb01bb7(0x25e))&&(_0x3a7c6a='\x0a##\x20P'+'rereq'+_0xb01bb7(0x283)+_0xb01bb7(0x2a8)+'or\x20Bu'+_0xb01bb7(0x255)+_0xb01bb7(0x1f6)+_0xb01bb7(0x28d)+_0xb01bb7(0x1e2)+'nment'+_0xb01bb7(0x273)+_0xb01bb7(0x33c)+_0xb01bb7(0x2ad)+(_0x2812cd?'x':'\x20')+(_0xb01bb7(0x2c8)+'e.js\x20'+_0xb01bb7(0x266)+_0xb01bb7(0x27e))+_0x5169c2[_0xb01bb7(0x2f8)](_0x2812cd,'`node'+_0xb01bb7(0x291)+_0xb01bb7(0x2f9)+'`')+(_0xb01bb7(0x27a)+'t\x20be\x20'+_0xb01bb7(0x275)+_0xb01bb7(0x2a0)+_0xb01bb7(0x286)+_0xb01bb7(0x277)+_0xb01bb7(0x266)+'on:\x20`'+_0xb01bb7(0x1f0)+_0xb01bb7(0x20c)+_0xb01bb7(0x2eb)+_0xb01bb7(0x2ad))+(_0x5921a4?'x':'\x20')+(_0xb01bb7(0x1e8)+'ratin'+_0xb01bb7(0x2f6)+_0xb01bb7(0x34b))+_0x5169c2[_0xb01bb7(0x2f8)](_0x5921a4,'(e.g.'+_0xb01bb7(0x2e3)+_0xb01bb7(0x281)+_0xb01bb7(0x2dd)+'dows\x20'+_0xb01bb7(0x27f)+_0xb01bb7(0x243)+_0xb01bb7(0x314)+'4)')+_0xb01bb7(0x1fb)+(_0x42a8b1?'x':'\x20')+(_0xb01bb7(0x330)+'\x20Host'+':\x20')+_0x5169c2['pSkWn'](_0x42a8b1,'(e.g.'+_0xb01bb7(0x244)+_0xb01bb7(0x2cc)+'eskto'+_0xb01bb7(0x22d)+_0xb01bb7(0x229)+_0xb01bb7(0x29e))+(_0xb01bb7(0x228)+_0xb01bb7(0x31e)+_0xb01bb7(0x1df)+_0xb01bb7(0x346)+_0xb01bb7(0x335)+_0xb01bb7(0x1f1)+_0xb01bb7(0x293)+'\x20[\x20]\x20'+'Click'+'Up\x20Te'+'am\x20ID'+_0xb01bb7(0x313)+'lable'+_0xb01bb7(0x2b9)+_0xb01bb7(0x279)+_0xb01bb7(0x2dc)+_0xb01bb7(0x344)+_0xb01bb7(0x2b7)+_0xb01bb7(0x1db)+_0xb01bb7(0x317)+_0xb01bb7(0x282)+'ied\x20m'+_0xb01bb7(0x2fa)+'e.js\x20'+'versi'+_0xb01bb7(0x328)+'ets\x20r'+_0xb01bb7(0x294)+_0xb01bb7(0x232)+_0xb01bb7(0x2a6)+_0xb01bb7(0x319)+_0xb01bb7(0x223)+_0xb01bb7(0x211)+_0xb01bb7(0x323)+_0xb01bb7(0x1d6)+_0xb01bb7(0x267)+'he:\x20`'+_0xb01bb7(0x2f1)+_0xb01bb7(0x2df)+'clean'+_0xb01bb7(0x227)+'rce`\x0a'+_0xb01bb7(0x286)+_0xb01bb7(0x1dd)+'\x20chec'+_0xb01bb7(0x240)+'he\x20co'+_0xb01bb7(0x1f1)+'ratio'+_0xb01bb7(0x22a)+_0xb01bb7(0x2b3)+_0xb01bb7(0x1fe)+_0xb01bb7(0x298)+_0xb01bb7(0x219)+'ples\x0a'));const _0x954959=_0xb01bb7(0x1e6)+'escri'+'ption'+'\x0a'+_0x15e3ff+'\x0a';let _0x23c970='';return _0x7269ea&&(_0x23c970=_0xb01bb7(0x308)+'dditi'+_0xb01bb7(0x25c)+_0xb01bb7(0x2c4)+_0xb01bb7(0x238)+'n\x0a'+_0x7269ea+'\x0a'),[_0x12de0b,_0x3a7c6a,_0x954959,_0x23c970][_0xb01bb7(0x237)+'r'](Boolean)[_0xb01bb7(0x2bc)]('\x0a');}function generateIssueUrl(_0xa0e50){const _0x230cc6=a0_0x33a716,{type:_0x45e7be,title:_0x47f83c,body:_0x108fcf}=_0xa0e50,_0x9ff458=ISSUE_TYPES[_0x45e7be],_0x3af270=new URLSearchParams({'title':_0x47f83c,'body':_0x108fcf,'labels':_0x9ff458['label']});return ISSUE_URL_BASE+'?'+_0x3af270[_0x230cc6(0x32a)+_0x230cc6(0x303)]();}export async function handleSubmitFeedback(_0x587444){const _0x4d5ae8=a0_0x33a716,_0x54ba1d={'jRDpz':_0x4d5ae8(0x337)+'re','Tbimh':_0x4d5ae8(0x34d)+_0x4d5ae8(0x2ac),'AsHNr':_0x4d5ae8(0x1ea),'pTMyw':function(_0x5cd927,_0x1dc2cd){return _0x5cd927(_0x1dc2cd);},'VdIWZ':function(_0x524f26,_0x5651ca){return _0x524f26===_0x5651ca;},'JxXIQ':'Quest'+'ion','gLPdM':_0x4d5ae8(0x269)+'\x20gene'+_0x4d5ae8(0x217)+_0x4d5ae8(0x2c9)+_0x4d5ae8(0x23e)+_0x4d5ae8(0x21f)};try{const _0x5f212e=_0x587444['type'],_0x4e6be9=_0x587444[_0x4d5ae8(0x24b)],_0x293794=_0x587444[_0x4d5ae8(0x31b)+_0x4d5ae8(0x31a)+'n'],_0x526443=_0x587444[_0x4d5ae8(0x226)+_0x4d5ae8(0x2f5)+'n'],_0x51f88b=_0x587444[_0x4d5ae8(0x1d7)+'st'],_0x530401=_0x587444[_0x4d5ae8(0x2be)+_0x4d5ae8(0x251)+'ystem'],_0x1af000=_0x587444[_0x4d5ae8(0x2e6)+_0x4d5ae8(0x23a)+'Conte'+'xt'];if(!_0x5f212e||!_0x4e6be9||!_0x293794)return{'content':[{'type':_0x4d5ae8(0x1ea),'text':_0x4d5ae8(0x269)+_0x4d5ae8(0x2ae)+_0x4d5ae8(0x24c)+_0x4d5ae8(0x2fb)+'red\x20f'+_0x4d5ae8(0x2e1)+_0x4d5ae8(0x1f2)+_0x4d5ae8(0x1e3)+_0x4d5ae8(0x257)+'e\x20typ'+_0x4d5ae8(0x2c6)+_0x4d5ae8(0x296)+_0x4d5ae8(0x1e1)+_0x4d5ae8(0x2af)+_0x4d5ae8(0x2cd)+'.'}],'isError':!![]};if(![_0x4d5ae8(0x25e),_0x54ba1d['jRDpz'],_0x54ba1d[_0x4d5ae8(0x1f4)]][_0x4d5ae8(0x1f8)+'des'](_0x5f212e))return{'content':[{'type':_0x54ba1d[_0x4d5ae8(0x204)],'text':_0x4d5ae8(0x269)+':\x20Inv'+_0x4d5ae8(0x25f)+_0x4d5ae8(0x20e)+'\x22'+_0x5f212e+(_0x4d5ae8(0x24d)+'st\x20be'+'\x20one\x20'+_0x4d5ae8(0x2d9)+_0x4d5ae8(0x2aa)+'eatur'+_0x4d5ae8(0x220)+_0x4d5ae8(0x339)+'n.')}],'isError':!![]};logger[_0x4d5ae8(0x1d1)](_0x4d5ae8(0x2c5)+'ating'+_0x4d5ae8(0x20f)+'back\x20'+_0x4d5ae8(0x2cb)+_0x4d5ae8(0x1d8)+_0x5f212e+':\x20'+_0x4e6be9);const _0x2f734d=buildIssueBody({'type':_0x5f212e,'description':_0x293794,'nodeVersion':_0x526443,'mcpHost':_0x51f88b,'operatingSystem':_0x530401,'additionalContext':_0x1af000}),_0x329746=_0x54ba1d[_0x4d5ae8(0x2b1)](generateIssueUrl,{'type':_0x5f212e,'title':_0x4e6be9,'body':_0x2f734d}),_0x28a8ad=_0x54ba1d[_0x4d5ae8(0x250)](_0x5f212e,_0x4d5ae8(0x25e))?'Bug\x20R'+_0x4d5ae8(0x2ce):_0x5f212e===_0x54ba1d[_0x4d5ae8(0x29f)]?'Featu'+_0x4d5ae8(0x245)+'quest':_0x54ba1d['JxXIQ'],_0x565284=[_0x4d5ae8(0x1d3)+_0x4d5ae8(0x336)+_0x4d5ae8(0x32e)+_0x4d5ae8(0x2e4)+_0x4d5ae8(0x2b6)+'d','',_0x4d5ae8(0x234)+_0x4d5ae8(0x325)+_0x4d5ae8(0x236)+'e\x20lin'+_0x4d5ae8(0x2db)+_0x4d5ae8(0x2d5)+_0x4d5ae8(0x28a)+_0x4d5ae8(0x2c7)+_0x4d5ae8(0x271)+_0x28a8ad+':','',_0x4d5ae8(0x1cf)+'bmit\x20'+_0x4d5ae8(0x312)+_0x4d5ae8(0x1e5)+'itHub'+']('+_0x329746+_0x4d5ae8(0x231),'','---','**Tit'+_0x4d5ae8(0x29d)+'\x20'+_0x4e6be9,_0x4d5ae8(0x214)+'e:**\x20'+_0x28a8ad,'','>\x20Not'+_0x4d5ae8(0x288)+_0x4d5ae8(0x27c)+_0x4d5ae8(0x2fd)+'a\x20Git'+_0x4d5ae8(0x270)+'ccoun'+'t\x20to\x20'+_0x4d5ae8(0x302)+_0x4d5ae8(0x341)+'e\x20for'+_0x4d5ae8(0x2de)+_0x4d5ae8(0x264)+_0x4d5ae8(0x1f5)+'illed'+_0x4d5ae8(0x300)+'\x20the\x20'+_0x4d5ae8(0x268)+_0x4d5ae8(0x2ef)+_0x4d5ae8(0x347)+_0x4d5ae8(0x2ba)+'.','',_0x4d5ae8(0x272)+_0x4d5ae8(0x23d)+_0x4d5ae8(0x292)+_0x4d5ae8(0x2a4)+_0x4d5ae8(0x1ef)+_0x4d5ae8(0x262)+_0x4d5ae8(0x1ff)+_0x4d5ae8(0x206),_0x4d5ae8(0x299)+'u\x20MUS'+_0x4d5ae8(0x241)+_0x4d5ae8(0x1e0)+_0x4d5ae8(0x2c0)+_0x4d5ae8(0x2b8)+_0x4d5ae8(0x33d)+_0x4d5ae8(0x2a5)+_0x4d5ae8(0x2ab)+_0x4d5ae8(0x31c)+_0x4d5ae8(0x25a)+_0x4d5ae8(0x225)+'Hub]('+_0x329746+(_0x4d5ae8(0x1f7)+_0x4d5ae8(0x274)+_0x4d5ae8(0x34e)+_0x4d5ae8(0x2d3)+'ponse'+_0x4d5ae8(0x33a)+_0x4d5ae8(0x2b2)+_0x4d5ae8(0x29b)),'2.\x20Do'+_0x4d5ae8(0x290)+_0x4d5ae8(0x2c3)+'say\x20\x22'+'Click'+'\x20the\x20'+_0x4d5ae8(0x2ed)+'above'+_0x4d5ae8(0x22b)+'e\x20use'+_0x4d5ae8(0x2d4)+_0x4d5ae8(0x306)+'ee\x20th'+'e\x20too'+'l\x20out'+'put\x20b'+'y\x20def'+_0x4d5ae8(0x2cf),'3.\x20Yo'+_0x4d5ae8(0x32d)+_0x4d5ae8(0x334)+_0x4d5ae8(0x287)+_0x4d5ae8(0x324)+_0x4d5ae8(0x27b)+'n\x20lin'+_0x4d5ae8(0x210)+_0x4d5ae8(0x230)+_0x4d5ae8(0x274)+_0x4d5ae8(0x31f)+_0x4d5ae8(0x32c)+_0x4d5ae8(0x28c)][_0x4d5ae8(0x2bc)]('\x0a');return{'content':[{'type':'text','text':_0x565284}]};}catch(_0x462e4e){return logger[_0x4d5ae8(0x21c)](_0x54ba1d['gLPdM'],_0x462e4e),{'content':[{'type':_0x54ba1d[_0x4d5ae8(0x204)],'text':_0x4d5ae8(0x269)+_0x4d5ae8(0x353)+'ratin'+_0x4d5ae8(0x2c9)+_0x4d5ae8(0x23e)+'\x20URL:'+'\x20'+_0x462e4e[_0x4d5ae8(0x215)+'ge']}],'isError':!![]};}}
1
+ function a0_0x41fd(_0x110c85,_0x30858a){_0x110c85=_0x110c85-0x1ab;const _0x3c58fe=a0_0x3c58();let _0x41fd3e=_0x3c58fe[_0x110c85];if(a0_0x41fd['VzSfHX']===undefined){var _0x3e9dfe=function(_0x8c39fc){const _0x33d813='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x7d6f4f='',_0x534526='';for(let _0x284676=0x0,_0x5d341c,_0x61d813,_0x56bc8f=0x0;_0x61d813=_0x8c39fc['charAt'](_0x56bc8f++);~_0x61d813&&(_0x5d341c=_0x284676%0x4?_0x5d341c*0x40+_0x61d813:_0x61d813,_0x284676++%0x4)?_0x7d6f4f+=String['fromCharCode'](0xff&_0x5d341c>>(-0x2*_0x284676&0x6)):0x0){_0x61d813=_0x33d813['indexOf'](_0x61d813);}for(let _0x1d3d55=0x0,_0x319702=_0x7d6f4f['length'];_0x1d3d55<_0x319702;_0x1d3d55++){_0x534526+='%'+('00'+_0x7d6f4f['charCodeAt'](_0x1d3d55)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x534526);};a0_0x41fd['sHOzZW']=_0x3e9dfe,a0_0x41fd['GmNGjY']={},a0_0x41fd['VzSfHX']=!![];}const _0x2e7d7d=_0x3c58fe[0x0];a0_0x41fd['mNZefT']!==_0x2e7d7d&&(a0_0x41fd['GmNGjY']={},a0_0x41fd['mNZefT']=_0x2e7d7d);const _0x2fc10f=a0_0x41fd['GmNGjY'][_0x110c85];return _0x2fc10f===undefined?(_0x41fd3e=a0_0x41fd['sHOzZW'](_0x41fd3e),a0_0x41fd['GmNGjY'][_0x110c85]=_0x41fd3e):_0x41fd3e=_0x2fc10f,_0x41fd3e;}const a0_0x454506=a0_0x41fd;(function(_0x58b792,_0x535a25){const _0x38d9f6=a0_0x41fd,_0x1b9c79=_0x58b792();while(!![]){try{const _0x4262e4=parseInt(_0x38d9f6(0x317))/0x1+parseInt(_0x38d9f6(0x1b9))/0x2+-parseInt(_0x38d9f6(0x2e5))/0x3+-parseInt(_0x38d9f6(0x33e))/0x4*(-parseInt(_0x38d9f6(0x1e8))/0x5)+parseInt(_0x38d9f6(0x262))/0x6*(-parseInt(_0x38d9f6(0x21d))/0x7)+-parseInt(_0x38d9f6(0x320))/0x8*(-parseInt(_0x38d9f6(0x31e))/0x9)+-parseInt(_0x38d9f6(0x1ea))/0xa*(parseInt(_0x38d9f6(0x1b2))/0xb);if(_0x4262e4===_0x535a25)break;else _0x1b9c79['push'](_0x1b9c79['shift']());}catch(_0x8f69a1){_0x1b9c79['push'](_0x1b9c79['shift']());}}}(a0_0x3c58,0xb205e));import{Logger}from'../logger.js';const logger=new Logger(a0_0x454506(0x26c)+a0_0x454506(0x340)+'ol'),REPO_OWNER='taazk'+a0_0x454506(0x1cb),REPO_NAME=a0_0x454506(0x235)+a0_0x454506(0x23f)+'p-ser'+a0_0x454506(0x240),ISSUE_URL_BASE='https'+a0_0x454506(0x220)+a0_0x454506(0x257)+a0_0x454506(0x1dc)+REPO_OWNER+'/'+REPO_NAME+(a0_0x454506(0x23d)+a0_0x454506(0x2bf)+'w'),ISSUE_TYPES={'bug':{'label':'bug','checkbox':a0_0x454506(0x313)+a0_0x454506(0x289)+a0_0x454506(0x324)+'t'},'feature':{'label':'enhan'+a0_0x454506(0x337)+'t','checkbox':a0_0x454506(0x313)+a0_0x454506(0x1bb)+a0_0x454506(0x1e1)+a0_0x454506(0x227)+'t'},'question':{'label':'quest'+a0_0x454506(0x29a),'checkbox':a0_0x454506(0x313)+'\x20Ques'+a0_0x454506(0x22f)+'Other'}};export const submitFeedbackTool={'name':a0_0x454506(0x2d3)+a0_0x454506(0x2bd)+a0_0x454506(0x344),'description':a0_0x454506(0x1fd)+'t\x20fee'+'dback'+a0_0x454506(0x2f1)+a0_0x454506(0x330)+a0_0x454506(0x1c3)+'or\x20fe'+a0_0x454506(0x298)+a0_0x454506(0x2d9)+'ests\x20'+a0_0x454506(0x247)+'he\x20Cl'+a0_0x454506(0x31b)+a0_0x454506(0x2f7)+'Serve'+a0_0x454506(0x2ed)+a0_0x454506(0x2e0)+a0_0x454506(0x251)+a0_0x454506(0x302)+a0_0x454506(0x30c)+a0_0x454506(0x338)+a0_0x454506(0x242)+a0_0x454506(0x200)+a0_0x454506(0x2db)+'th\x20pr'+a0_0x454506(0x228)+a0_0x454506(0x248)+a0_0x454506(0x309)+'t.\x20Th'+'e\x20use'+'r\x20can'+'\x20revi'+'ew\x20an'+a0_0x454506(0x1c7)+a0_0x454506(0x269)+a0_0x454506(0x1e3)+a0_0x454506(0x312)+a0_0x454506(0x26f)+a0_0x454506(0x28b)+a0_0x454506(0x281)+a0_0x454506(0x29e)+a0_0x454506(0x215)+a0_0x454506(0x32a)+a0_0x454506(0x20f)+a0_0x454506(0x33b)+a0_0x454506(0x2b2)+a0_0x454506(0x2b1)+a0_0x454506(0x2d7)+a0_0x454506(0x342)+a0_0x454506(0x1dd)+a0_0x454506(0x33d)+'or\x20un'+a0_0x454506(0x308)+a0_0x454506(0x225)+a0_0x454506(0x232)+a0_0x454506(0x2a9)+a0_0x454506(0x285)+a0_0x454506(0x301)+a0_0x454506(0x1ce)+a0_0x454506(0x21e)+a0_0x454506(0x1ee)+a0_0x454506(0x2c1)+a0_0x454506(0x2ee)+a0_0x454506(0x2ad)+a0_0x454506(0x212)+a0_0x454506(0x216)+a0_0x454506(0x332)+a0_0x454506(0x201)+a0_0x454506(0x2e8)+a0_0x454506(0x33c)+'\x20User'+a0_0x454506(0x2b3)+'\x20how\x20'+a0_0x454506(0x267)+a0_0x454506(0x2a2)+'a\x20bug'+a0_0x454506(0x25b)+a0_0x454506(0x227)+a0_0x454506(0x1cd)+'eatur'+'e\x0a-\x20A'+a0_0x454506(0x2aa)+a0_0x454506(0x21b)+'rns\x20a'+a0_0x454506(0x1b1)+a0_0x454506(0x2c4)+a0_0x454506(0x1af)+a0_0x454506(0x2b4)+'ndica'+a0_0x454506(0x1d4)+a0_0x454506(0x2f9),'annotations':{'title':a0_0x454506(0x1fd)+'t\x20Fee'+a0_0x454506(0x344),'openWorldHint':!![]},'inputSchema':{'type':a0_0x454506(0x1eb)+'t','properties':{'type':{'type':'strin'+'g','enum':[a0_0x454506(0x2f9),'featu'+'re','quest'+a0_0x454506(0x29a)],'description':a0_0x454506(0x2d8)+a0_0x454506(0x2b6)+'edbac'+a0_0x454506(0x2a3)+a0_0x454506(0x1e4)+'port\x20'+a0_0x454506(0x310)+a0_0x454506(0x334)+',\x20fea'+a0_0x454506(0x2c0)+a0_0x454506(0x2b7)+a0_0x454506(0x243)+a0_0x454506(0x25f)+a0_0x454506(0x323)+a0_0x454506(0x2b0)+a0_0x454506(0x2ec)+'n\x20(ge'+'neral'+'\x20inqu'+a0_0x454506(0x245)},'title':{'type':'strin'+'g','description':a0_0x454506(0x1fb)+a0_0x454506(0x213)+'cript'+a0_0x454506(0x1df)+a0_0x454506(0x29d)+a0_0x454506(0x247)+'he\x20is'+a0_0x454506(0x2e7)+'e.g.,'+a0_0x454506(0x1d7)+'k\x20cre'+'ation'+'\x20fail'+a0_0x454506(0x1f9)+a0_0x454506(0x2fe)+a0_0x454506(0x2bb)+a0_0x454506(0x341)+'\x22)'},'description':{'type':a0_0x454506(0x206)+'g','description':a0_0x454506(0x2a5)+a0_0x454506(0x2f2)+a0_0x454506(0x32d)+a0_0x454506(0x2b8)+a0_0x454506(0x1bd)+a0_0x454506(0x1e3)+a0_0x454506(0x1d1)+a0_0x454506(0x229)+'ture\x20'+'reque'+'st.\x20F'+a0_0x454506(0x1c5)+'gs:\x20i'+'nclud'+a0_0x454506(0x24a)+a0_0x454506(0x25e)+a0_0x454506(0x329)+a0_0x454506(0x230)+',\x20exp'+a0_0x454506(0x1da)+'\x20vs\x20a'+a0_0x454506(0x2a6)+a0_0x454506(0x321)+a0_0x454506(0x1e5)+a0_0x454506(0x284)+a0_0x454506(0x216)+a0_0x454506(0x255)+a0_0x454506(0x314)+a0_0x454506(0x22e)+a0_0x454506(0x2be)+a0_0x454506(0x27a)+a0_0x454506(0x322)+a0_0x454506(0x2ea)+a0_0x454506(0x270)},'nodeVersion':{'type':a0_0x454506(0x206)+'g','description':a0_0x454506(0x207)+a0_0x454506(0x1ef)+'Node.'+a0_0x454506(0x241)+a0_0x454506(0x2cc)+a0_0x454506(0x1f7)+a0_0x454506(0x23b)+a0_0x454506(0x2ac)+a0_0x454506(0x205)+'on`)'},'mcpHost':{'type':a0_0x454506(0x206)+'g','description':a0_0x454506(0x207)+a0_0x454506(0x1ef)+a0_0x454506(0x2e9)+'ost/c'+a0_0x454506(0x1d8)+a0_0x454506(0x1d6)+a0_0x454506(0x339)+'d\x20(e.'+'g.,\x20C'+'laude'+a0_0x454506(0x271)+a0_0x454506(0x2fd)+'Curso'+a0_0x454506(0x1f3)+a0_0x454506(0x2f5)+a0_0x454506(0x237)+a0_0x454506(0x223)+'ine)'},'operatingSystem':{'type':a0_0x454506(0x206)+'g','description':a0_0x454506(0x207)+'nal:\x20'+'Opera'+a0_0x454506(0x208)+a0_0x454506(0x221)+a0_0x454506(0x204)+'g.,\x20m'+'acOS\x20'+a0_0x454506(0x28f)+a0_0x454506(0x2d5)+a0_0x454506(0x2de)+'\x20Ubun'+a0_0x454506(0x254)+a0_0x454506(0x1e9)},'additionalContext':{'type':a0_0x454506(0x206)+'g','description':a0_0x454506(0x207)+'nal:\x20'+'Any\x20a'+a0_0x454506(0x291)+a0_0x454506(0x33a)+a0_0x454506(0x217)+a0_0x454506(0x2df)+a0_0x454506(0x2fb)+a0_0x454506(0x2f8)+a0_0x454506(0x21f)+'or\x20co'+'nfigu'+a0_0x454506(0x2c1)+a0_0x454506(0x2dc)+a0_0x454506(0x31d)}},'required':[a0_0x454506(0x26e),a0_0x454506(0x25a),a0_0x454506(0x2fa)+a0_0x454506(0x2cb)+'n']}};function buildIssueBody(_0x523c22){const _0x27ffa3=a0_0x454506,_0x5edaf2={'NsGfp':'##\x20Ty'+'pe','juSNL':function(_0x41669b,_0x11b744){return _0x41669b===_0x11b744;},'xIOpI':function(_0x355826,_0x5d25d8){return _0x355826===_0x5d25d8;},'tFEVU':_0x27ffa3(0x216)+'re','cGlcF':_0x27ffa3(0x313)+_0x27ffa3(0x1bb)+_0x27ffa3(0x1e1)+_0x27ffa3(0x227)+'t','hwsWK':_0x27ffa3(0x21a)+'\x20Feat'+'ure\x20R'+'eques'+'t','plQaZ':_0x27ffa3(0x2fc)+_0x27ffa3(0x29a),'ICAHX':_0x27ffa3(0x21a)+'\x20Ques'+_0x27ffa3(0x22f)+_0x27ffa3(0x2d1),'hJMHV':function(_0x2e2bc0,_0xb5eba1){return _0x2e2bc0===_0xb5eba1;},'fYXEa':function(_0x25239e,_0x3026f0){return _0x25239e||_0x3026f0;},'PhtqH':_0x27ffa3(0x252)+_0x27ffa3(0x23e)+_0x27ffa3(0x326)+_0x27ffa3(0x27b)+_0x27ffa3(0x2eb)+_0x27ffa3(0x1f5)+_0x27ffa3(0x31c)+_0x27ffa3(0x1d3)+'4)'},{type:_0x11e11c,description:_0x2c3229,nodeVersion:_0x5a7bc7,mcpHost:_0x470810,operatingSystem:_0x26e602,additionalContext:_0x846853}=_0x523c22,_0x3d5950=ISSUE_TYPES[_0x11e11c],_0xc5154e=[_0x5edaf2[_0x27ffa3(0x1c6)],_0x5edaf2[_0x27ffa3(0x32b)](_0x11e11c,'bug')?_0x27ffa3(0x313)+_0x27ffa3(0x289)+_0x27ffa3(0x324)+'t':_0x27ffa3(0x21a)+_0x27ffa3(0x289)+'Repor'+'t',_0x5edaf2[_0x27ffa3(0x1bc)](_0x11e11c,_0x5edaf2[_0x27ffa3(0x233)])?_0x5edaf2[_0x27ffa3(0x318)]:_0x5edaf2['hwsWK'],_0x11e11c===_0x5edaf2[_0x27ffa3(0x24c)]?_0x27ffa3(0x313)+_0x27ffa3(0x20d)+'tion/'+'Other':_0x5edaf2[_0x27ffa3(0x24f)]][_0x27ffa3(0x222)]('\x0a');let _0x408560='';_0x5edaf2['hJMHV'](_0x11e11c,'bug')&&(_0x408560='\x0a##\x20P'+'rereq'+_0x27ffa3(0x1d9)+_0x27ffa3(0x21c)+'or\x20Bu'+_0x27ffa3(0x311)+_0x27ffa3(0x2a1)+_0x27ffa3(0x2a7)+'nviro'+'nment'+_0x27ffa3(0x2c6)+_0x27ffa3(0x2c9)+'-\x20['+(_0x5a7bc7?'x':'\x20')+(_0x27ffa3(0x2a8)+_0x27ffa3(0x1e0)+'versi'+_0x27ffa3(0x319))+_0x5edaf2[_0x27ffa3(0x30d)](_0x5a7bc7,_0x27ffa3(0x249)+_0x27ffa3(0x2ab)+_0x27ffa3(0x2cc)+'`')+('\x20(mus'+_0x27ffa3(0x23a)+_0x27ffa3(0x209)+_0x27ffa3(0x2dd)+_0x27ffa3(0x21a)+'\x20npm\x20'+_0x27ffa3(0x205)+_0x27ffa3(0x265)+_0x27ffa3(0x2ef)+_0x27ffa3(0x1c9)+_0x27ffa3(0x287)+_0x27ffa3(0x27d))+(_0x26e602?'x':'\x20')+(_0x27ffa3(0x261)+_0x27ffa3(0x1f0)+'g\x20Sys'+_0x27ffa3(0x2af))+_0x5edaf2['fYXEa'](_0x26e602,_0x5edaf2[_0x27ffa3(0x304)])+_0x27ffa3(0x29f)+(_0x470810?'x':'\x20')+(_0x27ffa3(0x1c2)+_0x27ffa3(0x27f)+':\x20')+(_0x470810||_0x27ffa3(0x252)+_0x27ffa3(0x27c)+_0x27ffa3(0x1b8)+'eskto'+_0x27ffa3(0x297)+'rsor,'+_0x27ffa3(0x294))+(_0x27ffa3(0x2ba)+_0x27ffa3(0x22b)+_0x27ffa3(0x29c)+_0x27ffa3(0x2d2)+'ey\x20co'+_0x27ffa3(0x1cf)+_0x27ffa3(0x30f)+'\x20[\x20]\x20'+_0x27ffa3(0x24d)+'Up\x20Te'+_0x27ffa3(0x1ae)+_0x27ffa3(0x2ce)+_0x27ffa3(0x336)+_0x27ffa3(0x30a)+_0x27ffa3(0x1c1)+_0x27ffa3(0x303)+_0x27ffa3(0x22d)+_0x27ffa3(0x279)+'\x20[\x20]\x20'+_0x27ffa3(0x2a0)+_0x27ffa3(0x2c7)+_0x27ffa3(0x273)+'y\x20Nod'+_0x27ffa3(0x1e0)+_0x27ffa3(0x205)+'on\x20me'+_0x27ffa3(0x1ed)+_0x27ffa3(0x30e)+'ement'+_0x27ffa3(0x307)+_0x27ffa3(0x2f0)+_0x27ffa3(0x1d0)+'ied\x20c'+_0x27ffa3(0x1ab)+'ng\x20np'+'m\x20cac'+_0x27ffa3(0x274)+_0x27ffa3(0x346)+_0x27ffa3(0x316)+_0x27ffa3(0x2d4)+_0x27ffa3(0x33f)+'rce`\x0a'+_0x27ffa3(0x21a)+_0x27ffa3(0x1ec)+_0x27ffa3(0x25d)+_0x27ffa3(0x331)+_0x27ffa3(0x20b)+_0x27ffa3(0x1cf)+_0x27ffa3(0x2c1)+_0x27ffa3(0x1f1)+_0x27ffa3(0x258)+'the\x20R'+_0x27ffa3(0x1f4)+_0x27ffa3(0x1b5)+_0x27ffa3(0x2a4)));const _0xc760cd=_0x27ffa3(0x256)+'escri'+_0x27ffa3(0x2b8)+'\x0a'+_0x2c3229+'\x0a';let _0x7fa1df='';return _0x846853&&(_0x7fa1df=_0x27ffa3(0x266)+_0x27ffa3(0x291)+_0x27ffa3(0x33a)+_0x27ffa3(0x2b5)+'matio'+'n\x0a'+_0x846853+'\x0a'),[_0xc5154e,_0x408560,_0xc760cd,_0x7fa1df]['filte'+'r'](Boolean)[_0x27ffa3(0x222)]('\x0a');}function generateIssueUrl(_0x1c35c4){const _0x24a8ab=a0_0x454506,{type:_0x352134,title:_0x5896a4,body:_0x1a90ee}=_0x1c35c4,_0x11f18b=ISSUE_TYPES[_0x352134],_0x38eca2=new URLSearchParams({'title':_0x5896a4,'body':_0x1a90ee,'labels':_0x11f18b[_0x24a8ab(0x327)]});return ISSUE_URL_BASE+'?'+_0x38eca2[_0x24a8ab(0x20e)+_0x24a8ab(0x28a)]();}export async function handleSubmitFeedback(_0x380063){const _0x26d676=a0_0x454506,_0x26da74={'ueonh':_0x26d676(0x2f9),'jcEtR':_0x26d676(0x216)+'re','bLoEI':'text','Jhmar':function(_0x4e0835,_0x3a8a49){return _0x4e0835(_0x3a8a49);},'bPIXQ':function(_0x143b8c,_0x4718bd){return _0x143b8c===_0x4718bd;},'JezgY':function(_0x1299c6,_0x808279){return _0x1299c6===_0x808279;},'opUIM':_0x26d676(0x283)+_0x26d676(0x286)+'ratin'+'g\x20fee'+'dback'+_0x26d676(0x226)};try{const _0x134965=_0x380063[_0x26d676(0x26e)],_0x28e8ba=_0x380063[_0x26d676(0x25a)],_0x195e23=_0x380063[_0x26d676(0x2fa)+_0x26d676(0x2cb)+'n'],_0x59b56e=_0x380063['nodeV'+_0x26d676(0x27e)+'n'],_0x562184=_0x380063['mcpHo'+'st'],_0x2918f0=_0x380063['opera'+_0x26d676(0x2f3)+_0x26d676(0x231)],_0x22e7a5=_0x380063['addit'+_0x26d676(0x1cc)+'Conte'+'xt'];if(!_0x134965||!_0x28e8ba||!_0x195e23)return{'content':[{'type':'text','text':_0x26d676(0x283)+':\x20Mis'+_0x26d676(0x212)+_0x26d676(0x345)+_0x26d676(0x2e4)+'ields'+_0x26d676(0x2c8)+_0x26d676(0x1ca)+_0x26d676(0x278)+'e\x20typ'+_0x26d676(0x30b)+_0x26d676(0x32c)+_0x26d676(0x28c)+_0x26d676(0x32d)+_0x26d676(0x2b8)+'.'}],'isError':!![]};if(![_0x26da74['ueonh'],_0x26da74[_0x26d676(0x20a)],_0x26d676(0x2fc)+'ion'][_0x26d676(0x31a)+_0x26d676(0x22a)](_0x134965))return{'content':[{'type':_0x26da74[_0x26d676(0x250)],'text':_0x26d676(0x283)+_0x26d676(0x263)+'alid\x20'+_0x26d676(0x2da)+'\x22'+_0x134965+(_0x26d676(0x2f4)+_0x26d676(0x1ba)+_0x26d676(0x264)+_0x26d676(0x306)+_0x26d676(0x1e6)+'eatur'+_0x26d676(0x277)+'estio'+'n.')}],'isError':!![]};logger[_0x26d676(0x333)](_0x26d676(0x343)+_0x26d676(0x325)+_0x26d676(0x2e6)+_0x26d676(0x1b0)+_0x26d676(0x1e7)+_0x26d676(0x214)+_0x134965+':\x20'+_0x28e8ba);const _0x766fd7=_0x26da74[_0x26d676(0x246)](buildIssueBody,{'type':_0x134965,'description':_0x195e23,'nodeVersion':_0x59b56e,'mcpHost':_0x562184,'operatingSystem':_0x2918f0,'additionalContext':_0x22e7a5}),_0x42329c=generateIssueUrl({'type':_0x134965,'title':_0x28e8ba,'body':_0x766fd7}),_0x2cec8e=_0x26da74['bPIXQ'](_0x134965,_0x26da74[_0x26d676(0x1c8)])?_0x26d676(0x292)+_0x26d676(0x300):_0x26da74[_0x26d676(0x272)](_0x134965,_0x26da74[_0x26d676(0x20a)])?_0x26d676(0x1ff)+_0x26d676(0x29b)+'quest':_0x26d676(0x2c3)+'ion',_0x1068cd=[_0x26d676(0x1c0)+_0x26d676(0x2d6)+_0x26d676(0x275)+_0x26d676(0x1fc)+_0x26d676(0x1be)+'d','',_0x26d676(0x24b)+_0x26d676(0x295)+_0x26d676(0x238)+_0x26d676(0x31f)+_0x26d676(0x32f)+_0x26d676(0x2b9)+_0x26d676(0x26b)+_0x26d676(0x282)+_0x26d676(0x20c)+_0x2cec8e+':','',_0x26d676(0x1f8)+_0x26d676(0x290)+_0x26d676(0x296)+'\x20on\x20G'+'itHub'+']('+_0x42329c+_0x26d676(0x1b6),'',_0x26d676(0x1ad),_0x26d676(0x1fe)+_0x26d676(0x219)+'\x20'+_0x28e8ba,_0x26d676(0x211)+_0x26d676(0x260)+_0x2cec8e,'',_0x26d676(0x25c)+_0x26d676(0x1b7)+'u\x27ll\x20'+_0x26d676(0x253)+_0x26d676(0x1ac)+_0x26d676(0x1d5)+_0x26d676(0x1b3)+'t\x20to\x20'+_0x26d676(0x2d3)+_0x26d676(0x2c5)+'e\x20for'+_0x26d676(0x2cf)+_0x26d676(0x2e3)+_0x26d676(0x347)+'illed'+'\x20with'+_0x26d676(0x1fa)+_0x26d676(0x276)+_0x26d676(0x24e)+'u\x20pro'+'vided'+'.','',_0x26d676(0x32e)+_0x26d676(0x335)+_0x26d676(0x1c4)+'CTION'+_0x26d676(0x202)+'I\x20ASS'+'ISTAN'+_0x26d676(0x315),_0x26d676(0x28e)+_0x26d676(0x2cd)+_0x26d676(0x299)+_0x26d676(0x2c2)+_0x26d676(0x2ff)+_0x26d676(0x2bc)+_0x26d676(0x280)+'ink\x20\x22'+_0x26d676(0x244)+'it\x20Is'+_0x26d676(0x1d1)+_0x26d676(0x1de)+_0x26d676(0x1f6)+_0x42329c+(_0x26d676(0x2ca)+'\x20your'+_0x26d676(0x328)+_0x26d676(0x22c)+'ponse'+'\x20to\x20t'+_0x26d676(0x239)+_0x26d676(0x224)),'2.\x20Do'+_0x26d676(0x1d2)+_0x26d676(0x305)+_0x26d676(0x2f6)+_0x26d676(0x24d)+_0x26d676(0x1fa)+_0x26d676(0x28d)+_0x26d676(0x293)+_0x26d676(0x26a)+'e\x20use'+'r\x20can'+'not\x20s'+_0x26d676(0x1f2)+_0x26d676(0x236)+_0x26d676(0x268)+_0x26d676(0x1e2)+_0x26d676(0x1bf)+'ault.','3.\x20Yo'+'u\x20MUS'+_0x26d676(0x2ae)+'put\x20t'+'he\x20ma'+_0x26d676(0x210)+_0x26d676(0x1b4)+_0x26d676(0x218)+_0x26d676(0x2d0)+_0x26d676(0x1db)+_0x26d676(0x2e1)+_0x26d676(0x259)+_0x26d676(0x23c)][_0x26d676(0x222)]('\x0a');return{'content':[{'type':_0x26d676(0x203),'text':_0x1068cd}]};}catch(_0x5aa63f){return logger[_0x26d676(0x288)](_0x26da74[_0x26d676(0x26d)],_0x5aa63f),{'content':[{'type':_0x26da74['bLoEI'],'text':'Error'+_0x26d676(0x286)+'ratin'+_0x26d676(0x2e2)+_0x26d676(0x344)+_0x26d676(0x234)+'\x20'+_0x5aa63f[_0x26d676(0x2f8)+'ge']}],'isError':!![]};}}function a0_0x3c58(){const _0x1aacb5=['ANvZDca','B2y6igi','CWOTifS','zxHWzwm','B250zw4','cGOQkLe','zsWGDgK','zxmGysa','zLLyrwe','zxf1Axi','CMvKcI0','ysbWCM8','zYbszxa','C3vLlGO','lsbBEf0','zxHWBge','vcOQoG','ywnOzsa','mti5mdq2ouXzC1r0Ea','y0DSy0y','B246ia','Aw5JBhu','AwnRvxa','yNvUDhu','ywLSCW','mJm1otG5ou1kzxvHrG','zsbSAw4','ofzRrM5sra','igjLAge','igfUzca','zw1LBNq','uMvWB3i','yxrPBMC','t1mGmtq','BgfIzwW','igzPBMe','ihjLChi','zxn0ihq','ANvttKW','DgXLlca','zxnJCMK','kIPtwvm','AYbIzwW','ihjLCg8','A2vKihq','CMvZig8','Aw5MBW','yMXLBsK','vevnieK','BgfIBgu','y2vTzw4','r2L0shu','zYb1C2u','B25HBca','B29SihC','B25ZcI0','CM9YCYa','ntKYngrqANrnsa','ic0TzM8','ywnRvg8','AwvSzhm','B3vUDgu','r2vUzxi','zgjHy2S','CMvXDwK','BNbTigm','ChjLlwy','BgvHCMK','ysbhAxq','ls0T','yw0Gsuq','yxqGBwK','yMfJAYa','BIbLCNi','ndm4nJHIEejTwLa','y2nVDw4','BIbSAw4','igv4yw0','ksOQ','ztOGww8','DwrLieq','mtK3mJG0u2Trz3L4','C3qGyMu','iezLyxq','EeLpCeK','ig9Mihq','zxjHDgu','EsbKzwy','iYmGrMu','DwLJAYa','xsbnq1a','CNrZlca','tLnuuLu','B3iGyNu','tNnhzNa','zcbZDwi','DwvVBMG','lxzLCNm','yxnLiha','yxjLzw0','Aw9UywW','DcbHigy','zxHWCMu','BMzPz3u','DMuGDhi','C3vLig8','ie5pvca','idiYlJa','DguGysa','shvIige','igjLAw4','icjuyxm','BgLLBNq','DwLZAxq','zwn0zwq','ihLVDxi','y29TlW','CNmGzxi','BIbhAxq','AxzLihq','zs5QCYa','DxjLifi','Chv0igi','AguGAxm','zYaOCMu','DMLVCI4','DwCSigy','vvjmigy','ndC1nuPcEhfgDW','lJa0kq','mJa2mevxs1DTua','B2jQzwm','ieKNDMu','zxrZihi','zNj1C3q','BMfSoIa','CMf0Aw4','BIbTyxq','zwuGDgG','CIWGv2K','rufetuu','mteSifu','shvIxsG','icHMCM8','kIPBu3u','CYb3Axq','ihrOzsa','qNjPzwy','AYbhzw4','u3vIBwK','kIPuAxq','rMvHDhu','DwuGBgK','CIbSAw0','ifrpiee','Dgv4Da','BsaOzs4','DMvYC2K','C3rYAw4','t3b0Aw8','DgLUzYa','DJe4lJa','AMnfDfi','AguGy28','DxiG','iff1zxm','Dg9tDhi','AgLZihq','CMTKB3C','kIPuExa','C2LUzYa','lcbKzxm','B3iG','ifn1z2C','zMvHDhu','y29UDgu','AYbHz2e','Bgu6kIO','lsbBif0','ihjLDhu','zxmGkgy','ote3mteXm09UufPxqW','C3nLCYa','z2vZlca','oI8Vz2K','C3LZDgu','AM9PBG','BIWGq2W','zxiU','DgvKihq','ifvsta','zxf1zxm','zs1MAwW','CIbMzwe','zgvZ','xsbdBgK','BcbYzxm','q2HLy2S','Aw4GDgG','DgLVBI8','B2r1y2u','Exn0zw0','B29Sigy','DezfvLu','ifvstdO','y2XPy2S','zsb0B28','zIWGBJG','y2SGDgG','AguGDxm','DcbIzsa','BsbGBM8','B25Zzs4','l2LZC3u','lcbTywm','DxaTBwm','DMvY','ANmGDMu','yIbPC3m','zxn0igu','w1n1yM0','Axj5kq','sMHTyxi','zM9Yihq','BgvKigm','yg5Vzgu','zsbZDgu','ugXLyxm','CgXryvO','q2XPy2S','BhmGEw8','sunbsfG','yKXVruK','Bs4Gr2u','kguUzY4','BMvLzca','DhuGmJi','CMvZoIa','cImJieq','DgH1yI4','y2HLCYa','ihjLC3a','DgL0Bgu','ig9Yihi','pIboB3q','ignOzwm','ChmGDg8','BMHHBMm','ztOQkIa','xsbpCgu','nMrdEK5PwG','oIbjBNy','ig9Uzsa','B246iga','cImJiee','Dg8GCMu','BcbVDxq','BwL0ihq','iI4GvgG','ihn1yM0','rMvLzgi','B3bvsu0','DhLWzq','cLbst0e','AxrZlG','ierLC2S','sMv6z1K','AwvKig0','Agu6iga','AYbmAw4','zgv0ywK','zsWGCxu','CM92Awq','oIOQcI0','ignHC2u','lcbxAw4','lcbdBge','lsbB','zxjZAw8','ieHVC3q','yMXLigW','ieDvsuq','AxqGEw8','rxjYB3i','iezVCIa','zxmklsa','igDLBMu','Aw9UyaO','zxjYB3i','iej1zYa','Aw5N','q1rjvKu','yw5Kigq','BgLUAYa','ms4Gww8','mtqSifC','yM1PDca','zgrPDgK','qNvNifi','ywjVDMu','ig44BIK','zsbJBgK','sxnZDwu','CcWGq3u','yxr1CMu','vcbKAxm','Aw9U','CMuGuMu','y2TvCca','AxrSzsa','qu5drtO','cI0GwW','ssD2zsa','B3j0CYK','Cg9YDca','AZOGyNu','CgXLCWO','rgv0ywK','y3r1ywW','cGOQkKu','xsboB2q','ywLSDxi','ihrVB2W','ic0TDMu','zguGls0','AcbTAxm','vcbVDxq','DgvToIa','ksWGCxu','lsbvC2u','AgvUoGO','igfZA3m','z2H0igK','sw5MB3i','B2yGzMu','khn1z2C','ChrPB24','B3CGDg8','cI0GwYa','Dg9Tigy','BgLJA2e','Df9Mzwu','zsb1C2u','zxmVBMu','DhvYzsa','CMf0Aw8','CgXHEsa','uxvLC3q','B3iGDgG','Dc4GvgG','ienOzwm','DMvYAwy','lIbqBgu','AZOQkGO','ksiGAw4','Axb0Aw8','CNnPB24','Dsbnvvm','igf2ywK','Bsb3AwW','Aw4GAw4','t3rOzxi','qvbjigS','C3vIBwK','y2XLyw4','Aw5KB3C','zwrIywm','CIbLBMm','vhLWzsa','ihjLCxu','DhLWzsa','BMSGD2K','BIbKzxq','lJaRkqO','CYaXmsW','EhqSigu','CMvTAxu','ihrLEhq','zYbMzwu','BcbIzsa','CMvKigy','ntK2nJuYCuvVuMDq','igzLzwq','C3vLicG','AxrHDgK','tunqigG','yMvUzwy','zg93CYa','zxn0Aw8','CIaTifa','BIb3Axq','BNbTic0','if0GssC','lcbIDwC','BgvKigq','DgLUz1m','iI4Gtxu','BMrZDxi','C2f5ici','ie1duca','BwvZC2e','yNvN','zgvZy3i','CNjVCIa','CxvLC3q','Dg9Wlca','AcbJDxm','DgHLigm','zxbVCNq','vxnLCIa','BMvYyxq','u2vSzI0','ugH0CuG'];a0_0x3c58=function(){return _0x1aacb5;};return a0_0x3c58();}
@@ -1 +1 @@
1
- const a0_0x5168a7=a0_0x274d;(function(_0x45f71d,_0x5eaee3){const _0x124a0d=a0_0x274d,_0x290fc0=_0x45f71d();while(!![]){try{const _0x392174=-parseInt(_0x124a0d(0x112))/0x1*(parseInt(_0x124a0d(0xe7))/0x2)+parseInt(_0x124a0d(0x16b))/0x3+-parseInt(_0x124a0d(0x27d))/0x4+parseInt(_0x124a0d(0x23a))/0x5*(parseInt(_0x124a0d(0x231))/0x6)+parseInt(_0x124a0d(0xef))/0x7*(-parseInt(_0x124a0d(0xda))/0x8)+-parseInt(_0x124a0d(0x244))/0x9*(parseInt(_0x124a0d(0x188))/0xa)+parseInt(_0x124a0d(0x2aa))/0xb;if(_0x392174===_0x5eaee3)break;else _0x290fc0['push'](_0x290fc0['shift']());}catch(_0x53a48b){_0x290fc0['push'](_0x290fc0['shift']());}}}(a0_0x1e6c,0xab50d));import{Logger}from'../logger.js';import a0_0x29698f from'../config.js';import{resolveLocation,resolveTemplateId}from'../utils/resolver-utils.js';import{sponsorService}from'../utils/sponsor-service.js';const logger=new Logger(a0_0x5168a7(0x204)+'rTool'+'s');function buildFolderUrl(_0x415095,_0x1d2086){const _0x6d65f2=a0_0x5168a7;return a0_0x29698f[_0x6d65f2(0x24b)+_0x6d65f2(0x263)+_0x6d65f2(0x111)]+'/'+_0x1d2086[_0x6d65f2(0x24d)+'pace'][_0x6d65f2(0x116)+_0x6d65f2(0xd6)]()+(_0x6d65f2(0x177)+'f/')+_0x415095;}export const listFoldersTool={'name':a0_0x5168a7(0x145)+'folde'+'rs','description':'List\x20'+'all\x20f'+a0_0x5168a7(0x1dc)+a0_0x5168a7(0x22b)+'a\x20spa'+a0_0x5168a7(0x23e)+a0_0x5168a7(0xd9)+a0_0x5168a7(0x2ac)+a0_0x5168a7(0x218)+'d\x20or\x20'+a0_0x5168a7(0x228)+a0_0x5168a7(0x296)+'.\x20Use'+a0_0x5168a7(0x1d0)+a0_0x5168a7(0x17d)+a0_0x5168a7(0xfb)+a0_0x5168a7(0x1f5)+'clude'+'\x20arch'+a0_0x5168a7(0x226)+a0_0x5168a7(0x281)+a0_0x5168a7(0x289),'annotations':{'title':a0_0x5168a7(0x1a0)+'Folde'+'rs','readOnlyHint':!![]},'inputSchema':{'type':a0_0x5168a7(0x125)+'t','properties':{'space_id':{'type':'strin'+'g','description':a0_0x5168a7(0x122)+a0_0x5168a7(0x203)+a0_0x5168a7(0x1b7)+a0_0x5168a7(0x150)+'.'},'space_name':{'type':a0_0x5168a7(0x135)+'g','description':'Space'+a0_0x5168a7(0x102)+a0_0x5168a7(0x1b2)+a0_0x5168a7(0x106)+a0_0x5168a7(0x274)},'archived':{'type':a0_0x5168a7(0x238)+'an','description':a0_0x5168a7(0x227)+a0_0x5168a7(0x219)+a0_0x5168a7(0x22d)+a0_0x5168a7(0x12d)+a0_0x5168a7(0x1a5)+a0_0x5168a7(0x252)+'ult:\x20'+a0_0x5168a7(0xf8)+'.'},'detail_level':{'type':a0_0x5168a7(0x135)+'g','enum':[a0_0x5168a7(0x278),a0_0x5168a7(0x1f7)+a0_0x5168a7(0x24f)],'description':a0_0x5168a7(0xe8)+a0_0x5168a7(0xdf)+'espon'+a0_0x5168a7(0x139)+'rbosi'+a0_0x5168a7(0x267)+a0_0x5168a7(0x278)+a0_0x5168a7(0x22f)+a0_0x5168a7(0x1d3)+a0_0x5168a7(0x161)+a0_0x5168a7(0x262)+a0_0x5168a7(0x1a8)+a0_0x5168a7(0x28a)+a0_0x5168a7(0xfe)+a0_0x5168a7(0x2a8)+'ficie'+a0_0x5168a7(0x198)+a0_0x5168a7(0xd8)+'ion.\x20'+'\x27deta'+a0_0x5168a7(0x141)+a0_0x5168a7(0x23f)+'rns\x20f'+a0_0x5168a7(0x261)+a0_0x5168a7(0x27a)+a0_0x5168a7(0x14c)+a0_0x5168a7(0x119)+a0_0x5168a7(0x1d7)+a0_0x5168a7(0x180)+'d.'}}}};export const getFolderTool={'name':a0_0x5168a7(0x271)+a0_0x5168a7(0x1dc),'description':a0_0x5168a7(0x223)+'\x20fold'+a0_0x5168a7(0x1fc)+a0_0x5168a7(0x173)+a0_0x5168a7(0x1ea)+'s.\x20Re'+'quire'+a0_0x5168a7(0x115)+a0_0x5168a7(0x250)+'d\x20or\x20'+'folde'+a0_0x5168a7(0x1c3)+'e.','annotations':{'title':a0_0x5168a7(0x10e)+'older','readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'folder_id':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x204)+a0_0x5168a7(0xfd)+a0_0x5168a7(0x21e)+a0_0x5168a7(0x1f4)+').'},'folder_name':{'type':a0_0x5168a7(0x135)+'g','description':'Folde'+a0_0x5168a7(0x19c)+a0_0x5168a7(0x136)+a0_0x5168a7(0x20f)+a0_0x5168a7(0x17f)+'.'},'space_id':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x122)+'\x20ID\x20t'+a0_0x5168a7(0x249)+a0_0x5168a7(0x19b)+a0_0x5168a7(0x146)+a0_0x5168a7(0xee)},'space_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x122)+a0_0x5168a7(0x102)+a0_0x5168a7(0x1e2)+a0_0x5168a7(0x155)+'name\x20'+'looku'+'p.'}}}};export const createFolderTool={'name':a0_0x5168a7(0x15f)+a0_0x5168a7(0x1c2)+'der','description':'Creat'+a0_0x5168a7(0x1f6)+'ew\x20fo'+a0_0x5168a7(0x14f)+a0_0x5168a7(0x2a1)+a0_0x5168a7(0x228)+'.\x20Req'+a0_0x5168a7(0x242)+a0_0x5168a7(0x102)+a0_0x5168a7(0x28f)+a0_0x5168a7(0x218)+a0_0x5168a7(0x1bd)+a0_0x5168a7(0x228)+a0_0x5168a7(0x296)+'.','annotations':{'title':a0_0x5168a7(0x299)+'e\x20Fol'+a0_0x5168a7(0x163),'openWorldHint':!![]},'inputSchema':{'type':a0_0x5168a7(0x125)+'t','properties':{'name':{'type':'strin'+'g','description':a0_0x5168a7(0x204)+'r\x20nam'+'e.\x20Re'+a0_0x5168a7(0x19d)+'d.'},'space_id':{'type':'strin'+'g','description':a0_0x5168a7(0x122)+'\x20ID\x20('+a0_0x5168a7(0x1b7)+a0_0x5168a7(0x150)+'.'},'space_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x122)+a0_0x5168a7(0x102)+'\x20(alt'+a0_0x5168a7(0x106)+a0_0x5168a7(0x274)},'override_statuses':{'type':a0_0x5168a7(0x238)+'an','description':a0_0x5168a7(0x2a6)+a0_0x5168a7(0x1f0)+'pace\x20'+a0_0x5168a7(0x16e)+a0_0x5168a7(0x1eb)}},'required':[a0_0x5168a7(0x215)]}};export const updateFolderTool={'name':a0_0x5168a7(0x11e)+a0_0x5168a7(0x1c2)+a0_0x5168a7(0x163),'description':a0_0x5168a7(0x1ba)+a0_0x5168a7(0x2a9)+a0_0x5168a7(0x1dc)+a0_0x5168a7(0x165)+a0_0x5168a7(0x1cd)+'\x20its\x20'+a0_0x5168a7(0x1ed)+'gurat'+a0_0x5168a7(0x26e)+a0_0x5168a7(0x15c)+a0_0x5168a7(0x114),'annotations':{'title':a0_0x5168a7(0x1ba)+a0_0x5168a7(0x208)+'der','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'folder_id':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x204)+a0_0x5168a7(0xfd)+a0_0x5168a7(0x21e)+a0_0x5168a7(0x1f4)+').'},'folder_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x204)+'r\x20nam'+a0_0x5168a7(0x136)+a0_0x5168a7(0x20f)+'tive)'+'.'},'space_id':{'type':'strin'+'g','description':'Space'+a0_0x5168a7(0x1cf)+a0_0x5168a7(0x249)+a0_0x5168a7(0x19b)+a0_0x5168a7(0x146)+a0_0x5168a7(0xee)},'space_name':{'type':'strin'+'g','description':a0_0x5168a7(0x122)+a0_0x5168a7(0x102)+a0_0x5168a7(0x1e2)+a0_0x5168a7(0x155)+a0_0x5168a7(0x272)+a0_0x5168a7(0x24a)+'p.'},'name':{'type':'strin'+'g','description':a0_0x5168a7(0x1e7)+a0_0x5168a7(0x1dc)+a0_0x5168a7(0x102)+'.'},'override_statuses':{'type':a0_0x5168a7(0x238)+'an','description':a0_0x5168a7(0x2a6)+a0_0x5168a7(0x1f0)+a0_0x5168a7(0xff)+a0_0x5168a7(0x16e)+a0_0x5168a7(0x1eb)}}}};export const deleteFolderTool={'name':'delet'+a0_0x5168a7(0x1c2)+a0_0x5168a7(0x163),'description':'Perma'+a0_0x5168a7(0x277)+'y\x20rem'+a0_0x5168a7(0xdd)+a0_0x5168a7(0xe0)+a0_0x5168a7(0x22a),'annotations':{'title':a0_0x5168a7(0x134)+a0_0x5168a7(0x208)+a0_0x5168a7(0x163),'openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'folder_id':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x204)+'r\x20ID\x20'+a0_0x5168a7(0x21e)+'erred'+').'},'folder_name':{'type':a0_0x5168a7(0x135)+'g','description':'Folde'+a0_0x5168a7(0x19c)+a0_0x5168a7(0x136)+a0_0x5168a7(0x20f)+'tive)'+'.'},'space_id':{'type':a0_0x5168a7(0x135)+'g','description':'Space'+a0_0x5168a7(0x1cf)+a0_0x5168a7(0x249)+a0_0x5168a7(0x19b)+a0_0x5168a7(0x146)+a0_0x5168a7(0xee)},'space_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x122)+a0_0x5168a7(0x102)+a0_0x5168a7(0x1e2)+'cope\x20'+a0_0x5168a7(0x272)+a0_0x5168a7(0x24a)+'p.'}}}};export const moveFolderTool={'name':a0_0x5168a7(0x292)+a0_0x5168a7(0x281)+'r','description':'Move\x20'+a0_0x5168a7(0x1d2)+'der\x20t'+a0_0x5168a7(0x12e)+a0_0x5168a7(0x1ab)+a0_0x5168a7(0x269)+a0_0x5168a7(0x21d)+a0_0x5168a7(0x1a4)+a0_0x5168a7(0x29d)+a0_0x5168a7(0x281)+a0_0x5168a7(0xdb)+a0_0x5168a7(0xde)+'lder_'+'name\x20'+a0_0x5168a7(0x176)+a0_0x5168a7(0x270)+a0_0x5168a7(0x26e)+a0_0x5168a7(0x133)+a0_0x5168a7(0x22e)+'\x20spac'+'e_nam'+'e.','annotations':{'title':a0_0x5168a7(0x194)+a0_0x5168a7(0x204)+'r','openWorldHint':!![]},'inputSchema':{'type':a0_0x5168a7(0x125)+'t','properties':{'folder_id':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x19e)+a0_0x5168a7(0x1de)+a0_0x5168a7(0x1fe)+a0_0x5168a7(0x1da)+a0_0x5168a7(0xed)+a0_0x5168a7(0x166)},'folder_name':{'type':a0_0x5168a7(0x135)+'g','description':'Sourc'+a0_0x5168a7(0x1de)+'der\x20n'+a0_0x5168a7(0x19a)+a0_0x5168a7(0x266)+'nativ'+a0_0x5168a7(0x1a7)},'space_id':{'type':'strin'+'g','description':a0_0x5168a7(0x107)+a0_0x5168a7(0x236)+a0_0x5168a7(0x117)+'ce\x20ID'+a0_0x5168a7(0x12b)+a0_0x5168a7(0x186)+a0_0x5168a7(0x192)},'space_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x107)+a0_0x5168a7(0x236)+a0_0x5168a7(0x117)+a0_0x5168a7(0x235)+'me\x20(a'+a0_0x5168a7(0x15e)+'ative'+').'},'allow_destructive_fallback':{'type':a0_0x5168a7(0x238)+'an','description':a0_0x5168a7(0x1e1)+a0_0x5168a7(0x20e)+a0_0x5168a7(0x1cc)+a0_0x5168a7(0x126)+'on-de'+a0_0x5168a7(0x1d4)+a0_0x5168a7(0xe9)+a0_0x5168a7(0x216)+a0_0x5168a7(0x1e9)+a0_0x5168a7(0x291)+'efaul'+'t:\x20fa'+'lse.'}}}};export const setFolderPermissionsTool={'name':a0_0x5168a7(0x11b)+a0_0x5168a7(0x1dc)+a0_0x5168a7(0x1b8)+'issio'+'ns','description':'Set\x20p'+'rivac'+a0_0x5168a7(0x298)+a0_0x5168a7(0x21a)+a0_0x5168a7(0x12f)+a0_0x5168a7(0x27e)+a0_0x5168a7(0x265)+a0_0x5168a7(0x199)+a0_0x5168a7(0x1a4)+a0_0x5168a7(0x29d)+a0_0x5168a7(0x281)+a0_0x5168a7(0xdb)+a0_0x5168a7(0xde)+a0_0x5168a7(0x23d)+a0_0x5168a7(0x1c5)+a0_0x5168a7(0x27f)+'ate\x20f'+a0_0x5168a7(0x27c)+'and\x20e'+a0_0x5168a7(0x169)+a0_0x5168a7(0x127)+a0_0x5168a7(0xfa),'annotations':{'title':a0_0x5168a7(0x28c)+'older'+a0_0x5168a7(0x162)+a0_0x5168a7(0x12f)+'ns','openWorldHint':!![]},'inputSchema':{'type':a0_0x5168a7(0x125)+'t','properties':{'folder_id':{'type':'strin'+'g','description':a0_0x5168a7(0x204)+'r\x20ID\x20'+a0_0x5168a7(0x21e)+a0_0x5168a7(0x1f4)+').'},'folder_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x204)+a0_0x5168a7(0x19c)+'e\x20(al'+a0_0x5168a7(0x20f)+a0_0x5168a7(0x17f)+'.'},'space_id':{'type':a0_0x5168a7(0x135)+'g','description':'Space'+'\x20ID\x20t'+'o\x20sco'+a0_0x5168a7(0x19b)+a0_0x5168a7(0x146)+a0_0x5168a7(0xee)},'space_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x122)+a0_0x5168a7(0x102)+a0_0x5168a7(0x1e2)+a0_0x5168a7(0x155)+a0_0x5168a7(0x272)+a0_0x5168a7(0x24a)+'p.'},'private':{'type':a0_0x5168a7(0x238)+'an','description':a0_0x5168a7(0x18c)+'o\x20pri'+a0_0x5168a7(0x2af)+a0_0x5168a7(0x1cb)+a0_0x5168a7(0x13e)+a0_0x5168a7(0x178)+'c\x20(fa'+a0_0x5168a7(0x123)+'\x20Requ'+a0_0x5168a7(0x130)},'entries':{'type':'array','description':a0_0x5168a7(0x29a)+'\x20of\x20p'+a0_0x5168a7(0x214)+a0_0x5168a7(0xf9)+a0_0x5168a7(0x1b9)+a0_0x5168a7(0x144)+a0_0x5168a7(0x1a1)+'ype,\x20'+a0_0x5168a7(0x1e6)+a0_0x5168a7(0x15b)+a0_0x5168a7(0x184)+a0_0x5168a7(0x195),'items':{'type':'objec'+'t','properties':{'id':{'type':'numbe'+'r'},'type':{'type':a0_0x5168a7(0x135)+'g'},'permission_level':{'type':'strin'+'g'}},'required':['id','type']}}},'required':[a0_0x5168a7(0x1b9)+'es']}};export const createFolderFromTemplateTool={'name':a0_0x5168a7(0x15f)+'e_fol'+'der_f'+a0_0x5168a7(0xf0)+a0_0x5168a7(0xe2)+'te','description':a0_0x5168a7(0x299)+'e\x20a\x20f'+'older'+a0_0x5168a7(0x1c8)+'\x20a\x20te'+a0_0x5168a7(0x13a)+a0_0x5168a7(0x11c)+'a\x20spa'+'ce.\x20R'+'equir'+'es:\x20n'+'ame\x20+'+a0_0x5168a7(0x280)+'late_'+a0_0x5168a7(0x2b1)+'(spac'+a0_0x5168a7(0xe5)+a0_0x5168a7(0x12a)+a0_0x5168a7(0x255)+a0_0x5168a7(0x1ec)+'\x20Use\x20'+'retur'+a0_0x5168a7(0x284)+a0_0x5168a7(0xec)+'ely=f'+'alse\x20'+a0_0x5168a7(0x10d)+a0_0x5168a7(0x1e5)+'r\x20ful'+a0_0x5168a7(0x1ae)+a0_0x5168a7(0x1bb)+a0_0x5168a7(0x1e8)+a0_0x5168a7(0x131)+a0_0x5168a7(0x153)+'\x20rema'+'pping'+a0_0x5168a7(0x1f3)+'selec'+a0_0x5168a7(0xe9)+a0_0x5168a7(0x1b0)+a0_0x5168a7(0x10f)+'port.','annotations':{'title':a0_0x5168a7(0x299)+a0_0x5168a7(0x208)+a0_0x5168a7(0x29b)+a0_0x5168a7(0x1f9)+a0_0x5168a7(0xe2)+'te','openWorldHint':!![]},'inputSchema':{'type':a0_0x5168a7(0x125)+'t','properties':{'name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0xe6)+'for\x20t'+'he\x20ne'+a0_0x5168a7(0x1db)+a0_0x5168a7(0x179)+a0_0x5168a7(0x222)+'red.'},'template_id':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x204)+a0_0x5168a7(0x1dd)+a0_0x5168a7(0x23c)+a0_0x5168a7(0x203)+a0_0x5168a7(0x1b7)+a0_0x5168a7(0x150)+'.'},'template_name':{'type':a0_0x5168a7(0x135)+'g','description':a0_0x5168a7(0x204)+a0_0x5168a7(0x1dd)+a0_0x5168a7(0x23c)+'\x20name'+'\x20(alt'+'ernat'+a0_0x5168a7(0x28d)+'o\x20tem'+a0_0x5168a7(0x23c)+a0_0x5168a7(0x239)},'space_id':{'type':a0_0x5168a7(0x135)+'g','description':'Space'+a0_0x5168a7(0x203)+a0_0x5168a7(0x1b7)+a0_0x5168a7(0x150)+'.'},'space_name':{'type':'strin'+'g','description':'Space'+'\x20name'+a0_0x5168a7(0x1b2)+a0_0x5168a7(0x106)+a0_0x5168a7(0x274)},'options':{'type':a0_0x5168a7(0x125)+'t','properties':{},'description':a0_0x5168a7(0xf5)+a0_0x5168a7(0x109)+a0_0x5168a7(0x11a)+a0_0x5168a7(0x243)+a0_0x5168a7(0x24e)+a0_0x5168a7(0x227)+a0_0x5168a7(0x21c)+a0_0x5168a7(0xf7)+'n\x20fla'+'gs:\x20s'+a0_0x5168a7(0x257)+a0_0x5168a7(0x1d5)+a0_0x5168a7(0x293)+'_fiel'+a0_0x5168a7(0x230)+a0_0x5168a7(0x2a7)+a0_0x5168a7(0xeb)+a0_0x5168a7(0x14d)+a0_0x5168a7(0x132)+a0_0x5168a7(0xe4)+a0_0x5168a7(0x118)+a0_0x5168a7(0x120)+a0_0x5168a7(0x20a)+a0_0x5168a7(0x172)+a0_0x5168a7(0x1be)+a0_0x5168a7(0x20a)+a0_0x5168a7(0x1ca)+a0_0x5168a7(0x17c)+a0_0x5168a7(0x2a3)+'tart_'+a0_0x5168a7(0x16d)+a0_0x5168a7(0x20a)+a0_0x5168a7(0x224)+a0_0x5168a7(0x20a)+'statu'+a0_0x5168a7(0x143)+'old_f'+'ollow'+a0_0x5168a7(0x297)+a0_0x5168a7(0x113)+'hment'+a0_0x5168a7(0x128)+'mment'+a0_0x5168a7(0x1f1)+'ment_'+a0_0x5168a7(0x113)+a0_0x5168a7(0x241)+a0_0x5168a7(0x1d9)+a0_0x5168a7(0x124)+'ettin'+a0_0x5168a7(0x276)+a0_0x5168a7(0x233)+a0_0x5168a7(0xdc)+'sts,\x20'+'relat'+'ionsh'+a0_0x5168a7(0x221)+a0_0x5168a7(0x1c0)+a0_0x5168a7(0x200)+a0_0x5168a7(0x1df)+'encie'+a0_0x5168a7(0x1ce)+a0_0x5168a7(0x20f)+'l_dep'+a0_0x5168a7(0x1c7)+'cies.'+'\x20Job\x20'+'contr'+a0_0x5168a7(0xd7)+'eturn'+a0_0x5168a7(0x2ad)+a0_0x5168a7(0x142)+a0_0x5168a7(0x273)+a0_0x5168a7(0xf7)+'n,\x20de'+a0_0x5168a7(0x182)+a0_0x5168a7(0x164)+a0_0x5168a7(0x151)+a0_0x5168a7(0x197)+a0_0x5168a7(0x2a5)+a0_0x5168a7(0x1ac)+'tart_'+a0_0x5168a7(0x16d)+a0_0x5168a7(0x1bf)+'date\x20'+a0_0x5168a7(0x25d)+a0_0x5168a7(0x2b3)+a0_0x5168a7(0x135)+a0_0x5168a7(0x1fa)+a0_0x5168a7(0x167)+a0_0x5168a7(0x18d)+'t_dat'+a0_0x5168a7(0x138)+a0_0x5168a7(0x28b)+a0_0x5168a7(0x20b)+'s\x20(bo'+a0_0x5168a7(0x15a)+a0_0x5168a7(0x14e)}},'required':['name']}};function a0_0x1e6c(){const _0x223fb4=['z2v0vgu','BIbZCge','DwrLx3y','zwzHDwW','BxbVCNq','C2v0x2y','zsbPBIa','ig9Yig8','DxbKyxq','ugvYBwK','Awv3CYW','B2XKx2y','u3bHy2u','BhnLks4','y3vYx3m','B2jQzwm','igLMig4','CYbHCNi','CYWGy28','zxjYB3i','B3iGC3a','icHWCMu','BvrLBxa','zcbMB2W','BYbHigq','AxnZAw8','AxjLzc4','Cg9YDhm','DgLVBIW','CgfJzv8','rgvSzxq','C3rYAw4','zsaOywW','oIbJCMu','zsWGC2S','C2uGDMu','BxbSyxq','iIbKzwW','Aw9UCW','B3jKzxi','ksbVCIa','C3vJy2u','DgfYDf8','AwXLzcC','zgLHDgu','C2vZlca','zxmGEYa','BgLZDf8','BwuGBg8','zgvKigy','x2rHDgu','y3vZDg8','z1vgCNC','zvjLC3a','DgeUieq','DxrVBwe','CYKU','BgrLCIa','CNjLzcK','ks4Grge','CIbVy2m','igrHDgu','DgLVBNm','y29Wzsa','qu9itLC','CIbMB2W','CLjLC3a','zsbTDxm','B2XLyw4','C3nPB24','zxr0Aw4','ignYzwe','BhrLCM4','y3jLyxq','D24Gywm','AwqVBMe','ifbLCM0','zgvY','ihrYDwu','j3mGBMe','zwqPlG','CMvTyxa','AxbZ','BNrYAwu','y29TBwu','mJm5ndqXngTABKLJza','shHNCgG','zgf0zsW','C3rHDhu','z2v0','C3vIDge','A2v5CW','yxnZAwC','zcbPDhm','C2TPCf8','zxjZ','kYbKzxm','l3yVBY8','ChvIBgK','zgvYlIa','yxrL','AwqGywm','yxrLlca','AxzLzd0','yw5KBgu','DgL2zsK','DgfPBgu','DgLVBJO','zMf1Bhq','B0jjzMe','x2XLDMu','tLHPz04','zMvYCMu','AK1RBMm','mJyYmtbOuhHYDgq','z1Lkv2S','B25ZlG','ChjPDMe','u2v0ihq','x3n0yxi','C2z1BgW','zsWGzgu','Aw5NCW','BhKGzM8','zcKU','zgvKlG','tw92zsa','Bcb9lG','BNrFyxq','DguGCMu','BNqGBMe','BgrLCI4','yw1LicG','CguGBMe','CIbUyw0','CxvPCMu','u291CMm','zMLUzfm','tgLZDca','AwqSihq','yxv0B20','tgLZDey','ifjLCxu','zgvYCY4','BwvZC2e','zsKU','C2TFy28','CgfJzui','CMv0Dxi','AwzMzxi','BMC6ihm','yxHwuvO','BcbJCMu','DguU','y29UDgu','BIbWyxi','icHHBhq','y291BNq','B0vMwxO','B3b0Aw8','Aw5MBW','ChjLzMu','x3bLCM0','zw50CMK','vxbKyxq','yxrPB24','CMvJDxi','zcbVCIa','BMvLCYW','igr1zv8','zxH0zxi','qKH6Afy','zv9MB2W','CL9Uyw0','Df9Wzxi','BMfTzsW','Bgf0zq','zw5Kzw4','igzYB20','Aw9UC2G','zhvLx2q','khrYDwu','igv2zw4','BwuGB3i','CYWGAw4','ieLeihq','igfYy2G','BMuGB2y','ysbMB2W','DxjUCYa','C3rYDwm','A3mSigm','B2XKx2m','DdOGzgu','zgf0zq','CYWGCMu','rcaOChi','DYbMB2W','B2XKzxi','CIb0zw0','zsbMB2W','zxbLBMq','DgvTCgW','qwXSB3C','ihrVihm','rxjYB3i','DguNigi','AxqGzM8','CgvYBwK','tMv3igy','lIbtDxa','zhmGzMe','igXPC3q','C2vZlG','yw1Lks4','y29UzMK','B25Zzq','Aw5KzxG','AwrLihm','lcbJB20','B2XKx3q','igfUzca','zxjYzwq','Dg8GAw4','zsbHig4','zgv0ywK','zuvYCM8','CM9Tifq','z3mPlca','CMvSyxq','zxiGyw4','wgrQBK0','zgvYieK','zwqGC3u','BMfSx2q','zw5JAwu','zw50CW','ieLeicG','rM9Szgu','CM1PC3m','CIaI','Eu5HBwu','zsbgB2W','BgLZDhm','ig9Szf8','zwTLBMq','BgrLCG','Dw52yMy','ig1VDMu','DgvYBMe','vw5RBM8','CgfJzq','AgLKzgu','C3nMDwW','zxjTAxm','BMfTzq','Bwv0Ag8','C2TZ','ywnLx2K','zguGyxi','ihbLCM0','B3zLCNi','zgvZigi','CgfJzs4','khbYzwy','iI4GtMu','zxDZ','AxbZlca','uMvXDwK','r2v0ige','DgfNCYW','C2vZ','AxzLzca','sw5JBhu','C3bHy2u','Bv9MAwu','zxiU','CYbPBIa','DgfJAg0','y2HPDMu','AwqGB3i','jYbYzxq','zhmSiha','mtaXnezYEe5RuG','BxvZDca','BgrFy2G','CIbPCYa','y2uGBMe','BMf0Aw8','ChjVDMK','yM9VBgu','x2LKks4','mJG2mdvvA0X3v2O','C2v0ugu','CgXHDgu','BgrLCL8','y2uUifi','ihjLDhu','yxrLihm','Ag1LBNq','DwLYzxm','ig9WDgK','mty1nKPbsxHZyW','CuLfsMi','DgfZA18','zxjgCM8','igLUigG','BYbZy28','Bg9VA3u','y2XPy2S','BgrZ','D29YA3m','B25ZlIa','BgvK','zgvYx2K','y3vxExu','ierLzMe','DcbIzsa','yMuGChi','ywnLx24','rdOG','Dwj0yxm','svzozhq','sgfUzgW','twfUywC','y2DPDw0','qw4GDw4','keLttYa','zgvSzxq','yw1LDgu','qMXrz2S','DwXSig0','BwuVDge','DxbbCha','zxrLzca','igeGzM8','ywX0zxi','DhKUicC','iIbJCMu','zw50ihm','yxr1C2u','B3iGDxa','BeTlA3y','sw5tCge','Aw9Uihm','Bw92zq','DgLUyxq','z2v0x2y','BMfTzsa','BhKGkgi','AxzLks4','D2vLA2u','z3mSig8','BMvUDgW','BMfTzxm','iIbUB3q','zxrHzge','CMvKigy','BgfNlca','ndG2ntmYngX5zhLlta','BNmGB24','ihbYAxy','ihrLBxa','zM9Szgu','qxqGBgu','yxn0ig8','BL9PBw0','AxmGCMu','A25VD24','C2LVBNm','zuzVBgq','CNmU','Dw50ig8','AxbFD2u','u2v0iey','AxzLihq','B2XSB3C','icSGC3a','vgHLicC','AwWUieq','Bw92zv8','Dxn0B20','zNjVBsa','AwrLx3m','x25HBwu','zxjZlca','EsbHBMq','q3jLyxq','qxjYyxK','zgvYigy','B3iGC2u','AxjLCYa','ugDtv3u','D3HAsNC','zcbMB3i','Aw4Gysa','Aw50zxi','B2XKx3m','igzVDw4','BwfWCgK','t3zLCNi','CMLVCMK','B3iGzwy','zsbHigy','mZe0mdu4otfAtNj5q1K','Axn0CW','zxmGC3a','x2LTBwu','DYbgB2W','DMf0zsa','rg5jDwm','AwqGkYa','CIbZCge','odyWmsa','yw1jza','B2W6ihi','DMLNyxq','zxf1Axi','nZKWnduZnMjfEu1orG','CL9Pzca','zwnRBgK','B3zLige','B3iGzM8','B2XZihi','igzVBgq','igvYCM8','zw1WBge','zcbPBIa','igLUy2W','zv9Pzca','tMfTzsa','mNbKt0DvsG','q29UDhi','DgL2zsa','Bgv0zsW','DhKSige','zwrPyxq','zwzLCNi','B2T1Cc4','n1zKy2rXDG','CM9Tx3q','BhHvuwe','zgvFC3q','BwfW','CYb1Cgq','vgvTCgW','zgvYici','B29Szwe','zMfSC2u','C2LVBIa','yxKU','Dhj1zsa','DxjYzwq','CIbjrca','BMX5igy','CgfJzsa','Bw92zuy','z2v0rM8','ig5HBwu','DwvFzge','Dgf0Dxm','qNLoyw0','zxjUyxq','rgvZDgK','x3nLDhq','yxrLigK','CYbTDxm','EurkuLO','z2v0lca','Dg8GD2e','r2v0iey','BNqGAw0','yxrLzca','vxjS','mtiZmty5n0nfA0Hywq','yxr0ywm','z3mU','CYbMB2W'];a0_0x1e6c=function(){return _0x223fb4;};return a0_0x1e6c();}async function resolveFolderId(_0x185523,_0x425744,_0x3e83b9,_0x1f6d82,_0x16f7bd){const _0x4397b5=a0_0x5168a7,_0xd6112e={'nYNvs':'Eithe'+_0x4397b5(0x157)+_0x4397b5(0x250)+_0x4397b5(0x1bd)+_0x4397b5(0x281)+'r_nam'+_0x4397b5(0x159)+_0x4397b5(0x253)+_0x4397b5(0x237)+_0x4397b5(0x193)};if(_0x185523)return _0x185523;if(!_0x425744)throw new Error(_0xd6112e['nYNvs']);const {folder:_0x206365,workspace:_0x341f32}=_0x16f7bd;let _0x3be53d=_0x3e83b9;if(!_0x3be53d&&_0x1f6d82){const _0x15d22b=await _0x341f32['findS'+_0x4397b5(0x1a9)+_0x4397b5(0x207)](_0x1f6d82);if(!_0x15d22b)throw new Error(_0x4397b5(0x122)+'\x20\x22'+_0x1f6d82+(_0x4397b5(0x279)+_0x4397b5(0x2a4)+'d.'));_0x3be53d=_0x15d22b['id'];}if(_0x3be53d){const _0x4c9a02=await _0x206365['findF'+_0x4397b5(0x1dc)+_0x4397b5(0x105)+'e'](_0x3be53d,_0x425744);if(!_0x4c9a02)throw new Error('Folde'+_0x4397b5(0x206)+_0x425744+(_0x4397b5(0x279)+_0x4397b5(0x2a4)+_0x4397b5(0xe3)+_0x4397b5(0x228)+'.'));return _0x4c9a02['id'];}const _0x1493f6=await resolveLocation('folde'+'r',undefined,_0x425744,_0x341f32);return _0x1493f6['id'];}async function resolveSpaceId(_0x254edd,_0x3d8102,_0x15894c){const _0x29a1ad=a0_0x5168a7,_0x7f5eb6={'wxZJw':'Eithe'+_0x29a1ad(0x2b2)+'ce_id'+'\x20or\x20s'+'pace_'+_0x29a1ad(0x272)+_0x29a1ad(0x232)+_0x29a1ad(0x254)+'ovide'+'d.'};if(_0x254edd)return _0x254edd;if(!_0x3d8102)throw new Error(_0x7f5eb6[_0x29a1ad(0x29f)]);const _0x97884c=await _0x15894c[_0x29a1ad(0x24d)+_0x29a1ad(0x211)][_0x29a1ad(0x19f)+_0x29a1ad(0x1a9)+_0x29a1ad(0x207)](_0x3d8102);if(!_0x97884c)throw new Error('Space'+'\x20\x22'+_0x3d8102+(_0x29a1ad(0x279)+_0x29a1ad(0x2a4)+'d.'));return _0x97884c['id'];}export async function handleManageFolders(_0x130411,_0x10806c){const _0x22ee77=a0_0x5168a7,_0x2d3b46={'jMknc':_0x22ee77(0x259)+'ing\x20h'+_0x22ee77(0x17e)+'Manag'+_0x22ee77(0x288)+_0x22ee77(0x175),'lKKkv':'set_p'+'ermis'+_0x22ee77(0x287),'cuWyu':function(_0x2aaee3,_0x50b2a,_0x1363f3,_0x3c263d,_0x21a664,_0x4af986){return _0x2aaee3(_0x50b2a,_0x1363f3,_0x3c263d,_0x21a664,_0x4af986);},'gYJWk':function(_0x13ec77,_0x1f921a){return _0x13ec77===_0x1f921a;},'BHzhV':'folde'+'r','TOUIT':function(_0x3a9edd,_0x4bf814){return _0x3a9edd||_0x4bf814;},'gUFrw':_0x22ee77(0x15f)+'e','XdjnM':function(_0xecaabc,_0x35fafc,_0x2c0a2f,_0x3fef6f){return _0xecaabc(_0x35fafc,_0x2c0a2f,_0x3fef6f);},'unvbf':function(_0xe926f8,_0x3afcca,_0x1f40e1,_0xafc07,_0x9cb5bb,_0x1ff149){return _0xe926f8(_0x3afcca,_0x1f40e1,_0xafc07,_0x9cb5bb,_0x1ff149);},'IVNdt':function(_0x4b8840,_0x330bcb){return _0x4b8840!==_0x330bcb;},'qdzvJ':_0x22ee77(0x26f),'oBIfa':function(_0x39cf0b,_0x4b9aa7,_0x8e95c1,_0x2fe5aa){return _0x39cf0b(_0x4b9aa7,_0x8e95c1,_0x2fe5aa);},'luhjz':function(_0x3e55d6,_0xa83eea,_0x142bff){return _0x3e55d6(_0xa83eea,_0x142bff);},'PopVr':'An\x20un'+'known'+_0x22ee77(0xe1)+_0x22ee77(0x152)+_0x22ee77(0xfc)},{action:_0x23dd7f,folder_id:_0x11e774,folder_name:_0x50b410,space_id:_0x400169,space_name:_0x57b5e0,name:_0x1287a3,override_statuses:_0xe04d18,allow_destructive_fallback:_0x492468}=_0x130411,{folder:_0x32a1e5}=_0x10806c;logger[_0x22ee77(0x1b6)](_0x2d3b46[_0x22ee77(0x187)],{'action':_0x23dd7f});try{switch(_0x23dd7f){case _0x2d3b46[_0x22ee77(0x26c)]:{const _0x3156a7=await _0x2d3b46[_0x22ee77(0x251)](resolveFolderId,_0x11e774,_0x50b410,_0x400169,_0x57b5e0,_0x10806c);if(_0x2d3b46[_0x22ee77(0x189)](_0x130411['priva'+'te'],undefined))return sponsorService[_0x22ee77(0x15f)+'eErro'+'rResp'+'onse'](_0x22ee77(0x290)+_0x22ee77(0x18b)+_0x22ee77(0x1e4)+_0x22ee77(0xf7)+_0x22ee77(0x1b1)+_0x22ee77(0x25f)+_0x22ee77(0x234)+'requi'+_0x22ee77(0x27b)+_0x22ee77(0x29c)+_0x22ee77(0x1c4)+'missi'+_0x22ee77(0x18a));return await _0x32a1e5[_0x22ee77(0x23b)+_0x22ee77(0x205)+_0x22ee77(0x13c)](_0x2d3b46[_0x22ee77(0x1c1)],_0x3156a7,{'private':_0x130411[_0x22ee77(0x18b)+'te'],'entries':_0x130411['entri'+'es']||[]}),sponsorService[_0x22ee77(0x15f)+_0x22ee77(0x14b)+_0x22ee77(0x1ee)]({'success':!![],'message':_0x22ee77(0x11f)+_0x22ee77(0x15b)+_0x22ee77(0xf4)+_0x22ee77(0x110)+_0x22ee77(0x13f)+_0x22ee77(0x213)+_0x22ee77(0x191)+_0x22ee77(0x157)+_0x22ee77(0xf6)+_0x2d3b46['TOUIT'](_0x50b410,_0x11e774)+'\x22'},!![]);}case _0x2d3b46[_0x22ee77(0x14a)]:{if(!_0x1287a3)return sponsorService[_0x22ee77(0x15f)+'eErro'+_0x22ee77(0x158)+_0x22ee77(0x1ee)](_0x22ee77(0x272)+_0x22ee77(0x285)+_0x22ee77(0x19d)+_0x22ee77(0x2a0)+_0x22ee77(0x15d)+_0x22ee77(0x1af));const _0x84181a=await _0x2d3b46[_0x22ee77(0x1fd)](resolveSpaceId,_0x400169,_0x57b5e0,_0x10806c),_0x4462af={'name':_0x1287a3};if(_0xe04d18!==undefined)_0x4462af[_0x22ee77(0x21b)+_0x22ee77(0x295)+'tatus'+'es']=_0xe04d18;const _0x1ea565=await _0x32a1e5['creat'+_0x22ee77(0x288)+'er'](_0x84181a,_0x4462af);return sponsorService['creat'+'eResp'+_0x22ee77(0x1ee)]({'id':_0x1ea565['id'],'name':_0x1ea565[_0x22ee77(0x215)],'space':{'id':_0x1ea565[_0x22ee77(0x228)]['id'],'name':_0x1ea565[_0x22ee77(0x228)][_0x22ee77(0x215)]},'message':_0x22ee77(0x204)+_0x22ee77(0x206)+_0x1ea565[_0x22ee77(0x215)]+(_0x22ee77(0x268)+_0x22ee77(0x110)+'succe'+'ssful'+'ly')},!![]);}case _0x22ee77(0x16f):{const _0x1a5bc=await _0x2d3b46[_0x22ee77(0x251)](resolveFolderId,_0x11e774,_0x50b410,_0x400169,_0x57b5e0,_0x10806c),_0x47b12f=await _0x32a1e5['getFo'+'lder'](_0x1a5bc);return sponsorService[_0x22ee77(0x15f)+'eResp'+_0x22ee77(0x1ee)]({'id':_0x47b12f['id'],'name':_0x47b12f[_0x22ee77(0x215)],'orderindex':_0x47b12f[_0x22ee77(0x13d)+_0x22ee77(0x1ef)],'override_statuses':_0x47b12f[_0x22ee77(0x21b)+_0x22ee77(0x295)+_0x22ee77(0x104)+'es'],'hidden':_0x47b12f[_0x22ee77(0x212)+'n'],'task_count':_0x47b12f['task_'+'count'],'space':{'id':_0x47b12f[_0x22ee77(0x228)]['id'],'name':_0x47b12f[_0x22ee77(0x228)][_0x22ee77(0x215)]},'statuses':_0x47b12f[_0x22ee77(0x16e)+_0x22ee77(0x225)],'lists':_0x47b12f[_0x22ee77(0x209)]?.[_0x22ee77(0xf3)](_0x1ad9d3=>({'id':_0x1ad9d3['id'],'name':_0x1ad9d3[_0x22ee77(0x215)],'task_count':_0x1ad9d3[_0x22ee77(0x246)+_0x22ee77(0x1b3)],'orderindex':_0x1ad9d3[_0x22ee77(0x13d)+_0x22ee77(0x1ef)]}))},!![]);}case _0x22ee77(0x11e)+'e':{const _0x17fede=await _0x2d3b46['unvbf'](resolveFolderId,_0x11e774,_0x50b410,_0x400169,_0x57b5e0,_0x10806c);if(!_0x1287a3&&_0x2d3b46[_0x22ee77(0x189)](_0xe04d18,undefined))return sponsorService[_0x22ee77(0x15f)+_0x22ee77(0x1f8)+'rResp'+'onse'](_0x22ee77(0x282)+_0x22ee77(0x283)+_0x22ee77(0x1d1)+'\x20name'+_0x22ee77(0x11d)+'verri'+_0x22ee77(0xf2)+_0x22ee77(0x26a)+_0x22ee77(0x10a)+_0x22ee77(0x253)+_0x22ee77(0x237)+_0x22ee77(0x147)+_0x22ee77(0x26b)+'date.');const _0x5b6bd4={};if(_0x1287a3)_0x5b6bd4[_0x22ee77(0x215)]=_0x1287a3;if(_0x2d3b46[_0x22ee77(0x258)](_0xe04d18,undefined))_0x5b6bd4[_0x22ee77(0x21b)+'ide_s'+'tatus'+'es']=_0xe04d18;const _0x4fd8a2=await _0x32a1e5[_0x22ee77(0x11e)+_0x22ee77(0x288)+'er'](_0x17fede,_0x5b6bd4);return sponsorService[_0x22ee77(0x15f)+_0x22ee77(0x14b)+_0x22ee77(0x1ee)]({'id':_0x4fd8a2['id'],'name':_0x4fd8a2['name'],'orderindex':_0x4fd8a2[_0x22ee77(0x13d)+_0x22ee77(0x1ef)],'override_statuses':_0x4fd8a2[_0x22ee77(0x21b)+'ide_s'+_0x22ee77(0x104)+'es'],'hidden':_0x4fd8a2['hidde'+'n'],'task_count':_0x4fd8a2[_0x22ee77(0x246)+_0x22ee77(0x1b3)],'space':{'id':_0x4fd8a2['space']['id'],'name':_0x4fd8a2[_0x22ee77(0x228)][_0x22ee77(0x215)]},'message':_0x22ee77(0x204)+_0x22ee77(0x206)+_0x4fd8a2[_0x22ee77(0x215)]+('\x22\x20upd'+_0x22ee77(0x110)+_0x22ee77(0x13f)+'ssful'+'ly')},!![]);}case _0x22ee77(0x25e)+'e':{const _0x2c3cee=await _0x2d3b46[_0x22ee77(0x20d)](resolveFolderId,_0x11e774,_0x50b410,_0x400169,_0x57b5e0,_0x10806c),_0x4deb39=await _0x32a1e5[_0x22ee77(0x101)+_0x22ee77(0x20c)](_0x2c3cee),_0x33fd3f=_0x4deb39[_0x22ee77(0x215)];return await _0x32a1e5[_0x22ee77(0x25e)+'eFold'+'er'](_0x2c3cee),sponsorService[_0x22ee77(0x15f)+_0x22ee77(0x14b)+'onse']({'success':!![],'message':'Folde'+_0x22ee77(0x206)+_0x33fd3f+(_0x22ee77(0x13b)+_0x22ee77(0x264)+_0x22ee77(0x13f)+_0x22ee77(0x213)+'ly')},!![]);}case _0x2d3b46['qdzvJ']:{const _0x154ccf=await resolveFolderId(_0x11e774,_0x50b410,undefined,undefined,_0x10806c),_0x2d48d0=await _0x2d3b46[_0x22ee77(0x183)](resolveSpaceId,_0x400169,_0x57b5e0,_0x10806c),_0x2b2c9a=await _0x32a1e5[_0x22ee77(0x100)+_0x22ee77(0x1dc)](_0x154ccf,_0x2d48d0,_0x492468);return sponsorService[_0x22ee77(0x15f)+_0x22ee77(0x14b)+_0x22ee77(0x1ee)]({'id':_0x2b2c9a['id'],'name':_0x2b2c9a['name'],'space':{'id':_0x2b2c9a['space']['id'],'name':_0x2b2c9a[_0x22ee77(0x228)]['name']},'url':_0x2d3b46['luhjz'](buildFolderUrl,_0x2b2c9a['id'],_0x10806c),'message':_0x22ee77(0x204)+'r\x20mov'+_0x22ee77(0x1ff)+'ccess'+'fully'+_0x22ee77(0x1e2)+'pace\x20'+'\x22'+_0x2b2c9a[_0x22ee77(0x228)][_0x22ee77(0x215)]+(_0x22ee77(0x21f)+_0x22ee77(0x2ae)+'der\x20I'+_0x22ee77(0x256))+_0x2b2c9a['id']},!![]);}default:return sponsorService[_0x22ee77(0x15f)+_0x22ee77(0x1f8)+'rResp'+_0x22ee77(0x1ee)](_0x22ee77(0x210)+_0x22ee77(0x160)+_0x22ee77(0x181)+'\x20'+_0x23dd7f+('.\x20Val'+_0x22ee77(0x17b)+_0x22ee77(0x154)+_0x22ee77(0x137)+_0x22ee77(0x17c)+_0x22ee77(0x10c)+_0x22ee77(0x11e)+_0x22ee77(0x18f)+_0x22ee77(0xea)+_0x22ee77(0x20e)+'.'));}}catch(_0x349e27){return logger[_0x22ee77(0x129)](_0x22ee77(0x1e3)+_0x22ee77(0x248)+_0x22ee77(0x17e)+_0x22ee77(0x25a)+_0x22ee77(0x288)+_0x22ee77(0x175),_0x349e27),sponsorService[_0x22ee77(0x15f)+_0x22ee77(0x1f8)+_0x22ee77(0x158)+_0x22ee77(0x1ee)](_0x349e27[_0x22ee77(0x1a6)+'ge']||_0x2d3b46['PopVr']);}}export async function handleCreateFolderFromTemplate(_0x555f5c,_0x621f23){const _0x59ffdb=a0_0x5168a7,_0x4d52e8={'cgium':'name\x20'+'is\x20re'+_0x59ffdb(0x19d)+'d.','QFHPI':function(_0x4c2175,_0x58da3b,_0x4767af,_0x4de27f){return _0x4c2175(_0x58da3b,_0x4767af,_0x4de27f);},'oEfYz':function(_0x35d27c,_0x3da71c){return _0x35d27c===_0x3da71c;},'DnIuc':'objec'+'t','xJDFg':function(_0x1fe2df,_0x28762d){return _0x1fe2df===_0x28762d;},'qIEJb':_0x59ffdb(0x167)+_0x59ffdb(0x18d)+'t_dat'+'e','BlQgk':_0x59ffdb(0x170)+_0x59ffdb(0x217),'Rlhbe':_0x59ffdb(0x149)+_0x59ffdb(0x229)+_0x59ffdb(0x24c),'kjAQR':'inclu'+'de_vi'+_0x59ffdb(0x220),'Hxgph':'old_a'+'ssign'+'ees','AOHNW':_0x59ffdb(0x2a3)+_0x59ffdb(0x140)+_0x59ffdb(0x1d8),'axVQZ':_0x59ffdb(0x121)+_0x59ffdb(0x28e)+_0x59ffdb(0x175),'lDDzF':_0x59ffdb(0x16a)+_0x59ffdb(0x196)+_0x59ffdb(0x22c)+_0x59ffdb(0x202),'PgSWu':_0x59ffdb(0x1c0)+_0x59ffdb(0x200)+_0x59ffdb(0x1df)+_0x59ffdb(0x201)+'s','yDJRZ':_0x59ffdb(0x2a2)+_0x59ffdb(0x200)+_0x59ffdb(0x1df)+'encie'+'s','xsexN':_0x59ffdb(0x1e3)+'\x20in\x20h'+_0x59ffdb(0x17e)+_0x59ffdb(0x299)+_0x59ffdb(0x288)+_0x59ffdb(0x247)+_0x59ffdb(0x12c)+'late','lxUQa':_0x59ffdb(0x25c)+_0x59ffdb(0x286)+_0x59ffdb(0xe1)+_0x59ffdb(0x152)+'urred'},{name:_0x1eeb48,template_id:_0xcf799a,template_name:_0x506866,space_id:_0x260e88,space_name:_0x565bcc}=_0x555f5c;try{if(!_0x1eeb48)return sponsorService[_0x59ffdb(0x15f)+_0x59ffdb(0x1f8)+_0x59ffdb(0x158)+_0x59ffdb(0x1ee)](_0x4d52e8[_0x59ffdb(0x25b)]);const _0x484b4a=await _0x4d52e8['QFHPI'](resolveTemplateId,_0xcf799a,_0x506866,_0x621f23),_0x1ea47a=await resolveSpaceId(_0x260e88,_0x565bcc,_0x621f23);let _0x239a43=_0x4d52e8[_0x59ffdb(0x1b4)](typeof _0x555f5c[_0x59ffdb(0x1b5)+'ns'],_0x4d52e8[_0x59ffdb(0x2b0)])&&_0x555f5c['optio'+'ns']!==null?{..._0x555f5c[_0x59ffdb(0x1b5)+'ns']}:{};if(_0x4d52e8['xJDFg'](Object[_0x59ffdb(0x171)](_0x239a43)['lengt'+'h'],0x0)){const _0x58eadf=[_0x59ffdb(0x1aa)+_0x59ffdb(0x284)+'ediat'+'ely','start'+_0x59ffdb(0x148),_0x59ffdb(0x1ca)+_0x59ffdb(0x17a),_0x4d52e8[_0x59ffdb(0x245)],_0x59ffdb(0x174)+_0x59ffdb(0x275)+'nds',_0x4d52e8[_0x59ffdb(0x260)],_0x4d52e8['Rlhbe'],'prior'+'ity',_0x59ffdb(0x1a2)+_0x59ffdb(0x1bb),_0x4d52e8['kjAQR'],_0x4d52e8[_0x59ffdb(0x16c)],'old_d'+_0x59ffdb(0x103)+'te',_0x4d52e8[_0x59ffdb(0x156)],_0x59ffdb(0x1f2)+'ags',_0x59ffdb(0x2a3)+'tatus'+'es',_0x4d52e8[_0x59ffdb(0x1ad)],_0x59ffdb(0x113)+_0x59ffdb(0x241)+'s','comme'+'nt',_0x4d52e8['lDDzF'],_0x59ffdb(0x1bc)+_0x59ffdb(0x108)+_0x59ffdb(0x190),_0x59ffdb(0x1d6)+'heckl'+_0x59ffdb(0x2ab),_0x59ffdb(0x1fb)+_0x59ffdb(0x1c9)+_0x59ffdb(0x168),_0x4d52e8[_0x59ffdb(0x29e)],_0x4d52e8[_0x59ffdb(0x10b)]];for(const _0x58589d of _0x58eadf){if(_0x555f5c[_0x58589d]!==undefined)_0x239a43[_0x58589d]=_0x555f5c[_0x58589d];}}const _0x59ec13=await _0x621f23[_0x59ffdb(0x281)+'r'][_0x59ffdb(0x15f)+_0x59ffdb(0x288)+_0x59ffdb(0x247)+_0x59ffdb(0x12c)+_0x59ffdb(0x1c6)](_0x1ea47a,_0x484b4a,_0x1eeb48,_0x239a43),_0x64ebe0=_0x59ec13?.[_0x59ffdb(0x281)+'r']||_0x59ec13;return sponsorService['creat'+_0x59ffdb(0x14b)+_0x59ffdb(0x1ee)]({'id':_0x64ebe0['id']||_0x59ec13['id'],'name':_0x64ebe0[_0x59ffdb(0x215)],'space':_0x64ebe0[_0x59ffdb(0x228)]?{'id':_0x64ebe0[_0x59ffdb(0x228)]['id'],'name':_0x64ebe0[_0x59ffdb(0x228)][_0x59ffdb(0x215)]}:undefined,'message':'Folde'+_0x59ffdb(0x206)+_0x1eeb48+(_0x59ffdb(0x268)+_0x59ffdb(0x110)+_0x59ffdb(0x294)+_0x59ffdb(0x1e0)+_0x59ffdb(0x240)+'ucces'+_0x59ffdb(0x18e)+'y')},!![]);}catch(_0xdd9a57){return logger[_0x59ffdb(0x129)](_0x4d52e8['xsexN'],_0xdd9a57),sponsorService[_0x59ffdb(0x15f)+'eErro'+'rResp'+'onse'](_0xdd9a57['messa'+'ge']||_0x4d52e8[_0x59ffdb(0xf1)]);}}function a0_0x274d(_0x167a56,_0xf39bae){_0x167a56=_0x167a56-0xd6;const _0x1e6c80=a0_0x1e6c();let _0x274d63=_0x1e6c80[_0x167a56];if(a0_0x274d['nlBFYK']===undefined){var _0x50a7dd=function(_0x4e18c0){const _0x252301='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2ba3aa='',_0x25604d='';for(let _0x1d8390=0x0,_0x474bfc,_0x4d8791,_0x2502ba=0x0;_0x4d8791=_0x4e18c0['charAt'](_0x2502ba++);~_0x4d8791&&(_0x474bfc=_0x1d8390%0x4?_0x474bfc*0x40+_0x4d8791:_0x4d8791,_0x1d8390++%0x4)?_0x2ba3aa+=String['fromCharCode'](0xff&_0x474bfc>>(-0x2*_0x1d8390&0x6)):0x0){_0x4d8791=_0x252301['indexOf'](_0x4d8791);}for(let _0x132fea=0x0,_0x349a29=_0x2ba3aa['length'];_0x132fea<_0x349a29;_0x132fea++){_0x25604d+='%'+('00'+_0x2ba3aa['charCodeAt'](_0x132fea)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x25604d);};a0_0x274d['tgHRSp']=_0x50a7dd,a0_0x274d['vpNLMr']={},a0_0x274d['nlBFYK']=!![];}const _0x53e841=_0x1e6c80[0x0],_0xfcbe2a=_0x167a56+_0x53e841,_0x26a2a6=a0_0x274d['vpNLMr'][_0xfcbe2a];return!_0x26a2a6?(_0x274d63=a0_0x274d['tgHRSp'](_0x274d63),a0_0x274d['vpNLMr'][_0xfcbe2a]=_0x274d63):_0x274d63=_0x26a2a6,_0x274d63;}export async function handleListFolders(_0xef1428,_0x1a31f1){const _0x476592=a0_0x5168a7,_0x5afe90={'IZgJn':_0x476592(0x1f7)+_0x476592(0x24f),'NXigN':function(_0x43ddc0,_0x897785,_0x32349f,_0x520beb){return _0x43ddc0(_0x897785,_0x32349f,_0x520beb);}},{space_id:_0x2c9839,space_name:_0x29794a,archived:_0x3c5488,detail_level:detail_level=_0x5afe90['IZgJn']}=_0xef1428,{folder:_0x1261a6}=_0x1a31f1;try{const _0x19141c=await _0x5afe90[_0x476592(0x185)](resolveSpaceId,_0x2c9839,_0x29794a,_0x1a31f1),_0x109da5=await _0x1261a6['getFo'+'lders'+_0x476592(0x26d)+'ce'](_0x19141c,_0x3c5488);if(detail_level===_0x476592(0x278))return sponsorService[_0x476592(0x15f)+_0x476592(0x14b)+_0x476592(0x1ee)]({'folders':_0x109da5['map'](_0x7fe569=>({'id':_0x7fe569['id'],'name':_0x7fe569['name'],'task_count':_0x7fe569[_0x476592(0x246)+'count']}))},!![]);return sponsorService[_0x476592(0x15f)+_0x476592(0x14b)+_0x476592(0x1ee)]({'folders':_0x109da5[_0x476592(0xf3)](_0x466137=>({'id':_0x466137['id'],'name':_0x466137[_0x476592(0x215)],'task_count':_0x466137[_0x476592(0x246)+_0x476592(0x1b3)],'hidden':_0x466137[_0x476592(0x212)+'n'],'space':{'id':_0x466137[_0x476592(0x228)]['id'],'name':_0x466137[_0x476592(0x228)][_0x476592(0x215)]}}))},!![]);}catch(_0x45d20d){return logger[_0x476592(0x129)](_0x476592(0x1e3)+_0x476592(0x248)+'andle'+_0x476592(0x1a3)+_0x476592(0x1dc)+'s',_0x45d20d),sponsorService[_0x476592(0x15f)+_0x476592(0x1f8)+_0x476592(0x158)+'onse'](_0x45d20d[_0x476592(0x1a6)+'ge']||_0x476592(0x25c)+'known'+_0x476592(0xe1)+_0x476592(0x152)+_0x476592(0xfc));}}
1
+ const a0_0x5ebd65=a0_0x49b3;(function(_0x3519fd,_0x33e20c){const _0xed66e=a0_0x49b3,_0x49ad71=_0x3519fd();while(!![]){try{const _0x4cafac=-parseInt(_0xed66e(0x22e))/0x1*(parseInt(_0xed66e(0x171))/0x2)+-parseInt(_0xed66e(0x10b))/0x3+parseInt(_0xed66e(0x13c))/0x4*(-parseInt(_0xed66e(0x105))/0x5)+-parseInt(_0xed66e(0x1b4))/0x6*(parseInt(_0xed66e(0x113))/0x7)+-parseInt(_0xed66e(0x27c))/0x8+-parseInt(_0xed66e(0x1be))/0x9*(parseInt(_0xed66e(0x245))/0xa)+-parseInt(_0xed66e(0x229))/0xb*(-parseInt(_0xed66e(0x296))/0xc);if(_0x4cafac===_0x33e20c)break;else _0x49ad71['push'](_0x49ad71['shift']());}catch(_0x50df27){_0x49ad71['push'](_0x49ad71['shift']());}}}(a0_0x2ebe,0x56a05));import{Logger}from'../logger.js';import a0_0x163fc0 from'../config.js';import{resolveLocation,resolveTemplateId}from'../utils/resolver-utils.js';import{sponsorService}from'../utils/sponsor-service.js';const logger=new Logger(a0_0x5ebd65(0x2c7)+'rTool'+'s');function buildFolderUrl(_0x23d81f,_0x1b1e65){const _0x470533=a0_0x5ebd65;return a0_0x163fc0['click'+'upApp'+_0x470533(0x2d6)]+'/'+_0x1b1e65[_0x470533(0x216)+_0x470533(0x1b3)][_0x470533(0x1e5)+_0x470533(0x1d5)]()+('/v/o/'+'f/')+_0x23d81f;}export const listFoldersTool={'name':a0_0x5ebd65(0x271)+'folde'+'rs','description':a0_0x5ebd65(0x169)+a0_0x5ebd65(0x225)+'older'+a0_0x5ebd65(0x19e)+a0_0x5ebd65(0x191)+a0_0x5ebd65(0x123)+'equir'+a0_0x5ebd65(0x151)+a0_0x5ebd65(0x2d2)+a0_0x5ebd65(0x25b)+'space'+a0_0x5ebd65(0x1c5)+a0_0x5ebd65(0x1ef)+'\x20arch'+a0_0x5ebd65(0x189)+a0_0x5ebd65(0x1ad)+'to\x20in'+'clude'+a0_0x5ebd65(0x268)+a0_0x5ebd65(0x10e)+a0_0x5ebd65(0x1f1)+a0_0x5ebd65(0x272),'annotations':{'title':a0_0x5ebd65(0x169)+a0_0x5ebd65(0x2c7)+'rs','readOnlyHint':!![]},'inputSchema':{'type':a0_0x5ebd65(0x1f8)+'t','properties':{'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+'\x20ID\x20('+a0_0x5ebd65(0x1a5)+'rred)'+'.'},'space_name':{'type':a0_0x5ebd65(0x146)+'g','description':'Space'+a0_0x5ebd65(0x1a4)+a0_0x5ebd65(0x2b5)+a0_0x5ebd65(0x29b)+a0_0x5ebd65(0x140)},'archived':{'type':a0_0x5ebd65(0x107)+'an','description':'Inclu'+a0_0x5ebd65(0x22f)+'chive'+a0_0x5ebd65(0x275)+a0_0x5ebd65(0x2a0)+a0_0x5ebd65(0x15e)+'ult:\x20'+'false'+'.'},'detail_level':{'type':'strin'+'g','enum':[a0_0x5ebd65(0x1df),a0_0x5ebd65(0x298)+'led'],'description':a0_0x5ebd65(0x1da)+'ols\x20r'+a0_0x5ebd65(0x103)+a0_0x5ebd65(0x1fe)+a0_0x5ebd65(0x163)+'ty.\x20\x27'+a0_0x5ebd65(0x1df)+a0_0x5ebd65(0x2d7)+'urns\x20'+a0_0x5ebd65(0x224)+a0_0x5ebd65(0x1dc)+'sk_co'+a0_0x5ebd65(0x164)+a0_0x5ebd65(0x269)+a0_0x5ebd65(0x1bf)+'ficie'+a0_0x5ebd65(0x2d8)+'vigat'+a0_0x5ebd65(0x126)+'\x27deta'+a0_0x5ebd65(0x270)+a0_0x5ebd65(0x2b8)+a0_0x5ebd65(0x1fb)+'ull\x20m'+a0_0x5ebd65(0x109)+a0_0x5ebd65(0x22d)+a0_0x5ebd65(0x1c8)+a0_0x5ebd65(0x112)+a0_0x5ebd65(0x183)+'d.'}}}};export const getFolderTool={'name':a0_0x5ebd65(0x1f3)+a0_0x5ebd65(0x1d0),'description':a0_0x5ebd65(0x198)+'\x20fold'+a0_0x5ebd65(0x178)+a0_0x5ebd65(0x1f7)+a0_0x5ebd65(0x220)+a0_0x5ebd65(0x2cc)+a0_0x5ebd65(0x231)+a0_0x5ebd65(0x26d)+a0_0x5ebd65(0x21d)+a0_0x5ebd65(0x25b)+'folde'+'r_nam'+'e.','annotations':{'title':a0_0x5ebd65(0x18c)+'older','readOnlyHint':!![]},'inputSchema':{'type':a0_0x5ebd65(0x1f8)+'t','properties':{'folder_id':{'type':'strin'+'g','description':'Folde'+'r\x20ID\x20'+a0_0x5ebd65(0x110)+a0_0x5ebd65(0x13e)+').'},'folder_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2c7)+a0_0x5ebd65(0x101)+a0_0x5ebd65(0x1c7)+a0_0x5ebd65(0x246)+a0_0x5ebd65(0x210)+'.'},'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+a0_0x5ebd65(0x127)+a0_0x5ebd65(0x1cd)+a0_0x5ebd65(0x1f9)+'me\x20lo'+a0_0x5ebd65(0x2a6)},'space_name':{'type':'strin'+'g','description':a0_0x5ebd65(0x2ad)+'\x20name'+a0_0x5ebd65(0x166)+a0_0x5ebd65(0x1c3)+a0_0x5ebd65(0x17d)+a0_0x5ebd65(0x24a)+'p.'}}}};export const createFolderTool={'name':a0_0x5ebd65(0x14a)+a0_0x5ebd65(0x292)+a0_0x5ebd65(0x12f),'description':a0_0x5ebd65(0x211)+a0_0x5ebd65(0x16f)+a0_0x5ebd65(0x136)+a0_0x5ebd65(0x25d)+a0_0x5ebd65(0x262)+a0_0x5ebd65(0x265)+a0_0x5ebd65(0x287)+a0_0x5ebd65(0x1a6)+a0_0x5ebd65(0x1a4)+'\x20+\x20sp'+a0_0x5ebd65(0x2d2)+a0_0x5ebd65(0x25b)+'space'+'_name'+'.','annotations':{'title':a0_0x5ebd65(0x211)+'e\x20Fol'+a0_0x5ebd65(0x12f),'openWorldHint':!![]},'inputSchema':{'type':a0_0x5ebd65(0x1f8)+'t','properties':{'name':{'type':'strin'+'g','description':'Folde'+a0_0x5ebd65(0x101)+a0_0x5ebd65(0x20d)+a0_0x5ebd65(0x231)+'d.'},'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':'Space'+'\x20ID\x20('+'prefe'+a0_0x5ebd65(0x1ce)+'.'},'space_name':{'type':a0_0x5ebd65(0x146)+'g','description':'Space'+a0_0x5ebd65(0x1a4)+a0_0x5ebd65(0x2b5)+'ernat'+'ive).'},'override_statuses':{'type':a0_0x5ebd65(0x107)+'an','description':a0_0x5ebd65(0x1b8)+a0_0x5ebd65(0x1af)+'pace\x20'+a0_0x5ebd65(0x2a2)+a0_0x5ebd65(0x25a)}},'required':[a0_0x5ebd65(0x267)]}};function a0_0x49b3(_0x5ea16e,_0x2c132d){_0x5ea16e=_0x5ea16e-0x100;const _0x2ebe3a=a0_0x2ebe();let _0x49b389=_0x2ebe3a[_0x5ea16e];if(a0_0x49b3['uHCrfP']===undefined){var _0x47e781=function(_0x3c4dde){const _0x52a867='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x56451f='',_0x41f6d2='';for(let _0x32ded7=0x0,_0x160f99,_0x3c0377,_0x59712c=0x0;_0x3c0377=_0x3c4dde['charAt'](_0x59712c++);~_0x3c0377&&(_0x160f99=_0x32ded7%0x4?_0x160f99*0x40+_0x3c0377:_0x3c0377,_0x32ded7++%0x4)?_0x56451f+=String['fromCharCode'](0xff&_0x160f99>>(-0x2*_0x32ded7&0x6)):0x0){_0x3c0377=_0x52a867['indexOf'](_0x3c0377);}for(let _0x1b64c8=0x0,_0x1e64b6=_0x56451f['length'];_0x1b64c8<_0x1e64b6;_0x1b64c8++){_0x41f6d2+='%'+('00'+_0x56451f['charCodeAt'](_0x1b64c8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41f6d2);};a0_0x49b3['uSKHFh']=_0x47e781,a0_0x49b3['sQlvbt']={},a0_0x49b3['uHCrfP']=!![];}const _0x3596ca=_0x2ebe3a[0x0];a0_0x49b3['qBCJZf']!==_0x3596ca&&(a0_0x49b3['sQlvbt']={},a0_0x49b3['qBCJZf']=_0x3596ca);const _0x185d75=a0_0x49b3['sQlvbt'][_0x5ea16e];return _0x185d75===undefined?(_0x49b389=a0_0x49b3['uSKHFh'](_0x49b389),a0_0x49b3['sQlvbt'][_0x5ea16e]=_0x49b389):_0x49b389=_0x185d75,_0x49b389;}function a0_0x2ebe(){const _0x31438c=['DgL2zsa','EgvLBxO','u2v0ihq','Bw92zv8','BMC6ihm','B3iGC3a','Eu5HBwu','DhKSige','Aw5NigG','zgvYieK','yw1Lks4','CgXHDgu','zs4GuMu','y29TBwu','CIbMDwW','DgL2zsK','q3jLyxq','C3nPz24','B3iGzM8','AgvJA2W','tw92zsa','D29YA3m','D3jwweK','zxjYB3i','AxbZ','CMvSyxq','CIbVy2m','AxmGCMu','zgvYx2K','zuzVBgq','CIbjrca','igXPC3q','CM9Tifq','ChjPB3i','x3bLCM0','AwqVBMe','ywXSigy','C0TPAeS','ANvbAfK','ihbLCM0','mJm2mte2mtbAu2fzEhK','DxbKyxq','ig9Yihm','zgvFDMK','DgeUieq','nJeZntD4vgzvsfO','zguGyxi','zw5JAwu','CxvPCMu','iIbJCMu','B2XKx2e','BMvLCYW','Aw5MBW','ufbnAwW','ysbMB2W','z2v0rM8','odyWmsa','qxqGBgu','BL9PBw0','B25ZlIa','BIbZCge','zxH0zxi','qw4GDw4','DguNigi','rKntBMq','yxrLigy','CIb0zw0','ChjPDMe','mtbRuhrbrwq','DgvYBMe','B2XKx3m','CgfJzsa','Dxn0B20','Bg9VA3u','A25VD24','tuf6r0q','zgvFC3q','DgLVBIW','C2vSzwm','yxrPDMu','zMvYCMu','ywDZ','DcbIzsa','zwqGC3u','CYKU','BgvUz3q','ig1VDMu','D2vLA2u','CYbTDxm','C2vZlG','zcbVCIa','igzVDw4','BgrLCIa','zwnRBgK','CgfJzs4','ywXZzsa','ig9WDgK','Aw4Gysa','A3mSigm','Aw5KzxG','C3bHy2u','AwzMzxi','BMfTzq','igfYy2G','BMX5igy','C0HryK4','sfLbCxm','yxrLigK','CYbMB2W','x3nLDhq','zsbgB2W','AwXLzcC','BgLZDf8','CNmU','CYaOyM8','DguU','zcbMB2W','y29UDgu','rgvZDgK','ExbLlca','x3n0yxi','iePVyIa','igLUy2W','mtiZodi5nLrZywPUvq','DwrLx3y','CIaI','B2XLyw4','AxzLihq','Aw5NCW','DMvYCMK','B3zPzgu','Bwv0Ag8','C2TZ','CYbHCNi','lIbszxe','x2XLDMu','D2PXu04','ig9Szf8','BwLZC2K','ugvYBwK','CLjLC3a','zxjZlca','B29Szwe','BMuGB2y','CML2ywm','zv9MB2W','DxjYzwq','Ag1LBNq','khrYDwu','mtjRzuXMDMK','yMuGChi','zgv0ywK','zxr1CM4','uxL6DNe','zxjUyxq','Dgf0Dxm','igeGDgu','y2LLCY4','ihrLBxa','zgvYCY4','CM1PC3m','C3rHDhu','ignYzwe','BIWGzgu','iIb1Cgq','B2T1Cc4','zw50CMK','qxjYyxK','B3zLige','CuTZExC','zcbMB3i','Df9Kyxq','u3bHy2u','zsbPBIa','lIbwywW','zgvYici','AxjLCYa','DgfJAg0','y2uGsuq','DguGCMu','icHHBhq','qwXSB3C','ugvYBwe','ihjLDhu','ksbVCIa','B2XKx2y','yw5KBgu','ihrYDwu','u0veyuu','vw5RBM8','CIbTB3y','zhmSiha','zxbLBMq','DgLUyxq','zwvZ','ywnLx24','y29UDhi','AxnZAw8','rM9Szgu','B3Pyyvi','wNrbr0q','BwuGB3i','zgvYig4','CY4GuMu','tgLZDey','z2v0','zMLUzfm','rcaOChi','C3vJy2u','ywnLx2K','zwrPyxq','zw50ihm','CgvYBwK','vxjS','jYbYzxq','BNqGBMe','lIbtDxa','CIbUyw0','BfDIv3q','zxnWB24','Cg9YDc4','nJi5mZm1sxnevMTP','BgrLCI4','yM9VBgu','zhvLx2q','zxrHzge','Axr5','mJa0ntK2mwLbsur0qW','DxrVBwe','D24Gywm','AxzLzca','zsWGC2S','khbYzwy','BgrLCG','DdOGzgu','mta1otfoD0n0v2e','CMv0Dxi','BxbVCNq','yxr1C2u','B25Zzq','C2vZ','vNntyNm','z3mPlca','iIbUB3q','CIbZCge','zgvSzxq','zwX5pwy','B2jnrLC','BMf0Aw8','zwX5','igzYB20','y2uUifi','BMfTzsW','ihjLBwe','Aw9UlIa','ieLeihq','BNrFyxq','wejsqw4','B3iGC2u','AxbFD2u','ChjVDMK','zMLUzey','zw1WBge','zgvY','C3nMDwW','zgvZigi','C2LVBNm','z3bjBNy','zsWGzgu','zxf1Axi','zxCGzM8','x2LTBwu','zxDZ','BvrLBxa','B24Tzgu','ig9Yig8','nfDMugDrDa','Bcb9lG','zxjYzwq','CIbPCYa','AxzLks4','Aw9UC2G','C3vIDge','BwvZC2e','BMf0Axy','igr1zv8','C3rYAw4','Bgv0zsW','zxm6ig4','DgvTCgW','y3jLyxq','uMvXDwK','y2uGBMe','CYWGCMu','ChbPBMC','BwjsCNK','Bf9Kzxa','zxmGC3a','Df9Wzxi','zxiU','iI4GtMu','BIbMBge','zvjLC3a','CgfJzv8','BNrYAwu','x2rHDgu','Bw92zq','zsbHigy','igrHDgu','rwL0Agu','ierLzMe','CYWGy28','tMv3igy','DgfYDf8','BwuGBg8','CMjVC2K','Dw50ig8','vLPquKq','ihrVihm','BgrLCNm','x2LKks4','tgLZDca','AxbZlca','CYb1Cgq','B3b0Aw8','u2v0iey','ifjLCxu','zsbHig4','CMvTyxa','offssxrgCW','zsbMB2W','BgrFy2G','yxrLzca','igLUigG','DYbMB2W','igvYCM8','zxiGyw4','DdOGzMe','rxjYB3i','BMfSx2q','BYbWCMK','BMfTzsa','AuDrufi','EsbYzw0','uwDerMm','zw50CW','BgLZDhm','DgfPBgu','B2XSB3C','zwqPlG','CL9Pzca','igLMig4','B3iGDxa','AxzLzd0','zNjVBsa','C2v0ugu','r2v0iey','Bgf0zq','y3vYx3m','iIbKzwW','zgf0zq','ysbZCge','zsbTDxm','BYb0zw0','AwqGB3i','zxr0Aw4','kYbKzxm','BxvZDca','r2v0ige','AwqSihq','Cg9YDhm','zgvKigy','zwzLCNi','lcbJB20','CYbPBIa','BwfW','u2v0iha','CgfJzui','uNrlAMK','AwqGywm','ig5HBwu','ChjLzMu','DwLYzxm','z3mSig8','ihbYAxy','zNvSBhK','Bw1LBNq','zgvYlIa','BcbJCMu','Dhj1zsa','yxrPB24','AwrLihm','C3rZlca','zgf0zsW','BhrLCM4','CgfJzq','mtC0wfHcvuTM','zxjgCM8','B3zLCNi','yxLNEKW','t3zLCNi','DgfNCYW','Aw5JBhu','zxjZ','BMrZ','BgrLCL8','ndG1nZy4n0XkqwrNtq','B3iGzwy','ieLeicG','vgvTCgW','oIbJCMu','y29Wzsa','DwnJzxm','x25HBwu','y2vFAwq','zsaOywW','zwzHDwW','yxrLlca','C2vZlca','zxjTAxm','CIbMB2W','BYbZy28','CNjLzcK','DMf0zsa','B2XKzxi','C3nPB24','C2TPCf8','twfUywC','DgLVBJO','yw1jza','EsbHBMq','BMvUDgW','s0PszNy','u291CMm','q29UDhi','ChvIBgK','BwuVDge','C3rYDwm','B2XKx2m','BMfTzxm','zsKU','yxjYyxK','CM9Tx3q','B3jKzxi','DhLWzq','z2v0vgu','ks4Grge','yxr0ywm','Ce1AwMu','DYbgB2W','CL9Uyw0','y291BNq','C2v0x2y','yxv0B20','zhmGzMe','lIbvC2u','ywX0zxi','zM9Szgu','DgfZA18','z2v0x2y','BxbSyxq','B2XKx2q','khnWywm','zcbPDhm','B2jQzwm','CguGBMe','C2z1BgW','CM5Zigy','zuvYCM8','Axn0CW','C2uGDMu','BhnLlG','y3vZDg8'];a0_0x2ebe=function(){return _0x31438c;};return a0_0x2ebe();}export const updateFolderTool={'name':a0_0x5ebd65(0x22a)+a0_0x5ebd65(0x292)+a0_0x5ebd65(0x12f),'description':'Updat'+a0_0x5ebd65(0x15b)+a0_0x5ebd65(0x1d0)+'\x27s\x20na'+a0_0x5ebd65(0x2ca)+'\x20its\x20'+'confi'+'gurat'+'ion\x20s'+'ettin'+'gs.','annotations':{'title':'Updat'+'e\x20Fol'+'der','openWorldHint':!![]},'inputSchema':{'type':a0_0x5ebd65(0x1f8)+'t','properties':{'folder_id':{'type':'strin'+'g','description':a0_0x5ebd65(0x2c7)+a0_0x5ebd65(0x21f)+a0_0x5ebd65(0x110)+a0_0x5ebd65(0x13e)+').'},'folder_name':{'type':a0_0x5ebd65(0x146)+'g','description':'Folde'+a0_0x5ebd65(0x101)+a0_0x5ebd65(0x1c7)+a0_0x5ebd65(0x246)+a0_0x5ebd65(0x210)+'.'},'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+a0_0x5ebd65(0x127)+a0_0x5ebd65(0x1cd)+'pe\x20na'+a0_0x5ebd65(0x162)+a0_0x5ebd65(0x2a6)},'space_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+a0_0x5ebd65(0x1a4)+a0_0x5ebd65(0x166)+a0_0x5ebd65(0x1c3)+a0_0x5ebd65(0x17d)+a0_0x5ebd65(0x24a)+'p.'},'name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x160)+a0_0x5ebd65(0x1d0)+'\x20name'+'.'},'override_statuses':{'type':a0_0x5ebd65(0x107)+'an','description':a0_0x5ebd65(0x1b8)+a0_0x5ebd65(0x1af)+a0_0x5ebd65(0x248)+'statu'+a0_0x5ebd65(0x25a)}}}};export const deleteFolderTool={'name':a0_0x5ebd65(0x11d)+'e_fol'+a0_0x5ebd65(0x12f),'description':a0_0x5ebd65(0x2b7)+a0_0x5ebd65(0x1d7)+a0_0x5ebd65(0x17f)+a0_0x5ebd65(0x2a9)+'\x20fold'+a0_0x5ebd65(0x153),'annotations':{'title':'Delet'+a0_0x5ebd65(0x26f)+a0_0x5ebd65(0x12f),'openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':a0_0x5ebd65(0x1f8)+'t','properties':{'folder_id':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2c7)+a0_0x5ebd65(0x21f)+'(pref'+a0_0x5ebd65(0x13e)+').'},'folder_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2c7)+'r\x20nam'+a0_0x5ebd65(0x1c7)+a0_0x5ebd65(0x246)+a0_0x5ebd65(0x210)+'.'},'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':'Space'+a0_0x5ebd65(0x127)+a0_0x5ebd65(0x1cd)+a0_0x5ebd65(0x1f9)+a0_0x5ebd65(0x162)+a0_0x5ebd65(0x2a6)},'space_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+'\x20name'+a0_0x5ebd65(0x166)+a0_0x5ebd65(0x1c3)+a0_0x5ebd65(0x17d)+a0_0x5ebd65(0x24a)+'p.'}}}};export const moveFolderTool={'name':a0_0x5ebd65(0x204)+a0_0x5ebd65(0x1f1)+'r','description':a0_0x5ebd65(0x215)+a0_0x5ebd65(0x237)+'der\x20t'+'o\x20a\x20d'+a0_0x5ebd65(0x266)+a0_0x5ebd65(0x2d4)+a0_0x5ebd65(0x25f)+'\x20Requ'+a0_0x5ebd65(0x2b1)+'folde'+a0_0x5ebd65(0x186)+a0_0x5ebd65(0x213)+a0_0x5ebd65(0x1bd)+a0_0x5ebd65(0x17d)+a0_0x5ebd65(0x196)+a0_0x5ebd65(0x2c2)+'ion\x20s'+a0_0x5ebd65(0x157)+a0_0x5ebd65(0x194)+'\x20spac'+'e_nam'+'e.','annotations':{'title':'Move\x20'+a0_0x5ebd65(0x2c7)+'r','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'folder_id':{'type':'strin'+'g','description':a0_0x5ebd65(0x1d9)+a0_0x5ebd65(0x172)+a0_0x5ebd65(0x20a)+a0_0x5ebd65(0x2d0)+a0_0x5ebd65(0x19c)+a0_0x5ebd65(0x185)},'folder_name':{'type':a0_0x5ebd65(0x146)+'g','description':'Sourc'+'e\x20fol'+a0_0x5ebd65(0x2cb)+'ame\x20('+a0_0x5ebd65(0x1f0)+a0_0x5ebd65(0x144)+a0_0x5ebd65(0x1e0)},'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x277)+a0_0x5ebd65(0x120)+a0_0x5ebd65(0x23d)+a0_0x5ebd65(0x2b3)+'\x20(pre'+a0_0x5ebd65(0x251)+'d).'},'space_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x277)+a0_0x5ebd65(0x120)+a0_0x5ebd65(0x23d)+a0_0x5ebd65(0x14c)+'me\x20(a'+a0_0x5ebd65(0x1b2)+a0_0x5ebd65(0x250)+').'},'allow_destructive_fallback':{'type':'boole'+'an','description':a0_0x5ebd65(0x2b6)+a0_0x5ebd65(0x257)+'\x20even'+a0_0x5ebd65(0x187)+a0_0x5ebd65(0x13a)+a0_0x5ebd65(0x1dd)+'tive\x20'+a0_0x5ebd65(0x284)+a0_0x5ebd65(0x1ee)+'il.\x20D'+'efaul'+a0_0x5ebd65(0x179)+a0_0x5ebd65(0x1ff)}}}};export const setFolderPermissionsTool={'name':a0_0x5ebd65(0x1ec)+a0_0x5ebd65(0x1d0)+a0_0x5ebd65(0x223)+'issio'+'ns','description':a0_0x5ebd65(0x1a0)+a0_0x5ebd65(0x291)+a0_0x5ebd65(0x1d6)+a0_0x5ebd65(0x228)+a0_0x5ebd65(0x2c6)+'ns\x20on'+'\x20a\x20fo'+a0_0x5ebd65(0x106)+a0_0x5ebd65(0x16e)+'ires\x20'+a0_0x5ebd65(0x1f1)+a0_0x5ebd65(0x186)+a0_0x5ebd65(0x213)+a0_0x5ebd65(0x1bd)+a0_0x5ebd65(0x124)+a0_0x5ebd65(0x1a8)+a0_0x5ebd65(0x242)+'lag,\x20'+'and\x20e'+a0_0x5ebd65(0x158)+a0_0x5ebd65(0x286)+'ay.','annotations':{'title':a0_0x5ebd65(0x16d)+a0_0x5ebd65(0x1d0)+'\x20Perm'+'issio'+'ns','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'folder_id':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2c7)+a0_0x5ebd65(0x21f)+a0_0x5ebd65(0x110)+'erred'+').'},'folder_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2c7)+a0_0x5ebd65(0x101)+a0_0x5ebd65(0x1c7)+a0_0x5ebd65(0x246)+'tive)'+'.'},'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+a0_0x5ebd65(0x127)+a0_0x5ebd65(0x1cd)+a0_0x5ebd65(0x1f9)+a0_0x5ebd65(0x162)+a0_0x5ebd65(0x2a6)},'space_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+'\x20name'+'\x20to\x20s'+a0_0x5ebd65(0x1c3)+'name\x20'+a0_0x5ebd65(0x24a)+'p.'},'private':{'type':a0_0x5ebd65(0x107)+'an','description':a0_0x5ebd65(0x203)+a0_0x5ebd65(0x17c)+a0_0x5ebd65(0x1cf)+a0_0x5ebd65(0x295)+a0_0x5ebd65(0x2b9)+a0_0x5ebd65(0x1db)+'c\x20(fa'+'lse).'+'\x20Requ'+'ired.'},'entries':{'type':a0_0x5ebd65(0x1e1),'description':a0_0x5ebd65(0x2a8)+'\x20of\x20p'+'ermis'+'sion\x20'+a0_0x5ebd65(0x2a7)+'es\x20{\x20'+a0_0x5ebd65(0x199)+a0_0x5ebd65(0x278)+a0_0x5ebd65(0x2d5)+a0_0x5ebd65(0x1d1)+a0_0x5ebd65(0x288)+a0_0x5ebd65(0x13d),'items':{'type':a0_0x5ebd65(0x1f8)+'t','properties':{'id':{'type':'numbe'+'r'},'type':{'type':'strin'+'g'},'permission_level':{'type':'strin'+'g'}},'required':['id',a0_0x5ebd65(0x1e4)]}}},'required':[a0_0x5ebd65(0x2a7)+'es']}};export const createFolderFromTemplateTool={'name':a0_0x5ebd65(0x14a)+a0_0x5ebd65(0x292)+'der_f'+a0_0x5ebd65(0x1e2)+a0_0x5ebd65(0x12e)+'te','description':a0_0x5ebd65(0x211)+a0_0x5ebd65(0x15b)+a0_0x5ebd65(0x1d0)+a0_0x5ebd65(0x122)+a0_0x5ebd65(0x29d)+a0_0x5ebd65(0x1f4)+a0_0x5ebd65(0x2ae)+a0_0x5ebd65(0x191)+a0_0x5ebd65(0x123)+a0_0x5ebd65(0x135)+a0_0x5ebd65(0x148)+'ame\x20+'+a0_0x5ebd65(0x29f)+'late_'+'id\x20+\x20'+a0_0x5ebd65(0x1f6)+'e_id\x20'+a0_0x5ebd65(0x206)+a0_0x5ebd65(0x2c4)+a0_0x5ebd65(0x20b)+'\x20Use\x20'+a0_0x5ebd65(0x114)+'n_imm'+a0_0x5ebd65(0x2d3)+a0_0x5ebd65(0x11e)+a0_0x5ebd65(0x260)+'to\x20wa'+'it\x20fo'+a0_0x5ebd65(0x20f)+a0_0x5ebd65(0x1ac)+a0_0x5ebd65(0x1ae)+a0_0x5ebd65(0x100)+a0_0x5ebd65(0x19a)+a0_0x5ebd65(0x15c)+a0_0x5ebd65(0x125)+a0_0x5ebd65(0x14e)+'\x20and\x20'+a0_0x5ebd65(0x24f)+a0_0x5ebd65(0x201)+a0_0x5ebd65(0x276)+'nt\x20im'+a0_0x5ebd65(0x104),'annotations':{'title':a0_0x5ebd65(0x211)+a0_0x5ebd65(0x26f)+'der\x20f'+a0_0x5ebd65(0x221)+a0_0x5ebd65(0x12e)+'te','openWorldHint':!![]},'inputSchema':{'type':a0_0x5ebd65(0x1f8)+'t','properties':{'name':{'type':'strin'+'g','description':'Name\x20'+'for\x20t'+'he\x20ne'+a0_0x5ebd65(0x176)+a0_0x5ebd65(0x1ab)+a0_0x5ebd65(0x14b)+'red.'},'template_id':{'type':'strin'+'g','description':'Folde'+a0_0x5ebd65(0x243)+'plate'+'\x20ID\x20('+a0_0x5ebd65(0x1a5)+a0_0x5ebd65(0x1ce)+'.'},'template_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2c7)+a0_0x5ebd65(0x243)+'plate'+a0_0x5ebd65(0x1a4)+a0_0x5ebd65(0x2b5)+a0_0x5ebd65(0x29b)+a0_0x5ebd65(0x280)+a0_0x5ebd65(0x193)+a0_0x5ebd65(0x20c)+a0_0x5ebd65(0x168)},'space_id':{'type':a0_0x5ebd65(0x146)+'g','description':'Space'+a0_0x5ebd65(0x1c0)+'prefe'+a0_0x5ebd65(0x1ce)+'.'},'space_name':{'type':a0_0x5ebd65(0x146)+'g','description':a0_0x5ebd65(0x2ad)+a0_0x5ebd65(0x1a4)+a0_0x5ebd65(0x2b5)+a0_0x5ebd65(0x29b)+'ive).'},'options':{'type':'objec'+'t','properties':{},'description':a0_0x5ebd65(0x1c1)+a0_0x5ebd65(0x26c)+a0_0x5ebd65(0x115)+a0_0x5ebd65(0x261)+a0_0x5ebd65(0x23c)+'Inclu'+a0_0x5ebd65(0x131)+a0_0x5ebd65(0x28f)+a0_0x5ebd65(0x155)+'gs:\x20s'+'ubtas'+a0_0x5ebd65(0x263)+a0_0x5ebd65(0x249)+'_fiel'+a0_0x5ebd65(0x2c0)+'riori'+a0_0x5ebd65(0x208)+a0_0x5ebd65(0x10c)+a0_0x5ebd65(0x24e)+a0_0x5ebd65(0x27b)+a0_0x5ebd65(0x27d)+'iews,'+a0_0x5ebd65(0x28a)+'assig'+a0_0x5ebd65(0x234)+a0_0x5ebd65(0x28a)+a0_0x5ebd65(0x108)+a0_0x5ebd65(0x1c9)+'old_s'+a0_0x5ebd65(0x161)+'date,'+a0_0x5ebd65(0x28a)+a0_0x5ebd65(0x1b9)+'\x20old_'+a0_0x5ebd65(0x2a2)+a0_0x5ebd65(0x1ca)+a0_0x5ebd65(0x2ba)+a0_0x5ebd65(0x184)+a0_0x5ebd65(0x28e)+a0_0x5ebd65(0x1e7)+'hment'+a0_0x5ebd65(0x15f)+a0_0x5ebd65(0x1aa)+a0_0x5ebd65(0x19d)+'ment_'+a0_0x5ebd65(0x1e7)+a0_0x5ebd65(0x294)+a0_0x5ebd65(0x14d)+a0_0x5ebd65(0x18e)+a0_0x5ebd65(0x195)+a0_0x5ebd65(0x1a7)+a0_0x5ebd65(0x173)+a0_0x5ebd65(0x25e)+a0_0x5ebd65(0x1b0)+a0_0x5ebd65(0x21a)+a0_0x5ebd65(0x141)+a0_0x5ebd65(0x16a)+a0_0x5ebd65(0x23e)+'nal_d'+'epend'+'encie'+'s,\x20in'+a0_0x5ebd65(0x246)+a0_0x5ebd65(0x150)+'enden'+a0_0x5ebd65(0x29e)+a0_0x5ebd65(0x27a)+a0_0x5ebd65(0x2c5)+'ol:\x20r'+a0_0x5ebd65(0x299)+a0_0x5ebd65(0x137)+'diate'+'ly\x20(b'+'oolea'+a0_0x5ebd65(0x2a4)+'fault'+a0_0x5ebd65(0x2bc)+a0_0x5ebd65(0x1e6)+a0_0x5ebd65(0x2b4)+'mappi'+a0_0x5ebd65(0x205)+a0_0x5ebd65(0x161)+a0_0x5ebd65(0x1b1)+a0_0x5ebd65(0x145)+'date\x20'+'(ISO\x20'+a0_0x5ebd65(0x239)+a0_0x5ebd65(0x146)+a0_0x5ebd65(0x11a)+a0_0x5ebd65(0x170)+'_star'+a0_0x5ebd65(0x2ac)+a0_0x5ebd65(0x10f)+a0_0x5ebd65(0x12b)+'ekend'+a0_0x5ebd65(0x273)+a0_0x5ebd65(0x27f)+a0_0x5ebd65(0x255)}},'required':[a0_0x5ebd65(0x267)]}};async function resolveFolderId(_0x11ce3c,_0x40e6d1,_0x255a30,_0x16a1cb,_0xfcc147){const _0x3915b7=a0_0x5ebd65;if(_0x11ce3c)return _0x11ce3c;if(!_0x40e6d1)throw new Error(_0x3915b7(0x15d)+_0x3915b7(0x1cc)+_0x3915b7(0x21d)+'d\x20or\x20'+_0x3915b7(0x1f1)+_0x3915b7(0x1ea)+_0x3915b7(0x192)+_0x3915b7(0x253)+_0x3915b7(0x12c)+'ded.');const {folder:_0x54d937,workspace:_0x5a5656}=_0xfcc147;let _0x42376b=_0x255a30;if(!_0x42376b&&_0x16a1cb){const _0x29b492=await _0x5a5656[_0x3915b7(0x2cf)+_0x3915b7(0x1a1)+_0x3915b7(0x207)](_0x16a1cb);if(!_0x29b492)throw new Error('Space'+'\x20\x22'+_0x16a1cb+(_0x3915b7(0x11b)+_0x3915b7(0x25c)+'d.'));_0x42376b=_0x29b492['id'];}if(_0x42376b){const _0x47acf8=await _0x54d937[_0x3915b7(0x12d)+_0x3915b7(0x1d0)+'ByNam'+'e'](_0x42376b,_0x40e6d1);if(!_0x47acf8)throw new Error(_0x3915b7(0x2c7)+_0x3915b7(0x27e)+_0x40e6d1+(_0x3915b7(0x11b)+'\x20foun'+'d\x20in\x20'+_0x3915b7(0x265)+'.'));return _0x47acf8['id'];}const _0x1e6103=await resolveLocation(_0x3915b7(0x1f1)+'r',undefined,_0x40e6d1,_0x5a5656);return _0x1e6103['id'];}async function resolveSpaceId(_0x567062,_0x48c611,_0x297a7c){const _0xeb0d85=a0_0x5ebd65;if(_0x567062)return _0x567062;if(!_0x48c611)throw new Error('Eithe'+_0xeb0d85(0x11c)+_0xeb0d85(0x1c6)+_0xeb0d85(0x22b)+_0xeb0d85(0x157)+'name\x20'+_0xeb0d85(0x197)+_0xeb0d85(0x297)+_0xeb0d85(0x283)+'d.');const _0x1656ae=await _0x297a7c[_0xeb0d85(0x216)+_0xeb0d85(0x1b3)][_0xeb0d85(0x2cf)+_0xeb0d85(0x1a1)+_0xeb0d85(0x207)](_0x48c611);if(!_0x1656ae)throw new Error(_0xeb0d85(0x2ad)+'\x20\x22'+_0x48c611+('\x22\x20not'+_0xeb0d85(0x25c)+'d.'));return _0x1656ae['id'];}export async function handleManageFolders(_0x1f4761,_0x101dfb){const _0x5ae64e=a0_0x5ebd65,_0x5c8efc={'PPMil':'Handl'+_0x5ae64e(0x209)+_0x5ae64e(0x2bb)+_0x5ae64e(0x1d3)+'eFold'+_0x5ae64e(0x1bb),'jdoCm':function(_0x21294b,_0x229e53,_0x562408,_0x14ed77,_0x52966c,_0x2da1f9){return _0x21294b(_0x229e53,_0x562408,_0x14ed77,_0x52966c,_0x2da1f9);},'VZPRD':function(_0x26ce74,_0x31ec05){return _0x26ce74===_0x31ec05;},'QgDFc':'The\x20\x27'+_0x5ae64e(0x244)+_0x5ae64e(0x240)+'oolea'+'n\x20par'+'amete'+_0x5ae64e(0x13f)+'requi'+'red\x20f'+_0x5ae64e(0x12a)+_0x5ae64e(0x152)+_0x5ae64e(0x28b)+'ons.','sHQbN':_0x5ae64e(0x1f1)+'r','XBRAn':_0x5ae64e(0x17d)+_0x5ae64e(0x21c)+_0x5ae64e(0x231)+_0x5ae64e(0x2ab)+_0x5ae64e(0x2a3)+_0x5ae64e(0x274),'KJRfv':function(_0x3c52a8,_0x18c330,_0x2fdc04,_0x2d9cfb){return _0x3c52a8(_0x18c330,_0x2fdc04,_0x2d9cfb);},'SEDaE':function(_0x50d8e2,_0x5ab157){return _0x50d8e2!==_0x5ab157;},'Qyzvq':function(_0x529eec,_0x32db73,_0x5c7f4a,_0x20c3e4,_0x1e18f0,_0x5d5089){return _0x529eec(_0x32db73,_0x5c7f4a,_0x20c3e4,_0x1e18f0,_0x5d5089);},'yaOWV':_0x5ae64e(0x22a)+'e','lWbWt':_0x5ae64e(0x23a)+'ast\x20o'+_0x5ae64e(0x290)+_0x5ae64e(0x1a4)+_0x5ae64e(0x13b)+_0x5ae64e(0x282)+_0x5ae64e(0x24d)+_0x5ae64e(0x116)+_0x5ae64e(0x259)+_0x5ae64e(0x253)+'provi'+_0x5ae64e(0x19b)+_0x5ae64e(0x188)+'date.','CCxlP':_0x5ae64e(0x11d)+'e','MAzGD':function(_0x429c2b,_0x393077,_0x4c39b4,_0x33abc5){return _0x429c2b(_0x393077,_0x4c39b4,_0x33abc5);},'sKihK':_0x5ae64e(0x17a)+_0x5ae64e(0x175)+_0x5ae64e(0x2bb)+'Manag'+'eFold'+'ers'},{action:_0x1fc55a,folder_id:_0x24429a,folder_name:_0x3bb02c,space_id:_0x57b46c,space_name:_0x4fb96b,name:_0x151951,override_statuses:_0x3fd6aa,allow_destructive_fallback:_0x4ba4af}=_0x1f4761,{folder:_0x33a1f6}=_0x101dfb;logger[_0x5ae64e(0x235)](_0x5c8efc[_0x5ae64e(0x236)],{'action':_0x1fc55a});try{switch(_0x1fc55a){case'set_p'+_0x5ae64e(0x1cb)+_0x5ae64e(0x132):{const _0x4d986e=await _0x5c8efc['jdoCm'](resolveFolderId,_0x24429a,_0x3bb02c,_0x57b46c,_0x4fb96b,_0x101dfb);if(_0x5c8efc[_0x5ae64e(0x165)](_0x1f4761['priva'+'te'],undefined))return sponsorService[_0x5ae64e(0x14a)+'eErro'+_0x5ae64e(0x28d)+_0x5ae64e(0x117)](_0x5c8efc[_0x5ae64e(0x180)]);return await _0x33a1f6[_0x5ae64e(0x18b)+_0x5ae64e(0x2a1)+'ions'](_0x5c8efc[_0x5ae64e(0x26a)],_0x4d986e,{'private':_0x1f4761['priva'+'te'],'entries':_0x1f4761[_0x5ae64e(0x2a7)+'es']||[]}),sponsorService[_0x5ae64e(0x14a)+_0x5ae64e(0x156)+_0x5ae64e(0x117)]({'success':!![],'message':_0x5ae64e(0x28c)+_0x5ae64e(0x1d1)+_0x5ae64e(0x16b)+_0x5ae64e(0x174)+_0x5ae64e(0x2d1)+_0x5ae64e(0x130)+'ly\x20fo'+_0x5ae64e(0x1cc)+_0x5ae64e(0x2b0)+(_0x3bb02c||_0x24429a)+'\x22'},!![]);}case'creat'+'e':{if(!_0x151951)return sponsorService[_0x5ae64e(0x14a)+'eErro'+_0x5ae64e(0x28d)+_0x5ae64e(0x117)](_0x5c8efc[_0x5ae64e(0x129)]);const _0x2f158b=await _0x5c8efc[_0x5ae64e(0x1d8)](resolveSpaceId,_0x57b46c,_0x4fb96b,_0x101dfb),_0x1081ee={'name':_0x151951};if(_0x5c8efc[_0x5ae64e(0x2bd)](_0x3fd6aa,undefined))_0x1081ee[_0x5ae64e(0x1b6)+'ide_s'+_0x5ae64e(0x29c)+'es']=_0x3fd6aa;const _0x46f200=await _0x33a1f6[_0x5ae64e(0x14a)+_0x5ae64e(0x21e)+'er'](_0x2f158b,_0x1081ee);return sponsorService[_0x5ae64e(0x14a)+_0x5ae64e(0x156)+_0x5ae64e(0x117)]({'id':_0x46f200['id'],'name':_0x46f200[_0x5ae64e(0x267)],'space':{'id':_0x46f200[_0x5ae64e(0x265)]['id'],'name':_0x46f200[_0x5ae64e(0x265)]['name']},'message':_0x5ae64e(0x2c7)+_0x5ae64e(0x27e)+_0x46f200[_0x5ae64e(0x267)]+(_0x5ae64e(0x232)+_0x5ae64e(0x174)+'succe'+_0x5ae64e(0x130)+'ly')},!![]);}case _0x5ae64e(0x2ce):{const _0x234ed5=await _0x5c8efc[_0x5ae64e(0x29a)](resolveFolderId,_0x24429a,_0x3bb02c,_0x57b46c,_0x4fb96b,_0x101dfb),_0x426458=await _0x33a1f6[_0x5ae64e(0x238)+_0x5ae64e(0x111)](_0x234ed5);return sponsorService[_0x5ae64e(0x14a)+_0x5ae64e(0x156)+_0x5ae64e(0x117)]({'id':_0x426458['id'],'name':_0x426458[_0x5ae64e(0x267)],'orderindex':_0x426458[_0x5ae64e(0x1e3)+_0x5ae64e(0x264)],'override_statuses':_0x426458[_0x5ae64e(0x1b6)+'ide_s'+'tatus'+'es'],'hidden':_0x426458['hidde'+'n'],'task_count':_0x426458[_0x5ae64e(0x1f2)+'count'],'space':{'id':_0x426458['space']['id'],'name':_0x426458[_0x5ae64e(0x265)][_0x5ae64e(0x267)]},'statuses':_0x426458[_0x5ae64e(0x2a2)+_0x5ae64e(0x118)],'lists':_0x426458[_0x5ae64e(0x182)]?.[_0x5ae64e(0x19f)](_0x50897b=>({'id':_0x50897b['id'],'name':_0x50897b[_0x5ae64e(0x267)],'task_count':_0x50897b[_0x5ae64e(0x1f2)+_0x5ae64e(0x1eb)],'orderindex':_0x50897b[_0x5ae64e(0x1e3)+_0x5ae64e(0x264)]}))},!![]);}case _0x5c8efc['yaOWV']:{const _0x570e2d=await resolveFolderId(_0x24429a,_0x3bb02c,_0x57b46c,_0x4fb96b,_0x101dfb);if(!_0x151951&&_0x3fd6aa===undefined)return sponsorService[_0x5ae64e(0x14a)+_0x5ae64e(0x1fc)+_0x5ae64e(0x28d)+'onse'](_0x5c8efc[_0x5ae64e(0x102)]);const _0x5852fe={};if(_0x151951)_0x5852fe['name']=_0x151951;if(_0x5c8efc[_0x5ae64e(0x2bd)](_0x3fd6aa,undefined))_0x5852fe['overr'+'ide_s'+_0x5ae64e(0x29c)+'es']=_0x3fd6aa;const _0x402ebf=await _0x33a1f6[_0x5ae64e(0x22a)+_0x5ae64e(0x21e)+'er'](_0x570e2d,_0x5852fe);return sponsorService['creat'+_0x5ae64e(0x156)+_0x5ae64e(0x117)]({'id':_0x402ebf['id'],'name':_0x402ebf[_0x5ae64e(0x267)],'orderindex':_0x402ebf[_0x5ae64e(0x1e3)+'index'],'override_statuses':_0x402ebf[_0x5ae64e(0x1b6)+'ide_s'+'tatus'+'es'],'hidden':_0x402ebf['hidde'+'n'],'task_count':_0x402ebf[_0x5ae64e(0x1f2)+'count'],'space':{'id':_0x402ebf['space']['id'],'name':_0x402ebf[_0x5ae64e(0x265)][_0x5ae64e(0x267)]},'message':_0x5ae64e(0x2c7)+'r\x20\x22'+_0x402ebf[_0x5ae64e(0x267)]+(_0x5ae64e(0x2a5)+_0x5ae64e(0x174)+'succe'+_0x5ae64e(0x130)+'ly')},!![]);}case _0x5c8efc['CCxlP']:{const _0x5740e8=await resolveFolderId(_0x24429a,_0x3bb02c,_0x57b46c,_0x4fb96b,_0x101dfb),_0x4706e7=await _0x33a1f6[_0x5ae64e(0x238)+'lder'](_0x5740e8),_0x2122a1=_0x4706e7['name'];return await _0x33a1f6['delet'+_0x5ae64e(0x21e)+'er'](_0x5740e8),sponsorService['creat'+'eResp'+'onse']({'success':!![],'message':_0x5ae64e(0x2c7)+'r\x20\x22'+_0x2122a1+(_0x5ae64e(0x18f)+'eted\x20'+_0x5ae64e(0x2d1)+_0x5ae64e(0x130)+'ly')},!![]);}case _0x5ae64e(0x15a):{const _0x353eac=await resolveFolderId(_0x24429a,_0x3bb02c,undefined,undefined,_0x101dfb),_0x30ed3e=await _0x5c8efc[_0x5ae64e(0x24c)](resolveSpaceId,_0x57b46c,_0x4fb96b,_0x101dfb),_0x288a61=await _0x33a1f6['moveF'+_0x5ae64e(0x1d0)](_0x353eac,_0x30ed3e,_0x4ba4af);return sponsorService[_0x5ae64e(0x14a)+_0x5ae64e(0x156)+'onse']({'id':_0x288a61['id'],'name':_0x288a61[_0x5ae64e(0x267)],'space':{'id':_0x288a61[_0x5ae64e(0x265)]['id'],'name':_0x288a61['space']['name']},'url':buildFolderUrl(_0x288a61['id'],_0x101dfb),'message':_0x5ae64e(0x2c7)+_0x5ae64e(0x2bf)+_0x5ae64e(0x254)+'ccess'+_0x5ae64e(0x1a9)+'\x20to\x20s'+_0x5ae64e(0x248)+'\x22'+_0x288a61[_0x5ae64e(0x265)]['name']+(_0x5ae64e(0x154)+_0x5ae64e(0x1e9)+_0x5ae64e(0x20a)+'D:\x20')+_0x288a61['id']},!![]);}default:return sponsorService[_0x5ae64e(0x14a)+_0x5ae64e(0x1fc)+_0x5ae64e(0x28d)+_0x5ae64e(0x117)](_0x5ae64e(0x2be)+_0x5ae64e(0x10d)+_0x5ae64e(0x1d4)+'\x20'+_0x1fc55a+(_0x5ae64e(0x2af)+_0x5ae64e(0x1a3)+'tions'+_0x5ae64e(0x1c2)+_0x5ae64e(0x1c9)+'get,\x20'+_0x5ae64e(0x22a)+_0x5ae64e(0x134)+_0x5ae64e(0x147)+'\x20move'+'.'));}}catch(_0x223e94){return logger['error'](_0x5c8efc[_0x5ae64e(0x226)],_0x223e94),sponsorService['creat'+_0x5ae64e(0x1fc)+'rResp'+_0x5ae64e(0x117)](_0x223e94[_0x5ae64e(0x143)+'ge']||'An\x20un'+_0x5ae64e(0x24b)+_0x5ae64e(0x177)+_0x5ae64e(0x21b)+'urred');}}export async function handleCreateFolderFromTemplate(_0x2c02f3,_0x5183a9){const _0x35d024=a0_0x5ebd65,_0x21245d={'xeemz':function(_0x118a26,_0x3c5c1e,_0x2028b6,_0x3a4bd9){return _0x118a26(_0x3c5c1e,_0x2028b6,_0x3a4bd9);},'juAhY':function(_0x53d8d1,_0x7901dc){return _0x53d8d1===_0x7901dc;},'FCSnd':'retur'+_0x35d024(0x23b)+'ediat'+_0x35d024(0x121),'wjqSN':'start'+_0x35d024(0x159),'RtKji':'due_d'+'ate','gpInv':'remap'+_0x35d024(0x279)+_0x35d024(0x2ac)+'e','ozXaR':_0x35d024(0x1d2)+_0x35d024(0x258)+_0x35d024(0x1bc),'mbRry':_0x35d024(0x142)+_0x35d024(0x285),'KuboU':_0x35d024(0x200)+'m_fie'+'lds','obMFW':_0x35d024(0x222)+_0x35d024(0x10a),'VsSbs':_0x35d024(0x1f5)+'ue_da'+'te','aygzL':_0x35d024(0x247)+'tart_'+_0x35d024(0x190),'qKsyw':'old_t'+_0x35d024(0x252),'FWgmn':'attac'+_0x35d024(0x294)+'s','ZtAGD':_0x35d024(0x20e)+_0x35d024(0x128)+_0x35d024(0x2b2)+_0x35d024(0x181),'HYAqs':_0x35d024(0x23e)+_0x35d024(0x17b)+_0x35d024(0x2c1)+_0x35d024(0x230)+'s','IWGpm':_0x35d024(0x17a)+_0x35d024(0x175)+_0x35d024(0x2bb)+_0x35d024(0x211)+_0x35d024(0x21e)+_0x35d024(0x1b5)+_0x35d024(0x139)+_0x35d024(0x18d),'euGOq':_0x35d024(0x23f)+'known'+_0x35d024(0x177)+_0x35d024(0x21b)+'urred'},{name:_0x32ce96,template_id:_0x7479,template_name:_0x3ca1c2,space_id:_0x435b98,space_name:_0x585890}=_0x2c02f3;try{if(!_0x32ce96)return sponsorService[_0x35d024(0x14a)+_0x35d024(0x1fc)+_0x35d024(0x28d)+_0x35d024(0x117)]('name\x20'+_0x35d024(0x21c)+'quire'+'d.');const _0x2896a9=await _0x21245d['xeemz'](resolveTemplateId,_0x7479,_0x3ca1c2,_0x5183a9),_0x20f3fb=await _0x21245d[_0x35d024(0x202)](resolveSpaceId,_0x435b98,_0x585890,_0x5183a9);let _0x2501d3=typeof _0x2c02f3[_0x35d024(0x16c)+'ns']===_0x35d024(0x1f8)+'t'&&_0x2c02f3[_0x35d024(0x16c)+'ns']!==null?{..._0x2c02f3[_0x35d024(0x16c)+'ns']}:{};if(_0x21245d[_0x35d024(0x227)](Object['keys'](_0x2501d3)[_0x35d024(0x256)+'h'],0x0)){const _0x4a36c4=[_0x21245d[_0x35d024(0x241)],_0x21245d[_0x35d024(0x289)],_0x21245d[_0x35d024(0x1a2)],_0x21245d[_0x35d024(0x133)],_0x21245d[_0x35d024(0x2c8)],_0x21245d[_0x35d024(0x14f)],_0x21245d['KuboU'],_0x21245d[_0x35d024(0x11f)],_0x35d024(0x1ed)+_0x35d024(0x1ae),_0x35d024(0x1ba)+_0x35d024(0x22c)+_0x35d024(0x138),_0x35d024(0x233)+_0x35d024(0x212)+_0x35d024(0x2c3),_0x21245d[_0x35d024(0x119)],_0x21245d[_0x35d024(0x1b7)],_0x21245d[_0x35d024(0x2aa)],_0x35d024(0x247)+_0x35d024(0x29c)+'es',_0x35d024(0x2ba)+_0x35d024(0x184)+_0x35d024(0x1bb),_0x21245d['FWgmn'],_0x35d024(0x20e)+'nt',_0x21245d[_0x35d024(0x2c9)],'recur'+_0x35d024(0x26e)+_0x35d024(0x281),_0x35d024(0x1de)+_0x35d024(0x214)+_0x35d024(0x1fd),_0x35d024(0x21a)+'ionsh'+_0x35d024(0x219),_0x21245d[_0x35d024(0x26b)],'inter'+'nal_d'+_0x35d024(0x2c1)+'encie'+'s'];for(const _0x35878a of _0x4a36c4){if(_0x2c02f3[_0x35878a]!==undefined)_0x2501d3[_0x35878a]=_0x2c02f3[_0x35878a];}}const _0x4c8ccb=await _0x5183a9[_0x35d024(0x1f1)+'r'][_0x35d024(0x14a)+'eFold'+_0x35d024(0x1b5)+_0x35d024(0x139)+'late'](_0x20f3fb,_0x2896a9,_0x32ce96,_0x2501d3),_0x5957ab=_0x4c8ccb?.[_0x35d024(0x1f1)+'r']||_0x4c8ccb;return sponsorService['creat'+_0x35d024(0x156)+_0x35d024(0x117)]({'id':_0x5957ab['id']||_0x4c8ccb['id'],'name':_0x5957ab[_0x35d024(0x267)],'space':_0x5957ab[_0x35d024(0x265)]?{'id':_0x5957ab[_0x35d024(0x265)]['id'],'name':_0x5957ab[_0x35d024(0x265)][_0x35d024(0x267)]}:undefined,'message':_0x35d024(0x2c7)+_0x35d024(0x27e)+_0x32ce96+(_0x35d024(0x232)+_0x35d024(0x174)+_0x35d024(0x18a)+_0x35d024(0x149)+'ate\x20s'+_0x35d024(0x1c4)+_0x35d024(0x1fa)+'y')},!![]);}catch(_0x282781){return logger[_0x35d024(0x218)](_0x21245d['IWGpm'],_0x282781),sponsorService[_0x35d024(0x14a)+_0x35d024(0x1fc)+'rResp'+_0x35d024(0x117)](_0x282781['messa'+'ge']||_0x21245d['euGOq']);}}export async function handleListFolders(_0x2fb7b0,_0x513af8){const _0x30994d=a0_0x5ebd65,_0x82a17c={'iGQPR':_0x30994d(0x298)+'led','pMZZe':function(_0x366211,_0x4ed4ae){return _0x366211===_0x4ed4ae;},'bhlZK':_0x30994d(0x17a)+'\x20in\x20h'+_0x30994d(0x2bb)+_0x30994d(0x2cd)+_0x30994d(0x1d0)+'s','wrVXI':'An\x20un'+'known'+'\x20erro'+'r\x20occ'+_0x30994d(0x293)},{space_id:_0x4af2a6,space_name:_0xce7e8a,archived:_0x177a21,detail_level:detail_level=_0x82a17c[_0x30994d(0x17e)]}=_0x2fb7b0,{folder:_0x7939fa}=_0x513af8;try{const _0x916b29=await resolveSpaceId(_0x4af2a6,_0xce7e8a,_0x513af8),_0x2b4462=await _0x7939fa[_0x30994d(0x238)+_0x30994d(0x167)+'InSpa'+'ce'](_0x916b29,_0x177a21);if(_0x82a17c[_0x30994d(0x1e8)](detail_level,_0x30994d(0x1df)))return sponsorService[_0x30994d(0x14a)+_0x30994d(0x156)+_0x30994d(0x117)]({'folders':_0x2b4462[_0x30994d(0x19f)](_0x5487ec=>({'id':_0x5487ec['id'],'name':_0x5487ec['name'],'task_count':_0x5487ec[_0x30994d(0x1f2)+_0x30994d(0x1eb)]}))},!![]);return sponsorService[_0x30994d(0x14a)+_0x30994d(0x156)+_0x30994d(0x117)]({'folders':_0x2b4462[_0x30994d(0x19f)](_0x5b8337=>({'id':_0x5b8337['id'],'name':_0x5b8337[_0x30994d(0x267)],'task_count':_0x5b8337[_0x30994d(0x1f2)+_0x30994d(0x1eb)],'hidden':_0x5b8337['hidde'+'n'],'space':{'id':_0x5b8337[_0x30994d(0x265)]['id'],'name':_0x5b8337[_0x30994d(0x265)]['name']}}))},!![]);}catch(_0x5e04c8){return logger[_0x30994d(0x218)](_0x82a17c['bhlZK'],_0x5e04c8),sponsorService['creat'+_0x30994d(0x1fc)+'rResp'+_0x30994d(0x117)](_0x5e04c8[_0x30994d(0x143)+'ge']||_0x82a17c[_0x30994d(0x217)]);}}