@profoundlogic/coderflow-server 0.2.7 → 0.2.8

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 (138) hide show
  1. package/dist/coder-server.js +1 -1
  2. package/dist/config.js +1 -1
  3. package/dist/lib/agent-keepalive.js +1 -1
  4. package/dist/lib/api-keys.js +1 -1
  5. package/dist/lib/apiKeys.js +1 -1
  6. package/dist/lib/app-server-ports.js +1 -1
  7. package/dist/lib/auto-judge.js +1 -1
  8. package/dist/lib/basic-auth.js +1 -1
  9. package/dist/lib/build-history.js +1 -1
  10. package/dist/lib/build-output-service.js +1 -1
  11. package/dist/lib/build-scheduler.js +1 -1
  12. package/dist/lib/build-service.js +1 -1
  13. package/dist/lib/ca-certificates.js +1 -1
  14. package/dist/lib/claude-oauth-refresh.js +1 -1
  15. package/dist/lib/cli/build.js +1 -1
  16. package/dist/lib/cli/config-command.js +1 -1
  17. package/dist/lib/cli/config.js +1 -1
  18. package/dist/lib/cli/create-user.js +1 -1
  19. package/dist/lib/cli/init.js +1 -1
  20. package/dist/lib/cli/jira.js +1 -1
  21. package/dist/lib/cli/license.js +1 -1
  22. package/dist/lib/cli/server-manager.js +1 -1
  23. package/dist/lib/container-tokens.js +1 -1
  24. package/dist/lib/data-dir.js +1 -1
  25. package/dist/lib/deployment-history.js +1 -1
  26. package/dist/lib/deployment-service.js +1 -1
  27. package/dist/lib/docker-utils.js +1 -1
  28. package/dist/lib/email.js +1 -1
  29. package/dist/lib/emailTemplates.js +1 -1
  30. package/dist/lib/entitlement.js +1 -1
  31. package/dist/lib/fetch-utils.js +1 -1
  32. package/dist/lib/git-commit-details-route.js +1 -1
  33. package/dist/lib/git-history-diff-guardrails.js +1 -1
  34. package/dist/lib/git-provider-service.js +1 -1
  35. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  36. package/dist/lib/git-provider-setup/index.js +1 -1
  37. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  38. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  39. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  40. package/dist/lib/git-providers/github-app-provider.js +1 -1
  41. package/dist/lib/git-providers/index.js +1 -1
  42. package/dist/lib/git-providers/provider-factory.js +1 -1
  43. package/dist/lib/git-providers/provider-interface.js +1 -1
  44. package/dist/lib/github-urls.js +1 -1
  45. package/dist/lib/group-objective-linking.js +1 -1
  46. package/dist/lib/jira-client.js +1 -1
  47. package/dist/lib/judge-blinding.js +1 -1
  48. package/dist/lib/logger.js +1 -1
  49. package/dist/lib/model-fetcher.js +1 -1
  50. package/dist/lib/notifications.js +1 -1
  51. package/dist/lib/oidc-auth.js +1 -1
  52. package/dist/lib/oidc-device-flow.js +1 -1
  53. package/dist/lib/passwordTokens.js +1 -1
  54. package/dist/lib/pin-cascade.js +1 -1
  55. package/dist/lib/provider-accounts.js +1 -1
  56. package/dist/lib/provider-oauth.js +1 -1
  57. package/dist/lib/provider-profile.js +1 -1
  58. package/dist/lib/provider-token-refresh.js +1 -1
  59. package/dist/lib/request-url.js +1 -1
  60. package/dist/lib/rewind.js +1 -1
  61. package/dist/lib/roles.js +1 -1
  62. package/dist/lib/secrets.js +1 -1
  63. package/dist/lib/setup-repo-git-auth.js +1 -1
  64. package/dist/lib/state-capture.js +1 -1
  65. package/dist/lib/static-files.js +1 -1
  66. package/dist/lib/task-name-generator.js +1 -1
  67. package/dist/lib/user-git-oauth.js +1 -1
  68. package/dist/lib/user-git-tokens.js +1 -1
  69. package/dist/lib/users.js +1 -1
  70. package/dist/middleware/requireAuth.js +1 -1
  71. package/dist/middleware/requireInit.js +1 -1
  72. package/dist/middleware/requirePermission.js +1 -1
  73. package/dist/package.json +1 -1
  74. package/dist/routes/apiKeys.js +1 -1
  75. package/dist/routes/auth-oidc.js +1 -1
  76. package/dist/routes/auth.js +1 -1
  77. package/dist/routes/build.js +1 -1
  78. package/dist/routes/containers.js +1 -1
  79. package/dist/routes/deploy-task.js +1 -1
  80. package/dist/routes/environment-management.js +1 -1
  81. package/dist/routes/environments.js +1 -1
  82. package/dist/routes/external-skills.js +1 -1
  83. package/dist/routes/git-credentials.js +1 -1
  84. package/dist/routes/git-oauth.js +1 -1
  85. package/dist/routes/git-provider-setup.js +1 -1
  86. package/dist/routes/health.js +1 -1
  87. package/dist/routes/jira.js +1 -1
  88. package/dist/routes/objective-management.js +1 -1
  89. package/dist/routes/password.js +1 -1
  90. package/dist/routes/prompt.js +1 -1
  91. package/dist/routes/provider-auth.js +1 -1
  92. package/dist/routes/qa.js +1 -1
  93. package/dist/routes/settings.js +1 -1
  94. package/dist/routes/skill-management.js +1 -1
  95. package/dist/routes/skills.js +1 -1
  96. package/dist/routes/tasks.js +1 -1
  97. package/dist/routes/templates.js +1 -1
  98. package/dist/routes/test-task.js +1 -1
  99. package/dist/routes/test.js +1 -1
  100. package/dist/routes/users.js +1 -1
  101. package/dist/routes/visualizations.js +1 -1
  102. package/dist/scripts/create-user.js +1 -1
  103. package/dist/start.js +1 -1
  104. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  105. package/dist/web-ui/public/activity-feed.js +1 -1
  106. package/dist/web-ui/public/activity-formatters.js +1 -1
  107. package/dist/web-ui/public/agent-event-parser.js +1 -1
  108. package/dist/web-ui/public/app.js +1 -1
  109. package/dist/web-ui/public/approve-dialog.js +1 -1
  110. package/dist/web-ui/public/comments-widget.js +1 -1
  111. package/dist/web-ui/public/diff-utils.js +1 -1
  112. package/dist/web-ui/public/environments.js +1 -1
  113. package/dist/web-ui/public/feedback-widget.css +28 -0
  114. package/dist/web-ui/public/feedback-widget.js +1 -1
  115. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  116. package/dist/web-ui/public/git-history.js +1 -1
  117. package/dist/web-ui/public/git-status.js +1 -1
  118. package/dist/web-ui/public/index.js +1 -1
  119. package/dist/web-ui/public/login.js +1 -1
  120. package/dist/web-ui/public/markdown-editor.js +1 -1
  121. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  122. package/dist/web-ui/public/modal-maximize.js +1 -1
  123. package/dist/web-ui/public/notifications.js +1 -1
  124. package/dist/web-ui/public/server-health.js +1 -1
  125. package/dist/web-ui/public/settings.css +1 -0
  126. package/dist/web-ui/public/settings.html +5 -5
  127. package/dist/web-ui/public/settings.js +1 -1
  128. package/dist/web-ui/public/setup-password.js +1 -1
  129. package/dist/web-ui/public/skills.js +1 -1
  130. package/dist/web-ui/public/sse-client.js +1 -1
  131. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  132. package/dist/web-ui/public/styles.css +9 -0
  133. package/dist/web-ui/public/task.js +1 -1
  134. package/dist/web-ui/public/terminal.js +1 -1
  135. package/dist/web-ui/public/theme.js +1 -1
  136. package/dist/web-ui/public/users.js +1 -1
  137. package/dist/web-ui/public/variant-grouping.js +1 -1
  138. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x110759,_0x5831af){const _0x25c6ad={_0x4cfc4c:0x139,_0x21d02c:0x153,_0x3e4b2a:0x2e8,_0x4c8ae0:0x2ee,_0x4659fd:0x101,_0x4a28f5:0xe4,_0x513365:0x10c,_0x48fc3e:0x14b,_0x4251b3:0x2e2,_0x2209f8:0x2dd,_0x267931:0x32e,_0x1b2c94:0x300,_0x59bc65:0x2d8,_0x3f8335:0x2c6,_0x56584d:0x31a,_0x349019:0x2fe,_0x1422eb:0x159,_0x4776ee:0x110,_0x1a99dc:0x145,_0x387a17:0x121,_0x59863f:0x135,_0x43cd12:0x146,_0x210d4e:0xff,_0x2a95b2:0x108,_0x465601:0x2f8,_0x5018a8:0x2c3,_0x25bce6:0x2de},_0x4bd37f={_0x1c74e4:0x15a},_0x823f3e={_0x52e3ed:0x2d9};function _0x26d9be(_0x1d142d,_0x1c93c4,_0x2d490e,_0x2812a8){return _0x4e30(_0x2812a8- -_0x823f3e._0x52e3ed,_0x1d142d);}const _0x4ab1c9=_0x110759();function _0x4e8f24(_0x19334d,_0x2863a6,_0x2515f4,_0xd2e0ad){return _0x4e30(_0x2515f4-_0x4bd37f._0x1c74e4,_0xd2e0ad);}while(!![]){try{const _0x6db076=parseInt(_0x26d9be(-_0x25c6ad._0x4cfc4c,-_0x25c6ad._0x21d02c,-0x150,-0x148))/(-0x18*-0x54+-0x2548+0x1d69)+parseInt(_0x4e8f24(0x2d6,0x30b,_0x25c6ad._0x3e4b2a,_0x25c6ad._0x4c8ae0))/(0x4d*-0x67+-0x425*0x3+0x4*0xadb)*(-parseInt(_0x26d9be(-_0x25c6ad._0x4659fd,-0xd2,-_0x25c6ad._0x4a28f5,-_0x25c6ad._0x513365))/(0x404*-0x2+0x1*-0x3+0x80e))+parseInt(_0x26d9be(-0x167,-0x16e,-_0x25c6ad._0x48fc3e,-0x158))/(0x13f0+-0x596+0xe56*-0x1)*(parseInt(_0x4e8f24(_0x25c6ad._0x4251b3,0x2cc,0x2f5,_0x25c6ad._0x2209f8))/(0x553+0x10ae+-0x15fc))+-parseInt(_0x4e8f24(0x2f8,_0x25c6ad._0x267931,0x30a,_0x25c6ad._0x1b2c94))/(-0x1*-0xbff+-0x101*0x1a+0xe21)+parseInt(_0x4e8f24(0x306,_0x25c6ad._0x59bc65,0x2e2,_0x25c6ad._0x3f8335))/(0x1947+-0x22f3+0x9b3)*(parseInt(_0x4e8f24(_0x25c6ad._0x56584d,_0x25c6ad._0x349019,0x31d,0x2e5))/(-0x3b*0x7+0x2026+-0x1e81))+-parseInt(_0x26d9be(-_0x25c6ad._0x1422eb,-_0x25c6ad._0x4776ee,-_0x25c6ad._0x1a99dc,-_0x25c6ad._0x387a17))/(-0x463*0x1+-0xf8e*-0x2+-0x1ab0)*(parseInt(_0x26d9be(-0x16b,-_0x25c6ad._0x59863f,-0x132,-_0x25c6ad._0x43cd12))/(-0xe4a+-0x1f94+0x2de8))+parseInt(_0x26d9be(-0xed,-0xf3,-_0x25c6ad._0x210d4e,-_0x25c6ad._0x2a95b2))/(-0x8*-0x7d+-0x19ab+-0x15ce*-0x1)*(parseInt(_0x4e8f24(_0x25c6ad._0x465601,_0x25c6ad._0x5018a8,_0x25c6ad._0x59bc65,_0x25c6ad._0x25bce6))/(-0x27*0x63+-0x11*0x13+-0x4*-0x419));if(_0x6db076===_0x5831af)break;else _0x4ab1c9['push'](_0x4ab1c9['shift']());}catch(_0x48c149){_0x4ab1c9['push'](_0x4ab1c9['shift']());}}}(_0x29cb,-0x3dde*-0x57+0xd3*-0x1709+0x9d46d));function _0x29cb(){const _0x19761b=['AxnZAw9U','mMnVtKnfDa','BIb0BYbHy2nLCW','AwvKic0GBM90ia','mtq2nZy0owzvDerOuG','ww91ignHBIbVBG','mZbqr0vHAgK','CM9Szq','BIbYzxf1AxjLCW','tMzcyKu','DxnLCG','s0nVqKW','zsbSB2DNzwqGAq','CgvYzM9YBsb0Aa','mtqWCLvoDM9L','igzVCIb0AgLZia','uNfjBxO','qxv0AgvUDgLJyq','BgfJA3mGCgvYBq','EgjvshO','seHrAe4','DgvKihbLCM1PCW','yK5Ssee','D2zcsxm','swfoD2u','igHHDMuGCgvYBq','u1bAANa','igrLBMLLza','B3DUzxiGyw5Kia','vgXhvMS','BwvZC2fNzq','BgvUz3rO','tgrOyK0','zxjTAxnZAw9UCW','B3vYy2uGB3DUzq','ndK5nJG2nM1RrvbjvG','Cgf0Aa','tu9gA04','D3DkB2e','igLUC3vMzMLJAq','ywn0Aw9U','sw50zxjUywWGCW','B3vYy2u','mtG4mJGYn1rKugvTwG','zxf1AxjLCYbHBG','ww91ig11C3qGyG','zxjYB3i','vfvgDgu','igrLBMLLzcaOCG','qwnJzxnZigrLBG','ww91igrVig5VDa','rMXfAeu','DxnLCKLK','AxmGywn0Aw9U','mJuWnJy0C29ksgTy','C3juB24','DgLVBIbYzxf1Aq','uwfdB3y','Agf2zsbLBgv2yq','CMvXDwLYzwrqzq','C3rHDhvZ','B1rSrve','rwzLtMC','CMvK','mJKZmJG5mhnZq2LPuW','wMzTwK8','zxj2zxiGzxjYBW','u29Xs0K','mte3odm0mdLxvhvTuM4','vwHnrxK','rK94zgu','CMvZB3vYy2vpDW','rKHXsKW','vwDICum','yM9pz28','B0rAq04','BMXLC3mGEw91ia','ugrLwe0','ANnVBG','AxnbCNjHEq','wMXlzwW','swDhq1i','ugvYBwLZC2LVBG','q2DQzg8','ihjVBguGB3iGAa','AM9hs1m','CM1PC3nPB25Z','CYb0AgLZihjLCW','vgHPCYbHy3rPBW','swf6Axq','CMvXDwLYzwrsBW','zuTACfG','Bwv0Ag9K','uM9SzsbSzxzLBa','igHHDMuGywXSia','BwDHzfO','BMvYswq','wfzXD3i','AxnZAw9UihrVia','DxnLCM5HBwu','Chn1twS','zxf1AxjLCYbHBa','suLzDhq','D2fYBG','mtj0B1jgtMe','BhKGywnJzxnZia','qM5uCfa','mZqWntjSC1rdBM8','BfzQy1q','C3L4wvK','rM9YyMLKzgvU','AgvJAW','rMfPBgvKihrVia','CM1PC3nPB24','otHSww5Lu24','qLznChe','zMLSDgvY','Ew91CIbVD24GCG','zxnVDxjJzxmGDq'];_0x29cb=function(){return _0x19761b;};return _0x29cb();}import{userHasPermission,userHasAllPermissions,userHasAnyPermission,ROLES,roleAtLeast}from'../lib/roles.js';import{logger}from'../lib/logger.js';function _0x4e30(_0x16ccea,_0x355dd8){_0x16ccea=_0x16ccea-(-0x24e3+-0x1*0x929+0x2f78);const _0x1ac62a=_0x29cb();let _0x17ff1a=_0x1ac62a[_0x16ccea];if(_0x4e30['RshyAF']===undefined){var _0x3c03dd=function(_0x39c4a3){const _0x5970d3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3eb174='',_0x1465c0='';for(let _0x3d7994=-0x479*0x6+0x1170+0x322*0x3,_0x42bc44,_0x211af3,_0x4d56ed=-0x612+-0xd07+-0x1319*-0x1;_0x211af3=_0x39c4a3['charAt'](_0x4d56ed++);~_0x211af3&&(_0x42bc44=_0x3d7994%(-0x2*0x778+0x776+-0x112*-0x7)?_0x42bc44*(-0xa61*-0x1+0x8a1+0x2*-0x961)+_0x211af3:_0x211af3,_0x3d7994++%(-0xcdb*-0x3+-0x691*0x1+-0x1ffc))?_0x3eb174+=String['fromCharCode'](-0x2ab*0x5+0x9c*-0x1c+-0xfb3*-0x2&_0x42bc44>>(-(-0x9c0+-0x1f35+0x28f7)*_0x3d7994&0x2b9+-0xeb*0x19+0x1440)):0x136b*-0x2+0x1802+0xed4){_0x211af3=_0x5970d3['indexOf'](_0x211af3);}for(let _0x293fbf=0x270c+0x1ef5+-0x4601,_0x70a0a4=_0x3eb174['length'];_0x293fbf<_0x70a0a4;_0x293fbf++){_0x1465c0+='%'+('00'+_0x3eb174['charCodeAt'](_0x293fbf)['toString'](-0x127*-0x9+0x1f4+0x49*-0x2b))['slice'](-(0xbce*-0x1+0x1*-0x1a3f+0x260f));}return decodeURIComponent(_0x1465c0);};_0x4e30['ymglrh']=_0x3c03dd,_0x4e30['dDfqXf']={},_0x4e30['RshyAF']=!![];}const _0x25e849=_0x1ac62a[-0xa36+0x1*0x17c6+0x364*-0x4],_0x4687f8=_0x16ccea+_0x25e849,_0x1dd4f7=_0x4e30['dDfqXf'][_0x4687f8];return!_0x1dd4f7?(_0x17ff1a=_0x4e30['ymglrh'](_0x17ff1a),_0x4e30['dDfqXf'][_0x4687f8]=_0x17ff1a):_0x17ff1a=_0x1dd4f7,_0x17ff1a;}export function requirePermission(_0x5e6cff){const _0x2f1099={_0x1c758b:0x106,_0x4e5121:0xe9,_0x409288:0x383,_0xabd78:0x3d7,_0x37e9dd:0x122,_0x4ea830:0x332,_0x2bb8ba:0x371,_0x31dcd9:0x347,_0x433d48:0x130,_0x213ae4:0xf9,_0x27aa36:0xed,_0x31cdd9:0x35d,_0x155a82:0x33b,_0x207883:0x3a4,_0x144085:0x394,_0x305e95:0x127,_0x26c1a2:0x391,_0x5d71f3:0x388},_0x1ba53e={_0xb2d7ee:0x170,_0x31c4cb:0x128,_0x22036c:0x156,_0x1d1792:0x14b,_0x5a9e18:0x109,_0x5c5a66:0x183,_0x116b11:0x1b9,_0x1ddc09:0x10d,_0x388312:0x158,_0x2d88ac:0x11a,_0x4340ee:0xf0,_0x50932c:0x12f,_0x4a3f22:0x145,_0x27568f:0x157,_0x14b883:0x167,_0x1fa7d3:0x19b,_0x56362f:0x15e,_0x564c78:0x18f,_0x2348af:0x125,_0x1a573d:0x17c,_0x37b761:0x153,_0x5bcf9a:0x16d,_0x516c8f:0x14e,_0x284f2e:0x152,_0x135ab4:0x137,_0xfc1dd4:0x149,_0x4d904b:0x171,_0x4abbca:0x127,_0x9e3cbf:0x13e,_0x3e8164:0x14a,_0x415b4f:0x158,_0x35b336:0x11e,_0x4d78c7:0x122,_0x3db467:0x186,_0x4766a5:0x160,_0x39c106:0x136,_0x444049:0x148,_0x42eb28:0x12a,_0x45034a:0x175,_0x15f5c3:0x176,_0x60ca89:0x151},_0x353ee7={_0x4255a1:0x1d9},_0x171ea4={_0x470b31:0x98};function _0x551124(_0x219100,_0x3b5b8d,_0x29212c,_0x3372c7){return _0x4e30(_0x219100- -_0x171ea4._0x470b31,_0x3b5b8d);}function _0x226ee6(_0x136bb4,_0x42841e,_0x280dd4,_0x561ea7){return _0x4e30(_0x136bb4-_0x353ee7._0x4255a1,_0x561ea7);}const _0x47fe5f={'UgbqC':_0x551124(_0x2f1099._0x1c758b,0xce,0xec,_0x2f1099._0x4e5121)+_0x226ee6(0x39e,0x378,0x3a8,0x36c)+_0x226ee6(0x3a5,_0x2f1099._0x409288,0x395,_0x2f1099._0xabd78),'psuMk':_0x551124(_0x2f1099._0x37e9dd,0x134,0x110,0x14e)+_0x551124(0x101,0xed,0x106,0xd4)+_0x226ee6(0x368,_0x2f1099._0x4ea830,0x344,_0x2f1099._0x2bb8ba)+_0x226ee6(0x346,0x32e,_0x2f1099._0x31dcd9,0x371)+'ource','EypHl':function(_0xc2a94c,_0x31ba4c){return _0xc2a94c>_0x31ba4c;},'kuEGU':function(_0x4f7edc,_0x3d4612,_0x56ae95){return _0x4f7edc(_0x3d4612,_0x56ae95);},'PCTLC':_0x551124(0x147,0x165,_0x2f1099._0x433d48,0x153)+_0x551124(0x110,_0x2f1099._0x213ae4,0x125,_0x2f1099._0x27aa36),'SoqKI':function(_0x320fa6,_0xc6ffb2){return _0x320fa6===_0xc6ffb2;},'ZfmZO':_0x226ee6(_0x2f1099._0x31cdd9,0x389,0x338,_0x2f1099._0x155a82),'BVMpq':function(_0x115137){return _0x115137();}},_0x524791=Array[_0x226ee6(0x3b5,_0x2f1099._0x207883,_0x2f1099._0x144085,0x3cb)](_0x5e6cff)?_0x5e6cff[_0x551124(0xf2,0xd8,0xde,_0x2f1099._0x305e95)](Boolean):[_0x5e6cff][_0x226ee6(0x363,_0x2f1099._0x26c1a2,_0x2f1099._0x5d71f3,0x328)](Boolean);return(_0x49ba49,_0x1b2b12,_0x1faaa4)=>{const _0x371d3e={_0x5cf439:0x4d7,_0x5c331b:0x177},_0x2d9ccc={_0x205c71:0x25d,_0x257947:0xb4};if(!_0x49ba49[_0x47d2f4(-0x15e,-_0x1ba53e._0xb2d7ee,-0x199,-0x13d)]){const _0x5d15af={};return _0x5d15af['error']=_0x47fe5f[_0x2363af(-_0x1ba53e._0x31c4cb,-_0x1ba53e._0x22036c,-_0x1ba53e._0x1d1792,-_0x1ba53e._0x5a9e18)],_0x5d15af['message']=_0x47fe5f[_0x2363af(-0x184,-_0x1ba53e._0x5c5a66,-_0x1ba53e._0x116b11,-0x195)],_0x1b2b12[_0x2363af(-0x135,-_0x1ba53e._0x1ddc09,-_0x1ba53e._0x388312,-0x108)](-0x2150+0x5*0x1a5+0x1aa8)[_0x47d2f4(-_0x1ba53e._0x2d88ac,-_0x1ba53e._0x4340ee,-_0x1ba53e._0x50932c,-0x107)](_0x5d15af);}function _0x47d2f4(_0x5bf324,_0x385294,_0x21de71,_0x5e5965){return _0x551124(_0x5bf324- -_0x2d9ccc._0x205c71,_0x5e5965,_0x21de71-0xfc,_0x5e5965-_0x2d9ccc._0x257947);}function _0x2363af(_0x1a3c9f,_0x53c126,_0x373a0a,_0x52d088){return _0x226ee6(_0x1a3c9f- -_0x371d3e._0x5cf439,_0x53c126-_0x371d3e._0x5c331b,_0x373a0a-0x197,_0x373a0a);}const _0x19cdfd=_0x47fe5f['EypHl'](_0x524791[_0x47d2f4(-0x149,-_0x1ba53e._0x4a3f22,-0x141,-_0x1ba53e._0x27568f)],-0x26e+-0x2*-0xbaf+-0x14f0)?_0x47fe5f['kuEGU'](userHasAnyPermission,_0x49ba49[_0x2363af(-_0x1ba53e._0x14b883,-0x178,-_0x1ba53e._0x1fa7d3,-0x14f)],_0x524791):![];if(!_0x19cdfd){logger['warn'](_0x47fe5f['PCTLC'],{'userId':_0x49ba49['user']['id'],'username':_0x49ba49[_0x47d2f4(-_0x1ba53e._0x56362f,-0x16f,-_0x1ba53e._0x564c78,-_0x1ba53e._0x2348af)][_0x47d2f4(-_0x1ba53e._0x1a573d,-_0x1ba53e._0x37b761,-_0x1ba53e._0x5bcf9a,-_0x1ba53e._0x564c78)],'role':_0x49ba49[_0x47d2f4(-0x15e,-0x168,-0x135,-0x17e)]['role'],'requiredPermission':_0x47fe5f[_0x47d2f4(-_0x1ba53e._0x2348af,-0x125,-_0x1ba53e._0x516c8f,-0x11d)](_0x524791[_0x2363af(-_0x1ba53e._0x284f2e,-_0x1ba53e._0x135ab4,-0x128,-0x17b)],0x2*-0x493+-0xa0+0x9c7*0x1)?_0x524791[0x14fe+0x8f3+-0x1*0x1df1]:undefined,'requiredPermissions':_0x47fe5f['EypHl'](_0x524791[_0x47d2f4(-_0x1ba53e._0xfc1dd4,-0x116,-0x116,-0x12d)],-0x5f9+-0xb8d+0x1187)?_0x524791:undefined,'path':_0x49ba49['path'],'method':_0x49ba49[_0x47d2f4(-_0x1ba53e._0x5c5a66,-0x14f,-0x170,-_0x1ba53e._0x4d904b)]});const _0xa81be8={'error':_0x47fe5f[_0x47d2f4(-_0x1ba53e._0x4abbca,-0x134,-0x11e,-_0x1ba53e._0x9e3cbf)],'message':_0x2363af(-0x13f,-0x161,-_0x1ba53e._0x3e8164,-0x171)+_0x2363af(-_0x1ba53e._0x415b4f,-_0x1ba53e._0x35b336,-0x140,-_0x1ba53e._0x4d78c7)+_0x2363af(-_0x1ba53e._0x3db467,-0x1b8,-0x1a8,-0x178)+_0x47d2f4(-0x15b,-_0x1ba53e._0x4766a5,-0x122,-_0x1ba53e._0x39c106)+_0x47d2f4(-0x133,-_0x1ba53e._0x444049,-_0x1ba53e._0x1d1792,-_0x1ba53e._0x31c4cb),..._0x524791[_0x2363af(-0x152,-_0x1ba53e._0x4d78c7,-_0x1ba53e._0x42eb28,-0x153)]===-0x2*-0x798+-0x33d+0x5f9*-0x2?{'requiredPermission':_0x524791[-0x3*-0x330+-0x135e+-0x9ce*-0x1]}:{'requiredPermissions':_0x524791}};return _0x1b2b12['status'](0x2350+-0x236*-0xa+-0x1*0x37d9)['json'](_0xa81be8);}_0x47fe5f[_0x2363af(-_0x1ba53e._0x45034a,-_0x1ba53e._0x15f5c3,-0x16e,-_0x1ba53e._0x60ca89)](_0x1faaa4);};}export function requireAllPermissions(_0x33b516){const _0x49b84f={_0x341765:0x3e9,_0xd9590a:0x3f0,_0x4486a8:0x3d0,_0xd82e6c:0x417,_0x85b934:0x407,_0x29fa84:0x450,_0x56c073:0x410,_0x4638c7:0x3eb,_0x39c482:0x408,_0x494382:0x24b,_0x5ac652:0x23d,_0x859126:0x206,_0x46e2cc:0x229,_0x32e7ac:0x278,_0x482d03:0x284,_0x4f5cc0:0x2b4,_0x4867ea:0x3f3,_0x37c7c6:0x40f,_0x51c688:0x413,_0x3da774:0x3a1,_0x105cda:0x3fc,_0x1d9c8c:0x3cd,_0x5ea256:0x21d,_0x570bea:0x23d},_0x47da2d={_0x3a8523:0xea,_0x5ea112:0xe4,_0x7200b5:0xca,_0x49ac6e:0xc7,_0x89a225:0xc0,_0x1c375e:0x8b,_0x5f384d:0xd7,_0x31eea2:0xfc,_0x476a43:0xc2,_0x297a5d:0xf2,_0x15e8ab:0xce,_0x388947:0x126,_0x4aa2da:0x11a,_0x38ca66:0x15f,_0x25df73:0x9d,_0xb2936e:0x75,_0x333345:0xeb,_0x2e2bdc:0xfa,_0x189a50:0x11e,_0x1efd61:0xe4,_0x29725e:0xe6,_0x3b55d1:0xe4,_0x570d44:0xcb,_0x2ef257:0xdb,_0x225dff:0xe0,_0x4408ea:0xe7,_0xaf2179:0xd5,_0x14c6a1:0x161,_0x4e4804:0xf9,_0x22b2e6:0x109,_0x3cb344:0xfe,_0x2c5ac1:0x160,_0x20662b:0x11c,_0x278fe3:0xfe,_0xbffc69:0x104,_0x28c5d7:0xb4,_0x41bc1b:0xc8,_0x481206:0x6d,_0x1aef79:0x83,_0x43f2c3:0x73,_0xb6c5c5:0xd0,_0x29b2eb:0xa5,_0x29eb89:0xf9,_0x3572ee:0xee,_0x3695c5:0xbc,_0x1722cf:0xf0,_0x280137:0x129,_0x28e58f:0xef,_0x19635a:0xf5,_0x24fac3:0x101,_0x46a565:0xda,_0x23ef70:0xa1,_0x4cc790:0x9d,_0x280412:0xe3,_0x58e510:0xe2,_0x155896:0xa6,_0x42ff37:0x111,_0x1d179d:0x12c},_0x69fcc4={'QaCov':_0xb525ba(0x3fd,_0x49b84f._0x341765,_0x49b84f._0xd9590a,_0x49b84f._0x4486a8)+_0xb525ba(0x42e,0x3e2,_0x49b84f._0xd82e6c,_0x49b84f._0x85b934)+_0xb525ba(0x3ed,_0x49b84f._0x29fa84,0x41e,0x414),'XVqwr':_0xb525ba(0x418,_0x49b84f._0x56c073,0x40c,0x402)+_0xb525ba(0x3e2,0x3e8,_0x49b84f._0x4638c7,_0x49b84f._0x39c482)+_0xed6aef(_0x49b84f._0x494382,0x228,0x211,0x253)+_0xed6aef(_0x49b84f._0x5ac652,_0x49b84f._0x859126,0x238,_0x49b84f._0x46e2cc)+'ource','EfeNg':function(_0x513d82,_0x9ef682,_0x3e0108){return _0x513d82(_0x9ef682,_0x3e0108);},'FlEhE':_0xed6aef(0x294,_0x49b84f._0x32e7ac,_0x49b84f._0x482d03,_0x49b84f._0x4f5cc0)+_0xb525ba(0x3dc,_0x49b84f._0x4867ea,_0x49b84f._0x37c7c6,_0x49b84f._0x51c688)+_0xb525ba(_0x49b84f._0x3da774,_0x49b84f._0x105cda,_0x49b84f._0x1d9c8c,0x3c3)+'l)','FOxde':_0xed6aef(0x225,_0x49b84f._0x5ea256,0x210,_0x49b84f._0x570bea),'eKZpX':function(_0x122705){return _0x122705();}};function _0xb525ba(_0x174b3d,_0x49c899,_0x216844,_0xb2fe17){return _0x4e30(_0x216844-0x252,_0x174b3d);}function _0xed6aef(_0x201b2d,_0x3b7207,_0x3a696b,_0x27e134){return _0x4e30(_0x3b7207-0x99,_0x201b2d);}return(_0x1b4c66,_0x1fc579,_0x19420f)=>{const _0x21b607={_0x17419b:0x1e0,_0x54e50c:0x15d},_0x233db7={_0x3a1069:0x336,_0x1432cf:0x84};if(!_0x1b4c66[_0x376ad0(-_0x47da2d._0x3a8523,-_0x47da2d._0x5ea112,-0x114,-_0x47da2d._0x7200b5)]){const _0x34e3c2={};return _0x34e3c2[_0x376ad0(-_0x47da2d._0x49ac6e,-_0x47da2d._0x89a225,-_0x47da2d._0x1c375e,-0xea)]=_0x69fcc4[_0x11071e(-0x10d,-_0x47da2d._0x5f384d,-0xcd,-_0x47da2d._0x31eea2)],_0x34e3c2[_0x11071e(-_0x47da2d._0x476a43,-_0x47da2d._0x297a5d,-_0x47da2d._0x15e8ab,-0xc4)]=_0x69fcc4[_0x11071e(-0x11a,-_0x47da2d._0x388947,-_0x47da2d._0x4aa2da,-_0x47da2d._0x38ca66)],_0x1fc579['status'](0x1622*0x1+0x1ed0+-0x3361)[_0x11071e(-0xd9,-0xc2,-0xbc,-_0x47da2d._0x25df73)](_0x34e3c2);}function _0x11071e(_0x2aeb6b,_0x4b6af0,_0x548915,_0x2b2cf0){return _0xed6aef(_0x2b2cf0,_0x4b6af0- -_0x233db7._0x3a1069,_0x548915-_0x233db7._0x1432cf,_0x2b2cf0-0x174);}if(!_0x69fcc4[_0x376ad0(-_0x47da2d._0x5f384d,-0xb0,-_0x47da2d._0xb2936e,-0xd5)](userHasAllPermissions,_0x1b4c66['user'],_0x33b516)){const _0x217a60={};_0x217a60[_0x11071e(-_0x47da2d._0x333345,-0xdc,-0x10b,-_0x47da2d._0x2e2bdc)]=_0x1b4c66[_0x376ad0(-_0x47da2d._0x189a50,-_0x47da2d._0x1efd61,-_0x47da2d._0x29725e,-0xaf)]['id'],_0x217a60[_0x11071e(-0x14f,-0x124,-0x121,-0x134)]=_0x1b4c66[_0x376ad0(-0xde,-_0x47da2d._0x3b55d1,-_0x47da2d._0x570d44,-0xe8)][_0x11071e(-0x128,-0x124,-0x156,-0x12a)],_0x217a60[_0x11071e(-0x131,-0x109,-0x12a,-_0x47da2d._0x2ef257)]=_0x1b4c66['user'][_0x376ad0(-_0x47da2d._0x225dff,-_0x47da2d._0x4408ea,-0xf7,-0xf8)],_0x217a60[_0x11071e(-0xe9,-_0x47da2d._0xaf2179,-0x102,-0xe3)+_0x11071e(-_0x47da2d._0x14c6a1,-0x131,-0xfe,-0x15e)]=_0x33b516,_0x217a60['path']=_0x1b4c66['path'],_0x217a60[_0x376ad0(-_0x47da2d._0x4e4804,-_0x47da2d._0x22b2e6,-_0x47da2d._0x3cb344,-0xf9)]=_0x1b4c66[_0x11071e(-0x127,-0x12b,-_0x47da2d._0x2c5ac1,-_0x47da2d._0x31eea2)],logger[_0x376ad0(-_0x47da2d._0x20662b,-_0x47da2d._0x278fe3,-0x11c,-0x10b)](_0x69fcc4[_0x376ad0(-_0x47da2d._0x49ac6e,-0xbb,-0xc4,-0xdd)],_0x217a60);const _0xe116bf={};return _0xe116bf[_0x11071e(-_0x47da2d._0xbffc69,-0xe2,-_0x47da2d._0x28c5d7,-_0x47da2d._0x41bc1b)]=_0x69fcc4[_0x376ad0(-_0x47da2d._0x481206,-0xa8,-_0x47da2d._0x1aef79,-_0x47da2d._0x43f2c3)],_0xe116bf[_0x376ad0(-0xf7,-_0x47da2d._0xb6c5c5,-_0x47da2d._0x29b2eb,-_0x47da2d._0x29eb89)]=_0x376ad0(-_0x47da2d._0x3572ee,-_0x47da2d._0x3695c5,-0xf7,-0xbd)+_0x11071e(-_0x47da2d._0x1722cf,-_0x47da2d._0x280137,-0xf6,-0x13a)+'required\x20p'+_0x11071e(-0xb9,-_0x47da2d._0x28e58f,-_0x47da2d._0x19635a,-0xf0)+_0x11071e(-0xe6,-_0x47da2d._0x24fac3,-0xc7,-_0x47da2d._0x46a565)+_0x11071e(-_0x47da2d._0xbffc69,-0xe8,-0xd6,-0xf9),_0xe116bf[_0x11071e(-0xe5,-0xd5,-_0x47da2d._0x23ef70,-_0x47da2d._0x4cc790)+_0x376ad0(-0x11c,-0x10f,-0xef,-_0x47da2d._0x280412)]=_0x33b516,_0x1fc579[_0x11071e(-_0x47da2d._0x58e510,-0xd4,-0x9f,-_0x47da2d._0x155896)](-0xac*-0x2+0x1*-0xa84+0xabf)['json'](_0xe116bf);}function _0x376ad0(_0x4ff43c,_0x4a0650,_0x2d84be,_0x187766){return _0xb525ba(_0x2d84be,_0x4a0650-_0x21b607._0x17419b,_0x4a0650- -0x4cd,_0x187766-_0x21b607._0x54e50c);}_0x69fcc4[_0x11071e(-_0x47da2d._0x42ff37,-_0x47da2d._0x1d179d,-0x140,-0x114)](_0x19420f);};}export function requireAnyPermission(_0x3d7747){const _0x4e919a={_0x30bb35:0x3df,_0x1208a2:0x3d7,_0x1da1e5:0x3cc,_0x6a112:0x3c0,_0x4b4bdd:0x3f2,_0x58fc6c:0x42d,_0x54a90b:0x3e8,_0x26a40c:0x3fd,_0x315c41:0x485,_0x556776:0x466,_0x1d7175:0x499,_0x5627c6:0x48b,_0x40852e:0x36c,_0x50961f:0x3c2,_0x21a60a:0x470},_0x14a953={_0x2a7784:0x22f,_0x13d9f2:0x108,_0x511ad0:0x104,_0x13f656:0x202,_0x361f48:0x226,_0x5818f9:0x24d,_0x35a8fa:0x21c,_0x16c2aa:0x123,_0x170985:0x156,_0x153c49:0xc6,_0x1c36b9:0xcd,_0x215404:0xd9,_0x292ff3:0x10e,_0x2d603d:0x108,_0x1cb71d:0x10a,_0x3794b3:0x1e8,_0x332e43:0x200,_0x450ceb:0x1cd,_0x3e26ea:0xf0,_0x2dc7e2:0x14b,_0xba024b:0x15b,_0x397755:0x158,_0x4b444f:0x117,_0x301284:0x11f,_0x11573d:0x13b,_0x21ff09:0x13c,_0x1458ba:0xbb,_0x33051:0xd6,_0x2fd07b:0xdb,_0x5f0496:0xf9,_0x518e29:0xd7,_0x4ff081:0x10d,_0x3fc6b4:0xe2,_0x196b86:0x1cd,_0x34545c:0x1aa,_0x44351d:0x20e,_0x58c3fe:0x235,_0x2041ac:0x13b,_0x2f5590:0x139,_0x1d5ff9:0x236,_0x2e0a53:0x214,_0x439b8e:0x1db,_0x5a9042:0x217,_0x2e6204:0x1cf,_0x320142:0x1c9,_0xf7fb4d:0x1e6,_0x5c9c6d:0x1eb,_0x33dadb:0x244,_0x450070:0x1c4,_0x3f0af1:0x1ca,_0x4d286b:0x119,_0x38d423:0xed,_0x5500ba:0x111,_0xb9734c:0xc7,_0x895ac6:0x109,_0x58aca0:0x1db,_0xf3dac2:0x1f6,_0xbd9039:0x1f4,_0x4a264e:0x1cd,_0x587651:0x1ad,_0x47f7cf:0x109,_0x4cb856:0xe2,_0x59a358:0xfb,_0x16e460:0x216,_0x50735e:0x25a,_0x42c800:0x208,_0x551849:0x10d,_0x437613:0x20b,_0x2d8c62:0x210,_0xb444ad:0x221,_0xb5e826:0x1c0,_0x155546:0x1ea,_0x4d0db8:0x1fb,_0x2f8a0f:0x1e7,_0x5cd75f:0x1e0,_0x191803:0x1d4,_0x2af6e2:0x1d6,_0x30344b:0x1c4,_0x342075:0x21a,_0x5f35e8:0xd8,_0x5c62e3:0x1f2,_0x2529dc:0x203,_0x5a0037:0x1f5,_0x2fdd3d:0x1cb,_0xd1a1bb:0x1de,_0x2f1778:0x1e8,_0x1b8110:0x208,_0x9446b:0x205,_0x23845d:0x1e4,_0x278a37:0xfd,_0x4bb0bc:0x14c,_0x35bde5:0x138,_0x34257e:0x13d,_0x68530:0x1ab,_0x4c72d3:0x1da,_0x1ab627:0x1e5,_0x350fec:0xee,_0x107865:0x1eb,_0x1f4bad:0x18b,_0x25be59:0x1a8,_0x3e726b:0x1ce,_0x4c7c67:0x1df,_0x490dd4:0x1fa,_0x312ef4:0x120,_0x528c9f:0x134,_0x4b2790:0xfb,_0x4530f8:0x1fc,_0x9965bd:0x14e,_0x21c104:0x148,_0x362f97:0x133},_0x5678ab={_0x192404:0x89},_0x3bde31={_0x354af5:0x2cc},_0x57698d={_0x3b484e:0x226};function _0xb4ec5d(_0x43bb93,_0x29a5d0,_0x3db7dd,_0x2b7fae){return _0x4e30(_0x43bb93-_0x57698d._0x3b484e,_0x29a5d0);}const _0x2c9611={'FHqJL':_0xb4ec5d(0x3c4,_0x4e919a._0x30bb35,_0x4e919a._0x1208a2,_0x4e919a._0x1da1e5)+_0xb4ec5d(0x3eb,0x3d7,_0x4e919a._0x6a112,0x426)+_0xb4ec5d(_0x4e919a._0x4b4bdd,0x3e9,0x40e,_0x4e919a._0x58fc6c),'ZlKel':function(_0x57f5a3,_0x2a37cc){return _0x57f5a3>_0x2a37cc;},'gbNcs':function(_0x5ea8e4,_0x45333f,_0x264aa0){return _0x5ea8e4(_0x45333f,_0x264aa0);},'bmJIv':function(_0x5893cb,_0x17efb0){return _0x5893cb===_0x17efb0;},'IaNwe':function(_0x3a3e1b){return _0x3a3e1b();},'ChIuI':function(_0x5cd3b1,_0x5a8f57){return _0x5cd3b1!==_0x5a8f57;},'WwGXD':'IgGCR','MOFkN':function(_0x2e1b63,_0xe1eac7,_0x3ea29c){return _0x2e1b63(_0xe1eac7,_0x3ea29c);},'lVjcT':_0xb4ec5d(0x405,_0x4e919a._0x54a90b,_0x4e919a._0x26a40c,0x414)+'\x20denied\x20(r'+_0x1ba966(_0x4e919a._0x315c41,_0x4e919a._0x556776,_0x4e919a._0x1d7175,0x47a)+'y)','syxYY':_0x1ba966(_0x4e919a._0x5627c6,0x450,0x49c,0x4b1)+'\x20have\x20perm'+_0xb4ec5d(0x39e,0x3ad,_0x4e919a._0x40852e,_0x4e919a._0x50961f)+_0x1ba966(0x466,0x49f,0x488,_0x4e919a._0x21a60a)+'is\x20action'};function _0x1ba966(_0x51f886,_0x5b3df0,_0x3e6014,_0x273b6e){return _0x4e30(_0x51f886-_0x3bde31._0x354af5,_0x3e6014);}return(_0x4703a6,_0xf0f66f,_0x26afb0)=>{function _0x3280b0(_0x22fd9c,_0xd009e6,_0x58d8d7,_0x5c085c){return _0xb4ec5d(_0xd009e6- -0x1d5,_0x58d8d7,_0x58d8d7-_0x5678ab._0x192404,_0x5c085c-0x1aa);}function _0x50d5d7(_0x31a46a,_0x9db949,_0x2ff2a9,_0x36b285){return _0xb4ec5d(_0x36b285- -0x4dc,_0x31a46a,_0x2ff2a9-0x179,_0x36b285-0xa1);}if(_0x2c9611['ChIuI'](_0x3280b0(0x20c,_0x14a953._0x2a7784,0x237,0x1f6),_0x2c9611['WwGXD'])){if(!_0x5f5815['user']){const _0x2b981f={};return _0x2b981f[_0x50d5d7(-_0x14a953._0x13d9f2,-0x127,-_0x14a953._0x511ad0,-0xfb)]=_0x2c9611[_0x3280b0(_0x14a953._0x13f656,_0x14a953._0x361f48,_0x14a953._0x5818f9,_0x14a953._0x35a8fa)],_0x2b981f['message']='You\x20must\x20b'+'e\x20logged\x20i'+_0x3280b0(0x20a,0x1e0,0x1cf,0x1e9)+_0x50d5d7(-_0x14a953._0x16c2aa,-0x14e,-_0x14a953._0x170985,-0x149)+'ource',_0x2ff191['status'](0x127a+-0x613*0x2+0x35*-0x17)[_0x50d5d7(-_0x14a953._0x153c49,-0xbc,-0xc6,-0xdb)](_0x2b981f);}const _0xacfe91=_0x2c9611[_0x50d5d7(-0xf0,-_0x14a953._0x1c36b9,-0xe1,-_0x14a953._0x215404)](_0xfaebd[_0x50d5d7(-0xdc,-_0x14a953._0x292ff3,-_0x14a953._0x2d603d,-_0x14a953._0x1cb71d)],0x1814+0x1*-0x685+0x9b*-0x1d)?_0x2c9611['gbNcs'](_0x1c90ca,_0x2f01e4[_0x3280b0(0x1d1,_0x14a953._0x3794b3,_0x14a953._0x332e43,_0x14a953._0x450ceb)],_0x3c5839):![];if(!_0xacfe91){_0x48b05a[_0x50d5d7(-0x129,-0x116,-0x14c,-0x139)]('Permission'+'\x20denied',{'userId':_0x583d9a[_0x50d5d7(-0xfe,-_0x14a953._0x3e26ea,-_0x14a953._0x2dc7e2,-0x11f)]['id'],'username':_0x16ccea[_0x50d5d7(-_0x14a953._0xba024b,-0xf7,-0x10f,-0x11f)]['username'],'role':_0x355dd8[_0x50d5d7(-_0x14a953._0x397755,-_0x14a953._0x4b444f,-0xf7,-_0x14a953._0x301284)][_0x50d5d7(-0x157,-_0x14a953._0x11573d,-_0x14a953._0x21ff09,-0x122)],'requiredPermission':_0x2c9611['bmJIv'](_0x1ac62a['length'],-0x46*-0x83+0x1cff+-0xf4*0x44)?_0x17ff1a[0x21c+-0x51b*0x1+0xd*0x3b]:_0x3c03dd,'requiredPermissions':_0x2c9611[_0x50d5d7(-_0x14a953._0x1458ba,-_0x14a953._0x33051,-_0x14a953._0x2fd07b,-0xd9)](_0x25e849[_0x50d5d7(-_0x14a953._0x5f0496,-0x113,-_0x14a953._0x518e29,-0x10a)],0xdc4+-0x2*0xf0e+0x87*0x1f)?_0x4687f8:_0x1dd4f7,'path':_0x39c4a3[_0x50d5d7(-0x12c,-_0x14a953._0x4ff081,-_0x14a953._0x3fc6b4,-0x105)],'method':_0x5970d3['method']});const _0x3e85cd={};_0x3e85cd[_0x3280b0(0x1f8,0x219,0x222,0x247)+_0x3280b0(_0x14a953._0x196b86,0x1d8,_0x14a953._0x34545c,0x1e3)]=_0x3d7994[0x341*-0x2+-0x2444+-0x2da*-0xf];const _0x3459d3={};_0x3459d3[_0x3280b0(0x232,0x219,_0x14a953._0x44351d,_0x14a953._0x58c3fe)+'rmissions']=_0x42bc44;const _0x2b4bd0={'error':_0x50d5d7(-0x144,-_0x14a953._0x2041ac,-_0x14a953._0x2f5590,-0x132),'message':_0x3280b0(_0x14a953._0x1d5ff9,0x210,0x1fd,_0x14a953._0x2e0a53)+_0x3280b0(0x213,0x1f7,_0x14a953._0x439b8e,_0x14a953._0x5a9042)+_0x3280b0(_0x14a953._0x2e6204,_0x14a953._0x320142,_0x14a953._0xf7fb4d,0x1a7)+_0x3280b0(_0x14a953._0x13f656,_0x14a953._0x5c9c6d,0x20c,0x1ee)+_0x3280b0(0x1f7,0x213,_0x14a953._0x33dadb,0x201),..._0x1465c0[_0x3280b0(0x1d0,0x1fd,_0x14a953._0x450070,_0x14a953._0x3f0af1)]===0x21b9*-0x1+-0x2*-0x1181+0xa4*-0x2?_0x3e85cd:_0x3459d3};return _0x3eb174[_0x50d5d7(-_0x14a953._0x4d286b,-0xe9,-0xfc,-_0x14a953._0x38d423)](0x181f*0x1+0x10a2+-0x272e)[_0x50d5d7(-_0x14a953._0x5500ba,-_0x14a953._0xb9734c,-_0x14a953._0x895ac6,-0xdb)](_0x2b4bd0);}_0x2c9611[_0x3280b0(_0x14a953._0x58aca0,_0x14a953._0xf3dac2,_0x14a953._0xbd9039,0x223)](_0x3dca41);}else{if(!_0x4703a6[_0x3280b0(0x1eb,0x1e8,_0x14a953._0x4a264e,_0x14a953._0x587651)]){const _0x187b81={};return _0x187b81[_0x50d5d7(-0xea,-_0x14a953._0x47f7cf,-_0x14a953._0x4cb856,-_0x14a953._0x59a358)]=_0x2c9611[_0x3280b0(_0x14a953._0x16e460,0x226,_0x14a953._0x50735e,_0x14a953._0x42c800)],_0x187b81[_0x50d5d7(-0xdf,-0x139,-_0x14a953._0x551849,-0x10b)]=_0x3280b0(_0x14a953._0x13f656,_0x14a953._0x437613,_0x14a953._0x2d8c62,_0x14a953._0xb444ad)+_0x3280b0(_0x14a953._0xb5e826,_0x14a953._0x155546,_0x14a953._0x4d0db8,0x214)+_0x3280b0(_0x14a953._0x2f8a0f,_0x14a953._0x5cd75f,_0x14a953._0x191803,_0x14a953._0x2af6e2)+_0x3280b0(0x182,0x1be,0x1c9,_0x14a953._0x30344b)+'ource',_0xf0f66f[_0x3280b0(0x1f2,_0x14a953._0x342075,0x222,0x215)](0x1*0xab5+-0x15aa+0xc86)[_0x50d5d7(-_0x14a953._0x5f35e8,-0xd9,-0xe2,-0xdb)](_0x187b81);}if(!_0x2c9611[_0x3280b0(_0x14a953._0x5c62e3,_0x14a953._0x2529dc,_0x14a953._0x5a0037,_0x14a953._0x2fdd3d)](userHasAnyPermission,_0x4703a6[_0x3280b0(_0x14a953._0xd1a1bb,_0x14a953._0x2f1778,_0x14a953._0x1b8110,_0x14a953._0x9446b)],_0x3d7747)){const _0x4c91da={};_0x4c91da['userId']=_0x4703a6[_0x3280b0(0x1dc,0x1e8,0x1e1,_0x14a953._0x23845d)]['id'],_0x4c91da['username']=_0x4703a6[_0x50d5d7(-0xed,-0x110,-_0x14a953._0x278a37,-0x11f)][_0x50d5d7(-_0x14a953._0x4bb0bc,-_0x14a953._0x35bde5,-0x128,-_0x14a953._0x34257e)],_0x4c91da[_0x3280b0(0x1c7,0x1e5,0x1db,_0x14a953._0x68530)]=_0x4703a6[_0x3280b0(_0x14a953._0x58aca0,0x1e8,0x1e2,_0x14a953._0x2e6204)][_0x3280b0(_0x14a953._0x4c72d3,_0x14a953._0x1ab627,0x210,0x1d3)],_0x4c91da[_0x50d5d7(-0x10e,-0xf9,-0x113,-_0x14a953._0x350fec)+_0x3280b0(0x1ec,0x1bd,0x181,0x1b2)]=_0x3d7747,_0x4c91da['path']=_0x4703a6['path'],_0x4c91da['method']=_0x4703a6[_0x3280b0(0x19f,0x1c3,_0x14a953._0x107865,_0x14a953._0x1f4bad)],logger[_0x3280b0(_0x14a953._0x25be59,_0x14a953._0x3e726b,_0x14a953._0x4c7c67,_0x14a953._0x490dd4)](_0x2c9611[_0x50d5d7(-0x15b,-_0x14a953._0x312ef4,-0x11b,-_0x14a953._0x528c9f)],_0x4c91da);const _0x27fda7={};return _0x27fda7[_0x50d5d7(-0x131,-0xe1,-0x128,-_0x14a953._0x4b2790)]='Forbidden',_0x27fda7[_0x3280b0(0x1c5,_0x14a953._0x4530f8,0x201,0x22d)]=_0x2c9611[_0x50d5d7(-_0x14a953._0x9965bd,-_0x14a953._0x21c104,-_0x14a953._0x34257e,-_0x14a953._0x362f97)],_0x27fda7['requiredPe'+'rmissions']=_0x3d7747,_0xf0f66f['status'](-0x1aed*-0x1+-0x128d+0x1*-0x6cd)['json'](_0x27fda7);}_0x2c9611['IaNwe'](_0x26afb0);}};}export function requireRole(_0xe59281){const _0xd158ba={_0x32a667:0x1fc,_0xb1e4b3:0x1fd,_0x1eedc4:0x22d,_0x14655a:0x166,_0x4a7228:0x14a,_0x2476f7:0x154,_0x30e1cb:0x191,_0x3ec19a:0x170,_0x31722b:0x184,_0x1c82b1:0x1f7,_0x3c4d60:0x1df},_0x4d5887={_0x3a4db0:0x446,_0x195452:0x497,_0x147692:0x20,_0x277003:0x6,_0x106484:0x22,_0x52930e:0xe,_0x4737af:0x23,_0x23f64f:0x34,_0x1a4dfd:0x32,_0x17abb2:0x45a,_0x1a8e9f:0x8,_0x32f418:0x456,_0x30b4df:0x32,_0x1d2175:0x40b,_0x3191fd:0x443,_0x1d6047:0x40e,_0x37ab22:0x420,_0x1a0b60:0x483,_0x33b447:0x461,_0x514077:0x3fc,_0xcafd1a:0x10,_0x1d5f4d:0x437,_0x3082e9:0x42c,_0x2d9a1f:0x41f,_0x3ae3eb:0x418,_0x1b0bdc:0x3b,_0x3dc8ab:0x14,_0x35543c:0x4a,_0x406055:0x427,_0x13a9a6:0x436,_0x13ca46:0x487,_0xf7b857:0x4a9,_0x2efe96:0x425,_0x302226:0x13,_0x184d2e:0x490,_0x21e6ce:0x4c4,_0x576dc3:0x1,_0x140a2f:0x31,_0x51277b:0x2d},_0x112b0e={_0x13fddc:0x1a4},_0x4c8660={_0x2f3818:0x9a,_0x5ed5f3:0x128},_0x5cf4cd={_0x1c5ffa:0x43};function _0x56bc87(_0x35859a,_0x3a5e50,_0x3aba51,_0x446f6a){return _0x4e30(_0x3a5e50-_0x5cf4cd._0x1c5ffa,_0x35859a);}const _0x48080e={'xbUHz':_0x56bc87(_0xd158ba._0x32a667,_0xd158ba._0xb1e4b3,_0xd158ba._0x1eedc4,0x1dd)+_0x369539(-_0xd158ba._0x14655a,-_0xd158ba._0x4a7228,-0x126,-0x178)+_0x369539(-_0xd158ba._0x14655a,-_0xd158ba._0x2476f7,-0x150,-0x181)+_0x56bc87(_0xd158ba._0x30e1cb,0x1b0,0x1b7,0x196)+_0x369539(-0x111,-0x12c,-0x152,-0x15d),'oTlEQ':function(_0x2f1c97,_0xc662f5,_0x47c042){return _0x2f1c97(_0xc662f5,_0x47c042);},'wyQtt':_0x369539(-0x14c,-_0xd158ba._0x3ec19a,-_0xd158ba._0x31722b,-0x13b)+_0x56bc87(0x208,_0xd158ba._0x1c82b1,_0xd158ba._0x3c4d60,0x212)+'ent','oDZCN':'Forbidden'};function _0x369539(_0x4c9175,_0x19a323,_0x2cac52,_0x3df57a){return _0x4e30(_0x19a323- -0x2e3,_0x4c9175);}return(_0x104d04,_0x4c2af5,_0x55c400)=>{if(!_0x104d04[_0x26627b(0x453,_0x4d5887._0x3a4db0,0x448,0x45e)]){const _0x7d1559={};return _0x7d1559[_0x26627b(0x47a,0x46a,0x498,_0x4d5887._0x195452)]=_0x4adf75(_0x4d5887._0x147692,_0x4d5887._0x277003,_0x4d5887._0x106484,-0x1b)+_0x4adf75(0x15,0x2d,_0x4d5887._0x52930e,_0x4d5887._0x4737af)+_0x4adf75(0x4d,_0x4d5887._0x23f64f,0x3b,_0x4d5887._0x1a4dfd),_0x7d1559[_0x26627b(0x47e,_0x4d5887._0x17abb2,0x43a,0x495)]=_0x48080e[_0x4adf75(_0x4d5887._0x106484,_0x4d5887._0x1a8e9f,-0x9,-0x3)],_0x4c2af5[_0x26627b(0x498,0x478,_0x4d5887._0x32f418,0x478)](0x1135+0x17da+-0x277e)[_0x4adf75(0x72,0x43,0x26,0x75)](_0x7d1559);}function _0x4adf75(_0x5161a5,_0x38c064,_0x2b672b,_0x581ec9){return _0x56bc87(_0x2b672b,_0x38c064- -0x1db,_0x2b672b-_0x4c8660._0x2f3818,_0x581ec9-_0x4c8660._0x5ed5f3);}if(!_0x48080e[_0x4adf75(_0x4d5887._0x30b4df,0x32,0x63,-0x7)](roleAtLeast,_0x104d04[_0x26627b(_0x4d5887._0x1d2175,_0x4d5887._0x3a4db0,0x45e,0x47e)][_0x26627b(0x43f,_0x4d5887._0x3191fd,_0x4d5887._0x1d6047,_0x4d5887._0x37ab22)],_0xe59281)){const _0x486ab3={};_0x486ab3[_0x26627b(_0x4d5887._0x1a0b60,0x470,0x4a4,0x439)]=_0x104d04[_0x26627b(0x42c,0x446,0x40d,0x47c)]['id'],_0x486ab3['username']=_0x104d04[_0x26627b(0x47f,0x446,0x45e,0x420)][_0x26627b(_0x4d5887._0x33b447,0x428,0x41a,_0x4d5887._0x514077)],_0x486ab3['userRole']=_0x104d04[_0x4adf75(0x1d,-0x1,-0x1b,-_0x4d5887._0xcafd1a)][_0x26627b(_0x4d5887._0x1d5f4d,0x443,0x431,_0x4d5887._0x3082e9)],_0x486ab3[_0x26627b(0x43c,_0x4d5887._0x2d9a1f,_0x4d5887._0x3ae3eb,0x416)+'le']=_0xe59281,_0x486ab3[_0x4adf75(_0x4d5887._0x1b0bdc,0x19,-_0x4d5887._0x3dc8ab,0x23)]=_0x104d04[_0x4adf75(_0x4d5887._0x35543c,0x19,0x17,0xf)],_0x486ab3[_0x26627b(0x3eb,0x421,0x404,_0x4d5887._0x406055)]=_0x104d04[_0x26627b(0x43c,0x421,0x43c,_0x4d5887._0x13a9a6)],logger['warn'](_0x48080e['wyQtt'],_0x486ab3);const _0x5d9d38=ROLES[_0xe59281]?.['name']||_0xe59281,_0x1550b8={};return _0x1550b8['error']=_0x48080e[_0x26627b(0x46c,_0x4d5887._0x13ca46,0x4b5,_0x4d5887._0xf7b857)],_0x1550b8['message']=_0x26627b(_0x4d5887._0x2efe96,0x41d,0x3ec,0x44f)+_0x4adf75(-0xd,-0x3,_0x4d5887._0x302226,-0x23)+'\x20'+_0x5d9d38+(_0x26627b(0x47f,_0x4d5887._0x184d2e,_0x4d5887._0x21e6ce,0x4b6)+'igher'),_0x4c2af5[_0x4adf75(_0x4d5887._0x576dc3,_0x4d5887._0x140a2f,0x33,_0x4d5887._0x51277b)](-0x230e+0x2602+-0x1*0x161)['json'](_0x1550b8);}function _0x26627b(_0x2c4fb1,_0x2bd469,_0x249c4e,_0x5e90d8){return _0x56bc87(_0x249c4e,_0x2bd469-0x26c,_0x249c4e-0x14a,_0x5e90d8-_0x112b0e._0x13fddc);}_0x55c400();};}export function checkPermission(_0x5b5c67,_0x4293fa){const _0x4e4b4c={_0x2e21c3:0x9f,_0xc966f1:0xd0,_0x199df5:0x92,_0xc7e4cf:0xa5,_0x297316:0x7e},_0x4e58f8={_0x43813c:0x236},_0x56b929={_0x13180b:0x18};function _0x5afde3(_0x7a2c21,_0x9aac16,_0x3b36fa,_0x48ea85){return _0x4e30(_0x3b36fa- -_0x56b929._0x13180b,_0x9aac16);}const _0xacb273={'wfBIs':function(_0x2d3679,_0x5a60ee,_0x5b309e){return _0x2d3679(_0x5a60ee,_0x5b309e);}};function _0xce204(_0x5b6b35,_0x8623b9,_0x2fb0ef,_0xbf8e91){return _0x4e30(_0x5b6b35- -_0x4e58f8._0x43813c,_0xbf8e91);}return _0x5b5c67[_0xce204(-_0x4e4b4c._0x2e21c3,-0x7e,-_0x4e4b4c._0xc966f1,-0x69)]&&_0xacb273[_0xce204(-_0x4e4b4c._0x199df5,-_0x4e4b4c._0xc7e4cf,-_0x4e4b4c._0x297316,-0xca)](userHasPermission,_0x5b5c67['user'],_0x4293fa);}export function isOwnerOrHasPermission(_0x961b29,_0x3ae577,_0x50511e){const _0x1d3bcb={_0xec525:0x18d,_0x4d9516:0x16c,_0xc7347d:0x175,_0x3c6455:0x12,_0x133bea:0x38,_0x230ef7:0x21,_0x3f6a81:0x53},_0xe1e74f={_0x2e4bd1:0x1b8},_0x3e5634={'hyrxa':function(_0x714981,_0xd39907,_0x1f5ff6){return _0x714981(_0xd39907,_0x1f5ff6);}};if(!_0x961b29[_0x139e37(-0x199,-_0x1d3bcb._0xec525,-_0x1d3bcb._0x4d9516,-_0x1d3bcb._0xc7347d)])return![];function _0x366a72(_0x37b353,_0x4a569e,_0x19a395,_0x1aa522){return _0x4e30(_0x19a395- -_0xe1e74f._0x2e4bd1,_0x4a569e);}function _0x139e37(_0x50d3d4,_0x5e7719,_0x76e163,_0x722ca2){return _0x4e30(_0x722ca2- -0x30c,_0x76e163);}if(_0x961b29[_0x366a72(-_0x1d3bcb._0x3c6455,-_0x1d3bcb._0x133bea,-_0x1d3bcb._0x230ef7,-_0x1d3bcb._0x3f6a81)]['id']===_0x3ae577)return!![];return _0x3e5634['hyrxa'](userHasPermission,_0x961b29[_0x139e37(-0x17c,-0x180,-0x186,-_0x1d3bcb._0xc7347d)],_0x50511e);}export function requireOwnerOrPermission(_0x11c5f2,_0x13c790){const _0x235e36={_0x574d62:0x1a2,_0x39fe00:0x1a1,_0x8c654d:0x1a8,_0x465d48:0x197,_0x468a0d:0x1dd,_0x21c2cb:0x1b4,_0x5c78fc:0x183,_0x333b15:0x1c2,_0x49deae:0x1dc,_0xa403e6:0x1bc,_0x4d3e0b:0x1e5,_0x7cdf2f:0x191,_0x352203:0xd2,_0x3743d2:0x1e6,_0xebf0fe:0x1a9,_0xfcb6e0:0x1f4,_0x266e1c:0x81,_0x4ee2f8:0xb1,_0x45ed89:0x1a3,_0x50ac41:0x1c7,_0x3f84d8:0x1a5,_0xa1688:0xda,_0x2d7ed2:0xd1,_0x385211:0x1c4,_0x511527:0x1b7,_0x377816:0xdf,_0x50dfb1:0x19e,_0xa9446b:0xc8,_0x5d10a4:0xd7,_0x23512c:0x1bc,_0x3f6ec5:0x1de,_0x58f2d5:0x1b5,_0x9a08b2:0x119},_0x179e0e={_0x58c6fe:0x206,_0x1d3e91:0x207,_0xde4a4b:0x20f,_0x4893f3:0xf7,_0x40c342:0x209,_0x47025d:0x20a,_0x528f6:0x20e,_0x42c32b:0x222,_0x44e5e6:0x12e,_0x50d7f9:0xf6,_0x1cd957:0x123,_0x860c5a:0xf1,_0x4b04c3:0x111,_0x212dde:0x13d,_0x859e79:0x21e,_0xbd2d92:0x21b,_0xef1697:0x1e2,_0xe40d5:0x1fc,_0x280b19:0x1ef,_0x49dee1:0x208,_0x4b6f6f:0x1f4,_0x3dbe45:0x220,_0x1ae83a:0x1e4,_0x3fb894:0x146,_0x31b1bc:0x153,_0x187540:0x1ea,_0x5a038d:0x209,_0x1ef0fd:0x1d0,_0x3fb12c:0x1d3,_0x52eb05:0x154,_0x455a4b:0x160,_0x4af094:0x172,_0x43e073:0x15a,_0x3a36f4:0x162,_0xf7535b:0x129,_0x12bc8d:0x147,_0x51711e:0x205,_0x4933a8:0x21a,_0x1c9dff:0x20d,_0x496974:0x1de,_0x43d960:0x200,_0x32adfa:0x13b,_0x1c1117:0x150,_0x1bea84:0x13b,_0x3748ad:0x1d0,_0x583441:0x1f3,_0x23b3b1:0x1c2,_0x1dc66e:0xfb,_0xb17671:0x10e,_0x24fc68:0x151,_0xa4b61f:0x235,_0x17610b:0x1e9,_0x599d9f:0x16f,_0x43cd55:0x137,_0x1e7109:0x124,_0x398102:0x122,_0x520af5:0x11a,_0x4b9c35:0x21e,_0x31f9e3:0x12c,_0x29f1b3:0x24e,_0x57e6ae:0x217,_0x5d01c6:0x12f,_0x3c7ec7:0x150,_0x10e18c:0x23c,_0x251db7:0x246,_0x791b5d:0x238,_0x3d595b:0x23d,_0x484fdc:0x145,_0x724a16:0x22a,_0x4cc678:0x230,_0x3a932f:0xf2,_0x38f0e0:0x19a,_0x114893:0x260,_0x430975:0x235,_0xe63996:0x22c,_0x38f230:0x1d6,_0x16552c:0x20b,_0x36ad75:0x110,_0x595679:0xfb,_0x59dfb2:0x19a,_0x5b72c9:0x20e,_0x13464a:0x177,_0x29c91d:0x136,_0x2afc88:0x233,_0x3494c8:0x22f,_0x39ff48:0x15f,_0x210f09:0x176,_0x3a665b:0x156,_0x45c4a2:0x120,_0x160cc4:0x12a,_0x3ad32f:0x11b,_0x907835:0xdb,_0x432197:0x117,_0x436266:0x163,_0x34218a:0x13c,_0x395a31:0x104,_0x5c12dc:0x115,_0x1bcfa1:0xef,_0x20e3c7:0x123,_0x1a669a:0x1d9,_0x204a94:0x1de,_0x4f74ed:0x1fd,_0x19461b:0x221,_0x3218ba:0x12d,_0x272380:0x133,_0x4b8ab5:0x123,_0x4e106b:0x1f8,_0x1be7e7:0x229,_0x52b335:0x252,_0x5ee1f6:0xff,_0x33a041:0x1e0,_0x428d0a:0xdc,_0x3d15bc:0xe6},_0x59536f={_0x24e610:0x1d5},_0x3320d4={_0x5ab327:0x5e,_0x1a41f6:0x1e7,_0x31354b:0xa6},_0x26fbab={_0x5f3489:0x1d},_0x257d2f={'rZfUE':_0x3cf35c(0x1d7,0x1b2,_0x235e36._0x574d62,_0x235e36._0x39fe00)+_0x3cf35c(0x1b6,0x1b7,0x17a,_0x235e36._0x8c654d)+_0x3cf35c(0x1ac,0x1cc,_0x235e36._0x465d48,_0x235e36._0x468a0d)+_0x3cf35c(0x18a,0x199,0x1b1,_0x235e36._0x21c2cb)+'ource','Cgjdo':function(_0x5e5ee0,_0x3b7081,_0x516316){return _0x5e5ee0(_0x3b7081,_0x516316);},'VpxHf':'Permission'+'\x20denied\x20(r'+_0x3cf35c(0x198,_0x235e36._0x5c78fc,_0x235e36._0x333b15,0x15c)+'l)','KCoBL':_0x3cf35c(_0x235e36._0x49deae,_0x235e36._0xa403e6,_0x235e36._0x4d3e0b,0x1dc)+_0x3cf35c(_0x235e36._0x7cdf2f,0x198,0x17c,0x16e)+'required\x20p'+_0x34b7f5(-0xd5,-_0x235e36._0x352203,-0xfa,-0xb4)+_0x3cf35c(0x1b9,_0x235e36._0x4d3e0b,_0x235e36._0x3743d2,_0x235e36._0xebf0fe)+_0x3cf35c(0x1d2,0x1ac,0x1e8,_0x235e36._0xfcb6e0),'joGKS':_0x34b7f5(-0xd1,-0xca,-0xf4,-0xf4)+_0x34b7f5(-_0x235e36._0x266e1c,-_0x235e36._0x4ee2f8,-0x77,-0xbe)+'r','boOgo':_0x3cf35c(_0x235e36._0x45ed89,0x19b,_0x235e36._0x50ac41,_0x235e36._0x3f84d8)+'verify\x20res'+_0x34b7f5(-_0x235e36._0xa1688,-_0x235e36._0x2d7ed2,-0xcb,-0xec)+'rship','HHQhN':function(_0x49b3dc,_0x121d6e){return _0x49b3dc===_0x121d6e;},'RqImz':_0x3cf35c(0x19d,_0x235e36._0x385211,0x1ce,0x192),'TlGVk':_0x3cf35c(0x192,0x188,_0x235e36._0x511527,0x1c8),'wwJoa':function(_0xc467cc,_0x581c13){return _0xc467cc(_0x581c13);},'srTon':function(_0x1effe9){return _0x1effe9();},'TUFte':function(_0x2ff2bf,_0x50a275,_0x1b15db){return _0x2ff2bf(_0x50a275,_0x1b15db);},'bNlHA':_0x34b7f5(-_0x235e36._0x377816,-0xc2,-0xa7,-0xaa)+_0x3cf35c(0x1ad,0x1ad,0x1e1,_0x235e36._0x50dfb1)+_0x34b7f5(-_0x235e36._0xa9446b,-_0x235e36._0x5d10a4,-0xda,-0xec)+_0x3cf35c(_0x235e36._0x23512c,_0x235e36._0x3f6ec5,_0x235e36._0x58f2d5,0x1b6)+_0x34b7f5(-_0x235e36._0x9a08b2,-0xf3,-0xe6,-0xf5),'IIYtt':'Forbidden'};function _0x3cf35c(_0x434b7b,_0x422cc4,_0x897070,_0x36aecb){return _0x4e30(_0x434b7b-_0x26fbab._0x5f3489,_0x422cc4);}function _0x34b7f5(_0x277b31,_0x5246de,_0x49217b,_0x328915){return _0x4e30(_0x5246de- -0x280,_0x277b31);}return async(_0x49a72e,_0x5c3278,_0x504a9b)=>{const _0x17de48={_0x7faebb:0x239,_0x4783c4:0xf8,_0x1861c8:0xcc,_0x1d3e1d:0x109,_0x3a2042:0xd6,_0x103a8e:0x235,_0x1a0858:0x212,_0x1717c5:0x242,_0x23dc49:0x225,_0x4714a4:0x28f,_0xbc991d:0x238,_0x52b946:0x27d,_0x590163:0x200,_0x3af414:0x1ed,_0x2cb98a:0x232,_0x32342a:0x20c,_0x4e31e6:0x57,_0x5b86d6:0x8a,_0x418bce:0x8d,_0x23167d:0x6e,_0x295efc:0x230,_0x4f4375:0x205,_0xa38041:0x24e,_0x3b709b:0x236,_0x51cc7e:0x273,_0x2db5de:0x61,_0x5a6073:0x7d,_0x5434ad:0x280,_0x1c2430:0x281,_0xeba836:0x256,_0x1ca345:0x253,_0x240773:0x201,_0x13f1c5:0x1f7,_0x51b659:0x222,_0x52062c:0x246,_0x3784e1:0x202,_0xec64e0:0x240,_0x1f0472:0x257,_0x4324b:0x29d,_0x347d18:0x27c,_0x584a19:0x95,_0x31fe65:0xce,_0x366a21:0x95,_0x4e9737:0xa8,_0xee3515:0xcb,_0x437283:0x222,_0x150cfb:0x256,_0x445b15:0x26d,_0xad0a78:0x26b,_0x126a48:0x10c,_0x1db4e2:0xec,_0x17a51e:0x120},_0x5ad4b4={_0x3e11b2:0x11b,_0x1a1606:0x135};function _0x2bdd24(_0x2ddcea,_0x5d09c5,_0x32251e,_0x680b3f){return _0x34b7f5(_0x32251e,_0x680b3f- -_0x3320d4._0x5ab327,_0x32251e-_0x3320d4._0x1a41f6,_0x680b3f-_0x3320d4._0x31354b);}function _0x45453a(_0x117878,_0x1b1c03,_0x2d4319,_0x2a1391){return _0x3cf35c(_0x2d4319- -0x3cb,_0x2a1391,_0x2d4319-_0x59536f._0x24e610,_0x2a1391-0x160);}const _0x484430={};_0x484430['Xfekw']=_0x257d2f['joGKS'],_0x484430[_0x45453a(-0x1d1,-_0x179e0e._0x58c6fe,-_0x179e0e._0x1d3e91,-_0x179e0e._0xde4a4b)]=_0x257d2f[_0x2bdd24(-0x130,-0x124,-_0x179e0e._0x4893f3,-0x107)];const _0x31599b=_0x484430;if(!_0x49a72e['user']){if(_0x257d2f['HHQhN'](_0x257d2f[_0x45453a(-_0x179e0e._0x40c342,-0x210,-0x211,-_0x179e0e._0x47025d)],_0x257d2f[_0x45453a(-0x215,-0x21f,-0x204,-0x1d0)])){const _0x4e7ff5={'Iazit':_0x257d2f['rZfUE'],'ZRcod':function(_0x33e492,_0x280c2d,_0x8b9184){const _0xe84198={_0x59b38a:0xf3};function _0x22e0fa(_0x235565,_0x47de35,_0x3d89de,_0xb36af8){return _0x2bdd24(_0x235565-_0xe84198._0x59b38a,_0x47de35-0x1c8,_0x47de35,_0x3d89de-0x233);}return _0x257d2f[_0x22e0fa(0x132,_0x5ad4b4._0x3e11b2,_0x5ad4b4._0x1a1606,0x14e)](_0x33e492,_0x280c2d,_0x8b9184);},'PdeXM':_0x257d2f['VpxHf'],'NfBbE':_0x257d2f[_0x45453a(-_0x179e0e._0x528f6,-_0x179e0e._0x42c32b,-0x216,-0x22c)]};return(_0x883b4d,_0x18d783,_0xac744a)=>{const _0x98cd31={_0x4e0cbc:0x2bf};function _0x4a80e5(_0x3f14db,_0x1bdf63,_0x547d8,_0xdebe4e){return _0x45453a(_0x3f14db-0x14,_0x1bdf63-0x51,_0x1bdf63-_0x98cd31._0x4e0cbc,_0xdebe4e);}if(!_0x883b4d[_0x40fbe6(0x274,0x256,0x269,_0x17de48._0x7faebb)]){const _0x57ba09={};return _0x57ba09[_0x4a80e5(_0x17de48._0x4783c4,_0x17de48._0x1861c8,0x95,0xe2)]='Authentica'+_0x4a80e5(_0x17de48._0x1d3e1d,_0x17de48._0x3a2042,0x108,_0x17de48._0x4783c4)+'red',_0x57ba09[_0x40fbe6(_0x17de48._0x103a8e,0x224,_0x17de48._0x1a0858,0x24d)]=_0x4e7ff5[_0x40fbe6(0x1e6,_0x17de48._0x1717c5,_0x17de48._0x23dc49,0x211)],_0x18d783[_0x40fbe6(_0x17de48._0x4714a4,_0x17de48._0xbc991d,0x275,0x26b)](-0x2615*0x1+-0x1184+0x9*0x65a)[_0x40fbe6(0x286,0x25f,0x2ad,_0x17de48._0x52b946)](_0x57ba09);}function _0x40fbe6(_0x224146,_0x43754f,_0x4952d9,_0x34fa50){return _0x2bdd24(_0x224146-0xa6,_0x43754f-0x10e,_0x224146,_0x34fa50-0x380);}if(!_0x4e7ff5['ZRcod'](_0x49aa53,_0x883b4d[_0x40fbe6(0x239,_0x17de48._0x590163,0x22a,_0x17de48._0x7faebb)],_0x5cf1eb)){const _0x46f595={};_0x46f595['userId']=_0x883b4d['user']['id'],_0x46f595[_0x40fbe6(_0x17de48._0x3af414,_0x17de48._0x2cb98a,_0x17de48._0x32342a,0x21b)]=_0x883b4d['user'][_0x4a80e5(_0x17de48._0x4e31e6,_0x17de48._0x5b86d6,_0x17de48._0x418bce,_0x17de48._0x23167d)],_0x46f595[_0x40fbe6(_0x17de48._0x295efc,0x24a,0x24e,0x236)]=_0x883b4d[_0x40fbe6(0x263,_0x17de48._0x32342a,_0x17de48._0x4f4375,0x239)][_0x40fbe6(_0x17de48._0xa38041,_0x17de48._0x590163,0x250,_0x17de48._0x3b709b)],_0x46f595[_0x40fbe6(0x265,_0x17de48._0x51cc7e,0x273,0x26a)+_0x4a80e5(_0x17de48._0x2db5de,_0x17de48._0x5a6073,0x4c,_0x17de48._0x5b86d6)]=_0x1d3d8e,_0x46f595[_0x40fbe6(_0x17de48._0x5434ad,_0x17de48._0x1c2430,_0x17de48._0xeba836,_0x17de48._0x1ca345)]=_0x883b4d['path'],_0x46f595[_0x40fbe6(_0x17de48._0x240773,_0x17de48._0x13f1c5,_0x17de48._0x51b659,0x214)]=_0x883b4d[_0x40fbe6(0x1ec,0x1f8,_0x17de48._0x52062c,0x214)],_0x15f458[_0x40fbe6(0x206,_0x17de48._0x3784e1,0x230,0x21f)](_0x4e7ff5[_0x40fbe6(_0x17de48._0xec64e0,_0x17de48._0x1f0472,_0x17de48._0x4324b,_0x17de48._0x347d18)],_0x46f595);const _0x212511={};return _0x212511[_0x4a80e5(_0x17de48._0x584a19,_0x17de48._0x1861c8,0xe4,0xfc)]=_0x4a80e5(_0x17de48._0x31fe65,_0x17de48._0x366a21,_0x17de48._0x4e9737,0x7a),_0x212511[_0x4a80e5(0xb8,0xbc,_0x17de48._0xee3515,0xc6)]=_0x4e7ff5[_0x40fbe6(0x26c,0x217,_0x17de48._0x437283,_0x17de48._0xbc991d)],_0x212511['requiredPe'+'rmissions']=_0x39b899,_0x18d783[_0x40fbe6(_0x17de48._0x150cfb,0x25f,_0x17de48._0x445b15,_0x17de48._0xad0a78)](-0x1*0x20c5+0x6*-0x1f3+0x2e0a)[_0x4a80e5(_0x17de48._0x126a48,_0x17de48._0x1db4e2,0xb1,_0x17de48._0x17a51e)](_0x212511);}_0xac744a();};}else{const _0x246ef9={};return _0x246ef9[_0x2bdd24(-_0x179e0e._0x44e5e6,-0x12e,-_0x179e0e._0x50d7f9,-_0x179e0e._0x1cd957)]='Authentica'+_0x2bdd24(-_0x179e0e._0x860c5a,-_0x179e0e._0x4b04c3,-_0x179e0e._0x212dde,-0x119)+_0x45453a(-_0x179e0e._0x859e79,-_0x179e0e._0xbd2d92,-_0x179e0e._0xef1697,-0x1d1),_0x246ef9[_0x45453a(-_0x179e0e._0xe40d5,-_0x179e0e._0x280b19,-0x203,-0x211)]=_0x45453a(-_0x179e0e._0x49dee1,-0x20e,-_0x179e0e._0x4b6f6f,-_0x179e0e._0x3dbe45)+'e\x20logged\x20i'+_0x45453a(-0x1f5,-0x1fb,-0x21f,-_0x179e0e._0x1ae83a)+_0x2bdd24(-_0x179e0e._0x3fb894,-0x18e,-_0x179e0e._0x31b1bc,-0x171)+_0x45453a(-_0x179e0e._0x187540,-0x22f,-0x1f7,-0x1c8),_0x5c3278[_0x45453a(-_0x179e0e._0x5a038d,-_0x179e0e._0x1ef0fd,-0x1e5,-0x1ff)](0x11c2+-0x15af+0x57e)[_0x45453a(-0x1dc,-0x1b4,-_0x179e0e._0x3fb12c,-0x1c5)](_0x246ef9);}}try{const _0x35a6c1=await _0x257d2f[_0x2bdd24(-0x165,-_0x179e0e._0x52eb05,-_0x179e0e._0x455a4b,-0x12b)](_0x11c5f2,_0x49a72e);if(_0x257d2f[_0x2bdd24(-_0x179e0e._0x4af094,-_0x179e0e._0x43e073,-0x16f,-0x13d)](_0x49a72e[_0x2bdd24(-_0x179e0e._0x3a36f4,-_0x179e0e._0xf7535b,-0x10c,-_0x179e0e._0x12bc8d)]['id'],_0x35a6c1)){if(_0x257d2f[_0x45453a(-_0x179e0e._0x51711e,-_0x179e0e._0x4933a8,-_0x179e0e._0x1c9dff,-0x1e3)](_0x45453a(-_0x179e0e._0x496974,-_0x179e0e._0x43d960,-0x1dc,-0x1f5),_0x2bdd24(-_0x179e0e._0x32adfa,-_0x179e0e._0x1c1117,-_0x179e0e._0x1bea84,-0x131))){const _0x5e6e9a={};_0x5e6e9a[_0x45453a(-0x1ff,-_0x179e0e._0x3748ad,-_0x179e0e._0x583441,-_0x179e0e._0x23b3b1)]=_0x30b260[_0x2bdd24(-_0x179e0e._0x1dc66e,-0x132,-_0x179e0e._0xb17671,-0x133)],_0x5e6e9a['path']=_0x58c51f['path'],_0x59cf48['error']('Error\x20in\x20o'+'wnership\x20c'+_0x45453a(-0x22d,-0x204,-0x229,-_0x179e0e._0x3dbe45),_0x5e6e9a);const _0x2cb760={};return _0x2cb760[_0x2bdd24(-_0x179e0e._0x24fc68,-0x145,-0x134,-_0x179e0e._0x1cd957)]=_0x31599b['Xfekw'],_0x2cb760[_0x45453a(-0x215,-_0x179e0e._0xa4b61f,-0x203,-_0x179e0e._0x17610b)]=_0x31599b[_0x2bdd24(-0x153,-_0x179e0e._0x599d9f,-0x108,-_0x179e0e._0x43cd55)],_0x5e089b['status'](-0x1*-0x1217+-0x189a+0x877)['json'](_0x2cb760);}else return _0x257d2f[_0x2bdd24(-_0x179e0e._0x1e7109,-0x11f,-_0x179e0e._0x398102,-_0x179e0e._0x520af5)](_0x504a9b);}if(_0x257d2f[_0x45453a(-0x1d3,-0x208,-0x1f2,-_0x179e0e._0x4b9c35)](userHasPermission,_0x49a72e['user'],_0x13c790))return _0x504a9b();const _0x53af75={};_0x53af75[_0x2bdd24(-0x112,-0x13e,-_0x179e0e._0x31f9e3,-0x11d)]=_0x49a72e['user']['id'],_0x53af75[_0x2bdd24(-0x176,-0x17f,-0x17a,-0x165)]=_0x49a72e[_0x45453a(-_0x179e0e._0xef1697,-_0x179e0e._0x29f1b3,-_0x179e0e._0x57e6ae,-0x220)][_0x2bdd24(-_0x179e0e._0x5d01c6,-0x169,-_0x179e0e._0x3c7ec7,-0x165)],_0x53af75[_0x45453a(-0x208,-0x20c,-0x1da,-0x1ff)+_0x45453a(-_0x179e0e._0x10e18c,-_0x179e0e._0x251db7,-_0x179e0e._0x791b5d,-_0x179e0e._0x3d595b)]=_0x35a6c1,_0x53af75['requiredPe'+_0x2bdd24(-0x15e,-0x11c,-_0x179e0e._0x484fdc,-0x157)]=_0x13c790,_0x53af75[_0x45453a(-0x1ec,-_0x179e0e._0x724a16,-0x1fd,-_0x179e0e._0x4cc678)]=_0x49a72e[_0x2bdd24(-_0x179e0e._0x484fdc,-_0x179e0e._0x3a932f,-0x111,-0x12d)],_0x53af75[_0x2bdd24(-_0x179e0e._0x38f0e0,-0x165,-0x141,-0x16c)]=_0x49a72e[_0x45453a(-0x22b,-0x21b,-_0x179e0e._0x10e18c,-0x215)],logger[_0x45453a(-_0x179e0e._0x114893,-_0x179e0e._0x430975,-0x231,-0x1f7)](_0x257d2f[_0x45453a(-_0x179e0e._0xe63996,-_0x179e0e._0x38f230,-_0x179e0e._0x16552c,-0x230)],_0x53af75);const _0x4d43d9={};return _0x4d43d9[_0x2bdd24(-_0x179e0e._0x36ad75,-0x123,-_0x179e0e._0x595679,-_0x179e0e._0x1cd957)]=_0x257d2f[_0x2bdd24(-0x180,-_0x179e0e._0x59dfb2,-0x151,-0x162)],_0x4d43d9[_0x45453a(-_0x179e0e._0x5b72c9,-0x210,-0x203,-0x1dc)]=_0x2bdd24(-_0x179e0e._0x13464a,-_0x179e0e._0x29c91d,-0x14a,-0x14c)+_0x45453a(-0x24d,-_0x179e0e._0x2afc88,-_0x179e0e._0x3494c8,-_0x179e0e._0x528f6)+_0x2bdd24(-_0x179e0e._0x39ff48,-0x12f,-_0x179e0e._0x210f09,-0x153)+_0x2bdd24(-_0x179e0e._0x3a665b,-_0x179e0e._0x45c4a2,-0x17e,-0x152)+_0x2bdd24(-0x136,-_0x179e0e._0x160cc4,-0xef,-0x105)+_0x2bdd24(-_0x179e0e._0x3ad32f,-0x102,-_0x179e0e._0x907835,-_0x179e0e._0x432197)+_0x2bdd24(-_0x179e0e._0x436266,-0x16e,-0x116,-_0x179e0e._0x34218a)+'sions',_0x5c3278[_0x2bdd24(-_0x179e0e._0x395a31,-0xe2,-0xfe,-_0x179e0e._0x5c12dc)](0x21e*-0x7+-0x2*-0x116+0x14b*0xb)['json'](_0x4d43d9);}catch(_0x432aed){const _0x437936={};_0x437936[_0x2bdd24(-0xec,-_0x179e0e._0x1bcfa1,-0x11e,-_0x179e0e._0x20e3c7)]=_0x432aed['message'],_0x437936[_0x45453a(-_0x179e0e._0x1a669a,-_0x179e0e._0x204a94,-_0x179e0e._0x4f74ed,-_0x179e0e._0x19461b)]=_0x49a72e[_0x2bdd24(-0x12b,-0xf3,-0x15a,-_0x179e0e._0x3218ba)],logger[_0x2bdd24(-0xf7,-0x13e,-_0x179e0e._0x272380,-_0x179e0e._0x4b8ab5)]('Error\x20in\x20o'+'wnership\x20c'+_0x45453a(-0x208,-_0x179e0e._0x4e106b,-_0x179e0e._0x1be7e7,-_0x179e0e._0x52b335),_0x437936);const _0x9d00c={};return _0x9d00c['error']=_0x257d2f[_0x2bdd24(-_0x179e0e._0x5ee1f6,-0xfd,-0xda,-0xfc)],_0x9d00c[_0x45453a(-0x21d,-0x1d7,-0x203,-_0x179e0e._0x33a041)]=_0x257d2f[_0x2bdd24(-_0x179e0e._0x428d0a,-0xe3,-0xd3,-0x107)],_0x5c3278[_0x45453a(-0x20c,-0x206,-0x1e5,-0x1c9)](-0x1b*0x153+0x265+-0x50*-0x71)[_0x2bdd24(-0x103,-_0x179e0e._0x5d01c6,-_0x179e0e._0x3d15bc,-0x103)](_0x9d00c);}};}
