@profoundlogic/coderflow-server 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/dist/coder-server.js +1 -1
  2. package/dist/config.js +1 -1
  3. package/dist/lib/agent-keepalive.js +1 -1
  4. package/dist/lib/agent-models.js +1 -1
  5. package/dist/lib/api-keys.js +1 -1
  6. package/dist/lib/apiKeys.js +1 -1
  7. package/dist/lib/app-server-ports.js +1 -1
  8. package/dist/lib/auto-judge.js +1 -1
  9. package/dist/lib/automation-service.js +1 -1
  10. package/dist/lib/basic-auth.js +1 -1
  11. package/dist/lib/bindings.js +1 -1
  12. package/dist/lib/build-history.js +1 -1
  13. package/dist/lib/build-output-service.js +1 -1
  14. package/dist/lib/build-scheduler.js +1 -1
  15. package/dist/lib/build-service.js +1 -1
  16. package/dist/lib/ca-certificates.js +1 -1
  17. package/dist/lib/claude-oauth-refresh.js +1 -1
  18. package/dist/lib/cli/build.js +1 -1
  19. package/dist/lib/cli/cleanup-users.js +1 -1
  20. package/dist/lib/cli/config-command.js +1 -1
  21. package/dist/lib/cli/config.js +1 -1
  22. package/dist/lib/cli/create-user.js +1 -1
  23. package/dist/lib/cli/grant-admin.js +1 -1
  24. package/dist/lib/cli/init.js +1 -1
  25. package/dist/lib/cli/jira.js +1 -1
  26. package/dist/lib/cli/license.js +1 -1
  27. package/dist/lib/cli/list-roles.js +1 -1
  28. package/dist/lib/cli/list-users.js +1 -1
  29. package/dist/lib/cli/server-manager.js +1 -1
  30. package/dist/lib/cli/set-password.js +1 -1
  31. package/dist/lib/compression-filter.js +1 -1
  32. package/dist/lib/config-migration.js +1 -1
  33. package/dist/lib/container-credential-sync.js +1 -1
  34. package/dist/lib/container-tokens.js +1 -1
  35. package/dist/lib/data-dir.js +1 -1
  36. package/dist/lib/deployment-history.js +1 -1
  37. package/dist/lib/deployment-service.js +1 -1
  38. package/dist/lib/docker-utils.js +1 -1
  39. package/dist/lib/email.js +1 -1
  40. package/dist/lib/emailTemplates.js +1 -1
  41. package/dist/lib/entitlement.js +1 -1
  42. package/dist/lib/external-connections.js +1 -1
  43. package/dist/lib/fetch-utils.js +1 -1
  44. package/dist/lib/git-commit-details-route.js +1 -1
  45. package/dist/lib/git-history-diff-guardrails.js +1 -1
  46. package/dist/lib/git-provider-service.js +1 -1
  47. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  48. package/dist/lib/git-provider-setup/index.js +1 -1
  49. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  50. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  51. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  52. package/dist/lib/git-providers/github-app-provider.js +1 -1
  53. package/dist/lib/git-providers/index.js +1 -1
  54. package/dist/lib/git-providers/provider-factory.js +1 -1
  55. package/dist/lib/git-providers/provider-interface.js +1 -1
  56. package/dist/lib/github-urls.js +1 -1
  57. package/dist/lib/group-objective-linking.js +1 -1
  58. package/dist/lib/ibmi-sync.js +1 -1
  59. package/dist/lib/jira-client.js +1 -1
  60. package/dist/lib/judge-blinding.js +1 -1
  61. package/dist/lib/logger.js +1 -1
  62. package/dist/lib/memory-utils.js +1 -1
  63. package/dist/lib/migration-to-scoped-rbac.js +1 -1
  64. package/dist/lib/model-fetcher.js +1 -1
  65. package/dist/lib/notifications.js +1 -1
  66. package/dist/lib/objective-context.js +1 -1
  67. package/dist/lib/oidc-auth.js +1 -1
  68. package/dist/lib/oidc-device-flow.js +1 -1
  69. package/dist/lib/passwordTokens.js +1 -1
  70. package/dist/lib/permission-resolver.js +1 -1
  71. package/dist/lib/pin-cascade.js +1 -1
  72. package/dist/lib/provider-accounts.js +1 -1
  73. package/dist/lib/provider-oauth.js +1 -1
  74. package/dist/lib/provider-profile.js +1 -1
  75. package/dist/lib/provider-token-refresh.js +1 -1
  76. package/dist/lib/rbac-user-state.js +1 -1
  77. package/dist/lib/request-url.js +1 -1
  78. package/dist/lib/rewind.js +1 -1
  79. package/dist/lib/role-definitions.js +1 -1
  80. package/dist/lib/roles.js +1 -1
  81. package/dist/lib/secrets.js +1 -1
  82. package/dist/lib/setup-repo-git-auth.js +1 -1
  83. package/dist/lib/state-capture.js +1 -1
  84. package/dist/lib/static-files.js +1 -1
  85. package/dist/lib/task-aliases.js +1 -1
  86. package/dist/lib/task-container-init.js +1 -1
  87. package/dist/lib/task-context-usage.js +1 -1
  88. package/dist/lib/task-name-format.js +1 -1
  89. package/dist/lib/task-name-generator.js +1 -1
  90. package/dist/lib/task-source-metadata.js +1 -1
  91. package/dist/lib/teams.js +1 -1
  92. package/dist/lib/user-git-oauth.js +1 -1
  93. package/dist/lib/user-git-tokens.js +1 -1
  94. package/dist/lib/users.js +1 -1
  95. package/dist/middleware/requireAuth.js +1 -1
  96. package/dist/middleware/requireInit.js +1 -1
  97. package/dist/middleware/requirePermission.js +1 -1
  98. package/dist/package.json +1 -1
  99. package/dist/playwright.config.js +1 -1
  100. package/dist/playwright.task-terminal.config.js +1 -1
  101. package/dist/routes/apiKeys.js +1 -1
  102. package/dist/routes/auth-oidc.js +1 -1
  103. package/dist/routes/auth.js +1 -1
  104. package/dist/routes/automations.js +1 -1
  105. package/dist/routes/bindings.js +1 -1
  106. package/dist/routes/build.js +1 -1
  107. package/dist/routes/containers.js +1 -1
  108. package/dist/routes/deploy-task.js +1 -1
  109. package/dist/routes/environment-management.js +1 -1
  110. package/dist/routes/environments.js +1 -1
  111. package/dist/routes/external-skills.js +1 -1
  112. package/dist/routes/git-credentials.js +1 -1
  113. package/dist/routes/git-oauth.js +1 -1
  114. package/dist/routes/git-provider-setup.js +1 -1
  115. package/dist/routes/health.js +1 -1
  116. package/dist/routes/jira.js +1 -1
  117. package/dist/routes/logs.js +1 -1
  118. package/dist/routes/objective-management.js +1 -1
  119. package/dist/routes/password.js +1 -1
  120. package/dist/routes/prompt.js +1 -1
  121. package/dist/routes/provider-auth.js +1 -1
  122. package/dist/routes/qa.js +1 -1
  123. package/dist/routes/roles.js +1 -1
  124. package/dist/routes/settings.js +1 -1
  125. package/dist/routes/skill-management.js +1 -1
  126. package/dist/routes/skills.js +1 -1
  127. package/dist/routes/stats.js +1 -1
  128. package/dist/routes/tasks.js +1 -1
  129. package/dist/routes/teams.js +1 -1
  130. package/dist/routes/templates.js +1 -1
  131. package/dist/routes/test-task.js +1 -1
  132. package/dist/routes/test.js +1 -1
  133. package/dist/routes/users.js +1 -1
  134. package/dist/routes/visualizations.js +1 -1
  135. package/dist/scripts/create-user.js +1 -1
  136. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  137. package/dist/start.js +1 -1
  138. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  139. package/dist/web-ui/public/activity-feed.js +1 -1
  140. package/dist/web-ui/public/activity-formatters.js +1 -1
  141. package/dist/web-ui/public/admin.js +1 -1
  142. package/dist/web-ui/public/agent-event-parser.js +1 -1
  143. package/dist/web-ui/public/app.js +1 -1
  144. package/dist/web-ui/public/approve-dialog.js +1 -1
  145. package/dist/web-ui/public/automation-links.js +1 -1
  146. package/dist/web-ui/public/automation-schedule.js +1 -1
  147. package/dist/web-ui/public/comments-widget.js +1 -1
  148. package/dist/web-ui/public/diff-utils.js +1 -1
  149. package/dist/web-ui/public/environments.html +19 -0
  150. package/dist/web-ui/public/environments.js +1 -1
  151. package/dist/web-ui/public/feedback-widget.js +1 -1
  152. package/dist/web-ui/public/file-selection-tree.js +1 -1
  153. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  154. package/dist/web-ui/public/git-history.js +1 -1
  155. package/dist/web-ui/public/git-status.js +1 -1
  156. package/dist/web-ui/public/ibmi-file-filter.js +1 -1
  157. package/dist/web-ui/public/index.js +1 -1
  158. package/dist/web-ui/public/login.js +1 -1
  159. package/dist/web-ui/public/markdown-editor.js +1 -1
  160. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  161. package/dist/web-ui/public/modal-maximize.js +1 -1
  162. package/dist/web-ui/public/notifications.js +1 -1
  163. package/dist/web-ui/public/permissions.js +1 -1
  164. package/dist/web-ui/public/pr-dialog.js +1 -1
  165. package/dist/web-ui/public/roles.js +1 -1
  166. package/dist/web-ui/public/settings.js +1 -1
  167. package/dist/web-ui/public/setup-password.js +1 -1
  168. package/dist/web-ui/public/skills.js +1 -1
  169. package/dist/web-ui/public/sse-client.js +1 -1
  170. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  171. package/dist/web-ui/public/styles.css +10 -0
  172. package/dist/web-ui/public/task-judging-helpers.js +1 -1
  173. package/dist/web-ui/public/task.js +1 -1
  174. package/dist/web-ui/public/teams.js +1 -1
  175. package/dist/web-ui/public/terminal.js +1 -1
  176. package/dist/web-ui/public/theme.js +1 -1
  177. package/dist/web-ui/public/users.js +1 -1
  178. package/dist/web-ui/public/variant-grouping.js +1 -1
  179. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x3f92(){const _0x1c4049=['A2vU','ntaWmJC4mNL6vhv3Dq','Dxn0igjLigf0ia','shvPsxK','zw1HAwXtzw50','tg1otu0','r1fYEwu','sw52ywXPzcbVCG','yNDkv0O','l2nYzwf0zs10BW','AfDVsxm','Dg9Rzw5uExbL','Cgfuz0K','C2v0Dxa','ze1zywG','vMHIC1G','u01uucbPCYbUBW','zgf0yq','s3jSzKu','D2rXyMS','l3zHBgLKyxrLlq','BfPgEei','BMqGzw1HAwXZlG','Dg9Rzw4','uM91DgvY','zgPfsg4','q1L4suy','DKnAB1i','mZK0ndyWmfLAAgzRrG','zNvSBhK','CefOB0q','z05qEw0','Dg9Rzw5jza','vxnLCIbjrcbPCW','tNvzy2C','zxr1CcbLBwfPBa','z2v0','y0zmwwy','Bxryq1O','DLbqDhC','qxj5u2q','yxjHy3rLCNm','CgfZC3DVCMqTCG','BK5RCKy','ihnLBNq','AfnWsuW','zMLN','y29UzMLNDxjHDa','zxf1AxjLza','DgfYz2v0vxnLCG','sM5pAgq','CLHMCfO','vNHIENa','DMfSAwrHDguGDa','AwWGC2vUDcb0BW','ig9YicjYzxnLDa','ww5xvxK','vgzdrNu','CgLLBui','A2vKihn1y2nLCW','z0HPuNO','zwqUifbSzwfZzq','ugfZC3DVCMqGDa','DwTMzMi','yw1L','wLnXCgS','zw1HAwXfCNjVCG','uwXHuxq','vvbmvva','BgvUz3rO','lIbqBgvHC2uGyW','z3P4AfK','ihnLDcb1Ccbttq','nYbKyxLZ','nwDqAgvHBq','zxr1Ca','mtCXtKzsyxbt','ALPmuwG','BhLxBvC','rMfPBgvKihrVia','q3v0z2K','BwH5ANO','zwqGyw5KigvTyq','Aw9Uihn0yxr1CW','DxnLCM5HBwu','tfnMuMi','B3vUza','y29UzMLNihn0yq','CgfYyw1Z','p3rVA2vUpq','A2vK','twvfCLu','DcbJB25MAwD1CG','nJqYmJeXvK96rMPc','ELPRDei','DgvTCgXHDgu','sxHetKC','u2n3weK','tfzAyKC','ANnVBG','uhHIzvq','B2TLBNm','ugnjreC','DxnLCKLK','C2vUzevTywLS','igv4CgLYzwqGDa','vhLWzsbTDxn0ia','vg9Rzw4GCMv2BW','uuLSvwC','ruLODgO','ENbVEeC','B1nKA3y','ywrTAw5jza','C3DVCMqGDg9Rzq','EhfdAhq','C3rHDhvZ','Dvj1CM8','nJi0mdHIs1DUtgS','s25gv24','Aezxz2K','uLDvyK4','C2v0DxbvCMW','CgfZC3DVCMqTCW','u1bcuey','vfaGzw52AxjVBG','CMvZzxq','sMTdCwy','sejRBu4','ode4ndb3BhvOANC','C2vYswq','Cg9ZDa','CNnpt3q','y3jLyxrLihbHCW','DhvZ','CuDNwgy','y29UzMLNDxjLza','CgfZC3DVCMqGyq','q3P1sfG','CxvLCNK','B2TLBIbJCMvHDa','t2H1teO','q3fSvei','l3rVA2vUCY86Da','mZb3BK5Oueq','ywrTAw5vC2vYBG','BMSGBwfUDwfSBa','D2TIzvy','l3rVA2vUCY86Dq','DgruzuO','BMfTzq','rw1HAwWGBM90ia','z2v0ihvZzxiGDa','CMv2B2TLihrVAW','BwvZC2fNzq','yM9KEq','DM1xEve','zxHWAxjLC0LU','Dg9Rzw5Z','sgfkA04','zxjYB3i','uhHbq0u','BNjguxC','qLbkrhm','ndqXmZGWneLTywvcAq','DxnLCG','quvps2O','vfr4vMC','CeLIuw8','zw1HAwW','AMX1t2y','DMfSAwq','C3DVCMqUAhrTBa','zxHWAxjLC19HDa','CfzACNK','uMDbquq','qLj4EMS','ugfZC3DVCMqGBq','EwH3uhC','vg9Rzw4Gyw5Kia','DK5fyuq','u0fUvhu','z2v0igvTywLSia','ELzSu24','wwXlseS','vMvAvhi','ve5Sq0y','EMDoEfy','zMXbD0i','mtiXndKYmfzlt2POyW','B2TLBG','B3b5ihrOzsbSAq','sfv5z1O','uffUEhG','yxjhEMK','CMuGCMvXDwLYzq','u0XuzvG','DeTODhm','C2v0ihbHC3n3BW','vxnLCIbUB3qGzG','ndbpCMHkA28','l3nLDhvW','y1bABKm','DhLWzq','DxnLCK5HBwu','C2vUzcbWyxnZDW','Aw5MBW','ugfZC3DVCMqGCW','l3nLDhvWlxbHCW','wgzUBvq','q3vPCvq','yMuGiNnLDhvWiG','Aw5JBhvKzxm','EezLDhO','ihjLCxvPCMvK'];_0x3f92=function(){return _0x1c4049;};return _0x3f92();}(function(_0x12f22f,_0x198a92){const _0x172857={_0x235e79:0x338,_0x4dde2a:0x4a0,_0x4acac9:0x48c,_0x611dc:0x496,_0x15fea4:0x3a2,_0x2309bf:0x30c,_0x5752c1:0x451,_0x1406a5:0x40d,_0x5d16aa:0x25c,_0x32b312:0x2ce,_0x1bf96d:0x2c1,_0x5bdfb5:0x481,_0x563a26:0x430,_0x55dc02:0x455,_0x16f2d0:0x2cc,_0x400e40:0x33d,_0x2c4d9b:0x2f7},_0x2e2858={_0x54cf45:0x2df};function _0x2cc70d(_0x10162c,_0x1541e8,_0x1eb181,_0x3e7753){return _0x47dc(_0x1541e8-_0x2e2858._0x54cf45,_0x3e7753);}function _0x459826(_0x22b095,_0x524a9b,_0x5f18b5,_0x4a42da){return _0x47dc(_0x4a42da-0x1ae,_0x22b095);}const _0x3bd8ee=_0x12f22f();while(!![]){try{const _0x56d4ba=-parseInt(_0x459826(0x31c,0x37f,0x344,_0x172857._0x235e79))/(0x1fd*0x4+-0x8f*-0x13+0x10*-0x129)+-parseInt(_0x459826(0x346,0x3d1,0x361,0x36a))/(0x2694+-0x25*0xc8+-0x1*0x9aa)*(-parseInt(_0x2cc70d(_0x172857._0x4dde2a,_0x172857._0x4acac9,0x484,_0x172857._0x611dc))/(-0x2065*-0x1+-0x1d47+-0x31b))+-parseInt(_0x459826(0x3b1,0x38c,_0x172857._0x15fea4,0x37e))/(-0x598+-0x8e1+0x1*0xe7d)*(-parseInt(_0x459826(_0x172857._0x2309bf,0x370,0x2d3,0x325))/(0x1bfc+-0x1bfe*0x1+0x7))+parseInt(_0x2cc70d(_0x172857._0x5752c1,_0x172857._0x1406a5,0x3fe,0x453))/(-0x2*0x1172+-0x75*-0x1+0x2275)+parseInt(_0x459826(0x31d,_0x172857._0x5d16aa,_0x172857._0x32b312,_0x172857._0x1bf96d))/(-0x13aa+-0x6e6*0x1+0x8dd*0x3)+-parseInt(_0x2cc70d(0x493,_0x172857._0x5bdfb5,0x4aa,_0x172857._0x563a26))/(-0x11d2+-0x64a*-0x5+0xd98*-0x1)*(-parseInt(_0x2cc70d(0x487,0x458,0x478,_0x172857._0x55dc02))/(-0x21+-0x1a39+0x1a63))+-parseInt(_0x459826(0x313,0x289,0x2be,_0x172857._0x16f2d0))/(-0x2406+0x6db*-0x1+0x2aeb)*(parseInt(_0x459826(0x346,_0x172857._0x400e40,0x2e8,_0x172857._0x2c4d9b))/(-0x1c07*-0x1+0x24c1+-0x40bd));if(_0x56d4ba===_0x198a92)break;else _0x3bd8ee['push'](_0x3bd8ee['shift']());}catch(_0x61699a){_0x3bd8ee['push'](_0x3bd8ee['shift']());}}}(_0x3f92,0xd3194+0x26b*0xae+-0x3b7e*0x19));function _0x4f051d(_0x2c1925,_0x1b149e,_0x41b938,_0x569622){return _0x47dc(_0x1b149e-0x35,_0x41b938);}import _0x1335a7 from'express';import{logger}from'../lib/logger.js';import{requireAuth,requireAdmin}from'../middleware/requireAuth.js';function _0x47dc(_0x4298f4,_0x1d9634){_0x4298f4=_0x4298f4-(0x2615*0x1+-0x1940+-0xbc9);const _0xe1c2f7=_0x3f92();let _0x1c8dc0=_0xe1c2f7[_0x4298f4];if(_0x47dc['wCMXsH']===undefined){var _0x36b676=function(_0x47af89){const _0xcb32c2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x482f07='',_0x2c98e6='';for(let _0x485231=0x21fa+0x2*-0x7a9+-0x12a8,_0x4feb4d,_0x208d12,_0x30556d=0xba1+-0x587*-0x4+0xb3f*-0x3;_0x208d12=_0x47af89['charAt'](_0x30556d++);~_0x208d12&&(_0x4feb4d=_0x485231%(0x3*-0xc95+0x1832+0xd91)?_0x4feb4d*(-0x313*0x1+-0x1004+-0x1357*-0x1)+_0x208d12:_0x208d12,_0x485231++%(0x2*-0xf1b+0xee1*0x2+0x5*0x18))?_0x482f07+=String['fromCharCode'](0x11*-0x1d7+0x2*-0xe95+-0x1eb8*-0x2&_0x4feb4d>>(-(-0x4b*-0x4f+-0x1c*-0x24+0x1*-0x1b13)*_0x485231&0x2680+-0x1529+-0x1151)):0x2226+-0xc2*0xb+-0x19d0){_0x208d12=_0xcb32c2['indexOf'](_0x208d12);}for(let _0x17ea38=-0x1d7*-0xb+-0x1222+0xb*-0x31,_0x139421=_0x482f07['length'];_0x17ea38<_0x139421;_0x17ea38++){_0x2c98e6+='%'+('00'+_0x482f07['charCodeAt'](_0x17ea38)['toString'](-0x18*0x101+0x35f*0x6+-0x3ee*-0x1))['slice'](-(0xb5d+0x7*-0x4f+-0x6b*0x16));}return decodeURIComponent(_0x2c98e6);};_0x47dc['mUnUzE']=_0x36b676,_0x47dc['mfcXlJ']={},_0x47dc['wCMXsH']=!![];}const _0x5cc7a0=_0xe1c2f7[0x7f1*0x2+-0x2191+0x11af],_0x338bbe=_0x4298f4+_0x5cc7a0,_0x584143=_0x47dc['mfcXlJ'][_0x338bbe];return!_0x584143?(_0x1c8dc0=_0x47dc['mUnUzE'](_0x1c8dc0),_0x47dc['mfcXlJ'][_0x338bbe]=_0x1c8dc0):_0x1c8dc0=_0x584143,_0x1c8dc0;}import{getRequestBaseUrl}from'../lib/request-url.js';import{findUserById,setUserPassword}from'../lib/users.js';function _0x53b183(_0x36eaa2,_0xdcc1e6,_0x5628ab,_0x571642){return _0x47dc(_0xdcc1e6- -0x1,_0x571642);}import{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken}from'../lib/passwordTokens.js';import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';const router=_0x1335a7[_0x4f051d(0x1b5,0x17a,0x115,0x160)]();router['get']('/email-con'+_0x53b183(0x18d,0x15a,0x19c,0x130),requireAuth,requireAdmin,async(_0x522700,_0x426b00)=>{const _0x182b12={_0x3fc6c9:0x4db,_0x392a92:0x442,_0x4435d7:0x1c,_0x27a66c:0x4a2,_0x22ce71:0x4b7,_0x51c26e:0x47e,_0x2f54e6:0x482,_0x266d04:0x490,_0x8cc644:0x481,_0x2e0610:0x51,_0x3e894b:0x4e,_0x5b5709:0x67,_0x2d51f2:0x6d,_0x55f38d:0x9d,_0x31b056:0x82,_0xc9b9b7:0x4f6,_0x47e440:0x4b1,_0x568cd1:0x524,_0x4a74a8:0x468,_0x471bbc:0x4ee,_0x3c575b:0x48b,_0x548f52:0x4b6,_0x4ee1d7:0x475},_0x174a00={_0x2bdabf:0x1cd,_0x5e10af:0x10a},_0xbb9cf9={_0x1874b4:0x15a};function _0x59ab77(_0x302475,_0x1be26f,_0x1b402a,_0x75b3fd){return _0x4f051d(_0x302475-_0xbb9cf9._0x1874b4,_0x302475-0x2f1,_0x1b402a,_0x75b3fd-0x1c9);}function _0x5572d5(_0x98394e,_0x3df603,_0x1991e9,_0x21525d){return _0x53b183(_0x98394e-0x77,_0x21525d- -_0x174a00._0x2bdabf,_0x1991e9-_0x174a00._0x5e10af,_0x1991e9);}const _0x2619f2={'Vxbzp':function(_0x5eeeb6){return _0x5eeeb6();},'gNPym':'Failed\x20to\x20'+'get\x20email\x20'+_0x59ab77(0x4aa,0x485,_0x182b12._0x3fc6c9,_0x182b12._0x392a92)+_0x5572d5(-0x3c,-0x67,-0x69,-_0x182b12._0x4435d7),'EIhtj':_0x59ab77(_0x182b12._0x27a66c,_0x182b12._0x22ce71,_0x182b12._0x51c26e,0x48b)+'get\x20email\x20'+_0x59ab77(_0x182b12._0x2f54e6,_0x182b12._0x266d04,0x481,_0x182b12._0x8cc644)+_0x5572d5(-_0x182b12._0x2e0610,-0x66,-0x9f,-_0x182b12._0x3e894b)};try{const _0x55b97b=_0x2619f2[_0x5572d5(-_0x182b12._0x5b5709,-0x6,-0x62,-_0x182b12._0x2d51f2)](getEmailConfigStatus);_0x426b00['json'](_0x55b97b);}catch(_0x5d4b26){logger['error'](_0x2619f2[_0x5572d5(-0xca,-_0x182b12._0x55f38d,-0x6d,-_0x182b12._0x31b056)],_0x5d4b26);const _0x69d1a0={};_0x69d1a0[_0x59ab77(0x4f2,0x4c4,_0x182b12._0xc9b9b7,_0x182b12._0x47e440)]=_0x2619f2[_0x59ab77(0x4c0,_0x182b12._0x568cd1,0x45b,_0x182b12._0x4a74a8)],_0x426b00[_0x59ab77(0x4c6,_0x182b12._0x471bbc,_0x182b12._0x3c575b,0x510)](-0x137b+-0x5*-0x1c2+0xd*0xf9)[_0x59ab77(_0x182b12._0x548f52,0x51e,0x4c9,_0x182b12._0x4ee1d7)](_0x69d1a0);}}),router[_0x4f051d(0x181,0x1e4,0x1f6,0x1e4)](_0x53b183(0x160,0x135,0x116,0x18f)+_0x4f051d(0x183,0x162,0x16d,0x10c),requireAuth,requireAdmin,async(_0x395a4a,_0x5389b2)=>{const _0x1387aa={_0x389feb:0x3a0,_0x9f9ed0:0x260,_0x45d087:0x260,_0x1bdcd8:0x1ee,_0x42e855:0x24a,_0x244ae7:0x238,_0x30f99b:0x419,_0x30eab4:0x3e8,_0x3d7e35:0x426,_0x8bdf9d:0x41e,_0x390c19:0x26f,_0xc785bc:0x23f,_0x1a886d:0x2ba,_0x5646a6:0x21f,_0x30416a:0x286,_0x57fd1c:0x1fb,_0x4e539e:0x230,_0x27bea0:0x439,_0x1c06ad:0x3a4,_0x2ad34b:0x24f,_0x533ebe:0x203,_0x235f9b:0x265,_0x47fc60:0x1b5,_0x137141:0x2bb,_0x38f003:0x2ac,_0x34d98b:0x217,_0x6c525b:0x245,_0xf4a103:0x210,_0x4f7f78:0x200,_0x3f8808:0x1e1,_0x3c4fa0:0x171,_0x18e1c4:0x1b0,_0x1b1e17:0x459,_0x53a896:0x41b,_0x3a5d6b:0x48f,_0x41b8ca:0x4fa,_0x50a67e:0x4ad,_0x11dc32:0x162,_0x1910ec:0x23e,_0x3b0c35:0x455,_0x2524af:0x420,_0x2a63b1:0x436,_0xf24ddb:0x482,_0x227fa7:0x206,_0x4d52a4:0x1e4,_0x1d75e8:0x1d2,_0x1de4d1:0x1c1,_0xe5d5bf:0x23c,_0x2463c1:0x40c,_0x1262ff:0x4a4,_0x5f49c5:0x4de,_0x1dd8fa:0x1c3,_0x568617:0x1a7,_0x5e3c23:0x205,_0x28636d:0x1ac,_0x13fb0e:0x235,_0x162d5f:0x213,_0x405e73:0x22b,_0x559e34:0x242,_0x102e9b:0x431,_0x4e4112:0x425,_0x1476ac:0x42b,_0x4f2b75:0x386,_0xef322f:0x1ff,_0x3f11f1:0x1e3,_0x5cfbbe:0x1f7,_0x44b3c4:0x3ef,_0xc6dba7:0x395,_0x9bbe49:0x3b6,_0x40aaaf:0x20b,_0x2ab7b6:0x223,_0x526632:0x266,_0x4d4881:0x25d,_0x36c15b:0x1be,_0x517c85:0x193,_0x102847:0x4a1,_0x454b79:0x468,_0x2356d7:0x239,_0x403c85:0x43d,_0x2ffe7d:0x4a9,_0x10eb61:0x1dd,_0xd8aa99:0x18b,_0x5ab501:0x193,_0x4a0cd4:0x393,_0x239721:0x1ba,_0x4992d7:0x1f1,_0x269826:0x1ae,_0x303fe3:0x496,_0x19afb1:0x469,_0x25eaa6:0x248,_0x2726e1:0x1a0,_0x627d88:0x190,_0x227cae:0x3d2,_0x5c8c82:0x3fd,_0x44b86f:0x1c6,_0x2789e5:0x1b6,_0x56b1c5:0x219,_0xc8db7a:0x421,_0x57125d:0x3f6,_0x11f24a:0x3e5,_0x4213d2:0x4e3,_0x1c8d96:0x478,_0x43aa15:0x204,_0x5dcdf2:0x476,_0x170f45:0x43c,_0x26f1e3:0x226,_0x5d2397:0x1d5,_0x2ff47b:0x450,_0x3ceeeb:0x4a0,_0x2b686f:0x4f6,_0x42e54d:0x1af,_0x5983ea:0x170,_0x2d7ff8:0x432,_0x424322:0x3e3,_0x10b515:0x200,_0x5d0157:0x215,_0x26f931:0x1fd,_0x1b0d79:0x1bd,_0x333ac4:0x1eb,_0x222d4b:0x228,_0x3f49dd:0x234,_0xf45d88:0x1e0,_0x11a35f:0x1fb,_0x517d49:0x4ea,_0x486666:0x1f2,_0x72b9b7:0x222,_0x7f9745:0x149,_0x491999:0x44d,_0x539f84:0x3ee,_0x14266b:0x27b,_0x5a59f9:0x1c5,_0x257769:0x243,_0xc69904:0x1e6,_0x4b7090:0x440,_0x1688ce:0x475,_0x305941:0x3ea,_0x1a86d1:0x255,_0x31d26d:0x2ab,_0x5454d3:0x214,_0xc1ad42:0x25c,_0x5c30ce:0x224,_0x3533e7:0x25f,_0x368bec:0x25d,_0x4741ff:0x237,_0x2edfde:0x1cc,_0x5d94d2:0x29a,_0x4f7072:0x25a,_0x407a24:0x282,_0x3325c1:0x4a5,_0x472277:0x49c,_0x317662:0x1fd,_0x1c9d3b:0x198,_0x1f9541:0x1d9,_0xdd2b4f:0x1f6,_0x25c620:0x3e2,_0x7947ba:0x1fa,_0x518a57:0x45a,_0x3348e3:0x48e,_0x2bdcd6:0x4a6,_0x43d747:0x46a,_0xe615f4:0x48e,_0x591329:0x437,_0x5e0e0f:0x492,_0x5a05e7:0x46e,_0x519663:0x44b,_0x39008e:0x43b,_0x2c5641:0x420,_0x3db7b0:0x4d0,_0x55b983:0x3f9,_0x392ba1:0x223,_0x55120f:0x186,_0x8d31a5:0x1bf,_0x3e7ff9:0x45f,_0x52788b:0x42f,_0x162ccf:0x25b,_0x41db56:0x297,_0x1ee641:0x2ae,_0xeadc78:0x22e,_0x1390d1:0x3b8,_0x10a327:0x254,_0xacc455:0x1af,_0x5995d1:0x1de,_0x3e71ee:0x183,_0x17d145:0x1c4,_0x10cb3d:0x46c,_0x3e18d6:0x229,_0x774f26:0x41d,_0x12f5c1:0x438,_0x354eed:0x402,_0x56659d:0x177,_0x3b1220:0x1ba,_0x14fe50:0x19b,_0x4cfff4:0x226,_0x2059db:0x19d,_0x49f56e:0x1dd,_0x253ac0:0x17f,_0x382d5e:0x218,_0x49d2d5:0x1a4,_0x53ae01:0x1af,_0x9fd853:0x4da,_0x27253e:0x4c8,_0x2eaacf:0x463,_0x3a0b44:0x3f4,_0x3d29ea:0x414,_0x47bddd:0x4a7,_0x3a25df:0x1a5,_0x2e5af8:0x197,_0x588aa4:0x1a1,_0x1c0e19:0x3ee,_0x1d92c5:0x384,_0x59292c:0x3b9,_0x2695d5:0x1b9,_0x4dd9ac:0x20f,_0x18f07b:0x1f9,_0x2c957d:0x212,_0x220b7e:0x45c,_0x3eb930:0x45e,_0x2a97e4:0x412,_0x32f5c0:0x3f0,_0x1d0e77:0x45d,_0x130af8:0x25a,_0x55da50:0x2bd,_0x10c93b:0x1f0,_0x371afc:0x1d1,_0x5df0bb:0x1ef,_0x2a51b0:0x1b4,_0x4a595f:0x3c0,_0x5250ea:0x3b7,_0x4c3ed7:0x478,_0x169009:0x416,_0x39e3d1:0x184,_0x502bc7:0x1d3,_0x4ce4fd:0x1c7,_0x1dd112:0x454,_0x2d4b69:0x400,_0x1934f2:0x42f,_0x526f1e:0x435,_0x8595a8:0x428,_0x26b2e2:0x1a6,_0x4defa3:0x1f5,_0x5a27e6:0x159,_0x78102a:0x203,_0x3b847c:0x1f1,_0x333744:0x443,_0x1dadf2:0x4b3,_0x36f022:0x257,_0x5ad3f4:0x299,_0x3736b1:0x20e,_0x237be2:0x1d0,_0x1f7ce4:0x1ad,_0x45a5b1:0x1df,_0x546104:0x1e8,_0x2c65aa:0x2c6,_0x4a0c4e:0x4a6,_0x32370c:0x46c,_0x189278:0x4d5,_0xe9441c:0x45f,_0xad560c:0x17a,_0x54240b:0x42d,_0x2aff4f:0x49b,_0x3e63ae:0x40a,_0x32678b:0x3de,_0x1ceea8:0x403,_0x5d15ef:0x274,_0x2621d1:0x25b,_0x195dab:0x446,_0x342332:0x4bb,_0x3cab51:0x4e8,_0x4892d5:0x1c7,_0x25f3c6:0x48d,_0x191881:0x499,_0x1d46e8:0x498,_0x4c1c18:0x4d9,_0x42d959:0x4db,_0x2a3c5d:0x19a,_0x17dc05:0x480},_0x5a3f4b={_0x301744:0x64,_0x17ea65:0x2cd},_0x3db441={_0x3ad814:0x167};function _0x17481f(_0x38b49a,_0x48aba1,_0x1c7744,_0x58d413){return _0x53b183(_0x38b49a-0x193,_0x38b49a- -0x37a,_0x1c7744-_0x3db441._0x3ad814,_0x1c7744);}function _0x4b0706(_0x17862a,_0x356504,_0x28f279,_0x4d20be){return _0x53b183(_0x17862a-_0x5a3f4b._0x301744,_0x356504-_0x5a3f4b._0x17ea65,_0x28f279-0x144,_0x4d20be);}const _0x1ba738={'TfCFu':_0x4b0706(_0x1387aa._0x389feb,0x3e9,0x383,0x3ea)+'ound','ukffb':'Failed\x20to\x20'+'validate\x20t'+_0x17481f(-0x267,-_0x1387aa._0x9f9ed0,-_0x1387aa._0x45d087,-0x22e),'Liblh':_0x17481f(-0x247,-_0x1387aa._0x1bdcd8,-_0x1387aa._0x42e855,-_0x1387aa._0x244ae7)+_0x17481f(-0x1e5,-0x197,-0x1fe,-0x202)+_0x17481f(-0x267,-0x211,-0x287,-0x212),'JkCqf':_0x17481f(-0x1ff,-0x1bc,-0x1a6,-0x1fa)+_0x4b0706(_0x1387aa._0x30f99b,_0x1387aa._0x30eab4,0x3f5,0x402)+'rd','jZLQh':'Failed\x20to\x20'+'get\x20email\x20'+'config\x20sta'+'tus','qGgXf':_0x4b0706(_0x1387aa._0x3d7e35,0x448,_0x1387aa._0x8bdf9d,0x480)+_0x17481f(-_0x1387aa._0x390c19,-0x264,-_0x1387aa._0xc785bc,-_0x1387aa._0x1a886d)+_0x17481f(-_0x1387aa._0x5646a6,-0x1fd,-0x1d3,-_0x1387aa._0x30416a)+_0x17481f(-_0x1387aa._0x57fd1c,-0x250,-0x1bf,-_0x1387aa._0x4e539e),'arGzi':_0x4b0706(_0x1387aa._0x27bea0,0x406,0x3d2,_0x1387aa._0x1c06ad),'vmWyQ':_0x17481f(-0x22d,-0x237,-0x22b,-0x20b)+_0x17481f(-_0x1387aa._0x2ad34b,-_0x1387aa._0x533ebe,-0x262,-_0x1387aa._0x235f9b),'HaJkN':_0x17481f(-0x1e4,-0x1f0,-_0x1387aa._0x47fc60,-0x1dc)+_0x17481f(-0x252,-0x1f9,-_0x1387aa._0x137141,-_0x1387aa._0x38f003)+_0x17481f(-_0x1387aa._0x34d98b,-0x22b,-0x1ad,-_0x1387aa._0x6c525b)+'\x22','QlaQt':function(_0x4ed882,_0x539886){return _0x4ed882(_0x539886);},'ArySd':function(_0x450290,_0x2c6119){return _0x450290!==_0x2c6119;},'pIbQo':'RrAnk','zpoxG':function(_0x429e70,_0x1ae853,_0x5b875f){return _0x429e70(_0x1ae853,_0x5b875f);},'cFLYf':_0x17481f(-_0x1387aa._0xf4a103,-0x207,-_0x1387aa._0x4f7f78,-_0x1387aa._0x3f8808)+_0x17481f(-0x1c3,-_0x1387aa._0x3c4fa0,-0x18b,-_0x1387aa._0x18e1c4)+'ed','wdqbk':function(_0x1c2e54,_0x2d90f9){return _0x1c2e54(_0x2d90f9);},'cPZnC':function(_0x4cdc15){return _0x4cdc15();},'xFetz':function(_0x528511,_0x5c3205){return _0x528511===_0x5c3205;},'XfnmT':_0x4b0706(0x42b,_0x1387aa._0x1b1e17,0x46a,_0x1387aa._0x53a896),'rXfpZ':_0x4b0706(0x460,_0x1387aa._0x3a5d6b,_0x1387aa._0x41b8ca,_0x1387aa._0x50a67e)+_0x17481f(-0x1c7,-_0x1387aa._0x11dc32,-0x20a,-0x225),'tKhts':_0x17481f(-_0x1387aa._0x1910ec,-0x22d,-0x208,-0x21c)+_0x4b0706(0x3f2,_0x1387aa._0x3b0c35,0x455,_0x1387aa._0x2524af)+_0x4b0706(0x489,_0x1387aa._0x2a63b1,_0x1387aa._0xf24ddb,0x46d)+_0x17481f(-_0x1387aa._0x227fa7,-_0x1387aa._0x4d52a4,-0x1ad,-0x1b1)+_0x17481f(-_0x1387aa._0x1d75e8,-_0x1387aa._0x1de4d1,-_0x1387aa._0x1de4d1,-0x1f6)+'ment\x20varia'+'bles\x20to\x20se'+'nd\x20emails.','CzuHX':_0x17481f(-_0x1387aa._0xe5d5bf,-0x26d,-0x20a,-_0x1387aa._0xf4a103),'oSdkv':function(_0x30d46a,_0x2562d4){return _0x30d46a===_0x2562d4;},'pVZry':_0x4b0706(_0x1387aa._0x2463c1,0x473,_0x1387aa._0x1262ff,_0x1387aa._0x5f49c5)+_0x17481f(-0x203,-_0x1387aa._0x1dd8fa,-0x1d8,-_0x1387aa._0x568617),'djEHn':_0x17481f(-_0x1387aa._0x5e3c23,-_0x1387aa._0x28636d,-_0x1387aa._0x13fb0e,-_0x1387aa._0x162d5f),'zZktB':function(_0x3322c3,_0x1a777a,_0x4051bc){return _0x3322c3(_0x1a777a,_0x4051bc);},'HBkmN':function(_0x5cbfc0,_0x28226f){return _0x5cbfc0(_0x28226f);},'gzxhY':'Password\x20s'+_0x17481f(-_0x1387aa._0x405e73,-0x211,-_0x1387aa._0x227fa7,-_0x1387aa._0x559e34)+_0x4b0706(_0x1387aa._0x102e9b,_0x1387aa._0x4e4112,_0x1387aa._0x102e9b,0x3ee),'iibAA':_0x4b0706(_0x1387aa._0x1476ac,0x3e6,_0x1387aa._0x4f2b75,0x3ca),'PQnxx':_0x17481f(-_0x1387aa._0xef322f,-_0x1387aa._0x18e1c4,-_0x1387aa._0x3f11f1,-_0x1387aa._0x5cfbbe)+_0x4b0706(0x409,_0x1387aa._0x44b3c4,_0x1387aa._0xc6dba7,_0x1387aa._0x9bbe49)+'ord\x20email','hWrkd':_0x17481f(-0x1ff,-0x1f4,-0x1b8,-0x260)+'send\x20email'+_0x17481f(-0x208,-_0x1387aa._0x40aaaf,-0x1e0,-_0x1387aa._0x2ab7b6)+_0x17481f(-_0x1387aa._0x526632,-0x2c4,-_0x1387aa._0x4d4881,-0x2b7)+_0x17481f(-0x1bd,-_0x1387aa._0x36c15b,-0x185,-_0x1387aa._0x517c85)+'y.','flAwB':_0x4b0706(_0x1387aa._0x102847,0x4a7,0x44f,_0x1387aa._0x454b79),'pAhoD':'ubEJY','PxACE':_0x17481f(-0x1ff,-0x20e,-0x25d,-_0x1387aa._0x2356d7)+_0x4b0706(_0x1387aa._0x403c85,0x47d,0x4c8,_0x1387aa._0x2ffe7d)+_0x17481f(-_0x1387aa._0x10eb61,-_0x1387aa._0xd8aa99,-0x18a,-_0x1387aa._0x5ab501)+'n'};try{const {userId:_0x4c1060,type:type=_0x1ba738[_0x4b0706(0x3ce,0x3e4,0x439,_0x1387aa._0x4a0cd4)],sendEmail:sendEmail=![]}=_0x395a4a[_0x17481f(-0x1b4,-0x155,-_0x1387aa._0x239721,-_0x1387aa._0x4992d7)];if(!_0x4c1060){const _0x486e3e={};return _0x486e3e[_0x17481f(-0x1af,-0x1eb,-0x1a1,-_0x1387aa._0x269826)]=_0x1ba738[_0x4b0706(0x44d,0x494,_0x1387aa._0x303fe3,_0x1387aa._0x19afb1)],_0x5389b2['status'](0x1*0x956+-0x18d+-0x639)[_0x17481f(-0x1eb,-_0x1387aa._0x25eaa6,-_0x1387aa._0x2726e1,-_0x1387aa._0x627d88)](_0x486e3e);}if(![_0x1ba738[_0x4b0706(0x3d9,0x3e4,_0x1387aa._0x227cae,_0x1387aa._0x5c8c82)],_0x17481f(-0x1d1,-_0x1387aa._0x44b86f,-_0x1387aa._0x2789e5,-_0x1387aa._0x56b1c5)][_0x4b0706(_0x1387aa._0xc8db7a,_0x1387aa._0x57125d,_0x1387aa._0x11f24a,0x3d5)](type)){const _0x415b08={};return _0x415b08[_0x17481f(-0x1af,-_0x1387aa._0xf4a103,-0x210,-0x1fa)]=_0x1ba738[_0x4b0706(_0x1387aa._0x4213d2,0x497,0x4d9,0x452)],_0x5389b2[_0x4b0706(0x49b,0x46c,_0x1387aa._0x1c8d96,_0x1387aa._0x2524af)](-0x11d9*-0x1+0xf75+-0x1fbe)[_0x17481f(-0x1eb,-0x1ae,-0x1b9,-_0x1387aa._0x43aa15)](_0x415b08);}const _0x2a4147=await _0x1ba738[_0x4b0706(_0x1387aa._0x5dcdf2,_0x1387aa._0x170f45,0x413,0x43f)](findUserById,_0x4c1060);if(!_0x2a4147){if(_0x1ba738[_0x17481f(-_0x1387aa._0x26f1e3,-0x261,-_0x1387aa._0x5d2397,-0x23b)](_0x1ba738[_0x4b0706(0x459,0x4a0,_0x1387aa._0x2ff47b,0x490)],_0x1ba738[_0x4b0706(0x4eb,_0x1387aa._0x3ceeeb,0x438,_0x1387aa._0x2b686f)])){const _0x4d52d7={};return _0x4d52d7[_0x17481f(-_0x1387aa._0x42e54d,-_0x1387aa._0x5983ea,-0x203,-0x1ee)]=_0x1ba738[_0x4b0706(0x498,_0x1387aa._0x2d7ff8,_0x1387aa._0x424322,_0x1387aa._0x2524af)],_0x39fc7e[_0x17481f(-0x1db,-0x1e2,-0x18a,-_0x1387aa._0x10b515)](0x286+-0x1e18*-0x1+-0x1f0a)['json'](_0x4d52d7);}else{const _0x3549ef={};return _0x3549ef['error']=_0x1ba738[_0x17481f(-_0x1387aa._0x5d0157,-_0x1387aa._0x26f931,-_0x1387aa._0x1b0d79,-0x209)],_0x5389b2['status'](-0x1f6*0x5+0x78c+0x3d6)[_0x17481f(-_0x1387aa._0x333ac4,-0x1e0,-_0x1387aa._0x222d4b,-_0x1387aa._0x3f49dd)](_0x3549ef);}}const _0x3e260b=await _0x1ba738[_0x17481f(-_0x1387aa._0xf45d88,-_0x1387aa._0x11a35f,-0x22b,-0x21b)](createPasswordToken,_0x4c1060,type),_0xab6413={};_0xab6413['adminId']=_0x395a4a[_0x4b0706(_0x1387aa._0x517d49,0x49d,0x4c8,0x49d)]['id'],_0xab6413[_0x17481f(-0x1be,-_0x1387aa._0x486666,-_0x1387aa._0x162d5f,-0x1a9)+_0x17481f(-0x20e,-_0x1387aa._0x18e1c4,-0x1af,-_0x1387aa._0x72b9b7)]=_0x395a4a[_0x17481f(-0x1aa,-0x142,-_0x1387aa._0x239721,-_0x1387aa._0x7f9745)][_0x4b0706(_0x1387aa._0x3ceeeb,_0x1387aa._0x491999,0x465,_0x1387aa._0x539f84)],_0xab6413[_0x17481f(-0x21d,-0x235,-0x216,-0x239)+'Id']=_0x4c1060,_0xab6413[_0x17481f(-0x21d,-_0x1387aa._0x14266b,-_0x1387aa._0x5a59f9,-0x1e8)+_0x17481f(-0x1b9,-0x21f,-0x1b1,-0x19d)]=_0x2a4147['username'],_0xab6413[_0x17481f(-_0x1387aa._0x257769,-0x25d,-0x208,-0x20e)]=type,_0xab6413[_0x17481f(-_0x1387aa._0xc69904,-0x1f5,-_0x1387aa._0x44b86f,-0x206)]=sendEmail,logger['info'](_0x1ba738[_0x4b0706(_0x1387aa._0x4b7090,_0x1387aa._0x8bdf9d,_0x1387aa._0x1688ce,0x456)],_0xab6413);const _0x2a43d6=_0x1ba738[_0x4b0706(0x416,_0x1387aa._0x2463c1,0x42d,_0x1387aa._0x305941)](getRequestBaseUrl,_0x395a4a),_0x3919db=_0x2a43d6+(_0x17481f(-_0x1387aa._0x1a86d1,-0x231,-0x21f,-_0x1387aa._0x31d26d)+_0x4b0706(0x45f,0x4a4,0x4e8,0x45b)+_0x17481f(-0x1f5,-0x1c4,-_0x1387aa._0x5454d3,-_0x1387aa._0xc1ad42))+_0x3e260b['token'],_0x51c8c1={};_0x51c8c1['id']=_0x3e260b['id'],_0x51c8c1[_0x17481f(-0x237,-_0x1387aa._0x5c30ce,-_0x1387aa._0x3533e7,-_0x1387aa._0x368bec)]=_0x3e260b[_0x17481f(-_0x1387aa._0x4741ff,-_0x1387aa._0x2edfde,-0x21f,-_0x1387aa._0x5d94d2)],_0x51c8c1[_0x4b0706(0x40f,0x3ed,0x417,_0x1387aa._0x44b3c4)]=_0x3e260b[_0x17481f(-_0x1387aa._0x4f7072,-_0x1387aa._0x407a24,-_0x1387aa._0x4e539e,-0x220)],_0x51c8c1[_0x4b0706(0x4dd,_0x1387aa._0x3325c1,0x4bf,_0x1387aa._0x472277)]=_0x3e260b[_0x17481f(-0x1a2,-_0x1387aa._0x317662,-0x186,-_0x1387aa._0x1c9d3b)],_0x51c8c1[_0x17481f(-0x1d5,-_0x1387aa._0x1f9541,-_0x1387aa._0xdd2b4f,-0x22c)]=_0x3919db;const _0x2d3d29={};_0x2d3d29['id']=_0x2a4147['id'],_0x2d3d29[_0x4b0706(_0x1387aa._0x25c620,_0x1387aa._0x491999,0x468,_0x1387aa._0x19afb1)]=_0x2a4147[_0x17481f(-_0x1387aa._0x7947ba,-0x1e7,-0x23e,-0x239)],_0x2d3d29[_0x4b0706(_0x1387aa._0x518a57,_0x1387aa._0x3348e3,_0x1387aa._0x2bdcd6,0x433)]=_0x2a4147[_0x4b0706(_0x1387aa._0x43d747,_0x1387aa._0xe615f4,0x4ca,0x446)],_0x2d3d29[_0x4b0706(0x4d3,_0x1387aa._0x102847,0x493,_0x1387aa._0x591329)]=_0x2a4147['email'];const _0x3426ea={};_0x3426ea[_0x4b0706(0x439,_0x1387aa._0x5e0e0f,0x43c,_0x1387aa._0x5a05e7)]=_0x4b0706(0x426,_0x1387aa._0x591329,_0x1387aa._0x519663,_0x1387aa._0x39008e)+_0x4b0706(_0x1387aa._0x2c5641,0x484,_0x1387aa._0x3db7b0,0x4d7)+'ed\x20success'+_0x4b0706(_0x1387aa._0x55b983,0x416,0x419,0x44c),_0x3426ea[_0x17481f(-0x237,-0x23f,-_0x1387aa._0x392ba1,-0x22e)]=_0x51c8c1,_0x3426ea[_0x17481f(-0x1aa,-0x155,-_0x1387aa._0x55120f,-_0x1387aa._0x8d31a5)]=_0x2d3d29,_0x3426ea[_0x4b0706(_0x1387aa._0x3e7ff9,0x3fd,_0x1387aa._0x52788b,0x3a3)]=![];const _0x2f30ce=_0x3426ea;if(sendEmail){if(!_0x1ba738[_0x17481f(-_0x1387aa._0x162ccf,-_0x1387aa._0x41db56,-_0x1387aa._0x1ee641,-_0x1387aa._0x4992d7)](isEmailConfigured)){if(_0x1ba738[_0x17481f(-0x250,-_0x1387aa._0xeadc78,-0x20f,-0x235)](_0x1ba738[_0x4b0706(0x420,0x3f3,0x451,_0x1387aa._0x1390d1)],_0x1ba738[_0x17481f(-_0x1387aa._0x10a327,-0x276,-0x28b,-0x228)])){const _0x529bbe={};return _0x529bbe[_0x17481f(-_0x1387aa._0xacc455,-_0x1387aa._0x5995d1,-0x18b,-_0x1387aa._0x3e71ee)]=_0x1ba738[_0x4b0706(0x460,0x42c,0x401,0x3e4)],_0x529bbe[_0x17481f(-_0x1387aa._0x47fc60,-0x1e7,-0x151,-_0x1387aa._0x17d145)]=_0x1ba738[_0x4b0706(0x42f,0x3e7,0x398,0x44a)],_0x5389b2[_0x4b0706(0x47f,_0x1387aa._0x10cb3d,0x47c,0x463)](0x1d9*0x6+0x3e*-0x33+0x2d4)['json'](_0x529bbe);}else{_0x97fc98['error'](_0x17481f(-0x1ff,-0x1ec,-0x1b0,-0x1db)+_0x4b0706(0x485,0x42e,0x43d,_0x1387aa._0x102e9b)+_0x17481f(-0x267,-0x2c6,-_0x1387aa._0x3e18d6,-_0x1387aa._0x257769),_0x48639b);const _0x2c86dc={};_0x2c86dc['error']=_0x1ba738[_0x4b0706(_0x1387aa._0x774f26,_0x1387aa._0x12f5c1,_0x1387aa._0x354eed,0x44e)],_0x2c86dc[_0x17481f(-0x1a4,-0x1ea,-_0x1387aa._0x56659d,-_0x1387aa._0x3b1220)]=![],_0x198e98[_0x17481f(-0x1db,-0x202,-0x229,-0x172)](0x429+-0x2*-0x115a+-0x24e9)[_0x17481f(-0x1eb,-0x20a,-0x198,-_0x1387aa._0x14fe50)](_0x2c86dc);}}try{if(_0x1ba738[_0x17481f(-_0x1387aa._0x4cfff4,-0x251,-0x249,-0x1d6)](_0x1ba738[_0x17481f(-0x1c5,-_0x1387aa._0x2059db,-_0x1387aa._0x49f56e,-_0x1387aa._0x253ac0)],_0x1ba738[_0x17481f(-0x1c5,-_0x1387aa._0x382d5e,-0x1bd,-0x1c7)])){const _0x3091ed={};return _0x3091ed[_0x17481f(-_0x1387aa._0x49d2d5,-0x145,-_0x1387aa._0x53ae01,-0x1a1)]=![],_0x3091ed[_0x4b0706(_0x1387aa._0x9fd853,0x498,_0x1387aa._0x27253e,_0x1387aa._0x2eaacf)]=_0x1ba738['Liblh'],_0x226728[_0x4b0706(_0x1387aa._0x3a0b44,0x45c,_0x1387aa._0x3d29ea,0x47e)](_0x3091ed);}else{const _0x1387ae=_0x1ba738[_0x4b0706(0x41a,0x468,0x4bf,_0x1387aa._0x47bddd)](type,_0x17481f(-0x1d1,-_0x1387aa._0x3a25df,-_0x1387aa._0xc69904,-_0x1387aa._0x2e5af8))?_0x17481f(-0x224,-_0x1387aa._0x405e73,-0x214,-0x1b9)+'eset':_0x1ba738[_0x17481f(-_0x1387aa._0x588aa4,-0x14e,-0x148,-0x1aa)],_0x517674={};_0x517674[_0x4b0706(0x3e1,_0x1387aa._0x1c0e19,_0x1387aa._0x1d92c5,_0x1387aa._0x59292c)]=_0x2a4147[_0x17481f(-_0x1387aa._0x2695d5,-_0x1387aa._0x4dd9ac,-_0x1387aa._0x18f07b,-_0x1387aa._0x486666)],_0x517674['username']=_0x2a4147[_0x17481f(-0x1fa,-_0x1387aa._0x2c957d,-0x25d,-0x1ea)],_0x517674[_0x4b0706(0x40a,0x472,0x46c,0x4cb)]=_0x3919db,_0x517674[_0x4b0706(_0x1387aa._0x220b7e,0x495,0x445,_0x1387aa._0x3eb930)]=_0x1ba738[_0x4b0706(0x425,_0x1387aa._0x2a97e4,_0x1387aa._0x32f5c0,_0x1387aa._0x1d0e77)],_0x517674[_0x17481f(-_0x1387aa._0x130af8,-0x25b,-0x25c,-_0x1387aa._0x55da50)]=type;const _0x455af5=_0x517674,{subject:_0x2d4a78}=_0x1ba738[_0x17481f(-_0x1387aa._0x10c93b,-0x1c5,-0x1a4,-_0x1387aa._0x371afc)](renderTemplate,_0x1387ae,_0x455af5),_0xaf18e={};_0xaf18e['to']=_0x2a4147['email'],_0xaf18e['subject']=_0x2d4a78,_0xaf18e[_0x17481f(-_0x1387aa._0x5df0bb,-_0x1387aa._0x2a51b0,-0x22e,-0x1e8)]=_0x1387ae,_0xaf18e[_0x4b0706(_0x1387aa._0x4a595f,0x40a,0x43b,_0x1387aa._0x5250ea)]=_0x455af5,await _0x1ba738[_0x4b0706(0x4cf,_0x1387aa._0x4c3ed7,0x487,_0x1387aa._0x169009)](sendTemplatedEmail,_0xaf18e),_0x2f30ce[_0x4b0706(0x3bc,0x3fd,0x425,0x3df)]=!![],_0x2f30ce[_0x17481f(-_0x1387aa._0x47fc60,-_0x1387aa._0x2695d5,-_0x1387aa._0x39e3d1,-_0x1387aa._0x502bc7)]=_0x17481f(-0x210,-_0x1387aa._0x5646a6,-0x200,-_0x1387aa._0x4ce4fd)+'oken\x20creat'+_0x4b0706(_0x1387aa._0x102e9b,0x44b,0x487,_0x1387aa._0x1dd112)+_0x4b0706(_0x1387aa._0x2d4b69,_0x1387aa._0x1934f2,_0x1387aa._0x526f1e,_0x1387aa._0x8595a8)+'\x20'+_0x2a4147[_0x17481f(-_0x1387aa._0x26b2e2,-_0x1387aa._0x4defa3,-0x1ad,-0x1ff)];const _0x1c4179={};_0x1c4179['to']=_0x2a4147[_0x17481f(-0x1a6,-_0x1387aa._0x5a27e6,-_0x1387aa._0x78102a,-_0x1387aa._0x3b847c)],_0x1c4179[_0x4b0706(_0x1387aa._0x333744,0x3ed,_0x1387aa._0x1c06ad,0x41d)]=type,_0x1c4179[_0x4b0706(0x437,0x44d,0x456,_0x1387aa._0x1dadf2)]=_0x2a4147['username'],logger[_0x17481f(-_0x1387aa._0x36f022,-0x299,-0x21d,-_0x1387aa._0x5ad3f4)](_0x1ba738[_0x17481f(-0x207,-0x1cd,-_0x1387aa._0x3736b1,-0x230)],_0x1c4179);}}catch(_0x4720ca){if(_0x1ba738['ArySd'](_0x1ba738['iibAA'],_0x1ba738['iibAA'])){_0x321b8e['error'](_0x1ba738[_0x17481f(-_0x1387aa._0x237be2,-_0x1387aa._0x1f7ce4,-_0x1387aa._0x45a5b1,-_0x1387aa._0x546104)],_0x41ecc4);const _0x139f4e={};_0x139f4e['error']='Failed\x20to\x20'+_0x17481f(-0x25f,-0x218,-0x1ff,-_0x1387aa._0x2c65aa)+'rd',_0x3d8ec1[_0x4b0706(_0x1387aa._0x4a0c4e,0x46c,_0x1387aa._0x32370c,_0x1387aa._0x189278)](0x13*-0xad+-0x3*0x38d+0x1972)[_0x4b0706(_0x1387aa._0xe9441c,_0x1387aa._0x220b7e,0x4ab,0x409)](_0x139f4e);}else logger[_0x17481f(-_0x1387aa._0x53ae01,-0x1d2,-_0x1387aa._0x2a51b0,-_0x1387aa._0xad560c)](_0x1ba738[_0x4b0706(0x427,_0x1387aa._0x424322,0x379,0x448)],_0x4720ca),_0x2f30ce[_0x4b0706(_0x1387aa._0x333744,0x43b,0x47b,_0x1387aa._0x54240b)]=_0x1ba738['hWrkd'];}}_0x5389b2[_0x4b0706(_0x1387aa._0x2aff4f,0x45c,_0x1387aa._0x3e63ae,0x431)](_0x2f30ce);}catch(_0x5e3a6d){if(_0x1ba738[_0x4b0706(0x391,_0x1387aa._0x32678b,_0x1387aa._0x1ceea8,0x416)]===_0x1ba738[_0x17481f(-0x230,-_0x1387aa._0x3736b1,-_0x1387aa._0x5d15ef,-_0x1387aa._0x2621d1)]){_0x41bf61['error'](_0x1ba738[_0x4b0706(_0x1387aa._0x5dcdf2,_0x1387aa._0x195dab,0x3ee,0x456)],_0x36d4b2);const _0x4ef749={};_0x4ef749[_0x4b0706(_0x1387aa._0x342332,0x498,0x4f8,_0x1387aa._0x3cab51)]=_0x1ba738[_0x17481f(-0x1c8,-0x1bd,-0x167,-_0x1387aa._0x4892d5)],_0x568128['status'](-0xbc3*-0x3+-0x20*0x3e+-0x1995)[_0x4b0706(0x436,0x45c,0x42a,0x49e)](_0x4ef749);}else{logger[_0x4b0706(0x4c2,0x498,_0x1387aa._0x3b0c35,_0x1387aa._0x25f3c6)](_0x1ba738[_0x4b0706(0x473,_0x1387aa._0x191881,0x4a7,_0x1387aa._0x39008e)],_0x5e3a6d);const _0x3acced={};_0x3acced[_0x4b0706(0x4aa,_0x1387aa._0x1d46e8,_0x1387aa._0x4c1c18,_0x1387aa._0x42d959)]=_0x1ba738[_0x17481f(-_0x1387aa._0x269826,-_0x1387aa._0x3e71ee,-_0x1387aa._0x2a3c5d,-0x1c5)],_0x5389b2[_0x4b0706(0x49d,0x46c,0x475,_0x1387aa._0x17dc05)](-0xb8d+0x25f*-0xd+0x4*0xb15)['json'](_0x3acced);}}}),router[_0x53b183(0xf8,0x150,0xe6,0x1bb)](_0x4f051d(0x1a3,0x176,0x11d,0x1c4)+'token',async(_0x20fba1,_0x3f0694)=>{const _0xf2ecc1={_0x34f021:0x6,_0x2ab09b:0x38,_0x1773fe:0x43,_0x49b575:0x4a,_0x569e4c:0x49,_0x45443b:0x4d,_0x360720:0x4d9,_0x3389ba:0x538,_0x43553e:0x53a,_0x3aab95:0x52a,_0x3a212e:0x4be,_0x4ca40f:0x51d,_0xc0dc0c:0x539,_0x5d4ef5:0x4e3,_0x3117ee:0x6e,_0x4df2aa:0x67,_0x3ded42:0x51,_0x4b6663:0x9f,_0x1bda36:0xbc,_0x4ca27e:0x33,_0x5a6dda:0x64,_0x120b70:0x18,_0x34c955:0x5d,_0x40954c:0x6,_0x22aff6:0xb,_0x5ead68:0x9,_0x1f8ddb:0x3b,_0x36557f:0x4e6,_0x28d2b6:0x49b,_0x85c0c:0x4bd,_0x124f2f:0x4b9,_0x266cf2:0x4cc,_0x568b65:0x49,_0x1e63d0:0xb2,_0x3eb744:0xa7,_0x4d0768:0x11,_0x5d7819:0x50,_0xf55c62:0x66,_0x141a8d:0x13,_0xc6300b:0x7,_0x4f16ba:0x64,_0x347769:0x24,_0x1ad4ed:0x23,_0x583684:0x4a,_0x1de35c:0x53,_0x5a6bae:0x1b,_0x533deb:0x62,_0x443d15:0x502,_0x5854a3:0x49a,_0x48fdc5:0x529,_0x2df5b3:0x530,_0x342582:0x566,_0x315737:0x4f0,_0x333dbf:0x52c,_0x35213f:0x4d,_0x26cbf0:0x8,_0x5cd588:0x4,_0xd6b22c:0x2d,_0x53fb09:0x54e,_0x4f3058:0x517,_0x4a2cf2:0x599,_0x242708:0x5a6,_0x5a9a14:0x4bf,_0x42ee31:0x4c8,_0x51c42b:0x15,_0x53dff0:0xe,_0x38d47a:0x59,_0x2272ed:0x511,_0x299f92:0x55e,_0xfe6b40:0x535,_0x55a6f8:0x4f1,_0xf33364:0x58c,_0x4ded56:0x56f,_0x662983:0x74,_0x55858e:0x12,_0x4b2f77:0x14,_0x49ea66:0x46,_0x5d9525:0x4e,_0x316852:0x9a,_0x218837:0x45,_0x13658:0x1d,_0x32aa41:0xc,_0x330063:0x54,_0x5aa751:0x30,_0x445705:0x4d2,_0x4271c8:0x4ec,_0x1df235:0x500,_0x31138a:0x580,_0x4937cf:0x4db,_0x21a7ff:0x4dc,_0x3ad3bd:0x4ea,_0x7c88e1:0x27,_0x249ba0:0x1c,_0x478bbe:0x1e,_0xe715e7:0x1b,_0x2eafc3:0x55e,_0x3350dd:0x540,_0x22a33b:0x4a,_0x3d1758:0x588,_0x346d88:0x3b,_0x11d151:0x50d,_0x1ea356:0x51d,_0x2180e3:0x549,_0x5151fd:0x7d,_0x238672:0x4e7,_0x43ef29:0x504,_0x1db39e:0x55c,_0x93251d:0x553,_0x432229:0x5a1,_0x2ee5fe:0x5,_0x309a3f:0x3,_0x3a7640:0x55},_0xa80ec0={_0x49005d:0x388,_0x8bb2bd:0xfc},_0x188570={_0x48b3ac:0x1b,_0xe751e9:0x181},_0xa3db05={'lyWmW':_0x56df63(-_0xf2ecc1._0x34f021,-0x53,_0xf2ecc1._0x2ab09b,-0x20)+_0x56df63(_0xf2ecc1._0x1773fe,-0x2,-0xd,0x19)+'en','JnOhd':_0x56df63(0x5d,_0xf2ecc1._0x49b575,_0xf2ecc1._0x569e4c,_0xf2ecc1._0x45443b)+'password\x20a'+_0x346448(0x4a5,0x4a0,0x496,_0xf2ecc1._0x360720)+'d','vPPtw':'Failed\x20to\x20'+_0x346448(0x539,_0xf2ecc1._0x3389ba,0x51d,0x560)+_0x346448(0x4f1,0x525,0x4c4,0x50a)+'n','LmNMM':function(_0x2ccd84,_0x3bbf63){return _0x2ccd84===_0x3bbf63;},'paTgI':'twBmW','UPLUP':_0x346448(_0xf2ecc1._0x43553e,_0xf2ecc1._0x3aab95,0x4e8,0x4fe),'PxbeT':_0x346448(0x4b3,0x509,_0xf2ecc1._0x3a212e,0x4d7),'BPJDs':'Token\x20is\x20r'+_0x346448(0x500,0x4e4,0x501,0x48c),'YlKHK':function(_0x87c2f,_0x283e40){return _0x87c2f(_0x283e40);},'VvDrH':'Invalid\x20or'+_0x346448(0x4b8,_0xf2ecc1._0x4ca40f,_0xf2ecc1._0xc0dc0c,_0xf2ecc1._0x5d4ef5)+_0x56df63(-_0xf2ecc1._0x3117ee,-_0xf2ecc1._0x4df2aa,-0xd0,-0x6d),'yhwPw':function(_0x121414,_0x5c1f3e){return _0x121414===_0x5c1f3e;},'NuYcg':_0x56df63(_0xf2ecc1._0x3ded42,_0xf2ecc1._0x4b6663,_0xf2ecc1._0x1bda36,_0xf2ecc1._0x4ca27e),'nrFQw':'User\x20not\x20f'+_0x56df63(0x1,-_0xf2ecc1._0x5a6dda,_0xf2ecc1._0x120b70,_0xf2ecc1._0x34c955),'Cutgi':_0x56df63(-_0xf2ecc1._0x40954c,-_0xf2ecc1._0x22aff6,_0xf2ecc1._0x5ead68,0x3d)+_0x56df63(-0x20,-0x3d,_0xf2ecc1._0x1f8ddb,0x3e)+_0x346448(_0xf2ecc1._0x36557f,_0xf2ecc1._0x28d2b6,_0xf2ecc1._0x85c0c,0x48b)};function _0x56df63(_0x7c17ad,_0x4e0109,_0x36a415,_0x1f0881){return _0x53b183(_0x7c17ad-_0x188570._0x48b3ac,_0x7c17ad- -_0x188570._0xe751e9,_0x36a415-0xb6,_0x4e0109);}function _0x346448(_0x4ff376,_0x4aa548,_0x23245e,_0x19070d){return _0x53b183(_0x4ff376-0x1cf,_0x4aa548-_0xa80ec0._0x49005d,_0x23245e-_0xa80ec0._0x8bb2bd,_0x23245e);}try{if(_0xa3db05[_0x346448(0x4e8,_0xf2ecc1._0x124f2f,_0xf2ecc1._0x266cf2,0x4d8)](_0xa3db05[_0x56df63(-_0xf2ecc1._0x568b65,-_0xf2ecc1._0x1e63d0,-_0xf2ecc1._0x3eb744,-0x15)],_0xa3db05[_0x56df63(-_0xf2ecc1._0x4d0768,_0xf2ecc1._0x5d7819,-_0xf2ecc1._0xf55c62,-_0xf2ecc1._0x141a8d)])){_0x1d9634['error'](_0xa3db05[_0x56df63(-_0xf2ecc1._0xc6300b,-_0xf2ecc1._0x4f16ba,-_0xf2ecc1._0x347769,_0xf2ecc1._0x1ad4ed)],_0xe1c2f7);const _0xa80d4b={};_0xa80d4b[_0x56df63(_0xf2ecc1._0x583684,_0xf2ecc1._0x1de35c,_0xf2ecc1._0x5a6bae,_0xf2ecc1._0x533deb)]=_0xa3db05[_0x346448(0x4ca,_0xf2ecc1._0x443d15,0x559,_0xf2ecc1._0x5854a3)],_0x1c8dc0['status'](0xb5c+-0x2093+-0x1*-0x172b)['json'](_0xa80d4b);}else{const {token:_0x38c562}=_0x20fba1[_0x346448(_0xf2ecc1._0x48fdc5,0x53e,_0xf2ecc1._0x2df5b3,0x4d7)];if(!_0x38c562){if(_0xa3db05['PxbeT']===_0xa3db05[_0x346448(_0xf2ecc1._0x342582,0x518,_0xf2ecc1._0x315737,_0xf2ecc1._0x333dbf)]){const _0x5105c4={};return _0x5105c4[_0x56df63(0x4a,0x5e,0x60,0x8a)]=_0xa3db05[_0x56df63(_0xf2ecc1._0x35213f,0xa4,-0x6,0xb2)],_0x5105c4[_0x56df63(0x55,-_0xf2ecc1._0x26cbf0,0x70,0xa2)]=![],_0x3f0694[_0x56df63(0x1e,-0x6,-_0xf2ecc1._0x5cd588,-_0xf2ecc1._0xd6b22c)](-0x7*-0x318+0x1ca4+-0x30bc)[_0x346448(_0xf2ecc1._0x53fb09,_0xf2ecc1._0x4f3058,0x51b,0x4bc)](_0x5105c4);}else{const _0x69f1ac={};return _0x69f1ac[_0x346448(_0xf2ecc1._0x4a2cf2,0x553,0x4f9,_0xf2ecc1._0x242708)]=_0xa3db05[_0x346448(_0xf2ecc1._0x5a9a14,0x4e6,0x4c8,_0xf2ecc1._0x42ee31)],_0xe60097[_0x56df63(0x1e,-0x31,-_0xf2ecc1._0x51c42b,0x69)](0x3d*0x4f+0x1b44*-0x1+0xa01)[_0x56df63(_0xf2ecc1._0x53dff0,_0xf2ecc1._0x38d47a,-0x7,-0x5b)](_0x69f1ac);}}const _0x35d566=await _0xa3db05['YlKHK'](validateToken,_0x38c562);if(!_0x35d566){const _0x38904c={};return _0x38904c[_0x346448(_0xf2ecc1._0x2272ed,_0xf2ecc1._0x299f92,_0xf2ecc1._0xfe6b40,0x4f9)]=![],_0x38904c[_0x346448(_0xf2ecc1._0x55a6f8,0x553,0x4fd,_0xf2ecc1._0xf33364)]=_0xa3db05['VvDrH'],_0x3f0694[_0x346448(_0xf2ecc1._0x4ded56,0x517,0x510,0x529)](_0x38904c);}const _0x5943e2=await _0xa3db05[_0x56df63(-_0xf2ecc1._0x662983,-0x42,-0x40,-0x6a)](findUserById,_0x35d566[_0x56df63(_0xf2ecc1._0x55858e,_0xf2ecc1._0x4b2f77,_0xf2ecc1._0x49ea66,-_0xf2ecc1._0x5d9525)]);if(!_0x5943e2){if(_0xa3db05[_0x56df63(0x5c,_0xf2ecc1._0x316852,_0xf2ecc1._0x218837,_0xf2ecc1._0x13658)](_0xa3db05[_0x56df63(-0x33,-_0xf2ecc1._0x32aa41,-_0xf2ecc1._0x330063,_0xf2ecc1._0x5aa751)],_0x346448(_0xf2ecc1._0x445705,_0xf2ecc1._0x4271c8,0x52f,0x54e))){_0x3fbde3[_0x346448(0x52e,0x553,_0xf2ecc1._0x1df235,_0xf2ecc1._0x31138a)](_0xa3db05[_0x346448(0x532,_0xf2ecc1._0x4937cf,_0xf2ecc1._0x21a7ff,_0xf2ecc1._0x3ad3bd)],_0x2ffa00);const _0x9254a9={};_0x9254a9['error']=_0x56df63(-0x6,_0xf2ecc1._0x7c88e1,-0x31,0x5d)+'create\x20pas'+_0x56df63(_0xf2ecc1._0x249ba0,0x44,0x10,-0x3b)+'n',_0x5eae00[_0x56df63(_0xf2ecc1._0x478bbe,0x87,0x27,_0xf2ecc1._0xe715e7)](-0x1b7*0xd+0x11bc+-0x1*-0x683)[_0x56df63(_0xf2ecc1._0x53dff0,0x10,0x73,-0x47)](_0x9254a9);}else{const _0x5500a0={};return _0x5500a0[_0x346448(0x5a0,_0xf2ecc1._0x2eafc3,_0xf2ecc1._0x3350dd,0x517)]=![],_0x5500a0[_0x56df63(_0xf2ecc1._0x22a33b,0x4c,0xa3,0x92)]=_0xa3db05[_0x346448(0x5a3,0x555,_0xf2ecc1._0x3d1758,0x556)],_0x3f0694['json'](_0x5500a0);}}const _0x27faef={};_0x27faef['username']=_0x5943e2[_0x56df63(-0x1,0x60,_0xf2ecc1._0x26cbf0,_0xf2ecc1._0x346d88)],_0x27faef[_0x346448(_0xf2ecc1._0x11d151,0x549,0x52c,0x5ae)]=_0x5943e2[_0x346448(_0xf2ecc1._0x1ea356,_0xf2ecc1._0x2180e3,0x50d,0x525)];const _0x3bb5bf={};_0x3bb5bf['valid']=!![],_0x3bb5bf['type']=_0x35d566[_0x56df63(-0x61,-_0xf2ecc1._0x5151fd,-0xc7,-0x91)],_0x3bb5bf['user']=_0x27faef,_0x3f0694[_0x346448(0x4c2,0x517,0x536,0x541)](_0x3bb5bf);}}catch(_0x45ff2c){logger['error'](_0xa3db05[_0x346448(_0xf2ecc1._0x238672,_0xf2ecc1._0x43ef29,_0xf2ecc1._0x1db39e,0x501)],_0x45ff2c);const _0x26d245={};_0x26d245[_0x346448(0x537,_0xf2ecc1._0x93251d,_0xf2ecc1._0x432229,_0xf2ecc1._0x93251d)]=_0xa3db05[_0x56df63(-_0xf2ecc1._0x2ee5fe,_0xf2ecc1._0x4d0768,-0x39,-_0xf2ecc1._0x309a3f)],_0x26d245[_0x56df63(_0xf2ecc1._0x3a7640,_0xf2ecc1._0x316852,0x19,_0xf2ecc1._0x49ea66)]=![],_0x3f0694['status'](-0x1*-0x1a+-0x1eb4+0xada*0x3)[_0x56df63(0xe,_0xf2ecc1._0x5d9525,0x5a,0x18)](_0x26d245);}}),router[_0x4f051d(0x1ff,0x1e4,0x1cc,0x245)](_0x4f051d(0x15a,0x154,0x1a1,0x1ae),async(_0x3a8c94,_0x144161)=>{const _0x1d78c6={_0x57ed24:0x17b,_0x45706a:0x186,_0xcf52da:0x7b,_0x47a164:0x1f,_0x55eb91:0x3a,_0x36030b:0x1e1,_0x1a0e14:0x1c9,_0x28f374:0x18f,_0x503a69:0x1e7,_0x531d86:0x1ac,_0x5e30c3:0x1cd,_0x274f56:0x249,_0x4bfa34:0x4c,_0x10c81a:0x13,_0x2cf777:0x162,_0x26b7d0:0x19d,_0xef8007:0xa0,_0x38146e:0x181,_0x41ae2b:0x138,_0x3e9c0d:0x1bc,_0x406b3d:0x1bf,_0x154b1a:0x35,_0x1f9de1:0x15,_0x262d0b:0x234,_0x45af1e:0x1cc,_0x171135:0x5c,_0x12e598:0xa3,_0x3d768e:0xbe,_0xfea0e5:0x57,_0x5c5d20:0x53,_0x5ae588:0x1b7,_0xeb60ca:0xa2,_0x49f04c:0x44,_0x4628aa:0xed,_0x42b31b:0xe6,_0x438ff2:0x1eb,_0x45785b:0x55,_0x561b71:0x8f,_0x119894:0x254,_0xebda53:0x27c,_0x36423b:0x18c,_0x1c9502:0x1de,_0x17ff9e:0x22e,_0x89eb1f:0x1c3,_0x17c431:0x16c,_0x262a9f:0x1cd,_0x1446a4:0x114,_0x57af59:0x22c,_0x456be6:0x251,_0x1a2e70:0x153,_0x213586:0x18d,_0x4092b0:0x82,_0x48bbdc:0x1c,_0x5434c7:0xa1,_0x5a195a:0x50,_0x24998d:0xfc,_0x3a4188:0xcc,_0x2e6b62:0x180,_0x2a0410:0x9e,_0x5c544e:0xce,_0x3431a9:0x67,_0x566734:0x16d,_0x50e592:0x156,_0x480604:0x1b5,_0xb01d6f:0x211,_0x1b89df:0x218,_0x1fdc71:0x17f,_0x125788:0x235,_0x43a1fe:0xd5,_0x5e8713:0x91,_0x374d5d:0x18a,_0x4a9d60:0x1b0,_0x31e931:0x1e3,_0x3523d0:0x240,_0x1cd01:0x1ef,_0x5d090c:0xa9,_0x17fd31:0x243,_0x285c9d:0x196,_0x3792dc:0x1fd,_0x52fa2e:0x1a6,_0x3a40df:0x1a0,_0x57c601:0x239,_0x3c815b:0x237,_0x1c1bfb:0x1ca,_0x42f4e6:0x122,_0x585c06:0x97,_0x2c2710:0xff,_0x81035e:0xaa,_0x315ccc:0x112,_0x463a6d:0xad,_0x14a833:0x101,_0x28aea6:0x64,_0x2895d8:0x100,_0x2dcdd2:0x1f8,_0x220c32:0x1c1,_0x2d96ff:0x254,_0xa7d6d:0x1e8,_0x409445:0x1f2,_0x50b8f9:0x182,_0x2219a5:0xd5,_0x12aa00:0x121,_0x576b71:0x254,_0xab2993:0x22d,_0x5e272e:0x136,_0x274cf0:0x85,_0x1f90f7:0x1f8,_0x1cd360:0x1b8,_0x342804:0x285,_0x219764:0x23f,_0x22e3b7:0x16,_0x581639:0x79,_0x5f2009:0x1f8,_0x5ccbf2:0x24e,_0x26f948:0x21b,_0x2e89e8:0x3f,_0x37f9c0:0x107,_0xe61b20:0xd3,_0x2cc534:0xbe,_0x1d37df:0x8b,_0x4707ca:0x1e8,_0x34f17f:0x191,_0x37e629:0x199,_0x178996:0x178,_0x1c9262:0x1f9,_0x11295d:0x1ec,_0x1f43ce:0x224,_0x5b9f32:0x21f,_0x44b287:0x5e,_0x3f45f9:0x74,_0x3677af:0x49,_0x417ca5:0x1e,_0x5d85a6:0xc,_0x4eb919:0x36,_0x25a9aa:0x86,_0x4a8a7c:0x59,_0x3d71df:0xb4,_0x1e014d:0x118,_0x4c89a7:0x188,_0x290897:0x1df,_0x5be941:0x1dc,_0xcd06b2:0x13f,_0x52b85b:0x96,_0x19f866:0x56,_0x5e1bd4:0xb,_0x21471a:0x1fe,_0x20cdc6:0x99,_0x29b3bd:0x84,_0x5c96b0:0x7d,_0x3ea617:0x87,_0x42d1c2:0x4a,_0x521ee2:0xe8,_0x539574:0x80,_0x3c54d9:0x175,_0x26c6b5:0x248,_0x1ef24a:0x1ed,_0x1af045:0xc9,_0x29ef6a:0x98,_0x1cddd3:0x19c,_0x560d93:0x195,_0x11aad3:0x14f,_0x482a13:0x1d9,_0x256a9e:0x19a,_0x3d1f03:0x1d3,_0x3cb1e0:0x243,_0x102a1c:0x201,_0x527527:0xcb,_0x2f774a:0x78,_0x442f6a:0x124,_0x346799:0xcf,_0x2ce56d:0x136,_0x4a255e:0x6c,_0x433018:0xad,_0x3c6a89:0x1c1,_0x44f65c:0x268,_0x13bfe5:0x3e,_0x2ab4bf:0x53,_0x580e49:0xf1,_0x34c79d:0x2f,_0x4ee588:0x88,_0x33aa24:0x19,_0x2a6722:0x4d,_0x595526:0xa9,_0x1fe381:0xa8,_0x17d607:0x214,_0x231ad4:0xb3,_0x3a3564:0xd2,_0x499a08:0xc3,_0xec001a:0x69,_0x3f3e8d:0x280,_0x45845f:0x23f,_0x48d74f:0x212,_0x231af4:0x216,_0x59e611:0x24b,_0x21ca7d:0x1eb,_0x1bbd81:0x99,_0x3586da:0x62},_0x817849={_0x4b197a:0x53,_0x22dcfd:0xf6,_0x3bff10:0x62},_0x3faf00={'FFuxA':'Failed\x20to\x20'+_0xdd3e49(_0x1d78c6._0x57ed24,_0x1d78c6._0x45706a,0x11b,0x1b9)+'ord\x20email','CuiqT':_0x265522(0x46,_0x1d78c6._0xcf52da,_0x1d78c6._0x47a164,_0x1d78c6._0x55eb91)+_0xdd3e49(_0x1d78c6._0x36030b,_0x1d78c6._0x1a0e14,_0x1d78c6._0x28f374,_0x1d78c6._0x503a69)+_0xdd3e49(0x1c2,0x1c4,_0x1d78c6._0x531d86,0x1dd)+_0xdd3e49(_0x1d78c6._0x5e30c3,0x184,0x1fe,0x1d9)+_0xdd3e49(0x201,0x1a0,0x1ad,_0x1d78c6._0x274f56)+'ment\x20varia'+'bles\x20to\x20se'+_0x265522(_0x1d78c6._0x4bfa34,_0x1d78c6._0x55eb91,0x28,_0x1d78c6._0x10c81a),'vCZoR':_0xdd3e49(0x175,_0x1d78c6._0x2cf777,_0x1d78c6._0x26b7d0,0x1a2)+'ound','HuiIy':_0x265522(_0x1d78c6._0xef8007,0x53,0xa2,0xbd)+_0xdd3e49(_0x1d78c6._0x38146e,0x13a,0x145,_0x1d78c6._0x41ae2b)+_0xdd3e49(_0x1d78c6._0x3e9c0d,0x203,_0x1d78c6._0x406b3d,0x18e)+'\x22','TNlCF':'User\x20ID\x20is'+_0x265522(_0x1d78c6._0x154b1a,_0x1d78c6._0x1f9de1,0x5e,0x37),'xqCht':'POVZc','KLghJ':_0xdd3e49(0x200,0x23f,0x266,0x23c),'OhuLJ':function(_0x50ecc1,_0x2c7171){return _0x50ecc1||_0x2c7171;},'VhbsX':function(_0x337939,_0x319202){return _0x337939===_0x319202;},'vNEaD':_0xdd3e49(_0x1d78c6._0x262d0b,0x1e9,0x1d6,_0x1d78c6._0x45af1e),'WsnxN':_0x265522(_0x1d78c6._0x171135,0x2e,0x73,_0x1d78c6._0x12e598),'RWUbN':_0xdd3e49(0x237,0x24c,0x279,0x28c)+_0x265522(_0x1d78c6._0x3d768e,0xd6,_0x1d78c6._0xfea0e5,_0x1d78c6._0x5c5d20)+_0xdd3e49(0x171,0x119,0x128,_0x1d78c6._0x5ae588)+'d','SAnTu':function(_0x38ec0d,_0x1e3af5){return _0x38ec0d<_0x1e3af5;},'rsOOt':_0x265522(_0x1d78c6._0xeb60ca,_0x1d78c6._0x49f04c,_0x1d78c6._0x4628aa,_0x1d78c6._0x42b31b),'hFWgi':_0xdd3e49(0x235,_0x1d78c6._0x438ff2,0x25f,0x250)+_0x265522(0x38,0x22,-0xc,_0x1d78c6._0x45785b)+'least\x208\x20ch'+_0x265522(0x5f,0x21,0x52,_0x1d78c6._0x561b71),'AEOKj':_0xdd3e49(0x22e,_0x1d78c6._0x119894,_0x1d78c6._0xebda53,0x1e7),'VeZTr':_0xdd3e49(_0x1d78c6._0x36423b,0x194,0x144,_0x1d78c6._0x1c9502)+_0xdd3e49(0x1ee,0x1f4,_0x1d78c6._0x17ff9e,_0x1d78c6._0x89eb1f)+_0xdd3e49(_0x1d78c6._0x17c431,_0x1d78c6._0x262a9f,0x15d,_0x1d78c6._0x1446a4),'hWoIs':function(_0x50252f,_0x351774){return _0x50252f(_0x351774);},'HUygZ':function(_0x4cc0e7,_0xdad236){return _0x4cc0e7===_0xdad236;},'ZSqpk':_0xdd3e49(0x1f9,_0x1d78c6._0x57af59,_0x1d78c6._0x456be6,_0x1d78c6._0x1a0e14),'mhyjz':function(_0x569207,_0x581ff8,_0x389cb2){return _0x569207(_0x581ff8,_0x389cb2);},'LVZbG':_0xdd3e49(0x17d,0x183,_0x1d78c6._0x1a2e70,_0x1d78c6._0x213586)+'et\x20success'+_0x265522(0x53,0x45,0x7e,0x73),'YLysW':function(_0x1c5691,_0x15a9c7){return _0x1c5691===_0x15a9c7;},'bwJWJ':'AVoYZ','CqlTB':_0x265522(0x85,_0x1d78c6._0x4092b0,_0x1d78c6._0x48bbdc,0x35)+'set\x20passwo'+'rd'};function _0x265522(_0x5ac427,_0x1b9aa8,_0x223937,_0x56c7d7){return _0x53b183(_0x5ac427-_0x817849._0x4b197a,_0x5ac427- -_0x817849._0x22dcfd,_0x223937-_0x817849._0x3bff10,_0x1b9aa8);}function _0xdd3e49(_0x315562,_0x2a1711,_0xdde6bf,_0x4dd955){return _0x4f051d(_0x315562-0x1e,_0x315562-0x23,_0x4dd955,_0x4dd955-0x15e);}try{if(_0x3faf00[_0x265522(0xa8,_0x1d78c6._0x5434c7,0x61,_0x1d78c6._0x5a195a)]===_0x3faf00['KLghJ'])_0x4bef76[_0x265522(0xd5,_0x1d78c6._0x24998d,_0x1d78c6._0x3a4188,0x99)](_0x3faf00['FFuxA'],_0x347eef),_0x317b04[_0xdd3e49(0x1c7,_0x1d78c6._0x2e6b62,0x1dc,0x1e7)]=_0x265522(0x85,0xe0,_0x1d78c6._0x2a0410,_0x1d78c6._0x5c544e)+'send\x20email'+_0x265522(0x7c,_0x1d78c6._0x3431a9,0x54,0xa6)+_0xdd3e49(_0x1d78c6._0x566734,0x19a,0x1d2,_0x1d78c6._0x50e592)+'nk\x20manuall'+'y.';else{const {token:_0x484f75,password:_0x3d5730}=_0x3a8c94[_0xdd3e49(0x21f,0x246,_0x1d78c6._0x480604,0x261)];if(_0x3faf00[_0xdd3e49(_0x1d78c6._0xb01d6f,0x1df,_0x1d78c6._0x1b89df,0x244)](!_0x484f75,!_0x3d5730)){if(_0x3faf00[_0xdd3e49(0x194,0x139,_0x1d78c6._0x1fdc71,0x140)](_0x3faf00[_0xdd3e49(0x238,0x209,_0x1d78c6._0x125788,0x28c)],_0x3faf00['WsnxN'])){const _0x545981={};return _0x545981[_0x265522(_0x1d78c6._0x43a1fe,0xa5,0xdb,_0x1d78c6._0x5e8713)]=_0xdd3e49(0x175,0x13d,_0x1d78c6._0x374d5d,_0x1d78c6._0x4a9d60)+_0xdd3e49(0x1db,_0x1d78c6._0x31e931,_0x1d78c6._0x3523d0,_0x1d78c6._0x1cd01),_0x5157e9[_0x265522(_0x1d78c6._0x5d090c,0xad,0x8a,0xdc)](0x15b6+-0x135c+0x9*-0x16)[_0xdd3e49(0x1e8,_0x1d78c6._0x17fd31,0x1b2,_0x1d78c6._0x285c9d)](_0x545981);}else{const _0x4e3acc={};return _0x4e3acc['error']=_0x3faf00[_0xdd3e49(_0x1d78c6._0x3792dc,0x223,_0x1d78c6._0x52fa2e,_0x1d78c6._0x3a40df)],_0x144161['status'](0x1e21*0x1+0xd6*0x29+-0x3ed7)['json'](_0x4e3acc);}}if(_0x3faf00[_0xdd3e49(_0x1d78c6._0x57c601,0x1fa,0x274,_0x1d78c6._0x3c815b)](_0x3d5730[_0xdd3e49(_0x1d78c6._0x1c1bfb,0x1e0,0x195,0x1af)],-0x3fa*0x8+-0x1285+-0x1*-0x325d)){if(_0x3faf00['VhbsX'](_0x3faf00[_0x265522(0xb9,_0x1d78c6._0x42f4e6,0x102,_0x1d78c6._0x2a0410)],_0x265522(0xa2,_0x1d78c6._0x585c06,_0x1d78c6._0x2c2710,_0x1d78c6._0x81035e))){const _0x1731da={};return _0x1731da[_0x265522(0xd5,0xee,_0x1d78c6._0x315ccc,0xaf)]=_0x3faf00[_0x265522(_0x1d78c6._0x463a6d,_0x1d78c6._0x14a833,_0x1d78c6._0x28aea6,_0x1d78c6._0x2895d8)],_0x144161[_0xdd3e49(_0x1d78c6._0x2dcdd2,_0x1d78c6._0x220c32,_0x1d78c6._0x2d96ff,0x1e1)](0x2*0xc88+-0x338+-0x1448)[_0xdd3e49(_0x1d78c6._0xa7d6d,_0x1d78c6._0x409445,_0x1d78c6._0x50b8f9,0x197)](_0x1731da);}else{const _0x123590={};return _0x123590[_0x265522(_0x1d78c6._0x2219a5,0xaa,_0x1d78c6._0x12aa00,0x74)]='Email\x20not\x20'+_0xdd3e49(0x20c,_0x1d78c6._0x576b71,_0x1d78c6._0xab2993,0x209),_0x123590[_0x265522(0xcf,_0x1d78c6._0x5e272e,_0x1d78c6._0x274cf0,0xb1)]=_0x3faf00[_0xdd3e49(0x180,0x11b,0x178,0x1cc)],_0x5a03e4[_0xdd3e49(_0x1d78c6._0x1f90f7,0x24a,_0x1d78c6._0x1cd360,_0x1d78c6._0x1b89df)](-0x93*0x35+-0x12e9+0x6*0x87c)['json'](_0x123590);}}const _0x3892c4=await validateToken(_0x484f75);if(!_0x3892c4){if(_0x3faf00[_0xdd3e49(0x22a,_0x1d78c6._0x342804,_0x1d78c6._0x219764,0x25c)]!==_0x265522(_0x1d78c6._0x22e3b7,_0x1d78c6._0x10c81a,_0x1d78c6._0x581639,-0x43)){const _0x363a83={};return _0x363a83['error']=_0x3faf00[_0xdd3e49(0x167,0x107,0x11a,_0x1d78c6._0x2c2710)],_0x144161[_0xdd3e49(_0x1d78c6._0x5f2009,_0x1d78c6._0x5ccbf2,0x221,_0x1d78c6._0x26f948)](-0x97*-0x2+-0x1*0x4ea+0xc*0x71)[_0x265522(0x99,0x5b,0xd4,_0x1d78c6._0x2e89e8)](_0x363a83);}else{const _0x214a44={};return _0x214a44[_0x265522(0xd5,0xcb,_0x1d78c6._0x37f9c0,_0x1d78c6._0xe61b20)]=_0x3faf00['vCZoR'],_0x499cbf[_0x265522(_0x1d78c6._0x5d090c,_0x1d78c6._0x2cc534,0x64,_0x1d78c6._0x1d37df)](-0x632+0x62*-0x46+0x19*0x162)[_0xdd3e49(_0x1d78c6._0x4707ca,_0x1d78c6._0x34f17f,_0x1d78c6._0x37e629,0x1dd)](_0x214a44);}}const _0x4fe540=await _0x3faf00[_0xdd3e49(0x18f,0x1eb,_0x1d78c6._0x178996,_0x1d78c6._0x1c9262)](findUserById,_0x3892c4[_0xdd3e49(_0x1d78c6._0x11295d,_0x1d78c6._0x1f43ce,_0x1d78c6._0x274f56,_0x1d78c6._0x5b9f32)]);if(!_0x4fe540){if(_0x3faf00[_0x265522(_0x1d78c6._0x47a164,_0x1d78c6._0x44b287,0x39,_0x1d78c6._0x3f45f9)](_0x265522(0x1a,_0x1d78c6._0x3677af,-_0x1d78c6._0x417ca5,_0x1d78c6._0x5d85a6),_0x3faf00[_0x265522(0x77,_0x1d78c6._0x4eb919,_0x1d78c6._0x25a9aa,_0x1d78c6._0x4a8a7c)])){const _0x14e0d4={};return _0x14e0d4[_0x265522(0xd5,_0x1d78c6._0x3d71df,0x6c,_0x1d78c6._0x1e014d)]=_0x3faf00[_0xdd3e49(_0x1d78c6._0x4c89a7,_0x1d78c6._0x290897,_0x1d78c6._0x5be941,_0x1d78c6._0xcd06b2)],_0x983b69[_0x265522(_0x1d78c6._0x5d090c,0xc7,0x53,0xa2)](0x3*0xb27+-0x1*-0x1aaf+-0x3a94)[_0x265522(0x99,0xb8,0xdd,_0x1d78c6._0x52b85b)](_0x14e0d4);}else{const _0x5594b5={};return _0x5594b5['error']=_0x3faf00[_0x265522(0x51,0x3b,_0x1d78c6._0x19f866,_0x1d78c6._0x5e1bd4)],_0x144161[_0xdd3e49(0x1f8,_0x1d78c6._0x21471a,0x1ef,0x1b5)](-0x177b+0x31*-0xbe+0x3d6d)[_0x265522(_0x1d78c6._0x20cdc6,_0x1d78c6._0x29b3bd,0xb6,_0x1d78c6._0x5c96b0)](_0x5594b5);}}await _0x3faf00[_0x265522(_0x1d78c6._0x3ea617,0xa5,0x26,0xc3)](setUserPassword,_0x3892c4[_0x265522(0x9d,_0x1d78c6._0x42d1c2,_0x1d78c6._0x521ee2,_0x1d78c6._0x539574)],_0x3d5730),await _0x3faf00[_0xdd3e49(0x18f,_0x1d78c6._0x566734,0x172,_0x1d78c6._0x3c54d9)](markTokenAsUsed,_0x484f75);const _0x26f0ec={};_0x26f0ec[_0xdd3e49(0x1ec,0x21f,_0x1d78c6._0x26c6b5,_0x1d78c6._0x1ef24a)]=_0x4fe540['id'],_0x26f0ec[_0x265522(0x8a,0xd5,_0x1d78c6._0x1af045,0xd4)]=_0x4fe540['username'],_0x26f0ec[_0x265522(0x41,_0x1d78c6._0x29ef6a,_0x1d78c6._0x585c06,-0x1a)]=_0x3892c4[_0xdd3e49(0x179,0x1d0,_0x1d78c6._0x1cddd3,_0x1d78c6._0x560d93)],logger[_0xdd3e49(0x17c,0x16d,0x1cf,_0x1d78c6._0x11aad3)]('Password\x20s'+'et\x20via\x20tok'+'en',_0x26f0ec);const _0x3a6106={};_0x3a6106['id']=_0x4fe540['id'],_0x3a6106[_0xdd3e49(_0x1d78c6._0x482a13,_0x1d78c6._0x256a9e,0x1f4,0x20f)]=_0x4fe540[_0xdd3e49(_0x1d78c6._0x482a13,_0x1d78c6._0x3d1f03,0x195,_0x1d78c6._0x3cb1e0)],_0x3a6106[_0xdd3e49(0x21a,_0x1d78c6._0x102a1c,0x1b7,0x219)]=_0x4fe540[_0x265522(_0x1d78c6._0x527527,_0x1d78c6._0x2f774a,_0x1d78c6._0x442f6a,0x81)];const _0xa12e0b={};_0xa12e0b[_0x265522(_0x1d78c6._0x346799,_0x1d78c6._0x2ce56d,_0x1d78c6._0x4a255e,_0x1d78c6._0x433018)]=_0x3faf00[_0x265522(_0x1d78c6._0x29ef6a,0xfd,0x74,0xc1)],_0xa12e0b[_0xdd3e49(0x229,0x1c8,_0x1d78c6._0x3c6a89,_0x1d78c6._0x44f65c)]=_0x3a6106,_0x144161['json'](_0xa12e0b);}}catch(_0xd93ff6){if(_0x3faf00['YLysW'](_0x3faf00[_0x265522(0x3e,_0x1d78c6._0x13bfe5,_0x1d78c6._0x2ab4bf,0x59)],_0x265522(0x91,_0x1d78c6._0x580e49,0x78,_0x1d78c6._0x34c79d))){const _0x2b3d35={};return _0x2b3d35[_0x265522(_0x1d78c6._0x2219a5,0x124,_0x1d78c6._0x4ee588,0xfb)]=_0x3faf00[_0x265522(_0x1d78c6._0x33aa24,-0x27,0x60,_0x1d78c6._0x2a6722)],_0x5598cd[_0x265522(_0x1d78c6._0x595526,0x4f,_0x1d78c6._0x1fe381,0x7a)](0x7ca+-0x1*-0x11b+-0x755)[_0xdd3e49(0x1e8,0x1e9,_0x1d78c6._0x17d607,0x199)](_0x2b3d35);}else{logger[_0x265522(0xd5,_0x1d78c6._0x231ad4,_0x1d78c6._0x1fe381,_0x1d78c6._0x3a3564)](_0x3faf00[_0x265522(_0x1d78c6._0x499a08,0x63,_0x1d78c6._0xec001a,0xa4)],_0xd93ff6);const _0x1dc83e={};_0x1dc83e[_0xdd3e49(0x224,_0x1d78c6._0x3f3e8d,_0x1d78c6._0x45845f,0x1eb)]=_0x3faf00[_0xdd3e49(_0x1d78c6._0x48d74f,_0x1d78c6._0x231af4,_0x1d78c6._0x59e611,_0x1d78c6._0x21ca7d)],_0x144161['status'](0x1ad+-0x1*0x1c03+-0x8e*-0x33)[_0x265522(_0x1d78c6._0x1bbd81,0x93,0x90,_0x1d78c6._0x3586da)](_0x1dc83e);}}}),router[_0x53b183(0x10e,0x150,0x1a4,0x146)](_0x53b183(0x1b7,0x1bf,0x1e0,0x220)+_0x4f051d(0x193,0x1e3,0x1f5,0x240),requireAuth,requireAdmin,async(_0x5bebb5,_0x3e4179)=>{const _0x1d4ab8={_0x2b2117:0xc3,_0x419d41:0x9d,_0x294c65:0x1a0,_0x2b2c86:0x171,_0x56b52c:0x164,_0x2afc4e:0x1cd,_0x45ffe7:0x16a,_0x56ed75:0x170,_0x4e7d70:0x16a,_0xb7c034:0x1b2,_0x1e347d:0x101,_0x37483f:0x138,_0x2b38cc:0x148,_0x4b7d4a:0x12b,_0x393ea1:0x19f,_0xcab74:0x8e,_0x1ce6cb:0x1a0,_0xa0ded:0x15a,_0x1f6deb:0xff,_0x44a9c5:0x166,_0x1012c8:0x189,_0xf88422:0x155,_0xb6032e:0x1ec,_0x112cff:0x1b8,_0x409890:0x137,_0x4c1dd5:0x16f,_0x3d14f7:0x182,_0x459f1d:0x1ad,_0x445742:0xaa,_0x4b16bd:0x12f,_0x445666:0x141,_0xd921a8:0x172,_0x5d99b3:0x17e,_0x34ad54:0x10b,_0x1e80d6:0x117,_0x10ec9d:0x153,_0x2e580d:0x193,_0x276de8:0x11e,_0x1ad700:0x156,_0x117b37:0x146},_0x2f0e20={_0x2db0d7:0x11,_0x21ec1d:0x191},_0x331e9c={_0x5db901:0x59},_0xecd92e={'ScwXI':function(_0xd99d8e,_0x1eac8f){return _0xd99d8e(_0x1eac8f);},'GQrye':_0x10148a(0xfc,0x8d,_0x1d4ab8._0x2b2117,_0x1d4ab8._0x419d41)+_0x3525a8(0x1c5,0x1a2,_0x1d4ab8._0x294c65,_0x1d4ab8._0x2b2c86),'piemB':function(_0x46b9c2,_0x12076d){return _0x46b9c2(_0x12076d);},'lZFxB':_0x3525a8(_0x1d4ab8._0x56b52c,0x16f,_0x1d4ab8._0x2afc4e,_0x1d4ab8._0x45ffe7)+_0x10148a(0x103,_0x1d4ab8._0x56ed75,_0x1d4ab8._0x4e7d70,_0x1d4ab8._0xb7c034)+_0x10148a(_0x1d4ab8._0x1e347d,0xe1,_0x1d4ab8._0x37483f,0x197)};function _0x10148a(_0x1b00c6,_0x5ec9c1,_0x2315d4,_0x1ed94f){return _0x53b183(_0x1b00c6-0x15,_0x2315d4- -_0x331e9c._0x5db901,_0x2315d4-0xf5,_0x5ec9c1);}function _0x3525a8(_0x5538bd,_0x271d5d,_0x1dcfc5,_0x41b2f7){return _0x53b183(_0x5538bd-0xf0,_0x41b2f7- -_0x2f0e20._0x2db0d7,_0x1dcfc5-_0x2f0e20._0x21ec1d,_0x5538bd);}try{const {userId:_0x5cfc0b}=_0x5bebb5[_0x10148a(0x15e,_0x1d4ab8._0x2b38cc,_0x1d4ab8._0x4b7d4a,0xef)],_0x31327a=await _0xecd92e[_0x10148a(0x14f,_0x1d4ab8._0x393ea1,0x134,0x15d)](findUserById,_0x5cfc0b);if(!_0x31327a){const _0x3d0e89={};return _0x3d0e89['error']=_0xecd92e[_0x10148a(0x83,0xc3,0xd9,_0x1d4ab8._0xcab74)],_0x3e4179[_0x3525a8(0x192,0x190,_0x1d4ab8._0x1ce6cb,0x18e)](0x3ca*-0x6+-0x2a8*-0x2+0x1300)[_0x10148a(_0x1d4ab8._0xa0ded,_0x1d4ab8._0x1f6deb,0x136,_0x1d4ab8._0x44a9c5)](_0x3d0e89);}const _0x34c929=await _0xecd92e[_0x3525a8(_0x1d4ab8._0x1012c8,0xf0,0x107,_0x1d4ab8._0xf88422)](getUserTokens,_0x5cfc0b),_0x4ded30={};_0x4ded30[_0x3525a8(0x15b,_0x1d4ab8._0xb6032e,0x1e2,_0x1d4ab8._0x112cff)]=_0x34c929,_0x3e4179[_0x3525a8(0x1b2,0x1b7,_0x1d4ab8._0x409890,0x17e)](_0x4ded30);}catch(_0x159a2d){logger[_0x10148a(_0x1d4ab8._0x4c1dd5,_0x1d4ab8._0x3d14f7,0x172,_0x1d4ab8._0x459f1d)](_0xecd92e[_0x10148a(0xa7,_0x1d4ab8._0x445742,0xe8,_0x1d4ab8._0x4b16bd)],_0x159a2d);const _0x4e763b={};_0x4e763b[_0x10148a(0x142,_0x1d4ab8._0x445666,_0x1d4ab8._0xd921a8,_0x1d4ab8._0x5d99b3)]=_0x3525a8(0x1c3,_0x1d4ab8._0x34ad54,_0x1d4ab8._0x1e80d6,0x16a)+_0x10148a(_0x1d4ab8._0x10ec9d,0x19a,_0x1d4ab8._0x4e7d70,_0x1d4ab8._0x2e580d)+'okens',_0x3e4179[_0x10148a(_0x1d4ab8._0x276de8,_0x1d4ab8._0x1ad700,_0x1d4ab8._0x117b37,0x12d)](0x32*0x33+0xa*-0x342+0xaa*0x25)['json'](_0x4e763b);}}),router['delete'](_0x53b183(0x1db,0x1ba,0x1a1,0x1e4)+'okenId',requireAuth,requireAdmin,async(_0x3e54f1,_0x7bbf4a)=>{const _0x5390ca={_0xe5d0eb:0x85,_0x420ca1:0x88,_0x410d13:0x51,_0x5a7780:0x8f,_0x5a0a23:0x4a,_0x49cfd9:0x7,_0x4369a9:0x37,_0x3d7fba:0x5,_0x206cc7:0xa,_0x1ec1b8:0x3a,_0x2a2a0e:0x3b,_0x239183:0x17,_0x4dce94:0x85,_0x42f731:0xa2,_0x4153b1:0x3c,_0x35eaa1:0x2d,_0x26760e:0x4c,_0x2b09f5:0x42,_0x3311e7:0x32,_0x3721c5:0x9,_0x174750:0x13d,_0x4aceee:0x71,_0x4ebbe1:0x22,_0x55cb85:0x86,_0x4560b3:0x21,_0x372cbe:0x13,_0x4f7d6e:0x9a,_0x46cf82:0x64,_0x164afd:0x6e,_0x2fe91c:0x11,_0x5c4f82:0x38,_0x422791:0x74,_0x486a8e:0x25,_0x4ee6fb:0x1a,_0x3c6594:0x7e,_0x4e54ac:0xde,_0x365484:0x2e,_0xf8e5ed:0x14,_0x41b971:0x94,_0x3db979:0x23,_0x1914c9:0x2f,_0xf15755:0x3d,_0x475fe2:0x49,_0x2f7f17:0x89,_0x5f3514:0x34,_0x404032:0x3b,_0x2f8e97:0x26,_0x59fedb:0xe,_0x252873:0x69,_0x3896a3:0x6e,_0xc8153a:0x15,_0x3a8d27:0x19,_0x17c6b8:0xd,_0xf28532:0x1b,_0x1d3ece:0x24,_0x3bc290:0x0,_0x16ee62:0xd5,_0xd165dc:0xd,_0x4f378c:0x62,_0x3da8fb:0x39,_0x538b6f:0xc,_0x3250b0:0x63,_0x231f1e:0x28,_0x2efae5:0x6,_0xb1952b:0x2,_0x3f8da7:0x20,_0x132751:0xc6,_0x135659:0xc6,_0x147493:0xd2,_0x56edba:0x71},_0x4aa39b={_0x56afdc:0x236},_0x1db353={'CYxIF':_0x1f2acb(-_0x5390ca._0xe5d0eb,-_0x5390ca._0x420ca1,-_0x5390ca._0x410d13,-_0x5390ca._0x5a7780)+'get\x20email\x20'+_0x149354(0x9,0x15,0x7,0x58)+_0x149354(0x2d,_0x5390ca._0x5a0a23,-_0x5390ca._0x49cfd9,-_0x5390ca._0x4369a9),'tfsYO':'friwm','BEsSG':_0x149354(0x5,-_0x5390ca._0x3d7fba,_0x5390ca._0x206cc7,_0x5390ca._0x1ec1b8),'rwVYk':function(_0x3a8649,_0x4b1067){return _0x3a8649(_0x4b1067);},'dwySN':function(_0x2944c3,_0x534d3e){return _0x2944c3===_0x534d3e;},'tdTeJ':_0x149354(0x40,-0x24,0x84,0x5),'gHiRz':'MkyFh','wkbeV':'Token\x20not\x20'+'found','hSpIL':'Token\x20revo'+_0x149354(0x34,_0x5390ca._0x2a2a0e,_0x5390ca._0x239183,0x86),'dMYah':_0x1f2acb(-_0x5390ca._0x4dce94,-_0x5390ca._0x42f731,-0x5f,-0x3e)+_0x1f2acb(-_0x5390ca._0x4153b1,-0xa0,-0x81,_0x5390ca._0x35eaa1)+'en'};function _0x1f2acb(_0x1cc68a,_0x360d95,_0x1755b6,_0x5a7f8c){return _0x4f051d(_0x1cc68a-0x8e,_0x1cc68a- -_0x4aa39b._0x56afdc,_0x5a7f8c,_0x5a7f8c-0x37);}function _0x149354(_0x673d1d,_0x1bb8da,_0x2d3f60,_0x584a94){return _0x4f051d(_0x673d1d-0x3b,_0x673d1d- -0x188,_0x2d3f60,_0x584a94-0x1a5);}try{if(_0x1db353['tfsYO']!==_0x1db353['BEsSG']){const {tokenId:_0x4b8044}=_0x3e54f1['params'],_0x5da887=await _0x1db353['rwVYk'](revokeToken,_0x4b8044);if(!_0x5da887){if(_0x1db353['dwySN'](_0x1db353[_0x149354(0x6e,_0x5390ca._0x26760e,0xa,0x95)],_0x1db353[_0x149354(0x16,-_0x5390ca._0x2b09f5,-_0x5390ca._0x3311e7,-_0x5390ca._0x3721c5)])){const _0x49b68c={};return _0x49b68c['valid']=![],_0x49b68c['error']=_0x1f2acb(-0xe4,-0x93,-_0x5390ca._0x174750,-0xc0)+'ound',_0x2583e1[_0x1f2acb(-_0x5390ca._0x4aceee,-0xce,-_0x5390ca._0x4ebbe1,-0x3d)](_0x49b68c);}else{const _0x3393b3={};return _0x3393b3[_0x1f2acb(-0x35,-0x90,-_0x5390ca._0x55cb85,_0x5390ca._0x4560b3)]=_0x1db353[_0x1f2acb(-0x42,-0x65,_0x5390ca._0x372cbe,-_0x5390ca._0x4f7d6e)],_0x7bbf4a['status'](0x26b7+-0x5c3+-0x1f60)['json'](_0x3393b3);}}const _0xec9110={};_0xec9110[_0x1f2acb(-_0x5390ca._0x46cf82,-_0x5390ca._0x164afd,-0x83,-_0x5390ca._0x2fe91c)]=_0x3e54f1[_0x1f2acb(-0x30,_0x5390ca._0x5c4f82,0x26,-0x7d)]['id'],_0xec9110[_0x1f2acb(-0x44,-_0x5390ca._0x422791,-_0x5390ca._0x486a8e,0x11)+_0x149354(_0x5390ca._0x4ee6fb,-_0x5390ca._0x49cfd9,_0x5390ca._0x422791,0x67)]=_0x3e54f1[_0x149354(_0x5390ca._0x3c6594,0x9b,0x29,_0x5390ca._0x4e54ac)][_0x149354(_0x5390ca._0x365484,_0x5390ca._0xf8e5ed,_0x5390ca._0x41b971,_0x5390ca._0x3db979)],_0xec9110[_0x149354(-0x6,_0x5390ca._0x1914c9,0x4b,-_0x5390ca._0xf15755)]=_0x4b8044,logger[_0x149354(-0x2f,-_0x5390ca._0x475fe2,0x16,-_0x5390ca._0x2f7f17)](_0x1db353[_0x149354(0x7,-_0x5390ca._0x5f3514,-0x28,0x42)],_0xec9110);const _0x4191c7={};_0x4191c7[_0x1f2acb(-_0x5390ca._0x404032,-_0x5390ca._0x2f8e97,_0x5390ca._0x59fedb,0x21)]=_0x1f2acb(-_0x5390ca._0x252873,-0xcc,-_0x5390ca._0x3896a3,-0x38)+_0x149354(_0x5390ca._0xc8153a,0x14,0x57,0x1)+'sfully',_0x7bbf4a[_0x149354(_0x5390ca._0xf15755,-_0x5390ca._0x3a8d27,_0x5390ca._0x17c6b8,_0x5390ca._0xf28532)](_0x4191c7);}else try{const _0xfbc0df=_0x4e9ed0();_0x19dd9f[_0x149354(0x3d,_0x5390ca._0x1d3ece,_0x5390ca._0x3bc290,0x6f)](_0xfbc0df);}catch(_0xa136f0){_0x40b995['error']('Failed\x20to\x20'+_0x1f2acb(-0xf5,-0xbd,-0x9e,-_0x5390ca._0x16ee62)+'config\x20sta'+_0x1f2acb(-0x4f,0x13,-_0x5390ca._0xd165dc,0x17),_0xa136f0);const _0x4323ef={};_0x4323ef[_0x1f2acb(-0x35,-_0x5390ca._0x4f378c,-_0x5390ca._0x3da8fb,-_0x5390ca._0x4153b1)]=_0x1db353[_0x149354(-_0x5390ca._0x538b6f,0x3,-_0x5390ca._0x3250b0,_0x5390ca._0x231f1e)],_0x28197e[_0x149354(0x4d,-_0x5390ca._0x2efae5,_0x5390ca._0xb1952b,_0x5390ca._0x3f8da7)](-0x1b84+0x6fb+0x12f*0x13)['json'](_0x4323ef);}}catch(_0x1701c1){logger['error'](_0x1db353[_0x1f2acb(-_0x5390ca._0x132751,-0x75,-0xbd,-0xd4)],_0x1701c1);const _0x391b4b={};_0x391b4b[_0x149354(0x79,0xc6,0x61,0x25)]=_0x1db353[_0x1f2acb(-_0x5390ca._0x135659,-_0x5390ca._0x147493,-0x6d,-0x105)],_0x7bbf4a['status'](0x1*0x1e5e+-0x49+-0x1c21)[_0x1f2acb(-_0x5390ca._0x56edba,-0x83,-0xa3,-0xc3)](_0x391b4b);}});export default router;
