@profoundlogic/coderflow-server 0.6.9 → 0.7.0
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/Dockerfile +3 -0
- package/dist/base-image/entrypoint.sh +13 -0
- package/dist/base-image/standard-instructions/ibmi-database-sql.md +11 -0
- package/dist/base-image/standard-instructions/ibmi-exploratory-verification.md +38 -0
- package/dist/base-image/standard-instructions/ibmi-output-requirements.md +6 -0
- package/dist/base-image/standard-instructions/output-requirements.md +18 -0
- package/dist/base-image/standard-instructions/screenshot-guidelines.md +17 -0
- package/dist/coder-server.js +1 -1
- 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 -1
- 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.css +21 -0
- package/dist/web-ui/public/environments.html +68 -1
- package/dist/web-ui/public/environments.js +1 -1
- 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.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 +52 -1
- package/dist/web-ui/public/task-judging-helpers.js +1 -1
- package/dist/web-ui/public/task.html +43 -5
- 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/routes/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3b5db3,_0x536e08){const _0x5ecef9={_0x18b331:0x4a9,_0x4345bf:0x7b,_0x2bd58c:0xa8,_0x594a18:0x4e7,_0xa520af:0x4f2,_0x5c26c5:0x4e8,_0x13826a:0x126,_0x3f9e30:0xc4,_0x55d623:0x4ef,_0x3879d1:0x58b,_0x251162:0x70,_0x393b55:0x51,_0x5c734a:0xc,_0x588dc4:0x72,_0x23ab36:0x3b,_0x13561d:0xc8,_0x3b51ea:0xa3,_0x109d33:0x50,_0x296f54:0x49b,_0x3c30bd:0x52f,_0x4ccf62:0x50e,_0x2dc617:0x65,_0x55a11e:0xd2,_0x5f258c:0xcd},_0x3db5b3={_0x2fa347:0x348},_0x4068ad={_0xd86ed7:0x1ff};function _0x1faebd(_0x234162,_0x4df482,_0x5b27ef,_0x5d20a7){return _0x468a(_0x234162- -_0x4068ad._0xd86ed7,_0x5d20a7);}const _0x119744=_0x3b5db3();function _0x5028d5(_0x1e4f73,_0x3ffc9b,_0x2e6c5e,_0x4a7428){return _0x468a(_0x4a7428-_0x3db5b3._0x2fa347,_0x1e4f73);}while(!![]){try{const _0x1dd3a9=-parseInt(_0x5028d5(0x45e,0x445,0x44f,_0x5ecef9._0x18b331))/(-0xce*0x28+-0x2635+0x4666)+parseInt(_0x1faebd(0x19,-_0x5ecef9._0x4345bf,-0x5,_0x5ecef9._0x2bd58c))/(-0x7f6*0x4+-0x1*0xa9f+-0x1*-0x2a79)*(parseInt(_0x5028d5(0x52e,_0x5ecef9._0x594a18,_0x5ecef9._0xa520af,_0x5ecef9._0x5c26c5))/(-0x1*0x37f+0x21d9+0x3*-0xa1d))+-parseInt(_0x1faebd(-0xc4,-_0x5ecef9._0x13826a,-0x99,-_0x5ecef9._0x3f9e30))/(0xce1+-0x2020+-0x1343*-0x1)+-parseInt(_0x5028d5(0x4bb,_0x5ecef9._0x55d623,_0x5ecef9._0x3879d1,0x508))/(0x17*0x1a2+-0x2*0xaca+0x5f*-0x2b)*(-parseInt(_0x1faebd(-_0x5ecef9._0x251162,-0xca,-0x80,-_0x5ecef9._0x393b55))/(0x1d17+0x2*0x8b7+0x2e7f*-0x1))+parseInt(_0x1faebd(0x51,-_0x5ecef9._0x5c734a,_0x5ecef9._0x588dc4,0x80))/(0x20e+0x1f09+-0x2110)*(-parseInt(_0x1faebd(-0x7b,-_0x5ecef9._0x23ab36,-_0x5ecef9._0x13561d,-_0x5ecef9._0x3b51ea))/(-0x135*-0x1d+-0x322*0x3+-0x1993))+-parseInt(_0x1faebd(-_0x5ecef9._0x109d33,-0x9a,-0x25,-0xda))/(-0x638+0x1aaf+0xa*-0x20b)*(-parseInt(_0x5028d5(_0x5ecef9._0x296f54,_0x5ecef9._0x3c30bd,0x475,_0x5ecef9._0x4ccf62))/(0xd24+-0xa46+0x2*-0x16a))+parseInt(_0x1faebd(-_0x5ecef9._0x2dc617,-0xdb,-_0x5ecef9._0x55a11e,-_0x5ecef9._0x5f258c))/(-0x204*-0x11+-0x49*-0x41+0x8cb*-0x6);if(_0x1dd3a9===_0x536e08)break;else _0x119744['push'](_0x119744['shift']());}catch(_0x3e487a){_0x119744['push'](_0x119744['shift']());}}}(_0x5c42,0x9a*0x839+0x1b979*0x1+0x54b2c));import _0x43491f from'express';import _0x56b096 from'multer';function _0x5c42(){const _0x54d7b4=['EuLVrvK','BgvUz3rO','Aw1Hz2uVD2vICa','C3rHy2S','DgvHBq','tMfTzsbJyw5UBW','A2v5swq','zMLSzvnPEMu','CffZyKS','wg9xtM0','BgvK','D1jTwM8','zNn2uvK','AxjLza','DgvHBxm','qxHRDxa','zw1HAwW','yxzHDgfY','yM9KEq','DhjPBq','zgLYzwn0','uu9fu2K','A29OAKu','u1bMv3q','y29Kzq','u09dDva','s2rMr1y','ChjVzMLSzq','v25uzgq','zgvZDhjVEq','D2fYBG','vwzxBhe','twnyzM8','mKjdvLvbAq','ugvYBwLZC2LVBG','y29KzxiUC2LK','ChzlB2q','zw50C19VBL9TEq','B1rtr1m','zxjYB3i','zw52AxjVBM1LBG','A0nRtg4','A2v5CW','ELbAAfG','yNvitxu','BgrxtNq','qxv0AgvUDgLJyq','zxjUyw1Lig9Yia','Cg5N','sKPIzwK','l3bYB2zPBgu','B05Srvu','y292zxi','vxnLCM5HBwuGyq','q0DVCw4','s3rvyKK','BNrPy2f0Aw9U','tM8GDMfSAwqGDq','CM9SzvbLCM1dBW','te94ExC','zLfIvvi','rvvlzLi','BMf0Cee','sw52ywXPzcb1CW','rMfPBgvKigXVzW','zcbHCMuGCMvXDq','CgfZC3DVCMq','AKHfCfy','z1D6qum','zw1WDa','wfrtzuu','tM8GzMLSzsb1Ca','B3vUza','vgPNzMm','C2vYDMvY','zgvZDhjVEsbZzq','veXRCeq','A0z5r0O','shbMBui','EfLwCfi','zu9vDum','s3H5ywy','D2njq2G','uhjVzMLSzsb1Ca','BgvZigzVCIbdta','zevrrMu','q1LPrvm','DxbSB2fKigf2yq','B0fAwei','mty5ndbTy1Lbu2W','BMX5iePqruCSia','q0XjiefJy2vZCW','BMqGCgfZC3DVCG','l21L','vxnLCIbUB3qGzG','DgfY','AhjrBxa','qw4GzxjYB3iGBW','ExbL','v2TJD00','suT6z1y','BIbMywLSzwqGzG','CLvRD3O','DgvHBtOG','CgDiwxi','z2v0ihbYB2zPBa','CgrHDgvZihbYBW','BNLrExy','wfnfwgm','C3vJy2vZC2z1Ba','DMf0yxi','C2f2zsbZzxnZAq','z29Jthu','r2jguxC','De9QvxO','Cg9ZDa','ChjLzMvYzw5Jzq','tg9NAw4GzMfPBa','txPYyuC','zMLSzw5HBwu','mZaYotq3mMXZu3rluG','rhf5qvK','q3vMvfK','yuXwsee','ywXS','Au5xA3i','zcbPBG','Aw5JBhvKzxm','zwrLBNrPywXZ','D213rNu','seTdDuG','C2v0','qxzHDgfYihjLBq','Aw5MBW','zMLSzq','zML0','sKHfs3u','CMvZB3vYy2vFDa','Aw1Hz2uVCg5N','CMvZB3vYy2vFAq','DMfSDwvZ','l2f2yxrHCNmV','yNvMzMvY','z2v0igfJy2vZCW','Aw1Hz2uVz2LM','tg9NB3v0igzHAq','lNbUzW','CMvZAxPL','rMDqEMK','B0fwDfO','ihjLC29SDxrPBW','DMLH','rg9StfC','CMvTB3zLigf2yq','sw52ywXPzcbMAq','BguGDhLWzs4GtW','BMXuyNG','BM93','nZqZndaZuvrfvgrv','rK5ysKe','BwvTB3j5u3rVCG','wM5lzey','vuTJA04','DgfYCYbKAxjLyW','q0rYv2i','y25Vr1O','y2XLyxjdB29RAq','Dw50','BgX5','uKv2uhO','z2vFBwvTyMvYCW','yuPXDfq','twLZC2LUzYbJCG','tKHrvMi','swXHqu8','u25AAKK','vwP2uge','yxzHDgfYCW','v1Dgy2i','wNj2rK0','Bg9HzgvK','DgvHBxm6BwfUyq','DxnLCM5HBwu','DxbKyxrLihbYBW','z0Xst1O','yw5KifDLyLaGyq','uw1ZA2W','Cg9ZAxrPB24','CM9Szu5HBwu','CMz1r1O','v1DKtei','z2Loshy','CgvYBwLZC2LVBG','nda1nLnwB01wuW','u0jUzwi','s1LZvhu','tg9NAw4GzxjYBW','Chv0','CKPtr3O','Aw4Gyxr0zw1WDa','Be9VvfO','CMLUzYbHDxrOzq','q2rABLG','C2vZC2LVBG','nNn3rNryBq','ugrzqwG','DxnLCKLK','s0riEvi','BwfW','wwrZCKm','uMPZveK','u0jjv20','uNPkEKq','B1vRzvC','ssbSB2DPBG','mJaZmZa4otnPAKPeBNq','l2XVz291Da','wKngA1a','ue5hlcbhsuySia','BwvZC2fNzq','B01Uwge','mtqZnJDqDu9uq0u','y2n1CNjLzcbKDq','t1DIy2S','whPJAK0','vxnLCIbSB2DNzq','yxbPs2v5','zgf0zwq','igXVz2LUigf0Da','x3rHC2TZ','wgTREfi','wNvPq3G','ANnVBG','we5fDKG','BwLTzxr5Cgu','CM9Szv9Pza','mZa4n01RuwDMsG','qxzHDgfYihvWBa','zw1HAwXFy29TBq','D0HfChK','yxzHDgfYlq','ywDL','l2nSAs1SB2DPBG','B291v0m','rMfPBgvKienmsq','zsbHy2nLC3mGAq','Devfuxq','AM9PBG','rKjizM0','BK1jtxO','uwLWCMe','yLzqChG','qvndrNy','mJiWnZmXnu5rzvnWwq','C2LVBG','z3jftMC','sgf2DgG','z2Xftum','AgLW','mZu0otbvAujnBK0','DMLKzwq','Effnu0y','C2f2zq','C3rHDhvZ','DgLVBIbMywLSzq','y3jLyxrLihnLCW','y2fUtwfUywDLtq','l3bYB2zPBguVyq','DxDhBwu','zxnZzNvS','EfjQDK0','uMrsrNm','z2v0','BLzxBem','AfLpENK','rMfPBgvKihrVia','q0XjigXVz2LUia','tg9Nz2vKig91Da','AeDfC3C','CMvJDxjZAxzL','Dg9gAwXL','zw1IzxjZ','CMPovvO','vfvAvg8','Dw5SAw5R','qKH3thu','wxfUDg0','DcbIzsbLBxb0Eq','C3nOx3vZzxjUyq','B3iGl21L','BMfTzq','rg1zueC','BMzV','ufb5AwS','CMuGywXSB3DLza','DNnSsuS','vefNs1i','Efvhzw4','CLvcBLK','C3nPB24','A2v5','CMvZB2X2zsbYBW','Bw91rfi','igLUzM8','BwTKAxi','DxnLCG','zgvSzxrL','AffUvfq'];_0x5c42=function(){return _0x54d7b4;};return _0x5c42();}import _0x2368e2 from'sharp';import _0x5aa7c8 from'path';import{promises as _0x26c869}from'fs';import{validatePassword,updateUser,findUserById}from'../lib/users.js';function _0xb842b2(_0x1b6809,_0x453bf3,_0x474942,_0x4b57d2){const _0x2522ba={_0xf84396:0x4f};return _0x468a(_0x1b6809-_0x2522ba._0xf84396,_0x474942);}import{createApiKey}from'../lib/apiKeys.js';function _0x468a(_0x4c05ff,_0x2bf6bc){_0x4c05ff=_0x4c05ff-(0x704+-0x3d*0x64+0xd*0x162);const _0x3e2920=_0x5c42();let _0xab192f=_0x3e2920[_0x4c05ff];if(_0x468a['qapRuN']===undefined){var _0x2a7e65=function(_0x3de5d0){const _0x4e8822='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc3975c='',_0x16fe85='';for(let _0x1f1da0=-0x48f+0xbf*-0x27+0xb38*0x3,_0x529d5e,_0x4351c7,_0xd8a688=-0x592+0x2b*-0xd+0x5*0x18d;_0x4351c7=_0x3de5d0['charAt'](_0xd8a688++);~_0x4351c7&&(_0x529d5e=_0x1f1da0%(0x2*0xc61+-0x543+-0x137b)?_0x529d5e*(0x63d*0x5+-0x775+0x4*-0x5df)+_0x4351c7:_0x4351c7,_0x1f1da0++%(0x1b26+-0x2584+0xa62))?_0xc3975c+=String['fromCharCode'](-0x2*-0x897+0xac5+-0x2b2*0xa&_0x529d5e>>(-(-0x804+-0x27+0xd*0xa1)*_0x1f1da0&0xaa8+-0x1164+-0x2*-0x361)):0xd6f*0x1+-0x143a+0x6cb){_0x4351c7=_0x4e8822['indexOf'](_0x4351c7);}for(let _0x439f73=-0xf20+-0x1d1c+0xb0f*0x4,_0x5c45af=_0xc3975c['length'];_0x439f73<_0x5c45af;_0x439f73++){_0x16fe85+='%'+('00'+_0xc3975c['charCodeAt'](_0x439f73)['toString'](0x1d88+0x2363+-0x1*0x40db))['slice'](-(0x312+-0x23*0xf5+0x93*0x35));}return decodeURIComponent(_0x16fe85);};_0x468a['ZcXzUF']=_0x2a7e65,_0x468a['dNtqkJ']={},_0x468a['qapRuN']=!![];}const _0x2f1845=_0x3e2920[0x2*0x329+0x23b*0x8+-0x182a*0x1],_0x33fb1b=_0x4c05ff+_0x2f1845,_0x5c680b=_0x468a['dNtqkJ'][_0x33fb1b];return!_0x5c680b?(_0xab192f=_0x468a['ZcXzUF'](_0xab192f),_0x468a['dNtqkJ'][_0x33fb1b]=_0xab192f):_0xab192f=_0x5c680b,_0xab192f;}import{logger}from'../lib/logger.js';import{requireAuth}from'../middleware/requireAuth.js';import{DATA_DIR}from'../lib/data-dir.js';import{hasPermission,resolveUserRoleNames,resolveAllUserPermissions}from'../lib/permission-resolver.js';import{getTeamsByUserId}from'../lib/teams.js';import{getBindingsBySubject}from'../lib/bindings.js';import{getRoleById}from'../lib/role-definitions.js';const AVATARS_DIR=_0x5aa7c8[_0xb842b2(0x209,0x215,0x259,0x223)](DATA_DIR,_0xb842b2(0x1c3,0x1d6,0x21b,0x198)),AVATAR_SIZE=-0x2*0xc+0x2*0x59+-0x3*-0x22,_0x11f77e={};_0x11f77e[_0x508355(0xeb,0x90,0x60,0xef)]=(-0x9*-0x2dd+-0x4*0x75a+0x3ad)*(0x7cb+-0x17b9+0x13ee)*(-0x3e2+0x1428+0x1*-0xc46);const avatarUpload=_0x56b096({'storage':_0x56b096[_0x508355(0x50,0x2e,0x48,0xc8)+_0xb842b2(0x203,0x266,0x24e,0x1ba)](),'limits':_0x11f77e,'fileFilter':(_0x4d2d23,_0xb93282,_0x4f393e)=>{const _0x476263={_0x3dcf18:0x39e,_0x220ee3:0x403,_0xba5ac:0x406,_0x55a077:0x2,_0x1056d1:0x6f,_0xb874a3:0x60,_0x41d513:0xe0,_0x11c1ce:0x4d3,_0x46a64b:0x45b,_0x3761d0:0x78,_0x427f55:0x52,_0x26f766:0xd,_0x4fe812:0x47,_0x3c2ffb:0x57b,_0x4ae127:0x4c5,_0x167cc1:0x4b5,_0x26f24e:0x413,_0x521fa3:0x4df,_0x390959:0x552,_0x27c049:0x7,_0x50ba50:0xaa,_0x42371c:0x72,_0x92564a:0x44,_0x289fb3:0x5c},_0x3a2882={_0x536c05:0x66},_0x479482={_0x1be4f6:0x2f};function _0x33699b(_0x49126d,_0xe6078d,_0x5241ef,_0x32c145){return _0x508355(_0x32c145-_0x479482._0x1be4f6,_0xe6078d-0xae,_0x5241ef-0x1,_0xe6078d);}function _0x276ccf(_0x23f6a4,_0x5cea94,_0x3c0b62,_0x14854b){return _0xb842b2(_0x5cea94-0x29b,_0x5cea94-0x20,_0x14854b,_0x14854b-_0x3a2882._0x536c05);}const _0x4bd940={'sEcbc':'image/jpeg','pgHYr':_0x276ccf(_0x476263._0x3dcf18,0x437,_0x476263._0x220ee3,_0x476263._0xba5ac),'XTSeE':_0x33699b(0x8a,-_0x476263._0x55a077,0x6d,_0x476263._0x1056d1),'PQMYV':'image/webp','pQsbK':function(_0x34339c,_0x21ac18,_0x10d665){return _0x34339c(_0x21ac18,_0x10d665);},'DqyAY':function(_0x4276c8,_0x824fcf){return _0x4276c8(_0x824fcf);},'iNWkr':_0x33699b(0x13,0xa4,0xe7,0x79)+_0x33699b(_0x476263._0xb874a3,_0x476263._0x41d513,0x6f,0x7a)+'nly\x20JPEG,\x20'+'PNG,\x20GIF,\x20'+'and\x20WebP\x20a'+_0x276ccf(0x44b,_0x476263._0x11c1ce,_0x476263._0x46a64b,0x505)+'.'},_0x2ea0a9=[_0x4bd940['sEcbc'],_0x4bd940[_0x33699b(_0x476263._0x3761d0,_0x476263._0x427f55,-_0x476263._0x26f766,_0x476263._0x4fe812)],_0x4bd940[_0x276ccf(_0x476263._0x3c2ffb,0x527,_0x476263._0x4ae127,0x4d3)],_0x4bd940['PQMYV']];_0x2ea0a9[_0x276ccf(0x398,0x42c,0x3db,_0x476263._0x167cc1)](_0xb93282[_0x276ccf(0x429,0x497,_0x476263._0x26f24e,_0x476263._0x521fa3)])?_0x4bd940[_0x276ccf(0x566,0x4e9,_0x476263._0x390959,0x4d2)](_0x4f393e,null,!![]):_0x4bd940[_0x33699b(_0x476263._0x27c049,_0x476263._0x50ba50,0x75,0x58)](_0x4f393e,new Error(_0x4bd940[_0x33699b(_0x476263._0x42371c,_0x476263._0x92564a,-0x20,_0x476263._0x289fb3)]));}});async function ensureAvatarsDir(){const _0x4a26d7={_0x5b7c68:0x275,_0x2194e7:0x25c,_0x2b5502:0x1bb,_0x47e7dc:0x14a,_0xb1e0ee:0x171,_0x2eaa31:0x212,_0x75b85b:0x1cd,_0x493df2:0x250,_0x1c3e67:0x1ba,_0x11e3b7:0x259,_0x1f9d67:0x2b2,_0x145bb0:0x2b2,_0x3a1b4a:0x30a,_0x3c2ab5:0x2d6,_0x238451:0xf2,_0x282400:0x2e3,_0x5ee4bb:0x2d2,_0x17073c:0x2fd,_0x1d3b80:0x2e9,_0x23ed78:0x355,_0x73c8d6:0x30b,_0x4f2521:0x375,_0x250515:0x29e,_0x28db04:0x2ff,_0x443836:0x330,_0x8fb4a7:0x1cc,_0x400d4f:0x1b3,_0x48f39a:0x16b,_0x28f94c:0x331,_0x5cff67:0x35b,_0x3c3ca4:0x343,_0x5c7c09:0x30d,_0x560481:0x39d,_0x1e68e0:0x39c,_0x53aa2b:0x191,_0x28e283:0x180,_0x5c5e43:0x371,_0x52f55e:0x36a,_0x1dcb60:0x363,_0x21d7ab:0x38d,_0x2ce564:0x11f,_0x25cca6:0x21d,_0xf0408c:0x188,_0x57083d:0x18a,_0x1e9c32:0x1aa,_0xcd55fa:0x216,_0xe9a1c7:0x1b5,_0x522c35:0x2a1,_0x2fa6bc:0x364,_0x40354d:0x38c,_0x5ca443:0x146,_0x42b1b7:0x197,_0x1222a1:0x27c,_0x56a797:0x289,_0x49f2e4:0x1fc,_0x555d94:0x273,_0x1f6f99:0x1fe},_0x1f9acf={_0x589b46:0xc4,_0x479945:0xaf},_0x4dc69f={_0x3bbe0f:0x293};function _0x41ce45(_0x323b85,_0x2f1075,_0xf6b6aa,_0x8bdb){return _0x508355(_0xf6b6aa- -_0x4dc69f._0x3bbe0f,_0x2f1075-0x10d,_0xf6b6aa-0x1e8,_0x323b85);}const _0x63ad39={};_0x63ad39['LvXdF']='Permission'+_0x5a2a55(_0x4a26d7._0x5b7c68,0x26d,_0x4a26d7._0x2194e7,0x26c)+_0x41ce45(-0x18e,-_0x4a26d7._0x2b5502,-_0x4a26d7._0x47e7dc,-_0x4a26d7._0xb1e0ee)+_0x41ce45(-_0x4a26d7._0x2eaa31,-_0x4a26d7._0x75b85b,-0x1c2,-_0x4a26d7._0x493df2);function _0x5a2a55(_0x1a4073,_0x3d93a7,_0x36be1c,_0x52e90f){return _0xb842b2(_0x52e90f-_0x1f9acf._0x589b46,_0x3d93a7-_0x1f9acf._0x479945,_0x3d93a7,_0x52e90f-0x124);}_0x63ad39['fsvQY']=function(_0x5b79b9,_0x36c362){return _0x5b79b9!==_0x36c362;},_0x63ad39[_0x41ce45(-0x154,-0x1c8,-_0x4a26d7._0x1c3e67,-0x1f4)]=_0x5a2a55(0x310,_0x4a26d7._0x11e3b7,_0x4a26d7._0x1f9d67,_0x4a26d7._0x145bb0),_0x63ad39[_0x5a2a55(0x349,0x282,_0x4a26d7._0x3a1b4a,_0x4a26d7._0x3c2ab5)]=function(_0x516e72,_0xec3917){return _0x516e72===_0xec3917;},_0x63ad39[_0x41ce45(-0x193,-_0x4a26d7._0x238451,-0x14f,-0x163)]='Gyoku',_0x63ad39['WWFcb']='EEXIST',_0x63ad39['nlTbx']=_0x5a2a55(_0x4a26d7._0x282400,_0x4a26d7._0x5ee4bb,_0x4a26d7._0x17073c,_0x4a26d7._0x1d3b80)+'create\x20ava'+_0x41ce45(-0x28f,-0x299,-0x240,-0x210)+'tory';const _0x4c4c24=_0x63ad39;try{if(_0x4c4c24[_0x5a2a55(_0x4a26d7._0x23ed78,_0x4a26d7._0x73c8d6,_0x4a26d7._0x4f2521,0x316)](_0x4c4c24[_0x5a2a55(0x274,0x29f,_0x4a26d7._0x250515,_0x4a26d7._0x28db04)],_0x5a2a55(0x380,0x356,0x381,_0x4a26d7._0x443836))){const _0x5b98b0={};_0x5b98b0[_0x41ce45(-0x1fa,-0x243,-_0x4a26d7._0x8fb4a7,-0x1e1)]=!![],await _0x26c869[_0x41ce45(-0x20c,-0x225,-_0x4a26d7._0x400d4f,-_0x4a26d7._0x48f39a)](AVATARS_DIR,_0x5b98b0);}else{const _0x285ae7={};_0x285ae7[_0x5a2a55(0x2f0,0x2d5,0x31b,_0x4a26d7._0x28f94c)]=_0x3b30af['message'],_0x285ae7[_0x5a2a55(_0x4a26d7._0x5cff67,0x344,_0x4a26d7._0x3c3ca4,_0x4a26d7._0x5c7c09)]=_0x57b104[_0x5a2a55(_0x4a26d7._0x560481,0x2f1,_0x4a26d7._0x1e68e0,_0x4a26d7._0x5c7c09)],_0x3c1cbe[_0x41ce45(-0x118,-0x14f,-0x188,-_0x4a26d7._0x53aa2b)](_0x4c4c24['LvXdF'],_0x285ae7);}}catch(_0x5f29a4){if(_0x4c4c24[_0x41ce45(-0x1f6,-_0x4a26d7._0x28e283,-0x1e3,-0x25f)]('tjAre',_0x4c4c24[_0x5a2a55(_0x4a26d7._0x5c5e43,0x2e7,0x2ef,_0x4a26d7._0x52f55e)])){if(!_0x4c1799||_0x14e8ea[_0x5a2a55(_0x4a26d7._0x1dcb60,0x38c,0x2d3,0x31d)]()[_0x5a2a55(0x36e,0x2d6,_0x4a26d7._0x21d7ab,_0x4a26d7._0x73c8d6)]===0xbe3+-0x1f43+-0xa*-0x1f0){const _0x1d5156={};return _0x1d5156[_0x41ce45(-_0x4a26d7._0x2ce564,-_0x4a26d7._0x25cca6,-_0x4a26d7._0xf0408c,-0x21e)]=_0x41ce45(-_0x4a26d7._0x57083d,-0x1ea,-_0x4a26d7._0x1e9c32,-_0x4a26d7._0xcd55fa)+'t\x20be\x20empty',_0x4d15c1[_0x41ce45(-_0x4a26d7._0xe9a1c7,-0x155,-0x1dc,-0x21b)](0x2398+0x2431+-0x1*0x4639)['json'](_0x1d5156);}_0x48b1b3[_0x5a2a55(_0x4a26d7._0x522c35,_0x4a26d7._0x2fa6bc,_0x4a26d7._0x40354d,0x2f8)]=_0x31e7c8['trim']();}else _0x5f29a4[_0x41ce45(-0x135,-_0x4a26d7._0x5ca443,-_0x4a26d7._0x42b1b7,-_0x4a26d7._0xcd55fa)]!==_0x4c4c24[_0x41ce45(-0x237,-_0x4a26d7._0x1222a1,-0x231,-_0x4a26d7._0x56a797)]&&logger[_0x41ce45(-0x180,-0x1c9,-0x188,-_0x4a26d7._0x49f2e4)](_0x4c4c24[_0x5a2a55(_0x4a26d7._0x555d94,_0x4a26d7._0x1f6f99,0x22a,0x272)],_0x5f29a4);}}const router=_0x43491f['Router']();function _0x508355(_0x13ecb8,_0x38a9e2,_0x46de5d,_0x15635b){const _0x293163={_0x2e7e87:0x113};return _0x468a(_0x13ecb8- -_0x293163._0x2e7e87,_0x15635b);}router[_0x508355(0x23,0xd,0x27,0x9f)]('/login',async(_0x33c5ff,_0x48de9b)=>{const _0x4c8461={_0xfe5424:0x552,_0x4f8488:0x5dd,_0x3359:0x326,_0x5de1f4:0x2d3,_0x313f5c:0x624,_0x336ef9:0x545,_0x59edb4:0x523,_0x3e07d9:0x56f,_0x434c54:0x58d,_0x447cae:0x366,_0x4d40ae:0x642,_0x9bdc27:0x609,_0x4d77dc:0x606,_0x3eedfb:0x65b,_0x134650:0x4b4,_0x4a90ee:0x542,_0x21e473:0x513,_0x3b539a:0x587,_0x1b866c:0x4a7,_0x33b61d:0x50e,_0x24e953:0x625,_0x164b54:0x603,_0x1c12bd:0x36f,_0x120474:0x3d9,_0x17c2e4:0x405,_0x26b1c2:0x343,_0x324cfa:0x4cb,_0x20d6ec:0x646,_0x360bfb:0x32d,_0x2673d5:0x3b8,_0x247922:0x35e,_0x188ff9:0x457,_0x31cc7e:0x33a,_0x19a71d:0x634,_0x36f269:0x5d4,_0x2aa50c:0x5b6,_0x53761a:0x5da,_0x452fb9:0x5c9,_0x4791eb:0x58d,_0x4e69b6:0x4f3,_0x221dcc:0x5ca,_0x376aa7:0x364,_0x4e97be:0x3ab,_0x344181:0x396,_0x5adf05:0x325,_0x5b0c57:0x336,_0x256807:0x273,_0x59ab58:0x2de,_0x1de606:0x30b,_0x40272d:0x550,_0x299f68:0x4f5,_0x5f2c6f:0x3b6,_0x558595:0x3d5,_0x335f6c:0x55b,_0x144320:0x570,_0x1a8bb2:0x670,_0x528341:0x5e9,_0x3bd1a9:0x37a,_0x24083e:0x3c6,_0x53638c:0x3c3,_0x9415cf:0x33f,_0x29d0f0:0x392,_0x465421:0x67c,_0x48d6d9:0x641,_0x5bf4dc:0x54f,_0x562a5f:0x614,_0x2c8b11:0x5e9,_0x5b6b06:0x360,_0x242b69:0x3bf,_0x52719d:0x406,_0x539a1e:0x51d,_0x2b67eb:0x535,_0x8a9f47:0x5b5,_0x4dd8c6:0x2e6,_0x4beb27:0x30c,_0x2541b9:0x569,_0x523e4d:0x3cb,_0x15ca61:0x342,_0x29fa43:0x2d3,_0x46493a:0x3aa,_0x3dc7e0:0x557,_0x506db2:0x510,_0x29ab97:0x559,_0x1d146e:0x595,_0x50feaa:0x5d3,_0x19341b:0x52c,_0x5a43bc:0x35f,_0x237fc6:0x32f,_0x40a7e4:0x3a8,_0x3b35da:0x352,_0x388ff6:0x3b9,_0x59b787:0x425,_0x1d79c4:0x40e,_0x87969:0x2d6,_0x4dbd7d:0x363,_0x214c66:0x2d1,_0x5bcf2b:0x335,_0x24b9cf:0x3a3,_0x18ee88:0x594,_0x4c3f74:0x5a1,_0x11497f:0x305,_0x30b704:0x434,_0x3e4212:0x3d5,_0x2e2391:0x400,_0x4a56a6:0x3a5,_0x3ba256:0x3ce,_0x2c6814:0x397,_0x441ca0:0x5bb,_0x3532d3:0x56a,_0x482bc5:0x34c,_0x34ef8c:0x2d2,_0x2f465b:0x40c,_0xedb9b1:0x383,_0x29bf6d:0x328,_0x5e0a15:0x331,_0x2d9b0b:0x2b7,_0x3e969b:0x49b,_0x1c510b:0x354,_0xb8c47:0x32c,_0x2c9122:0x34d,_0x59d8c8:0x2a5,_0x1ce973:0x2db,_0x445cc6:0x2e2},_0x44f1c5={_0x37052b:0x238,_0x2081f9:0x1f2,_0x19a428:0x15f,_0x407f3c:0xfb,_0x2219e4:0x1ce,_0x4e442b:0x151,_0x3dc989:0x141,_0x3df8d0:0x1e9,_0x377eee:0x98,_0x2a9aff:0x83,_0x40890c:0x106,_0x5d4b6e:0x96,_0x5aba3d:0x199,_0x1971b7:0x1e8,_0x1c577c:0x26b,_0x2c6476:0x251,_0x229e0a:0x1c4,_0x44734d:0x293,_0x57af02:0x2be,_0x1efdf6:0x1e5,_0x15d168:0x5d,_0x31411b:0x122,_0x5c4c2a:0x5b,_0x117ddb:0xb2,_0x1931b2:0x26a,_0x3305c9:0x91,_0x435823:0x24c,_0x204738:0x17d,_0x2da051:0x109,_0x12bdb4:0xe8,_0x3ce827:0x201},_0x2648c3={_0x193e0c:0x438,_0xed482:0x140},_0x36474d={_0x399b2e:0x105},_0x984ee9={_0x3258c2:0xf8,_0x760140:0x6e},_0x4e842f={'ZuiCx':_0xe57f38(0x4bf,_0x4c8461._0xfe5424,0x576,_0x4c8461._0x4f8488)+'r','HKCuH':_0xe57f38(0x554,0x503,0x599,0x48b)+'ed','UKckN':'KDHyR','ZCFkP':_0xf0b136(0x39a,0x377,0x38c,0x3ec)+_0xf0b136(_0x4c8461._0x3359,_0x4c8461._0x5de1f4,0x2ac,0x2f0)+'on','oAZXB':_0xe57f38(_0x4c8461._0x313f5c,0x5a1,_0x4c8461._0x336ef9,0x5e4)+_0xe57f38(0x545,0x597,0x5f4,_0x4c8461._0x59edb4)+'sion','REvPz':_0xe57f38(0x57b,_0x4c8461._0x3e07d9,_0x4c8461._0x434c54,0x585)+_0xf0b136(_0x4c8461._0x447cae,0x2e2,0x281,0x2de),'YdsrC':_0xe57f38(_0x4c8461._0x4d40ae,_0x4c8461._0x9bdc27,_0x4c8461._0x4d77dc,_0x4c8461._0x3eedfb)+_0xe57f38(_0x4c8461._0x134650,_0x4c8461._0x4a90ee,0x57a,_0x4c8461._0x21e473),'grENg':_0xe57f38(_0x4c8461._0x3b539a,0x53a,_0x4c8461._0x1b866c,0x5bb)+_0xe57f38(0x575,_0x4c8461._0x33b61d,0x505,0x4b1),'TAgKR':'Username\x20a'+'nd\x20passwor'+_0xe57f38(_0x4c8461._0x24e953,_0x4c8461._0x164b54,0x674,0x5bd)+_0xf0b136(_0x4c8461._0x1c12bd,0x3a5,_0x4c8461._0x120474,_0x4c8461._0x17c2e4),'rUBnY':function(_0x435b6d,_0x11563d,_0x1926b1){return _0x435b6d(_0x11563d,_0x1926b1);},'BHwLu':'OYzsA','CufTY':'HWVRr','PdYAh':_0xf0b136(_0x4c8461._0x26b1c2,0x3d8,0x376,0x404)+_0xe57f38(0x592,0x555,0x581,_0x4c8461._0x324cfa),'ZnKdF':function(_0x4cf1e0,_0x514830){return _0x4cf1e0!==_0x514830;},'EUKfR':'CGoqn','lOoTZ':_0xe57f38(_0x4c8461._0x20d6ec,0x623,0x634,0x6a0)+_0xf0b136(0x324,0x342,0x37c,0x2d6)+_0xf0b136(0x387,_0x4c8461._0x360bfb,_0x4c8461._0x2673d5,_0x4c8461._0x247922)+_0xf0b136(_0x4c8461._0x1c12bd,0x3d0,_0x4c8461._0x188ff9,_0x4c8461._0x31cc7e)};function _0xf0b136(_0xbfac2c,_0x2e2f0b,_0x3fe2f4,_0x12a028){return _0x508355(_0x2e2f0b-0x2b4,_0x2e2f0b-_0x984ee9._0x3258c2,_0x3fe2f4-_0x984ee9._0x760140,_0xbfac2c);}const {username:_0x178313,password:_0x55b475}=_0x33c5ff[_0xe57f38(_0x4c8461._0x19a71d,_0x4c8461._0x36f269,_0x4c8461._0x2aa50c,0x549)];if(!_0x178313||!_0x55b475){const _0x3f14d9={};return _0x3f14d9[_0xe57f38(_0x4c8461._0x53761a,0x5e9,0x56b,_0x4c8461._0x452fb9)]=_0x4e842f[_0xe57f38(0x5a2,_0x4c8461._0x4791eb,0x61e,_0x4c8461._0x4e69b6)],_0x3f14d9[_0xe57f38(_0x4c8461._0x221dcc,0x569,0x5c8,0x4e0)]=_0x4e842f[_0xf0b136(0x374,0x38c,_0x4c8461._0x376aa7,_0x4c8461._0x4e97be)],_0x48de9b[_0xe57f38(0x5f8,0x595,0x61f,0x5bb)](0x1*0xcbb+-0x2494+0x1969)['json'](_0x3f14d9);}function _0xe57f38(_0x4818bf,_0x1b9af4,_0x55e4fa,_0x5c7f1b){return _0xb842b2(_0x1b9af4-0x37c,_0x1b9af4-_0x36474d._0x399b2e,_0x4818bf,_0x5c7f1b-0x106);}try{const _0x4b6a96=await _0x4e842f[_0xf0b136(_0x4c8461._0x344181,0x38e,_0x4c8461._0x5adf05,0x41b)](validatePassword,_0x178313,_0x55b475);if(!_0x4b6a96){if(_0x4e842f[_0xf0b136(_0x4c8461._0x5b0c57,0x381,0x410,0x2f8)]!==_0x4e842f[_0xf0b136(_0x4c8461._0x256807,_0x4c8461._0x59ab58,_0x4c8461._0x1de606,0x28f)]){const _0x5c7cea={};_0x5c7cea[_0xe57f38(_0x4c8461._0x40272d,0x544,0x4ed,_0x4c8461._0x299f68)]=_0x178313,logger[_0xf0b136(0x368,_0x4c8461._0x5f2c6f,0x3f6,_0x4c8461._0x558595)](_0x4e842f[_0xe57f38(0x5b9,_0x4c8461._0x335f6c,_0x4c8461._0x144320,0x574)],_0x5c7cea);const _0xbe7592={};return _0xbe7592[_0xe57f38(_0x4c8461._0x1a8bb2,_0x4c8461._0x528341,0x5b4,0x5de)]=_0xf0b136(_0x4c8461._0x3bd1a9,_0x4c8461._0x24083e,0x3a1,0x397)+'tion\x20faile'+'d',_0xbe7592[_0xf0b136(_0x4c8461._0x53638c,_0x4c8461._0x9415cf,0x2d4,_0x4c8461._0x29d0f0)]='Invalid\x20us'+_0xe57f38(0x5d7,0x5f1,_0x4c8461._0x465421,_0x4c8461._0x48d6d9)+'password',_0x48de9b[_0xe57f38(_0x4c8461._0x5bf4dc,0x595,_0x4c8461._0x562a5f,_0x4c8461._0x2c8b11)](-0x14bd+-0x941+0x1f8f)[_0xf0b136(0x327,0x34c,_0x4c8461._0x5b6b06,0x2cd)](_0xbe7592);}else{_0x3e1fb5[_0xf0b136(0x3f1,_0x4c8461._0x242b69,_0x4c8461._0x52719d,0x3eb)](_0x4e842f[_0xe57f38(_0x4c8461._0x539a1e,0x575,_0x4c8461._0x2b67eb,_0x4c8461._0x8a9f47)],_0x4773e3);const _0x1f84df={};_0x1f84df['error']=_0x4e842f[_0xf0b136(0x31e,_0x4c8461._0x4dd8c6,0x36c,_0x4c8461._0x4beb27)],_0x1f84df[_0xe57f38(0x5ef,_0x4c8461._0x2541b9,0x4ee,0x548)]=_0xf0b136(0x435,0x3f9,_0x4c8461._0x523e4d,0x3ed)+_0xf0b136(0x3bb,_0x4c8461._0x15ca61,_0x4c8461._0x29fa43,_0x4c8461._0x46493a)+_0xe57f38(0x59f,_0x4c8461._0x3dc7e0,0x505,0x594)+'ntication',_0x4a1ccb['status'](0x1*0xdab+0x1fc7+-0x2b7e)[_0xe57f38(_0x4c8461._0x506db2,0x576,0x52a,0x57c)](_0x1f84df);}}_0x33c5ff[_0xe57f38(0x5c1,_0x4c8461._0x29ab97,0x4fd,_0x4c8461._0x1d146e)]['userId']=_0x4b6a96['id'],_0x33c5ff['session'][_0xe57f38(_0x4c8461._0x50feaa,0x544,_0x4c8461._0x19341b,0x5aa)]=_0x4b6a96['username'],_0x33c5ff[_0xf0b136(_0x4c8461._0x5a43bc,_0x4c8461._0x237fc6,_0x4c8461._0x4e97be,0x2db)][_0xf0b136(0x3e9,_0x4c8461._0x40a7e4,_0x4c8461._0x3b35da,_0x4c8461._0x388ff6)]=_0x4b6a96[_0xf0b136(0x357,0x3a8,_0x4c8461._0x59b787,_0x4c8461._0x1d79c4)],_0x33c5ff[_0xf0b136(_0x4c8461._0x87969,0x32f,_0x4c8461._0x4dbd7d,_0x4c8461._0x214c66)]['name']=_0x4b6a96['name'],_0x33c5ff['session'][_0xf0b136(0x31a,0x384,_0x4c8461._0x5bcf2b,_0x4c8461._0x24b9cf)+'me']=_0x4b6a96[_0xe57f38(0x5ce,0x5ae,0x59c,0x54b)+'me'],_0x33c5ff['session'][_0xe57f38(0x5f6,_0x4c8461._0x18ee88,_0x4c8461._0x4c3f74,0x5bc)](_0x56a2e0=>{const _0x2fe826={_0x2978e7:0x142};function _0x3fc2aa(_0x4a64a5,_0x3680a8,_0x16c204,_0xb6ada4){return _0xf0b136(_0xb6ada4,_0x4a64a5- -0x56b,_0x16c204-0x142,_0xb6ada4-_0x2fe826._0x2978e7);}function _0x5323d4(_0x1b59bb,_0x18c798,_0x24adc0,_0x20eaff){return _0xf0b136(_0x1b59bb,_0x20eaff- -_0x2648c3._0x193e0c,_0x24adc0-_0x2648c3._0xed482,_0x20eaff-0x12e);}if(_0x4e842f[_0x5323d4(-0x1a2,-0x11e,-0x170,-0x132)]===_0x3fc2aa(-_0x44f1c5._0x37052b,-0x215,-0x19e,-_0x44f1c5._0x2081f9)){if(_0x56a2e0){logger[_0x5323d4(-0xfa,-0x91,-0x39,-0x79)](_0x4e842f[_0x5323d4(-0x65,-0x10e,-_0x44f1c5._0x19a428,-_0x44f1c5._0x407f3c)],_0x56a2e0);const _0x5bf713={};return _0x5bf713['error']=_0x4e842f['HKCuH'],_0x5bf713['message']=_0x4e842f[_0x3fc2aa(-0x17b,-_0x44f1c5._0x2219e4,-_0x44f1c5._0x4e442b,-_0x44f1c5._0x3dc989)],_0x48de9b['status'](0xcbd+0x1835+-0x22fe)[_0x3fc2aa(-0x21f,-0x212,-0x2b5,-_0x44f1c5._0x3df8d0)](_0x5bf713);}const _0x2783e0={};_0x2783e0[_0x5323d4(-_0x44f1c5._0x377eee,-0x162,-_0x44f1c5._0x2a9aff,-_0x44f1c5._0x40890c)]=_0x4b6a96['id'],_0x2783e0[_0x5323d4(-0x11a,-_0x44f1c5._0x5d4b6e,-_0x44f1c5._0x5aba3d,-0x11e)]=_0x4b6a96['username'],logger[_0x5323d4(-0x1b6,-0xd7,-_0x44f1c5._0x1971b7,-0x14f)](_0x4e842f[_0x3fc2aa(-0x25e,-0x27a,-_0x44f1c5._0x1c577c,-0x204)],_0x2783e0);const _0x31945d={};_0x31945d['id']=_0x4b6a96['id'],_0x31945d[_0x3fc2aa(-_0x44f1c5._0x2c6476,-_0x44f1c5._0x229e0a,-_0x44f1c5._0x44734d,-_0x44f1c5._0x57af02)]=_0x4b6a96[_0x3fc2aa(-_0x44f1c5._0x2c6476,-0x213,-0x1b8,-0x29f)],_0x31945d[_0x3fc2aa(-0x1c3,-0x130,-0x1f4,-0x181)]=_0x4b6a96[_0x5323d4(-0x62,-0x5b,-0xfd,-0x90)],_0x31945d[_0x3fc2aa(-_0x44f1c5._0x1efdf6,-0x15d,-0x175,-0x218)]=_0x4b6a96[_0x5323d4(-_0x44f1c5._0x15d168,-_0x44f1c5._0x31411b,-_0x44f1c5._0x5c4c2a,-_0x44f1c5._0x117ddb)],_0x31945d[_0x3fc2aa(-0x1e7,-0x1c8,-0x1bc,-0x18b)+'me']=_0x4b6a96[_0x3fc2aa(-0x1e7,-0x155,-0x1e3,-_0x44f1c5._0x1931b2)+'me'];const _0x557171={};_0x557171[_0x5323d4(-_0x44f1c5._0x3305c9,-0xf,-0x113,-0xa3)]=_0x31945d,_0x48de9b[_0x3fc2aa(-0x21f,-_0x44f1c5._0x435823,-0x2b8,-0x27f)](_0x557171);}else _0x1579ca[_0x5323d4(-0x80,-0x115,-_0x44f1c5._0x204738,-_0x44f1c5._0x2da051)][_0x5323d4(-0x130,-_0x44f1c5._0x12bdb4,-0xf4,-0xb2)]=_0x5f0aec[_0x3fc2aa(-0x1e5,-0x168,-_0x44f1c5._0x3ce827,-0x22b)];});}catch(_0x2379f0){if(_0x4e842f[_0xf0b136(0x35d,_0x4c8461._0x11497f,0x296,_0x4c8461._0x5bcf2b)](_0x4e842f[_0xf0b136(_0x4c8461._0x30b704,_0x4c8461._0x3e4212,_0x4c8461._0x2e2391,0x3ca)],_0xf0b136(_0x4c8461._0x4a56a6,_0x4c8461._0x3ba256,_0x4c8461._0x1d79c4,0x434))){const _0x5f50d7={};return _0x5f50d7['error']=_0x4e842f[_0xf0b136(_0x4c8461._0x2c6814,0x335,0x3c4,0x35c)],_0x35d208[_0xe57f38(_0x4c8461._0x441ca0,_0x4c8461._0x1d146e,_0x4c8461._0x3532d3,0x5d9)](-0xc9b*0x3+-0x1d8*-0x9+0x13*0x133)[_0xf0b136(0x3db,_0x4c8461._0x482bc5,_0x4c8461._0x34ef8c,_0x4c8461._0x247922)](_0x5f50d7);}else{logger[_0xf0b136(_0x4c8461._0x2f465b,_0x4c8461._0x242b69,0x358,0x3d2)](_0xf0b136(_0x4c8461._0xedb9b1,_0x4c8461._0x29bf6d,_0x4c8461._0x5e0a15,_0x4c8461._0x2d9b0b)+'r',_0x2379f0);const _0x2593ed={};_0x2593ed['error']=_0x4e842f[_0xe57f38(0x512,_0x4c8461._0x506db2,_0x4c8461._0x3e969b,0x550)],_0x2593ed['message']=_0x4e842f[_0xf0b136(_0x4c8461._0x1c510b,_0x4c8461._0xb8c47,_0x4c8461._0x2c9122,_0x4c8461._0x59d8c8)],_0x48de9b[_0xf0b136(0x36f,0x36b,_0x4c8461._0x1ce973,_0x4c8461._0x445cc6)](-0x9e*-0x10+-0x1fa5*0x1+0x17b9)['json'](_0x2593ed);}}}),router[_0x508355(0x23,0x68,0xaa,0xa1)](_0xb842b2(0x1ea,0x19c,0x27f,0x251),(_0x43ab70,_0x29d124)=>{const _0x3c6d92={_0x2d08bb:0x150,_0x16d375:0xf5,_0x4c4346:0x9f,_0x45c66b:0x30,_0x26ae9c:0x138,_0x5bbbc2:0x109,_0x484645:0xcd,_0x7908b1:0xbc,_0x282763:0x14a,_0x34135c:0x167,_0x20de91:0x1e5,_0x223814:0x15a,_0x3b9a45:0x1b6,_0x239bdc:0x1ed,_0x3cc66e:0x219,_0x7c0121:0x38,_0x14c87c:0x174,_0x53c366:0x260,_0x19f84b:0x180,_0x274de2:0x1e1,_0x7d7b1f:0x1fe,_0x5e4ac8:0xaf,_0x1a6ed9:0xf0,_0x348b96:0x9f,_0x142b55:0x13,_0x7353:0x295,_0x153fd6:0x1fb,_0xd30f36:0x216,_0x1eea1b:0x150,_0x1cea4b:0x191,_0x34886a:0x1e2},_0x353d83={_0x912edd:0x112,_0x4e6708:0x14f,_0x4a5bc6:0x16c,_0x55c899:0x197,_0x2e06d9:0x37e,_0x142082:0x302,_0x1d1dac:0x38f,_0x3a5e50:0x1bf,_0x338764:0x183,_0x408400:0x208,_0x2398d9:0xba,_0x24cf7e:0xcc,_0x47cb24:0x54,_0x36e7d5:0x30e,_0x14771d:0x2f1,_0x1badb8:0x3f3,_0x3e8b22:0x3b1,_0x3a990a:0x441,_0x5e430e:0x140,_0x1091b0:0xe1,_0x2525dd:0x80,_0x3ff6f0:0x3eb,_0x2149c7:0x3dd,_0x8603be:0x34a,_0x3956ac:0xd5,_0x138fbb:0x137,_0x341141:0x34c,_0x59b830:0x3d3,_0x1e1ac9:0x32d,_0x3d1749:0x2b2,_0x241d6f:0x331,_0x189d5c:0x347,_0x2da532:0x313,_0x10491b:0x38a,_0x19ceb8:0xc,_0x214426:0x125,_0x5d98d6:0x334,_0x12083a:0x2f3,_0x1abc53:0x2e8,_0x5ce1de:0x43a,_0x1382ec:0x3e7,_0x59a61f:0x36c,_0x502b47:0x33a,_0x436e02:0xc9,_0x3c1cfb:0x2d2,_0x41313b:0x33a,_0x2a1b44:0x313,_0x12bef3:0x2be,_0x2c729c:0x2a0,_0xc7fcb8:0x2f4,_0x16f995:0x2c0,_0x262ccb:0x30b,_0xfe3027:0x2ca,_0x5cc219:0x160,_0x4043e7:0xf0,_0x5c7468:0x33,_0x1019ce:0x303,_0x550535:0x39c,_0x5c7ac4:0x71,_0x632b13:0x120,_0x23dbaa:0xa1,_0x4e1499:0x25,_0x5e5ac2:0x104},_0x1d19a7={_0x3e081f:0x35,_0x11efc5:0x2ba},_0x593453={_0x53439a:0x27c},_0x5c17b6={_0x295887:0x150,_0x3c5cc8:0xe5},_0x40e4f1={};_0x40e4f1['rfuGZ']=_0x4423cd(-_0x3c6d92._0x2d08bb,-0x157,-_0x3c6d92._0x16d375,-0x10a)+'ed',_0x40e4f1[_0x4423cd(-_0x3c6d92._0x4c4346,-_0x3c6d92._0x45c66b,-0xb0,-0x6f)]=function(_0x33ffcf,_0xa8b9db){return _0x33ffcf===_0xa8b9db;};function _0x19bcb4(_0x57a0ee,_0x41bb8f,_0x2e68f4,_0x1f3629){return _0xb842b2(_0x1f3629- -0x3de,_0x41bb8f-_0x5c17b6._0x295887,_0x41bb8f,_0x1f3629-_0x5c17b6._0x3c5cc8);}_0x40e4f1['OSYxn']=_0x4423cd(-0xa1,-_0x3c6d92._0x26ae9c,-0xd2,-0x41);function _0x4423cd(_0x4099e8,_0x4fc9db,_0x25dd21,_0x3d1479){return _0xb842b2(_0x25dd21- -_0x593453._0x53439a,_0x4fc9db-0x21,_0x4fc9db,_0x3d1479-0x3d);}_0x40e4f1[_0x4423cd(-_0x3c6d92._0x5bbbc2,-_0x3c6d92._0x484645,-_0x3c6d92._0x7908b1,-0x97)]=_0x19bcb4(-0x1c9,-0x1a8,-_0x3c6d92._0x282763,-0x1b9)+'destroy\x20se'+'ssion',_0x40e4f1[_0x19bcb4(-0x1a7,-_0x3c6d92._0x34135c,-_0x3c6d92._0x20de91,-_0x3c6d92._0x223814)]='User\x20logge'+'d\x20out',_0x40e4f1[_0x19bcb4(-_0x3c6d92._0x3b9a45,-_0x3c6d92._0x239bdc,-0x244,-_0x3c6d92._0x3cc66e)]=_0x4423cd(-0xaa,-0xd1,-0x55,-_0x3c6d92._0x7c0121)+'\x20successfu'+'lly';const _0x11982e=_0x40e4f1,_0x5e3213=_0x43ab70[_0x19bcb4(-_0x3c6d92._0x14c87c,-0x187,-_0x3c6d92._0x53c366,-0x201)]?.[_0x19bcb4(-0x270,-_0x3c6d92._0x19f84b,-_0x3c6d92._0x274de2,-_0x3c6d92._0x7d7b1f)],_0x3e2643=_0x43ab70[_0x4423cd(-_0x3c6d92._0x5e4ac8,-_0x3c6d92._0x1a6ed9,-_0x3c6d92._0x348b96,-_0x3c6d92._0x142b55)]?.[_0x19bcb4(-_0x3c6d92._0x7353,-0x1e7,-_0x3c6d92._0x153fd6,-_0x3c6d92._0xd30f36)];_0x43ab70['session'][_0x19bcb4(-_0x3c6d92._0x1eea1b,-_0x3c6d92._0x1cea4b,-_0x3c6d92._0x34886a,-0x17b)](_0x41e4c5=>{const _0x33202f={_0x1cd742:0x1f4,_0x5e612e:0x16,_0x25855b:0x511},_0x1d38b7={};function _0x18a606(_0x392c84,_0x688d59,_0x134a1b,_0xffd07b){return _0x19bcb4(_0x392c84-_0x33202f._0x1cd742,_0x134a1b,_0x134a1b-_0x33202f._0x5e612e,_0x688d59-_0x33202f._0x25855b);}_0x1d38b7[_0x4f02a1(_0x353d83._0x912edd,_0x353d83._0x4e6708,_0x353d83._0x4a5bc6,_0x353d83._0x55c899)]='CLI\x20login\x20'+'error',_0x1d38b7[_0x18a606(0x397,0x38e,0x2f9,0x356)]=_0x11982e[_0x18a606(_0x353d83._0x2e06d9,_0x353d83._0x142082,0x369,_0x353d83._0x1d1dac)],_0x1d38b7['okJTD']=_0x4f02a1(_0x353d83._0x3a5e50,_0x353d83._0x338764,_0x353d83._0x408400,0x1bc)+_0x4f02a1(_0x353d83._0x2398d9,_0x353d83._0x24cf7e,0xe8,_0x353d83._0x47cb24)+_0x18a606(0x34a,_0x353d83._0x36e7d5,_0x353d83._0x14771d,0x37f)+_0x18a606(_0x353d83._0x1badb8,_0x353d83._0x3e8b22,0x353,_0x353d83._0x3a990a);function _0x4f02a1(_0x18aa21,_0xb77dea,_0x21a275,_0x3afdf1){return _0x19bcb4(_0x18aa21-_0x1d19a7._0x3e081f,_0x21a275,_0x21a275-0x10,_0xb77dea-_0x1d19a7._0x11efc5);}const _0x528b36=_0x1d38b7;if(_0x11982e[_0x18a606(0x30c,0x2ff,0x2f3,0x2bf)](_0x11982e['OSYxn'],_0x4f02a1(_0x353d83._0x5e430e,_0x353d83._0x1091b0,0x133,_0x353d83._0x2525dd))){_0x344c60[_0x18a606(_0x353d83._0x3ff6f0,0x3a0,_0x353d83._0x2149c7,0x374)](_0x528b36['ldWNt'],_0x3cfbe5);const _0x5d2e3b={};_0x5d2e3b[_0x18a606(0x30e,0x3a0,0x430,_0x353d83._0x8603be)]=_0x528b36[_0x4f02a1(_0x353d83._0x3956ac,_0x353d83._0x138fbb,0x119,0x168)],_0x5d2e3b['message']=_0x528b36['okJTD'],_0x38c83f[_0x18a606(0x377,_0x353d83._0x341141,0x2d2,_0x353d83._0x59b830)](-0x1*-0x219d+0xce6+0x1*-0x2c8f)[_0x18a606(0x34f,_0x353d83._0x1e1ac9,_0x353d83._0x3d1749,_0x353d83._0x241d6f)](_0x5d2e3b);}else{if(_0x41e4c5){const _0x1ca71a={};_0x1ca71a[_0x18a606(_0x353d83._0x189d5c,_0x353d83._0x2da532,0x2b6,_0x353d83._0x10491b)]=_0x5e3213,_0x1ca71a[_0x4f02a1(_0x353d83._0x19ceb8,0xa4,_0x353d83._0x214426,0x9b)]=_0x3e2643,logger['error'](_0x11982e[_0x18a606(_0x353d83._0x5d98d6,_0x353d83._0x12083a,_0x353d83._0x1abc53,0x37c)],_0x41e4c5,_0x1ca71a);const _0x4871e4={};return _0x4871e4[_0x18a606(_0x353d83._0x5ce1de,0x3a0,0x341,_0x353d83._0x1382ec)]=_0x18a606(0x25c,0x2d6,_0x353d83._0x59a61f,_0x353d83._0x502b47)+'led',_0x4871e4[_0x4f02a1(0xf0,_0x353d83._0x436e02,0x64,0x55)]=_0x11982e[_0x18a606(0x2ce,0x2f3,0x382,_0x353d83._0x3c1cfb)],_0x29d124[_0x4f02a1(0x137,0xf5,0x12f,0x10f)](0x1d93+-0x13*0x15c+-0x1cb*0x1)['json'](_0x4871e4);}const _0x39d663={};_0x39d663[_0x18a606(_0x353d83._0x41313b,_0x353d83._0x2a1b44,_0x353d83._0x12bef3,_0x353d83._0x2c729c)]=_0x5e3213,_0x39d663[_0x18a606(0x280,0x2fb,_0x353d83._0xc7fcb8,_0x353d83._0x16f995)]=_0x3e2643,logger[_0x18a606(_0x353d83._0x262ccb,0x2ca,_0x353d83._0xfe3027,0x2af)](_0x11982e[_0x4f02a1(0xfc,_0x353d83._0x5cc219,_0x353d83._0x4043e7,0x1f7)],_0x39d663),_0x29d124[_0x4f02a1(0x100,0x94,0x2f,_0x353d83._0x5c7468)+'e'](_0x18a606(_0x353d83._0x1019ce,_0x353d83._0x550535,0x367,0x345));const _0x5b6717={};_0x5b6717[_0x4f02a1(0xf0,0xc9,_0x353d83._0x5c7ac4,0x7b)]=_0x11982e[_0x4f02a1(_0x353d83._0x632b13,_0x353d83._0x23dbaa,_0x353d83._0x4e1499,0xbb)],_0x29d124[_0x4f02a1(_0x353d83._0x5e5ac2,0xd6,0xa7,0x6b)](_0x5b6717);}});}),router[_0x508355(0xc0,0x54,0xae,0x118)](_0xb842b2(0x2a3,0x306,0x28a,0x23a),requireAuth,async(_0x55ffdc,_0x108ca3)=>{const _0x5d523b={_0x128064:0x404,_0x3c775d:0x3ef,_0x4065:0x2cc,_0x73c02e:0x1e8,_0x4b3f63:0x35a,_0xd5765c:0x303,_0x3fee90:0x371,_0x4c8359:0x30c,_0x3ed682:0x351,_0x2def33:0x367,_0x15c047:0x32c,_0x4b2820:0x2ad,_0x22498f:0x2a2,_0x1f12c7:0x3cd,_0x204f9c:0x2fe,_0x5d9640:0x3cb,_0x5c0c74:0x382,_0xdc8517:0x3be,_0x4305dd:0x421,_0x245d3f:0x3ab,_0xcaedb:0x3d1,_0x555f7d:0x3e4,_0x13347a:0x3c4,_0x26460d:0x2cb,_0x2c42c5:0x349,_0x2f1216:0x37b,_0x3b12e0:0x3a0,_0x201226:0x361,_0x12307b:0x277,_0x29fc31:0x3a3,_0x5eeca3:0x336,_0x122347:0x39a,_0x3549d7:0x36b,_0x423dc7:0x2e3,_0x3c249b:0x255,_0x1dcf3e:0x3f3,_0x5b1811:0x429,_0xb5baed:0x3f9,_0x248fbb:0x414,_0x1dfca8:0x38b,_0x122f64:0x2ce,_0x1d0c5e:0x375,_0x462372:0x2cb,_0x3539bf:0x329,_0x5889bb:0x34f,_0x5d131a:0x24c,_0x2a1c2a:0x370,_0x527796:0x287,_0x14e846:0x265,_0x29de64:0x3e2,_0x55c03e:0x3ae,_0x3c8b56:0x37d,_0x2eb854:0x2b9,_0x380bb2:0x235,_0x26459f:0x2b1,_0x1b9aed:0x291,_0x3219d8:0x3e9,_0x1a480b:0x2c6,_0x270e88:0x33f,_0xcc326a:0x3d7,_0x158df4:0x3c1,_0x44b057:0x3c5,_0xe7a99:0x389,_0xf03799:0x2f2,_0x45d160:0x26e,_0x2b16e6:0x348,_0x347eea:0x2dc,_0x4320e1:0x2a5,_0x566b8a:0x373,_0x32003e:0x3b4,_0x5ec3a2:0x3ad,_0x58cf0f:0x2e3,_0x523d74:0x2f4,_0xbc7d3:0x263,_0x53fc65:0x274,_0x475e80:0x300,_0x428547:0x215,_0x4f61c0:0x38f,_0x213c96:0x2f3,_0x3ed0d9:0x2ca,_0x26cbaf:0x348,_0xb7301e:0x3e0,_0xa4e2f0:0x235,_0x1730f5:0x239,_0x9f267:0x2b5},_0x13efcd={_0x980010:0x157,_0x24375a:0x97},_0x1af564={_0x52cdb4:0x122},_0x5a09b6={'FNXJA':function(_0x15729e,_0x47e4d9){return _0x15729e(_0x47e4d9);},'rOKOe':_0x15985b(_0x5d523b._0x128064,_0x5d523b._0x3c775d,0x35d,0x3bf)+_0x9680d1(0x257,0x2ab,_0x5d523b._0x4065,_0x5d523b._0x73c02e)+_0x9680d1(_0x5d523b._0x4b3f63,0x3d5,_0x5d523b._0xd5765c,0x35e)+_0x9680d1(0x2e2,0x285,_0x5d523b._0x3fee90,_0x5d523b._0x4c8359)};function _0x9680d1(_0x3d8825,_0x3b3061,_0xccbd8d,_0x57bca7){return _0x508355(_0x3d8825-0x211,_0x3b3061-0xf8,_0xccbd8d-_0x1af564._0x52cdb4,_0x3b3061);}function _0x15985b(_0x107053,_0x242d23,_0x1a953b,_0x4d9df1){return _0xb842b2(_0x4d9df1-_0x13efcd._0x980010,_0x242d23-_0x13efcd._0x24375a,_0x1a953b,_0x4d9df1-0x10b);}try{const _0x382f17=await _0x5a09b6[_0x15985b(_0x5d523b._0x3ed682,_0x5d523b._0x2def33,_0x5d523b._0x15c047,0x308)](findUserById,_0x55ffdc[_0x9680d1(0x2f2,_0x5d523b._0x4b2820,0x2d6,_0x5d523b._0x22498f)]['id']),_0xb2a94e={};_0xb2a94e[_0x9680d1(0x33f,_0x5d523b._0x1f12c7,_0x5d523b._0x204f9c,_0x5d523b._0x5d9640)]=[],_0xb2a94e[_0x15985b(_0x5d523b._0x5c0c74,_0x5d523b._0xdc8517,0x3e1,0x3c5)+'ts']={},_0xb2a94e[_0x15985b(_0x5d523b._0x4305dd,0x384,0x3e4,_0x5d523b._0x245d3f)]={};let _0x298f01=_0xb2a94e;try{_0x298f01=await resolveAllUserPermissions(_0x55ffdc['user']['id']);}catch(_0x1bdd4f){const _0x3ce8fe={};_0x3ce8fe[_0x15985b(_0x5d523b._0xcaedb,0x35a,_0x5d523b._0x555f7d,_0x5d523b._0x13347a)]=_0x1bdd4f[_0x9680d1(0x29c,0x217,_0x5d523b._0x26460d,0x31d)],_0x3ce8fe[_0x15985b(_0x5d523b._0x2c42c5,_0x5d523b._0x2f1216,0x3f3,_0x5d523b._0x3b12e0)]=_0x1bdd4f['stack'],logger[_0x9680d1(0x31c,0x2a9,_0x5d523b._0x201226,0x2c4)](_0x5a09b6['rOKOe'],_0x3ce8fe);}const _0x36bdfa={};_0x36bdfa['id']=_0x55ffdc['user']['id'],_0x36bdfa[_0x9680d1(_0x5d523b._0x12307b,0x253,0x2ec,0x2b7)]=_0x55ffdc[_0x15985b(_0x5d523b._0x29fc31,_0x5d523b._0x5eeca3,0x3a2,_0x5d523b._0x122347)]['username'],_0x36bdfa['email']=_0x55ffdc['user'][_0x15985b(0x3af,_0x5d523b._0x3549d7,0x39a,0x3ad)],_0x36bdfa[_0x9680d1(_0x5d523b._0x423dc7,0x2aa,0x320,_0x5d523b._0x3c249b)]=_0x55ffdc[_0x15985b(_0x5d523b._0x1dcf3e,_0x5d523b._0x5b1811,0x30c,_0x5d523b._0x122347)][_0x15985b(_0x5d523b._0xb5baed,_0x5d523b._0x248fbb,0x3d5,_0x5d523b._0x1dfca8)],_0x36bdfa[_0x15985b(_0x5d523b._0x122f64,_0x5d523b._0x1d0c5e,_0x5d523b._0x462372,_0x5d523b._0x3539bf)+'s']=_0x298f01,_0x36bdfa[_0x9680d1(0x2e1,0x325,_0x5d523b._0x5889bb,_0x5d523b._0x5d131a)+'me']=_0x55ffdc['user'][_0x9680d1(0x2e1,_0x5d523b._0x2a1c2a,_0x5d523b._0x527796,_0x5d523b._0x14e846)+'me'],_0x36bdfa[_0x15985b(0x3bb,_0x5d523b._0x29de64,_0x5d523b._0x1f12c7,_0x5d523b._0x55c03e)]=_0x382f17?.[_0x9680d1(0x306,_0x5d523b._0x3c8b56,_0x5d523b._0x4b3f63,_0x5d523b._0x2eb854)]||null,_0x36bdfa[_0x9680d1(_0x5d523b._0x380bb2,0x221,0x1aa,_0x5d523b._0x26459f)+'s']=_0x382f17?.[_0x9680d1(_0x5d523b._0x380bb2,0x2c6,0x19d,_0x5d523b._0x1b9aed)+'s']||{};const _0x4cb59a={};_0x4cb59a[_0x15985b(0x328,0x37c,_0x5d523b._0x3219d8,_0x5d523b._0x122347)]=_0x36bdfa,_0x108ca3[_0x9680d1(0x2a9,0x271,0x330,_0x5d523b._0x1a480b)](_0x4cb59a);}catch(_0x28b31f){const _0x7834c5={};_0x7834c5[_0x9680d1(_0x5d523b._0x270e88,0x32b,0x379,_0x5d523b._0xcc326a)]=[],_0x7834c5[_0x15985b(0x427,_0x5d523b._0x158df4,0x3e3,_0x5d523b._0x44b057)+'ts']={},_0x7834c5[_0x15985b(0x40f,0x3b5,0x38e,_0x5d523b._0x245d3f)]={};const _0x2c7b34={};_0x2c7b34['id']=_0x55ffdc['user']['id'],_0x2c7b34[_0x15985b(_0x5d523b._0xe7a99,0x313,0x2da,0x31f)]=_0x55ffdc[_0x9680d1(_0x5d523b._0xf03799,0x35c,_0x5d523b._0x45d160,_0x5d523b._0x2b16e6)]['username'],_0x2c7b34[_0x9680d1(0x305,_0x5d523b._0x347eea,_0x5d523b._0x4b2820,0x373)]=_0x55ffdc[_0x9680d1(0x2f2,_0x5d523b._0x4320e1,0x36c,0x32f)][_0x15985b(_0x5d523b._0x566b8a,_0x5d523b._0x32003e,0x352,_0x5d523b._0x5ec3a2)],_0x2c7b34[_0x9680d1(_0x5d523b._0x58cf0f,0x324,_0x5d523b._0x523d74,0x339)]=_0x55ffdc[_0x9680d1(0x2f2,0x28d,0x362,0x367)][_0x9680d1(0x2e3,_0x5d523b._0xbc7d3,0x34f,_0x5d523b._0x53fc65)],_0x2c7b34[_0x9680d1(0x281,_0x5d523b._0x475e80,0x24d,_0x5d523b._0x428547)+'s']=_0x7834c5,_0x2c7b34[_0x15985b(_0x5d523b._0x4f61c0,_0x5d523b._0x213c96,0x3c1,_0x5d523b._0xe7a99)+'me']=_0x55ffdc[_0x9680d1(_0x5d523b._0xf03799,0x29f,_0x5d523b._0x3ed0d9,0x2f6)][_0x15985b(0x32e,0x35c,_0x5d523b._0x26cbaf,0x389)+'me'],_0x2c7b34[_0x15985b(0x3af,_0x5d523b._0xb7301e,0x368,0x3ae)]=null,_0x2c7b34[_0x9680d1(_0x5d523b._0xa4e2f0,0x2ba,_0x5d523b._0x1730f5,0x2a9)+'s']={};const _0x58cce3={};_0x58cce3[_0x9680d1(0x2f2,_0x5d523b._0x9f267,0x26d,0x29c)]=_0x2c7b34,_0x108ca3['json'](_0x58cce3);}}),router['post'](_0x508355(0xa2,0xb1,0xc8,0x5e),async(_0x56a007,_0xb483e)=>{const _0x367d89={_0x55e35b:0x199,_0x1369d0:0xea,_0x89ebaa:0x6c,_0x54d86c:0xfa,_0x7f46b6:0x16d,_0x1f508e:0x1c0,_0x2eb34c:0x1c0,_0x4ec936:0xd4,_0x38d4f5:0x67,_0x10e535:0x84,_0x4e90eb:0xd2,_0x5b54ca:0x44,_0x3035a9:0x224,_0x39732d:0x18f,_0x21513f:0x3f,_0x50ac22:0x54,_0x32db47:0x3d,_0x47c7d7:0x64,_0x37892:0xd,_0x3537dc:0x51,_0x3f3bfe:0xaa,_0x1c3ab5:0xa3,_0x3f8967:0xd,_0x201a0a:0x20e,_0x19560b:0x1dc,_0x5dd995:0x135,_0x16f818:0xf6,_0x500f94:0x14e,_0x225e91:0x139,_0x4835fe:0x143,_0x469bff:0x168,_0x516b7a:0xac,_0x59d282:0x119,_0x30d3e6:0xec,_0x4255b5:0x8f,_0x1cf16e:0x147,_0x59378d:0xfa,_0x38351c:0x15e,_0x461825:0x13f,_0x564723:0x100,_0x2b5ddf:0x6b,_0xa9316e:0xfb,_0x35df1f:0x15b,_0x38be41:0xde,_0x1171cd:0x1ca,_0xa23e81:0x202,_0x56fcd3:0x19d,_0x27971b:0x1fe,_0x1a7f4e:0x9d,_0x253d17:0xce,_0x54f24b:0x4e,_0x9ad35f:0x80,_0x40393f:0x181,_0xde5744:0x120,_0xdaaf67:0x123,_0x42bb11:0x1af,_0x42c950:0xf4,_0x1901da:0x1f2,_0xf3b947:0x201,_0x219d13:0x178,_0x53c4f9:0x80,_0x52f649:0x1eb,_0x11d1a7:0x26e,_0x42695a:0x1de,_0x54ce5d:0x72,_0x32ece1:0xc6,_0xc5bdd0:0x84,_0x4ae8c3:0x122,_0x25e60d:0x151,_0x46e726:0x10d,_0x1322ab:0x63,_0xc834f3:0x22,_0x39f65a:0xdc,_0x1537e9:0x128,_0x45cad4:0x1be,_0x2aa145:0x1df,_0x12802f:0x1bb,_0x2a8dec:0x190,_0x3d9383:0x9c,_0x44bba5:0x144,_0x380535:0x19c,_0x2d05fa:0x144,_0x4e311f:0x1c1,_0x21ed28:0x15a,_0x5ead6e:0xfb,_0x5a06e3:0xe5,_0x573f63:0xc8,_0x25351c:0xfd,_0x4f3b76:0x1a1,_0xacef6:0x11c,_0x2f302d:0xf1,_0x5836f7:0x8d,_0x4f0fe0:0x97,_0x308d46:0xd4,_0x36e110:0xe,_0x400513:0x13e,_0xe59c9a:0x1a6,_0x5e9fdb:0x163,_0x2b5f8e:0x17a,_0x3f4f15:0x14f,_0x5847d3:0x84,_0x122901:0x10a,_0x2fb2bf:0x9a,_0x32b277:0x19c,_0x60cb98:0x12c,_0x1efac2:0x144,_0x55da73:0x8c,_0x431760:0x13b,_0x147990:0x127,_0x58dc87:0x11a,_0x566f9a:0x13d,_0x6e232c:0xa7,_0x2b8dcd:0x23,_0x49e74c:0x2e,_0x4eb292:0x8d,_0x19a0b2:0x72,_0x506e4b:0x183,_0x29f4a1:0x1ac,_0x493ca3:0x181,_0x1a9ca9:0x8b,_0x54aa9c:0x14f,_0x35594a:0x1a3,_0xf93037:0x103,_0x598197:0xb8,_0x25370a:0xd6,_0x47c305:0x2,_0x2f3757:0x32,_0x3823b0:0x1ae,_0x4194e4:0xe1,_0x1c17fb:0xca,_0xcb8686:0xd0,_0x4915e2:0x73,_0x2c69ad:0x1ff,_0x3d23b0:0x1f2,_0x16502b:0xb9,_0x987a32:0xe4,_0x464525:0x23e,_0x34ece3:0x1c4,_0x2f152f:0x138,_0x2d068e:0x149,_0xa450f3:0x172,_0x257339:0x207,_0x56b7b7:0x14a,_0x2b9401:0x1f3,_0x447df9:0x175,_0x575283:0xd8,_0x189df2:0x144,_0x29ae2e:0x1d8,_0x69b715:0x1a,_0x57f6d2:0x84,_0x5ea80b:0x1b},_0x3dd41e={_0x1257f6:0x153,_0x18fab0:0x1b9},_0x2e2e7f={_0x21ecd1:0x58,_0x47a3fd:0x131},_0x5bc4f4={'ozRWP':_0x778a8c(0xea,0x152,0xfd,0x17c)+_0x778a8c(_0x367d89._0x55e35b,0x22f,0x188,0x1e8)+_0x4761ac(0xbf,_0x367d89._0x1369d0,_0x367d89._0x89ebaa,0xf8),'nkCsn':_0x778a8c(_0x367d89._0x54d86c,0x181,_0x367d89._0x7f46b6,0x14a)+'d\x20out','IqUob':_0x778a8c(0x1dc,0x248,_0x367d89._0x1f508e,_0x367d89._0x2eb34c),'DmYPG':_0x4761ac(0x6f,_0x367d89._0x4ec936,0xb6,0x72)+'\x20successfu'+_0x4761ac(0x58,_0x367d89._0x38d4f5,_0x367d89._0x10e535,-0x1),'WWdLB':_0x4761ac(0x13e,_0x367d89._0x4e90eb,0x68,_0x367d89._0x5b54ca)+_0x778a8c(0x216,0x22f,_0x367d89._0x3035a9,0x1f4)+_0x778a8c(0x205,0x18a,_0x367d89._0x39732d,0x1fc),'pvKod':function(_0x5969e9,_0x58b718){return _0x5969e9||_0x58b718;},'RdRFs':'Missing\x20cr'+_0x4761ac(-0x2a,_0x367d89._0x21513f,_0x367d89._0x50ac22,-_0x367d89._0x32db47),'CDrWb':_0x4761ac(-0x2,_0x367d89._0x47c7d7,0xf3,-_0x367d89._0x37892),'wIgIb':function(_0x4d6d2b,_0x3bd26f,_0x397ed5){return _0x4d6d2b(_0x3bd26f,_0x397ed5);},'kukZk':_0x4761ac(_0x367d89._0x3537dc,0xb3,_0x367d89._0x3f3bfe,0x32)+_0x4761ac(0x22,_0x367d89._0x1c3ab5,0x85,_0x367d89._0x3f8967)+'empt','QVAcu':_0x778a8c(0x1fa,0x260,_0x367d89._0x201a0a,_0x367d89._0x19560b)+_0x4761ac(0x116,0x122,0x9a,0xff)+_0x4761ac(0x139,_0x367d89._0x5dd995,0x14a,0x1a1),'oAVtZ':_0x4761ac(_0x367d89._0x16f818,_0x367d89._0x500f94,_0x367d89._0x225e91,0x160),'FgPzi':function(_0x54de3a,_0x3d7735){return _0x54de3a===_0x3d7735;},'TtmAU':_0x4761ac(0x1a4,_0x367d89._0x4835fe,_0x367d89._0x469bff,_0x367d89._0x516b7a),'kCkLn':'SDAWL','TLkpD':function(_0x10174c,_0x7cddd5){return _0x10174c(_0x7cddd5);},'Qipra':function(_0x4b1e56,_0xfe2eac){return _0x4b1e56!==_0xfe2eac;},'xQMSF':_0x778a8c(0xcf,0xc7,0x80,_0x367d89._0x59d282),'EIDFk':'Failed\x20to\x20'+_0x4761ac(0x68,_0x367d89._0x30d3e6,0xba,_0x367d89._0x4255b5)+_0x4761ac(0x17d,_0x367d89._0x1cf16e,0xaf,0xc2)+_0x778a8c(_0x367d89._0x59378d,0xae,_0x367d89._0x38351c,_0x367d89._0x461825),'SgHUZ':'Login\x20succ'+_0x4761ac(_0x367d89._0x564723,0xcc,0x104,0x13a),'mYPWr':'CLI\x20login\x20'+'error','uwGme':_0x778a8c(_0x367d89._0x2b5ddf,_0x367d89._0xa9316e,_0x367d89._0x35df1f,_0x367d89._0x38be41)+'ed','LOxyw':_0x778a8c(_0x367d89._0x1171cd,_0x367d89._0xa23e81,_0x367d89._0x56fcd3,_0x367d89._0x27971b)+_0x4761ac(0xbe,_0x367d89._0x1a7f4e,_0x367d89._0x253d17,_0x367d89._0x54f24b)+_0x4761ac(_0x367d89._0x9ad35f,0x88,0xd1,0x10a)+_0x778a8c(_0x367d89._0x40393f,0x1c3,0x18e,0x1d5)};function _0x778a8c(_0x60e0d,_0x425964,_0x238fba,_0x533bf5){return _0xb842b2(_0x533bf5- -0xa9,_0x425964-_0x2e2e7f._0x21ecd1,_0x425964,_0x533bf5-_0x2e2e7f._0x47a3fd);}function _0x4761ac(_0x5c2c98,_0x17eb7d,_0x5b6500,_0x23fc73){return _0xb842b2(_0x17eb7d- -_0x3dd41e._0x1257f6,_0x17eb7d-_0x3dd41e._0x18fab0,_0x5b6500,_0x23fc73-0xc5);}const {username:_0x783d0f,password:_0x209183}=_0x56a007[_0x778a8c(_0x367d89._0xde5744,0x1f6,_0x367d89._0xdaaf67,_0x367d89._0x42bb11)];if(_0x5bc4f4[_0x778a8c(0x17c,0x13d,0x24b,0x1c1)](!_0x783d0f,!_0x209183)){const _0x3b19ae={};return _0x3b19ae['error']=_0x5bc4f4[_0x778a8c(_0x367d89._0x42c950,_0x367d89._0x1901da,_0x367d89._0xf3b947,_0x367d89._0x219d13)],_0x3b19ae[_0x4761ac(0xae,0x9a,0x125,_0x367d89._0x53c4f9)]=_0x778a8c(_0x367d89._0x52f649,0x1fe,0x253,0x1d2)+_0x4761ac(0x1e6,0x14f,0x1b9,0x1bb)+_0x778a8c(0x243,_0x367d89._0x11d1a7,_0x367d89._0x201a0a,_0x367d89._0x42695a)+_0x4761ac(0x9f,_0x367d89._0x564723,0x8f,_0x367d89._0x54ce5d),_0xb483e[_0x4761ac(0x41,_0x367d89._0x32ece1,_0x367d89._0xc5bdd0,0xea)](-0x24b2+-0xd*0x2e3+-0x3*-0x1943)[_0x778a8c(0x193,_0x367d89._0x4ae8c3,0x11d,_0x367d89._0x25e60d)](_0x3b19ae);}try{if(_0x5bc4f4[_0x778a8c(0x7f,_0x367d89._0x40393f,0xfc,_0x367d89._0x46e726)]===_0x5bc4f4[_0x4761ac(0xe8,_0x367d89._0x1322ab,0x18,-_0x367d89._0xc834f3)]){const _0xb74dd5=await _0x5bc4f4['wIgIb'](validatePassword,_0x783d0f,_0x209183);if(!_0xb74dd5){const _0xb169e6={};_0xb169e6[_0x778a8c(0x1b3,_0x367d89._0x39f65a,_0x367d89._0x1537e9,0x11f)]=_0x783d0f,logger[_0x778a8c(_0x367d89._0x45cad4,0x228,_0x367d89._0x2aa145,_0x367d89._0x12802f)](_0x5bc4f4['kukZk'],_0xb169e6);const _0x28d46e={};return _0x28d46e[_0x4761ac(_0x367d89._0x2a8dec,0x11a,_0x367d89._0x3d9383,0xde)]='Authentica'+'tion\x20faile'+'d',_0x28d46e[_0x778a8c(_0x367d89._0x44bba5,_0x367d89._0x380535,0x131,_0x367d89._0x2d05fa)]=_0x5bc4f4['QVAcu'],_0xb483e[_0x778a8c(0x1ee,_0x367d89._0x4e311f,0x18b,0x170)](0x2292+0xfa1+-0x30a2)[_0x778a8c(_0x367d89._0x30d3e6,0x17a,_0x367d89._0x21ed28,_0x367d89._0x25e60d)](_0x28d46e);}const _0x1327ac=await _0x5bc4f4['wIgIb'](createApiKey,_0xb74dd5['id'],_0x5bc4f4[_0x4761ac(-0x17,0x54,-0x16,0x67)]);let _0xcd0992=[];try{if(_0x5bc4f4[_0x778a8c(_0x367d89._0x5ead6e,_0x367d89._0x5a06e3,_0x367d89._0x573f63,_0x367d89._0x25351c)](_0x5bc4f4['TtmAU'],_0x5bc4f4[_0x4761ac(_0x367d89._0x4f3b76,_0x367d89._0xacef6,0xbb,0xc3)])){const _0x2ce2f8={_0x2d816f:0x1da,_0x46ef83:0x180,_0x2344c6:0x211,_0xbc5412:0x14d,_0x43d121:0x128,_0x3ac00a:0x14b,_0x30d250:0xde,_0x4ef8b9:0x1c7,_0x3d78e1:0x14,_0x5f3bf3:0x10,_0x4d6f6c:0x1cd,_0x5c5e81:0x213,_0x255de5:0x1ba,_0x79caa1:0x1c2,_0xa8377a:0x119,_0x325454:0x199,_0x349fe7:0x6a,_0x15a53b:0x19e,_0x5a0b0d:0x205,_0x51626c:0x236,_0x4990a9:0x1f2,_0x7b9f7b:0x170,_0x5102c1:0x221,_0x111c3a:0x253,_0x2e2211:0x22c,_0x236d61:0x1d1,_0x4c6a5f:0x2e,_0x3dd7fb:0xac,_0x5aeecc:0x1ee,_0x31abc8:0x28},_0x43d7c0={_0xf904a4:0x311},_0x271fd8=_0x33fb1b['session']?.[_0x4761ac(_0x367d89._0x2f302d,_0x367d89._0x5836f7,_0x367d89._0x4f0fe0,0x51)],_0x387c79=_0x5c680b[_0x778a8c(_0x367d89._0x308d46,0x153,0xa0,0x134)]?.[_0x4761ac(0x58,0x75,-_0x367d89._0x36e110,0x2a)];_0x3de5d0['session']['destroy'](_0x5f1866=>{const _0x15e4bc={_0x38e87e:0x156,_0x3653b5:0x40,_0x27ba39:0x1bb};if(_0x5f1866){const _0x10fcf9={};_0x10fcf9[_0x19f895(-_0x2ce2f8._0x2d816f,-_0x2ce2f8._0x46ef83,-0x24b,-_0x2ce2f8._0x2344c6)]=_0x271fd8,_0x10fcf9[_0x136549(-0x93,-0x9c,-0x129,-0x64)]=_0x387c79,_0x3d8437['error'](_0x5bc4f4['ozRWP'],_0x5f1866,_0x10fcf9);const _0x155c89={};return _0x155c89[_0x19f895(-_0x2ce2f8._0xbc5412,-_0x2ce2f8._0x43d121,-_0x2ce2f8._0x3ac00a,-_0x2ce2f8._0x30d250)]=_0x19f895(-0x217,-0x1ae,-0x1a9,-_0x2ce2f8._0x4ef8b9)+_0x136549(-0x61,-_0x2ce2f8._0x3d78e1,-0x4d,-_0x2ce2f8._0x5f3bf3),_0x155c89[_0x19f895(-_0x2ce2f8._0x4d6f6c,-_0x2ce2f8._0x5c5e81,-_0x2ce2f8._0x255de5,-_0x2ce2f8._0x79caa1)]=_0x5bc4f4['ozRWP'],_0x451e87[_0x19f895(-0x1a1,-0x218,-_0x2ce2f8._0xa8377a,-_0x2ce2f8._0x325454)](-0x18a3+0x1fb4+-0xbb*0x7)[_0x136549(-0x62,-_0x2ce2f8._0x349fe7,-0x95,-0xc1)](_0x155c89);}const _0x38da5d={};_0x38da5d[_0x19f895(-_0x2ce2f8._0x2d816f,-_0x2ce2f8._0x15a53b,-_0x2ce2f8._0x5a0b0d,-_0x2ce2f8._0x51626c)]=_0x271fd8,_0x38da5d[_0x19f895(-_0x2ce2f8._0x4990a9,-_0x2ce2f8._0x7b9f7b,-_0x2ce2f8._0x5102c1,-_0x2ce2f8._0x111c3a)]=_0x387c79;function _0x136549(_0x46d90c,_0x1e839f,_0x119c59,_0x31b8c5){return _0x778a8c(_0x46d90c-_0x15e4bc._0x38e87e,_0x31b8c5,_0x119c59-_0x15e4bc._0x3653b5,_0x1e839f- -_0x15e4bc._0x27ba39);}_0x439f73[_0x19f895(-0x223,-_0x2ce2f8._0x2e2211,-0x190,-_0x2ce2f8._0x236d61)](_0x5bc4f4['nkCsn'],_0x38da5d),_0x5c45af[_0x136549(-_0x2ce2f8._0x4c6a5f,-_0x2ce2f8._0x3dd7fb,-0x143,-0x113)+'e'](_0x5bc4f4['IqUob']);function _0x19f895(_0x474a95,_0x121a1f,_0x28730b,_0xe6cfb0){return _0x778a8c(_0x474a95-0x95,_0xe6cfb0,_0x28730b-0x36,_0x474a95- -_0x43d7c0._0xf904a4);}const _0x2cdda7={};_0x2cdda7[_0x19f895(-0x1cd,-0x1be,-_0x2ce2f8._0x5aeecc,-0x162)]=_0x5bc4f4[_0x136549(0x5,-0x2f,_0x2ce2f8._0x31abc8,-0x6a)],_0x531519['json'](_0x2cdda7);});}else _0xcd0992=await _0x5bc4f4[_0x4761ac(0xce,0x13f,_0x367d89._0x400513,0x174)](resolveUserRoleNames,_0xb74dd5['id']);}catch(_0x22e7cf){if(_0x5bc4f4[_0x778a8c(0x1fd,_0x367d89._0xe59c9a,0x113,_0x367d89._0x5e9fdb)](_0x778a8c(_0x367d89._0x2b5f8e,_0x367d89._0x3f4f15,0x154,0x1bc),_0x5bc4f4[_0x778a8c(0x1a1,0x127,_0x367d89._0x2aa145,0x16e)])){const _0x5513f6={};_0x5513f6[_0x4761ac(_0x367d89._0x5847d3,_0x367d89._0x5836f7,0x105,_0x367d89._0x122901)]=_0xb74dd5['id'],_0x5513f6[_0x4761ac(0x8e,0x11a,0x148,_0x367d89._0x2fb2bf)]=_0x22e7cf[_0x778a8c(_0x367d89._0x32b277,0x182,_0x367d89._0x60cb98,_0x367d89._0x1efac2)],logger[_0x4761ac(_0x367d89._0x55da73,0x111,0xbc,_0x367d89._0x431760)](_0x5bc4f4['EIDFk'],_0x5513f6);}else{_0x16a53b[_0x778a8c(0x1bd,_0x367d89._0x4835fe,_0x367d89._0x39732d,0x1c4)](_0x5bc4f4[_0x778a8c(0xa4,0x13a,0x8f,_0x367d89._0x147990)],_0x562607);const _0x41680e={};_0x41680e[_0x4761ac(0x183,_0x367d89._0x58dc87,0xd2,_0x367d89._0x566f9a)]=_0x5bc4f4['WWdLB'],_0x4caf22['status'](-0x1d76+0x6*0x17a+0x168e)[_0x4761ac(0x57,_0x367d89._0x6e232c,_0x367d89._0x2b8dcd,_0x367d89._0x49e74c)](_0x41680e);}}const _0x16e731={};_0x16e731[_0x4761ac(0x6f,_0x367d89._0x4eb292,_0x367d89._0x19a0b2,0x4c)]=_0xb74dd5['id'],_0x16e731[_0x778a8c(0xf2,_0x367d89._0x506e4b,0xf3,0x11f)]=_0xb74dd5[_0x778a8c(_0x367d89._0x29f4a1,_0x367d89._0x493ca3,_0x367d89._0x1a9ca9,0x11f)],_0x16e731[_0x778a8c(_0x367d89._0x54aa9c,0x189,0x1b4,_0x367d89._0x35594a)]=_0x1327ac['id'],logger[_0x4761ac(0x43,0x44,0xab,0xb8)](_0x4761ac(_0x367d89._0xf93037,0xd3,0xee,0x167)+_0x778a8c(0x142,_0x367d89._0x598197,0x150,_0x367d89._0x25370a),_0x16e731);const _0x256dc4={};_0x256dc4['id']=_0xb74dd5['id'],_0x256dc4[_0x4761ac(-_0x367d89._0x47c305,0x75,_0x367d89._0x2f3757,-_0x367d89._0x37892)]=_0xb74dd5[_0x778a8c(_0x367d89._0x3823b0,0x92,0x99,0x11f)],_0x256dc4['email']=_0xb74dd5['email'],_0x256dc4[_0x4761ac(0x165,_0x367d89._0x4194e4,_0x367d89._0x1c17fb,_0x367d89._0xcb8686)]=_0xb74dd5[_0x4761ac(0x5e,0xe1,0x6f,_0x367d89._0x4915e2)],_0x256dc4['roles']=_0xcd0992;const _0xf1cb66={};_0xf1cb66[_0x778a8c(0x1bc,0x148,0xe2,0x144)]=_0x5bc4f4['SgHUZ'],_0xf1cb66[_0x778a8c(_0x367d89._0x2c69ad,0x1ee,0x193,0x19a)]=_0x256dc4,_0xf1cb66[_0x778a8c(0x139,0x193,0xe4,0x14b)]=_0x1327ac[_0x778a8c(0x15b,_0x367d89._0x506e4b,_0x367d89._0x3d23b0,0x195)],_0xb483e[_0x4761ac(0x8e,0xa7,_0x367d89._0x16502b,_0x367d89._0xcb8686)](_0xf1cb66);}else _0x50b06f[_0x778a8c(_0x367d89._0x987a32,_0x367d89._0x25351c,0x124,0xdd)+'s']=_0x126ca4;}catch(_0x13595f){logger[_0x778a8c(0x1a9,_0x367d89._0x56fcd3,_0x367d89._0x464525,_0x367d89._0x34ece3)](_0x5bc4f4['mYPWr'],_0x13595f);const _0x1ed49b={};_0x1ed49b[_0x4761ac(_0x367d89._0x2f152f,0x11a,_0x367d89._0x2d068e,_0x367d89._0xa450f3)]=_0x5bc4f4[_0x778a8c(_0x367d89._0x257339,_0x367d89._0x56b7b7,_0x367d89._0x2b9401,_0x367d89._0x447df9)],_0x1ed49b[_0x778a8c(_0x367d89._0x575283,0x114,_0x367d89._0xf93037,_0x367d89._0x189df2)]=_0x5bc4f4[_0x778a8c(0x19d,0x170,0x1c4,_0x367d89._0x29ae2e)],_0xb483e[_0x4761ac(0x46,0xc6,0xdd,_0x367d89._0x4ae8c3)](0x107*0x1+0x1d0f*0x1+-0x1c22)[_0x4761ac(_0x367d89._0x69b715,_0x367d89._0x6e232c,_0x367d89._0x57f6d2,_0x367d89._0x5ea80b)](_0x1ed49b);}}),router[_0x508355(0xc0,0xd9,0xac,0x49)](_0xb842b2(0x278,0x23f,0x1f1,0x2fb),requireAuth,async(_0x1d7729,_0x1fe118)=>{const _0x24e357={_0x25aad0:0x235,_0xa1673c:0x214,_0x168fa5:0x1c5,_0x401541:0x1d1,_0x453015:0x12a,_0x13111f:0x1e7,_0x7fd65:0x28d,_0x15d503:0x29d,_0xf034be:0x2be,_0x108ab6:0x265,_0x53819f:0x221,_0x3b76e0:0x23f,_0x1b6b52:0x2cc,_0x354fb4:0x263,_0x5d24a2:0x266,_0x574088:0x1f2,_0x25af5c:0x271,_0x49c8d6:0x255,_0x697577:0x27f,_0x42d771:0x260,_0x4ed0d1:0x1ec,_0x1c1d9f:0x248,_0x3f36f7:0x2c8,_0x20a8d3:0x250,_0x5d45e4:0x2a8,_0x401f86:0x310,_0x1cecfd:0x284,_0x59cb6a:0x270,_0x4b522e:0x33e,_0x525d57:0x307,_0x2b61c2:0x26a,_0x4b45a0:0x1b0,_0x2be26c:0x23d,_0x46a9ea:0x1b7,_0x4af029:0x1b2,_0x274e74:0x205,_0x1d0409:0x21c,_0x2e8f7b:0x17c,_0x3c0d9f:0x1d3,_0x4366c1:0x2f2,_0x3a9662:0x2c7,_0xddca24:0x2cd,_0x46026f:0x19e,_0x3fdf82:0x207,_0x3b732c:0x187,_0x4b8ce3:0x1a6,_0x28e25d:0x209,_0x4aa4c2:0x30c,_0x4d2f89:0x259,_0x48b720:0x1e6,_0x48357e:0x1e2,_0x938d85:0x24b,_0x1bf522:0x21d,_0x26eb32:0x1e1,_0x132d40:0x350,_0x38e33b:0x357,_0x2c7d86:0x301,_0x5b9b20:0x220,_0xecac01:0x273,_0x28ad59:0x206,_0x2d514c:0x23d,_0x409630:0x1ba,_0x4d43ee:0x1db,_0x4b8404:0x10d,_0x2d0f76:0x135,_0x1bf283:0x256,_0x1bbbc1:0x28c,_0x10e0ac:0x236,_0x1fea36:0x34e,_0x81b1cb:0x2c9,_0x2cd0dc:0x2c7,_0x1d5a9f:0x1c7,_0x2f0775:0x200,_0x478a46:0x387,_0x4bc30b:0x27a,_0x1444b1:0x27b,_0x2cfe5f:0x21a,_0x4cb420:0x248,_0x3a4297:0x305,_0x49635d:0x2d4,_0x1a9993:0x19c,_0x14bbda:0x16d,_0xed8160:0x37f,_0x3acbfd:0x285,_0x1d77c0:0x2f2,_0x5d8648:0x150,_0x55d876:0x1e3,_0x33d81a:0x1a7,_0x5a0075:0x18d,_0x479330:0x34c,_0x469847:0x2e6,_0x48ece0:0x340,_0x3a33b6:0x149,_0x627e80:0x1a5,_0x5b731b:0x295,_0x5ee0fd:0x287,_0x39b24c:0x329,_0x3ce5ed:0x2de,_0x38b7c3:0x243,_0x5b82b3:0x29f},_0x1a3fcf={_0x2f639d:0x1bc};function _0x43ae90(_0x26be8c,_0x444c19,_0x4704d1,_0xe9ee2){return _0xb842b2(_0x4704d1- -0x51,_0x444c19-0x7e,_0xe9ee2,_0xe9ee2-0x70);}function _0x33e4b5(_0x4ffc1a,_0x144373,_0x10ccdc,_0x535e62){return _0x508355(_0x535e62-0x22f,_0x144373-0xb,_0x10ccdc-_0x1a3fcf._0x2f639d,_0x4ffc1a);}const _0x29fd76={'SBIWm':'Invalid\x20fi'+_0x33e4b5(0x255,0x2d5,0x2fe,0x27a)+_0x43ae90(_0x24e357._0x25aad0,0x278,0x24f,_0x24e357._0xa1673c)+_0x43ae90(0x168,_0x24e357._0x168fa5,0x19b,_0x24e357._0x401541)+_0x43ae90(0x1bd,0x207,0x17a,_0x24e357._0x453015)+_0x43ae90(0x19a,0x1d8,_0x24e357._0x13111f,0x1df)+'.','GbFQw':function(_0x444e41,_0x1d8c81){return _0x444e41===_0x1d8c81;},'wRmZo':_0x33e4b5(0x2d1,_0x24e357._0x7fd65,_0x24e357._0x15d503,_0x24e357._0xf034be),'PPyik':function(_0x2f45c9,_0x233060){return _0x2f45c9(_0x233060);},'dEQFe':function(_0x27d50f,_0x151dc1){return _0x27d50f===_0x151dc1;},'klGYb':_0x43ae90(_0x24e357._0x108ab6,0x273,_0x24e357._0x53819f,0x223),'zPZhX':_0x43ae90(0x134,0x141,0x193,0x201),'hYOzy':_0x43ae90(0x2a4,_0x24e357._0x3b76e0,0x253,0x1bb)+_0x43ae90(0x279,_0x24e357._0x1b6b52,0x23d,0x1f8),'vbdMQ':function(_0x203d9b,_0x46728d){return _0x203d9b===_0x46728d;},'kohjE':_0x43ae90(_0x24e357._0x354fb4,0x19d,0x1db,_0x24e357._0x5d24a2),'JHEKu':_0x33e4b5(_0x24e357._0x574088,_0x24e357._0x25af5c,0x25e,_0x24e357._0x49c8d6),'HpfmB':'Failed\x20to\x20'+_0x33e4b5(_0x24e357._0x697577,_0x24e357._0x42d771,_0x24e357._0x4ed0d1,_0x24e357._0x1c1d9f)+'e'};try{if(_0x29fd76[_0x33e4b5(0x2a3,_0x24e357._0x4ed0d1,_0x24e357._0x3f36f7,_0x24e357._0x20a8d3)](_0x29fd76['wRmZo'],_0x29fd76[_0x33e4b5(_0x24e357._0x5d45e4,0x2c4,_0x24e357._0x401f86,0x31e)])){const _0x5803ec=await _0x29fd76[_0x33e4b5(0x35b,0x390,_0x24e357._0x1cecfd,0x304)](findUserById,_0x1d7729['user']['id']);if(!_0x5803ec){if(_0x29fd76[_0x43ae90(_0x24e357._0x59cb6a,0x227,0x24a,0x1e6)](_0x29fd76['klGYb'],_0x29fd76[_0x33e4b5(0x2aa,0x3c6,0x342,_0x24e357._0x4b522e)])){const _0x16ced1={};return _0x16ced1[_0x33e4b5(0x355,0x36f,0x3ae,0x33a)]=_0x33e4b5(0x2d8,_0x24e357._0x525d57,0x354,0x371)+_0x43ae90(_0x24e357._0x2b61c2,_0x24e357._0x4b45a0,_0x24e357._0x2be26c,0x1ab),_0xa2941b[_0x43ae90(_0x24e357._0x46a9ea,_0x24e357._0x4af029,0x1c8,0x211)](-0x15b1+0x52*0x10+0x1225)['json'](_0x16ced1);}else{const _0x5209c5={};return _0x5209c5[_0x43ae90(0x209,_0x24e357._0x274e74,_0x24e357._0x1d0409,0x1c7)]=_0x29fd76[_0x43ae90(_0x24e357._0x2e8f7b,0x15c,_0x24e357._0x3c0d9f,0x150)],_0x1fe118[_0x43ae90(0x198,0x163,0x1c8,0x1ae)](0x1e4b+0x1f6*0x1+-0x1*0x1ead)[_0x33e4b5(0x2c1,0x309,_0x24e357._0x4366c1,_0x24e357._0x3a9662)](_0x5209c5);}}const _0xa6dd02={};_0xa6dd02['email_ment'+'ions']=!![],_0xa6dd02[_0x33e4b5(0x2cb,0x30c,0x286,_0x24e357._0xddca24)+_0x43ae90(_0x24e357._0x46026f,0x186,0x21a,0x1dd)+_0x43ae90(_0x24e357._0x3fdf82,_0x24e357._0x3b732c,_0x24e357._0x4b8ce3,0x1bf)]=!![];const _0x24f1ca={};_0x24f1ca['id']=_0x5803ec['id'],_0x24f1ca[_0x43ae90(0x102,_0x24e357._0x28e25d,0x177,0x1eb)]=_0x5803ec[_0x33e4b5(_0x24e357._0x4aa4c2,_0x24e357._0x4d2f89,0x256,0x295)],_0x24f1ca[_0x43ae90(0x228,0x25d,0x205,_0x24e357._0x48b720)]=_0x5803ec[_0x43ae90(_0x24e357._0x48357e,_0x24e357._0x2be26c,_0x24e357._0x274e74,0x269)],_0x24f1ca[_0x43ae90(_0x24e357._0x938d85,_0x24e357._0x1bf522,0x1e3,_0x24e357._0x26eb32)]=_0x5803ec[_0x33e4b5(_0x24e357._0x132d40,0x342,_0x24e357._0x38e33b,_0x24e357._0x2c7d86)],_0x24f1ca[_0x43ae90(_0x24e357._0x5b9b20,_0x24e357._0xecac01,_0x24e357._0x28ad59,_0x24e357._0x2d514c)]=_0x5803ec[_0x43ae90(_0x24e357._0x409630,_0x24e357._0x4d43ee,0x206,0x1c7)]||null,_0x24f1ca[_0x43ae90(_0x24e357._0x4b8404,0xcc,_0x24e357._0x2d0f76,0x196)+'s']=_0x5803ec[_0x33e4b5(0x231,0x272,0x1f9,0x253)+'s']||_0xa6dd02;const _0x14715f={};_0x14715f[_0x43ae90(_0x24e357._0x1bf283,_0x24e357._0x1bbbc1,0x210,_0x24e357._0x10e0ac)]=_0x24f1ca,_0x1fe118[_0x33e4b5(0x33e,_0x24e357._0x1fea36,_0x24e357._0x81b1cb,_0x24e357._0x2cd0dc)](_0x14715f);}else{_0x195a7b[_0x43ae90(0x2aa,_0x24e357._0x1d5a9f,0x21c,_0x24e357._0x2f0775)](_0x33e4b5(_0x24e357._0x478a46,0x27f,_0x24e357._0x4bc30b,0x2f2)+_0x33e4b5(_0x24e357._0x1444b1,0x279,_0x24e357._0x2cfe5f,_0x24e357._0x4cb420)+_0x33e4b5(0x274,0x245,_0x24e357._0x3a4297,_0x24e357._0x49635d)+_0x43ae90(_0x24e357._0x1a9993,_0x24e357._0x14bbda,0x1e5,0x1eb),_0x44f1eb);const _0x507329={};_0x507329[_0x43ae90(0x29a,0x29e,_0x24e357._0x1d0409,0x21a)]=_0x33e4b5(_0x24e357._0xed8160,_0x24e357._0xecac01,_0x24e357._0x3acbfd,_0x24e357._0x1d77c0)+_0x43ae90(0xe2,0x1b3,_0x24e357._0x5d8648,_0x24e357._0x55d876)+_0x43ae90(_0x24e357._0x33d81a,0x1c4,0x1f0,_0x24e357._0x5a0075),_0x3bb3d2[_0x33e4b5(0x283,0x32f,_0x24e357._0x479330,_0x24e357._0x469847)](-0x2467+0x1*-0x2301+0x495c)['json'](_0x507329);}}catch(_0x36ce07){if(_0x29fd76['vbdMQ'](_0x29fd76[_0x33e4b5(0x31f,0x2fb,_0x24e357._0x48ece0,0x329)],_0x29fd76[_0x43ae90(0x1ae,0x10e,_0x24e357._0x3a33b6,_0x24e357._0x627e80)]))_0x252396(new _0x55c269(_0x29fd76[_0x33e4b5(_0x24e357._0x5b731b,0x335,_0x24e357._0x5ee0fd,0x2b2)]));else{logger[_0x33e4b5(0x351,_0x24e357._0x39b24c,0x351,0x33a)](_0x29fd76[_0x33e4b5(0x2f3,0x37b,_0x24e357._0x3ce5ed,0x361)],_0x36ce07);const _0x13adbd={};_0x13adbd['error']=_0x29fd76[_0x43ae90(0x26e,0x1cb,_0x24e357._0x38b7c3,_0x24e357._0x48357e)],_0x1fe118[_0x33e4b5(_0x24e357._0x5b82b3,_0x24e357._0x4aa4c2,_0x24e357._0x3f36f7,_0x24e357._0x469847)](-0x53c+-0x5*0x1f0+0x78*0x24)['json'](_0x13adbd);}}}),router[_0xb842b2(0x1d7,0x25f,0x149,0x270)]('/profile',requireAuth,async(_0x581fab,_0x113cf3)=>{const _0x45af14={_0x129544:0x120,_0x40059d:0x167,_0x1b0a18:0x242,_0x1d67ad:0x19c,_0x1272f9:0x184,_0x4da06e:0x121,_0xa70b36:0x137,_0x256825:0x4f,_0x232587:0x43,_0x25b733:0xcc,_0x437992:0x6f,_0x11ba17:0xed,_0x41875c:0x13b,_0x1288b8:0x115,_0x25985c:0x1c9,_0x3c8756:0x1ed,_0x33a526:0x150,_0x4e4f28:0xff,_0x43ddd9:0x18e,_0xbfc74d:0x1ed,_0x3c6222:0x9f,_0x89a0f2:0x11f,_0x474b50:0x1d4,_0x36e8ef:0x19c,_0x1be37a:0x96,_0x375d69:0x41,_0x1496ad:0x110,_0x3629b6:0x53,_0x10bd72:0x106,_0x504c6c:0x1b6,_0x2c005a:0x155,_0x452295:0x1bb,_0x327e6e:0x168,_0x1cb78c:0x8b,_0x1c970f:0xf3,_0x4ce337:0x7c,_0x247060:0x2c,_0x4fc7d6:0x25,_0x286e3c:0x1b3,_0x5b4c05:0x178,_0x598ebb:0x20b,_0x3153ad:0x19e,_0x10914c:0x133,_0x58abfa:0xc8,_0x582962:0xb5,_0x3d88f9:0x51,_0x192ecd:0x6c,_0x42dc14:0x5f,_0x105c5d:0x1d,_0x5a3c19:0x101,_0x1f67ac:0xdb,_0x210933:0x47,_0x90e86a:0xb5,_0x824733:0xfd,_0x13d533:0xa6,_0x75c11:0x5,_0xef59d7:0x62,_0x2eeb64:0x22e,_0x4dd102:0x178,_0x10d4d5:0x15d,_0x163a08:0x177,_0x5f2c6e:0x21f,_0x3774b9:0x238,_0x1d5214:0x13d,_0x200c89:0x17f,_0x41e018:0x12b,_0x360ebb:0x102,_0x29ead7:0xcb,_0x4cad6b:0x1f0,_0x2b8902:0x174,_0x51cb88:0x11a,_0x2cc62b:0x51,_0x1d39d4:0x1b,_0x3c217a:0xdf,_0x1929fa:0x132,_0x1e9e69:0x165,_0x5801e7:0xd8,_0x1a6f82:0x193,_0x4669f3:0x1b2,_0x388738:0x139,_0x59adc9:0x70,_0x314d05:0x60,_0x1d8fc7:0x11b,_0x44fa39:0x19d,_0x24ed1b:0x99,_0xc6bab1:0x174,_0x55584e:0x1b6,_0xb39ff:0x236,_0x5959cb:0x192,_0x1b202f:0x1be,_0x560028:0x187,_0x531c55:0x163,_0x59a0d0:0x1b9,_0x321c90:0xe0,_0x27f51a:0x14a,_0x2ef878:0x21c,_0xe6b2a8:0x1cb,_0x253a47:0x131,_0x4a04e2:0x1a1,_0x55e3dc:0x13b,_0x96aca5:0x14d,_0xdb2a71:0xbd,_0x39f58d:0x5d,_0x53b07c:0xb1,_0x459576:0xea,_0x5986ac:0xf9,_0x3977a1:0x7,_0x56db85:0xc6,_0x2d411a:0x57,_0x5903e8:0x2f,_0x26ff41:0x9b,_0x45048f:0x1c1,_0x37ad2c:0x2e,_0x1d88da:0x18,_0x752abb:0xff,_0x561292:0x13c,_0x33396a:0x125,_0x14da88:0x92,_0x41201f:0x98,_0x35a8d2:0x152,_0x1dc46a:0x108,_0x301b21:0x12b,_0x555f12:0x1e7,_0x85015f:0x1d7,_0x30a3a9:0x156,_0xe31414:0x79,_0x32d695:0xed,_0x44713a:0x105,_0x219634:0x32,_0x58b310:0x189,_0x2f8b9e:0x39},_0x53e9a3={_0x15dfa7:0x93},_0xcb7b97={'zFOgC':'Missing\x20cr'+'edentials','nMIMz':'Username\x20a'+'nd\x20passwor'+_0x2c8d28(_0x45af14._0x129544,_0x45af14._0x40059d,0x1b8,_0x45af14._0x1b0a18)+_0x2c8d28(_0x45af14._0x1d67ad,0x205,_0x45af14._0x1272f9,0x202),'vslIK':_0x2c8d28(_0x45af14._0x4da06e,0x19d,_0x45af14._0xa70b36,0x1af)+'\x20login\x20att'+_0x32d034(0x9b,0x6,0x4c,0x20),'rUkwz':_0x32d034(_0x45af14._0x256825,-0x11,0x56,_0x45af14._0x232587)+_0x32d034(-_0x45af14._0x25b733,-0x6b,0x2e,-_0x45af14._0x437992)+'d','KYsTu':function(_0x58f9a8,_0x55e507){return _0x58f9a8!==_0x55e507;},'nYjiK':_0x32d034(-_0x45af14._0x11ba17,-0xc6,-0x10a,-_0x45af14._0x41875c),'nVWlC':function(_0x40edc9,_0xd2e29d){return _0x40edc9===_0xd2e29d;},'aJqtT':_0x2c8d28(0x12b,0xe6,0x17c,0x1d9)+_0x2c8d28(_0x45af14._0x1288b8,_0x45af14._0x25985c,0x162,_0x45af14._0x3c8756),'wmwFu':function(_0x40ff41,_0x62fc72,_0x125d8b){return _0x40ff41(_0x62fc72,_0x125d8b);},'UgsNt':_0x2c8d28(_0x45af14._0x33a526,_0x45af14._0x4e4f28,_0x45af14._0x43ddd9,0x19c),'IKzgV':_0x2c8d28(_0x45af14._0x43ddd9,0x1b1,0x1ca,_0x45af14._0xbfc74d)+_0x32d034(-0x2b,-0x90,-_0x45af14._0x3c6222,-_0x45af14._0x89a0f2),'tOjUz':_0x2c8d28(_0x45af14._0x474b50,0x195,0x156,_0x45af14._0x36e8ef)+_0x32d034(-_0x45af14._0x1be37a,-0xbc,-_0x45af14._0x375d69,-0xf0)+_0x2c8d28(0xd5,_0x45af14._0x1496ad,0xc9,_0x45af14._0x3629b6)};function _0x2c8d28(_0x470bb4,_0x37d24c,_0x342c17,_0x2b42f1){return _0x508355(_0x342c17-_0x53e9a3._0x15dfa7,_0x37d24c-0x1b0,_0x342c17-0x110,_0x470bb4);}function _0x32d034(_0x5a8047,_0x341345,_0x1eb05a,_0x45cee1){return _0x508355(_0x341345- -0x123,_0x341345-0x64,_0x1eb05a-0x1e4,_0x45cee1);}const {name:_0x42d1a8,preferences:_0x5c618e}=_0x581fab['body'];try{const _0x1b13d5={};if(_0x42d1a8!==undefined){if(_0xcb7b97[_0x2c8d28(0x18f,0xd0,_0x45af14._0x10bd72,0xe6)]('NHQVb',_0xcb7b97['nYjiK'])){const _0x141920={};return _0x141920['error']=_0xcb7b97['zFOgC'],_0x141920[_0x2c8d28(_0x45af14._0x504c6c,_0x45af14._0x2c005a,0x11e,0x16e)]=_0xcb7b97[_0x2c8d28(_0x45af14._0x452295,0xd7,0x13c,_0x45af14._0x327e6e)],_0x2ff979['status'](-0x1ed1*0x1+0x1*0x1215+0xe4c)[_0x32d034(-0x1,-_0x45af14._0x1cb78c,-_0x45af14._0x1c970f,-_0x45af14._0x4ce337)](_0x141920);}else{if(!_0x42d1a8||_0xcb7b97['nVWlC'](_0x42d1a8[_0x32d034(-0x36,-_0x45af14._0x247060,-_0x45af14._0x4fc7d6,0x2d)]()[_0x2c8d28(0x10b,_0x45af14._0x286e3c,_0x45af14._0x5b4c05,0x187)],-0x1f38+-0x56*-0x2a+0x111c)){const _0x539109={};return _0x539109[_0x2c8d28(_0x45af14._0x598ebb,0x1fb,_0x45af14._0x3153ad,0x198)]=_0xcb7b97[_0x32d034(-_0x45af14._0x10914c,-_0x45af14._0x58abfa,-_0x45af14._0x582962,-_0x45af14._0x3d88f9)],_0x113cf3[_0x32d034(-0xe5,-_0x45af14._0x192ecd,-_0x45af14._0x42dc14,_0x45af14._0x105c5d)](-0x1d+0x6*-0x2ea+0x1329)[_0x2c8d28(0xca,_0x45af14._0x5a3c19,0x12b,_0x45af14._0x1f67ac)](_0x539109);}_0x1b13d5[_0x32d034(-0x68,-0x51,-0x34,-0x2)]=_0x42d1a8[_0x32d034(-0x21,-_0x45af14._0x247060,-_0x45af14._0x210933,-0xae)]();}}_0x5c618e!==undefined&&(_0x1b13d5[_0x32d034(-_0x45af14._0x90e86a,-0xff,-_0x45af14._0x824733,-_0x45af14._0x13d533)+'s']=_0x5c618e);if(_0xcb7b97[_0x32d034(-_0x45af14._0x75c11,-_0x45af14._0xef59d7,0x20,-0x1f)](Object[_0x2c8d28(0x1da,_0x45af14._0x2eeb64,0x1a1,0x1b2)](_0x1b13d5)[_0x2c8d28(0x1f1,0x198,_0x45af14._0x4dd102,_0x45af14._0x10d4d5)],-0x86*-0x10+-0x172c+-0x766*-0x2)){const _0xbdb9d2={};return _0xbdb9d2[_0x2c8d28(_0x45af14._0x163a08,_0x45af14._0x5f2c6e,_0x45af14._0x3153ad,_0x45af14._0x3774b9)]=_0x2c8d28(0x180,_0x45af14._0x1d5214,0x1b0,_0x45af14._0x200c89)+_0x32d034(-_0x45af14._0x41e018,-0x109,-_0x45af14._0x360ebb,-0x18a)+'vided',_0x113cf3['status'](0x1058+-0x2*0xfb3+0x109e)[_0x2c8d28(0x100,0xac,0x12b,_0x45af14._0x29ead7)](_0xbdb9d2);}const _0x599ad1=await _0xcb7b97[_0x2c8d28(_0x45af14._0x41875c,0xc4,0xc4,0x31)](updateUser,_0x581fab[_0x2c8d28(_0x45af14._0x4cad6b,0xdf,_0x45af14._0x2b8902,_0x45af14._0x51cb88)]['id'],_0x1b13d5);if(_0x1b13d5[_0x32d034(-0x1c,-_0x45af14._0x2cc62b,_0x45af14._0x1d39d4,0x33)]){if(_0xcb7b97[_0x32d034(-0xd1,-0x62,-0xd7,0x2c)]('SPfWt',_0xcb7b97['UgsNt']))_0x581fab[_0x32d034(-_0x45af14._0x1be37a,-0xa8,-_0x45af14._0x3c217a,-_0x45af14._0x1929fa)]['name']=_0x1b13d5[_0x2c8d28(0x1e6,0x16c,_0x45af14._0x1e9e69,_0x45af14._0x5801e7)];else{const _0x169609={};_0x169609['username']=_0x4fae89,_0xb0057f['warn'](_0xcb7b97[_0x2c8d28(0x1c2,0x12c,0x16a,_0x45af14._0x1a6f82)],_0x169609);const _0x2f04b={};return _0x2f04b[_0x2c8d28(_0x45af14._0x4669f3,_0x45af14._0x388738,_0x45af14._0x3153ad,0x109)]=_0xcb7b97[_0x32d034(0xc0,0x27,_0x45af14._0x59adc9,-_0x45af14._0x314d05)],_0x2f04b[_0x2c8d28(_0x45af14._0x1d8fc7,_0x45af14._0x44fa39,0x11e,_0x45af14._0x24ed1b)]=_0x2c8d28(_0x45af14._0xc6bab1,0x21b,_0x45af14._0x55584e,0x1d7)+_0x2c8d28(_0x45af14._0xb39ff,_0x45af14._0x5959cb,0x1a6,_0x45af14._0x1b202f)+_0x2c8d28(_0x45af14._0x560028,_0x45af14._0x531c55,_0x45af14._0x59a0d0,0x171),_0x5e8ec9[_0x2c8d28(_0x45af14._0x90e86a,_0x45af14._0x321c90,_0x45af14._0x27f51a,0x1bc)](0xf7e*-0x1+-0xbb+0x11ca)[_0x32d034(-0x116,-0x8b,-0x70,-0x70)](_0x2f04b);}}logger['info'](_0xcb7b97[_0x2c8d28(_0x45af14._0x2ef878,0x216,0x1db,0x258)],{'userId':_0x581fab[_0x2c8d28(0x150,_0x45af14._0xe6b2a8,0x174,0x151)]['id'],'updates':Object[_0x2c8d28(0x15c,_0x45af14._0x253a47,_0x45af14._0x4a04e2,_0x45af14._0x55e3dc)](_0x1b13d5)});const _0x4740e2={};_0x4740e2['id']=_0x599ad1['id'],_0x4740e2[_0x32d034(-_0x45af14._0x96aca5,-_0x45af14._0xdb2a71,-_0x45af14._0x39f58d,-0x140)]=_0x599ad1[_0x32d034(-_0x45af14._0x53b07c,-_0x45af14._0xdb2a71,-_0x45af14._0x459576,-_0x45af14._0x5986ac)],_0x4740e2[_0x32d034(-_0x45af14._0x3977a1,-0x2f,-_0x45af14._0x56db85,-0x17)]=_0x599ad1[_0x32d034(-_0x45af14._0x2d411a,-_0x45af14._0x5903e8,-_0x45af14._0x26ff41,-0xc3)],_0x4740e2[_0x2c8d28(0x1d4,_0x45af14._0x1288b8,0x165,_0x45af14._0x45048f)]=_0x599ad1['name'],_0x4740e2['avatar']=_0x599ad1[_0x32d034(0x2b,-_0x45af14._0x37ad2c,-0x2,_0x45af14._0x1d88da)]||null,_0x4740e2[_0x32d034(-0x7b,-_0x45af14._0x752abb,-_0x45af14._0x561292,-_0x45af14._0x33396a)+'s']=_0x599ad1[_0x32d034(-0xaf,-0xff,-_0x45af14._0x14da88,-_0x45af14._0x41201f)+'s']||{};const _0x3e0e49={};_0x3e0e49['profile']=_0x4740e2,_0x113cf3[_0x2c8d28(_0x45af14._0x35a8d2,_0x45af14._0x1dc46a,_0x45af14._0x301b21,0x162)](_0x3e0e49);}catch(_0x3be0f4){logger[_0x2c8d28(0x174,_0x45af14._0x555f12,_0x45af14._0x3153ad,_0x45af14._0x85015f)](_0x2c8d28(0x115,0xf0,_0x45af14._0x30a3a9,0x198)+'update\x20pro'+_0x32d034(-_0x45af14._0xe31414,-_0x45af14._0x32d695,-0x121,-_0x45af14._0x44713a),_0x3be0f4);const _0x19f58a={};_0x19f58a[_0x32d034(_0x45af14._0x219634,-0x18,-_0x45af14._0x53b07c,-_0x45af14._0x192ecd)]=_0xcb7b97[_0x32d034(-_0x45af14._0x5959cb,-_0x45af14._0x5a3c19,-0x7e,-_0x45af14._0x58b310)],_0x113cf3['status'](0x2*-0x74d+-0x1*-0x67+0x1027)[_0x32d034(-_0x45af14._0x2f8b9e,-_0x45af14._0x1cb78c,-_0x45af14._0x10bd72,-0xa3)](_0x19f58a);}}),router[_0x508355(0x23,0x0,-0x5,-0x3a)](_0x508355(0xbb,0xb5,0xfc,0x14f)+_0x508355(0x1e,0x99,0x35,-0x73),requireAuth,avatarUpload['single'](_0xb842b2(0x257,0x267,0x23b,0x2b6)),async(_0x47da86,_0x123119)=>{const _0xdc7d68={_0x12709b:0xb6,_0x4b7704:0x2c,_0x18de98:0x95,_0x49f0d6:0xa8,_0x1044c5:0xdb,_0x5de638:0xaa,_0x58935f:0xfb,_0x48f25d:0x22a,_0x106a17:0x116,_0x43a006:0x1cf,_0x3eb4e0:0x16a,_0x228090:0x175,_0x68851d:0x184,_0x34193c:0xa5,_0x4be7b8:0x31,_0x41dcde:0x62,_0x559fb1:0x8b,_0x3b9bd2:0x155,_0x50612a:0xdd,_0x589181:0x34,_0x59bfa2:0xb1,_0x1ece43:0x15,_0x4bc7cf:0x1ac,_0x5de1a4:0x11d,_0x2ea89f:0x120,_0x331dad:0x25c,_0x19996e:0x153,_0x364f02:0x1d8,_0x16674a:0xee,_0xbce92f:0x177,_0x20e077:0x216,_0x22650c:0x1cf,_0x18e901:0x1dd,_0x75b8b6:0x18d,_0x164c8e:0x1cc,_0x42160c:0x143,_0x36d3d2:0x11d,_0x16ac41:0xc9,_0x59a268:0xe7,_0x420197:0xf1,_0x40bebb:0x33,_0x29e8c0:0xd,_0xf0c2ea:0x14,_0xf856:0x12b,_0x1cb73b:0x133,_0x1af0f7:0x1d5,_0x1a2aad:0x5d,_0x5b7422:0x0,_0x3f4d5a:0x16,_0x108d07:0x99,_0x5bfac7:0x1a,_0x2c8085:0x50,_0x23dab8:0x5f,_0x5ce0e4:0x4a,_0x1cb657:0x32,_0x1fe94c:0x9c,_0x2aa4d7:0x2a,_0x4c1854:0x4c,_0x1fd5b3:0x3b,_0x4c3d99:0x17,_0x49ab2a:0xaf,_0x5e7da0:0x122,_0x2c3c90:0x8,_0x7979ba:0x1a2,_0x6dd156:0xba,_0x52d431:0x20,_0x29b0e7:0x61,_0x384f52:0xb8,_0x28c469:0xb4,_0x363e0f:0xf,_0x593ea3:0x80,_0xb7e924:0x94,_0x4638de:0x12c,_0x5e4a1a:0xc5,_0x568a4c:0xd2,_0x16fffd:0x5a,_0x1d7d54:0x4f,_0x2a6c0f:0x88,_0x57b13d:0x104,_0x4da77f:0x7c,_0xd94e04:0xae,_0x1c497f:0x29,_0x4055af:0x36,_0x419efd:0x7b,_0x11767d:0xae,_0x852be6:0x20b,_0x24ec4c:0xcc,_0x8d5264:0x3d,_0x3cb6ae:0x116,_0x3181b6:0x10,_0x3fda4b:0xda,_0x26c6c2:0x5c,_0x8f04bf:0x9d,_0x24b0a6:0xd6,_0x57e493:0x1dc,_0x4b77a9:0xea,_0x416b37:0x1b9,_0x2165c0:0x187,_0x31813c:0x130,_0xa46028:0x15b,_0x207912:0x7e,_0x286a1e:0x91,_0xd8fe58:0x1b,_0x556b87:0x1ff,_0x1fc9d8:0xe1,_0x1121da:0x14b,_0x5cc5d7:0x2f,_0x4eaff9:0x1b4,_0x496190:0x12b,_0x1b92e7:0x151,_0x25d49b:0xbb,_0x1cbce2:0x49,_0x216cfc:0x23,_0x247767:0x16c,_0x1a6c23:0x123,_0x2ed71d:0x15f,_0x35fa17:0x193,_0x4266b3:0x125,_0x37f4d8:0x1b6,_0x1b6040:0xfe,_0x5ad7f:0x141,_0x3adf7c:0x172,_0x2ad657:0x159,_0x1c0e5d:0xb7,_0x1aa5f1:0xa2,_0x2feafd:0x6a,_0x408cc9:0x67,_0x82be65:0x73,_0x23c19f:0x93,_0x3f3a21:0xab,_0x469ff3:0x1dc,_0x57cae4:0x184,_0x35b978:0x136,_0x3f7d82:0x14b,_0x428e98:0x178,_0x3ae3bf:0x14c,_0x57258f:0x162,_0x28c323:0x162,_0x4cb596:0x46,_0x4448d6:0x40,_0x5ea0af:0x110,_0x11511e:0x12f},_0x5c7088={_0x46e5db:0x98,_0x87186e:0x16a,_0x5e4b94:0x1c5},_0x3ec8b0={_0x5897b9:0xe8},_0x494e07={'SBneb':_0x4629f4(-0xa,0x81,_0xdc7d68._0x12709b,_0xdc7d68._0x4b7704)+_0x4629f4(_0xdc7d68._0x18de98,_0xdc7d68._0x49f0d6,0x20,0x41)+'d\x20are\x20requ'+'ired','dcFeV':'image/jpeg','XzcjM':_0xcc85ca(_0xdc7d68._0x1044c5,0xd9,_0xdc7d68._0x5de638,_0xdc7d68._0x58935f),'gWzAC':_0xcc85ca(0x9e,0xec,0xdf,0x101),'aIXhN':_0xcc85ca(_0xdc7d68._0x48f25d,_0xdc7d68._0x106a17,_0xdc7d68._0x43a006,0x1a7),'vvHvG':function(_0x123148,_0x3f6493,_0x31de28){return _0x123148(_0x3f6493,_0x31de28);},'Yqntm':function(_0x4fd59e,_0x59ed87){return _0x4fd59e(_0x59ed87);},'CYiES':_0xcc85ca(_0xdc7d68._0x3eb4e0,_0xdc7d68._0x228090,0xff,_0xdc7d68._0x68851d)+_0x4629f4(-_0xdc7d68._0x34193c,-_0xdc7d68._0x4be7b8,_0xdc7d68._0x41dcde,0xc)+_0xcc85ca(_0xdc7d68._0x559fb1,0x6d,0x66,0xf7),'XoWNm':function(_0x4d12d3,_0xe70359){return _0x4d12d3!==_0xe70359;},'tKfXG':_0xcc85ca(_0xdc7d68._0x3b9bd2,0xfb,0x123,_0xdc7d68._0x50612a),'XKEBA':'No\x20file\x20up'+_0x4629f4(-0x19,-_0xdc7d68._0x589181,-_0xdc7d68._0x59bfa2,_0xdc7d68._0x1ece43),'jHEpV':function(_0x52749f,_0x29c2b1){return _0x52749f!==_0x29c2b1;},'hQnTT':_0xcc85ca(_0xdc7d68._0x4bc7cf,0x18b,_0xdc7d68._0x5de1a4,_0xdc7d68._0x2ea89f),'WkcwM':function(_0xb85959){return _0xb85959();},'iYVUD':function(_0x5ad26f,_0x33dd8a){return _0x5ad26f(_0x33dd8a);},'XkkxR':function(_0xa4843,_0x30e9fe){return _0xa4843(_0x30e9fe);},'kaJOH':function(_0xbd3ae2,_0x2d3acc){return _0xbd3ae2!==_0x2d3acc;},'kFyGJ':_0xcc85ca(_0xdc7d68._0x331dad,0x13f,_0xdc7d68._0x19996e,_0xdc7d68._0x364f02),'oWVrU':function(_0xea7d66,_0x112d31,_0x339573){return _0xea7d66(_0x112d31,_0x339573);},'bVPpx':_0xcc85ca(0x1d7,0x1bb,_0xdc7d68._0x16674a,0x15e)+'oaded','Axkup':_0xcc85ca(0x1e3,0x119,_0xdc7d68._0xbce92f,0x184)+'upload\x20ava'+'tar'};if(!_0x47da86[_0x4629f4(-0x4b,-_0xdc7d68._0x41dcde,-0xb7,-0x77)]){if(_0x494e07[_0xcc85ca(_0xdc7d68._0x20e077,_0xdc7d68._0x22650c,_0xdc7d68._0x18e901,0x1ae)](_0x494e07['tKfXG'],_0x494e07['tKfXG'])){const _0x53474c={};return _0x53474c[_0xcc85ca(_0xdc7d68._0x75b8b6,0x1db,0x254,_0xdc7d68._0x164c8e)]=_0xcc85ca(0x17e,_0xdc7d68._0x42160c,0x171,_0xdc7d68._0x36d3d2)+_0xcc85ca(_0xdc7d68._0x16ac41,_0xdc7d68._0x59a268,0xc0,_0xdc7d68._0x420197),_0x53474c[_0x4629f4(-_0xdc7d68._0x40bebb,-_0xdc7d68._0x29e8c0,0x47,-_0xdc7d68._0xf0c2ea)]=_0x494e07[_0xcc85ca(_0xdc7d68._0xf856,0x1a5,0xda,_0xdc7d68._0x1cb73b)],_0x5b1ce7[_0xcc85ca(0xfe,_0xdc7d68._0x1af0f7,0x1eb,0x178)](-0x18c5+-0x644+0x1*0x2099)[_0x4629f4(_0xdc7d68._0x1a2aad,_0xdc7d68._0x5b7422,-_0xdc7d68._0x3f4d5a,-0x33)](_0x53474c);}else{const _0x33bb43={};return _0x33bb43[_0x4629f4(0xbb,0x73,0x98,_0xdc7d68._0x5de638)]=_0x494e07['XKEBA'],_0x123119[_0x4629f4(_0xdc7d68._0x108d07,0x1f,_0xdc7d68._0x5bfac7,_0xdc7d68._0x2c8085)](-0xaf8+0x6*0x14f+0x4ae)[_0x4629f4(-_0xdc7d68._0x23dab8,0x0,0x13,-_0xdc7d68._0x5ce0e4)](_0x33bb43);}}function _0xcc85ca(_0x2541d4,_0x3a0b21,_0x364ac7,_0x2631d7){return _0xb842b2(_0x2631d7- -0xa1,_0x3a0b21-_0x3ec8b0._0x5897b9,_0x3a0b21,_0x2631d7-0xec);}function _0x4629f4(_0x1cf997,_0x276242,_0x28bcf1,_0xffcd5d){return _0x508355(_0x276242- -_0x5c7088._0x46e5db,_0x276242-_0x5c7088._0x87186e,_0x28bcf1-_0x5c7088._0x5e4b94,_0xffcd5d);}try{if(_0x494e07[_0x4629f4(_0xdc7d68._0x5de638,0x8f,_0xdc7d68._0x1cb657,_0xdc7d68._0x1fe94c)](_0x4629f4(_0xdc7d68._0x2aa4d7,_0xdc7d68._0x4c1854,0x3a,0xb1),_0x494e07[_0x4629f4(_0xdc7d68._0x1fd5b3,0x4b,_0xdc7d68._0x4c3d99,0xd9)])){await _0x494e07[_0x4629f4(0x2e,_0xdc7d68._0x49ab2a,0x74,_0xdc7d68._0x5e7da0)](ensureAvatarsDir);const _0x42a341=_0x4629f4(0x74,_0xdc7d68._0x2c3c90,-0x49,0x96)+_0x47da86[_0xcc85ca(0x10c,0x167,0x127,_0xdc7d68._0x7979ba)]['id']+'-'+Date[_0xcc85ca(0x8f,0x8c,_0xdc7d68._0x6dd156,0x10e)]()+_0xcc85ca(0x8d,0x140,0x19d,0x103),_0x17fb2b=_0x5aa7c8[_0x4629f4(0x25,0xf,-_0xdc7d68._0x52d431,-0x29)](AVATARS_DIR,_0x42a341),_0xd19799={};_0xd19799[_0x4629f4(-_0xdc7d68._0x23dab8,-_0xdc7d68._0x29b0e7,-_0xdc7d68._0x384f52,-_0xdc7d68._0x28c469)]=_0x4629f4(-_0xdc7d68._0x363e0f,_0xdc7d68._0x593ea3,0x6d,0x8b),_0xd19799[_0xcc85ca(0x98,_0xdc7d68._0xb7e924,0xe7,_0xdc7d68._0x4638de)]='center';const _0x266101={};_0x266101['quality']=0x5a,await _0x494e07['iYVUD'](_0x2368e2,_0x47da86[_0xcc85ca(0xc3,_0xdc7d68._0x5e4a1a,_0xdc7d68._0x568a4c,0xf7)][_0x4629f4(0x1c,-_0xdc7d68._0x16fffd,-_0xdc7d68._0x5ce0e4,-_0xdc7d68._0x1d7d54)])[_0xcc85ca(_0xdc7d68._0x2a6c0f,0xc8,0x16d,_0xdc7d68._0x57b13d)](AVATAR_SIZE,AVATAR_SIZE,_0xd19799)[_0x4629f4(0x114,_0xdc7d68._0x4da77f,_0xdc7d68._0xd94e04,_0xdc7d68._0x1c497f)](_0x266101)[_0x4629f4(_0xdc7d68._0x4055af,0x30,_0xdc7d68._0x419efd,_0xdc7d68._0x11767d)](_0x17fb2b);const _0x407210=await _0x494e07[_0xcc85ca(0x1cd,0x193,0x1c8,0x157)](findUserById,_0x47da86[_0xcc85ca(0x1bc,_0xdc7d68._0x852be6,0x10a,0x1a2)]['id']);if(_0x407210['avatar']){if(_0x494e07['kaJOH'](_0x494e07[_0x4629f4(_0xdc7d68._0x24ec4c,0x99,_0xdc7d68._0x8d5264,_0xdc7d68._0x3cb6ae)],'hHtnV')){const _0x566d60=_0x5aa7c8[_0x4629f4(0x24,0xf,-0x19,_0xdc7d68._0x3181b6)](AVATARS_DIR,_0x407210[_0x4629f4(_0xdc7d68._0x3fda4b,0x5d,0x17,-0x2e)]);try{await _0x26c869[_0x4629f4(-_0xdc7d68._0x26c6c2,0x34,_0xdc7d68._0x8f04bf,-0x52)](_0x566d60);}catch(_0x29abe6){}}else{const _0xf7d011=[_0x494e07['dcFeV'],_0x494e07[_0xcc85ca(_0xdc7d68._0x24b0a6,_0xdc7d68._0x57e493,_0xdc7d68._0x4b77a9,0x151)],_0x494e07[_0xcc85ca(_0xdc7d68._0x416b37,0x1b0,0x15b,0x1e9)],_0x494e07['aIXhN']];_0xf7d011['includes'](_0x28e34e[_0xcc85ca(_0xdc7d68._0x2165c0,0x1eb,_0xdc7d68._0x31813c,_0xdc7d68._0xa46028)])?_0x494e07['vvHvG'](_0x492ffb,null,!![]):_0x494e07[_0x4629f4(0x1,0x36,0x8c,_0xdc7d68._0x24ec4c)](_0x3670a1,new _0x4057f9(_0x4629f4(-_0xdc7d68._0x207912,-0x4e,-_0xdc7d68._0x286a1e,-_0xdc7d68._0xd8fe58)+'le\x20type.\x20O'+_0xcc85ca(0x183,0x185,0x1ea,_0xdc7d68._0x556b87)+_0xcc85ca(0x130,0x116,_0xdc7d68._0x1fc9d8,_0xdc7d68._0x1121da)+_0x4629f4(-0xa8,-_0xdc7d68._0x5cc5d7,-0x43,-_0xdc7d68._0x1fe94c)+_0xcc85ca(_0xdc7d68._0x4eaff9,_0xdc7d68._0xa46028,_0xdc7d68._0x496190,0x197)+'.'));}}const _0x30c355={};_0x30c355[_0xcc85ca(0x1c6,_0xdc7d68._0x1b92e7,0x149,0x1b6)]=_0x42a341,await _0x494e07['oWVrU'](updateUser,_0x47da86['user']['id'],_0x30c355);const _0x1aa643={};_0x1aa643['userId']=_0x47da86[_0x4629f4(_0xdc7d68._0x25d49b,_0xdc7d68._0x1cbce2,-0x4a,_0xdc7d68._0x216cfc)]['id'],_0x1aa643[_0xcc85ca(0x17a,0x9e,_0xdc7d68._0x247767,0xe8)]=_0x42a341,logger['info'](_0x494e07[_0xcc85ca(0x188,0x15e,_0xdc7d68._0x1a6c23,0x16c)],_0x1aa643);const _0x218eff={};_0x218eff[_0xcc85ca(_0xdc7d68._0x2ed71d,_0xdc7d68._0x35fa17,_0xdc7d68._0x4266b3,_0xdc7d68._0x37f4d8)]=_0x42a341,_0x218eff['avatarUrl']=_0xcc85ca(0xe0,_0xdc7d68._0x1a6c23,0x137,_0xdc7d68._0x1b6040)+_0x42a341,_0x123119[_0xcc85ca(0x156,_0xdc7d68._0x5ad7f,_0xdc7d68._0x3adf7c,_0xdc7d68._0x2ad657)](_0x218eff);}else{_0x6fc7b1[_0x4629f4(_0xdc7d68._0x59bfa2,0x73,0x74,-_0xdc7d68._0x52d431)](_0x494e07[_0x4629f4(_0xdc7d68._0x1c0e5d,_0xdc7d68._0x1aa5f1,_0xdc7d68._0x2feafd,_0xdc7d68._0x408cc9)],_0x2422ee);const _0x5c7bb2={};_0x5c7bb2[_0x4629f4(0xae,_0xdc7d68._0x82be65,_0xdc7d68._0x23c19f,_0xdc7d68._0x3f3a21)]=_0xcc85ca(0x212,_0xdc7d68._0x469ff3,0x203,_0xdc7d68._0x57cae4)+'update\x20pro'+'file',_0x5c755a[_0xcc85ca(_0xdc7d68._0x35b978,_0xdc7d68._0x3f7d82,0x1d0,_0xdc7d68._0x428e98)](-0x47+0x2e7*-0xb+0x4*0x88a)[_0xcc85ca(0x1ef,0x180,_0xdc7d68._0x3ae3bf,_0xdc7d68._0x2ad657)](_0x5c7bb2);}}catch(_0x40cef0){logger[_0xcc85ca(_0xdc7d68._0x57258f,0x1d2,0x145,0x1cc)](_0x494e07[_0xcc85ca(0x1dd,0x216,_0xdc7d68._0x28c323,0x1b4)],_0x40cef0);const _0x2eb50f={};_0x2eb50f[_0x4629f4(0x10c,_0xdc7d68._0x82be65,_0xdc7d68._0x4cb596,0x3c)]=_0x494e07[_0x4629f4(0x4f,0x5b,_0xdc7d68._0x4448d6,0x53)],_0x123119[_0xcc85ca(0x126,0x1bf,0xfd,0x178)](0xc1*0xd+-0x8b9*0x1+0xe0)[_0xcc85ca(_0xdc7d68._0x5ea0af,_0xdc7d68._0x11511e,0x1c0,_0xdc7d68._0x2ad657)](_0x2eb50f);}}),router[_0xb842b2(0x244,0x2b4,0x1b6,0x201)](_0xb842b2(0x21d,0x27b,0x1ad,0x2b6)+_0xb842b2(0x180,0x18d,0x123,0x16f),requireAuth,async(_0x50be0d,_0x5b68b3)=>{const _0x1b29c2={_0x348a95:0x80,_0x2f7361:0xfe,_0x4c5ea0:0x53,_0x611f2e:0x46e,_0x39fc56:0x4a6,_0x1ebf72:0x4f8,_0x23bfb2:0x3be,_0x5181f4:0x3cb,_0x470e21:0x4ed,_0x2cda4f:0x56a,_0x42f0ac:0x52e,_0x2d3778:0x523,_0x4ff4bb:0x44b,_0x3b0d2f:0x46f,_0x5484ac:0x49f,_0x247519:0x4cd,_0x435239:0x469,_0x4e84e4:0x3df,_0x4258e3:0x46e,_0x6e5e49:0x118,_0x1c4f0e:0x119,_0x44b433:0x15f,_0x3045d3:0x1c4,_0x5146f0:0x48b,_0x1cb295:0x4d2,_0x5ce778:0x415,_0x5f36eb:0x435,_0x4e3548:0x3c4,_0x2c3068:0x426,_0x1f4f6b:0x3ab,_0x461bb3:0x143,_0x155fe6:0xd8,_0x4d47af:0xfd,_0x176ce7:0x11c,_0x44dad3:0x180,_0x50ae08:0xfd,_0x433a67:0x3e,_0x255e19:0xc3,_0x396289:0x461,_0x36a32c:0x3ea,_0x4abb36:0x442,_0x9a3127:0x47c,_0x543f99:0x509,_0x30f6e9:0x486,_0x1756c6:0x3c1,_0x40db10:0x562,_0x33b7a3:0x1ef,_0x1c898d:0x17f,_0xe5e5bc:0x199,_0x517844:0x1f5,_0x3b8418:0x445,_0x53ef4e:0x405,_0x5a4c10:0x3e5,_0x37cd11:0x40a},_0x457de1={_0x84c82b:0x59},_0x298c37={_0x5d0d46:0x4c};function _0x51cdbf(_0x49e1f9,_0x38393b,_0x1d8cb6,_0x35b603){return _0x508355(_0x38393b-_0x298c37._0x5d0d46,_0x38393b-0x133,_0x1d8cb6-0x14e,_0x1d8cb6);}function _0x4d3c5e(_0x2428c0,_0x28a4ae,_0x49b1ea,_0xbe3eb5){return _0xb842b2(_0x2428c0-0x248,_0x28a4ae-_0x457de1._0x84c82b,_0xbe3eb5,_0xbe3eb5-0x70);}const _0x32f3f3={'xYVpR':'direct','wHEpy':function(_0xe414e9,_0x54fc07){return _0xe414e9(_0x54fc07);},'jRkIE':function(_0x215732,_0x38597b,_0x5fabfd){return _0x215732(_0x38597b,_0x5fabfd);},'FBHfm':_0x51cdbf(0xcb,_0x1b29c2._0x348a95,_0x1b29c2._0x2f7361,_0x1b29c2._0x4c5ea0)+'oved','rJSGz':_0x4d3c5e(0x46d,_0x1b29c2._0x611f2e,_0x1b29c2._0x39fc56,_0x1b29c2._0x1ebf72)+_0x4d3c5e(0x3f3,_0x1b29c2._0x23bfb2,_0x1b29c2._0x5181f4,0x363)+_0x4d3c5e(_0x1b29c2._0x470e21,0x57e,_0x1b29c2._0x2cda4f,_0x1b29c2._0x42f0ac)};try{const _0x385e71=await _0x32f3f3[_0x4d3c5e(0x449,0x4e1,0x4ad,0x4b5)](findUserById,_0x50be0d[_0x4d3c5e(0x48b,_0x1b29c2._0x2d3778,_0x1b29c2._0x4ff4bb,_0x1b29c2._0x3b0d2f)]['id']);if(_0x385e71[_0x4d3c5e(_0x1b29c2._0x5484ac,0x47d,_0x1b29c2._0x247519,_0x1b29c2._0x435239)]){const _0x302c2c=_0x5aa7c8[_0x4d3c5e(0x451,_0x1b29c2._0x4e84e4,0x40e,0x4ab)](AVATARS_DIR,_0x385e71[_0x4d3c5e(0x49f,0x44b,0x43d,_0x1b29c2._0x4258e3)]);try{await _0x26c869[_0x51cdbf(0x16c,_0x1b29c2._0x6e5e49,0x199,_0x1b29c2._0x1c4f0e)](_0x302c2c);}catch(_0x5dd092){}const _0xb83f87={};_0xb83f87['avatar']=null,await _0x32f3f3['jRkIE'](updateUser,_0x50be0d[_0x51cdbf(0x1bb,0x12d,_0x1b29c2._0x44b433,_0x1b29c2._0x3045d3)]['id'],_0xb83f87);const _0x1741bd={};_0x1741bd[_0x4d3c5e(0x428,0x44d,0x442,0x3f2)]=_0x50be0d[_0x4d3c5e(_0x1b29c2._0x5146f0,0x51e,0x45a,_0x1b29c2._0x1cb295)]['id'],logger['info'](_0x4d3c5e(0x3de,0x382,_0x1b29c2._0x5181f4,_0x1b29c2._0x5ce778)+'oved',_0x1741bd);}const _0x36e75f={};_0x36e75f[_0x4d3c5e(_0x1b29c2._0x5f36eb,_0x1b29c2._0x4e3548,_0x1b29c2._0x2c3068,_0x1b29c2._0x1f4f6b)]=_0x32f3f3[_0x51cdbf(_0x1b29c2._0x461bb3,0xf4,0x183,_0x1b29c2._0x155fe6)],_0x5b68b3['json'](_0x36e75f);}catch(_0x306177){if(_0x51cdbf(0xb5,_0x1b29c2._0x4d47af,0x189,_0x1b29c2._0x176ce7)===_0x51cdbf(_0x1b29c2._0x44dad3,_0x1b29c2._0x50ae08,0x135,0x161)){logger['error'](_0x32f3f3[_0x51cdbf(0x6c,0xc2,_0x1b29c2._0x433a67,_0x1b29c2._0x255e19)],_0x306177);const _0x5e0f1e={};_0x5e0f1e['error']=_0x32f3f3['rJSGz'],_0x5b68b3[_0x4d3c5e(_0x1b29c2._0x396289,_0x1b29c2._0x36a32c,0x492,0x3cd)](0xcb8+0x1121+-0x1be5)[_0x4d3c5e(_0x1b29c2._0x4abb36,0x4a0,0x4d3,0x3c5)](_0x5e0f1e);}else{const _0x202825={};_0x202825[_0x4d3c5e(_0x1b29c2._0x9a3127,_0x1b29c2._0x543f99,0x442,0x4c9)]=_0x1f4e0d['resource_i'+'d'],_0x202825[_0x4d3c5e(0x416,0x493,_0x1b29c2._0x30f6e9,_0x1b29c2._0x1756c6)]=_0x12554d,_0x202825[_0x4d3c5e(0x4c8,_0x1b29c2._0x40db10,0x545,0x49e)+'unt']=_0x64194f,_0x202825['via']=_0x32f3f3[_0x51cdbf(_0x1b29c2._0x33b7a3,_0x1b29c2._0x1c898d,_0x1b29c2._0xe5e5bc,_0x1b29c2._0x517844)],_0x2b5903[_0x4d3c5e(0x3dd,_0x1b29c2._0x3b8418,0x3be,_0x1b29c2._0x53ef4e)](_0x3e288c[_0x4d3c5e(_0x1b29c2._0x5a4c10,_0x1b29c2._0x37cd11,0x3e9,0x37c)+'d'],_0x202825);}}}),router['get'](_0x508355(0xbb,0x70,0x58,0x111)+'ccess',requireAuth,async(_0x378440,_0x185321)=>{const _0x1e0dd4={_0x816e7c:0x14f,_0x3a699b:0xba,_0x510ca7:0x14f,_0x46095a:0x110,_0x1fa1ce:0xf5,_0x2ed5e5:0x13c,_0x2eb46d:0x16e,_0x4cc01c:0x12,_0x7a49b2:0x1b6,_0x4a8a80:0x156,_0x565a1d:0xd1,_0x34d161:0xe5,_0x26d2d2:0x174,_0x53c648:0xf3,_0x478c85:0x1cd,_0x41c35a:0x12a,_0x475153:0x1e7,_0x28f9c0:0x141,_0x3cb81e:0x18b,_0xaedfa0:0x123,_0x2c10ef:0x158,_0x2ced64:0x159,_0x5ceadc:0x122,_0xbb3de6:0x7e,_0x532a1c:0xb3,_0x3f45a5:0x13c,_0x557ff3:0x2b,_0x50b5c3:0x156,_0x1e9f97:0x124,_0x3cf5ef:0xfc,_0x573f6e:0x1f4,_0x385fb1:0x167,_0x1cb034:0x15e,_0x157e29:0xfe,_0x2db75e:0x17e,_0x407587:0x173,_0x1a3ca9:0x160,_0x3d7137:0x95,_0x5999cc:0xf4,_0x473fb3:0xa3,_0x51ad80:0xf6,_0x5081a6:0x242,_0x53a4ee:0xb5,_0x1eecc8:0x144,_0x15822c:0x12b,_0x4a8d01:0x1a7,_0x10f440:0xaf,_0xcdb090:0x9a,_0x30aeb1:0x68,_0x561792:0xeb,_0x5c8cfe:0x137,_0x32a7a0:0x128,_0x99a4d2:0x25f,_0x55497e:0x10a,_0x2a2342:0xe7,_0x5e2737:0x11a,_0x3546a9:0x13a,_0x4dd0ce:0xb5,_0x3b3dd3:0x158,_0x12b195:0x181,_0x58b3c1:0xef,_0xd4f496:0xd9,_0x50627e:0x1c3,_0x2ddc12:0x1a8,_0x22f169:0x22f,_0x2aa76a:0x14d,_0x3d90b0:0x19d,_0x2849bb:0x22a,_0x1aef6f:0x7e,_0x5d524f:0xd0,_0x5e2aec:0x104,_0x3fdf33:0x78,_0x5428d9:0x103,_0x4ce18d:0x117,_0x7e820d:0x16b,_0x394315:0xe4,_0x5b8025:0x2e,_0x389238:0x119,_0x2358ee:0x1dd,_0x1d342f:0x1e3,_0xf18e10:0xab,_0x1702f5:0x118,_0x38c609:0x85,_0x3c06a9:0x19a,_0x12cb02:0x229,_0x2a08d2:0x176,_0x21044a:0x1e8,_0xca9cc2:0x1e1,_0x510ada:0x18a,_0x5e9b13:0xc8,_0x5be7f9:0x100,_0x416071:0xca,_0x224ad9:0x91,_0x29d8a5:0x14f,_0x4cccfa:0x1e4,_0x55bf38:0x1b5,_0x2029bc:0xbd,_0x4e029a:0x147,_0x3983bf:0x14c,_0xe1087a:0x1db,_0x2074d9:0xa7,_0x57c4c7:0xe0,_0x154889:0x136,_0x4eee0b:0x14b,_0x4ab6ae:0x17b,_0x4bfb93:0x1da,_0x471a10:0x99,_0x313d69:0x125,_0x582119:0x138,_0x38f023:0x15a,_0x97e95b:0x191,_0x123827:0x18c,_0x366438:0x1dc,_0x364579:0x144,_0x12e724:0x82,_0x4f1429:0xf1,_0x50099a:0xda,_0x22c833:0xc1,_0x302e8a:0x12e,_0x498f28:0x1bf,_0x214a41:0x116,_0x3ec6af:0x73,_0x283fe4:0x75,_0x37f56e:0x152,_0x1303fa:0x31,_0x1b5a31:0x10e,_0x2a8d24:0x161,_0x5c9839:0x11f,_0x2f48c4:0xce,_0x2cbf12:0x181,_0x3d236b:0x135,_0x6d908c:0x19d,_0x155b10:0x53,_0x2c9b52:0xde,_0x10207d:0x84,_0x1886aa:0x93,_0x2e9be8:0x14a,_0x3d5904:0x18d,_0x5c7608:0x179,_0x3b9dd1:0x114,_0x47990c:0x8b,_0x2286bb:0x106,_0x13f58f:0xbb,_0x2ee2cb:0xfd,_0x19200b:0xff,_0x1b8289:0x9f,_0x19b90d:0x1e1,_0xb1f600:0x155,_0x17f1a1:0x1ff,_0x4a780a:0xf2,_0x4cf006:0x83,_0x5760e4:0x117,_0x1370e4:0x184,_0x44215f:0x19e,_0x9318e6:0xdf,_0x111a44:0x18a,_0x18c2ce:0x15d,_0x366ff1:0xc3,_0x534cd1:0x108,_0x436caf:0x19e,_0x2633f4:0x1de,_0x2ed3ad:0x1ac,_0x371caf:0x1cc,_0x2e338d:0x8e,_0x42fac2:0x16d,_0x147362:0x19e,_0x1bb5a8:0x19c,_0x1c6e7f:0x166,_0x4399d3:0xad,_0x4b5596:0xf9,_0x1fa5d4:0xa5},_0x3f9cb9={_0x567450:0x53d,_0x5ab304:0x48e,_0x45e448:0x4a4,_0x4b11d0:0x4b8,_0x436a7e:0x4a7,_0x57dc07:0x341,_0x3db6d7:0x324,_0x2e03e3:0x3be,_0x518fc7:0x533,_0x3fd11e:0x47b},_0x7342d1={_0x305d91:0x64},_0x5a219a={_0x471f03:0x27,_0x4a3a65:0xa9},_0x2c7415={'WnTdd':function(_0x494a51,_0x4c7cad,_0x1d0b76,_0x14a15f){return _0x494a51(_0x4c7cad,_0x1d0b76,_0x14a15f);},'xRjvM':_0x1be485(0x7d,0xe4,0xa3,_0x1e0dd4._0x816e7c)+_0x1be485(0x84,0xd9,_0x1e0dd4._0x3a699b,_0x1e0dd4._0x510ca7)+_0x4426f1(_0x1e0dd4._0x46095a,0x145,0x129,_0x1e0dd4._0x1fa1ce),'RzJzD':'Failed\x20to\x20'+'remove\x20ava'+_0x1be485(_0x1e0dd4._0x2ed5e5,0x1c2,0x1f4,_0x1e0dd4._0x2eb46d),'wcICh':_0x1be485(_0x1e0dd4._0x4cc01c,0xa4,0x91,0xe8)+'ed','oUkeW':_0x4426f1(_0x1e0dd4._0x7a49b2,_0x1e0dd4._0x4a8a80,0x159,_0x1e0dd4._0x565a1d)+_0x4426f1(0xdc,0xac,0x8b,0x2a)+'e','gLROZ':function(_0x53f52c,_0x3078eb){return _0x53f52c(_0x3078eb);},'fQbUR':function(_0x48c2c6,_0x9450a0,_0x5c523a){return _0x48c2c6(_0x9450a0,_0x5c523a);},'HwcdC':_0x4426f1(_0x1e0dd4._0x34d161,_0x1e0dd4._0x26d2d2,_0x1e0dd4._0x53c648,0xe2),'giNHv':function(_0x4988c8,_0x305e57){return _0x4988c8===_0x305e57;},'ASCFv':_0x4426f1(_0x1e0dd4._0x478c85,0x190,_0x1e0dd4._0x41c35a,_0x1e0dd4._0x475153),'nyQyv':function(_0x3ec814,_0x4aa9c5){return _0x3ec814!==_0x4aa9c5;},'XNEvH':_0x1be485(_0x1e0dd4._0x28f9c0,_0x1e0dd4._0x3cb81e,0x1cc,0x224)+'t','JJbei':function(_0x11d0a7,_0xd279fd){return _0x11d0a7>_0xd279fd;},'TUZTo':_0x4426f1(_0x1e0dd4._0xaedfa0,0x18b,_0x1e0dd4._0x2c10ef,0xf6),'KtUbI':'naPiR','Kxyaf':_0x4426f1(0xd4,_0x1e0dd4._0x2ced64,_0x1e0dd4._0x5ceadc,0x113),'tEEQt':function(_0x4f1f80,_0x562ee3){return _0x4f1f80===_0x562ee3;},'McXfo':'KdfGV','aLVHA':function(_0xb604f4,_0x30743b){return _0xb604f4===_0x30743b;},'oeRKW':function(_0xdbc27e,_0x2890cf){return _0xdbc27e===_0x2890cf;},'CdZnX':_0x4426f1(_0x1e0dd4._0xbb3de6,_0x1e0dd4._0x532a1c,_0x1e0dd4._0x3f45a5,_0x1e0dd4._0x557ff3),'mouDR':_0x4426f1(_0x1e0dd4._0x510ca7,_0x1e0dd4._0x50b5c3,0x194,0x15b)+'get\x20profil'+_0x1be485(0xcd,_0x1e0dd4._0x1e9f97,0x169,_0x1e0dd4._0x3cf5ef)+_0x4426f1(_0x1e0dd4._0x573f6e,_0x1e0dd4._0x385fb1,0x16e,0x115),'Tjgfc':'Failed\x20to\x20'+'get\x20access'+_0x1be485(0x12b,_0x1e0dd4._0x1cb034,_0x1e0dd4._0x157e29,_0x1e0dd4._0x2db75e)};function _0x4426f1(_0x85232d,_0x283703,_0x4a6614,_0x587b63){return _0x508355(_0x283703-0x93,_0x283703-_0x5a219a._0x471f03,_0x4a6614-_0x5a219a._0x4a3a65,_0x85232d);}function _0x1be485(_0x32aa3a,_0x33b94f,_0x4c4fbe,_0x1188bc){return _0x508355(_0x33b94f-0x7f,_0x33b94f-0x165,_0x4c4fbe-_0x7342d1._0x305d91,_0x1188bc);}try{const _0x35104d=_0x378440[_0x1be485(_0x1e0dd4._0x407587,_0x1e0dd4._0x1a3ca9,0x107,0x1c1)]['id'],_0x5d61d6=await _0x2c7415['gLROZ'](getTeamsByUserId,_0x35104d),_0x4b6e2c=await Promise[_0x1be485(_0x1e0dd4._0x3d7137,0xab,_0x1e0dd4._0x5999cc,0x9b)](_0x5d61d6[_0x4426f1(0x18f,0x113,_0x1e0dd4._0x473fb3,_0x1e0dd4._0x51ad80)](async _0x3683d7=>{const _0x17634c={_0x58eeb3:0x1d7},_0xe923ab=await _0x2c7415[_0x2f6c56(0x4e6,_0x3f9cb9._0x567450,0x479,_0x3f9cb9._0x5ab304)](hasPermission,_0x35104d,_0x2c7415[_0x2f6c56(_0x3f9cb9._0x45e448,0x533,0x4d8,0x535)],_0x3683d7['id']),_0x466a1c={};function _0x2f6c56(_0x3b7a65,_0x570b4e,_0x2ecaee,_0x1dc80b){return _0x1be485(_0x3b7a65-0x1d9,_0x3b7a65-0x367,_0x2ecaee-0x161,_0x2ecaee);}_0x466a1c['id']=_0x3683d7['id'];function _0x423c37(_0x24a5c7,_0x437ea2,_0x35ebb9,_0x371fec){return _0x4426f1(_0x24a5c7,_0x437ea2-_0x17634c._0x58eeb3,_0x35ebb9-0x177,_0x371fec-0x1d3);}return _0x466a1c[_0x2f6c56(_0x3f9cb9._0x4b11d0,0x4b5,_0x3f9cb9._0x436a7e,0x4ae)]=_0x3683d7[_0x2f6c56(0x4b8,0x450,0x525,0x500)],_0x466a1c[_0x423c37(_0x3f9cb9._0x57dc07,_0x3f9cb9._0x3db6d7,0x38f,_0x3f9cb9._0x2e03e3)+_0x2f6c56(0x4af,0x48f,_0x3f9cb9._0x518fc7,_0x3f9cb9._0x3fd11e)]=_0xe923ab,_0x466a1c;})),_0x456a7a=new Map(),_0x16cdcc=await _0x2c7415[_0x4426f1(0x171,0x1b3,0x236,_0x1e0dd4._0x5081a6)](getBindingsBySubject,_0x2c7415['HwcdC'],_0x35104d);for(const _0xea2afb of _0x16cdcc){if(_0x2c7415[_0x1be485(0x10b,0xee,0x12f,_0x1e0dd4._0x53a4ee)]('SOCuP',_0x2c7415[_0x1be485(_0x1e0dd4._0x1eecc8,_0x1e0dd4._0x15822c,_0x1e0dd4._0x4a8d01,_0x1e0dd4._0x10f440)])){if(_0x2c7415[_0x1be485(0xe9,_0x1e0dd4._0xcdb090,_0x1e0dd4._0x30aeb1,0x66)](_0xea2afb[_0x1be485(_0x1e0dd4._0x561792,0xb8,_0x1e0dd4._0x5c8cfe,_0x1e0dd4._0x32a7a0)+_0x4426f1(0x216,0x1d9,0x171,_0x1e0dd4._0x99a4d2)],_0x2c7415['XNEvH'])||!_0xea2afb['resource_i'+'d'])continue;const _0x3c1fc2=await _0x2c7415[_0x1be485(_0x1e0dd4._0x55497e,_0x1e0dd4._0x2a2342,0x13c,0x104)](getRoleById,_0xea2afb[_0x1be485(0xba,_0x1e0dd4._0x5e2737,_0x1e0dd4._0x3546a9,_0x1e0dd4._0x4dd0ce)]),_0x423c26=_0x3c1fc2?_0x3c1fc2[_0x1be485(0x127,0x151,_0x1e0dd4._0x3b3dd3,0x11e)]:_0xea2afb['role_id'],_0x328643=_0x3c1fc2?_0x3c1fc2[_0x1be485(_0x1e0dd4._0x12b195,_0x1e0dd4._0x58b3c1,0x152,_0x1e0dd4._0xd4f496)+'s']['length']:-0x1389+0x354*0x6+0x25*-0x3,_0x376f6d=_0x456a7a['get'](_0xea2afb['resource_i'+'d']);(!_0x376f6d||_0x2c7415[_0x4426f1(_0x1e0dd4._0x50627e,_0x1e0dd4._0x2ddc12,0x1eb,_0x1e0dd4._0x22f169)](_0x328643,_0x376f6d[_0x1be485(_0x1e0dd4._0x2aa76a,_0x1e0dd4._0x3d90b0,0x1b0,_0x1e0dd4._0x2849bb)+'unt']))&&_0x456a7a[_0x4426f1(0xaf,0xc6,_0x1e0dd4._0x1aef6f,_0x1e0dd4._0x5d524f)](_0xea2afb[_0x4426f1(_0x1e0dd4._0x5e2aec,0xce,0x110,_0x1e0dd4._0x3fdf33)+'d'],{'name':_0xea2afb['resource_i'+'d'],'roleName':_0x423c26,'rolePermCount':_0x328643,'via':_0x2c7415['TUZTo']});}else{_0x146d4a['error'](_0x2c7415[_0x4426f1(_0x1e0dd4._0x5428d9,_0x1e0dd4._0x4ce18d,_0x1e0dd4._0x7e820d,0xfd)],_0x5e1422);const _0x37f760={};_0x37f760['error']='Failed\x20to\x20'+_0x1be485(_0x1e0dd4._0x394315,0xc8,_0x1e0dd4._0x5b8025,_0x1e0dd4._0x389238)+_0x1be485(0x133,0x1c2,_0x1e0dd4._0x2358ee,_0x1e0dd4._0x1d342f),_0x27b371[_0x1be485(_0x1e0dd4._0xf18e10,0x136,_0x1e0dd4._0x3546a9,_0x1e0dd4._0x1702f5)](0x2613+-0x1100+0x59*-0x37)[_0x1be485(_0x1e0dd4._0x38c609,_0x1e0dd4._0x4ce18d,0x13c,0x89)](_0x37f760);}}for(const _0x5d9947 of _0x5d61d6){if(_0x2c7415[_0x1be485(0x1a8,_0x1e0dd4._0x3c06a9,_0x1e0dd4._0x12cb02,0x10c)]===_0x2c7415[_0x1be485(_0x1e0dd4._0x2a08d2,0x1b4,0x1c7,_0x1e0dd4._0x21044a)]){_0x1c44aa[_0x1be485(_0x1e0dd4._0xca9cc2,_0x1e0dd4._0x510ada,0x141,0x18b)](_0x1be485(0x1ba,0x142,_0x1e0dd4._0x5e9b13,0x148)+_0x1be485(_0x1e0dd4._0x5be7f9,0x9e,_0x1e0dd4._0x416071,_0x1e0dd4._0x224ad9)+'on',_0x5d86cb);const _0x417827={};return _0x417827[_0x1be485(_0x1e0dd4._0x1eecc8,0x18a,0x126,_0x1e0dd4._0x29d8a5)]=_0x2c7415[_0x1be485(_0x1e0dd4._0x4cccfa,_0x1e0dd4._0x55bf38,_0x1e0dd4._0x573f6e,0x11d)],_0x417827[_0x1be485(_0x1e0dd4._0x2029bc,_0x1e0dd4._0x55497e,0xf4,0x14c)]='Failed\x20to\x20'+_0x4426f1(_0x1e0dd4._0x4e029a,_0x1e0dd4._0x3983bf,0xb3,_0x1e0dd4._0xe1087a)+_0x1be485(0xa4,0x12d,0x158,_0x1e0dd4._0x2074d9),_0x47d703[_0x1be485(_0x1e0dd4._0x57c4c7,_0x1e0dd4._0x154889,0x18a,_0x1e0dd4._0x4eee0b)](-0x2490+-0x2148*0x1+0xa*0x72e)['json'](_0x417827);}else{const _0x8e525e=await getBindingsBySubject(_0x4426f1(0x16a,_0x1e0dd4._0x4ab6ae,0x1e8,_0x1e0dd4._0x4bfb93),_0x5d9947['id']);for(const _0x503e7a of _0x8e525e){if(_0x2c7415[_0x1be485(_0x1e0dd4._0x471a10,_0x1e0dd4._0x313d69,0x165,_0x1e0dd4._0x582119)](_0x4426f1(_0x1e0dd4._0x38f023,0x191,_0x1e0dd4._0x97e95b,0xfe),_0x2c7415[_0x4426f1(0x215,0x197,_0x1e0dd4._0x123827,_0x1e0dd4._0x366438)])){if(_0x503e7a['resource_t'+_0x4426f1(0x1d9,0x1d9,0x260,0x250)]!==_0x2c7415[_0x1be485(_0x1e0dd4._0x3cf5ef,0x118,_0x1e0dd4._0x364579,_0x1e0dd4._0x12e724)]||!_0x503e7a[_0x1be485(_0x1e0dd4._0x4f1429,0xba,_0x1e0dd4._0x50099a,_0x1e0dd4._0x15822c)+'d'])continue;const _0xe32ff9=await getRoleById(_0x503e7a[_0x4426f1(_0x1e0dd4._0x22c833,_0x1e0dd4._0x302e8a,_0x1e0dd4._0x498f28,_0x1e0dd4._0x214a41)]),_0x4c332d=_0xe32ff9?_0xe32ff9['name']:_0x503e7a['role_id'],_0x45735a=_0xe32ff9?_0xe32ff9[_0x1be485(_0x1e0dd4._0x3ec6af,_0x1e0dd4._0x58b3c1,_0x1e0dd4._0x283fe4,0x8e)+'s'][_0x4426f1(0x1e6,0x178,_0x1e0dd4._0x37f56e,0x13b)]:-0x13c1+-0x1d*0xc9+0x2a86,_0x453e44=_0x1be485(_0x1e0dd4._0x15822c,0x96,_0x1e0dd4._0x1303fa,_0x1e0dd4._0x3ec6af)+_0x5d9947['name'],_0x3076f8=_0x456a7a[_0x4426f1(_0x1e0dd4._0x1b5a31,0x153,_0x1e0dd4._0x2a8d24,0x144)](_0x503e7a[_0x4426f1(_0x1e0dd4._0x5c9839,_0x1e0dd4._0x2f48c4,0x12f,0x67)+'d']);(!_0x3076f8||_0x2c7415[_0x1be485(_0x1e0dd4._0x2cbf12,0x194,0x1ac,0x13d)](_0x45735a,_0x3076f8[_0x1be485(_0x1e0dd4._0x3d236b,_0x1e0dd4._0x6d908c,0x18e,0x1d2)+_0x4426f1(0x17b,0xea,0xc0,0x7e)]))&&_0x456a7a[_0x4426f1(0xc8,0xc6,_0x1e0dd4._0x155b10,0x36)](_0x503e7a[_0x4426f1(0xe8,0xce,_0x1e0dd4._0x2c9b52,_0x1e0dd4._0x10207d)+'d'],{'name':_0x503e7a['resource_i'+'d'],'roleName':_0x4c332d,'rolePermCount':_0x45735a,'via':_0x2c7415[_0x1be485(_0x1e0dd4._0x1886aa,0xaa,0xbd,0x49)](_0x3076f8?.[_0x4426f1(0x142,_0x1e0dd4._0x50099a,0x115,0x148)],_0x2c7415[_0x1be485(0x164,_0x1e0dd4._0x2e9be8,0x120,_0x1e0dd4._0x3d5904)])?_0x4426f1(0x173,_0x1e0dd4._0x3cb81e,_0x1e0dd4._0x5c7608,_0x1e0dd4._0x573f6e):_0x453e44});}else{_0x3d12cc['error'](_0x2c7415['oUkeW'],_0x20d18d);const _0x407d85={};_0x407d85[_0x1be485(0x182,0x18a,_0x1e0dd4._0x3b9dd1,_0x1e0dd4._0x2ced64)]=_0x2c7415[_0x4426f1(_0x1e0dd4._0x38f023,0x118,_0x1e0dd4._0x47990c,0x91)],_0x4c0a79[_0x1be485(_0x1e0dd4._0xd4f496,0x136,0xac,_0x1e0dd4._0x2286bb)](-0x584+-0x268e+-0x56*-0x89)[_0x1be485(0x136,0x117,0xad,0xb9)](_0x407d85);}}}}const _0x62515=[..._0x456a7a[_0x1be485(0x13e,_0x1e0dd4._0x13f58f,0xf1,_0x1e0dd4._0x2ee2cb)]()][_0x1be485(0xea,_0x1e0dd4._0x19200b,0xc4,_0x1e0dd4._0x1b8289)](({rolePermCount:_0x3c0cb7,..._0x4343a2})=>_0x4343a2),_0x341c87={};_0x341c87[_0x4426f1(_0x1e0dd4._0x19b90d,0x185,0x13e,_0x1e0dd4._0xb1f600)]=_0x4b6e2c,_0x341c87[_0x1be485(_0x1e0dd4._0x17f1a1,_0x1e0dd4._0x3cb81e,0x138,_0x1e0dd4._0x4a780a)+'ts']=_0x62515,_0x185321[_0x1be485(_0x1e0dd4._0x4cf006,_0x1e0dd4._0x5760e4,_0x1e0dd4._0x1370e4,0x12b)](_0x341c87);}catch(_0xf7ef4f){if(_0x2c7415['oeRKW'](_0x2c7415[_0x4426f1(0x8f,0x10d,_0x1e0dd4._0xf18e10,_0x1e0dd4._0x44215f)],_0x2c7415[_0x4426f1(0x106,0x10d,_0x1e0dd4._0x9318e6,0x155)])){logger[_0x1be485(_0x1e0dd4._0xaedfa0,_0x1e0dd4._0x111a44,_0x1e0dd4._0x1370e4,0xff)](_0x2c7415[_0x1be485(_0x1e0dd4._0x1702f5,_0x1e0dd4._0x18c2ce,_0x1e0dd4._0x366ff1,0xf4)],_0xf7ef4f);const _0x5a8274={};_0x5a8274[_0x4426f1(_0x1e0dd4._0x534cd1,_0x1e0dd4._0x436caf,0x21f,0x1d7)]=_0x2c7415[_0x1be485(_0x1e0dd4._0x2633f4,_0x1e0dd4._0x2ed3ad,0x1b8,_0x1e0dd4._0x371caf)],_0x185321[_0x4426f1(0xbb,0x14a,0x1dc,0xf7)](0x1*-0xc35+-0x2020+0x2e49)[_0x1be485(_0x1e0dd4._0x2e338d,0x117,_0x1e0dd4._0x42fac2,0x121)](_0x5a8274);}else{const _0x2507f7={};return _0x2507f7[_0x4426f1(_0x1e0dd4._0x2aa76a,_0x1e0dd4._0x147362,0x1a5,0x155)]=_0x1be485(0x17f,_0x1e0dd4._0x1bb5a8,0x22a,_0x1e0dd4._0x1c6e7f)+_0x4426f1(0x5a,_0x1e0dd4._0x4399d3,0xc1,0xcb)+_0x4426f1(0x10e,0x147,0x132,_0x1e0dd4._0x4b5596),_0xaef649[_0x1be485(0x122,0x136,_0x1e0dd4._0x1fa5d4,0xa5)](-0x34a*-0x7+-0xd43*0x2+0x510)[_0x1be485(0x99,0x117,0x15c,_0x1e0dd4._0x111a44)](_0x2507f7);}}});export default router;
|
|
1
|
+
(function(_0x52c75c,_0xffa869){const _0x1e0b70={_0x4f07d3:0x400,_0x674f12:0x4e2,_0x1adb04:0x502,_0x58dfd5:0x2f3,_0x3948c0:0x36a,_0xda65a7:0x374,_0x44f82e:0x2dd,_0x4da241:0x2eb,_0x7eeb0a:0x280,_0x1f09b8:0x232,_0x451656:0x426,_0x3ff6a3:0x414,_0x1e38a1:0x3b0,_0x6da51c:0x3db,_0x7a86a7:0x3f2,_0x38d5ec:0x462,_0x58daee:0x3bb,_0x2d7b6d:0x419,_0x467762:0x434,_0x47cc55:0x23a},_0x4f0ac7={_0x100a28:0x167},_0x14130c=_0x52c75c();function _0x4439e4(_0x2949b4,_0x29c2f4,_0xfbd6e9,_0x9f09ad){return _0x43ef(_0x9f09ad-0x253,_0x29c2f4);}function _0xd5ae34(_0x3cfdd2,_0x3d3dec,_0x540825,_0x333286){return _0x43ef(_0x3d3dec-_0x4f0ac7._0x100a28,_0x540825);}while(!![]){try{const _0x2ab945=parseInt(_0x4439e4(0x441,0x3da,_0x1e0b70._0x4f07d3,0x3a8))/(0xf19+-0x1f7c+0x1064)*(parseInt(_0x4439e4(0x4ca,_0x1e0b70._0x674f12,_0x1e0b70._0x1adb04,0x4b2))/(0x8bb*0x2+0x1*-0x8f5+-0x5*0x1b3))+-parseInt(_0xd5ae34(_0x1e0b70._0x58dfd5,0x321,_0x1e0b70._0x3948c0,_0x1e0b70._0xda65a7))/(0x2*-0x110c+-0xb*0x54+0x25b7*0x1)+-parseInt(_0xd5ae34(_0x1e0b70._0x44f82e,_0x1e0b70._0x4da241,0x370,0x2e1))/(-0x1*-0x215a+0xfbb+-0x3111)*(parseInt(_0xd5ae34(_0x1e0b70._0x7eeb0a,0x2c1,0x2b7,_0x1e0b70._0x1f09b8))/(-0xd50+0x2*-0xe9b+0x2a8b*0x1))+-parseInt(_0x4439e4(0x3cc,_0x1e0b70._0x451656,0x485,_0x1e0b70._0x3ff6a3))/(0x15*0x16f+-0x1*0x259+0x14*-0x163)+-parseInt(_0x4439e4(0x4bd,0x456,0x402,0x44c))/(0x23cf+0x772*0x5+0x6*-0xc2b)*(-parseInt(_0xd5ae34(0x2e9,0x358,0x3b5,_0x1e0b70._0x1e38a1))/(-0xa90+-0xf6b*0x1+0x1a03))+parseInt(_0x4439e4(_0x1e0b70._0x6da51c,0x437,0x3ca,0x3ae))/(-0x2635+-0x2*0x64d+0x32d8)*(-parseInt(_0x4439e4(0x400,_0x1e0b70._0x7a86a7,0x4ae,_0x1e0b70._0x38d5ec))/(0x1bf6+0x3b4+-0xb*0x2e0))+-parseInt(_0x4439e4(_0x1e0b70._0x58daee,0x39d,_0x1e0b70._0x2d7b6d,_0x1e0b70._0x467762))/(-0x1*0x24bb+0xac*0x19+0x13fa)*(-parseInt(_0xd5ae34(0x355,0x2cd,0x248,_0x1e0b70._0x47cc55))/(-0x174b*0x1+-0x1c8d+0x171*0x24));if(_0x2ab945===_0xffa869)break;else _0x14130c['push'](_0x14130c['shift']());}catch(_0xbcfcf9){_0x14130c['push'](_0x14130c['shift']());}}}(_0x3aa0,0x2*0x101d1+-0x1b*-0x1958+-0x1a50*0x18));import _0x426edb from'express';import _0x11f1b4 from'multer';function _0x3aa0(){const _0x33afed=['tg9NAw4GzxjYBW','y29KzxiUC2LK','ChjLzMvYzw5Jzq','B3iGl21L','ve55ywy','C2LVBG','Au1PDfO','A2v5swq','rMfPBgvKihrVia','qvD1yKW','rxzAEgW','tg9Nz2vKig91Da','zcbPBG','l2XVz291Da','s3ziy2C','CMLUzYbHDxrOzq','y2vUDgvY','DgLVBIbMywLSzq','C2v0','DMfSDwvZ','ChjVzMLSzq','l3bYB2zPBguVyq','C3vJy2vZC2z1Ba','q0XjigXVz2LUia','ywXS','AvvmAvK','DgfY','CgfZC3DVCMq','l3bYB2zPBgu','ruvqqK4','vNrUqwu','B3bhC0u','uMLuAhu','r2TzquO','zw1HAwW','v0zltxy','C1z4qwW','ALjcAeq','z2v0','C2f2zq','D2ruvMy','qxzHDgfYihvWBa','C3rHy2S','zw1WDa','Agzxvgi','C3rHDhvZ','Chv0','u3rRDwi','tK9SB3q','BwvZC2fNzq','DMLH','nte5mJK3s0rNuxf1','BwTKAxi','CMvTB3zLigf2yq','rM9Ts0u','AuvKq3a','vKHuvgy','C01owuG','nJCXmtG0wfvkq0jg','sw52ywXPzcbMAq','sfPSEva','AxjLza','vKTwD0q','Aw1Hz2uVz2LM','vxnLCM5HBwuGyq','yKvWy1G','tejcuuW','wxntANO','ihjLC29SDxrPBW','v3bnDLC','yxzHDgfYlq','vxnLCIbUB3qGzG','yKH0uwe','zcbVDxq','DMLKzwq','DxnLCG','tM8GzMLSzsb1Ca','BgTPruS','CxzcwMW','BgvUz3rO','DeTTr08','zwrLBNrPywXZ','CMvZAxPL','CMvJDxjZAxzL','DxnLCM5HBwu','uNngEK8','BLbmCeK','yMvNr1a','y01xv3C','zw1HAwXFy29TBq','ntu2mdC1m1nmz3HstG','AgLW','igXVz2LUigf0Da','qwPzu0y','z0jeDve','CM9Szxm','y2n1CNjLzcbKDq','l2nSAs1SB2DPBG','BgvK','z3vSEhy','D2fYBG','CMvZB3vYy2vFAq','reXZv0K','ugrbzMK','rMfPBgvKienmsq','l2XVz2LU','mZK2ndy0wMnsvgzm','y29Kzq','AuXvyxG','z1ntt24','EwPXvfC','y2fUtwfUywDLtq','BxzlCLO','tg9NAw4GC3vJyW','mJfzzNzOvuC','DxbSB2fKigf2yq','twLZC2LUzYbJCG','tu9tv3C','zuTwwM8','EvHkvLy','t0rryNu','zMLSzw5HBwu','wK5cvLy','Dg9YEq','zxjUyw1Lig9Yia','Bg9HzgvK','x3rHC2TZ','Dfzzy1e','zw52AxjVBM1LBG','C2vxtwG','AM5ABfG','B3vUza','EM9bugq','BKHNvwi','lNbUzW','CvHmA0G','mZCWmdeWy29csM1p','A1Drvwu','tw5oveK','C2vYDMvY','rMfPBgvKigXVzW','B2LssMe','r1vdAxC','DwnZAwK','vhLIAuO','zgvZDhjVEq','uvPTu2m','CxvHBgL0Eq','Dw5SAw5R','zw50C19VBL9TEq','CgvYBwLZC2LVBG','AMrrz04','z0v3B0C','Aw5MBW','q1PuD0i','BguGDhLWzs4GtW','qw4GzxjYB3iGBW','DgvHBxm','BMzV','DvnIyKW','wvrmug0','yNvMzMvY','ExbL','BM93','BgvZigzVCIbdta','s2TNDw8','zsbHy2nLC3mGAq','uNPgs2e','BeHlv3a','zMLSzq','yw5KifDLyLaGyq','DuX1Dfq','CM9SzvbLCM1dBW','DhjPBq','B0T1vxq','z2v0ihbYB2zPBa','z0X6vfq','Aw1Hz2uVCg5N','qxbMDgW','tun1D0K','CwDYz2C','z1HPrxC','sLLltxC','DezLu3K','Dg9gAwXL','y292zxi','CvDUEwS','qxv0AgvUDgLJyq','DcbIzsbLBxb0Eq','BIbMywLSzwqGzG','yxzHDgfYvxjS','BwfW','weLswgS','Aw1Hz2uVD2vICa','Dw50','yxzHDgfY','y3jLyxrLihnLCW','C3nOx3vZzxjUyq','BfzJDvu','uhjVzMLSzsb1Ca','s0vVrNy','DxnLCKLK','CLHOwvm','CMvZB3vYy2vFDa','ufn4ANe','igLUzM8','sw52ywXPzcb1CW','suLLrMK','BwLTzxr5Cgu','y2nLC3m','zw1IzxjZ','B3zLza','ExLbENq','ugvYBwLZC2LVBG','y1rTr1i','wMTjEKS','mJzuqw5qwgy','Cg5N','uvvivMu','CMuGywXSB3DLza','BMfTzq','zxDKD0y','DgvHBq','DgfYCYbKAxjLyW','zxnZzNvS','vxnLCIbSB2DNzq','yxbPs2v5','rLrAs1a','tMfTzsbJyw5UBW','DgvHBtOG','C2vZC2LVBG','z1z0DwG','rMrMwKS','l21L','vgnpy3O','CgrHDgvZihbYBW','DMfkwuy','BgX5','z2v0igfJy2vZCW','DgvHBxm6BwfUyq','ywDL','AM9PBG','tg9NB3v0igzHAq','zgvSzxrL','qxzHDgfYihjLBq','AfLptxO','BwvTB3j5u3rVCG','DMf0yxi','ANnVBG','tM8GDMfSAwqGDq','Dgv4Ew4','y2XLyxjdB29RAq','r0HpCgG','rxn1BLu','ruvysvnu','DhDTrMu','sM9QBva','mte5nZfsr3HvDNe','v1HnshG','vgDXCLu','z2vFBwvTyMvYCW','Duz0Be0','nuXvwMfXvW','ntrxserAB1a','shPHqMu','rfP2u3O','s2z2Bwm','BNrPy2f0Aw9U','yM9KEq','sgDquvC','ELHLru4','zgLYzwn0','CwThAg8','CuvLyKu','mtj4s3L0yKq','zw1HAwXFBwvUDa','l2f2yxrHCNmV','CM9Szu5HBwu','AvPZD2O','DxbKyxrLihbYBW','CMvZB2X2zsbYBW','B2fKzwq','CM9Szv9Pza','tg9NAw4GzMfPBa','qvDev28','BMqGCgfZC3DVCG','BMX5iePqruCSia','vvfSwgC','yufnwNO','y3jLyxrLigf2yq','r3P0tLy','A2v5','q1nAz1G','u0vYq1O','zgvZDhjVEsbZzq','Cvj0qxq','zxjYB3i','u0vAEMe','ue5hlcbhsuySia','zcbHCMuGCMvXDq','C3nPB24','yxzHDgfYCW','A3bpwu8','AgP4qwy','nJi5mZq4zvL0zLbI','Cg9ZDa','swXcseG'];_0x3aa0=function(){return _0x33afed;};return _0x3aa0();}function _0xb2c31e(_0x1ea464,_0x2c1724,_0x19f7c6,_0x371f2d){const _0xb2416b={_0x4019ad:0x1b};return _0x43ef(_0x2c1724-_0xb2416b._0x4019ad,_0x371f2d);}function _0x43ef(_0x4f158e,_0xd80229){_0x4f158e=_0x4f158e-(0x3d*0x6a+0xf*0x195+-0x2fb9*0x1);const _0x40b3d6=_0x3aa0();let _0x3b35c9=_0x40b3d6[_0x4f158e];if(_0x43ef['uTIKBX']===undefined){var _0x38a357=function(_0x16f432){const _0x31875f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x427c7f='',_0x430e63='';for(let _0x425030=0xb8*0x20+0x269f+0xc53*-0x5,_0x383a1e,_0x3a7eba,_0xf0bd61=0x1d6b+-0x21*-0x49+-0x26d4;_0x3a7eba=_0x16f432['charAt'](_0xf0bd61++);~_0x3a7eba&&(_0x383a1e=_0x425030%(-0x91a+-0x1*-0x241e+-0x2*0xd80)?_0x383a1e*(0x2ad+-0x20a5+-0x8*-0x3c7)+_0x3a7eba:_0x3a7eba,_0x425030++%(0x1*-0x2645+-0x1ba5+0x6*0xafd))?_0x427c7f+=String['fromCharCode'](0x2224+-0x18d8+-0x84d&_0x383a1e>>(-(0x94*-0x5+0x1e96+0x8*-0x376)*_0x425030&-0x7a*-0x44+0x51*0x57+-0x3be9)):-0x189*-0x17+0x2*-0x1279+0x1a3){_0x3a7eba=_0x31875f['indexOf'](_0x3a7eba);}for(let _0x1c9b51=0xc06+-0x1*0xcf7+0xf1,_0x2a2e96=_0x427c7f['length'];_0x1c9b51<_0x2a2e96;_0x1c9b51++){_0x430e63+='%'+('00'+_0x427c7f['charCodeAt'](_0x1c9b51)['toString'](0x1*-0x1d99+0x1457*-0x1+0x280*0x14))['slice'](-(-0x1901+-0xe93+-0x2*-0x13cb));}return decodeURIComponent(_0x430e63);};_0x43ef['HEtByI']=_0x38a357,_0x43ef['GiqCWy']={},_0x43ef['uTIKBX']=!![];}const _0x544891=_0x40b3d6[0xe6a+-0x13*0x77+-0x595*0x1],_0xf346d3=_0x4f158e+_0x544891,_0x2d554d=_0x43ef['GiqCWy'][_0xf346d3];return!_0x2d554d?(_0x3b35c9=_0x43ef['HEtByI'](_0x3b35c9),_0x43ef['GiqCWy'][_0xf346d3]=_0x3b35c9):_0x3b35c9=_0x2d554d,_0x3b35c9;}import _0x3e9bbd from'sharp';import _0x50fcd7 from'path';import{promises as _0x214eb8}from'fs';import{validatePassword,updateUser,findUserById}from'../lib/users.js';import{createApiKey}from'../lib/apiKeys.js';import{logger}from'../lib/logger.js';import{requireAuth}from'../middleware/requireAuth.js';import{DATA_DIR}from'../lib/data-dir.js';import{hasPermission,resolveUserRoleNames,resolveAllUserPermissions}from'../lib/permission-resolver.js';import{getTeamsByUserId}from'../lib/teams.js';import{getBindingsBySubject}from'../lib/bindings.js';import{getRoleById}from'../lib/role-definitions.js';const AVATARS_DIR=_0x50fcd7[_0x4c161b(0x1b1,0x12f,0x185,0x20e)](DATA_DIR,_0xb2c31e(0x1f7,0x19c,0x1d9,0x20d)),AVATAR_SIZE=0x1*-0x155d+0x1f76+-0x919,_0x48168e={};function _0x4c161b(_0x2278bc,_0x1788a6,_0x5b4898,_0x4d23ed){const _0x5f3a20={_0x2c5f6f:0x40};return _0x43ef(_0x5b4898-_0x5f3a20._0x2c5f6f,_0x4d23ed);}_0x48168e['fileSize']=(0x2*0x1105+0x30a*-0x5+-0x3a*0x53)*(0xdd5*-0x1+-0x130d*-0x2+-0x1*0x1445)*(0xc84+-0x6a*-0x7+-0xb6a*0x1);const avatarUpload=_0x11f1b4({'storage':_0x11f1b4[_0x4c161b(0x1d3,0x1df,0x18a,0x195)+_0x4c161b(0x10d,0x18a,0x184,0x189)](),'limits':_0x48168e,'fileFilter':(_0x22aa4a,_0x363ecd,_0x3a7cd1)=>{const _0x5b59ba={_0x459cd3:0x5e7,_0x48f44e:0x566,_0x4a6a63:0x690,_0x5b9e4f:0x7c,_0x3fc5d7:0x5a,_0x2a343a:0x4eb,_0x2b5acf:0x493,_0x17df8c:0x72,_0x1d06ab:0x5c,_0x2114f7:0x66,_0x2efd0d:0x648,_0x365b60:0x5d3,_0x195897:0x5e1,_0x2ac770:0x58e,_0x25ca0b:0x89,_0x4c33e9:0xd1,_0x319a78:0x579,_0x3a7494:0x606,_0x1b0a27:0x13b,_0x2ddd41:0xb4,_0x242fbc:0x125},_0x43c7c4={_0x1c9d05:0x12a},_0x26aedc={_0x319da3:0x1a7,_0x2c0aca:0x1a1,_0x14e8b9:0x36f};function _0x29dfce(_0x24e01e,_0xbe4597,_0x1644cc,_0xe016e5){return _0x4c161b(_0x24e01e-_0x26aedc._0x319da3,_0xbe4597-_0x26aedc._0x2c0aca,_0xbe4597-_0x26aedc._0x14e8b9,_0x1644cc);}const _0x36b46f={'oKuUt':_0x29dfce(0x65b,_0x5b59ba._0x459cd3,0x60f,0x56d),'GUCiw':_0x29dfce(0x64d,0x5f7,_0x5b59ba._0x48f44e,_0x5b59ba._0x4a6a63),'aPQpA':function(_0xd7a106,_0x4277ac,_0x1fc390){return _0xd7a106(_0x4277ac,_0x1fc390);},'nPLpI':function(_0x2b1e1b,_0x4c73f3){return _0x2b1e1b(_0x4c73f3);},'TgqrU':_0x2bdd83(-0xde,-_0x5b59ba._0x5b9e4f,-_0x5b59ba._0x3fc5d7,-0xd5)+'le\x20type.\x20O'+_0x29dfce(0x56a,0x521,_0x5b59ba._0x2a343a,_0x5b59ba._0x2b5acf)+'PNG,\x20GIF,\x20'+_0x2bdd83(-_0x5b59ba._0x17df8c,-_0x5b59ba._0x1d06ab,-0xb4,-_0x5b59ba._0x2114f7)+_0x29dfce(_0x5b59ba._0x2efd0d,0x611,0x696,_0x5b59ba._0x365b60)+'.'};function _0x2bdd83(_0xaa2788,_0x18df41,_0xdd67ee,_0x219ed1){return _0xb2c31e(_0xaa2788-_0x43c7c4._0x1c9d05,_0x219ed1- -0x2b2,_0xdd67ee-0x62,_0xaa2788);}const _0x33de5d=['image/jpeg',_0x36b46f[_0x29dfce(0x65c,0x5e4,_0x5b59ba._0x195897,_0x5b59ba._0x2ac770)],_0x2bdd83(-_0x5b59ba._0x25ca0b,-0x97,-0x44,-_0x5b59ba._0x4c33e9),_0x36b46f[_0x29dfce(0x582,0x5c4,0x639,_0x5b59ba._0x319a78)]];_0x33de5d['includes'](_0x363ecd[_0x29dfce(0x5fc,_0x5b59ba._0x3a7494,0x69a,0x5cf)])?_0x36b46f['aPQpA'](_0x3a7cd1,null,!![]):_0x36b46f[_0x2bdd83(-0x95,-_0x5b59ba._0x1b0a27,-_0x5b59ba._0x2ddd41,-0xba)](_0x3a7cd1,new Error(_0x36b46f[_0x2bdd83(-0x116,-0x1c2,-_0x5b59ba._0x242fbc,-0x140)]));}});async function ensureAvatarsDir(){const _0x471578={_0x5446c7:0x1ba,_0x43994b:0x1cb,_0x20d0c3:0xc1,_0x379ad5:0x16f,_0x5cf7d3:0x119,_0x23630d:0xbb,_0x2f5a75:0x207,_0xf6af20:0x1b2,_0x24d3a4:0x19a,_0x7f60b:0x117,_0x26e36e:0xb3,_0x1c7fbf:0x13a,_0x18a69f:0x170,_0x6bf3e4:0x148,_0x5d3aa8:0x1ce,_0x49d720:0x168,_0x55968c:0x7d,_0x3dd79a:0x90,_0x394601:0x20f,_0x232f3c:0xa2,_0x34080f:0xb9,_0x420aa5:0x6d,_0x2d05a7:0x15c,_0x20adc0:0x57,_0x39ca51:0x5c,_0x51109f:0x138,_0x51a457:0x153,_0x3e8d59:0xc3,_0xa3f8ee:0x150,_0x3cebee:0x46,_0x4d7d8b:0x139,_0x297654:0x1a5,_0x215eee:0x116,_0x538d18:0x144,_0x56bf4b:0xc6,_0x4c5620:0x157,_0x1f51cb:0x161,_0xfc72c8:0x206,_0x1b2606:0x11c,_0x577a84:0x1b4,_0x1d3797:0x17c,_0x3ec432:0x83,_0x27d6be:0xe1,_0x3d0988:0x155,_0x51d611:0xf0},_0x463f84={_0x531f90:0xd6,_0x47b29b:0x2ee,_0x57cf2f:0x1e9},_0x41e3a4={_0x283182:0x18c},_0x45bab9={};function _0x467232(_0x107e1b,_0x315b79,_0x4b1f6a,_0xa84291){return _0x4c161b(_0x107e1b-_0x41e3a4._0x283182,_0x315b79-0x5a,_0x4b1f6a- -0xe2,_0xa84291);}_0x45bab9['dPsVj']=_0x467232(0x1cd,_0x471578._0x5446c7,_0x471578._0x5446c7,_0x471578._0x43994b)+'\x20resolutio'+_0x5d75ab(-0x39,-0x8f,-_0x471578._0x20d0c3,-0x117)+_0x5d75ab(-_0x471578._0x379ad5,-0x149,-_0x471578._0x5cf7d3,-_0x471578._0x23630d),_0x45bab9['yXJVV']=_0x467232(_0x471578._0x2f5a75,_0x471578._0xf6af20,0x18c,_0x471578._0x24d3a4);function _0x5d75ab(_0x54df83,_0x41170c,_0x548633,_0x1fad6d){return _0xb2c31e(_0x54df83-_0x463f84._0x531f90,_0x41170c- -_0x463f84._0x47b29b,_0x548633-_0x463f84._0x57cf2f,_0x54df83);}_0x45bab9[_0x467232(_0x471578._0x7f60b,_0x471578._0x26e36e,_0x471578._0x1c7fbf,_0x471578._0x18a69f)]=_0x467232(_0x471578._0x6bf3e4,_0x471578._0x5d3aa8,0x16a,_0x471578._0x49d720),_0x45bab9[_0x5d75ab(-0xdd,-_0x471578._0x55968c,-0xb4,-_0x471578._0x3dd79a)]=function(_0xbc870f,_0x13144f){return _0xbc870f!==_0x13144f;},_0x45bab9['twmFe']=_0x5d75ab(-_0x471578._0x394601,-0x181,-0x218,-0xfb),_0x45bab9['hfWTb']='Failed\x20to\x20'+_0x467232(_0x471578._0x232f3c,0x84,0xd3,_0x471578._0x34080f)+_0x5d75ab(-0x5c,-_0x471578._0x420aa5,-0xa6,-0xf1)+_0x5d75ab(-0xd8,-0xd1,-_0x471578._0x2d05a7,-_0x471578._0x20adc0);const _0x3d49df=_0x45bab9;try{if(_0x3d49df[_0x5d75ab(-_0x471578._0x39ca51,-0xd5,-0x143,-0x152)]!==_0x3d49df['RsFzO']){const _0x247efd={};_0x247efd[_0x467232(0x130,0x1bc,_0x471578._0x51109f,0x151)]=!![],await _0x214eb8[_0x5d75ab(-_0x471578._0x51a457,-0x118,-_0x471578._0x3e8d59,-_0x471578._0xa3f8ee)](AVATARS_DIR,_0x247efd);}else{const _0x3477ca={};_0x3477ca[_0x467232(0x165,_0x471578._0x3cebee,0xda,_0x471578._0x4d7d8b)]=_0x35beab[_0x467232(0x15c,_0x471578._0x297654,_0x471578._0x215eee,_0x471578._0x538d18)],_0x3477ca['stack']=_0x2479dd[_0x5d75ab(-_0x471578._0x56bf4b,-0x122,-_0x471578._0x51109f,-_0x471578._0x34080f)],_0x3b36c7[_0x5d75ab(-0x126,-_0x471578._0x4c5620,-_0x471578._0x1f51cb,-0x15d)](_0x3d49df['dPsVj'],_0x3477ca);}}catch(_0x4c8141){_0x3d49df[_0x467232(_0x471578._0xfc72c8,_0x471578._0x1b2606,_0x471578._0x577a84,_0x471578._0x1d3797)](_0x4c8141[_0x5d75ab(-_0x471578._0x3ec432,-_0x471578._0x27d6be,-0xf7,-0x16e)],_0x3d49df[_0x5d75ab(-0x146,-0x180,-0x149,-_0x471578._0x3d0988)])&&logger['error'](_0x3d49df[_0x5d75ab(-0x15a,-0x120,-_0x471578._0x4c5620,-_0x471578._0x51d611)],_0x4c8141);}}const router=_0x426edb['Router']();router[_0xb2c31e(0x1cd,0x1a0,0x11f,0x113)](_0x4c161b(0x1bd,0x238,0x230,0x2c5),async(_0x595fad,_0x570e23)=>{const _0x3efaf7={_0x2092fc:0x5f5,_0x583985:0x589,_0x158457:0x527,_0x434dd0:0x4c8,_0x598b9d:0x4b4,_0x1c4f20:0xc2,_0x51e1f9:0x5a,_0x1003e1:0x11,_0x3322ba:0x5b,_0x32ed17:0x2c,_0x1400bd:0x558,_0x5baecd:0x4e8,_0x16489e:0x1a,_0x2b2c8e:0x18,_0x24e657:0x93,_0x3ae376:0xc3,_0x2f46df:0xbb,_0x4daf95:0x85,_0x464750:0xdf,_0x398f71:0x525,_0x43a80a:0x92,_0x18f06b:0xf,_0x4b521f:0x4,_0x32b075:0x5d1,_0x12c429:0x96,_0x4036c6:0x50c,_0x581b79:0x599,_0x15d58e:0x47c,_0x186133:0x4c9,_0xb87d44:0x480,_0x1b4d5a:0x10,_0x198aea:0x28,_0x4af0a2:0x50e,_0x36f8f8:0xa2,_0x135db7:0x83,_0x54a80f:0x7a,_0x4c849c:0x447,_0x500934:0x49d,_0x15e477:0x483,_0x43493c:0x42b,_0x3c95d6:0xb,_0x1dce20:0x59,_0x399779:0x16,_0x6e7899:0xf,_0x2e1835:0x69,_0x5f5011:0x90,_0x4b6fc2:0xfb,_0x2076dc:0xc1,_0x21655f:0x46d,_0x9c3d32:0x423,_0x10142c:0x24,_0x1a6a3a:0x5a,_0x548be9:0x453,_0x4591ab:0x49,_0x3b8dd5:0x82,_0x530aaf:0x9c,_0x532314:0x6a,_0x110360:0x51,_0x376883:0x552,_0x1ec243:0x524,_0x3d39e3:0x5a9,_0x200886:0x62,_0x5c799a:0x58e,_0x495a5f:0xa0,_0xaedad:0xc0,_0x3eecc6:0x29,_0x572980:0x27,_0x3825b4:0x24,_0x4a8a3f:0x5b,_0x18ed87:0xba,_0x27c386:0x5f0,_0x1da30c:0x4ff,_0xada8e8:0x5de,_0x41a122:0x603,_0xb23a17:0x4ed,_0x4fa024:0x619,_0xbb454a:0x4c,_0x51d04c:0x48,_0x861da5:0x1b,_0x16ee70:0x4f5,_0x187381:0x4fc,_0x1bd0e5:0x4c,_0x26d10f:0x37,_0x4f43c6:0x65,_0x57e68a:0x4e6,_0x3e942f:0xe1,_0x112949:0xb3,_0x93611f:0x455,_0x17cbe6:0xb8},_0xc69673={_0x116bef:0x1cc,_0x58c5de:0xb8,_0x4c9d85:0x1ce,_0x5312e2:0x147,_0x30f2f1:0xe9,_0x5a8d87:0xfc,_0x33028a:0x159,_0x5d8c0e:0x1a5,_0x62ee87:0x180,_0x169ef8:0x10d,_0x101a91:0x1c1,_0x42290a:0x130,_0x4b4179:0x74,_0x25e172:0x198,_0xeede5d:0x1ab,_0x37bb58:0x117,_0x52884d:0x10b,_0x107b58:0x15a,_0x477684:0x1f3,_0x1f9563:0x173,_0x9b0c25:0x87,_0x34690f:0x48,_0x1149ad:0x105,_0x2f21d6:0x9f,_0x2e599e:0x1a9,_0x3ee914:0x88,_0x2b295b:0x8e,_0x1592a6:0x56,_0x2beec2:0xea,_0x41211a:0xd6,_0x457cf5:0x168,_0x2d8f35:0xe2,_0x2d6fa7:0x1a7,_0x54bddc:0x99,_0x4fb2ca:0xa,_0xb46e7b:0x72,_0x3eff6c:0x93,_0x53cf90:0x4f,_0x57b301:0x177,_0x16c4a1:0x11d,_0x3044e9:0x1bc,_0x38607:0x228},_0x4add23={_0xbbb3d0:0x306,_0x2c6fcb:0x1eb},_0x250c2f={_0x270cd7:0x21f,_0x31189b:0x9b},_0x1b8c96={'qWnyk':'Failed\x20to\x20'+'save\x20sessi'+'on','AWDWo':_0x353549(_0x3efaf7._0x2092fc,_0x3efaf7._0x583985,_0x3efaf7._0x158457,0x555)+_0x353549(_0x3efaf7._0x434dd0,_0x3efaf7._0x598b9d,0x4ee,0x4a5),'Kkguo':function(_0x364b2a,_0x5c9c32){return _0x364b2a||_0x5c9c32;},'QdnzJ':function(_0x477b9a,_0x1ebb71){return _0x477b9a!==_0x1ebb71;},'zXeEN':_0x3a7c6d(-0x6a,-_0x3efaf7._0x1c4f20,-_0x3efaf7._0x51e1f9,_0x3efaf7._0x1003e1),'cTmGR':_0x3a7c6d(-0xd,_0x3efaf7._0x3322ba,-0x9,-0x5e)+_0x3a7c6d(0x12,0x4f,-_0x3efaf7._0x32ed17,0x5),'aAMZz':_0x353549(_0x3efaf7._0x1400bd,_0x3efaf7._0x5baecd,0x4d8,0x4a4)+_0x3a7c6d(-_0x3efaf7._0x16489e,-_0x3efaf7._0x2b2c8e,-_0x3efaf7._0x24e657,-0x75)+_0x3a7c6d(-_0x3efaf7._0x3ae376,-_0x3efaf7._0x2f46df,-_0x3efaf7._0x4daf95,-_0x3efaf7._0x464750)+_0x353549(0x52f,0x4e5,0x4ce,_0x3efaf7._0x398f71),'GztNV':function(_0x3697f9,_0x527112,_0xe6da3e){return _0x3697f9(_0x527112,_0xe6da3e);},'PdAfi':_0x3a7c6d(-0x31,_0x3efaf7._0x43a80a,_0x3efaf7._0x18f06b,-_0x3efaf7._0x4b521f)+'in\x20attempt','kpOYO':_0x353549(0x576,0x563,_0x3efaf7._0x32b075,0x578)+_0x3a7c6d(-_0x3efaf7._0x12c429,-0x13,-0x6c,-0x8f)+'d','vSaXy':_0x3a7c6d(0x11,-0xb9,-0x7d,-0x26)+'r','UFKJN':_0x353549(_0x3efaf7._0x4036c6,0x544,0x54d,0x4f7)+_0x353549(_0x3efaf7._0x581b79,0x508,_0x3efaf7._0x15d58e,_0x3efaf7._0x186133)+'ring\x20authe'+_0x353549(0x436,_0x3efaf7._0xb87d44,0x433,0x43e)};function _0x3a7c6d(_0x757b00,_0x1d8e85,_0x486396,_0x2ee334){return _0xb2c31e(_0x757b00-0x182,_0x486396- -_0x250c2f._0x270cd7,_0x486396-_0x250c2f._0x31189b,_0x2ee334);}const {username:_0xc20d64,password:_0x55144b}=_0x595fad['body'];if(_0x1b8c96[_0x3a7c6d(_0x3efaf7._0x1003e1,-_0x3efaf7._0x1b4d5a,_0x3efaf7._0x198aea,-0x46)](!_0xc20d64,!_0x55144b)){if(_0x1b8c96['QdnzJ'](_0x1b8c96[_0x353549(0x43d,0x483,0x4ef,_0x3efaf7._0x4af0a2)],_0x1b8c96[_0x3a7c6d(-0x65,-0x65,-_0x3efaf7._0x36f8f8,-0x95)]))_0x4ac78c[_0x3a7c6d(_0x3efaf7._0x135db7,-0x17,0x69,_0x3efaf7._0x54a80f)][_0x3a7c6d(0x8d,0x81,0x5f,0xb3)]=_0xf73859['name'];else{const _0x2bae01={};return _0x2bae01[_0x353549(_0x3efaf7._0x4c849c,_0x3efaf7._0x500934,_0x3efaf7._0x15e477,_0x3efaf7._0x43493c)]=_0x1b8c96[_0x3a7c6d(0x5c,_0x3efaf7._0x3c95d6,_0x3efaf7._0x1dce20,_0x3efaf7._0x399779)],_0x2bae01['message']=_0x1b8c96[_0x3a7c6d(-_0x3efaf7._0x6e7899,-_0x3efaf7._0x2e1835,-_0x3efaf7._0x5f5011,-_0x3efaf7._0x4b6fc2)],_0x570e23[_0x3a7c6d(-0xcc,-_0x3efaf7._0x2076dc,-0x50,0x42)](0x1f17+-0x89a*0x2+-0xc53)[_0x353549(0x40f,_0x3efaf7._0x21655f,_0x3efaf7._0x9c3d32,0x4ab)](_0x2bae01);}}function _0x353549(_0x4df52c,_0x4d2b59,_0x19ed24,_0x49d7e6){return _0xb2c31e(_0x4df52c-0x1a7,_0x4d2b59-_0x4add23._0xbbb3d0,_0x19ed24-_0x4add23._0x2c6fcb,_0x49d7e6);}try{const _0xd4de3a=await _0x1b8c96[_0x3a7c6d(-_0x3efaf7._0x10142c,-0x7f,-0x8e,-0x64)](validatePassword,_0xc20d64,_0x55144b);if(!_0xd4de3a){const _0x964771={};_0x964771[_0x3a7c6d(0x3d,-0xa1,-0x29,-0x8)]=_0xc20d64,logger['warn'](_0x1b8c96[_0x3a7c6d(-0x45,0x79,-0x16,-_0x3efaf7._0x1a6a3a)],_0x964771);const _0x1584ee={};return _0x1584ee[_0x353549(_0x3efaf7._0x548be9,0x49d,0x4ec,0x51e)]=_0x1b8c96[_0x3a7c6d(0x7,-_0x3efaf7._0x4591ab,-_0x3efaf7._0x3b8dd5,-0x7f)],_0x1584ee[_0x3a7c6d(-0x1d,-0x59,-0x4c,-_0x3efaf7._0x530aaf)]=_0x3a7c6d(_0x3efaf7._0x532314,0x38,_0x3efaf7._0x110360,0x16)+_0x353549(_0x3efaf7._0x376883,_0x3efaf7._0x1ec243,0x4e5,_0x3efaf7._0x3d39e3)+_0x3a7c6d(-0xef,-0x13,-_0x3efaf7._0x200886,-0xd9),_0x570e23['status'](-0x1371+-0x626+0x1b28)['json'](_0x1584ee);}_0x595fad[_0x353549(0x537,_0x3efaf7._0x5c799a,0x617,0x587)]['userId']=_0xd4de3a['id'],_0x595fad[_0x3a7c6d(0x12,_0x3efaf7._0x495a5f,0x69,0xa6)]['username']=_0xd4de3a[_0x3a7c6d(0x3a,-_0x3efaf7._0xaedad,-_0x3efaf7._0x3eecc6,-_0x3efaf7._0x572980)],_0x595fad['session'][_0x3a7c6d(-_0x3efaf7._0x198aea,-_0x3efaf7._0x3825b4,-_0x3efaf7._0x4a8a3f,-_0x3efaf7._0x18ed87)]=_0xd4de3a['email'],_0x595fad[_0x353549(0x5d3,0x58e,_0x3efaf7._0x27c386,_0x3efaf7._0x1da30c)][_0x353549(_0x3efaf7._0xada8e8,0x584,_0x3efaf7._0x41a122,0x59e)]=_0xd4de3a[_0x353549(0x4fc,0x584,0x50b,_0x3efaf7._0xb23a17)],_0x595fad[_0x353549(0x508,_0x3efaf7._0x5c799a,_0x3efaf7._0x4fa024,0x585)][_0x3a7c6d(-_0x3efaf7._0xbb454a,-0x2c,_0x3efaf7._0x51d04c,_0x3efaf7._0x861da5)+'me']=_0xd4de3a['ssh_userna'+'me'],_0x595fad[_0x353549(_0x3efaf7._0x16ee70,0x58e,_0x3efaf7._0x187381,0x595)][_0x3a7c6d(-_0x3efaf7._0x1bd0e5,_0x3efaf7._0x26d10f,-0x56,-_0x3efaf7._0x4f43c6)](_0x59f24d=>{const _0x3602a0={_0x3b19b1:0x1e0,_0x19a859:0x610},_0x485598={_0x511fc7:0xbb};if(_0x59f24d){logger[_0xad28ca(-0x155,-0x101,-_0xc69673._0x116bef,-0x173)](_0x1b8c96[_0x40b697(-_0xc69673._0x58c5de,-0x49,-0x83,-0x7e)],_0x59f24d);const _0x1a3836={};return _0x1a3836[_0xad28ca(-_0xc69673._0x4c9d85,-_0xc69673._0x5312e2,-_0xc69673._0x30f2f1,-0x173)]=_0xad28ca(-_0xc69673._0x5a8d87,-_0xc69673._0x33028a,-_0xc69673._0x5d8c0e,-_0xc69673._0x62ee87)+'ed',_0x1a3836[_0xad28ca(-0x10f,-0xa5,-0x12a,-0x137)]=_0x40b697(-_0xc69673._0x169ef8,-_0xc69673._0x101a91,-0xdf,-_0xc69673._0x42290a)+_0x40b697(-0x50,-0x40,-0x107,-_0xc69673._0x4b4179)+_0x40b697(-0xb9,-_0xc69673._0x25e172,-_0xc69673._0xeede5d,-0x133),_0x570e23[_0x40b697(-0x8c,-_0xc69673._0x37bb58,-0x133,-_0xc69673._0x52884d)](-0x162f+-0x755+0x1f78)[_0x40b697(-0x1ec,-_0xc69673._0x107b58,-_0xc69673._0x477684,-_0xc69673._0x1f9563)](_0x1a3836);}const _0x443cb2={};_0x443cb2[_0xad28ca(-_0xc69673._0x9b0c25,-_0xc69673._0x34690f,-_0xc69673._0x1149ad,-_0xc69673._0x2f21d6)]=_0xd4de3a['id'],_0x443cb2[_0xad28ca(-0x125,-_0xc69673._0x2e599e,-0x103,-0x114)]=_0xd4de3a[_0x40b697(-_0xc69673._0x3ee914,-_0xc69673._0x2b295b,-_0xc69673._0x1592a6,-0xe4)];function _0x40b697(_0x3de102,_0x1b2c1c,_0x20d046,_0x42c915){return _0x3a7c6d(_0x3de102-0x1ce,_0x1b2c1c-0x62,_0x42c915- -_0x485598._0x511fc7,_0x20d046);}logger['info'](_0x1b8c96[_0x40b697(-_0xc69673._0x2beec2,-_0xc69673._0x41211a,-0x17b,-0x14f)],_0x443cb2);const _0x2b8e12={};_0x2b8e12['id']=_0xd4de3a['id'];function _0xad28ca(_0x49de19,_0x58e7b2,_0x4b5ec6,_0x2ed0c7){return _0x353549(_0x49de19-_0x3602a0._0x3b19b1,_0x2ed0c7- -_0x3602a0._0x19a859,_0x4b5ec6-0x0,_0x4b5ec6);}_0x2b8e12[_0x40b697(-_0xc69673._0x41211a,-0x85,-_0xc69673._0x457cf5,-0xe4)]=_0xd4de3a['username'],_0x2b8e12['email']=_0xd4de3a[_0x40b697(-_0xc69673._0x2d8f35,-0x12f,-_0xc69673._0x2d6fa7,-0x116)],_0x2b8e12[_0xad28ca(-_0xc69673._0x54bddc,-0x76,-0x42,-0x8c)]=_0xd4de3a[_0x40b697(_0xc69673._0x4fb2ca,-_0xc69673._0xb46e7b,-_0xc69673._0x3eff6c,-0x5c)],_0x2b8e12['ssh_userna'+'me']=_0xd4de3a[_0xad28ca(-0x104,-0x50,-_0xc69673._0x53cf90,-0xa3)+'me'];const _0x435700={};_0x435700[_0xad28ca(-0x196,-0x1a2,-_0xc69673._0x57b301,-_0xc69673._0x16c4a1)]=_0x2b8e12,_0x570e23[_0xad28ca(-0x139,-_0xc69673._0x3044e9,-_0xc69673._0x38607,-0x1a3)](_0x435700);});}catch(_0x6ed787){logger[_0x353549(0x4ce,_0x3efaf7._0x500934,0x4a7,_0x3efaf7._0x57e68a)](_0x1b8c96['vSaXy'],_0x6ed787);const _0x2bb2be={};_0x2bb2be[_0x3a7c6d(-0xc3,-_0x3efaf7._0x3e942f,-0x88,-_0x3efaf7._0x112949)]='Login\x20fail'+'ed',_0x2bb2be[_0x3a7c6d(-0x18,0x21,-_0x3efaf7._0x1bd0e5,-0x2e)]=_0x1b8c96['UFKJN'],_0x570e23[_0x353549(_0x3efaf7._0x93611f,0x4d5,0x54c,0x4bf)](0xe9e*-0x1+0x2*0xab6+-0x4da)[_0x3a7c6d(-0x123,-0xef,-_0x3efaf7._0x17cbe6,-0x62)](_0x2bb2be);}}),router[_0xb2c31e(0x139,0x1a0,0x143,0x1fa)](_0x4c161b(0x1fe,0x1f1,0x1d4,0x16e),(_0x22df79,_0x2e4822)=>{const _0x2928d3={_0x123402:0xac,_0x1d893c:0x5b,_0x4885ad:0x86,_0x58db34:0xdd,_0x25881b:0x85,_0x1d10d5:0x117,_0x844f96:0xde,_0x5c16b8:0xec,_0x427019:0xd1,_0x4b1949:0xc9,_0x273cea:0x4,_0x1a14e5:0xc6,_0x6eeb07:0x81,_0x5cfba3:0xc3,_0x1bccf1:0xd6,_0x394104:0xf4,_0x138d36:0x63,_0x21d379:0x1cf,_0x22ceec:0x1a3,_0xddcdfa:0x71,_0x5441f2:0x1c,_0x47d0d1:0x39,_0x325aa8:0x77,_0x56b0fe:0x1c,_0x357281:0x11c,_0x446ded:0x1f0,_0x314bba:0xed,_0x51aed3:0x124,_0x35f71f:0x17f,_0x316c8a:0x125,_0x37c3d5:0xc6,_0x4cbd6b:0x24,_0x2daa61:0x3b},_0x568758={_0x118a46:0x71,_0x458659:0x98,_0x4fc2cf:0x3,_0x1cda1c:0x9f,_0x19d232:0x1f,_0xc1204f:0x60,_0x51399b:0x2,_0x51032c:0x37,_0x56c873:0x3d,_0x1fbb37:0x103,_0x2666c8:0xb,_0x15f779:0x94,_0x142fe3:0x39,_0x1f1a10:0x4d,_0x4971c7:0x116,_0xdf9a65:0xd5,_0x51cc33:0x42,_0x49a4a1:0x61,_0x588032:0x4b,_0x103973:0x57,_0x299cd2:0x49,_0x48cec7:0x4d0,_0xc230e:0x4bf,_0x477914:0x38,_0x27a2d2:0x1d,_0x139ade:0x11,_0x1e2ca0:0x4f4,_0x25fc15:0x524},_0x49c646={_0x2ec828:0x106,_0xb98451:0x4c6},_0x3b51a4={_0x57ef7a:0x74},_0x338c3f={_0x1f2103:0x10c},_0x1679ea={};function _0x8a6faf(_0x557e66,_0x49240e,_0x24850a,_0x25d21d){return _0xb2c31e(_0x557e66-_0x338c3f._0x1f2103,_0x25d21d- -0x287,_0x24850a-0x12e,_0x49240e);}_0x1679ea[_0x2dfe6e(_0x2928d3._0x123402,_0x2928d3._0x1d893c,0xb7,0x57)]='Logout\x20fai'+'led',_0x1679ea['oiRJa']=_0x8a6faf(-_0x2928d3._0x4885ad,-0xe0,-0x140,-_0x2928d3._0x58db34)+_0x2dfe6e(_0x2928d3._0x25881b,0x8c,_0x2928d3._0x1d10d5,0x24)+_0x8a6faf(-_0x2928d3._0x844f96,-0x169,-0x14c,-_0x2928d3._0x5c16b8),_0x1679ea[_0x8a6faf(-0xf9,-_0x2928d3._0x427019,-_0x2928d3._0x4b1949,-0x11c)]=_0x8a6faf(0x5c,0x28,0x10,-_0x2928d3._0x273cea)+_0x2dfe6e(0x11f,0xe2,0x93,_0x2928d3._0x1a14e5),_0x1679ea[_0x8a6faf(-_0x2928d3._0x6eeb07,-_0x2928d3._0x5cfba3,-_0x2928d3._0x1bccf1,-_0x2928d3._0x394104)]=_0x8a6faf(-0x78,-_0x2928d3._0x138d36,-0x138,-0xda)+'\x20successfu'+_0x2dfe6e(0x1d2,0x186,_0x2928d3._0x21d379,_0x2928d3._0x22ceec);const _0x71dc44=_0x1679ea,_0x29a230=_0x22df79[_0x8a6faf(-0x68,0x63,-_0x2928d3._0xddcdfa,0x1)]?.[_0x8a6faf(-_0x2928d3._0x5441f2,-_0x2928d3._0x47d0d1,-_0x2928d3._0x325aa8,-_0x2928d3._0x56b0fe)];function _0x2dfe6e(_0x1a4ad6,_0x5d791e,_0x36a046,_0x58463a){return _0xb2c31e(_0x1a4ad6-_0x3b51a4._0x57ef7a,_0x5d791e- -0x109,_0x36a046-0x1bf,_0x36a046);}const _0x39a15d=_0x22df79[_0x2dfe6e(_0x2928d3._0x357281,0x17f,0x20f,_0x2928d3._0x446ded)]?.[_0x2dfe6e(0x15c,_0x2928d3._0x314bba,0xb9,_0x2928d3._0x51aed3)];_0x22df79[_0x2dfe6e(_0x2928d3._0x394104,_0x2928d3._0x35f71f,0x12a,_0x2928d3._0x316c8a)][_0x8a6faf(-_0x2928d3._0x37c3d5,-_0x2928d3._0x4cbd6b,_0x2928d3._0x2daa61,-0x54)](_0x2b735e=>{const _0x81568a={_0x1e2512:0x15b};if(_0x2b735e){const _0x33b39b={};_0x33b39b[_0x594658(_0x568758._0x118a46,_0x568758._0x458659,0x129,0xb7)]=_0x29a230,_0x33b39b['username']=_0x39a15d,logger['error']('Failed\x20to\x20'+_0x594658(_0x568758._0x4fc2cf,-_0x568758._0x1cda1c,0x64,-_0x568758._0x19d232)+_0x594658(0x56,-0xa6,-0x63,-0x19),_0x2b735e,_0x33b39b);const _0x19f1b2={};return _0x19f1b2[_0x594658(-0xa,0x5c,-_0x568758._0xc1204f,-0x1d)]=_0x71dc44[_0x594658(_0x568758._0x51399b,0x25,0x2c,-0x50)],_0x19f1b2[_0x594658(_0x568758._0x51032c,_0x568758._0x56c873,-0x43,0x1f)]=_0x71dc44[_0x594658(0xcd,_0x568758._0x1fbb37,-_0x568758._0x2666c8,0x7b)],_0x2e4822['status'](0x15*-0x1b7+0x633+0x1fc4)[_0x594658(-_0x568758._0x15f779,-0x5c,_0x568758._0x142fe3,-_0x568758._0x1f1a10)](_0x19f1b2);}const _0xa6e11d={};_0xa6e11d[_0x594658(_0x568758._0x4971c7,0x95,0x10b,0xb7)]=_0x29a230,_0xa6e11d[_0x594658(0xb1,0xc3,_0x568758._0xdf9a65,_0x568758._0x51cc33)]=_0x39a15d,logger['info'](_0x71dc44[_0x594658(-_0x568758._0x49a4a1,_0x568758._0x588032,-_0x568758._0x103973,-_0x568758._0x299cd2)],_0xa6e11d),_0x2e4822[_0x283987(0x53d,_0x568758._0x48cec7,_0x568758._0xc230e,0x527)+'e'](_0x594658(_0x568758._0x477914,_0x568758._0x27a2d2,0x72,-_0x568758._0x139ade));const _0x55bf97={};function _0x283987(_0x8066b,_0x379953,_0x38f71e,_0x1ac895){return _0x2dfe6e(_0x8066b-_0x49c646._0x2ec828,_0x1ac895-_0x49c646._0xb98451,_0x38f71e,_0x1ac895-0x167);}_0x55bf97[_0x283987(0x5d3,0x5d6,0x551,0x590)]=_0x71dc44['CSZgX'];function _0x594658(_0x34fc63,_0x3d105f,_0x1940a0,_0x36831a){return _0x8a6faf(_0x34fc63-0xfd,_0x1940a0,_0x1940a0-_0x81568a._0x1e2512,_0x36831a-0xd3);}_0x2e4822[_0x283987(0x4a8,_0x568758._0x1e2ca0,0x59a,_0x568758._0x25fc15)](_0x55bf97);});}),router[_0x4c161b(0x282,0x277,0x1ed,0x281)](_0xb2c31e(0x2b7,0x28b,0x2dc,0x2e6),requireAuth,async(_0x4107d5,_0x3d66c1)=>{const _0x4b3066={_0x5b567f:0x54a,_0x13a695:0x590,_0x3f33ca:0x55b,_0x42819a:0x1bf,_0x47ce21:0x1f7,_0x32e909:0x20d,_0x3ceff7:0x5af,_0x376049:0xdb,_0x3ea7ec:0xfd,_0x823f0e:0x127,_0x31ed7a:0x18e,_0x7639b8:0x5ea,_0x1e14d0:0x5b7,_0x3cf3cc:0x5cb,_0x302028:0x1d8,_0x1dfcf4:0x14c,_0x263bfb:0x183,_0x93e9ee:0x1b0,_0x467f47:0x66b,_0x2dd5e6:0x549,_0x512376:0x625,_0x150277:0x59a,_0x521eb2:0xef,_0x1bb9e5:0x193,_0x45fa12:0x60b,_0x161b2d:0x689,_0x470ed0:0x60d,_0x1c0d3d:0x537,_0x22678c:0x4a8,_0x52a867:0x53a,_0x5d8c3f:0x4f2,_0x511c6f:0x268,_0x5a36bc:0x26b,_0x17789d:0x56e,_0x5914ac:0x150,_0x4906d5:0x55c,_0x1590a4:0x5fe,_0x2b80f1:0x507,_0x47726c:0x507,_0x52037e:0x507,_0xef9280:0x55a,_0x25308d:0x566,_0x2c1a6b:0x581,_0x4f4196:0x573,_0x5f4fc4:0x570,_0x3e74db:0x16a,_0x283ec0:0x16d,_0x24afd1:0x115,_0x14f7e0:0x120,_0x3c14e2:0x56c,_0x5c437d:0x4ec,_0x79126b:0x4d3,_0x4f1fd7:0x1a2,_0x11b5de:0x211,_0x449edd:0x12a,_0x2f1266:0x153,_0x383919:0x11e,_0x5f0df8:0x61e,_0x21f7dc:0x587,_0x38d3a3:0x619,_0x36791b:0x17b,_0x2dfb63:0x156,_0x2914b4:0xec,_0x9f38ab:0x159,_0x3276dc:0x5b3,_0xd5a02:0x503,_0x32cf2f:0x160,_0x5d10d9:0x123,_0x3f7e4f:0x55b,_0x56acf2:0x510,_0x581d45:0x4b5,_0x46b932:0x60,_0x3ec6fc:0x668,_0x23d5fa:0x143,_0x5e3ae5:0x131,_0x35158d:0x4f9,_0x461a7f:0x5d7,_0x13c463:0xa8,_0x5eafa5:0xbb,_0x1b6759:0x75,_0x2873e2:0x1cc,_0x29c03a:0x2f,_0x4a4614:0x114,_0x1f0b5d:0x5b,_0x33805a:0xd2,_0x5523c0:0x113,_0x1071a:0xd4,_0x4537d8:0x6f,_0x337395:0x14d,_0x4dfb51:0x5e7,_0x1391cc:0x523,_0x438007:0x1d2,_0x1f2df2:0x16e,_0x444a1d:0x642,_0x297207:0x5c2,_0x554647:0x650,_0x2e7625:0x553,_0x382fca:0x58d,_0x2d437a:0x547,_0x69dadd:0x117,_0x5d7d95:0x1b6,_0x1419eb:0x125,_0x43fa49:0x54e,_0x427935:0x538,_0x53b9d2:0x564,_0x11b8e3:0x581,_0x187059:0x644,_0x537a40:0x5a8,_0x23d212:0x115,_0x35a6eb:0x101,_0x233fd8:0xf7,_0x23bcd1:0x14a,_0x13a903:0x607,_0x1ac3b2:0x653,_0x8badcb:0x5bc,_0x4b6565:0x5d1,_0x19b304:0xea,_0x4114d6:0x1b8},_0x4e0e51={_0x5ab15c:0xd0,_0x217723:0x35e},_0x33da75={_0x1b6577:0x3a0,_0x51549e:0x184};function _0x2deb45(_0x46bd47,_0x25ffd7,_0x3532bf,_0xb7774a){return _0xb2c31e(_0x46bd47-0x106,_0x46bd47-_0x33da75._0x1b6577,_0x3532bf-_0x33da75._0x51549e,_0x25ffd7);}function _0x429866(_0x2ff830,_0x20e0b8,_0x380860,_0x140fc){return _0x4c161b(_0x2ff830-0x96,_0x20e0b8-_0x4e0e51._0x5ab15c,_0x20e0b8- -_0x4e0e51._0x217723,_0x380860);}const _0x1e2965={'LQnSs':_0x2deb45(_0x4b3066._0x5b567f,_0x4b3066._0x13a695,_0x4b3066._0x3f33ca,0x54b)+_0x429866(-_0x4b3066._0x42819a,-0x1a4,-_0x4b3066._0x47ce21,-_0x4b3066._0x32e909)+'ssion','bEpcX':function(_0x4d074,_0x46da0a){return _0x4d074===_0x46da0a;},'gEwoG':_0x2deb45(0x626,0x6c0,0x668,_0x4b3066._0x3ceff7)+_0x429866(-0x111,-_0x4b3066._0x376049,-0x16a,-0xa7),'MOSWw':function(_0x212081,_0x4c71fe){return _0x212081(_0x4c71fe);},'SErCZ':function(_0x4d396d,_0x4d938b){return _0x4d396d!==_0x4d938b;},'cpVyE':_0x429866(-0x115,-_0x4b3066._0x3ea7ec,-0x6b,-0x133),'FTZKP':_0x429866(-_0x4b3066._0x823f0e,-_0x4b3066._0x31ed7a,-_0x4b3066._0x32e909,-0x101),'NOlot':function(_0x16d0e4,_0x506913){return _0x16d0e4===_0x506913;},'mmlFM':_0x2deb45(0x566,_0x4b3066._0x7639b8,0x56e,0x522)};try{const _0x3157a7=await _0x1e2965[_0x2deb45(_0x4b3066._0x1e14d0,0x61d,_0x4b3066._0x3cf3cc,0x55e)](findUserById,_0x4107d5[_0x429866(-_0x4b3066._0x302028,-_0x4b3066._0x1dfcf4,-0x14b,-_0x4b3066._0x263bfb)]['id']),_0x3fef6d={};_0x3fef6d['server']=[],_0x3fef6d[_0x429866(-0x1a3,-0x117,-0xb7,-_0x4b3066._0x93e9ee)+'ts']={},_0x3fef6d[_0x2deb45(0x5df,0x611,0x5f4,_0x4b3066._0x467f47)]={};let _0x14b9b2=_0x3fef6d;try{if(_0x1e2965[_0x2deb45(0x534,0x4d2,0x521,_0x4b3066._0x2dd5e6)](_0x1e2965['cpVyE'],_0x1e2965[_0x2deb45(_0x4b3066._0x512376,_0x4b3066._0x150277,0x624,0x6b2)]))_0x14b9b2=await _0x1e2965[_0x429866(-_0x4b3066._0x521eb2,-0x122,-0x104,-_0x4b3066._0x1bb9e5)](resolveAllUserPermissions,_0x4107d5[_0x2deb45(0x58d,0x5e4,0x5d0,0x5d8)]['id']);else{const _0x2cc559={};_0x2cc559[_0x2deb45(_0x4b3066._0x45fa12,_0x4b3066._0x161b2d,_0x4b3066._0x470ed0,0x624)]=_0x5d9622,_0x2cc559['username']=_0x5bf3af,_0x5321e3[_0x2deb45(_0x4b3066._0x1c0d3d,_0x4b3066._0x22678c,_0x4b3066._0x52a867,0x56b)](_0x1e2965['LQnSs'],_0x24a3b8,_0x2cc559);const _0xcf9049={};return _0xcf9049[_0x2deb45(0x537,_0x4b3066._0x5d8c3f,0x54c,0x508)]=_0x429866(-_0x4b3066._0x511c6f,-0x1d8,-0x1f6,-_0x4b3066._0x5a36bc)+_0x2deb45(0x5a4,_0x4b3066._0x17789d,0x5ab,0x5ae),_0xcf9049[_0x429866(-0x126,-0x166,-0x19f,-_0x4b3066._0x5914ac)]=_0x1e2965['LQnSs'],_0x5e62d3[_0x2deb45(0x56f,_0x4b3066._0x4906d5,0x55b,_0x4b3066._0x1590a4)](-0x15*0xc2+0xec4+0x31a)[_0x2deb45(_0x4b3066._0x2b80f1,_0x4b3066._0x47726c,_0x4b3066._0x52037e,0x4bd)](_0xcf9049);}}catch(_0x3869ca){if(_0x1e2965[_0x2deb45(0x572,0x5c0,0x577,_0x4b3066._0xef9280)](_0x2deb45(_0x4b3066._0x25308d,0x5d1,0x5dd,_0x4b3066._0x2c1a6b),_0x1e2965['mmlFM'])){const _0x5df38a={};_0x5df38a[_0x2deb45(0x537,0x569,0x5ba,0x51c)]=_0x3869ca[_0x2deb45(_0x4b3066._0x4f4196,0x56d,0x585,_0x4b3066._0x5f4fc4)],_0x5df38a[_0x429866(-_0x4b3066._0x3e74db,-_0x4b3066._0x283ec0,-_0x4b3066._0x24afd1,-_0x4b3066._0x14f7e0)]=_0x3869ca[_0x2deb45(_0x4b3066._0x3c14e2,_0x4b3066._0x5c437d,0x4d8,_0x4b3066._0x79126b)],logger[_0x429866(-0x159,-_0x4b3066._0x4f1fd7,-_0x4b3066._0x11b5de,-0x16d)]('Permission'+_0x429866(-_0x4b3066._0x449edd,-_0x4b3066._0x2f1266,-0x1c0,-_0x4b3066._0x383919)+_0x2deb45(0x5ff,_0x4b3066._0x5f0df8,_0x4b3066._0x21f7dc,_0x4b3066._0x38d3a3)+_0x429866(-0x17b,-0x194,-0x105,-0x19d),_0x5df38a);}else{if(!_0xdb90a9||_0x1e2965[_0x429866(-_0x4b3066._0x36791b,-_0x4b3066._0x2dfb63,-_0x4b3066._0x2914b4,-_0x4b3066._0x9f38ab)](_0x577508['trim']()['length'],-0x1d51+0x1*0x3f0+0x1*0x1961)){const _0x4dfb32={};return _0x4dfb32[_0x2deb45(0x537,0x5a2,_0x4b3066._0x3276dc,_0x4b3066._0xd5a02)]=_0x1e2965[_0x429866(-0x10a,-0xff,-_0x4b3066._0x32cf2f,-_0x4b3066._0x5d10d9)],_0x428465['status'](-0x7*-0x2a7+0x1ab*0x16+-0x35b3)[_0x2deb45(_0x4b3066._0x47726c,_0x4b3066._0x3f7e4f,_0x4b3066._0x56acf2,_0x4b3066._0x581d45)](_0x4dfb32);}_0x144ce3[_0x429866(-0xc0,-0xbb,-_0x4b3066._0x46b932,-0x9d)]=_0x3619d1[_0x2deb45(0x5ef,_0x4b3066._0x3ec6fc,0x5e0,0x643)]();}}const _0x1304b8={};_0x1304b8['id']=_0x4107d5['user']['id'],_0x1304b8[_0x429866(-0x15f,-0x143,-0x144,-0x148)]=_0x4107d5['user'][_0x429866(-0xcc,-_0x4b3066._0x23d5fa,-_0x4b3066._0x5e3ae5,-0x1c5)],_0x1304b8[_0x2deb45(0x564,0x5d3,_0x4b3066._0x35158d,0x4d8)]=_0x4107d5['user'][_0x2deb45(0x564,0x502,0x4e1,_0x4b3066._0x461a7f)],_0x1304b8[_0x429866(-_0x4b3066._0x13c463,-_0x4b3066._0x5eafa5,-0xdc,-_0x4b3066._0x1b6759)]=_0x4107d5[_0x429866(-_0x4b3066._0x2873e2,-0x14c,-0x15a,-0x111)][_0x429866(-_0x4b3066._0x29c03a,-0xbb,-_0x4b3066._0x4a4614,-_0x4b3066._0x1f0b5d)],_0x1304b8['permission'+'s']=_0x14b9b2,_0x1304b8['ssh_userna'+'me']=_0x4107d5['user'][_0x429866(-0xae,-_0x4b3066._0x33805a,-0x61,-_0x4b3066._0x5523c0)+'me'],_0x1304b8[_0x429866(-0x123,-_0x4b3066._0x1071a,-_0x4b3066._0x4537d8,-0x60)]=_0x3157a7?.[_0x429866(-0x11f,-_0x4b3066._0x1071a,-0x12d,-0xdf)]||null,_0x1304b8['preference'+'s']=_0x3157a7?.[_0x429866(-_0x4b3066._0x337395,-0x195,-0x1d3,-0x14c)+'s']||{};const _0xf1efe6={};_0xf1efe6[_0x2deb45(0x58d,_0x4b3066._0x4dfb51,_0x4b3066._0x1391cc,0x5ff)]=_0x1304b8,_0x3d66c1[_0x429866(-0x1f5,-_0x4b3066._0x438007,-0x1ce,-_0x4b3066._0x1f2df2)](_0xf1efe6);}catch(_0x50a93a){const _0x545e47={};_0x545e47[_0x2deb45(0x5cd,0x5bf,0x651,_0x4b3066._0x444a1d)]=[],_0x545e47[_0x2deb45(_0x4b3066._0x297207,_0x4b3066._0x554647,0x52f,_0x4b3066._0x2e7625)+'ts']={},_0x545e47[_0x429866(-0xe3,-0xfa,-0x104,-0x85)]={};const _0x55860d={};_0x55860d['id']=_0x4107d5[_0x2deb45(_0x4b3066._0x382fca,_0x4b3066._0x2d437a,0x623,0x55e)]['id'],_0x55860d['username']=_0x4107d5[_0x429866(-_0x4b3066._0x69dadd,-_0x4b3066._0x1dfcf4,-0xfe,-_0x4b3066._0x5d7d95)][_0x429866(-0xde,-0x143,-_0x4b3066._0x1419eb,-0x175)],_0x55860d['email']=_0x4107d5[_0x2deb45(_0x4b3066._0x382fca,_0x4b3066._0x43fa49,_0x4b3066._0x427935,0x617)][_0x2deb45(_0x4b3066._0x53b9d2,_0x4b3066._0x11b8e3,0x580,0x571)],_0x55860d[_0x2deb45(0x61e,_0x4b3066._0x187059,_0x4b3066._0x3cf3cc,0x673)]=_0x4107d5[_0x2deb45(0x58d,_0x4b3066._0x537a40,0x4f8,0x626)][_0x429866(-_0x4b3066._0x23d212,-0xbb,-0xdb,-0xea)],_0x55860d[_0x429866(-0x84,-_0x4b3066._0x35a6eb,-_0x4b3066._0x233fd8,-_0x4b3066._0x23bcd1)+'s']=_0x545e47,_0x55860d[_0x2deb45(_0x4b3066._0x13a903,_0x4b3066._0x1ac3b2,0x5b7,_0x4b3066._0x8badcb)+'me']=_0x4107d5['user']['ssh_userna'+'me'],_0x55860d[_0x2deb45(0x605,0x5d4,0x65b,_0x4b3066._0x4b6565)]=null,_0x55860d[_0x429866(-0x22a,-0x195,-0x1fb,-0x181)+'s']={};const _0x338ca7={};_0x338ca7[_0x429866(-0xc3,-_0x4b3066._0x1dfcf4,-_0x4b3066._0x19b304,-0x13a)]=_0x55860d,_0x3d66c1[_0x429866(-0x183,-0x1d2,-_0x4b3066._0x4114d6,-0x26a)](_0x338ca7);}}),router[_0xb2c31e(0x111,0x1a0,0x154,0x11d)](_0x4c161b(0x26a,0x246,0x228,0x2b2),async(_0x4120a7,_0x208b27)=>{const _0x2bc4f1={_0x36d4f8:0x247,_0x54a54f:0x193,_0x299d69:0x1e2,_0x4a1d07:0x285,_0x4b0143:0x209,_0x3ea9d5:0x21b,_0x3a5039:0x2d4,_0xf3618a:0x265,_0x235e8a:0x146,_0x3862cc:0xea,_0x166000:0x2f4,_0x3c1ef9:0x3a4,_0x463ca7:0x29c,_0x14b67b:0x1de,_0x39c726:0x23c,_0x3a325c:0x2ff,_0x34044d:0x2a7,_0x3421be:0x2eb,_0x3d3d69:0x2e5,_0x283007:0x1a6,_0x3de3bc:0x226,_0x499796:0x249,_0x11d5fd:0x2da,_0x4f1956:0x292,_0x5e46ae:0x1e6,_0x5b1c00:0x1af,_0x1637cb:0x21f,_0x1a4f4b:0x190,_0x1350aa:0x192,_0xe86360:0x302,_0x2719a4:0x324,_0x3aac58:0x2ce,_0x309ea0:0x2de,_0x3d3a5d:0x1d1,_0xf2e531:0x250,_0x59ba03:0x231,_0x64bf7c:0x32f,_0x1b1b32:0x32a,_0x3a54ce:0x22f,_0x340453:0x288,_0x5b0834:0x1f1,_0xec892:0x1e8,_0x3efd5d:0x159,_0x26a9b5:0x2b1,_0x56fc2b:0x341,_0x588d7b:0x2b0,_0x4bf8c5:0x278,_0x386c4a:0x2d1,_0x256f77:0x291,_0xf4cde6:0x31d,_0x615a6b:0x28a,_0x436d9d:0x2c9,_0x570dac:0x30d,_0x53ff7b:0x2c0,_0x52d715:0x160,_0x428643:0x1d2,_0x45ec55:0x268,_0x46c559:0x246,_0x5ce296:0x1c4,_0x47c995:0x22f,_0x2a5bd0:0x25f,_0x565214:0x2d5,_0xbeae15:0x229,_0x4da33c:0x284,_0x22b3b4:0x221,_0xe55360:0x267,_0x56fbfe:0x303,_0x272f2d:0x296,_0x414d76:0x2d8,_0x30f155:0x25b,_0x56e28b:0x283,_0x1e963e:0x23f,_0x2825b1:0x34e,_0x5451ad:0x35d,_0x4c0eaf:0x331,_0x20354f:0x355,_0x5d9fc8:0x24b,_0x464040:0x286,_0x225c5a:0x2c5,_0xd9b932:0x2a4,_0x539b40:0x2d6,_0x21d75e:0x2e2,_0x5c2bb2:0x232,_0x3bbef3:0x1b7,_0xb4473b:0x1d3,_0x259b8d:0x31c,_0x368093:0x34a,_0x5d7f9f:0x329,_0x422e36:0x2ea,_0x48e4a3:0x381,_0x2123b5:0x240,_0x3836a0:0x267,_0x1dece1:0x24c,_0x3adeca:0x1b9,_0x3f4d78:0x243,_0x24d4f0:0x371,_0x2bc87b:0x305,_0x476015:0x18a,_0x1a4903:0x208,_0x3c37fa:0x1b5,_0x197a21:0x208,_0x2b6b43:0x2a1,_0x54b3f3:0x2c6,_0x10b7e7:0x264,_0xacacde:0x1e1,_0x15784b:0x2c7,_0x471932:0x2ee,_0x4199a4:0x367,_0x13c285:0x344,_0x257c4a:0x1a7,_0x3d61d6:0x15c,_0x415618:0x137,_0x241917:0x180,_0x341f7b:0x2f9,_0x239b69:0x279,_0x335de1:0x2cb,_0x2314ba:0x32c,_0x3cfdae:0x33a,_0x115ea9:0x3b6,_0x412b07:0x3a8,_0x316e6a:0x1e9,_0x160c30:0x25a,_0x23e22a:0x2e1,_0x4fbdbf:0x2bf,_0x4fae6b:0x26b,_0x2d150e:0x2fb,_0x88e49a:0x21a,_0x5d1af5:0x321,_0x339de0:0x1fa,_0x520b05:0x207,_0x51c043:0x20e,_0x56feeb:0x245,_0x490baf:0x274,_0x6c364a:0x260,_0x135401:0x2aa,_0x179feb:0x2bf,_0xd40ffd:0x1b2,_0x392d68:0x1c0,_0x38fa9b:0x1c2},_0x58ed9e={_0x220f82:0x1ad,_0x5bcb41:0x423},_0x44c448={_0x1149e6:0xf8},_0x59e911={'MnNTI':'Failed\x20to\x20'+'upload\x20ava'+_0xabce1a(-_0x2bc4f1._0x36d4f8,-0x1d5,-0x255,-0x242),'jRBhD':'Invalid\x20fi'+_0xabce1a(-_0x2bc4f1._0x54a54f,-_0x2bc4f1._0x299d69,-0x173,-0x1c1)+_0x12ff3c(_0x2bc4f1._0x4a1d07,0x20f,0x264,_0x2bc4f1._0x4b0143)+_0xabce1a(-_0x2bc4f1._0x3ea9d5,-0x2ed,-_0x2bc4f1._0x3a5039,-_0x2bc4f1._0xf3618a)+_0xabce1a(-0x247,-_0x2bc4f1._0x235e8a,-0x17b,-0x1b2)+_0xabce1a(-0xfd,-0x137,-_0x2bc4f1._0x3862cc,-0x181)+'.','uFtlM':function(_0xcd5865,_0x471d94){return _0xcd5865||_0x471d94;},'Stkub':_0x12ff3c(0x331,_0x2bc4f1._0x166000,0x37f,_0x2bc4f1._0x3c1ef9),'PoJBR':_0xabce1a(-_0x2bc4f1._0x463ca7,-_0x2bc4f1._0x14b67b,-0x228,-_0x2bc4f1._0x39c726),'YTLPm':_0x12ff3c(0x30e,_0x2bc4f1._0x3a325c,0x31c,_0x2bc4f1._0x34044d)+_0x12ff3c(_0x2bc4f1._0x3421be,_0x2bc4f1._0x3d3d69,0x357,0x2cd),'qvBZl':_0xabce1a(-_0x2bc4f1._0x283007,-_0x2bc4f1._0x3de3bc,-0x19f,-0x21c)+_0xabce1a(-_0x2bc4f1._0x499796,-0x2d6,-_0x2bc4f1._0x11d5fd,-0x272)+_0x12ff3c(_0x2bc4f1._0x4f1956,0x29a,0x229,_0x2bc4f1._0x3421be)+_0xabce1a(-0x198,-_0x2bc4f1._0x5e46ae,-_0x2bc4f1._0x5b1c00,-_0x2bc4f1._0x1637cb),'UbJCU':function(_0x27b99a,_0x35d043){return _0x27b99a===_0x35d043;},'KvHcg':_0xabce1a(-_0x2bc4f1._0x1a4f4b,-0x1bf,-0x1b9,-_0x2bc4f1._0x1350aa),'qgrgg':_0x12ff3c(_0x2bc4f1._0xe86360,0x37f,_0x2bc4f1._0x2719a4,_0x2bc4f1._0x3aac58)+_0x12ff3c(0x2f6,0x381,0x371,_0x2bc4f1._0x309ea0)+_0xabce1a(-0x23c,-_0x2bc4f1._0x3d3a5d,-_0x2bc4f1._0xf2e531,-_0x2bc4f1._0x59ba03),'UQlXg':_0x12ff3c(0x368,0x324,0x303,0x324)+_0x12ff3c(0x316,_0x2bc4f1._0x64bf7c,0x35c,0x3a7)+_0x12ff3c(0x2b5,_0x2bc4f1._0x1b1b32,_0x2bc4f1._0x3a54ce,0x293),'EvZxl':function(_0x5dc769,_0x14207f,_0x5c7b9a){return _0x5dc769(_0x14207f,_0x5c7b9a);},'kWQUe':'CLI\x20Access','jnZlX':function(_0x491934,_0x5a888b){return _0x491934!==_0x5a888b;},'tKmGO':'cEHJa','MlZcR':'RAFsa','iULiY':_0xabce1a(-_0x2bc4f1._0x340453,-0x1f7,-_0x2bc4f1._0x5b0834,-0x254)+_0x12ff3c(0x27f,0x207,0x2b6,_0x2bc4f1._0xec892)+_0xabce1a(-0x156,-0x16b,-_0x2bc4f1._0x3efd5d,-0x1b8)+'I\x20login','EsunU':_0x12ff3c(_0x2bc4f1._0x26a9b5,0x2d9,0x267,_0x2bc4f1._0x56fc2b)+_0x12ff3c(_0x2bc4f1._0x588d7b,0x2b2,0x344,_0x2bc4f1._0x4bf8c5),'GjYhM':_0xabce1a(-_0x2bc4f1._0x386c4a,-_0x2bc4f1._0x386c4a,-_0x2bc4f1._0xf2e531,-0x274)+'ed'},{username:_0xbb1870,password:_0x4aad56}=_0x4120a7[_0x12ff3c(0x273,0x2ca,0x219,0x2c5)];function _0x12ff3c(_0x55e397,_0x5e6e9f,_0x11143f,_0x57eba2){return _0xb2c31e(_0x55e397-0x1db,_0x55e397-_0x44c448._0x1149e6,_0x11143f-0x1ca,_0x57eba2);}if(_0x59e911[_0xabce1a(-_0x2bc4f1._0x256f77,-0x219,-_0x2bc4f1._0xf4cde6,-_0x2bc4f1._0x615a6b)](!_0xbb1870,!_0x4aad56)){if(_0x59e911[_0x12ff3c(_0x2bc4f1._0x436d9d,0x2e6,0x235,0x34d)]===_0x59e911['PoJBR']){_0xe2ed0a['error']('Failed\x20to\x20'+_0x12ff3c(_0x2bc4f1._0x570dac,0x32a,0x3a2,_0x2bc4f1._0x53ff7b)+'tar',_0x44e0da);const _0x4fbd35={};_0x4fbd35['error']=_0x59e911[_0xabce1a(-_0x2bc4f1._0x52d715,-0x19b,-0x1fa,-_0x2bc4f1._0x428643)],_0x2635c3[_0xabce1a(-_0x2bc4f1._0x45ec55,-_0x2bc4f1._0x46c559,-_0x2bc4f1._0x5ce296,-_0x2bc4f1._0x47c995)](0x5*-0x6c7+-0x11*-0x11b+-0x4*-0x443)[_0x12ff3c(_0x2bc4f1._0x2a5bd0,_0x2bc4f1._0x565214,_0x2bc4f1._0x3d3d69,_0x2bc4f1._0xbeae15)](_0x4fbd35);}else{const _0x15b056={};return _0x15b056[_0xabce1a(-_0x2bc4f1._0x4da33c,-0x27d,-_0x2bc4f1._0x22b3b4,-_0x2bc4f1._0xe55360)]=_0x59e911[_0x12ff3c(0x33a,_0x2bc4f1._0x56fbfe,0x397,0x30c)],_0x15b056['message']=_0x59e911[_0xabce1a(-0x1a2,-_0x2bc4f1._0x272f2d,-0x177,-0x20e)],_0x208b27['status'](0x3*0x3d5+-0x165+0x445*-0x2)[_0x12ff3c(0x25f,0x2c8,_0x2bc4f1._0x414d76,0x1d9)](_0x15b056);}}function _0xabce1a(_0x36a53e,_0x524c9d,_0x47a555,_0x5dba18){return _0x4c161b(_0x36a53e-0x4a,_0x524c9d-_0x58ed9e._0x220f82,_0x5dba18- -_0x58ed9e._0x5bcb41,_0x47a555);}try{if(_0x59e911['UbJCU'](_0x59e911['KvHcg'],_0x59e911[_0x12ff3c(0x2a8,0x2c9,_0x2bc4f1._0x30f155,_0x2bc4f1._0x56e28b)])){const _0x2a47ab=await validatePassword(_0xbb1870,_0x4aad56);if(!_0x2a47ab){const _0x164641={};_0x164641[_0xabce1a(-0x223,-_0x2bc4f1._0x1e963e,-0x28b,-0x208)]=_0xbb1870,logger['warn'](_0x59e911[_0x12ff3c(_0x2bc4f1._0x2825b1,_0x2bc4f1._0x5451ad,0x362,_0x2bc4f1._0x4c0eaf)],_0x164641);const _0x221379={};return _0x221379['error']=_0x12ff3c(_0x2bc4f1._0x20354f,0x35e,0x353,0x3a1)+_0xabce1a(-0x29b,-0x21d,-0x217,-_0x2bc4f1._0x5d9fc8)+'d',_0x221379[_0xabce1a(-0x1ef,-0x1cc,-0x28a,-0x22b)]=_0x59e911[_0x12ff3c(_0x2bc4f1._0x464040,0x28d,_0x2bc4f1._0x225c5a,0x2c5)],_0x208b27['status'](0x2d*0x9b+-0xb9e+-0xe10)['json'](_0x221379);}const _0x548ae1=await _0x59e911[_0x12ff3c(_0x2bc4f1._0xd9b932,_0x2bc4f1._0x539b40,_0x2bc4f1._0x21d75e,0x2a4)](createApiKey,_0x2a47ab['id'],_0x59e911[_0xabce1a(-_0x2bc4f1._0x5c2bb2,-0x162,-_0x2bc4f1._0x3bbef3,-_0x2bc4f1._0xb4473b)]);let _0x5d2f91=[];try{_0x59e911[_0x12ff3c(_0x2bc4f1._0x259b8d,_0x2bc4f1._0x368093,_0x2bc4f1._0x5d7f9f,0x304)](_0x59e911[_0x12ff3c(_0x2bc4f1._0x422e36,_0x2bc4f1._0x48e4a3,0x34b,0x318)],_0x59e911['MlZcR'])?_0x5d2f91=await resolveUserRoleNames(_0x2a47ab['id']):_0x54ac78['preference'+'s']=_0x2be62e;}catch(_0x37a9e6){const _0x3c1e70={};_0x3c1e70['userId']=_0x2a47ab['id'],_0x3c1e70[_0xabce1a(-_0x2bc4f1._0x2123b5,-0x23d,-0x2f1,-_0x2bc4f1._0x3836a0)]=_0x37a9e6['message'],logger['warn'](_0x59e911[_0xabce1a(-0x1d5,-_0x2bc4f1._0x1dece1,-_0x2bc4f1._0x3adeca,-_0x2bc4f1._0x3f4d78)],_0x3c1e70);}const _0x2cced9={};_0x2cced9[_0x12ff3c(0x363,_0x2bc4f1._0x24d4f0,0x3a3,_0x2bc4f1._0x2bc87b)]=_0x2a47ab['id'],_0x2cced9[_0xabce1a(-_0x2bc4f1._0x476015,-0x173,-0x25e,-_0x2bc4f1._0x1a4903)]=_0x2a47ab[_0xabce1a(-0x25b,-0x186,-_0x2bc4f1._0x3c37fa,-_0x2bc4f1._0x197a21)],_0x2cced9[_0x12ff3c(_0x2bc4f1._0x2b6b43,0x284,0x2ba,_0x2bc4f1._0x54b3f3)]=_0x548ae1['id'],logger['info'](_0x59e911[_0x12ff3c(_0x2bc4f1._0x10b7e7,_0x2bc4f1._0xacacde,_0x2bc4f1._0x15784b,0x257)],_0x2cced9);const _0x14a9c2={};_0x14a9c2['id']=_0x2a47ab['id'],_0x14a9c2['username']=_0x2a47ab[_0x12ff3c(_0x2bc4f1._0x471932,_0x2bc4f1._0x4199a4,_0x2bc4f1._0x13c285,0x343)],_0x14a9c2['email']=_0x2a47ab['email'],_0x14a9c2[_0xabce1a(-_0x2bc4f1._0x257c4a,-_0x2bc4f1._0x3d61d6,-_0x2bc4f1._0x415618,-_0x2bc4f1._0x241917)]=_0x2a47ab['name'],_0x14a9c2[_0x12ff3c(_0x2bc4f1._0x341f7b,0x290,_0x2bc4f1._0x239b69,_0x2bc4f1._0x5d7f9f)]=_0x5d2f91;const _0x26342d={};_0x26342d[_0x12ff3c(_0x2bc4f1._0x335de1,0x260,_0x2bc4f1._0x2314ba,0x329)]=_0x12ff3c(0x30b,0x2e3,_0x2bc4f1._0x3cfdae,0x2d7)+_0x12ff3c(0x37a,_0x2bc4f1._0x115ea9,0x369,_0x2bc4f1._0x412b07),_0x26342d['user']=_0x14a9c2,_0x26342d[_0xabce1a(-0x202,-_0x2bc4f1._0x316e6a,-0x1b7,-0x17a)]=_0x548ae1[_0xabce1a(-0x288,-0x27d,-_0x2bc4f1._0x160c30,-0x26c)],_0x208b27[_0x12ff3c(0x25f,_0x2bc4f1._0x23e22a,_0x2bc4f1._0x422e36,0x1d1)](_0x26342d);}else _0x309fcb(new _0x2d9c3c(_0x59e911[_0x12ff3c(_0x2bc4f1._0x4fbdbf,_0x2bc4f1._0x4fae6b,0x24b,_0x2bc4f1._0x2d150e)]));}catch(_0x5c01c1){logger[_0x12ff3c(0x28f,0x2a8,_0x2bc4f1._0x88e49a,_0x2bc4f1._0x5d1af5)](_0xabce1a(-_0x2bc4f1._0x339de0,-_0x2bc4f1._0x520b05,-_0x2bc4f1._0x51c043,-_0x2bc4f1._0x56feeb)+_0xabce1a(-0x299,-0x299,-0x21b,-_0x2bc4f1._0x3836a0),_0x5c01c1);const _0x596b60={};_0x596b60[_0xabce1a(-_0x2bc4f1._0x490baf,-_0x2bc4f1._0x6c364a,-_0x2bc4f1._0x135401,-0x267)]=_0x59e911['GjYhM'],_0x596b60[_0x12ff3c(0x2cb,0x2b1,_0x2bc4f1._0x499796,_0x2bc4f1._0x179feb)]=_0xabce1a(-_0x2bc4f1._0xd40ffd,-0x247,-0x257,-_0x2bc4f1._0x392d68)+_0xabce1a(-_0x2bc4f1._0x51c043,-0x187,-0x202,-0x1fc)+'ring\x20authe'+_0xabce1a(-0x27c,-0x232,-0x313,-0x284),_0x208b27[_0xabce1a(-_0x2bc4f1._0x5e46ae,-_0x2bc4f1._0x38fa9b,-0x259,-0x22f)](-0x252+0x18*-0x78+0xf86)[_0x12ff3c(0x25f,0x27b,0x29b,0x2c4)](_0x596b60);}}),router[_0xb2c31e(0x1b9,0x1c8,0x250,0x19e)](_0xb2c31e(0x183,0x1be,0x20c,0x1c4),requireAuth,async(_0x488019,_0x410d62)=>{const _0x3294ba={_0x52288a:0x2db,_0xd7b1bc:0x434,_0x173f7e:0x443,_0x1c0eaf:0x412,_0x4be3fe:0x2f3,_0x3deb34:0x31e,_0x2921b3:0x396,_0x49719b:0x47e,_0x58df22:0x42d,_0x3c7c2d:0x330,_0x15cad6:0x324,_0x4c9810:0x2d8,_0x293e43:0x357,_0x11e3fe:0x320,_0x3b7f09:0x35c,_0xbc336e:0x34e,_0x29b12d:0x3ba,_0x199896:0x3c9,_0x335ee6:0x337,_0x943eca:0x379,_0x27c515:0x3d9,_0x375342:0x3ec,_0x261f2c:0x30e,_0x3ca580:0x347,_0xe77858:0x36a,_0x47d87a:0x2fe,_0x604d59:0x3f4,_0x592b9a:0x3e0,_0x14c71e:0x46a,_0x567cfe:0x38f,_0xcb1951:0x360,_0x1a2939:0x340,_0x4a1c3f:0x44a,_0x2d1678:0x2ed,_0x14f0d3:0x2ae,_0x2cb61a:0x287,_0x31536a:0x243,_0x1a1524:0x272,_0x32369d:0x363,_0x18cc1c:0x2d9,_0x3201f0:0x393,_0x45731f:0x3b9},_0x321b6d={_0x5bdc3e:0x183},_0x4054d7={_0x33ec7f:0xe6},_0x1a4a0f={};_0x1a4a0f['yyAzt']=_0x2e18d8(_0x3294ba._0x52288a,0x36c,0x350,0x2f7)+_0x2e18d8(0x36a,0x3a8,0x398,_0x3294ba._0xd7b1bc);function _0x51e9c0(_0x7a79fc,_0x1ba35e,_0x2c0151,_0x96653a){return _0x4c161b(_0x7a79fc-0x4f,_0x1ba35e-_0x4054d7._0x33ec7f,_0x1ba35e-0x13c,_0x2c0151);}_0x1a4a0f[_0x2e18d8(0x338,0x3b5,_0x3294ba._0x173f7e,0x3d5)]='Failed\x20to\x20'+_0x51e9c0(0x38a,0x3b2,_0x3294ba._0x1c0eaf,0x325)+'e';function _0x2e18d8(_0xa35415,_0x11058c,_0x2000e4,_0x22d193){return _0xb2c31e(_0xa35415-0x4,_0x11058c-_0x321b6d._0x5bdc3e,_0x2000e4-0x10,_0x22d193);}const _0x25c482=_0x1a4a0f;try{const _0x1872ee=await findUserById(_0x488019[_0x2e18d8(_0x3294ba._0x4be3fe,0x370,_0x3294ba._0x3deb34,_0x3294ba._0x2921b3)]['id']);if(!_0x1872ee){const _0x4951f5={};return _0x4951f5['error']=_0x25c482[_0x2e18d8(0x3d4,0x3f9,_0x3294ba._0x49719b,_0x3294ba._0x58df22)],_0x410d62[_0x51e9c0(0x2a8,_0x3294ba._0x3c7c2d,_0x3294ba._0x15cad6,_0x3294ba._0x4c9810)](-0x20f6+0x2018+0x272)[_0x51e9c0(0x283,0x2c8,0x261,_0x3294ba._0x293e43)](_0x4951f5);}const _0x23bf24={};_0x23bf24[_0x2e18d8(0x314,0x305,0x375,_0x3294ba._0x11e3fe)+'ions']=!![],_0x23bf24[_0x51e9c0(0x38a,_0x3294ba._0x3b7f09,_0x3294ba._0xbc336e,0x2f9)+_0x2e18d8(0x43b,_0x3294ba._0x29b12d,0x36e,_0x3294ba._0x199896)+_0x51e9c0(0x325,0x381,0x413,0x369)]=!![];const _0x100c9c={};_0x100c9c['id']=_0x1872ee['id'],_0x100c9c[_0x2e18d8(_0x3294ba._0x335ee6,_0x3294ba._0x943eca,_0x3294ba._0x27c515,_0x3294ba._0x375342)]=_0x1872ee[_0x51e9c0(0x39d,_0x3294ba._0x293e43,0x36b,0x3bb)],_0x100c9c[_0x2e18d8(0x2ae,0x347,_0x3294ba._0x261f2c,0x304)]=_0x1872ee[_0x2e18d8(_0x3294ba._0x3c7c2d,_0x3294ba._0x3ca580,_0x3294ba._0xe77858,_0x3294ba._0x47d87a)],_0x100c9c[_0x2e18d8(_0x3294ba._0x49719b,0x401,_0x3294ba._0x604d59,_0x3294ba._0x592b9a)]=_0x1872ee[_0x51e9c0(_0x3294ba._0x2921b3,0x3df,_0x3294ba._0x14c71e,_0x3294ba._0x567cfe)],_0x100c9c[_0x51e9c0(_0x3294ba._0xcb1951,0x3c6,0x3c7,_0x3294ba._0x1a2939)]=_0x1872ee[_0x51e9c0(0x3d5,0x3c6,_0x3294ba._0x3b7f09,_0x3294ba._0x4a1c3f)]||null,_0x100c9c[_0x51e9c0(_0x3294ba._0x2d1678,0x305,_0x3294ba._0x14f0d3,_0x3294ba._0x2cb61a)+'s']=_0x1872ee['preference'+'s']||_0x23bf24;const _0x432d92={};_0x432d92[_0x2e18d8(0x38e,0x339,0x3ab,0x3b3)]=_0x100c9c,_0x410d62[_0x51e9c0(_0x3294ba._0x31536a,0x2c8,_0x3294ba._0x1a1524,0x22f)](_0x432d92);}catch(_0x56f27b){logger[_0x51e9c0(_0x3294ba._0x32369d,0x2f8,_0x3294ba._0x18cc1c,0x37b)](_0x25c482[_0x51e9c0(_0x3294ba._0xcb1951,_0x3294ba._0x3201f0,0x363,0x312)],_0x56f27b);const _0x150cb8={};_0x150cb8['error']=_0x25c482[_0x51e9c0(0x31f,0x393,0x414,0x3b0)],_0x410d62[_0x2e18d8(_0x3294ba._0x45731f,0x352,0x3e1,0x2fa)](-0x7c*-0x11+0x1572+-0x1bba)[_0x51e9c0(0x25f,0x2c8,0x299,0x35d)](_0x150cb8);}}),router[_0xb2c31e(0x16e,0x1d0,0x18b,0x218)]('/profile',requireAuth,async(_0x11197f,_0x2171b3)=>{const _0x5d2898={_0xd095ef:0x2d5,_0x157e44:0x307,_0x3e47df:0x2cf,_0x36e521:0x268,_0x102b3d:0x242,_0x615994:0x294,_0x4ec714:0x208,_0x4d07f3:0x229,_0x1b50da:0x1d7,_0x128128:0x1b2,_0x5ab505:0x1a2,_0x48577f:0x1ce,_0x508bed:0x1c0,_0x5e9a53:0x24a,_0x3fa1bc:0x1ff,_0x52fad0:0x17e,_0x12b42d:0x145,_0x174472:0x18d,_0x2b450f:0x254,_0x4d9025:0x1d0,_0xc95d74:0x290,_0x56c903:0x286,_0x4b414f:0x2e9,_0x13c335:0x20d,_0x481351:0x284,_0x1f7991:0x30b,_0x30c1da:0x334,_0x176b91:0x25a,_0x508506:0x27b,_0xab3bed:0x358,_0x34aa20:0x361,_0x85adb2:0x1bb,_0x4fe4f9:0x16a,_0x28e260:0x156,_0x327ab4:0x237,_0x188c16:0x250,_0x4aa0d5:0x187,_0x150c0c:0x12f,_0x1ccd6c:0x308,_0x3e21db:0x35e,_0x5375f6:0x1e6,_0xdbff4d:0x186,_0x5cdf14:0x1cc,_0x37f805:0x187,_0x55ea1b:0x1be,_0x188305:0x1dd,_0x42a9dd:0x232,_0x4f5768:0x221,_0x5b65ec:0x217,_0x83d132:0x254,_0x43ae58:0x2ba,_0x2744d4:0x32c,_0x2f9f05:0x220,_0x3841ac:0x1bd,_0x290e7e:0x37a,_0x4cb7c6:0x2ff,_0x28f979:0x394,_0x3ed51c:0x181,_0x12dfa3:0x1f5,_0x548134:0x1b4,_0x1d9c09:0x207,_0x3f3f50:0x283,_0x458332:0x233,_0x2d0883:0x2b7,_0xe23738:0x2c1,_0x4101cf:0x286,_0x2c2a88:0x305,_0x1c53dd:0x201,_0x305e1b:0x203,_0x5d5d6c:0x1ab,_0xd64d24:0x1cd,_0x3643b4:0x243,_0x2c3829:0x2ea,_0x19a16c:0x2a4,_0x1d0cf6:0x2a9,_0x3fe20e:0x1d7,_0x131cb9:0x1db,_0x344a71:0x16c,_0x4192e6:0x1b6,_0x2d6744:0x18f,_0x4ba32b:0x1fa,_0x1122f9:0x3c1,_0x25453d:0x2ac,_0x23a0f7:0x384,_0x3f2fd9:0x210,_0x2d965f:0x271,_0x456a8b:0x272,_0x32ed68:0x2ee,_0x61207e:0x33f,_0x596123:0x2af,_0x8e62d1:0x2b3,_0x5491da:0x253,_0x199e31:0x2eb,_0x3558ab:0x2a6,_0x324048:0x204,_0x32b59e:0x36e,_0xe3feac:0x3ac,_0x4d3933:0x27e,_0x46ec25:0x1d1,_0x1d6828:0x24d,_0x4cf854:0x35a,_0x4612f4:0x3cb,_0x3efa75:0x2c4,_0x96ed05:0x258,_0x57e6db:0x1da,_0x533d2a:0x307,_0xac5c21:0x225,_0x504c01:0x231,_0x451c99:0x33b,_0x27d158:0x38a,_0x17e77c:0x2d4,_0x247d51:0x309,_0x1b5e45:0x395,_0x2c4e14:0x320,_0x47ef3a:0x31b,_0x2c9a5e:0x3ad,_0xe300b2:0x2c1,_0x5d7ece:0x2c9,_0x116ecd:0x2ad,_0x2c3094:0x2c3,_0x30ef27:0x1ea,_0x23c6bd:0x21c,_0x8756a5:0x2a0,_0x2e7bc0:0x286,_0x48770a:0x2a0,_0x4a4dbe:0x302,_0x1d4229:0x32e,_0x1a2213:0x284,_0x743c2d:0x20c,_0xf927be:0x28d,_0x145243:0x2f5,_0x423844:0x27a,_0x51a21e:0x28b,_0x13d8af:0x280,_0x5e76f9:0x21b,_0x2f8380:0x2a5,_0x53d68c:0x243,_0x33b154:0x1e3,_0x54de3a:0x1e6,_0x426731:0x1cb,_0x56f462:0x2bd,_0x2a65ac:0x2df,_0x36515e:0x382,_0x481397:0x343,_0x3430e4:0x2d2,_0x2f9660:0x25b,_0x568275:0x250,_0x4aeda2:0x1fd,_0x37aaf5:0x373,_0x468566:0x341,_0x514f0c:0x332,_0x4abe7b:0x34d,_0x5862a5:0x39e,_0x3c687b:0x35d,_0x3f2a7e:0x292,_0x151a2f:0x20a,_0x58a377:0x2dc,_0x14a12f:0x274,_0x53c132:0x321,_0x3883b6:0x2bc,_0x5b1e0e:0x291,_0x154ccb:0x29c,_0x1e618a:0x25d,_0x59a527:0x380,_0x4a52cc:0x32a,_0x423e8d:0x13a,_0x286c5d:0x123,_0x2a57a1:0x125,_0x549df1:0x20d,_0x17504f:0x131,_0x217ac6:0x256,_0x1b9ee3:0x1bd,_0x5cef63:0x27d,_0x39c6a2:0x280,_0x9c7874:0x259,_0x4289e2:0x247,_0x32d9ff:0x22d,_0x66c37f:0x1a9,_0x4160f8:0x1f0},_0x30fe76={_0x6dba30:0x24,_0x28dadf:0x190,_0x24119e:0x1},_0x27045d={_0x506ae9:0xdc};function _0x221c0a(_0x58e795,_0x4a293b,_0x2199e0,_0x2f4134){return _0xb2c31e(_0x58e795-0x90,_0x4a293b-_0x27045d._0x506ae9,_0x2199e0-0x41,_0x58e795);}function _0x562005(_0x57c070,_0x56d39c,_0x875914,_0x31b10a){return _0x4c161b(_0x57c070-_0x30fe76._0x6dba30,_0x56d39c-_0x30fe76._0x28dadf,_0x31b10a-_0x30fe76._0x24119e,_0x57c070);}const _0x39cfb4={'tVYcQ':function(_0x47da96,_0x35c0f8){return _0x47da96!==_0x35c0f8;},'sMNYH':_0x221c0a(0x20f,0x249,_0x5d2898._0xd095ef,0x250),'mvKrZ':'Missing\x20cr'+_0x221c0a(_0x5d2898._0x157e44,_0x5d2898._0x3e47df,_0x5d2898._0x36e521,_0x5d2898._0x102b3d),'HzaBe':_0x562005(_0x5d2898._0x615994,0x25a,0x284,_0x5d2898._0x4ec714)+_0x562005(_0x5d2898._0x4d07f3,_0x5d2898._0x1b50da,0x187,_0x5d2898._0x128128)+_0x562005(_0x5d2898._0x5ab505,0x23a,_0x5d2898._0x48577f,_0x5d2898._0x508bed)+_0x562005(_0x5d2898._0x5e9a53,_0x5d2898._0x3fa1bc,_0x5d2898._0x52fad0,0x205),'iLUax':_0x562005(_0x5d2898._0x12b42d,_0x5d2898._0x174472,_0x5d2898._0x2b450f,_0x5d2898._0x4d9025)+_0x221c0a(_0x5d2898._0xc95d74,0x263,_0x5d2898._0x56c903,0x219)+_0x221c0a(_0x5d2898._0x4b414f,0x322,0x31a,_0x5d2898._0x615994)+'I\x20login','HgPQW':'Failed\x20to\x20'+'get\x20profil'+'e','VtnAe':function(_0x28de4e,_0xa3fb2c){return _0x28de4e===_0xa3fb2c;},'SEZza':_0x562005(0x20c,0x175,0x296,_0x5d2898._0x13c335),'seWMh':'Name\x20canno'+_0x562005(0x2d9,0x1fa,0x286,_0x5d2898._0x481351),'EEPBN':function(_0x45ada6,_0x4c95aa){return _0x45ada6!==_0x4c95aa;},'texyn':function(_0x156fb4,_0x4563a){return _0x156fb4===_0x4563a;},'XIRXk':'ZDkzX','lHKWp':'No\x20valid\x20u'+_0x221c0a(_0x5d2898._0x1f7991,0x369,_0x5d2898._0x30c1da,0x323)+_0x562005(0x17f,_0x5d2898._0x176b91,_0x5d2898._0x508506,0x212),'GkYAJ':function(_0x308bf9,_0x7ff83a,_0x461e5f){return _0x308bf9(_0x7ff83a,_0x461e5f);},'DZvSz':_0x221c0a(0x3c4,_0x5d2898._0xab3bed,0x340,_0x5d2898._0x34aa20),'qEebE':_0x562005(_0x5d2898._0x85adb2,_0x5d2898._0x4fe4f9,_0x5d2898._0x28e260,0x195),'wdTVf':_0x221c0a(_0x5d2898._0x327ab4,0x286,0x26b,_0x5d2898._0x188c16)+_0x562005(0x21d,_0x5d2898._0x4aa0d5,_0x5d2898._0x150c0c,0x1ac)+_0x221c0a(0x3b9,0x327,_0x5d2898._0x1ccd6c,_0x5d2898._0x3e21db)},{name:_0x22fbb1,preferences:_0x28ba44}=_0x11197f['body'];try{if(_0x39cfb4[_0x562005(0x1ce,0x1b5,_0x5d2898._0x5e9a53,_0x5d2898._0x5375f6)](_0x39cfb4[_0x562005(_0x5d2898._0xdbff4d,0x17e,_0x5d2898._0x5cdf14,0x1be)],_0x39cfb4[_0x562005(_0x5d2898._0x37f805,0x23f,0x191,_0x5d2898._0x55ea1b)])){const _0x11aa08={};if(_0x22fbb1!==undefined){if(!_0x22fbb1||_0x39cfb4['VtnAe'](_0x22fbb1[_0x562005(_0x5d2898._0x188305,0x2ca,_0x5d2898._0x42a9dd,0x275)]()[_0x562005(_0x5d2898._0x4f5768,0x1ed,0x252,_0x5d2898._0x5b65ec)],-0x2*-0x6a8+-0x45*0x33+0x3*0x25)){if(_0x221c0a(_0x5d2898._0x83d132,_0x5d2898._0x43ae58,_0x5d2898._0x2744d4,0x288)!==_0x221c0a(0x2c0,0x2d6,0x25e,0x2d8)){const _0x439457={};return _0x439457[_0x562005(0x172,0x206,_0x5d2898._0x2f9f05,_0x5d2898._0x3841ac)]=_0x39cfb4[_0x221c0a(_0x5d2898._0x290e7e,_0x5d2898._0x4cb7c6,_0x5d2898._0x28f979,0x320)],_0x2171b3[_0x562005(0x252,_0x5d2898._0x3ed51c,0x1b0,_0x5d2898._0x12dfa3)](0x1c5a+-0x7*-0x347+-0x31bb)['json'](_0x439457);}else _0x39cfb4[_0x562005(0x2c4,0x1c2,_0x5d2898._0x548134,0x247)](_0x139b50[_0x562005(_0x5d2898._0x1d9c09,_0x5d2898._0x3f3f50,0x246,_0x5d2898._0x458332)],_0x39cfb4[_0x221c0a(0x316,_0x5d2898._0x2d0883,0x32d,0x2c4)])&&_0xfa495[_0x221c0a(_0x5d2898._0xe23738,0x273,0x22c,0x30c)](_0x221c0a(0x219,_0x5d2898._0x4101cf,0x30e,0x248)+_0x221c0a(_0x5d2898._0x2c2a88,0x26c,_0x5d2898._0x1c53dd,_0x5d2898._0x305e1b)+'tars\x20direc'+_0x562005(0x2a2,_0x5d2898._0x5d5d6c,_0x5d2898._0xd64d24,_0x5d2898._0x3643b4),_0xdf2995);}_0x11aa08[_0x562005(0x2ce,_0x5d2898._0x2c3829,_0x5d2898._0x3e47df,_0x5d2898._0x19a16c)]=_0x22fbb1[_0x562005(0x257,_0x5d2898._0x1d0cf6,0x2fc,0x275)]();}_0x39cfb4[_0x562005(_0x5d2898._0x3fe20e,0x26d,_0x5d2898._0x131cb9,0x1e5)](_0x28ba44,undefined)&&(_0x11aa08['preference'+'s']=_0x28ba44);if(_0x39cfb4[_0x562005(_0x5d2898._0x344a71,_0x5d2898._0x4192e6,0x1a4,_0x5d2898._0x2d6744)](Object['keys'](_0x11aa08)['length'],-0x1c07+0xe11*0x1+-0xdf6*-0x1)){if(_0x39cfb4[_0x562005(0x1cc,_0x5d2898._0x4ba32b,0x25f,0x247)](_0x39cfb4[_0x221c0a(0x2dd,0x33e,_0x5d2898._0x1122f9,0x307)],_0x39cfb4[_0x221c0a(_0x5d2898._0x25453d,0x33e,_0x5d2898._0x23a0f7,0x379)])){const _0x1a696f={};return _0x1a696f[_0x221c0a(_0x5d2898._0x3f2fd9,0x273,_0x5d2898._0x2d965f,_0x5d2898._0x456a8b)]=_0x39cfb4[_0x221c0a(0x29c,_0x5d2898._0x32ed68,_0x5d2898._0x61207e,0x322)],_0x1a696f[_0x221c0a(0x292,_0x5d2898._0x596123,0x26a,0x23a)]=_0x39cfb4[_0x221c0a(_0x5d2898._0x8e62d1,_0x5d2898._0x5491da,0x1e0,_0x5d2898._0x199e31)],_0x17b640[_0x221c0a(_0x5d2898._0x3558ab,0x2ab,0x275,0x2c2)](0xb*-0x2d2+0x1*0x20f5+0x5*-0x13)['json'](_0x1a696f);}else{const _0xc681d6={};return _0xc681d6[_0x562005(0x1da,_0x5d2898._0x324048,0x18f,0x1bd)]=_0x39cfb4[_0x221c0a(_0x5d2898._0x34aa20,0x326,_0x5d2898._0x32b59e,_0x5d2898._0xe3feac)],_0x2171b3[_0x221c0a(_0x5d2898._0x481351,0x2ab,0x2cb,0x213)](0xdbe*0x1+-0x11bf+-0x4b*-0x13)[_0x221c0a(0x280,0x243,_0x5d2898._0x4d3933,_0x5d2898._0x46ec25)](_0xc681d6);}}const _0x51cb6c=await _0x39cfb4[_0x562005(0x243,_0x5d2898._0x1d6828,_0x5d2898._0x48577f,0x1e9)](updateUser,_0x11197f['user']['id'],_0x11aa08);if(_0x11aa08[_0x221c0a(0x3bd,_0x5d2898._0x4cf854,0x3b6,_0x5d2898._0x4612f4)]){if(_0x39cfb4[_0x221c0a(0x2ed,0x29c,_0x5d2898._0x3efa75,0x32c)](_0x39cfb4[_0x221c0a(0x2c6,_0x5d2898._0x83d132,_0x5d2898._0x96ed05,_0x5d2898._0x57e6db)],_0x562005(0x279,_0x5d2898._0x533d2a,0x25c,0x2a2)))_0x11197f[_0x562005(0x26b,_0x5d2898._0xac5c21,_0x5d2898._0x504c01,0x2ae)]['name']=_0x11aa08[_0x221c0a(_0x5d2898._0x451c99,0x35a,_0x5d2898._0x27d158,_0x5d2898._0x17e77c)];else{const _0x5b856e={};_0x5b856e[_0x221c0a(0x35d,_0x5d2898._0x247d51,_0x5d2898._0x1b5e45,0x2dd)]=[],_0x5b856e['environmen'+'ts']={},_0x5b856e[_0x221c0a(_0x5d2898._0x2c4e14,_0x5d2898._0x47ef3a,_0x5d2898._0x2c9a5e,_0x5d2898._0xe300b2)]={};const _0x490745={};_0x490745['id']=_0x41bb67[_0x562005(0x194,0x276,0x1e9,0x213)]['id'],_0x490745['username']=_0x2eba9b[_0x221c0a(0x27c,_0x5d2898._0x5d7ece,_0x5d2898._0x116ecd,_0x5d2898._0x2c3094)][_0x562005(0x235,0x202,_0x5d2898._0x30ef27,_0x5d2898._0x23c6bd)],_0x490745[_0x221c0a(0x279,_0x5d2898._0x8756a5,0x2b7,0x208)]=_0x3280cc['user'][_0x221c0a(_0x5d2898._0x2e7bc0,_0x5d2898._0x48770a,_0x5d2898._0x4a4dbe,_0x5d2898._0x1d4229)],_0x490745[_0x221c0a(0x3ad,_0x5d2898._0x4cf854,0x2c6,_0x5d2898._0x4cf854)]=_0x12e25[_0x221c0a(0x311,0x2c9,0x308,_0x5d2898._0x1a2213)]['name'],_0x490745[_0x562005(0x276,0x1f1,0x1e3,0x25e)+'s']=_0x5b856e,_0x490745[_0x562005(_0x5d2898._0x743c2d,0x303,0x28c,_0x5d2898._0xf927be)+'me']=_0x3f8121[_0x221c0a(0x2bc,0x2c9,_0x5d2898._0x145243,0x300)]['ssh_userna'+'me'],_0x490745[_0x562005(_0x5d2898._0x12dfa3,0x2d5,_0x5d2898._0x423844,_0x5d2898._0x51a21e)]=null,_0x490745[_0x221c0a(0x28e,_0x5d2898._0x13d8af,_0x5d2898._0x5e76f9,_0x5d2898._0x743c2d)+'s']={};const _0x2a6a04={};_0x2a6a04['user']=_0x490745,_0x769f32[_0x221c0a(_0x5d2898._0x2f8380,_0x5d2898._0x53d68c,_0x5d2898._0x33b154,0x285)](_0x2a6a04);}}logger[_0x562005(_0x5d2898._0x54de3a,_0x5d2898._0x1c53dd,_0x5d2898._0x426731,0x261)](_0x221c0a(_0x5d2898._0x56f462,0x345,_0x5d2898._0x2a65ac,_0x5d2898._0x36515e)+'dated',{'userId':_0x11197f['user']['id'],'updates':Object['keys'](_0x11aa08)});const _0x15d504={};_0x15d504['id']=_0x51cb6c['id'],_0x15d504['username']=_0x51cb6c[_0x221c0a(_0x5d2898._0x481397,_0x5d2898._0x3430e4,0x326,0x23f)],_0x15d504[_0x221c0a(_0x5d2898._0x2f9660,0x2a0,_0x5d2898._0x568275,0x329)]=_0x51cb6c[_0x562005(_0x5d2898._0x4aeda2,0x20d,0x184,_0x5d2898._0x30ef27)],_0x15d504['name']=_0x51cb6c['name'],_0x15d504[_0x221c0a(_0x5d2898._0x37aaf5,_0x5d2898._0x468566,_0x5d2898._0x514f0c,0x393)]=_0x51cb6c[_0x221c0a(_0x5d2898._0x4abe7b,_0x5d2898._0x468566,_0x5d2898._0x5862a5,_0x5d2898._0x3c687b)]||null,_0x15d504['preference'+'s']=_0x51cb6c[_0x562005(0x1ad,_0x5d2898._0x4f5768,0x133,0x1ca)+'s']||{};const _0x4ddb0b={};_0x4ddb0b[_0x221c0a(_0x5d2898._0x5e76f9,_0x5d2898._0x3f2a7e,_0x5d2898._0x151a2f,_0x5d2898._0x58a377)]=_0x15d504,_0x2171b3['json'](_0x4ddb0b);}else{const _0x598b4a={};_0x598b4a[_0x562005(_0x5d2898._0x14a12f,_0x5d2898._0x53c132,_0x5d2898._0x3883b6,_0x5d2898._0x5b1e0e)]=_0x2a1105['id'],_0x598b4a['error']=_0x13a18f[_0x562005(0x292,0x276,0x27f,0x1f9)],_0x3d006b['warn'](_0x39cfb4[_0x221c0a(_0x5d2898._0x154ccb,_0x5d2898._0x2c3829,_0x5d2898._0x1e618a,_0x5d2898._0x2a65ac)],_0x598b4a);}}catch(_0x24c9aa){if(_0x39cfb4[_0x221c0a(_0x5d2898._0x59a527,0x2fd,_0x5d2898._0x4a52cc,0x35c)](_0x39cfb4[_0x562005(_0x5d2898._0x423e8d,0x1f5,_0x5d2898._0x286c5d,0x1a6)],'JojmP')){_0x4f16f2['error'](_0x39cfb4[_0x562005(_0x5d2898._0x2a57a1,_0x5d2898._0x549df1,0x11a,0x1a2)],_0x5e1169);const _0x14356f={};_0x14356f[_0x562005(0x216,_0x5d2898._0x17504f,_0x5d2898._0x217ac6,_0x5d2898._0x1b9ee3)]=_0x39cfb4['HgPQW'],_0x21f682[_0x562005(0x1cf,_0x5d2898._0x5cef63,_0x5d2898._0x39c6a2,_0x5d2898._0x12dfa3)](-0x23a4+0x27*-0x18+-0x160*-0x1e)[_0x221c0a(0x2c5,_0x5d2898._0x3643b4,0x2bb,_0x5d2898._0x9c7874)](_0x14356f);}else{logger[_0x562005(_0x5d2898._0x1c53dd,_0x5d2898._0x4289e2,0x212,0x1bd)](_0x39cfb4[_0x221c0a(0x2f6,_0x5d2898._0x3558ab,0x2dd,_0x5d2898._0x32d9ff)],_0x24c9aa);const _0x190505={};_0x190505[_0x562005(_0x5d2898._0x30ef27,0x163,0x1d9,0x1bd)]=_0x39cfb4[_0x562005(0x1fa,_0x5d2898._0x66c37f,0x252,_0x5d2898._0x4160f8)],_0x2171b3['status'](0x25ac+0x1*0xcdb+-0x3093*0x1)[_0x221c0a(0x277,0x243,0x222,0x217)](_0x190505);}}}),router['post']('/profile/a'+_0xb2c31e(0x11c,0x166,0x142,0x193),requireAuth,avatarUpload['single'](_0xb2c31e(0x266,0x265,0x1cc,0x204)),async(_0x23ecbd,_0x3146f0)=>{const _0x20e9d1={_0x2a84b8:0x204,_0x559a32:0x28d,_0x1c64aa:0x2b2,_0x23025f:0x498,_0x16ce2e:0x515,_0x38f58c:0x48d,_0x2c8ae7:0x402,_0x719706:0x3e0,_0x49407f:0x3a9,_0x5e8f26:0x4ba,_0x48612b:0x402,_0x1eb688:0x415,_0x40e7c1:0x486,_0x4b83ab:0x494,_0x2f684c:0x3d7,_0x24d268:0x1d6,_0xfea04e:0x18f,_0x36a9a6:0x221,_0x33446c:0x3e3,_0x196600:0x18d,_0x7409a:0x14a,_0x5a8914:0x458,_0x247c9f:0x3eb,_0x482085:0x404,_0x45a432:0x423,_0x1c52b1:0x227,_0x257c00:0x1dc,_0x5b9582:0x17a,_0x208519:0x1f5,_0x192d0f:0x291,_0x407bd9:0x29d,_0x103368:0x389,_0x598a99:0x46f,_0xed3d66:0x328,_0xf0ed70:0x325,_0x1b6cd0:0x3a0,_0x1a0a13:0x24b,_0x4f4921:0x26a,_0x2ed86a:0x1dd,_0x1d7146:0x1e6,_0x4cde83:0x169,_0x188650:0x20f,_0x116cbc:0x1a2,_0x46000a:0x186,_0x4a42db:0x33c,_0x12dfeb:0x399,_0x31ffc5:0xfb,_0x26f264:0x33d,_0x33d8f1:0x179,_0x27b6ba:0xf7,_0x5370a2:0x1b1,_0x39f5e4:0x3f8,_0x565812:0x1cf,_0x22d314:0x44a,_0x4118d2:0x3d3,_0x5a1e04:0x356,_0x25c90f:0x442,_0x2df98a:0x4e6,_0x158b71:0x4b4,_0x272f17:0x1a8,_0x356bd2:0x1f6,_0x419d93:0x25f,_0x475f54:0x444,_0x7c7607:0x49e,_0x89dcc:0x226,_0x5e0e43:0x1e9,_0x147102:0x25e,_0x4ea2e1:0x4e3,_0x16fd3c:0x4c7,_0x26f48f:0x4f5,_0x176b69:0x440,_0x99a2ad:0x16e,_0x482bc1:0x108,_0x134f2c:0x160,_0x529e5a:0x158,_0x2c3f52:0x46d,_0xf82031:0x40d,_0x260991:0x1b9,_0x110a12:0x201,_0x171c7f:0x1ea,_0x3a87ed:0x12f,_0x5eedcd:0x25c,_0x592aee:0x2a9,_0x5ef29f:0x46f,_0x22803f:0x1cb,_0x556960:0x164,_0x3d1414:0x151,_0x3f3984:0xeb,_0x430779:0x411,_0x41dcd4:0x426,_0x2abf32:0x1a1,_0x11bf97:0x168,_0xd9ed75:0x1b7,_0x41ef04:0x210,_0x5996d8:0x181,_0x28a2c4:0x206,_0x5ddbfc:0x19a,_0x56b43d:0x251,_0x6fbdc7:0x43d,_0x380170:0x3c1,_0x358ed6:0x157,_0x1c4c41:0x19e,_0x196dc4:0x3bc,_0x227f03:0x3bd,_0x3ffd2e:0x30e,_0x49e736:0x379,_0x2a9511:0x3a0,_0x32a456:0x1d7,_0x2dd46d:0x176,_0x115f8b:0x1f7,_0x5d3214:0x45a,_0x197065:0x1a8,_0x1130a3:0x254,_0x44ed40:0x239,_0x2cd3dd:0x530,_0x4199ee:0x4c6,_0x7185c:0x1d0,_0x2d9356:0x1ca,_0x400cde:0x171,_0x221285:0x1f3,_0x26aca1:0x22a,_0x4ab5e4:0x225,_0x141587:0x23c,_0x35b1d3:0x4be,_0x58c86f:0x4c5},_0x37ee6b={_0xd01423:0x1ea,_0x5927f4:0x3bc},_0x329f87={_0x1edfb2:0x214};function _0x3d316c(_0x57b0e8,_0x51afaa,_0x41b5f4,_0x419d11){return _0x4c161b(_0x57b0e8-0xf2,_0x51afaa-0x85,_0x419d11-_0x329f87._0x1edfb2,_0x57b0e8);}const _0x5d73f3={'AjYSF':function(_0x48c61c,_0x273208,_0x20411f){return _0x48c61c(_0x273208,_0x20411f);},'HFKBH':_0x4a7d81(-0x23e,-_0x20e9d1._0x2a84b8,-_0x20e9d1._0x559a32,-_0x20e9d1._0x1c64aa),'kaIib':function(_0x439f18,_0x1eac93){return _0x439f18===_0x1eac93;},'bHtQa':_0x3d316c(0x444,_0x20e9d1._0x23025f,_0x20e9d1._0x16ce2e,_0x20e9d1._0x38f58c),'lkiEK':'HVudi','iubcb':_0x3d316c(_0x20e9d1._0x2c8ae7,_0x20e9d1._0x719706,_0x20e9d1._0x49407f,0x427)+_0x3d316c(0x4ce,_0x20e9d1._0x5e8f26,0x4d9,0x458),'WXMHx':function(_0x5dd6bf){return _0x5dd6bf();},'qkGho':function(_0x3579be,_0x7b8d80){return _0x3579be(_0x7b8d80);},'eKVZo':_0x3d316c(_0x20e9d1._0x48612b,_0x20e9d1._0x1eb688,_0x20e9d1._0x40e7c1,_0x20e9d1._0x4b83ab),'vBDxg':function(_0xaa79e7,_0x1644a9){return _0xaa79e7(_0x1644a9);},'vaJYF':_0x3d316c(0x3f7,0x3c0,0x347,_0x20e9d1._0x2f684c),'YsSjz':_0x4a7d81(-0x1c3,-_0x20e9d1._0x24d268,-_0x20e9d1._0xfea04e,-_0x20e9d1._0x36a9a6),'TcOcz':_0x3d316c(0x361,0x448,0x399,_0x20e9d1._0x33446c)+_0x4a7d81(-0x1a7,-_0x20e9d1._0x196600,-0x15a,-_0x20e9d1._0x7409a)+'tar'};if(!_0x23ecbd[_0x3d316c(_0x20e9d1._0x5a8914,_0x20e9d1._0x247c9f,_0x20e9d1._0x482085,0x484)]){if(_0x5d73f3['kaIib'](_0x5d73f3[_0x3d316c(0x3ba,0x3ec,0x3c0,_0x20e9d1._0x45a432)],_0x5d73f3[_0x4a7d81(-0x1cd,-_0x20e9d1._0x1c52b1,-_0x20e9d1._0x257c00,-_0x20e9d1._0x5b9582)]))_0x5d73f3[_0x4a7d81(-0x1bd,-_0x20e9d1._0x208519,-0x15f,-0x18d)](_0x22dee9,null,!![]);else{const _0x4d6b9b={};return _0x4d6b9b[_0x4a7d81(-0x225,-_0x20e9d1._0x192d0f,-_0x20e9d1._0x407bd9,-0x260)]=_0x5d73f3['iubcb'],_0x3146f0[_0x3d316c(_0x20e9d1._0x103368,0x427,_0x20e9d1._0x598a99,0x408)](-0x508*0x5+-0x344*0x8+0x34d8)[_0x3d316c(0x320,_0x20e9d1._0xed3d66,_0x20e9d1._0xf0ed70,_0x20e9d1._0x1b6cd0)](_0x4d6b9b);}}function _0x4a7d81(_0x129985,_0x518ffd,_0x2936c8,_0x536e93){return _0xb2c31e(_0x129985-_0x37ee6b._0xd01423,_0x129985- -_0x37ee6b._0x5927f4,_0x2936c8-0xc7,_0x2936c8);}try{await _0x5d73f3[_0x4a7d81(-_0x20e9d1._0x1a0a13,-_0x20e9d1._0x4f4921,-_0x20e9d1._0x2ed86a,-_0x20e9d1._0x1d7146)](ensureAvatarsDir);const _0x2f488c=_0x3d316c(0x494,0x447,0x474,0x421)+_0x23ecbd[_0x4a7d81(-0x1cf,-_0x20e9d1._0x4cde83,-_0x20e9d1._0x188650,-0x168)]['id']+'-'+Date[_0x4a7d81(-0x177,-_0x20e9d1._0x116cbc,-0x186,-_0x20e9d1._0x46000a)]()+_0x4a7d81(-0x194,-0x1c1,-0x18a,-0x16b),_0x1bb035=_0x50fcd7[_0x3d316c(0x320,_0x20e9d1._0x4a42db,0x3e7,_0x20e9d1._0x12dfeb)](AVATARS_DIR,_0x2f488c),_0x4bb309={};_0x4bb309[_0x4a7d81(-0x187,-_0x20e9d1._0x31ffc5,-0x146,-_0x20e9d1._0x7409a)]=0x5a,await _0x5d73f3[_0x3d316c(0x3cd,0x43f,_0x20e9d1._0x26f264,0x3b8)](_0x3e9bbd,_0x23ecbd[_0x4a7d81(-0x171,-0x138,-0x13f,-0x204)][_0x4a7d81(-_0x20e9d1._0x33d8f1,-_0x20e9d1._0x27b6ba,-_0x20e9d1._0x5370a2,-0x1f5)])[_0x3d316c(_0x20e9d1._0x39f5e4,_0x20e9d1._0x1eb688,0x46c,0x42d)](AVATAR_SIZE,AVATAR_SIZE,{'fit':_0x5d73f3[_0x4a7d81(-0x1a4,-0x169,-0x165,-_0x20e9d1._0x565812)],'position':_0x3d316c(_0x20e9d1._0x22d314,_0x20e9d1._0x4118d2,_0x20e9d1._0x5a1e04,0x3eb)})[_0x3d316c(_0x20e9d1._0x25c90f,0x548,_0x20e9d1._0x2df98a,_0x20e9d1._0x158b71)](_0x4bb309)[_0x4a7d81(-0x162,-_0x20e9d1._0x272f17,-0x16d,-_0x20e9d1._0x356bd2)](_0x1bb035);const _0x1c7fe0=await _0x5d73f3['vBDxg'](findUserById,_0x23ecbd[_0x4a7d81(-_0x20e9d1._0x565812,-_0x20e9d1._0x419d93,-0x1a5,-_0x20e9d1._0x188650)]['id']);if(_0x1c7fe0[_0x3d316c(0x513,_0x20e9d1._0x475f54,0x4ed,_0x20e9d1._0x7c7607)]){if(_0x5d73f3['kaIib'](_0x4a7d81(-_0x20e9d1._0x89dcc,-0x28d,-_0x20e9d1._0x5e0e43,-_0x20e9d1._0x147102),_0x5d73f3[_0x3d316c(0x4cc,_0x20e9d1._0x4ea2e1,0x4e3,_0x20e9d1._0x16fd3c)])){const _0x2d4530={};_0x2d4530[_0x3d316c(0x46d,_0x20e9d1._0x26f48f,0x491,0x4b7)]=_0x1f9769[_0x3d316c(0x439,0x414,0x446,_0x20e9d1._0x176b69)+'d'],_0x2d4530[_0x4a7d81(-0x238,-0x228,-0x24d,-0x28e)]=_0x5282aa,_0x2d4530[_0x4a7d81(-_0x20e9d1._0x99a2ad,-_0x20e9d1._0x482bc1,-_0x20e9d1._0x134f2c,-0x15f)+_0x4a7d81(-_0x20e9d1._0x529e5a,-0x17f,-0xe2,-0x15e)]=_0x21cad9,_0x2d4530[_0x3d316c(_0x20e9d1._0x2c3f52,0x45c,0x473,_0x20e9d1._0xf82031)]=_0x5d73f3['HFKBH'],_0x401444[_0x4a7d81(-0x208,-_0x20e9d1._0x260991,-_0x20e9d1._0x110a12,-_0x20e9d1._0x171c7f)](_0x2c3301[_0x4a7d81(-0x1b5,-0x1d9,-_0x20e9d1._0x3a87ed,-0x15a)+'d'],_0x2d4530);}else{const _0x45681d=_0x50fcd7[_0x4a7d81(-_0x20e9d1._0x5eedcd,-0x245,-0x2bb,-_0x20e9d1._0x592aee)](AVATARS_DIR,_0x1c7fe0[_0x3d316c(_0x20e9d1._0x5ef29f,0x49e,0x4ac,0x49e)]);try{await _0x214eb8['unlink'](_0x45681d);}catch(_0x3f4f8e){}}}const _0xdd7bd7={};_0xdd7bd7[_0x4a7d81(-0x157,-_0x20e9d1._0x22803f,-0xc1,-_0x20e9d1._0x556960)]=_0x2f488c,await updateUser(_0x23ecbd['user']['id'],_0xdd7bd7);const _0x1bfe3c={};_0x1bfe3c[_0x4a7d81(-_0x20e9d1._0x3d1414,-0x1d2,-_0x20e9d1._0x3f3984,-0x13c)]=_0x23ecbd[_0x3d316c(_0x20e9d1._0x430779,0x4a4,0x3bd,_0x20e9d1._0x41dcd4)]['id'],_0x1bfe3c[_0x4a7d81(-_0x20e9d1._0x2abf32,-_0x20e9d1._0x11bf97,-_0x20e9d1._0xd9ed75,-_0x20e9d1._0x41ef04)]=_0x2f488c,logger[_0x4a7d81(-_0x20e9d1._0x5996d8,-_0x20e9d1._0x28a2c4,-_0x20e9d1._0x5ddbfc,-0x204)](_0x4a7d81(-0x1f1,-0x237,-0x267,-_0x20e9d1._0x56b43d)+_0x3d316c(0x32b,0x42d,_0x20e9d1._0x6fbdc7,_0x20e9d1._0x380170),_0x1bfe3c);const _0x4bd37b={};_0x4bd37b[_0x4a7d81(-_0x20e9d1._0x358ed6,-_0x20e9d1._0x1c4c41,-0x191,-0x19e)]=_0x2f488c,_0x4bd37b[_0x4a7d81(-0x15c,-0x17f,-0xf1,-0x164)]=_0x3d316c(0x451,0x3d2,_0x20e9d1._0x380170,_0x20e9d1._0x196dc4)+_0x2f488c,_0x3146f0[_0x3d316c(_0x20e9d1._0x227f03,_0x20e9d1._0x3ffd2e,_0x20e9d1._0x49e736,_0x20e9d1._0x2a9511)](_0x4bd37b);}catch(_0x45d7a4){if(_0x5d73f3[_0x4a7d81(-_0x20e9d1._0x32a456,-0x1f5,-_0x20e9d1._0x2dd46d,-_0x20e9d1._0x115f8b)]===_0x3d316c(_0x20e9d1._0x5d3214,0x399,_0x20e9d1._0x1eb688,0x3e1)){const _0x130fbb={};return _0x130fbb[_0x4a7d81(-0x225,-0x1e4,-0x1fd,-_0x20e9d1._0x197065)]=_0x4a7d81(-_0x20e9d1._0x1130a3,-0x1fd,-_0x20e9d1._0x44ed40,-0x255)+_0x3d316c(0x4b3,0x549,_0x20e9d1._0x2cd3dd,_0x20e9d1._0x4199ee)+_0x4a7d81(-_0x20e9d1._0x7185c,-_0x20e9d1._0x2d9356,-0x1d5,-_0x20e9d1._0x1c52b1),_0x107e12[_0x4a7d81(-0x1ed,-_0x20e9d1._0x400cde,-_0x20e9d1._0x221285,-_0x20e9d1._0x26aca1)](0x8b7+-0x262f+0x1f08)[_0x4a7d81(-0x255,-0x279,-0x284,-0x1ff)](_0x130fbb);}else{logger[_0x4a7d81(-_0x20e9d1._0x4ab5e4,-_0x20e9d1._0x141587,-0x1f8,-0x252)](_0x5d73f3[_0x3d316c(_0x20e9d1._0x35b1d3,0x43d,0x49b,0x4c5)],_0x45d7a4);const _0x18094={};_0x18094['error']=_0x5d73f3[_0x3d316c(0x4b5,0x4e4,0x4e4,_0x20e9d1._0x58c86f)],_0x3146f0['status'](-0x1c60+0x21a6+0x19*-0x22)['json'](_0x18094);}}}),router[_0x4c161b(0x10a,0x13f,0x187,0xfd)](_0xb2c31e(0x1b0,0x1b7,0x186,0x1c6)+_0xb2c31e(0x131,0x166,0xf6,0x11a),requireAuth,async(_0x5df367,_0x1992e6)=>{const _0x3abca6={_0x5d9f43:0x108,_0x31fcec:0x71,_0xdf5189:0x217,_0x4c2cb6:0x24a,_0x44285f:0x29b,_0x12a105:0x2b1,_0xd82a47:0x98,_0x4ba8da:0x57,_0x1c8ac8:0x9b,_0x290b23:0x8e,_0xd348d0:0xcd,_0x1d9340:0xc7,_0x178800:0x36d,_0x107944:0x2a4,_0x13ccae:0x122,_0x208c70:0xba,_0x5636e9:0x2c,_0x1784cf:0x1b9,_0x2a4e07:0x230,_0x5e728d:0x21b,_0x438229:0x23a,_0x593d4a:0x331,_0x105452:0x2d4,_0x55b419:0x2fe,_0x2a97d1:0x26d,_0x4e104c:0x35,_0x1cd9ab:0xc7,_0x4fe3dc:0x259,_0x3cb0c1:0x28b,_0x3812ef:0xb2,_0x33a72b:0x53,_0x292383:0x101,_0x1f0575:0x2fc,_0x3e5228:0x2bb,_0x3047bb:0x23f,_0x5aa676:0x26c,_0x46cb0e:0x28e,_0x252119:0x4f,_0x3f8be6:0x200,_0x409c86:0x1d,_0x1a63e6:0x60,_0x344a5a:0x2e7,_0x3e10b1:0x55,_0x2b70e7:0x2de,_0x45b9b4:0x286,_0xaa689c:0xe,_0x250581:0x2b0,_0x361155:0x1af,_0x4db7f9:0x296,_0x3476eb:0x2a8,_0x343341:0x39e,_0xecad28:0xe2,_0x605b0a:0x99,_0x2521e4:0x2b9,_0x5e9652:0x30,_0xe03430:0x37,_0x5af682:0x25c,_0xb9b94d:0x7a,_0x557d13:0x1a6},_0x1a5134={_0x7a194a:0x2f},_0x5d3cfc={_0x12c145:0xe0,_0x592797:0x26e},_0x21d622={'ewdwF':'Login\x20erro'+'r','TNyaf':_0x51c4a3(-0xbf,-_0x3abca6._0x5d9f43,-0x128,-0xd6)+'ed','ZhZue':_0x51c4a3(-0xb,-0x97,-0xf,_0x3abca6._0x31fcec)+_0x92854(_0x3abca6._0xdf5189,_0x3abca6._0x4c2cb6,_0x3abca6._0x44285f,_0x3abca6._0x12a105)+_0x51c4a3(-_0x3abca6._0xd82a47,-_0x3abca6._0x4ba8da,-_0x3abca6._0x1c8ac8,-_0x3abca6._0x290b23)+_0x51c4a3(-0xcf,-_0x3abca6._0xd348d0,-_0x3abca6._0x1d9340,-0xbf),'IlBHH':function(_0x328c14,_0x4f4b84){return _0x328c14(_0x4f4b84);},'iZswj':'nFcfS','gXiEw':_0x92854(_0x3abca6._0x178800,0x363,0x2f1,_0x3abca6._0x107944),'QCLTR':function(_0x585787,_0xbb5ec0,_0x393b1f){return _0x585787(_0xbb5ec0,_0x393b1f);},'LBBQL':_0x51c4a3(-0xe6,-_0x3abca6._0x13ccae,-0x65,-_0x3abca6._0x208c70)+_0x51c4a3(_0x3abca6._0x5636e9,0xc,0x16,0x8d),'ZkIzK':_0x92854(_0x3abca6._0x1784cf,0x214,0x243,_0x3abca6._0x2a4e07)+_0x51c4a3(-0x72,-0x44,-0x75,-0x35)+'tar'};function _0x51c4a3(_0x82f0fc,_0xfd2103,_0xb3b91a,_0x3c8986){return _0x4c161b(_0x82f0fc-0x162,_0xfd2103-_0x5d3cfc._0x12c145,_0x82f0fc- -_0x5d3cfc._0x592797,_0xfd2103);}function _0x92854(_0x38d0dc,_0xe21588,_0x4b35e5,_0x31cc33){return _0xb2c31e(_0x38d0dc-0x14d,_0x4b35e5-0x99,_0x4b35e5-_0x1a5134._0x7a194a,_0x38d0dc);}try{const _0x21a7fe=await _0x21d622[_0x92854(0x1ba,_0x3abca6._0x5e728d,_0x3abca6._0x438229,0x205)](findUserById,_0x5df367[_0x92854(0x313,0x214,0x286,0x2cf)]['id']);if(_0x21a7fe['avatar']){const _0xcc18bb=_0x50fcd7['join'](AVATARS_DIR,_0x21a7fe[_0x92854(_0x3abca6._0x593d4a,_0x3abca6._0x105452,_0x3abca6._0x55b419,_0x3abca6._0x2a97d1)]);try{if(_0x21d622[_0x51c4a3(-0xc4,-_0x3abca6._0x4e104c,-0x4a,-_0x3abca6._0x1cd9ab)]===_0x21d622[_0x92854(0x327,_0x3abca6._0x4fe3dc,0x2f0,_0x3abca6._0x3cb0c1)]){_0x29cf56[_0x51c4a3(-_0x3abca6._0x3812ef,-0xdc,-_0x3abca6._0x33a72b,-_0x3abca6._0x292383)](_0x21d622[_0x92854(_0x3abca6._0x1f0575,_0x3abca6._0x3e5228,0x318,0x364)],_0x414769);const _0x468c86={};_0x468c86['error']=_0x21d622[_0x92854(0x27f,0x224,_0x3abca6._0x3047bb,0x247)],_0x468c86[_0x92854(0x2fb,0x1e7,_0x3abca6._0x5aa676,_0x3abca6._0x46cb0e)]=_0x21d622['ZhZue'],_0x24e857[_0x51c4a3(-0x7a,-_0x3abca6._0x252119,0x19,-0x9a)](0xfc6+-0x6c9+-0x709)[_0x92854(0x21c,0x1d9,_0x3abca6._0x3f8be6,0x279)](_0x468c86);}else await _0x214eb8[_0x51c4a3(-0x13,-_0x3abca6._0x409c86,-_0x3abca6._0x1a63e6,-0x7)](_0xcc18bb);}catch(_0x4703e6){}const _0x5d0b86={};_0x5d0b86[_0x92854(_0x3abca6._0x344a5a,0x28f,0x2fe,0x282)]=null,await _0x21d622['QCLTR'](updateUser,_0x5df367['user']['id'],_0x5d0b86);const _0x373a6d={};_0x373a6d[_0x51c4a3(0x22,_0x3abca6._0x3e10b1,-0x64,-0x39)]=_0x5df367[_0x92854(0x232,_0x3abca6._0x2b70e7,_0x3abca6._0x45b9b4,0x200)]['id'],logger[_0x51c4a3(-_0x3abca6._0xaa689c,-0x48,0x38,-0x82)](_0x21d622[_0x92854(0x2af,0x260,0x27d,0x257)],_0x373a6d);}const _0x48baee={};_0x48baee[_0x92854(_0x3abca6._0x250581,0x2be,_0x3abca6._0x5aa676,0x2c1)]=_0x92854(_0x3abca6._0x361155,0x27e,0x1fc,0x25e)+_0x92854(_0x3abca6._0x4db7f9,_0x3abca6._0x3476eb,0x30e,_0x3abca6._0x343341),_0x1992e6[_0x51c4a3(-_0x3abca6._0xecad28,-0x137,-0x54,-_0x3abca6._0x605b0a)](_0x48baee);}catch(_0x1fc5f5){logger[_0x92854(0x1f0,_0x3abca6._0x2521e4,0x230,_0x3abca6._0x2a97d1)](_0x21d622[_0x51c4a3(_0x3abca6._0x5e9652,-0x4c,-_0x3abca6._0xe03430,0xae)],_0x1fc5f5);const _0x592873={};_0x592873[_0x92854(0x295,_0x3abca6._0x5af682,0x230,0x287)]=_0x21d622['ZkIzK'],_0x1992e6[_0x51c4a3(-_0x3abca6._0xb9b94d,-0xc3,-0x15,-_0x3abca6._0x290b23)](-0x20f5+0x131c+0xfcd)[_0x92854(0x21e,0x23d,0x200,_0x3abca6._0x557d13)](_0x592873);}}),router[_0xb2c31e(0x213,0x1c8,0x1a9,0x17f)](_0xb2c31e(0x13e,0x1b7,0x146,0x24c)+_0xb2c31e(0x2d7,0x273,0x29c,0x1fc),requireAuth,async(_0x35fd96,_0x2e0d23)=>{const _0x530f2c={_0x14a645:0x667,_0x594952:0x4be,_0x4f5a12:0x45e,_0x39ae8f:0x438,_0x9d79f5:0x551,_0x4c3cec:0x60e,_0x479890:0x542,_0x4f0114:0x4a2,_0x182666:0x55a,_0x4aac3a:0x5cf,_0x32b938:0x589,_0x441910:0x5ed,_0x4022d4:0x548,_0x3e54ec:0x5df,_0x18c10e:0x5ba,_0x5ad569:0x5c9,_0x61e8ae:0x577,_0x5ae1d7:0x5bd,_0x143575:0x55b,_0x212593:0x5e1,_0x3f299e:0x5ab,_0xcf8d03:0x558,_0x352721:0x4b5,_0x4e786d:0x495,_0x243b2b:0x4ab,_0xe50d3:0x556,_0x589b15:0x559,_0x147f40:0x50a,_0x285b54:0x54b,_0x5811ce:0x545,_0x2d4a1b:0x647,_0x16a11b:0x66e,_0x42feed:0x564,_0x5e84a8:0x5d9,_0x49224d:0x588,_0x1d099b:0x555,_0x5e9c1a:0x4c2,_0x155c28:0x4c6,_0x34b18f:0x570,_0x37678b:0x5f5,_0xbdb03c:0x574,_0x1913e2:0x5f9,_0x59d202:0x5b8,_0x49edca:0x60c,_0x5e2596:0x54a,_0x3404f5:0x58d,_0x4f35f4:0x5ba,_0x42f6f4:0x5de,_0x2392d9:0x552,_0x47a32c:0x489,_0x3e6fe0:0x505,_0x4db55d:0x54d,_0x537de3:0x5c6,_0xc2962d:0x62b,_0x45cc23:0x5a0,_0x51f0fa:0x4c1,_0x29aade:0x4ac,_0x29f2e4:0x4e2,_0x45097f:0x622,_0x44feae:0x5fc,_0x10af1a:0x612,_0x58aaac:0x5c7,_0x46e5dd:0x4d3,_0x2c9b76:0x551,_0x4e587e:0x59e,_0x13e6d8:0x5ce,_0x317282:0x65d,_0x39011c:0x4ed,_0x50e706:0x50e,_0x236cbd:0x630,_0x29f461:0x590,_0x5872c1:0x513,_0xe781df:0x44a,_0x369058:0x436,_0x40f9e8:0x49f,_0x2748a3:0x442,_0x20d976:0x537,_0x242a13:0x619,_0x2babf6:0x528,_0x3a697f:0x4f2,_0x5b1bfc:0x56e,_0x6cdcc5:0x5bc,_0x412573:0x544,_0xc6d724:0x566,_0x1daf20:0x540,_0x27a6e1:0x65f,_0x450171:0x5dc,_0x6c9af3:0x4a4,_0xa07545:0x430,_0x22183c:0x494,_0x5f3f95:0x4cd,_0x14951a:0x48d,_0x5ecbad:0x4c5,_0x2c799a:0x482,_0x56fef6:0x4ca,_0x4ee2a8:0x43d,_0x4da474:0x4ba,_0x311b11:0x59c,_0x2abff3:0x67e,_0x5a77dc:0x5ed,_0x36ff8:0x59e,_0x2244a4:0x5c1,_0x2e5182:0x4eb,_0x3cc4bf:0x5d7,_0x345809:0x5a8,_0xda5e68:0x631,_0x555940:0x53b,_0x26e0a6:0x4c4,_0x5e27e6:0x534,_0x597acf:0x5d1,_0xe89086:0x598,_0x5d2944:0x4e3,_0x48cf36:0x50d,_0x3961e7:0x5bb,_0x1b1385:0x5ed,_0x34b782:0x5a2,_0x2777a3:0x535,_0xb2e965:0x534,_0x5bab12:0x4e1,_0x5d8540:0x558,_0x274afb:0x4f2,_0x66eccc:0x549,_0x191ab3:0x580,_0x51bc4e:0x54b,_0x359f0e:0x575,_0x339c18:0x5a5,_0x11379f:0x609,_0x2efc50:0x4dc,_0x8a227a:0x668,_0x5a07f0:0x4ba,_0x142dfb:0x4f1,_0x2cb469:0x59d,_0x4ad716:0x620,_0x48d5e5:0x66d,_0x358e91:0x5da,_0x3e7ab7:0x62c,_0x1c634c:0x584,_0xbb19b4:0x4ab,_0x5dd296:0x51e,_0x42da53:0x4e1,_0x34bf6c:0x5b4,_0x1b14a3:0x5cb,_0x196e8e:0x560,_0x14369e:0x5a1,_0x59cbcc:0x47c,_0x536551:0x4bb,_0x4f8305:0x58e,_0x3a59d2:0x5c8,_0x334293:0x5e5,_0x1b7068:0x54e,_0x54e7db:0x4ee,_0x19f93c:0x4c6,_0xf87e77:0x57d,_0x36d26a:0x42b,_0xcd0959:0x42e,_0x413685:0x5cf,_0x4bef26:0x4fb,_0x666461:0x52a,_0xed0b4c:0x573,_0x39f36c:0x5a5,_0x26f25d:0x5cc,_0x15b70e:0x4d4,_0x3c4bfe:0x482,_0x5f3923:0x47e,_0x178db4:0x592,_0x33e298:0x5a4,_0x415fcf:0x56f,_0x17a055:0x4fd,_0x57e644:0x533,_0x5ac913:0x5b6,_0x11ca26:0x582,_0x3556fd:0x56c,_0x20da22:0x4a9,_0x30ebe1:0x532,_0x8188a6:0x5c5,_0x17eab6:0x56a,_0x258411:0x502,_0x5c026d:0x5cb,_0x4667b7:0x4ad,_0x172fa2:0x565,_0xbc7480:0x4a0,_0x187989:0x5fd,_0x3992e7:0x4c1,_0x5f2859:0x4e7},_0x77351c={_0x912bc6:0x209,_0x44fa38:0x183,_0x131acc:0x1ac,_0x1c1e15:0x23a,_0x7b8cd0:0x2a6,_0x33c05a:0x221,_0x5e4809:0x194,_0x2c6476:0x1c7,_0x528f13:0x28b,_0x2cc8aa:0x1b4,_0x21b3c2:0x133,_0x16c4b9:0x190,_0x20c31a:0x217,_0x4fd889:0x235},_0x1145f8={_0x4a89c4:0x101,_0x57cb99:0x311},_0xc896fc={_0x197cb9:0x96,_0x22eaf8:0x39b,_0x499d7a:0x82},_0x3cf462={_0x502069:0x107,_0x167516:0x83};function _0x3efec2(_0x1bcb73,_0x6811b3,_0x593900,_0x128c0c){return _0xb2c31e(_0x1bcb73-_0x3cf462._0x502069,_0x593900-0x2eb,_0x593900-_0x3cf462._0x167516,_0x128c0c);}function _0x1b58c6(_0x3ff2c4,_0x355644,_0xf024cc,_0x334f27){return _0xb2c31e(_0x3ff2c4-_0xc896fc._0x197cb9,_0x334f27-_0xc896fc._0x22eaf8,_0xf024cc-_0xc896fc._0x499d7a,_0xf024cc);}const _0x3d0c90={'VKVwD':function(_0x49f875,_0x4ea419,_0x4e1455,_0x566050){return _0x49f875(_0x4ea419,_0x4e1455,_0x566050);},'zoAPd':_0x1b58c6(_0x530f2c._0x14a645,0x5a3,0x612,0x62c)+_0x3efec2(0x498,_0x530f2c._0x594952,_0x530f2c._0x4f5a12,_0x530f2c._0x39ae8f)+_0x3efec2(0x4aa,0x581,0x4e8,_0x530f2c._0x9d79f5),'iLhUo':_0x1b58c6(0x594,_0x530f2c._0x4c3cec,_0x530f2c._0x479890,0x584)+_0x3efec2(0x498,_0x530f2c._0x4f0114,0x510,_0x530f2c._0x182666),'KEoFv':_0x1b58c6(0x60c,_0x530f2c._0x4aac3a,0x572,_0x530f2c._0x32b938)+_0x1b58c6(_0x530f2c._0x441910,_0x530f2c._0x4022d4,_0x530f2c._0x3e54ec,_0x530f2c._0x18c10e),'ZNBVV':_0x1b58c6(0x572,0x567,0x57e,_0x530f2c._0x5ad569)+'in\x20attempt','gSSOn':_0x3efec2(_0x530f2c._0x61e8ae,_0x530f2c._0x5ae1d7,_0x530f2c._0x143575,0x549)+'ername\x20or\x20'+_0x1b58c6(0x526,_0x530f2c._0x212593,_0x530f2c._0x3f299e,_0x530f2c._0xcf8d03),'gVtuh':_0x3efec2(_0x530f2c._0x352721,0x4d0,_0x530f2c._0x4e786d,_0x530f2c._0x243b2b)+'save\x20sessi'+'on','guXKb':_0x1b58c6(_0x530f2c._0xe50d3,_0x530f2c._0x589b15,_0x530f2c._0x147f40,0x525)+'ed','ffLQd':_0x1b58c6(_0x530f2c._0x285b54,0x4dd,0x4be,_0x530f2c._0x5811ce)+_0x1b58c6(0x697,_0x530f2c._0x2d4a1b,_0x530f2c._0x16a11b,0x601)+'sion','yjqTW':function(_0x5be774,_0x4a3273){return _0x5be774===_0x4a3273;},'ODQbu':'EsqqW','gulxv':function(_0x3218b2,_0x2a60ce){return _0x3218b2(_0x2a60ce);},'wjpPx':function(_0x206a9b,_0x4301e8,_0x5d5eba){return _0x206a9b(_0x4301e8,_0x5d5eba);},'lVcuU':_0x1b58c6(0x5da,_0x530f2c._0x42feed,_0x530f2c._0x5e84a8,_0x530f2c._0x49224d),'tFeSy':function(_0x7dc08f,_0xdba9f5){return _0x7dc08f!==_0xdba9f5;},'gBDuQ':_0x1b58c6(0x632,_0x530f2c._0x1d099b,0x5e1,_0x530f2c._0x5ae1d7)+'t','PSxjq':_0x1b58c6(_0x530f2c._0x5e9c1a,_0x530f2c._0x155c28,_0x530f2c._0x34b18f,0x519),'MCuwI':_0x1b58c6(0x5fd,0x5d8,_0x530f2c._0x37678b,_0x530f2c._0xbdb03c),'BiOWz':_0x1b58c6(0x53d,0x52f,_0x530f2c._0x1913e2,0x5c4),'uSbbL':function(_0x2cb32b,_0x419d7d,_0x2531b7){return _0x2cb32b(_0x419d7d,_0x2531b7);},'TobTy':_0x1b58c6(0x681,0x581,_0x530f2c._0x59d202,0x61b),'VHTTf':'ZQobI','gLzTT':function(_0xe4972c,_0x352ebc){return _0xe4972c!==_0x352ebc;},'opGsE':function(_0x301f56,_0x17317d){return _0x301f56(_0x17317d);},'FomKE':function(_0x5c59f9,_0x54dbc3){return _0x5c59f9>_0x54dbc3;},'QZmSc':function(_0x5a02b2,_0x1ef98a){return _0x5a02b2!==_0x1ef98a;},'Kfvmc':_0x1b58c6(_0x530f2c._0x49edca,0x5a5,_0x530f2c._0x14a645,0x625),'ucsii':_0x3efec2(0x57e,0x5ad,0x538,0x4d2),'DLsWI':_0x3efec2(0x4b7,0x42d,0x495,0x4d8)+_0x3efec2(0x59f,_0x530f2c._0x5e2596,0x57b,_0x530f2c._0x3404f5)+_0x1b58c6(_0x530f2c._0x4f35f4,0x664,0x64c,0x60a)};try{if(_0x3d0c90[_0x1b58c6(_0x530f2c._0x42f6f4,0x52f,_0x530f2c._0x2392d9,0x5ab)](_0x3d0c90[_0x3efec2(_0x530f2c._0x47a32c,0x534,_0x530f2c._0x3e6fe0,_0x530f2c._0x4db55d)],'EsqqW')){const _0x73a61f=_0x35fd96[_0x1b58c6(_0x530f2c._0x537de3,0x545,0x51b,0x588)]['id'],_0x2aec16=await _0x3d0c90[_0x1b58c6(_0x530f2c._0x479890,0x53b,_0x530f2c._0xc2962d,_0x530f2c._0x45cc23)](getTeamsByUserId,_0x73a61f),_0x50b945=await Promise[_0x3efec2(_0x530f2c._0x51f0fa,_0x530f2c._0x29aade,0x4a5,_0x530f2c._0x29f2e4)](_0x2aec16[_0x1b58c6(0x670,_0x530f2c._0x45097f,0x5e8,_0x530f2c._0x44feae)](async _0x3bf4d7=>{const _0x208e3c={_0x221332:0x4b,_0x40cc8a:0xb7},_0x16826f=await _0x3d0c90[_0x559cab(_0x77351c._0x912bc6,_0x77351c._0x44fa38,_0x77351c._0x131acc,0x126)](hasPermission,_0x73a61f,_0x3d0c90[_0x559cab(_0x77351c._0x1c1e15,0x1c9,0x13e,0x18f)],_0x3bf4d7['id']),_0x40bc36={};function _0x188e64(_0x30768f,_0x53b3f9,_0x1c124c,_0x4970ad){return _0x1b58c6(_0x30768f-_0x1145f8._0x4a89c4,_0x53b3f9-0x1e6,_0x30768f,_0x1c124c- -_0x1145f8._0x57cb99);}_0x40bc36['id']=_0x3bf4d7['id'];function _0x559cab(_0x372a80,_0x9ccc31,_0xe9c795,_0x497170){return _0x3efec2(_0x372a80-_0x208e3c._0x221332,_0x9ccc31-_0x208e3c._0x40cc8a,_0x9ccc31- -0x348,_0xe9c795);}return _0x40bc36[_0x559cab(_0x77351c._0x7b8cd0,_0x77351c._0x33c05a,_0x77351c._0x5e4809,_0x77351c._0x2c6476)]=_0x3bf4d7[_0x559cab(_0x77351c._0x528f13,0x221,0x1cb,0x1b7)],_0x40bc36[_0x559cab(0x1ea,_0x77351c._0x2cc8aa,_0x77351c._0x21b3c2,_0x77351c._0x16c4b9)+_0x559cab(0x294,_0x77351c._0x20c31a,_0x77351c._0x4fd889,0x232)]=_0x16826f,_0x40bc36;})),_0x152774=new Map(),_0x41fd0b=await _0x3d0c90['wjpPx'](getBindingsBySubject,_0x3d0c90[_0x1b58c6(_0x530f2c._0x10af1a,0x579,_0x530f2c._0x58aaac,0x603)],_0x73a61f);for(const _0x266397 of _0x41fd0b){if(_0x3d0c90[_0x3efec2(0x4e1,_0x530f2c._0x46e5dd,0x544,_0x530f2c._0x2c9b76)](_0x266397[_0x1b58c6(_0x530f2c._0x4e587e,0x691,_0x530f2c._0x13e6d8,0x608)+'ype'],_0x3d0c90['gBDuQ'])||!_0x266397['resource_i'+'d'])continue;const _0x27b501=await getRoleById(_0x266397['role_id']),_0x50aa86=_0x27b501?_0x27b501[_0x1b58c6(_0x530f2c._0x317282,0x5fe,0x589,0x619)]:_0x266397['role_id'],_0x1b4b00=_0x27b501?_0x27b501['permission'+'s'][_0x3efec2(0x446,0x482,0x4dc,_0x530f2c._0x39011c)]:0xcc7+-0x147+-0x1*0xb80,_0x4e7dff=_0x152774['get'](_0x266397[_0x1b58c6(_0x530f2c._0x50e706,_0x530f2c._0x236cbd,0x52e,0x5a2)+'d']);(!_0x4e7dff||_0x1b4b00>_0x4e7dff[_0x1b58c6(0x67f,_0x530f2c._0x29f461,0x5af,0x5e9)+_0x3efec2(0x4ed,0x4c7,0x54f,_0x530f2c._0x5872c1)])&&_0x152774[_0x3efec2(_0x530f2c._0xe781df,_0x530f2c._0x369058,_0x530f2c._0x40f9e8,_0x530f2c._0x2748a3)](_0x266397[_0x1b58c6(0x5f3,_0x530f2c._0x20d976,_0x530f2c._0x242a13,0x5a2)+'d'],{'name':_0x266397[_0x3efec2(_0x530f2c._0x2babf6,0x46a,_0x530f2c._0x3a697f,0x54f)+'d'],'roleName':_0x50aa86,'rolePermCount':_0x1b4b00,'via':_0x3d0c90[_0x3efec2(0x56b,0x5d1,_0x530f2c._0x589b15,_0x530f2c._0x5b1bfc)]});}for(const _0x1f04f4 of _0x2aec16){if(_0x3d0c90[_0x3efec2(_0x530f2c._0x6cdcc5,0x4e6,_0x530f2c._0x412573,_0x530f2c._0xc6d724)](_0x3d0c90[_0x3efec2(0x5b0,0x573,_0x530f2c._0x1daf20,0x5aa)],_0x3d0c90['BiOWz'])){const _0x5c116f=await _0x3d0c90[_0x1b58c6(0x595,0x612,_0x530f2c._0x27a6e1,_0x530f2c._0x450171)](getBindingsBySubject,_0x3d0c90['TobTy'],_0x1f04f4['id']);for(const _0x94a072 of _0x5c116f){if(_0x3d0c90[_0x3efec2(_0x530f2c._0x6c9af3,_0x530f2c._0xa07545,0x4c5,_0x530f2c._0x22183c)]!==_0x3d0c90[_0x3efec2(_0x530f2c._0x5f3f95,_0x530f2c._0x14951a,_0x530f2c._0x5ecbad,0x4b3)]){const _0x2d9e9e={};return _0x2d9e9e[_0x3efec2(0x430,0x4b5,_0x530f2c._0x2c799a,_0x530f2c._0x56fef6)]=_0x3d0c90['iLhUo'],_0x59fe9b[_0x3efec2(0x431,_0x530f2c._0x4ee2a8,_0x530f2c._0x4da474,0x445)](-0x10a4+0x6ac+-0xb8c*-0x1)['json'](_0x2d9e9e);}else{if(_0x3d0c90[_0x1b58c6(0x641,_0x530f2c._0x311b11,_0x530f2c._0x2abff3,_0x530f2c._0x5a77dc)](_0x94a072['resource_t'+_0x1b58c6(_0x530f2c._0x36ff8,_0x530f2c._0x2244a4,0x5df,_0x530f2c._0x3e54ec)],_0x3d0c90[_0x3efec2(0x4f5,_0x530f2c._0x285b54,_0x530f2c._0x2e5182,0x4aa)])||!_0x94a072[_0x1b58c6(0x5d5,0x539,_0x530f2c._0x20d976,0x5a2)+'d'])continue;const _0x5d7064=await _0x3d0c90[_0x1b58c6(_0x530f2c._0x3cc4bf,0x5f0,0x4e4,0x55c)](getRoleById,_0x94a072['role_id']),_0x3d54b4=_0x5d7064?_0x5d7064[_0x1b58c6(0x649,_0x530f2c._0x345809,_0x530f2c._0xda5e68,_0x530f2c._0x242a13)]:_0x94a072[_0x1b58c6(_0x530f2c._0x555940,_0x530f2c._0x26e0a6,_0x530f2c._0x5e27e6,0x524)],_0x20ff77=_0x5d7064?_0x5d7064[_0x1b58c6(0x5ea,0x5e1,0x544,0x5d3)+'s'][_0x3efec2(0x48b,0x4e3,0x4dc,0x55f)]:0x8f*-0x36+-0xf66+0x2d90,_0x1bf33f=_0x1b58c6(_0x530f2c._0x597acf,_0x530f2c._0xe89086,0x691,_0x530f2c._0x45097f)+_0x1f04f4[_0x1b58c6(_0x530f2c._0x3e54ec,0x6ab,0x593,0x619)],_0x56abd5=_0x152774[_0x3efec2(_0x530f2c._0x5d2944,_0x530f2c._0x48cf36,0x4b3,0x466)](_0x94a072[_0x1b58c6(_0x530f2c._0x3961e7,_0x530f2c._0x1b1385,_0x530f2c._0xe89086,_0x530f2c._0x34b782)+'d']);(!_0x56abd5||_0x3d0c90[_0x3efec2(0x49b,_0x530f2c._0x2777a3,0x4c3,0x502)](_0x20ff77,_0x56abd5[_0x3efec2(0x5b4,0x561,0x539,_0x530f2c._0xb2e965)+'unt']))&&_0x152774['set'](_0x94a072[_0x3efec2(_0x530f2c._0x5bab12,_0x530f2c._0x5d8540,_0x530f2c._0x274afb,_0x530f2c._0x66eccc)+'d'],{'name':_0x94a072[_0x3efec2(0x506,_0x530f2c._0x191ab3,_0x530f2c._0x274afb,_0x530f2c._0x51bc4e)+'d'],'roleName':_0x3d54b4,'rolePermCount':_0x20ff77,'via':_0x56abd5?.['via']===_0x3d0c90[_0x1b58c6(0x5e1,_0x530f2c._0x359f0e,_0x530f2c._0x339c18,_0x530f2c._0x11379f)]?'direct':_0x1bf33f});}}}else{const _0x59e475={};return _0x59e475[_0x1b58c6(0x56d,_0x530f2c._0x6c9af3,_0x530f2c._0x2efc50,0x532)]=_0x3d0c90[_0x1b58c6(_0x530f2c._0x8a227a,0x615,0x62d,0x605)],_0xa9ff39[_0x3efec2(0x4cf,_0x530f2c._0x4f0114,_0x530f2c._0x5a07f0,_0x530f2c._0x142dfb)](0x178*0x1a+-0xb*-0xf4+-0x2f1c)['json'](_0x59e475);}}const _0x514870=[..._0x152774[_0x1b58c6(_0x530f2c._0x2cb469,0x4ce,0x5cc,0x550)]()][_0x1b58c6(_0x530f2c._0x4ad716,0x5db,0x5ea,0x5fc)](({rolePermCount:_0x1853a0,..._0x40b9c8})=>_0x40b9c8),_0x1ca79a={};_0x1ca79a[_0x1b58c6(_0x530f2c._0x48d5e5,0x548,0x614,_0x530f2c._0x358e91)]=_0x50b945,_0x1ca79a[_0x1b58c6(0x576,_0x530f2c._0x3e7ab7,_0x530f2c._0x1c634c,0x5bd)+'ts']=_0x514870,_0x2e0d23[_0x3efec2(0x4a1,0x3fc,0x452,_0x530f2c._0xbb19b4)](_0x1ca79a);}else{const _0x1129ba={};_0x1129ba[_0x3efec2(0x451,_0x530f2c._0x5dd296,_0x530f2c._0x42da53,0x4f8)]=_0x2c295b,_0x2f6ee3[_0x1b58c6(_0x530f2c._0x34bf6c,_0x530f2c._0x1b14a3,_0x530f2c._0x196e8e,_0x530f2c._0x14369e)](_0x3d0c90[_0x3efec2(0x505,_0x530f2c._0x59cbcc,0x507,0x580)],_0x1129ba);const _0x54c651={};return _0x54c651[_0x3efec2(0x491,0x4f5,0x482,_0x530f2c._0x536551)]=_0x3efec2(0x5c7,_0x530f2c._0x4f8305,0x548,_0x530f2c._0x3a59d2)+_0x1b58c6(_0x530f2c._0x334293,0x54b,0x4e3,_0x530f2c._0x1b7068)+'d',_0x54c651[_0x3efec2(0x4bf,0x548,0x4be,_0x530f2c._0x54e7db)]=_0x3d0c90[_0x3efec2(_0x530f2c._0x4f8305,_0x530f2c._0x19f93c,0x4fa,_0x530f2c._0xf87e77)],_0x55055e[_0x3efec2(_0x530f2c._0x36d26a,_0x530f2c._0xcd0959,0x4ba,0x43b)](-0x6a7+-0x1d4d*0x1+0x2585)['json'](_0x54c651);}}catch(_0x452342){if(_0x3d0c90[_0x1b58c6(0x59e,0x5f5,_0x530f2c._0x597acf,_0x530f2c._0x413685)](_0x3d0c90[_0x1b58c6(0x4cb,_0x530f2c._0x4bef26,_0x530f2c._0x666461,0x514)],_0x3d0c90[_0x1b58c6(0x5e7,_0x530f2c._0xed0b4c,_0x530f2c._0x39f36c,_0x530f2c._0x26f25d)])){logger[_0x3efec2(_0x530f2c._0x15b70e,0x4fe,_0x530f2c._0x3c4bfe,_0x530f2c._0x5f3923)](_0x1b58c6(0x560,0x5d0,_0x530f2c._0x178db4,0x545)+_0x1b58c6(_0x530f2c._0x33e298,0x556,_0x530f2c._0x415fcf,0x5ec)+_0x3efec2(_0x530f2c._0x17a055,0x517,_0x530f2c._0x57e644,_0x530f2c._0x5ac913)+_0x3efec2(0x4cf,0x5ac,0x52b,_0x530f2c._0x11ca26),_0x452342);const _0x25a49a={};_0x25a49a[_0x1b58c6(_0x530f2c._0x3556fd,0x4fd,_0x530f2c._0x20da22,_0x530f2c._0x30ebe1)]=_0x3d0c90[_0x1b58c6(0x550,0x5ec,_0x530f2c._0x8188a6,0x5a3)],_0x2e0d23[_0x1b58c6(0x56f,0x5ea,0x5ba,_0x530f2c._0x17eab6)](0x39*-0xa3+0x266b+-0x2c)[_0x1b58c6(0x597,0x4fb,0x4b4,_0x530f2c._0x258411)](_0x25a49a);}else{_0x5338db[_0x1b58c6(0x565,_0x530f2c._0x5c026d,_0x530f2c._0x20da22,0x532)](_0x3d0c90[_0x3efec2(0x560,0x57c,0x574,0x506)],_0x112bb9);const _0x2ca621={};return _0x2ca621[_0x1b58c6(_0x530f2c._0x4667b7,_0x530f2c._0x172fa2,_0x530f2c._0xbc7480,0x532)]=_0x3d0c90['guXKb'],_0x2ca621[_0x3efec2(0x4ee,0x4a8,_0x530f2c._0x594952,0x460)]=_0x3d0c90['ffLQd'],_0x1de620[_0x1b58c6(_0x530f2c._0x187989,_0x530f2c._0xed0b4c,_0x530f2c._0x589b15,0x56a)](-0x1587+-0x207a+-0xb31*-0x5)[_0x1b58c6(_0x530f2c._0x3992e7,0x535,_0x530f2c._0x5f2859,0x502)](_0x2ca621);}}});export default router;
|