1
+ (function(_0x251d73,_0x2a50a4){const _0x303a27={_0x60600f:0x1d1,_0x898997:0x5e,_0x1c1f5c:0x88,_0x772c59:0x74,_0x453cf6:0x1c,_0x38e1d2:0x98,_0x320018:0x1a,_0x22807b:0x59,_0x78a071:0x1ce,_0x25e84e:0x1d3,_0x128a45:0x1dc,_0x14dd80:0x1dd,_0x117569:0x196,_0x1fe23e:0x15d,_0x3b68ae:0x149},_0x43d80b={_0x4baabb:0x351},_0x10f0af={_0x1eb6bc:0x20c};function _0x4f7a7f(_0x3bf54f,_0x57da39,_0x5544f5,_0x56d6d2){return _0x201a(_0x5544f5- -_0x10f0af._0x1eb6bc,_0x57da39);}const _0x57302b=_0x251d73();function _0x39f30c(_0x536fe0,_0x2f34f2,_0x2ba45b,_0x4e2673){return _0x201a(_0x4e2673- -_0x43d80b._0x4baabb,_0x536fe0);}while(!![]){try{const _0x2a6087=-parseInt(_0x39f30c(-0x1a5,-_0x303a27._0x60600f,-0x16c,-0x1a9))/(-0x189a+0x6*-0x31f+-0x2b55*-0x1)*(-parseInt(_0x4f7a7f(-0x18,-0x33,-_0x303a27._0x898997,-0x8f))/(-0x1f32+0xf6*-0x21+0x3eea*0x1))+parseInt(_0x4f7a7f(-0x6a,-0xaa,-_0x303a27._0x1c1f5c,-_0x303a27._0x772c59))/(0x282*-0x5+-0x5e4+0x1271)+parseInt(_0x4f7a7f(-0x9c,-0x8e,-0x52,-0x46))/(-0x7*-0x56e+-0x1cc9+0x935*-0x1)*(-parseInt(_0x4f7a7f(-_0x303a27._0x453cf6,-0x3f,-0x4d,-_0x303a27._0x38e1d2))/(0x1f13+-0x3*0xce1+0x795))+-parseInt(_0x4f7a7f(-0x5a,-0xc,-_0x303a27._0x320018,-_0x303a27._0x22807b))/(-0x1775+0xf2c*0x1+0x84f)+parseInt(_0x39f30c(-0x1cf,-0x1b0,-0x1b3,-_0x303a27._0x78a071))/(0x19ae+-0x19b5+0x7*0x2)*(-parseInt(_0x39f30c(-0x206,-_0x303a27._0x25e84e,-0x1a6,-_0x303a27._0x128a45))/(0xa24+0x4e3*-0x5+0xc1*0x13))+parseInt(_0x39f30c(-0x19b,-_0x303a27._0x14dd80,-0x1d0,-_0x303a27._0x117569))/(0x157e+0x22e1*0x1+-0x1*0x3856)+parseInt(_0x39f30c(-_0x303a27._0x1fe23e,-0x1c8,-_0x303a27._0x3b68ae,-0x194))/(-0x809*-0x4+-0x2*0x5df+-0x145c);if(_0x2a6087===_0x2a50a4)break;else _0x57302b['push'](_0x57302b['shift']());}catch(_0x1892a6){_0x57302b['push'](_0x57302b['shift']());}}}(_0x4aaa,-0x7*-0xaf3d+0x1624a6+-0x1e0e*0x6b));import{userHasPermission,userHasAllPermissions,userHasAnyPermission,ROLES,roleAtLeast}from'../lib/roles.js';import{logger}from'../lib/logger.js';function _0x4aaa(){const _0x214d4c=['D25kt2W','DLfRAgO','CM1PC3nPB24','ufbeCMK','uxrIALm','DxnLCG','igHHDMuGywXSia','rg1KwNa','DxnLCKLK','Agf2zsbLBgv2yq','ufj1qxK','AKnyCuS','ywn0Aw9U','Bw92y1C','wNPmuwG','CMvZB3vYy2vpDW','CgLhqxe','mti4ndmYq2PStwDg','ww91igrVig5VDa','AgvJAW','AhPMsuO','t2r4Bvq','wMPgEem','wLz6Che','A1noBhK','ANnVBG','zxf1AxjLCYbHBG','zMn0zNO','yvHPCKC','BMfTzq','zMLSDgvY','mZa4wMPUrfzi','mty4mJm5nhbssuTxva','r1bYB3m','C3rHDhvZ','igHHDMuGCgvYBq','CMvXDwLYzwqGCa','BIb0BYbHy2nLCW','igrLBMLLza','CeHqsgW','B3vYy2u','DLLQvum','yMHmA0S','CMvK','v2neu00','t1LyswG','s2rUs0m','EfzXww8','Ce5Sqwq','BMz5vMe','y2rwtKO','DxnLCLjVBgu','qNjPtLe','svD4ueq','ww9vtwO','qxv0AgvUDgLJyq','BMXLC3mGEw91ia','EfDXrLa','svLtB3q','DufUBfu','ENLkrNe','zw50','vxb0seO','zxf1AxjLCYbHBa','CM9Szq','v3bRBuq','thDMBui','Cgf0Aa','mZfJCuzTC24','zxjTAxnZAw9UCW','yxrdA2q','A0LtBxq','zsbSB2DNzwqGAq','BejhEg8','ndm5nZHYBKHMEfa','DMvYAwz5ihjLCW','vfDWCfO','Bwv0Ag9K','sw50zxjUywWGCW','wePtDeK','zfzJyLO','DgD5BK8','rK5ly2W','wKzNExO','AwDOzxi','vgHPCYbHy3rPBW','odG0zLD5Bgzy','nda3ndK5m1DOv3DmEG','igzVCIb0AgLZia','nZGXmdmWmhznzKXYrW','vercDK8','odKZmerrqwXAsa','D2fYBG','DxnLCM5HBwu','BK92rLe','uunkB00','AxmGywn0Aw9U','CYb0AgLZihjLCW','ugvYBwLZC2LVBG','AwvKic0GBM90ia','y1fAwhK','wg9gzgK','CMvXDwLYzwrsBW','BxnhBvy','BhKGywnJzxnZia','uMvUBfe','rM9YyMLKzgvU','vKTHr20','sM1SzMm','igrLBMLLzcaOCG','B3vYy2uGB3DUzq','tvDzr0y','CMvXDwLYzwrqzq','wg5Kswq','rgrfwLa','AxnbCNjHEq','rhfrvwi','AvbbsxK','DMzSz1u','y1z5sem','DgLVBIbYzxf1Aq','AxnZAw9U','uNfYsha','vvD6C0K','CM1PC3nPB25Z','zfvTELe','rxjYB3iGAw4GBW','BIbYzxf1AxjLCW','BgvUz3rO','CgvYzM9YBsb0Aa','zLnlzLO','zxj2zxiGzxjYBW','wKvTvhC','Ew91CIbVD24GCG','BgfJA3mGCgvYBq','ww91ig11C3qGyG','rM9oz1i','rMfPBgvKihrVia','AxnZAw9UihrVia','qwnJzxnZigrLBG','Du9XsMO','uM9SzsbSzxzLBa','mJu5otqZnerouhLurq','ihjVBguGB3iGAa','B3DUzxiGyw5Kia','wxPhCKW','BwvZC2fNzq','t3jhveK','zxjYB3i','igLUC3vMzMLJAq'];_0x4aaa=function(){return _0x214d4c;};return _0x4aaa();}export function requirePermission(_0x352ed6){const _0x4d93b5={_0x460cd9:0x3bb,_0xb192d2:0x3cf,_0x4a677a:0x405,_0x3abe94:0x3d0,_0x22d340:0x1c0,_0x51e57c:0x1c2,_0x5aeb5e:0x38f,_0x7054c6:0x3cf,_0xdb9cb9:0x1b1,_0x21076c:0x187,_0x421bbf:0x1ad,_0x593e43:0x1d4,_0x33c8fa:0x1c3,_0x851e91:0x191,_0x1d5818:0x3e1,_0x3bdd52:0x417,_0x34f7e1:0x1b7,_0x4367bd:0x193,_0x50c2ae:0x1c0,_0x51d130:0x40e,_0x52d5be:0x3ae,_0x2991ab:0x3c4,_0x1fd9a4:0x1d7,_0x26668a:0x21f,_0x1b4826:0x1f5,_0x375a83:0x18c,_0x3bbfd0:0x15f,_0x45c4b2:0x3a7,_0x4e20f3:0x381,_0x3dca2c:0x3c0},_0x2bd3b3={_0x2fe75e:0x316,_0x1dfaba:0x2d3,_0x270567:0x2ee,_0x3cf9be:0x26a,_0x179fba:0x2ac,_0xa194b9:0x3ab,_0x10eb43:0x354,_0x32b6fe:0x39b,_0x376d00:0x2e7,_0x299a65:0x2fa,_0x5dd9e9:0x31b,_0x2f93c1:0x329,_0xe54e45:0x2cd,_0x58a20b:0x280,_0x3a330f:0x3a3,_0xabd8c1:0x31a,_0x1dc108:0x300,_0x2fb73a:0x354,_0x5e03f6:0x36a,_0x218abc:0x306,_0xebc9ff:0x30c,_0x55613f:0x340,_0x5b884a:0x3aa,_0x8af674:0x3af,_0x2f3fa6:0x3ec,_0x3d5365:0x31f,_0x10bc4c:0x2ff,_0x1e9959:0x300,_0x1a0f54:0x2fc,_0x1963ae:0x33d,_0x936344:0x347,_0x59e0cc:0x32d,_0x441947:0x330,_0x5c4015:0x34c,_0x121691:0x2ed,_0x16093b:0x2cc,_0x346b5d:0x2e2,_0xca32bd:0x32a,_0x16f380:0x362,_0x272902:0x348,_0x58098b:0x352,_0x360759:0x353,_0x40435e:0x318,_0x517d0b:0x33f,_0x410ef8:0x369,_0x16e8d0:0x356,_0x256605:0x2e8,_0x2c7c64:0x2ef,_0x1e5632:0x308,_0x3ef1b1:0x35c,_0x4cf7c2:0x33e,_0xfbd32c:0x318,_0xcccc94:0x3a1,_0x369bbb:0x2fe,_0x92b6e7:0x304,_0x21542d:0x375,_0xf1fe9f:0x3e6,_0xda88a5:0x393,_0x1d37ee:0x2d6,_0x57f535:0x31c,_0x1edeff:0x364,_0x3f2abd:0x35a,_0x2b64d2:0x361,_0x48c720:0x331,_0x19df00:0x369,_0x51667c:0x315,_0x108380:0x333,_0xea9bb4:0x31b,_0x2659b3:0x36b,_0xee9873:0x3aa,_0x1e85b1:0x3af,_0x19acca:0x3e1,_0xd07f7e:0x371,_0x14e037:0x389,_0x2e0c8c:0x336,_0x5a1bc8:0x28b,_0x2ca579:0x2c8,_0x48b5ee:0x303,_0x3f15ab:0x3d1,_0x538285:0x38f,_0x2766df:0x2b7,_0x4b843f:0x3e9,_0x1c73c9:0x3a6,_0x299a25:0x386,_0x14f25a:0x302,_0x3a990d:0x322,_0x3cfc7a:0x317,_0x140aff:0x385,_0x148567:0x3b9,_0x5c2a42:0x2e5,_0x1aaf66:0x2dd,_0x4f3f57:0x2c4,_0x517e4c:0x298,_0x39491d:0x38a,_0xbb8f8e:0x32c,_0x1a7cfd:0x366,_0x530563:0x3ba},_0x2c5edb={_0x3735bc:0x4a1,_0x2914ac:0x1ab,_0x301513:0x191},_0x479630={_0x28236b:0x363},_0x1d1713={_0x3b4131:0x1ff},_0x33f89e={'DqQUb':_0x511fdb(_0x4d93b5._0x460cd9,_0x4d93b5._0xb192d2,0x3c5,0x3ec)+_0x511fdb(_0x4d93b5._0x4a677a,0x38f,_0x4d93b5._0x3abe94,0x3e9)+_0x51df88(-_0x4d93b5._0x22d340,-_0x4d93b5._0x51e57c,-0x1e8,-0x1f6)+'l)','vQkhj':'Forbidden','cdVNJ':function(_0xda02ce,_0x2a94c2){return _0xda02ce!==_0x2a94c2;},'IYSot':_0x511fdb(0x3b7,0x3ce,_0x4d93b5._0x5aeb5e,_0x4d93b5._0x7054c6),'movcW':_0x51df88(-0x1b9,-0x196,-0x1a3,-_0x4d93b5._0xdb9cb9),'fctfz':_0x511fdb(0x3dd,0x3ab,0x39a,0x3e3)+_0x51df88(-_0x4d93b5._0x21076c,-0x1a6,-_0x4d93b5._0x421bbf,-0x170)+_0x51df88(-_0x4d93b5._0x593e43,-_0x4d93b5._0x33c8fa,-_0x4d93b5._0x851e91,-0x1b2),'GPros':_0x511fdb(_0x4d93b5._0x1d5818,0x3bb,0x3ea,_0x4d93b5._0x3bdd52)+_0x51df88(-_0x4d93b5._0x34f7e1,-0x194,-_0x4d93b5._0x4367bd,-_0x4d93b5._0x50c2ae)+'n\x20to\x20acces'+_0x511fdb(_0x4d93b5._0x51d130,_0x4d93b5._0x52d5be,_0x4d93b5._0x2991ab,0x39e)+_0x51df88(-_0x4d93b5._0x1fd9a4,-0x1d0,-_0x4d93b5._0x26668a,-_0x4d93b5._0x1b4826),'XoFdi':function(_0x3f1f59,_0x39dc25){return _0x3f1f59>_0x39dc25;},'DmdZp':function(_0x5a2b32,_0xe155ab,_0x388301){return _0x5a2b32(_0xe155ab,_0x388301);},'UptHJ':function(_0x59946a,_0x1791a0){return _0x59946a===_0x1791a0;},'qOoPB':function(_0x14bfff,_0x313bbb){return _0x14bfff===_0x313bbb;}};function _0x511fdb(_0xbcbb02,_0x270beb,_0x88f6c2,_0x5b175b){return _0x201a(_0x88f6c2-_0x1d1713._0x3b4131,_0x270beb);}const _0x34c0e4=Array[_0x51df88(-_0x4d93b5._0x375a83,-_0x4d93b5._0x3bbfd0,-0x146,-0x167)](_0x352ed6)?_0x352ed6[_0x511fdb(_0x4d93b5._0x45c4b2,0x37c,_0x4d93b5._0x4e20f3,_0x4d93b5._0x3dca2c)](Boolean):[_0x352ed6]['filter'](Boolean);function _0x51df88(_0x2604c2,_0x2388d2,_0x257816,_0x2558f2){return _0x201a(_0x2604c2- -_0x479630._0x28236b,_0x257816);}return(_0x2145fc,_0x556410,_0x2a15c2)=>{const _0x239a7a={_0x43fb1e:0x52,_0xd16ed1:0x143},_0x11e1ce={};function _0x33abd2(_0x202f05,_0x1b5333,_0x1a0eb0,_0x2ef4d3){return _0x51df88(_0x1a0eb0-_0x2c5edb._0x3735bc,_0x1b5333-_0x2c5edb._0x2914ac,_0x2ef4d3,_0x2ef4d3-_0x2c5edb._0x301513);}_0x11e1ce[_0x33abd2(0x319,0x34d,0x324,0x2fe)]=_0x33f89e[_0x33abd2(0x320,0x2ff,_0x2bd3b3._0x2fe75e,0x35b)],_0x11e1ce['msGmV']=_0x33f89e['vQkhj'],_0x11e1ce[_0x33abd2(0x2fe,_0x2bd3b3._0x1dfaba,_0x2bd3b3._0x270567,0x2f5)]=_0x33abd2(0x2c9,_0x2bd3b3._0x3cf9be,0x2b4,_0x2bd3b3._0x179fba)+_0x38bd0f(_0x2bd3b3._0xa194b9,0x39c,0x3a2,0x3f6)+'required\x20p'+_0x38bd0f(_0x2bd3b3._0x10eb43,0x33c,0x35c,_0x2bd3b3._0x32b6fe)+_0x33abd2(0x321,_0x2bd3b3._0x376d00,_0x2bd3b3._0x299a65,0x331)+_0x38bd0f(_0x2bd3b3._0x5dd9e9,_0x2bd3b3._0x2f93c1,0x34d,0x2e7);const _0x87b6fc=_0x11e1ce;if(!_0x2145fc['user']){if(_0x33f89e[_0x38bd0f(0x341,0x364,0x2fc,0x385)](_0x33f89e[_0x33abd2(0x2cf,_0x2bd3b3._0xe54e45,0x2dc,0x2f5)],_0x33f89e[_0x33abd2(0x280,_0x2bd3b3._0x58a20b,0x2af,0x2bf)])){const _0xb59b12={};return _0xb59b12[_0x38bd0f(_0x2bd3b3._0x3a330f,0x364,0x37d,0x374)]=_0x33f89e[_0x38bd0f(0x32a,_0x2bd3b3._0xabd8c1,0x2ff,0x36c)],_0xb59b12[_0x33abd2(_0x2bd3b3._0x1dc108,0x347,0x334,0x364)]=_0x33f89e[_0x33abd2(0x2d3,0x28b,0x2c3,0x2e3)],_0x556410[_0x38bd0f(0x331,0x361,_0x2bd3b3._0x2fb73a,_0x2bd3b3._0x5e03f6)](0xd*0x12+0xc0b*0x1+0x5b2*-0x2)[_0x33abd2(0x2d5,_0x2bd3b3._0x218abc,0x2bb,0x2da)](_0xb59b12);}else{const _0x1f36ab={};_0x1f36ab[_0x33abd2(0x34b,_0x2bd3b3._0xebc9ff,_0x2bd3b3._0x55613f,0x33e)]=_0x524a6f[_0x38bd0f(_0x2bd3b3._0x5b884a,0x3ad,_0x2bd3b3._0x8af674,_0x2bd3b3._0x2f3fa6)]['id'],_0x1f36ab[_0x33abd2(_0x2bd3b3._0x3d5365,0x2fb,_0x2bd3b3._0x10bc4c,_0x2bd3b3._0x1e9959)]=_0x51402b[_0x33abd2(0x321,_0x2bd3b3._0x1a0f54,_0x2bd3b3._0x1963ae,_0x2bd3b3._0xabd8c1)][_0x33abd2(_0x2bd3b3._0x936344,_0x2bd3b3._0x59e0cc,_0x2bd3b3._0x10bc4c,_0x2bd3b3._0x441947)],_0x1f36ab[_0x38bd0f(0x34f,_0x2bd3b3._0x5c4015,0x362,0x34c)]=_0xb6c2c5['user'][_0x33abd2(_0x2bd3b3._0x121691,_0x2bd3b3._0x16093b,_0x2bd3b3._0x346b5d,_0x2bd3b3._0xca32bd)],_0x1f36ab['requiredPe'+_0x38bd0f(0x38b,_0x2bd3b3._0x16f380,0x37b,_0x2bd3b3._0x272902)]=_0x57d409,_0x1f36ab[_0x38bd0f(_0x2bd3b3._0x58098b,_0x2bd3b3._0x360759,_0x2bd3b3._0x40435e,_0x2bd3b3._0x517d0b)]=_0x29d875[_0x38bd0f(0x352,_0x2bd3b3._0x410ef8,_0x2bd3b3._0x16e8d0,0x32e)],_0x1f36ab[_0x33abd2(0x30d,_0x2bd3b3._0x256605,_0x2bd3b3._0x2c7c64,_0x2bd3b3._0x1e5632)]=_0x3fe08f[_0x38bd0f(_0x2bd3b3._0x3ef1b1,_0x2bd3b3._0x4cf7c2,_0x2bd3b3._0xfbd32c,_0x2bd3b3._0xcccc94)],_0x4052f2[_0x33abd2(0x2b6,0x2c8,_0x2bd3b3._0x369bbb,_0x2bd3b3._0x92b6e7)](_0x87b6fc[_0x38bd0f(0x391,0x3d5,_0x2bd3b3._0x21542d,0x373)],_0x1f36ab);const _0x1653eb={};return _0x1653eb[_0x38bd0f(0x3a3,0x3a3,_0x2bd3b3._0xf1fe9f,0x3dc)]=_0x87b6fc[_0x38bd0f(0x376,0x368,0x38e,_0x2bd3b3._0xda88a5)],_0x1653eb['message']=_0x87b6fc[_0x33abd2(_0x2bd3b3._0x1d37ee,_0x2bd3b3._0x57f535,0x2ee,0x2c9)],_0x1653eb['requiredPe'+_0x33abd2(_0x2bd3b3._0x1edeff,_0x2bd3b3._0x3f2abd,0x31e,_0x2bd3b3._0x2b64d2)]=_0x4df9c1,_0x4c8916[_0x38bd0f(_0x2bd3b3._0x48c720,_0x2bd3b3._0x19df00,_0x2bd3b3._0x51667c,_0x2bd3b3._0x108380)](0x1817+-0x15a8+-0xdc)['json'](_0x1653eb);}}const _0x157a56=_0x33f89e['XoFdi'](_0x34c0e4[_0x33abd2(_0x2bd3b3._0xea9bb4,0x309,0x322,_0x2bd3b3._0x2659b3)],-0x55*-0x45+-0x1f1d+-0x15*-0x64)?_0x33f89e[_0x33abd2(0x32b,0x335,_0x2bd3b3._0x517d0b,0x324)](userHasAnyPermission,_0x2145fc[_0x38bd0f(_0x2bd3b3._0xee9873,_0x2bd3b3._0x1e85b1,_0x2bd3b3._0x19acca,_0x2bd3b3._0xd07f7e)],_0x34c0e4):![];if(!_0x157a56)return logger[_0x38bd0f(0x36b,0x336,_0x2bd3b3._0x14e037,0x377)](_0x33abd2(_0x2bd3b3._0x2e0c8c,0x316,0x304,0x2c3)+_0x33abd2(_0x2bd3b3._0x16093b,_0x2bd3b3._0x5a1bc8,_0x2bd3b3._0x2ca579,_0x2bd3b3._0x48b5ee),{'userId':_0x2145fc['user']['id'],'username':_0x2145fc[_0x38bd0f(0x3aa,_0x2bd3b3._0x3f15ab,_0x2bd3b3._0x538285,0x384)][_0x33abd2(0x2b9,0x305,_0x2bd3b3._0x10bc4c,_0x2bd3b3._0x2766df)],'role':_0x2145fc[_0x38bd0f(0x3aa,_0x2bd3b3._0x4b843f,_0x2bd3b3._0x1c73c9,_0x2bd3b3._0x299a25)][_0x33abd2(_0x2bd3b3._0x14f25a,0x329,0x2e2,0x2f9)],'requiredPermission':_0x33f89e[_0x33abd2(0x324,0x316,0x2e0,0x318)](_0x34c0e4[_0x33abd2(_0x2bd3b3._0x360759,0x367,_0x2bd3b3._0x3a990d,_0x2bd3b3._0x3cfc7a)],0x19a3+-0x1f*-0x113+-0x8d*0x6b)?_0x34c0e4[-0xf3e+0x21d6+-0x4a6*0x4]:undefined,'requiredPermissions':_0x33f89e[_0x38bd0f(0x374,_0x2bd3b3._0x140aff,0x340,_0x2bd3b3._0x148567)](_0x34c0e4['length'],-0x9*0x346+-0x7*-0x38+-0x1*-0x1bef)?_0x34c0e4:undefined,'path':_0x2145fc[_0x33abd2(0x318,0x29f,_0x2bd3b3._0x5c2a42,0x32a)],'method':_0x2145fc[_0x33abd2(_0x2bd3b3._0x48b5ee,_0x2bd3b3._0x1aaf66,0x2ef,_0x2bd3b3._0x299a65)]}),_0x556410[_0x33abd2(0x289,0x294,_0x2bd3b3._0x4f3f57,_0x2bd3b3._0x517e4c)](-0x11e9+-0x1*0x623+0x199f)['json']({'error':_0x33f89e[_0x38bd0f(0x3a6,_0x2bd3b3._0x39491d,0x365,0x3bc)],'message':'You\x20do\x20not'+_0x38bd0f(0x332,0x362,0x33a,0x30c)+_0x33abd2(0x360,0x318,_0x2bd3b3._0xbb8f8e,_0x2bd3b3._0x1a7cfd)+'perform\x20th'+'is\x20action',..._0x33f89e['qOoPB'](_0x34c0e4[_0x38bd0f(_0x2bd3b3._0x538285,_0x2bd3b3._0x530563,0x3be,0x34c)],0x1b61+-0xc9a*-0x1+0x2*-0x13fd)?{'requiredPermission':_0x34c0e4[0x1b50+-0x2*-0xc6b+-0x3426]}:{'requiredPermissions':_0x34c0e4}});function _0x38bd0f(_0x269e35,_0x4bf340,_0x4eee56,_0x15db77){return _0x511fdb(_0x269e35-_0x239a7a._0x43fb1e,_0x4bf340,_0x269e35- -0x54,_0x15db77-_0x239a7a._0xd16ed1);}_0x2a15c2();};}function _0x201a(_0x19662b,_0x599f40){_0x19662b=_0x19662b-(-0xb*0x14b+-0x5f3*0x5+0xb5a*0x4);const _0x497f03=_0x4aaa();let _0x1b1fb3=_0x497f03[_0x19662b];if(_0x201a['OUhVjj']===undefined){var _0x47c341=function(_0x529563){const _0x1ca199='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x154dd1='',_0x237d9d='';for(let _0x433637=-0xdf3+-0x1*-0xef3+0x1*-0x100,_0x5b5dae,_0x583ef7,_0x26105e=-0x1021*0x1+0x1854+-0x833;_0x583ef7=_0x529563['charAt'](_0x26105e++);~_0x583ef7&&(_0x5b5dae=_0x433637%(-0xc32*-0x3+0xb80+-0x3012)?_0x5b5dae*(0xc61*-0x1+-0x34f+0xff0)+_0x583ef7:_0x583ef7,_0x433637++%(-0xb5+-0x110d*0x1+0x23*0x82))?_0x154dd1+=String['fromCharCode'](0x3*0x121+0xd*0xb9+-0xbc9&_0x5b5dae>>(-(0x1b1d+-0x1973+0x1*-0x1a8)*_0x433637&-0xfe2+-0x6e2+-0x16ca*-0x1)):-0x20ae*-0x1+0x101d+0x1*-0x30cb){_0x583ef7=_0x1ca199['indexOf'](_0x583ef7);}for(let _0x54225b=-0x7db*0x2+0x1*-0x1678+0x262e,_0x2e4020=_0x154dd1['length'];_0x54225b<_0x2e4020;_0x54225b++){_0x237d9d+='%'+('00'+_0x154dd1['charCodeAt'](_0x54225b)['toString'](0x257d+0x1933+0x3ea*-0x10))['slice'](-(-0x11a*0x1f+0x1*0x213a+0xee));}return decodeURIComponent(_0x237d9d);};_0x201a['YyznFg']=_0x47c341,_0x201a['wpSAca']={},_0x201a['OUhVjj']=!![];}const _0x46b01a=_0x497f03[-0x189e+0x1*-0x12ad+0x1*0x2b4b],_0x122ed2=_0x19662b+_0x46b01a,_0x4258fd=_0x201a['wpSAca'][_0x122ed2];return!_0x4258fd?(_0x1b1fb3=_0x201a['YyznFg'](_0x1b1fb3),_0x201a['wpSAca'][_0x122ed2]=_0x1b1fb3):_0x1b1fb3=_0x4258fd,_0x1b1fb3;}export function requireAllPermissions(_0x331b0e){const _0x334d59={_0x5ba7a4:0x17,_0x148d5f:0x75,_0x632e5e:0x6d,_0x56e766:0x71,_0x4094f8:0x25,_0x549526:0x6,_0x4f249e:0x1d,_0x3593fa:0x60,_0x3e01b1:0x7e,_0x2df9b5:0x7b,_0xad9704:0x40,_0xa8944a:0x2c,_0x4fd1d5:0xa,_0x518bd1:0x4c,_0x37f2f7:0x3,_0x1d239a:0x28,_0x5c9172:0x3e,_0x4ce626:0xa,_0xfa1639:0x33},_0xfe667f={_0x5c11d5:0x95,_0x4814f4:0x104,_0x20f205:0x6c,_0x1d0f59:0xf0,_0x14217e:0x114,_0x3eb232:0xe9,_0x115e2c:0x111,_0x459de2:0x436,_0x329623:0x47b,_0x468beb:0xd0,_0x13aad5:0xe7,_0x3b90e4:0xb6,_0x29878e:0x47a,_0x2ca562:0x403,_0xe16be3:0xb7,_0x544d8d:0xbc,_0x23c342:0x97,_0x38c327:0x416,_0x5a2835:0x411,_0x4aa705:0x48a,_0x8092f1:0x4a6,_0xc73e6f:0x449,_0x3ee869:0x4d4,_0x8d4d2b:0x4f7,_0x24f563:0x4a3,_0x2facbf:0x7c,_0x135962:0xb2,_0x454dbb:0x41e,_0x599bc0:0x45b,_0x2e14e8:0x412,_0x5def19:0x45b,_0x31521f:0x495,_0x1871d7:0x43d,_0x1fb047:0x448,_0x950b9a:0xfc,_0x1adaa4:0xb1,_0x4b6cf9:0xea,_0x54b93c:0x66,_0x164a8a:0x55,_0x288b26:0x2c,_0x558b6e:0x453,_0x529c7d:0x477,_0x548639:0x451,_0x3aa8c7:0x127,_0x453f38:0xa0,_0x39a4d2:0x446,_0x3e5f97:0x46d,_0x4e2254:0x462,_0x2e25dd:0x4af,_0x2736e1:0x4e6,_0x363ecb:0x47e,_0xfca46e:0xb9,_0x49cabc:0x77,_0x478265:0x91,_0x471274:0x453,_0x11ee5b:0x469,_0x5b3f25:0x46a,_0x7b5396:0x138,_0x18f549:0xbe,_0x47706d:0xf1,_0x3407d8:0x6a,_0x54e250:0x82,_0x1523d3:0x6e,_0x2fcfe0:0x85,_0x2930dc:0x86,_0x348036:0x4e5,_0x1995ce:0x136,_0x28c894:0x475,_0x433586:0x459,_0x25b449:0x458,_0x5410e5:0x49e,_0x7f768:0x4a4,_0x41237a:0x4a1,_0x3d9615:0xa1,_0xf0e874:0x7b,_0x53edc3:0xaf,_0x2bba39:0x113,_0x2de8b7:0xd1,_0x16bf3a:0xb5,_0x2db239:0xc8,_0x13bec0:0x98,_0x428490:0x51,_0x3e91f4:0x4a6,_0x3661a7:0x465,_0x562ec8:0x441,_0x2c263d:0x467,_0x2db0df:0x6e,_0x5e208a:0xe9,_0x33983b:0xc2,_0x4e0ac0:0x7e,_0x363cc8:0x457,_0x4341b3:0x89,_0x1dde47:0xa8,_0x4c26d1:0x481,_0x1feffa:0x4aa,_0x235359:0xd7,_0x23cff9:0xb8,_0x2ad676:0x494,_0x5abf66:0x77,_0x30905f:0x96,_0x5b3ef7:0x431},_0x3a42ee={_0x36d4ff:0x1a5,_0x31957d:0x97},_0x1c81f5={_0x29e060:0x145,_0x5b7c6:0x7e},_0xe14033={_0x11136f:0x1a6},_0xd5432c={'xWqFP':'Authentica'+'tion\x20requi'+_0x24cb9a(-0x2a,-_0x334d59._0x5ba7a4,-0x19,0x0),'FNKcl':_0x28d51e(0x23,_0x334d59._0x148d5f,_0x334d59._0x632e5e,_0x334d59._0x56e766)+_0x24cb9a(_0x334d59._0x4094f8,_0x334d59._0x549526,0x4f,0x33)+_0x24cb9a(-0x3c,-_0x334d59._0x4f249e,-0x58,-0x60)+'s\x20this\x20res'+_0x24cb9a(-0x7,-0x1a,0xc,0x11),'pNlAd':function(_0x3649bb,_0xc1f26d,_0x419f7a){return _0x3649bb(_0xc1f26d,_0x419f7a);},'tgynO':'Role\x20level'+_0x28d51e(_0x334d59._0x3593fa,_0x334d59._0x3e01b1,0x7b,0x90)+'ent','QCJoM':'Forbidden','OdxmT':function(_0xea3fd1){return _0xea3fd1();},'dUmzQ':function(_0x34dbc4,_0x590524){return _0x34dbc4===_0x590524;},'VBduU':_0x24cb9a(0x14,0x42,_0x334d59._0x2df9b5,_0x334d59._0xad9704),'ZVzpq':_0x28d51e(-0x6,_0x334d59._0x549526,0x1c,-0x1c),'XndId':'You\x20do\x20not'+'\x20have\x20all\x20'+_0x28d51e(-_0x334d59._0xa8944a,-0x3,_0x334d59._0x4fd1d5,-0xa)+_0x24cb9a(_0x334d59._0x518bd1,_0x334d59._0x37f2f7,-0x13,-0x33)+_0x28d51e(_0x334d59._0x1d239a,_0x334d59._0x518bd1,_0x334d59._0x5c9172,0xd)+_0x24cb9a(-0x73,-0x36,_0x334d59._0x4ce626,-_0x334d59._0xfa1639)};function _0x28d51e(_0x1bcce5,_0x57cc44,_0x7962f5,_0x1ce39f){return _0x201a(_0x7962f5- -0x17e,_0x1bcce5);}function _0x24cb9a(_0x5d1292,_0x249ccc,_0x2cfa14,_0x5738cc){return _0x201a(_0x249ccc- -_0xe14033._0x11136f,_0x5738cc);}return(_0x160b40,_0x31bc81,_0x1d8da1)=>{function _0x183da0(_0x5b0ab3,_0x23fd98,_0x211904,_0x136e56){return _0x28d51e(_0x136e56,_0x23fd98-_0x1c81f5._0x29e060,_0x23fd98-0x432,_0x136e56-_0x1c81f5._0x5b7c6);}function _0x2ed3db(_0x308c9d,_0x37c464,_0x3406f8,_0x4c0f40){return _0x24cb9a(_0x308c9d-_0x3a42ee._0x36d4ff,_0x37c464-_0x3a42ee._0x31957d,_0x3406f8-0x5e,_0x4c0f40);}if(_0xd5432c[_0x2ed3db(_0xfe667f._0x5c11d5,0xd2,_0xfe667f._0x4814f4,0xf2)](_0xd5432c['VBduU'],_0xd5432c[_0x2ed3db(0x69,_0xfe667f._0x20f205,0x67,0x77)])){if(!_0x101578[_0x2ed3db(0xd4,_0xfe667f._0x1d0f59,0xb7,_0xfe667f._0x14217e)]){const _0x531877={};return _0x531877[_0x2ed3db(0xa8,_0xfe667f._0x3eb232,0xd5,_0xfe667f._0x115e2c)]=_0xd5432c[_0x183da0(_0xfe667f._0x459de2,0x451,0x44e,_0xfe667f._0x329623)],_0x531877[_0x2ed3db(_0xfe667f._0x468beb,_0xfe667f._0x13aad5,_0xfe667f._0x3b90e4,0xbc)]=_0xd5432c['FNKcl'],_0x1dd228[_0x183da0(_0xfe667f._0x29878e,0x43a,0x420,_0xfe667f._0x2ca562)](-0x3ca*-0x1+-0x1c4a+0x1a11)[_0x2ed3db(_0xfe667f._0xe16be3,0x6e,0x4a,0x57)](_0x531877);}if(!_0xd5432c[_0x2ed3db(0x6b,0x85,_0xfe667f._0x544d8d,_0xfe667f._0x23c342)](_0x4305c4,_0x4735aa['user'][_0x183da0(0x429,0x458,_0xfe667f._0x38c327,_0xfe667f._0x5a2835)],_0x5376fb)){const _0xe4cfbd={};_0xe4cfbd['userId']=_0x511144[_0x183da0(0x4ac,0x4b3,_0xfe667f._0x4aa705,_0xfe667f._0x8092f1)]['id'],_0xe4cfbd[_0x183da0(0x457,0x475,_0xfe667f._0xc73e6f,0x497)]=_0x11488f[_0x183da0(0x4ec,0x4b3,_0xfe667f._0x3ee869,0x4e6)]['username'],_0xe4cfbd['userRole']=_0x28a2a4[_0x183da0(_0xfe667f._0x8d4d2b,0x4b3,_0xfe667f._0x24f563,0x4b5)][_0x2ed3db(_0xfe667f._0x2facbf,0x95,_0xfe667f._0x135962,0x6a)],_0xe4cfbd['requiredRo'+'le']=_0x4e6ef9,_0xe4cfbd[_0x183da0(_0xfe667f._0x454dbb,_0xfe667f._0x599bc0,0x475,_0xfe667f._0x2e14e8)]=_0x3b1813[_0x183da0(0x453,_0xfe667f._0x5def19,_0xfe667f._0x31521f,0x450)],_0xe4cfbd[_0x183da0(_0xfe667f._0x1871d7,0x465,0x453,_0xfe667f._0x1fb047)]=_0x39fb5e['method'],_0x5f2cf8[_0x2ed3db(_0xfe667f._0x950b9a,_0xfe667f._0x1adaa4,_0xfe667f._0x4b6cf9,0xe3)](_0xd5432c[_0x2ed3db(0xdb,0xa6,_0xfe667f._0x54b93c,0xaa)],_0xe4cfbd);const _0x1428c1=_0x528be6[_0x26f07d]?.[_0x2ed3db(_0xfe667f._0x164a8a,0x72,0x5a,_0xfe667f._0x288b26)]||_0x2e5963,_0x87e181={};return _0x87e181[_0x183da0(0x494,0x4ac,0x4a9,0x4b0)]=_0xd5432c[_0x183da0(_0xfe667f._0x558b6e,_0xfe667f._0x529c7d,0x45d,_0xfe667f._0x548639)],_0x87e181[_0x2ed3db(0x11e,0xe7,_0xfe667f._0x3aa8c7,_0xfe667f._0x453f38)]=_0x183da0(_0xfe667f._0x39a4d2,_0xfe667f._0x3e5f97,_0xfe667f._0x4e2254,_0xfe667f._0x2e25dd)+'n\x20requires'+'\x20'+_0x1428c1+(_0x183da0(0x4e3,0x4a7,_0xfe667f._0x2736e1,_0xfe667f._0x363ecb)+_0x2ed3db(0x7b,0xa9,0xd4,0x87)),_0x28d0fa[_0x2ed3db(_0xfe667f._0xfca46e,_0xfe667f._0x49cabc,0x4a,_0xfe667f._0x478265)](0x2*-0x130c+0x18e6+0xec5)[_0x183da0(0x457,0x431,0x44f,0x461)](_0x87e181);}_0xd5432c[_0x183da0(_0xfe667f._0x471274,0x42d,_0xfe667f._0x11ee5b,_0xfe667f._0x5b3f25)](_0x250092);}else{if(!_0x160b40[_0x2ed3db(_0xfe667f._0x7b5396,0xf0,0xb2,_0xfe667f._0x18f549)]){const _0x4f9596={};return _0x4f9596['error']=_0xd5432c['xWqFP'],_0x4f9596[_0x2ed3db(0x110,0xe7,0xa6,0x12e)]=_0xd5432c[_0x2ed3db(_0xfe667f._0x47706d,0xa7,_0xfe667f._0x3407d8,0x99)],_0x31bc81['status'](-0x1152*-0x2+-0x8*-0x31a+0xcb*-0x49)[_0x2ed3db(_0xfe667f._0x54e250,_0xfe667f._0x1523d3,0x69,_0xfe667f._0xfca46e)](_0x4f9596);}if(!_0xd5432c[_0x2ed3db(0x87,_0xfe667f._0x2fcfe0,0x5c,_0xfe667f._0x2930dc)](userHasAllPermissions,_0x160b40[_0x183da0(_0xfe667f._0x348036,0x4b3,0x48a,0x4ef)],_0x331b0e)){const _0x1d578c={};_0x1d578c['userId']=_0x160b40[_0x2ed3db(0xb3,0xf0,_0xfe667f._0x1995ce,0x111)]['id'],_0x1d578c['username']=_0x160b40[_0x2ed3db(0x132,0xf0,0xd7,_0xfe667f._0x1adaa4)][_0x183da0(_0xfe667f._0x29878e,_0xfe667f._0x28c894,_0xfe667f._0x433586,0x451)],_0x1d578c[_0x183da0(0x41a,_0xfe667f._0x25b449,0x496,_0xfe667f._0x5410e5)]=_0x160b40[_0x183da0(_0xfe667f._0x7f768,0x4b3,0x4fb,_0xfe667f._0x41237a)][_0x2ed3db(_0xfe667f._0x3d9615,_0xfe667f._0x5c11d5,_0xfe667f._0xf0e874,0x55)],_0x1d578c[_0x2ed3db(_0xfe667f._0x53edc3,0xc5,0xa5,0x89)+_0x2ed3db(_0xfe667f._0x2bba39,_0xfe667f._0x2de8b7,_0xfe667f._0x16bf3a,0xb7)]=_0x331b0e,_0x1d578c[_0x2ed3db(_0xfe667f._0x2db239,_0xfe667f._0x13bec0,0xbe,0xb2)]=_0x160b40[_0x2ed3db(_0xfe667f._0xfca46e,0x98,0x9a,_0xfe667f._0x428490)],_0x1d578c[_0x183da0(_0xfe667f._0x3e91f4,_0xfe667f._0x3661a7,_0xfe667f._0x562ec8,_0xfe667f._0x2c263d)]=_0x160b40['method'],logger['warn'](_0x2ed3db(_0xfe667f._0x2db0df,_0xfe667f._0xe16be3,0x90,0xb7)+_0x2ed3db(_0xfe667f._0x5e208a,_0xfe667f._0x33983b,_0xfe667f._0x4e0ac0,0xb2)+_0x183da0(0x478,_0xfe667f._0x363cc8,_0xfe667f._0x459de2,0x41d)+'l)',_0x1d578c);const _0x236190={};return _0x236190['error']=_0xd5432c[_0x2ed3db(_0xfe667f._0x4341b3,0xb4,0xbf,_0xfe667f._0x1dde47)],_0x236190[_0x183da0(_0xfe667f._0x4c26d1,_0xfe667f._0x1feffa,0x4d3,0x47d)]=_0xd5432c[_0x2ed3db(0x99,0xc6,_0xfe667f._0x235359,_0xfe667f._0x23cff9)],_0x236190['requiredPe'+_0x183da0(0x4c5,_0xfe667f._0x2ad676,0x4d4,0x474)]=_0x331b0e,_0x31bc81[_0x2ed3db(0x4f,_0xfe667f._0x5abf66,0x32,_0xfe667f._0x30905f)](0xf73+-0x72a+-0x6b6)[_0x183da0(0x46e,_0xfe667f._0x5b3ef7,0x42d,0x417)](_0x236190);}_0xd5432c['OdxmT'](_0x1d8da1);}};}export function requireAnyPermission(_0x438c6c){const _0x28a60f={_0xd158eb:0x1d4,_0x59458b:0x243,_0x26bcc4:0x25d,_0x4344b8:0x245,_0x445f85:0x249,_0x50534a:0x217,_0x6b557e:0x217,_0x32c3ac:0x206,_0x54d6c1:0x1f6,_0x50eb70:0x21b,_0x1f7843:0x266,_0x4f40d7:0x23f,_0x3be92d:0x201,_0x171ac2:0x204,_0x35ef8b:0x216,_0x145db8:0x1da,_0x5b8053:0x1b6,_0x300818:0x24b,_0x1887df:0x1e3,_0x3e176b:0x224,_0x50c61a:0x231},_0x4e11aa={_0x15bef4:0x158,_0x3598b3:0x132,_0x595a27:0x147,_0x3a4f71:0x293,_0x415ee2:0x2ab,_0x3127bd:0x29f,_0x1f9cda:0x182,_0x1f3efe:0x183,_0xff1940:0x1b8,_0x1a0458:0x2ad,_0x2f1353:0x277,_0x132d72:0x2a7,_0x486061:0x17d,_0x19cf47:0x189,_0x83e0c:0x161,_0x403064:0x30f,_0x59da14:0x353,_0x44e3f1:0x2a4,_0x364213:0x2a0,_0x14fea7:0x29c,_0x4cf080:0x297,_0x221c32:0x2ad,_0x23b63a:0x15f,_0x5dd3e2:0x175,_0x30876d:0x134,_0x15168c:0x115,_0x3cceb0:0x165,_0x215e6f:0x287,_0x3a95b1:0x25e,_0x2b3917:0x2f4,_0x2bd901:0x15b,_0x299547:0x1a1,_0x8ec23d:0x13d,_0x4eb077:0x17d,_0x5aae76:0x11d,_0x4e1166:0xf0,_0x298a4a:0xf9,_0x529ea3:0x1b4,_0x24a69a:0x17c,_0x4013a4:0x177,_0x3d8bcb:0x162,_0x27a813:0x103,_0x44bd4f:0x140,_0x2c3e52:0x2cb,_0x18e9b8:0x17f,_0x1e9dcb:0x13f,_0x1d0a46:0x104,_0x2ecb0b:0x121,_0x398062:0xf0,_0x7d7605:0x2e2,_0x2fd241:0x2ee,_0x204ed3:0x32a,_0x2bdd3a:0x13e,_0x4ae1da:0xf5,_0x2453a1:0x10a,_0x5c35e3:0x11f,_0x473894:0x169,_0x421ddb:0x164,_0x441244:0x2d2,_0x510cb8:0x303,_0x5a7924:0x2da,_0xd7c6f0:0x299,_0x25fd6e:0x14c,_0x11bc08:0x13b,_0x5ec3df:0x112,_0x400fef:0x157,_0x1cd081:0x170,_0x2bf3a0:0x307,_0x555ec9:0x317,_0x9b64cc:0x290,_0x5bb856:0x2d9,_0x5637df:0x2d6,_0x7a9d27:0x308,_0x5840c1:0x2df,_0x10a20c:0x2ff,_0x286636:0x163,_0x5659ca:0x2ee,_0x42aab7:0x25e,_0x199314:0x1a8,_0x336251:0x16a,_0x302a23:0x175,_0x492888:0x172,_0x465e72:0x1a5,_0x535b28:0x129,_0x1970b1:0x12d,_0x3da9fa:0x135,_0x2466b:0x2da,_0x215d48:0x2c7,_0x1b5196:0x106,_0x1a27f3:0x2a4,_0x29bba2:0xfa,_0x42d2b8:0xe6,_0x52750c:0x149,_0x492cfa:0x172,_0x33dc20:0x139,_0x483ec8:0x17c,_0x2c1429:0x186,_0x1b4be4:0x163,_0x479378:0x16e,_0x537671:0x13e,_0x47529e:0x171,_0x57dfb7:0x17e,_0x1ffc60:0x174,_0x19abce:0x17a,_0x505b1b:0x121,_0xf2f9c4:0x133,_0x45f5d5:0x151,_0x133131:0x295,_0x37a452:0x12e,_0x4a7016:0x135,_0x35a460:0x13d,_0x392b06:0x17c,_0x468fe4:0x118,_0x444b8c:0x292,_0x267115:0x312,_0x30aef3:0x2da,_0x5e72c5:0x30f,_0x58e2ff:0x10b,_0x1aa2d0:0x2a9,_0x50e869:0x27e,_0x3db5c2:0x352,_0x77730a:0x296,_0x16968a:0x2a2,_0x1dd84d:0x126,_0x3ab225:0xe7,_0x41b4e0:0x2c5,_0x4ffb03:0x29b,_0x4bd698:0x2c0,_0x3235bb:0x18e,_0xafbbd:0x15e,_0x360810:0x14b,_0xdbaf61:0x141,_0x4099d5:0x2a5,_0x1c1269:0x297,_0x137c50:0x2c6,_0x3d01aa:0x28c,_0x30cd8c:0x2c1},_0x487802={_0x25f1c4:0x74},_0x25dfed={_0x7e9657:0x3b0};function _0x108d34(_0x319b93,_0x420dfc,_0x3fa7da,_0x484334){return _0x201a(_0x484334- -_0x25dfed._0x7e9657,_0x319b93);}function _0x524f76(_0x1af19,_0x1b1f39,_0x35af67,_0x1b0aae){return _0x201a(_0x1af19-_0x487802._0x25f1c4,_0x1b0aae);}const _0x3af0a5={'cVyHC':'Authentica'+_0x108d34(-0x1f7,-0x1eb,-0x199,-_0x28a60f._0xd158eb)+'red','OYXIh':_0x524f76(0x23a,_0x28a60f._0x59458b,_0x28a60f._0x26bcc4,0x22d)+_0x524f76(_0x28a60f._0x4344b8,0x28b,_0x28a60f._0x445f85,0x206)+'equires\x20al'+'l)','jCXqK':_0x108d34(-_0x28a60f._0x50534a,-0x1b4,-_0x28a60f._0x6b557e,-0x1e2),'RqrHp':function(_0x4ab0b2,_0x50aeff){return _0x4ab0b2===_0x50aeff;},'piGAq':_0x524f76(_0x28a60f._0x32c3ac,0x20d,_0x28a60f._0x54d6c1,0x1e5),'QqslC':_0x524f76(0x25f,_0x28a60f._0x50eb70,_0x28a60f._0x1f7843,_0x28a60f._0x4f40d7)+_0x108d34(-_0x28a60f._0x3be92d,-_0x28a60f._0x32c3ac,-0x23c,-_0x28a60f._0x171ac2)+'n\x20to\x20acces'+_0x108d34(-_0x28a60f._0x35ef8b,-_0x28a60f._0x145db8,-_0x28a60f._0x5b8053,-0x1eb)+_0x108d34(-0x223,-_0x28a60f._0x300818,-_0x28a60f._0x1887df,-0x224),'uOqJj':'zyJFq','VKaGm':_0x524f76(0x23a,_0x28a60f._0x3e176b,0x265,0x1f7)+_0x524f76(0x245,0x22d,0x206,0x220)+_0x524f76(0x1f2,0x1b1,_0x28a60f._0x50c61a,0x1c0)+'y)','aXirG':function(_0x519c81){return _0x519c81();}};return(_0x384215,_0x153bea,_0x4f3965)=>{const _0x38f5fa={_0x1b4c84:0x133};function _0x7211e0(_0x1d3ad2,_0x405477,_0x18edef,_0x34ab94){return _0x524f76(_0x405477-0xa6,_0x405477-_0x38f5fa._0x1b4c84,_0x18edef-0x120,_0x1d3ad2);}const _0x388e41={'YzGrL':_0x3af0a5[_0x362e61(0x194,_0x4e11aa._0x15bef4,_0x4e11aa._0x3598b3,_0x4e11aa._0x595a27)],'LwfmB':_0x3af0a5[_0x7211e0(_0x4e11aa._0x3a4f71,_0x4e11aa._0x415ee2,0x29e,_0x4e11aa._0x3127bd)],'nfyVa':_0x3af0a5[_0x362e61(0x182,_0x4e11aa._0x1f9cda,_0x4e11aa._0x1f3efe,_0x4e11aa._0xff1940)],'wPrCH':function(_0x607672){return _0x607672();}};if(!_0x384215['user']){if(_0x3af0a5['RqrHp'](_0x3af0a5[_0x7211e0(_0x4e11aa._0x1a0458,0x28e,_0x4e11aa._0x2f1353,_0x4e11aa._0x132d72)],'CnPLQ')){const _0x28eec0={};return _0x28eec0[_0x362e61(_0x4e11aa._0x486061,0x175,_0x4e11aa._0x19cf47,_0x4e11aa._0x83e0c)]=_0x388e41[_0x7211e0(0x33d,_0x4e11aa._0x403064,0x349,_0x4e11aa._0x59da14)],_0x28eec0[_0x362e61(0x17a,0x173,0x178,0x182)]='You\x20must\x20b'+'e\x20logged\x20i'+_0x7211e0(_0x4e11aa._0x44e3f1,0x2a3,0x29e,0x291)+_0x7211e0(0x2b4,0x2df,0x29d,0x2e5)+'ource',_0x145eb8[_0x7211e0(0x258,_0x4e11aa._0x364213,_0x4e11aa._0x14fea7,0x2bb)](-0x551+0x7+0x6db)[_0x7211e0(0x266,_0x4e11aa._0x4cf080,_0x4e11aa._0x221c32,0x2ba)](_0x28eec0);}else{const _0xd5e97e={};return _0xd5e97e[_0x362e61(_0x4e11aa._0x23b63a,_0x4e11aa._0x5dd3e2,0x163,_0x4e11aa._0x30876d)]=_0x3af0a5[_0x362e61(0x19c,0x158,_0x4e11aa._0x15168c,_0x4e11aa._0x3cceb0)],_0xd5e97e['message']=_0x3af0a5['QqslC'],_0x153bea[_0x7211e0(_0x4e11aa._0x215e6f,_0x4e11aa._0x364213,_0x4e11aa._0x3a95b1,0x28f)](-0xb55+0x171f*-0x1+0x2405)['json'](_0xd5e97e);}}function _0x362e61(_0x114119,_0x11be6e,_0x54c1f1,_0x198b5c){return _0x524f76(_0x11be6e- -0xf7,_0x11be6e-0x66,_0x54c1f1-0x108,_0x54c1f1);}if(!userHasAnyPermission(_0x384215[_0x7211e0(0x2f2,0x319,_0x4e11aa._0x2b3917,0x2d6)],_0x438c6c)){if(_0x3af0a5[_0x362e61(0x149,_0x4e11aa._0x2bd901,_0x4e11aa._0x299547,_0x4e11aa._0x8ec23d)](_0x3af0a5[_0x362e61(0x15e,0x16d,_0x4e11aa._0x4eb077,0x174)],_0x362e61(0x156,_0x4e11aa._0x5aae76,_0x4e11aa._0x4e1166,_0x4e11aa._0x298a4a))){const _0x438ec4={};_0x438ec4['userId']=_0x384215[_0x362e61(_0x4e11aa._0x529ea3,_0x4e11aa._0x24a69a,0x1bf,_0x4e11aa._0x4013a4)]['id'],_0x438ec4[_0x362e61(_0x4e11aa._0x3d8bcb,0x13e,_0x4e11aa._0x27a813,_0x4e11aa._0x44bd4f)]=_0x384215['user'][_0x7211e0(0x2a3,0x2db,_0x4e11aa._0x2c3e52,0x2da)],_0x438ec4['role']=_0x384215[_0x362e61(0x143,_0x4e11aa._0x24a69a,_0x4e11aa._0x18e9b8,_0x4e11aa._0x1e9dcb)][_0x362e61(_0x4e11aa._0x1d0a46,_0x4e11aa._0x2ecb0b,_0x4e11aa._0x398062,0x130)],_0x438ec4[_0x7211e0(_0x4e11aa._0x7d7605,_0x4e11aa._0x2fd241,0x2b9,_0x4e11aa._0x204ed3)+_0x362e61(_0x4e11aa._0x2bdd3a,0x15d,0x142,_0x4e11aa._0x3598b3)]=_0x438c6c,_0x438ec4['path']=_0x384215[_0x362e61(_0x4e11aa._0x4ae1da,0x124,_0x4e11aa._0x2453a1,_0x4e11aa._0x5c35e3)],_0x438ec4[_0x362e61(_0x4e11aa._0x30876d,0x12e,_0x4e11aa._0x473894,_0x4e11aa._0x421ddb)]=_0x384215[_0x7211e0(_0x4e11aa._0x441244,_0x4e11aa._0x2c3e52,_0x4e11aa._0x510cb8,0x2b5)],logger[_0x7211e0(0x2d9,_0x4e11aa._0x5a7924,0x324,_0x4e11aa._0xd7c6f0)](_0x3af0a5[_0x362e61(0x107,_0x4e11aa._0x25fd6e,_0x4e11aa._0x11bc08,_0x4e11aa._0x5ec3df)],_0x438ec4);const _0x529408={};return _0x529408[_0x362e61(0x12b,_0x4e11aa._0x5dd3e2,0x175,_0x4e11aa._0x400fef)]=_0x3af0a5[_0x362e61(0x157,0x182,0x194,_0x4e11aa._0x1cd081)],_0x529408[_0x7211e0(_0x4e11aa._0x2bf3a0,0x310,0x334,_0x4e11aa._0x555ec9)]='You\x20do\x20not'+_0x7211e0(_0x4e11aa._0x9b64cc,0x2a1,_0x4e11aa._0x5bb856,0x2ba)+_0x7211e0(_0x4e11aa._0x5637df,_0x4e11aa._0x7a9d27,_0x4e11aa._0x7a9d27,0x34b)+_0x7211e0(_0x4e11aa._0x5840c1,_0x4e11aa._0x10a20c,0x2ff,0x300)+_0x362e61(0x173,0x141,0x164,_0x4e11aa._0x286636),_0x529408[_0x7211e0(0x2fe,_0x4e11aa._0x5659ca,0x305,0x2fd)+'rmissions']=_0x438c6c,_0x153bea['status'](-0x5cf+-0x3*0x139+-0x29*-0x45)[_0x7211e0(0x2ba,_0x4e11aa._0x4cf080,_0x4e11aa._0x42aab7,0x2a1)](_0x529408);}else{if(!_0x2db7c9[_0x362e61(0x1c6,0x17c,0x1c6,_0x4e11aa._0x199314)]){const _0x44cda3={};return _0x44cda3[_0x362e61(_0x4e11aa._0x336251,_0x4e11aa._0x302a23,0x17c,0x1bd)]=_0x388e41[_0x362e61(0x148,_0x4e11aa._0x492888,_0x4e11aa._0x465e72,_0x4e11aa._0x535b28)],_0x44cda3[_0x362e61(0x18a,0x173,_0x4e11aa._0x1970b1,_0x4e11aa._0x3da9fa)]='You\x20must\x20b'+_0x7211e0(_0x4e11aa._0x2466b,0x2c6,_0x4e11aa._0x215d48,0x28f)+_0x362e61(0x104,_0x4e11aa._0x1b5196,0xc6,0x114)+'s\x20this\x20res'+_0x7211e0(0x289,0x2a6,0x266,_0x4e11aa._0x5bb856),_0xd9ad16[_0x7211e0(_0x4e11aa._0x1a27f3,_0x4e11aa._0x364213,_0x4e11aa._0x4cf080,0x2b2)](-0xa5+-0x114f+0x1385)[_0x362e61(0xdc,_0x4e11aa._0x29bba2,0xcf,_0x4e11aa._0x42d2b8)](_0x44cda3);}if(!_0x49dd9e(_0x1dcd2b['user'],_0x133c4f)){const _0x9dadb2={};_0x9dadb2[_0x362e61(_0x4e11aa._0x52750c,0x17f,_0x4e11aa._0x492cfa,0x177)]=_0x32b36e[_0x362e61(_0x4e11aa._0x33dc20,_0x4e11aa._0x483ec8,_0x4e11aa._0x2c1429,_0x4e11aa._0x1b4be4)]['id'],_0x9dadb2[_0x362e61(_0x4e11aa._0x479378,_0x4e11aa._0x537671,_0x4e11aa._0x47529e,0x161)]=_0x32e008[_0x362e61(_0x4e11aa._0x57dfb7,0x17c,_0x4e11aa._0x1ffc60,_0x4e11aa._0x19abce)]['username'],_0x9dadb2[_0x362e61(0x146,_0x4e11aa._0x505b1b,0x103,_0x4e11aa._0xf2f9c4)]=_0x4941c8['user']['role'],_0x9dadb2[_0x362e61(0x17b,_0x4e11aa._0x45f5d5,0x18e,0x155)+'rmissions']=_0x3c0af5,_0x9dadb2['path']=_0x596172['path'],_0x9dadb2[_0x7211e0(0x2d5,0x2cb,0x2c7,_0x4e11aa._0x133131)]=_0xe0d6f5[_0x362e61(0x15e,_0x4e11aa._0x37a452,0x173,0xed)],_0x197834[_0x362e61(_0x4e11aa._0x4a7016,_0x4e11aa._0x35a460,_0x4e11aa._0x392b06,_0x4e11aa._0x468fe4)](_0x388e41[_0x7211e0(0x27c,0x2c0,_0x4e11aa._0x444b8c,0x2d1)],_0x9dadb2);const _0x21265a={};return _0x21265a[_0x7211e0(0x327,_0x4e11aa._0x267115,_0x4e11aa._0x30aef3,_0x4e11aa._0x5e72c5)]=_0x388e41[_0x362e61(_0x4e11aa._0x58e2ff,_0x4e11aa._0x5ec3df,0x144,0x100)],_0x21265a[_0x7211e0(0x34e,0x310,0x2e2,0x356)]=_0x7211e0(0x28c,0x290,_0x4e11aa._0x1aa2d0,_0x4e11aa._0x50e869)+_0x7211e0(_0x4e11aa._0x3db5c2,0x31a,0x2f3,0x312)+_0x7211e0(_0x4e11aa._0x77730a,_0x4e11aa._0x16968a,0x2c9,0x290)+_0x362e61(0x11b,_0x4e11aa._0x1dd84d,0x16c,_0x4e11aa._0x3ab225)+_0x7211e0(0x313,0x2d6,_0x4e11aa._0x41b4e0,0x2fb)+_0x7211e0(0x2c5,0x28a,_0x4e11aa._0x4ffb03,_0x4e11aa._0x4bd698),_0x21265a[_0x362e61(_0x4e11aa._0x3235bb,0x151,0x19b,_0x4e11aa._0xafbbd)+_0x362e61(0x17d,0x15d,_0x4e11aa._0x465e72,0x189)]=_0x3cd421,_0x5997f3[_0x362e61(_0x4e11aa._0x2bdd3a,0x103,_0x4e11aa._0x360810,_0x4e11aa._0xdbaf61)](0x6a3*-0x1+-0x1063+0x1899)[_0x7211e0(_0x4e11aa._0x4099d5,_0x4e11aa._0x1c1269,_0x4e11aa._0x137c50,0x2a6)](_0x21265a);}_0x388e41['wPrCH'](_0x4f9fbd);}}_0x3af0a5[_0x7211e0(_0x4e11aa._0x3d01aa,0x29a,_0x4e11aa._0x30cd8c,0x2d4)](_0x4f3965);};}export function requireRole(_0x5b45b8){const _0x4db18b={_0x268cf9:0x155,_0x148a05:0x13f,_0x3e1adf:0x4a1,_0x2c7fbd:0x168,_0x11d112:0x477,_0x6b35d0:0x472,_0x4f9771:0x1b3,_0xc0e6cd:0x18c,_0x1f4552:0x13b,_0x424cbe:0x162,_0x254326:0x182,_0x181ecc:0x4ab,_0x4b438e:0x494},_0x1bec20={_0x1d5e65:0x595,_0x49f7e4:0x570,_0x24f28e:0x546,_0x3b50d7:0x134,_0x1f0423:0xb0,_0x399000:0xef,_0x4ad04b:0xae,_0x54cc54:0xcc,_0x78487d:0x54d,_0x2280d6:0xad,_0x28dc32:0xf6,_0x287910:0xed,_0x58b573:0x101,_0x2a5e96:0xd9,_0x28f112:0x598,_0x1ba805:0x576,_0x4e431d:0x540,_0x10a1d5:0x52a,_0x3f1ea2:0x542,_0x2cbd51:0x104,_0x5b8acf:0x102,_0x377764:0x13f,_0x3fa10b:0x124,_0x2424f1:0x56c,_0x55a43a:0x534,_0x2ce8cc:0x510,_0x10ac93:0x54b,_0xb5c048:0x4de,_0xda36b0:0x521,_0x16b18b:0x4df,_0xf096ca:0x51a,_0x11547c:0x4f6,_0x10bf71:0x4e7,_0x243d7e:0x4fa,_0x5e568d:0x509,_0x2dfc18:0x545,_0x344b56:0x530,_0x19a44b:0x511,_0x319a62:0x57c,_0x45f9e1:0x539,_0x16f40a:0x4ef,_0x48bc2d:0x93,_0x468d9d:0x82,_0x2dcbac:0x547,_0x575557:0x567,_0xcd6f70:0x523,_0x5297cc:0x550,_0x3e13bc:0x51d,_0x70a2e5:0xc4,_0x172009:0x92,_0xd07db6:0x10f,_0x5e23b6:0x165,_0x1b0974:0x507,_0x1c706b:0x10d,_0x3f98d4:0x107,_0xc89d7e:0xc8,_0x3a464d:0x505,_0x5f4db0:0x4f6,_0x456348:0x10e,_0x2d397d:0x9d,_0x5dd415:0x101,_0x30cec5:0x4cb,_0x185233:0x511,_0x117b3e:0x53a},_0x118134={_0x18466f:0x77,_0xf8e6ca:0xd5,_0x4ea0ac:0x2b},_0x534644={'bhLkK':_0x298597(_0x4db18b._0x268cf9,0x18e,_0x4db18b._0x148a05,0x133)+_0x3885a1(_0x4db18b._0x3e1adf,0x4e8,0x497,0x4a2)+_0x298597(0x149,_0x4db18b._0x2c7fbd,0x136,0x108),'TDBvO':function(_0xb02838,_0x123060,_0x2a708f){return _0xb02838(_0x123060,_0x2a708f);},'PPDri':function(_0x4a83a1,_0x1e98d1){return _0x4a83a1!==_0x1e98d1;},'GyaLP':_0x3885a1(0x495,_0x4db18b._0x11d112,_0x4db18b._0x6b35d0,0x4b7)+_0x298597(_0x4db18b._0x4f9771,0x181,_0x4db18b._0xc0e6cd,0x1e2)+_0x298597(0x15b,_0x4db18b._0x1f4552,_0x4db18b._0x424cbe,_0x4db18b._0x254326),'nOvFQ':_0x3885a1(_0x4db18b._0x181ecc,0x44b,0x487,_0x4db18b._0x4b438e),'BriNQ':function(_0x53afe9){return _0x53afe9();}};function _0x298597(_0x2d43ea,_0x5dd718,_0x1a60f1,_0x1a79e5){return _0x201a(_0x2d43ea- -0x46,_0x1a79e5);}function _0x3885a1(_0x47effb,_0x11f734,_0x1c545f,_0x362ad8){return _0x201a(_0x362ad8-0x2c6,_0x47effb);}return(_0x44803f,_0x12a3c3,_0x30affa)=>{const _0x9cc27a={_0x2cb871:0x1df};if(!_0x44803f[_0xaf39ea(_0x1bec20._0x1d5e65,0x578,_0x1bec20._0x49f7e4,_0x1bec20._0x24f28e)]){const _0x2fc7a5={};return _0x2fc7a5[_0x5a7ca5(0x120,0xf4,0x13b,0x14c)]=_0x534644[_0xaf39ea(0x4e9,0x507,0x4d9,0x51c)],_0x2fc7a5['message']='You\x20must\x20b'+_0x5a7ca5(_0x1bec20._0x3b50d7,_0x1bec20._0x1f0423,_0x1bec20._0x399000,0x11c)+_0x5a7ca5(0x105,_0x1bec20._0x4ad04b,_0x1bec20._0x54cc54,0x10a)+_0xaf39ea(_0x1bec20._0x78487d,0x53e,0x57e,0x563)+_0x5a7ca5(0x116,_0x1bec20._0x2280d6,0xcf,0xb3),_0x12a3c3[_0x5a7ca5(_0x1bec20._0x28dc32,_0x1bec20._0x287910,0xc9,0x10e)](-0xf58*-0x1+-0xd0b+0x5e*-0x2)['json'](_0x2fc7a5);}function _0xaf39ea(_0x13a6b4,_0x1970a4,_0x1e657a,_0x299903){return _0x3885a1(_0x1e657a,_0x1970a4-0xcb,_0x1e657a-_0x9cc27a._0x2cb871,_0x1970a4-0xb3);}function _0x5a7ca5(_0xa703a4,_0x3a3908,_0x460321,_0x444090){return _0x298597(_0x460321- -_0x118134._0x18466f,_0x3a3908-_0x118134._0xf8e6ca,_0x460321-_0x118134._0x4ea0ac,_0x3a3908);}if(!_0x534644[_0x5a7ca5(0x12e,0x12f,_0x1bec20._0x58b573,_0x1bec20._0x2a5e96)](roleAtLeast,_0x44803f['user']['role'],_0x5b45b8)){if(_0x534644[_0xaf39ea(_0x1bec20._0x28f112,_0x1bec20._0x1ba805,0x544,0x56d)](_0xaf39ea(_0x1bec20._0x4e431d,0x51e,0x537,_0x1bec20._0x10a1d5),_0xaf39ea(_0x1bec20._0x3f1ea2,0x54c,_0x1bec20._0x24f28e,0x596))){const _0x4294be={};_0x4294be['userId']=_0x44803f[_0x5a7ca5(0x128,0x16e,0x142,0x13e)]['id'],_0x4294be[_0x5a7ca5(0xd0,0xdc,_0x1bec20._0x2cbd51,_0x1bec20._0x5b8acf)]=_0x44803f[_0x5a7ca5(_0x1bec20._0x377764,0x136,0x142,_0x1bec20._0x3fa10b)][_0xaf39ea(0x576,0x53a,_0x1bec20._0x2424f1,_0x1bec20._0x55a43a)],_0x4294be[_0xaf39ea(0x4e5,_0x1bec20._0x2ce8cc,_0x1bec20._0x10ac93,_0x1bec20._0xb5c048)]=_0x44803f['user'][_0xaf39ea(_0x1bec20._0xda36b0,0x51d,_0x1bec20._0x16b18b,_0x1bec20._0xf096ca)],_0x4294be[_0xaf39ea(0x573,0x543,0x53e,0x56b)+'le']=_0x5b45b8,_0x4294be[_0xaf39ea(0x542,0x520,0x564,_0x1bec20._0x11547c)]=_0x44803f[_0xaf39ea(_0x1bec20._0x10bf71,0x520,0x528,_0x1bec20._0x243d7e)],_0x4294be[_0xaf39ea(0x573,0x52a,0x505,_0x1bec20._0x5e568d)]=_0x44803f[_0xaf39ea(_0x1bec20._0x2dfc18,_0x1bec20._0x10a1d5,_0x1bec20._0x344b56,_0x1bec20._0x19a44b)],logger[_0xaf39ea(_0x1bec20._0x319a62,_0x1bec20._0x45f9e1,_0x1bec20._0x16f40a,0x548)](_0x534644['GyaLP'],_0x4294be);const _0x5a097c=ROLES[_0x5b45b8]?.[_0x5a7ca5(_0x1bec20._0x48bc2d,_0x1bec20._0x468d9d,0xc4,0xff)]||_0x5b45b8,_0x10ad32={};return _0x10ad32[_0xaf39ea(0x526,0x571,_0x1bec20._0x2dcbac,0x53d)]=_0x534644[_0xaf39ea(0x529,0x53b,_0x1bec20._0x575557,_0x1bec20._0xcd6f70)],_0x10ad32['message']=_0xaf39ea(0x506,0x532,_0x1bec20._0x5297cc,0x561)+_0xaf39ea(0x514,0x55c,_0x1bec20._0x3e13bc,0x58b)+'\x20'+_0x5a097c+(_0x5a7ca5(0x149,0x143,0x136,0x136)+'igher'),_0x12a3c3[_0x5a7ca5(_0x1bec20._0x70a2e5,_0x1bec20._0x172009,0xc9,0x80)](-0x24*-0x1d+0x1d11+-0x1*0x1f92)['json'](_0x10ad32);}else{const _0x18e274={};return _0x18e274[_0x5a7ca5(_0x1bec20._0xd07db6,0x13f,0x13b,_0x1bec20._0x5e23b6)]=_0x534644[_0xaf39ea(0x4fb,_0x1bec20._0x1b0974,0x4ed,0x50f)],_0x18e274['message']='You\x20must\x20b'+_0x5a7ca5(0x105,_0x1bec20._0x1c706b,0xef,0xe7)+_0x5a7ca5(0xbb,_0x1bec20._0x3f98d4,_0x1bec20._0x54cc54,_0x1bec20._0xc89d7e)+'s\x20this\x20res'+_0xaf39ea(_0x1bec20._0x3f1ea2,_0x1bec20._0x3a464d,_0x1bec20._0x5f4db0,0x52e),_0x107e2c[_0x5a7ca5(_0x1bec20._0x456348,_0x1bec20._0x2d397d,0xc9,_0x1bec20._0x5dd415)](0x1*-0xd3+0xba3+-0x1*0x93f)['json'](_0x18e274);}}_0x534644[_0xaf39ea(_0x1bec20._0x30cec5,_0x1bec20._0x185233,_0x1bec20._0x117b3e,0x546)](_0x30affa);};}export function checkPermission(_0x3b8089,_0x2f8fe6){const _0x486a33={_0x5a9cfd:0x1af,_0x3ddd41:0x191,_0x4b5dcc:0x1c1,_0x1e0448:0x580},_0x23a391={_0x33ec97:0x44};function _0x506a2c(_0x5bf38a,_0x35c3cb,_0x45c99c,_0x46ec97){return _0x201a(_0x45c99c- -_0x23a391._0x33ec97,_0x35c3cb);}const _0xaa0e82={'iPAIy':function(_0x257478,_0x412042,_0x3480e9){return _0x257478(_0x412042,_0x3480e9);}};function _0x1a5509(_0x557b4a,_0x4dc9f0,_0x3f5885,_0x19ce82){return _0x201a(_0x19ce82-0x386,_0x3f5885);}return _0x3b8089[_0x506a2c(0x1c9,0x1b2,0x1bb,_0x486a33._0x5a9cfd)]&&_0xaa0e82[_0x506a2c(0x1a8,_0x486a33._0x3ddd41,0x195,_0x486a33._0x4b5dcc)](userHasPermission,_0x3b8089[_0x1a5509(_0x486a33._0x1e0448,0x54e,0x598,0x585)],_0x2f8fe6);}export function isOwnerOrHasPermission(_0x12a228,_0x3d417d,_0x2516d0){const _0x106233={_0x4479c0:0x489,_0x2b6954:0x44e,_0x8f7b23:0x414,_0x24a7c6:0x415,_0x1e7055:0x4b8,_0x2650fb:0x18b,_0x5cb622:0x1c8,_0x2e5c5d:0x189,_0x1cdb4a:0x170},_0x5194ed={_0x245be6:0x61},_0x563b6d={_0x4fa1d0:0x28a};function _0x4a06f6(_0x18629a,_0x17ed6f,_0x2c54db,_0x41d1b2){return _0x201a(_0x41d1b2-_0x563b6d._0x4fa1d0,_0x18629a);}function _0x131f67(_0x131161,_0xfc07f9,_0x3599cb,_0x55fa1c){return _0x201a(_0xfc07f9- -_0x5194ed._0x245be6,_0x55fa1c);}const _0x240dba={'pHPHl':function(_0x11929a,_0x2397a8){return _0x11929a===_0x2397a8;},'FoNgR':function(_0x1a1db2,_0x6c3379,_0x545de8){return _0x1a1db2(_0x6c3379,_0x545de8);}};if(!_0x12a228[_0x4a06f6(0x468,0x4bc,0x446,_0x106233._0x4479c0)])return![];if(_0x240dba[_0x4a06f6(_0x106233._0x2b6954,_0x106233._0x8f7b23,0x454,_0x106233._0x24a7c6)](_0x12a228[_0x4a06f6(_0x106233._0x1e7055,0x454,0x49c,0x489)]['id'],_0x3d417d))return!![];return _0x240dba[_0x131f67(0x18d,_0x106233._0x2650fb,_0x106233._0x5cb622,_0x106233._0x2e5c5d)](userHasPermission,_0x12a228[_0x131f67(0x1e5,0x19e,_0x106233._0x1cdb4a,0x1c5)],_0x2516d0);}export function requireOwnerOrPermission(_0x55826e,_0x59ab3a){const _0x4bbd84={_0x243fdd:0x86,_0x49224f:0x38,_0x59ad4d:0x2,_0x595f15:0xb2,_0x18a84f:0x8e,_0x60086b:0x2c,_0x16e826:0x2d,_0xd4c407:0xc,_0x1775b5:0x47,_0x2080f8:0x74,_0x6b444f:0x35,_0x57d537:0x13,_0x181d56:0x6,_0x270155:0x2d,_0x5a08a8:0xf,_0x3dd34a:0xe0,_0x2eefdb:0xe0,_0xf21c88:0x101,_0x45ef2d:0x9a,_0x3d1565:0x68,_0xf62799:0x45,_0x330da7:0xcd,_0x9b7777:0xc5,_0x18ad20:0x41,_0x4bd32c:0x37,_0x4c1a27:0x45,_0x24d603:0x38,_0x50f00e:0x6d,_0x474c47:0xeb,_0x2aa7df:0x118,_0x2bc187:0xe3,_0x281786:0xf0,_0x48de40:0x9d,_0x4ecbb3:0xc4,_0x5689ab:0x109,_0x56635c:0xe3,_0x245782:0x65,_0x528475:0x2f,_0x4f236d:0x14,_0x5b64bd:0x7d,_0x28f914:0x66,_0x2a6c5b:0x5c,_0x4e9169:0x60,_0x3c4d9c:0x16,_0x3d9fbb:0x40,_0x1c57db:0xa3,_0x483142:0xd8,_0x41474a:0xa0},_0x126d72={_0x5e68d1:0x20e,_0x58de41:0x223,_0x1b4623:0x1be,_0x20bad6:0x1d9,_0x59a3d4:0x28f,_0x479628:0x2de,_0x22dc79:0x2cc,_0x2e204f:0x1fe,_0x22e10c:0x197,_0x401f02:0x23e,_0x4f4659:0x2df,_0x5a47b5:0x2f7,_0x25575f:0x31a,_0xb16fac:0x311,_0x5f3eeb:0x2eb,_0x5c3237:0x303,_0x1f4b4f:0x29d,_0x38e547:0x2d4,_0x2454b5:0x2fa,_0x129730:0x272,_0x4652ee:0x248,_0x1110c4:0x1e2,_0x3c8042:0x224,_0x345f69:0x267,_0x489045:0x247,_0x5b2fff:0x262,_0x77f766:0x22f,_0x5929bb:0x1e9,_0x1cfef2:0x275,_0xfe845f:0x20e,_0x403a89:0x22c,_0x249d10:0x22d,_0x10be20:0x29e,_0x3dad94:0x239,_0x5246d2:0x27c,_0x5b2c23:0x241,_0x4a1b4f:0x2e3,_0x24f856:0x2bc,_0x199e8e:0x2af,_0x17ad95:0x287,_0x257f5f:0x25e,_0x57b149:0x2dc,_0x4c85c6:0x2aa,_0x1d252b:0x292,_0x1effb5:0x219,_0x41470f:0x273,_0x2dc006:0x2aa,_0x2ef591:0x2a2,_0x3b66b3:0x2a6,_0x45dded:0x25e,_0x1ab420:0x26c,_0x3fa999:0x254,_0x31b479:0x28d,_0x1fa8cd:0x2b2,_0x1dbf58:0x245,_0x5ace0f:0x233,_0x3c510d:0x276,_0x3c4b16:0x218,_0x4c39b6:0x209,_0x44fe8e:0x206,_0x1269bb:0x1cc,_0x4ceaab:0x24f,_0x32592a:0x221,_0x27f1d2:0x1d1,_0x16adbf:0x231,_0x383d7a:0x1cd,_0x43fd3f:0x25a,_0x2a328a:0x29a,_0x5a1f18:0x290,_0xe020e9:0x20c,_0x257960:0x228,_0x1739b3:0x1db,_0x36092a:0x264,_0x29c102:0x257,_0x152b9a:0x2e5,_0x20b68d:0x278,_0xc163ef:0x258,_0x1ef0c6:0x2b7,_0xa226c5:0x2d7,_0x65dfa9:0x2f2,_0xdb73b8:0x2a5,_0x5edab3:0x2ce,_0x4a776e:0x223,_0x32e599:0x224,_0x402f55:0x20b,_0x40625e:0x281,_0x302249:0x25a,_0x332171:0x270,_0x1174b0:0x26f,_0xaf8c02:0x26f,_0x134ee9:0x2a8,_0xd9cef3:0x289,_0x47be02:0x235,_0x15f8d6:0x276,_0x2423b9:0x2bd,_0x1dc884:0x317,_0x258eaa:0x2ae,_0x258b8e:0x2c8,_0x10478a:0x277,_0x63514b:0x25e,_0x1fb1e2:0x208,_0x25672e:0x1de,_0x8c8e6e:0x1d2,_0x235f41:0x1c2,_0x42e924:0x2a0,_0x43e84f:0x2ca,_0x30a456:0x32c,_0x58c6fc:0x2a2,_0x4f14ad:0x1be,_0x3b3e72:0x2cc,_0xf85fdb:0x28f,_0x1c2ea5:0x261,_0x1573fd:0x2a9,_0x38f73a:0x2c0,_0x287cd0:0x2b9,_0x14ab69:0x2e1,_0x2eec66:0x2ed,_0x309df4:0x2fb,_0x4ff363:0x2ce,_0x260e76:0x29d,_0x3e85c5:0x256,_0x432502:0x24a,_0x22b52e:0x27b,_0x12e1ac:0x211,_0x55ec38:0x294,_0x4e7af0:0x252,_0x97d24c:0x200,_0x245fb6:0x1f2,_0x1fc786:0x1e1,_0x354947:0x2a2,_0x4bbb31:0x257,_0x327563:0x289,_0x3b44b6:0x256,_0x1bf97d:0x31e,_0x4822ba:0x2f1,_0x48d33e:0x2c2,_0x394c77:0x24a,_0x187e60:0x257,_0x2453a7:0x23f,_0x569115:0x282,_0x2998d3:0x2df,_0x28997d:0x2ba,_0x79b97b:0x318,_0x5708df:0x27e,_0x233c46:0x290,_0x3c4062:0x32c,_0x19da02:0x29c,_0x16e5c5:0x2cb,_0x8b40ad:0x2d0,_0x1906d4:0x2e1,_0x262142:0x2c7,_0x459119:0x240,_0x54b916:0x1f6,_0x2e1b22:0x246,_0x5e6262:0x2bc,_0x485b12:0x2ab,_0x21e0c2:0x1a6,_0x71b5c4:0x261,_0x4040bb:0x2dd,_0x39d4ee:0x2e8,_0x4c53c3:0x2a5,_0xb5322f:0x2da,_0x4fe827:0x249,_0x629545:0x293,_0x2bc02f:0x313,_0xcece3b:0x203,_0x9cbd69:0x1e3,_0x58eb08:0x229,_0x2bd1f:0x26d,_0x18f856:0x2c9,_0x11f666:0x216,_0x1200a9:0x210,_0x30b588:0x24b,_0x36a60a:0x2e1,_0x559007:0x1f9,_0x3e0758:0x22d,_0x37e719:0x1e6,_0x5aa753:0x255,_0x36a825:0x281,_0x2feed2:0x249,_0x495698:0x242,_0x1d98c8:0x22c,_0x51f228:0x28c,_0x35a39f:0x234,_0xd524dc:0x217,_0x93bcb4:0x1e5,_0x3e925d:0x244,_0x162fc7:0x266,_0x36f957:0x290},_0x359c5b={_0x2b7f20:0x2c,_0x592f13:0xa3},_0x532eb8={_0x4187e1:0x1b3},_0x1b6725={_0x50a2a2:0xfa},_0x45615d={'OrGTI':_0x1b5fce(0xcf,_0x4bbd84._0x243fdd,0xa1,0x96)+'tion\x20requi'+'red','PRuAy':_0x4e2297(_0x4bbd84._0x49224f,0x6c,_0x4bbd84._0x59ad4d,0x2e)+_0x1b5fce(0x95,0xc2,_0x4bbd84._0x595f15,_0x4bbd84._0x18a84f)+_0x4e2297(-0x2a,-_0x4bbd84._0x60086b,-0x6c,-0x62)+_0x4e2297(0x12,_0x4bbd84._0x16e826,0x1b,-_0x4bbd84._0xd4c407)+_0x1b5fce(_0x4bbd84._0x1775b5,_0x4bbd84._0x2080f8,0x92,0xbb),'uAnlU':'Permission'+'\x20denied\x20(r'+_0x4e2297(-_0x4bbd84._0x6b444f,_0x4bbd84._0x57d537,-0x1f,_0x4bbd84._0x181d56)+'y)','UWzsI':_0x4e2297(0x3e,_0x4bbd84._0x270155,0x52,_0x4bbd84._0x5a08a8)+_0x1b5fce(0xc2,_0x4bbd84._0x3dd34a,0xff,0xcd)+'ent','DdEZP':function(_0x5b95c1,_0x4e8eae){return _0x5b95c1!==_0x4e8eae;},'QtbjS':_0x1b5fce(_0x4bbd84._0x2eefdb,0x108,0xce,_0x4bbd84._0xf21c88),'Jmlfc':function(_0x13a4f3,_0x403df5){return _0x13a4f3(_0x403df5);},'ktzIF':function(_0x12fb00,_0x5a3c8f){return _0x12fb00===_0x5a3c8f;},'kSNly':function(_0x375b6f){return _0x375b6f();},'RenlQ':function(_0x2a8544,_0x1b8d7f,_0x192b5d){return _0x2a8544(_0x1b8d7f,_0x192b5d);},'vflgU':function(_0x91fb5a,_0x38c07f){return _0x91fb5a!==_0x38c07f;},'wnJOl':_0x1b5fce(0x62,0x57,0x78,_0x4bbd84._0x45ef2d),'vYjUC':function(_0x3bede0){return _0x3bede0();},'ZFgyz':_0x4e2297(0x3c,_0x4bbd84._0x3d1565,0x5f,_0x4bbd84._0xf62799)+_0x1b5fce(0xb0,0xab,_0x4bbd84._0x330da7,_0x4bbd84._0x9b7777)+_0x4e2297(_0x4bbd84._0x18ad20,0x10,-0xa,0x76)+_0x4e2297(_0x4bbd84._0x4bd32c,_0x4bbd84._0x4c1a27,_0x4bbd84._0x24d603,_0x4bbd84._0x50f00e)+_0x1b5fce(_0x4bbd84._0x474c47,_0x4bbd84._0x2aa7df,_0x4bbd84._0x2bc187,0xf9),'dVcbZ':_0x1b5fce(_0x4bbd84._0x281786,0x10f,0xd4,_0x4bbd84._0x48de40),'kISmt':'You\x20can\x20on'+_0x1b5fce(_0x4bbd84._0x4ecbb3,_0x4bbd84._0x5689ab,0xd2,0xc2)+_0x1b5fce(0x120,_0x4bbd84._0x56635c,0xef,0xa9)+'esources\x20u'+_0x1b5fce(_0x4bbd84._0x245782,0x59,0xa2,0x64)+_0x1b5fce(0x108,0x110,_0x4bbd84._0x5689ab,0xea)+'ted\x20permis'+'sions','xVqYo':_0x1b5fce(0x97,0x69,0x7e,0xc4),'XJStI':_0x4e2297(_0x4bbd84._0x528475,-0x18,-_0x4bbd84._0x4f236d,0x26)+'wnership\x20c'+_0x1b5fce(0x72,0xc8,_0x4bbd84._0x5b64bd,_0x4bbd84._0x28f914),'IWxPD':_0x4e2297(0x3a,_0x4bbd84._0x2a6c5b,0x38,_0x4bbd84._0x4e9169)+_0x4e2297(-0x4,_0x4bbd84._0x3c4d9c,-0x1e,-_0x4bbd84._0x3d9fbb)+_0x1b5fce(0xc7,_0x4bbd84._0x1c57db,_0x4bbd84._0x483142,_0x4bbd84._0x41474a)+'rship'};function _0x1b5fce(_0x2deddc,_0x10fcb6,_0x19cb50,_0xea9772){return _0x201a(_0x19cb50- -_0x1b6725._0x50a2a2,_0x2deddc);}function _0x4e2297(_0x2e75da,_0x28ed73,_0x3b6a1f,_0x316ffc){return _0x201a(_0x2e75da- -_0x532eb8._0x4187e1,_0x3b6a1f);}return async(_0x29bc51,_0xe68106,_0x5ba1db)=>{function _0x29877a(_0x248ddb,_0x3067ef,_0x417e21,_0x415378){return _0x1b5fce(_0x415378,_0x3067ef-_0x359c5b._0x2b7f20,_0x3067ef-0x159,_0x415378-_0x359c5b._0x592f13);}function _0x311f16(_0x1e4d03,_0x150889,_0xa6f60d,_0x18b3bf){return _0x4e2297(_0x150889-0x29c,_0x150889-0x8d,_0x18b3bf,_0x18b3bf-0x3a);}const _0x1ddb48={};_0x1ddb48[_0x29877a(_0x126d72._0x5e68d1,0x20c,0x1e9,_0x126d72._0x58de41)]=_0x45615d[_0x29877a(0x1c5,0x1fe,_0x126d72._0x1b4623,_0x126d72._0x20bad6)],_0x1ddb48['bbZsh']=_0x311f16(_0x126d72._0x59a3d4,0x2b7,_0x126d72._0x479628,_0x126d72._0x22dc79),_0x1ddb48[_0x29877a(0x1fb,_0x126d72._0x20bad6,_0x126d72._0x2e204f,_0x126d72._0x22e10c)]=_0x45615d[_0x29877a(0x288,_0x126d72._0x401f02,0x256,0x22b)];const _0x3f0ba1=_0x1ddb48;if(_0x45615d[_0x311f16(_0x126d72._0x4f4659,0x2bf,0x28b,_0x126d72._0x5a47b5)](_0x45615d[_0x311f16(0x30c,0x2e7,_0x126d72._0x25575f,_0x126d72._0xb16fac)],'VAlwG')){if(!_0x29bc51[_0x311f16(0x32c,0x2e8,0x2b2,0x2a1)]){const _0x9a1ab3={};return _0x9a1ab3[_0x311f16(0x29a,0x2e1,_0x126d72._0x5f3eeb,_0x126d72._0x5c3237)]=_0x45615d['OrGTI'],_0x9a1ab3[_0x29877a(0x25e,0x255,0x283,0x228)]=_0x311f16(_0x126d72._0x1f4b4f,_0x126d72._0x38e547,_0x126d72._0x2454b5,0x2b2)+_0x311f16(0x279,0x295,0x293,0x2c4)+_0x311f16(0x250,_0x126d72._0x129730,_0x126d72._0x4652ee,0x294)+_0x29877a(_0x126d72._0x1110c4,_0x126d72._0x3c8042,_0x126d72._0x345f69,0x25e)+_0x311f16(0x26c,0x275,0x295,_0x126d72._0x489045),_0xe68106['status'](0x201e+-0xf4d+-0x8*0x1e8)['json'](_0x9a1ab3);}try{const _0x3d1778=await _0x45615d[_0x29877a(_0x126d72._0x5b2fff,_0x126d72._0x77f766,_0x126d72._0x5929bb,_0x126d72._0x1cfef2)](_0x55826e,_0x29bc51);if(_0x45615d['ktzIF'](_0x29bc51['user']['id'],_0x3d1778))return _0x45615d[_0x29877a(0x1f0,0x1db,0x1f7,0x195)](_0x5ba1db);if(_0x45615d[_0x29877a(_0x126d72._0xfe845f,_0x126d72._0x403a89,0x272,0x207)](userHasPermission,_0x29bc51[_0x29877a(_0x126d72._0x249d10,0x25e,0x216,_0x126d72._0x10be20)],_0x59ab3a)){if(_0x45615d[_0x29877a(0x277,_0x126d72._0x3dad94,_0x126d72._0x5246d2,_0x126d72._0x5b2c23)](_0x45615d[_0x311f16(0x31e,0x2e3,0x2fa,0x2a2)],_0x45615d[_0x311f16(0x2a5,_0x126d72._0x4a1b4f,_0x126d72._0x24f856,_0x126d72._0x199e8e)])){const _0x54b487={};_0x54b487['userId']=_0x486793[_0x29877a(_0x126d72._0x17ad95,_0x126d72._0x257f5f,0x22c,0x267)]['id'],_0x54b487[_0x311f16(_0x126d72._0x57b149,_0x126d72._0x4c85c6,0x2a0,0x285)]=_0x355f3e[_0x29877a(0x27b,0x25e,_0x126d72._0x1d252b,_0x126d72._0x1effb5)][_0x311f16(_0x126d72._0x41470f,_0x126d72._0x2dc006,_0x126d72._0x2ef591,0x2b3)],_0x54b487['role']=_0x13989e[_0x29877a(_0x126d72._0x3b66b3,_0x126d72._0x45dded,_0x126d72._0x1ab420,0x27a)][_0x311f16(_0x126d72._0x3fa999,_0x126d72._0x31b479,_0x126d72._0x1fa8cd,_0x126d72._0x1dbf58)],_0x54b487[_0x29877a(0x21a,_0x126d72._0x5ace0f,_0x126d72._0x3c510d,0x20c)+_0x29877a(0x249,0x23f,_0x126d72._0x3c4b16,_0x126d72._0x4c39b6)]=_0x1ca389,_0x54b487[_0x29877a(0x212,_0x126d72._0x44fe8e,_0x126d72._0x1269bb,_0x126d72._0x4ceaab)]=_0x4e7fc0[_0x29877a(0x1c2,_0x126d72._0x44fe8e,_0x126d72._0x32592a,0x1ef)],_0x54b487[_0x29877a(_0x126d72._0x27f1d2,0x210,_0x126d72._0x16adbf,_0x126d72._0x383d7a)]=_0x543a73[_0x311f16(_0x126d72._0x43fd3f,_0x126d72._0x2a328a,_0x126d72._0x5a1f18,0x282)],_0x5bf301['warn'](_0x3f0ba1[_0x29877a(0x206,_0x126d72._0xe020e9,_0x126d72._0x257960,_0x126d72._0x1739b3)],_0x54b487);const _0x24731a={};return _0x24731a[_0x29877a(_0x126d72._0x36092a,_0x126d72._0x29c102,0x277,0x29c)]=_0x3f0ba1['bbZsh'],_0x24731a[_0x311f16(0x2e4,_0x126d72._0x4f4659,_0x126d72._0x152b9a,0x294)]=_0x311f16(0x264,0x25f,_0x126d72._0x20b68d,0x24e)+_0x311f16(0x235,0x270,0x261,_0x126d72._0xc163ef)+_0x311f16(_0x126d72._0x1ef0c6,_0x126d72._0xa226c5,0x299,_0x126d72._0x65dfa9)+_0x311f16(_0x126d72._0xdb73b8,_0x126d72._0x5edab3,0x2d9,0x2c1)+_0x29877a(0x253,_0x126d72._0x4a776e,_0x126d72._0x32e599,_0x126d72._0x402f55),_0x24731a['requiredPe'+_0x29877a(0x237,0x23f,_0x126d72._0x40625e,_0x126d72._0x302249)]=_0x44421b,_0x103581[_0x311f16(_0x126d72._0x332171,_0x126d72._0x1174b0,0x22e,_0x126d72._0xaf8c02)](0x1547+0x1*0x1472+-0x2826)[_0x311f16(_0x126d72._0x134ee9,0x266,0x21e,_0x126d72._0xd9cef3)](_0x24731a);}else return _0x45615d[_0x311f16(_0x126d72._0x47be02,_0x126d72._0x15f8d6,0x275,_0x126d72._0x2423b9)](_0x5ba1db);}const _0xfbbc95={};_0xfbbc95[_0x311f16(_0x126d72._0x1dc884,0x2eb,_0x126d72._0x258eaa,_0x126d72._0x258b8e)]=_0x29bc51['user']['id'],_0xfbbc95[_0x29877a(0x208,0x220,0x21b,0x249)]=_0x29bc51[_0x29877a(_0x126d72._0x10478a,_0x126d72._0x63514b,_0x126d72._0x16adbf,0x219)][_0x29877a(_0x126d72._0x489045,0x220,_0x126d72._0x1fb1e2,0x1f9)],_0xfbbc95[_0x29877a(_0x126d72._0x25672e,_0x126d72._0x8c8e6e,0x1ce,_0x126d72._0x235f41)+'nerId']=_0x3d1778,_0xfbbc95[_0x311f16(_0x126d72._0x1cfef2,_0x126d72._0x2423b9,_0x126d72._0x42e924,_0x126d72._0x43e84f)+_0x311f16(_0x126d72._0x30a456,0x2e5,_0x126d72._0x58c6fc,0x316)]=_0x59ab3a,_0xfbbc95[_0x29877a(0x1c0,_0x126d72._0x44fe8e,0x204,_0x126d72._0x4f14ad)]=_0x29bc51[_0x311f16(0x24a,0x290,_0x126d72._0x3b3e72,_0x126d72._0x1ab420)],_0xfbbc95['method']=_0x29bc51[_0x311f16(0x2cb,0x29a,_0x126d72._0x36092a,_0x126d72._0xf85fdb)],logger[_0x311f16(_0x126d72._0x1c2ea5,_0x126d72._0x1573fd,0x284,0x2a3)](_0x45615d[_0x311f16(_0x126d72._0x38f73a,0x2a0,0x276,_0x126d72._0x287cd0)],_0xfbbc95);const _0x174b9d={};return _0x174b9d[_0x311f16(0x2a3,_0x126d72._0x14ab69,_0x126d72._0x2eec66,_0x126d72._0x309df4)]=_0x45615d[_0x311f16(_0x126d72._0x4ff363,_0x126d72._0x260e76,_0x126d72._0x38e547,_0x126d72._0x3e85c5)],_0x174b9d[_0x29877a(_0x126d72._0x432502,0x255,_0x126d72._0x22b52e,_0x126d72._0x12e1ac)]=_0x45615d[_0x311f16(0x2c0,_0x126d72._0x55ec38,0x2df,0x267)],_0xe68106['status'](-0xd*-0xf7+-0x3f7+-0x1*0x701)['json'](_0x174b9d);}catch(_0xe608cb){if(_0x45615d[_0x29877a(_0x126d72._0x4e7af0,_0x126d72._0x3dad94,0x223,_0x126d72._0x97d24c)](_0x45615d[_0x29877a(0x1da,_0x126d72._0x245fb6,0x1ac,_0x126d72._0x1fc786)],'hzfIJ')){const _0x672aff={};return _0x672aff[_0x29877a(_0x126d72._0x354947,_0x126d72._0x4bbb31,_0x126d72._0x58de41,0x29c)]=_0x45615d[_0x29877a(_0x126d72._0x327563,_0x126d72._0x3b44b6,0x292,_0x126d72._0x1f4b4f)],_0x672aff[_0x311f16(_0x126d72._0x1bf97d,0x2df,0x320,0x2d8)]=_0x45615d[_0x311f16(0x323,0x2ed,_0x126d72._0x4822ba,_0x126d72._0x48d33e)],_0x345878[_0x29877a(0x1bb,0x1e5,0x1f5,0x1c3)](0x1a85+-0x21b6+0x8c2)[_0x311f16(_0x126d72._0x394c77,0x266,0x28a,0x270)](_0x672aff);}else{const _0x59bdb0={};_0x59bdb0[_0x29877a(0x282,_0x126d72._0x187e60,_0x126d72._0x2453a7,_0x126d72._0x569115)]=_0xe608cb[_0x311f16(0x317,_0x126d72._0x2998d3,_0x126d72._0x28997d,_0x126d72._0x79b97b)],_0x59bdb0[_0x311f16(_0x126d72._0x5708df,_0x126d72._0x233c46,0x287,0x2c7)]=_0x29bc51['path'],logger[_0x311f16(_0x126d72._0x3c4062,0x2e1,0x328,0x2b5)](_0x45615d[_0x311f16(_0x126d72._0x22b52e,_0x126d72._0x19da02,_0x126d72._0x16e5c5,0x280)],_0x59bdb0);const _0x83a5e2={};return _0x83a5e2[_0x311f16(_0x126d72._0x8b40ad,_0x126d72._0x1906d4,0x2cd,_0x126d72._0x262142)]=_0x29877a(_0x126d72._0x459119,0x211,0x254,_0x126d72._0x54b916)+_0x29877a(0x24c,_0x126d72._0x2e1b22,0x233,0x291)+'r',_0x83a5e2[_0x311f16(_0x126d72._0x5e6262,0x2df,_0x126d72._0x485b12,0x2cf)]=_0x45615d[_0x311f16(0x2aa,0x282,_0x126d72._0x5e6262,_0x126d72._0xaf8c02)],_0xe68106[_0x29877a(0x22c,0x1e5,0x1d6,0x1a7)](-0x1994+-0x1b44+0x36cc)[_0x29877a(_0x126d72._0x21e0c2,0x1dc,0x1a8,0x1ba)](_0x83a5e2);}}}else{const _0x198ed4={};_0x198ed4[_0x29877a(0x230,_0x126d72._0x71b5c4,0x29a,0x258)]=_0x2deadd[_0x311f16(_0x126d72._0x4040bb,_0x126d72._0x39d4ee,0x31f,0x2ab)]['id'],_0x198ed4['username']=_0x3a7b45[_0x29877a(0x28a,0x25e,0x29a,0x28d)][_0x311f16(_0x126d72._0x4c53c3,0x2aa,_0x126d72._0xb5322f,0x2e0)],_0x198ed4[_0x311f16(_0x126d72._0x4fe827,0x280,_0x126d72._0x629545,0x272)]=_0x478df7[_0x311f16(_0x126d72._0x2bc02f,0x2e8,0x2f6,0x2a7)][_0x29877a(0x238,_0x126d72._0xcece3b,_0x126d72._0x9cbd69,0x1e3)],_0x198ed4[_0x29877a(0x201,_0x126d72._0x58eb08,_0x126d72._0x77f766,0x1e2)+'le']=_0x2d9c9d,_0x198ed4[_0x311f16(_0x126d72._0x1cfef2,0x290,_0x126d72._0x1f4b4f,_0x126d72._0x2bd1f)]=_0x182dc1[_0x311f16(_0x126d72._0x18f856,0x290,_0x126d72._0x345f69,0x26d)],_0x198ed4[_0x29877a(0x20e,0x210,_0x126d72._0x11f666,0x21f)]=_0x14861b[_0x29877a(0x246,_0x126d72._0x1200a9,0x1e4,_0x126d72._0x1200a9)],_0xda7bed['warn'](_0x3f0ba1[_0x311f16(_0x126d72._0x31b479,0x263,_0x126d72._0x30b588,0x275)],_0x198ed4);const _0x3c57b0=_0x4d88d1[_0x132e1d]?.['name']||_0x280349,_0x497650={};return _0x497650[_0x311f16(_0x126d72._0x58c6fc,_0x126d72._0x36a60a,_0x126d72._0x38e547,0x2c4)]=_0x29877a(_0x126d72._0x559007,_0x126d72._0x3e0758,_0x126d72._0x129730,_0x126d72._0x37e719),_0x497650[_0x29877a(0x23b,_0x126d72._0x5aa753,0x269,_0x126d72._0x36a825)]='This\x20actio'+_0x29877a(_0x126d72._0x2feed2,_0x126d72._0x495698,0x233,_0x126d72._0x1d98c8)+'\x20'+_0x3c57b0+(_0x29877a(_0x126d72._0x51f228,_0x126d72._0x4e7af0,_0x126d72._0x5b2fff,_0x126d72._0x35a39f)+_0x29877a(_0x126d72._0x3b44b6,_0x126d72._0xd524dc,0x241,0x1f9)),_0x3f0bba[_0x29877a(0x1aa,_0x126d72._0x93bcb4,0x1e3,0x20f)](0x1*-0x1e95+0x1*-0xf96+-0x17df*-0x2)[_0x311f16(_0x126d72._0x3e925d,_0x126d72._0x162fc7,0x29a,_0x126d72._0x36f957)](_0x497650);}};}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profoundlogic/coderflow-server",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "AI Coder Server - Manages Docker containers for AI agent task execution",
5
5
  "main": "start.js",
