@taazkareem/clickup-mcp-server 0.14.0 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +91 -23
  2. package/build/auth/routes.js +1 -1
  3. package/build/config.js +1 -1
  4. package/build/index.js +1 -1
  5. package/build/license.js +1 -1
  6. package/build/logger.js +1 -1
  7. package/build/middleware/auth.js +1 -1
  8. package/build/middleware/security.js +1 -1
  9. package/build/personas.js +1 -1
  10. package/build/prompts.js +1 -1
  11. package/build/server.js +1 -1
  12. package/build/services/clickup/audit-logs.js +1 -1
  13. package/build/services/clickup/base.js +1 -1
  14. package/build/services/clickup/bulk.js +1 -1
  15. package/build/services/clickup/chat.js +1 -1
  16. package/build/services/clickup/custom-field.js +1 -1
  17. package/build/services/clickup/document.js +1 -1
  18. package/build/services/clickup/errors.js +1 -1
  19. package/build/services/clickup/folder.js +1 -1
  20. package/build/services/clickup/goal.js +1 -1
  21. package/build/services/clickup/guest.js +1 -1
  22. package/build/services/clickup/index.js +1 -1
  23. package/build/services/clickup/list.js +1 -1
  24. package/build/services/clickup/rate-limiter.js +1 -1
  25. package/build/services/clickup/sprint.js +1 -1
  26. package/build/services/clickup/tag.js +1 -1
  27. package/build/services/clickup/task/index.js +1 -1
  28. package/build/services/clickup/task/task-attachments.js +1 -1
  29. package/build/services/clickup/task/task-checklists.js +1 -1
  30. package/build/services/clickup/task/task-comments.js +1 -1
  31. package/build/services/clickup/task/task-core.js +1 -1
  32. package/build/services/clickup/task/task-relationships.js +1 -1
  33. package/build/services/clickup/task/task-search.js +1 -1
  34. package/build/services/clickup/task/task-service.js +1 -1
  35. package/build/services/clickup/task/task-tags.js +1 -1
  36. package/build/services/clickup/task-templates.js +1 -1
  37. package/build/services/clickup/time.js +1 -1
  38. package/build/services/clickup/types.js +1 -1
  39. package/build/services/clickup/user-group.js +1 -1
  40. package/build/services/clickup/view.js +1 -1
  41. package/build/services/clickup/webhook.js +1 -1
  42. package/build/services/clickup/workspace.js +1 -1
  43. package/build/services/oauth.js +1 -1
  44. package/build/services/shared.js +1 -1
  45. package/build/sse_server.js +1 -1
  46. package/build/tools/attachment.js +1 -1
  47. package/build/tools/audit-logs.js +1 -1
  48. package/build/tools/chat/handlers.js +1 -1
  49. package/build/tools/chat/index.js +1 -1
  50. package/build/tools/chat/utils.js +1 -1
  51. package/build/tools/custom-field.js +1 -1
  52. package/build/tools/documents.js +1 -1
  53. package/build/tools/feedback.js +1 -1
  54. package/build/tools/folder.js +1 -1
  55. package/build/tools/goal.js +1 -1
  56. package/build/tools/guest.js +1 -1
  57. package/build/tools/index.js +1 -1
  58. package/build/tools/list.js +1 -1
  59. package/build/tools/registry.js +1 -1
  60. package/build/tools/space.js +1 -1
  61. package/build/tools/sprint.js +1 -1
  62. package/build/tools/tag.js +1 -1
  63. package/build/tools/task/bulk-operations.js +1 -1
  64. package/build/tools/task/checklists.js +1 -1
  65. package/build/tools/task/handlers.js +1 -1
  66. package/build/tools/task/index.js +1 -1
  67. package/build/tools/task/main.js +1 -1
  68. package/build/tools/task/markdown-converter.js +1 -1
  69. package/build/tools/task/params.js +1 -1
  70. package/build/tools/task/relationships.js +1 -1
  71. package/build/tools/task/single-operations.js +1 -1
  72. package/build/tools/task/utilities.js +1 -1
  73. package/build/tools/task/workspace-operations.js +1 -1
  74. package/build/tools/task-templates.js +1 -1
  75. package/build/tools/time_entries.js +1 -1
  76. package/build/tools/user-group.js +1 -1
  77. package/build/tools/utils.js +1 -1
  78. package/build/tools/view.js +1 -1
  79. package/build/tools/webhook.js +1 -1
  80. package/build/tools/workspace.js +1 -1
  81. package/build/transport/mcp-handler.js +1 -1
  82. package/build/utils/cache.js +1 -1
  83. package/build/utils/color-processor.js +1 -1
  84. package/build/utils/concurrency-utils.js +1 -1
  85. package/build/utils/context-utils.js +1 -0
  86. package/build/utils/date-utils.js +1 -1
  87. package/build/utils/log-sanitizer.js +1 -1
  88. package/build/utils/member-utils.js +1 -1
  89. package/build/utils/request-utils.js +1 -1
  90. package/build/utils/resolver-utils.js +1 -1
  91. package/build/utils/sponsor-service.js +1 -1
  92. package/build/utils/token-utils.js +1 -1
  93. package/package.json +2 -1
