@profoundlogic/coderflow-server 0.6.6 → 0.6.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.
- package/dist/base-image/agent-wrapper.sh +1 -1
- package/dist/base-image/sync-repos.sh +7 -1
- package/dist/coder-server.js +1 -1
- package/dist/config/cli-models.json +0 -12
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/automation-service.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/bindings.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/cleanup-users.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/grant-admin.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/list-roles.js +1 -1
- package/dist/lib/cli/list-users.js +1 -1
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/cli/set-password.js +1 -1
- package/dist/lib/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/external-connections.js +1 -1
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/ibmi-sync.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/migration-to-scoped-rbac.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/objective-context.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/permission-resolver.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/rbac-user-state.js +1 -1
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/role-definitions.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-aliases.js +1 -0
- package/dist/lib/task-name-format.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/task-source-metadata.js +1 -1
- package/dist/lib/teams.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +1 -1
- package/dist/playwright.config.js +1 -1
- package/dist/playwright.task-terminal.config.js +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/automations.js +1 -1
- package/dist/routes/bindings.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/objective-management.js +1 -1
- package/dist/routes/password.js +1 -1
- package/dist/routes/prompt.js +1 -1
- package/dist/routes/provider-auth.js +1 -1
- package/dist/routes/qa.js +1 -1
- package/dist/routes/roles.js +1 -1
- package/dist/routes/settings.js +1 -1
- package/dist/routes/skill-management.js +1 -1
- package/dist/routes/skills.js +1 -1
- package/dist/routes/tasks.js +1 -1
- package/dist/routes/teams.js +1 -1
- package/dist/routes/templates.js +1 -1
- package/dist/routes/test-task.js +1 -1
- package/dist/routes/test.js +1 -1
- package/dist/routes/users.js +1 -1
- package/dist/routes/visualizations.js +1 -1
- package/dist/scripts/create-user.js +1 -1
- package/dist/scripts/migrate-config-to-data-dir.js +1 -1
- package/dist/start.js +1 -1
- package/dist/web-ui/public/activity-detail-modal.js +1 -1
- package/dist/web-ui/public/activity-feed.js +1 -1
- package/dist/web-ui/public/activity-formatters.js +1 -1
- package/dist/web-ui/public/agent-event-parser.js +1 -1
- package/dist/web-ui/public/app.js +1 -1
- package/dist/web-ui/public/approve-dialog.js +1 -1
- package/dist/web-ui/public/automation-links.js +1 -1
- package/dist/web-ui/public/automation-schedule.js +1 -1
- package/dist/web-ui/public/comments-widget.js +1 -1
- package/dist/web-ui/public/diff-utils.js +1 -1
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.css +39 -0
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/file-selection-tree.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/ibmi-file-filter.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/permissions.js +1 -1
- package/dist/web-ui/public/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.html +0 -4
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/styles.css +34 -0
- package/dist/web-ui/public/task-judging-helpers.js +1 -0
- package/dist/web-ui/public/task.html +1 -0
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +1 -1
- package/dist/start.js.bak +0 -1381
package/dist/routes/roles.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x480de7,_0x3d6c0c){const _0x2cbf92={_0x331f54:0x298,_0x4c5016:0x24b,_0x52f333:0x22e,_0x5ea975:0x25f,_0x3aa2a5:0x8,_0x1a10f0:0x74,_0x5e522a:0x4c,_0x30736a:0x22c,_0x5929c0:0x1ea,_0x11f3c1:0x20c,_0x45e7ea:0x6d,_0x4fce3c:0x62,_0x1b29cc:0x86,_0x51299b:0x7c,_0x21c70c:0x292,_0x2b2fab:0x259,_0x2df630:0x278,_0xe18fe8:0x1fe,_0x4b6b90:0x20f,_0x55fb40:0x256,_0x5723b5:0x235,_0x3e791c:0x26d,_0x2843e3:0x274,_0x5ce3d0:0x81},_0x17f9bc={_0x20803a:0x1b4},_0x5f083d={_0x3b1a0e:0xad};function _0x497a19(_0x171d4a,_0x3ba3a8,_0x3af9cb,_0x57244c){return _0x3e4a(_0x57244c-_0x5f083d._0x3b1a0e,_0x171d4a);}function _0x349712(_0x31de56,_0x14ed56,_0x16e716,_0x4d8f33){return _0x3e4a(_0x14ed56- -_0x17f9bc._0x20803a,_0x16e716);}const _0x217818=_0x480de7();while(!![]){try{const _0x32c0eb=parseInt(_0x497a19(_0x2cbf92._0x331f54,0x237,_0x2cbf92._0x4c5016,0x271))/(0x1*-0x24af+0x5*0x221+-0x1a0b*-0x1)+parseInt(_0x497a19(0x246,_0x2cbf92._0x52f333,0x267,_0x2cbf92._0x5ea975))/(0x1769+0x9a3+-0x210a)+-parseInt(_0x349712(-0x2,-0x2a,-0x59,-_0x2cbf92._0x3aa2a5))/(0x7a5+-0xdf*-0x16+-0x1acc)*(parseInt(_0x349712(-_0x2cbf92._0x1a10f0,-_0x2cbf92._0x5e522a,-0x5f,-0x2b))/(0x14*0x140+0xbe4+0x14*-0x1d8))+-parseInt(_0x497a19(_0x2cbf92._0x30736a,_0x2cbf92._0x5929c0,0x22e,_0x2cbf92._0x11f3c1))/(-0x70a*0x2+0x1c61+-0xe48)*(-parseInt(_0x349712(-_0x2cbf92._0x45e7ea,-_0x2cbf92._0x4fce3c,-_0x2cbf92._0x1b29cc,-_0x2cbf92._0x51299b))/(0xa60+-0x1039*0x1+0x5df))+parseInt(_0x497a19(_0x2cbf92._0x21c70c,_0x2cbf92._0x2b2fab,0x2af,_0x2cbf92._0x2df630))/(0x1*0x1cbd+0xda9*0x1+-0x2a5f)+parseInt(_0x497a19(0x213,0x1ec,_0x2cbf92._0xe18fe8,_0x2cbf92._0x4b6b90))/(0xc6c+-0x5b3*-0x2+0x366*-0x7)*(-parseInt(_0x497a19(_0x2cbf92._0x55fb40,_0x2cbf92._0x5723b5,_0x2cbf92._0x3e791c,_0x2cbf92._0x2843e3))/(0x160f*-0x1+0xb5*0xe+0xc32))+-parseInt(_0x349712(-0x5e,-0x61,-_0x2cbf92._0x5ce3d0,-0x81))/(-0x1*-0x2665+-0x1096+0x15c5*-0x1);if(_0x32c0eb===_0x3d6c0c)break;else _0x217818['push'](_0x217818['shift']());}catch(_0x300abf){_0x217818['push'](_0x217818['shift']());}}}(_0x2d98,-0x73*0x1222+-0x2402*0x3e+0x15f6a8));import _0x11ee9d from'express';import{logger}from'../lib/logger.js';import{getRoles,getRoleById,createRole,updateRole,deleteRole,isValidPermission,inferRoleResourceType}from'../lib/role-definitions.js';import{getBindings}from'../lib/bindings.js';import{getAllPermissionsFlat,getPermissionScope}from'../lib/roles.js';function _0x3e4a(_0xb59b92,_0x4c7157){_0xb59b92=_0xb59b92-(-0x1adb+0xa3*-0x2c+-0x4*-0xe0a);const _0x36f883=_0x2d98();let _0x12a3f7=_0x36f883[_0xb59b92];if(_0x3e4a['hiFhvn']===undefined){var _0x169dc3=function(_0x1199b9){const _0x545b0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3feff6='',_0x211980='';for(let _0x1fcc10=-0x242a+0xfd9+-0x1*-0x1451,_0x10cae5,_0x1cc82b,_0x70e664=0x15ca+0x188a+-0x1*0x2e54;_0x1cc82b=_0x1199b9['charAt'](_0x70e664++);~_0x1cc82b&&(_0x10cae5=_0x1fcc10%(-0x309+-0x2140+0x244d)?_0x10cae5*(0x1a32+0x19c*0x2+-0x1d2a)+_0x1cc82b:_0x1cc82b,_0x1fcc10++%(0x169+-0x26b0+0x254b))?_0x3feff6+=String['fromCharCode'](-0x11aa+-0x483+0x172c&_0x10cae5>>(-(0x2120+0x18b0+-0x39ce)*_0x1fcc10&0x201c+-0xce*0x6+-0x1b42)):0xba+0xd*-0x1ea+0x2*0xc14){_0x1cc82b=_0x545b0['indexOf'](_0x1cc82b);}for(let _0x2065aa=0x29*-0x49+-0x14de+0x683*0x5,_0x2d5929=_0x3feff6['length'];_0x2065aa<_0x2d5929;_0x2065aa++){_0x211980+='%'+('00'+_0x3feff6['charCodeAt'](_0x2065aa)['toString'](-0x24f*-0x2+0x6*-0x454+-0xab5*-0x2))['slice'](-(0x1da8+-0x74f+-0x1657));}return decodeURIComponent(_0x211980);};_0x3e4a['RtVsDb']=_0x169dc3,_0x3e4a['bfAAop']={},_0x3e4a['hiFhvn']=!![];}const _0x4df9ea=_0x36f883[-0x1a*0xfd+-0x1*-0x18a6+0x10c],_0x27a34f=_0xb59b92+_0x4df9ea,_0x232ee3=_0x3e4a['bfAAop'][_0x27a34f];return!_0x232ee3?(_0x12a3f7=_0x3e4a['RtVsDb'](_0x12a3f7),_0x3e4a['bfAAop'][_0x27a34f]=_0x12a3f7):_0x12a3f7=_0x232ee3,_0x12a3f7;}function _0x2d98(){const _0xb5c51=['wfDuyMW','twzcsxi','lxbLCM1PC3nPBW','zNjPD2e','igjPBMrPBMCOCW','vKfmsurbveLptG','q29UzMXPy3q','rxjYB3iGzgvSzq','C3vIAMvJDf90Eq','ALHYu0K','C3bSAxq','ANnVBG','yxDoteK','zxrLihbYzwrLzG','ywXYzwfKEsbLEa','Du5sENm','ntfrEMHusNm','qKDAu1y','Aw5JBhvKzxm','AuLOCKe','zxjYB3i','qMfKifjLCxvLCW','se55sKC','DgLUzYbYB2XL','suPVDfm','Axn0CW','txbiv1u','uM9SzsbJCMvHDa','z2v0','CMvKigfUzcbTDq','qKDrzgO','CYbTDxn0igjLia','zNvSBhK','C3qGyMuGysbUBW','uKj0D1u','uM9SzsbUyw1Lia','zgvSzxrL','ysbUB24Tzw1WDa','Aw5LzcbYB2XL','zMLSDgvY','Cg9ZDa','C2v0DgLUz3m6Bq','vgHLihjVBguGjW','ChjLzgvMAw5Lza','zwqGC3vJy2vZCW','tw1ezvm','B3vUza','y3j1Eu4','rxjYB3iGDxbKyq','uLP6C08','zw50CMLLCW','BI1LBxb0EsbHCG','ksbHBMqGy2fUBG','r1bwB20','thHLEhi','yM9KEq','mZe5mtjjEgHOENy','AefSrwm','CgvYBwLZC2LVBG','qK5tz2q','DeThAfO','sevNqvO','CeHfvvK','zgvMAw5LzcbYBW','EsbHCNjHEq','zxrLza','AM9Vs2e','CgfYyw1Z','rwfnEfC','rxjYB3iGBgLZDa','B3qGyMuGzgvSzq','AM9PBG','DgvK','CM9Szv9Pza','nta1nJG1ruTnEKnq','lZPPza','uM9SzsbPBIb1CW','odC4mZfiqLrIvfq','Axjfue8','BMfTzq','uLzmufO','mtaXndq2ohz4sKT4sq','Aw5NihjVBgu','sw52ywXPzcbWzq','rvLVs1y','DhjPBq','ExbL','C3vIAMvJDf9Pza','uujxAxq','Aw5NihjVBgvZ','CM9Szxm','l2f2ywLSywjSzq','odC2DNPvqvDZ','mZq5nZi0mhPPwhvsDq','rwz2rLG','txHJsKG','A2DuqMy','t2nOBve','y0Tnq1y','vgXKv1a','AxnbCNjHEq','rxjYB3iGz2v0Da','BwHNz1u','v1njyw8','t2HVq2C','mtC1odvdDMrOBNa','sw50zxjUywWGCW','BgXIqMm','ndb2wMLuy2i','CM9Szq','BwvZC2fNzq','BM90igjLigrLBa','ANDyDNO','Bvvtzxq','mta1mJG4suLOCePN','uKXLy3O','CMf5','wgncA2S','C3rHDhvZ','CM1PC3nPB25ZoG','BgvUz3rO','seT5twW','CNDWqxC','BhvhzKy','y0fIB3O','Bu1Xtu0','jYbPCYbHihbYzq','uM9SzsbUB3qGzG','BwfW','zxj2zxiGzxjYBW','vhfmrMe','uM9SzsbKzwXLDa'];_0x2d98=function(){return _0xb5c51;};return _0x2d98();}import{requirePermission}from'../middleware/requirePermission.js';const router=_0x11ee9d['Router']();function _0x2f468a(_0x3b33b1,_0x33d4b2,_0x30411b,_0x9fe543){const _0xb93974={_0x4f9ca5:0x79};return _0x3e4a(_0x9fe543- -_0xb93974._0x4f9ca5,_0x30411b);}router['get'](_0x491527(0xc6,0xb9,0xf2,0xd2)+_0x2f468a(0xcd,0x110,0x10b,0x103)+'ns',(_0x46c30d,_0xc70c17)=>{const _0x16ce58={_0x397335:0x196,_0x4caf5c:0x109,_0x446414:0x10d,_0x5be5a9:0xf6,_0x2abdbe:0xcb,_0x3384ae:0xe3,_0x481636:0x109,_0x33e7b1:0x132},_0x3cb918={_0x2c373e:0x24d},_0x35fad3={_0x310996:0x206},_0x26f312={'jwXvz':function(_0x770bbb){return _0x770bbb();}};function _0x25d545(_0x27551a,_0x4b2734,_0x278b63,_0x134ace){return _0x2f468a(_0x27551a-0x137,_0x4b2734-0x8a,_0x134ace,_0x27551a- -_0x35fad3._0x310996);}const _0x5be4a9=_0x26f312[_0x2ba51e(-0x165,-_0x16ce58._0x397335,-0x160,-0x16f)](getAllPermissionsFlat),_0x37fe25=Object['entries'](_0x5be4a9)[_0x25d545(-_0x16ce58._0x4caf5c,-_0x16ce58._0x446414,-_0x16ce58._0x5be5a9,-0x102)](([_0x14cbff,_0x1608ef])=>({'key':_0x14cbff,'description':_0x1608ef,'category':_0x14cbff[_0x25d545(-0xfb,-0x110,-0x134,-0x119)](':')[-0x2*0xd14+0x4*0x89b+0x2e*-0x2e],'scope':getPermissionScope(_0x14cbff)})),_0x2da508={};function _0x2ba51e(_0x43dd95,_0x43f35e,_0x568252,_0x2cc642){return _0x2f468a(_0x43dd95-0x188,_0x43f35e-0x1c7,_0x43dd95,_0x568252- -_0x3cb918._0x2c373e);}return _0x2da508[_0x25d545(-_0x16ce58._0x2abdbe,-0xcd,-_0x16ce58._0x3384ae,-0xb1)+'s']=_0x37fe25,_0xc70c17[_0x25d545(-0xfa,-_0x16ce58._0x481636,-_0x16ce58._0x33e7b1,-0xe2)](_0x2da508);}),router[_0x491527(0x119,0xfe,0xc6,0x13b)]('/',async(_0x55801b,_0x3e31cf)=>{const _0x184f43={_0x5bf500:0x160,_0x34785e:0x177,_0x47dac1:0x195,_0x36691d:0x188,_0x3b6dba:0x1a1,_0x45129d:0x197,_0x48030d:0x1a6,_0x19fe24:0x1c2,_0x119b24:0x16c,_0x418e6a:0x175,_0x25711e:0x1b8,_0x10d33d:0x1db,_0x545cea:0x1d2,_0x56bfed:0x1cf,_0x5ecc17:0x1f6,_0x225557:0x135,_0x4ac71e:0x186,_0x1529ba:0x192,_0x44d3cd:0x16b,_0x506df9:0x174,_0x590b32:0x152,_0x59d557:0x197,_0x4cc640:0x18e,_0x5adbf6:0x17e,_0x3f8edb:0x1ad,_0x5909bc:0x1a0,_0x4bf164:0x18e,_0xbeff55:0x1ad,_0x3a3c4c:0x1a9,_0x2403f9:0x1e4,_0x5b1fad:0x157,_0x4dbf92:0x179,_0x49ee40:0x153,_0x153ff9:0x195,_0x218268:0x15e,_0x14464c:0x190,_0xdd0ccb:0x1a5,_0x14c994:0x1c0,_0xa8e44:0x1e5},_0x43d6ab={_0x533f29:0x279,_0x5229a9:0x8c};function _0x351091(_0x476c35,_0xd25b5f,_0x50b50d,_0x31bc35){return _0x491527(_0x31bc35,_0x476c35-0xb3,_0x50b50d-0x1d,_0x31bc35-0xa8);}const _0x3e2cf1={'mMqMM':_0x5349fa(-_0x184f43._0x5bf500,-0x182,-0x16a,-_0x184f43._0x34785e)+'t','HEgAZ':_0x5349fa(-_0x184f43._0x47dac1,-_0x184f43._0x36691d,-_0x184f43._0x3b6dba,-_0x184f43._0x45129d),'GPVom':function(_0x473c20){return _0x473c20();},'BGQdj':_0x351091(0x1da,_0x184f43._0x48030d,0x20d,0x1ef)+_0x5349fa(-0x1f9,-_0x184f43._0x19fe24,-0x1d2,-0x1e3),'XWTbl':_0x351091(0x17b,_0x184f43._0x119b24,_0x184f43._0x418e6a,0x188)+_0x351091(0x192,0x163,_0x184f43._0x25711e,0x1ac)+'r'};function _0x5349fa(_0x90283b,_0x29006c,_0x4a88d4,_0x42cda1){return _0x491527(_0x42cda1,_0x29006c- -_0x43d6ab._0x533f29,_0x4a88d4-_0x43d6ab._0x5229a9,_0x42cda1-0xab);}try{if(_0x3e2cf1[_0x351091(0x1d2,0x1bb,_0x184f43._0x10d33d,0x20f)]===_0x3e2cf1[_0x351091(_0x184f43._0x545cea,0x1fb,_0x184f43._0x56bfed,_0x184f43._0x5ecc17)]){const _0x38b496=await _0x3e2cf1[_0x5349fa(-_0x184f43._0x225557,-0x162,-_0x184f43._0x4ac71e,-0x158)](getRoles),_0x36006=_0x38b496[_0x5349fa(-0x1d3,-0x19b,-_0x184f43._0x1529ba,-0x1a8)](_0x1c8cb7=>({..._0x1c8cb7,'resource_type':inferRoleResourceType(_0x1c8cb7[_0x5349fa(-0x14a,-0x15d,-0x11e,-0x146)+'s'])})),_0x2f7a8d={};return _0x2f7a8d[_0x351091(_0x184f43._0x44d3cd,_0x184f43._0x506df9,0x1a4,_0x184f43._0x590b32)]=_0x36006,_0x3e31cf[_0x5349fa(-0x1bc,-0x18c,-0x158,-0x175)](_0x2f7a8d);}else{const _0x45e5b5={};return _0x45e5b5[_0x5349fa(-0x1a6,-0x183,-_0x184f43._0x59d557,-0x17f)]=_0x3e2cf1[_0x351091(_0x184f43._0x4cc640,0x151,_0x184f43._0x5adbf6,0x163)],_0x45e5b5[_0x5349fa(-0x1a3,-_0x184f43._0x3f8edb,-0x1a2,-0x182)]=_0x24cf27['message'],_0x5c3d04[_0x351091(0x187,0x1be,0x1aa,_0x184f43._0x36691d)](0x1344*0x2+0xc6d*0x1+-0x3165)[_0x351091(_0x184f43._0x5909bc,_0x184f43._0x4bf164,0x1ae,0x1da)](_0x45e5b5);}}catch(_0x17ac55){const _0x25f8c1={};_0x25f8c1[_0x5349fa(-0x15e,-0x183,-0x19c,-0x14a)]=_0x17ac55[_0x5349fa(-0x1e8,-_0x184f43._0xbeff55,-0x1b9,-0x1a8)],logger[_0x351091(_0x184f43._0x3a3c4c,_0x184f43._0x2403f9,0x1e7,0x19e)](_0x3e2cf1[_0x5349fa(-_0x184f43._0x5b1fad,-_0x184f43._0x4dbf92,-0x1a0,-_0x184f43._0x49ee40)],_0x25f8c1);const _0x3f82a5={};return _0x3f82a5['error']=_0x3e2cf1[_0x351091(_0x184f43._0x153ff9,0x1c7,0x1b8,_0x184f43._0x218268)],_0x3e31cf[_0x5349fa(-_0x184f43._0x14464c,-_0x184f43._0xdd0ccb,-_0x184f43._0x14c994,-_0x184f43._0xa8e44)](0x17*-0x3+0xc2d+-0x31*0x34)[_0x351091(0x1a0,0x181,0x19d,0x1c6)](_0x3f82a5);}});function _0x491527(_0x3682e4,_0x4aabfc,_0x425325,_0x4de75c){const _0x2e77a9={_0x39c4bd:0x98};return _0x3e4a(_0x4aabfc- -_0x2e77a9._0x39c4bd,_0x3682e4);}router[_0x491527(0xf8,0xfe,0xd5,0xf5)](_0x491527(0xf0,0x12d,0x132,0x12b),async(_0x3bf01f,_0x5bba80)=>{const _0x5b5d8e={_0x12a003:0x5a,_0x1d62e2:0x44,_0x5de015:0x5a,_0x4e133c:0x4e3,_0x30e207:0x500,_0x1d5c76:0x50b,_0x4ce954:0x501,_0x18a0f5:0x516,_0x5dcb0b:0x5f,_0x51659b:0x4e2,_0x5331b0:0x4bb,_0x192cfc:0x47a,_0x1b69d3:0x4dc,_0x1f9797:0x546,_0x393140:0x4fe,_0x29615c:0x507,_0x3464f6:0x7b,_0x5cb9bd:0x68,_0x59e9c2:0x98,_0x5d46e2:0x4f0,_0x15bb03:0x4ec,_0xbbbb19:0x4d4,_0x15ec6a:0x504,_0x45529c:0x4c2,_0x2eefb1:0x4cb,_0x2fdd7c:0x4d7,_0x4d95c7:0x4cc,_0x306ba6:0x4b3,_0x244586:0x4a8,_0x415eb4:0x4b3,_0x3c8ee6:0x4ed,_0x109f25:0x4f6,_0x244aac:0x7a,_0x4f868b:0x8b,_0x298370:0x68,_0x419728:0x4bf,_0x4ac51e:0x4d8,_0x5edcc8:0x4a0,_0x1b50d8:0x4a2,_0x20eb7e:0x4cd},_0x2b6df0={_0x4fa24b:0x15e},_0x22f1c0={_0x9cc44c:0x3e2,_0xbca064:0xe6};function _0x1e0dea(_0x500ec4,_0x34098e,_0x170fc2,_0x3b3435){return _0x491527(_0x34098e,_0x3b3435-_0x22f1c0._0x9cc44c,_0x170fc2-0x110,_0x3b3435-_0x22f1c0._0xbca064);}function _0x13d422(_0x1d1c55,_0x3b856f,_0x18655b,_0x2bca9d){return _0x491527(_0x18655b,_0x3b856f- -_0x2b6df0._0x4fa24b,_0x18655b-0x143,_0x2bca9d-0x51);}const _0x4be093={'psztP':function(_0x203377){return _0x203377();},'WSIao':function(_0x26cb79,_0x15ded6){return _0x26cb79(_0x15ded6);},'MfBIr':_0x13d422(-0x91,-_0x5b5d8e._0x12a003,-_0x5b5d8e._0x1d62e2,-_0x5b5d8e._0x5de015),'UwIIC':_0x1e0dea(0x4a5,0x493,_0x5b5d8e._0x4e133c,0x4a5)+_0x1e0dea(_0x5b5d8e._0x30e207,_0x5b5d8e._0x1d5c76,_0x5b5d8e._0x4ce954,_0x5b5d8e._0x18a0f5),'jXrSI':_0x13d422(-_0x5b5d8e._0x5dcb0b,-0x96,-0xaf,-0x5f)+_0x1e0dea(_0x5b5d8e._0x51659b,_0x5b5d8e._0x5331b0,0x4d8,0x4c1)+'r'};try{const _0x260d15=await _0x4be093[_0x1e0dea(_0x5b5d8e._0x192cfc,0x4dd,_0x5b5d8e._0x1b69d3,0x4a7)](getRoleById,_0x3bf01f[_0x1e0dea(0x547,_0x5b5d8e._0x1f9797,_0x5b5d8e._0x393140,_0x5b5d8e._0x29615c)]['id']);if(!_0x260d15){if(_0x4be093[_0x13d422(-0xb9,-_0x5b5d8e._0x3464f6,-0x70,-0x70)]===_0x13d422(-0x64,-_0x5b5d8e._0x12a003,-0x8f,-0x48)){const _0x1cf979={};return _0x1cf979[_0x13d422(-0x75,-_0x5b5d8e._0x5cb9bd,-_0x5b5d8e._0x59e9c2,-0xa0)]=_0x1e0dea(_0x5b5d8e._0x5d46e2,_0x5b5d8e._0x15bb03,_0x5b5d8e._0xbbbb19,0x4bf)+_0x1e0dea(_0x5b5d8e._0x15ec6a,_0x5b5d8e._0x45529c,0x51e,0x4f2),_0x5bba80[_0x1e0dea(_0x5b5d8e._0x2eefb1,_0x5b5d8e._0x2fdd7c,_0x5b5d8e._0x4d95c7,0x4b6)](0x186*-0x9+0x1755+0x80b*-0x1)[_0x1e0dea(_0x5b5d8e._0x306ba6,_0x5b5d8e._0x244586,_0x5b5d8e._0x415eb4,0x4cf)](_0x1cf979);}else{const _0x10fc15=_0x4be093['psztP'](_0x4da412),_0x393406=_0x8574b3[_0x1e0dea(_0x5b5d8e._0x3c8ee6,0x500,0x4c3,_0x5b5d8e._0x109f25)](_0x10fc15)[_0x1e0dea(0x497,_0x5b5d8e._0x1b69d3,0x49f,0x4c0)](([_0x137ea3,_0x5055ec])=>({'key':_0x137ea3,'description':_0x5055ec,'category':_0x137ea3[_0x1e0dea(0x498,0x4b8,0x4c4,0x4ce)](':')[-0x1*0xf1a+0x121+0x31*0x49],'scope':_0x2e36e4(_0x137ea3)})),_0x16dd9a={};return _0x16dd9a[_0x13d422(-0x36,-0x42,-0x77,-0x5d)+'s']=_0x393406,_0x32b58c['json'](_0x16dd9a);}}const _0x4f6f3a={};return _0x4f6f3a['role']=_0x260d15,_0x5bba80[_0x13d422(-0x5d,-0x71,-_0x5b5d8e._0x244aac,-0xa2)](_0x4f6f3a);}catch(_0x4bf8b8){const _0x10258d={};_0x10258d[_0x13d422(-_0x5b5d8e._0x4f868b,-_0x5b5d8e._0x298370,-0x41,-0x8f)]=_0x4bf8b8['message'],logger['error'](_0x4be093['UwIIC'],_0x10258d);const _0x233827={};return _0x233827[_0x1e0dea(0x4ac,_0x5b5d8e._0x419728,0x4e6,_0x5b5d8e._0x4ac51e)]=_0x4be093[_0x1e0dea(_0x5b5d8e._0x5edcc8,_0x5b5d8e._0x1b50d8,0x496,_0x5b5d8e._0x20eb7e)],_0x5bba80['status'](-0x244d+0x1*0x2325+0x31c*0x1)[_0x1e0dea(0x49d,0x4c4,0x493,0x4cf)](_0x233827);}}),router[_0x491527(0x13e,0x10a,0xe6,0x111)]('/',requirePermission(_0x491527(0x112,0x10b,0x127,0x11a)+'anage'),async(_0x4ea9e9,_0x3eebe8)=>{const _0x591ce0={_0x299f85:0x122,_0x5ea691:0xf5,_0x2a01a8:0x125,_0x116c03:0x505,_0x5e5852:0x4c9,_0x2dee18:0xea,_0x4b3b31:0xf7,_0x51fdf3:0x480,_0x2be7fe:0x474,_0x3c4bfd:0x451,_0x321320:0x47a,_0x57c9be:0x45b,_0x39b92f:0x48c,_0x488a2a:0x476,_0x5147e5:0x44e,_0xde12da:0x48f,_0x300dfd:0x47f,_0x57b6bc:0x480,_0x351244:0x49b,_0x24360e:0x456,_0x50198a:0x464,_0x32b637:0x4a1,_0x145eb1:0x4a6,_0x32daa6:0x49a,_0x5bced1:0x47b,_0x197349:0x4d2,_0x52d640:0x91,_0xd423bc:0x7e,_0x4a33fe:0x45d,_0x48f0af:0x41d,_0x2318e7:0x4d8,_0x5036a7:0x483,_0x98b9c:0xc1,_0xb09f27:0xd4,_0x2f0014:0x114,_0x3ed549:0xdd,_0x16f2ba:0x10b,_0x470a9a:0x491,_0x2fdd42:0x467,_0x39f4f9:0x4a4,_0x1f6baf:0xcb,_0x4dd6e1:0x120,_0x448986:0x4c0,_0x1cc8ae:0x4e4,_0x4c5ea3:0x492,_0x159d47:0x47d,_0xb88e36:0x4b1,_0x271bee:0x4b2,_0x2cfdba:0x4a8,_0x2d72c6:0xa0,_0x38b285:0x7f,_0x370838:0x79,_0x25413f:0x48e,_0x420152:0x49e,_0x3d8be8:0x499,_0x1f4297:0x478,_0x3f3777:0x4c5,_0x26fbf7:0x467,_0xdf3725:0x473,_0x14b1d0:0x10a,_0x4615d2:0x119,_0x2a6892:0xdf,_0x1f6ec6:0x47c,_0x545405:0x4b7,_0x428662:0x90,_0x4d3252:0xb4,_0x22a427:0xda,_0x3d0d4e:0xcf,_0x41c257:0xde,_0x411f75:0x4b9,_0x1ca5e2:0x4a1,_0x10a8d5:0xb3,_0x262ded:0x467,_0x185b27:0x488,_0x579252:0x446,_0x1af828:0x94,_0x16d6d6:0xb8,_0x526907:0x49d,_0x4e86cc:0x48b,_0x4b84ae:0x4ac,_0x191982:0x4c3,_0x5baeb5:0xa6,_0x4ca900:0xd9,_0x20ac26:0x436,_0xe7237:0x430,_0x161ec7:0x469,_0x232cfa:0x450,_0x2cffed:0x44c,_0x5d419b:0x482,_0x2d5426:0x91,_0xf68520:0x9d,_0x2304ec:0xbd,_0x1f0a65:0xd0,_0xee27f8:0xf1,_0x5deaaf:0x4a2,_0xd6077f:0x49b,_0x28de27:0x43e,_0x530550:0x472,_0x1aa6cd:0x4ad,_0x19f72e:0x4ec,_0x4dbef3:0xa1,_0x2c085b:0xae,_0x41c9fb:0xc7,_0x33985a:0xa8,_0x2b234b:0x478,_0x3000e2:0x4b3,_0x1fa5b6:0x4cd,_0x4a46bf:0xe7,_0x3a97b4:0xaf,_0x346b05:0x4d3,_0x1c2a8c:0x4c1,_0x13edd7:0x409,_0x22e70e:0x6e,_0x44a77d:0xe3,_0x24f64c:0xeb,_0x577893:0x11f,_0xdc9336:0xff,_0x56ad9c:0xf0,_0x40d353:0xba,_0x499a5d:0x98,_0x269c57:0x488,_0x3e545c:0x119,_0x3beb71:0x10f,_0x40ca38:0x469,_0x31d36f:0x427,_0x3b084f:0x79,_0x201e17:0x489,_0x436601:0x46d,_0x1ca679:0x487,_0xae2f7d:0xd0,_0x3c20d2:0xad,_0x2f7cc9:0xb4,_0x4b6dda:0x461,_0x49a103:0x87,_0xeac103:0x44b,_0x1f52ff:0x469,_0x105eba:0x42d,_0x353a77:0xfa,_0x21d2ce:0x4a7,_0xb73bdf:0x48c,_0x3d6b85:0x49c,_0x5773fc:0x136,_0x1e77c3:0x10a,_0x3dc1f4:0x106,_0x35f8aa:0x149,_0x1f72ad:0xbb,_0x52fe42:0x7b,_0x156e09:0x45c,_0x25782e:0x46b,_0x38d53c:0x496,_0x214592:0x4c2,_0x4134da:0x4ce,_0x4412e4:0x4a9,_0xf05250:0x86,_0x4b85d9:0x461,_0x54e9d:0x44f,_0x4bb79a:0xe1,_0x1f2ff3:0x70,_0x3c6496:0x452,_0x41d9d8:0x49a,_0x7081c2:0x48b,_0x2db732:0x468,_0x584dea:0x449,_0x3de5cf:0xe5,_0xfc4a62:0xf7,_0x4f6c91:0x8c,_0x346d84:0xc7},_0x89dfc2={_0x347be3:0x26,_0x3fc284:0x101},_0x3940ec={};_0x3940ec[_0x4a95be(_0x591ce0._0x299f85,_0x591ce0._0x5ea691,_0x591ce0._0x2a01a8,0xd1)]='Error\x20gett'+_0x18e4e6(_0x591ce0._0x116c03,_0x591ce0._0x5e5852,0x4b8,0x4ce),_0x3940ec[_0x4a95be(_0x591ce0._0x2dee18,_0x591ce0._0x4b3b31,0xd0,0xec)]=_0x18e4e6(0x458,0x45d,0x486,_0x591ce0._0x51fdf3)+_0x18e4e6(_0x591ce0._0x2be7fe,_0x591ce0._0x2be7fe,_0x591ce0._0x3c4bfd,_0x591ce0._0x321320)+'r',_0x3940ec['tKGhZ']=_0x18e4e6(_0x591ce0._0x57c9be,_0x591ce0._0x39b92f,_0x591ce0._0x488a2a,_0x591ce0._0x5147e5)+'t';function _0x18e4e6(_0x59aec3,_0x2789a6,_0xd55f28,_0x4e1d0c){return _0x2f468a(_0x59aec3-0x30,_0x2789a6-0x1ad,_0xd55f28,_0x2789a6-0x376);}_0x3940ec[_0x18e4e6(0x48a,_0x591ce0._0xde12da,_0x591ce0._0x300dfd,_0x591ce0._0x57b6bc)]=function(_0x589431,_0x3c9044){return _0x589431!==_0x3c9044;},_0x3940ec['TqLFa']='string',_0x3940ec[_0x18e4e6(0x4a9,0x488,_0x591ce0._0x351244,0x493)]=function(_0x1e4247,_0x5aadca){return _0x1e4247===_0x5aadca;},_0x3940ec[_0x18e4e6(_0x591ce0._0x24360e,_0x591ce0._0x50198a,_0x591ce0._0x32b637,_0x591ce0._0x300dfd)]=_0x18e4e6(_0x591ce0._0x145eb1,_0x591ce0._0x32daa6,_0x591ce0._0x5bced1,_0x591ce0._0x197349)+'is\x20require'+'d',_0x3940ec[_0x4a95be(_0x591ce0._0x52d640,0x98,0x7c,_0x591ce0._0xd423bc)]=function(_0x11559c,_0x1c2499){return _0x11559c===_0x1c2499;},_0x3940ec[_0x18e4e6(0x41b,0x44b,_0x591ce0._0x4a33fe,_0x591ce0._0x48f0af)]=_0x18e4e6(_0x591ce0._0x2318e7,0x4b1,0x4ec,_0x591ce0._0x5036a7)+'s\x20is\x20requi'+_0x4a95be(0xb2,0xd9,_0x591ce0._0x98b9c,_0x591ce0._0xb09f27)+_0x4a95be(_0x591ce0._0x2f0014,_0x591ce0._0x3ed549,_0x591ce0._0x16f2ba,0xbb)+'n-empty\x20ar'+_0x18e4e6(_0x591ce0._0x470a9a,_0x591ce0._0x2fdd42,0x467,_0x591ce0._0x39f4f9),_0x3940ec[_0x4a95be(_0x591ce0._0x1f6baf,0xf2,0x108,_0x591ce0._0x4dd6e1)]=function(_0x39f99c,_0x51bd3e){return _0x39f99c>_0x51bd3e;},_0x3940ec[_0x18e4e6(_0x591ce0._0x448986,_0x591ce0._0x145eb1,0x46a,_0x591ce0._0x1cc8ae)]=_0x18e4e6(0x495,_0x591ce0._0x4c5ea3,0x452,_0x591ce0._0x159d47)+_0x18e4e6(0x4de,0x4a3,_0x591ce0._0xb88e36,_0x591ce0._0x50198a)+_0x18e4e6(_0x591ce0._0x271bee,0x497,_0x591ce0._0x2cfdba,0x491),_0x3940ec[_0x4a95be(0x77,_0x591ce0._0x2d72c6,_0x591ce0._0x38b285,_0x591ce0._0x370838)]=_0x18e4e6(_0x591ce0._0x25413f,0x485,_0x591ce0._0x420152,_0x591ce0._0x3d8be8)+_0x18e4e6(_0x591ce0._0x1f4297,0x490,_0x591ce0._0x3f3777,_0x591ce0._0x420152),_0x3940ec[_0x18e4e6(0x42d,0x468,0x463,0x42b)]=_0x18e4e6(_0x591ce0._0x26fbf7,_0x591ce0._0x159d47,_0x591ce0._0xdf3725,0x46b),_0x3940ec[_0x4a95be(0x10e,_0x591ce0._0x14b1d0,_0x591ce0._0x4615d2,_0x591ce0._0x2a6892)]=_0x18e4e6(_0x591ce0._0x32b637,_0x591ce0._0x1f6ec6,_0x591ce0._0x545405,_0x591ce0._0x5036a7),_0x3940ec[_0x4a95be(_0x591ce0._0x428662,_0x591ce0._0x4d3252,0xa0,0x84)]=function(_0x1b6555,_0x377e4a){return _0x1b6555!==_0x377e4a;};function _0x4a95be(_0x39ad5c,_0x1ff1b0,_0x15327c,_0x11e727){return _0x491527(_0x11e727,_0x1ff1b0- -_0x89dfc2._0x347be3,_0x15327c-_0x89dfc2._0x3fc284,_0x11e727-0x177);}_0x3940ec[_0x4a95be(_0x591ce0._0x22a427,_0x591ce0._0x3d0d4e,_0x591ce0._0x41c257,0xe2)]='Error\x20crea'+'ting\x20role';const _0xd16dd2=_0x3940ec;try{if(_0xd16dd2[_0x4a95be(0xf4,0xd4,0xf3,0xb8)]('aygTX',_0x18e4e6(0x48b,_0x591ce0._0x411f75,_0x591ce0._0x1ca5e2,0x4e0))){const {name:_0x578fc5,description:_0x5012a5,permissions:_0x27f212}=_0x4ea9e9[_0x4a95be(0x110,0xf3,_0x591ce0._0x1f6baf,_0x591ce0._0x10a8d5)];if(!_0x578fc5||_0xd16dd2[_0x18e4e6(0x4cf,_0x591ce0._0xde12da,_0x591ce0._0x2be7fe,0x45a)](typeof _0x578fc5,_0xd16dd2[_0x18e4e6(0x48b,0x475,0x45c,_0x591ce0._0x32daa6)])||_0xd16dd2[_0x18e4e6(_0x591ce0._0x262ded,_0x591ce0._0x185b27,0x45f,_0x591ce0._0x579252)](_0x578fc5[_0x4a95be(_0x591ce0._0x1af828,0x8d,0x60,_0x591ce0._0x16d6d6)]()['length'],0x447*-0x6+0xaba*0x3+-0x684)){const _0x4db38d={};return _0x4db38d[_0x18e4e6(_0x591ce0._0x526907,_0x591ce0._0x4e86cc,_0x591ce0._0x4b84ae,_0x591ce0._0x191982)]=_0xd16dd2['tKGhZ'],_0x4db38d[_0x4a95be(0xbd,_0x591ce0._0x5baeb5,0xa6,_0x591ce0._0x4ca900)]=_0xd16dd2[_0x18e4e6(_0x591ce0._0x20ac26,_0x591ce0._0x50198a,_0x591ce0._0xe7237,0x48f)],_0x3eebe8[_0x18e4e6(0x43d,_0x591ce0._0x161ec7,_0x591ce0._0x232cfa,0x490)](-0x1*-0xf6a+0x14f4+-0x22ce)[_0x18e4e6(_0x591ce0._0x2cffed,_0x591ce0._0x5d419b,0x4ac,0x486)](_0x4db38d);}if(!_0x27f212||!Array[_0x4a95be(_0x591ce0._0x2d5426,0x9c,_0x591ce0._0xf68520,_0x591ce0._0x52d640)](_0x27f212)||_0xd16dd2[_0x4a95be(0x5b,0x98,0x8e,_0x591ce0._0x2304ec)](_0x27f212['length'],0x2008+0x3fb+0xc01*-0x3)){const _0xbb61b2={};return _0xbb61b2[_0x4a95be(0x107,_0x591ce0._0x1f0a65,0xc4,_0x591ce0._0xee27f8)]=_0xd16dd2[_0x18e4e6(_0x591ce0._0x5deaaf,0x4b3,0x4d1,0x484)],_0xbb61b2[_0x18e4e6(_0x591ce0._0xd6077f,0x461,_0x591ce0._0x28de27,_0x591ce0._0x530550)]=_0xd16dd2['QBWit'],_0x3eebe8[_0x18e4e6(0x46c,0x469,0x4a7,0x470)](0x1b91*-0x1+0x227f+0x2af*-0x2)[_0x18e4e6(0x448,0x482,_0x591ce0._0x545405,_0x591ce0._0x51fdf3)](_0xbb61b2);}const _0x435f1a=_0x27f212['filter'](_0x36829b=>!isValidPermission(_0x36829b));if(_0xd16dd2[_0x18e4e6(0x46b,_0x591ce0._0x1aa6cd,0x4e7,_0x591ce0._0x19f72e)](_0x435f1a[_0x18e4e6(_0x591ce0._0x25413f,0x46b,0x43b,0x47e)],0x1d4c+-0x169c+-0x6b*0x10))return _0x3eebe8[_0x4a95be(_0x591ce0._0x4dbef3,_0x591ce0._0x2c085b,0x90,0x9c)](-0x53+0x1f72+0x17*-0x149)[_0x4a95be(0xb1,_0x591ce0._0x41c9fb,_0x591ce0._0x33985a,0xa3)]({'error':_0xd16dd2[_0x18e4e6(_0x591ce0._0x2b234b,_0x591ce0._0x3000e2,_0x591ce0._0x1fa5b6,0x4b3)],'message':_0x4a95be(0x5f,0x8b,0x7c,0x8b)+_0x4a95be(_0x591ce0._0x4a46bf,_0x591ce0._0x3a97b4,0xc3,0xb8)+'\x20'+_0x435f1a[_0x18e4e6(_0x591ce0._0x51fdf3,0x4be,_0x591ce0._0x346b05,_0x591ce0._0x1c2a8c)](',\x20')});const _0x2b22f7=await createRole({'name':_0x578fc5[_0x18e4e6(_0x591ce0._0x13edd7,0x448,0x41c,_0x591ce0._0x2b234b)](),'description':_0x5012a5,'permissions':_0x27f212}),_0x1ef1d7={};return _0x1ef1d7[_0x4a95be(_0x591ce0._0x22e70e,_0x591ce0._0x5baeb5,0x90,_0x591ce0._0x44a77d)]=_0xd16dd2[_0x4a95be(_0x591ce0._0xee27f8,_0x591ce0._0x24f64c,_0x591ce0._0x577893,0xaf)],_0x1ef1d7['role']=_0x2b22f7,_0x3eebe8['status'](-0x2*0x916+0x19*0x107+-0x6ba)[_0x4a95be(0xae,0xc7,0xf1,0xf8)](_0x1ef1d7);}else{const _0xdd7ec6={};_0xdd7ec6[_0x4a95be(_0x591ce0._0xdc9336,_0x591ce0._0x1f0a65,_0x591ce0._0x56ad9c,0x8f)]=_0x1a2083[_0x4a95be(0x85,0xa6,_0x591ce0._0x40d353,0xd8)],_0x27bfc0[_0x4a95be(_0x591ce0._0x499a5d,0xd0,0xb2,0xba)](_0xd16dd2[_0x18e4e6(_0x591ce0._0x545405,0x4b0,0x4be,_0x591ce0._0x269c57)],_0xdd7ec6);const _0x3f3046={};return _0x3f3046['error']=_0xd16dd2[_0x4a95be(_0x591ce0._0x3e545c,_0x591ce0._0x4b3b31,0x11f,_0x591ce0._0x3beb71)],_0x2a2df1[_0x18e4e6(0x428,_0x591ce0._0x40ca38,_0x591ce0._0x31d36f,_0x591ce0._0x161ec7)](-0x1941+-0x1592+0x1*0x30c7)[_0x18e4e6(0x489,0x482,0x452,0x49b)](_0x3f3046);}}catch(_0x8e2710){if(_0x8e2710[_0x4a95be(0x8a,_0x591ce0._0x5baeb5,0xb7,_0x591ce0._0x3b084f)][_0x18e4e6(0x481,_0x591ce0._0x201e17,0x47e,_0x591ce0._0x436601)](_0xd16dd2[_0x18e4e6(_0x591ce0._0x1ca679,0x45b,0x48b,0x463)])){const _0x2a0bec={};return _0x2a0bec[_0x4a95be(0xe5,_0x591ce0._0xae2f7d,_0x591ce0._0x24f64c,0xf6)]=_0xd16dd2[_0x4a95be(0xa6,_0x591ce0._0x3c20d2,_0x591ce0._0x2f7cc9,0xb6)],_0x2a0bec[_0x18e4e6(0x442,_0x591ce0._0x4b6dda,0x450,0x495)]=_0x8e2710[_0x4a95be(0x9a,0xa6,0xc5,_0x591ce0._0x49a103)],_0x3eebe8[_0x18e4e6(_0x591ce0._0xeac103,_0x591ce0._0x1f52ff,_0x591ce0._0x105eba,0x460)](0x1bef*-0x1+-0x13c2*0x1+0x314a)[_0x4a95be(0xde,_0x591ce0._0x41c9fb,_0x591ce0._0x353a77,_0x591ce0._0x353a77)](_0x2a0bec);}if(_0xd16dd2[_0x18e4e6(_0x591ce0._0x21d2ce,_0x591ce0._0x269c57,_0x591ce0._0xb73bdf,_0x591ce0._0x3d6b85)](_0x8e2710['code'],_0xd16dd2[_0x4a95be(_0x591ce0._0x5773fc,_0x591ce0._0x1e77c3,_0x591ce0._0x3dc1f4,_0x591ce0._0x35f8aa)])){if(_0xd16dd2[_0x4a95be(0xb1,0xb4,_0x591ce0._0x1f72ad,_0x591ce0._0x52fe42)]('agmGq','agmGq')){const _0x2d9cf5={};return _0x2d9cf5[_0x18e4e6(_0x591ce0._0x156e09,0x48b,0x486,_0x591ce0._0x25782e)]=_0xd16dd2['tKGhZ'],_0x2d9cf5['message']='permission'+_0x18e4e6(0x49f,_0x591ce0._0x38d53c,_0x591ce0._0x214592,_0x591ce0._0x4134da)+_0x18e4e6(0x4c2,0x49c,_0x591ce0._0x4412e4,0x4b9)+'y\x20array',_0x2065aa['status'](-0xb9*0x12+0x1*-0x22a3+0x3135)[_0x4a95be(0x99,_0x591ce0._0x41c9fb,_0x591ce0._0xf05250,0xb5)](_0x2d9cf5);}else{const _0x36eec1={};return _0x36eec1[_0x4a95be(0x10d,_0x591ce0._0x1f0a65,0xb8,0xfe)]=_0xd16dd2['tKGhZ'],_0x36eec1[_0x18e4e6(0x48e,_0x591ce0._0x4b85d9,_0x591ce0._0x54e9d,0x45e)]=_0x8e2710['message'],_0x3eebe8[_0x4a95be(0xe3,0xae,_0x591ce0._0x4bb79a,_0x591ce0._0x1f2ff3)](0x1*-0x20ae+-0xdd*-0x1+0x2161*0x1)[_0x18e4e6(0x4ad,_0x591ce0._0x5d419b,0x4a5,0x497)](_0x36eec1);}}const _0x265b21={};_0x265b21[_0x18e4e6(_0x591ce0._0x3c6496,0x48b,_0x591ce0._0x41d9d8,0x4bb)]=_0x8e2710['message'],logger[_0x18e4e6(0x4cd,_0x591ce0._0x4e86cc,0x46b,_0x591ce0._0x159d47)](_0xd16dd2[_0x4a95be(_0x591ce0._0x3ed549,0xcf,0xd2,_0x591ce0._0x10a8d5)],_0x265b21);const _0x1e46a8={};return _0x1e46a8[_0x18e4e6(0x4b6,_0x591ce0._0x7081c2,_0x591ce0._0x2db732,_0x591ce0._0x584dea)]=_0xd16dd2[_0x4a95be(_0x591ce0._0x3de5cf,_0x591ce0._0xfc4a62,0xf1,0xef)],_0x3eebe8['status'](-0x11c2+-0x4*0x2ae+0x1e6e)[_0x4a95be(_0x591ce0._0x4f6c91,_0x591ce0._0x346d84,0xf5,0xe3)](_0x1e46a8);}}),router['put']('/:id',requirePermission(_0x491527(0x11a,0x10b,0x11f,0x127)+'anage'),async(_0x4748a4,_0x4ae5ad)=>{const _0x4f089c={_0x16408e:0x4ad,_0x2f839b:0x46f,_0x902788:0x488,_0x1c3c11:0x470,_0x3add16:0x465,_0x1b1ecc:0x497,_0x456d4d:0x49a,_0x306b79:0x4ae,_0x6d6432:0xfc,_0x36f6ee:0xca,_0x3dca99:0xe3,_0x5a25e0:0xc0,_0x3be510:0xef,_0x200c37:0x12b,_0x44944d:0xeb,_0x22b152:0xee,_0x4e5c00:0xbf,_0x214be8:0x48d,_0x2b3101:0x4bf,_0x29fec0:0x47e,_0x3352bb:0x45b,_0x39ab72:0x101,_0x1c8e27:0x136,_0x18fb16:0x161,_0x28602b:0x142,_0x3a61c4:0x12e,_0xf912a3:0x118,_0x455339:0x143,_0x3bebba:0x122,_0x5b7dd8:0xc9,_0x4cdfcd:0x467,_0x2ea8c4:0x444,_0x16633c:0x4a7,_0x4faabc:0x4b6,_0x505c7e:0x4ab,_0x2b8bf5:0x486,_0x4aef54:0x488,_0xe5b929:0x4ec,_0x218e8e:0x4a5,_0x11a997:0x4db,_0x4c21d2:0x47f,_0x53333c:0x49c,_0x1ebf15:0x49e,_0x7e3204:0x486,_0x58cc1c:0x13e,_0x4321fe:0x17c,_0x26aab0:0x16a,_0x5621e5:0x4aa,_0x56a87b:0x479,_0xb19468:0x4e4,_0x1608d6:0x13e,_0x500cf4:0x112,_0x246748:0x10e,_0x162c82:0x461,_0x165d57:0x445,_0x1536a6:0x40f,_0x574039:0x42b,_0x167fb4:0x454,_0x19ac92:0x451,_0x28b357:0x476,_0x5c7d4b:0x47c,_0x2f6333:0x13e,_0x2a4f46:0x175,_0xf6116e:0x495,_0x18f84a:0x458,_0x51c017:0x44e,_0x420320:0x4af,_0x52036f:0x4a7,_0x5ba3c8:0x471,_0x377432:0x499,_0x68358:0x435,_0x4c3197:0x472,_0x3aca07:0x4e0,_0x1e52cf:0x483,_0x350a4b:0xe0,_0x51d1ad:0x10f,_0x42597e:0x489,_0x47ce75:0x49d,_0x547897:0x4d3,_0x3eb765:0x107,_0x2b30de:0x123,_0x1d0598:0x106,_0x424bac:0xbf,_0x4a7244:0x15e,_0x40b415:0xf4,_0x3b8dd2:0x101,_0x2b2fb5:0x115,_0x32ed0f:0x107,_0x56747d:0xcb,_0x4220c3:0xeb,_0x14af9c:0xf6,_0x5cd294:0xba,_0x2219ec:0x464,_0x127fe3:0x46b,_0x5eb612:0x11c,_0x13d9b5:0x125,_0x3dcaba:0x14b,_0x2ca8cb:0x480,_0x8541a6:0x466,_0x61f29b:0xe1,_0x3913ac:0x102,_0x151d9b:0xe1,_0x5b367a:0xf8,_0x37e21c:0xf3,_0x9ebf9e:0xc2,_0x8a1de2:0xf9,_0x35cc63:0xc4,_0x448da6:0x45c,_0x50d72d:0x452,_0x5ec287:0x449,_0x242f70:0x418,_0x361a39:0x43e,_0xdac8e2:0x485,_0x4c975e:0x490,_0x279860:0x478,_0x15433f:0x448,_0x31cc92:0x459,_0x12cebd:0x41d,_0x4c5eab:0x44d,_0x57a5f0:0x472,_0x282f8:0x441,_0x3e7a7e:0x431,_0x503191:0x445,_0x1c9667:0x455,_0x561189:0x427,_0x5b0677:0x467,_0x1cfcdc:0x438,_0x2b7cd9:0x43f,_0x390266:0x472,_0xce22c0:0x4a4,_0x586e2e:0x433,_0x43117f:0xea,_0x48201e:0x127,_0x7fd73c:0x12f,_0x189154:0x135,_0x52d201:0x495,_0x235007:0x442},_0x169279={_0xea333d:0x385},_0x401ea9={_0x5e384c:0xcf,_0x56b4a7:0x76,_0x4d9605:0x3},_0x2402a4={'OchmQ':'Role\x20not\x20f'+'ound','cKMCV':'Bad\x20Reques'+'t','HNyJG':_0xa9b8fc(0x4a1,0x4a1,_0x4f089c._0x16408e,_0x4f089c._0x2f839b)+'s\x20is\x20requi'+'red\x20and\x20mu'+_0xa9b8fc(0x4a6,_0x4f089c._0x902788,_0x4f089c._0x1c3c11,_0x4f089c._0x3add16)+_0xa9b8fc(_0x4f089c._0x1b1ecc,_0x4f089c._0x456d4d,0x470,_0x4f089c._0x306b79)+_0x4f0b3b(_0x4f089c._0x6d6432,0xf4,0xc8,_0x4f089c._0x36f6ee),'pHEUY':function(_0x921735,_0x2cfc02){return _0x921735===_0x2cfc02;},'EYoKV':_0x4f0b3b(0xc7,_0x4f089c._0x3dca99,_0x4f089c._0x5a25e0,_0x4f089c._0x3be510),'cyODg':function(_0x5878a3,_0x48adb8){return _0x5878a3(_0x48adb8);},'mhggU':function(_0x26b317,_0x500b76){return _0x26b317!==_0x500b76;},'tohML':function(_0x2f8a4a,_0x43909f){return _0x2f8a4a!==_0x43909f;},'friwa':_0x4f0b3b(0x12f,0x10a,_0x4f089c._0x200c37,0x10e),'EfvFX':'VALIDATION','HKyMl':_0x4f0b3b(0x11b,_0x4f089c._0x44944d,_0x4f089c._0x22b152,_0x4f089c._0x4e5c00),'MmDeS':_0xa9b8fc(_0x4f089c._0x214be8,0x497,0x4ca,_0x4f089c._0x2b3101)+_0xa9b8fc(0x481,_0x4f089c._0x29fec0,0x447,_0x4f089c._0x3352bb),'RZzsO':'Internal\x20s'+_0x4f0b3b(0x127,_0x4f089c._0x39ab72,_0x4f089c._0x1c8e27,0xe7)+'r'};function _0x4f0b3b(_0x3ba164,_0x36de7e,_0x3c78c2,_0xe33567){return _0x2f468a(_0x3ba164-_0x401ea9._0x5e384c,_0x36de7e-_0x401ea9._0x56b4a7,_0x3ba164,_0x36de7e-_0x401ea9._0x4d9605);}function _0xa9b8fc(_0x5c3029,_0x29575a,_0x29af7a,_0x452299){return _0x491527(_0x5c3029,_0x29575a-_0x169279._0xea333d,_0x29af7a-0x12a,_0x452299-0x160);}try{if(_0x2402a4[_0x4f0b3b(_0x4f089c._0x18fb16,_0x4f089c._0x28602b,0x14c,0x16c)](_0x2402a4['EYoKV'],_0x2402a4[_0x4f0b3b(0xe8,0xd4,0xb8,0xaf)])){const _0x4a2409=await _0x2402a4['cyODg'](getRoleById,_0x4748a4[_0x4f0b3b(0x176,0x147,0x14f,0x186)]['id']);if(!_0x4a2409){const _0x5308ce={};return _0x5308ce[_0x4f0b3b(_0x4f089c._0x3a61c4,_0x4f089c._0xf912a3,_0x4f089c._0x455339,0x102)]=_0xa9b8fc(0x477,0x462,0x48e,0x448)+'ound',_0x4ae5ad[_0x4f0b3b(_0x4f089c._0x3bebba,0xf6,0xf6,_0x4f089c._0x5b7dd8)](-0x1fc8+0xab*-0x29+0x3cbf)[_0xa9b8fc(0x4b0,0x472,_0x4f089c._0x4cdfcd,_0x4f089c._0x2ea8c4)](_0x5308ce);}const _0x57bdb1={};if(_0x2402a4[_0xa9b8fc(0x444,0x449,0x458,0x462)](_0x4748a4['body'][_0xa9b8fc(_0x4f089c._0x16633c,_0x4f089c._0x4faabc,0x4b2,_0x4f089c._0x505c7e)],undefined))_0x57bdb1[_0xa9b8fc(_0x4f089c._0x2b8bf5,_0x4f089c._0x4faabc,_0x4f089c._0x4aef54,_0x4f089c._0xe5b929)]=_0x4748a4[_0xa9b8fc(0x46c,0x49e,_0x4f089c._0x218e8e,_0x4f089c._0x11a997)]['name'];if(_0x4748a4[_0xa9b8fc(_0x4f089c._0x4c21d2,0x49e,0x48d,0x4ab)]['descriptio'+'n']!==undefined)_0x57bdb1['descriptio'+'n']=_0x4748a4[_0xa9b8fc(_0x4f089c._0x53333c,_0x4f089c._0x1ebf15,0x486,_0x4f089c._0x7e3204)]['descriptio'+'n'];if(_0x2402a4['tohML'](_0x4748a4['body'][_0x4f0b3b(0x176,_0x4f089c._0x58cc1c,_0x4f089c._0x4321fe,_0x4f089c._0x26aab0)+'s'],undefined)){if(!Array['isArray'](_0x4748a4['body']['permission'+'s'])||_0x2402a4[_0xa9b8fc(_0x4f089c._0x5621e5,_0x4f089c._0x218e8e,_0x4f089c._0x56a87b,_0x4f089c._0xb19468)](_0x4748a4[_0xa9b8fc(_0x4f089c._0x4faabc,0x49e,0x45c,0x499)][_0x4f0b3b(0x148,_0x4f089c._0x1608d6,_0x4f089c._0x500cf4,0x133)+'s']['length'],-0x10b3+0x74f*0x2+-0x29*-0xd)){const _0x95eb21={};return _0x95eb21[_0x4f0b3b(0xf7,0x118,_0x4f089c._0x246748,0xdc)]=_0x2402a4[_0xa9b8fc(_0x4f089c._0x162c82,_0x4f089c._0x165d57,_0x4f089c._0x1536a6,_0x4f089c._0x574039)],_0x95eb21[_0xa9b8fc(_0x4f089c._0x167fb4,_0x4f089c._0x19ac92,_0x4f089c._0x28b357,_0x4f089c._0x5c7d4b)]=_0x4f0b3b(0x17f,_0x4f089c._0x2f6333,_0x4f089c._0x2a4f46,0x100)+_0xa9b8fc(_0x4f089c._0xf6116e,0x486,_0x4f089c._0x18f84a,0x476)+_0xa9b8fc(_0x4f089c._0x51c017,0x48c,_0x4f089c._0x420320,0x486)+_0xa9b8fc(0x4e4,_0x4f089c._0x52036f,_0x4f089c._0x5ba3c8,_0x4f089c._0x377432),_0x4ae5ad['status'](-0x12ac+-0x9+-0x1445*-0x1)[_0xa9b8fc(_0x4f089c._0x68358,_0x4f089c._0x4c3197,0x47c,0x45e)](_0x95eb21);}const _0x24c0b5=_0x4748a4[_0xa9b8fc(0x475,0x49e,0x474,_0x4f089c._0x3aca07)]['permission'+'s']['filter'](_0x2e23b7=>!isValidPermission(_0x2e23b7));if(_0x24c0b5[_0xa9b8fc(0x47b,_0x4f089c._0x3352bb,0x498,_0x4f089c._0x1e52cf)]>0x50b+-0x1*0x651+0x2*0xa3)return _0x4ae5ad['status'](0x6*-0x53+0xeeb*0x1+0xb69*-0x1)[_0x4f0b3b(_0x4f089c._0x350a4b,_0x4f089c._0x51d1ad,0xfd,0xed)]({'error':_0x2402a4[_0x4f0b3b(0x11d,0xe2,0xe7,0xa3)],'message':_0x4f0b3b(0xf1,0xd3,0xdf,0x99)+'rmissions:'+'\x20'+_0x24c0b5[_0xa9b8fc(_0x4f089c._0x42597e,0x4ae,0x4e1,_0x4f089c._0x47ce75)](',\x20')});_0x57bdb1[_0xa9b8fc(0x492,0x4a1,0x4b9,0x48e)+'s']=_0x4748a4[_0xa9b8fc(0x4a5,0x49e,_0x4f089c._0x547897,0x480)][_0x4f0b3b(_0x4f089c._0x3eb765,0x13e,_0x4f089c._0x2b30de,0x180)+'s'];}const _0x490fcc=await updateRole(_0x4a2409['id'],_0x57bdb1),_0x193359={};return _0x193359[_0x4f0b3b(0xdd,0xee,_0x4f089c._0x1d0598,_0x4f089c._0x424bac)]='Role\x20updat'+'ed\x20success'+_0x4f0b3b(_0x4f089c._0x4a7244,0x124,0x157,0x14b),_0x193359[_0x4f0b3b(_0x4f089c._0x40b415,0xed,_0x4f089c._0x3b8dd2,_0x4f089c._0x2b2fb5)]=_0x490fcc,_0x4ae5ad[_0xa9b8fc(0x469,0x472,0x444,0x46c)](_0x193359);}else{const _0x16f33a={};return _0x16f33a[_0x4f0b3b(_0x4f089c._0x32ed0f,0x118,0x14a,0x143)]=_0x2402a4[_0x4f0b3b(_0x4f089c._0x56747d,0xe1,0x105,_0x4f089c._0x4220c3)],_0x3c0ca6[_0x4f0b3b(0x113,_0x4f089c._0x14af9c,0x10c,_0x4f089c._0x5cd294)](0x1d77+0x4*0x68b+-0x360f)[_0xa9b8fc(_0x4f089c._0x68358,0x472,_0x4f089c._0x2219ec,_0x4f089c._0x127fe3)](_0x16f33a);}}catch(_0x5f5610){if(_0x5f5610['message']['includes'](_0x4f0b3b(_0x4f089c._0x5eb612,0x112,_0x4f089c._0x13d9b5,_0x4f089c._0x3dcaba)+_0xa9b8fc(0x47b,_0x4f089c._0x2ca8cb,_0x4f089c._0x8541a6,_0x4f089c._0x28b357))){const _0x30db06={};return _0x30db06[_0x4f0b3b(_0x4f089c._0x61f29b,0x118,0x13a,0x134)]=_0x2402a4[_0xa9b8fc(0x469,0x46a,0x455,_0x4f089c._0x2ea8c4)],_0x30db06['message']=_0x5f5610[_0x4f0b3b(_0x4f089c._0x3913ac,0xee,_0x4f089c._0x151d9b,0xc2)],_0x4ae5ad[_0x4f0b3b(0xdd,0xf6,_0x4f089c._0x5b367a,_0x4f089c._0x37e21c)](-0x1746+0x5*0x1b5+0x1056)[_0x4f0b3b(_0x4f089c._0x455339,_0x4f089c._0x51d1ad,0xe3,0xdf)](_0x30db06);}if(_0x5f5610['code']===_0x2402a4[_0x4f0b3b(0x119,0xde,0x111,0xcb)]){if(_0x2402a4[_0x4f0b3b(_0x4f089c._0x9ebf9e,_0x4f089c._0x8a1de2,_0x4f089c._0x35cc63,0x12d)]!==_0x2402a4[_0xa9b8fc(0x463,_0x4f089c._0x448da6,_0x4f089c._0x50d72d,_0x4f089c._0x5ec287)]){const _0x57ca43={};return _0x57ca43[_0x4f0b3b(0xec,0x118,0x14d,0x112)]=_0x2402a4[_0xa9b8fc(_0x4f089c._0x242f70,_0x4f089c._0x165d57,0x469,0x444)],_0x57ca43[_0xa9b8fc(0x43a,0x451,_0x4f089c._0x361a39,_0x4f089c._0xdac8e2)]=_0x2402a4[_0xa9b8fc(_0x4f089c._0x4c975e,0x47d,_0x4f089c._0x306b79,_0x4f089c._0x279860)],_0x581e18[_0xa9b8fc(_0x4f089c._0x15433f,_0x4f089c._0x31cc92,_0x4f089c._0x12cebd,0x467)](0xd47*0x1+0xd5a+-0xcf*0x1f)[_0xa9b8fc(_0x4f089c._0x4c5eab,_0x4f089c._0x57a5f0,0x49a,0x49f)](_0x57ca43);}else{const _0x3ea793={};return _0x3ea793[_0xa9b8fc(_0x4f089c._0x282f8,0x47b,0x48c,_0x4f089c._0x18f84a)]=_0x2402a4[_0xa9b8fc(_0x4f089c._0x3e7a7e,_0x4f089c._0x503191,_0x4f089c._0x1c9667,0x480)],_0x3ea793['message']=_0x5f5610[_0xa9b8fc(_0x4f089c._0x561189,0x451,_0x4f089c._0x5b0677,_0x4f089c._0x1cfcdc)],_0x4ae5ad['status'](-0x259d*-0x1+-0xbba+-0x1853*0x1)[_0xa9b8fc(_0x4f089c._0x2b7cd9,_0x4f089c._0x390266,_0x4f089c._0xce22c0,_0x4f089c._0x586e2e)](_0x3ea793);}}const _0x546e38={};_0x546e38['error']=_0x5f5610['message'],logger[_0x4f0b3b(0x130,0x118,_0x4f089c._0x43117f,_0x4f089c._0x48201e)](_0x2402a4[_0x4f0b3b(0x162,0x131,0x14a,_0x4f089c._0x7fd73c)],_0x546e38);const _0xb2e144={};return _0xb2e144['error']=_0x2402a4[_0x4f0b3b(0x163,_0x4f089c._0x189154,_0x4f089c._0x14af9c,0x134)],_0x4ae5ad['status'](0x12a9+-0x1123*0x1+0x6e)[_0xa9b8fc(_0x4f089c._0x52d201,_0x4f089c._0x390266,_0x4f089c._0x235007,0x469)](_0xb2e144);}}),router[_0x491527(0x141,0x106,0x10c,0x101)](_0x2f468a(0x163,0x17f,0x16d,0x14c),requirePermission('settings:m'+'anage'),async(_0x4f3141,_0x4e626b)=>{const _0x33f2df={_0x3e40a4:0x11,_0x36241b:0x4e,_0x5247fb:0x53,_0x25bb26:0x6,_0x24285c:0x3a,_0x20f678:0x3c,_0x17927b:0x73,_0x51fb7e:0x24f,_0x3a2b53:0x273,_0x486f88:0x27d,_0x576551:0x37,_0x50010c:0x12,_0x1d7491:0x1c,_0x36208b:0x22e,_0x24a7b9:0x261,_0x324cd3:0x267,_0x346aa1:0x255,_0x3a49d8:0x17,_0xc1abe1:0x2b,_0x311d50:0x1e3,_0xd69831:0x21c,_0x395352:0x219,_0x2bdec4:0x26c,_0x51bacb:0x248,_0x4adb56:0x6c,_0xfd1366:0x33,_0x19fffd:0x6e,_0x3c4275:0x36,_0x1e861e:0x35,_0x307567:0x260,_0x588d84:0x25c,_0x3ff9f7:0x31,_0x20a9b9:0x47,_0xd67995:0x294,_0x675f40:0x241,_0x3f0f2a:0x272,_0x3b8be6:0x22d,_0x354594:0x232,_0x4c27cc:0x4a,_0x3293f7:0x79,_0x314a22:0x38,_0x331dee:0x30,_0x24aa82:0x4c,_0x41cd76:0x41,_0x1daa09:0x281,_0x2088e0:0x25d,_0x2bcbfb:0x28c,_0x1a5694:0x246,_0x1671c8:0x268,_0xa90902:0x27d,_0x3e683c:0x26a,_0x26bc49:0x24a,_0x3aa8c7:0x248,_0x4acd1c:0x228,_0x346d0c:0x251,_0x1832ea:0x262,_0x4ee3c3:0x27a,_0x496a46:0x22b,_0x3babcf:0x1f9,_0x3904f6:0x1df,_0x12c385:0x20d,_0xacaf4e:0x29d,_0x2006e7:0x24a,_0xf2a60f:0x247,_0x1a6f2e:0xf,_0x4f8b4f:0x46,_0x1ee19a:0x51,_0x389e4a:0x74,_0x306767:0x1d,_0x360608:0x281,_0x38ad12:0xb,_0x2bbd41:0x3f,_0x3af73d:0x3c,_0x18e864:0x5b,_0x77f370:0x2c,_0x248bfb:0x27,_0x650ea3:0x23,_0x53eb63:0x3d,_0x3039ab:0x25,_0x141da1:0x13,_0xff879:0x17,_0x49e1c1:0x2,_0x4c0f8d:0x18,_0x67ac7b:0x26f,_0x5d4b19:0x250,_0x44f4c4:0x25d,_0x4d290f:0x26f,_0x3f51e5:0x291,_0x38a714:0x22a,_0x29380b:0x27c,_0x1df507:0x9,_0x5ca5b9:0x43,_0x4fd606:0x233,_0x5d8d76:0x26a,_0x2885d6:0x16,_0x337b89:0x7,_0x5c5c20:0x18,_0x5aa875:0xb,_0x5c645b:0x1e,_0x4f2f64:0x3,_0x57c74c:0x26,_0x418b83:0x214,_0x133242:0x28a,_0x3ce4e5:0x23e},_0x3999f7={_0x29f6eb:0xb4,_0x187dfd:0x8},_0x4c446f={_0x21e59d:0xbd};function _0x5e0a51(_0x4afcb5,_0x4b51ac,_0x5607bd,_0x311e9a){return _0x491527(_0x311e9a,_0x4afcb5- -0xd7,_0x5607bd-_0x4c446f._0x21e59d,_0x311e9a-0x1cf);}const _0x1ae01c={'rwpAw':_0x5e0a51(_0x33f2df._0x3e40a4,-0x30,_0x33f2df._0x36241b,_0x33f2df._0x5247fb),'EaMxW':_0x5e0a51(_0x33f2df._0x25bb26,-0x2b,-_0x33f2df._0x24285c,-0x31)+_0x3636e2(-0x24f,-0x23d,-0x208,-0x22e),'ZLFyG':function(_0x1b2ba1){return _0x1b2ba1();},'IDvMi':function(_0x4103a4,_0x40a03b){return _0x4103a4>_0x40a03b;},'RLecz':_0x5e0a51(0x57,_0x33f2df._0x20f678,_0x33f2df._0x17927b,0x31)+'e','MxcJH':function(_0x480881,_0xe9a2e3){return _0x480881(_0xe9a2e3);},'RVLPZ':_0x3636e2(-_0x33f2df._0x51fb7e,-_0x33f2df._0x3a2b53,-_0x33f2df._0x486f88,-0x25d)+_0x5e0a51(_0x33f2df._0x576551,_0x33f2df._0x50010c,0x2c,_0x33f2df._0x1d7491)+_0x3636e2(-0x238,-_0x33f2df._0x36208b,-_0x33f2df._0x24a7b9,-0x23c),'MpHWU':function(_0x5494f2,_0x21a1f7){return _0x5494f2===_0x21a1f7;},'awNLI':'accwv','luGfF':_0x3636e2(-0x26c,-_0x33f2df._0x324cd3,-0x297,-_0x33f2df._0x346aa1)+'ting\x20role','sjxVb':_0x5e0a51(-0xf,-_0x33f2df._0x3a49d8,-_0x33f2df._0xc1abe1,-0x3d)+'erver\x20erro'+'r'};function _0x3636e2(_0x26151f,_0xc195df,_0x3a3f57,_0x5b7c7a){return _0x491527(_0x26151f,_0x5b7c7a- -0x33e,_0x3a3f57-_0x3999f7._0x29f6eb,_0x5b7c7a-_0x3999f7._0x187dfd);}try{const _0x21c83c=await getRoleById(_0x4f3141[_0x3636e2(-_0x33f2df._0x311d50,-_0x33f2df._0xd69831,-0x21a,-_0x33f2df._0x395352)]['id']);if(!_0x21c83c){const _0x167159={};return _0x167159[_0x3636e2(-0x241,-_0x33f2df._0x2bdec4,-0x26a,-_0x33f2df._0x51bacb)]=_0x1ae01c[_0x5e0a51(0x4f,_0x33f2df._0x4adb56,_0x33f2df._0xfd1366,_0x33f2df._0x19fffd)],_0x4e626b['status'](-0x1144+0x1c80+-0x9a8)['json'](_0x167159);}if(_0x21c83c[_0x5e0a51(_0x33f2df._0x3c4275,_0x33f2df._0x1e861e,0x4e,0x10)]){const _0x2af0ed={};return _0x2af0ed[_0x3636e2(-0x223,-_0x33f2df._0x307567,-0x283,-0x248)]='Cannot\x20del'+_0x3636e2(-0x26c,-_0x33f2df._0x588d84,-0x234,-_0x33f2df._0x51fb7e)+_0x5e0a51(_0x33f2df._0x3ff9f7,0x5,_0x33f2df._0x20a9b9,0x6c),_0x2af0ed[_0x3636e2(-0x29c,-_0x33f2df._0xd67995,-_0x33f2df._0x675f40,-_0x33f2df._0x3f0f2a)]=_0x3636e2(-0x274,-0x26f,-_0x33f2df._0x3b8be6,-_0x33f2df._0x354594)+_0x21c83c[_0x3636e2(-0x237,-0x203,-0x21a,-0x20d)]+(_0x5e0a51(0x5,-0x3c,-0x1e,0x10)+_0x5e0a51(_0x33f2df._0x4c27cc,0x11,0x46,_0x33f2df._0x3293f7)+'le\x20and\x20can'+_0x5e0a51(-0xa,-_0x33f2df._0x576551,_0x33f2df._0x314a22,_0x33f2df._0x331dee)+_0x5e0a51(_0x33f2df._0x24aa82,_0x33f2df._0x41cd76,0x59,0x3a)),_0x4e626b['status'](0x177+0x1b5e+-0x1*0x1b45)[_0x3636e2(-_0x33f2df._0x1daa09,-_0x33f2df._0x2088e0,-0x277,-0x251)](_0x2af0ed);}const _0x1fac8a=await _0x1ae01c['ZLFyG'](getBindings),_0x132515=_0x1fac8a[_0x5e0a51(0x32,0x52,_0x33f2df._0x5247fb,0x50)](_0x56e567=>_0x56e567[_0x5e0a51(0x54,0x61,0x1e,0x33)]===_0x21c83c['id']);if(_0x1ae01c['IDvMi'](_0x132515[_0x3636e2(-_0x33f2df._0x2bcbfb,-_0x33f2df._0x1a5694,-0x268,-_0x33f2df._0x1671c8)],-0x1*-0xf3+-0x3f*-0x89+0xae*-0x33))return _0x4e626b[_0x3636e2(-0x295,-0x28a,-_0x33f2df._0xa90902,-_0x33f2df._0x3e683c)](-0x3b*0x47+0xe0a+0x3ec)[_0x3636e2(-_0x33f2df._0x26bc49,-_0x33f2df._0x3aa8c7,-_0x33f2df._0x4acd1c,-_0x33f2df._0x346d0c)]({'error':_0x1ae01c[_0x3636e2(-_0x33f2df._0x1832ea,-_0x33f2df._0x4ee3c3,-_0x33f2df._0x496a46,-0x26d)],'message':_0x3636e2(-_0x33f2df._0x3babcf,-0x222,-0x20c,-_0x33f2df._0x354594)+_0x21c83c[_0x3636e2(-_0x33f2df._0x3904f6,-0x224,-0x1d4,-_0x33f2df._0x12c385)]+('\x27\x20is\x20refer'+'enced\x20by\x20')+_0x132515[_0x3636e2(-_0x33f2df._0xacaf4e,-_0x33f2df._0x2006e7,-_0x33f2df._0xf2a60f,-0x268)]+(_0x5e0a51(_0x33f2df._0x1a6f2e,_0x33f2df._0x4f8b4f,-0x14,0x1b)+_0x5e0a51(0x3f,0x5e,0x49,0x6e)+_0x5e0a51(_0x33f2df._0x1ee19a,0x1e,0x83,0x4c)+_0x5e0a51(0x53,_0x33f2df._0x389e4a,0x90,_0x33f2df._0x306767)),'bindings':_0x132515[_0x5e0a51(0x7,0x1a,-_0x33f2df._0x3c4275,-_0x33f2df._0x1d7491)](_0x312d37=>({'id':_0x312d37['id'],'resource_type':_0x312d37['resource_t'+_0x5e0a51(-0x23,0x10,-0x3b,0x1a)],'resource_id':_0x312d37['resource_i'+'d'],'subject_type':_0x312d37[_0x3636e2(-0x24f,-0x26c,-0x247,-0x254)+'pe'],'subject_id':_0x312d37[_0x3636e2(-0x251,-0x290,-0x25b,-0x289)]}))});await _0x1ae01c[_0x3636e2(-0x271,-0x250,-0x299,-_0x33f2df._0x360608)](deleteRole,_0x21c83c['id']);const _0x3948b3={};return _0x3948b3[_0x5e0a51(-_0x33f2df._0x38ad12,-_0x33f2df._0x2bbd41,0x1e,-_0x33f2df._0x3af73d)]=_0x1ae01c[_0x5e0a51(_0x33f2df._0x18e864,0x7a,_0x33f2df._0x77f370,_0x33f2df._0x248bfb)],_0x4e626b[_0x5e0a51(0x16,_0x33f2df._0x650ea3,_0x33f2df._0x53eb63,-0x1f)](_0x3948b3);}catch(_0x2cc711){if(_0x1ae01c[_0x5e0a51(_0x33f2df._0x3039ab,0x12,0x3f,_0x33f2df._0x141da1)](_0x1ae01c[_0x5e0a51(_0x33f2df._0xff879,_0x33f2df._0x49e1c1,-_0x33f2df._0x4c0f8d,_0x33f2df._0x576551)],_0x1ae01c[_0x3636e2(-_0x33f2df._0x67ac7b,-0x214,-0x21a,-_0x33f2df._0x5d4b19)])){const _0x5d790a={};_0x5d790a[_0x3636e2(-0x240,-_0x33f2df._0x44f4c4,-_0x33f2df._0x4d290f,-_0x33f2df._0x3aa8c7)]=_0x2cc711[_0x3636e2(-0x249,-0x2b0,-_0x33f2df._0x3f51e5,-0x272)],logger[_0x3636e2(-_0x33f2df._0x38a714,-_0x33f2df._0x29380b,-0x245,-0x248)](_0x1ae01c[_0x5e0a51(0x2,_0x33f2df._0x1df507,-0xb,_0x33f2df._0x5ca5b9)],_0x5d790a);const _0x1d2374={};return _0x1d2374['error']=_0x1ae01c['sjxVb'],_0x4e626b[_0x3636e2(-_0x33f2df._0x4fd606,-0x236,-0x2ab,-_0x33f2df._0x5d8d76)](0x23fc+-0x452*0x7+-0x3ca)[_0x5e0a51(_0x33f2df._0x2885d6,_0x33f2df._0x3039ab,-_0x33f2df._0x337b89,-0x4)](_0x1d2374);}else{const _0x3b5ac8={};return _0x3b5ac8['error']=_0x1ae01c[_0x5e0a51(0x1,-_0x33f2df._0x248bfb,-0xe,_0x33f2df._0x5c5c20)],_0x3b5ac8['message']=_0x3e820a[_0x5e0a51(-_0x33f2df._0x5aa875,0x34,-0x47,_0x33f2df._0x5c645b)],_0x3e0aa0[_0x5e0a51(-_0x33f2df._0x4f2f64,-0x1e,0x35,_0x33f2df._0x57c74c)](-0x1e9b+-0x2*0x107b+-0x1b7*-0x26)[_0x3636e2(-_0x33f2df._0x418b83,-_0x33f2df._0x133242,-_0x33f2df._0x3ce4e5,-_0x33f2df._0x346d0c)](_0x3b5ac8);}}});export default router;
|
|
1
|
+
(function(_0x4512bf,_0x46db17){const _0x2fdca1={_0x3b536d:0x84,_0x3f56bf:0x66,_0x5de37b:0xa6,_0x3bd018:0x70,_0x226245:0xea,_0x458865:0xe8,_0x4f3796:0xca,_0x5e2f19:0xe9,_0x4fde8b:0xd6,_0x87b123:0x103,_0xef0ee7:0xce,_0x1a54db:0x44,_0x4f4b88:0x27,_0x17f553:0x28,_0x436d23:0x25,_0x3d0d7f:0x5e,_0x14e602:0x56,_0x4ac4e9:0xaa,_0xb2f17e:0x127,_0x2cdc5c:0xd9,_0x1d485f:0x116,_0x1f6eed:0xa1,_0x311ac4:0xa0,_0x1195ad:0x72},_0x4f400a={_0x21013b:0x18b},_0x5456bf=_0x4512bf();function _0x866bba(_0x295227,_0x420f7c,_0x246264,_0x1642d4){return _0x74db(_0x420f7c- -0x45,_0x295227);}function _0x31be29(_0x351a71,_0x489e1c,_0x3d33b5,_0xcab580){return _0x74db(_0xcab580- -_0x4f400a._0x21013b,_0x3d33b5);}while(!![]){try{const _0x55a689=-parseInt(_0x866bba(_0x2fdca1._0x3b536d,_0x2fdca1._0x3f56bf,_0x2fdca1._0x5de37b,_0x2fdca1._0x3bd018))/(0xcba+0x33d*-0x5+0x378)*(parseInt(_0x31be29(-0xe4,-0x11b,-_0x2fdca1._0x226245,-_0x2fdca1._0x458865))/(0x23c2+-0x1*0xa96+0x192a*-0x1))+parseInt(_0x31be29(-0xe1,-_0x2fdca1._0x4f3796,-0xc1,-_0x2fdca1._0x5e2f19))/(-0x173c+0xf4f+-0x1*-0x7f0)*(-parseInt(_0x31be29(-_0x2fdca1._0x4fde8b,-_0x2fdca1._0x87b123,-0x87,-_0x2fdca1._0xef0ee7))/(0xe*-0xb3+-0x2*-0xf86+-0x2*0xa9f))+parseInt(_0x866bba(0x8b,_0x2fdca1._0x1a54db,0x2e,_0x2fdca1._0x4f4b88))/(0x73f+-0x1b35+0x3ff*0x5)+-parseInt(_0x866bba(0x34,_0x2fdca1._0x17f553,_0x2fdca1._0x436d23,0x54))/(0x16a9*0x1+-0x8e8+-0x1*0xdbb)+parseInt(_0x866bba(_0x2fdca1._0x3d0d7f,0x77,_0x2fdca1._0x14e602,0x56))/(0x1aa4+0x290*-0x5+0xdcd*-0x1)+parseInt(_0x31be29(-_0x2fdca1._0x4ac4e9,-0x71,-0x7d,-0xac))/(0x1b8a+0x2*0x3f+-0x1c00)*(-parseInt(_0x31be29(-_0x2fdca1._0xb2f17e,-0x11d,-_0x2fdca1._0x2cdc5c,-_0x2fdca1._0x1d485f))/(0x18f0+0x2656+-0x1*0x3f3d))+parseInt(_0x866bba(_0x2fdca1._0x1f6eed,0xa7,_0x2fdca1._0x311ac4,_0x2fdca1._0x1195ad))/(-0x1*0x1389+0xb1+0x971*0x2);if(_0x55a689===_0x46db17)break;else _0x5456bf['push'](_0x5456bf['shift']());}catch(_0x468f99){_0x5456bf['push'](_0x5456bf['shift']());}}}(_0x5da4,0xce0cc+0x10335a+-0xaf1c*0x1d));import _0x21376b from'express';function _0x487d39(_0x48b0e1,_0x32f432,_0x14e0c2,_0x4550d2){return _0x74db(_0x4550d2- -0x93,_0x14e0c2);}import{logger}from'../lib/logger.js';import{getRoles,getRoleById,createRole,updateRole,deleteRole,isValidPermission,inferRoleResourceType}from'../lib/role-definitions.js';import{getBindings}from'../lib/bindings.js';import{getAllPermissionsFlat,getPermissionScope}from'../lib/roles.js';import{requirePermission}from'../middleware/requirePermission.js';const router=_0x21376b[_0xa1c623(0x145,0xc8,0x10e,0xe1)]();router[_0x487d39(-0x16,-0x1b,0x4f,0x22)]('/available'+'-permissio'+'ns',(_0x46059a,_0x20bfd9)=>{const _0x13bc96={_0x3acedd:0x126,_0x457ca5:0x142,_0x3ec89c:0x18c,_0x171e5c:0x164,_0xc398f6:0x1eb},_0xafc0fd={_0x33eeee:0x2c6},_0x27ba40={_0x88076d:0x1c6,_0x52d333:0x32,_0x18f2c0:0x2b2},_0x55546d=getAllPermissionsFlat(),_0x3b303e=Object[_0x5558e0(-_0x13bc96._0x3acedd,-0x17e,-0x13c,-_0x13bc96._0x457ca5)](_0x55546d)[_0x5558e0(-0x167,-_0x13bc96._0x3ec89c,-_0x13bc96._0x171e5c,-0x156)](([_0x1e7dfa,_0x262a57])=>({'key':_0x1e7dfa,'description':_0x262a57,'category':_0x1e7dfa[_0x5558e0(-0x176,-0x1a2,-0x194,-0x1b9)](':')[-0x142f+0x1a95+-0x6*0x111],'scope':getPermissionScope(_0x1e7dfa)})),_0x3db457={};function _0xc6724f(_0x3c1847,_0x5446a5,_0x8d3148,_0x46cf0e){return _0xa1c623(_0x3c1847-_0x27ba40._0x88076d,_0x5446a5-_0x27ba40._0x52d333,_0x8d3148-_0x27ba40._0x18f2c0,_0x3c1847);}function _0x5558e0(_0x54e8c9,_0xd0bdb7,_0x37528d,_0x1509e5){return _0xa1c623(_0x54e8c9-0x172,_0xd0bdb7-0x96,_0x37528d- -_0xafc0fd._0x33eeee,_0x1509e5);}return _0x3db457[_0x5558e0(-0x1d2,-_0x13bc96._0xc398f6,-0x1bd,-0x1bd)+'s']=_0x3b303e,_0x20bfd9['json'](_0x3db457);}),router[_0x487d39(0x69,-0x1f,0x23,0x22)]('/',async(_0xa27b24,_0x31d8eb)=>{const _0x5c82a6={_0x2f388b:0x375,_0x313d9a:0x28f,_0x209089:0x2c6,_0x4c7627:0x2d0,_0x3979fd:0x328,_0x27b84e:0x359,_0x18b685:0x2bb,_0x378948:0x2e8,_0x4b1a6b:0x321,_0x2bd904:0x329,_0x53f2a2:0x36b,_0x135d42:0x331,_0x2d0e3a:0x33b,_0x3c2955:0x2db,_0x430349:0x355,_0x3d5890:0x353,_0x5985a1:0x318,_0x27adc5:0x332,_0x28652c:0x2cd,_0x864989:0x2c1,_0xcae7b1:0x384,_0x3159b1:0x35d,_0x2c4be5:0x35b,_0x58dbf2:0x348,_0xc00236:0x2ef,_0x5d2a8:0x2c3,_0x2cb733:0x2f9,_0xb163b:0x33d,_0x421152:0x31a,_0x1af161:0x2de,_0x4b7ec9:0x2aa,_0x17bcfb:0x2fc,_0x4475bd:0x359,_0x47c578:0x395,_0x3628f4:0x347,_0x44eb22:0x346,_0xdb426:0x2e1,_0x4fca88:0x29d},_0x5d10cd={_0x172cf5:0xd7,_0x3054f4:0x2f7},_0x527744={_0x4eeb1a:0x312},_0x5b5513={'EQyUs':_0x58a78a(0x33e,0x30c,0x368,_0x5c82a6._0x2f388b)+'t','tFiUg':function(_0x44d5a4){return _0x44d5a4();},'uXauQ':function(_0x18de46,_0x1c6e74){return _0x18de46===_0x1c6e74;},'RMzmn':_0x47056e(-_0x5c82a6._0x313d9a,-_0x5c82a6._0x209089,-_0x5c82a6._0x4c7627,-0x2db),'nvgdf':'Error\x20list'+_0x58a78a(_0x5c82a6._0x3979fd,_0x5c82a6._0x27b84e,0x35b,0x31f),'dZhVc':_0x47056e(-0x2ed,-0x297,-_0x5c82a6._0x18b685,-_0x5c82a6._0x378948)+_0x47056e(-0x2e4,-0x2ee,-_0x5c82a6._0x4b1a6b,-_0x5c82a6._0x2bd904)+'r'};function _0x58a78a(_0x9eec90,_0x28f014,_0x10d04f,_0x44e51d){return _0x487d39(_0x9eec90-0x15d,_0x28f014-0x1d3,_0x28f014,_0x9eec90-_0x527744._0x4eeb1a);}function _0x47056e(_0x5910a6,_0x5b7db8,_0x53884f,_0x1572cf){return _0x487d39(_0x5910a6-0x92,_0x5b7db8-_0x5d10cd._0x172cf5,_0x5b7db8,_0x53884f- -_0x5d10cd._0x3054f4);}try{const _0x58984d=await _0x5b5513[_0x58a78a(0x329,0x316,_0x5c82a6._0x53f2a2,_0x5c82a6._0x135d42)](getRoles),_0x486e7d=_0x58984d[_0x58a78a(0x346,0x361,0x336,_0x5c82a6._0x2d0e3a)](_0x38c9e9=>({..._0x38c9e9,'resource_type':inferRoleResourceType(_0x38c9e9[_0x58a78a(0x2ed,0x312,0x2f7,0x2f3)+'s'])})),_0x350025={};return _0x350025['roles']=_0x486e7d,_0x31d8eb[_0x47056e(-0x289,-_0x5c82a6._0x3c2955,-0x2ac,-0x2d1)](_0x350025);}catch(_0x19038c){if(_0x5b5513[_0x58a78a(_0x5c82a6._0x430349,_0x5c82a6._0x3d5890,0x35e,0x352)](_0x5b5513['RMzmn'],_0x58a78a(_0x5c82a6._0x5985a1,0x335,_0x5c82a6._0x27adc5,0x316)))return _0x1fc6e3['status'](-0x12dd*-0x1+-0x342*0x1+-0xe0b)[_0x47056e(-_0x5c82a6._0x28652c,-_0x5c82a6._0x864989,-0x2ac,-0x2af)]({'error':_0x5b5513['EQyUs'],'message':_0x58a78a(0x34b,_0x5c82a6._0xcae7b1,0x382,0x38b)+_0x58a78a(_0x5c82a6._0x135d42,_0x5c82a6._0x3159b1,_0x5c82a6._0x2c4be5,_0x5c82a6._0x58dbf2)+'\x20'+_0xfb07c2['join'](',\x20')});else{const _0x4ab9f7={};_0x4ab9f7['error']=_0x19038c['message'],logger[_0x47056e(-_0x5c82a6._0x135d42,-0x302,-_0x5c82a6._0xc00236,-_0x5c82a6._0x5d2a8)](_0x5b5513[_0x58a78a(_0x5c82a6._0x2cb733,0x2cb,0x2fd,_0x5c82a6._0xb163b)],_0x4ab9f7);const _0x4080b2={};return _0x4080b2[_0x58a78a(_0x5c82a6._0x421152,0x2e6,_0x5c82a6._0x1af161,0x30f)]=_0x5b5513[_0x47056e(-0x2e3,-_0x5c82a6._0x4b7ec9,-0x2cc,-_0x5c82a6._0x17bcfb)],_0x31d8eb[_0x58a78a(_0x5c82a6._0x4475bd,_0x5c82a6._0x47c578,_0x5c82a6._0x3628f4,_0x5c82a6._0x44eb22)](-0x1912*0x1+-0x1*-0x2215+-0xd*0x8b)[_0x47056e(-_0x5c82a6._0xdb426,-_0x5c82a6._0x4fca88,-0x2ac,-0x2eb)](_0x4080b2);}}});function _0xa1c623(_0xcd5188,_0x1fc457,_0x567bed,_0x538643){const _0x38a385={_0x44b470:0x9b};return _0x74db(_0x567bed-_0x38a385._0x44b470,_0x538643);}router[_0x487d39(0x28,0x1a,0x15,0x22)](_0xa1c623(0x12e,0x151,0x168,0x148),async(_0x3cfd31,_0x2f2146)=>{const _0x2e1897={_0x2fba08:0x340,_0x5a4ed:0x315,_0x31b6af:0x35e,_0x3bc3b5:0x2f6,_0x54c771:0x377,_0x4d0d8f:0x332,_0x3a5e84:0x2d4,_0x3e4974:0x2e0,_0x77606:0x33d,_0x328b67:0x2fd,_0x394ab9:0x304,_0x2622d2:0x2f3,_0x267695:0x2fe,_0x21eb8b:0x38b,_0x288a0d:0x32e,_0x1c9b5a:0x34b,_0x5d8cc2:0x351,_0x24e2d1:0x2fc,_0x236dea:0x2db,_0x3a75a1:0x2a5,_0x33b436:0x303,_0x53e815:0x31e,_0x48bf1f:0x2db,_0x293b5b:0x2d0,_0x44278d:0x388,_0x460245:0x318,_0x46d30:0x300,_0x286273:0x3ce,_0x59243f:0x388,_0x4ce6c2:0x3ab,_0x40cce6:0x373,_0x48e608:0x3a4,_0xa71e6c:0x33a,_0x38731b:0x370,_0x2e0841:0x365,_0x47ff74:0x394,_0x168220:0x383,_0x4447f2:0x32f,_0x41a181:0x35a,_0x514c75:0x2cf,_0x4a59c6:0x2e1,_0xa11ced:0x350,_0x3d3c43:0x2ae,_0x521720:0x31e,_0x46f0d0:0x2e8,_0xbaf65:0x398,_0x52bdd0:0x3be,_0x498dc3:0x312,_0x13e337:0x3a0,_0x2c6c4e:0x382,_0x49a6ac:0x313,_0x2f18a6:0x31e,_0x31086d:0x2de,_0x32fd02:0x310,_0x491b0c:0x328,_0x307478:0x338,_0x4bfdc8:0x2df,_0xe5f831:0x2a8},_0x18dda5={_0x5154b1:0xad,_0x535de1:0x1ed},_0x522d11={_0x146ade:0x12b,_0xe7791:0x326};function _0x333856(_0x3ad712,_0x55ae93,_0x5744d2,_0x6c8ea6){return _0x487d39(_0x3ad712-_0x522d11._0x146ade,_0x55ae93-0x1bc,_0x55ae93,_0x5744d2- -_0x522d11._0xe7791);}function _0x3b5345(_0x5e3422,_0xabfab4,_0x4598b5,_0x1f2c2d){return _0x487d39(_0x5e3422-_0x18dda5._0x5154b1,_0xabfab4-_0x18dda5._0x535de1,_0xabfab4,_0x5e3422-0x346);}const _0x3e71fa={'ykOMW':_0x3b5345(_0x2e1897._0x2fba08,0x352,_0x2e1897._0x5a4ed,_0x2e1897._0x31b6af)+'e','xLFAL':function(_0x239f21,_0x45f2f5){return _0x239f21(_0x45f2f5);},'iVVwl':function(_0x231736,_0x55135e){return _0x231736!==_0x55135e;},'cmacm':'qeMjo','YnrnT':_0x333856(-0x34f,-_0x2e1897._0x3bc3b5,-0x321,-0x31f)+'ound','dCncT':'Error\x20gett'+_0x333856(-_0x2e1897._0x54c771,-0x34c,-_0x2e1897._0x4d0d8f,-0x33e)};try{const _0xa4ff4a=await _0x3e71fa[_0x333856(-0x314,-_0x2e1897._0x3a5e84,-_0x2e1897._0x3e4974,-0x2d1)](getRoleById,_0x3cfd31[_0x333856(-_0x2e1897._0x77606,-0x30f,-0x331,-_0x2e1897._0x328b67)]['id']);if(!_0xa4ff4a){if(_0x3e71fa[_0x3b5345(0x322,_0x2e1897._0x394ab9,0x353,_0x2e1897._0x2622d2)](_0x3e71fa[_0x333856(-0x2be,-0x2a4,-0x2c2,-_0x2e1897._0x267695)],_0x333856(-_0x2e1897._0x21eb8b,-_0x2e1897._0x288a0d,-0x34e,-_0x2e1897._0x1c9b5a))){const _0x3d5538={};return _0x3d5538['error']=_0x3e71fa[_0x3b5345(0x385,_0x2e1897._0x5d8cc2,0x376,0x366)],_0x2f2146['status'](0x1*0x5bf+-0xa94+0x669)[_0x333856(-_0x2e1897._0x24e2d1,-0x304,-_0x2e1897._0x236dea,-_0x2e1897._0x3a75a1)](_0x3d5538);}else return _0x437513['status'](-0x38e+-0x2d3*0x7+-0x4fc*-0x5)[_0x333856(-_0x2e1897._0x33b436,-_0x2e1897._0x53e815,-_0x2e1897._0x48bf1f,-_0x2e1897._0x293b5b)]({'error':_0x3e71fa[_0x3b5345(0x354,_0x2e1897._0x44278d,0x348,_0x2e1897._0x460245)],'message':'The\x20role\x20\x27'+_0x5ad69c[_0x333856(-0x2d8,-_0x2e1897._0x46d30,-0x312,-0x314)]+(_0x3b5345(0x3a5,_0x2e1897._0x286273,_0x2e1897._0x59243f,_0x2e1897._0x4ce6c2)+_0x3b5345(_0x2e1897._0x40cce6,_0x2e1897._0x48e608,_0x2e1897._0xa71e6c,_0x2e1897._0x38731b))+_0xd1ffae['length']+('\x20binding(s'+_0x3b5345(0x338,_0x2e1897._0x2e0841,0x330,0x344)+_0x3b5345(0x3a4,0x389,_0x2e1897._0x47ff74,_0x2e1897._0x168220)+_0x3b5345(_0x2e1897._0x4447f2,_0x2e1897._0x77606,_0x2e1897._0x41a181,0x377)),'bindings':_0x22ec0f[_0x333856(-_0x2e1897._0x514c75,-0x32d,-0x2f2,-_0x2e1897._0x4a59c6)](_0x11bade=>({'id':_0x11bade['id'],'resource_type':_0x11bade[_0x3b5345(0x339,0x334,0x30b,0x379)+_0x333856(-0x306,-0x35b,-0x32a,-0x330)],'resource_id':_0x11bade[_0x3b5345(0x366,0x384,0x325,0x362)+'d'],'subject_type':_0x11bade[_0x3b5345(0x35f,0x32b,0x383,0x32d)+'pe'],'subject_id':_0x11bade[_0x3b5345(0x396,0x3c1,0x391,0x3bf)]}))});}const _0x2c3a19={};return _0x2c3a19[_0x3b5345(0x378,0x3ad,0x336,_0x2e1897._0xa11ced)]=_0xa4ff4a,_0x2f2146[_0x333856(-0x2fc,-0x2a0,-0x2db,-_0x2e1897._0x3d3c43)](_0x2c3a19);}catch(_0x2c383b){const _0xd4d51e={};_0xd4d51e[_0x333856(-0x34d,-0x326,-_0x2e1897._0x521720,-_0x2e1897._0x46f0d0)]=_0x2c383b[_0x3b5345(0x376,_0x2e1897._0xbaf65,0x39d,_0x2e1897._0x52bdd0)],logger[_0x333856(-0x34a,-0x34a,-0x31e,-_0x2e1897._0x498dc3)](_0x3e71fa[_0x3b5345(_0x2e1897._0x13e337,0x3c9,0x36d,0x3b6)],_0xd4d51e);const _0x243664={};return _0x243664[_0x3b5345(0x34e,_0x2e1897._0x2c6c4e,_0x2e1897._0x49a6ac,_0x2e1897._0x2f18a6)]=_0x333856(-0x2ce,-_0x2e1897._0x31086d,-0x2ea,-_0x2e1897._0x32fd02)+_0x3b5345(0x31c,0x359,_0x2e1897._0x491b0c,_0x2e1897._0x307478)+'r',_0x2f2146[_0x333856(-0x2c3,-0x2bc,-_0x2e1897._0x4bfdc8,-_0x2e1897._0xe5f831)](0x1669+0x499+-0x190e)['json'](_0x243664);}}),router[_0x487d39(-0x35,0x2,-0x47,-0x9)]('/',requirePermission(_0xa1c623(0x1a0,0x172,0x178,0x186)+'anage'),async(_0x3428cf,_0x11e632)=>{const _0x41f876={_0x2aced4:0x39,_0xc9a054:0x1,_0x466855:0x5b,_0x3edec7:0x30,_0x570a14:0x1c,_0x2b2efd:0x8,_0xfddc05:0x1e8,_0x3deba4:0x1cc,_0x43ae93:0x1d3,_0x433cfa:0x1e,_0x48835a:0x36,_0x8953bd:0x1f1,_0x2f3129:0x19d,_0x1f5467:0x7a,_0x35fbd1:0x1ee,_0xaefca2:0x63,_0x2f7867:0x86,_0x331117:0x28,_0x46fff9:0x87,_0x3263a1:0x19d,_0x325a5a:0x73,_0x45d9bc:0x60,_0xcd06a6:0x6e,_0x1a0ed8:0x66,_0x440ed3:0x1b5,_0x145f8c:0x20d,_0x14277a:0x1c4,_0xd74926:0x204,_0x351bf4:0x20f,_0xfa241:0x1d9,_0x1bf668:0x77,_0x502f91:0x1c1,_0x105ff3:0x20e,_0x20531c:0x1e5,_0x4e9beb:0x1b3,_0x4d1c55:0x17b,_0x587513:0x1c3,_0x56e9e9:0x1e2,_0x7be01c:0x1ec,_0x5382c3:0x1c9,_0xa07acb:0x3d,_0x43a5f1:0x33,_0x343192:0x41,_0x485841:0x22a,_0xfea80f:0x214,_0x1d52d8:0x216,_0x220540:0x207,_0x1a0481:0x247,_0x675292:0x1f6,_0x492759:0x221,_0x4eca49:0x220,_0x27d71c:0x1d1,_0x15a412:0x1d3,_0x2abd71:0x20b,_0x189c32:0x5e,_0xc0e9b:0x3,_0x83f6a3:0x7b,_0x58ab1d:0x4d,_0x16fe61:0x47,_0x3f7d96:0x6b,_0x5acc57:0x17e,_0x46ece0:0x195,_0x11ccdf:0x2,_0x39c94a:0x40,_0x4520e3:0x34,_0x180c5a:0x7,_0x17254f:0x1a,_0x46d9b3:0x3c,_0x5c8618:0x24,_0x3b1c90:0x34,_0x7b3981:0x1d7,_0x492327:0x1b1,_0x364088:0x1e9,_0x11f6e0:0x72,_0x5b4ba5:0x30,_0x901571:0x74,_0x4e63df:0x54,_0x216921:0x4c,_0x32e267:0x8,_0x12731d:0x12,_0x42dc99:0x27,_0x1f97ad:0x6c,_0x33ef0e:0x12,_0x3d219d:0x1cd,_0x36f194:0x1c9,_0x55bf9a:0x7b,_0x5e0372:0x22b,_0x448850:0x215,_0x66fae6:0x93,_0x28260b:0x1f4,_0x203075:0x53,_0x1cf751:0x2d,_0x229d6e:0x52,_0x926107:0x39,_0x32c218:0x59,_0x43f3dc:0x1c3,_0x5d9c61:0x1c7,_0x49832f:0x220,_0x125e6a:0x1aa,_0x845ef7:0x174,_0x1744e1:0x167,_0x49fe9:0x64,_0x41f071:0x98,_0x2b9519:0x1ba,_0x4c06e3:0x1ab,_0xf3b514:0x199,_0x5279a3:0x19e,_0x25155f:0x170,_0x5d474b:0xaf,_0x3011eb:0x39,_0xa0453e:0x17,_0x5bafd:0x187,_0x1104ec:0x1dd,_0x4c66dd:0x1ce,_0x315d7e:0x8b,_0x401b54:0x5d,_0x189748:0x77,_0x19d4ee:0x76,_0x5e1286:0x18a,_0x5a2648:0x1cc,_0x3075d0:0xaa,_0x185eaa:0x43,_0x33429d:0xbe,_0x36d5eb:0x7a,_0x3b5344:0x68,_0x30ffd9:0x4e,_0x19bfd9:0x3e,_0x56f98c:0x38,_0x1ac5b6:0x205,_0x4c097d:0x1f0,_0x525bee:0x1e3,_0x16c21c:0x67,_0xbdc1c5:0x18b,_0xd3e470:0x1e0,_0x1b62fe:0x98,_0x33221a:0xa6,_0x15a927:0x1de,_0x410011:0x1cd,_0x366c5a:0x45,_0x26f965:0x212,_0x536755:0x4f,_0x15557a:0x39,_0x2ec7f6:0x203,_0xf22a86:0x1f3,_0x43ffe9:0x241,_0x54715b:0x7e,_0x19981d:0x23,_0x6ccf41:0x17,_0x5c48f9:0x0,_0x485465:0x37,_0x1a2b30:0x238,_0x56094a:0x65,_0x57a87f:0x69,_0x39846e:0x89,_0x469cb1:0x7d,_0x5bb46d:0x1f0,_0x18059a:0x1ae,_0x4ce127:0x1b7,_0x2680a3:0x37,_0x25d0e1:0x78,_0x1d338d:0x18f,_0x50fcfb:0x1a6,_0x4f38d6:0x1d7,_0x282414:0x185,_0x3ed31c:0x1e9,_0x1f73e0:0x198,_0x4c9cdb:0x191,_0x41e265:0x51,_0x3d69e3:0x32,_0x37b2bb:0x6d,_0x5bce97:0x89,_0x1190ec:0x6e,_0x353106:0x1ad,_0x339bac:0x1d5,_0x52da00:0x2a,_0x415d65:0x1c1,_0xf8fa66:0x18d,_0xd665c4:0x11,_0x904cc6:0x1a,_0x47ea96:0x1a3,_0x27317a:0x17d,_0x934895:0x2,_0x37cd5d:0x10,_0x49aa57:0x37,_0x476e1b:0x15,_0x30dbb1:0x30,_0x169b8f:0x201,_0x538f19:0x1c1,_0x10e795:0x1e1,_0x1e07f0:0x8a,_0x45be17:0x49,_0xa8afa2:0x7a,_0x382196:0x5a,_0x2e24e5:0xa4,_0x158740:0x1f,_0x2ebca4:0x5f,_0x270a9a:0x3a,_0x4b2f77:0x1de,_0x526566:0x199},_0x14e057={_0x61ab1f:0xea,_0x52662f:0x2f},_0x3e1f78={_0x16cbda:0x26,_0x5c6f56:0x8a},_0x1a103a={};function _0x1d13c0(_0x381575,_0x2db80e,_0x6cb455,_0x5a92bf){return _0xa1c623(_0x381575-_0x3e1f78._0x16cbda,_0x2db80e-_0x3e1f78._0x5c6f56,_0x2db80e- -0x31f,_0x381575);}_0x1a103a[_0x370536(_0x41f876._0x2aced4,-_0x41f876._0xc9a054,_0x41f876._0x466855,_0x41f876._0x3edec7)]='Bad\x20Reques'+'t',_0x1a103a[_0x370536(0x8,-0x1a,-_0x41f876._0x570a14,_0x41f876._0x2b2efd)]='Conflict',_0x1a103a['ONYpQ']=_0x1d13c0(-_0x41f876._0xfddc05,-_0x41f876._0x3deba4,-_0x41f876._0x43ae93,-0x206)+_0x370536(0x66,_0x41f876._0x433cfa,0xf,_0x41f876._0x48835a),_0x1a103a[_0x1d13c0(-_0x41f876._0x8953bd,-0x1ce,-0x18c,-_0x41f876._0x2f3129)]=function(_0x480525,_0xd91a20){return _0x480525===_0xd91a20;},_0x1a103a[_0x370536(0x97,_0x41f876._0x1f5467,_0x41f876._0x466855,0x7d)]=_0x1d13c0(-_0x41f876._0x35fbd1,-0x1c3,-0x1a2,-0x1a3),_0x1a103a[_0x370536(_0x41f876._0xaefca2,_0x41f876._0x2f7867,_0x41f876._0x331117,0x62)]=_0x370536(0x31,_0x41f876._0x46fff9,0x28,0x4b)+_0x1d13c0(-0x1c0,-_0x41f876._0x3263a1,-0x187,-0x1d2),_0x1a103a[_0x370536(_0x41f876._0x325a5a,_0x41f876._0x45d9bc,_0x41f876._0xcd06a6,_0x41f876._0x1a0ed8)]=_0x1d13c0(-0x17e,-_0x41f876._0x440ed3,-0x1df,-0x1d7)+_0x1d13c0(-_0x41f876._0x145f8c,-0x21b,-0x1e6,-0x1f2)+'r',_0x1a103a[_0x1d13c0(-_0x41f876._0x14277a,-_0x41f876._0xd74926,-_0x41f876._0x351bf4,-_0x41f876._0xfa241)]=_0x370536(0x7e,0xaf,0x33,_0x41f876._0x1bf668),_0x1a103a[_0x1d13c0(-_0x41f876._0x502f91,-0x1e4,-0x1ec,-_0x41f876._0x105ff3)]=function(_0xaddfd4,_0x598458){return _0xaddfd4===_0x598458;},_0x1a103a[_0x1d13c0(-_0x41f876._0x20531c,-_0x41f876._0x4e9beb,-_0x41f876._0x4d1c55,-_0x41f876._0x587513)]=_0x1d13c0(-_0x41f876._0x56e9e9,-0x1e5,-_0x41f876._0x7be01c,-0x217)+'is\x20require'+'d',_0x1a103a['uVYck']=function(_0x751dff,_0x18a34c){return _0x751dff!==_0x18a34c;},_0x1a103a[_0x1d13c0(-0x1b9,-_0x41f876._0x5382c3,-0x18f,-0x183)]=_0x370536(_0x41f876._0xa07acb,_0x41f876._0x43a5f1,_0x41f876._0x343192,0x74),_0x1a103a[_0x1d13c0(-0x1eb,-0x1f1,-_0x41f876._0x485841,-0x1f7)]=_0x1d13c0(-_0x41f876._0xfea80f,-_0x41f876._0x1d52d8,-_0x41f876._0x220540,-_0x41f876._0x1a0481)+_0x1d13c0(-0x20a,-_0x41f876._0x675292,-_0x41f876._0x492759,-_0x41f876._0x4eca49)+_0x1d13c0(-_0x41f876._0x27d71c,-_0x41f876._0x15a412,-_0x41f876._0x2abd71,-0x18f)+'st\x20be\x20a\x20no'+'n-empty\x20ar'+_0x370536(0x73,0xa,0x1a,0x39);function _0x370536(_0x4fcddf,_0x44c69e,_0x4e9868,_0x4964ef){return _0x487d39(_0x4fcddf-0xc0,_0x44c69e-_0x14e057._0x61ab1f,_0x4fcddf,_0x4964ef-_0x14e057._0x52662f);}_0x1a103a[_0x370536(0x8b,_0x41f876._0x189c32,0x3c,0x82)]=function(_0x3f7cf4,_0x511dc8){return _0x3f7cf4>_0x511dc8;},_0x1a103a[_0x1d13c0(-0x1e4,-0x206,-0x20b,-0x1d7)]=function(_0x9c35da,_0x3a271b){return _0x9c35da===_0x3a271b;},_0x1a103a['yRiJW']='Role\x20creat'+'ed\x20success'+'fully',_0x1a103a[_0x370536(-_0x41f876._0xc0e9b,_0x41f876._0x83f6a3,0x4b,0x3a)]=_0x370536(_0x41f876._0x58ab1d,_0x41f876._0x16fe61,_0x41f876._0x3f7d96,0x44)+_0x1d13c0(-_0x41f876._0x5acc57,-0x19d,-0x190,-_0x41f876._0x46ece0);const _0x4634f2=_0x1a103a;try{const {name:_0x3af08d,description:_0x35ade5,permissions:_0x177b60}=_0x3428cf[_0x370536(0x4d,0x46,-_0x41f876._0x11ccdf,_0x41f876._0x39c94a)];if(!_0x3af08d||typeof _0x3af08d!==_0x4634f2[_0x370536(0x3b,_0x41f876._0x16fe61,_0x41f876._0x4520e3,0x1c)]||_0x4634f2[_0x370536(-_0x41f876._0x180c5a,_0x41f876._0x17254f,0x23,_0x41f876._0x46d9b3)](_0x3af08d[_0x370536(0x12,_0x41f876._0x5c8618,_0x41f876._0x3b1c90,0x38)]()[_0x1d13c0(-_0x41f876._0x7b3981,-0x202,-0x220,-0x1eb)],-0x16*0xcb+-0xbac+0xe8f*0x2)){const _0x93e6bf={};return _0x93e6bf[_0x1d13c0(-_0x41f876._0x492327,-_0x41f876._0x364088,-0x1d8,-0x231)]=_0x4634f2[_0x370536(0x18,0xb,_0x41f876._0x11f6e0,_0x41f876._0x5b4ba5)],_0x93e6bf['message']=_0x4634f2[_0x370536(_0x41f876._0x901571,_0x41f876._0x4e63df,0x57,0x6d)],_0x11e632['status'](-0x2*-0x37d+-0x11b5+0xc4b)[_0x370536(_0x41f876._0x216921,0x8d,0xb6,0x7a)](_0x93e6bf);}if(!_0x177b60||!Array[_0x370536(0x57,_0x41f876._0x32e267,-_0x41f876._0x180c5a,_0x41f876._0x12731d)](_0x177b60)||_0x4634f2['ywUvg'](_0x177b60[_0x370536(-0x24,-0x17,_0x41f876._0x42dc99,_0x41f876._0x433cfa)],-0x2340*-0x1+-0x1441+-0xeff)){if(_0x4634f2[_0x370536(0xa1,0x36,0x5f,0x7e)](_0x4634f2[_0x370536(_0x41f876._0x1f97ad,0x49,_0x41f876._0x33ef0e,0x57)],_0x4634f2[_0x1d13c0(-_0x41f876._0x3d219d,-_0x41f876._0x36f194,-0x1a1,-0x196)])){const _0x1b82e3={};return _0x1b82e3[_0x370536(0x34,_0x41f876._0x55bf9a,0x41,0x37)]=_0x4634f2[_0x1d13c0(-0x237,-0x1f0,-_0x41f876._0x5e0372,-_0x41f876._0x448850)],_0x1b82e3[_0x370536(0x50,_0x41f876._0x66fae6,0xa6,0x5f)]=_0x261223[_0x1d13c0(-_0x41f876._0x28260b,-0x1c1,-0x1e7,-0x188)],_0x2d8e9f['status'](0x1cb2+-0x1057*0x2+-0x2c6*-0x2)[_0x370536(0x52,0x78,_0x41f876._0x203075,0x7a)](_0x1b82e3);}else{const _0x21648f={};return _0x21648f[_0x370536(0x25,_0x41f876._0x1cf751,_0x41f876._0x229d6e,0x37)]=_0x4634f2[_0x370536(_0x41f876._0x926107,0x58,_0x41f876._0x32c218,0x30)],_0x21648f[_0x1d13c0(-_0x41f876._0x43f3dc,-_0x41f876._0x502f91,-0x1e1,-_0x41f876._0x5d9c61)]=_0x4634f2[_0x1d13c0(-0x1c5,-0x1f1,-_0x41f876._0x49832f,-_0x41f876._0x1d52d8)],_0x11e632[_0x1d13c0(-0x18f,-_0x41f876._0x125e6a,-_0x41f876._0x845ef7,-_0x41f876._0x1744e1)](-0xfbf*-0x1+0xc2e+-0x1a5d)[_0x370536(_0x41f876._0x49fe9,0x37,_0x41f876._0x41f071,0x7a)](_0x21648f);}}const _0x3ee3ea=_0x177b60[_0x1d13c0(-_0x41f876._0x2b9519,-0x1c2,-_0x41f876._0x4c06e3,-_0x41f876._0xf3b514)](_0x5b609c=>!isValidPermission(_0x5b609c));if(_0x4634f2[_0x1d13c0(-0x16d,-_0x41f876._0x5279a3,-0x169,-_0x41f876._0x25155f)](_0x3ee3ea[_0x370536(-_0x41f876._0x11ccdf,0x49,0xf,0x1e)],-0x21*0xd3+0x19cd+0x166)){if(_0x4634f2['eTmOq'](_0x370536(_0x41f876._0x5d474b,0x8d,0x99,0x8f),'wRPOc')){const _0x10fcf7={};return _0x10fcf7[_0x370536(0x15,_0x41f876._0x3011eb,_0x41f876._0xa0453e,0x37)]=_0x4634f2['WmOZl'],_0x10fcf7[_0x1d13c0(-_0x41f876._0x5bafd,-_0x41f876._0x502f91,-_0x41f876._0x1104ec,-_0x41f876._0x4c66dd)]=_0x1dd625[_0x370536(_0x41f876._0x315d7e,_0x41f876._0x401b54,0x5b,0x5f)],_0x39a666[_0x370536(_0x41f876._0x189748,0x78,0x85,_0x41f876._0x19d4ee)](-0xdfb+-0x2059+-0x2fed*-0x1)[_0x1d13c0(-_0x41f876._0x5e1286,-0x1a6,-0x1b9,-0x1b4)](_0x10fcf7);}else return _0x11e632[_0x1d13c0(-0x178,-0x1aa,-0x1ac,-_0x41f876._0x5a2648)](-0x3*0xccf+-0x1b71+-0x167a*-0x3)[_0x370536(_0x41f876._0x3075d0,_0x41f876._0x185eaa,_0x41f876._0x33429d,_0x41f876._0x36d5eb)]({'error':_0x370536(0x48,0x48,_0x41f876._0x45d9bc,_0x41f876._0x466855)+'t','message':_0x370536(0x48,0x91,0x37,_0x41f876._0x3b5344)+_0x370536(0x96,0x60,_0x41f876._0x45d9bc,_0x41f876._0x30ffd9)+'\x20'+_0x3ee3ea['join'](',\x20')});}const _0x33b3fd=await createRole({'name':_0x3af08d[_0x370536(_0x41f876._0x19bfd9,0x4d,0x6c,_0x41f876._0x56f98c)](),'description':_0x35ade5,'permissions':_0x177b60}),_0x2b4986={};return _0x2b4986['message']=_0x4634f2[_0x1d13c0(-0x1d6,-_0x41f876._0x1ac5b6,-_0x41f876._0x4c097d,-_0x41f876._0x525bee)],_0x2b4986[_0x370536(0x78,_0x41f876._0x16c21c,0x54,0x61)]=_0x33b3fd,_0x11e632[_0x1d13c0(-_0x41f876._0xbdc1c5,-0x1aa,-0x1bb,-_0x41f876._0xd3e470)](-0x17c5+-0x1*-0x1c97+0x409*-0x1)[_0x370536(_0x41f876._0x1b62fe,_0x41f876._0x33221a,0xa0,0x7a)](_0x2b4986);}catch(_0x9e159c){if(_0x9e159c['message'][_0x1d13c0(-_0x41f876._0x15a927,-0x203,-_0x41f876._0x410011,-_0x41f876._0x410011)](_0x370536(0x1a,0x66,_0x41f876._0x366c5a,0x54)+_0x1d13c0(-_0x41f876._0x26f965,-0x1ea,-0x1bb,-0x1bd))){if(_0x4634f2['ywUvg'](_0x370536(0x6c,0x75,_0x41f876._0x536755,0x6c),'sfXNy')){if(_0x3399db[_0x370536(_0x41f876._0x15557a,0xa6,0x1a,0x5f)][_0x1d13c0(-0x1f6,-_0x41f876._0x2ec7f6,-_0x41f876._0xf22a86,-_0x41f876._0x43ffe9)](_0x4634f2[_0x370536(_0x41f876._0x54715b,_0x41f876._0x19981d,_0x41f876._0x6ccf41,_0x41f876._0x216921)])){const _0x37fb87={};return _0x37fb87[_0x370536(-0xb,_0x41f876._0x5c48f9,-0x2,_0x41f876._0x485465)]=_0x4634f2[_0x1d13c0(-_0x41f876._0x1a2b30,-0x218,-0x24d,-0x1dc)],_0x37fb87['message']=_0x43a2c6[_0x370536(0x30,0x44,_0x41f876._0x56094a,0x5f)],_0x4c8bfd['status'](0x63*0x1d+-0x2a*-0x2d+-0x1100)[_0x370536(_0x41f876._0x57a87f,_0x41f876._0x30ffd9,0x3c,_0x41f876._0x36d5eb)](_0x37fb87);}if(_0x4634f2['ywUvg'](_0x2b4ea9['code'],_0x4634f2[_0x370536(_0x41f876._0x39846e,0x55,0xbf,_0x41f876._0x469cb1)])){const _0x1088b4={};return _0x1088b4['error']=_0x4634f2[_0x1d13c0(-0x1da,-_0x41f876._0x5bb46d,-0x1e7,-_0x41f876._0x18059a)],_0x1088b4[_0x1d13c0(-0x199,-0x1c1,-0x1ab,-_0x41f876._0x4ce127)]=_0x4b56fd[_0x370536(_0x41f876._0x2680a3,0x52,_0x41f876._0x25d0e1,0x5f)],_0x157ba5[_0x1d13c0(-_0x41f876._0x1d338d,-0x1aa,-0x16a,-0x17c)](-0x1288+-0x163d*0x1+-0x2a55*-0x1)[_0x1d13c0(-0x1bc,-_0x41f876._0x50fcfb,-_0x41f876._0x4f38d6,-_0x41f876._0x282414)](_0x1088b4);}const _0x1f02c8={};_0x1f02c8['error']=_0x27b016['message'],_0x3879c1[_0x1d13c0(-0x1fb,-_0x41f876._0x3ed31c,-0x1a8,-_0x41f876._0x5382c3)](_0x4634f2[_0x1d13c0(-_0x41f876._0x1f73e0,-0x1be,-_0x41f876._0x4c9cdb,-0x1f7)],_0x1f02c8);const _0x12e399={};return _0x12e399[_0x370536(0x13,_0x41f876._0x41e265,_0x41f876._0x3d69e3,_0x41f876._0x2680a3)]=_0x4634f2[_0x370536(_0x41f876._0x37b2bb,_0x41f876._0x5bce97,_0x41f876._0x1190ec,0x66)],_0x2be77b[_0x1d13c0(-0x17e,-_0x41f876._0x125e6a,-0x1a6,-_0x41f876._0x353106)](0x1*0xbb9+0x2267+-0x2c2c)[_0x370536(0x9c,0x7a,_0x41f876._0x46fff9,_0x41f876._0x36d5eb)](_0x12e399);}else{const _0x4fb431={};return _0x4fb431['error']=_0x4634f2[_0x1d13c0(-0x1fe,-0x218,-_0x41f876._0x339bac,-0x236)],_0x4fb431[_0x370536(0x41,0x4b,_0x41f876._0x52da00,0x5f)]=_0x9e159c[_0x1d13c0(-0x1f0,-_0x41f876._0x415d65,-0x17e,-_0x41f876._0xf8fa66)],_0x11e632['status'](-0x61*-0x53+0x2007+0x1*-0x3de1)[_0x1d13c0(-0x1a1,-0x1a6,-0x1d6,-0x1bb)](_0x4fb431);}}if(_0x4634f2[_0x370536(-0x1e,-_0x41f876._0xd665c4,-0x2c,_0x41f876._0x904cc6)](_0x9e159c[_0x370536(0x2b,0x6b,0x40,_0x41f876._0x331117)],_0x4634f2[_0x1d13c0(-0x18d,-_0x41f876._0x47ea96,-0x1dc,-_0x41f876._0x27317a)])){const _0x16f749={};return _0x16f749[_0x370536(-_0x41f876._0x934895,0xe,-_0x41f876._0x37cd5d,_0x41f876._0x49aa57)]=_0x4634f2[_0x370536(-0x11,-_0x41f876._0x476e1b,-0x9,_0x41f876._0x30dbb1)],_0x16f749['message']=_0x9e159c[_0x1d13c0(-_0x41f876._0x169b8f,-_0x41f876._0x538f19,-_0x41f876._0x410011,-0x1f7)],_0x11e632[_0x1d13c0(-_0x41f876._0x339bac,-_0x41f876._0x125e6a,-_0x41f876._0x10e795,-0x1c8)](-0x1*-0xb25+-0x4*0x489+0x88f)[_0x370536(0x57,_0x41f876._0x1e07f0,_0x41f876._0x45be17,_0x41f876._0xa8afa2)](_0x16f749);}const _0x1d5b48={};_0x1d5b48['error']=_0x9e159c[_0x370536(_0x41f876._0x382196,_0x41f876._0x2e24e5,_0x41f876._0x158740,_0x41f876._0x2ebca4)],logger['error'](_0x4634f2[_0x370536(0x54,0x44,_0x41f876._0x5c48f9,_0x41f876._0x270a9a)],_0x1d5b48);const _0x6b8a53={};return _0x6b8a53['error']=_0x4634f2['KoUal'],_0x11e632[_0x1d13c0(-_0x41f876._0x4b2f77,-_0x41f876._0x125e6a,-_0x41f876._0x526566,-0x1a5)](0x5*-0x3e4+-0x282*-0x5+0x8de*0x1)[_0x370536(_0x41f876._0x32c218,_0x41f876._0x366c5a,0x93,0x7a)](_0x6b8a53);}}),router[_0xa1c623(0xf3,0x158,0x11f,0x167)](_0xa1c623(0x136,0x136,0x168,0x16c),requirePermission('settings:m'+_0x487d39(0x69,0x1e,0xa,0x26)),async(_0x195b84,_0x55becd)=>{const _0x232f72={_0x120ab9:0x3a0,_0x224d77:0x3e3,_0x1ad63b:0x285,_0xac6197:0x265,_0x3d0409:0x21c,_0x31d056:0x25f,_0x34dfe8:0x25d,_0x115018:0x2b0,_0x1a20d1:0x38b,_0x3b3b60:0x36e,_0x3b993:0x366,_0x1521c4:0x36c,_0x1aebd5:0x22b,_0x1aa969:0x22d,_0xbb943c:0x21f,_0x433e30:0x408,_0x193cde:0x3ce,_0x1d7791:0x3e5,_0x2157a8:0x410,_0xea4849:0x412,_0x545532:0x449,_0x364e8a:0x3d1,_0x315075:0x3c1,_0x185b97:0x3f0,_0x313f87:0x269,_0xa33af0:0x22c,_0x1ffe7e:0x2b6,_0x34c57c:0x3d9,_0x14d6fa:0x3a5,_0x4bb335:0x396,_0x180034:0x3bc,_0x418b16:0x373,_0x2c9341:0x28c,_0x504eb4:0x240,_0x44cfc0:0x3e6,_0x178aec:0x264,_0x3b9494:0x292,_0x32babb:0x2d0,_0x4b5eb3:0x38b,_0x3fb101:0x3a3,_0x36801a:0x3d6,_0x48b466:0x382,_0x30fe34:0x37c,_0x343f24:0x258,_0x48db8d:0x28e,_0x2fc8b1:0x3a8,_0x4f7cf6:0x3f7,_0x134943:0x1f5,_0x4f2691:0x254,_0x3b2cca:0x394,_0x2176bd:0x37a,_0x325f70:0x22b,_0x2a9c06:0x25c,_0xde3eb2:0x237,_0xd26119:0x222,_0x2afaf2:0x215,_0x29666d:0x393,_0x5e7d8b:0x3ce,_0x551ed6:0x3c0,_0x25b1dc:0x394,_0xfa0680:0x398,_0x5992a7:0x3f0,_0x5b1a4d:0x20d,_0x4ca5c6:0x260,_0x2ae835:0x3b8,_0x43a0e7:0x388,_0x528547:0x3ee,_0x1d76ef:0x2d9,_0x4a8264:0x29d,_0x473134:0x26f,_0x13ea94:0x276,_0x4f748a:0x277,_0x3d5c98:0x23a,_0x5df526:0x27f,_0x2351c3:0x3af,_0x1cf358:0x36d,_0x21f142:0x3c2,_0x26dc53:0x2cf,_0x2ef8e9:0x24f,_0x24ea6b:0x2ba,_0x17f6fc:0x3ae,_0x120c54:0x3cf,_0x178815:0x388,_0x501c2f:0x3c3,_0x2dfc43:0x389,_0x56dbb0:0x3ad,_0x404cfe:0x3b8,_0x2fcefc:0x3de,_0x1a436b:0x376,_0x586f07:0x29c,_0x6167c0:0x25b,_0x1cea35:0x3e8,_0x18155c:0x3e9,_0x440d2e:0x1f8,_0x5daa0b:0x420,_0x17b825:0x27c,_0x11e649:0x281,_0x47444f:0x277,_0x224afa:0x3b7,_0x1f5141:0x38f,_0x378cae:0x3ae,_0x2d3a29:0x28a,_0x1d131a:0x2ae,_0x2cc6d7:0x250,_0x242fa9:0x249,_0x372105:0x2b1,_0x2c48dc:0x3fd,_0x216fb8:0x416,_0x4465f5:0x3ca,_0x11fbcc:0x275,_0x5400bb:0x20c,_0x9333be:0x20c,_0x1091cb:0x387,_0x1a489a:0x3a8,_0x4d375d:0x365,_0x3ae0c1:0x3f1,_0x1613b4:0x429,_0x16370c:0x3f6,_0x28627f:0x406,_0x2a4911:0x411,_0x2e0d9d:0x3f0,_0x52119b:0x3f2,_0x5418b7:0x3e2,_0xca25cd:0x41e,_0x466a52:0x268,_0x3cc3cb:0x24f,_0x185603:0x291,_0x14cae2:0x26b,_0x437480:0x253,_0x5ecf51:0x1f7,_0x9dc653:0x299,_0x1d6754:0x2d1,_0x4610fa:0x2a2,_0x5791b7:0x2e4,_0x5014da:0x283,_0x5a933b:0x282,_0x3c3993:0x298,_0x247b37:0x40e,_0x4e72db:0x40f,_0x127d9e:0x43b,_0x377d0b:0x26f,_0x11c76e:0x25b,_0x521557:0x3dc,_0x465f9a:0x3c6,_0x354cdf:0x3bb,_0x385b79:0x3e0,_0x452dcd:0x3f5,_0x496bd6:0x40d,_0x1ec523:0x273,_0x5f5528:0x292,_0x2c6e03:0x3b0,_0x4b6eb9:0x277,_0xb84a1e:0x27e,_0xba6e0f:0x23c,_0x333441:0x3cc,_0x8e1cb:0x272,_0x948356:0x382,_0x30f5c8:0x3f7,_0x58a926:0x3e2,_0x274add:0x2aa,_0x1a16e8:0x292,_0x34caf4:0x2af},_0x337fdf={_0x49f677:0x164,_0x49ea34:0x247},_0x622719={_0x47a847:0x282},_0x3a1093={'MIJhG':'Role\x20not\x20f'+_0x226db1(_0x232f72._0x120ab9,0x3be,_0x232f72._0x224d77,0x377),'AcjOQ':_0x1c6aca(_0x232f72._0x1ad63b,0x28b,_0x232f72._0xac6197,0x26b)+_0x1c6aca(_0x232f72._0x3d0409,0x261,0x24e,_0x232f72._0x31d056)+'ined\x20role','PmPUk':function(_0x42a710,_0x51daaa){return _0x42a710(_0x51daaa);},'LzSLK':function(_0x4a049e,_0x137a55){return _0x4a049e!==_0x137a55;},'uAHng':function(_0x572426,_0x2b45e9){return _0x572426!==_0x2b45e9;},'HTDhq':_0x1c6aca(_0x232f72._0x34dfe8,0x273,0x272,_0x232f72._0x115018)+'t','oddvX':_0x226db1(_0x232f72._0x1a20d1,_0x232f72._0x3b3b60,0x393,0x359)+'s\x20must\x20be\x20'+_0x226db1(0x398,0x39c,_0x232f72._0x3b993,_0x232f72._0x1521c4)+_0x226db1(0x3f0,0x435,0x414,0x3b7),'rsFVo':function(_0x1c9b8d,_0xa50759){return _0x1c9b8d!==_0xa50759;},'nBHob':_0x1c6aca(_0x232f72._0x1aebd5,_0x232f72._0x1aa969,_0x232f72._0xbb943c,0x1f0),'XWSve':_0x226db1(_0x232f72._0x433e30,_0x232f72._0x193cde,_0x232f72._0x1d7791,_0x232f72._0x2157a8)+_0x226db1(_0x232f72._0xea4849,_0x232f72._0x545532,0x3df,0x42f)+_0x226db1(_0x232f72._0x364e8a,_0x232f72._0x315075,0x39c,_0x232f72._0x185b97),'cDJlp':_0x1c6aca(0x1ff,0x226,0x26c,0x204),'sBrAL':function(_0x572e6f,_0x50cba4){return _0x572e6f===_0x50cba4;},'EUjEI':'VALIDATION','LMVgO':_0x1c6aca(_0x232f72._0x313f87,_0x232f72._0xa33af0,0x1fc,0x236),'kDJPF':_0x1c6aca(0x294,0x283,0x282,_0x232f72._0x1ffe7e)+_0x1c6aca(0x246,0x21d,0x1ea,0x22c)+'r'};function _0x226db1(_0x36ed8b,_0x15c070,_0x486676,_0x38939d){return _0xa1c623(_0x36ed8b-0x14e,_0x15c070-0x4d,_0x36ed8b-_0x622719._0x47a847,_0x486676);}function _0x1c6aca(_0x432389,_0x423fdc,_0x2faf9d,_0x23ca15){return _0x487d39(_0x432389-0x1e9,_0x423fdc-_0x337fdf._0x49f677,_0x2faf9d,_0x423fdc-_0x337fdf._0x49ea34);}try{const _0x4cc92f=await _0x3a1093[_0x226db1(0x3b3,_0x232f72._0x34c57c,0x38a,0x3a8)](getRoleById,_0x195b84[_0x226db1(_0x232f72._0x14d6fa,_0x232f72._0x4bb335,_0x232f72._0x180034,_0x232f72._0x418b16)]['id']);if(!_0x4cc92f){const _0x488610={};return _0x488610[_0x1c6aca(0x217,0x24f,_0x232f72._0x2c9341,_0x232f72._0x504eb4)]=_0x3a1093[_0x226db1(0x405,0x446,_0x232f72._0x44cfc0,0x411)],_0x55becd['status'](0xa3a+-0xa3*0x2b+0x12bb)[_0x1c6aca(_0x232f72._0x178aec,_0x232f72._0x3b9494,0x297,_0x232f72._0x32babb)](_0x488610);}const _0x58a0d7={};if(_0x195b84[_0x226db1(_0x232f72._0x315075,_0x232f72._0x4b5eb3,_0x232f72._0x3fb101,_0x232f72._0x36801a)][_0x226db1(0x3c4,0x3c4,_0x232f72._0x48b466,_0x232f72._0x30fe34)]!==undefined)_0x58a0d7['name']=_0x195b84[_0x1c6aca(0x25f,_0x232f72._0x343f24,0x237,_0x232f72._0x48db8d)][_0x226db1(0x3c4,_0x232f72._0x2fc8b1,_0x232f72._0x4f7cf6,0x3fa)];if(_0x3a1093['LzSLK'](_0x195b84[_0x226db1(_0x232f72._0x315075,0x37c,0x3a8,0x38a)][_0x1c6aca(_0x232f72._0x134943,0x22b,_0x232f72._0x4f2691,0x24f)+'n'],undefined))_0x58a0d7[_0x226db1(_0x232f72._0x3b2cca,0x37e,0x3d3,_0x232f72._0x2176bd)+'n']=_0x195b84[_0x1c6aca(0x238,0x258,0x259,0x28d)][_0x1c6aca(0x24e,_0x232f72._0x325f70,_0x232f72._0x2a9c06,_0x232f72._0xde3eb2)+'n'];if(_0x3a1093['uAHng'](_0x195b84[_0x1c6aca(0x246,0x258,_0x232f72._0xd26119,_0x232f72._0x2afaf2)][_0x226db1(_0x232f72._0x1a20d1,0x354,0x3b6,0x3b7)+'s'],undefined)){if(!Array[_0x226db1(_0x232f72._0x29666d,0x358,_0x232f72._0x5e7d8b,0x3bc)](_0x195b84[_0x226db1(0x3c1,0x406,0x37a,_0x232f72._0x551ed6)][_0x226db1(0x38b,0x34c,_0x232f72._0x25b1dc,_0x232f72._0x120ab9)+'s'])||_0x195b84[_0x226db1(_0x232f72._0x315075,_0x232f72._0xfa0680,_0x232f72._0x5992a7,0x3ae)][_0x1c6aca(_0x232f72._0x5b1a4d,_0x232f72._0xd26119,0x236,_0x232f72._0x4ca5c6)+'s']['length']===-0xe37+-0xc3*0x1c+0x238b){const _0x27ac66={};return _0x27ac66[_0x226db1(_0x232f72._0x2ae835,_0x232f72._0x43a0e7,0x373,_0x232f72._0x528547)]=_0x3a1093[_0x1c6aca(_0x232f72._0x1d76ef,_0x232f72._0x4a8264,_0x232f72._0x473134,0x295)],_0x27ac66[_0x1c6aca(_0x232f72._0x13ea94,_0x232f72._0x4f748a,_0x232f72._0x3d5c98,_0x232f72._0x5df526)]=_0x3a1093[_0x226db1(_0x232f72._0x2351c3,_0x232f72._0x1cf358,0x368,_0x232f72._0x21f142)],_0x55becd[_0x1c6aca(_0x232f72._0x26dc53,0x28e,0x2a0,_0x232f72._0x2ef8e9)](0xb1a+0x1cc3+-0x264d)[_0x1c6aca(0x284,0x292,0x24b,_0x232f72._0x24ea6b)](_0x27ac66);}const _0x5d99d8=_0x195b84['body'][_0x1c6aca(0x262,0x222,0x264,_0x232f72._0xd26119)+'s']['filter'](_0x4670df=>!isValidPermission(_0x4670df));if(_0x5d99d8['length']>-0x21a6+0x12c1*0x1+0xee5){if(_0x3a1093[_0x226db1(_0x232f72._0x17f6fc,_0x232f72._0x120c54,_0x232f72._0x178815,0x367)](_0x3a1093['nBHob'],_0x3a1093[_0x226db1(_0x232f72._0x501c2f,_0x232f72._0x2dfc43,0x37b,_0x232f72._0x56dbb0)])){const _0x413be6={};return _0x413be6[_0x226db1(_0x232f72._0x404cfe,_0x232f72._0x2fcefc,_0x232f72._0x1a436b,0x37c)]=_0x3a1093[_0x1c6aca(0x2dd,_0x232f72._0x586f07,0x268,_0x232f72._0x6167c0)],_0x2f9e15['status'](-0x83e+0xab9+0x4d*-0x3)['json'](_0x413be6);}else return _0x55becd[_0x226db1(0x3f7,0x3c0,0x3fa,0x3fb)](0x1218+0x15a6+-0x262e)[_0x226db1(0x3fb,0x443,0x412,_0x232f72._0x1cea35)]({'error':'Bad\x20Reques'+'t','message':_0x226db1(_0x232f72._0x18155c,0x3e3,0x416,_0x232f72._0x315075)+'rmissions:'+'\x20'+_0x5d99d8['join'](',\x20')});}_0x58a0d7['permission'+'s']=_0x195b84['body'][_0x1c6aca(0x212,0x222,0x20f,_0x232f72._0x440d2e)+'s'];}const _0x3ac27d=await updateRole(_0x4cc92f['id'],_0x58a0d7),_0x325896={};return _0x325896[_0x226db1(0x3e0,0x418,_0x232f72._0x5daa0b,0x3d8)]=_0x3a1093[_0x1c6aca(0x2b6,0x27f,0x27d,_0x232f72._0x17b825)],_0x325896['role']=_0x3ac27d,_0x55becd['json'](_0x325896);}catch(_0x1294f6){if(_0x1294f6[_0x1c6aca(_0x232f72._0x11e649,_0x232f72._0x47444f,0x269,0x27c)]['includes']('already\x20ex'+_0x226db1(_0x232f72._0x224afa,_0x232f72._0x1f5141,0x395,0x374))){const _0x10a532={};return _0x10a532[_0x226db1(_0x232f72._0x2ae835,0x379,0x3b1,_0x232f72._0x378cae)]=_0x3a1093[_0x1c6aca(_0x232f72._0x2d3a29,0x278,_0x232f72._0x1d131a,_0x232f72._0x2cc6d7)],_0x10a532[_0x1c6aca(_0x232f72._0x242fa9,_0x232f72._0x47444f,_0x232f72._0x372105,0x2ab)]=_0x1294f6['message'],_0x55becd['status'](-0x7d*0x49+0x101*0x15+-0x1029*-0x1)['json'](_0x10a532);}if(_0x3a1093[_0x226db1(_0x232f72._0x2c48dc,0x3d6,_0x232f72._0x216fb8,_0x232f72._0x4465f5)](_0x1294f6[_0x1c6aca(_0x232f72._0x11fbcc,0x240,_0x232f72._0x5400bb,_0x232f72._0x9333be)],_0x3a1093[_0x226db1(_0x232f72._0x1091cb,_0x232f72._0x1a489a,0x343,_0x232f72._0x4d375d)])){if(_0x3a1093[_0x226db1(_0x232f72._0x3ae0c1,_0x232f72._0x1613b4,_0x232f72._0x16370c,_0x232f72._0x28627f)](_0x3a1093[_0x226db1(_0x232f72._0x2a4911,0x3f6,_0x232f72._0x2e0d9d,_0x232f72._0x52119b)],_0x3a1093[_0x226db1(0x411,_0x232f72._0x5418b7,0x3fe,_0x232f72._0xca25cd)])){const _0xdd30a3={};return _0xdd30a3[_0x1c6aca(_0x232f72._0x466a52,_0x232f72._0x3cc3cb,0x274,_0x232f72._0x9333be)]=_0x3a1093[_0x226db1(0x3d4,0x3a0,0x3b9,0x3c5)],_0xdd30a3[_0x1c6aca(_0x232f72._0x185603,0x277,_0x232f72._0x14cae2,0x293)]=_0x1c6aca(_0x232f72._0x437480,0x224,_0x232f72._0x5ecf51,0x201)+_0x5c6148[_0x1c6aca(0x21b,0x25b,0x293,0x284)]+(_0x1c6aca(_0x232f72._0x178aec,_0x232f72._0x9dc653,0x27a,_0x232f72._0x1d6754)+_0x1c6aca(0x2df,_0x232f72._0x4610fa,_0x232f72._0x5791b7,_0x232f72._0x5014da)+'le\x20and\x20can'+_0x1c6aca(0x281,_0x232f72._0x5a933b,_0x232f72._0x343f24,_0x232f72._0x3c3993)+_0x226db1(0x415,_0x232f72._0x247b37,0x3d2,_0x232f72._0x4e72db)),_0x2fc521[_0x226db1(0x3f7,0x414,0x425,_0x232f72._0x127d9e)](0x1*-0x20a5+-0x1caa+0x3edf)[_0x1c6aca(_0x232f72._0x377d0b,0x292,_0x232f72._0x3cc3cb,_0x232f72._0x11c76e)](_0xdd30a3);}else{const _0x5c9a1d={};return _0x5c9a1d[_0x226db1(_0x232f72._0x404cfe,0x384,0x3a6,0x3d8)]=_0x226db1(_0x232f72._0x521557,0x40a,_0x232f72._0x465f9a,_0x232f72._0x354cdf)+'t',_0x5c9a1d[_0x226db1(_0x232f72._0x385b79,_0x232f72._0x452dcd,_0x232f72._0x496bd6,0x3bf)]=_0x1294f6['message'],_0x55becd[_0x1c6aca(0x26b,0x28e,_0x232f72._0x11e649,_0x232f72._0x34dfe8)](0xc2+0x12d6+0x482*-0x4)[_0x1c6aca(_0x232f72._0x1ec523,_0x232f72._0x5f5528,0x27d,0x286)](_0x5c9a1d);}}const _0x57ae84={};_0x57ae84[_0x226db1(0x3b8,0x388,0x3c8,_0x232f72._0x2c6e03)]=_0x1294f6[_0x1c6aca(0x271,_0x232f72._0x4b6eb9,_0x232f72._0xb84a1e,_0x232f72._0xba6e0f)],logger[_0x226db1(0x3b8,0x3bb,_0x232f72._0xfa0680,_0x232f72._0x120ab9)](_0x226db1(_0x232f72._0x333441,_0x232f72._0x25b1dc,0x3a3,0x387)+_0x1c6aca(0x271,0x29b,0x296,0x2bb),_0x57ae84);const _0xb7e7a2={};return _0xb7e7a2[_0x1c6aca(_0x232f72._0x8e1cb,0x24f,0x266,0x22e)]=_0x3a1093[_0x226db1(0x38e,0x3d4,0x371,_0x232f72._0x948356)],_0x55becd[_0x226db1(_0x232f72._0x30f5c8,0x3f4,_0x232f72._0x58a926,0x3e9)](-0x10e4+-0x4a*-0x14+0xb0*0x13)[_0x1c6aca(_0x232f72._0x274add,_0x232f72._0x1a16e8,_0x232f72._0x34caf4,0x292)](_0xb7e7a2);}}),router[_0xa1c623(0x195,0x187,0x185,0x18d)](_0x487d39(0x3b,0x78,-0xa,0x3a),requirePermission(_0x487d39(0x2b,0x5d,0x6e,0x4a)+_0x487d39(0x60,0x4c,0x3d,0x26)),async(_0x1bd020,_0x8018cb)=>{const _0x20fcab={_0x3d260a:0x2d,_0x47bea9:0x46,_0x4aea12:0x13,_0x54c9b9:0x49a,_0x545b76:0x47f,_0x297907:0x483,_0x18f9b0:0x5a,_0x3a45e7:0x78,_0x2fa6fe:0x4dd,_0x551be6:0x469,_0x50156c:0x49d,_0x513436:0x425,_0x4d0dd4:0x43c,_0x173951:0x4d3,_0x1041cb:0x4dc,_0x82d332:0x40b,_0x262a7b:0x53,_0x359a:0xd,_0x193e47:0x48b,_0x497f26:0x4cd,_0x3fa4c1:0x4b5,_0x9f3f61:0x9,_0x3a756b:0xc,_0x585316:0x1,_0x32340a:0x43f,_0x476527:0x4a9,_0x58d3d7:0x467,_0x582183:0x462,_0x8e3cc4:0x27,_0x57f964:0x14,_0x4c54ed:0x4b,_0x206ff0:0x491,_0x4deaed:0x45f,_0x2f4f1f:0x4bd,_0x191bed:0x47b,_0x338c20:0x24,_0x1159e9:0x35,_0x310c30:0x493,_0xe0815b:0x4aa,_0xc420a8:0x4e9,_0x506fa7:0x4e7,_0x598464:0x497,_0x2e4078:0x485,_0x281aca:0x4ac,_0x42a2b0:0x47c,_0x2b8738:0x3c,_0x5251c4:0x23,_0x4afa34:0x1f,_0x3b5511:0x4e,_0x3b7eb5:0x3f,_0x2d742f:0x4b1,_0x53ed37:0x1,_0x59b8c3:0x2c,_0x4015c3:0x31,_0x390c47:0x4a3,_0x5f3361:0x48e,_0x399d78:0x462,_0xf353e9:0x32,_0x44b45c:0x6d,_0x3f46e5:0x5,_0x520d7a:0x7,_0x5b62ab:0x38,_0x58a816:0x4bc,_0x4c496f:0x495,_0x21b4f5:0x4af,_0x4b8177:0x4d9,_0x177c5c:0x4a5,_0x5c9a74:0x4b3,_0x1a1193:0x47,_0x15eff7:0x5a,_0x4d9764:0x1c,_0x3459a8:0x20,_0x45ba0f:0x2b,_0x546b76:0x3,_0xc080f1:0x11,_0x13fa76:0x70,_0x50792b:0x471,_0x2772c2:0x4de,_0xf07767:0x21,_0x2109f8:0x64,_0x2d3179:0x10,_0x44ecde:0x492,_0x6c790d:0x472,_0x3a3d3a:0x44c,_0x289496:0x4d5,_0x31cb51:0x4c5,_0x5193d0:0x6a,_0x3ae767:0x26,_0x5b33ac:0x6e,_0x871488:0x4b7,_0x51bd16:0x49f,_0x44a1a4:0x465,_0x3222fb:0x31,_0xe36e86:0x28,_0x50ae9c:0x1b,_0x126974:0x489,_0x2f3775:0x481,_0x20868c:0x5b,_0x1bed90:0x3c,_0x548b4e:0x472,_0xd9c956:0x487,_0x3829e5:0x21,_0x444b29:0xf,_0x20f21e:0x24,_0x320b5b:0x7,_0x49b4c0:0x44,_0x2c473f:0x44b,_0x1ed39c:0x4a1,_0x283f8a:0x4b5,_0x153604:0x49b,_0x2b6f54:0x476,_0x3e51fd:0x4b1,_0x56f683:0x499,_0x27f042:0x4a2,_0xa6a833:0x5e,_0x1c4328:0x47e,_0x406dfd:0x14,_0x569908:0x7e,_0x19e60c:0x25,_0x5dd6b9:0x4d,_0x5e3f6b:0x2e,_0x1d7c08:0x45c,_0x2ee2c8:0x510,_0x3bf2c8:0x4c8,_0x218c6a:0x26,_0x4187d2:0xf,_0x432fde:0x25,_0x3fec13:0x4d8,_0x5cc7af:0x4b5,_0x62ceaa:0x4b0,_0x2571aa:0x4a4,_0x238b05:0x496,_0x26215a:0x472,_0x2974b5:0x48f,_0x15f360:0x4a2,_0x550ab1:0x486,_0x1b12a7:0x38,_0x25bd9b:0x32,_0x2384d5:0x4ba},_0x266335={_0x5ba157:0x1b6,_0x2a1752:0x140,_0x39ad7b:0x33c},_0x5882a2={_0x3efc7d:0x161,_0x95c1a2:0x19c},_0x5d03ca={'kPPXN':_0x5a3778(0x1d,0x1f,-0x16,-0x1)+'t','KNyiP':_0x5a3778(0x16,0x35,-0x14,_0x20fcab._0x3d260a)+'ists','HJQyK':function(_0x4548a9,_0x3144af){return _0x4548a9===_0x3144af;},'IDMEu':_0x5a3778(0x1f,_0x20fcab._0x47bea9,_0x20fcab._0x4aea12,0x66),'REJWh':_0x2f4441(0x4b1,_0x20fcab._0x54c9b9,_0x20fcab._0x545b76,_0x20fcab._0x297907)+_0x5a3778(0x45,_0x20fcab._0x18f9b0,-0x2,_0x20fcab._0x3a45e7),'oczDc':_0x2f4441(_0x20fcab._0x2fa6fe,_0x20fcab._0x551be6,0x4a6,_0x20fcab._0x50156c)+_0x2f4441(_0x20fcab._0x513436,0x41a,0x440,_0x20fcab._0x4d0dd4)+'r','qdaof':_0x2f4441(0x4c3,_0x20fcab._0x173951,0x4c7,_0x20fcab._0x1041cb),'EEfvf':_0x2f4441(_0x20fcab._0x82d332,0x465,0x44b,0x452),'AxQIj':'WKHxY','jjHNO':function(_0x3d8b77,_0x2515a4){return _0x3d8b77(_0x2515a4);},'UJeoN':'Role\x20delet'+_0x5a3778(_0x20fcab._0x262a7b,0x29,0x1b,_0x20fcab._0x359a)+_0x2f4441(_0x20fcab._0x193e47,_0x20fcab._0x497f26,0x48b,_0x20fcab._0x3fa4c1)};function _0x5a3778(_0x67f9d6,_0x3639c9,_0x2ca6a6,_0x16609f){return _0x487d39(_0x67f9d6-_0x5882a2._0x3efc7d,_0x3639c9-_0x5882a2._0x95c1a2,_0x2ca6a6,_0x67f9d6- -0xf);}function _0x2f4441(_0x5bcfc0,_0x5389a2,_0xe9034b,_0x47f055){return _0xa1c623(_0x5bcfc0-_0x266335._0x5ba157,_0x5389a2-_0x266335._0x2a1752,_0xe9034b-_0x266335._0x39ad7b,_0x5bcfc0);}try{if(_0x5d03ca[_0x5a3778(0x26,-_0x20fcab._0x9f3f61,_0x20fcab._0x3a756b,-_0x20fcab._0x585316)](_0x5d03ca[_0x2f4441(_0x20fcab._0x32340a,_0x20fcab._0x476527,_0x20fcab._0x58d3d7,_0x20fcab._0x582183)],_0x5d03ca[_0x5a3778(_0x20fcab._0x8e3cc4,_0x20fcab._0x57f964,0x17,_0x20fcab._0x4c54ed)])){const _0x3cc8d1={};return _0x3cc8d1[_0x2f4441(_0x20fcab._0x206ff0,_0x20fcab._0x4deaed,0x472,0x436)]=_0x5d03ca['kPPXN'],_0x3cc8d1[_0x2f4441(_0x20fcab._0x2f4f1f,_0x20fcab._0x191bed,0x49a,0x4b4)]=_0x5a3778(-0x34,0x13,-_0x20fcab._0x338c20,-0x1a)+'s\x20must\x20be\x20'+_0x5a3778(-_0x20fcab._0x8e3cc4,0x20,-_0x20fcab._0x1159e9,-0x23)+_0x2f4441(0x4c0,_0x20fcab._0x310c30,_0x20fcab._0xe0815b,_0x20fcab._0xc420a8),_0x473e12[_0x2f4441(0x49f,0x48e,0x4b1,0x4dd)](0x2064+-0xb*0x1f3+-0x1*0x963)[_0x2f4441(_0x20fcab._0x506fa7,_0x20fcab._0x598464,0x4b5,_0x20fcab._0x2e4078)](_0x3cc8d1);}else{const _0x32d6a8=await getRoleById(_0x1bd020['params']['id']);if(!_0x32d6a8){const _0x48e4a2={};return _0x48e4a2[_0x2f4441(_0x20fcab._0x281aca,0x44d,0x472,_0x20fcab._0x42a2b0)]=_0x5a3778(-0xa,-_0x20fcab._0x2b8738,-_0x20fcab._0x8e3cc4,-_0x20fcab._0x5251c4)+_0x5a3778(-_0x20fcab._0x4afa34,-0x27,-_0x20fcab._0x3b5511,-_0x20fcab._0x3b7eb5),_0x8018cb[_0x2f4441(0x4df,0x48e,_0x20fcab._0x2d742f,0x48e)](-0x2601+0x4a5*0x2+0x205*0xf)['json'](_0x48e4a2);}if(_0x32d6a8[_0x5a3778(_0x20fcab._0x3a756b,-_0x20fcab._0x53ed37,_0x20fcab._0x59b8c3,0x3a)]){const _0x4bc044={};return _0x4bc044[_0x5a3778(-0x7,0xd,0x26,_0x20fcab._0x4015c3)]='Cannot\x20del'+_0x5a3778(0xb,0x28,-0x7,-0x1)+_0x2f4441(_0x20fcab._0x390c47,_0x20fcab._0x5f3361,_0x20fcab._0x399d78,_0x20fcab._0x2e4078),_0x4bc044['message']=_0x5a3778(-_0x20fcab._0xf353e9,-0x71,-_0x20fcab._0x44b45c,-0x20)+_0x32d6a8[_0x5a3778(_0x20fcab._0x3f46e5,_0x20fcab._0x520d7a,_0x20fcab._0x5b62ab,-0x28)]+(_0x2f4441(_0x20fcab._0x58a816,0x4fc,_0x20fcab._0x58a816,0x4d3)+_0x2f4441(_0x20fcab._0x4c496f,0x4aa,0x4c5,_0x20fcab._0x21b4f5)+'le\x20and\x20can'+_0x2f4441(0x4ea,_0x20fcab._0x4b8177,_0x20fcab._0x177c5c,_0x20fcab._0x5c9a74)+'eted'),_0x8018cb[_0x5a3778(0x38,_0x20fcab._0x1a1193,_0x20fcab._0x15eff7,_0x20fcab._0x4d9764)](-0x1441+-0x1224*-0x1+0x1*0x3ad)['json'](_0x4bc044);}const _0x5ac217=await getBindings(),_0x519c0b=_0x5ac217[_0x5a3778(_0x20fcab._0x3459a8,_0x20fcab._0x45ba0f,0x50,0x30)](_0x1f4938=>_0x1f4938[_0x2f4441(0x4b4,0x4ba,0x4bb,0x487)]===_0x32d6a8['id']);if(_0x519c0b['length']>-0x25ae*0x1+0x1fba+0x5f4){if(_0x5d03ca[_0x5a3778(0x3a,_0x20fcab._0x546b76,_0x20fcab._0xc080f1,_0x20fcab._0x13fa76)]!==_0x5d03ca[_0x2f4441(0x49a,_0x20fcab._0x50792b,0x4b3,_0x20fcab._0x2772c2)]){if(_0x50a31e['message'][_0x5a3778(-_0x20fcab._0xf07767,0xf,-_0x20fcab._0x2109f8,_0x20fcab._0x2d3179)](_0x5d03ca['KNyiP'])){const _0x45fb7d={};return _0x45fb7d[_0x2f4441(_0x20fcab._0x44ecde,0x49d,_0x20fcab._0x6c790d,_0x20fcab._0x3a3d3a)]='Conflict',_0x45fb7d[_0x2f4441(0x45d,_0x20fcab._0x289496,0x49a,_0x20fcab._0x31cb51)]=_0x495bd5[_0x2f4441(0x48a,_0x20fcab._0x50792b,0x49a,0x4a2)],_0x3074c9[_0x5a3778(0x38,_0x20fcab._0x5193d0,_0x20fcab._0x3ae767,0x21)](-0x1*0x12c7+0x704+0xd5c)[_0x5a3778(_0x20fcab._0x2b8738,0x58,-0x1,_0x20fcab._0x5b33ac)](_0x45fb7d);}if(_0x5d03ca[_0x2f4441(_0x20fcab._0x871488,0x48a,_0x20fcab._0x51bd16,0x4d3)](_0x4390e1['code'],_0x5d03ca['IDMEu'])){const _0x54777e={};return _0x54777e[_0x2f4441(_0x20fcab._0x44a1a4,0x480,0x472,0x43e)]=_0x5d03ca[_0x5a3778(_0x20fcab._0x546b76,-_0x20fcab._0x3222fb,_0x20fcab._0xe36e86,_0x20fcab._0x50ae9c)],_0x54777e[_0x2f4441(0x499,_0x20fcab._0x126974,0x49a,_0x20fcab._0x2f3775)]=_0x26d1d2[_0x5a3778(_0x20fcab._0xf07767,-_0x20fcab._0x3ae767,_0x20fcab._0x20868c,-0x9)],_0x3076b0['status'](0x2*0xa2d+0x1*0x20e3+-0x1*0x33ad)[_0x5a3778(_0x20fcab._0x1bed90,0x4f,0x2d,0x49)](_0x54777e);}const _0x5be052={};_0x5be052[_0x2f4441(0x457,_0x20fcab._0x2d742f,_0x20fcab._0x548b4e,_0x20fcab._0xd9c956)]=_0x2bc18e[_0x5a3778(_0x20fcab._0x3829e5,_0x20fcab._0x444b29,0x45,_0x20fcab._0x20f21e)],_0x5b1829[_0x5a3778(-_0x20fcab._0x320b5b,-0x14,0x41,0x41)](_0x5d03ca[_0x5a3778(0x54,0x96,0x45,_0x20fcab._0x49b4c0)],_0x5be052);const _0x5e802f={};return _0x5e802f['error']=_0x5d03ca[_0x2f4441(_0x20fcab._0x2e4078,_0x20fcab._0x2c473f,0x46c,_0x20fcab._0x551be6)],_0x35f32e[_0x5a3778(_0x20fcab._0x5b62ab,0x5d,0x55,0x47)](0xcc6+-0xb3d+0x6b)[_0x2f4441(0x4da,_0x20fcab._0x1ed39c,_0x20fcab._0x283f8a,_0x20fcab._0x153604)](_0x5e802f);}else return _0x8018cb[_0x2f4441(_0x20fcab._0x2b6f54,_0x20fcab._0x289496,_0x20fcab._0x3e51fd,_0x20fcab._0x56f683)](0x1d19+-0x3*0x71+-0x1a2d)[_0x2f4441(_0x20fcab._0x27f042,0x4bf,0x4b5,_0x20fcab._0x56f683)]({'error':'Role\x20in\x20us'+'e','message':_0x5a3778(-0x32,-0x49,-_0x20fcab._0xa6a833,-0x10)+_0x32d6a8[_0x2f4441(0x48b,_0x20fcab._0x32340a,_0x20fcab._0x1c4328,0x43a)]+(_0x5a3778(0x50,_0x20fcab._0x406dfd,0x37,_0x20fcab._0x569908)+_0x5a3778(0x1e,-_0x20fcab._0x19e60c,0x1b,_0x20fcab._0x5dd6b9))+_0x519c0b[_0x5a3778(-0x20,-0x59,-0x1,-_0x20fcab._0x5e3f6b)]+('\x20binding(s'+_0x2f4441(0x45b,0x475,_0x20fcab._0x1d7c08,_0x20fcab._0x56f683)+_0x2f4441(_0x20fcab._0x2ee2c8,0x489,_0x20fcab._0x3bf2c8,0x4f1)+_0x5a3778(-_0x20fcab._0x218c6a,-0x7,0x16,0xa)),'bindings':_0x519c0b[_0x5a3778(0x25,_0x20fcab._0x4187d2,-0x1b,0x3e)](_0x3fda3b=>({'id':_0x3fda3b['id'],'resource_type':_0x3fda3b[_0x5a3778(-0x1c,0x22,-0x24,0x28)+_0x5a3778(-0x13,-0x26,-0x39,-0x46)],'resource_id':_0x3fda3b['resource_i'+'d'],'subject_type':_0x3fda3b[_0x2f4441(0x4c7,0x49e,0x483,0x455)+'pe'],'subject_id':_0x3fda3b['subject_id']}))});}await _0x5d03ca['jjHNO'](deleteRole,_0x32d6a8['id']);const _0x2093f1={};return _0x2093f1[_0x2f4441(0x4a5,0x4a5,0x49a,0x4cb)]=_0x5d03ca[_0x5a3778(-_0x20fcab._0x432fde,0x6,-0x39,-0x1)],_0x8018cb[_0x2f4441(_0x20fcab._0x3fec13,0x484,_0x20fcab._0x5cc7af,_0x20fcab._0x62ceaa)](_0x2093f1);}}catch(_0x8e88b0){const _0x4ea42a={};_0x4ea42a[_0x2f4441(_0x20fcab._0x2571aa,_0x20fcab._0x238b05,_0x20fcab._0x26215a,_0x20fcab._0x2974b5)]=_0x8e88b0[_0x2f4441(0x475,0x4c3,0x49a,_0x20fcab._0x15f360)],logger['error'](_0x2f4441(0x46c,0x4c2,_0x20fcab._0x281aca,_0x20fcab._0x550ab1)+_0x5a3778(0x45,_0x20fcab._0x4015c3,0x3a,0x75),_0x4ea42a);const _0x3709a6={};return _0x3709a6[_0x2f4441(0x473,0x45f,0x472,_0x20fcab._0x3e51fd)]=_0x5d03ca['oczDc'],_0x8018cb[_0x5a3778(_0x20fcab._0x1b12a7,0x35,0x1c,_0x20fcab._0x25bd9b)](0x198a*0x1+-0x21*-0xb9+-0x2f6f)[_0x2f4441(0x4cd,_0x20fcab._0x31cb51,_0x20fcab._0x5cc7af,_0x20fcab._0x2384d5)](_0x3709a6);}});function _0x74db(_0x172b6b,_0x1c2e03){_0x172b6b=_0x172b6b-(-0x1175*-0x2+0x2bb+-0x253c);const _0x4cd8de=_0x5da4();let _0x527724=_0x4cd8de[_0x172b6b];if(_0x74db['HSXhxx']===undefined){var _0x2f1b21=function(_0x5c9d51){const _0x4e1fc1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2334e5='',_0x585f66='';for(let _0x5011d0=-0x257f+0x1fd+0x2382,_0x310c86,_0x175f39,_0x473e12=0x754+0x203d+-0x5a7*0x7;_0x175f39=_0x5c9d51['charAt'](_0x473e12++);~_0x175f39&&(_0x310c86=_0x5011d0%(-0x119a+0x138c+-0x1ee)?_0x310c86*(-0x1087+0x26*-0x11+-0x9*-0x225)+_0x175f39:_0x175f39,_0x5011d0++%(-0x1ca1+0x1*-0x20b9+-0x2*-0x1eaf))?_0x2334e5+=String['fromCharCode'](-0x4*-0x22c+-0xdb5+0x604&_0x310c86>>(-(0xa55+0x2f*-0x47+0x2b6)*_0x5011d0&0x3b9+-0x2*0x10bb+0x191*0x13)):-0x22a*-0x4+0x224a+-0x1*0x2af2){_0x175f39=_0x4e1fc1['indexOf'](_0x175f39);}for(let _0x5f13a0=-0x521*-0x1+0xa1+0x86*-0xb,_0x237b00=_0x2334e5['length'];_0x5f13a0<_0x237b00;_0x5f13a0++){_0x585f66+='%'+('00'+_0x2334e5['charCodeAt'](_0x5f13a0)['toString'](0x829+-0xea0+0x687))['slice'](-(-0x7e1+-0x22f*0x2+0xc41));}return decodeURIComponent(_0x585f66);};_0x74db['jypCfi']=_0x2f1b21,_0x74db['erYIsM']={},_0x74db['HSXhxx']=!![];}const _0x2a0a85=_0x4cd8de[-0x1039+0x1*-0x4e0+0x1519],_0x52e839=_0x172b6b+_0x2a0a85,_0x35366f=_0x74db['erYIsM'][_0x52e839];return!_0x35366f?(_0x527724=_0x74db['jypCfi'](_0x527724),_0x74db['erYIsM'][_0x52e839]=_0x527724):_0x527724=_0x35366f,_0x527724;}export default router;function _0x5da4(){const _0x511e93=['EvjPsLC','DLfqtKy','Aw5JBhvKzxm','BgvUz3rO','B3vUza','Chv0','ksbHBMqGy2fUBG','CMvZB3vYy2vFDa','Aw5NihjVBgu','CgfYyw1Z','mJiYnZmYnvDuzvDpsW','Cg9ZDa','Aw5LzcbYB2XL','y29Kzq','uM9SzsbPBIb1CW','CYbPCYbYzxf1Aq','ExbL','CwrHB2y','CNngvM8','B2rKDLG','EenRAeK','vfvbwuy','B2n6rgm','ug1qvwS','C3bSAxq','uM9SzsbUB3qGzG','rgXZv1e','Axn0CW','zxjYB3i','DhjPBq','CMf5','u1r3Axu','uM9SzsbUyw1Lia','we12Awy','EwTptvC','m1j0wfDxDq','nfv2ChbkDW','yM9KEq','A1bqwe4','BKjiB2i','BMfTzq','rxjYB3iGy3jLyq','Aw5NihjVBgvZ','DezPvwC','nta0mtq3C3LkvwHH','C3vIAMvJDf90Eq','zxrLihbYzwrLzG','ChjLzgvMAw5Lza','rxjYB3iGDxbKyq','t05zCfe','CMvKigfUzcbTDq','CM1PC3nPB25ZoG','CMvZB3vYy2vFAq','zNvSBhK','z2v0','ExDvDMC','qwnQt1e','ywXYzwfKEsbLEa','yw5Hz2u','uM1Yv3i','vvn2tvy','mJa0mZm4nfHdEu1hqq','ntG5nta4EujMzvbH','zfPOvMm','qMfKifjLCxvLCW','zw5JzwqGyNKG','vKfmsurbveLptG','zMLSDgvY','BwvZC2fNzq','y0rkBha','CM9Szq','sK5NA0m','BwfW','sePrEuS','ruvMDMy','s29vywW','wfDtDMu','sw52ywXPzcbWzq','lZPPza','BM90igjLigrLBa','sw50zxjUywWGCW','D21mA2u','EM5lCve','ww5YBLq','EsbHCNjHEq','DufiBMC','rxjYB3iGzgvSzq','DvHHDve','q2fUBM90igrLBa','A2LowuG','EeXgquW','C3rHDhvZ','C3rYAw5N','qxHrswO','C2v0DgLUz3m6Bq','ANnVBG','mtzpBKD3AK0','C0jYquW','re5Qt1O','Dvzzy2S','C3vIAMvJDf9Pza','CM9Szv9Pza','jYbPCYbHihbYzq','BM50D1e','DgLUzYbYB2XL','tuLkAeC','sfreAhe','zgvSzxrL','uM9Szsb1CgrHDa','mJuWoti3mdb5uMXuC2i','zenUy1q','zgvMAw5LzcbYBW','zw50CMLLCW','DMrhug0','B3qGyMuGzgvSzq','jYbPCYbYzwzLCG','Au5ltM0','te1wz08','zwqGC3vJy2vZCW','uKvkv2G','y21Hy20','zxrLza','zxj2zxiGzxjYBW','rvvQruK','CLfty0G','v21pwMW','ndK0odq1mKjzrhfYBa','CgvYBwLZC2LVBG','AvzwD2W','vgHLihjVBguGjW','A0rkuey','q29UzMXPy3q','uM91DgvY','sgfPDuO','mJK3mJq0oe1OsM5LuW','AxnbCNjHEq','zgvZy3jPChrPBW','Du9QBxG','tgLnEKe','BNzNzgy','ysbUB24Tzw1WDa','DgvK','vuPLB04','zvrTt3e'];_0x5da4=function(){return _0x511e93;};return _0x5da4();}
|