6
6
  "type": "module",
@@ -1 +1 @@
1
- function _0x4232(){const _0x49f8e7=['rMfPBgvKihrVia','y3jLyxrLiefqsq','C2XvEg8','yu14tKq','mJK5nMHhv2znyq','DxnLCG','A2v5','nJK5mJq2y0TKyM1w','zxnZzNvSBhK','vMTutMq','rKHZDxy','oxrwt1PPza','zxLZ','B2joCgO','qvbjigTLEsbKzq','igTLEsbZzwn1CG','BMfTzq','AfzJDve','qvbjigTLEsbUyq','nwj1uu5SEG','BwvZC2fNzq','BgLZDcbbueKGAW','yM9KEq','y3jLyxrLzf9HDa','C3rHDhvZ','tLzhvLq','igTLEq','CxDYtuG','lZPPza','zgvSzxrL','qvbjigTLEsbJCG','zgvSzxrLiefqsq','ntuZnJuYmhLJq0fZqW','BgWGBM90igjLia','zM91BMqGB3iGza','ANnVBG','CgfYyw1Z','s1r0vfe','vKjgtvC','mJe2ohftAvrZDa','uLj0vem','sMnvtMm','mJCYmZiXnuzLEKfTtq','D3LMvxq','q1LzEeS','yu1YBM4','u3rVCMuGDgHPCW','r2vPu3C','zwX5lIbjDcb3Aq','Esb3yxmGBM90ia','zxjYB3i','zerTAuG','z2v0','zvfcDeK','B2vZig5VDcbIzq','C2HVD24GywDHAq','B0nzvhq','vgHLihjLCxvLCW','Bg9UzYb0BYb5BW','yxbPs2v5','DcbMB3vUza','owHos0jvwa','mJiWmde4quD1AgTo','s1fqBuS','DhjPBq','zwf0zwqGC3vJyW','whbNvgm','mJyXndq0zuDdww9n','odqWnda5ovDUC1vKAq','v01kEwC'];_0x4232=function(){return _0x49f8e7;};return _0x4232();}function _0x37561f(_0x4d2d3b,_0xe5de90,_0x49ca7a,_0x6362bd){return _0x2f6f(_0x49ca7a-0x204,_0x4d2d3b);}(function(_0x59658e,_0x53e86e){const _0x5366e8={_0x2402d5:0x2fe,_0x25ace7:0x1ca,_0x52817e:0x326,_0xf49fbf:0x1cf,_0x36a60f:0x1ed,_0x1fd042:0x1e5,_0x4e003b:0x1d4,_0x499866:0x334,_0xe918c1:0x33f,_0x23c147:0x325,_0x1777b6:0x32a,_0x12a55d:0x1b3,_0x9d93a2:0x1b5,_0x4f5bfe:0x1c5,_0x48f1ad:0x2fb,_0x58059d:0x2dd,_0x3010c7:0x31a,_0x28806a:0x210,_0x10305e:0x1ee},_0x2631f9={_0x31de79:0x268},_0x22eb8d=_0x59658e();function _0x10f9f6(_0x3da4df,_0x398655,_0x3b40bf,_0x28539e){return _0x2f6f(_0x3b40bf-0x137,_0x3da4df);}function _0xeed91b(_0x4fe369,_0x3457f6,_0x208ec8,_0x3c1b32){return _0x2f6f(_0x4fe369-_0x2631f9._0x31de79,_0x208ec8);}while(!![]){try{const _0x49a372=parseInt(_0xeed91b(0x2ee,0x2f3,0x2fe,_0x5366e8._0x2402d5))/(0x1167+-0x3*-0xc04+-0x1ab9*0x2)*(parseInt(_0x10f9f6(_0x5366e8._0x25ace7,0x1d4,0x1e8,0x1db))/(-0x10ce+-0x1d3c+0x2e0c*0x1))+-parseInt(_0xeed91b(0x318,0x32b,_0x5366e8._0x52817e,0x2f8))/(-0x148a+0x50b*0x5+-0x6*0xc7)*(-parseInt(_0x10f9f6(0x1cc,_0x5366e8._0xf49fbf,_0x5366e8._0x36a60f,0x203))/(-0xf4+-0x19e*-0x1+-0xa6))+-parseInt(_0x10f9f6(_0x5366e8._0x1fd042,0x1b2,_0x5366e8._0x4e003b,0x1c5))/(0x18cc+0x20d2+-0x3d7*0xf)+parseInt(_0xeed91b(0x328,_0x5366e8._0x499866,_0x5366e8._0xe918c1,0x33a))/(0x517+0x566+-0xa77)+parseInt(_0xeed91b(_0x5366e8._0x23c147,0x339,0x302,_0x5366e8._0x1777b6))/(0x218a+-0x247e+0x2fb)*(-parseInt(_0xeed91b(0x302,0x311,0x30e,0x30a))/(-0xbab+0x2*-0x22f+0x1011))+parseInt(_0x10f9f6(0x1bb,_0x5366e8._0x12a55d,_0x5366e8._0x9d93a2,_0x5366e8._0x4f5bfe))/(0x10fd*0x1+0x11a5*-0x1+0xb1)*(-parseInt(_0xeed91b(_0x5366e8._0x48f1ad,_0x5366e8._0x58059d,_0x5366e8._0x3010c7,0x2de))/(0x253c+0x24ae+0x1278*-0x4))+parseInt(_0x10f9f6(_0x5366e8._0x28806a,0x1d5,_0x5366e8._0x10305e,0x209))/(-0x101*0x7+0x74*-0x36+0x1f8a);if(_0x49a372===_0x53e86e)break;else _0x22eb8d['push'](_0x22eb8d['shift']());}catch(_0x3edbc2){_0x22eb8d['push'](_0x22eb8d['shift']());}}}(_0x4232,0xaf4ff+0x16*0x5c87+-0xc9dae));import _0x102066 from'express';import{createApiKey,listUserApiKeys,deleteApiKey}from'../lib/apiKeys.js';function _0x2f6f(_0x5353f8,_0x337d5f){_0x5353f8=_0x5353f8-(-0x1*-0x469+0x5a2+-0x98e);const _0x5bf86c=_0x4232();let _0x5bb32b=_0x5bf86c[_0x5353f8];if(_0x2f6f['jzbSBs']===undefined){var _0x2ac00c=function(_0x271cf1){const _0x511cb1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa45167='',_0x305486='';for(let _0x4d9096=0x1736+-0x802+0x22c*-0x7,_0x23a51a,_0x4defcb,_0x29d494=0x1*-0x140d+0x1f*-0x53+-0x1*-0x1e1a;_0x4defcb=_0x271cf1['charAt'](_0x29d494++);~_0x4defcb&&(_0x23a51a=_0x4d9096%(-0x7bf+0x979*-0x4+0x1*0x2da7)?_0x23a51a*(-0x1*0x190d+-0x1500+0x2e4d)+_0x4defcb:_0x4defcb,_0x4d9096++%(-0x9c1*0x3+-0x1c23+0x1cb5*0x2))?_0xa45167+=String['fromCharCode'](-0x16c0+-0x9*-0x38a+0x53*-0x19&_0x23a51a>>(-(0x270*0xd+0x2*0x526+-0x29fa)*_0x4d9096&-0x2269+0x1385+0x1*0xeea)):-0x991+0xd3a+-0x1*0x3a9){_0x4defcb=_0x511cb1['indexOf'](_0x4defcb);}for(let _0x15ba6f=0x189b*-0x1+0x1277+0x2*0x312,_0xe06602=_0xa45167['length'];_0x15ba6f<_0xe06602;_0x15ba6f++){_0x305486+='%'+('00'+_0xa45167['charCodeAt'](_0x15ba6f)['toString'](-0x60b+0x883*0x4+0x1*-0x1bf1))['slice'](-(-0xd53+0x9f5+-0x4*-0xd8));}return decodeURIComponent(_0x305486);};_0x2f6f['wCVMXH']=_0x2ac00c,_0x2f6f['apVmgN']={},_0x2f6f['jzbSBs']=!![];}const _0x423d29=_0x5bf86c[0x55*0x20+-0x1fc8+-0x4*-0x54a],_0x4981fe=_0x5353f8+_0x423d29,_0x1e5fab=_0x2f6f['apVmgN'][_0x4981fe];return!_0x1e5fab?(_0x5bb32b=_0x2f6f['wCVMXH'](_0x5bb32b),_0x2f6f['apVmgN'][_0x4981fe]=_0x5bb32b):_0x5bb32b=_0x1e5fab,_0x5bb32b;}function _0x2053de(_0x4ba3d7,_0x4f86db,_0x1aaf27,_0x2d0e93){const _0x1b0c33={_0x36aa2a:0xaf};return _0x2f6f(_0x1aaf27-_0x1b0c33._0x36aa2a,_0x4ba3d7);}import{logger}from'../lib/logger.js';const router=_0x102066['Router']();router[_0x37561f(0x296,0x29b,0x2ab,0x2a8)]('/',async(_0x2dac84,_0x505099)=>{const _0x30a0b4={_0x225029:0x3f4,_0x397070:0x396,_0x3a1d61:0x403,_0x4e2fb2:0x3d5,_0x470c02:0x3c9,_0x5487d6:0x43d,_0x100c3e:0x427,_0x79a834:0x429,_0x18ac24:0x424,_0x8e8405:0x3ce,_0x1e922c:0x3f5,_0xa6ff51:0x3f7,_0x23d80f:0x3ec,_0x26a167:0x409,_0x4eab6c:0x3be,_0x2edbdc:0x420},_0x3b4abb={_0x1f49d3:0x17e,_0x47784d:0x138},_0x43c971={'GeiSw':function(_0x53df0f,_0x532b26){return _0x53df0f(_0x532b26);},'CYYxK':'Failed\x20to\x20'+_0x38be0b(0x3f7,0x3ff,_0x30a0b4._0x225029,0x40a)+_0x2f6317(0x3b2,0x3c9,_0x30a0b4._0x397070,0x398)};function _0x2f6317(_0x1d2faf,_0x57f79c,_0x249835,_0x246595){return _0x37561f(_0x246595,_0x57f79c-0x1d3,_0x1d2faf-0x12f,_0x246595-0x191);}function _0x38be0b(_0x5311f4,_0x5728c9,_0xaf20b8,_0x4a85d6){return _0x37561f(_0xaf20b8,_0x5728c9-0xfb,_0x4a85d6-_0x3b4abb._0x1f49d3,_0x4a85d6-_0x3b4abb._0x47784d);}try{const _0x5da97f=_0x2dac84[_0x2f6317(0x3f1,0x3e0,0x3d9,_0x30a0b4._0x3a1d61)]['id'],_0x1c02a1=await _0x43c971[_0x2f6317(_0x30a0b4._0x4e2fb2,0x3b7,0x3b4,0x3e4)](listUserApiKeys,_0x5da97f),_0x28d82b={};_0x28d82b['apiKeys']=_0x1c02a1,_0x505099[_0x2f6317(_0x30a0b4._0x470c02,0x3be,0x3ad,0x3d3)](_0x28d82b);}catch(_0x4269d7){logger[_0x38be0b(0x40b,_0x30a0b4._0x5487d6,0x445,_0x30a0b4._0x100c3e)]('Failed\x20to\x20'+_0x38be0b(_0x30a0b4._0x79a834,0x409,_0x30a0b4._0x18ac24,0x40a)+_0x2f6317(0x3b2,0x3a0,0x3be,0x3a9),_0x4269d7);const _0xcbf36f={};_0xcbf36f['error']=_0x43c971[_0x2f6317(0x3d2,0x3ef,_0x30a0b4._0x8e8405,_0x30a0b4._0x1e922c)],_0xcbf36f[_0x38be0b(0x3ff,_0x30a0b4._0xa6ff51,_0x30a0b4._0x23d80f,_0x30a0b4._0x26a167)]=_0x4269d7['message'],_0x505099[_0x2f6317(_0x30a0b4._0x4eab6c,0x3bf,0x3da,0x3b9)](0x3e6+-0xf6f+0xd7d)[_0x38be0b(0x41d,_0x30a0b4._0x2edbdc,0x422,0x418)](_0xcbf36f);}}),router['post']('/',async(_0x534a36,_0x44d67e)=>{const _0x3ec23c={_0x57dffe:0xfc,_0x58f1bb:0x132,_0xac521:0xa7,_0x149715:0xa5,_0x4b7aee:0x9c,_0x1a92b9:0x8b,_0x25b57f:0xa2,_0x3ca44f:0xb1,_0x7212d8:0x121,_0x22d30b:0x101,_0x544638:0xf7,_0x13ce72:0xd8,_0x4d6a28:0xf4,_0x2a71dc:0xff,_0x1508db:0x92,_0x8bec12:0xa3,_0x2d1642:0x89,_0x4333b8:0xf9,_0xd99227:0x112,_0x526144:0xf2,_0x2a8dc6:0x10b,_0x185df8:0xff,_0x122f9a:0xa0,_0x4fd1a2:0x7b,_0x5e7584:0x68,_0x891e22:0x8d,_0x3cc025:0x8e,_0x476285:0x9d,_0x18b7de:0xa9,_0x32272c:0x140,_0x28b70c:0x14e,_0x125267:0x12a,_0x54a44b:0x153,_0x3eb918:0x131,_0x4ef8c4:0x134,_0x425676:0xac,_0xb18e13:0x92,_0x4fbc58:0xcb,_0x48c7e9:0xa8,_0x46365b:0x95,_0x1fab78:0x75,_0x378fed:0x7b,_0x27f996:0x5c,_0x152f4f:0x8c,_0x4804c8:0xa9,_0x2911d7:0x88,_0x471477:0x110,_0x4501c9:0x11a,_0x120425:0x80,_0x19b446:0x85,_0x3b84e7:0x64,_0x782408:0xa3,_0x4c0a44:0x102,_0x3b8077:0xf3,_0x2a91fd:0x116,_0x578e4c:0x116,_0x2e72c0:0xa8,_0x337234:0x8f,_0x3eda07:0x109,_0x424467:0x80,_0x2e6e04:0x84,_0x3b1d22:0xfb,_0x32245a:0xf6,_0x1b499a:0x106,_0x5e6eeb:0xf6,_0x4565ee:0xb0,_0x311be9:0xc9,_0x469d19:0xb7,_0x8657ec:0xbd,_0x2a9e10:0xb0,_0x4faa42:0xbd,_0x5e170d:0x144,_0x5659a6:0x9e,_0xb4389a:0xb1,_0x340008:0xac,_0x5ad455:0xc7,_0x3bf25e:0x97,_0x1ab2ec:0x7a,_0x28318b:0xb9,_0x5637fd:0xe5,_0x253862:0x103,_0x16964b:0x107,_0xa1aa4f:0x10e,_0x1923c6:0x10d,_0x1f6d28:0x138,_0x2823c0:0x11d,_0x5018e7:0x138,_0x2c1306:0xa3},_0x28ad79={_0x334d45:0x1e0};function _0x3dc2bb(_0x360e14,_0x53ea1d,_0x464118,_0x3c0aa3){return _0x37561f(_0x53ea1d,_0x53ea1d-0x1c9,_0x464118- -0x3b9,_0x3c0aa3-0x123);}function _0xe17b26(_0x2f903b,_0x47ac65,_0xd587a8,_0x59ec55){return _0x37561f(_0x59ec55,_0x47ac65-0xa0,_0x2f903b- -0x337,_0x59ec55-_0x28ad79._0x334d45);}const _0x4333de={'hVcuQ':_0x3dc2bb(-0xf9,-0x11c,-_0x3ec23c._0x57dffe,-0x10e)+_0x3dc2bb(-_0x3ec23c._0x58f1bb,-0x135,-0x123,-0x129)+'\x20key','WMJyg':function(_0x2ff56e,_0x2ef994){return _0x2ff56e!==_0x2ef994;},'qwrMH':_0xe17b26(-_0x3ec23c._0xac521,-_0x3ec23c._0x149715,-_0x3ec23c._0x4b7aee,-_0x3ec23c._0x1a92b9),'oCYTt':function(_0x3f716e,_0xcb6d2c){return _0x3f716e!==_0xcb6d2c;},'RRtTC':'string','VkTNd':'Invalid\x20na'+'me','KTtTQ':function(_0x4b8543,_0x23dfcf,_0x4fd4ec){return _0x4b8543(_0x23dfcf,_0x4fd4ec);},'JcUNc':_0xe17b26(-_0x3ec23c._0x25b57f,-_0x3ec23c._0x3ca44f,-0x7f,-0xc2)+_0x3dc2bb(-_0x3ec23c._0x7212d8,-0x123,-_0x3ec23c._0x22d30b,-_0x3ec23c._0x544638)+_0x3dc2bb(-0x106,-_0x3ec23c._0x13ce72,-_0x3ec23c._0x4d6a28,-_0x3ec23c._0x2a71dc),'VBFMW':_0xe17b26(-_0x3ec23c._0x1508db,-0xb0,-_0x3ec23c._0x8bec12,-_0x3ec23c._0x2d1642)+_0x3dc2bb(-0x155,-0x14b,-0x133,-0x11d)+_0x3dc2bb(-_0x3ec23c._0x4333b8,-0x129,-_0x3ec23c._0xd99227,-0x125)+_0xe17b26(-0x9f,-0xb3,-0xbf,-0xa6)+_0x3dc2bb(-0x112,-_0x3ec23c._0x526144,-_0x3ec23c._0x2a8dc6,-_0x3ec23c._0x185df8)+'n.','FHsuv':'Failed\x20to\x20'+_0x3dc2bb(-0x111,-0x108,-0xfb,-0x106)+_0xe17b26(-0xa6,-_0x3ec23c._0x122f9a,-0x9e,-0xae)};try{if(_0x4333de[_0xe17b26(-_0x3ec23c._0x4fd1a2,-0x91,-_0x3ec23c._0x5e7584,-0x6a)](_0x4333de[_0xe17b26(-0xa5,-_0x3ec23c._0x891e22,-0xb7,-0xb3)],_0x4333de['qwrMH'])){_0xd58811[_0xe17b26(-_0x3ec23c._0x3cc025,-_0x3ec23c._0x476285,-_0x3ec23c._0x18b7de,-0x8d)](_0x4333de[_0x3dc2bb(-_0x3ec23c._0x32272c,-0x14b,-0x131,-_0x3ec23c._0x28b70c)],_0x5eb02f);const _0x10f054={};_0x10f054['error']=_0x4333de[_0x3dc2bb(-_0x3ec23c._0x125267,-_0x3ec23c._0x54a44b,-_0x3ec23c._0x3eb918,-_0x3ec23c._0x4ef8c4)],_0x10f054['message']=_0x1c1caa[_0xe17b26(-_0x3ec23c._0x425676,-_0x3ec23c._0xb18e13,-_0x3ec23c._0x4fbc58,-0xc4)],_0x6a2520[_0xe17b26(-_0x3ec23c._0x48c7e9,-0xb5,-0xc2,-0xaa)](0x1753+-0x85c+0x1*-0xd03)[_0xe17b26(-0x9d,-_0x3ec23c._0x46365b,-0x8a,-0x88)](_0x10f054);}else{const _0x2db5c0=_0x534a36[_0xe17b26(-_0x3ec23c._0x1fab78,-0x98,-_0x3ec23c._0x378fed,-_0x3ec23c._0x27f996)]['id'],{name:_0x261c9f}=_0x534a36[_0xe17b26(-0xaa,-0x9b,-_0x3ec23c._0x152f4f,-_0x3ec23c._0x4804c8)];if(!_0x261c9f||_0x4333de[_0xe17b26(-0x88,-0x8c,-_0x3ec23c._0x2911d7,-0xa9)](typeof _0x261c9f,_0x4333de[_0x3dc2bb(-0x125,-_0x3ec23c._0x471477,-_0x3ec23c._0x4501c9,-0x10d)])||!_0x261c9f[_0xe17b26(-_0x3ec23c._0x120425,-_0x3ec23c._0x19b446,-_0x3ec23c._0x3b84e7,-_0x3ec23c._0x782408)]()){const _0x580edb={};return _0x580edb['error']=_0x4333de[_0x3dc2bb(-0xeb,-_0x3ec23c._0x4c0a44,-_0x3ec23c._0x3b8077,-_0x3ec23c._0x2a91fd)],_0x580edb['message']=_0x3dc2bb(-0x10f,-_0x3ec23c._0x578e4c,-0x130,-0x12b)+'me\x20is\x20requ'+'ired',_0x44d67e[_0xe17b26(-_0x3ec23c._0x2e72c0,-0x8c,-_0x3ec23c._0x337234,-0x8d)](0x1*0x803+-0x2f*-0x20+0xc53*-0x1)['json'](_0x580edb);}const _0x126794=await _0x4333de[_0x3dc2bb(-_0x3ec23c._0x3eda07,-0x135,-0x11d,-0x10d)](createApiKey,_0x2db5c0,_0x261c9f[_0xe17b26(-_0x3ec23c._0x424467,-_0x3ec23c._0x2e6e04,-0xa2,-0x8b)]()),_0x232081={};_0x232081['id']=_0x126794['id'],_0x232081[_0x3dc2bb(-_0x3ec23c._0x3b1d22,-0xdb,-_0x3ec23c._0x32245a,-0x10c)]=_0x126794[_0x3dc2bb(-0x101,-_0x3ec23c._0x1b499a,-_0x3ec23c._0x5e6eeb,-_0x3ec23c._0x3b8077)],_0x232081[_0xe17b26(-_0x3ec23c._0x4565ee,-_0x3ec23c._0x311be9,-_0x3ec23c._0x469d19,-_0x3ec23c._0x8657ec)]=_0x126794[_0xe17b26(-_0x3ec23c._0x2a9e10,-_0x3ec23c._0x4faa42,-0xb0,-0xc9)],_0x232081[_0x3dc2bb(-_0x3ec23c._0x5e170d,-0x121,-0x12b,-0x10d)]=_0x126794[_0xe17b26(-0xa9,-_0x3ec23c._0x891e22,-_0x3ec23c._0x5659a6,-_0x3ec23c._0xb4389a)];const _0x49e9ed={};_0x49e9ed[_0xe17b26(-_0x3ec23c._0x340008,-_0x3ec23c._0x5ad455,-0x9a,-0xc4)]=_0x4333de[_0xe17b26(-_0x3ec23c._0x3bf25e,-0x95,-_0x3ec23c._0x1ab2ec,-_0x3ec23c._0x28318b)],_0x49e9ed[_0x3dc2bb(-_0x3ec23c._0x5637fd,-_0x3ec23c._0x253862,-_0x3ec23c._0x16964b,-0xfd)]=_0x232081,_0x49e9ed['warning']=_0x4333de[_0x3dc2bb(-0x115,-_0x3ec23c._0xa1aa4f,-0x11c,-_0x3ec23c._0x1b499a)],_0x44d67e[_0x3dc2bb(-0x138,-_0x3ec23c._0x1923c6,-0x12a,-0x142)](0x3b6+0x717+-0xa04)['json'](_0x49e9ed);}}catch(_0x5beacf){logger['error'](_0x4333de[_0x3dc2bb(-0x128,-0x14f,-_0x3ec23c._0x1f6d28,-_0x3ec23c._0x2823c0)],_0x5beacf);const _0x125538={};_0x125538[_0x3dc2bb(-0xf0,-0xff,-0x110,-0xfe)]=_0x4333de[_0x3dc2bb(-0x142,-0x11b,-_0x3ec23c._0x5018e7,-0x13e)],_0x125538['message']=_0x5beacf['message'],_0x44d67e[_0xe17b26(-0xa8,-_0x3ec23c._0x2c1306,-0x8a,-_0x3ec23c._0xac521)](-0x1e1a+0x1787+-0x3b*-0x25)[_0xe17b26(-0x9d,-0xad,-0xc0,-0x97)](_0x125538);}}),router[_0x37561f(0x298,0x2ae,0x294,0x273)](_0x37561f(0x2ac,0x29b,0x293,0x285),async(_0xf34dfe,_0x51b305)=>{const _0x564214={_0x5e74e9:0x3af,_0x4a6165:0x39e,_0x582080:0x3a8,_0x4e62ec:0x3b4,_0x840a88:0x376,_0x45d52f:0x394,_0x5dca5f:0x48,_0xa6a297:0x382,_0x5b53a1:0x373,_0x15252c:0x35,_0x2e45d6:0x36,_0x114af8:0x39e,_0x38cfee:0x86,_0x3802f5:0x6a,_0x364d36:0x79,_0x4ad648:0x60,_0x9ceca7:0x28,_0x3022f3:0x45,_0x41850b:0x4b,_0x158518:0x3b1,_0x65304d:0x3b7,_0x4b11f7:0x3ab,_0x35ad9b:0x51,_0x33f820:0x47,_0x117439:0x3b9,_0x1e8d19:0x39b,_0x45aa73:0x3bd,_0x5015e7:0x391,_0x4fa512:0x394,_0x305cf7:0x399,_0x56e63c:0x373,_0x3d58bb:0x364,_0x531577:0x89,_0x456e71:0x70,_0x3f80af:0x371,_0x2bf4ee:0x7d,_0x381481:0x3b9,_0x54bd43:0x384,_0x5959e6:0x51,_0x2c8afa:0x3a2,_0x30aec3:0x398,_0x57aed1:0x3ad,_0x23b3bf:0x40,_0x225a80:0x64,_0x348703:0x4e,_0x484184:0x69,_0xcaf006:0x55,_0x3847e5:0x6c,_0x6b84ca:0x379,_0x175857:0x388,_0x571316:0x21,_0x4aa35c:0x54,_0x8f29ff:0x58,_0x136e80:0x39b,_0x556493:0x380,_0x3fb684:0x3a8,_0x3dff0e:0x396,_0x5b0f66:0x3b0,_0x1ee7dd:0x37d,_0x3f0051:0x38b,_0x3c3031:0x37d,_0x565580:0x386,_0x29f9e7:0x381,_0x3c3e2b:0x3a1,_0x125883:0x46},_0x33303c={_0x4b3601:0xf2};function _0x22d63b(_0x5701ab,_0x4ca022,_0x3291ab,_0x347649){return _0x37561f(_0x3291ab,_0x4ca022-0x179,_0x5701ab-_0x33303c._0x4b3601,_0x347649-0xb5);}const _0x17cb12={'wyfUt':_0x22d63b(_0x564214._0x5e74e9,0x3c0,0x3ae,0x3ab)+'list\x20API\x20k'+'eys','KQPmK':function(_0xa5dc1d,_0x2a1588,_0x1731bd){return _0xa5dc1d(_0x2a1588,_0x1731bd);},'slUxo':function(_0x49a5e6,_0x1a6c1e){return _0x49a5e6===_0x1a6c1e;},'XpgTc':_0x22d63b(_0x564214._0x4a6165,_0x564214._0x582080,_0x564214._0x4e62ec,0x39e),'dDmiH':_0x22d63b(_0x564214._0x840a88,_0x564214._0x45d52f,0x396,0x35b),'xeWwy':'API\x20key\x20no'+_0x1d85cc(-0x5f,-0x4c,-_0x564214._0x5dca5f,-0x39),'aMxND':_0x22d63b(0x377,0x35a,_0x564214._0xa6a297,_0x564214._0x5b53a1)+'leted\x20succ'+_0x1d85cc(-_0x564214._0x15252c,-0x1f,-_0x564214._0x2e45d6,-0x15),'aMrnn':'Failed\x20to\x20'+_0x22d63b(0x388,_0x564214._0x114af8,0x366,0x3a5)+_0x1d85cc(-_0x564214._0x38cfee,-0x84,-_0x564214._0x3802f5,-_0x564214._0x364d36)};function _0x1d85cc(_0x5e6b60,_0x5d214c,_0x3053f3,_0x1a410f){return _0x37561f(_0x1a410f,_0x5d214c-0x96,_0x3053f3- -0x2fb,_0x1a410f-0x140);}try{const _0x32d5c9=_0xf34dfe[_0x22d63b(0x3b4,0x3cc,0x3a6,0x3bf)]['id'],_0x5a54bc=_0xf34dfe[_0x1d85cc(-0x7c,-0x62,-_0x564214._0x4ad648,-0x6b)]['id'],_0x2691a9=await _0x17cb12[_0x1d85cc(-_0x564214._0x9ceca7,-0x39,-_0x564214._0x3022f3,-_0x564214._0x41850b)](deleteApiKey,_0x5a54bc,_0x32d5c9);if(!_0x2691a9){if(_0x17cb12[_0x22d63b(_0x564214._0x158518,0x3a2,_0x564214._0x65304d,0x3cf)](_0x17cb12[_0x22d63b(_0x564214._0x4b11f7,0x397,0x3b9,0x38b)],_0x17cb12[_0x1d85cc(-0x2f,-0x32,-_0x564214._0x35ad9b,-_0x564214._0x33f820)])){_0x4e010b[_0x22d63b(0x39b,_0x564214._0x117439,0x39f,0x3b6)](_0x17cb12['wyfUt'],_0x32b0ba);const _0x5a76b6={};_0x5a76b6[_0x22d63b(_0x564214._0x1e8d19,0x37e,_0x564214._0x45aa73,_0x564214._0x5015e7)]=_0x17cb12[_0x22d63b(_0x564214._0x4fa512,_0x564214._0x5b53a1,0x380,_0x564214._0x305cf7)],_0x5a76b6[_0x22d63b(0x37d,_0x564214._0x56e63c,0x361,_0x564214._0x3d58bb)]=_0x454bfa[_0x1d85cc(-0x57,-_0x564214._0x531577,-_0x564214._0x456e71,-0x51)],_0x48a5b0[_0x22d63b(0x381,_0x564214._0x3f80af,0x390,_0x564214._0x5015e7)](0x146c+-0x467+-0x115*0xd)[_0x1d85cc(-_0x564214._0x2bf4ee,-0x73,-0x61,-0x77)](_0x5a76b6);}else{const _0x892e99={};return _0x892e99[_0x22d63b(_0x564214._0x1e8d19,0x37a,_0x564214._0x381481,_0x564214._0x54bd43)]=_0x17cb12['xeWwy'],_0x892e99[_0x1d85cc(-0x8e,-0x72,-0x70,-_0x564214._0x5959e6)]=_0x22d63b(_0x564214._0x2c8afa,0x3b1,_0x564214._0x30aec3,0x396)+'ted\x20API\x20ke'+_0x22d63b(0x39a,0x37d,_0x564214._0x57aed1,0x39d)+_0x1d85cc(-0x47,-0x5a,-0x62,-_0x564214._0x23b3bf)+_0x1d85cc(-_0x564214._0x225a80,-0x3a,-_0x564214._0x348703,-_0x564214._0x484184)+_0x1d85cc(-0x4e,-0x66,-0x4a,-_0x564214._0xcaf006)+'u',_0x51b305[_0x1d85cc(-0x61,-0x89,-_0x564214._0x3847e5,-0x8b)](-0x116f*-0x1+-0x4f*0x39+0x1bc)['json'](_0x892e99);}}const _0x244779={};_0x244779[_0x22d63b(0x37d,_0x564214._0x6b84ca,0x379,_0x564214._0x175857)]=_0x17cb12[_0x1d85cc(-_0x564214._0x571316,-_0x564214._0x4aa35c,-0x3b,-0x44)],_0x51b305[_0x1d85cc(-0x80,-_0x564214._0x8f29ff,-0x61,-0x5d)](_0x244779);}catch(_0x2962ac){logger[_0x22d63b(_0x564214._0x136e80,_0x564214._0x556493,_0x564214._0x3fb684,0x38a)](_0x17cb12[_0x22d63b(_0x564214._0x3dff0e,0x392,_0x564214._0x4b11f7,0x387)],_0x2962ac);const _0x27812a={};_0x27812a['error']=_0x17cb12[_0x22d63b(0x396,0x3b3,_0x564214._0x5b0f66,0x390)],_0x27812a[_0x22d63b(_0x564214._0x1ee7dd,0x373,0x362,_0x564214._0x3f0051)]=_0x2962ac[_0x22d63b(_0x564214._0x3c3031,_0x564214._0x305cf7,_0x564214._0x565580,0x36f)],_0x51b305[_0x22d63b(_0x564214._0x29f9e7,0x390,_0x564214._0x3c3e2b,0x36d)](-0x3*-0x4e0+0x5*0x442+0x4da*-0x7)[_0x1d85cc(-0x78,-_0x564214._0x125883,-0x61,-_0x564214._0xcaf006)](_0x27812a);}});export default router;
1
+ function _0x7405(){const _0x3e6af4=['ruHwExq','mZmXnZiZmNfcwwjqDG','y3jLyxrLzf9HDa','nJy5nZzRtMzNv0e','z2v0','Cg9ZDa','yuPLyxy','zgvSzxrL','odG5tvfcAMnZ','C3rYAw5N','BNPbvvG','zM91BMqGB3iGza','tuLRsLC','qvbjigTLEsbKzq','rMfPBgvKihrVia','CMTrvvu','BgLZDcbbueKGAW','C3rHDhvZ','zwX5lIbjDcb3Aq','wwntvfy','BwvZC2fNzq','svvgA1C','qvbjigTLEsbUBW','BLfrC0O','yM9KEq','mZa1mtiXmgXZs2Pksa','BgWGBM90igjLia','zxjYB3i','BMfTzq','yxbPs2v5','rhHkweK','A2v5','mJi2mtrAqNHqBwO','tu1uquK','u3rVCMuGDgHPCW','wNDZCLG','Bhj5seK','yvDYzKS','zxLZ','AxjLza','DxnLCG','zgTrEKK','owjmCLjivq','mMrfuuXRyW','y3jLyxrLiefqsq','Bg9UzYb0BYb5BW','igTLEsbZzwn1CG','zgvSzxrLiefqsq','mte1zeP4vfLk','DcbMB3vUza','lZPPza','igTLEq','CgfYyw1Z','zLvHu1e','B2vZig5VDcbIzq','mty2mdiWohrRDeLYzG','uwvmBva','zxnZzNvSBhK','Esb3yxmGBM90ia','mti3ndaWmunUzwzWCG','Bhnmy1O','v2vHt3C','ANnVBG','vgHLihjLCxvLCW','A0vks0G','Bgv0zwqGC3vJyW','A2TtD3e','DgvKiefqssbRzq','C2HVD24GywDHAq','qMXJq3u','uM91DgvY','mJyWmZrKy1z5z1e','qMvLruG','DhjPBq','z3jfrLa'];_0x7405=function(){return _0x3e6af4;};return _0x7405();}(function(_0x47a728,_0x1a4be7){const _0x14c936={_0x1a14e0:0xb,_0x5142d7:0x317,_0x12e0f9:0x2ff,_0x473ace:0x2d3,_0x5b8d47:0x2e1,_0x2040d4:0x2b5,_0x1ef7e3:0x2ce,_0x4c69cf:0x22,_0x1bd3e5:0x2,_0x121135:0x2cb,_0x451e09:0x2b6,_0x5c5250:0x19,_0x23716b:0x30b,_0x238679:0x2f2,_0x40793d:0x45,_0x1eba76:0x24,_0x334b8b:0x3d,_0x1a9326:0x10},_0x31bb91={_0x3dab85:0x3b3},_0x512360={_0x1e0793:0xd7},_0x1281bc=_0x47a728();function _0xfd4564(_0x3d17e1,_0x525df8,_0x434328,_0x55be3d){return _0x4d5d(_0x434328- -_0x512360._0x1e0793,_0x55be3d);}function _0x56aa7c(_0x336358,_0x58e6e4,_0x35c916,_0x2cce00){return _0x4d5d(_0x2cce00- -_0x31bb91._0x3dab85,_0x35c916);}while(!![]){try{const _0x2aa051=-parseInt(_0xfd4564(-0xf,-0xd,0x7,_0x14c936._0x1a14e0))/(0x26ce+-0x148f*-0x1+-0x3b5c)+-parseInt(_0x56aa7c(-0x313,-_0x14c936._0x5142d7,-0x2f7,-0x2f1))/(0x2115+-0x68c*-0x4+-0x3b43)*(-parseInt(_0x56aa7c(-_0x14c936._0x12e0f9,-0x303,-_0x14c936._0x473ace,-_0x14c936._0x5b8d47))/(0x858+-0x13*-0x159+-0x21f0))+parseInt(_0x56aa7c(-0x2ad,-0x2d0,-_0x14c936._0x2040d4,-_0x14c936._0x1ef7e3))/(-0x21c2+0xec*-0x6+-0x3*-0xd1a)*(parseInt(_0xfd4564(0x6,-_0x14c936._0x4c69cf,-0x10,_0x14c936._0x1bd3e5))/(0x1*0x1142+-0x252d+0x13f0))+parseInt(_0x56aa7c(-_0x14c936._0x121135,-0x2b7,-0x294,-0x2b1))/(-0x1*-0x13f9+0x26de+-0x3f*0xef)*(-parseInt(_0x56aa7c(-0x2b8,-_0x14c936._0x451e09,-0x2ec,-0x2c9))/(0x1474+0x8b4+-0x1d21))+parseInt(_0xfd4564(-_0x14c936._0x5c5250,0x2c,0xc,0x3))/(-0x4a9*-0x3+-0x2381+0x158e)+-parseInt(_0x56aa7c(-0x2d5,-0x2cd,-_0x14c936._0x23716b,-_0x14c936._0x238679))/(0x2031+-0x60*-0x4f+0x1*-0x3dc8)*(parseInt(_0xfd4564(0xa,_0x14c936._0x40793d,_0x14c936._0x1eba76,_0x14c936._0x334b8b))/(-0x1bd4*-0x1+0x35f+0xa63*-0x3))+-parseInt(_0xfd4564(_0x14c936._0x1a9326,0x12,-0x9,0x12))/(0x118d+-0xc29+-0x559);if(_0x2aa051===_0x1a4be7)break;else _0x1281bc['push'](_0x1281bc['shift']());}catch(_0x7204a9){_0x1281bc['push'](_0x1281bc['shift']());}}}(_0x7405,0x3d965+-0x189*-0x24d+-0x35b93));import _0x347c7f from'express';import{createApiKey,listUserApiKeys,deleteApiKey}from'../lib/apiKeys.js';function _0x4d5d(_0x15d27a,_0x956e86){_0x15d27a=_0x15d27a-(-0x2222+0x1b29*-0x1+0x19*0x27b);const _0x553d2d=_0x7405();let _0x1900aa=_0x553d2d[_0x15d27a];if(_0x4d5d['YUWCkv']===undefined){var _0x528193=function(_0x4f4a91){const _0x30367b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8f783='',_0x596c68='';for(let _0x501bf=0x154+0x20e0+-0x2234,_0x4a8973,_0x4bc827,_0x12606a=-0x1856+-0x1d*0x86+-0x6*-0x696;_0x4bc827=_0x4f4a91['charAt'](_0x12606a++);~_0x4bc827&&(_0x4a8973=_0x501bf%(-0xf*0x9b+0x13*0x8a+-0x1*0x125)?_0x4a8973*(0x1c08+0x3ad*-0x7+0xf*-0x23)+_0x4bc827:_0x4bc827,_0x501bf++%(0x2180+0x9*-0x377+-0x24d))?_0x8f783+=String['fromCharCode'](-0x21b3*0x1+-0x23ff+0x1*0x46b1&_0x4a8973>>(-(0x2046+-0x205+-0x1e3f)*_0x501bf&-0x1969*-0x1+0x9*-0xb+-0x1900)):0x688+0x1839+-0x1*0x1ec1){_0x4bc827=_0x30367b['indexOf'](_0x4bc827);}for(let _0x3eb410=-0x793+0xb7*0x2d+-0xc4c*0x2,_0x5e6d63=_0x8f783['length'];_0x3eb410<_0x5e6d63;_0x3eb410++){_0x596c68+='%'+('00'+_0x8f783['charCodeAt'](_0x3eb410)['toString'](0x1623+0x6*0x4ca+-0x32cf))['slice'](-(-0x1255+-0x719+-0xcb8*-0x2));}return decodeURIComponent(_0x596c68);};_0x4d5d['ShVVaS']=_0x528193,_0x4d5d['ueCQEU']={},_0x4d5d['YUWCkv']=!![];}const _0x4da32e=_0x553d2d[0x26f2+0x540+-0x2c32],_0x3bb6e7=_0x15d27a+_0x4da32e,_0x7a4485=_0x4d5d['ueCQEU'][_0x3bb6e7];return!_0x7a4485?(_0x1900aa=_0x4d5d['ShVVaS'](_0x1900aa),_0x4d5d['ueCQEU'][_0x3bb6e7]=_0x1900aa):_0x1900aa=_0x7a4485,_0x1900aa;}import{logger}from'../lib/logger.js';function _0x3a5968(_0x58dd9a,_0x47016d,_0x10c104,_0x28baa3){const _0x2aed25={_0x373fee:0x370};return _0x4d5d(_0x10c104-_0x2aed25._0x373fee,_0x47016d);}function _0x5c695b(_0x236755,_0x8ddc4d,_0x33171f,_0x5962f4){const _0x1a36c5={_0x16cd31:0x304};return _0x4d5d(_0x5962f4-_0x1a36c5._0x16cd31,_0x33171f);}const router=_0x347c7f[_0x3a5968(0x446,0x458,0x44d,0x439)]();router[_0x3a5968(0x456,0x463,0x456,0x463)]('/',async(_0x29a880,_0x45eeaf)=>{const _0x199077={_0x516e0b:0x153,_0x30789f:0x16e,_0xa43b3:0x159,_0x6d7de4:0x15d,_0xa3db9b:0x4a,_0x32cb59:0x42,_0x4ccadd:0x44,_0x5933c6:0x39,_0x4f3fd9:0x2a,_0x7ce154:0x141,_0x10f145:0x155,_0x194ce0:0x17,_0x4d5cfe:0x22,_0x40873c:0x15,_0x4e2729:0x117,_0x566436:0x13b,_0x4aaa67:0x162,_0x228dc4:0x154,_0x417363:0x16a,_0x4b3e48:0x168,_0x240cf2:0x174,_0x128218:0x171},_0x25a525={_0x148d3e:0xb4},_0x3e7a25={'BlcCu':function(_0x302c7b,_0x58e298){return _0x302c7b(_0x58e298);},'nzAUX':_0x474d91(0x156,_0x199077._0x516e0b,_0x199077._0x30789f,_0x199077._0xa43b3)+_0x474d91(0x150,_0x199077._0x6d7de4,0x170,0x16f)+_0x4d86e3(-0x16,-0x44,-0x3b,-_0x199077._0xa3db9b)};function _0x474d91(_0x35e396,_0x3a2de3,_0x25e737,_0x1213f6){return _0x5c695b(_0x35e396-0x18c,_0x3a2de3-_0x25a525._0x148d3e,_0x35e396,_0x25e737- -0x286);}function _0x4d86e3(_0xacd35e,_0x6ef3a2,_0xf0f0f2,_0x561a1b){return _0x3a5968(_0xacd35e-0x15f,_0x6ef3a2,_0xf0f0f2- -0x468,_0x561a1b-0x17d);}try{const _0x4453fc=_0x29a880[_0x4d86e3(-_0x199077._0x32cb59,-_0x199077._0x4ccadd,-_0x199077._0x5933c6,-_0x199077._0x4f3fd9)]['id'],_0xd4e152=await _0x3e7a25[_0x474d91(0x174,0x15d,0x15a,_0x199077._0x7ce154)](listUserApiKeys,_0x4453fc),_0x561c1a={};_0x561c1a['apiKeys']=_0xd4e152,_0x45eeaf[_0x474d91(_0x199077._0x10f145,0x171,0x153,0x16d)](_0x561c1a);}catch(_0x412f6b){logger[_0x4d86e3(-_0x199077._0x194ce0,_0x199077._0x4d5cfe,0x5,-_0x199077._0x40873c)]('Failed\x20to\x20'+_0x474d91(0x166,0x179,0x170,0x179)+_0x474d91(0x115,_0x199077._0x4e2729,_0x199077._0x566436,0x14b),_0x412f6b);const _0x2c84aa={};_0x2c84aa['error']=_0x3e7a25[_0x474d91(_0x199077._0x4aaa67,_0x199077._0x228dc4,_0x199077._0x417363,_0x199077._0x4b3e48)],_0x2c84aa[_0x474d91(0x16d,0x18c,_0x199077._0x240cf2,_0x199077._0x128218)]=_0x412f6b['message'],_0x45eeaf['status'](0x1b6a+0xe58+-0x5*0x7f6)['json'](_0x2c84aa);}}),router[_0x5c695b(0x3da,0x40a,0x3da,0x3eb)]('/',async(_0x45f82f,_0x2c03d1)=>{const _0x32764d={_0x292a69:0x43,_0x18b8ec:0x45,_0x6085b4:0x1c,_0x4ab07e:0x46,_0x51bd71:0x3f,_0x4267f9:0x2c,_0x5d5332:0x2a,_0x161951:0x52,_0x138d6e:0x3d,_0x589a70:0x1d,_0x295990:0x1a,_0xe87e42:0x4e,_0x57b0cd:0x22,_0x16dca2:0x8,_0x1e4d0a:0x27,_0x571d7f:0x20,_0x5c4f21:0x53,_0x252dde:0x55,_0x34553d:0x5f,_0x3fccb5:0x11,_0x1192a4:0x13,_0x47719a:0x11,_0x1181c3:0x19,_0x16b055:0xb,_0x10fa87:0x12,_0x2c4203:0x35,_0x5dc505:0x26,_0x47b755:0x4f,_0x14ed91:0x29,_0x433a9e:0x41,_0x5e4e39:0x4e,_0x352bbd:0xc,_0x4d6a19:0x2f,_0x324e14:0x16,_0x6f3da3:0x6a,_0x14229c:0x75,_0x412e30:0x36,_0xd45f56:0x39,_0x475d9b:0x1e,_0x10884f:0x30,_0x39aa2a:0x44,_0x4fcb90:0x3f,_0x4c6a33:0x46,_0x4a8c8e:0x3c,_0x3fa454:0x56,_0x4ab262:0x25,_0x240aff:0x5c,_0x47e10b:0x3b,_0x3eeb9e:0x45,_0x5c8979:0x5e,_0x741a49:0x61,_0x5a0382:0x4a,_0x10537d:0x33,_0x30f37f:0x66,_0x5095fb:0x38,_0x4aae87:0x2,_0x4e1a72:0x71,_0x39962d:0x66,_0x24f5a2:0x54,_0x10e9d7:0x54,_0x1d9c1f:0x5f,_0xafc4fb:0x55,_0x12f7ed:0x79,_0x26cb29:0x5f,_0x559e04:0x29,_0x5f194e:0x8,_0x214035:0x9,_0x15df01:0x2e,_0x3f8e17:0x35,_0x2d15b9:0x19,_0x4b2d2b:0x44,_0x2a7dfa:0x44,_0x145f3a:0x61,_0x465b10:0x42,_0xc8363c:0x2b,_0x1cde81:0x4b,_0x338d8b:0x4d,_0x2437b4:0x49,_0x780f46:0x56,_0x4b2873:0x64,_0x9c19ea:0x60,_0x32ff2d:0x59,_0x3a6ace:0x7e,_0xc4f401:0x7c,_0x53f5a6:0x50,_0x4c4b5e:0x62},_0x525e0c={_0x120614:0x420,_0xa4b97c:0x1af},_0x32dcd0={_0x503516:0x29};function _0x1112ce(_0x42f408,_0x518773,_0x252614,_0x25d165){return _0x3a5968(_0x42f408-_0x32dcd0._0x503516,_0x252614,_0x42f408- -0x400,_0x25d165-0x139);}function _0x4d4993(_0x2ec852,_0x53e368,_0x162fb6,_0xb84911){return _0x3a5968(_0x2ec852-0x22,_0xb84911,_0x162fb6- -_0x525e0c._0x120614,_0xb84911-_0x525e0c._0xa4b97c);}const _0x55c0d0={'rkQUU':_0x4d4993(_0x32764d._0x292a69,_0x32764d._0x18b8ec,0x48,0x2d)+_0x1112ce(0x38,0x3e,0x1f,_0x32764d._0x6085b4),'IUFkW':_0x1112ce(_0x32764d._0x4ab07e,_0x32764d._0x51bd71,0x56,0x65)+_0x4d4993(_0x32764d._0x4267f9,_0x32764d._0x292a69,_0x32764d._0x5d5332,0x42)+'y\x20was\x20not\x20'+_0x4d4993(0x1b,_0x32764d._0x161951,_0x32764d._0x138d6e,0x43)+_0x4d4993(0xc,-0x5,_0x32764d._0x589a70,0xc)+'long\x20to\x20yo'+'u','kkSwq':_0x4d4993(_0x32764d._0x6085b4,_0x32764d._0x295990,0x40,_0x32764d._0xe87e42)+_0x4d4993(-0x4,0x2a,0x16,_0x32764d._0x57b0cd)+'\x20key','JvGmG':function(_0x18c9ef,_0x1f8600){return _0x18c9ef===_0x1f8600;},'aWrfK':'EQzlB','lryHI':'uuVcS','PThve':function(_0x12d4f0,_0x1d6494){return _0x12d4f0!==_0x1d6494;},'WeaOw':function(_0x44986f,_0x4bb773){return _0x44986f!==_0x4bb773;},'YcSTV':_0x4d4993(0x21,0xd,0x10,_0x32764d._0x16dca2),'cCDcA':'Invalid\x20na'+'me','qLVBN':function(_0x375e8e,_0x2afef3,_0x42b829){return _0x375e8e(_0x2afef3,_0x42b829);},'lqVpz':'API\x20key\x20cr'+'eated\x20succ'+_0x4d4993(0x26,_0x32764d._0x1e4d0a,_0x32764d._0x571d7f,0x8),'aJeav':_0x4d4993(_0x32764d._0x5c4f21,_0x32764d._0x252dde,0x40,_0x32764d._0x34553d)+_0x4d4993(_0x32764d._0x3fccb5,0x6,_0x32764d._0x1192a4,-_0x32764d._0x47719a)+_0x4d4993(-0xc,0x36,_0x32764d._0x295990,0x2a)};try{if(_0x55c0d0['JvGmG'](_0x55c0d0[_0x1112ce(0x2c,0x10,0x49,0x42)],_0x55c0d0[_0x4d4993(-0x3,_0x32764d._0x1181c3,_0x32764d._0x16b055,-_0x32764d._0x10fa87)])){const _0x77d01={};return _0x77d01['error']=_0x55c0d0[_0x4d4993(_0x32764d._0x2c4203,_0x32764d._0x5dc505,0x41,_0x32764d._0x47b755)],_0x77d01[_0x4d4993(_0x32764d._0x14ed91,0x3b,_0x32764d._0x4ab07e,_0x32764d._0x252dde)]=_0x55c0d0[_0x4d4993(0x32,0x65,0x47,0x6b)],_0xdb1c25['status'](-0x244f*-0x1+-0x22f7*0x1+-0x6*-0xa)[_0x1112ce(0x45,0x4d,_0x32764d._0x433a9e,_0x32764d._0x5e4e39)](_0x77d01);}else{const _0x4b9eee=_0x45f82f[_0x4d4993(_0x32764d._0x352bbd,_0x32764d._0x4d6a19,0xf,-_0x32764d._0x324e14)]['id'],{name:_0x2bed28}=_0x45f82f[_0x1112ce(_0x32764d._0x6f3da3,0x53,_0x32764d._0x14229c,0x70)];if(!_0x2bed28||_0x55c0d0['PThve'](typeof _0x2bed28,_0x4d4993(_0x32764d._0x412e30,_0x32764d._0xd45f56,0x3b,0x28))||!_0x2bed28[_0x4d4993(_0x32764d._0x475d9b,0x21,_0x32764d._0x10884f,0x20)]()){if(_0x55c0d0[_0x1112ce(_0x32764d._0x39aa2a,0x28,0x35,0x3b)](_0x1112ce(0x52,_0x32764d._0x4fcb90,0x51,0x35),_0x55c0d0[_0x1112ce(0x65,_0x32764d._0x18b8ec,0x7a,_0x32764d._0x4c6a33)])){const _0x46423c={};return _0x46423c['error']=_0x55c0d0['cCDcA'],_0x46423c[_0x4d4993(_0x32764d._0x4a8c8e,_0x32764d._0x3fa454,0x46,0x5f)]='API\x20key\x20na'+'me\x20is\x20requ'+_0x4d4993(-_0x32764d._0x16dca2,-0xf,0xe,0x30),_0x2c03d1['status'](0x1ae*0x17+-0x37*0x39+0x1*-0x18d3)[_0x4d4993(0x19,0x1f,_0x32764d._0x4ab262,_0x32764d._0x475d9b)](_0x46423c);}else{_0x589401[_0x4d4993(0x4a,_0x32764d._0x433a9e,0x4d,0x5f)](_0x55c0d0[_0x1112ce(0x49,_0x32764d._0x240aff,_0x32764d._0x47e10b,_0x32764d._0x3eeb9e)],_0x9a1006);const _0x2f0e04={};_0x2f0e04[_0x1112ce(0x6d,_0x32764d._0x5c8979,_0x32764d._0x741a49,_0x32764d._0x5a0382)]='Failed\x20to\x20'+_0x4d4993(0xc,_0x32764d._0x10537d,0x16,0x38)+'\x20key',_0x2f0e04[_0x1112ce(_0x32764d._0x30f37f,0x51,0x51,0x89)]=_0x3ffe16['message'],_0xda3544[_0x4d4993(_0x32764d._0x5095fb,0x46,_0x32764d._0x292a69,0x36)](-0x130*0x3+-0x24fc+-0x880*-0x5)[_0x4d4993(0x2,_0x32764d._0x4aae87,_0x32764d._0x4ab262,0x44)](_0x2f0e04);}}const _0x5b7dc8=await _0x55c0d0['qLVBN'](createApiKey,_0x4b9eee,_0x2bed28[_0x1112ce(0x50,0x42,0x4f,0x4e)]()),_0xe6482c={};_0xe6482c['id']=_0x5b7dc8['id'],_0xe6482c[_0x1112ce(_0x32764d._0x4e1a72,0x94,0x79,_0x32764d._0x39962d)]=_0x5b7dc8['key'],_0xe6482c['name']=_0x5b7dc8[_0x4d4993(0x30,0x47,0x4e,0x35)],_0xe6482c[_0x1112ce(_0x32764d._0x24f5a2,0x35,_0x32764d._0x47e10b,0x5d)]=_0x5b7dc8[_0x1112ce(_0x32764d._0x10e9d7,_0x32764d._0x1d9c1f,_0x32764d._0xafc4fb,_0x32764d._0x12f7ed)];const _0x13f844={};_0x13f844['message']=_0x55c0d0['lqVpz'],_0x13f844[_0x4d4993(0x5f,0x43,_0x32764d._0x47b755,_0x32764d._0x26cb29)]=_0xe6482c,_0x13f844['warning']=_0x1112ce(_0x32764d._0x559e04,_0x32764d._0x5f194e,_0x32764d._0x214035,_0x32764d._0x15df01)+_0x1112ce(_0x32764d._0x3f8e17,_0x32764d._0x2d15b9,_0x32764d._0x433a9e,_0x32764d._0x4b2d2b)+_0x4d4993(0x31,0x3f,_0x32764d._0x2a7dfa,_0x32764d._0x145f3a)+_0x4d4993(_0x32764d._0x240aff,0x4c,0x4c,_0x32764d._0x465b10)+_0x1112ce(0x4b,_0x32764d._0xc8363c,0x64,0x2b)+'n.',_0x2c03d1['status'](-0x3d*0x3a+-0x2*-0xb8f+0x883*-0x1)[_0x1112ce(0x45,0x6a,_0x32764d._0x1cde81,_0x32764d._0x5095fb)](_0x13f844);}}catch(_0x2cd795){logger[_0x4d4993(_0x32764d._0x4e1a72,0x4a,_0x32764d._0x338d8b,_0x32764d._0x2437b4)](_0x55c0d0[_0x4d4993(0x27,0x5c,0x38,_0x32764d._0x780f46)],_0x2cd795);const _0x394837={};_0x394837[_0x1112ce(0x6d,0x52,0x7e,_0x32764d._0x4b2873)]=_0x55c0d0[_0x4d4993(0x4e,0x2a,_0x32764d._0x5095fb,0x4c)],_0x394837[_0x1112ce(0x66,0x8a,_0x32764d._0x9c19ea,_0x32764d._0x32ff2d)]=_0x2cd795['message'],_0x2c03d1[_0x1112ce(0x63,_0x32764d._0x3a6ace,0x4c,_0x32764d._0xc4f401)](-0x1776+-0x1*0x14d6+0x20*0x172)[_0x1112ce(_0x32764d._0x18b8ec,_0x32764d._0x53f5a6,_0x32764d._0x4c4b5e,0x3c)](_0x394837);}}),router[_0x5c695b(0x3d2,0x3d6,0x40f,0x3ed)](_0x5c695b(0x3b0,0x3dd,0x3e8,0x3cd),async(_0x36393a,_0x2e399e)=>{const _0x2e7a25={_0x5da695:0x9e,_0x5c1d57:0xc3,_0x901ac8:0xc6,_0x2738e1:0xe1,_0xb763b9:0xf7,_0x3ebd6b:0x96,_0x552371:0x80,_0x169fdb:0xa4,_0x34a3d1:0xd7,_0x47366c:0xea,_0x2cd197:0x10f,_0xc6b92:0xff,_0x1897fc:0x100,_0x392e37:0xc7,_0x2c537c:0xaa,_0x3b4382:0xe0,_0x4c08d7:0x9b,_0x1a94c6:0xfd,_0x3e3b23:0xfa,_0xb285f1:0xf9,_0x54b679:0x104,_0x44fb2f:0x107,_0xefdad1:0xe1,_0x18058b:0xde,_0x313581:0xf3,_0x59ab7e:0xdc,_0x537337:0xeb,_0x1a4edc:0x114,_0x5121e6:0xce,_0x56f418:0xd0,_0x11d041:0x75,_0x201a3b:0x8f,_0x1796f3:0x99,_0x8993ea:0x88,_0xc9f865:0xa0,_0x11a86e:0xa3,_0x4901a7:0xcf,_0x35dc11:0xe6,_0x3d51ab:0xb5,_0x508d0f:0xaa,_0x25ddb1:0x79,_0x53f2ab:0xa8,_0x4d82be:0xcc,_0x15378d:0x10e,_0x3003e6:0x10d,_0xb28ac5:0xe8,_0x110629:0xed,_0x3ee27b:0xcc,_0x45e1b5:0xf1,_0x4372ef:0xe2,_0x8e24d8:0xf5,_0x51cf72:0x120,_0x5d8dab:0x104,_0x72c804:0xd1,_0x5f243d:0xdb,_0x2509a1:0xdb,_0x36eec9:0xc3,_0x14aa65:0x83,_0x431f6b:0xb4,_0x264a82:0xac,_0xf2abd7:0xbf,_0x4b095a:0xc0,_0x212d11:0xf8,_0x20d7dc:0xfc,_0x233e00:0xb9,_0x25532d:0x107,_0x5ef418:0x12e,_0x36f7ad:0xb7,_0x4201d0:0xfc,_0x34b51c:0xf7,_0x20a267:0xc4,_0x32e898:0xa3,_0x4d28be:0xa8,_0x42b755:0x9f,_0x2b5da0:0x9d,_0x5c295c:0xaf,_0xdd8a03:0xed,_0x352267:0x124,_0x37df74:0xe7},_0x1a994a={_0xd94534:0x18b,_0x3ea6e5:0x49a},_0xc84a6a={_0x3ea55f:0x142,_0x395731:0x14f};function _0x3f6b7d(_0x500859,_0x68e60e,_0x4ad0f0,_0x20fd29){return _0x5c695b(_0x500859-_0xc84a6a._0x3ea55f,_0x68e60e-_0xc84a6a._0x395731,_0x68e60e,_0x20fd29- -0x2ed);}const _0x1a6e3e={'EOEme':_0x20d9e5(-_0x2e7a25._0x5da695,-0xb1,-0xa6,-0xae)+'create\x20API'+_0x3f6b7d(_0x2e7a25._0x5c1d57,0xcd,_0x2e7a25._0x901ac8,_0x2e7a25._0x2738e1),'nQQsJ':_0x3f6b7d(_0x2e7a25._0xb763b9,0x121,0x12b,0x107)+_0x20d9e5(-_0x2e7a25._0x3ebd6b,-_0x2e7a25._0x552371,-_0x2e7a25._0x169fdb,-0xa8)+'eys','HijRC':function(_0x553e78,_0xbca2de,_0xa57bdc){return _0x553e78(_0xbca2de,_0xa57bdc);},'ZwsrX':function(_0x556c12,_0x300bdf){return _0x556c12===_0x300bdf;},'QeLmP':'KKfnv','Ftmwi':_0x3f6b7d(0xdd,_0x2e7a25._0x34a3d1,0xc9,_0x2e7a25._0x47366c),'MIkJW':_0x3f6b7d(0x120,0x128,_0x2e7a25._0x2cd197,0x10f)+_0x3f6b7d(_0x2e7a25._0xc6b92,0xd6,_0x2e7a25._0x1897fc,0xdf),'kEJKH':_0x20d9e5(-0x97,-0xaf,-0xa7,-_0x2e7a25._0x392e37)+_0x20d9e5(-_0x2e7a25._0x2c537c,-_0x2e7a25._0x3b4382,-0xbe,-_0x2e7a25._0x4c08d7)+'essfully','grEFP':function(_0x5c9bf2,_0xff5919){return _0x5c9bf2!==_0xff5919;},'MMTAI':_0x3f6b7d(0xe9,0xf4,_0x2e7a25._0x1a94c6,0xe3),'DxJXI':'GeRAa','BeeEH':_0x3f6b7d(_0x2e7a25._0x3e3b23,_0x2e7a25._0xb285f1,_0x2e7a25._0x54b679,_0x2e7a25._0x44fb2f)+'delete\x20API'+_0x3f6b7d(0xfa,0xdc,0xc8,_0x2e7a25._0xefdad1)};function _0x20d9e5(_0x34f4d8,_0x1f7723,_0x3d8fe1,_0x64b062){return _0x5c695b(_0x34f4d8-_0x1a994a._0xd94534,_0x1f7723-0x1bb,_0x34f4d8,_0x3d8fe1- -_0x1a994a._0x3ea6e5);}try{const _0x3d9b4f=_0x36393a['user']['id'],_0x413611=_0x36393a[_0x20d9e5(-0xe9,-_0x2e7a25._0x18058b,-0xcb,-0xc0)]['id'],_0x5269a6=await _0x1a6e3e['HijRC'](deleteApiKey,_0x413611,_0x3d9b4f);if(!_0x5269a6){if(_0x1a6e3e[_0x20d9e5(-0xc4,-_0x2e7a25._0x313581,-_0x2e7a25._0x59ab7e,-0xe1)](_0x1a6e3e[_0x20d9e5(-0xb3,-_0x2e7a25._0x5c1d57,-_0x2e7a25._0x392e37,-_0x2e7a25._0x537337)],_0x1a6e3e['Ftmwi'])){_0x3d295c[_0x3f6b7d(0x120,0x11e,0x115,_0x2e7a25._0x1a4edc)]('Failed\x20to\x20'+_0x3f6b7d(_0x2e7a25._0x5121e6,_0x2e7a25._0x56f418,_0x2e7a25._0x56f418,0xda)+'\x20key',_0x4c5c5c);const _0xc6b2ff={};_0xc6b2ff[_0x20d9e5(-_0x2e7a25._0x11d041,-_0x2e7a25._0x201a3b,-_0x2e7a25._0x1796f3,-0xb4)]=_0x1a6e3e['EOEme'],_0xc6b2ff[_0x20d9e5(-0x83,-_0x2e7a25._0x8993ea,-_0x2e7a25._0xc9f865,-0x84)]=_0x51e73e['message'],_0x2c25b8[_0x20d9e5(-0xc0,-0xb9,-_0x2e7a25._0x11a86e,-_0x2e7a25._0x5c1d57)](0x5e3*0x1+0x11fe+-0x3*0x74f)[_0x3f6b7d(_0x2e7a25._0x4901a7,0xe2,_0x2e7a25._0x35dc11,0xec)](_0xc6b2ff);}else{const _0x103e68={};return _0x103e68[_0x20d9e5(-_0x2e7a25._0x3d51ab,-_0x2e7a25._0x508d0f,-0x99,-_0x2e7a25._0x25ddb1)]=_0x1a6e3e[_0x20d9e5(-0xcd,-0x86,-_0x2e7a25._0x53f2ab,-_0x2e7a25._0x4d82be)],_0x103e68[_0x3f6b7d(0x10f,_0x2e7a25._0x15378d,0x11a,_0x2e7a25._0x3003e6)]=_0x3f6b7d(0xf6,_0x2e7a25._0xb28ac5,0xe8,_0x2e7a25._0x110629)+_0x3f6b7d(_0x2e7a25._0x3ee27b,0x10f,0xec,_0x2e7a25._0x45e1b5)+_0x3f6b7d(0xdd,_0x2e7a25._0x4372ef,_0x2e7a25._0x8e24d8,0xe8)+_0x3f6b7d(0x123,_0x2e7a25._0x51cf72,0x10d,_0x2e7a25._0x5d8dab)+'oes\x20not\x20be'+_0x3f6b7d(0xee,_0x2e7a25._0x72c804,_0x2e7a25._0x5f243d,_0x2e7a25._0x2509a1)+'u',_0x2e399e[_0x20d9e5(-_0x2e7a25._0x36eec9,-0xae,-0xa3,-_0x2e7a25._0x14aa65)](-0x66*0x3a+0x26*0x5c+-0x584*-0x2)[_0x20d9e5(-0xd2,-0x9f,-0xc1,-0xad)](_0x103e68);}}const _0x67ad84={};_0x67ad84[_0x20d9e5(-0x7b,-0xa9,-0xa0,-_0x2e7a25._0x431f6b)]=_0x1a6e3e[_0x20d9e5(-_0x2e7a25._0x264a82,-0xa1,-_0x2e7a25._0xf2abd7,-_0x2e7a25._0x4b095a)],_0x2e399e['json'](_0x67ad84);}catch(_0x42cc55){if(_0x1a6e3e[_0x3f6b7d(_0x2e7a25._0x5f243d,_0x2e7a25._0x2509a1,0xfa,_0x2e7a25._0x212d11)](_0x1a6e3e[_0x20d9e5(-_0x2e7a25._0x47366c,-0xf2,-0xde,-_0x2e7a25._0x20d7dc)],_0x1a6e3e[_0x20d9e5(-0xb5,-_0x2e7a25._0x233e00,-0x96,-0xb2)])){logger[_0x3f6b7d(_0x2e7a25._0x54b679,_0x2e7a25._0x25532d,_0x2e7a25._0x5ef418,0x114)](_0x1a6e3e['BeeEH'],_0x42cc55);const _0x4a6d06={};_0x4a6d06['error']=_0x1a6e3e[_0x20d9e5(-0x9b,-0x92,-_0x2e7a25._0x36f7ad,-0xb8)],_0x4a6d06[_0x3f6b7d(0x113,_0x2e7a25._0x4201d0,0xf7,0x10d)]=_0x42cc55[_0x3f6b7d(0x12b,0x11f,_0x2e7a25._0x34b51c,_0x2e7a25._0x3003e6)],_0x2e399e[_0x20d9e5(-_0x2e7a25._0x20a267,-0xa6,-_0x2e7a25._0x32e898,-0xbd)](0x20e9+-0x13a3+0x2*-0x5a9)[_0x20d9e5(-_0x2e7a25._0x4d28be,-0xae,-0xc1,-_0x2e7a25._0x56f418)](_0x4a6d06);}else{_0x419875[_0x3f6b7d(0x131,0x102,0x11c,0x114)](_0x1a6e3e[_0x20d9e5(-_0x2e7a25._0x233e00,-_0x2e7a25._0x53f2ab,-0x9d,-_0x2e7a25._0x42b755)],_0x4b0596);const _0x3f4cfc={};_0x3f4cfc['error']=_0x1a6e3e[_0x20d9e5(-0x97,-0x8c,-_0x2e7a25._0x2b5da0,-_0x2e7a25._0x5c295c)],_0x3f4cfc[_0x3f6b7d(_0x2e7a25._0xdd8a03,0xfb,_0x2e7a25._0x352267,0x10d)]=_0x3df537['message'],_0x207cb6['status'](-0x1597*0x1+0x1ecd+-0x3a1*0x2)[_0x3f6b7d(0x10b,_0x2e7a25._0x37df74,0xd7,0xec)](_0x3f4cfc);}}});export default router;