@@ -1 +1 @@
1
- const a0_0x2eb95f=a0_0x11f3;(function(_0x45fead,_0x30fba0){const _0x59d99e=a0_0x11f3,_0xc6fe0b=_0x45fead();while(!![]){try{const _0x1b4ef5=parseInt(_0x59d99e(0x38f))/0x1*(parseInt(_0x59d99e(0x289))/0x2)+parseInt(_0x59d99e(0x278))/0x3+-parseInt(_0x59d99e(0x2c8))/0x4+parseInt(_0x59d99e(0x2ec))/0x5*(parseInt(_0x59d99e(0x326))/0x6)+-parseInt(_0x59d99e(0x2ee))/0x7+-parseInt(_0x59d99e(0x3ca))/0x8+parseInt(_0x59d99e(0x229))/0x9;if(_0x1b4ef5===_0x30fba0)break;else _0xc6fe0b['push'](_0xc6fe0b['shift']());}catch(_0xa25cbf){_0xc6fe0b['push'](_0xc6fe0b['shift']());}}}(a0_0x1a2a,0x19de7));import{getTaskId}from'./task/utilities.js';import{Logger}from'../logger.js';import{parseDueDate}from'../utils/date-utils.js';import{sponsorService}from'../utils/sponsor-service.js';import{resolveLocation,resolveMember}from'../utils/resolver-utils.js';const logger=new Logger('TimeE'+a0_0x2eb95f(0x302)+a0_0x2eb95f(0x236));export const getTimeEntriesTool={'name':a0_0x2eb95f(0x312)+'ime_e'+a0_0x2eb95f(0x302)+'s','description':'List\x20'+a0_0x2eb95f(0x3bd)+a0_0x2eb95f(0x395)+'es\x20fo'+a0_0x2eb95f(0x2a1)+a0_0x2eb95f(0x2b9)+'space'+a0_0x2eb95f(0x2cd)+a0_0x2eb95f(0x31d)+a0_0x2eb95f(0x1d8)+a0_0x2eb95f(0x2e0)+a0_0x2eb95f(0x354)+a0_0x2eb95f(0x279)+a0_0x2eb95f(0x2a2)+a0_0x2eb95f(0x305)+a0_0x2eb95f(0x3c6)+a0_0x2eb95f(0x21c)+a0_0x2eb95f(0x2f2)+a0_0x2eb95f(0x245)+a0_0x2eb95f(0x34f)+a0_0x2eb95f(0x233)+a0_0x2eb95f(0x1e5),'annotations':{'title':a0_0x2eb95f(0x247)+a0_0x2eb95f(0x2bf)+a0_0x2eb95f(0x302)+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{'task':{'type':a0_0x2eb95f(0x38c)+'g','description':'Task\x20'+'name\x20'+a0_0x2eb95f(0x398)+a0_0x2eb95f(0x367)+'er.'},'taskId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38b)+a0_0x2eb95f(0x37b)+a0_0x2eb95f(0x212)},'taskName':{'type':a0_0x2eb95f(0x38c)+'g','description':'Task\x20'+a0_0x2eb95f(0x204)+a0_0x2eb95f(0x376)+'r.'},'listName':{'type':a0_0x2eb95f(0x38c)+'g','description':'List\x20'+a0_0x2eb95f(0x204)+a0_0x2eb95f(0x376)+'r.'},'listId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x2fc)+a0_0x2eb95f(0x37b)+a0_0x2eb95f(0x212)},'folderId':{'type':a0_0x2eb95f(0x38c)+'g','description':'Folde'+a0_0x2eb95f(0x3c0)+a0_0x2eb95f(0x376)+'r.'},'folderName':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x3a3)+'r\x20nam'+'e\x20fil'+'ter.'},'spaceId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x378)+a0_0x2eb95f(0x335)+a0_0x2eb95f(0x373)+'.'},'spaceName':{'type':a0_0x2eb95f(0x38c)+'g','description':'Space'+a0_0x2eb95f(0x35d)+a0_0x2eb95f(0x367)+a0_0x2eb95f(0x370)},'start_time':{'type':'strin'+'g','description':a0_0x2eb95f(0x3ab)+'\x20time'+a0_0x2eb95f(0x295)+'x\x20ms\x20'+a0_0x2eb95f(0x2e8)+a0_0x2eb95f(0x23d)+a0_0x2eb95f(0x3b6)+a0_0x2eb95f(0x343)+'.'},'startDate':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x1e6)+'\x20for\x20'+'start'+a0_0x2eb95f(0x218)+'.'},'end_time':{'type':'strin'+'g','description':a0_0x2eb95f(0x248)+a0_0x2eb95f(0x33b)+'ilter'+'.'},'endDate':{'type':'strin'+'g','description':a0_0x2eb95f(0x1e6)+a0_0x2eb95f(0x1f9)+a0_0x2eb95f(0x3df)+'ime.'},'assignees':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x36f)+'r'},'description':a0_0x2eb95f(0x349)+a0_0x2eb95f(0x2c1)+a0_0x2eb95f(0x3e2)+a0_0x2eb95f(0x3dd)+a0_0x2eb95f(0x287)},'assigneeNames':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':a0_0x2eb95f(0x349)+a0_0x2eb95f(0x371)+'ame/e'+a0_0x2eb95f(0x1f2)+'filte'+a0_0x2eb95f(0x35f)}}}};function a0_0x11f3(_0x5271c4,_0x417ddb){_0x5271c4=_0x5271c4-0x1d5;const _0x1a2a98=a0_0x1a2a();let _0x11f394=_0x1a2a98[_0x5271c4];if(a0_0x11f3['aqVxtZ']===undefined){var _0x22ddbe=function(_0x16a71f){const _0x851a2a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ad304='',_0xab4614='';for(let _0x49146d=0x0,_0x44643c,_0x5d35cb,_0x260367=0x0;_0x5d35cb=_0x16a71f['charAt'](_0x260367++);~_0x5d35cb&&(_0x44643c=_0x49146d%0x4?_0x44643c*0x40+_0x5d35cb:_0x5d35cb,_0x49146d++%0x4)?_0x3ad304+=String['fromCharCode'](0xff&_0x44643c>>(-0x2*_0x49146d&0x6)):0x0){_0x5d35cb=_0x851a2a['indexOf'](_0x5d35cb);}for(let _0x170e0b=0x0,_0x59a336=_0x3ad304['length'];_0x170e0b<_0x59a336;_0x170e0b++){_0xab4614+='%'+('00'+_0x3ad304['charCodeAt'](_0x170e0b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xab4614);};a0_0x11f3['MEMInX']=_0x22ddbe,a0_0x11f3['SJOWmb']={},a0_0x11f3['aqVxtZ']=!![];}const _0x6f4f00=_0x1a2a98[0x0],_0x2ae9a8=_0x5271c4+_0x6f4f00,_0x2af434=a0_0x11f3['SJOWmb'][_0x2ae9a8];return!_0x2af434?(_0x11f394=a0_0x11f3['MEMInX'](_0x11f394),a0_0x11f3['SJOWmb'][_0x2ae9a8]=_0x11f394):_0x11f394=_0x2af434,_0x11f394;}export const getCurrentTimeEntryTool={'name':a0_0x2eb95f(0x1f8)+a0_0x2eb95f(0x1e3)+a0_0x2eb95f(0x3f8)+a0_0x2eb95f(0x353)+'ry','description':'Get\x20t'+a0_0x2eb95f(0x1e1)+'rrent'+a0_0x2eb95f(0x2e5)+a0_0x2eb95f(0x396)+'\x20time'+a0_0x2eb95f(0x374)+'y\x20(ti'+a0_0x2eb95f(0x3d8)+a0_0x2eb95f(0x315)+a0_0x2eb95f(0x2e7),'annotations':{'title':a0_0x2eb95f(0x379)+'urren'+a0_0x2eb95f(0x2c9)+a0_0x2eb95f(0x258)+'ry','openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{}}};function a0_0x1a2a(){const _0x55299d=['BgLZDe4','B2jQzwm','z2v0vgK','surZigy','B29RDxa','zwXLDgu','BMvLtMe','CMvWBge','vgvuC2K','CIbLCxu','BwuGCMu','zsbJDxm','DgfNCYW','zc91Cgq','DhjPzxm','BhrLCIa','C3rVCf8','rMTADKi','AxmGCMu','B25Zzq','BhKGCNu','AxqGyMu','BNKU','B3iGBMe','rw50CNK','sgfYzca','C3bHy2u','ndvSserAtwG','BgLZDa','mtmWmtuXn0LIse5IBq','z2v0q3u','BNqGDg8','qsb0Aw0','yxnZAwC','CLjLC3a','zxrLx2u','tMv3igq','vw5PzMK','B3nZihC','ywDZlG','DgvYCYa','zw5Krge','qwrKifq','tgLZDca','BwfW','BMvLigK','BwvZ','z2v0x2G','zsb0ywC','BNrYAwu','zgvSzxq','BhrPCgW','zM9Szgu','DgfNige','igfPzc4','BMfTzq','Dg9mB3C','z2v0ihq','DxjYzwq','igfSCMu','zw1VDMu','uMvXDwK','Aw5Nige','Dg8GzgK','zsaRigq','z2v0x3q','C2TFAwq','Dg9YEq','igLMige','Dgf0Dxm','ifjLCxu','CNqVC3q','CIbTyw4','Aw9UCY4','DKHkvxy','ChPMwwC','Aw9UywW','Dhj5ihq','sg5rD3y','CNjLBNq','B3aVywq','zuvUDhi','CNjHEsa','ywrKvgK','yxbWBgK','ody0mtHOwhzVwgu','rgf0zq','C3vJy2u','ywWGzM8','x2vUDhi','B24Gywm','DhvZ','BNqGDge','yKLPAeW','qvz1Eha','vwLmyM4','suqGkge','Df9IDwW','tgfmy2u','DgfZAW','ieLeigy','vgfNCW','vgLTzsa','sw52ywW','tMv3ihm','qMLSBge','Aw1Ligy','D2fYBG','zsbHihq','igvYCM8','CIbVCIa','yxnRlG','zcb0BYa','wvfowhu','DwfNzsK','Dhj5lIa','B3zLlIa','zvr1sfK','BNrYEsW','Aw1L','qxnZAwC','CNKGvge','zxf1Axy','BIaNmwG','DgHLigm','jZfOidm','ig9Yigq','A2LUzW','BMCU','C3rVCca','zv9LBNq','yNKGDge','zxCGDgK','B24U','zcbHy3i','ig9Mige','i0zgrKy','x2LK','yMXL','AwqGC3q','ig5HBwu','yxj0ihq','CNmU','zgf0zv8','zYb0Aw0','B24Uie8','D29YA3m','CIbNzxq','AeP4D3C','CMLUzW','igzPBhq','DgLTzxi','yw1L','z3mU','Aw1Lx2u','BIbtDge','zxjFAwq','ihrPBwu','BNvTyMu','zxiU','BMvLig4','B25LlG','AwX0zxi','igvUDhi','BNrYEv8','zMLSDgu','ywCGzNi','u3bHy2u','r2v0iem','zvrPBwu','suqGzMK','B20Gysa','CcWGywq','BgTuyxm','lcbZDg8','zwfZzsa','B3jTyxq','vhHRzK0','tM8GDgK','BgfNlG','q3vYCMu','Dg9Tihq','ywDPBMC','lIbszxe','zv90Aw0','DgfZA04','vgfZAYa','C3rYAw4','tg9Jyxq','ywXS','nJDetffXvuO','rhvYyxq','C3vIC3q','B3vZiha','svn6qMW','vgfNig4','zw50CMK','BM5PBMC','DgLVBI4','B3iGsuq','DwXRihq','zw50lca','r2v0ige','sw5tDge','ChrPB24','r2v0igi','DwuSihq','Aw5FC3q','Aw9U','BNrYEsa','rM9Szgu','ywrKihq','zxrFzw4','CIb1Cgq','B3jTlG','zv9PBL8','CM5HDgK','CMLWDgK','u3rHCNq','zgLUzYa','s2z6BNO','y3jVC3m','zM9YBwe','DwXRx3q','AgLZDg8','B3vUzc4','Dg8Gyxa','rMfPBgu','CNKSihu','igXHBMC','igeGDge','Dg8Gysa','zv90ywC','Aw5NihC','zcbPBIa','AwrZ','DgLTzsa','yxqUifi','Aw5N','CIbjrca','ig1HBNu','wfv5tgG','zMXVB3i','yw1Lig8','sMfgEgO','CIWGC3a','A3mUifi','surZlIa','BM93','mtyXmJa5nM9PyLzLwG','BgLZDeK','BgWGDgK','Aw1Lx2K','DxbKyxq','CgfJzq','DhjPBq','rhmU','y2Tvy2q','yxrPDMu','vgfNihi','BNrYEq','igDLDf8','BIbZDge','BwvYksW','lcbKzwW','B3iGzMK','tMv3igu','vgLTzvq','rcbMAwW','zwqGC3u','zw5Kx3q','CNLFDge','zgvZy3i','C2vYieK','idmWBsC','DwLYzwq','CYWGDxa','igfKzf8','BL9ZDge','zgf0yq','A25VD24','yw5Hz2u','CKLK','CMf0Aw8','yMLSBge','ifrPBwu','DgfNCW','zYbUyw0','ywWGDgK','DgfNx2i','ywrKx3q','CNmGzM8','yw5Kihu','z2v0igm','BMqGBMe','Df90Aw0','zxDFBMe','DgfZA18','yxjYyxK','DgfNx2y','zf90ywC','CIbZDge','AguGAgK','yxrLl2q','BhKGzMK','yxnRieK','zw50CNK','DxnLCG','z2v0x2i','zvjLC3a','zsbuAw0','CMvUDgW','yM9VBgu','AguGy3u','Dw5UAw4','DxjYzw4','qw4GDw4','yw5Nzs4','qwXPyxm','BIb0Agu','C3rVCfq','CMvKigy','DwLYzxm','ChvZAa','Bg9Jyxq','A19Pzhm','kgfSDgu','qKHzrKu','x2LKihi','BgvUz3q','BwfPBca','zuvYCM8','CMTZCge','Bwf4','BxnXrwm','ywn0Aw8','z2v0x2m','igzVCIa','yNvSA18','yw1LDgu','yMXLigy','tuXjwKe','BwuGzw4','BIbMB3i','Axn0B3i','BMv3x24','Eu1rr0q','sgLZDg8','BMfTzsa','AxrOici','zhmGyxi','C3rVCNK','ywDZ','AxnbCNi','BMLUzY4','ywDZigK','DhvZigy','DhnfC3u','ievUDhi','u1Lyz04','ywr5ihi','ihrHzYa','BhrLCI4','x2LUx3m','C2SVDge','tMfTzsa','yxnRigW','ihn0yxi','x3rPBwu','Dw5RBM8','zw5K','mZbTjYa','ywnLlca','mg0Nks4','x2LKlG','B3iGz2u','CIbVy2m','C3rHDhu','igzVCM0','AxzHBgu','B3iGDxa','B24GAw4','yw1LlG','CMfJA2K','BwvfBNq','mJG5mJK2mgjUuNPUDG','Dcb0Aw0','A0nnrui','CYbHCNi','ihrHz3m','s1PJyNm','zxmGDge','DgvFDge','iZaWmda','ihrHC2S','yxrLihi','igfUzca','qwrKige','C1rVB2W','zxjYB3i','zs4GuMu','B3jRC3a','sgTLBhi','DgHLBG','zMnfDKq','DhvYywW','zsb0CMe','Bv90yxm','AxjLCYa','lI4UiIa','x2j1BgS','yMuGCMu','z3vHDgu','BMvLCYW','Aw1Ligu','r2v0ifq','rw5Kihq','CgrHDgu','Aw9UigK','DgfYDca','BNrYEs4','zMLLCIa','zM9Yzsa','rw5Kigq','DMuPlG','DgvZDa','B2WGzM8','DgfZA0K','yxrLigy','zxjHDgK','BMvLCW','A1rPBwu','zsbfBNq','CIbjrc4','DxnLCM4','yxnRig4','CK5HBwu','yNLFBwK','CMvKlG','BwvYihi','ywrKx2u','zxf1Axi','zejKuhq','zNvSBhK','CNLYqNa','A2v5CW','rMLSDgu','BM90igy','DgLTzvq','AwrZige','x2LKige','r2v0ihq','CNLuywC','tMfTzq','C3rHCNq','ywrKigu','Aw1LigK','Es4GuMu','yxr1CW','zsb0yxm','Axb0Aw8','AwvZlG','EsbHy3q','tNPyrem','ota3mMXLu3HkAa','C2SSigW','DxjHDgK','Aw9Uigy','vgLTzuu','icCXAca','BgLZDcW','BhrLCM4','BwfUywC','CL9Pzca','ihzHCMK','ywCGBMe','yxrLx3q','BwuGDhi','yw5Kig4','DgvYCY4','wxfLtLG','ndG3neflDNfHEG','CMLLCW','AwqGzhu','zcb1Cgq','ig9Yihq','ywnL','vgHLihq','u3rVCca','B3iGywq','BwuU','C2fTyMK','CxvPCMu','icH1BMK','ihrOzsa','C2vKigy','zhvYyxq','yxjHBwu','zcWGDxa','DgX5ihi','zgf0zsW','C2Tjzc8','ihbLCMy','AwvZicG','DguSigC','CIb0Agu','Axn0lca','CYbJDxi','zM9YigC','Dg90ywW','y01jrLC','zcbMCM8','zwqU','tMv3ihq','CYbHy3q','zsbLBNq','BwvYigK','yxnRx2K','ieLelIa','yw1LlIa','zf9LBNq','zxqVywq','BYbHig4','y3jLyxq','CgX5ihq','swyGDhi','B3iGBxu','BwvZC2e','yLzcB3q','ihDVCMS','zxnJCMK','CNLiAxm','lIbvC2u','zcbMB3i','uenbz3m','Aw1Lieu','AwvZoIa','BMvLihu','ign1CNi','vw5ZDxa','zMXTCMK','vgfNCYa','DMTjwvu','zxjdyxm','ndK1odCYrw9RBMvs','DcbuAw0','rgvSzxq','yxnRicS','vgfNCY4','lIbpChq','uMPJvLy','Bsb0Aw0','sgLVse8'];a0_0x1a2a=function(){return _0x55299d;};return a0_0x1a2a();}export const startTimeEntryTool={'name':a0_0x2eb95f(0x26e)+'_time'+a0_0x2eb95f(0x32a)+'y','description':'Start'+'\x20a\x20ti'+a0_0x2eb95f(0x285)+'ackin'+a0_0x2eb95f(0x361)+'er\x20on'+a0_0x2eb95f(0x3b7)+'sk.\x20R'+a0_0x2eb95f(0x261)+a0_0x2eb95f(0x22f)+a0_0x2eb95f(0x214)+a0_0x2eb95f(0x29d)+a0_0x2eb95f(0x38a)+a0_0x2eb95f(0x226),'annotations':{'title':a0_0x2eb95f(0x3ab)+a0_0x2eb95f(0x3ee)+a0_0x2eb95f(0x20e)+'y','openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{'task':{'type':'strin'+'g','description':a0_0x2eb95f(0x38b)+'name\x20'+a0_0x2eb95f(0x398)+'.\x20Req'+a0_0x2eb95f(0x3e4)+'.'},'taskId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38b)+a0_0x2eb95f(0x331)+'ltern'+a0_0x2eb95f(0x3d3)+').'},'taskName':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38b)+a0_0x2eb95f(0x204)+'(alte'+a0_0x2eb95f(0x3a9)+a0_0x2eb95f(0x250)},'listName':{'type':a0_0x2eb95f(0x38c)+'g','description':'List\x20'+'name\x20'+a0_0x2eb95f(0x310)+a0_0x2eb95f(0x293)+a0_0x2eb95f(0x244)+a0_0x2eb95f(0x232)+'.'},'description':{'type':a0_0x2eb95f(0x38c)+'g','description':'Time\x20'+a0_0x2eb95f(0x1da)+'\x20desc'+a0_0x2eb95f(0x3aa)+'on.'},'billable':{'type':'boole'+'an','description':'Billa'+'ble\x20f'+a0_0x2eb95f(0x384)},'tags':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':a0_0x2eb95f(0x2c5)+a0_0x2eb95f(0x3b3)+'ply.'}}}};export const stopTimeEntryTool={'name':'stop_'+'time_'+a0_0x2eb95f(0x1da),'description':a0_0x2eb95f(0x290)+a0_0x2eb95f(0x34d)+a0_0x2eb95f(0x1e3)+a0_0x2eb95f(0x29b)+a0_0x2eb95f(0x1e2)+a0_0x2eb95f(0x361)+a0_0x2eb95f(0x23e)+'cking'+'\x20time'+'r.','annotations':{'title':'Stop\x20'+a0_0x2eb95f(0x337)+'Entry','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'description':{'type':'strin'+'g','description':a0_0x2eb95f(0x337)+a0_0x2eb95f(0x1da)+'\x20desc'+a0_0x2eb95f(0x3aa)+a0_0x2eb95f(0x356)},'tags':{'type':'array','items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':a0_0x2eb95f(0x2c5)+a0_0x2eb95f(0x3b3)+'ply.'}}}};export const addTimeEntryTool={'name':'add_t'+a0_0x2eb95f(0x36b)+'ntry','description':'Add\x20a'+a0_0x2eb95f(0x3c1)+a0_0x2eb95f(0x3f1)+a0_0x2eb95f(0x1fe)+a0_0x2eb95f(0x344)+a0_0x2eb95f(0x30e)+'res\x20t'+a0_0x2eb95f(0x2cb)+a0_0x2eb95f(0x217)+a0_0x2eb95f(0x3f8)+a0_0x2eb95f(0x311)+a0_0x2eb95f(0x27a)+'on.','annotations':{'title':a0_0x2eb95f(0x2fb)+a0_0x2eb95f(0x2bf)+a0_0x2eb95f(0x3d5),'openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{'task':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38b)+'name\x20'+a0_0x2eb95f(0x398)+a0_0x2eb95f(0x388)+a0_0x2eb95f(0x3e4)+'.'},'taskId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38b)+a0_0x2eb95f(0x331)+a0_0x2eb95f(0x27f)+a0_0x2eb95f(0x3d3)+').'},'taskName':{'type':'strin'+'g','description':'Task\x20'+'name\x20'+a0_0x2eb95f(0x1ee)+a0_0x2eb95f(0x3a9)+a0_0x2eb95f(0x250)},'listName':{'type':a0_0x2eb95f(0x38c)+'g','description':'List\x20'+a0_0x2eb95f(0x204)+'to\x20di'+a0_0x2eb95f(0x293)+a0_0x2eb95f(0x244)+a0_0x2eb95f(0x232)+'.'},'start_time':{'type':'strin'+'g','description':'Start'+a0_0x2eb95f(0x36e)+a0_0x2eb95f(0x295)+'x\x20ms\x20'+a0_0x2eb95f(0x2e8)+a0_0x2eb95f(0x23d)+a0_0x2eb95f(0x3b6)+a0_0x2eb95f(0x343)+a0_0x2eb95f(0x388)+'uired'+'.'},'duration':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x390)+a0_0x2eb95f(0x24a)+a0_0x2eb95f(0x34c)+a0_0x2eb95f(0x3e3)+a0_0x2eb95f(0x222)+a0_0x2eb95f(0x3be)+a0_0x2eb95f(0x261)+a0_0x2eb95f(0x2a8)},'description':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x337)+a0_0x2eb95f(0x1da)+'\x20desc'+a0_0x2eb95f(0x3aa)+a0_0x2eb95f(0x356)},'billable':{'type':'boole'+'an','description':a0_0x2eb95f(0x33a)+a0_0x2eb95f(0x1fc)+a0_0x2eb95f(0x384)},'tags':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':'Tags\x20'+a0_0x2eb95f(0x3b3)+'ply.'}}}};export const updateTimeEntryTool={'name':a0_0x2eb95f(0x3ce)+a0_0x2eb95f(0x389)+a0_0x2eb95f(0x353)+'ry','description':'Updat'+a0_0x2eb95f(0x33d)+'ime\x20e'+a0_0x2eb95f(0x24c)+a0_0x2eb95f(0x317)+a0_0x2eb95f(0x240)+'timer'+a0_0x2eb95f(0x21e),'annotations':{'title':'Updat'+a0_0x2eb95f(0x1de)+a0_0x2eb95f(0x258)+'ry','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'timer_id':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x337)+a0_0x2eb95f(0x1da)+a0_0x2eb95f(0x2ae)+a0_0x2eb95f(0x30e)+a0_0x2eb95f(0x25e)},'task':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x2a9)+'ask\x20n'+a0_0x2eb95f(0x3c4)+a0_0x2eb95f(0x259)},'taskId':{'type':'strin'+'g','description':a0_0x2eb95f(0x2a9)+a0_0x2eb95f(0x1d9)+'D.'},'taskName':{'type':a0_0x2eb95f(0x38c)+'g','description':'New\x20t'+a0_0x2eb95f(0x25b)+a0_0x2eb95f(0x226)},'start_time':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x339)+a0_0x2eb95f(0x24b)+'time.'},'end_time':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x3db)+'nd\x20ti'+a0_0x2eb95f(0x292)},'duration':{'type':'strin'+'g','description':'New\x20d'+a0_0x2eb95f(0x27a)+a0_0x2eb95f(0x225)+a0_0x2eb95f(0x27d)+a0_0x2eb95f(0x21b)+a0_0x2eb95f(0x3af)+'t.'},'description':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x2f5)+a0_0x2eb95f(0x2ba)+'ption'+'.'},'billable':{'type':a0_0x2eb95f(0x1e0)+'an','description':a0_0x2eb95f(0x33a)+'ble\x20f'+'lag.'},'tags':{'type':a0_0x2eb95f(0x3fb),'items':{'type':'strin'+'g'},'description':a0_0x2eb95f(0x2cc)}},'required':[a0_0x2eb95f(0x368)+'_id']}};export const deleteTimeEntryTool={'name':'delet'+'e_tim'+a0_0x2eb95f(0x353)+'ry','description':'Delet'+a0_0x2eb95f(0x33d)+a0_0x2eb95f(0x246)+'ntry.'+a0_0x2eb95f(0x317)+a0_0x2eb95f(0x240)+a0_0x2eb95f(0x368)+a0_0x2eb95f(0x21e),'annotations':{'title':a0_0x2eb95f(0x2ca)+a0_0x2eb95f(0x1de)+'e\x20Ent'+'ry','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'timer_id':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x337)+a0_0x2eb95f(0x1da)+'\x20ID.\x20'+'Requi'+a0_0x2eb95f(0x25e)}},'required':[a0_0x2eb95f(0x368)+a0_0x2eb95f(0x35a)]}};export const getTimeEntryTagsTool={'name':a0_0x2eb95f(0x312)+'ime_e'+a0_0x2eb95f(0x375)+a0_0x2eb95f(0x3ef),'description':a0_0x2eb95f(0x39b)+a0_0x2eb95f(0x3cc)+'me\x20en'+a0_0x2eb95f(0x31e)+a0_0x2eb95f(0x20b)+a0_0x2eb95f(0x1e7)+a0_0x2eb95f(0x2b9)+a0_0x2eb95f(0x2eb)+'.','annotations':{'title':a0_0x2eb95f(0x247)+'ime\x20E'+a0_0x2eb95f(0x3a2)+a0_0x2eb95f(0x336),'openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{}}};export const addTimeEntryTagsTool={'name':'add_t'+'ime_e'+a0_0x2eb95f(0x375)+a0_0x2eb95f(0x3ef),'description':a0_0x2eb95f(0x235)+a0_0x2eb95f(0x211)+a0_0x2eb95f(0x3b8)+a0_0x2eb95f(0x3bd)+a0_0x2eb95f(0x1da)+a0_0x2eb95f(0x388)+a0_0x2eb95f(0x1ea)+a0_0x2eb95f(0x36e)+a0_0x2eb95f(0x281)+a0_0x2eb95f(0x286)+a0_0x2eb95f(0x226),'annotations':{'title':'Add\x20T'+a0_0x2eb95f(0x2bf)+'ntry\x20'+a0_0x2eb95f(0x336),'openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{'timer_id':{'type':a0_0x2eb95f(0x38c)+'g','description':'Time\x20'+a0_0x2eb95f(0x1da)+a0_0x2eb95f(0x2ae)+a0_0x2eb95f(0x30e)+a0_0x2eb95f(0x25e)},'name':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x394)+a0_0x2eb95f(0x2af)+'Requi'+'red.'}},'required':['timer'+a0_0x2eb95f(0x35a),a0_0x2eb95f(0x308)]}};export const updateTimeEntryTagsTool={'name':a0_0x2eb95f(0x3ce)+a0_0x2eb95f(0x389)+a0_0x2eb95f(0x353)+a0_0x2eb95f(0x3e0)+'gs','description':'Renam'+a0_0x2eb95f(0x33d)+a0_0x2eb95f(0x246)+a0_0x2eb95f(0x3a2)+a0_0x2eb95f(0x306)+a0_0x2eb95f(0x3ae)+a0_0x2eb95f(0x296)+a0_0x2eb95f(0x363)+'pace.'+a0_0x2eb95f(0x317)+a0_0x2eb95f(0x240)+a0_0x2eb95f(0x204)+'and\x20n'+a0_0x2eb95f(0x3f9)+a0_0x2eb95f(0x292),'annotations':{'title':'Updat'+a0_0x2eb95f(0x1de)+a0_0x2eb95f(0x258)+a0_0x2eb95f(0x34a)+'gs','openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{'name':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x385)+a0_0x2eb95f(0x32d)+a0_0x2eb95f(0x3f0)+a0_0x2eb95f(0x238)+a0_0x2eb95f(0x294)+'d.'},'new_name':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x2a9)+'ag\x20na'+'me.\x20R'+a0_0x2eb95f(0x261)+a0_0x2eb95f(0x2a8)}},'required':[a0_0x2eb95f(0x308),a0_0x2eb95f(0x201)+a0_0x2eb95f(0x369)]}};export const deleteTimeEntryTagsTool={'name':a0_0x2eb95f(0x303)+a0_0x2eb95f(0x389)+a0_0x2eb95f(0x353)+a0_0x2eb95f(0x3e0)+'gs','description':'Remov'+a0_0x2eb95f(0x33d)+a0_0x2eb95f(0x377)+a0_0x2eb95f(0x37c)+a0_0x2eb95f(0x3bd)+a0_0x2eb95f(0x1da)+a0_0x2eb95f(0x388)+a0_0x2eb95f(0x1ea)+a0_0x2eb95f(0x36e)+'r_id\x20'+a0_0x2eb95f(0x286)+a0_0x2eb95f(0x226),'annotations':{'title':a0_0x2eb95f(0x2ca)+a0_0x2eb95f(0x1de)+a0_0x2eb95f(0x258)+a0_0x2eb95f(0x34a)+'gs','openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{'timer_id':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x337)+a0_0x2eb95f(0x1da)+a0_0x2eb95f(0x2ae)+a0_0x2eb95f(0x30e)+'red.'},'name':{'type':'strin'+'g','description':a0_0x2eb95f(0x394)+'ame\x20t'+'o\x20rem'+a0_0x2eb95f(0x345)+'Requi'+'red.'}},'required':['timer'+a0_0x2eb95f(0x35a),a0_0x2eb95f(0x308)]}};export const getTimeEntryHistoryTool={'name':a0_0x2eb95f(0x312)+a0_0x2eb95f(0x36b)+a0_0x2eb95f(0x375)+a0_0x2eb95f(0x3b1)+'ry','description':a0_0x2eb95f(0x26b)+a0_0x2eb95f(0x1d6)+a0_0x2eb95f(0x207)+a0_0x2eb95f(0x358)+a0_0x2eb95f(0x36e)+'\x20entr'+a0_0x2eb95f(0x271)+a0_0x2eb95f(0x294)+'s\x20tim'+a0_0x2eb95f(0x36d)+'.','annotations':{'title':'Get\x20T'+a0_0x2eb95f(0x2bf)+a0_0x2eb95f(0x3a2)+a0_0x2eb95f(0x203)+'ry','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'timer_id':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x337)+a0_0x2eb95f(0x1da)+'\x20ID.\x20'+a0_0x2eb95f(0x30e)+'red.'}},'required':[a0_0x2eb95f(0x368)+a0_0x2eb95f(0x35a)]}};export const getTimeInStatusTool={'name':a0_0x2eb95f(0x312)+a0_0x2eb95f(0x3cd)+a0_0x2eb95f(0x3e7)+a0_0x2eb95f(0x32c),'description':a0_0x2eb95f(0x39e)+a0_0x2eb95f(0x399)+a0_0x2eb95f(0x270)+a0_0x2eb95f(0x3d7)+a0_0x2eb95f(0x20c)+a0_0x2eb95f(0x2b6)+a0_0x2eb95f(0x304)+a0_0x2eb95f(0x273)+a0_0x2eb95f(0x3c7)+a0_0x2eb95f(0x261)+a0_0x2eb95f(0x22f)+a0_0x2eb95f(0x313)+a0_0x2eb95f(0x22c)+'ay.','annotations':{'title':a0_0x2eb95f(0x247)+a0_0x2eb95f(0x270)+a0_0x2eb95f(0x36c)+a0_0x2eb95f(0x32c),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'task_ids':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':'Task\x20'+a0_0x2eb95f(0x3c8)+a0_0x2eb95f(0x30e)+a0_0x2eb95f(0x25e)},'custom_task_ids':{'type':'boole'+'an','description':'If\x20tr'+a0_0x2eb95f(0x39f)+a0_0x2eb95f(0x2ad)+a0_0x2eb95f(0x206)+a0_0x2eb95f(0x2dc)+a0_0x2eb95f(0x386)+a0_0x2eb95f(0x1d9)+a0_0x2eb95f(0x3d1)}},'required':[a0_0x2eb95f(0x3fa)+a0_0x2eb95f(0x3bc)]}};export const manageTimeEntriesTool={'name':a0_0x2eb95f(0x280)+a0_0x2eb95f(0x389)+a0_0x2eb95f(0x353)+'ries','description':a0_0x2eb95f(0x2f6)+'ed\x20to'+a0_0x2eb95f(0x252)+a0_0x2eb95f(0x319)+a0_0x2eb95f(0x387)+a0_0x2eb95f(0x36e)+a0_0x2eb95f(0x374)+a0_0x2eb95f(0x2c0)+a0_0x2eb95f(0x27e)+a0_0x2eb95f(0x2c2)+a0_0x2eb95f(0x39a)+a0_0x2eb95f(0x26e)+a0_0x2eb95f(0x37f)+a0_0x2eb95f(0x37d)+a0_0x2eb95f(0x29a)+a0_0x2eb95f(0x29c)+'\x20dele'+a0_0x2eb95f(0x2a0)+a0_0x2eb95f(0x2b1)+'d/upd'+a0_0x2eb95f(0x1d7)+a0_0x2eb95f(0x2d6)+a0_0x2eb95f(0x22d)+',\x20get'+a0_0x2eb95f(0x242)+a0_0x2eb95f(0x218)+a0_0x2eb95f(0x213)+a0_0x2eb95f(0x316)+a0_0x2eb95f(0x388)+a0_0x2eb95f(0x1ea)+a0_0x2eb95f(0x282)+a0_0x2eb95f(0x392)+a0_0x2eb95f(0x299)+a0_0x2eb95f(0x2f9)+'depen'+a0_0x2eb95f(0x3ac)+a0_0x2eb95f(0x32b)+a0_0x2eb95f(0x397),'annotations':{'title':'Manag'+a0_0x2eb95f(0x1de)+a0_0x2eb95f(0x258)+a0_0x2eb95f(0x28a),'destructiveHint':!![],'openWorldHint':!![]},'inputSchema':{'type':a0_0x2eb95f(0x2d2)+'t','properties':{'action':{'type':a0_0x2eb95f(0x38c)+'g','enum':['get_e'+a0_0x2eb95f(0x302)+'s',a0_0x2eb95f(0x1f8)+a0_0x2eb95f(0x1e3)+'t','start'+a0_0x2eb95f(0x218)+'r',a0_0x2eb95f(0x2e1)+a0_0x2eb95f(0x368),a0_0x2eb95f(0x260)+a0_0x2eb95f(0x3d5),a0_0x2eb95f(0x3ce)+'e_ent'+'ry',a0_0x2eb95f(0x303)+a0_0x2eb95f(0x353)+'ry',a0_0x2eb95f(0x312)+'ags',a0_0x2eb95f(0x3f3)+'ags',a0_0x2eb95f(0x3ce)+a0_0x2eb95f(0x3b9)+'s',a0_0x2eb95f(0x303)+'e_tag'+'s',a0_0x2eb95f(0x300)+a0_0x2eb95f(0x200)+'y',a0_0x2eb95f(0x1dc)+a0_0x2eb95f(0x3b0)+'ime_i'+a0_0x2eb95f(0x3e7)+'tus'],'description':a0_0x2eb95f(0x28f)+'ime\x20t'+'racki'+'ng\x20op'+a0_0x2eb95f(0x255)+'on\x20to'+a0_0x2eb95f(0x29e)+a0_0x2eb95f(0x3a7)},'timer_id':{'type':'strin'+'g','description':a0_0x2eb95f(0x30e)+a0_0x2eb95f(0x1e9)+a0_0x2eb95f(0x224)+a0_0x2eb95f(0x360)+'entry'+a0_0x2eb95f(0x3d9)+a0_0x2eb95f(0x2f4)+a0_0x2eb95f(0x347)+a0_0x2eb95f(0x3e6)+a0_0x2eb95f(0x2dd)+a0_0x2eb95f(0x234)+'delet'+a0_0x2eb95f(0x3b9)+a0_0x2eb95f(0x2aa)+a0_0x2eb95f(0x31a)},'task':{'type':'strin'+'g','description':'Task\x20'+'Name\x20'+a0_0x2eb95f(0x398)+a0_0x2eb95f(0x388)+a0_0x2eb95f(0x3e4)+a0_0x2eb95f(0x1f9)+a0_0x2eb95f(0x26e)+a0_0x2eb95f(0x218)+'r,\x20ad'+'d_ent'+a0_0x2eb95f(0x3b5)+'pdate'+a0_0x2eb95f(0x32a)+a0_0x2eb95f(0x276)+a0_0x2eb95f(0x31a)},'taskId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x266)+'r\x20par'+a0_0x2eb95f(0x1fb)+a0_0x2eb95f(0x2da)+a0_0x2eb95f(0x223)+a0_0x2eb95f(0x2f0)+a0_0x2eb95f(0x232)+'.'},'taskName':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38b)+a0_0x2eb95f(0x215)+a0_0x2eb95f(0x34b)+'alent'+'\x20to\x20t'+a0_0x2eb95f(0x340)},'start_time':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x3ab)+a0_0x2eb95f(0x36e)+'\x20(uni'+'x\x20ms\x20'+a0_0x2eb95f(0x2e8)+a0_0x2eb95f(0x23d)+a0_0x2eb95f(0x3b6)+a0_0x2eb95f(0x343)+a0_0x2eb95f(0x2bc)+a0_0x2eb95f(0x3bb)+a0_0x2eb95f(0x260)+'ntry\x20'+a0_0x2eb95f(0x3f5)+'pdate'+a0_0x2eb95f(0x32a)+'y.'},'startDate':{'type':'strin'+'g','description':a0_0x2eb95f(0x266)+a0_0x2eb95f(0x33f)+'alias'+'\x20for\x20'+'start'+a0_0x2eb95f(0x218)+'.'},'end_time':{'type':a0_0x2eb95f(0x38c)+'g','description':'End\x20t'+a0_0x2eb95f(0x33b)+a0_0x2eb95f(0x224)+a0_0x2eb95f(0x360)+'entry'+'.'},'endDate':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x24f)+a0_0x2eb95f(0x254)+a0_0x2eb95f(0x3da)+'lteri'+a0_0x2eb95f(0x351)},'duration':{'type':'strin'+'g','description':a0_0x2eb95f(0x390)+a0_0x2eb95f(0x24a)+a0_0x2eb95f(0x34c)+a0_0x2eb95f(0x3e3)+'\x20form'+'at.\x20U'+a0_0x2eb95f(0x297)+a0_0x2eb95f(0x291)+a0_0x2eb95f(0x2b0)+'ry\x20an'+a0_0x2eb95f(0x28c)+'ate_e'+a0_0x2eb95f(0x24c)},'description':{'type':a0_0x2eb95f(0x38c)+'g','description':'Time\x20'+a0_0x2eb95f(0x1da)+'\x20desc'+'ripti'+a0_0x2eb95f(0x362)+a0_0x2eb95f(0x39d)+a0_0x2eb95f(0x329)+a0_0x2eb95f(0x1d5)+a0_0x2eb95f(0x318)+a0_0x2eb95f(0x321)+a0_0x2eb95f(0x2de)+'ate.'},'billable':{'type':a0_0x2eb95f(0x1e0)+'an','description':a0_0x2eb95f(0x33a)+a0_0x2eb95f(0x1fc)+a0_0x2eb95f(0x384)},'tags':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':a0_0x2eb95f(0x2c5)+'to\x20ap'+a0_0x2eb95f(0x2b4)+a0_0x2eb95f(0x2b2)+a0_0x2eb95f(0x355)+a0_0x2eb95f(0x1fe)+'try.'},'name':{'type':'strin'+'g','description':'Tag\x20n'+a0_0x2eb95f(0x2af)+'Requi'+a0_0x2eb95f(0x1e9)+a0_0x2eb95f(0x291)+a0_0x2eb95f(0x3fd)+a0_0x2eb95f(0x3e5)+a0_0x2eb95f(0x360)+'tags,'+'\x20dele'+a0_0x2eb95f(0x230)+a0_0x2eb95f(0x36a)},'new_name':{'type':'strin'+'g','description':'New\x20t'+a0_0x2eb95f(0x283)+'me\x20fo'+a0_0x2eb95f(0x3a6)+a0_0x2eb95f(0x284)+a0_0x2eb95f(0x2f8)},'listName':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38d)+'ion\x20f'+a0_0x2eb95f(0x373)+a0_0x2eb95f(0x28d)+a0_0x2eb95f(0x216)+a0_0x2eb95f(0x2d5)+a0_0x2eb95f(0x307)},'folderName':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38d)+a0_0x2eb95f(0x27b)+a0_0x2eb95f(0x373)+'.'},'spaceName':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x38d)+a0_0x2eb95f(0x27b)+a0_0x2eb95f(0x373)+'.'},'listId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x2ea)+a0_0x2eb95f(0x1ec)+a0_0x2eb95f(0x24a)+'d.'},'folderId':{'type':a0_0x2eb95f(0x38c)+'g','description':a0_0x2eb95f(0x2ea)+a0_0x2eb95f(0x1ec)+a0_0x2eb95f(0x24a)+'d.'},'spaceId':{'type':'strin'+'g','description':a0_0x2eb95f(0x2ea)+a0_0x2eb95f(0x1ec)+a0_0x2eb95f(0x24a)+'d.'},'assignees':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x36f)+'r'},'description':a0_0x2eb95f(0x349)+'nee\x20u'+a0_0x2eb95f(0x3e2)+'D\x20fil'+a0_0x2eb95f(0x2f9)+a0_0x2eb95f(0x2a4)+a0_0x2eb95f(0x3a5)+a0_0x2eb95f(0x2df)+'.'},'assigneeNames':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':a0_0x2eb95f(0x349)+a0_0x2eb95f(0x371)+'ame/e'+a0_0x2eb95f(0x1f2)+a0_0x2eb95f(0x376)+a0_0x2eb95f(0x3f4)+a0_0x2eb95f(0x364)+a0_0x2eb95f(0x32a)+a0_0x2eb95f(0x275)},'task_ids':{'type':a0_0x2eb95f(0x3fb),'items':{'type':a0_0x2eb95f(0x38c)+'g'},'description':a0_0x2eb95f(0x38b)+a0_0x2eb95f(0x2d4)+a0_0x2eb95f(0x21f)+a0_0x2eb95f(0x332)+'k_tim'+a0_0x2eb95f(0x3a8)+'statu'+'s.'},'custom_task_ids':{'type':a0_0x2eb95f(0x1e0)+'an','description':a0_0x2eb95f(0x2b5)+a0_0x2eb95f(0x39f)+a0_0x2eb95f(0x2ad)+a0_0x2eb95f(0x206)+a0_0x2eb95f(0x2dc)+a0_0x2eb95f(0x386)+a0_0x2eb95f(0x1d9)+a0_0x2eb95f(0x3d1)}},'required':[a0_0x2eb95f(0x1f7)+'n']}};export async function handleManageTimeEntries(_0x2ab0fb,_0x375ea9){const _0x2f6fc2=a0_0x2eb95f,_0x5c22c1={'vkIYU':'get_e'+_0x2f6fc2(0x302)+'s','Kfznz':function(_0x423067,_0x14b737,_0x5c69c7){return _0x423067(_0x14b737,_0x5c69c7);},'JaFxj':function(_0x5e6bd5,_0x31709a,_0x2f20a6){return _0x5e6bd5(_0x31709a,_0x2f20a6);},'UnCuq':_0x2f6fc2(0x26e)+_0x2f6fc2(0x218)+'r','cMIFW':'add_e'+_0x2f6fc2(0x3d5),'vHJUv':function(_0x566eca,_0x2411b7,_0x57860b){return _0x566eca(_0x2411b7,_0x57860b);},'AVuxp':_0x2f6fc2(0x303)+_0x2f6fc2(0x353)+'ry','xXqFW':_0x2f6fc2(0x312)+_0x2f6fc2(0x208),'fcEvD':function(_0x504849,_0x2979d1,_0x3f66d8){return _0x504849(_0x2979d1,_0x3f66d8);},'TeTsi':function(_0x48d539,_0x561d69,_0x2843c9){return _0x48d539(_0x561d69,_0x2843c9);},'msqEc':function(_0xadf73a,_0x58a3e2,_0x3e5ec7){return _0xadf73a(_0x58a3e2,_0x3e5ec7);},'pzfYg':_0x2f6fc2(0x1e4)+_0x2f6fc2(0x3e9)+_0x2f6fc2(0x33e)+_0x2f6fc2(0x220)+_0x2f6fc2(0x30b)},{action:_0x1e09e0}=_0x2ab0fb;try{switch(_0x1e09e0){case _0x5c22c1[_0x2f6fc2(0x2c6)]:return await _0x5c22c1[_0x2f6fc2(0x3ad)](handleGetEntries,_0x2ab0fb,_0x375ea9);case _0x2f6fc2(0x1f8)+_0x2f6fc2(0x1e3)+'t':return await _0x5c22c1[_0x2f6fc2(0x3c5)](handleGetCurrent,_0x2ab0fb,_0x375ea9);case _0x5c22c1['UnCuq']:return await handleStartTimer(_0x2ab0fb,_0x375ea9);case _0x2f6fc2(0x2e1)+'timer':return await _0x5c22c1['JaFxj'](handleStopTimer,_0x2ab0fb,_0x375ea9);case _0x5c22c1[_0x2f6fc2(0x2a6)]:return await _0x5c22c1[_0x2f6fc2(0x31b)](handleAddEntry,_0x2ab0fb,_0x375ea9);case _0x2f6fc2(0x3ce)+_0x2f6fc2(0x353)+'ry':return await handleUpdateEntry(_0x2ab0fb,_0x375ea9);case _0x5c22c1[_0x2f6fc2(0x32f)]:return await handleDeleteEntry(_0x2ab0fb,_0x375ea9);case _0x5c22c1['xXqFW']:return await _0x5c22c1[_0x2f6fc2(0x3ad)](handleGetTags,_0x2ab0fb,_0x375ea9);case _0x2f6fc2(0x3f3)+_0x2f6fc2(0x208):return await _0x5c22c1[_0x2f6fc2(0x23c)](handleAddTags,_0x2ab0fb,_0x375ea9);case'updat'+'e_tag'+'s':return await _0x5c22c1[_0x2f6fc2(0x2d9)](handleUpdateTags,_0x2ab0fb,_0x375ea9);case _0x2f6fc2(0x303)+_0x2f6fc2(0x3b9)+'s':return await _0x5c22c1[_0x2f6fc2(0x1f6)](handleDeleteTags,_0x2ab0fb,_0x375ea9);case _0x2f6fc2(0x300)+_0x2f6fc2(0x200)+'y':return await handleGetHistory(_0x2ab0fb,_0x375ea9);case _0x2f6fc2(0x1dc)+_0x2f6fc2(0x3b0)+_0x2f6fc2(0x3cd)+'n_sta'+'tus':return await handleGetBulkTimeInStatus(_0x2ab0fb,_0x375ea9);default:return sponsorService[_0x2f6fc2(0x2b3)+_0x2f6fc2(0x1f3)+_0x2f6fc2(0x2f3)+_0x2f6fc2(0x2e4)](_0x2f6fc2(0x2c3)+'porte'+'d\x20act'+'ion:\x20'+_0x1e09e0);}}catch(_0x3e53ed){return logger[_0x2f6fc2(0x237)]('Error'+'\x20in\x20m'+_0x2f6fc2(0x3ea)+_0x2f6fc2(0x218)+_0x2f6fc2(0x32a)+_0x2f6fc2(0x29f)+_0x1e09e0+')',_0x3e53ed),sponsorService[_0x2f6fc2(0x2b3)+_0x2f6fc2(0x1f3)+_0x2f6fc2(0x2f3)+'onse'](_0x3e53ed[_0x2f6fc2(0x2b7)+'ge']||_0x5c22c1[_0x2f6fc2(0x31c)]);}}async function handleGetEntries(_0x1b19e1,_0x14c3bc){const _0x304ee8=a0_0x2eb95f,_0x30fdcd={'tsEsu':function(_0x45e9a0,_0x2a7ca0){return _0x45e9a0&&_0x2a7ca0;},'LaLce':function(_0x3aeb51,_0x4072a7,_0x73701c,_0x4ad35c,_0x2045a8){return _0x3aeb51(_0x4072a7,_0x73701c,_0x4ad35c,_0x2045a8);},'rMJNs':_0x304ee8(0x2ed),'HioHO':function(_0x4e78d4,_0x3ed036,_0x4d21ca,_0x4e52c1,_0x14081f){return _0x4e78d4(_0x3ed036,_0x4d21ca,_0x4e52c1,_0x14081f);},'HnQwv':_0x304ee8(0x2eb),'HVDmI':function(_0x1894d6,_0x30cb70){return _0x1894d6(_0x30cb70);},'mUyBO':function(_0x5b95c7,_0x351a38){return _0x5b95c7(_0x351a38);},'AoQPn':function(_0x2efde9,_0x1217dd,_0x21ed7c){return _0x2efde9(_0x1217dd,_0x21ed7c);}},{timeTracking:_0x2039a5}=_0x14c3bc;let _0x2a480b,_0x5a15e3=_0x1b19e1['listI'+'d'],_0x593fe4=_0x1b19e1[_0x304ee8(0x305)+_0x304ee8(0x3eb)],_0x3e32c3=_0x1b19e1['space'+'Id'];(_0x1b19e1[_0x304ee8(0x334)]||_0x1b19e1[_0x304ee8(0x253)+'d']||_0x1b19e1['taskN'+_0x304ee8(0x369)])&&(_0x2a480b=await getTaskId(_0x1b19e1['task'],_0x1b19e1[_0x304ee8(0x253)+'d'],_0x1b19e1[_0x304ee8(0x38a)+_0x304ee8(0x369)],_0x1b19e1['listN'+_0x304ee8(0x369)],undefined,![],_0x14c3bc));const _0x560a36=[];_0x30fdcd[_0x304ee8(0x20d)](!_0x2a480b,!_0x5a15e3)&&_0x1b19e1['listN'+_0x304ee8(0x369)]&&_0x560a36[_0x304ee8(0x1eb)](_0x30fdcd[_0x304ee8(0x333)](resolveLocation,_0x30fdcd['rMJNs'],undefined,_0x1b19e1[_0x304ee8(0x2d1)+_0x304ee8(0x369)],_0x14c3bc[_0x304ee8(0x363)+_0x304ee8(0x3cf)])['then'](_0x3978fe=>{_0x5a15e3=_0x3978fe['id'];}));_0x30fdcd[_0x304ee8(0x20d)](!_0x2a480b,!_0x5a15e3)&&!_0x593fe4&&_0x1b19e1[_0x304ee8(0x305)+'rName']&&_0x560a36[_0x304ee8(0x1eb)](resolveLocation(_0x304ee8(0x305)+'r',undefined,_0x1b19e1[_0x304ee8(0x305)+_0x304ee8(0x25c)],_0x14c3bc['works'+'pace'])[_0x304ee8(0x23b)](_0x43e0f5=>{_0x593fe4=_0x43e0f5['id'];}));!_0x2a480b&&!_0x5a15e3&&!_0x593fe4&&!_0x3e32c3&&_0x1b19e1[_0x304ee8(0x2eb)+_0x304ee8(0x26d)]&&_0x560a36['push'](_0x30fdcd[_0x304ee8(0x2d0)](resolveLocation,_0x30fdcd[_0x304ee8(0x31f)],undefined,_0x1b19e1['space'+'Name'],_0x14c3bc[_0x304ee8(0x363)+_0x304ee8(0x3cf)])[_0x304ee8(0x23b)](_0x3d71c1=>{_0x3e32c3=_0x3d71c1['id'];}));if(_0x560a36[_0x304ee8(0x1f1)+'h']>0x0)try{await Promise[_0x304ee8(0x38e)](_0x560a36);}catch(_0x31d547){return sponsorService[_0x304ee8(0x2b3)+_0x304ee8(0x1f3)+_0x304ee8(0x2f3)+_0x304ee8(0x2e4)](_0x31d547[_0x304ee8(0x2b7)+'ge']);}const _0x29a7c0=_0x30fdcd['HVDmI'](parseDueDate,_0x1b19e1[_0x304ee8(0x26e)+_0x304ee8(0x218)]||_0x1b19e1[_0x304ee8(0x26e)+_0x304ee8(0x327)]),_0x34f0bf=_0x30fdcd['mUyBO'](parseDueDate,_0x1b19e1[_0x304ee8(0x3df)+_0x304ee8(0x348)]||_0x1b19e1['endDa'+'te']),_0x5e77c8=_0x1b19e1[_0x304ee8(0x2f2)+_0x304ee8(0x256)]?[..._0x1b19e1['assig'+_0x304ee8(0x256)]]:[];if(_0x1b19e1[_0x304ee8(0x2f2)+_0x304ee8(0x2d7)+_0x304ee8(0x2ff)]&&Array[_0x304ee8(0x209)+'ay'](_0x1b19e1['assig'+'neeNa'+'mes']))for(const _0x4a4b83 of _0x1b19e1[_0x304ee8(0x2f2)+_0x304ee8(0x2d7)+_0x304ee8(0x2ff)]){try{const _0x14bb98=await _0x30fdcd['AoQPn'](resolveMember,_0x4a4b83,_0x14c3bc[_0x304ee8(0x363)+_0x304ee8(0x3cf)]);_0x5e77c8['push'](_0x14bb98['id']);}catch(_0x57f455){logger[_0x304ee8(0x33c)](_0x304ee8(0x349)+_0x304ee8(0x2fe)+'denti'+_0x304ee8(0x24d)+_0x304ee8(0x26e)+_0x304ee8(0x3ba)+_0x304ee8(0x205)+_0x4a4b83[_0x304ee8(0x391)+_0x304ee8(0x366)](0x0,0x3)+(_0x304ee8(0x241)+'could'+'\x20not\x20'+_0x304ee8(0x243)+'solve'+'d'));}}const _0x9ef257={};if(_0x29a7c0)_0x9ef257[_0x304ee8(0x26e)+_0x304ee8(0x327)]=_0x29a7c0;if(_0x34f0bf)_0x9ef257[_0x304ee8(0x2fa)+'te']=_0x34f0bf;if(_0x5e77c8[_0x304ee8(0x1f1)+'h'])_0x9ef257[_0x304ee8(0x2f2)+_0x304ee8(0x256)]=_0x5e77c8;if(_0x2a480b)_0x9ef257[_0x304ee8(0x253)+'d']=_0x2a480b;else{if(_0x5a15e3)_0x9ef257[_0x304ee8(0x3cb)+'d']=_0x5a15e3;else{if(_0x593fe4)_0x9ef257[_0x304ee8(0x305)+_0x304ee8(0x3eb)]=_0x593fe4;else{if(_0x3e32c3)_0x9ef257[_0x304ee8(0x2eb)+'Id']=_0x3e32c3;}}}const _0x584257=await _0x2039a5['getWo'+_0x304ee8(0x1f4)+'ceTim'+_0x304ee8(0x322)+'ies'](_0x9ef257);if(!_0x584257[_0x304ee8(0x328)+'ss'])return sponsorService[_0x304ee8(0x2b3)+'eErro'+'rResp'+_0x304ee8(0x2e4)](_0x584257['error']?.[_0x304ee8(0x2b7)+'ge']||_0x304ee8(0x3b4)+'d\x20to\x20'+'get\x20e'+_0x304ee8(0x302)+'s');return sponsorService[_0x304ee8(0x2b3)+_0x304ee8(0x1dd)+'onse']({'success':!![],'time_entries':(_0x584257[_0x304ee8(0x3e8)]||[])['map'](formatEntry)},!![]);}async function handleGetCurrent(_0xf0225,_0x18449c){const _0x3571bd=a0_0x2eb95f,_0x4fb516={'bIihL':function(_0x5ae071,_0x6c9bc8){return _0x5ae071(_0x6c9bc8);}},_0x30704a=await _0x18449c[_0x3571bd(0x268)+_0x3571bd(0x227)+'ng'][_0x3571bd(0x2ef)+_0x3571bd(0x320)+_0x3571bd(0x27c)+'ntry']();if(!_0x30704a['succe'+'ss'])return sponsorService[_0x3571bd(0x2b3)+_0x3571bd(0x1f3)+_0x3571bd(0x2f3)+_0x3571bd(0x2e4)](_0x30704a[_0x3571bd(0x237)]?.['messa'+'ge']||_0x3571bd(0x3b4)+_0x3571bd(0x341)+_0x3571bd(0x3f6)+_0x3571bd(0x1e3)+_0x3571bd(0x22a)+'e\x20ent'+'ry');const _0x1fe376=_0x30704a['data'];if(!_0x1fe376)return sponsorService[_0x3571bd(0x2b3)+_0x3571bd(0x1dd)+_0x3571bd(0x2e4)]({'success':!![],'timer_running':![],'message':_0x3571bd(0x383)+_0x3571bd(0x2ac)+_0x3571bd(0x2a3)+_0x3571bd(0x1df)+'y\x20run'+_0x3571bd(0x20a)},!![]);const _0x1a354a=calculateElapsedTime(_0x1fe376[_0x3571bd(0x26e)]);return sponsorService[_0x3571bd(0x2b3)+_0x3571bd(0x1dd)+_0x3571bd(0x2e4)]({'success':!![],'timer_running':!![],'time_entry':{...formatEntry(_0x1fe376),'elapsed':_0x4fb516[_0x3571bd(0x32e)](formatDuration,_0x1a354a),'elapsed_ms':_0x1a354a}},!![]);}async function handleStartTimer(_0x2a3d7a,_0xdd09cf){const _0x1b27e5=a0_0x2eb95f,_0x36f8b8={'TxkfM':function(_0x3ce4d0,_0x52c6a6,_0x5aba0a,_0x9eba15,_0x2c1266,_0x49803d,_0x1f4e59,_0x2ac2bc){return _0x3ce4d0(_0x52c6a6,_0x5aba0a,_0x9eba15,_0x2c1266,_0x49803d,_0x1f4e59,_0x2ac2bc);},'SYXgN':_0x1b27e5(0x38b)+_0x1b27e5(0x267)+_0x1b27e5(0x3b2),'YqeNX':_0x1b27e5(0x2f1)+'er\x20is'+_0x1b27e5(0x30c)+_0x1b27e5(0x210)+_0x1b27e5(0x1e2)+'g.\x20Pl'+_0x1b27e5(0x380)+_0x1b27e5(0x352)+_0x1b27e5(0x2e6)+_0x1b27e5(0x24e)+'start'+_0x1b27e5(0x30f)+'\x20new\x20'+_0x1b27e5(0x372),'wQfFD':_0x1b27e5(0x3b4)+_0x1b27e5(0x341)+_0x1b27e5(0x26e)+'\x20trac'+_0x1b27e5(0x350),'AcqfF':function(_0x51a935,_0x28590b){return _0x51a935(_0x28590b);}},_0x5abaed=await _0x36f8b8[_0x1b27e5(0x382)](getTaskId,_0x2a3d7a[_0x1b27e5(0x334)],_0x2a3d7a[_0x1b27e5(0x253)+'d'],_0x2a3d7a[_0x1b27e5(0x38a)+_0x1b27e5(0x369)],_0x2a3d7a[_0x1b27e5(0x2d1)+'ame'],undefined,!![],_0xdd09cf);if(!_0x5abaed)return sponsorService['creat'+_0x1b27e5(0x1f3)+_0x1b27e5(0x2f3)+'onse'](_0x36f8b8[_0x1b27e5(0x20f)]);const _0x51c89b=await _0xdd09cf[_0x1b27e5(0x268)+_0x1b27e5(0x227)+'ng'][_0x1b27e5(0x2ef)+'rrent'+'TimeE'+_0x1b27e5(0x3d5)]();if(_0x51c89b[_0x1b27e5(0x328)+'ss']&&_0x51c89b[_0x1b27e5(0x3e8)])return sponsorService[_0x1b27e5(0x2b3)+'eErro'+_0x1b27e5(0x2f3)+_0x1b27e5(0x2e4)](_0x36f8b8[_0x1b27e5(0x288)],{'timer_id':_0x51c89b[_0x1b27e5(0x3e8)]['id']});const _0x2f1042=await _0xdd09cf[_0x1b27e5(0x268)+'racki'+'ng'][_0x1b27e5(0x26e)+_0x1b27e5(0x3dc)+_0x1b27e5(0x227)+'ng']({'tid':_0x5abaed,'description':_0x2a3d7a[_0x1b27e5(0x3e1)+_0x1b27e5(0x274)+'n'],'billable':_0x2a3d7a[_0x1b27e5(0x3ed)+_0x1b27e5(0x35b)],'tags':_0x2a3d7a['tags']});if(!_0x2f1042[_0x1b27e5(0x328)+'ss'])return sponsorService[_0x1b27e5(0x2b3)+'eErro'+_0x1b27e5(0x2f3)+'onse'](_0x2f1042[_0x1b27e5(0x237)]?.[_0x1b27e5(0x2b7)+'ge']||_0x36f8b8['wQfFD']);return sponsorService[_0x1b27e5(0x2b3)+_0x1b27e5(0x1dd)+_0x1b27e5(0x2e4)]({'success':!![],'time_entry':_0x36f8b8['AcqfF'](formatEntry,_0x2f1042['data'])},!![]);}async function handleStopTimer(_0x181799,_0x148fd6){const _0x16c83b=a0_0x2eb95f,_0x471d58={'flmri':_0x16c83b(0x383)+_0x16c83b(0x25f)+_0x16c83b(0x1e2)+'g.','yZxkt':function(_0xdccf8c,_0x3e2b94){return _0xdccf8c(_0x3e2b94);}},_0x307243=await _0x148fd6['timeT'+_0x16c83b(0x227)+'ng']['getCu'+_0x16c83b(0x320)+_0x16c83b(0x27c)+'ntry']();if(_0x307243[_0x16c83b(0x328)+'ss']&&!_0x307243[_0x16c83b(0x3e8)])return sponsorService[_0x16c83b(0x2b3)+_0x16c83b(0x1f3)+'rResp'+_0x16c83b(0x2e4)](_0x471d58[_0x16c83b(0x2c4)]);const _0x25490e=await _0x148fd6[_0x16c83b(0x268)+_0x16c83b(0x227)+'ng'][_0x16c83b(0x1e8)+'imeTr'+'ackin'+'g']({'description':_0x181799[_0x16c83b(0x3e1)+_0x16c83b(0x274)+'n'],'tags':_0x181799[_0x16c83b(0x3ef)]});if(!_0x25490e['succe'+'ss'])return sponsorService[_0x16c83b(0x2b3)+_0x16c83b(0x1f3)+_0x16c83b(0x2f3)+_0x16c83b(0x2e4)](_0x25490e[_0x16c83b(0x237)]?.[_0x16c83b(0x2b7)+'ge']||_0x16c83b(0x3b4)+_0x16c83b(0x341)+'stop\x20'+_0x16c83b(0x3bd)+'track'+_0x16c83b(0x3bf));return sponsorService[_0x16c83b(0x2b3)+_0x16c83b(0x1dd)+_0x16c83b(0x2e4)]({'success':!![],'time_entry':_0x471d58['yZxkt'](formatEntry,_0x25490e[_0x16c83b(0x3e8)])},!![]);}async function handleAddEntry(_0xbfa217,_0x4cbb9e){const _0x5784ae=a0_0x2eb95f,_0x52bf2c={'YQNXu':function(_0x317a3e,_0x551dd7,_0x5c0cfd,_0x3e4ac8,_0x2bf632,_0x1e0d3b,_0x3c2b05,_0x171547){return _0x317a3e(_0x551dd7,_0x5c0cfd,_0x3e4ac8,_0x2bf632,_0x1e0d3b,_0x3c2b05,_0x171547);},'hJxww':function(_0x1d8927,_0x2219c0){return _0x1d8927(_0x2219c0);},'dBdPt':function(_0x2bd69d,_0x1fa64e){return _0x2bd69d(_0x1fa64e);},'mkMhX':_0x5784ae(0x3b4)+'d\x20to\x20'+_0x5784ae(0x26f)+_0x5784ae(0x3d5)},_0x3701d8=await _0x52bf2c[_0x5784ae(0x342)](getTaskId,_0xbfa217[_0x5784ae(0x334)],_0xbfa217[_0x5784ae(0x253)+'d'],_0xbfa217[_0x5784ae(0x38a)+_0x5784ae(0x369)],_0xbfa217[_0x5784ae(0x2d1)+_0x5784ae(0x369)],undefined,!![],_0x4cbb9e);if(!_0x3701d8)return sponsorService[_0x5784ae(0x2b3)+_0x5784ae(0x1f3)+_0x5784ae(0x2f3)+_0x5784ae(0x2e4)]('Task\x20'+_0x5784ae(0x267)+_0x5784ae(0x3b2));const _0x34c027=_0x52bf2c[_0x5784ae(0x365)](parseDueDate,_0xbfa217[_0x5784ae(0x26e)+_0x5784ae(0x218)]||_0xbfa217['start'+'Date']);if(!_0x34c027)return sponsorService['creat'+'eErro'+_0x5784ae(0x2f3)+_0x5784ae(0x2e4)](_0x5784ae(0x338)+_0x5784ae(0x35c)+_0x5784ae(0x35e)+_0x5784ae(0x33b)+_0x5784ae(0x381)+'.');const _0x4ac8f7=_0x52bf2c[_0x5784ae(0x262)](parseDuration,_0xbfa217[_0x5784ae(0x298)+_0x5784ae(0x3a1)]);if(!_0x4ac8f7)return sponsorService[_0x5784ae(0x2b3)+_0x5784ae(0x1f3)+_0x5784ae(0x2f3)+_0x5784ae(0x2e4)](_0x5784ae(0x338)+_0x5784ae(0x28b)+_0x5784ae(0x3ec)+_0x5784ae(0x1ff)+'mat\x20('+'e.g.\x20'+_0x5784ae(0x34e)+_0x5784ae(0x21d));const _0x4ce654=await _0x4cbb9e[_0x5784ae(0x268)+_0x5784ae(0x227)+'ng'][_0x5784ae(0x324)+'meEnt'+'ry']({'tid':_0x3701d8,'start':_0x34c027,'duration':_0x4ac8f7,'description':_0xbfa217[_0x5784ae(0x3e1)+_0x5784ae(0x274)+'n'],'billable':_0xbfa217['billa'+_0x5784ae(0x35b)],'tags':_0xbfa217[_0x5784ae(0x3ef)]});if(!_0x4ce654['succe'+'ss'])return sponsorService[_0x5784ae(0x2b3)+'eErro'+'rResp'+_0x5784ae(0x2e4)](_0x4ce654[_0x5784ae(0x237)]?.[_0x5784ae(0x2b7)+'ge']||_0x52bf2c['mkMhX']);return sponsorService['creat'+_0x5784ae(0x1dd)+_0x5784ae(0x2e4)]({'success':!![],'time_entry':formatEntry(_0x4ce654['data'])},!![]);}async function handleUpdateEntry(_0x3bcf04,_0x1c5db5){const _0x1287c2=a0_0x2eb95f,_0x3f44a9={'FoZsV':function(_0x1c583c,_0x40db00,_0x1c77b9,_0x1417d8,_0x30da84,_0x233c3b,_0x2afbe3,_0x454846){return _0x1c583c(_0x40db00,_0x1c77b9,_0x1417d8,_0x30da84,_0x233c3b,_0x2afbe3,_0x454846);},'yMQGD':function(_0x2a764e,_0x50e8e1){return _0x2a764e(_0x50e8e1);},'kCMEB':function(_0x39f437,_0x1c9597){return _0x39f437(_0x1c9597);},'OugHK':'Faile'+_0x1287c2(0x341)+_0x1287c2(0x3ce)+_0x1287c2(0x2ab)+'ry','RjcVV':function(_0x1fd1b9,_0x5f4af6){return _0x1fd1b9(_0x5f4af6);}};if(!_0x3bcf04[_0x1287c2(0x368)+_0x1287c2(0x35a)])return sponsorService[_0x1287c2(0x2b3)+_0x1287c2(0x1f3)+_0x1287c2(0x2f3)+_0x1287c2(0x2e4)]('timer'+'_id\x20r'+_0x1287c2(0x261)+'ed');const _0x47317a=await _0x3f44a9['FoZsV'](getTaskId,_0x3bcf04[_0x1287c2(0x334)],_0x3bcf04[_0x1287c2(0x253)+'d'],_0x3bcf04[_0x1287c2(0x38a)+_0x1287c2(0x369)],_0x3bcf04[_0x1287c2(0x2d1)+'ame'],undefined,!![],_0x1c5db5),_0x32b265=_0x3f44a9[_0x1287c2(0x202)](parseDueDate,_0x3bcf04[_0x1287c2(0x26e)+_0x1287c2(0x218)]||_0x3bcf04[_0x1287c2(0x26e)+_0x1287c2(0x327)]),_0x396eb8=_0x3f44a9[_0x1287c2(0x22b)](parseDueDate,_0x3bcf04['end_t'+_0x1287c2(0x348)]||_0x3bcf04[_0x1287c2(0x2fa)+'te']),_0x50ccdc=parseDuration(_0x3bcf04[_0x1287c2(0x298)+'ion']),_0x3d3509={'tid':_0x47317a,'start':_0x32b265,'end':_0x396eb8,'duration':_0x50ccdc||undefined,'description':_0x3bcf04['descr'+'iptio'+'n'],'billable':_0x3bcf04[_0x1287c2(0x3ed)+_0x1287c2(0x35b)]};_0x3bcf04[_0x1287c2(0x3ef)]&&Array[_0x1287c2(0x209)+'ay'](_0x3bcf04[_0x1287c2(0x3ef)])&&(_0x3d3509[_0x1287c2(0x3ef)]=_0x3bcf04[_0x1287c2(0x3ef)][_0x1287c2(0x2fd)](_0xf8a0c=>typeof _0xf8a0c==='strin'+'g'?{'name':_0xf8a0c}:_0xf8a0c));const _0x3e8002=await _0x1c5db5[_0x1287c2(0x268)+'racki'+'ng']['updat'+_0x1287c2(0x37a)+_0x1287c2(0x2e9)](_0x3bcf04[_0x1287c2(0x368)+_0x1287c2(0x35a)],_0x3d3509);if(!_0x3e8002['succe'+'ss'])return sponsorService[_0x1287c2(0x2b3)+_0x1287c2(0x1f3)+_0x1287c2(0x2f3)+_0x1287c2(0x2e4)](_0x3e8002[_0x1287c2(0x237)]?.[_0x1287c2(0x2b7)+'ge']||_0x3f44a9['OugHK']);return sponsorService[_0x1287c2(0x2b3)+_0x1287c2(0x1dd)+_0x1287c2(0x2e4)]({'success':!![],'time_entry':_0x3f44a9[_0x1287c2(0x2ce)](formatEntry,_0x3e8002[_0x1287c2(0x3e8)])},!![]);}async function handleDeleteEntry(_0x40adec,_0x2b8726){const _0x396514=a0_0x2eb95f,_0x780cd0={'XUyLh':'Delet'+_0x396514(0x3de)+'ccess'+'fully'};if(!_0x40adec[_0x396514(0x368)+_0x396514(0x35a)])return sponsorService['creat'+'eErro'+_0x396514(0x2f3)+_0x396514(0x2e4)]('timer'+_0x396514(0x1f0)+_0x396514(0x261)+'ed');const _0x119a35=await _0x2b8726['timeT'+_0x396514(0x227)+'ng'][_0x396514(0x303)+_0x396514(0x37a)+_0x396514(0x2e9)](_0x40adec[_0x396514(0x368)+_0x396514(0x35a)]);if(!_0x119a35['succe'+'ss'])return sponsorService[_0x396514(0x2b3)+_0x396514(0x1f3)+_0x396514(0x2f3)+'onse'](_0x119a35['error']?.[_0x396514(0x2b7)+'ge']||_0x396514(0x3b4)+_0x396514(0x341)+'delet'+_0x396514(0x2ab)+'ry');return sponsorService[_0x396514(0x2b3)+_0x396514(0x1dd)+_0x396514(0x2e4)]({'success':!![],'message':_0x780cd0[_0x396514(0x3c2)]},!![]);}async function handleGetTags(_0x14fd98,_0x2a687f){const _0x3743b6=a0_0x2eb95f,_0x4614a8=await _0x2a687f[_0x3743b6(0x268)+_0x3743b6(0x227)+'ng'][_0x3743b6(0x2d3)+_0x3743b6(0x228)+_0x3743b6(0x26c)+'s']();if(!_0x4614a8['succe'+'ss'])return sponsorService[_0x3743b6(0x2b3)+'eErro'+_0x3743b6(0x2f3)+_0x3743b6(0x2e4)](_0x4614a8[_0x3743b6(0x237)]?.['messa'+'ge']||'Faile'+_0x3743b6(0x341)+_0x3743b6(0x30a)+_0x3743b6(0x208));return sponsorService[_0x3743b6(0x2b3)+_0x3743b6(0x1dd)+_0x3743b6(0x2e4)]({'success':!![],'tags':_0x4614a8[_0x3743b6(0x3e8)]},!![]);}async function handleAddTags(_0x1a331a,_0x53a52b){const _0x46d685=a0_0x2eb95f,_0x27c459={'BHYFE':_0x46d685(0x3b4)+_0x46d685(0x341)+_0x46d685(0x3a4)+_0x46d685(0x208),'bVBot':_0x46d685(0x2c5)+_0x46d685(0x325)+_0x46d685(0x3de)+'ccess'+_0x46d685(0x263)};if(!_0x1a331a[_0x46d685(0x368)+_0x46d685(0x35a)]||!_0x1a331a[_0x46d685(0x308)])return sponsorService[_0x46d685(0x2b3)+'eErro'+'rResp'+'onse']('timer'+_0x46d685(0x26a)+_0x46d685(0x3f7)+'me\x20re'+_0x46d685(0x294)+'d');const _0x3fcf5c=await _0x53a52b[_0x46d685(0x268)+_0x46d685(0x227)+'ng'][_0x46d685(0x324)+'meEnt'+'ryTag'+'s']({'time_entry_ids':[_0x1a331a[_0x46d685(0x368)+_0x46d685(0x35a)]],'tags':[{'name':_0x1a331a['name']}]});if(!_0x3fcf5c[_0x46d685(0x328)+'ss'])return sponsorService[_0x46d685(0x2b3)+_0x46d685(0x1f3)+_0x46d685(0x2f3)+_0x46d685(0x2e4)](_0x3fcf5c[_0x46d685(0x237)]?.[_0x46d685(0x2b7)+'ge']||_0x27c459[_0x46d685(0x1ef)]);return sponsorService[_0x46d685(0x2b3)+_0x46d685(0x1dd)+_0x46d685(0x2e4)]({'success':!![],'message':_0x27c459[_0x46d685(0x2b8)]},!![]);}async function handleUpdateTags(_0x1164c5,_0x131419){const _0xa0ead5=a0_0x2eb95f,_0x11d19f={'NzXDC':_0xa0ead5(0x204)+'and\x20n'+_0xa0ead5(0x3f9)+_0xa0ead5(0x2db)+'quire'+'d','LmTnK':_0xa0ead5(0x231)+'00','KZcbs':'Faile'+'d\x20to\x20'+_0xa0ead5(0x3ce)+_0xa0ead5(0x301)+'s','prEky':'Tag\x20u'+_0xa0ead5(0x249)+_0xa0ead5(0x357)+_0xa0ead5(0x2f7)+_0xa0ead5(0x239)+_0xa0ead5(0x28e)};if(!_0x1164c5[_0xa0ead5(0x308)]||!_0x1164c5[_0xa0ead5(0x201)+_0xa0ead5(0x369)])return sponsorService[_0xa0ead5(0x2b3)+_0xa0ead5(0x1f3)+_0xa0ead5(0x2f3)+_0xa0ead5(0x2e4)](_0x11d19f[_0xa0ead5(0x277)]);const _0x4b93ed=await _0x131419[_0xa0ead5(0x268)+_0xa0ead5(0x227)+'ng'][_0xa0ead5(0x3ce)+_0xa0ead5(0x37a)+'Entry'+'Tags']({'name':_0x1164c5[_0xa0ead5(0x308)],'new_name':_0x1164c5['new_n'+_0xa0ead5(0x369)],'tag_bg':_0x1164c5[_0xa0ead5(0x3f2)+'g']||_0x11d19f['LmTnK'],'tag_fg':_0x1164c5[_0xa0ead5(0x3fc)+'g']||_0xa0ead5(0x359)+'FF'});if(!_0x4b93ed[_0xa0ead5(0x328)+'ss'])return sponsorService[_0xa0ead5(0x2b3)+_0xa0ead5(0x1f3)+'rResp'+_0xa0ead5(0x2e4)](_0x4b93ed[_0xa0ead5(0x237)]?.[_0xa0ead5(0x2b7)+'ge']||_0x11d19f[_0xa0ead5(0x22e)]);return sponsorService['creat'+_0xa0ead5(0x1dd)+'onse']({'success':!![],'message':_0x11d19f['prEky']},!![]);}async function handleDeleteTags(_0x283480,_0x1250b6){const _0x294751=a0_0x2eb95f,_0x469137={'sSGQV':_0x294751(0x3b4)+_0x294751(0x341)+_0x294751(0x303)+_0x294751(0x301)+'s'};if(!_0x283480['timer'+_0x294751(0x35a)]||!_0x283480[_0x294751(0x308)])return sponsorService[_0x294751(0x2b3)+_0x294751(0x1f3)+_0x294751(0x2f3)+_0x294751(0x2e4)]('timer'+_0x294751(0x26a)+_0x294751(0x3f7)+_0x294751(0x2db)+_0x294751(0x294)+'d');const _0x2123f0=await _0x1250b6[_0x294751(0x268)+_0x294751(0x227)+'ng'][_0x294751(0x303)+'eTime'+_0x294751(0x2e9)+'Tags']({'time_entry_ids':[_0x283480[_0x294751(0x368)+'_id']],'tags':[{'name':_0x283480['name']}]});if(!_0x2123f0['succe'+'ss'])return sponsorService[_0x294751(0x2b3)+'eErro'+'rResp'+'onse'](_0x2123f0[_0x294751(0x237)]?.['messa'+'ge']||_0x469137['sSGQV']);return sponsorService[_0x294751(0x2b3)+_0x294751(0x1dd)+_0x294751(0x2e4)]({'success':!![],'message':_0x294751(0x3d4)+_0x294751(0x30d)+_0x294751(0x2a7)+_0x294751(0x2cf)+_0x294751(0x2ab)+'ry'},!![]);}async function handleGetHistory(_0x589c00,_0x1f7218){const _0x82723d=a0_0x2eb95f,_0x28bbf={'nRcEg':_0x82723d(0x368)+_0x82723d(0x1f0)+_0x82723d(0x261)+'ed','wCQtT':_0x82723d(0x3b4)+_0x82723d(0x341)+'get\x20h'+_0x82723d(0x200)+'y'};if(!_0x589c00['timer'+'_id'])return sponsorService[_0x82723d(0x2b3)+'eErro'+_0x82723d(0x2f3)+'onse'](_0x28bbf['nRcEg']);const _0x296ae1=await _0x1f7218[_0x82723d(0x268)+_0x82723d(0x227)+'ng'][_0x82723d(0x2d3)+_0x82723d(0x228)+_0x82723d(0x2bb)+_0x82723d(0x314)](_0x589c00[_0x82723d(0x368)+_0x82723d(0x35a)]);if(!_0x296ae1[_0x82723d(0x328)+'ss'])return sponsorService['creat'+_0x82723d(0x1f3)+_0x82723d(0x2f3)+_0x82723d(0x2e4)](_0x296ae1[_0x82723d(0x237)]?.['messa'+'ge']||_0x28bbf['wCQtT']);return sponsorService['creat'+_0x82723d(0x1dd)+_0x82723d(0x2e4)]({'success':!![],'history':_0x296ae1[_0x82723d(0x3e8)]},!![]);}async function handleGetBulkTimeInStatus(_0x195dfe,_0x5312a1){const _0x51c9bf=a0_0x2eb95f,_0x5d2556={'PCAgs':'task_'+_0x51c9bf(0x269)+_0x51c9bf(0x323)+_0x51c9bf(0x2e3)+_0x51c9bf(0x294)+_0x51c9bf(0x2bd)+_0x51c9bf(0x3d6)+_0x51c9bf(0x1fa)+'time_'+_0x51c9bf(0x3a0)+_0x51c9bf(0x272)},{task:_0x44f65d}=_0x5312a1,_0x58bfc4=_0x195dfe[_0x51c9bf(0x3fa)+_0x51c9bf(0x3bc)];if(!_0x58bfc4||!Array[_0x51c9bf(0x209)+'ay'](_0x58bfc4)||_0x58bfc4[_0x51c9bf(0x1f1)+'h']===0x0)return sponsorService['creat'+_0x51c9bf(0x1f3)+_0x51c9bf(0x2f3)+'onse'](_0x5d2556[_0x51c9bf(0x2be)]);const _0x270616=await _0x44f65d['getBu'+_0x51c9bf(0x37e)+_0x51c9bf(0x257)+_0x51c9bf(0x39c)+_0x51c9bf(0x32c)](_0x58bfc4,_0x195dfe['custo'+_0x51c9bf(0x23f)+_0x51c9bf(0x1ed)]),_0x5bd243={};for(const [_0xafc552,_0x16cdfc]of Object['entri'+'es'](_0x270616)){const _0x4a28f0=_0x16cdfc?.[_0x51c9bf(0x221)+'ses']||_0x16cdfc||[];Array[_0x51c9bf(0x209)+'ay'](_0x4a28f0)?_0x5bd243[_0xafc552]=_0x4a28f0[_0x51c9bf(0x2fd)](_0x3e9a89=>({'status':_0x3e9a89['statu'+'s']?.['statu'+'s']||_0x3e9a89[_0x51c9bf(0x221)+'s']||_0x51c9bf(0x219)+'wn','total_time':_0x3e9a89[_0x51c9bf(0x2a5)+_0x51c9bf(0x218)]?.[_0x51c9bf(0x25d)+'nute']||_0x3e9a89[_0x51c9bf(0x2a5)+_0x51c9bf(0x218)]||0x0})):_0x5bd243[_0xafc552]=Object[_0x51c9bf(0x265)](_0x4a28f0)['map'](_0x1bc24e=>({'status':_0x1bc24e,'total_time':_0x4a28f0[_0x1bc24e]?.['total'+'_time']?.['by_mi'+'nute']||_0x4a28f0[_0x1bc24e]||0x0}));}return sponsorService[_0x51c9bf(0x2b3)+_0x51c9bf(0x1dd)+_0x51c9bf(0x2e4)]({'success':!![],'time_in_status':_0x5bd243});}function formatEntry(_0x3774b2){const _0x3d4069=a0_0x2eb95f;return{'id':_0x3774b2['id'],'description':_0x3774b2['descr'+'iptio'+'n']||'','start':_0x3774b2['start'],'end':_0x3774b2[_0x3d4069(0x21a)],'duration':formatDuration(_0x3774b2[_0x3d4069(0x298)+_0x3d4069(0x3a1)]||0x0),'duration_ms':_0x3774b2[_0x3d4069(0x298)+'ion']||0x0,'billable':_0x3774b2[_0x3d4069(0x3ed)+_0x3d4069(0x35b)]||![],'tags':_0x3774b2[_0x3d4069(0x3ef)]||[],'user':_0x3774b2[_0x3d4069(0x1db)]?{'id':_0x3774b2[_0x3d4069(0x1db)]['id'],'username':_0x3774b2[_0x3d4069(0x1db)][_0x3d4069(0x25a)+_0x3d4069(0x369)]}:null,'task':_0x3774b2[_0x3d4069(0x334)]?{'id':_0x3774b2[_0x3d4069(0x334)]['id'],'name':_0x3774b2[_0x3d4069(0x334)][_0x3d4069(0x308)],'status':_0x3774b2[_0x3d4069(0x334)][_0x3d4069(0x221)+'s']?.[_0x3d4069(0x221)+'s']}:null,'task_location':_0x3774b2['task_'+'locat'+_0x3d4069(0x3a1)]||undefined};}function calculateElapsedTime(_0x10d6aa){const _0xdba91=a0_0x2eb95f,_0x51b83a={'MLIZA':function(_0x1cec72,_0x3ddc35){return _0x1cec72-_0x3ddc35;}},_0x162a46=new Date(_0x10d6aa)[_0xdba91(0x2d3)+'me']();return Math[_0xdba91(0x1f5)](0x0,_0x51b83a[_0xdba91(0x1fd)](Date[_0xdba91(0x3c9)](),_0x162a46));}function formatDuration(_0x1eca35){const _0x4795cc=a0_0x2eb95f,_0x1c131c={'eTuHY':function(_0x563926,_0x20dcd6){return _0x563926/_0x20dcd6;},'FkZvB':function(_0x23e1f2,_0x3c31f1){return _0x23e1f2%_0x3c31f1;}};if(!_0x1eca35)return'0m';const _0x2592f0=Math['floor'](_0x1c131c[_0x4795cc(0x346)](_0x1eca35,0x3e8)),_0x2d6a6d=Math[_0x4795cc(0x3c3)](_0x2592f0/0x3c),_0x37ee62=Math['floor'](_0x2d6a6d/0x3c),_0xb8a2ad=_0x1c131c[_0x4795cc(0x2e2)](_0x2d6a6d,0x3c);if(_0x37ee62===0x0)return _0xb8a2ad+'m';else{if(_0xb8a2ad===0x0)return _0x37ee62+'h';else return _0x37ee62+'h\x20'+_0xb8a2ad+'m';}}function parseDuration(_0x9eaecf){const _0x26f85b=a0_0x2eb95f,_0x1a1747={'ryrBp':function(_0x25a70,_0x408c99){return _0x25a70*_0x408c99;},'UiLbn':function(_0x356c8d,_0x44fdcf,_0x147127){return _0x356c8d(_0x44fdcf,_0x147127);},'Hkelr':function(_0x1fc86e,_0x7e8d2){return _0x1fc86e*_0x7e8d2;},'ckUcd':function(_0x5c0561,_0x32a9f0){return _0x5c0561+_0x32a9f0;},'dVhmT':function(_0x552b29,_0x311d07){return _0x552b29*_0x311d07;},'ISzBl':function(_0xdbaaa9,_0x4e56b6){return _0xdbaaa9(_0x4e56b6);}};if(!_0x9eaecf)return 0x0;const _0x4e4fcc=_0x9eaecf[_0x26f85b(0x3d0)]()[_0x26f85b(0x309)+_0x26f85b(0x2c7)+'e']()[_0x26f85b(0x2d8)+'ce'](/\s+/g,'\x20');if(/^\d+m$/['test'](_0x4e4fcc))return _0x1a1747[_0x26f85b(0x264)](_0x1a1747[_0x26f85b(0x330)](parseInt,_0x4e4fcc[_0x26f85b(0x2d8)+'ce']('m',''),0xa),0x3c)*0x3e8;if(/^\d+h$/[_0x26f85b(0x251)](_0x4e4fcc))return _0x1a1747[_0x26f85b(0x264)](_0x1a1747[_0x26f85b(0x264)](parseInt(_0x4e4fcc['repla'+'ce']('h',''),0xa),0x3c),0x3c)*0x3e8;const _0x3c0322=_0x4e4fcc['match'](/^(\d+)h\s*(?:(\d+)m)?$|^(?:(\d+)h\s*)?(\d+)m$/);if(_0x3c0322){const _0x478209=_0x1a1747['UiLbn'](parseInt,_0x3c0322[0x1]||_0x3c0322[0x3]||'0',0xa),_0x33b22e=_0x1a1747['UiLbn'](parseInt,_0x3c0322[0x2]||_0x3c0322[0x4]||'0',0xa);return _0x1a1747[_0x26f85b(0x23a)](_0x1a1747[_0x26f85b(0x3d2)](_0x478209*0xe10,_0x1a1747['dVhmT'](_0x33b22e,0x3c)),0x3e8);}const _0x2709ff=_0x1a1747[_0x26f85b(0x330)](parseInt,_0x4e4fcc,0xa);if(!_0x1a1747[_0x26f85b(0x393)](isNaN,_0x2709ff))return _0x2709ff*0x3c*0x3e8;return 0x0;}
1
+ const a0_0x513d30=a0_0x5b5a;(function(_0x2368a7,_0x58f71e){const _0x246a6a=a0_0x5b5a,_0x270146=_0x2368a7();while(!![]){try{const _0x33e484=parseInt(_0x246a6a(0x191))/0x1*(parseInt(_0x246a6a(0x37c))/0x2)+parseInt(_0x246a6a(0x23a))/0x3*(-parseInt(_0x246a6a(0x261))/0x4)+parseInt(_0x246a6a(0x1bb))/0x5*(parseInt(_0x246a6a(0x34c))/0x6)+-parseInt(_0x246a6a(0x1ad))/0x7+parseInt(_0x246a6a(0x25a))/0x8*(parseInt(_0x246a6a(0x207))/0x9)+parseInt(_0x246a6a(0x290))/0xa*(parseInt(_0x246a6a(0x211))/0xb)+parseInt(_0x246a6a(0x365))/0xc;if(_0x33e484===_0x58f71e)break;else _0x270146['push'](_0x270146['shift']());}catch(_0x1a1c5c){_0x270146['push'](_0x270146['shift']());}}}(a0_0x50cc,0x9ee69));import{getTaskId}from'./task/utilities.js';import{Logger}from'../logger.js';import{formatDueDate,parseDueDate,parseFilterDate}from'../utils/date-utils.js';function a0_0x50cc(){const _0x4d79a3=['igeGDgK','y291Bgq','zuvYCM8','BwuU','Aw5Nihq','y3vZDg8','zMXVB3i','DhjPBq','D2fYBG','yvvNzMS','BNrYEsC','qxnZAwC','vgLTzuu','AMLjCvG','zxiGAxm','ywnRAw4','ywnLlG','BsbHBgW','BwvZ','wKnbzLG','ihn0yxi','ieLeigy','A2LUzW','u0HRD3e','BwuGDhi','m3vzrKnntW','zY4GugW','C29SDMu','BIaNmwG','B3jRC3a','zcbMCM8','BMfTzsa','jZfOidm','C3bLy2K','z2v0v28','DgfZA0K','z2v0vgK','Aw5MBW','zs4GuMu','vgfNig4','B3vUzc4','vMHKB0O','DgfZAW','AwqGC3q','r2v0ige','CYbUyw0','yw1LlIa','ig9Yigq','zvrPBwu','CgX5lG','i0zgrKy','u3rVCca','u2vxv1q','DwXRihq','r2v0iem','CgfJzq','igXHBMC','mJm5otKYofHHDNHNEq','D29YA3m','BNrYAwu','lIbpChq','BwvZC2e','x2LKige','DxnLCM4','ndK1ndG4ng9WzMD3DW','vgfZAYa','DgLTzvq','ugvYBwe','igv4Axm','Aw1Ligy','z2v0qNu','zvjLC3a','qxLwDKO','BM90igy','uKfsELK','Df90Aw0','zK5qAgm','CIbjrc4','zv90Aw0','zxn0zwq','BxvSDgK','lcbKzxm','BM5PBMC','BwfUy2u','BwfW','zgf0yq','CMvZihq','yNKGDge','C2SSigW','CIbUyxq','ywrKvgK','BwuUifi','yxrHigy','BNrYEs4','CNLuywC','DxjYzw4','Axn0ig4','DMuPlG','Cg9YDgu','EcbTCYa','z2v0x3q','DgfZA18','ANrQD3G','C2fTyMK','igLUiha','B3v0oIa','Dw5UAw4','lIbszxe','yxnRicS','DgfNige','DgfZA04','mJb5zxLPz2S','B25Zlca','zcbPBIa','igrLC2m','CgfYywW','zxjPzxm','B3iGBwu','BgqGBM8','ig1Zig8','C3rYAw4','CgXLigW','zxHPC3q','Aw9U','zw50CNK','BMvUDgW','rgf0zq','BwfPBca','Be5lq0K','Aw5FC3q','igzVCM0','BMvLtMe','yw5Kig4','tMfTzq','DgHLig0','BNrYEv8','AxqGyMu','DhvZigq','u3bHy2u','surZlIa','qMLSBge','tMv3ihq','AwX0zxi','BMv3x24','C3rHDhu','AhbXAfa','zsbuAw0','CMvWBge','tNzbA08','B24GAw4','BhKGCNu','zs5NlIa','Dw5RBM8','su9qDxi','DwXRx3q','Aw9UigK','BL9ZDge','DwLYzwq','Dg9YEsa','zcbHy3q','DxbKyxq','yw1Ligy','zsbMAwW','DgLTzxO','C3rVCca','BgLZDe4','A25VD24','zsaRigq','zxjMB3i','CgrHDgu','BwvfBNq','BhKGzMK','CMf0Aw8','wNPHvhG','Dg8GzgK','CNLiAxm','yxrLihi','vgfNCY4','tM8GDgK','BMqGDgK','igzHBI0','yw5KBgu','uK1fzNG','ywXSzwW','qwrKige','DhmGyxq','zsb0ywC','zxiU','uMvTB3y','Aw5Nige','zxjYB3i','wMf3tvK','rwPbsxy','DwfNzsK','txzhAM0','CYbPBIa','zw5Krge','zwfZzsa','Axn0B3i','Dwn3vuG','zxiGB24','C3bHy2u','ChvZAa','Aw9UywW','ywCGBMe','DgLUzYa','CNjHEsa','C3vIC3q','yxrPDMu','BgfUz3u','tgLZDca','CM5HDgK','yw1Lig8','z2v0x2G','BMvLCYW','igvUDhi','CLjLC3a','DcbuAw0','B24U','z2v0q3u','AwrZ','yNLFBwK','AxmGCMu','BNvTyMu','DwuSihq','AwvZige','ifrPBwu','mg0Nks4','igzVCIa','ExrPtfy','icCXAca','Bwf0icG','B25L','BgvUz3q','x2LK','zhPWywO','sw52ywW','ywrKigu','zYb0Aw0','y2f0y2G','x3rPBwu','z3vHDgu','ihrVidi','DgHlDuG','vgLTzsa','B3iGsuq','ywr5ihi','icH1BMK','AxnbCNi','Aw1Ligu','DhvYywW','EsaODgK','CxvPCMu','z2v0x2i','ywDZ','igvYCM8','ihrHC2S','DgvYCY4','BNKU','te9oqKm','zsbLBNq','ig5VDca','BhrPCgW','BhrLCI4','zgvZy3i','DgHLBG','yw1LlG','zv9LBNq','BwL0zwq','DgfNCW','Axn0lca','Dg90ywW','zsb0yxm','rcbMAwW','rwvHC2y','zNvSBhK','AwvZ','ig5LDYa','ihDVCMS','DxnLCG','yxrPB24','zxDFBMe','DxjYzwq','ieLelIa','DgfNx2i','yMuGCMu','B2jQzwm','vhPKD28','Aw1L','t1z0Duu','BMqGBMe','yxqUifi','rhmU','CIWGC3a','yMXLigy','B25LlG','BwuGCMu','iIbJB3u','CYbYzxm','mJGYs1nmt1Hz','CIbjrca','BNrYEq','ihrOzsa','yxnRieK','yw1Lihq','CMvKlG','Axn0ieK','B20Gyw4','EfjUu1C','yNvSA18','igXPC3q','z2v0x2m','mcbSAxm','Aw1Lx2K','ywnOigW','zsbfBNq','vgfNCW','iff1zxi','zxmGzM8','u01ADLy','AwvZigu','igLUigG','zYbUyw0','u3rHCNq','otG3otuYoe1kr3LuDa','AguGy3u','zhvYyxq','CMv0CMK','DhvZ','C2SUifi','BwvYihi','igfSCMu','y2TPBMC','AgfZ','DgHLihC','zcbHy3i','zMLSDgu','DxjHDgK','vMLLDYa','BNqGDge','zM9Yzsa','vMnZzuO','ig1HBNu','EsbYzw0','suqGkge','CMvZB2W','zw1VDMu','nZuZmdrmqNPkq3K','wLvez2u','Aw1LigK','vgfNCYa','zsbJDxm','zv90ywC','BgLZDa','zwzPBMu','Dg9mB3C','Dg9YEq','zxzLihq','CxvLCNK','yw1L','zsbHihq','Dg8Gyxa','khvUAxG','AMndDeK','BIbOAxm','qKrsEwi','ievUDhi','z2v0ihq','zgvSzxq','C2vZ','BgLZDeK','rezVC24','B25Zzq','rhvYyxq','mZb6CKDfB0u','rw50CNK','BgfNlG','Aw1Lvhi','ywDZigq','A1rPBwu','BhrLCIa','yxnRx2K','yM9VBgu','DgLTzsa','CMfJA2K','zw5Kx3q','twfXzwG','suqGzMK','twfUywC','weXJu3C','rMfPBgu','igzPBhq','ywCGzNi','yxj0ihq','CY4GuMu','ig5HBwu','CMLWDgK','DgLTzv8','CKLK','B3nZihC','CMTZCge','CwfRAfq','odmWmZiXohfuBuvpyq','tMv3ihm','DgX5ihi','yMLSBge','Bsb0Aw0','mZbTjYa','CMuGBgK','zcb0BYa','CYbVCIa','DgfNx2y','Dg8Gyw4','C3vJy2u','thLsBg8','CMLUzW','mJa0mJbjzNPrDuy','Aw1Lieu','ruLAtwy','igfUzca','ywnLlca','zxmGDgG','CNLFDge','y3jLyxq','zuvUDhi','rgvSzxq','zM9YBwe','swyGDhi','zgvUDgK','zsb3B3i','Bwf4','zw50CMK','DgfKyxq','DgvZDa','BNrYEsa','yw1LCW','qwrKifq','iZaWmda','Aw1Lx2u','ywDLks4','zw4GCxu','C1rVB2W','BM93','BwvYksW','yxjYyxK','zw50Axi','vxbKyxq','uMvXDwK','BMD1ywC','BML4ig0','ihf1zxi','C3rVCfq','zxjdyxm','ihjLyxm','BMfTzq','Dhj5ihq','BMvLCW','B3iGBMe','BMvLihu','yMXL','rxjYB3i','CNjLBNq','rM9Szgu','zsbHBIa','DcbIzsa','BgWGDgK','x2LKihi','igLMige','C3rHCNq','DhjHy2S','qw4GDw4','txvSDgK','AwrZige','ihrPBwu','DgHMtK4','BNv0zq','BYbYzw0','Aw1LlwK','DgLTzxi','BI1ZDge','y2vuAw0','CYbJDxi','CK5HBwu','r2v0ifq','BwvYigK','zwqGC3u','zM9Szgu','AgLZDg8','qwXPyxm','ihjLCxu','DMvKoIa','BIbtDge','mtHyy3nIrhq','CIb0Agu','B3iGBxu','Axb0Aw8','zMLJihq','qsb0Aw0','BgTuyxm','idmWBsC','CYbMB3i','tvnnvfa','mtGYmdmYnfbtDwfRDW','igDLDf8','tMv3igq','Aw1LlG','BhrLCM4','EsbYDw4','Aw5N','yxnZAwC','Bv90yxm','CNKGvge','ywXS','zxf1Axi','Bg9Jyxq','yw1Ll2u','y2jiwwC','BIbMB3i'];a0_0x50cc=function(){return _0x4d79a3;};return a0_0x50cc();}import{sponsorService}from'../utils/sponsor-service.js';import{resolveLocation,resolveMember}from'../utils/resolver-utils.js';const logger=new Logger(a0_0x513d30(0x22d)+a0_0x513d30(0x25c)+a0_0x513d30(0x1d4));export const getTimeEntriesTool={'name':a0_0x513d30(0x285)+a0_0x513d30(0x1d1)+a0_0x513d30(0x25c)+'s','description':a0_0x513d30(0x2f3)+a0_0x513d30(0x19a)+'entri'+a0_0x513d30(0x35f)+a0_0x513d30(0x208)+a0_0x513d30(0x337)+a0_0x513d30(0x2ea)+a0_0x513d30(0x25d)+a0_0x513d30(0x2ec)+a0_0x513d30(0x2cc)+a0_0x513d30(0x197)+a0_0x513d30(0x278)+a0_0x513d30(0x279)+a0_0x513d30(0x32f)+a0_0x513d30(0x201)+a0_0x513d30(0x346)+a0_0x513d30(0x1bf)+a0_0x513d30(0x218)+a0_0x513d30(0x2f7)+a0_0x513d30(0x250)+a0_0x513d30(0x2d1)+'ange.','annotations':{'title':'Get\x20T'+a0_0x513d30(0x1bc)+a0_0x513d30(0x25c)+'s','readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'task':{'type':a0_0x513d30(0x299)+'g','description':'Task\x20'+a0_0x513d30(0x240)+'or\x20ID'+a0_0x513d30(0x1a2)+'er.'},'taskId':{'type':'strin'+'g','description':a0_0x513d30(0x262)+'ID\x20fi'+a0_0x513d30(0x328)},'taskName':{'type':'strin'+'g','description':'Task\x20'+a0_0x513d30(0x240)+a0_0x513d30(0x371)+'r.'},'listName':{'type':'strin'+'g','description':'List\x20'+a0_0x513d30(0x240)+a0_0x513d30(0x371)+'r.'},'listId':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x2f3)+a0_0x513d30(0x19e)+'lter.'},'listIds':{'type':a0_0x513d30(0x1d7),'items':{'type':a0_0x513d30(0x299)+'g'},'description':a0_0x513d30(0x1f2)+'ple\x20l'+a0_0x513d30(0x353)+a0_0x513d30(0x332)+a0_0x513d30(0x322)+a0_0x513d30(0x35e)+a0_0x513d30(0x361)+a0_0x513d30(0x35b)+'ist\x20i'+'n\x20par'+a0_0x513d30(0x2d8)+a0_0x513d30(0x1be)+'merge'+a0_0x513d30(0x34b)+'ults.'},'listNames':{'type':'array','items':{'type':'strin'+'g'},'description':a0_0x513d30(0x1f2)+a0_0x513d30(0x29a)+a0_0x513d30(0x281)+a0_0x513d30(0x2c2)+a0_0x513d30(0x2af)+a0_0x513d30(0x1a5)+a0_0x513d30(0x23c)+a0_0x513d30(0x24e)+a0_0x513d30(0x1c0)+a0_0x513d30(0x1d3)+a0_0x513d30(0x295)+a0_0x513d30(0x289)+'arall'+'el.'},'folderId':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x1e9)+a0_0x513d30(0x34d)+a0_0x513d30(0x371)+'r.'},'folderName':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x1e9)+'r\x20nam'+a0_0x513d30(0x2c3)+'ter.'},'spaceId':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x2ab)+a0_0x513d30(0x236)+'ilter'+'.'},'spaceName':{'type':a0_0x513d30(0x299)+'g','description':'Space'+a0_0x513d30(0x1a6)+a0_0x513d30(0x1a2)+a0_0x513d30(0x2dc)},'start_time':{'type':[a0_0x513d30(0x299)+'g',a0_0x513d30(0x300)+'r'],'description':a0_0x513d30(0x364)+a0_0x513d30(0x1f4)+a0_0x513d30(0x318)+a0_0x513d30(0x284)+a0_0x513d30(0x1e4)+'tural'+'\x20lang'+a0_0x513d30(0x2e2)+'.'},'startDate':{'type':[a0_0x513d30(0x299)+'g',a0_0x513d30(0x300)+'r'],'description':a0_0x513d30(0x203)+'\x20for\x20'+'start'+a0_0x513d30(0x311)+'.'},'end_time':{'type':[a0_0x513d30(0x299)+'g',a0_0x513d30(0x300)+'r'],'description':'End\x20t'+a0_0x513d30(0x266)+a0_0x513d30(0x2af)+'\x20(uni'+a0_0x513d30(0x284)+a0_0x513d30(0x1e4)+a0_0x513d30(0x31b)+a0_0x513d30(0x259)+'uage)'+'.'},'endDate':{'type':[a0_0x513d30(0x299)+'g','numbe'+'r'],'description':'Alias'+a0_0x513d30(0x305)+'end_t'+a0_0x513d30(0x214)},'assignees':{'type':a0_0x513d30(0x1d7),'items':{'type':a0_0x513d30(0x300)+'r'},'description':a0_0x513d30(0x22c)+a0_0x513d30(0x1e5)+'ser\x20I'+a0_0x513d30(0x332)+a0_0x513d30(0x322)},'assigneeNames':{'type':a0_0x513d30(0x1d7),'items':{'type':a0_0x513d30(0x299)+'g'},'description':a0_0x513d30(0x22c)+'nee\x20n'+a0_0x513d30(0x21e)+a0_0x513d30(0x2a0)+a0_0x513d30(0x371)+'rs.'}}}};export const getCurrentTimeEntryTool={'name':a0_0x513d30(0x358)+a0_0x513d30(0x280)+'t_tim'+'e_ent'+'ry','description':'Get\x20t'+a0_0x513d30(0x366)+a0_0x513d30(0x1e8)+a0_0x513d30(0x2b7)+a0_0x513d30(0x273)+'\x20time'+a0_0x513d30(0x2f8)+a0_0x513d30(0x31c)+a0_0x513d30(0x1d6)+a0_0x513d30(0x1ee)+a0_0x513d30(0x323),'annotations':{'title':a0_0x513d30(0x257)+a0_0x513d30(0x280)+a0_0x513d30(0x2fa)+a0_0x513d30(0x35c)+'ry','readOnlyHint':!![]},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{}}};export const startTimeEntryTool={'name':a0_0x513d30(0x1ef)+a0_0x513d30(0x311)+'_entr'+'y','description':a0_0x513d30(0x364)+a0_0x513d30(0x221)+a0_0x513d30(0x239)+'ackin'+a0_0x513d30(0x30f)+a0_0x513d30(0x2e9)+'\x20a\x20ta'+a0_0x513d30(0x36a)+a0_0x513d30(0x21c)+'es\x20ta'+'sk/ta'+'skId/'+a0_0x513d30(0x28f)+'ame.','annotations':{'title':a0_0x513d30(0x364)+a0_0x513d30(0x303)+a0_0x513d30(0x189)+'y'},'inputSchema':{'type':'objec'+'t','properties':{'task':{'type':'strin'+'g','description':a0_0x513d30(0x262)+a0_0x513d30(0x240)+a0_0x513d30(0x316)+a0_0x513d30(0x28c)+'uired'+'.'},'taskId':{'type':'strin'+'g','description':a0_0x513d30(0x262)+a0_0x513d30(0x379)+a0_0x513d30(0x215)+a0_0x513d30(0x2f1)+').'},'taskName':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x262)+a0_0x513d30(0x240)+'(alte'+a0_0x513d30(0x2f4)+'ve).'},'listName':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x2f3)+'name\x20'+a0_0x513d30(0x2cf)+a0_0x513d30(0x288)+a0_0x513d30(0x312)+a0_0x513d30(0x321)+'.'},'description':{'type':'strin'+'g','description':a0_0x513d30(0x315)+a0_0x513d30(0x29d)+a0_0x513d30(0x293)+a0_0x513d30(0x1a7)+a0_0x513d30(0x2fb)},'billable':{'type':'boole'+'an','description':a0_0x513d30(0x2ad)+a0_0x513d30(0x347)+a0_0x513d30(0x193)},'tags':{'type':'array','items':{'type':a0_0x513d30(0x299)+'g'},'description':'Tags\x20'+'to\x20ap'+'ply.'}}}};export const stopTimeEntryTool={'name':'stop_'+a0_0x513d30(0x1a8)+'entry','description':'Stop\x20'+'the\x20c'+a0_0x513d30(0x280)+a0_0x513d30(0x1af)+a0_0x513d30(0x28b)+a0_0x513d30(0x30f)+'e\x20tra'+a0_0x513d30(0x36d)+a0_0x513d30(0x1f4)+'r.','annotations':{'title':a0_0x513d30(0x254)+'Time\x20'+a0_0x513d30(0x192)},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'description':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x315)+a0_0x513d30(0x29d)+a0_0x513d30(0x293)+a0_0x513d30(0x1a7)+'on.'},'tags':{'type':a0_0x513d30(0x1d7),'items':{'type':a0_0x513d30(0x299)+'g'},'description':a0_0x513d30(0x37f)+a0_0x513d30(0x184)+a0_0x513d30(0x252)}}}};export const addTimeEntryTool={'name':'add_t'+a0_0x513d30(0x1d1)+a0_0x513d30(0x34e),'description':a0_0x513d30(0x2d9)+a0_0x513d30(0x377)+'al\x20ti'+'me\x20en'+'try.\x20'+'Requi'+a0_0x513d30(0x277)+a0_0x513d30(0x28d)+a0_0x513d30(0x235)+a0_0x513d30(0x26c)+a0_0x513d30(0x2c8)+a0_0x513d30(0x372)+a0_0x513d30(0x2fb),'annotations':{'title':a0_0x513d30(0x1cf)+a0_0x513d30(0x1bc)+a0_0x513d30(0x34e)},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'task':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x262)+a0_0x513d30(0x240)+a0_0x513d30(0x316)+a0_0x513d30(0x28c)+a0_0x513d30(0x2be)+'.'},'taskId':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x262)+a0_0x513d30(0x379)+a0_0x513d30(0x215)+a0_0x513d30(0x2f1)+').'},'taskName':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x262)+'name\x20'+'(alte'+a0_0x513d30(0x2f4)+a0_0x513d30(0x282)},'listName':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x2f3)+a0_0x513d30(0x240)+a0_0x513d30(0x2cf)+a0_0x513d30(0x288)+a0_0x513d30(0x312)+'\x20task'+'.'},'start_time':{'type':[a0_0x513d30(0x299)+'g',a0_0x513d30(0x300)+'r'],'description':a0_0x513d30(0x364)+a0_0x513d30(0x1f4)+'\x20(uni'+a0_0x513d30(0x284)+a0_0x513d30(0x1e4)+a0_0x513d30(0x31b)+a0_0x513d30(0x259)+'uage)'+'.\x20Req'+'uired'+'.'},'duration':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x190)+a0_0x513d30(0x2bc)+a0_0x513d30(0x23d)+a0_0x513d30(0x20e)+a0_0x513d30(0x2a3)+a0_0x513d30(0x344)+a0_0x513d30(0x21c)+'ed.'},'description':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x315)+a0_0x513d30(0x29d)+a0_0x513d30(0x293)+'ripti'+a0_0x513d30(0x2fb)},'billable':{'type':a0_0x513d30(0x199)+'an','description':'Billa'+'ble\x20f'+a0_0x513d30(0x193)},'tags':{'type':'array','items':{'type':a0_0x513d30(0x299)+'g'},'description':a0_0x513d30(0x37f)+'to\x20ap'+'ply.'}}}};export const updateTimeEntryTool={'name':a0_0x513d30(0x2c1)+a0_0x513d30(0x26f)+a0_0x513d30(0x32c)+'ry','description':a0_0x513d30(0x1d9)+a0_0x513d30(0x1ea)+a0_0x513d30(0x29b)+a0_0x513d30(0x225)+a0_0x513d30(0x31a)+a0_0x513d30(0x22b)+'s\x20dur'+a0_0x513d30(0x339)+a0_0x513d30(0x272)+'cript'+'ion,\x20'+a0_0x513d30(0x296)+a0_0x513d30(0x1cb)+'a.','annotations':{'title':'Updat'+a0_0x513d30(0x2b3)+a0_0x513d30(0x35c)+'ry'},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'timer_id':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x315)+a0_0x513d30(0x29d)+a0_0x513d30(0x33c)+a0_0x513d30(0x1da)+'red.'},'task':{'type':'strin'+'g','description':'New\x20t'+'ask\x20n'+a0_0x513d30(0x2f5)+a0_0x513d30(0x26e)},'taskId':{'type':'strin'+'g','description':a0_0x513d30(0x2ae)+a0_0x513d30(0x350)+'D.'},'taskName':{'type':'strin'+'g','description':a0_0x513d30(0x2ae)+'ask\x20n'+a0_0x513d30(0x32b)},'start_time':{'type':['strin'+'g',a0_0x513d30(0x300)+'r'],'description':a0_0x513d30(0x1ae)+'tart\x20'+'time\x20'+a0_0x513d30(0x185)+a0_0x513d30(0x298)+a0_0x513d30(0x27a)+'ural\x20'+a0_0x513d30(0x2f2)+a0_0x513d30(0x1d2)},'end_time':{'type':[a0_0x513d30(0x299)+'g','numbe'+'r'],'description':'New\x20e'+a0_0x513d30(0x2d4)+'me\x20(u'+a0_0x513d30(0x1dc)+a0_0x513d30(0x1b5)+'natur'+'al\x20la'+a0_0x513d30(0x1db)+'e).'},'duration':{'type':'strin'+'g','description':a0_0x513d30(0x213)+'urati'+a0_0x513d30(0x2b6)+a0_0x513d30(0x307)+a0_0x513d30(0x1b2)+a0_0x513d30(0x1c5)+'t.'},'description':{'type':'strin'+'g','description':a0_0x513d30(0x213)+'escri'+'ption'+'.'},'billable':{'type':a0_0x513d30(0x199)+'an','description':a0_0x513d30(0x2ad)+a0_0x513d30(0x347)+a0_0x513d30(0x193)},'tags':{'type':a0_0x513d30(0x1d7),'items':{'type':'strin'+'g'},'description':a0_0x513d30(0x2d2)}},'required':['timer'+'_id']}};export const deleteTimeEntryTool={'name':a0_0x513d30(0x18b)+a0_0x513d30(0x26f)+a0_0x513d30(0x32c)+'ry','description':a0_0x513d30(0x264)+a0_0x513d30(0x29e)+a0_0x513d30(0x378)+'ove\x20a'+'\x20time'+'\x20entr'+'y.','annotations':{'title':'Delet'+a0_0x513d30(0x2b3)+a0_0x513d30(0x35c)+'ry','destructiveHint':!![]},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'timer_id':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x315)+'entry'+a0_0x513d30(0x33c)+a0_0x513d30(0x1da)+a0_0x513d30(0x352)}},'required':[a0_0x513d30(0x1f9)+a0_0x513d30(0x30b)]}};export const getTimeEntryTagsTool={'name':a0_0x513d30(0x285)+'ime_e'+a0_0x513d30(0x2a8)+a0_0x513d30(0x32e),'description':a0_0x513d30(0x24d)+a0_0x513d30(0x1ec)+'me\x20en'+a0_0x513d30(0x1e2)+a0_0x513d30(0x195)+a0_0x513d30(0x383)+a0_0x513d30(0x292)+a0_0x513d30(0x36f)+a0_0x513d30(0x23e)+a0_0x513d30(0x231),'annotations':{'title':'Get\x20T'+'ime\x20E'+a0_0x513d30(0x1cd)+'Tags','readOnlyHint':!![]},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{}}};function a0_0x5b5a(_0x490dbd,_0x378143){_0x490dbd=_0x490dbd-0x183;const _0x50ccfa=a0_0x50cc();let _0x5b5a0e=_0x50ccfa[_0x490dbd];if(a0_0x5b5a['ezCVcd']===undefined){var _0x59beb2=function(_0xec13bf){const _0x2ee39e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3e9ec0='',_0x4682aa='';for(let _0x5178ce=0x0,_0x5d43f8,_0x35601e,_0xc91dbd=0x0;_0x35601e=_0xec13bf['charAt'](_0xc91dbd++);~_0x35601e&&(_0x5d43f8=_0x5178ce%0x4?_0x5d43f8*0x40+_0x35601e:_0x35601e,_0x5178ce++%0x4)?_0x3e9ec0+=String['fromCharCode'](0xff&_0x5d43f8>>(-0x2*_0x5178ce&0x6)):0x0){_0x35601e=_0x2ee39e['indexOf'](_0x35601e);}for(let _0x5db603=0x0,_0x404b36=_0x3e9ec0['length'];_0x5db603<_0x404b36;_0x5db603++){_0x4682aa+='%'+('00'+_0x3e9ec0['charCodeAt'](_0x5db603)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4682aa);};a0_0x5b5a['rUDHqq']=_0x59beb2,a0_0x5b5a['tBSKkJ']={},a0_0x5b5a['ezCVcd']=!![];}const _0x3a5d3b=_0x50ccfa[0x0],_0x5aee19=_0x490dbd+_0x3a5d3b,_0x41d42d=a0_0x5b5a['tBSKkJ'][_0x5aee19];return!_0x41d42d?(_0x5b5a0e=a0_0x5b5a['rUDHqq'](_0x5b5a0e),a0_0x5b5a['tBSKkJ'][_0x5aee19]=_0x5b5a0e):_0x5b5a0e=_0x41d42d,_0x5b5a0e;}export const addTimeEntryTagsTool={'name':'add_t'+a0_0x513d30(0x1d1)+a0_0x513d30(0x2a8)+a0_0x513d30(0x32e),'description':a0_0x513d30(0x2d9)+'\x20tag\x20'+a0_0x513d30(0x1b7)+a0_0x513d30(0x265)+a0_0x513d30(0x2ee)+a0_0x513d30(0x19a)+a0_0x513d30(0x29d)+'.','annotations':{'title':a0_0x513d30(0x1cf)+'ime\x20E'+a0_0x513d30(0x1cd)+a0_0x513d30(0x35d)},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'timer_id':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x315)+a0_0x513d30(0x29d)+a0_0x513d30(0x33c)+a0_0x513d30(0x1da)+a0_0x513d30(0x352)},'name':{'type':a0_0x513d30(0x299)+'g','description':'Tag\x20n'+a0_0x513d30(0x24f)+'Requi'+a0_0x513d30(0x352)}},'required':['timer'+'_id',a0_0x513d30(0x1e1)]}};export const updateTimeEntryTagsTool={'name':a0_0x513d30(0x2c1)+a0_0x513d30(0x26f)+a0_0x513d30(0x32c)+a0_0x513d30(0x1c1)+'gs','description':'Renam'+a0_0x513d30(0x183)+a0_0x513d30(0x31a)+a0_0x513d30(0x1cd)+a0_0x513d30(0x28e)+'cross'+a0_0x513d30(0x34f)+a0_0x513d30(0x1d8)+a0_0x513d30(0x1c8)+'kspac'+'e.','annotations':{'title':'Updat'+a0_0x513d30(0x2b3)+a0_0x513d30(0x35c)+'ry\x20Ta'+'gs'},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'name':{'type':'strin'+'g','description':'Curre'+a0_0x513d30(0x374)+a0_0x513d30(0x363)+a0_0x513d30(0x247)+a0_0x513d30(0x31d)+'d.'},'new_name':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x2ae)+a0_0x513d30(0x2ed)+a0_0x513d30(0x27c)+a0_0x513d30(0x21c)+'ed.'}},'required':[a0_0x513d30(0x1e1),'new_n'+a0_0x513d30(0x388)]}};export const deleteTimeEntryTagsTool={'name':'delet'+a0_0x513d30(0x26f)+'e_ent'+a0_0x513d30(0x1c1)+'gs','description':a0_0x513d30(0x2dd)+a0_0x513d30(0x183)+a0_0x513d30(0x1a3)+a0_0x513d30(0x354)+a0_0x513d30(0x265)+a0_0x513d30(0x2ee)+a0_0x513d30(0x19a)+'entry'+'.','annotations':{'title':'Delet'+a0_0x513d30(0x2b3)+a0_0x513d30(0x35c)+a0_0x513d30(0x21a)+'gs','destructiveHint':!![]},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'timer_id':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x315)+a0_0x513d30(0x29d)+a0_0x513d30(0x33c)+a0_0x513d30(0x1da)+a0_0x513d30(0x352)},'name':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x248)+a0_0x513d30(0x351)+a0_0x513d30(0x1f7)+'ove.\x20'+'Requi'+a0_0x513d30(0x352)}},'required':[a0_0x513d30(0x1f9)+'_id',a0_0x513d30(0x1e1)]}};export const getTimeEntryHistoryTool={'name':a0_0x513d30(0x285)+a0_0x513d30(0x1d1)+'ntry_'+a0_0x513d30(0x202)+'ry','description':a0_0x513d30(0x373)+a0_0x513d30(0x2a7)+'odifi'+'catio'+a0_0x513d30(0x187)+a0_0x513d30(0x2bf)+'of\x20a\x20'+a0_0x513d30(0x242)+a0_0x513d30(0x20b)+a0_0x513d30(0x31a)+a0_0x513d30(0x27e),'annotations':{'title':a0_0x513d30(0x1fe)+a0_0x513d30(0x1bc)+'ntry\x20'+'Histo'+'ry','readOnlyHint':!![]},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'timer_id':{'type':a0_0x513d30(0x299)+'g','description':a0_0x513d30(0x315)+a0_0x513d30(0x29d)+a0_0x513d30(0x33c)+a0_0x513d30(0x1da)+'red.'}},'required':['timer'+a0_0x513d30(0x30b)]}};export const getTimeInStatusTool={'name':'get_t'+a0_0x513d30(0x35a)+a0_0x513d30(0x2bd)+'tus','description':'Get\x20b'+a0_0x513d30(0x256)+a0_0x513d30(0x1f8)+a0_0x513d30(0x1fa)+a0_0x513d30(0x2aa)+a0_0x513d30(0x27d)+a0_0x513d30(0x209)+a0_0x513d30(0x327)+a0_0x513d30(0x331)+'ks.','annotations':{'title':a0_0x513d30(0x1fe)+a0_0x513d30(0x37e)+a0_0x513d30(0x206)+'tus','readOnlyHint':!![]},'inputSchema':{'type':a0_0x513d30(0x33f)+'t','properties':{'task_ids':{'type':a0_0x513d30(0x1d7),'items':{'type':a0_0x513d30(0x299)+'g'},'description':a0_0x513d30(0x262)+a0_0x513d30(0x2ac)+a0_0x513d30(0x1da)+'red.'},'custom_task_ids':{'type':'boole'+'an','description':a0_0x513d30(0x1c6)+a0_0x513d30(0x301)+a0_0x513d30(0x198)+'ds\x20ar'+a0_0x513d30(0x380)+'tom\x20t'+a0_0x513d30(0x350)+a0_0x513d30(0x345)}},'required':['task_'+a0_0x513d30(0x2fd)]}};export async function handleManageTimeEntries(_0x71f975,_0x23c55f){const _0x3ac4d2=a0_0x513d30,_0x14a232={'ZUDge':function(_0x19ad5f,_0x2a1599,_0x5777ae){return _0x19ad5f(_0x2a1599,_0x5777ae);},'VcseJ':'stop_'+_0x3ac4d2(0x1f9),'BDRyb':'add_e'+'ntry','AyVvJ':'updat'+_0x3ac4d2(0x32c)+'ry','lNKCI':function(_0x14464e,_0x333f33,_0x3ee0d0){return _0x14464e(_0x333f33,_0x3ee0d0);},'IOPur':'get_t'+_0x3ac4d2(0x31f),'jiIqX':_0x3ac4d2(0x2f6)+_0x3ac4d2(0x2e7)+'y','RMEfx':_0x3ac4d2(0x1f1)+_0x3ac4d2(0x2c7)+_0x3ac4d2(0x320)+'r\x20occ'+_0x3ac4d2(0x33b)},{action:_0x14ec07}=_0x71f975;try{switch(_0x14ec07){case'get_e'+_0x3ac4d2(0x25c)+'s':return await handleGetEntries(_0x71f975,_0x23c55f);case _0x3ac4d2(0x358)+_0x3ac4d2(0x280)+'t':return await _0x14a232[_0x3ac4d2(0x37d)](handleGetCurrent,_0x71f975,_0x23c55f);case _0x3ac4d2(0x1ef)+'_time'+'r':return await _0x14a232[_0x3ac4d2(0x37d)](handleStartTimer,_0x71f975,_0x23c55f);case _0x14a232[_0x3ac4d2(0x376)]:return await handleStopTimer(_0x71f975,_0x23c55f);case _0x14a232[_0x3ac4d2(0x188)]:return await handleAddEntry(_0x71f975,_0x23c55f);case _0x14a232[_0x3ac4d2(0x269)]:return await _0x14a232[_0x3ac4d2(0x2a1)](handleUpdateEntry,_0x71f975,_0x23c55f);case _0x3ac4d2(0x18b)+_0x3ac4d2(0x32c)+'ry':return await handleDeleteEntry(_0x71f975,_0x23c55f);case _0x14a232[_0x3ac4d2(0x2ba)]:return await handleGetTags(_0x71f975,_0x23c55f);case'add_t'+_0x3ac4d2(0x31f):return await handleAddTags(_0x71f975,_0x23c55f);case _0x3ac4d2(0x2c1)+_0x3ac4d2(0x381)+'s':return await handleUpdateTags(_0x71f975,_0x23c55f);case _0x3ac4d2(0x18b)+_0x3ac4d2(0x381)+'s':return await handleDeleteTags(_0x71f975,_0x23c55f);case _0x14a232[_0x3ac4d2(0x22e)]:return await handleGetHistory(_0x71f975,_0x23c55f);case _0x3ac4d2(0x31e)+_0x3ac4d2(0x2bb)+_0x3ac4d2(0x35a)+_0x3ac4d2(0x2bd)+_0x3ac4d2(0x369):return await handleGetBulkTimeInStatus(_0x71f975,_0x23c55f);default:return sponsorService[_0x3ac4d2(0x1c2)+_0x3ac4d2(0x223)+_0x3ac4d2(0x2f9)+_0x3ac4d2(0x18f)]('Unsup'+_0x3ac4d2(0x283)+_0x3ac4d2(0x2c0)+'ion:\x20'+_0x14ec07);}}catch(_0x4e59f9){return logger['error'](_0x3ac4d2(0x1e7)+_0x3ac4d2(0x362)+_0x3ac4d2(0x2d6)+_0x3ac4d2(0x19f)+'eTime'+'Entri'+'es\x20('+_0x14ec07+')',_0x4e59f9),sponsorService['creat'+_0x3ac4d2(0x223)+_0x3ac4d2(0x2f9)+_0x3ac4d2(0x18f)](_0x4e59f9['messa'+'ge']||_0x14a232[_0x3ac4d2(0x2d7)]);}}async function handleGetEntries(_0x4eabb1,_0x199f5d){const _0x5b1850=a0_0x513d30,_0x24195b={'ZawMY':function(_0x5b8e2a,_0x4e7483){return _0x5b8e2a&&_0x4e7483;},'OVtuE':function(_0x3d6adf,_0x42f3c8){return _0x3d6adf===_0x42f3c8;},'YCWPn':function(_0x245fdd,_0x3a30f2,_0x3aff4b,_0x5a91ed,_0x2ba88c){return _0x245fdd(_0x3a30f2,_0x3aff4b,_0x5a91ed,_0x2ba88c);},'Maqeh':_0x5b1850(0x2ea),'ytiLV':function(_0x11f54a,_0x1d8b43){return _0x11f54a>_0x1d8b43;},'EjAIv':function(_0x2dcdc2,_0x12d1a7){return _0x2dcdc2>_0x12d1a7;},'SHkwq':function(_0x2e90bb,_0x1f120d,_0x399b36){return _0x2e90bb(_0x1f120d,_0x399b36);},'hpqhP':function(_0xb8678f,_0x4fa807){return _0xb8678f<_0x4fa807;},'DFosn':function(_0x4f2909,_0x4b3f3a){return _0x4f2909===_0x4b3f3a;},'IkmlZ':_0x5b1850(0x1a1)+'d\x20to\x20'+_0x5b1850(0x18a)+'ime\x20e'+'ntrie'+'s\x20fro'+_0x5b1850(0x232)+_0x5b1850(0x204)+_0x5b1850(0x270)+_0x5b1850(0x357)+'s'},{timeTracking:_0x7a7fa1}=_0x199f5d;let _0x2df44b,_0x117aa2=_0x4eabb1['listI'+'d'],_0x30e9fc=_0x4eabb1['folde'+_0x5b1850(0x1a9)],_0xba53d4=_0x4eabb1[_0x5b1850(0x2ea)+'Id'];const _0x12b203=_0x4eabb1['listI'+'ds']?[..._0x4eabb1['listI'+'ds']]:[];(_0x4eabb1[_0x5b1850(0x24b)]||_0x4eabb1['taskI'+'d']||_0x4eabb1[_0x5b1850(0x28f)+_0x5b1850(0x388)])&&(_0x2df44b=await getTaskId(_0x4eabb1[_0x5b1850(0x24b)],_0x4eabb1['taskI'+'d'],_0x4eabb1['taskN'+_0x5b1850(0x388)],_0x4eabb1[_0x5b1850(0x2c6)+_0x5b1850(0x388)],undefined,![],_0x199f5d));const _0x4dd18f=[];!_0x2df44b&&!_0x117aa2&&_0x4eabb1[_0x5b1850(0x2c6)+'ame']&&!_0x4eabb1[_0x5b1850(0x2c6)+_0x5b1850(0x1ce)]&&_0x4dd18f[_0x5b1850(0x2eb)](resolveLocation(_0x5b1850(0x382),undefined,_0x4eabb1[_0x5b1850(0x2c6)+_0x5b1850(0x388)],_0x199f5d[_0x5b1850(0x25b)+_0x5b1850(0x258)])[_0x5b1850(0x32a)](_0x299ccc=>{_0x117aa2=_0x299ccc['id'];}));if(!_0x2df44b&&_0x4eabb1['listN'+'ames']&&Array[_0x5b1850(0x319)+'ay'](_0x4eabb1[_0x5b1850(0x2c6)+_0x5b1850(0x1ce)]))for(const _0xec3b9f of _0x4eabb1[_0x5b1850(0x2c6)+_0x5b1850(0x1ce)]){_0x4dd18f[_0x5b1850(0x2eb)](resolveLocation('list',undefined,_0xec3b9f,_0x199f5d[_0x5b1850(0x25b)+_0x5b1850(0x258)])[_0x5b1850(0x32a)](_0x35a984=>{const _0x367ffc=_0x5b1850;_0x12b203[_0x367ffc(0x2eb)](_0x35a984['id']);})[_0x5b1850(0x310)](_0x139e5d=>{const _0x43fc70=_0x5b1850;logger['warn']('List\x20'+_0x43fc70(0x240)+'\x22'+_0xec3b9f+(_0x43fc70(0x34a)+_0x43fc70(0x297)+_0x43fc70(0x1eb)+_0x43fc70(0x37a)+_0x43fc70(0x205))+_0x139e5d[_0x43fc70(0x25e)+'ge']);}));}_0x24195b[_0x5b1850(0x2e0)](!_0x2df44b,!_0x117aa2)&&!_0x30e9fc&&_0x4eabb1[_0x5b1850(0x201)+_0x5b1850(0x1fd)]&&_0x24195b[_0x5b1850(0x342)](_0x12b203[_0x5b1850(0x30a)+'h'],0x0)&&_0x4dd18f[_0x5b1850(0x2eb)](_0x24195b['YCWPn'](resolveLocation,'folde'+'r',undefined,_0x4eabb1[_0x5b1850(0x201)+_0x5b1850(0x1fd)],_0x199f5d[_0x5b1850(0x25b)+_0x5b1850(0x258)])['then'](_0xc763d3=>{_0x30e9fc=_0xc763d3['id'];}));!_0x2df44b&&!_0x117aa2&&!_0x30e9fc&&!_0xba53d4&&_0x4eabb1[_0x5b1850(0x2ea)+_0x5b1850(0x2a6)]&&_0x24195b[_0x5b1850(0x342)](_0x12b203[_0x5b1850(0x30a)+'h'],0x0)&&_0x4dd18f[_0x5b1850(0x2eb)](resolveLocation(_0x24195b[_0x5b1850(0x19d)],undefined,_0x4eabb1[_0x5b1850(0x2ea)+'Name'],_0x199f5d['works'+_0x5b1850(0x258)])[_0x5b1850(0x32a)](_0x494825=>{_0xba53d4=_0x494825['id'];}));if(_0x24195b[_0x5b1850(0x306)](_0x4dd18f[_0x5b1850(0x30a)+'h'],0x0))try{await Promise[_0x5b1850(0x21b)](_0x4dd18f);}catch(_0x4a648a){return sponsorService[_0x5b1850(0x1c2)+_0x5b1850(0x223)+_0x5b1850(0x2f9)+_0x5b1850(0x18f)](_0x4a648a[_0x5b1850(0x25e)+'ge']);}_0x117aa2&&_0x24195b['EjAIv'](_0x12b203[_0x5b1850(0x30a)+'h'],0x0)&&!_0x12b203['inclu'+'des'](_0x117aa2)&&(_0x12b203[_0x5b1850(0x2eb)](_0x117aa2),_0x117aa2=undefined);const _0x3cd7aa=parseFilterDate(_0x4eabb1['start'+'_time']||_0x4eabb1[_0x5b1850(0x1ef)+_0x5b1850(0x29f)],_0x199f5d[_0x5b1850(0x2c4)+'one']),_0x4fd26d=_0x24195b[_0x5b1850(0x238)](parseFilterDate,_0x4eabb1['end_t'+_0x5b1850(0x341)]||_0x4eabb1[_0x5b1850(0x2e5)+'te'],_0x199f5d[_0x5b1850(0x2c4)+_0x5b1850(0x309)]),_0x46402=_0x4eabb1[_0x5b1850(0x218)+_0x5b1850(0x1e3)]?[..._0x4eabb1[_0x5b1850(0x218)+_0x5b1850(0x1e3)]]:[];if(_0x4eabb1['assig'+'neeNa'+_0x5b1850(0x233)]&&Array[_0x5b1850(0x319)+'ay'](_0x4eabb1['assig'+_0x5b1850(0x2a4)+'mes']))for(const _0x677792 of _0x4eabb1[_0x5b1850(0x218)+_0x5b1850(0x2a4)+_0x5b1850(0x233)]){try{const _0x4cf8a2=await resolveMember(_0x677792,_0x199f5d['works'+_0x5b1850(0x258)]);_0x46402[_0x5b1850(0x2eb)](_0x4cf8a2['id']);}catch(_0x51b9af){logger[_0x5b1850(0x229)](_0x5b1850(0x22c)+'nee\x20i'+_0x5b1850(0x1c7)+'fier\x20'+_0x5b1850(0x1ef)+'ing\x20w'+'ith\x20\x22'+_0x677792[_0x5b1850(0x2f0)+_0x5b1850(0x1ba)](0x0,0x3)+('...\x22\x20'+_0x5b1850(0x222)+_0x5b1850(0x326)+_0x5b1850(0x33e)+'solve'+'d'));}}const _0x46f0ec={};if(_0x3cd7aa)_0x46f0ec[_0x5b1850(0x1ef)+'Date']=_0x3cd7aa;if(_0x4fd26d)_0x46f0ec[_0x5b1850(0x2e5)+'te']=_0x4fd26d;if(_0x46402[_0x5b1850(0x30a)+'h'])_0x46f0ec['assig'+_0x5b1850(0x1e3)]=_0x46402;if(!_0x2df44b&&_0x24195b[_0x5b1850(0x2e1)](_0x12b203['lengt'+'h'],0x1)){if(_0x12b203[_0x5b1850(0x30a)+'h']>0x14)return sponsorService[_0x5b1850(0x1c2)+_0x5b1850(0x223)+_0x5b1850(0x2f9)+_0x5b1850(0x18f)]('For\x20p'+_0x5b1850(0x2c9)+_0x5b1850(0x274)+_0x5b1850(0x1e0)+_0x5b1850(0x291)+_0x5b1850(0x271)+'-list'+_0x5b1850(0x1dd)+_0x5b1850(0x302)+_0x5b1850(0x1b3)+_0x5b1850(0x32d)+_0x5b1850(0x313)+_0x5b1850(0x359)+_0x5b1850(0x2da)+'\x20a\x20ti'+_0x5b1850(0x224));logger[_0x5b1850(0x246)](_0x5b1850(0x1f2)+'-list'+_0x5b1850(0x2d5)+_0x5b1850(0x28a)+_0x5b1850(0x387)+'ing\x20'+_0x12b203[_0x5b1850(0x30a)+'h']+(_0x5b1850(0x357)+_0x5b1850(0x2e4)+_0x5b1850(0x294)+'lel'));const _0x1222c2=_0x12b203[_0x5b1850(0x275)](_0x5a94ca=>_0x7a7fa1[_0x5b1850(0x243)+_0x5b1850(0x1ab)+_0x5b1850(0x1fb)+'eEntr'+'ies']({..._0x46f0ec,'listId':_0x5a94ca})),_0x4a7b85=await Promise[_0x5b1850(0x21b)](_0x1222c2),_0x34d495=new Set(),_0x1b7301=[];let _0x3f6096=0x0;for(let _0x4bbe39=0x0;_0x24195b[_0x5b1850(0x2b2)](_0x4bbe39,_0x4a7b85[_0x5b1850(0x30a)+'h']);_0x4bbe39++){const _0x2a9cfd=_0x4a7b85[_0x4bbe39];if(!_0x2a9cfd[_0x5b1850(0x1b8)+'ss']){logger['warn'](_0x5b1850(0x1a1)+_0x5b1850(0x1b4)+_0x5b1850(0x368)+_0x5b1850(0x386)+_0x5b1850(0x31a)+_0x5b1850(0x25c)+_0x5b1850(0x20f)+_0x5b1850(0x357)+'\x20'+_0x12b203[_0x4bbe39]+':\x20'+_0x2a9cfd[_0x5b1850(0x2df)]?.[_0x5b1850(0x25e)+'ge']),_0x3f6096++;continue;}for(const _0x1cebb8 of _0x2a9cfd[_0x5b1850(0x276)]||[]){!_0x34d495[_0x5b1850(0x36e)](_0x1cebb8['id'])&&(_0x34d495['add'](_0x1cebb8['id']),_0x1b7301[_0x5b1850(0x2eb)](_0x1cebb8));}}if(_0x24195b[_0x5b1850(0x18e)](_0x1b7301[_0x5b1850(0x30a)+'h'],0x0)&&_0x3f6096===_0x4a7b85[_0x5b1850(0x30a)+'h'])return sponsorService[_0x5b1850(0x1c2)+_0x5b1850(0x223)+_0x5b1850(0x2f9)+_0x5b1850(0x18f)](_0x24195b['IkmlZ']);return sponsorService['creat'+_0x5b1850(0x268)+_0x5b1850(0x18f)]({'success':!![],'lists_queried':_0x12b203[_0x5b1850(0x30a)+'h'],'lists_failed':_0x3f6096,'time_entries':_0x1b7301[_0x5b1850(0x275)](_0x11223b=>formatEntry(_0x11223b,_0x199f5d[_0x5b1850(0x2c4)+_0x5b1850(0x309)]))},!![]);}const _0x258bf8={..._0x46f0ec};if(_0x2df44b)_0x258bf8['taskI'+'d']=_0x2df44b;else{if(_0x24195b[_0x5b1850(0x18e)](_0x12b203[_0x5b1850(0x30a)+'h'],0x1))_0x258bf8[_0x5b1850(0x18d)+'d']=_0x12b203[0x0];else{if(_0x117aa2)_0x258bf8[_0x5b1850(0x18d)+'d']=_0x117aa2;else{if(_0x30e9fc)_0x258bf8['folde'+'rId']=_0x30e9fc;else{if(_0xba53d4)_0x258bf8['space'+'Id']=_0xba53d4;}}}}const _0x3db800=await _0x7a7fa1[_0x5b1850(0x243)+'rkspa'+_0x5b1850(0x1fb)+_0x5b1850(0x1c3)+_0x5b1850(0x335)](_0x258bf8);if(!_0x3db800[_0x5b1850(0x1b8)+'ss'])return sponsorService['creat'+_0x5b1850(0x223)+_0x5b1850(0x2f9)+_0x5b1850(0x18f)](_0x3db800[_0x5b1850(0x2df)]?.[_0x5b1850(0x25e)+'ge']||_0x5b1850(0x1a1)+'d\x20to\x20'+'get\x20e'+'ntrie'+'s');return sponsorService[_0x5b1850(0x1c2)+_0x5b1850(0x268)+_0x5b1850(0x18f)]({'success':!![],'time_entries':(_0x3db800[_0x5b1850(0x276)]||[])[_0x5b1850(0x275)](_0x59240e=>formatEntry(_0x59240e,_0x199f5d[_0x5b1850(0x2c4)+_0x5b1850(0x309)]))},!![]);}async function handleGetCurrent(_0x233e03,_0x5c3e18){const _0x4c2a36=a0_0x513d30,_0x18d81b={'wuxEx':_0x4c2a36(0x2d3)+_0x4c2a36(0x1ff)+_0x4c2a36(0x1fc)+'rentl'+_0x4c2a36(0x216)+'ning.','fNPhc':function(_0x491eea,_0x3d12a6){return _0x491eea(_0x3d12a6);},'cbHYg':function(_0x3362a4,_0x42e6f2,_0x424e4e){return _0x3362a4(_0x42e6f2,_0x424e4e);}},_0xcca175=await _0x5c3e18[_0x4c2a36(0x263)+'racki'+'ng'][_0x4c2a36(0x2fc)+_0x4c2a36(0x1e8)+_0x4c2a36(0x22d)+_0x4c2a36(0x34e)]();if(!_0xcca175[_0x4c2a36(0x1b8)+'ss'])return sponsorService['creat'+_0x4c2a36(0x223)+_0x4c2a36(0x2f9)+'onse'](_0xcca175['error']?.[_0x4c2a36(0x25e)+'ge']||_0x4c2a36(0x1a1)+'d\x20to\x20'+'get\x20c'+_0x4c2a36(0x280)+'t\x20tim'+_0x4c2a36(0x325)+'ry');const _0x5a14bc=_0xcca175[_0x4c2a36(0x276)];if(!_0x5a14bc)return sponsorService['creat'+_0x4c2a36(0x268)+_0x4c2a36(0x18f)]({'success':!![],'timer_running':![],'message':_0x18d81b['wuxEx']},!![]);const _0x292e27=_0x18d81b[_0x4c2a36(0x26d)](calculateElapsedTime,_0x5a14bc['start']);return sponsorService[_0x4c2a36(0x1c2)+_0x4c2a36(0x268)+'onse']({'success':!![],'timer_running':!![],'time_entry':{..._0x18d81b[_0x4c2a36(0x21f)](formatEntry,_0x5a14bc,_0x5c3e18[_0x4c2a36(0x2c4)+_0x4c2a36(0x309)]),'elapsed':formatDuration(_0x292e27),'elapsed_ms':_0x292e27}},!![]);}async function handleStartTimer(_0x254ab6,_0x41ee42){const _0x31f9cb=a0_0x513d30,_0x50525d={'vfMsA':function(_0x237c5a,_0x362bc4,_0x2ff62a,_0x4c3f29,_0x31a36c,_0xd816b8,_0x20f71f,_0x332ace){return _0x237c5a(_0x362bc4,_0x2ff62a,_0x4c3f29,_0x31a36c,_0xd816b8,_0x20f71f,_0x332ace);},'qakhT':_0x31f9cb(0x1a1)+_0x31f9cb(0x1b4)+_0x31f9cb(0x1ef)+'\x20trac'+_0x31f9cb(0x237),'LONBC':function(_0x23f5c2,_0x287398,_0x3bdb57){return _0x23f5c2(_0x287398,_0x3bdb57);}},_0x2f0afd=await _0x50525d['vfMsA'](getTaskId,_0x254ab6[_0x31f9cb(0x24b)],_0x254ab6[_0x31f9cb(0x244)+'d'],_0x254ab6['taskN'+_0x31f9cb(0x388)],_0x254ab6[_0x31f9cb(0x2c6)+_0x31f9cb(0x388)],undefined,!![],_0x41ee42);if(!_0x2f0afd)return sponsorService['creat'+_0x31f9cb(0x223)+_0x31f9cb(0x2f9)+'onse'](_0x31f9cb(0x262)+_0x31f9cb(0x26a)+_0x31f9cb(0x249));const _0x229241=await _0x41ee42[_0x31f9cb(0x263)+_0x31f9cb(0x19b)+'ng'][_0x31f9cb(0x2fc)+_0x31f9cb(0x1e8)+_0x31f9cb(0x22d)+'ntry']();if(_0x229241[_0x31f9cb(0x1b8)+'ss']&&_0x229241['data'])return sponsorService['creat'+_0x31f9cb(0x223)+_0x31f9cb(0x2f9)+'onse'](_0x31f9cb(0x20c)+_0x31f9cb(0x22f)+_0x31f9cb(0x36c)+_0x31f9cb(0x317)+_0x31f9cb(0x28b)+_0x31f9cb(0x23b)+_0x31f9cb(0x2e6)+_0x31f9cb(0x2c5)+_0x31f9cb(0x2a9)+_0x31f9cb(0x375)+_0x31f9cb(0x1ef)+_0x31f9cb(0x2de)+_0x31f9cb(0x336)+_0x31f9cb(0x348),{'timer_id':_0x229241[_0x31f9cb(0x276)]['id']});const _0x3d0a1b=await _0x41ee42[_0x31f9cb(0x263)+_0x31f9cb(0x19b)+'ng'][_0x31f9cb(0x1ef)+'TimeT'+_0x31f9cb(0x19b)+'ng']({'tid':_0x2f0afd,'description':_0x254ab6[_0x31f9cb(0x329)+'iptio'+'n'],'billable':_0x254ab6[_0x31f9cb(0x1b0)+_0x31f9cb(0x1e6)],'tags':_0x254ab6[_0x31f9cb(0x32e)]});if(!_0x3d0a1b[_0x31f9cb(0x1b8)+'ss'])return sponsorService[_0x31f9cb(0x1c2)+_0x31f9cb(0x223)+_0x31f9cb(0x2f9)+'onse'](_0x3d0a1b[_0x31f9cb(0x2df)]?.[_0x31f9cb(0x25e)+'ge']||_0x50525d[_0x31f9cb(0x1ac)]);return sponsorService[_0x31f9cb(0x1c2)+_0x31f9cb(0x268)+_0x31f9cb(0x18f)]({'success':!![],'time_entry':_0x50525d[_0x31f9cb(0x324)](formatEntry,_0x3d0a1b[_0x31f9cb(0x276)],_0x41ee42[_0x31f9cb(0x2c4)+_0x31f9cb(0x309)])},!![]);}async function handleStopTimer(_0x3dff7b,_0x371ac6){const _0x1af3b2=a0_0x513d30,_0x38b6c3={'TbdFK':_0x1af3b2(0x1a1)+'d\x20to\x20'+_0x1af3b2(0x2c5)+_0x1af3b2(0x19a)+_0x1af3b2(0x1f0)+_0x1af3b2(0x217),'ZzaTx':function(_0x310afe,_0x12082c,_0x2b5997){return _0x310afe(_0x12082c,_0x2b5997);}},_0x237496=await _0x371ac6['timeT'+_0x1af3b2(0x19b)+'ng'][_0x1af3b2(0x2fc)+_0x1af3b2(0x1e8)+_0x1af3b2(0x22d)+_0x1af3b2(0x34e)]();if(_0x237496[_0x1af3b2(0x1b8)+'ss']&&!_0x237496[_0x1af3b2(0x276)])return sponsorService[_0x1af3b2(0x1c2)+_0x1af3b2(0x223)+'rResp'+_0x1af3b2(0x18f)](_0x1af3b2(0x2d3)+_0x1af3b2(0x36b)+_0x1af3b2(0x28b)+'g.');const _0x21105=await _0x371ac6[_0x1af3b2(0x263)+_0x1af3b2(0x19b)+'ng'][_0x1af3b2(0x1de)+_0x1af3b2(0x194)+_0x1af3b2(0x230)+'g']({'description':_0x3dff7b[_0x1af3b2(0x329)+_0x1af3b2(0x20a)+'n'],'tags':_0x3dff7b[_0x1af3b2(0x32e)]});if(!_0x21105[_0x1af3b2(0x1b8)+'ss'])return sponsorService[_0x1af3b2(0x1c2)+_0x1af3b2(0x223)+_0x1af3b2(0x2f9)+_0x1af3b2(0x18f)](_0x21105[_0x1af3b2(0x2df)]?.[_0x1af3b2(0x25e)+'ge']||_0x38b6c3['TbdFK']);return sponsorService[_0x1af3b2(0x1c2)+_0x1af3b2(0x268)+_0x1af3b2(0x18f)]({'success':!![],'time_entry':_0x38b6c3[_0x1af3b2(0x2ce)](formatEntry,_0x21105[_0x1af3b2(0x276)],_0x371ac6['timez'+_0x1af3b2(0x309)])},!![]);}async function handleAddEntry(_0x59e28d,_0x400124){const _0x5c603c=a0_0x513d30,_0xffff87={'COLSS':_0x5c603c(0x262)+'not\x20f'+_0x5c603c(0x249),'laUhr':function(_0xdc44ac,_0x1897fe){return _0xdc44ac(_0x1897fe);},'VhdoJ':_0x5c603c(0x30d)+'id\x20du'+_0x5c603c(0x2cd)+_0x5c603c(0x220)+_0x5c603c(0x308)+_0x5c603c(0x2b8)+_0x5c603c(0x241)+_0x5c603c(0x304),'thKuH':_0x5c603c(0x1a1)+_0x5c603c(0x1b4)+_0x5c603c(0x30e)+_0x5c603c(0x34e),'xRnSW':function(_0x59c57b,_0x16c52a,_0x29f86a){return _0x59c57b(_0x16c52a,_0x29f86a);}},_0x181dda=await getTaskId(_0x59e28d[_0x5c603c(0x24b)],_0x59e28d['taskI'+'d'],_0x59e28d[_0x5c603c(0x28f)+_0x5c603c(0x388)],_0x59e28d[_0x5c603c(0x2c6)+'ame'],undefined,!![],_0x400124);if(!_0x181dda)return sponsorService[_0x5c603c(0x1c2)+_0x5c603c(0x223)+_0x5c603c(0x2f9)+'onse'](_0xffff87['COLSS']);const _0x21735a=_0x59e28d[_0x5c603c(0x1ef)+_0x5c603c(0x311)]||_0x59e28d[_0x5c603c(0x1ef)+_0x5c603c(0x29f)],_0x54edd0=_0x21735a?parseDueDate(_0xffff87['laUhr'](String,_0x21735a),undefined,_0x400124['timez'+_0x5c603c(0x309)]):undefined;if(!_0x54edd0)return sponsorService[_0x5c603c(0x1c2)+_0x5c603c(0x223)+_0x5c603c(0x2f9)+_0x5c603c(0x18f)](_0x5c603c(0x30d)+_0x5c603c(0x24c)+_0x5c603c(0x1a4)+_0x5c603c(0x266)+'ormat'+'.');const _0x1ece22=_0xffff87['laUhr'](parseDuration,_0x59e28d[_0x5c603c(0x367)+'ion']);if(!_0x1ece22)return sponsorService[_0x5c603c(0x1c2)+'eErro'+'rResp'+_0x5c603c(0x18f)](_0xffff87[_0x5c603c(0x24a)]);const _0x46e392=await _0x400124[_0x5c603c(0x263)+'racki'+'ng'][_0x5c603c(0x27b)+_0x5c603c(0x2cb)+'ry']({'tid':_0x181dda,'start':_0x54edd0,'duration':_0x1ece22,'description':_0x59e28d[_0x5c603c(0x329)+_0x5c603c(0x20a)+'n'],'billable':_0x59e28d['billa'+'ble'],'tags':_0x59e28d['tags']});if(!_0x46e392[_0x5c603c(0x1b8)+'ss'])return sponsorService[_0x5c603c(0x1c2)+_0x5c603c(0x223)+'rResp'+'onse'](_0x46e392['error']?.['messa'+'ge']||_0xffff87[_0x5c603c(0x314)]);return sponsorService['creat'+_0x5c603c(0x268)+_0x5c603c(0x18f)]({'success':!![],'time_entry':_0xffff87[_0x5c603c(0x355)](formatEntry,_0x46e392[_0x5c603c(0x276)],_0x400124[_0x5c603c(0x2c4)+_0x5c603c(0x309)])},!![]);}async function handleUpdateEntry(_0x3da8a5,_0x2256d7){const _0x106008=a0_0x513d30,_0x28601b={'ZCAfX':function(_0x5f2049,_0xcc1f8,_0x45c0c1,_0x5a05c5,_0x4daa7c,_0x1663ae,_0x531108,_0x5a245e){return _0x5f2049(_0xcc1f8,_0x45c0c1,_0x5a05c5,_0x4daa7c,_0x1663ae,_0x531108,_0x5a245e);},'RARzY':function(_0x1d5734,_0x453ede){return _0x1d5734(_0x453ede);},'tbRYf':'Faile'+_0x106008(0x1b4)+'updat'+_0x106008(0x325)+'ry'};if(!_0x3da8a5['timer'+_0x106008(0x30b)])return sponsorService[_0x106008(0x1c2)+_0x106008(0x223)+_0x106008(0x2f9)+'onse']('timer'+_0x106008(0x1ed)+_0x106008(0x21c)+'ed');let _0x4e68a7;(_0x3da8a5['task']||_0x3da8a5[_0x106008(0x244)+'d']||_0x3da8a5[_0x106008(0x28f)+_0x106008(0x388)])&&(_0x4e68a7=await _0x28601b[_0x106008(0x234)](getTaskId,_0x3da8a5[_0x106008(0x24b)],_0x3da8a5[_0x106008(0x244)+'d'],_0x3da8a5[_0x106008(0x28f)+_0x106008(0x388)],_0x3da8a5[_0x106008(0x2c6)+'ame'],undefined,![],_0x2256d7));const _0x25f99c=_0x3da8a5[_0x106008(0x1ef)+_0x106008(0x311)]||_0x3da8a5[_0x106008(0x1ef)+_0x106008(0x29f)],_0x3bcb31=_0x3da8a5[_0x106008(0x19c)+_0x106008(0x341)]||_0x3da8a5[_0x106008(0x2e5)+'te'],_0x2c86ac=_0x25f99c?parseDueDate(_0x28601b[_0x106008(0x26b)](String,_0x25f99c),undefined,_0x2256d7[_0x106008(0x2c4)+_0x106008(0x309)]):undefined,_0x7a9d=_0x3bcb31?parseDueDate(String(_0x3bcb31),undefined,_0x2256d7[_0x106008(0x2c4)+_0x106008(0x309)]):undefined,_0x4f8ce6=_0x28601b['RARzY'](parseDuration,_0x3da8a5[_0x106008(0x367)+_0x106008(0x29c)]),_0x199c05={'tid':_0x4e68a7,'start':_0x2c86ac,'end':_0x7a9d,'duration':_0x4f8ce6||undefined,'description':_0x3da8a5['descr'+'iptio'+'n'],'billable':_0x3da8a5[_0x106008(0x1b0)+_0x106008(0x1e6)]};_0x3da8a5[_0x106008(0x32e)]&&Array[_0x106008(0x319)+'ay'](_0x3da8a5[_0x106008(0x32e)])&&(_0x199c05[_0x106008(0x32e)]=_0x3da8a5[_0x106008(0x32e)][_0x106008(0x275)](_0x1aceb5=>typeof _0x1aceb5===_0x106008(0x299)+'g'?{'name':_0x1aceb5}:_0x1aceb5));const _0x2a19d0=await _0x2256d7[_0x106008(0x263)+_0x106008(0x19b)+'ng']['updat'+_0x106008(0x251)+_0x106008(0x192)](_0x3da8a5[_0x106008(0x1f9)+_0x106008(0x30b)],_0x199c05);if(!_0x2a19d0['succe'+'ss'])return sponsorService[_0x106008(0x1c2)+'eErro'+_0x106008(0x2f9)+_0x106008(0x18f)](_0x2a19d0[_0x106008(0x2df)]?.[_0x106008(0x25e)+'ge']||_0x28601b['tbRYf']);return sponsorService[_0x106008(0x1c2)+_0x106008(0x268)+_0x106008(0x18f)]({'success':!![],'time_entry':formatEntry(_0x2a19d0[_0x106008(0x276)],_0x2256d7[_0x106008(0x2c4)+_0x106008(0x309)])},!![]);}async function handleDeleteEntry(_0x28789f,_0x451b40){const _0x3a3f2d=a0_0x513d30,_0x293129={'thfNN':'timer'+_0x3a3f2d(0x1ed)+'equir'+'ed'};if(!_0x28789f[_0x3a3f2d(0x1f9)+_0x3a3f2d(0x30b)])return sponsorService[_0x3a3f2d(0x1c2)+_0x3a3f2d(0x223)+_0x3a3f2d(0x2f9)+_0x3a3f2d(0x18f)](_0x293129[_0x3a3f2d(0x1f5)]);const _0x49c706=await _0x451b40[_0x3a3f2d(0x263)+'racki'+'ng'][_0x3a3f2d(0x18b)+_0x3a3f2d(0x251)+_0x3a3f2d(0x192)](_0x28789f['timer'+'_id']);if(!_0x49c706[_0x3a3f2d(0x1b8)+'ss'])return sponsorService[_0x3a3f2d(0x1c2)+_0x3a3f2d(0x223)+_0x3a3f2d(0x2f9)+_0x3a3f2d(0x18f)](_0x49c706[_0x3a3f2d(0x2df)]?.[_0x3a3f2d(0x25e)+'ge']||_0x3a3f2d(0x1a1)+_0x3a3f2d(0x1b4)+_0x3a3f2d(0x18b)+_0x3a3f2d(0x325)+'ry');return sponsorService['creat'+'eResp'+_0x3a3f2d(0x18f)]({'success':!![],'message':_0x3a3f2d(0x1c4)+_0x3a3f2d(0x200)+'ccess'+_0x3a3f2d(0x334)},!![]);}async function handleGetTags(_0x330af1,_0x7d5d79){const _0x298f81=a0_0x513d30,_0x2a87b7={'ewgGV':_0x298f81(0x1a1)+_0x298f81(0x1b4)+_0x298f81(0x18a)+_0x298f81(0x31f)},_0x1f5a52=await _0x7d5d79[_0x298f81(0x263)+_0x298f81(0x19b)+'ng']['getTi'+_0x298f81(0x2cb)+_0x298f81(0x27f)+'s']();if(!_0x1f5a52[_0x298f81(0x1b8)+'ss'])return sponsorService['creat'+_0x298f81(0x223)+_0x298f81(0x2f9)+'onse'](_0x1f5a52[_0x298f81(0x2df)]?.['messa'+'ge']||_0x2a87b7['ewgGV']);return sponsorService[_0x298f81(0x1c2)+_0x298f81(0x268)+'onse']({'success':!![],'tags':_0x1f5a52[_0x298f81(0x276)]},!![]);}async function handleAddTags(_0x47b146,_0x1563f2){const _0x2639e6=a0_0x513d30,_0x5c927f={'fEaDq':_0x2639e6(0x1f9)+_0x2639e6(0x25f)+_0x2639e6(0x343)+_0x2639e6(0x349)+_0x2639e6(0x31d)+'d','SIDtX':_0x2639e6(0x1a1)+_0x2639e6(0x1b4)+'add\x20t'+'ags'};if(!_0x47b146[_0x2639e6(0x1f9)+_0x2639e6(0x30b)]||!_0x47b146[_0x2639e6(0x1e1)])return sponsorService[_0x2639e6(0x1c2)+_0x2639e6(0x223)+'rResp'+_0x2639e6(0x18f)](_0x5c927f['fEaDq']);const _0x8436bf=await _0x1563f2[_0x2639e6(0x263)+_0x2639e6(0x19b)+'ng'][_0x2639e6(0x27b)+_0x2639e6(0x2cb)+'ryTag'+'s']({'time_entry_ids':[_0x47b146[_0x2639e6(0x1f9)+'_id']],'tags':[{'name':_0x47b146[_0x2639e6(0x1e1)]}]});if(!_0x8436bf[_0x2639e6(0x1b8)+'ss'])return sponsorService[_0x2639e6(0x1c2)+_0x2639e6(0x223)+'rResp'+_0x2639e6(0x18f)](_0x8436bf[_0x2639e6(0x2df)]?.[_0x2639e6(0x25e)+'ge']||_0x5c927f['SIDtX']);return sponsorService[_0x2639e6(0x1c2)+_0x2639e6(0x268)+_0x2639e6(0x18f)]({'success':!![],'message':_0x2639e6(0x37f)+'appli'+_0x2639e6(0x200)+'ccess'+_0x2639e6(0x334)},!![]);}async function handleUpdateTags(_0x31c571,_0x262fe9){const _0x2d19f5=a0_0x513d30,_0x519760={'MvGjm':_0x2d19f5(0x240)+_0x2d19f5(0x2a5)+_0x2d19f5(0x33a)+_0x2d19f5(0x349)+_0x2d19f5(0x31d)+'d','Eeasf':_0x2d19f5(0x1d0)+'00'};if(!_0x31c571['name']||!_0x31c571[_0x2d19f5(0x2b0)+_0x2d19f5(0x388)])return sponsorService[_0x2d19f5(0x1c2)+_0x2d19f5(0x223)+'rResp'+_0x2d19f5(0x18f)](_0x519760[_0x2d19f5(0x2e3)]);const _0x193759=await _0x262fe9[_0x2d19f5(0x263)+_0x2d19f5(0x19b)+'ng'][_0x2d19f5(0x2c1)+_0x2d19f5(0x251)+'Entry'+_0x2d19f5(0x35d)]({'name':_0x31c571[_0x2d19f5(0x1e1)],'new_name':_0x31c571[_0x2d19f5(0x2b0)+'ame'],'tag_bg':_0x31c571[_0x2d19f5(0x33d)+'g']||_0x519760[_0x2d19f5(0x333)],'tag_fg':_0x31c571[_0x2d19f5(0x1b6)+'g']||_0x2d19f5(0x253)+'FF'});if(!_0x193759[_0x2d19f5(0x1b8)+'ss'])return sponsorService['creat'+_0x2d19f5(0x223)+_0x2d19f5(0x2f9)+_0x2d19f5(0x18f)](_0x193759[_0x2d19f5(0x2df)]?.[_0x2d19f5(0x25e)+'ge']||_0x2d19f5(0x1a1)+_0x2d19f5(0x1b4)+_0x2d19f5(0x2c1)+_0x2d19f5(0x2db)+'s');return sponsorService[_0x2d19f5(0x1c2)+'eResp'+_0x2d19f5(0x18f)]({'success':!![],'message':'Tag\x20u'+_0x2d19f5(0x2ca)+_0x2d19f5(0x370)+_0x2d19f5(0x1aa)+_0x2d19f5(0x23e)+'ace'},!![]);}async function handleDeleteTags(_0x36cc65,_0x43d02f){const _0x5e6157=a0_0x513d30,_0x589bbd={'jtjwx':_0x5e6157(0x1a1)+'d\x20to\x20'+_0x5e6157(0x18b)+'e\x20tag'+'s','Tzdwo':'Tag\x20r'+_0x5e6157(0x37b)+_0x5e6157(0x23f)+_0x5e6157(0x1b1)+_0x5e6157(0x325)+'ry'};if(!_0x36cc65[_0x5e6157(0x1f9)+_0x5e6157(0x30b)]||!_0x36cc65[_0x5e6157(0x1e1)])return sponsorService[_0x5e6157(0x1c2)+_0x5e6157(0x223)+_0x5e6157(0x2f9)+_0x5e6157(0x18f)](_0x5e6157(0x1f9)+_0x5e6157(0x25f)+'nd\x20na'+_0x5e6157(0x349)+_0x5e6157(0x31d)+'d');const _0x3d2ee6=await _0x43d02f[_0x5e6157(0x263)+_0x5e6157(0x19b)+'ng'][_0x5e6157(0x18b)+_0x5e6157(0x251)+_0x5e6157(0x192)+_0x5e6157(0x35d)]({'time_entry_ids':[_0x36cc65[_0x5e6157(0x1f9)+_0x5e6157(0x30b)]],'tags':[{'name':_0x36cc65[_0x5e6157(0x1e1)]}]});if(!_0x3d2ee6[_0x5e6157(0x1b8)+'ss'])return sponsorService['creat'+_0x5e6157(0x223)+_0x5e6157(0x2f9)+_0x5e6157(0x18f)](_0x3d2ee6[_0x5e6157(0x2df)]?.[_0x5e6157(0x25e)+'ge']||_0x589bbd[_0x5e6157(0x287)]);return sponsorService[_0x5e6157(0x1c2)+_0x5e6157(0x268)+'onse']({'success':!![],'message':_0x589bbd[_0x5e6157(0x340)]},!![]);}async function handleGetHistory(_0x10f944,_0x59b5d8){const _0x1d716a=a0_0x513d30,_0x51d4d0={'LyRlo':_0x1d716a(0x1a1)+_0x1d716a(0x1b4)+'get\x20h'+'istor'+'y'};if(!_0x10f944[_0x1d716a(0x1f9)+_0x1d716a(0x30b)])return sponsorService[_0x1d716a(0x1c2)+_0x1d716a(0x223)+_0x1d716a(0x2f9)+_0x1d716a(0x18f)](_0x1d716a(0x1f9)+'_id\x20r'+'equir'+'ed');const _0x4e0358=await _0x59b5d8['timeT'+_0x1d716a(0x19b)+'ng'][_0x1d716a(0x245)+'meEnt'+_0x1d716a(0x2d0)+_0x1d716a(0x385)](_0x10f944[_0x1d716a(0x1f9)+'_id']);if(!_0x4e0358[_0x1d716a(0x1b8)+'ss'])return sponsorService[_0x1d716a(0x1c2)+_0x1d716a(0x223)+_0x1d716a(0x2f9)+'onse'](_0x4e0358['error']?.[_0x1d716a(0x25e)+'ge']||_0x51d4d0[_0x1d716a(0x1b9)]);return sponsorService[_0x1d716a(0x1c2)+'eResp'+'onse']({'success':!![],'history':_0x4e0358['data']},!![]);}async function handleGetBulkTimeInStatus(_0xfcf09f,_0x49cbc7){const _0x302041=a0_0x513d30,_0x216e2c={'ucwUH':_0x302041(0x286)+_0x302041(0x1f3)+_0x302041(0x2ef)+_0x302041(0x2ff)+_0x302041(0x31d)+'d\x20for'+_0x302041(0x212)+_0x302041(0x356)+_0x302041(0x1a8)+_0x302041(0x2a2)+'atus'},{task:_0x229c3c}=_0x49cbc7,_0x557bbd=_0xfcf09f[_0x302041(0x286)+_0x302041(0x2fd)];if(!_0x557bbd||!Array[_0x302041(0x319)+'ay'](_0x557bbd)||_0x557bbd['lengt'+'h']===0x0)return sponsorService[_0x302041(0x1c2)+'eErro'+_0x302041(0x2f9)+'onse'](_0x216e2c[_0x302041(0x2e8)]);const _0x45b7e1=await _0x229c3c[_0x302041(0x267)+_0x302041(0x20d)+_0x302041(0x196)+'InSta'+_0x302041(0x369)](_0x557bbd,_0xfcf09f[_0x302041(0x226)+_0x302041(0x219)+'k_ids']),_0x1909bc={};for(const [_0x1eb618,_0x55d705]of Object[_0x302041(0x1ca)+'es'](_0x45b7e1)){const _0x443d42=_0x55d705?.[_0x302041(0x2b1)+_0x302041(0x18c)]||_0x55d705||[];Array['isArr'+'ay'](_0x443d42)?_0x1909bc[_0x1eb618]=_0x443d42[_0x302041(0x275)](_0x256a44=>({'status':_0x256a44['statu'+'s']?.['statu'+'s']||_0x256a44[_0x302041(0x2b1)+'s']||_0x302041(0x2b9)+'wn','total_time':_0x256a44['total'+_0x302041(0x311)]?.[_0x302041(0x2fe)+'nute']||_0x256a44[_0x302041(0x330)+_0x302041(0x311)]||0x0})):_0x1909bc[_0x1eb618]=Object['keys'](_0x443d42)[_0x302041(0x275)](_0x25d1d7=>({'status':_0x25d1d7,'total_time':_0x443d42[_0x25d1d7]?.[_0x302041(0x330)+_0x302041(0x311)]?.[_0x302041(0x2fe)+_0x302041(0x1f6)]||_0x443d42[_0x25d1d7]||0x0}));}return sponsorService[_0x302041(0x1c2)+_0x302041(0x268)+'onse']({'success':!![],'time_in_status':_0x1909bc});}function formatEntry(_0x5dc059,_0x416778){const _0x2a9ab8=a0_0x513d30,_0x2e650f={'XLcSw':function(_0x44cf9f,_0x25eb52,_0x2961a1){return _0x44cf9f(_0x25eb52,_0x2961a1);},'SeWWT':function(_0x38dd4a,_0x25da51){return _0x38dd4a(_0x25da51);}};return{'id':_0x5dc059['id'],'description':_0x5dc059['descr'+'iptio'+'n']||'','start':_0x5dc059[_0x2a9ab8(0x1ef)],'start_time':_0x5dc059['start']?formatDueDate(Number(_0x5dc059[_0x2a9ab8(0x1ef)]),_0x416778):undefined,'end':_0x5dc059['end'],'end_time':_0x5dc059['end']?_0x2e650f[_0x2a9ab8(0x1a0)](formatDueDate,Number(_0x5dc059['end']),_0x416778):undefined,'timezone':_0x416778,'duration':_0x2e650f[_0x2a9ab8(0x255)](formatDuration,_0x5dc059['durat'+_0x2a9ab8(0x29c)]||0x0),'duration_ms':_0x5dc059[_0x2a9ab8(0x367)+_0x2a9ab8(0x29c)]||0x0,'billable':_0x5dc059[_0x2a9ab8(0x1b0)+_0x2a9ab8(0x1e6)]||![],'tags':_0x5dc059[_0x2a9ab8(0x32e)]||[],'user':_0x5dc059['user']?{'id':_0x5dc059[_0x2a9ab8(0x338)]['id'],'username':_0x5dc059[_0x2a9ab8(0x338)][_0x2a9ab8(0x260)+_0x2a9ab8(0x388)]}:null,'task':_0x5dc059[_0x2a9ab8(0x24b)]?{'id':_0x5dc059[_0x2a9ab8(0x24b)]['id'],'name':_0x5dc059[_0x2a9ab8(0x24b)]['name'],'status':_0x5dc059[_0x2a9ab8(0x24b)][_0x2a9ab8(0x2b1)+'s']?.[_0x2a9ab8(0x2b1)+'s']}:null,'task_location':_0x5dc059[_0x2a9ab8(0x286)+_0x2a9ab8(0x21d)+'ion']||undefined};}function calculateElapsedTime(_0x48dc3a){const _0x2aaf6e=a0_0x513d30,_0x5d8eb3=new Date(_0x48dc3a)[_0x2aaf6e(0x245)+'me']();return Math[_0x2aaf6e(0x1c9)](0x0,Date[_0x2aaf6e(0x1d5)]()-_0x5d8eb3);}function formatDuration(_0x3ee5cc){const _0x540408=a0_0x513d30,_0x5eef3a={'GFUqh':function(_0x4dae52,_0x10f767){return _0x4dae52/_0x10f767;},'NvAkO':function(_0x2562e4,_0xb0852a){return _0x2562e4%_0xb0852a;},'SMZvV':function(_0x487578,_0x385b52){return _0x487578===_0x385b52;}};if(!_0x3ee5cc)return'0m';const _0x4ccd42=Math['floor'](_0x3ee5cc/0x3e8),_0x2b51e2=Math[_0x540408(0x227)](_0x4ccd42/0x3c),_0xbe6c4c=Math[_0x540408(0x227)](_0x5eef3a['GFUqh'](_0x2b51e2,0x3c)),_0x58090a=_0x5eef3a[_0x540408(0x2b5)](_0x2b51e2,0x3c);if(_0x5eef3a[_0x540408(0x360)](_0xbe6c4c,0x0))return _0x58090a+'m';else{if(_0x5eef3a[_0x540408(0x360)](_0x58090a,0x0))return _0xbe6c4c+'h';else return _0xbe6c4c+'h\x20'+_0x58090a+'m';}}function parseDuration(_0x4934b4){const _0x3cce73=a0_0x513d30,_0x6e9ee={'aUgfk':function(_0x9a2698,_0x109b1e){return _0x9a2698*_0x109b1e;},'EIZMf':function(_0x2f0ab0,_0x13d4d2,_0x184453){return _0x2f0ab0(_0x13d4d2,_0x184453);},'MSMTP':function(_0x47e221,_0xdfd4b4){return _0x47e221+_0xdfd4b4;},'jcCtI':function(_0x1fcd5e,_0x185b62){return _0x1fcd5e(_0x185b62);},'dzpaj':function(_0x2893a3,_0x4b5f22){return _0x2893a3*_0x4b5f22;}};if(!_0x4934b4)return 0x0;const _0x44bfdf=_0x4934b4[_0x3cce73(0x228)]()[_0x3cce73(0x384)+_0x3cce73(0x1df)+'e']()[_0x3cce73(0x2b4)+'ce'](/\s+/g,'\x20');if(/^\d+m$/[_0x3cce73(0x1cc)](_0x44bfdf))return _0x6e9ee['aUgfk'](_0x6e9ee[_0x3cce73(0x1bd)](parseInt,_0x44bfdf[_0x3cce73(0x2b4)+'ce']('m',''),0xa),0x3c)*0x3e8;if(/^\d+h$/['test'](_0x44bfdf))return _0x6e9ee['EIZMf'](parseInt,_0x44bfdf['repla'+'ce']('h',''),0xa)*0x3c*0x3c*0x3e8;const _0x18c546=_0x44bfdf['match'](/^(\d+)h\s*(?:(\d+)m)?$|^(?:(\d+)h\s*)?(\d+)m$/);if(_0x18c546){const _0x56a145=_0x6e9ee[_0x3cce73(0x1bd)](parseInt,_0x18c546[0x1]||_0x18c546[0x3]||'0',0xa),_0x55d6d0=parseInt(_0x18c546[0x2]||_0x18c546[0x4]||'0',0xa);return _0x6e9ee[_0x3cce73(0x22a)](_0x6e9ee[_0x3cce73(0x210)](_0x56a145*0xe10,_0x6e9ee[_0x3cce73(0x22a)](_0x55d6d0,0x3c)),0x3e8);}const _0x1afe34=parseInt(_0x44bfdf,0xa);if(!_0x6e9ee[_0x3cce73(0x186)](isNaN,_0x1afe34))return _0x6e9ee[_0x3cce73(0x30c)](_0x1afe34,0x3c)*0x3e8;return 0x0;}
@@ -1 +1 @@
1
- const a0_0x8ffcb5=a0_0x5d96;(function(_0x47b209,_0xc50bc4){const _0x372fd8=a0_0x5d96,_0x23ecad=_0x47b209();while(!![]){try{const _0x5a3bbe=-parseInt(_0x372fd8(0x17b))/0x1+parseInt(_0x372fd8(0x15a))/0x2+parseInt(_0x372fd8(0x1da))/0x3+-parseInt(_0x372fd8(0x196))/0x4+-parseInt(_0x372fd8(0x17e))/0x5*(-parseInt(_0x372fd8(0x1ac))/0x6)+-parseInt(_0x372fd8(0x166))/0x7*(-parseInt(_0x372fd8(0x19e))/0x8)+-parseInt(_0x372fd8(0x1f8))/0x9;if(_0x5a3bbe===_0xc50bc4)break;else _0x23ecad['push'](_0x23ecad['shift']());}catch(_0x2cfa1a){_0x23ecad['push'](_0x23ecad['shift']());}}}(a0_0x4e0b,0x7f4f9));import{sponsorService}from'../utils/sponsor-service.js';export const listUserGroupsTool={'name':'list_'+a0_0x8ffcb5(0x21c)+a0_0x8ffcb5(0x1b9)+'s','description':a0_0x8ffcb5(0x168)+a0_0x8ffcb5(0x174)+'ser\x20g'+a0_0x8ffcb5(0x179)+a0_0x8ffcb5(0x186)+a0_0x8ffcb5(0x1b6)+a0_0x8ffcb5(0x1ce)+a0_0x8ffcb5(0x19c),'annotations':{'title':a0_0x8ffcb5(0x168)+'User\x20'+a0_0x8ffcb5(0x213)+'s','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{}}};export const createUserGroupTool={'name':a0_0x8ffcb5(0x207)+'e_use'+a0_0x8ffcb5(0x223)+'up','description':a0_0x8ffcb5(0x1cf)+a0_0x8ffcb5(0x16d)+a0_0x8ffcb5(0x163)+a0_0x8ffcb5(0x1fe)+'oup.\x20'+a0_0x8ffcb5(0x1ae)+'res\x20g'+a0_0x8ffcb5(0x1f4)+a0_0x8ffcb5(0x17f)+'and\x20m'+'ember'+a0_0x8ffcb5(0x1b5),'annotations':{'title':a0_0x8ffcb5(0x1cf)+a0_0x8ffcb5(0x212)+a0_0x8ffcb5(0x18b)+'up','openWorldHint':!![]},'inputSchema':{'type':a0_0x8ffcb5(0x1b7)+'t','properties':{'group_name':{'type':a0_0x8ffcb5(0x1dd)+'g','description':a0_0x8ffcb5(0x213)+'\x20name'+a0_0x8ffcb5(0x18a)+a0_0x8ffcb5(0x211)+'.'},'member_ids':{'type':a0_0x8ffcb5(0x182),'items':{'type':a0_0x8ffcb5(0x1a8)+'er'},'description':a0_0x8ffcb5(0x1ea)+'IDs\x20t'+a0_0x8ffcb5(0x1e4)+'\x20as\x20i'+'nitia'+'l\x20mem'+a0_0x8ffcb5(0x18c)+a0_0x8ffcb5(0x1f2)+a0_0x8ffcb5(0x169)}},'required':[a0_0x8ffcb5(0x1b9)+a0_0x8ffcb5(0x1c2),a0_0x8ffcb5(0x1b1)+a0_0x8ffcb5(0x1f3)]}};function a0_0x4e0b(){const _0x42bc3c=['yMvYCY4','BMuGB2y','CNjPzgu','CxvPCMu','yxrLjYa','zsWGj2m','CM06icC','y2TvCca','BwfUywC','zgvSzxq','mtK3nZKXnMrquurYsq','B3vWCYa','zv91C2u','B3iGBwu','BwuPlG','rcbVDMu','y2uU','surZihq','mtztuePgEMi','icD1Cgq','zwf0zsW','y3rPB24','DgLVBNm','CIbPBIa','C3nMDwW','zM9YicC','zxf1Axi','zsb3B3i','Aw50zwC','yxKGB2y','BgLZDa','DxaNCYa','mtaZoenpDwTjqW','zwf0zsC','uMvXDwK','qwn0Aw8','CIbJCMu','BwvTyMu','CM91Cca','lcaNy3i','igfZigK','x2LKCY4','AguGD28','B2jQzwm','CM91Cc4','z3jVDxa','oIbSAxm','ihrVige','ieLelIa','CMvT','DcWGy3i','zsbHihu','yxrLige','z2v0vxm','x25HBwu','C3LOAfi','zsWGBwu','zvvZzxi','BwjLCNm','qxqGBgu','x2LKlG','x2LK','DxbKyxq','CLjLC3a','zsbVCIa','CgrHDgu','CMTZCge','q3jLyxq','B25Zzq','x3rVx2e','Cf9Uyw0','BgvUz3q','lcbVCIa','DxbZ','B3iGj3u','CgvYzM8','CIaNDxa','BYbHzgq','mtqXnZiYnfP4wvDUzG','zuvYCM8','BcbTzw0','C3rYAw4','Bw92zsa','BYbYzw0','igLZihi','BML0Awe','zwXLDgu','CMvZigC','BYbZzxq','vw5RBM8','DxbFAwq','igzVCIa','zcb0BYa','AwqPlca','vxnLCIa','zvjLC3a','B3zLigy','A3nWywm','jYbHigC','zwqGzM8','CYbYzxe','ysbNCM8','ifjLCxu','CL9Pzhm','CM91Cf8','z0jwzNu','C2vYigC','CYbUyw0','ndiXmtGWmMPVvM5Asa','CIbNCM8','zgf0zsC','DguNlG','twfUywC','Aw4GDgG','zxiGz3i','icHHCNi','CM91CcC','icDKzwW','Aw9U','t3b0Aw8','jYaODg8','zwfTieK','BIbLEgK','y3jLyxq','CcaOCMu','C3vJy2u','AxjLCYa','CNnOAxa','CMvXDwK','ywrK','qvnSyuy','DxnLCIa','BMfTzs4','DwLYzwq','zsbvC2u','r3jVDxa','vxbKyxq','B3jRC3a','yxrLzca','AxnbCNi','C3qNige','DgvKihm','DxnLCKC','AxmGCMu','DxnLCL8','x2LKigK','vw5LEha','zgqSig8','BMfTzq','ig5HBwu','CM9Tige','CL9NCM8','BhKGkeK','igvYCM8','AfPtq3a','mty2ntK3ogjVANbhCq','BMfSigy','lcaNDxa','zxjhCM8','zcbMB3i','CIbTzw0','j2nYzwe','Cf9Pzc4','DgLVBJO','zxCGDxm','AgLWicG','CM91Ca','mte1mZiYmMPizg9xAW','Cc4GrM8','tgLZDca','AxjLzc4','Dg9FCMu','zsb1C2u','DguSigq','zsbHig4','C2z1BgW','zgf0yq','DwnJzxm','lIbwywW','igDYB3u','zsbdBgK','ywXSihu','DguNoYa','Ew9Os0e','rMfPBgu','oIaNBgK','CM91Chm','zsCU','mJK4mtKWq2vXBuTI','BwvZC2e','CMvHDgu','ndi1nxjKyNbJta','BMfTzsa','CMvKlG','BgLZDcC','yxjYyxK','tKXdq3K','zxjYB3i','D0rPteC','igLUihq','tMv3igC','CY4Gqwm','BMfSihC','lIbszxe','CIbhCM8'];a0_0x4e0b=function(){return _0x42bc3c;};return a0_0x4e0b();}export const updateUserGroupTool={'name':a0_0x8ffcb5(0x1ca)+a0_0x8ffcb5(0x198)+a0_0x8ffcb5(0x223)+'up','description':a0_0x8ffcb5(0x214)+a0_0x8ffcb5(0x1bf)+a0_0x8ffcb5(0x1f6)+a0_0x8ffcb5(0x200)+a0_0x8ffcb5(0x1f7)+a0_0x8ffcb5(0x1cc)+'membe'+a0_0x8ffcb5(0x20b)+a0_0x8ffcb5(0x18a)+'uires'+'\x20grou'+a0_0x8ffcb5(0x161),'annotations':{'title':a0_0x8ffcb5(0x214)+a0_0x8ffcb5(0x212)+a0_0x8ffcb5(0x18b)+'up','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'group_id':{'type':a0_0x8ffcb5(0x1dd)+'g','description':a0_0x8ffcb5(0x213)+a0_0x8ffcb5(0x1bc)+a0_0x8ffcb5(0x1ae)+a0_0x8ffcb5(0x180)},'group_name':{'type':'strin'+'g','description':a0_0x8ffcb5(0x187)+a0_0x8ffcb5(0x1b2)+a0_0x8ffcb5(0x210)},'members_to_add':{'type':'array','items':{'type':a0_0x8ffcb5(0x1a8)+'er'},'description':a0_0x8ffcb5(0x1ea)+a0_0x8ffcb5(0x19d)+'o\x20add'+'.'},'members_to_remove':{'type':a0_0x8ffcb5(0x182),'items':{'type':a0_0x8ffcb5(0x1a8)+'er'},'description':a0_0x8ffcb5(0x1ea)+'IDs\x20t'+a0_0x8ffcb5(0x1df)+'ove.'}},'required':[a0_0x8ffcb5(0x1b9)+a0_0x8ffcb5(0x1c9)]}};function a0_0x5d96(_0x200276,_0x285069){_0x200276=_0x200276-0x158;const _0x4e0b2c=a0_0x4e0b();let _0x5d9672=_0x4e0b2c[_0x200276];if(a0_0x5d96['HKSINL']===undefined){var _0xf1d688=function(_0x5ef66b){const _0x26a413='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5c2b12='',_0x1b57fd='';for(let _0x3cf10b=0x0,_0x5b9104,_0x192be6,_0x3b0b83=0x0;_0x192be6=_0x5ef66b['charAt'](_0x3b0b83++);~_0x192be6&&(_0x5b9104=_0x3cf10b%0x4?_0x5b9104*0x40+_0x192be6:_0x192be6,_0x3cf10b++%0x4)?_0x5c2b12+=String['fromCharCode'](0xff&_0x5b9104>>(-0x2*_0x3cf10b&0x6)):0x0){_0x192be6=_0x26a413['indexOf'](_0x192be6);}for(let _0x4614e1=0x0,_0x4a9f69=_0x5c2b12['length'];_0x4614e1<_0x4a9f69;_0x4614e1++){_0x1b57fd+='%'+('00'+_0x5c2b12['charCodeAt'](_0x4614e1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b57fd);};a0_0x5d96['kqZWTY']=_0xf1d688,a0_0x5d96['FlDFLS']={},a0_0x5d96['HKSINL']=!![];}const _0x57905d=_0x4e0b2c[0x0],_0x3570ae=_0x200276+_0x57905d,_0x4783b3=a0_0x5d96['FlDFLS'][_0x3570ae];return!_0x4783b3?(_0x5d9672=a0_0x5d96['kqZWTY'](_0x5d9672),a0_0x5d96['FlDFLS'][_0x3570ae]=_0x5d9672):_0x5d9672=_0x4783b3,_0x5d9672;}export const deleteUserGroupTool={'name':a0_0x8ffcb5(0x195)+a0_0x8ffcb5(0x198)+a0_0x8ffcb5(0x223)+'up','description':'Delet'+a0_0x8ffcb5(0x1bf)+a0_0x8ffcb5(0x1f6)+a0_0x8ffcb5(0x1b8)+a0_0x8ffcb5(0x1f2)+'ires\x20'+a0_0x8ffcb5(0x1b9)+a0_0x8ffcb5(0x1c8),'annotations':{'title':'Delet'+'e\x20Use'+'r\x20Gro'+'up','openWorldHint':!![]},'inputSchema':{'type':a0_0x8ffcb5(0x1b7)+'t','properties':{'group_id':{'type':a0_0x8ffcb5(0x1dd)+'g','description':a0_0x8ffcb5(0x213)+a0_0x8ffcb5(0x1bc)+a0_0x8ffcb5(0x1ae)+'red.'}},'required':[a0_0x8ffcb5(0x1b9)+a0_0x8ffcb5(0x1c9)]}};export const manageUserGroupsTool={'name':a0_0x8ffcb5(0x194)+a0_0x8ffcb5(0x198)+a0_0x8ffcb5(0x223)+'ups','description':a0_0x8ffcb5(0x1fc)+a0_0x8ffcb5(0x173)+a0_0x8ffcb5(0x193)+a0_0x8ffcb5(0x20f)+a0_0x8ffcb5(0x1b9)+a0_0x8ffcb5(0x188)+a0_0x8ffcb5(0x1a2)+a0_0x8ffcb5(0x178)+a0_0x8ffcb5(0x218)+'ll\x20gr'+a0_0x8ffcb5(0x197)+a0_0x8ffcb5(0x1fd)+a0_0x8ffcb5(0x1a7)+a0_0x8ffcb5(0x1ed)+a0_0x8ffcb5(0x191)+a0_0x8ffcb5(0x17d)+a0_0x8ffcb5(0x1ee)+a0_0x8ffcb5(0x1b2)+'(requ'+a0_0x8ffcb5(0x20a)+'group'+'_name'+'\x20+\x20me'+'mber_'+'ids),'+a0_0x8ffcb5(0x19f)+a0_0x8ffcb5(0x190)+a0_0x8ffcb5(0x1f1)+a0_0x8ffcb5(0x1ab)+a0_0x8ffcb5(0x17f)+a0_0x8ffcb5(0x199)+a0_0x8ffcb5(0x1c6)+a0_0x8ffcb5(0x164)+a0_0x8ffcb5(0x20c)+a0_0x8ffcb5(0x1e3)+a0_0x8ffcb5(0x1f4)+a0_0x8ffcb5(0x1e9)+'\x27dele'+'te\x27\x20a'+'\x20grou'+a0_0x8ffcb5(0x208)+'quire'+'s\x20gro'+a0_0x8ffcb5(0x1e6)+').','annotations':{'title':a0_0x8ffcb5(0x1fc)+'e\x20Use'+a0_0x8ffcb5(0x18b)+'ups','openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':a0_0x8ffcb5(0x1b7)+'t','properties':{'action':{'type':a0_0x8ffcb5(0x1dd)+'g','description':a0_0x8ffcb5(0x1af)+'n\x20to\x20'+a0_0x8ffcb5(0x1d7)+a0_0x8ffcb5(0x192)+a0_0x8ffcb5(0x181)+a0_0x8ffcb5(0x1b3)+a0_0x8ffcb5(0x1ad)+a0_0x8ffcb5(0x15c)+a0_0x8ffcb5(0x1fa)+a0_0x8ffcb5(0x1d4)+'\x27dele'+a0_0x8ffcb5(0x1fb),'enum':['list',a0_0x8ffcb5(0x207)+'e',a0_0x8ffcb5(0x1ca)+'e',a0_0x8ffcb5(0x195)+'e']},'group_id':{'type':a0_0x8ffcb5(0x1dd)+'g','description':a0_0x8ffcb5(0x213)+a0_0x8ffcb5(0x1bc)+a0_0x8ffcb5(0x1ae)+'red\x20f'+a0_0x8ffcb5(0x1d6)+a0_0x8ffcb5(0x1cd)+'\x27\x20and'+a0_0x8ffcb5(0x201)+'ete\x27.'},'group_name':{'type':'strin'+'g','description':a0_0x8ffcb5(0x213)+a0_0x8ffcb5(0x221)+a0_0x8ffcb5(0x18a)+'uired'+'\x20for\x20'+a0_0x8ffcb5(0x160)+a0_0x8ffcb5(0x175)+'optio'+a0_0x8ffcb5(0x15b)+a0_0x8ffcb5(0x1d6)+a0_0x8ffcb5(0x1cd)+a0_0x8ffcb5(0x204)+'\x20rena'+a0_0x8ffcb5(0x19a)},'member_ids':{'type':a0_0x8ffcb5(0x182),'items':{'type':a0_0x8ffcb5(0x1a8)+'er'},'description':a0_0x8ffcb5(0x1ea)+a0_0x8ffcb5(0x19d)+a0_0x8ffcb5(0x1e4)+a0_0x8ffcb5(0x1b4)+a0_0x8ffcb5(0x1e1)+a0_0x8ffcb5(0x1dc)+a0_0x8ffcb5(0x18c)+'\x20Requ'+'ired\x20'+a0_0x8ffcb5(0x1a5)+a0_0x8ffcb5(0x207)+a0_0x8ffcb5(0x17a)},'members_to_add':{'type':a0_0x8ffcb5(0x182),'items':{'type':a0_0x8ffcb5(0x1a8)+'er'},'description':a0_0x8ffcb5(0x1ea)+'IDs\x20t'+a0_0x8ffcb5(0x1d9)+a0_0x8ffcb5(0x1bb)+a0_0x8ffcb5(0x206)+'sting'+a0_0x8ffcb5(0x172)+a0_0x8ffcb5(0x167)+a0_0x8ffcb5(0x1d8)+a0_0x8ffcb5(0x1fa)+'.'},'members_to_remove':{'type':a0_0x8ffcb5(0x182),'items':{'type':a0_0x8ffcb5(0x1a8)+'er'},'description':a0_0x8ffcb5(0x1ea)+'IDs\x20t'+a0_0x8ffcb5(0x1df)+a0_0x8ffcb5(0x1ec)+a0_0x8ffcb5(0x222)+'\x20grou'+a0_0x8ffcb5(0x167)+a0_0x8ffcb5(0x1d8)+a0_0x8ffcb5(0x1fa)+'.'},'team_id':{'type':a0_0x8ffcb5(0x1dd)+'g','description':a0_0x8ffcb5(0x203)+a0_0x8ffcb5(0x189)+a0_0x8ffcb5(0x215)+'ace/t'+a0_0x8ffcb5(0x205)+a0_0x8ffcb5(0x19b)+a0_0x8ffcb5(0x18e)+'.'}},'required':['actio'+'n']}};export async function handleManageUserGroups(_0x5f3a83,_0x3324f8){const _0x844957=a0_0x8ffcb5,_0x1c42a0={'NLCCy':_0x844957(0x1aa),'deYjo':'Faile'+_0x844957(0x1e8)+'list\x20'+'user\x20'+_0x844957(0x1b9)+'s','hZSCp':_0x844957(0x207)+'e','gBVfu':_0x844957(0x1b1)+_0x844957(0x1f3)+_0x844957(0x1ff)+_0x844957(0x1a9)+'\x20user'+'\x20IDs)'+_0x844957(0x1e0)+_0x844957(0x1a6)+_0x844957(0x1ef)+'r\x20cre'+_0x844957(0x1c0)+_0x844957(0x1a1),'wDiLG':_0x844957(0x1ca)+'e','ORZpm':_0x844957(0x1b9)+'_id\x20i'+_0x844957(0x1f0)+_0x844957(0x211)+_0x844957(0x1e7)+_0x844957(0x1ca)+'e\x20act'+_0x844957(0x202),'yohKA':_0x844957(0x1c7)+'ast\x20o'+_0x844957(0x18d)+_0x844957(0x172)+_0x844957(0x1d2)+_0x844957(0x1c4)+'mbers'+_0x844957(0x1d1)+_0x844957(0x21f)+_0x844957(0x15f)+'bers_'+_0x844957(0x16a)+_0x844957(0x1de)+_0x844957(0x21b)+_0x844957(0x18f)+_0x844957(0x15e)+'\x20upda'+'te','ASlaF':_0x844957(0x1b9)+_0x844957(0x21d)+_0x844957(0x1f0)+'uired'+_0x844957(0x1e7)+_0x844957(0x195)+'e\x20act'+_0x844957(0x202),'syhhR':_0x844957(0x21e)+'ected'+_0x844957(0x158)+_0x844957(0x1a3)+'manag'+_0x844957(0x198)+'r_gro'+_0x844957(0x1d5)},{action:_0x1122de,group_id:_0x507627,group_name:_0x276cfb,member_ids:_0x217fbb,members_to_add:_0x1a72f0,members_to_remove:_0x3038df,team_id:_0x15b8d1}=_0x5f3a83;try{switch(_0x1122de){case _0x1c42a0[_0x844957(0x183)]:{const _0x23af45=await _0x3324f8[_0x844957(0x21a)+_0x844957(0x165)][_0x844957(0x1c1)+_0x844957(0x15d)+_0x844957(0x1d5)](_0x15b8d1);if(!_0x23af45[_0x844957(0x209)+'ss'])return sponsorService[_0x844957(0x207)+_0x844957(0x1db)+_0x844957(0x1cb)+'onse'](_0x23af45['error']?.[_0x844957(0x17c)+'ge']||_0x1c42a0['deYjo']);const _0x4eba5e=_0x23af45[_0x844957(0x16f)]?.['group'+'s']||[];return sponsorService['creat'+_0x844957(0x1eb)+_0x844957(0x1d0)]({'groups':_0x4eba5e},!![]);}case _0x1c42a0[_0x844957(0x159)]:{if(!_0x276cfb)return sponsorService[_0x844957(0x207)+_0x844957(0x1db)+'rResp'+_0x844957(0x1d0)]('group'+_0x844957(0x1c2)+_0x844957(0x1e0)+_0x844957(0x1a6)+'ed\x20fo'+_0x844957(0x1b0)+_0x844957(0x1c0)+_0x844957(0x1a1));if(!_0x217fbb||!Array[_0x844957(0x217)+'ay'](_0x217fbb))return sponsorService[_0x844957(0x207)+_0x844957(0x1db)+_0x844957(0x1cb)+_0x844957(0x1d0)](_0x1c42a0[_0x844957(0x1f5)]);const _0x1b432d=await _0x3324f8[_0x844957(0x21a)+_0x844957(0x165)]['creat'+_0x844957(0x1c5)+_0x844957(0x213)]({'name':_0x276cfb,'member_ids':_0x217fbb},_0x15b8d1);if(!_0x1b432d[_0x844957(0x209)+'ss'])return sponsorService[_0x844957(0x207)+_0x844957(0x1db)+_0x844957(0x1cb)+_0x844957(0x1d0)](_0x1b432d['error']?.[_0x844957(0x17c)+'ge']||_0x844957(0x177)+_0x844957(0x1e8)+_0x844957(0x207)+_0x844957(0x16b)+_0x844957(0x1f9)+'up');const _0x2e8a2a=_0x1b432d[_0x844957(0x16f)];return sponsorService[_0x844957(0x207)+_0x844957(0x1eb)+_0x844957(0x1d0)]({'group':_0x2e8a2a,'message':_0x844957(0x1ea)+_0x844957(0x1b9)+'\x20\x22'+_0x2e8a2a?.['name']+('\x22\x20cre'+_0x844957(0x216)+'succe'+_0x844957(0x1a4)+_0x844957(0x224)+'D:\x20')+_0x2e8a2a?.['id']+').'},!![]);}case _0x1c42a0[_0x844957(0x185)]:{if(!_0x507627)return sponsorService[_0x844957(0x207)+'eErro'+_0x844957(0x1cb)+_0x844957(0x1d0)](_0x1c42a0['ORZpm']);if(!_0x276cfb&&!_0x1a72f0?.[_0x844957(0x1d3)+'h']&&!_0x3038df?.[_0x844957(0x1d3)+'h'])return sponsorService[_0x844957(0x207)+'eErro'+_0x844957(0x1cb)+'onse'](_0x1c42a0[_0x844957(0x176)]);const _0x373e40={};if(_0x276cfb)_0x373e40[_0x844957(0x220)]=_0x276cfb;if(_0x1a72f0?.[_0x844957(0x1d3)+'h']||_0x3038df?.[_0x844957(0x1d3)+'h']){_0x373e40[_0x844957(0x1b1)+'rs']={};if(_0x1a72f0?.[_0x844957(0x1d3)+'h'])_0x373e40[_0x844957(0x1b1)+'rs'][_0x844957(0x20d)]=_0x1a72f0;if(_0x3038df?.[_0x844957(0x1d3)+'h'])_0x373e40[_0x844957(0x1b1)+'rs'][_0x844957(0x1bd)]=_0x3038df;}const _0x2bc3da=await _0x3324f8[_0x844957(0x21a)+_0x844957(0x165)][_0x844957(0x1ca)+'eUser'+_0x844957(0x213)](_0x507627,_0x373e40);if(!_0x2bc3da[_0x844957(0x209)+'ss'])return sponsorService[_0x844957(0x207)+_0x844957(0x1db)+_0x844957(0x1cb)+_0x844957(0x1d0)](_0x2bc3da['error']?.[_0x844957(0x17c)+'ge']||'Faile'+_0x844957(0x1e8)+_0x844957(0x1ca)+_0x844957(0x16b)+_0x844957(0x1f9)+'up');const _0x302902=_0x2bc3da[_0x844957(0x16f)];return sponsorService[_0x844957(0x207)+'eResp'+_0x844957(0x1d0)]({'group':_0x302902,'message':_0x844957(0x1ea)+'group'+'\x20\x22'+_0x302902?.[_0x844957(0x220)]+('\x22\x20upd'+_0x844957(0x216)+_0x844957(0x209)+_0x844957(0x1a4)+'ly.')},!![]);}case _0x844957(0x195)+'e':{if(!_0x507627)return sponsorService[_0x844957(0x207)+'eErro'+_0x844957(0x1cb)+_0x844957(0x1d0)](_0x1c42a0[_0x844957(0x20e)]);const _0x4f1dd0=await _0x3324f8[_0x844957(0x21a)+'roup'][_0x844957(0x195)+_0x844957(0x1c5)+_0x844957(0x213)](_0x507627);if(!_0x4f1dd0[_0x844957(0x209)+'ss'])return sponsorService['creat'+_0x844957(0x1db)+'rResp'+_0x844957(0x1d0)](_0x4f1dd0[_0x844957(0x184)]?.[_0x844957(0x17c)+'ge']||_0x844957(0x177)+_0x844957(0x1e8)+_0x844957(0x195)+_0x844957(0x16b)+_0x844957(0x1f9)+'up');return sponsorService['creat'+_0x844957(0x1eb)+_0x844957(0x1d0)]({'message':'User\x20'+'group'+'\x20'+_0x507627+('\x20dele'+_0x844957(0x219)+_0x844957(0x170)+_0x844957(0x16e)+'y.')},!![]);}default:return sponsorService[_0x844957(0x207)+_0x844957(0x1db)+_0x844957(0x1cb)+_0x844957(0x1d0)](_0x844957(0x1e5)+'wn\x20ac'+_0x844957(0x162)+'\x20'+_0x1122de+(_0x844957(0x171)+'id\x20ac'+_0x844957(0x1a2)+_0x844957(0x1ba)+_0x844957(0x1be)+_0x844957(0x1a0)+'\x20upda'+_0x844957(0x16c)+_0x844957(0x1e2)));}}catch(_0x24a5a8){return sponsorService[_0x844957(0x207)+_0x844957(0x1db)+_0x844957(0x1cb)+_0x844957(0x1d0)](_0x24a5a8[_0x844957(0x17c)+'ge']||_0x1c42a0[_0x844957(0x1c3)]);}}
1
+ const a0_0x5436af=a0_0x22fe;(function(_0x26beca,_0x16aee6){const _0x99696e=a0_0x22fe,_0xac0af0=_0x26beca();while(!![]){try{const _0xc874b1=parseInt(_0x99696e(0x157))/0x1*(parseInt(_0x99696e(0x182))/0x2)+-parseInt(_0x99696e(0x109))/0x3+-parseInt(_0x99696e(0x187))/0x4+-parseInt(_0x99696e(0x120))/0x5*(-parseInt(_0x99696e(0x114))/0x6)+parseInt(_0x99696e(0x12c))/0x7+parseInt(_0x99696e(0xde))/0x8*(parseInt(_0x99696e(0x13b))/0x9)+-parseInt(_0x99696e(0x17d))/0xa*(parseInt(_0x99696e(0x15d))/0xb);if(_0xc874b1===_0x16aee6)break;else _0xac0af0['push'](_0xac0af0['shift']());}catch(_0x4bbd4){_0xac0af0['push'](_0xac0af0['shift']());}}}(a0_0x4a6f,0x35a4c));function a0_0x4a6f(){const _0x58a281=['zvjLC3a','iIb1Cgq','surZihq','C2vYigC','BgLZDca','lIbszxe','BMfTzxm','yMvYC18','BgLZDf8','CLjLC3a','zsbvC2u','CMvKlG','yMvYx2K','DwLYzwq','ntr5Cw9Ns2W','zwqGzM8','B3vWlG','BwvZC2e','CM9Tihq','ihrVihq','yxjYyxK','zsbHihu','DhKUicC','zsb1C2u','BwuGyw4','vxnLCIa','Bsb0Agu','B3zLigy','BYbYzw0','Aw9U','B25Zzq','BYbZzxq','z2v0vxm','zsbVCIa','yxrLige','igXPC3q','zuvYCM8','CL9Pzhm','CIbJCMu','DxbKyxq','zsbHig4','igvYCM8','mZuXn2vjCKLVBq','C3vJy2u','yxn0ig8','zvvZzxi','BhKGzM8','zgvSzxq','ndC2mtq2AxLmwLb1','x3rVx2e','Cf9Pzc4','AwqGywm','zgf0yq','CM91CcC','CM91Cca','qvfXAxm','y3rPB24','zcbTzw0','CgvJAwy','BgvK','BcbTzw0','oIbSAxm','DgfKyxq','ys4Grgu','r3jVDxa','zxf1Axi','z3jVDxa','DxnLCKC','ihvZzxi','CMv0Dxi','DgLVBJO','igDYB3u','CMvT','B24UicC','igfZigK','oIbKzxq','zxnWB24','BMfTzs4','DxbZ','zv91C2u','mtbkCfnIsuq','vw5LEha','qxqGBgu','C3bHy2u','zxjhCM8','ntjHyvnjCui','BgvUz3q','BMuGB2y','CYbNCM8','ywrK','mtm4odK5nMHKr3bMva','CIbPBIa','CIbhCM8','C3rYAw4','DxbFBMe','ifjLCxu','rdOG','BYbHzgq','rMfPBgu','CL9NCM8','B3vWihC','AxrOihm','zcb0BYa','DcWGy3i','Dg9FCMu','x2LK','DxnLCL8','ieLelIa','AxrZig0','B2XZihi','vxbKyxq','ntGYmZq0DhDmEKny','yxKGB2y','Bw92zsa','DMzcs0y','ugvYBwe','AguGz3i','z2vvC2u','BgLZDa','AxnbCNi','DwLYzxm','BgWGBwu','DwnJzxm','zwn0zwq','BIb0Agu','CKDYB3u','zsWGBwu','BML0Awe','zgv0ywK','qNLWq0O','BMfTzq','uMvXDwK','CxvPCMu','BwfW','x25HBwu','Eg9qtvO','ywXSihu','BMvUDgW','x2LKigK','zxiGz3i','AwvKig0','tgLZDca','C2z1BgW','BwvTyMu','ieLeCYK','jYbYzxq','igrLzMK','iIbJCMu','q3jLyxq','CIbLzMy','CM91Ca','ihDVCMS','zxCGDxm','Aw50zwC','ntaWmJuWEMnhCef3','CM91Chm','BwjLCNm','icHHCNi','yMvYCY4','zw1Izxi','C3nMDwW','t0zzAfa','CYbYzxe','q29UDhi','DgvKihm','mJrHEMHeB3G','AwnPzw4','zgqSig8','CcbMCM8','DfLfA1y','B3zLige','BgvKjYa','zxjYB3i','igLZihi','AxmGCMu','B2jQzwm','y3jLyxq','mJqWmdy1CgniDuXf','AwDHDgK','zsbHy3q','igzVCIa','BwuGB24','BNmGzNu','DguSigq','DxnLCIa','CIbNCM8','qNDJu0e','DcbUyxy','Cf9Uyw0','mZK3mJK5r0Tdz1zL'];a0_0x4a6f=function(){return _0x58a281;};return a0_0x4a6f();}function a0_0x22fe(_0x120fac,_0x123ad2){_0x120fac=_0x120fac-0xd2;const _0x4a6feb=a0_0x4a6f();let _0x22fee6=_0x4a6feb[_0x120fac];if(a0_0x22fe['tKRyuP']===undefined){var _0x557023=function(_0x1059a4){const _0x2d06ea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c70e1='',_0x25fc6d='';for(let _0x278cd8=0x0,_0x1dc94d,_0x2c1a38,_0x395333=0x0;_0x2c1a38=_0x1059a4['charAt'](_0x395333++);~_0x2c1a38&&(_0x1dc94d=_0x278cd8%0x4?_0x1dc94d*0x40+_0x2c1a38:_0x2c1a38,_0x278cd8++%0x4)?_0x1c70e1+=String['fromCharCode'](0xff&_0x1dc94d>>(-0x2*_0x278cd8&0x6)):0x0){_0x2c1a38=_0x2d06ea['indexOf'](_0x2c1a38);}for(let _0x58ccb2=0x0,_0x297a7a=_0x1c70e1['length'];_0x58ccb2<_0x297a7a;_0x58ccb2++){_0x25fc6d+='%'+('00'+_0x1c70e1['charCodeAt'](_0x58ccb2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x25fc6d);};a0_0x22fe['rqSPIE']=_0x557023,a0_0x22fe['UYDAmw']={},a0_0x22fe['tKRyuP']=!![];}const _0x496e9f=_0x4a6feb[0x0],_0x25dab2=_0x120fac+_0x496e9f,_0x3ba463=a0_0x22fe['UYDAmw'][_0x25dab2];return!_0x3ba463?(_0x22fee6=a0_0x22fe['rqSPIE'](_0x22fee6),a0_0x22fe['UYDAmw'][_0x25dab2]=_0x22fee6):_0x22fee6=_0x3ba463,_0x22fee6;}import{sponsorService}from'../utils/sponsor-service.js';export const listUserGroupsTool={'name':a0_0x5436af(0x135)+a0_0x5436af(0xd9)+a0_0x5436af(0x16f)+'s','description':a0_0x5436af(0xfc)+a0_0x5436af(0xf7)+a0_0x5436af(0x130)+a0_0x5436af(0x10a)+a0_0x5436af(0x101)+'ned\x20i'+a0_0x5436af(0xeb)+a0_0x5436af(0x106)+'space'+'.','annotations':{'title':a0_0x5436af(0xfc)+'User\x20'+a0_0x5436af(0x16d)+'s','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'detail_level':{'type':a0_0x5436af(0x18a)+'g','enum':[a0_0x5436af(0x133),'detai'+a0_0x5436af(0x168)],'description':a0_0x5436af(0x112)+a0_0x5436af(0xdc)+a0_0x5436af(0x179)+'se\x20ve'+'rbosi'+a0_0x5436af(0x143)+a0_0x5436af(0x133)+a0_0x5436af(0x100)+'urns\x20'+'id/na'+a0_0x5436af(0x124)+a0_0x5436af(0x15b)+a0_0x5436af(0x104)+a0_0x5436af(0x115)+a0_0x5436af(0x12a)+a0_0x5436af(0x121)+a0_0x5436af(0x176)+a0_0x5436af(0xef)+a0_0x5436af(0x11a)+a0_0x5436af(0x172)+a0_0x5436af(0x125)+a0_0x5436af(0xe8)+a0_0x5436af(0x16b)+a0_0x5436af(0x16c)+'fault'+a0_0x5436af(0x178)+'ailed'+'.'}}}};export const createUserGroupTool={'name':a0_0x5436af(0x11f)+a0_0x5436af(0x17c)+a0_0x5436af(0xd2)+'up','description':a0_0x5436af(0x103)+a0_0x5436af(0x155)+a0_0x5436af(0x107)+a0_0x5436af(0xfa)+a0_0x5436af(0xd3)+a0_0x5436af(0xd4)+a0_0x5436af(0x167)+a0_0x5436af(0xfb)+a0_0x5436af(0x10e)+'s.\x20Re'+a0_0x5436af(0xf3)+a0_0x5436af(0x185)+a0_0x5436af(0x18b)+a0_0x5436af(0x145)+a0_0x5436af(0x166)+a0_0x5436af(0x139)+'ds.','annotations':{'title':a0_0x5436af(0x103)+a0_0x5436af(0x137)+'r\x20Gro'+'up'},'inputSchema':{'type':a0_0x5436af(0x11e)+'t','properties':{'group_name':{'type':a0_0x5436af(0x18a)+'g','description':a0_0x5436af(0x16d)+'\x20name'+a0_0x5436af(0x132)+'uired'+'.'},'member_ids':{'type':a0_0x5436af(0x141),'items':{'type':a0_0x5436af(0x108)+'er'},'description':a0_0x5436af(0x146)+a0_0x5436af(0x12f)+a0_0x5436af(0x14c)+a0_0x5436af(0x177)+a0_0x5436af(0xee)+a0_0x5436af(0x169)+a0_0x5436af(0x10d)+a0_0x5436af(0x18c)+'ired.'}},'required':[a0_0x5436af(0x16f)+a0_0x5436af(0xf5),'membe'+a0_0x5436af(0x152)]}};export const updateUserGroupTool={'name':'updat'+a0_0x5436af(0x17c)+'r_gro'+'up','description':a0_0x5436af(0xdd)+a0_0x5436af(0x142)+a0_0x5436af(0x130)+a0_0x5436af(0x162)+'s\x20nam'+a0_0x5436af(0x14e)+a0_0x5436af(0xdb)+a0_0x5436af(0x10e)+a0_0x5436af(0x150)+a0_0x5436af(0x132)+a0_0x5436af(0xe7)+'\x20grou'+a0_0x5436af(0x15f),'annotations':{'title':a0_0x5436af(0xdd)+a0_0x5436af(0x137)+a0_0x5436af(0x189)+'up'},'inputSchema':{'type':a0_0x5436af(0x11e)+'t','properties':{'group_id':{'type':a0_0x5436af(0x18a)+'g','description':a0_0x5436af(0x16d)+a0_0x5436af(0xda)+a0_0x5436af(0xf2)+a0_0x5436af(0x138)},'group_name':{'type':a0_0x5436af(0x18a)+'g','description':'New\x20g'+a0_0x5436af(0x163)+a0_0x5436af(0x17a)},'members_to_add':{'type':'array','items':{'type':a0_0x5436af(0x108)+'er'},'description':a0_0x5436af(0x146)+a0_0x5436af(0x12f)+a0_0x5436af(0x18e)+a0_0x5436af(0x140)+a0_0x5436af(0xe3)+a0_0x5436af(0x13d)},'members_to_remove':{'type':'array','items':{'type':a0_0x5436af(0x108)+'er'},'description':a0_0x5436af(0x146)+'IDs\x20t'+a0_0x5436af(0x149)+a0_0x5436af(0x148)+a0_0x5436af(0x13f)+a0_0x5436af(0xe3)+a0_0x5436af(0x13d)}},'required':[a0_0x5436af(0x16f)+a0_0x5436af(0xd8)]}};export const deleteUserGroupTool={'name':'delet'+a0_0x5436af(0x17c)+a0_0x5436af(0xd2)+'up','description':a0_0x5436af(0xe2)+a0_0x5436af(0xf8)+'y\x20rem'+a0_0x5436af(0x119)+a0_0x5436af(0x171)+a0_0x5436af(0x174)+a0_0x5436af(0x117)+a0_0x5436af(0x147)+a0_0x5436af(0x106)+a0_0x5436af(0x180)+'.','annotations':{'title':'Delet'+a0_0x5436af(0x137)+a0_0x5436af(0x189)+'up','destructiveHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'group_id':{'type':a0_0x5436af(0x18a)+'g','description':a0_0x5436af(0x16d)+a0_0x5436af(0xda)+a0_0x5436af(0xf2)+a0_0x5436af(0x138)}},'required':[a0_0x5436af(0x16f)+a0_0x5436af(0xd8)]}};export async function handleManageUserGroups(_0x2f55c1,_0x43d7e4){const _0x192b75=a0_0x5436af,_0x44b3cb={'BypCJ':_0x192b75(0xe5),'BwcSA':_0x192b75(0xef)+_0x192b75(0x168),'AQqis':'Faile'+'d\x20to\x20'+_0x192b75(0x131)+_0x192b75(0x127)+_0x192b75(0x16f)+'s','xoPMZ':function(_0x1f5f87,_0x450a9b){return _0x1f5f87===_0x450a9b;},'vfBKF':'membe'+_0x192b75(0x152)+_0x192b75(0x10c)+_0x192b75(0xdf)+_0x192b75(0x171)+_0x192b75(0xff)+_0x192b75(0x11c)+_0x192b75(0x16e)+_0x192b75(0x13c)+_0x192b75(0x153)+_0x192b75(0x14f)+_0x192b75(0x165),'tYEkV':_0x192b75(0x18f)+_0x192b75(0xd5)+_0x192b75(0x11f)+_0x192b75(0x144)+'r\x20gro'+'up','OFYhP':_0x192b75(0x17e)+_0x192b75(0xea)+_0x192b75(0x156)+_0x192b75(0x188)+'handl'+'eMana'+_0x192b75(0xe4)+_0x192b75(0xec)+'ps'},{action:_0x328a54,group_id:_0x9a70ff,group_name:_0x115abf,member_ids:_0x41ee90,members_to_add:_0x53b6d7,members_to_remove:_0x2dced5,team_id:_0x119edd}=_0x2f55c1;try{switch(_0x328a54){case _0x44b3cb[_0x192b75(0xf0)]:{const {detail_level:detail_level=_0x44b3cb[_0x192b75(0x129)]}=_0x2f55c1,_0x12dc5c=await _0x43d7e4[_0x192b75(0x170)+_0x192b75(0x105)][_0x192b75(0x14d)+_0x192b75(0x181)+_0x192b75(0x17b)](_0x119edd);if(!_0x12dc5c[_0x192b75(0x158)+'ss'])return sponsorService[_0x192b75(0x11f)+_0x192b75(0x151)+_0x192b75(0x136)+_0x192b75(0x14b)](_0x12dc5c['error']?.[_0x192b75(0x13e)+'ge']||_0x44b3cb[_0x192b75(0x164)]);const _0x419fed=_0x12dc5c[_0x192b75(0x161)]?.[_0x192b75(0x16f)+'s']||[];if(_0x44b3cb[_0x192b75(0xf6)](detail_level,_0x192b75(0x133)))return sponsorService[_0x192b75(0x11f)+_0x192b75(0x12d)+_0x192b75(0x14b)]({'groups':_0x419fed[_0x192b75(0xf4)](_0x5fe055=>({'id':_0x5fe055['id'],'name':_0x5fe055[_0x192b75(0xf1)]}))},!![]);return sponsorService[_0x192b75(0x11f)+'eResp'+_0x192b75(0x14b)]({'groups':_0x419fed},!![]);}case _0x192b75(0x11f)+'e':{if(!_0x115abf)return sponsorService[_0x192b75(0x11f)+_0x192b75(0x151)+'rResp'+_0x192b75(0x14b)]('group'+'_name'+_0x192b75(0x11c)+_0x192b75(0x16e)+_0x192b75(0x13c)+_0x192b75(0x153)+_0x192b75(0x14f)+'ction');if(!_0x41ee90||!Array[_0x192b75(0xe6)+'ay'](_0x41ee90))return sponsorService['creat'+'eErro'+_0x192b75(0x136)+_0x192b75(0x14b)](_0x44b3cb[_0x192b75(0xe1)]);const _0x4a1f55=await _0x43d7e4[_0x192b75(0x170)+_0x192b75(0x105)]['creat'+'eUser'+_0x192b75(0x16d)]({'name':_0x115abf,'member_ids':_0x41ee90},_0x119edd);if(!_0x4a1f55[_0x192b75(0x158)+'ss'])return sponsorService[_0x192b75(0x11f)+'eErro'+'rResp'+'onse'](_0x4a1f55[_0x192b75(0x11b)]?.['messa'+'ge']||_0x44b3cb[_0x192b75(0x118)]);const _0x22ff17=_0x4a1f55[_0x192b75(0x161)];return sponsorService[_0x192b75(0x11f)+_0x192b75(0x12d)+_0x192b75(0x14b)]({'group':_0x22ff17,'message':'User\x20'+_0x192b75(0x16f)+'\x20\x22'+_0x22ff17?.[_0x192b75(0xf1)]+(_0x192b75(0x102)+'ated\x20'+_0x192b75(0x158)+_0x192b75(0x10f)+'ly\x20(I'+_0x192b75(0x18d))+_0x22ff17?.['id']+').'},!![]);}case _0x192b75(0x154)+'e':{if(!_0x9a70ff)return sponsorService[_0x192b75(0x11f)+_0x192b75(0x151)+_0x192b75(0x136)+_0x192b75(0x14b)](_0x192b75(0x16f)+_0x192b75(0xf9)+_0x192b75(0x111)+_0x192b75(0x13a)+'\x20for\x20'+'updat'+_0x192b75(0x122)+_0x192b75(0x14a));if(!_0x115abf&&!_0x53b6d7?.[_0x192b75(0x183)+'h']&&!_0x2dced5?.[_0x192b75(0x183)+'h'])return sponsorService[_0x192b75(0x11f)+'eErro'+'rResp'+_0x192b75(0x14b)](_0x192b75(0x17f)+_0x192b75(0x159)+_0x192b75(0x184)+_0x192b75(0x174)+_0x192b75(0x12b)+_0x192b75(0xed)+_0x192b75(0x10b)+_0x192b75(0x15e)+_0x192b75(0x116)+'r\x20mem'+_0x192b75(0x134)+_0x192b75(0xd7)+_0x192b75(0xe0)+_0x192b75(0x11d)+_0x192b75(0xf3)+'d\x20for'+'\x20upda'+'te');const _0x10a156={};if(_0x115abf)_0x10a156['name']=_0x115abf;if(_0x53b6d7?.[_0x192b75(0x183)+'h']||_0x2dced5?.[_0x192b75(0x183)+'h']){_0x10a156[_0x192b75(0xfe)+'rs']={};if(_0x53b6d7?.[_0x192b75(0x183)+'h'])_0x10a156[_0x192b75(0xfe)+'rs'][_0x192b75(0x186)]=_0x53b6d7;if(_0x2dced5?.[_0x192b75(0x183)+'h'])_0x10a156[_0x192b75(0xfe)+'rs'][_0x192b75(0x175)]=_0x2dced5;}const _0x1d997f=await _0x43d7e4[_0x192b75(0x170)+_0x192b75(0x105)][_0x192b75(0x154)+_0x192b75(0x15a)+_0x192b75(0x16d)](_0x9a70ff,_0x10a156);if(!_0x1d997f[_0x192b75(0x158)+'ss'])return sponsorService[_0x192b75(0x11f)+_0x192b75(0x151)+_0x192b75(0x136)+_0x192b75(0x14b)](_0x1d997f[_0x192b75(0x11b)]?.[_0x192b75(0x13e)+'ge']||_0x192b75(0x18f)+_0x192b75(0xd5)+'updat'+'e\x20use'+_0x192b75(0x128)+'up');const _0x29b669=_0x1d997f['data'];return sponsorService[_0x192b75(0x11f)+'eResp'+_0x192b75(0x14b)]({'group':_0x29b669,'message':_0x192b75(0x146)+_0x192b75(0x16f)+'\x20\x22'+_0x29b669?.[_0x192b75(0xf1)]+(_0x192b75(0x12e)+'ated\x20'+_0x192b75(0x158)+'ssful'+'ly.')},!![]);}case _0x192b75(0x15c)+'e':{if(!_0x9a70ff)return sponsorService['creat'+_0x192b75(0x151)+_0x192b75(0x136)+_0x192b75(0x14b)]('group'+_0x192b75(0xf9)+_0x192b75(0x111)+_0x192b75(0x13a)+_0x192b75(0x123)+_0x192b75(0x15c)+_0x192b75(0x122)+'ion');const _0x5f4256=await _0x43d7e4[_0x192b75(0x170)+_0x192b75(0x105)]['delet'+'eUser'+_0x192b75(0x16d)](_0x9a70ff);if(!_0x5f4256[_0x192b75(0x158)+'ss'])return sponsorService[_0x192b75(0x11f)+_0x192b75(0x151)+'rResp'+_0x192b75(0x14b)](_0x5f4256['error']?.['messa'+'ge']||_0x192b75(0x18f)+_0x192b75(0xd5)+_0x192b75(0x15c)+'e\x20use'+'r\x20gro'+'up');return sponsorService[_0x192b75(0x11f)+'eResp'+_0x192b75(0x14b)]({'message':_0x192b75(0x146)+'group'+'\x20'+_0x9a70ff+('\x20dele'+_0x192b75(0x113)+_0x192b75(0xe9)+_0x192b75(0xfd)+'y.')},!![]);}default:return sponsorService['creat'+_0x192b75(0x151)+_0x192b75(0x136)+_0x192b75(0x14b)]('Unkno'+'wn\x20ac'+_0x192b75(0x173)+'\x20'+_0x328a54+('.\x20Val'+_0x192b75(0x160)+'tions'+_0x192b75(0x16a)+_0x192b75(0xd6)+'eate,'+'\x20upda'+_0x192b75(0x126)+'elete'));}}catch(_0x42e139){return sponsorService[_0x192b75(0x11f)+_0x192b75(0x151)+_0x192b75(0x136)+'onse'](_0x42e139[_0x192b75(0x13e)+'ge']||_0x44b3cb[_0x192b75(0x110)]);}}
@@ -1 +1 @@
1
- (function(_0x3c73f0,_0x297004){var _0x41c86e=a0_0x2ab4,_0x32165e=_0x3c73f0();while(!![]){try{var _0x10061a=parseInt(_0x41c86e(0xdd))/0x1*(-parseInt(_0x41c86e(0xdf))/0x2)+-parseInt(_0x41c86e(0xdb))/0x3*(parseInt(_0x41c86e(0xd8))/0x4)+-parseInt(_0x41c86e(0xd6))/0x5*(-parseInt(_0x41c86e(0xd9))/0x6)+-parseInt(_0x41c86e(0xdc))/0x7+-parseInt(_0x41c86e(0xde))/0x8+-parseInt(_0x41c86e(0xe0))/0x9+-parseInt(_0x41c86e(0xda))/0xa*(-parseInt(_0x41c86e(0xd7))/0xb);if(_0x10061a===_0x297004)break;else _0x32165e['push'](_0x32165e['shift']());}catch(_0x4dec85){_0x32165e['push'](_0x32165e['shift']());}}}(a0_0xb39c,0xc6423));function a0_0xb39c(){var _0x2a1bc7=['mZaWndy1yKjmqMH5','mJjJsKfXsLC','mtq2mJK2AwD6tLrP','mtq0sejLseHU','ota3nte5me12rvDLyq','mJfmz3vjz2m','ndCWnty1oxrAD3L0DG','mZfbDg1rAwG','mZCYmdu2ofzvt1jqua','mtG5nZzZCfzVBKy','nJGXotC0mw1KAKnhEG'];a0_0xb39c=function(){return _0x2a1bc7;};return a0_0xb39c();}export{getRelativeTimestamp,parseDueDate,formatDueDate,formatRelativeTime}from'../utils/date-utils.js';function a0_0x2ab4(_0x13bdff,_0x36bf7e){_0x13bdff=_0x13bdff-0xd6;var _0xb39c8d=a0_0xb39c();var _0x2ab4af=_0xb39c8d[_0x13bdff];if(a0_0x2ab4['RBIYRn']===undefined){var _0x554f2b=function(_0x1eeb43){var _0xc01f69='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4b748c='',_0x270dcc='';for(var _0x282c35=0x0,_0x5a0704,_0x1bf434,_0x22091e=0x0;_0x1bf434=_0x1eeb43['charAt'](_0x22091e++);~_0x1bf434&&(_0x5a0704=_0x282c35%0x4?_0x5a0704*0x40+_0x1bf434:_0x1bf434,_0x282c35++%0x4)?_0x4b748c+=String['fromCharCode'](0xff&_0x5a0704>>(-0x2*_0x282c35&0x6)):0x0){_0x1bf434=_0xc01f69['indexOf'](_0x1bf434);}for(var _0x19718f=0x0,_0x3c3c7a=_0x4b748c['length'];_0x19718f<_0x3c3c7a;_0x19718f++){_0x270dcc+='%'+('00'+_0x4b748c['charCodeAt'](_0x19718f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x270dcc);};a0_0x2ab4['lIEdlD']=_0x554f2b,a0_0x2ab4['yKrxZG']={},a0_0x2ab4['RBIYRn']=!![];}var _0x572e96=_0xb39c8d[0x0],_0x33f292=_0x13bdff+_0x572e96,_0x183bdc=a0_0x2ab4['yKrxZG'][_0x33f292];return!_0x183bdc?(_0x2ab4af=a0_0x2ab4['lIEdlD'](_0x2ab4af),a0_0x2ab4['yKrxZG'][_0x33f292]=_0x2ab4af):_0x2ab4af=_0x183bdc,_0x2ab4af;}export{resolveListId,resolveDocumentArgument,findDocumentByTitle,findParentIdByName}from'../utils/resolver-utils.js';
1
+ (function(_0x2df26d,_0x1175be){var _0x16c873=a0_0x3820,_0x4f69bd=_0x2df26d();while(!![]){try{var _0x24471b=-parseInt(_0x16c873(0xb8))/0x1*(-parseInt(_0x16c873(0xb5))/0x2)+-parseInt(_0x16c873(0xb7))/0x3*(-parseInt(_0x16c873(0xad))/0x4)+parseInt(_0x16c873(0xaf))/0x5*(-parseInt(_0x16c873(0xb0))/0x6)+parseInt(_0x16c873(0xae))/0x7*(parseInt(_0x16c873(0xb4))/0x8)+parseInt(_0x16c873(0xb2))/0x9+-parseInt(_0x16c873(0xb3))/0xa+parseInt(_0x16c873(0xb6))/0xb*(-parseInt(_0x16c873(0xb1))/0xc);if(_0x24471b===_0x1175be)break;else _0x4f69bd['push'](_0x4f69bd['shift']());}catch(_0xe767c4){_0x4f69bd['push'](_0x4f69bd['shift']());}}}(a0_0x3d06,0xc16d0));function a0_0x3d06(){var _0x22c147=['nwH0ufDrzG','mJq4mZK2CMr1zLvt','mtq5otK2n0L1weD4vW','mtq4mJCWCeTQEvDU','mtm4wwDbA25l','ndC2nfHdr3zkzG','nZeXmZm4ngPnCNnfCG','mJKYnde2mfnizLz0uG','mJr3zKnfAfK','nti5mduYr3DXuuDW','nZa0mJjZC1bmt1y','nZvPr3foBwy'];a0_0x3d06=function(){return _0x22c147;};return a0_0x3d06();}export{getRelativeTimestamp,parseDueDate,parseFilterDate,formatDueDate,formatRelativeTime}from'../utils/date-utils.js';function a0_0x3820(_0x59f583,_0x4990ff){_0x59f583=_0x59f583-0xad;var _0x3d06cc=a0_0x3d06();var _0x3820d9=_0x3d06cc[_0x59f583];if(a0_0x3820['tlLdip']===undefined){var _0x3fe4fb=function(_0x18f4ab){var _0x26d13b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x495ba5='',_0x577c85='';for(var _0x5e6708=0x0,_0x1b2a74,_0x430819,_0x47788d=0x0;_0x430819=_0x18f4ab['charAt'](_0x47788d++);~_0x430819&&(_0x1b2a74=_0x5e6708%0x4?_0x1b2a74*0x40+_0x430819:_0x430819,_0x5e6708++%0x4)?_0x495ba5+=String['fromCharCode'](0xff&_0x1b2a74>>(-0x2*_0x5e6708&0x6)):0x0){_0x430819=_0x26d13b['indexOf'](_0x430819);}for(var _0x26e3c2=0x0,_0x5ce45f=_0x495ba5['length'];_0x26e3c2<_0x5ce45f;_0x26e3c2++){_0x577c85+='%'+('00'+_0x495ba5['charCodeAt'](_0x26e3c2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x577c85);};a0_0x3820['NpNqgX']=_0x3fe4fb,a0_0x3820['tFCWIW']={},a0_0x3820['tlLdip']=!![];}var _0x14821e=_0x3d06cc[0x0],_0x89cc01=_0x59f583+_0x14821e,_0x16c9ae=a0_0x3820['tFCWIW'][_0x89cc01];return!_0x16c9ae?(_0x3820d9=a0_0x3820['NpNqgX'](_0x3820d9),a0_0x3820['tFCWIW'][_0x89cc01]=_0x3820d9):_0x3820d9=_0x16c9ae,_0x3820d9;}export{resolveListId,resolveDocumentArgument,findDocumentByTitle,findParentIdByName}from'../utils/resolver-utils.js';