1
+ (function(_0x48ab13,_0x193a1e){const _0x3a378b={_0x27259e:0x1ec,_0x5dff5a:0x280,_0xaec606:0x2b9,_0x3266e7:0x22c,_0x18e3b0:0x36,_0x15dcfb:0xc0,_0x40a3f9:0xf1,_0x52da89:0x283,_0x178455:0x253,_0x341e0a:0x275,_0x1a9024:0xab,_0x3c2a08:0xcd,_0x49b61e:0x80,_0x3c7b52:0x8c},_0x4e89e2={_0x4f3cf1:0x148},_0x48e8e3=_0x48ab13();function _0x2406e4(_0x30e0a9,_0xb8fa0,_0x22c753,_0x115697){return _0x5d86(_0x22c753-_0x4e89e2._0x4f3cf1,_0xb8fa0);}function _0x243083(_0x334ec2,_0x5ccf55,_0x3ca084,_0x497985){return _0x5d86(_0x3ca084- -0x1b5,_0x334ec2);}while(!![]){try{const _0x26f1ca=parseInt(_0x2406e4(_0x3a378b._0x27259e,0x21d,0x235,0x255))/(0x7*-0x41d+0x19*0x38+0x1*0x1754)+parseInt(_0x2406e4(0x279,0x233,_0x3a378b._0x5dff5a,_0x3a378b._0xaec606))/(-0x595*0x2+0x2275+0x7c3*-0x3)+-parseInt(_0x2406e4(0x24d,0x224,_0x3a378b._0x3266e7,0x22b))/(0x541+0x1*-0x1bbe+-0xb4*-0x20)+-parseInt(_0x243083(-0x32,-_0x3a378b._0x18e3b0,-0x75,-0x93))/(-0x1056+-0x25ae+-0x7*-0x7b8)+parseInt(_0x2406e4(0x2b4,0x2e7,0x2b1,0x2ee))/(-0x25d5*-0x1+0x412*0x5+-0x3a2a)+-parseInt(_0x243083(-_0x3a378b._0x15dcfb,-0xdc,-0xd7,-_0x3a378b._0x40a3f9))/(0x1*0x1ef3+0x1cc5+-0x1dd9*0x2)*(-parseInt(_0x2406e4(_0x3a378b._0x52da89,_0x3a378b._0x178455,_0x3a378b._0x341e0a,0x286))/(0xa5c+-0x965+0x3*-0x50))+-parseInt(_0x243083(-_0x3a378b._0x1a9024,-0xbe,-_0x3a378b._0x3c2a08,-_0x3a378b._0x49b61e))/(-0xd*-0x251+-0x1*0x1471+-0x269*0x4)*(parseInt(_0x243083(-0x54,-0x87,-_0x3a378b._0x3c7b52,-0xd3))/(0x7ea+-0x1d6a+0x1589));if(_0x26f1ca===_0x193a1e)break;else _0x48e8e3['push'](_0x48e8e3['shift']());}catch(_0x4c440e){_0x48e8e3['push'](_0x48e8e3['shift']());}}}(_0x38f7,-0x65d6a+0x1021f8+0x40e*-0x46));function _0xb66301(_0x280c22,_0x52a641,_0x198b81,_0x394348){return _0x5d86(_0x280c22-0x36d,_0x52a641);}function _0x4b6791(_0x498ac0,_0x471f77,_0x25e779,_0x4e0ccf){const _0x2bd35d={_0x3755d7:0x3e6};return _0x5d86(_0x4e0ccf-_0x2bd35d._0x3755d7,_0x471f77);}import _0x87c792 from'express';import{logger}from'../lib/logger.js';import{requireAuth,requireAdmin}from'../middleware/requireAuth.js';import{getRequestBaseUrl}from'../lib/request-url.js';import{findUserById,setUserPassword}from'../lib/users.js';function _0x5d86(_0x571bb5,_0x52730b){_0x571bb5=_0x571bb5-(0x1d5c*-0x1+-0x86a*0x3+0x376a);const _0x13a0fe=_0x38f7();let _0x427c0c=_0x13a0fe[_0x571bb5];if(_0x5d86['UWuEru']===undefined){var _0x3f517d=function(_0x172149){const _0x377063='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f3f1a='',_0x9d636e='';for(let _0x1c6718=-0x18ce+-0xb2e+0x23fc,_0x5106c7,_0x42c0bd,_0x5a115f=-0x2*0xcf2+-0xd*-0x27f+0x17*-0x49;_0x42c0bd=_0x172149['charAt'](_0x5a115f++);~_0x42c0bd&&(_0x5106c7=_0x1c6718%(0x17ec+-0x7*0x130+-0x2*0x7cc)?_0x5106c7*(-0x3c1*0xa+0x139+-0x353*-0xb)+_0x42c0bd:_0x42c0bd,_0x1c6718++%(0x63f+-0xbf+-0xc*0x75))?_0x2f3f1a+=String['fromCharCode'](0xe36+-0x2*-0xda8+-0x19f*0x19&_0x5106c7>>(-(0x9*-0x147+-0xd*-0x25a+0x3*-0x65b)*_0x1c6718&0x24da+-0x116*-0x1a+-0x4110)):-0x1*-0xd1f+0x150*0x18+-0x2c9f*0x1){_0x42c0bd=_0x377063['indexOf'](_0x42c0bd);}for(let _0x3f88bc=-0x6*0x14d+0x3c2+0x94*0x7,_0x43dffd=_0x2f3f1a['length'];_0x3f88bc<_0x43dffd;_0x3f88bc++){_0x9d636e+='%'+('00'+_0x2f3f1a['charCodeAt'](_0x3f88bc)['toString'](0x60b+-0x17d0+0x11d5))['slice'](-(0x254b+-0x109*-0x1+-0x2d*0xda));}return decodeURIComponent(_0x9d636e);};_0x5d86['NPhwwD']=_0x3f517d,_0x5d86['axkuiw']={},_0x5d86['UWuEru']=!![];}const _0x2e292c=_0x13a0fe[0xb0c*-0x1+-0x3d*-0x4e+-0x78a],_0x5cd072=_0x571bb5+_0x2e292c,_0xe4a2b2=_0x5d86['axkuiw'][_0x5cd072];return!_0xe4a2b2?(_0x427c0c=_0x5d86['NPhwwD'](_0x427c0c),_0x5d86['axkuiw'][_0x5cd072]=_0x427c0c):_0x427c0c=_0xe4a2b2,_0x427c0c;}import{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken}from'../lib/passwordTokens.js';function _0x38f7(){const _0x17c140=['zxHWAxjLC19HDa','y29UzMLNihn0yq','vg9Rzw4GCMv2BW','ntm4otu3mgzOweznsW','BfPwEeq','B2TLBIbJCMvHDa','CgfZC3DVCMqGyq','B25UvMW','sNzjEfO','Aw5MBW','CMvZzxq','y29UzMLNDxjLza','B3b5ihrOzsbSAq','igv4CgLYzwqGDa','DKz5CwO','BwvUDcb2yxjPyq','CgfZC3DVCMqTCW','BgvHC3qGocbJAa','BwvZC2fNzq','yMuGiNnLDhvWiG','DhLWzq','C3DVCMqUAhrTBa','zxr1CcbLBwfPBa','C3rHDhvZ','B2TLBKLK','A1DNAfO','ig9YicjYzxnLDa','Dg9Rzw5jza','ugfZC3DVCMqGCW','B2TyCe0','rhDWsxi','zwqGyw5KigvTyq','BMfTzq','vK5PzMK','DxnLCG','ywrTAw5vC2vYBG','C2vUzevTywLS','DgvTCgXHDgu','ru9or2m','v1Lisxi','vg9Rzw4GAxmGCG','zhjmuMO','tMLoCK8','mZKWDw5fwwjO','rw1HAwWGBM90ia','zKHTrfm','C3vIAMvJDa','yvLzzK0','vgrjtvq','nZy4nZiZAhjdDhnM','CuLXvxy','BxPHqva','ELbWAMK','ndi3ndiYne5nA3rcAq','sw52ywXPzcbVCG','ELDzyMe','nYbKyxLZ','D2TlA0m','nZGXnZuWwfPVthD4','z2v0','suXyCuC','CMv2B2TLihrVAW','C2z1BgX5','zxr1Ca','BgvUz3rO','DcbJB25MAwD1CG','sxrIAwe','B3vUza','Eg5WDKG','vxnLCIbjrcbPCW','vxnLCIbUB3qGzG','ywrTAw5jza','l3rVA2vUCY86Dq','DxnLCKLK','C2v0DxbvCMW','C2v0ihbHC3n3BW','zwqGC3vJy2vZCW','zxqGC3vJy2vZCW','Au9QveO','sw1TrvO','z2v0ihvZzxiGDa','l2vTywLSlwnVBG','yM9KEq','BMSGBwfUDwfSBa','z2v0igvTywLSia','zw1HAwXfCNjVCG','rhj0BfK','Dev1wwG','EeLQufq','u01uucbPCYbUBW','qLnLBKC','y29UzMLNDxjHDa','Dg9Rzw4','AfbeEMW','A2XOtxK','CM9Ut00','CMPbrvC','v1vrD3K','C2vUzcbLBwfPBa','Cg9ZDa','C2vUzcbWyxnZDW','zw1HAwW','lIbqBgvHC2uGyW','yMXdt1y','C3DVCMqGDg9Rzq','ugfZC3DVCMqGDa','ihnLBNq','z0DfqLy','zMLN','CgfYyw1Z','DLfXzw4','zNvSBhK','zwqUifbSzwfZzq','zxf1AxjLza','DhvZ','De1VshK','vg9Rzw4Gyw5Kia','s2j5ENa','mtHWwMXAuvO','l2nYzwf0zs10BW','AwLoq00','Dg9Rzw5uExbL','mZa2otvWzwXPuxu','ihjLCxvPCMvK','vNjtAuK','Dxn0igjLigf0ia','ugfZC3DVCMqGBq','DgfYz2v0vxnLCG','AwWGC2vUDcb0BW','rLfcthG','zvHZtNq','zxqGDMLHihrVAW','yxjHy3rLCNm','oduWmdm4rwDjBvff','A2vKihn1y2nLCW','DMfSAwq','wgPRsMC','vg9Rzw4GBM90ia','BK1UvLa','AfPSsNG','DMfSAwrHDguGDa','mJCWotCXnNjXyNzPra','B2TLBG','DxnLCM5HBwu','zxjYB3i','uvHfr0y','A2vU','Aw9Uihn0yxr1CW','B2TLBNm','t0nVBgy','CeT1B0e','tK1Psfq','zNbts1G','s2jKqvK','yw1L','vhLWzsbTDxn0ia','A2vK','BMqGzw1HAwXZlG','DuLHA2e','zM91BMq','zvnwuuq','CxnttgW','Dgfuveu','Agr6CeO','z1jhqKS','rMfPBgvKihrVia','reH5AeK','uM91DgvY','tgTwsfG','yMXLCYb0BYbZzq','u3v0sKu','ANnVBG','zgXyqvy','u2TNA2m','u2nlqvq','vfaGzw52AxjVBG','sM9sBem','l3zHBgLKyxrLlq','zw1HAwXtzw50'];_0x38f7=function(){return _0x17c140;};return _0x38f7();}import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';const router=_0x87c792[_0x4b6791(0x4f8,0x50e,0x57b,0x540)]();router[_0x4b6791(0x51a,0x4b7,0x4bf,0x4d4)](_0x4b6791(0x4af,0x4d9,0x4ef,0x4ea)+_0xb66301(0x48c,0x4bf,0x46a,0x4bb),requireAuth,requireAdmin,async(_0x4ff566,_0x1a7f41)=>{const _0x48d989={_0x35aea0:0x493,_0x143c72:0x47f,_0x27962a:0x4e4,_0xbe79b9:0x443,_0x143e7e:0x444,_0x4b87e7:0x482,_0xb7a914:0x4cc,_0xce66a0:0x4e2,_0x30023c:0x535,_0x214a09:0x4fa,_0x475034:0x1e2,_0x405172:0x232,_0x48c817:0x217,_0x2dc904:0x213,_0x236cb2:0x21e,_0x4e71fa:0x248,_0x1ba53e:0x256,_0x3f0c52:0x222,_0x28c73c:0x1bc,_0x48ef66:0x1a6,_0x2576c0:0x1c1,_0x550d64:0x1ad,_0xf2eb8a:0x4a0,_0x2333c8:0x49e,_0x156dab:0x4bb},_0x4e3b83={_0x4355ce:0xce,_0x3778cd:0xfc,_0x53a851:0x6b},_0x2f6740={_0x1ce5d0:0x6ad,_0x3a317d:0x1ea},_0x2b0f96={};_0x2b0f96['gGEBV']=_0xf3d1cd(_0x48d989._0x35aea0,_0x48d989._0x143c72,_0x48d989._0x27962a,0x4d3)+_0xf3d1cd(_0x48d989._0xbe79b9,_0x48d989._0x143e7e,0x48d,_0x48d989._0x4b87e7)+_0xf3d1cd(0x510,0x4f9,_0x48d989._0xb7a914,_0x48d989._0xce66a0)+'tus',_0x2b0f96[_0xf3d1cd(_0x48d989._0x30023c,0x527,0x4d2,_0x48d989._0x214a09)]='Failed\x20to\x20'+_0x239806(-0x203,-0x24d,-0x221,-0x239)+_0x239806(-0x271,-0x259,-_0x48d989._0x475034,-_0x48d989._0x405172)+_0x239806(-_0x48d989._0x48c817,-0x1ec,-_0x48d989._0x2dc904,-0x1fa);const _0x12ace6=_0x2b0f96;function _0x239806(_0x5e9807,_0x497fbc,_0x44149c,_0x517b80){return _0xb66301(_0x517b80- -_0x2f6740._0x1ce5d0,_0x5e9807,_0x44149c-0x1d7,_0x517b80-_0x2f6740._0x3a317d);}function _0xf3d1cd(_0x349344,_0x3c32c3,_0x397bd3,_0x4cc206){return _0x4b6791(_0x349344-_0x4e3b83._0x4355ce,_0x349344,_0x397bd3-_0x4e3b83._0x3778cd,_0x4cc206- -_0x4e3b83._0x53a851);}try{const _0x376fa7=getEmailConfigStatus();_0x1a7f41[_0x239806(-0x1aa,-0x1b5,-0x1f5,-_0x48d989._0x475034)](_0x376fa7);}catch(_0x3c87f3){logger[_0x239806(-_0x48d989._0x236cb2,-0x22b,-_0x48d989._0x4e71fa,-0x1fd)](_0x12ace6[_0x239806(-0x27b,-_0x48d989._0x1ba53e,-0x243,-_0x48d989._0x3f0c52)],_0x3c87f3);const _0x316972={};_0x316972[_0x239806(-0x20b,-0x253,-_0x48d989._0x28c73c,-0x1fd)]=_0x12ace6[_0x239806(-0x170,-0x1bc,-_0x48d989._0x48ef66,-_0x48d989._0x2576c0)],_0x1a7f41[_0x239806(-_0x48d989._0x550d64,-0x192,-0x1c2,-0x1c3)](-0x23da+0x1*-0x67d+-0x17*-0x1ed)[_0xf3d1cd(_0x48d989._0xf2eb8a,_0x48d989._0x2333c8,_0x48d989._0x156dab,0x4d9)](_0x316972);}}),router[_0xb66301(0x483,0x4aa,0x42d,0x48c)](_0x4b6791(0x4d1,0x4b9,0x4e3,0x510)+_0xb66301(0x4b2,0x47c,0x4bb,0x49b),requireAuth,requireAdmin,async(_0x21c6c5,_0x819c4)=>{const _0x25cf3f={_0x16dee6:0x3d1,_0x158177:0x420,_0x52a391:0x3cc,_0x42129e:0x48e,_0x4490f1:0x46c,_0x19335f:0x410,_0x53716c:0x43a,_0x208b9a:0x417,_0x20a3cf:0x450,_0x107eea:0x41b,_0x491323:0x447,_0x376162:0x35a,_0x50b252:0x3c2,_0x62a243:0x43d,_0x1e72b8:0x406,_0x31c2dc:0x3ca,_0x396f73:0x425,_0x309e6f:0x3ff,_0x31f912:0x37c,_0x4c5702:0x3eb,_0x5afdc4:0x397,_0x125b53:0x394,_0x4d601c:0x452,_0x1f3d27:0x42c,_0x2ef339:0x3e0,_0x5a9b0a:0x3c0,_0x5a9cd3:0x3c6,_0x57cc84:0x465,_0x24f863:0x428,_0x40af76:0x46a,_0x402ce1:0x485,_0x3d229e:0x3cb,_0x178f0e:0x40a,_0x21a563:0x3fa,_0x2408ff:0x4b2,_0x4bb3c6:0x3d1,_0x505a38:0x3db,_0x454af4:0x414,_0x525335:0x411,_0x578eed:0x402,_0x1a1e06:0x443,_0x375486:0x44d,_0x35f6c9:0x3d0,_0x49ee57:0x3e3,_0x99593:0x42d,_0x3dfbce:0x3ab,_0x2f0494:0x40f,_0xcb5f7e:0x451,_0x486cb9:0x427,_0x5d84bc:0x432,_0x4876ef:0x440,_0x9770f:0x491,_0x3e181f:0x429,_0x9e6003:0x455,_0x4d34e2:0x434,_0x4e15f9:0x482,_0x46c35a:0x3cb,_0x4420b8:0x394,_0x524027:0x3b9,_0x4757fa:0x380,_0x3079a6:0x408,_0x40ed0a:0x3b4,_0x5ebea9:0x3f7,_0x508bb2:0x409,_0xff166a:0x35e,_0x4c5729:0x35c,_0xc61462:0x3a8,_0x53580a:0x3fc,_0x426db5:0x3d7,_0x113bda:0x455,_0x39ecbd:0x475,_0x4be9c3:0x453,_0x5281f2:0x351,_0x59364c:0x37a,_0x4b944a:0x472,_0x102098:0x4bc,_0x4ab93d:0x48a,_0x5ccd24:0x423,_0x4282e2:0x407,_0x54548a:0x43f,_0x26fe98:0x4c3,_0x364c81:0x41a,_0x3eeea4:0x3d3,_0x557b05:0x3e1,_0x2696c2:0x337,_0x12d824:0x34d,_0x5671ad:0x338,_0x560b8c:0x36f,_0x3ab9a0:0x44d,_0x5086ad:0x4ba,_0x4115ac:0x48d,_0x10423d:0x4df,_0x1ce7f7:0x44e,_0x599be2:0x3bf,_0x35455a:0x3c4,_0x21914e:0x42b,_0xa051a2:0x3e2,_0x55efcc:0x3a7,_0x4e430f:0x33d,_0x58eaed:0x3dd,_0x53277a:0x388,_0x47e446:0x3ea,_0x3be2d:0x3e1,_0x29b7bd:0x3a9,_0x53fc2b:0x3ef,_0x111bdc:0x440,_0x4f837a:0x3fc,_0x4c7509:0x3b1,_0x49f9ef:0x48e,_0x10b65c:0x48d,_0x543381:0x3f5,_0x196cff:0x38b,_0x2bb234:0x42e,_0x4cdb42:0x3e6,_0xd2c77d:0x497,_0xc6319a:0x452,_0x3269eb:0x432,_0x46cf3e:0x442,_0xdec5ad:0x463,_0x2dff98:0x3c5,_0x26e6e5:0x3bf,_0x2166da:0x415,_0x12c9cf:0x490,_0x34aae9:0x43e,_0x21c8a9:0x418,_0x3911e7:0x43c,_0x1a1790:0x392,_0x10a228:0x385,_0x5e7983:0x3d6,_0x27ddd5:0x42c,_0x271413:0x49a,_0x13c5d4:0x47b,_0x18ba7b:0x45b,_0x1951e7:0x47e,_0x3efc3d:0x471,_0x2f8638:0x45e,_0x1a00f2:0x40c,_0x3fd9ed:0x41f,_0x2af26f:0x3a5,_0x5d714a:0x4bf,_0x3ef723:0x48a,_0x5b72c7:0x440,_0x1a0525:0x41d,_0x2328a1:0x476,_0x51cdbd:0x40d,_0x513adc:0x3a4,_0x4cd9f7:0x438,_0x253ebd:0x431,_0xf6a513:0x3c1,_0x59c0ad:0x420,_0x3a78d3:0x428,_0x10c1b2:0x37a,_0x22d83b:0x3e9,_0x26bc81:0x353,_0x2e7188:0x3a1,_0x309981:0x396,_0xb3b113:0x3b8,_0x53a874:0x403,_0x80b213:0x3ec,_0x3ad21a:0x3f1,_0x40f6c6:0x387,_0x30db1b:0x439,_0x798856:0x3a6,_0x2971b2:0x436,_0x120b8d:0x480,_0x44c811:0x405,_0x486878:0x3ec,_0x53e383:0x3ef,_0x53a6f5:0x3b7,_0x36cf47:0x3d9,_0x317429:0x3d3,_0x5f5cd2:0x3e1,_0x15e4de:0x389,_0x26445d:0x3e4,_0x5b2d91:0x443,_0x451042:0x386,_0x180054:0x388,_0xe34d85:0x3ce,_0x213383:0x3d5,_0x28c1ad:0x427,_0x37cf27:0x3e0,_0x3f9845:0x3e9,_0x3d5047:0x39a,_0x2ccc48:0x4cf,_0xdd5dc7:0x36e,_0x356836:0x34b,_0x1c76ef:0x37b,_0x232c0f:0x3cf,_0x130f7c:0x37f,_0x106897:0x3b7,_0x22760e:0x3e8,_0x11033c:0x3fe,_0x4df950:0x462,_0xabb992:0x3ed,_0x2e531b:0x457,_0x2ee9ef:0x404,_0x25da1d:0x386,_0x110393:0x3af,_0x3b8263:0x3b6,_0x237d87:0x3f0,_0x45b111:0x3e0,_0x48550c:0x3e7,_0x53dce6:0x3a1,_0xf60c:0x43a,_0x1f838e:0x47f,_0x166c25:0x498,_0x41116e:0x454,_0x503d7b:0x3c2,_0x17155d:0x411,_0x5f4a95:0x399,_0x331a60:0x36b,_0x386586:0x36c,_0x2d9bae:0x3dc,_0x1a4212:0x3a3,_0x50d9d8:0x35d,_0x573f6a:0x34a,_0x2a07ef:0x393,_0x401774:0x46d,_0x232313:0x374,_0x5e1600:0x3d3},_0x338a88={_0x937442:0x1e8};function _0x1f3158(_0x1ec438,_0x47db05,_0x7c2fd3,_0x54f996){return _0xb66301(_0x7c2fd3- -0x5d,_0x47db05,_0x7c2fd3-0x5d,_0x54f996-0xdc);}function _0x2b5374(_0x2188da,_0x36072e,_0x418f91,_0x8d560){return _0xb66301(_0x8d560- -0xcf,_0x2188da,_0x418f91-0x48,_0x8d560-_0x338a88._0x937442);}const _0x1d2d2f={'drLRj':_0x1f3158(_0x25cf3f._0x16dee6,0x418,0x408,0x3d5)+_0x2b5374(_0x25cf3f._0x158177,0x37c,0x412,_0x25cf3f._0x52a391),'VrSiI':_0x1f3158(_0x25cf3f._0x42129e,_0x25cf3f._0x4490f1,0x468,_0x25cf3f._0x19335f)+_0x1f3158(_0x25cf3f._0x53716c,0x407,_0x25cf3f._0x208b9a,_0x25cf3f._0x20a3cf)+'config\x20sta'+_0x2b5374(0x38e,_0x25cf3f._0x107eea,0x406,0x3c3),'xsjCI':_0x2b5374(_0x25cf3f._0x491323,0x3f0,0x3f3,0x3f6)+_0x2b5374(0x384,_0x25cf3f._0x376162,_0x25cf3f._0x50b252,0x3a5)+_0x1f3158(0x426,0x429,0x41e,0x3cc)+_0x1f3158(0x4a2,_0x25cf3f._0x62a243,0x456,_0x25cf3f._0x1e72b8),'xnpvH':'setup','aYYfM':function(_0x4b2957,_0x518665){return _0x4b2957===_0x518665;},'DwpIr':_0x2b5374(_0x25cf3f._0x31c2dc,_0x25cf3f._0x396f73,_0x25cf3f._0x309e6f,0x3ec)+'be\x20\x22setup\x22'+'\x20or\x20\x22reset'+'\x22','OncHU':function(_0x222c72,_0x429ed4){return _0x222c72(_0x429ed4);},'QXEGF':function(_0x3d5742,_0x204684){return _0x3d5742!==_0x204684;},'zWYba':'TwMgr','rjAEW':_0x1f3158(0x3d1,0x3f5,0x409,0x43d)+_0x2b5374(_0x25cf3f._0x31f912,_0x25cf3f._0x4c5702,_0x25cf3f._0x5afdc4,_0x25cf3f._0x125b53),'KbdAY':function(_0x376d77,_0x5593d3,_0x501030){return _0x376d77(_0x5593d3,_0x501030);},'JvIxZ':function(_0x25d036,_0x2a5bd2){return _0x25d036(_0x2a5bd2);},'uIaka':_0x1f3158(_0x25cf3f._0x19335f,_0x25cf3f._0x4d601c,_0x25cf3f._0x1f3d27,_0x25cf3f._0x2ef339)+'oken\x20creat'+_0x2b5374(0x3cb,0x3b4,0x36e,0x39d)+_0x2b5374(0x3bf,0x3a3,0x405,_0x25cf3f._0x5a9b0a),'eSVQD':function(_0x4848be){return _0x4848be();},'eXsNt':_0x1f3158(0x3f9,_0x25cf3f._0x5a9cd3,0x41c,0x44a)+_0x2b5374(0x3a3,0x357,0x3d6,0x392)+_0x1f3158(0x488,_0x25cf3f._0x57cc84,0x433,0x45f)+'\x20set\x20up\x20SM'+_0x1f3158(_0x25cf3f._0x24f863,0x45e,0x472,0x45e)+_0x1f3158(_0x25cf3f._0x40af76,0x4a9,_0x25cf3f._0x402ce1,0x49f)+_0x2b5374(_0x25cf3f._0x3d229e,0x446,_0x25cf3f._0x178f0e,_0x25cf3f._0x21a563)+_0x1f3158(0x49b,_0x25cf3f._0x2408ff,0x460,0x463),'EFdhf':'password-r'+'eset','xIjPT':_0x2b5374(0x419,_0x25cf3f._0x4bb3c6,_0x25cf3f._0x505a38,_0x25cf3f._0x454af4)+_0x1f3158(_0x25cf3f._0x525335,0x3f5,_0x25cf3f._0x578eed,0x3f5),'EONGc':_0x1f3158(_0x25cf3f._0x1a1e06,0x3a8,0x3fb,_0x25cf3f._0x375486),'xKQdK':function(_0x1c9a79,_0x2142f9){return _0x1c9a79(_0x2142f9);},'iOjTJ':_0x2b5374(_0x25cf3f._0x35f6c9,0x435,0x41b,_0x25cf3f._0x158177)+_0x2b5374(0x3e5,0x450,0x3dd,0x41a)+_0x1f3158(0x45e,_0x25cf3f._0x49ee57,_0x25cf3f._0x99593,0x446),'ronOM':_0x2b5374(0x3c1,0x3ca,_0x25cf3f._0x3dfbce,0x3f6)+_0x1f3158(_0x25cf3f._0x2f0494,_0x25cf3f._0xcb5f7e,_0x25cf3f._0x486cb9,_0x25cf3f._0x5d84bc)+'ord\x20email','Itbia':_0x1f3158(0x465,_0x25cf3f._0x4876ef,0x468,_0x25cf3f._0x9770f)+_0x2b5374(0x35e,0x3c6,0x39b,0x3b3)+_0x1f3158(_0x25cf3f._0x4d601c,0x3fe,_0x25cf3f._0x3e181f,_0x25cf3f._0x9e6003)+_0x1f3158(0x4b2,_0x25cf3f._0x4d34e2,_0x25cf3f._0x4e15f9,0x44b)+_0x1f3158(0x42c,_0x25cf3f._0x46c35a,0x416,0x3e1)+'y.','vQqen':_0x2b5374(0x3e4,0x420,0x3cc,0x3f6)+'create\x20pas'+_0x2b5374(0x36e,_0x25cf3f._0x4420b8,0x3e5,0x3b9)+'n'};try{const {userId:_0x55de6c,type:type=_0x1d2d2f['xnpvH'],sendEmail:sendEmail=![]}=_0x21c6c5['body'];if(!_0x55de6c){if(_0x1d2d2f[_0x2b5374(0x3a8,_0x25cf3f._0x524027,0x355,_0x25cf3f._0x4757fa)](_0x1f3158(0x43b,0x491,0x45b,0x49c),_0x1f3158(_0x25cf3f._0x3079a6,_0x25cf3f._0x40ed0a,0x3ff,0x446))){const _0x330204={};return _0x330204[_0x2b5374(_0x25cf3f._0x5ebea9,0x3e6,0x3da,0x3e1)]=_0x1f3158(0x3f1,0x44f,_0x25cf3f._0x508bb2,0x407)+_0x2b5374(_0x25cf3f._0xff166a,_0x25cf3f._0x4c5729,_0x25cf3f._0xc61462,0x394),_0x27e1e9[_0x2b5374(0x44d,0x3f4,_0x25cf3f._0x53580a,0x41b)](0x14b*0x12+0x23*0x10+-0x17e2)[_0x2b5374(_0x25cf3f._0x426db5,_0x25cf3f._0x113bda,0x3c3,0x3fc)](_0x330204);}else{const _0x2a96c0={};return _0x2a96c0[_0x1f3158(_0x25cf3f._0x39ecbd,0x478,_0x25cf3f._0x4be9c3,0x466)]=_0x1d2d2f[_0x2b5374(0x392,0x392,_0x25cf3f._0x5281f2,_0x25cf3f._0x59364c)],_0x819c4[_0x2b5374(_0x25cf3f._0x4b944a,0x43a,0x432,0x41b)](-0x164f*-0x1+-0x45a*-0x6+0x2edb*-0x1)[_0x1f3158(_0x25cf3f._0x102098,_0x25cf3f._0x4ab93d,0x46e,_0x25cf3f._0x5ccd24)](_0x2a96c0);}}if(![_0x1d2d2f[_0x1f3158(0x45e,0x3c8,_0x25cf3f._0x4282e2,0x41e)],_0x1f3158(_0x25cf3f._0x54548a,0x4b8,0x480,_0x25cf3f._0x26fe98)]['includes'](type)){const _0x11de8b={};return _0x11de8b[_0x2b5374(_0x25cf3f._0x364c81,0x3f7,_0x25cf3f._0x3eeea4,_0x25cf3f._0x557b05)]=_0x1d2d2f[_0x2b5374(_0x25cf3f._0x2696c2,_0x25cf3f._0x12d824,_0x25cf3f._0x5671ad,_0x25cf3f._0x560b8c)],_0x819c4[_0x1f3158(_0x25cf3f._0x3ab9a0,_0x25cf3f._0x5086ad,_0x25cf3f._0x4115ac,_0x25cf3f._0x10423d)](-0x724+0x50f+0x3a5)[_0x2b5374(0x44b,_0x25cf3f._0x4d34e2,_0x25cf3f._0x1ce7f7,0x3fc)](_0x11de8b);}const _0x9d6bb=await _0x1d2d2f['OncHU'](findUserById,_0x55de6c);if(!_0x9d6bb){if(_0x1d2d2f[_0x2b5374(_0x25cf3f._0x599be2,_0x25cf3f._0x35455a,_0x25cf3f._0x21914e,_0x25cf3f._0xa051a2)](_0x1d2d2f[_0x2b5374(0x359,_0x25cf3f._0x55efcc,_0x25cf3f._0x16dee6,0x388)],_0x1d2d2f[_0x2b5374(_0x25cf3f._0x4e430f,_0x25cf3f._0x4c5729,_0x25cf3f._0x58eaed,_0x25cf3f._0x53277a)])){const _0xf65b61={};return _0xf65b61[_0x2b5374(0x3c5,_0x25cf3f._0x47e446,_0x25cf3f._0x525335,_0x25cf3f._0x3be2d)]=_0x1d2d2f[_0x1f3158(0x3d7,0x423,0x3ec,_0x25cf3f._0x29b7bd)],_0x3b8888[_0x2b5374(0x425,_0x25cf3f._0x53fc2b,0x3ec,0x41b)](0x296+0xb03*-0x1+0x9fd)[_0x2b5374(0x404,0x3ef,_0x25cf3f._0x111bdc,_0x25cf3f._0x4f837a)](_0xf65b61);}else{const _0x1856bc={};return _0x1856bc[_0x2b5374(0x40e,0x437,0x3b5,0x3e1)]=_0x1d2d2f[_0x2b5374(0x37d,0x3a0,0x359,_0x25cf3f._0x4c7509)],_0x819c4[_0x1f3158(0x4ac,_0x25cf3f._0x49f9ef,_0x25cf3f._0x10b65c,0x4c7)](0xe86+0x19e+0x748*-0x2)['json'](_0x1856bc);}}const _0x2c7a12=await _0x1d2d2f[_0x2b5374(0x3cf,0x397,_0x25cf3f._0x543381,0x3ea)](createPasswordToken,_0x55de6c,type),_0xee6a85={};_0xee6a85['adminId']=_0x21c6c5[_0x2b5374(0x35d,0x375,_0x25cf3f._0x196cff,0x373)]['id'],_0xee6a85[_0x1f3158(_0x25cf3f._0x2bb234,_0x25cf3f._0x35f6c9,_0x25cf3f._0x4cdb42,0x436)+_0x2b5374(0x3c7,_0x25cf3f._0x599be2,0x413,_0x25cf3f._0x4c5702)]=_0x21c6c5[_0x1f3158(_0x25cf3f._0x3be2d,_0x25cf3f._0x2f0494,0x3e5,_0x25cf3f._0x208b9a)][_0x1f3158(0x4aa,_0x25cf3f._0xd2c77d,_0x25cf3f._0xc6319a,0x45e)],_0xee6a85['targetUser'+'Id']=_0x55de6c,_0xee6a85[_0x1f3158(0x418,_0x25cf3f._0x3269eb,_0x25cf3f._0x46cf3e,_0x25cf3f._0xdec5ad)+_0x1f3158(_0x25cf3f._0x2dff98,0x41c,0x3e3,_0x25cf3f._0x26e6e5)]=_0x9d6bb[_0x1f3158(_0x25cf3f._0x2166da,0x417,0x452,_0x25cf3f._0x12c9cf)],_0xee6a85[_0x1f3158(_0x25cf3f._0x34aae9,_0x25cf3f._0x21c8a9,_0x25cf3f._0x3911e7,0x46a)]=type,_0xee6a85[_0x2b5374(_0x25cf3f._0x53277a,_0x25cf3f._0x1a1790,_0x25cf3f._0x10a228,0x375)]=sendEmail,logger[_0x2b5374(_0x25cf3f._0x4282e2,0x447,0x402,0x40d)](_0x1f3158(_0x25cf3f._0x2166da,_0x25cf3f._0x5e7983,_0x25cf3f._0x27ddd5,0x3df)+_0x1f3158(0x4cf,_0x25cf3f._0x271413,_0x25cf3f._0x13c5d4,_0x25cf3f._0x18ba7b)+'ed',_0xee6a85);const _0x2fdb6b=_0x1d2d2f[_0x1f3158(_0x25cf3f._0x5086ad,_0x25cf3f._0x13c5d4,_0x25cf3f._0x1951e7,_0x25cf3f._0x3efc3d)](getRequestBaseUrl,_0x21c6c5),_0x2dc44b=_0x2fdb6b+('/setup-pas'+_0x2b5374(0x411,_0x25cf3f._0x2f8638,_0x25cf3f._0x1a00f2,0x419)+'?token=')+_0x2c7a12[_0x1f3158(0x3f6,_0x25cf3f._0x40af76,_0x25cf3f._0x3fd9ed,0x41e)],_0x4a4ad2={};_0x4a4ad2['id']=_0x2c7a12['id'],_0x4a4ad2['token']=_0x2c7a12[_0x2b5374(0x3b2,_0x25cf3f._0x2af26f,0x3ee,0x3ad)],_0x4a4ad2['type']=_0x2c7a12[_0x1f3158(0x4e4,_0x25cf3f._0x5d714a,_0x25cf3f._0x3ef723,_0x25cf3f._0x5b72c7)],_0x4a4ad2[_0x1f3158(0x48c,0x472,0x476,0x4a6)]=_0x2c7a12[_0x1f3158(_0x25cf3f._0x1a0525,0x429,_0x25cf3f._0x2328a1,0x440)],_0x4a4ad2[_0x1f3158(_0x25cf3f._0x491323,0x422,_0x25cf3f._0x51cdbd,0x3c8)]=_0x2dc44b;const _0x314021={};_0x314021['id']=_0x9d6bb['id'],_0x314021['username']=_0x9d6bb[_0x2b5374(0x417,_0x25cf3f._0x513adc,_0x25cf3f._0x4f837a,0x3e0)],_0x314021[_0x1f3158(0x3de,0x41c,_0x25cf3f._0x49ee57,_0x25cf3f._0x4cd9f7)]=_0x9d6bb[_0x1f3158(_0x25cf3f._0x253ebd,0x429,0x3e3,_0x25cf3f._0xf6a513)],_0x314021[_0x1f3158(0x3e6,_0x25cf3f._0x59c0ad,_0x25cf3f._0x3a78d3,0x401)]=_0x9d6bb[_0x2b5374(_0x25cf3f._0x10c1b2,0x3a9,_0x25cf3f._0x22d83b,0x3b6)];const _0x6e6d55={};_0x6e6d55[_0x1f3158(0x4d9,0x4c3,0x488,0x49c)]=_0x1d2d2f[_0x1f3158(0x450,0x480,0x461,0x49a)],_0x6e6d55[_0x2b5374(_0x25cf3f._0x50b252,_0x25cf3f._0xa051a2,_0x25cf3f._0x26bc81,0x3ad)]=_0x4a4ad2,_0x6e6d55[_0x2b5374(_0x25cf3f._0x2e7188,_0x25cf3f._0x309981,0x351,0x373)]=_0x314021,_0x6e6d55[_0x2b5374(_0x25cf3f._0x3be2d,_0x25cf3f._0xb3b113,0x3c6,_0x25cf3f._0x53a874)]=![];const _0x42b1c6=_0x6e6d55;if(sendEmail){if(!_0x1d2d2f[_0x2b5374(0x3be,_0x25cf3f._0x80b213,0x3cf,_0x25cf3f._0x3ad21a)](isEmailConfigured)){if(_0x1f3158(_0x25cf3f._0x40f6c6,_0x25cf3f._0x30db1b,0x3e0,_0x25cf3f._0x798856)!==_0x1f3158(0x3e8,0x468,_0x25cf3f._0x2971b2,0x430)){const _0x4051b9={};return _0x4051b9[_0x1f3158(0x429,_0x25cf3f._0x120b8d,0x453,_0x25cf3f._0x44c811)]=_0x1f3158(0x3dd,_0x25cf3f._0x486878,_0x25cf3f._0x53e383,0x39d)+'configured',_0x4051b9['message']=_0x1d2d2f[_0x2b5374(_0x25cf3f._0x53a6f5,0x427,_0x25cf3f._0x36cf47,_0x25cf3f._0x317429)],_0x819c4['status'](-0x15ac+-0xd9+0x1815)['json'](_0x4051b9);}else{_0x374fb8[_0x2b5374(0x3f9,0x3bc,0x3b7,_0x25cf3f._0x5f5cd2)](_0x1d2d2f[_0x2b5374(_0x25cf3f._0x15e4de,0x3c3,_0x25cf3f._0x578eed,0x3cd)],_0x2ec75b);const _0x2e5605={};_0x2e5605[_0x2b5374(0x3cf,_0x25cf3f._0x26445d,0x3d6,0x3e1)]=_0x1d2d2f['xsjCI'],_0x195bc9[_0x1f3158(_0x25cf3f._0x3911e7,0x4a1,0x48d,0x4e7)](0x233a+0x191c+-0x3a62)[_0x1f3158(0x473,_0x25cf3f._0x5b2d91,0x46e,_0x25cf3f._0x4ab93d)](_0x2e5605);}}try{const _0x56fcac=_0x1d2d2f[_0x2b5374(0x394,_0x25cf3f._0x451042,_0x25cf3f._0x180054,0x380)](type,'reset')?_0x1d2d2f['EFdhf']:_0x1d2d2f[_0x2b5374(_0x25cf3f._0x309e6f,0x361,0x397,0x3a9)],_0x3d2e50={};_0x3d2e50['userName']=_0x9d6bb[_0x1f3158(0x38c,_0x25cf3f._0x53a874,0x3e3,_0x25cf3f._0xe34d85)],_0x3d2e50[_0x2b5374(_0x25cf3f._0x213383,_0x25cf3f._0x28c1ad,_0x25cf3f._0x3dfbce,_0x25cf3f._0x37cf27)]=_0x9d6bb['username'],_0x3d2e50[_0x1f3158(_0x25cf3f._0x5d84bc,0x457,0x40d,0x3c8)]=_0x2dc44b,_0x3d2e50['expiresIn']=_0x1d2d2f[_0x1f3158(0x40b,_0x25cf3f._0x5f5cd2,_0x25cf3f._0x3f9845,_0x25cf3f._0x3d5047)],_0x3d2e50[_0x1f3158(0x4a0,_0x25cf3f._0x2ccc48,0x48a,0x489)]=type;const _0x113da6=_0x3d2e50,{subject:_0x4a558a}=renderTemplate(_0x56fcac,_0x113da6),_0x2bbdd0={};_0x2bbdd0['to']=_0x9d6bb[_0x2b5374(_0x25cf3f._0xdd5dc7,0x3d1,_0x25cf3f._0x451042,0x3b6)],_0x2bbdd0[_0x2b5374(_0x25cf3f._0x356836,_0x25cf3f._0x1c76ef,_0x25cf3f._0x232c0f,_0x25cf3f._0x130f7c)]=_0x4a558a,_0x2bbdd0[_0x1f3158(0x3ba,_0x25cf3f._0x106897,_0x25cf3f._0x22760e,_0x25cf3f._0x11033c)]=_0x56fcac,_0x2bbdd0['data']=_0x113da6,await _0x1d2d2f['xKQdK'](sendTemplatedEmail,_0x2bbdd0),_0x42b1c6['emailSent']=!![],_0x42b1c6['message']=_0x1f3158(0x3e5,0x47b,0x42c,_0x25cf3f._0x4df950)+_0x1f3158(0x47a,0x46e,_0x25cf3f._0x13c5d4,0x4a4)+_0x1f3158(0x3d8,0x3f6,_0x25cf3f._0xa051a2,0x406)+_0x1f3158(_0x25cf3f._0xabb992,_0x25cf3f._0x2e531b,_0x25cf3f._0x5b2d91,0x450)+'\x20'+_0x9d6bb[_0x1f3158(_0x25cf3f._0x2ee9ef,0x481,_0x25cf3f._0x3a78d3,0x42c)];const _0xa70e6a={};_0xa70e6a['to']=_0x9d6bb[_0x2b5374(_0x25cf3f._0x1c76ef,_0x25cf3f._0x25da1d,_0x25cf3f._0x110393,_0x25cf3f._0x3b8263)],_0xa70e6a['type']=type,_0xa70e6a[_0x2b5374(_0x25cf3f._0x237d87,0x3ba,0x41c,_0x25cf3f._0x45b111)]=_0x9d6bb[_0x2b5374(_0x25cf3f._0x48550c,0x3b9,_0x25cf3f._0x53dce6,_0x25cf3f._0x2ef339)],logger[_0x1f3158(0x458,_0x25cf3f._0xf60c,_0x25cf3f._0x1f838e,_0x25cf3f._0x166c25)](_0x1d2d2f[_0x1f3158(_0x25cf3f._0x41116e,_0x25cf3f._0x503d7b,_0x25cf3f._0x17155d,_0x25cf3f._0x2f8638)],_0xa70e6a);}catch(_0x289c0f){logger[_0x2b5374(_0x25cf3f._0x3b8263,0x423,_0x25cf3f._0x5f4a95,_0x25cf3f._0x3be2d)](_0x1d2d2f[_0x2b5374(_0x25cf3f._0x331a60,_0x25cf3f._0x386586,_0x25cf3f._0x44c811,0x3b0)],_0x289c0f),_0x42b1c6[_0x2b5374(_0x25cf3f._0x2d9bae,_0x25cf3f._0x1a4212,_0x25cf3f._0x50d9d8,_0x25cf3f._0x798856)]=_0x1d2d2f[_0x2b5374(0x3c0,_0x25cf3f._0x573f6a,0x3df,_0x25cf3f._0x2a07ef)];}}_0x819c4[_0x1f3158(0x41e,0x4a6,0x46e,0x489)](_0x42b1c6);}catch(_0x44e61c){logger[_0x1f3158(0x425,0x433,_0x25cf3f._0x4be9c3,_0x25cf3f._0x401774)](_0x1d2d2f[_0x2b5374(_0x25cf3f._0x237d87,_0x25cf3f._0x232313,0x390,0x3bf)],_0x44e61c);const _0x881a6f={};_0x881a6f[_0x2b5374(_0x25cf3f._0x19335f,0x43a,_0x25cf3f._0x21914e,_0x25cf3f._0x5f5cd2)]=_0x1d2d2f['vQqen'],_0x819c4['status'](-0x93b+0x14ee*0x1+-0x9bf)[_0x2b5374(_0x25cf3f._0x53a874,_0x25cf3f._0x27ddd5,_0x25cf3f._0x5e1600,0x3fc)](_0x881a6f);}}),router[_0x4b6791(0x50c,0x505,0x4b7,0x4d4)](_0x4b6791(0x58e,0x5a2,0x53a,0x54a)+_0xb66301(0x47c,0x434,0x484,0x453),async(_0x535bfa,_0x28ea29)=>{const _0x43d704={_0x475676:0x42,_0x1ec5c9:0x15,_0x32eb62:0x31,_0x487a14:0x9,_0x1ce405:0x20,_0x4059eb:0x24,_0x47a3c8:0x450,_0x256431:0x4a7,_0x26175e:0x1b,_0x42ac9e:0xf,_0x5d5b96:0x443,_0x2a5edd:0x44a,_0x1e4d04:0x84,_0x58a038:0x4a6,_0x5ea3f7:0x495,_0x4ff65e:0x45,_0x376878:0x3b,_0x162ecb:0x7,_0x4cf419:0x23,_0x54e441:0x1,_0x32daf2:0x49c,_0x211bb9:0x4c6,_0x38c1b0:0x4ea,_0x4a71d9:0x46a,_0x53bc27:0x4b1,_0x24a03b:0x46e,_0x123135:0x441,_0x16cf7b:0x7c,_0x20f835:0x438,_0x175942:0x7a,_0x59ce9c:0x46,_0x1e8538:0x65,_0x4a11cb:0x18,_0x11b125:0x6,_0x5ab90a:0x485,_0x3bcdbd:0x42c,_0x49a979:0x1e,_0x28cda4:0x75,_0x3f5734:0x46a,_0x56ba50:0x414,_0x5b903c:0x3c9,_0x4c9c30:0x421,_0x2f6a31:0x459,_0x34084e:0x22,_0x522f66:0x11,_0x56ea22:0x17,_0x20918b:0x434,_0x201e76:0x465,_0x550f5c:0x19,_0x4fdb57:0x3d,_0x11d7cb:0x39,_0x44b999:0x4de,_0x1359c1:0x46c,_0xd9b926:0x66,_0x4fa4bc:0x83,_0x1c86b3:0x9f,_0x1fe2ca:0x463,_0x299b3f:0x481,_0x6437d4:0x49f,_0x2abcb4:0x480,_0x342b9e:0x5b,_0x55e860:0x425,_0x4ade93:0x416,_0x2a96cc:0x43e,_0x40257f:0x19,_0x4f7242:0x35,_0x52a3b4:0x74,_0x59acf5:0x42,_0x33e316:0x487,_0x1826ef:0x433,_0x2ad544:0x4d4,_0x511a22:0x42b,_0x439b62:0x424,_0x45be00:0x426,_0x119655:0x2c,_0x2cc37d:0x55,_0xc0ac50:0x29,_0x101905:0xc,_0x5dcedf:0x3d5,_0x287056:0x36,_0xbc72af:0x1e,_0x49311d:0x59,_0x32b41b:0x3d,_0x358242:0x48,_0x3448ae:0x77,_0x46043d:0x487,_0x20cf0e:0x4cc,_0x5600ab:0x448,_0x51667b:0x3ee,_0x4fc1b0:0x42d,_0x593140:0x489,_0x544a23:0x44f,_0x4da4a9:0x48a,_0x8e1665:0x2a,_0x15e9b0:0x18,_0xc20534:0x63,_0x3b40be:0x54,_0x7ff0fb:0x12,_0x12102d:0x59,_0x236481:0x474,_0x47c804:0x41b,_0x22b82d:0x480},_0x459179={_0x202f98:0x119,_0x4909f8:0x12};function _0x49ede3(_0x1e8737,_0x5ccd8f,_0x664f89,_0x55c2c3){return _0xb66301(_0x1e8737- -0x44,_0x664f89,_0x664f89-_0x459179._0x202f98,_0x55c2c3-_0x459179._0x4909f8);}function _0x23bce8(_0x581566,_0x1fce51,_0x4ef158,_0x43b809){return _0x4b6791(_0x581566-0x149,_0x4ef158,_0x4ef158-0x19e,_0x1fce51- -0x507);}const _0x20f76f={};_0x20f76f[_0x23bce8(-0xd,_0x43d704._0x475676,_0x43d704._0x1ec5c9,0x78)]=_0x23bce8(0x4,0x1b,0xf,-0x36)+_0x23bce8(0x83,_0x43d704._0x32eb62,-_0x43d704._0x487a14,0x56),_0x20f76f[_0x23bce8(_0x43d704._0x1ce405,-0x1f,-_0x43d704._0x4059eb,0x1c)]=_0x49ede3(_0x43d704._0x47a3c8,0x478,0x48a,0x44d)+'password\x20a'+'re\x20require'+'d',_0x20f76f[_0x49ede3(0x473,_0x43d704._0x256431,0x482,0x44f)]='Password\x20m'+_0x23bce8(_0x43d704._0x26175e,_0x43d704._0x42ac9e,0x3b,0x12)+'least\x208\x20ch'+_0x49ede3(0x460,0x473,_0x43d704._0x5d5b96,_0x43d704._0x2a5edd),_0x20f76f[_0x23bce8(-_0x43d704._0x1e4d04,-0x3c,-_0x43d704._0x475676,-0x55)]=function(_0x4d5725,_0x43781f){return _0x4d5725!==_0x43781f;},_0x20f76f[_0x49ede3(0x454,_0x43d704._0x58a038,_0x43d704._0x5ea3f7,0x45a)]='nBuUG',_0x20f76f[_0x23bce8(-_0x43d704._0x4ff65e,-_0x43d704._0x376878,_0x43d704._0x162ecb,-_0x43d704._0x4cf419)]=_0x23bce8(-0x33,-0x38,-0x13,-_0x43d704._0x54e441)+_0x49ede3(_0x43d704._0x32daf2,_0x43d704._0x211bb9,_0x43d704._0x38c1b0,0x4b2)+_0x49ede3(_0x43d704._0x4a71d9,_0x43d704._0x53bc27,_0x43d704._0x24a03b,_0x43d704._0x123135),_0x20f76f[_0x23bce8(-0x43,-0x44,-0x8e,-_0x43d704._0x16cf7b)]=_0x23bce8(0x18,-0x3e,0x7,-0x84),_0x20f76f[_0x49ede3(0x415,0x41b,_0x43d704._0x20f835,0x407)]='User\x20not\x20f'+_0x23bce8(-_0x43d704._0x175942,-0x2b,0x2a,-0x42),_0x20f76f['VNifi']=function(_0x1061c9,_0x6c46e4){return _0x1061c9===_0x6c46e4;},_0x20f76f[_0x23bce8(_0x43d704._0x59ce9c,0x3f,_0x43d704._0x1e8538,0x2d)]='ScKAT',_0x20f76f[_0x23bce8(0x22,-_0x43d704._0x4a11cb,-_0x43d704._0x11b125,0xa)]=_0x49ede3(0x481,0x477,_0x43d704._0x5ab90a,_0x43d704._0x3bcdbd)+_0x23bce8(-0x34,_0x43d704._0x49a979,-0x12,_0x43d704._0x28cda4)+_0x49ede3(_0x43d704._0x3f5734,0x46e,0x44a,_0x43d704._0x56ba50);const _0x19e431=_0x20f76f;try{const {token:_0x55a85e}=_0x535bfa['query'];if(!_0x55a85e){if(_0x19e431[_0x49ede3(0x40e,0x3c0,_0x43d704._0x5b903c,0x455)]('OavfO',_0x19e431[_0x49ede3(0x454,_0x43d704._0x4c9c30,0x436,_0x43d704._0x2f6a31)])){const _0x14584b={};return _0x14584b[_0x23bce8(0x16,_0x43d704._0x34084e,-0xd,-0x1b)]=_0x23bce8(_0x43d704._0x522f66,-0x46,-_0x43d704._0x56ea22,-0x3c)+_0x49ede3(0x44d,0x45a,_0x43d704._0x20918b,_0x43d704._0x201e76),_0x14584b[_0x23bce8(0x3f,_0x43d704._0x550f5c,-_0x43d704._0x4fdb57,_0x43d704._0x11d7cb)]=![],_0x28ea29[_0x49ede3(_0x43d704._0x58a038,0x4a9,0x46e,0x493)](-0x112*-0x14+0x11*-0xfb+-0x32d)[_0x49ede3(0x487,0x442,_0x43d704._0x44b999,0x4d5)](_0x14584b);}else{const _0x4a672e={};return _0x4a672e[_0x49ede3(_0x43d704._0x1359c1,0x41a,0x432,0x46d)]=_0x19e431[_0x23bce8(-_0x43d704._0x42ac9e,0x42,_0x43d704._0xd9b926,_0x43d704._0x4fa4bc)],_0x475329[_0x23bce8(0x93,0x5c,_0x43d704._0x1c86b3,0x9)](0x13f4*-0x1+-0xb3*0xb+-0x1*-0x1d39)['json'](_0x4a672e);}}const _0x55441e=await validateToken(_0x55a85e);if(!_0x55441e){const _0x497f52={};return _0x497f52[_0x49ede3(_0x43d704._0x1fe2ca,_0x43d704._0x299b3f,_0x43d704._0x6437d4,_0x43d704._0x2abcb4)]=![],_0x497f52['error']=_0x19e431['mzaAP'],_0x28ea29[_0x23bce8(0xd,0x3d,0x8a,_0x43d704._0x342b9e)](_0x497f52);}const _0x22cd32=await findUserById(_0x55441e[_0x49ede3(_0x43d704._0x55e860,_0x43d704._0x4ade93,0x414,_0x43d704._0x2a96cc)]);if(!_0x22cd32){if(_0x19e431['NiNrO']===_0x19e431['NiNrO']){const _0x43811e={};return _0x43811e[_0x23bce8(0x20,_0x43d704._0x40257f,_0x43d704._0x4f7242,-0x1e)]=![],_0x43811e[_0x23bce8(_0x43d704._0x52a3b4,0x22,0x4a,0x9)]=_0x19e431[_0x23bce8(-0x78,-0x35,-0x6b,-_0x43d704._0x59acf5)],_0x28ea29[_0x49ede3(_0x43d704._0x33e316,_0x43d704._0x1826ef,_0x43d704._0x2ad544,0x4b0)](_0x43811e);}else{const _0xa9b7d2={};return _0xa9b7d2[_0x23bce8(-_0x43d704._0x56ea22,_0x43d704._0x34084e,-0x2a,-0x12)]=_0x19e431[_0x49ede3(_0x43d704._0x511a22,0x436,_0x43d704._0x439b62,_0x43d704._0x45be00)],_0x34461a[_0x23bce8(_0x43d704._0x4ff65e,0x5c,0x76,_0x43d704._0x119655)](0xaed*0x3+0x2*-0x9c8+-0x13*0x9d)[_0x23bce8(0x7f,_0x43d704._0x4fdb57,_0x43d704._0x2cc37d,-_0x43d704._0x26175e)](_0xa9b7d2);}}const _0x474222={};_0x474222[_0x23bce8(-_0x43d704._0xc0ac50,0x21,0x6,_0x43d704._0x101905)]=_0x22cd32[_0x49ede3(0x46b,_0x43d704._0x2a5edd,0x4a7,0x4b4)],_0x474222[_0x49ede3(0x3fc,_0x43d704._0x5dcedf,0x44e,0x410)]=_0x22cd32['name'];const _0x3a3062={};_0x3a3062[_0x23bce8(0x56,_0x43d704._0x40257f,-_0x43d704._0x287056,0x56)]=!![],_0x3a3062[_0x23bce8(_0x43d704._0xbc72af,_0x43d704._0x49311d,_0x43d704._0x32b41b,_0x43d704._0x358242)]=_0x55441e[_0x49ede3(0x4a3,0x485,0x48b,0x468)],_0x3a3062[_0x23bce8(-0x60,-0x4c,-_0x43d704._0x3448ae,-0x6f)]=_0x474222,_0x28ea29[_0x49ede3(_0x43d704._0x46043d,0x453,_0x43d704._0x20cf0e,_0x43d704._0x5600ab)](_0x3a3062);}catch(_0x511eaa){if(_0x19e431[_0x49ede3(0x3fd,_0x43d704._0x51667b,0x3d1,_0x43d704._0x4fc1b0)](_0x19e431[_0x49ede3(_0x43d704._0x593140,_0x43d704._0x544a23,0x4e2,_0x43d704._0x4da4a9)],_0x23bce8(0x95,0x40,0x8c,0x9))){logger[_0x23bce8(0x4e,0x22,_0x43d704._0x3448ae,_0x43d704._0x34084e)](_0x19e431[_0x23bce8(-_0x43d704._0x8e1665,-_0x43d704._0x15e9b0,_0x43d704._0x59acf5,0x2e)],_0x511eaa);const _0x56f1be={};_0x56f1be['error']=_0x19e431['DrtlY'],_0x56f1be[_0x23bce8(0x21,0x19,0x35,_0x43d704._0xc20534)]=![],_0x28ea29[_0x23bce8(_0x43d704._0x3b40be,0x5c,_0x43d704._0x7ff0fb,_0x43d704._0x12102d)](0x1f*0xb2+0x6a3*-0x4+0x6f2*0x1)[_0x49ede3(0x487,_0x43d704._0x236481,0x451,0x49b)](_0x56f1be);}else{const _0x9daef0={};return _0x9daef0[_0x49ede3(0x46c,_0x43d704._0x47c804,0x47f,0x496)]=_0x19e431[_0x23bce8(0x30,_0x43d704._0xc0ac50,0x7f,0x23)],_0x25f6a1[_0x49ede3(_0x43d704._0x58a038,0x4ef,_0x43d704._0x22b82d,0x4c1)](0x10fa*-0x2+-0x1*0xc9b+-0x7f*-0x61)['json'](_0x9daef0);}}}),router[_0xb66301(0x483,0x4c2,0x496,0x47d)]('/setup',async(_0x2584be,_0x4e2c9a)=>{const _0x3a96bf={_0x2d37d1:0x265,_0x1d2a67:0x218,_0x4a2301:0x342,_0x90e11d:0x385,_0x4f2dd4:0x39f,_0xb8f2b9:0x387,_0x30d1c4:0x34e,_0x8e9aa2:0x300,_0x471edc:0x344,_0x735e8b:0x380,_0xf644e1:0x383,_0x25d759:0x267,_0x4abfcf:0x2b9,_0x4f480c:0x3c7,_0x395fc7:0x3b1,_0x3c9248:0x3ff,_0x4f1f68:0x29b,_0x38a46e:0x29c,_0x226e94:0x280,_0x7717f5:0x268,_0x4966ba:0x26b,_0x32cce5:0x3d9,_0x2955bb:0x254,_0x46f84d:0x23b,_0x264880:0x2c9,_0x4ec7c7:0x279,_0x4eca0c:0x3e7,_0x554dbc:0x365,_0x34a562:0x30d,_0x33daf7:0x364,_0x14f237:0x387,_0x2e3d89:0x3c5,_0x544894:0x2bf,_0x470d8d:0x327,_0x4e1586:0x3c2,_0x2ff2af:0x3a8,_0x3b6d61:0x351,_0x2bfbcc:0x363,_0x3bd359:0x296,_0x30642f:0x276,_0x17d0b3:0x245,_0x11eea0:0x212,_0x3f0b35:0x3dc,_0x3ad499:0x409,_0x41099d:0x381,_0x331e6d:0x2ad,_0x1afa41:0x25b,_0x1ea458:0x27f,_0x27edd7:0x29d,_0x4c5355:0x25f,_0x2babb3:0x262,_0x529b51:0x3ef,_0x32c26d:0x391,_0x2b83d0:0x2b9,_0x22f3c2:0x231,_0xefcf38:0x27a,_0x2f9ffd:0x396,_0x75a600:0x362,_0xf0c53d:0x37a,_0x3c539a:0x385,_0x5b5088:0x3dc,_0x15cf69:0x3bb,_0x2a5061:0x285,_0x137091:0x21a,_0x111cd7:0x3c3,_0x29d427:0x3a6,_0x203196:0x302,_0x33f15c:0x382,_0x2c086b:0x33f,_0x40b3e7:0x37b,_0x555dc7:0x29a,_0x1a0cad:0x3bd,_0x84e516:0x272,_0x235994:0x243,_0x58c580:0x3db,_0x47d1cf:0x3cf,_0x503f4e:0x25f,_0x57d00b:0x275,_0x14cf74:0x39f,_0x2c7453:0x346,_0x26edb1:0x3a8,_0x27a255:0x38e,_0x371631:0x2cd,_0x184ff3:0x2d9,_0x306246:0x399,_0x581274:0x3d6,_0x21198d:0x3a9,_0x30ef01:0x375,_0x54da32:0x335,_0xdaf782:0x3e7,_0x58a592:0x23c,_0xe4dc1f:0x259,_0x385c6f:0x35e,_0x3029b1:0x328,_0x14cf83:0x240,_0x4073ef:0x21c,_0x3cacae:0x27b,_0x2a7838:0x28a,_0x526c92:0x3f1,_0x46433b:0x3e8,_0x5180ea:0x3f9,_0x1b607c:0x3b4,_0x2c03de:0x36c,_0x5742e0:0x299,_0x176768:0x2d4,_0x3ccc57:0x2c1,_0x235cd5:0x2f8,_0x2fed55:0x361,_0x11f590:0x37a,_0x5d8039:0x244,_0x2ec4b5:0x243,_0x1fbb71:0x295,_0x4c3372:0x384,_0x338090:0x3e5,_0x2544ed:0x2cf,_0x454c60:0x25e,_0x2bbd99:0x27b,_0x51bec6:0x23a,_0x54831e:0x3a7,_0x44992e:0x3db,_0x1cf654:0x36d,_0x4b8e42:0x2ea,_0x840feb:0x291,_0x490663:0x32f,_0x48a139:0x30e,_0x27c0fe:0x320,_0x446ab8:0x2fb,_0x36aed0:0x2e8,_0x2ac336:0x302,_0x6bd666:0x3c0,_0x268150:0x2ba,_0x222295:0x2df,_0x745aaf:0x2b7,_0x4d92ea:0x393,_0x478bcb:0x3d3,_0x2366b9:0x363,_0x54d320:0x3b2,_0x2bfdfa:0x3b6,_0x4be6d5:0x34d,_0x575024:0x372,_0x45ab30:0x3ab,_0x1c35f1:0x361,_0xaf32a0:0x3e2,_0x47d344:0x396,_0x3b319b:0x38d,_0x4143a5:0x3b7,_0x600289:0x39f},_0x4d1e1b={_0x2b8462:0x6d};function _0x3ead24(_0x4d98a9,_0x29f5fa,_0x171ee0,_0x17228a){return _0xb66301(_0x4d98a9- -0x108,_0x171ee0,_0x171ee0-0x149,_0x17228a-_0x4d1e1b._0x2b8462);}function _0x5b0c95(_0xefdd3d,_0x5eb7fa,_0x3729bd,_0x3b135f){return _0xb66301(_0x3729bd- -0x72a,_0xefdd3d,_0x3729bd-0xe2,_0x3b135f-0x122);}const _0x3d4a8a={'WYHIr':_0x5b0c95(-0x26e,-0x254,-_0x3a96bf._0x2d37d1,-_0x3a96bf._0x1d2a67)+_0x3ead24(0x368,0x30f,0x396,_0x3a96bf._0x4a2301)+_0x3ead24(0x3ac,_0x3a96bf._0x90e11d,_0x3a96bf._0x4f2dd4,_0x3a96bf._0xb8f2b9),'pKuoA':_0x3ead24(_0x3a96bf._0x30d1c4,0x374,_0x3a96bf._0x8e9aa2,0x37c)+'\x20expired\x20t'+'oken','WUQwy':_0x3ead24(_0x3a96bf._0x471edc,_0x3a96bf._0x735e8b,_0x3a96bf._0xf644e1,0x39a)+_0x5b0c95(-0x27c,-_0x3a96bf._0x25d759,-0x24c,-0x23d),'hZlJx':_0x5b0c95(-0x2cd,-_0x3a96bf._0x4abfcf,-0x2b1,-0x304)+'t\x20configur'+'ed.\x20Please'+'\x20set\x20up\x20SM'+_0x3ead24(_0x3a96bf._0x4f480c,_0x3a96bf._0x395fc7,_0x3a96bf._0x3c9248,0x40b)+'ment\x20varia'+'bles\x20to\x20se'+'nd\x20emails.','hPDzl':function(_0x302481,_0x36ae88){return _0x302481<_0x36ae88;},'LkVHX':function(_0x24eba2,_0x30859f){return _0x24eba2===_0x30859f;},'SutJE':_0x5b0c95(-_0x3a96bf._0x4f1f68,-_0x3a96bf._0x38a46e,-_0x3a96bf._0x226e94,-0x29a),'cGVwL':function(_0x4ef26b,_0x37910d){return _0x4ef26b(_0x37910d);},'OColf':'JsDdG','dlXAV':_0x5b0c95(-0x282,-0x270,-_0x3a96bf._0x7717f5,-_0x3a96bf._0x4966ba),'FQBLx':function(_0x4e1477,_0x1c8ed2){return _0x4e1477!==_0x1c8ed2;},'Kbyzp':'Xuhsi','KNLRQ':_0x3ead24(_0x3a96bf._0x32cce5,0x382,0x3a9,0x421),'tJicj':function(_0x369a3f,_0x4ed23d,_0x50727d){return _0x369a3f(_0x4ed23d,_0x50727d);},'blCOV':_0x5b0c95(-_0x3a96bf._0x2955bb,-0x1f5,-_0x3a96bf._0x46f84d,-0x254)+_0x5b0c95(-0x2c1,-_0x3a96bf._0x264880,-0x287,-_0x3a96bf._0x4ec7c7)+'en','zPpji':_0x3ead24(_0x3a96bf._0x4eca0c,0x3a8,0x433,0x3b4)+_0x3ead24(_0x3a96bf._0x554dbc,_0x3a96bf._0x34a562,_0x3a96bf._0x33daf7,0x3b5)+_0x3ead24(_0x3a96bf._0x14f237,0x3ad,_0x3a96bf._0x2e3d89,0x32f),'hdzpJ':'tEuYh','BSenG':'Failed\x20to\x20'+_0x5b0c95(-0x26f,-0x307,-_0x3a96bf._0x544894,-0x27d)+'rd'};try{const {token:_0x4d3bc8,password:_0xaa23ac}=_0x2584be[_0x3ead24(0x36a,_0x3a96bf._0x470d8d,_0x3a96bf._0x4e1586,0x331)];if(!_0x4d3bc8||!_0xaa23ac){const _0x420913={};return _0x420913[_0x3ead24(_0x3a96bf._0x2ff2af,0x3fe,_0x3a96bf._0x3b6d61,_0x3a96bf._0x2bfbcc)]=_0x5b0c95(-0x294,-0x277,-_0x3a96bf._0x3bd359,-0x268)+_0x5b0c95(-_0x3a96bf._0x30642f,-_0x3a96bf._0x17d0b3,-0x251,-_0x3a96bf._0x11eea0)+'re\x20require'+'d',_0x4e2c9a[_0x3ead24(0x3e2,_0x3a96bf._0x3f0b35,0x42b,0x438)](-0x9*0x11b+-0x1dbc+0x293f)[_0x3ead24(0x3c3,0x371,_0x3a96bf._0x3ad499,_0x3a96bf._0x41099d)](_0x420913);}if(_0x3d4a8a[_0x5b0c95(-0x2ef,-0x27f,-_0x3a96bf._0x331e6d,-_0x3a96bf._0x1afa41)](_0xaa23ac[_0x5b0c95(-0x2d6,-_0x3a96bf._0x1ea458,-0x2ca,-_0x3a96bf._0x27edd7)],0x340+0x1b4*-0x2+0x30)){if(_0x3d4a8a[_0x5b0c95(-_0x3a96bf._0x4c5355,-0x2a6,-_0x3a96bf._0x2babb3,-0x29a)](_0x3d4a8a[_0x3ead24(0x3c2,0x37d,_0x3a96bf._0x529b51,0x373)],_0x3d4a8a[_0x3ead24(0x3c2,0x414,0x3e0,_0x3a96bf._0x32c26d)])){const _0xe4e696={};return _0xe4e696[_0x5b0c95(-_0x3a96bf._0x2b83d0,-_0x3a96bf._0x22f3c2,-_0x3a96bf._0xefcf38,-0x282)]=_0x3ead24(_0x3a96bf._0x2f9ffd,_0x3a96bf._0x75a600,_0x3a96bf._0xf0c53d,_0x3a96bf._0x3c539a)+'ust\x20be\x20at\x20'+_0x3ead24(0x3dc,0x3ca,_0x3a96bf._0x5b5088,_0x3a96bf._0x15cf69)+_0x5b0c95(-0x2d9,-_0x3a96bf._0x2a5061,-0x286,-0x282),_0x4e2c9a[_0x5b0c95(-0x28c,-_0x3a96bf._0x137091,-0x240,-0x246)](-0x20de+0xa*0x215+0x43*0x34)[_0x3ead24(_0x3a96bf._0x111cd7,_0x3a96bf._0x111cd7,_0x3a96bf._0x29d427,0x3c4)](_0xe4e696);}else{_0x22343d[_0x5b0c95(-0x2a6,-0x2a7,-_0x3a96bf._0xefcf38,-0x276)](_0x3d4a8a[_0x3ead24(0x33f,_0x3a96bf._0x203196,0x2e8,0x359)],_0x465fbd);const _0x478eb3={};_0x478eb3[_0x5b0c95(-0x272,-0x224,-_0x3a96bf._0xefcf38,-0x29b)]=_0x3d4a8a[_0x3ead24(0x33f,_0x3a96bf._0x33f15c,_0x3a96bf._0x2c086b,_0x3a96bf._0x40b3e7)],_0x3f0258['status'](-0xf20+-0x1f8b+0x309f)[_0x5b0c95(-0x2ae,-_0x3a96bf._0x555dc7,-_0x3a96bf._0x4c5355,-_0x3a96bf._0x1ea458)](_0x478eb3);}}const _0x37e603=await _0x3d4a8a['cGVwL'](validateToken,_0x4d3bc8);if(!_0x37e603){if(_0x3d4a8a[_0x3ead24(0x3ad,_0x3a96bf._0x1a0cad,0x3df,0x39a)]!==_0x3d4a8a[_0x5b0c95(-_0x3a96bf._0x84e516,-0x247,-0x25e,-_0x3a96bf._0x235994)]){const _0x538bd3={};return _0x538bd3['error']=_0x3d4a8a[_0x3ead24(0x3ae,0x3b1,_0x3a96bf._0x58c580,0x36f)],_0x4e2c9a[_0x3ead24(0x3e2,_0x3a96bf._0x47d1cf,0x435,0x401)](-0x1*0x1565+-0x1*-0x463+0x1*0x1292)[_0x5b0c95(-0x283,-_0x3a96bf._0x503f4e,-_0x3a96bf._0x4c5355,-_0x3a96bf._0x57d00b)](_0x538bd3);}else{const _0x42ee78={};return _0x42ee78[_0x3ead24(_0x3a96bf._0x14cf74,0x398,_0x3a96bf._0x2c7453,0x3c7)]=![],_0x42ee78[_0x3ead24(_0x3a96bf._0x26edb1,0x3f4,_0x3a96bf._0x27a255,0x379)]=_0x3d4a8a[_0x3ead24(0x3ae,0x382,0x3c7,0x3bd)],_0x15f1cf[_0x5b0c95(-0x246,-0x2a9,-_0x3a96bf._0x503f4e,-0x2a7)](_0x42ee78);}}const _0x2abb42=await findUserById(_0x37e603[_0x5b0c95(-_0x3a96bf._0x371631,-_0x3a96bf._0x184ff3,-0x2c1,-0x301)]);if(!_0x2abb42){if(_0x3d4a8a[_0x3ead24(_0x3a96bf._0x306246,_0x3a96bf._0x581274,_0x3a96bf._0x21198d,_0x3a96bf._0x30ef01)](_0x3d4a8a[_0x3ead24(0x38d,0x3a4,_0x3a96bf._0x54da32,_0x3a96bf._0xdaf782)],_0x3d4a8a['KNLRQ'])){const _0x14605e={};return _0x14605e[_0x5b0c95(-_0x3a96bf._0x58a592,-0x225,-_0x3a96bf._0xefcf38,-_0x3a96bf._0xe4dc1f)]=_0x3ead24(_0x3a96bf._0x385c6f,0x361,_0x3a96bf._0x21198d,0x387)+_0x3ead24(0x35b,0x35e,0x383,_0x3a96bf._0x3029b1),_0x4e2c9a[_0x5b0c95(-0x23f,-0x27d,-_0x3a96bf._0x14cf83,-0x293)](0xc74+0x14*0x1e3+0x81a*-0x6)[_0x5b0c95(-_0x3a96bf._0x4073ef,-0x226,-0x25f,-0x2af)](_0x14605e);}else{const _0x25a0f5={};return _0x25a0f5['error']=_0x3d4a8a[_0x5b0c95(-_0x3a96bf._0x3cacae,-_0x3a96bf._0x2a7838,-0x2a9,-0x26f)],_0x25a0f5[_0x3ead24(0x3dd,0x396,_0x3a96bf._0x526c92,0x3e6)]=_0x3d4a8a[_0x3ead24(0x3a3,_0x3a96bf._0x395fc7,0x386,_0x3a96bf._0x46433b)],_0x2ca465['status'](-0xb87*0x3+0x2*0x82d+0x233*0x9)[_0x3ead24(0x3c3,_0x3a96bf._0x5180ea,_0x3a96bf._0x1b607c,_0x3a96bf._0x2c03de)](_0x25a0f5);}}await _0x3d4a8a['tJicj'](setUserPassword,_0x37e603[_0x5b0c95(-_0x3a96bf._0x5742e0,-_0x3a96bf._0x176768,-_0x3a96bf._0x3ccc57,-_0x3a96bf._0x235cd5)],_0xaa23ac),await markTokenAsUsed(_0x4d3bc8);const _0x2db180={};_0x2db180[_0x3ead24(_0x3a96bf._0x2fed55,0x32b,0x3a6,_0x3a96bf._0x11f590)]=_0x2abb42['id'],_0x2db180[_0x5b0c95(-0x242,-0x273,-_0x3a96bf._0x3cacae,-_0x3a96bf._0x264880)]=_0x2abb42[_0x5b0c95(-_0x3a96bf._0x5d8039,-0x270,-_0x3a96bf._0x3cacae,-0x25e)],_0x2db180['tokenType']=_0x37e603[_0x5b0c95(-0x20d,-0x26d,-_0x3a96bf._0x2ec4b5,-_0x3a96bf._0x1fbb71)],logger[_0x3ead24(0x3d4,_0x3a96bf._0x4c3372,0x3de,_0x3a96bf._0x338090)](_0x3d4a8a[_0x5b0c95(-0x2ce,-_0x3a96bf._0x2544ed,-0x2a3,-_0x3a96bf._0x454c60)],_0x2db180);const _0x22d867={};_0x22d867['id']=_0x2abb42['id'],_0x22d867[_0x5b0c95(-0x2b6,-_0x3a96bf._0x22f3c2,-_0x3a96bf._0x2bbd99,-_0x3a96bf._0x51bec6)]=_0x2abb42[_0x3ead24(_0x3a96bf._0x54831e,_0x3a96bf._0x44992e,0x3cd,_0x3a96bf._0x1cf654)],_0x22d867[_0x5b0c95(-0x2e9,-0x2e5,-_0x3a96bf._0x4b8e42,-0x2eb)]=_0x2abb42[_0x5b0c95(-_0x3a96bf._0x34a562,-_0x3a96bf._0x840feb,-0x2ea,-_0x3a96bf._0x490663)];const _0x15fe6a={};_0x15fe6a[_0x5b0c95(-0x1fc,-0x267,-0x245,-0x22e)]=_0x3d4a8a[_0x3ead24(0x34c,_0x3a96bf._0x48a139,_0x3a96bf._0x27c0fe,0x36f)],_0x15fe6a[_0x5b0c95(-0x2d2,-_0x3a96bf._0x446ab8,-_0x3a96bf._0x36aed0,-_0x3a96bf._0x2ac336)]=_0x22d867,_0x4e2c9a['json'](_0x15fe6a);}catch(_0x1ab5de){if(_0x3d4a8a[_0x5b0c95(-_0x3a96bf._0x2a7838,-0x2ae,-0x262,-0x21f)](_0x3d4a8a[_0x3ead24(_0x3a96bf._0x15cf69,0x388,0x3f2,_0x3a96bf._0x6bd666)],_0x5b0c95(-_0x3a96bf._0x268150,-0x283,-0x2b3,-_0x3a96bf._0x222295))){logger[_0x5b0c95(-0x233,-_0x3a96bf._0x745aaf,-_0x3a96bf._0xefcf38,-0x27d)](_0x3ead24(0x3bd,_0x3a96bf._0x4d92ea,_0x3a96bf._0x478bcb,0x3bb)+_0x3ead24(_0x3a96bf._0x2366b9,_0x3a96bf._0x54d320,_0x3a96bf._0x2bfdfa,_0x3a96bf._0x4be6d5)+'rd',_0x1ab5de);const _0x977b32={};_0x977b32['error']=_0x3d4a8a[_0x3ead24(_0x3a96bf._0x575024,_0x3a96bf._0x45ab30,_0x3a96bf._0x41099d,_0x3a96bf._0x1c35f1)],_0x4e2c9a[_0x3ead24(_0x3a96bf._0xaf32a0,_0x3a96bf._0x47d344,0x41b,_0x3a96bf._0x3b319b)](-0x2589+0x250b+0x272)['json'](_0x977b32);}else{const _0x4d8e62={};return _0x4d8e62['error']=_0x3d4a8a[_0x3ead24(0x3ae,_0x3a96bf._0x4143a5,_0x3a96bf._0x600289,0x367)],_0x4e5f0e['status'](0x2315+0x11e5+-0x336a)['json'](_0x4d8e62);}}}),router[_0x4b6791(0x4e2,0x4c4,0x51e,0x4d4)](_0xb66301(0x468,0x438,0x40f,0x43b)+'serId',requireAuth,requireAdmin,async(_0x4aded4,_0x39dd3e)=>{const _0x4e3fc9={_0x5442f2:0x23b,_0x38de23:0x206,_0x1200ad:0x207,_0x1c752b:0x24d,_0x5be4e4:0x272,_0x141e62:0x263,_0x1b8e31:0x2a2,_0x1a3753:0x28a,_0x5c3010:0x369,_0x248fa6:0x345,_0x47800f:0x31c,_0x50152d:0x2f9,_0x53d3d6:0x205,_0x5e8dbd:0x213,_0x2ca3e1:0x394,_0xf7d643:0x232,_0x402fb6:0x23f,_0x2a7e43:0x23b,_0x5c8f08:0x228,_0x214d67:0x298,_0x5c01b6:0x215,_0x3c83e1:0x202,_0x4c735d:0x27f,_0x6ce833:0x3dc,_0x53fcf3:0x33f,_0x5b03c5:0x379},_0x4cca1c={_0x2ab64f:0x1a9,_0x55ac19:0x39},_0x48f46b={};function _0x103e49(_0x414874,_0x3a76ff,_0x5a6a62,_0x4974ec){return _0x4b6791(_0x414874-_0x4cca1c._0x2ab64f,_0x4974ec,_0x5a6a62-_0x4cca1c._0x55ac19,_0x3a76ff- -0x78b);}function _0x447903(_0x56cc7b,_0x79cdfc,_0x1ea7ce,_0x5bea65){return _0xb66301(_0x1ea7ce- -0x147,_0x56cc7b,_0x1ea7ce-0x7d,_0x5bea65-0x3d);}_0x48f46b[_0x103e49(-0x278,-_0x4e3fc9._0x5442f2,-0x1ef,-_0x4e3fc9._0x38de23)]=_0x103e49(-_0x4e3fc9._0x1200ad,-_0x4e3fc9._0x1c752b,-_0x4e3fc9._0x5be4e4,-0x27b)+_0x103e49(-_0x4e3fc9._0x141e62,-_0x4e3fc9._0x1b8e31,-_0x4e3fc9._0x1a3753,-0x2a0)+'okens';const _0x2472d6=_0x48f46b;try{const {userId:_0x2a441e}=_0x4aded4['params'],_0x57d5d5=await findUserById(_0x2a441e);if(!_0x57d5d5){const _0x21a690={};return _0x21a690[_0x447903(0x3ab,0x337,_0x4e3fc9._0x5c3010,0x337)]='User\x20not\x20f'+_0x447903(0x2c3,_0x4e3fc9._0x248fa6,_0x4e3fc9._0x47800f,_0x4e3fc9._0x50152d),_0x39dd3e[_0x103e49(-_0x4e3fc9._0x53d3d6,-0x228,-0x280,-_0x4e3fc9._0x5e8dbd)](0x1bb9*-0x1+0x1b61+0x2*0xf6)[_0x447903(_0x4e3fc9._0x2ca3e1,0x340,0x384,0x3bb)](_0x21a690);}const _0x1c6466=await getUserTokens(_0x2a441e),_0x1c37ed={};_0x1c37ed['tokens']=_0x1c6466,_0x39dd3e['json'](_0x1c37ed);}catch(_0x2b3a5d){logger[_0x103e49(-0x21c,-0x262,-_0x4e3fc9._0xf7d643,-_0x4e3fc9._0x402fb6)](_0x2472d6[_0x103e49(-0x21a,-_0x4e3fc9._0x2a7e43,-_0x4e3fc9._0x5c8f08,-0x23b)],_0x2b3a5d);const _0x217866={};_0x217866[_0x103e49(-_0x4e3fc9._0x214d67,-0x262,-_0x4e3fc9._0x5c01b6,-0x21d)]=_0x2472d6[_0x103e49(-_0x4e3fc9._0x3c83e1,-_0x4e3fc9._0x5442f2,-_0x4e3fc9._0x4c735d,-0x1f3)],_0x39dd3e[_0x447903(0x366,_0x4e3fc9._0x6ce833,0x3a3,0x35c)](-0x192e+-0xcbd*0x2+0x349c)[_0x447903(_0x4e3fc9._0x53fcf3,0x342,0x384,_0x4e3fc9._0x5b03c5)](_0x217866);}}),router['delete']('/tokens/:t'+_0x4b6791(0x56c,0x59f,0x54e,0x564),requireAuth,requireAdmin,async(_0x5c1700,_0x16302b)=>{const _0x4623a7={_0x4a183e:0x297,_0x541c7b:0x2aa,_0x2b7c60:0x27f,_0x4729f6:0x289,_0x48829d:0x480,_0x4e95d0:0x44c,_0x3916e4:0x494,_0x4e08df:0x242,_0x3af40c:0x221,_0x2da428:0x258,_0x42bc35:0x29c,_0x1df7ab:0x281,_0x222747:0x296,_0x37a99e:0x27c,_0x8cd255:0x255,_0x2fea77:0x41d,_0xe5daff:0x3f1,_0x152a28:0x272,_0x1cb4fb:0x208,_0x5b0b08:0x268,_0x3e8443:0x1f6,_0x961a0c:0x226,_0x3e46c1:0x21a,_0x5a9511:0x227,_0x1da9a7:0x407,_0x4cebfd:0x459,_0x1afeb4:0x4a0,_0x5dadb2:0x217,_0x1e960c:0x1f1,_0x25b6ef:0x47c,_0x3b835d:0x2be,_0x2dd5de:0x25b,_0x49868c:0x20b,_0x44d9e4:0x247,_0x189bf3:0x23d,_0x53c810:0x1f2,_0x179c04:0x29e,_0x3e973f:0x2bb,_0x11647c:0x3fa,_0x1477dd:0x439,_0x3cb13b:0x1fa,_0x2601de:0x234,_0xe368d7:0x44f,_0x5152b7:0x3f8,_0x491478:0x446,_0x278462:0x1ca,_0x17d4b1:0x1fc,_0x5bd548:0x227,_0x5636a8:0x245,_0x35bc49:0x287,_0x4c4e82:0x43b,_0x43af7d:0x478,_0x318cb6:0x4a6,_0x8c76aa:0x4ae,_0x16e635:0x45e,_0x1c7dd7:0x19a,_0x68482d:0x249,_0x3d884b:0x2a1},_0x454018={_0x2eec6f:0x89,_0x2f6b8e:0x2e0},_0x3c1631={'StbAv':_0x182a0a(0x20a,0x256,0x254,0x25b)+_0x182a0a(_0x4623a7._0x4a183e,_0x4623a7._0x541c7b,_0x4623a7._0x2b7c60,_0x4623a7._0x4729f6)+_0x9c1538(0x42b,_0x4623a7._0x48829d,_0x4623a7._0x4e95d0,_0x4623a7._0x3916e4)+'\x22','gRGBK':function(_0x1c53da,_0x47a441){return _0x1c53da(_0x47a441);},'DHyhI':function(_0x5b1454,_0x233e57){return _0x5b1454!==_0x233e57;},'shEIf':'LWpHM','klhMy':_0x182a0a(0x2ac,_0x4623a7._0x4e08df,0x273,_0x4623a7._0x3af40c),'qsSLl':'Token\x20not\x20'+_0x182a0a(0x258,0x22f,_0x4623a7._0x2da428,_0x4623a7._0x42bc35),'XjkJg':_0x182a0a(0x253,_0x4623a7._0x1df7ab,0x26e,_0x4623a7._0x222747)+_0x182a0a(_0x4623a7._0x37a99e,0x211,_0x4623a7._0x8cd255,0x279),'KoiHb':'Token\x20revo'+_0x9c1538(_0x4623a7._0x2fea77,0x439,0x474,0x3ef)+_0x9c1538(0x433,_0x4623a7._0xe5daff,0x3f2,0x447),'fHmDS':_0x182a0a(_0x4623a7._0x152a28,_0x4623a7._0x1cb4fb,0x25e,_0x4623a7._0x5b0b08)+_0x182a0a(0x1f1,0x19d,_0x4623a7._0x3e8443,0x1ae)+'en'};function _0x9c1538(_0x44b0b7,_0x3be941,_0x11d391,_0x5bb503){return _0x4b6791(_0x44b0b7-0x8d,_0x11d391,_0x11d391-0x2f,_0x3be941- -0xe6);}function _0x182a0a(_0x112e51,_0x4481d4,_0x36875b,_0x13c283){return _0x4b6791(_0x112e51-_0x454018._0x2eec6f,_0x4481d4,_0x36875b-0x101,_0x36875b- -_0x454018._0x2f6b8e);}try{const {tokenId:_0xd975b2}=_0x5c1700[_0x182a0a(0x26f,0x250,_0x4623a7._0x961a0c,0x238)],_0x348fe8=await _0x3c1631[_0x182a0a(_0x4623a7._0x3e46c1,0x2a9,0x25d,_0x4623a7._0x5a9511)](revokeToken,_0xd975b2);if(!_0x348fe8){if(_0x3c1631[_0x9c1538(_0x4623a7._0x1da9a7,_0x4623a7._0x4cebfd,0x471,_0x4623a7._0x1afeb4)](_0x3c1631['shEIf'],_0x3c1631[_0x182a0a(0x23b,0x1f9,_0x4623a7._0x5dadb2,_0x4623a7._0x1e960c)])){const _0x282788={};return _0x282788[_0x182a0a(0x262,0x237,0x249,0x266)]=_0x3c1631[_0x9c1538(0x40d,0x454,0x4a4,_0x4623a7._0x25b6ef)],_0x16302b[_0x182a0a(_0x4623a7._0x3b835d,_0x4623a7._0x2dd5de,0x283,0x269)](-0x25da+0x1*0xee6+0x1888)[_0x182a0a(0x21e,_0x4623a7._0x49868c,0x264,_0x4623a7._0x44d9e4)](_0x282788);}else{const _0x406555={};return _0x406555[_0x182a0a(_0x4623a7._0x189bf3,0x204,0x249,_0x4623a7._0x53c810)]=_0x3c1631['StbAv'],_0x410844['status'](0x1385*-0x2+0x57e+0x282*0xe)[_0x182a0a(_0x4623a7._0x179c04,_0x4623a7._0x3e46c1,0x264,_0x4623a7._0x3e973f)](_0x406555);}}const _0x4539f9={};_0x4539f9[_0x9c1538(0x429,_0x4623a7._0x11647c,_0x4623a7._0x1477dd,0x3cc)]=_0x5c1700[_0x182a0a(_0x4623a7._0x3cb13b,_0x4623a7._0x2601de,0x1db,0x219)]['id'],_0x4539f9['adminUsern'+_0x9c1538(_0x4623a7._0xe368d7,0x44d,_0x4623a7._0x5152b7,_0x4623a7._0x491478)]=_0x5c1700[_0x182a0a(_0x4623a7._0x278462,0x215,0x1db,_0x4623a7._0x17d4b1)][_0x182a0a(_0x4623a7._0x5bd548,0x1fd,0x248,_0x4623a7._0x5636a8)],_0x4539f9[_0x182a0a(_0x4623a7._0x2dd5de,0x244,_0x4623a7._0x35bc49,0x2c3)]=_0xd975b2,logger['info'](_0x3c1631[_0x9c1538(0x44f,_0x4623a7._0x4c4e82,0x48b,0x409)],_0x4539f9);const _0x50d33c={};_0x50d33c[_0x9c1538(0x437,_0x4623a7._0x43af7d,_0x4623a7._0x318cb6,_0x4623a7._0x8c76aa)]=_0x3c1631['KoiHb'],_0x16302b[_0x9c1538(0x40b,_0x4623a7._0x16e635,0x410,0x482)](_0x50d33c);}catch(_0x331153){logger['error'](_0x3c1631[_0x182a0a(_0x4623a7._0x1c7dd7,0x1b1,0x1e6,0x213)],_0x331153);const _0x48ecb1={};_0x48ecb1[_0x182a0a(0x268,0x29d,_0x4623a7._0x68482d,_0x4623a7._0x3d884b)]=_0x3c1631['fHmDS'],_0x16302b['status'](0x193c+-0x1*0x91c+-0xe2c)[_0x9c1538(0x44c,0x45e,0x465,_0x4623a7._0x4cebfd)](_0x48ecb1);}});export default router;