@profoundlogic/coderflow-server 0.7.9 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/dist/base-image/entrypoint.sh +75 -5
  2. package/dist/coder-server.js +1 -1
  3. package/dist/config.js +1 -1
  4. package/dist/lib/agent-keepalive.js +1 -1
  5. package/dist/lib/agent-models.js +1 -1
  6. package/dist/lib/api-keys.js +1 -1
  7. package/dist/lib/apiKeys.js +1 -1
  8. package/dist/lib/app-server-ports.js +1 -1
  9. package/dist/lib/auto-judge.js +1 -1
  10. package/dist/lib/automation-service.js +1 -1
  11. package/dist/lib/basic-auth.js +1 -1
  12. package/dist/lib/bindings.js +1 -1
  13. package/dist/lib/build-history.js +1 -1
  14. package/dist/lib/build-output-service.js +1 -1
  15. package/dist/lib/build-scheduler.js +1 -1
  16. package/dist/lib/build-service.js +1 -1
  17. package/dist/lib/ca-certificates.js +1 -1
  18. package/dist/lib/claude-oauth-refresh.js +1 -1
  19. package/dist/lib/cli/build.js +1 -1
  20. package/dist/lib/cli/cleanup-users.js +1 -1
  21. package/dist/lib/cli/config-command.js +1 -1
  22. package/dist/lib/cli/config.js +1 -1
  23. package/dist/lib/cli/create-user.js +1 -1
  24. package/dist/lib/cli/grant-admin.js +1 -1
  25. package/dist/lib/cli/init.js +1 -1
  26. package/dist/lib/cli/jira.js +1 -1
  27. package/dist/lib/cli/license.js +1 -1
  28. package/dist/lib/cli/list-roles.js +1 -1
  29. package/dist/lib/cli/list-users.js +1 -1
  30. package/dist/lib/cli/server-manager.js +1 -1
  31. package/dist/lib/cli/set-password.js +1 -1
  32. package/dist/lib/compression-filter.js +1 -1
  33. package/dist/lib/config-migration.js +1 -1
  34. package/dist/lib/container-credential-sync.js +1 -1
  35. package/dist/lib/container-tokens.js +1 -1
  36. package/dist/lib/data-dir.js +1 -1
  37. package/dist/lib/deployment-history.js +1 -1
  38. package/dist/lib/deployment-service.js +1 -1
  39. package/dist/lib/docker-utils.js +1 -1
  40. package/dist/lib/email.js +1 -1
  41. package/dist/lib/emailTemplates.js +1 -1
  42. package/dist/lib/entitlement.js +1 -1
  43. package/dist/lib/external-connections.js +1 -1
  44. package/dist/lib/fetch-utils.js +1 -1
  45. package/dist/lib/git-commit-details-route.js +1 -1
  46. package/dist/lib/git-history-diff-guardrails.js +1 -1
  47. package/dist/lib/git-provider-service.js +1 -1
  48. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  49. package/dist/lib/git-provider-setup/index.js +1 -1
  50. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  51. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  52. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  53. package/dist/lib/git-providers/github-app-provider.js +1 -1
  54. package/dist/lib/git-providers/index.js +1 -1
  55. package/dist/lib/git-providers/provider-factory.js +1 -1
  56. package/dist/lib/git-providers/provider-interface.js +1 -1
  57. package/dist/lib/github-urls.js +1 -1
  58. package/dist/lib/group-objective-linking.js +1 -1
  59. package/dist/lib/ibmi-sync.js +1 -1
  60. package/dist/lib/jira-client.js +1 -1
  61. package/dist/lib/judge-blinding.js +1 -1
  62. package/dist/lib/logger.js +1 -1
  63. package/dist/lib/memory-utils.js +1 -1
  64. package/dist/lib/migration-to-scoped-rbac.js +1 -1
  65. package/dist/lib/model-fetcher.js +1 -1
  66. package/dist/lib/notifications.js +1 -1
  67. package/dist/lib/objective-context.js +1 -1
  68. package/dist/lib/oidc-auth.js +1 -1
  69. package/dist/lib/oidc-device-flow.js +1 -1
  70. package/dist/lib/passwordTokens.js +1 -1
  71. package/dist/lib/permission-resolver.js +1 -1
  72. package/dist/lib/pin-cascade.js +1 -1
  73. package/dist/lib/provider-accounts.js +1 -1
  74. package/dist/lib/provider-oauth.js +1 -1
  75. package/dist/lib/provider-profile.js +1 -1
  76. package/dist/lib/provider-token-refresh.js +1 -1
  77. package/dist/lib/rbac-user-state.js +1 -1
  78. package/dist/lib/request-url.js +1 -1
  79. package/dist/lib/rewind.js +1 -1
  80. package/dist/lib/role-definitions.js +1 -1
  81. package/dist/lib/roles.js +1 -1
  82. package/dist/lib/secrets.js +1 -1
  83. package/dist/lib/setup-repo-git-auth.js +1 -1
  84. package/dist/lib/state-capture.js +1 -1
  85. package/dist/lib/static-files.js +1 -1
  86. package/dist/lib/task-aliases.js +1 -1
  87. package/dist/lib/task-container-init.js +1 -0
  88. package/dist/lib/task-context-usage.js +1 -0
  89. package/dist/lib/task-name-format.js +1 -1
  90. package/dist/lib/task-name-generator.js +1 -1
  91. package/dist/lib/task-source-metadata.js +1 -1
  92. package/dist/lib/teams.js +1 -1
  93. package/dist/lib/user-git-oauth.js +1 -1
  94. package/dist/lib/user-git-tokens.js +1 -1
  95. package/dist/lib/users.js +1 -1
  96. package/dist/middleware/requireAuth.js +1 -1
  97. package/dist/middleware/requireInit.js +1 -1
  98. package/dist/middleware/requirePermission.js +1 -1
  99. package/dist/package.json +1 -1
  100. package/dist/playwright.config.js +1 -1
  101. package/dist/playwright.task-terminal.config.js +1 -1
  102. package/dist/routes/apiKeys.js +1 -1
  103. package/dist/routes/auth-oidc.js +1 -1
  104. package/dist/routes/auth.js +1 -1
  105. package/dist/routes/automations.js +1 -1
  106. package/dist/routes/bindings.js +1 -1
  107. package/dist/routes/build.js +1 -1
  108. package/dist/routes/containers.js +1 -1
  109. package/dist/routes/deploy-task.js +1 -1
  110. package/dist/routes/environment-management.js +1 -1
  111. package/dist/routes/environments.js +1 -1
  112. package/dist/routes/external-skills.js +1 -1
  113. package/dist/routes/git-credentials.js +1 -1
  114. package/dist/routes/git-oauth.js +1 -1
  115. package/dist/routes/git-provider-setup.js +1 -1
  116. package/dist/routes/health.js +1 -1
  117. package/dist/routes/jira.js +1 -1
  118. package/dist/routes/logs.js +1 -1
  119. package/dist/routes/objective-management.js +1 -1
  120. package/dist/routes/password.js +1 -1
  121. package/dist/routes/prompt.js +1 -1
  122. package/dist/routes/provider-auth.js +1 -1
  123. package/dist/routes/qa.js +1 -1
  124. package/dist/routes/roles.js +1 -1
  125. package/dist/routes/settings.js +1 -1
  126. package/dist/routes/skill-management.js +1 -1
  127. package/dist/routes/skills.js +1 -1
  128. package/dist/routes/stats.js +1 -1
  129. package/dist/routes/tasks.js +1 -1
  130. package/dist/routes/teams.js +1 -1
  131. package/dist/routes/templates.js +1 -1
  132. package/dist/routes/test-task.js +1 -1
  133. package/dist/routes/test.js +1 -1
  134. package/dist/routes/users.js +1 -1
  135. package/dist/routes/visualizations.js +1 -1
  136. package/dist/scripts/create-user.js +1 -1
  137. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  138. package/dist/start.js +1 -1
  139. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  140. package/dist/web-ui/public/activity-feed.js +1 -1
  141. package/dist/web-ui/public/activity-formatters.js +1 -1
  142. package/dist/web-ui/public/admin.js +1 -1
  143. package/dist/web-ui/public/agent-event-parser.js +1 -1
  144. package/dist/web-ui/public/app.js +1 -1
  145. package/dist/web-ui/public/approve-dialog.js +1 -1
  146. package/dist/web-ui/public/automation-links.js +1 -1
  147. package/dist/web-ui/public/automation-schedule.js +1 -1
  148. package/dist/web-ui/public/comments-widget.js +1 -1
  149. package/dist/web-ui/public/diff-utils.js +1 -1
  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 +36 -0
  172. package/dist/web-ui/public/task-judging-helpers.js +1 -1
  173. package/dist/web-ui/public/task.html +11 -0
  174. package/dist/web-ui/public/task.js +1 -1
  175. package/dist/web-ui/public/teams.js +1 -1
  176. package/dist/web-ui/public/terminal.js +1 -1
  177. package/dist/web-ui/public/theme.js +1 -1
  178. package/dist/web-ui/public/users.js +1 -1
  179. package/dist/web-ui/public/variant-grouping.js +1 -1
  180. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x1eaaea,_0x415e93){const _0x507a09={_0x681bd9:0x598,_0x37526d:0x59b,_0x47731f:0x5b5,_0x1aefd8:0x589,_0x4318e0:0x58b,_0x2348ef:0x581,_0x419c2f:0x563,_0x376161:0x56d,_0x53fc5c:0x562,_0x3a529a:0x561,_0x49cb94:0x13f,_0x101747:0x133,_0x155ec5:0x595,_0x33ce6e:0x599,_0xdb95e3:0x57d,_0x4b64f4:0x57e,_0x1c5eb6:0x593,_0x319b1c:0x132,_0x4d0fec:0x148,_0x4653d1:0x12b,_0xd88e93:0x585,_0x3a6b5b:0x58f},_0x9fe71f={_0x5bd895:0x2ef};function _0x2c93c4(_0x2f0966,_0x256f82,_0x578014,_0x3e0eb1){return _0x555c(_0x256f82-0x3b7,_0x3e0eb1);}const _0xe9b7ae=_0x1eaaea();function _0x4ca15b(_0x2d9f7e,_0xb79d3e,_0x346794,_0x481ac0){return _0x555c(_0x481ac0- -_0x9fe71f._0x5bd895,_0x2d9f7e);}while(!![]){try{const _0x455e98=-parseInt(_0x2c93c4(_0x507a09._0x681bd9,_0x507a09._0x37526d,0x5b6,0x597))/(0x12d5+0xdfb+-0x25*0xe3)*(parseInt(_0x2c93c4(_0x507a09._0x47731f,0x5a1,0x5a5,0x5c5))/(-0x10d2+0x1426+-0x55*0xa))+-parseInt(_0x2c93c4(_0x507a09._0x1aefd8,0x575,0x58b,_0x507a09._0x4318e0))/(0x10db+0x1101*-0x2+-0x152*-0xd)*(-parseInt(_0x2c93c4(0x54f,0x56f,_0x507a09._0x2348ef,_0x507a09._0x419c2f))/(0x101d+-0x2125+-0x4*-0x443))+-parseInt(_0x2c93c4(_0x507a09._0x376161,_0x507a09._0x53fc5c,_0x507a09._0x3a529a,_0x507a09._0x376161))/(0x2401+-0x8c*0x32+-0x8a4)*(-parseInt(_0x4ca15b(-_0x507a09._0x49cb94,-0x137,-0x11a,-_0x507a09._0x101747))/(-0x35f+0x1154+-0xdef))+-parseInt(_0x2c93c4(0x5ae,_0x507a09._0x155ec5,0x572,_0x507a09._0x33ce6e))/(0x25a6+0x1*-0x23c7+-0x1d8)+parseInt(_0x2c93c4(_0x507a09._0xdb95e3,_0x507a09._0x4b64f4,_0x507a09._0xdb95e3,_0x507a09._0x1c5eb6))/(-0x7d*-0x19+0x3c2+0x1*-0xfef)+-parseInt(_0x4ca15b(-0x135,-0x13d,-_0x507a09._0x319b1c,-0x14a))/(0x11b5+-0x3b*-0x71+-0x13*0x24d)*(-parseInt(_0x4ca15b(-0x148,-0x107,-_0x507a09._0x4d0fec,-_0x507a09._0x4653d1))/(0x2fa*-0xb+0x1*-0x179f+-0x1*-0x3867))+parseInt(_0x2c93c4(_0x507a09._0xd88e93,_0x507a09._0x3a6b5b,0x59d,0x58f))/(-0x5cb*0x3+-0x22b3+-0x4bd*-0xb);if(_0x455e98===_0x415e93)break;else _0xe9b7ae['push'](_0xe9b7ae['shift']());}catch(_0x54feb4){_0xe9b7ae['push'](_0xe9b7ae['shift']());}}}(_0x11b6,-0x13410f+-0x1282bc+-0x311293*-0x1));function _0x11b6(){const _0x57d839=['tuvqs1u','ndGXntuZofbRywjIBa','C3bSAwnL','qMHnugq','t010D3m','zMLUzeLUzgv4','r1fdC00','mJuXmtDnvKPoDfK','ChvZAa','CMvJDxjZAxzL','BgvUz3rO','zvnhzxa','tu9rDgG','ndz6q0jnwKG','C3rYAw5NAwz5','Dg9tDhjPBMC','sMPyuxu','ChrF','Dgjqz0C','ugDjDKC','zxHWAxjLC19HDa','otbZuefVC2G','s25pvNO','DhrVzwe','CKvcz1a','q1rcBeu','Dg9ju09tDhjPBG','nti4mZvACu9Qrfe','CgfZC3DVCMqTDa','ufb2B3i','y29Kzq','ELzJA1C','t2rrtu4','ru5pru5u','whfvD0y','vxHnz24','Dg9Rzw5Z','y3jLyxrLzf9HDa','r25Sv2e','r3DVyw4','mty0uvDWuwDy','EwnjAK4','rMrsC2C','Dg9Rzw4','odr0seD0thi','CgfYC2u','nZqZndnNEMnjB3i','DxnLCKLK','zMLUza','C0v4tgC','zgLYBMfTzq','CMfUzg9TqNL0zq','ndC4mJuWB0zpAxvp','AM9PBG','ALfeue4','mtmYotC0ne5wD2LNAG','wvfwwg0','DxnLzf9HDa','z2v0vgLTzq','DxnLza','DKH6Ag4','yND3zgG','DhLWzq','AgPPwfi','CMvHzezPBgu','vfzzs04','B2HMBMu','zMLSDgvY','BM93','C3vIC3rYAw5N','BK1dD1e','CMfUzg9T','mJe4mdG4mLvmtxfvBq','BujsB1e','BMHfvKe','BwfW','Dg9Rzw5F'];_0x11b6=function(){return _0x57d839;};return _0x11b6();}function _0x260186(_0x5be053,_0x3956aa,_0x7ef408,_0x20f1aa){return _0x555c(_0x7ef408- -0x37d,_0x5be053);}import{promises as _0x71a4e8}from'fs';import _0x447631 from'path';import _0x1c077f from'crypto';import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x447631[_0x428765(0x168,0x18d,0x185,0x177)](__filename),TOKENS_FILE=_0x447631[_0x428765(0x164,0x191,0x18e,0x17a)](DATA_DIR,_0x260186(-0x1ac,-0x1da,-0x1d1,-0x1c3)+'okens.json'),TOKEN_EXPIRY_MS=(-0x13*0x14f+-0x19a7+0x328b)*(-0x100a+-0x2*0x568+0x1af2)*(-0x20*-0x58+-0x2160+0x4*0x5a7)*(-0x1799+-0x1025+-0xee*-0x2b)*(-0xef*-0x1a+0x19a9*0x1+-0x2e07);let tokensCache=null,lastLoadTime=0x107c+0x1fda+-0x3056;const CACHE_TTL=-0x1*0x842+0x2db+-0x1*-0x94f;async function loadTokens(){const _0x580873={_0x3d9ad4:0x272,_0xebcf49:0x252,_0x1f2615:0x4fa,_0x5c3674:0x51f,_0xb3848e:0x516,_0xf3cd8f:0x51b,_0x2a339d:0x521,_0x3e7fff:0x506,_0x116fa4:0x4f6,_0xd524ef:0x503,_0x4b21eb:0x52f,_0x124d2b:0x50b,_0x7a88a7:0x4f6,_0x28d31e:0x506,_0x16606c:0x208,_0x368f78:0x519,_0x422a5f:0x51c,_0x26f220:0x4f0,_0x2333a9:0x4d5,_0x27039c:0x234},_0x2a61e8={_0x26b225:0x6cb,_0x2c2886:0x40},_0x2862b2={_0x4b25e3:0x4c},_0x546010={'WkeXA':function(_0x3d0bd9,_0xefbe22){return _0x3d0bd9>_0xefbe22;},'TVYKN':function(_0x203e0f,_0x3f06b0){return _0x203e0f<_0x3f06b0;},'OdQMN':function(_0x110eba,_0x11856b){return _0x110eba!==_0x11856b;},'wOtNH':_0x5f3c73(_0x580873._0x3d9ad4,_0x580873._0xebcf49,0x246,0x26e),'ttoea':'uuZKO','OMtws':'utf8','GnlWa':function(_0x3f7e2f,_0x4a8438){return _0x3f7e2f===_0x4a8438;},'PgIvG':_0x4e6ea1(0x4e5,0x4ff,0x4ed,_0x580873._0x1f2615),'xDPnE':function(_0x348d0d,_0x355519){return _0x348d0d(_0x355519);}},_0xb1f4bf=Date['now']();function _0x5f3c73(_0x9a9f3f,_0xce0bf8,_0x23cef1,_0x5ec7ae){return _0x260186(_0x9a9f3f,_0xce0bf8-0x74,_0xce0bf8-0x3f6,_0x5ec7ae-_0x2862b2._0x4b25e3);}function _0x4e6ea1(_0x4226e,_0xc90602,_0x31424a,_0xc8384c){return _0x260186(_0xc8384c,_0xc90602-0x98,_0xc90602-_0x2a61e8._0x26b225,_0xc8384c-_0x2a61e8._0x2c2886);}if(tokensCache&&_0x546010[_0x4e6ea1(0x50e,_0x580873._0x5c3674,_0x580873._0xb3848e,_0x580873._0xf3cd8f)](_0xb1f4bf-lastLoadTime,CACHE_TTL))return tokensCache;try{if(_0x546010[_0x4e6ea1(0x521,0x4fe,0x525,_0x580873._0x2a339d)](_0x546010['wOtNH'],_0x546010[_0x4e6ea1(_0x580873._0x3e7fff,0x4f5,_0x580873._0x116fa4,_0x580873._0xd524ef)])){const _0x508a47=await _0x71a4e8[_0x4e6ea1(0x529,0x51e,0x51b,0x525)](TOKENS_FILE,_0x546010[_0x4e6ea1(0x532,_0x580873._0x4b21eb,0x524,0x52d)]);return tokensCache=JSON[_0x4e6ea1(0x511,_0x580873._0x124d2b,_0x580873._0x7a88a7,_0x580873._0x28d31e)](_0x508a47),lastLoadTime=_0xb1f4bf,tokensCache;}else{const _0x1da26c=new _0xfa84e9(_0x23cda9[_0x5f3c73(0x248,0x22e,_0x580873._0x16606c,0x20d)]),_0xeced97=new _0x30e9b8(_0x4837f0['expires_at']);if(!_0x11882b[_0x4e6ea1(0x503,_0x580873._0x368f78,0x525,0x4f4)]&&_0x4d0329<=_0xeced97)return!![];if(_0x546010['WkeXA'](_0x1da26c,_0x1e3264))return!![];return![];}}catch(_0x954144){if(_0x546010[_0x4e6ea1(_0x580873._0x422a5f,0x504,_0x580873._0x26f220,0x50d)](_0x954144[_0x4e6ea1(0x51a,0x4fc,0x4e9,_0x580873._0x2333a9)],_0x546010[_0x5f3c73(_0x580873._0x27039c,0x21c,0x242,0x210)])){const _0x3966a0={};_0x3966a0[_0x5f3c73(0x253,0x22d,0x20d,0x225)]=[];const _0x21e0a=_0x3966a0;return await _0x546010['xDPnE'](saveTokens,_0x21e0a),tokensCache=_0x21e0a,lastLoadTime=_0xb1f4bf,_0x21e0a;}throw _0x954144;}}async function saveTokens(_0x5c5d19){const _0x5d6550={_0x4894be:0x5bb,_0x13f58c:0x597,_0x36323d:0x5a6},_0x375bbc={_0x9859e0:0x31,_0x5332d7:0x419},_0x1a66c5={_0x48223d:0x2f6,_0x20a3a0:0xce},_0x423ba0={};_0x423ba0[_0x1ec718(0x5d4,_0x5d6550._0x4894be,0x5c6,0x5b4)]=!![];function _0x2a785c(_0x431bb8,_0x277729,_0x4dfc11,_0x5f1226){return _0x260186(_0x5f1226,_0x277729-0xa,_0x431bb8-_0x1a66c5._0x48223d,_0x5f1226-_0x1a66c5._0x20a3a0);}await _0x71a4e8['mkdir'](DATA_DIR,_0x423ba0),await _0x71a4e8['writeFile'](TOKENS_FILE,JSON[_0x1ec718(0x5d7,_0x5d6550._0x13f58c,_0x5d6550._0x36323d,0x5b9)](_0x5c5d19,null,-0x1*0x9d5+0x2387+0x3*-0x890)),tokensCache=_0x5c5d19;function _0x1ec718(_0xdb5663,_0x3810b5,_0x39f84f,_0x4c6ba4){return _0x428765(_0xdb5663,_0x3810b5-_0x375bbc._0x9859e0,_0x39f84f-0x1db,_0x4c6ba4-_0x375bbc._0x5332d7);}lastLoadTime=Date['now']();}function generateToken(){const _0x30d255={_0x57a16a:0x11d,_0x1bbcf3:0x10f,_0x3226af:0x10c,_0xeba020:0x140,_0x20c154:0x456,_0x301546:0x42a,_0x3e2313:0x42b,_0x35af3c:0x12c,_0x4805b8:0x150,_0x17963c:0x478,_0x129855:0x456,_0x390929:0x44c,_0x482588:0x431,_0x4835f2:0xe8,_0x1f63c9:0x11f,_0x2ac2c2:0x43b,_0x265d86:0x437,_0x4cf942:0x442},_0x32bead={_0xdbf1ab:0xf2},_0x2824b9={_0x5d9095:0x2a4},_0x264e3a={};_0x264e3a[_0x43da7e(-_0x30d255._0x57a16a,-_0x30d255._0x1bbcf3,-_0x30d255._0x3226af,-_0x30d255._0xeba020)]=function(_0x2204c9,_0x272d36){return _0x2204c9+_0x272d36;},_0x264e3a[_0x426bb1(_0x30d255._0x20c154,0x43e,_0x30d255._0x301546,_0x30d255._0x3e2313)]='hex';const _0x1e3d86=_0x264e3a,_0x25a1c4=_0x1c077f[_0x43da7e(-_0x30d255._0x35af3c,-_0x30d255._0x4805b8,-0x143,-0x10f)+'s'](0x4*0x6f8+0x1*-0x26c7+0x1*0xb07);function _0x43da7e(_0x38448b,_0x20e317,_0x9c4c48,_0x44a5c2){return _0x428765(_0x44a5c2,_0x20e317-0xa5,_0x9c4c48-0x145,_0x38448b- -_0x2824b9._0x5d9095);}function _0x426bb1(_0x3e8be7,_0x47ab86,_0x28ec70,_0x10699d){return _0x260186(_0x28ec70,_0x47ab86-0x12f,_0x47ab86-0x601,_0x10699d-_0x32bead._0xdbf1ab);}return _0x1e3d86[_0x426bb1(_0x30d255._0x17963c,_0x30d255._0x129855,_0x30d255._0x390929,_0x30d255._0x482588)](_0x43da7e(-0x101,-_0x30d255._0x4835f2,-0x11d,-_0x30d255._0x1f63c9),_0x25a1c4['toString'](_0x1e3d86[_0x426bb1(_0x30d255._0x2ac2c2,0x43e,_0x30d255._0x265d86,_0x30d255._0x4cf942)]));}function generateTokenId(){const _0x5033e4={_0x3268ba:0xe6,_0x590a04:0xcd,_0x2f0653:0xca,_0x230e92:0xb8,_0x4ad618:0x14c,_0x136a5a:0xcf,_0x353e92:0xee},_0x4af37d={_0x31c586:0x5a,_0x52365d:0x1f0},_0x7c59bb={_0x543fa3:0x7,_0x1e1f4b:0x1d3};function _0x354988(_0x54591c,_0x233353,_0x4e1964,_0x55948c){return _0x428765(_0x55948c,_0x233353-_0x7c59bb._0x543fa3,_0x4e1964-_0x7c59bb._0x1e1f4b,_0x4e1964- -0xbf);}function _0x7376e9(_0x398f99,_0x43a111,_0xac7c78,_0x5f46c3){return _0x260186(_0x398f99,_0x43a111-0xde,_0x43a111-_0x4af37d._0x31c586,_0x5f46c3-_0x4af37d._0x52365d);}const _0x5a1237=Date[_0x354988(_0x5033e4._0x3268ba,_0x5033e4._0x590a04,_0x5033e4._0x2f0653,_0x5033e4._0x230e92)](),_0x1346bf=Math[_0x7376e9(-0x127,-_0x5033e4._0x4ad618,-0x14c,-0x13e)]()['toString'](0xd38+-0x2*-0x104f+-0x2db2)[_0x354988(0xb4,0xbb,0xcb,0xc1)](0x5*-0x1b1+0x3e*0x47+0x95*-0xf,0x1753+0x6e0+-0xc*0x283);return _0x354988(_0x5033e4._0x136a5a,0xbe,0xd2,_0x5033e4._0x353e92)+_0x5a1237+'_'+_0x1346bf;}function _0x555c(_0x10fea3,_0x3287ca){_0x10fea3=_0x10fea3-(-0x4be+-0x7*-0x327+-0x27*0x67);const _0x358c1a=_0x11b6();let _0x4b3660=_0x358c1a[_0x10fea3];if(_0x555c['bMWYGe']===undefined){var _0x562bf6=function(_0x21abce){const _0x5158c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x26066d='',_0x286cd8='';for(let _0x29cb77=0x2015+0x36+-0x204b*0x1,_0x6e1a83,_0xdf292c,_0x41f8f9=-0x1499*0x1+-0x1409+0x28a2;_0xdf292c=_0x21abce['charAt'](_0x41f8f9++);~_0xdf292c&&(_0x6e1a83=_0x29cb77%(0x6f*0x9+-0x2189+-0x16*-0x159)?_0x6e1a83*(0x1766+0x2411+0xa3*-0x5d)+_0xdf292c:_0xdf292c,_0x29cb77++%(-0x18b5+0x1807*0x1+-0x59*-0x2))?_0x26066d+=String['fromCharCode'](0x1497+-0x227d+0x7b*0x1f&_0x6e1a83>>(-(-0x10bb+0x187c+0x3*-0x295)*_0x29cb77&0x59f*0x4+-0x134+-0x1542*0x1)):-0x445*0x7+0x581+0x1862){_0xdf292c=_0x5158c9['indexOf'](_0xdf292c);}for(let _0x5300e0=0x2*-0x3db+-0x12bc+0x5*0x54a,_0x13700c=_0x26066d['length'];_0x5300e0<_0x13700c;_0x5300e0++){_0x286cd8+='%'+('00'+_0x26066d['charCodeAt'](_0x5300e0)['toString'](-0x1*0x18e6+-0xa*-0x385+0x1*-0xa3c))['slice'](-(-0x1317+-0x3*-0xbec+0x1*-0x10ab));}return decodeURIComponent(_0x286cd8);};_0x555c['eGmeJn']=_0x562bf6,_0x555c['DfbRly']={},_0x555c['bMWYGe']=!![];}const _0x4247e7=_0x358c1a[0x1924+-0x8f*-0x8+0x5*-0x5ec],_0xdd963e=_0x10fea3+_0x4247e7,_0x41595b=_0x555c['DfbRly'][_0xdd963e];return!_0x41595b?(_0x4b3660=_0x555c['eGmeJn'](_0x4b3660),_0x555c['DfbRly'][_0xdd963e]=_0x4b3660):_0x4b3660=_0x41595b,_0x4b3660;}async function createPasswordToken(_0x32030d,_0x2c9439='setup'){const _0xeaf726={_0x42375b:0x3b7,_0x223df7:0x3b4,_0x9fdbb8:0x526,_0x166f80:0x3d2,_0x2801fb:0x3ea,_0x5e35b2:0x51b,_0x3bb9ca:0x4e3,_0x3e446a:0x55d,_0xe88ec8:0x541,_0x59bdf5:0x388},_0xc1fe38={_0x358863:0x1d5},_0x3980dc={_0x1ae98c:0x1bb,_0xbf7ff5:0x17d},_0x2dbab1={'sExLg':function(_0x3ca5fb,_0x4b8972){return _0x3ca5fb+_0x4b8972;},'eSGep':function(_0x2bf464){return _0x2bf464();},'Gwoan':function(_0xaa9daa,_0x471e95){return _0xaa9daa(_0x471e95);}},_0x4299ca=await loadTokens();function _0x53ec72(_0x1d5661,_0x2fcbaf,_0x40e9b5,_0x2874a3){return _0x260186(_0x40e9b5,_0x2fcbaf-_0x3980dc._0x1ae98c,_0x2fcbaf-0x6d9,_0x2874a3-_0x3980dc._0xbf7ff5);}const _0xfa18cd=new Date(),_0x45d84f=new Date(_0x2dbab1[_0x3cffb5(0x3ab,_0xeaf726._0x42375b,0x3ce,_0xeaf726._0x223df7)](_0xfa18cd[_0x53ec72(0x52f,_0xeaf726._0x9fdbb8,0x54d,0x501)](),TOKEN_EXPIRY_MS)),_0x50faf9={'id':generateTokenId(),'token':_0x2dbab1[_0x3cffb5(_0xeaf726._0x166f80,0x3d3,_0xeaf726._0x2801fb,0x3ec)](generateToken),'userId':_0x32030d,'type':_0x2c9439,'created_at':_0xfa18cd[_0x53ec72(_0xeaf726._0x5e35b2,0x506,_0xeaf726._0x3bb9ca,0x4fc)+'g'](),'expires_at':_0x45d84f['toISOStrin'+'g'](),'used':![],'used_at':null};_0x4299ca['tokens'][_0x53ec72(_0xeaf726._0x3e446a,_0xeaf726._0xe88ec8,0x55a,0x54a)](_0x50faf9);function _0x3cffb5(_0x487e65,_0x345206,_0x4d317d,_0x4a8f4c){return _0x260186(_0x345206,_0x345206-0x107,_0x487e65-0x567,_0x4a8f4c-_0xc1fe38._0x358863);}return await _0x2dbab1[_0x3cffb5(0x3a1,0x3ad,0x3c0,_0xeaf726._0x59bdf5)](saveTokens,_0x4299ca),_0x50faf9;}async function validateToken(_0x293b08){const _0x1696dc={_0x7dbc5:0x3a9,_0x3cd8e3:0x197,_0x1aeabf:0x189,_0x5b78d6:0x1aa,_0x263f96:0x3c7,_0x3a7fbf:0x3de,_0x5ab7ca:0x176,_0x1a685d:0x159,_0x3b0c87:0x193,_0x20f98f:0x18e,_0xa21293:0x1af,_0x4e6df2:0x3b1,_0x54625a:0x3ba,_0x81ae5c:0x39c,_0x19c5e3:0x3e2,_0x29f811:0x1bf,_0x55a0be:0x1e1,_0x3e18aa:0x3aa,_0x265f7b:0x386,_0x1446bb:0x3bd,_0x5a66ee:0x3d4,_0x52ab3a:0x39f,_0x482df4:0x3d2,_0x1d7cfa:0x3ad,_0x117deb:0x3e9,_0x278d6d:0x3e6,_0x4a2514:0x3d2,_0x1e455d:0x401,_0x55cf9e:0x3e3},_0x59ca59={_0x1f9b15:0x8c,_0x3b280d:0x318},_0x2cf045={_0xef8ea0:0x17a,_0x2e71b4:0x56e,_0x53f36b:0x153},_0x187a72={};function _0x362d80(_0x91e7fe,_0x578f7d,_0x536602,_0x531599){return _0x260186(_0x578f7d,_0x578f7d-_0x2cf045._0xef8ea0,_0x91e7fe-_0x2cf045._0x2e71b4,_0x531599-_0x2cf045._0x53f36b);}_0x187a72[_0x362d80(0x3aa,0x3c4,0x3aa,_0x1696dc._0x7dbc5)]=function(_0x2f43e4,_0x305c75){return _0x2f43e4>_0x305c75;},_0x187a72[_0x5f0759(-_0x1696dc._0x3cd8e3,-_0x1696dc._0x1aeabf,-_0x1696dc._0x5b78d6,-0x1b6)]=_0x362d80(_0x1696dc._0x263f96,0x3e1,0x3d7,_0x1696dc._0x3a7fbf),_0x187a72['zUNpG']=_0x5f0759(-_0x1696dc._0x5ab7ca,-_0x1696dc._0x1a685d,-_0x1696dc._0x3b0c87,-_0x1696dc._0x20f98f);const _0x41115a=_0x187a72,_0x450d91=await loadTokens(),_0x5222=_0x450d91[_0x5f0759(-_0x1696dc._0xa21293,-0x18d,-0x1c5,-0x18f)][_0x362d80(_0x1696dc._0x4e6df2,0x399,0x3c8,_0x1696dc._0x54625a)](_0x1fccda=>_0x1fccda[_0x5f0759(-0x1a8,-0x197,-0x1c8,-0x1a2)]===_0x293b08);if(!_0x5222)return null;if(_0x5222[_0x362d80(0x3bc,_0x1696dc._0x81ae5c,0x39b,_0x1696dc._0x19c5e3)])return null;const _0x134f6b=new Date(),_0x274eb3=new Date(_0x5222[_0x5f0759(-_0x1696dc._0x29f811,-_0x1696dc._0x55a0be,-0x1d0,-0x1bb)]);if(_0x41115a[_0x362d80(_0x1696dc._0x3e18aa,_0x1696dc._0x265f7b,_0x1696dc._0x1446bb,0x3a0)](_0x134f6b,_0x274eb3)){if(_0x41115a[_0x362d80(_0x1696dc._0x1446bb,_0x1696dc._0x5a66ee,_0x1696dc._0x52ab3a,_0x1696dc._0x482df4)]!==_0x41115a['zUNpG'])return null;else{const _0x2fa6bf=_0x142200[_0x362d80(0x3c5,0x3e9,_0x1696dc._0x1d7cfa,_0x1696dc._0x117deb)](),_0x22a509=_0x146da5['random']()[_0x362d80(0x3dd,_0x1696dc._0x278d6d,_0x1696dc._0x4a2514,_0x1696dc._0x1e455d)](0x4*0x255+0x13dd*0x1+-0x1d0d)['substring'](-0x7a4*-0x5+0x5*-0x5f9+-0x855,0x1*0x107f+-0x40*-0x65+-0x29b0);return _0x362d80(0x3cd,_0x1696dc._0x55cf9e,_0x1696dc._0x7dbc5,0x3ea)+_0x2fa6bf+'_'+_0x22a509;}}function _0x5f0759(_0x16f842,_0x53f338,_0x4de07d,_0x52f221){return _0x428765(_0x53f338,_0x53f338-0x52,_0x4de07d-_0x59ca59._0x1f9b15,_0x16f842- -_0x59ca59._0x3b280d);}return _0x5222;}async function markTokenAsUsed(_0x48fe5b){const _0x1e982b={_0xc076ed:0x170,_0x3f015b:0x16e,_0x3b6fa0:0x190,_0x5d6325:0x15e,_0x41652b:0x15c,_0x2819ea:0x2b2,_0x407ae8:0x2ab,_0x201486:0x183,_0x29fce1:0x189,_0x31ccde:0x181,_0x1dd616:0x2c5,_0x341ef6:0x2ec,_0x58cd70:0x2ce,_0x29613d:0x2dc,_0x5e259f:0x161},_0x4e35f1={_0x4934c7:0x468,_0x2e0c1d:0x3e},_0x1cb0ba={'tbPgG':function(_0x356256){return _0x356256();},'nhEVA':function(_0x2d660b,_0x261f34){return _0x2d660b===_0x261f34;},'PPvor':_0x3ff803(_0x1e982b._0xc076ed,_0x1e982b._0x3f015b,_0x1e982b._0x3b6fa0,0x155),'rESkm':function(_0x4eb1ab,_0x2dd8c7){return _0x4eb1ab(_0x2dd8c7);}},_0x3e0cbf=await _0x1cb0ba[_0x3ff803(0x13e,_0x1e982b._0x5d6325,_0x1e982b._0x41652b,0x147)](loadTokens),_0x2c8b34=_0x3e0cbf['tokens'][_0x5d9ddb(0x299,0x2c4,_0x1e982b._0x2819ea,_0x1e982b._0x407ae8)](_0x5760f2=>_0x5760f2[_0x5d9ddb(0x2a9,0x2ac,0x2c8,0x2a6)]===_0x48fe5b);function _0x3ff803(_0x22e5e4,_0x274cbf,_0x244c02,_0x5f4974){return _0x428765(_0x22e5e4,_0x274cbf-0x1e,_0x244c02-0x1b6,_0x274cbf-0x7);}if(!_0x2c8b34)return _0x1cb0ba[_0x3ff803(0x19c,0x196,0x1ad,_0x1e982b._0x201486)](_0x1cb0ba[_0x3ff803(0x15b,0x169,_0x1e982b._0x29fce1,_0x1e982b._0x31ccde)],_0x5d9ddb(0x2ea,_0x1e982b._0x1dd616,_0x1e982b._0x341ef6,_0x1e982b._0x58cd70))?!![]:![];_0x2c8b34[_0x5d9ddb(0x2c7,0x2c4,_0x1e982b._0x29613d,0x2b6)]=!![];function _0x5d9ddb(_0x3c2b55,_0x1b394e,_0x2fb7f0,_0x3dcc88){return _0x260186(_0x3c2b55,_0x1b394e-0x5b,_0x3dcc88-_0x4e35f1._0x4934c7,_0x3dcc88-_0x4e35f1._0x2e0c1d);}return _0x2c8b34['used_at']=new Date()[_0x3ff803(0x167,0x166,_0x1e982b._0x5e259f,0x168)+'g'](),await _0x1cb0ba['rESkm'](saveTokens,_0x3e0cbf),!![];}async function getUserTokens(_0x54d596){const _0x466771={_0x1ce921:0x26c,_0x418bfb:0x28f,_0x18a3ae:0x282,_0x1b959c:0x3b6,_0x4ca48f:0x3a4,_0x22e8cf:0x3b0,_0x16758b:0x38c,_0xe79e2:0x28d,_0xdf4ca:0x28e,_0x14fb15:0x275},_0x2a4c52={_0x2f3682:0x55a},_0x912384={_0x37f363:0x139,_0x4b6b03:0xfd},_0x29969d={'MEPKU':function(_0x1b2440){return _0x1b2440();}};function _0x56206c(_0x113558,_0x321638,_0x303a83,_0x202873){return _0x428765(_0x303a83,_0x321638-0x3,_0x303a83-_0x912384._0x37f363,_0x321638-_0x912384._0x4b6b03);}const _0x518b29=await _0x29969d[_0x56206c(_0x466771._0x1ce921,_0x466771._0x418bfb,_0x466771._0x18a3ae,0x281)](loadTokens);function _0x488043(_0x284bca,_0x26fa38,_0x586f31,_0x4e9bbd){return _0x260186(_0x284bca,_0x26fa38-0x1d8,_0x26fa38-_0x2a4c52._0x2f3682,_0x4e9bbd-0x27);}return _0x518b29[_0x488043(0x3aa,0x391,0x394,_0x466771._0x1b959c)][_0x488043(_0x466771._0x4ca48f,_0x466771._0x22e8cf,_0x466771._0x16758b,0x393)](_0x4ae387=>_0x4ae387[_0x488043(0x37c,0x39c,0x388,0x3a6)]===_0x54d596)[_0x56206c(0x2a6,_0x466771._0xe79e2,_0x466771._0xdf4ca,_0x466771._0x14fb15)](_0x139483=>({'id':_0x139483['id'],'type':_0x139483[_0x488043(0x397,0x3ab,0x3b5,0x3a3)],'created_at':_0x139483[_0x488043(0x380,0x392,0x3a4,0x395)],'expires_at':_0x139483[_0x488043(0x374,0x381,0x388,0x364)],'used':_0x139483[_0x56206c(0x29a,0x27d,0x272,0x275)],'used_at':_0x139483[_0x488043(0x3ba,0x3a6,0x398,0x387)]}));}async function revokeToken(_0x27f7cd){const _0x42ce6c={_0x333f3a:0xe4,_0x51b680:0xe2,_0x2a7da7:0x11d,_0x42d7dd:0xfd,_0x48d2aa:0xee,_0x55bcb6:0xcf,_0x1ac5b3:0xfc,_0x59f0a1:0xec,_0x5991e7:0xec,_0xa8fe4e:0xf6,_0x1dd686:0xd2,_0xafc8f3:0xda,_0x1a58f6:0xe6,_0x147b71:0xd0},_0x31fbd0={_0x1603ec:0x158,_0xb17e97:0x266},_0x212269={_0xf991d0:0x17b},_0x36fb56={'hjiXR':function(_0x6e4d52){return _0x6e4d52();},'evcAO':function(_0x3dfd6,_0x4fa9c5){return _0x3dfd6===_0x4fa9c5;},'MOQth':function(_0x3ec338,_0x193b16){return _0x3ec338(_0x193b16);}},_0x1580f2=await _0x36fb56[_0x272bc0(-0xc7,-_0x42ce6c._0x333f3a,-0xd6,-_0x42ce6c._0x51b680)](loadTokens),_0x425e16=_0x1580f2[_0x272bc0(-_0x42ce6c._0x51b680,-0x103,-_0x42ce6c._0x2a7da7,-_0x42ce6c._0x42d7dd)][_0x272bc0(-0xce,-0xe3,-_0x42ce6c._0x48d2aa,-_0x42ce6c._0x55bcb6)](_0x4adc87=>_0x4adc87['id']===_0x27f7cd);if(_0x36fb56['evcAO'](_0x425e16,-(-0xd*-0x2ce+-0x1*-0x165+-0x25da)))return![];function _0x748685(_0x14d6e,_0x44b89d,_0x3e0a52,_0x108387){return _0x428765(_0x14d6e,_0x44b89d-0x1ba,_0x3e0a52-_0x212269._0xf991d0,_0x3e0a52-0x239);}_0x1580f2[_0x272bc0(-_0x42ce6c._0x1ac5b3,-_0x42ce6c._0x59f0a1,-_0x42ce6c._0x5991e7,-0xfd)][_0x272bc0(-0xe1,-0xde,-_0x42ce6c._0xa8fe4e,-_0x42ce6c._0x1dd686)](_0x425e16,-0x1250+-0x4db*-0x1+-0x6bb*-0x2),await _0x36fb56[_0x272bc0(-_0x42ce6c._0xafc8f3,-_0x42ce6c._0x1a58f6,-_0x42ce6c._0x147b71,-0xc8)](saveTokens,_0x1580f2);function _0x272bc0(_0x46672d,_0xbd7b5c,_0x4b9149,_0x229d62){return _0x428765(_0x4b9149,_0xbd7b5c-0x90,_0x4b9149-_0x31fbd0._0x1603ec,_0x229d62- -_0x31fbd0._0xb17e97);}return!![];}async function cleanupOldTokens(){const _0x2edcb8={_0x5d275e:0x431,_0x346c04:0x44f,_0x4ab141:0x418,_0x494d4e:0x433,_0x7bb8a9:0x454,_0x5779df:0x154,_0xf42587:0x176,_0x55b208:0x197,_0x2f579a:0x41a,_0x50211a:0x469,_0x10b7ae:0x463,_0x3b4993:0x444,_0xb2b856:0x464,_0xb25792:0x43e,_0x1cf29d:0x175,_0x4b5926:0x45f,_0x36e08d:0x44c,_0x57b1d3:0x45d,_0x467d25:0x41c,_0x9d8e0b:0x447,_0x2a478f:0x125,_0x51d810:0x14d,_0x56df84:0x136,_0x269ec4:0x194,_0x66c365:0x1a2,_0x2f2767:0x162},_0x5df51f={_0x59be4a:0xda},_0x3e4f80={_0x49528c:0x3ff,_0x324631:0x408,_0x503a39:0x428,_0x2ea0d2:0x404,_0x47b1ae:0x3dc},_0x1cdb3a={_0x53c594:0x16b,_0x2b36e6:0xa0},_0x26c449={_0x38a4fa:0x54};function _0x580390(_0x324ee1,_0x330fef,_0x30f487,_0x10c5cc){return _0x260186(_0x10c5cc,_0x330fef-0xab,_0x330fef-_0x26c449._0x38a4fa,_0x10c5cc-0x100);}const _0x37da8e={'rEBgP':function(_0x2a4bb4,_0x44c0bf){return _0x2a4bb4>_0x44c0bf;},'CTBlE':function(_0x241871,_0x540e26){return _0x241871-_0x540e26;},'UxMgn':function(_0x2c01f7,_0x2f2d1d){return _0x2c01f7*_0x2f2d1d;},'EXLBH':function(_0x4754a1,_0xdc84b9){return _0x4754a1*_0xdc84b9;},'QlxDq':function(_0x5ad400,_0x24348c){return _0x5ad400*_0x24348c;},'KnOVz':function(_0x22a508,_0x2ae828){return _0x22a508-_0x2ae828;},'HCrNE':function(_0x49766c,_0x12da20){return _0x49766c(_0x12da20);}},_0x34053f=await loadTokens(),_0x3e2e20=new Date(),_0x913fda=new Date(_0x37da8e[_0x44b6fe(_0x2edcb8._0x5d275e,_0x2edcb8._0x346c04,_0x2edcb8._0x4ab141,_0x2edcb8._0x494d4e)](_0x3e2e20[_0x44b6fe(0x443,0x43a,0x42e,_0x2edcb8._0x7bb8a9)](),_0x37da8e[_0x580390(-_0x2edcb8._0x5779df,-_0x2edcb8._0xf42587,-_0x2edcb8._0x55b208,-0x160)](_0x37da8e[_0x44b6fe(0x44f,_0x2edcb8._0x2f579a,0x43f,0x43d)](_0x37da8e['EXLBH'](_0x37da8e['QlxDq'](-0x2da+0x8a2+-0x5aa,0x35*-0xb5+-0x2234+0x47c5*0x1),-0x1a3d+-0x2a*-0xb3+-0x2e5),-0x24e4+0xf13+0x160d*0x1),-0x53*-0x1a+-0x8a+-0x3fc))),_0x585466=_0x34053f['tokens'][_0x44b6fe(_0x2edcb8._0x50211a,_0x2edcb8._0x10b7ae,0x461,0x471)];_0x34053f[_0x44b6fe(_0x2edcb8._0x3b4993,0x43f,_0x2edcb8._0xb2b856,_0x2edcb8._0xb25792)]=_0x34053f[_0x580390(-0x154,-_0x2edcb8._0x1cf29d,-0x18b,-0x197)][_0x44b6fe(_0x2edcb8._0x4b5926,_0x2edcb8._0x36e08d,0x452,_0x2edcb8._0x57b1d3)](_0x3f9e2f=>{const _0x2443ad={_0x4c0a34:0x18f,_0x1e9835:0x3a0},_0x48966d=new Date(_0x3f9e2f['created_at']),_0x2e7cdd=new Date(_0x3f9e2f[_0x30f6b9(_0x3e4f80._0x49528c,0x3fb,0x402,0x3f2)]);if(!_0x3f9e2f[_0x30f6b9(_0x3e4f80._0x324631,0x422,0x43a,_0x3e4f80._0x503a39)]&&_0x3e2e20<=_0x2e7cdd)return!![];if(_0x37da8e[_0x30f6b9(_0x3e4f80._0x2ea0d2,0x3ff,0x3f3,_0x3e4f80._0x47b1ae)](_0x48966d,_0x913fda))return!![];function _0x20b274(_0x51b6d8,_0x4fd52a,_0x4507a6,_0x552eb2){return _0x580390(_0x51b6d8-_0x2443ad._0x4c0a34,_0x552eb2-_0x2443ad._0x1e9835,_0x4507a6-0x139,_0x51b6d8);}function _0x30f6b9(_0x20675f,_0x476040,_0x45b187,_0x15cd66){return _0x44b6fe(_0x20675f-_0x1cdb3a._0x53c594,_0x20675f,_0x45b187-_0x1cdb3a._0x2b36e6,_0x476040- -0x33);}return![];});const _0x304651=_0x37da8e[_0x44b6fe(_0x2edcb8._0x467d25,_0x2edcb8._0x9d8e0b,0x426,0x430)](_0x585466,_0x34053f['tokens'][_0x580390(-_0x2edcb8._0x2a478f,-0x142,-_0x2edcb8._0x51d810,-_0x2edcb8._0x56df84)]);function _0x44b6fe(_0x79f81b,_0x4bc65b,_0x53c5a0,_0x41ddc9){return _0x260186(_0x4bc65b,_0x4bc65b-_0x5df51f._0x59be4a,_0x41ddc9-0x607,_0x41ddc9-0xc3);}return _0x37da8e[_0x580390(-_0x2edcb8._0x269ec4,-0x181,-_0x2edcb8._0x66c365,-_0x2edcb8._0x2f2767)](_0x304651,0x1862*-0x1+0x1*0x94a+0xf18)&&await _0x37da8e['HCrNE'](saveTokens,_0x34053f),_0x304651;}async function revokeTokensByUser(_0x420c61){const _0x5d94d7={_0x42fa0f:0x93,_0x4b705b:0x98,_0x5142d8:0x10,_0x53dee8:0x19,_0x4397ff:0x1,_0x1cc368:0x6f,_0x5c0126:0x28,_0x3580e0:0x1,_0x17b794:0xc6,_0x312adf:0xa1,_0x1a9f53:0x8b,_0x5a55f0:0x87,_0x1fb1c7:0xb5,_0x4a7c25:0xc6,_0x46d3ee:0xab,_0x2f3771:0x8a,_0x44dc70:0xa0,_0x5434d0:0x6b},_0x5c749e={_0x582c04:0x4,_0x5f5693:0xea},_0x4ce511={'jQDPN':function(_0x1b8127){return _0x1b8127();},'AfUfU':function(_0x5e2869,_0x1d29bf){return _0x5e2869-_0x1d29bf;},'YQVXm':function(_0x274cea,_0x219a35){return _0x274cea>_0x219a35;},'BhMPd':function(_0x3be2c4,_0x216c31){return _0x3be2c4!==_0x216c31;},'vQTwH':_0x3c4877(0x9e,_0x5d94d7._0x42fa0f,_0x5d94d7._0x4b705b,0x75),'zVckW':function(_0xc5d44d,_0x4a8cbd){return _0xc5d44d(_0x4a8cbd);}},_0x141875=await _0x4ce511[_0x3c4877(0x88,0x8f,0x91,0x9a)](loadTokens);function _0x2c9a8e(_0x244f13,_0x4330be,_0x249c48,_0x1a4257){return _0x428765(_0x4330be,_0x4330be-0x188,_0x249c48-0x148,_0x1a4257- -0x168);}const _0x4ef602=_0x141875['tokens']['length'];_0x141875[_0x2c9a8e(_0x5d94d7._0x5142d8,0xb,-_0x5d94d7._0x53dee8,_0x5d94d7._0x4397ff)]=_0x141875[_0x3c4877(_0x5d94d7._0x1cc368,0x82,0x7f,0xa0)]['filter'](_0x463237=>_0x463237['userId']!==_0x420c61);function _0x3c4877(_0x4c8ee,_0x16c509,_0x178789,_0x51f30e){return _0x428765(_0x16c509,_0x16c509-0x18d,_0x178789-_0x5c749e._0x582c04,_0x178789- -_0x5c749e._0x5f5693);}const _0x3cee0f=_0x4ce511['AfUfU'](_0x4ef602,_0x141875[_0x2c9a8e(0x16,_0x5d94d7._0x5c0126,-0x18,_0x5d94d7._0x3580e0)][_0x3c4877(0xba,_0x5d94d7._0x17b794,0xb2,_0x5d94d7._0x312adf)]);if(_0x4ce511[_0x3c4877(_0x5d94d7._0x1a9f53,0x71,_0x5d94d7._0x42fa0f,_0x5d94d7._0x5a55f0)](_0x3cee0f,0x1853+-0xcf3+-0xb60)){if(_0x4ce511[_0x3c4877(_0x5d94d7._0x1fb1c7,_0x5d94d7._0x4a7c25,_0x5d94d7._0x46d3ee,_0x5d94d7._0x2f3771)](_0x4ce511['vQTwH'],_0x4ce511['vQTwH']))return![];else await _0x4ce511[_0x3c4877(_0x5d94d7._0x44dc70,0x63,0x7a,_0x5d94d7._0x5434d0)](saveTokens,_0x141875);}return _0x3cee0f;}function _0x428765(_0x3a9e8d,_0x31c8fe,_0x25c20a,_0x3291f8){const _0x121e8d={_0x51bff3:0x4b};return _0x555c(_0x3291f8- -_0x121e8d._0x51bff3,_0x3a9e8d);}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
1
+ (function(_0x21aa02,_0x4e89ef){const _0x2964d4={_0x48a805:0x28a,_0x27549c:0x283,_0x52517a:0x2a5,_0x5c08b2:0x2a1,_0x39e03e:0x2df,_0x2512d0:0x2cb,_0x141dc5:0x2ea,_0x311732:0x2ab,_0x41aeb5:0x288,_0x197bc1:0x2aa,_0x269748:0x2c1,_0x45fadf:0x2ac,_0xd9a762:0x2b6,_0x222782:0x28b,_0x3e10f7:0x290,_0x1a1965:0x29e,_0x23d850:0x26a,_0x2f1195:0x2e0,_0x2943f0:0x2db,_0x19ca2e:0x2bb,_0x3167c9:0x2c9,_0x3daa4e:0x2b5},_0x4db646={_0x1b4a0d:0x180},_0x18fb09=_0x21aa02();function _0x9b5621(_0x4a27ea,_0x373f02,_0xfb2155,_0x7dd029){return _0x1145(_0x373f02- -0x3d0,_0x4a27ea);}function _0x1b5398(_0x5b8166,_0x4a013f,_0x340c47,_0x3e2ec0){return _0x1145(_0x4a013f-_0x4db646._0x1b4a0d,_0x5b8166);}while(!![]){try{const _0x2c6801=parseInt(_0x9b5621(-0x285,-_0x2964d4._0x48a805,-_0x2964d4._0x27549c,-0x28f))/(-0xa15+0x4*0x91d+-0x1a5e)+-parseInt(_0x1b5398(_0x2964d4._0x52517a,_0x2964d4._0x5c08b2,0x2b3,0x286))/(0x5db*0x1+-0x10a9+0x568*0x2)*(parseInt(_0x9b5621(-0x2b1,-0x2bd,-0x2b2,-_0x2964d4._0x39e03e))/(-0x690+-0x1*0x39f+0xa32))+-parseInt(_0x1b5398(0x2c2,_0x2964d4._0x2512d0,_0x2964d4._0x141dc5,0x2db))/(0x1d76+-0x2*-0x1c5+-0x20fc)+parseInt(_0x9b5621(-0x27b,-0x296,-0x2a7,-0x2a6))/(0x66f+0x1e81+-0xd*0x2d7)*(-parseInt(_0x9b5621(-0x26e,-0x287,-_0x2964d4._0x311732,-_0x2964d4._0x41aeb5))/(-0x5e0*-0x2+0x139d+-0x1f57))+parseInt(_0x9b5621(-_0x2964d4._0x197bc1,-_0x2964d4._0x269748,-_0x2964d4._0x45fadf,-_0x2964d4._0xd9a762))/(-0x5*0xf1+0x2659+-0x1*0x219d)+-parseInt(_0x9b5621(-_0x2964d4._0x222782,-_0x2964d4._0x3e10f7,-_0x2964d4._0x1a1965,-_0x2964d4._0x23d850))/(-0xa7f*-0x1+-0x181*-0x14+0x6b*-0x61)*(parseInt(_0x1b5398(0x2d2,0x2ce,_0x2964d4._0x2f1195,_0x2964d4._0x2943f0))/(0x15+0x1162+-0x116e))+parseInt(_0x1b5398(_0x2964d4._0x19ca2e,0x2b1,0x298,_0x2964d4._0x3167c9))/(0x1e93*0x1+0x4*-0x9b6+0x84f)*(parseInt(_0x9b5621(-0x295,-0x2b3,-_0x2964d4._0x3daa4e,-0x2cf))/(0x4b2+-0x30*-0x2+-0x1ad*0x3));if(_0x2c6801===_0x4e89ef)break;else _0x18fb09['push'](_0x18fb09['shift']());}catch(_0x1d9086){_0x18fb09['push'](_0x18fb09['shift']());}}}(_0x21f3,0x6645+0x2*-0x3612b+0xf3700));import{promises as _0x5cd9df}from'fs';import _0x46b3f8 from'path';import _0x1c7695 from'crypto';import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x46b3f8[_0x259312(0x43,0x55,0x59,0x42)](__filename),TOKENS_FILE=_0x46b3f8[_0x259312(0x4c,0x6b,0x5f,0x54)](DATA_DIR,_0x259312(0x2f,0x46,0x2f,0x37)+_0x259312(0x21,0x3a,0x42,0x5d)),TOKEN_EXPIRY_MS=(-0xc7e+-0x2173+0x2df8)*(-0x47c+-0xc2a+0x2*0x85f)*(0x49*0x1f+-0x132e*-0x1+0x1*-0x1bc9)*(-0x1364+-0x1*-0x8bd+0xae3)*(0x3f4+-0x98d*-0x3+-0x1cb3);let tokensCache=null,lastLoadTime=-0x2097+-0x4*-0x45a+0xf2f;const CACHE_TTL=-0x1*-0x10fd+-0x9d*-0x3d+0x193f*-0x2;async function loadTokens(){const _0x13118b={_0x534064:0x429,_0x9f1804:0x442,_0x3aeb46:0x1a3,_0x52fb7c:0x180,_0xd79291:0x1ac,_0x101c3b:0x1a6,_0x4d3651:0x412,_0x1f3ee9:0x405,_0x158676:0x3fe,_0x369ced:0x189,_0x1dff44:0x44a,_0x1b75c9:0x418,_0x2488fe:0x43c,_0x2575f5:0x1c7,_0x32ca59:0x1c3,_0x46b99e:0x437,_0x29845:0x427,_0xb73340:0x186,_0x468f1b:0x180,_0x5a08a3:0x448,_0x53681f:0x425,_0x168042:0x3f7,_0xa234db:0x407,_0x292f48:0x1b5,_0x27e600:0x1ae,_0x1a3175:0x19c,_0x173240:0x1c1,_0x2668d5:0x198,_0x2000ed:0x1aa,_0x28af53:0x1be,_0x5c3385:0x43c,_0x473ef4:0x42d,_0x468e6b:0x402,_0x5b4711:0x422,_0x38e7cb:0x19a,_0x579da4:0x466,_0xd1074e:0x43b,_0x15786e:0x446},_0x4d671f={_0xbfe9f4:0x1c4,_0x1ab9f6:0x645},_0x5ba48f={_0x4945d6:0x1fa,_0x31a45f:0x58},_0x14523c={};_0x14523c[_0x785516(0x42a,0x40e,0x42c,0x427)]=function(_0xc95225,_0x453ca6){return _0xc95225<_0x453ca6;},_0x14523c[_0x785516(0x467,_0x13118b._0x534064,0x42a,_0x13118b._0x9f1804)]=function(_0x54142a,_0x1fda0e){return _0x54142a-_0x1fda0e;};function _0x152ab3(_0x2d1160,_0x4d9cc7,_0x16fcc7,_0x38a3fc){return _0x259312(_0x4d9cc7,_0x2d1160- -_0x5ba48f._0x4945d6,_0x16fcc7-_0x5ba48f._0x31a45f,_0x38a3fc-0x172);}_0x14523c[_0x152ab3(-_0x13118b._0x3aeb46,-_0x13118b._0x52fb7c,-_0x13118b._0xd79291,-_0x13118b._0x101c3b)]=_0x785516(_0x13118b._0x4d3651,_0x13118b._0x1f3ee9,_0x13118b._0x158676,0x400),_0x14523c['NftgM']=function(_0xab62e2,_0x346d82){return _0xab62e2===_0x346d82;},_0x14523c[_0x152ab3(-0x1a6,-0x1aa,-0x1a0,-_0x13118b._0x369ced)]=_0x785516(_0x13118b._0x1dff44,_0x13118b._0x1b75c9,0x440,0x42d),_0x14523c[_0x785516(0x427,0x459,_0x13118b._0x2488fe,0x437)]=function(_0x5634a5,_0x34688f){return _0x5634a5===_0x34688f;};const _0x3e13dd=_0x14523c,_0x339d5d=Date[_0x152ab3(-_0x13118b._0x2575f5,-0x1de,-_0x13118b._0x32ca59,-0x1a5)]();if(tokensCache&&_0x3e13dd[_0x785516(0x416,0x40e,_0x13118b._0x46b99e,_0x13118b._0x29845)](_0x3e13dd[_0x152ab3(-_0x13118b._0xb73340,-_0x13118b._0x468f1b,-0x183,-0x161)](_0x339d5d,lastLoadTime),CACHE_TTL))return tokensCache;function _0x785516(_0x528f04,_0x5269e0,_0xa4c3ab,_0x5ca279){return _0x3cb726(_0x528f04,_0x5269e0-_0x4d671f._0xbfe9f4,_0x5ca279-_0x4d671f._0x1ab9f6,_0x5ca279-0xef);}try{const _0x134158=await _0x5cd9df['readFile'](TOKENS_FILE,_0x3e13dd[_0x785516(_0x13118b._0x5a08a3,0x412,0x40f,_0x13118b._0x53681f)]);return tokensCache=JSON[_0x785516(0x40d,_0x13118b._0x168042,0x3f0,_0x13118b._0xa234db)](_0x134158),lastLoadTime=_0x339d5d,tokensCache;}catch(_0x7b5973){if(_0x3e13dd[_0x152ab3(-_0x13118b._0x292f48,-_0x13118b._0x27e600,-_0x13118b._0x1a3175,-_0x13118b._0x173240)](_0x7b5973[_0x152ab3(-_0x13118b._0x2668d5,-_0x13118b._0x2000ed,-_0x13118b._0x28af53,-0x19e)],_0x3e13dd[_0x785516(_0x13118b._0x5c3385,_0x13118b._0x473ef4,_0x13118b._0x468e6b,_0x13118b._0x5b4711)])){if(_0x3e13dd['WduHf'](_0x152ab3(-0x182,-0x192,-0x19d,-_0x13118b._0x38e7cb),_0x785516(_0x13118b._0x579da4,_0x13118b._0xd1074e,0x428,_0x13118b._0x15786e))){const _0x2ab112={};_0x2ab112[_0x152ab3(-0x1a0,-0x1c0,-_0x13118b._0x369ced,-0x1a6)]=[];const _0x4cb7a6=_0x2ab112;return await saveTokens(_0x4cb7a6),tokensCache=_0x4cb7a6,lastLoadTime=_0x339d5d,_0x4cb7a6;}else return null;}throw _0x7b5973;}}async function saveTokens(_0x4e7594){const _0x41ab4c={_0x2119f1:0x35d,_0x14da45:0x12c,_0x5bb568:0x110,_0xb5edec:0x114,_0x4466ea:0x31a},_0x4a99f5={_0x30051e:0x7b,_0x3f8109:0x16d},_0x5babeb={};function _0x32ef3a(_0x43f7a3,_0x25596e,_0x491770,_0x53b956){return _0x259312(_0x25596e,_0x53b956-0xb8,_0x491770-0x8f,_0x53b956-0xbd);}function _0x40e1b4(_0x15e39c,_0x43ca3f,_0x2b0faf,_0x55696c){return _0x3cb726(_0x43ca3f,_0x43ca3f-_0x4a99f5._0x30051e,_0x55696c-0x573,_0x55696c-_0x4a99f5._0x3f8109);}_0x5babeb[_0x40e1b4(_0x41ab4c._0x2119f1,0x34c,0x344,0x33f)]=!![],await _0x5cd9df['mkdir'](DATA_DIR,_0x5babeb),await _0x5cd9df['writeFile'](TOKENS_FILE,JSON[_0x32ef3a(_0x41ab4c._0x14da45,_0x41ab4c._0x5bb568,0x13a,_0x41ab4c._0xb5edec)](_0x4e7594,null,0x1e1a+-0x158a+-0x16d*0x6)),tokensCache=_0x4e7594,lastLoadTime=Date[_0x40e1b4(_0x41ab4c._0x4466ea,0x354,0x348,0x32f)]();}function generateToken(){const _0x471853={_0x2a9b6c:0xf4,_0x1f8df5:0xe6,_0x5effe7:0x104,_0x49b8c8:0x49a,_0x30ddb3:0x4b2,_0x1048e2:0x484,_0xdeef37:0x49e,_0x11e325:0x4c3,_0x5bdafd:0x120,_0xd2c1d3:0x110,_0x8585e5:0x101,_0x1e0e13:0xff,_0x157032:0xf2,_0x29f241:0x127,_0x45e2c3:0x4cd,_0x42db7a:0x4b5,_0xf6469b:0x4bb,_0x31359d:0x4dc,_0x49dd3b:0x13a,_0x52b57c:0x136},_0x75b626={_0x2c5fef:0x28,_0x70a2c6:0x6dd,_0x33697b:0x182},_0x56edc3={_0x122a85:0x41,_0x571421:0x329};function _0x52e747(_0x511ded,_0x4b50e4,_0x2a7688,_0x2fc8bb){return _0x3cb726(_0x511ded,_0x4b50e4-_0x56edc3._0x122a85,_0x2a7688-_0x56edc3._0x571421,_0x2fc8bb-0xf);}const _0x395d8f={};_0x395d8f[_0x52e747(_0x471853._0x2a9b6c,_0x471853._0x1f8df5,_0x471853._0x5effe7,0x109)]=function(_0x565498,_0x369963){return _0x565498+_0x369963;};function _0x31c677(_0x47ee90,_0x2dbf3e,_0x1ec78d,_0x37c08f){return _0x3cb726(_0x1ec78d,_0x2dbf3e-_0x75b626._0x2c5fef,_0x47ee90-_0x75b626._0x70a2c6,_0x37c08f-_0x75b626._0x33697b);}_0x395d8f[_0x31c677(0x4a7,_0x471853._0x49b8c8,_0x471853._0x30ddb3,_0x471853._0x1048e2)]=_0x31c677(0x4b6,0x4c9,_0x471853._0xdeef37,_0x471853._0x11e325),_0x395d8f[_0x52e747(0x134,0x12b,_0x471853._0x5bdafd,0x10a)]=_0x52e747(_0x471853._0xd2c1d3,0xfc,_0x471853._0x8585e5,0xff);const _0x59731c=_0x395d8f,_0x4429c8=_0x1c7695['randomByte'+'s'](-0x1ebf+-0x11*0x207+0x4156*0x1);return _0x59731c[_0x52e747(_0x471853._0x1e0e13,_0x471853._0x157032,_0x471853._0x5effe7,_0x471853._0x29f241)](_0x59731c['trSjR'],_0x4429c8[_0x31c677(_0x471853._0x45e2c3,_0x471853._0x42db7a,_0x471853._0xf6469b,_0x471853._0x31359d)](_0x59731c[_0x52e747(_0x471853._0x49dd3b,0x129,_0x471853._0x5bdafd,_0x471853._0x52b57c)]));}function generateTokenId(){const _0x3c907d={_0x44fc4e:0x1fe,_0x29e4d6:0x20b,_0x5036c1:0x1aa,_0x511170:0x1b1,_0x5336be:0x1be,_0x280bb9:0x1d6,_0x5e6ec2:0x1d0,_0x2ca62e:0x1a1,_0x29074a:0x22b,_0x2f0e3d:0x217,_0x7a8ce5:0x20d,_0x5afc0a:0x1b2,_0x2b2a55:0x1db},_0x3b7e12={_0x222d08:0x174,_0x3fe145:0x4a},_0x47cdcf={_0x4c5987:0xec,_0x9fc76e:0x43d},_0x1ee18b=Date[_0x569f39(0x1f9,_0x3c907d._0x44fc4e,0x20a,_0x3c907d._0x29e4d6)]();function _0x569f39(_0x9d0825,_0x4029fd,_0x3d6ca4,_0x5a8a9f){return _0x3cb726(_0x5a8a9f,_0x4029fd-_0x47cdcf._0x4c5987,_0x9d0825-_0x47cdcf._0x9fc76e,_0x5a8a9f-0x16);}function _0x37f8ba(_0x46ed81,_0x2dafee,_0x4b46d5,_0x140a5d){return _0x3cb726(_0x140a5d,_0x2dafee-_0x3b7e12._0x222d08,_0x4b46d5-0x49,_0x140a5d-_0x3b7e12._0x3fe145);}const _0x2199d9=Math[_0x37f8ba(-_0x3c907d._0x5036c1,-_0x3c907d._0x511170,-_0x3c907d._0x5336be,-0x1e4)]()[_0x37f8ba(-_0x3c907d._0x280bb9,-_0x3c907d._0x5e6ec2,-0x1c7,-_0x3c907d._0x2ca62e)](-0x4*-0x224+0x1271+-0x1add)[_0x569f39(_0x3c907d._0x29074a,0x225,_0x3c907d._0x2f0e3d,_0x3c907d._0x7a8ce5)](0x217f+0x24a7+-0x4624,-0x17*-0x95+-0x24d*0x7+0x2c7);return _0x37f8ba(-_0x3c907d._0x5afc0a,-0x1b8,-0x1d6,-_0x3c907d._0x2b2a55)+_0x1ee18b+'_'+_0x2199d9;}async function createPasswordToken(_0x19b37a,_0x4a4658=_0x259312(0x55,0x71,0x91,0x72)){const _0x3a7dc8={_0x177e15:0x247,_0x238444:0x22e,_0x365c66:0x223,_0x1b5533:0x225,_0xa93506:0x1fd,_0x4d798a:0x227,_0x3a24a9:0x1f4,_0x186bde:0x1eb,_0x5a0053:0xe4,_0x415509:0xd8,_0x5c9aa9:0xe3,_0x458911:0xc4},_0x244b28={_0x5accc6:0x1dd,_0x249e04:0x39},_0x5a0b91={_0x128d8c:0x70},_0x46a13d={'CdeLC':function(_0x2322f5){return _0x2322f5();},'nECCn':function(_0x4b0ad2,_0x128506){return _0x4b0ad2(_0x128506);}},_0x45d022=await _0x46a13d[_0x3fec2d(_0x3a7dc8._0x177e15,_0x3a7dc8._0x238444,_0x3a7dc8._0x365c66,0x245)](loadTokens),_0x2b10a4=new Date(),_0x2bc2da=new Date(_0x2b10a4[_0x3fec2d(0x20a,_0x3a7dc8._0x1b5533,0x229,0x205)]()+TOKEN_EXPIRY_MS);function _0x1508c1(_0x41a499,_0x3e44a8,_0x542395,_0x3bd98c){return _0x259312(_0x41a499,_0x3bd98c- -0x10e,_0x542395-0x127,_0x3bd98c-_0x5a0b91._0x128d8c);}const _0x3e9c1f={'id':generateTokenId(),'token':generateToken(),'userId':_0x19b37a,'type':_0x4a4658,'created_at':_0x2b10a4[_0x3fec2d(_0x3a7dc8._0x238444,0x20e,_0x3a7dc8._0xa93506,_0x3a7dc8._0x4d798a)+'g'](),'expires_at':_0x2bc2da[_0x3fec2d(_0x3a7dc8._0x3a24a9,0x20e,_0x3a7dc8._0x186bde,0x20d)+'g'](),'used':![],'used_at':null};_0x45d022['tokens']['push'](_0x3e9c1f);function _0x3fec2d(_0x39b1e1,_0x1177df,_0x200b38,_0x379ab3){return _0x259312(_0x39b1e1,_0x1177df-_0x244b28._0x5accc6,_0x200b38-_0x244b28._0x249e04,_0x379ab3-0x178);}return await _0x46a13d[_0x1508c1(-_0x3a7dc8._0x5a0053,-_0x3a7dc8._0x415509,-_0x3a7dc8._0x5c9aa9,-_0x3a7dc8._0x458911)](saveTokens,_0x45d022),_0x3e9c1f;}function _0x21f3(){const _0x4a5070=['CMvJDxjZAxzL','EMnWELy','tMz0z00','CgfZC3DVCMqTDa','zxHWAxjLC19HDa','z2v0vgLTzq','nZyXmdL4qKP3wM0','BKvdq24','y1LsBLe','zMLUza','mtKXmeDIr012Aa','DxnLCKLK','Agv4','ChrF','q2rLtem','quvMAxe','y3jLyxrLzf9HDa','BxfUtwm','zgLYBMfTzq','BwfW','v0T5A2i','Dg9Rzw5F','tePfAg4','Dg9Rzw5Z','DM5Svui','C3rYAw5NAwz5','mJGXmhbZv3jMsa','uxH5v0S','ru5pru5u','DxnLza','BhDUwhC','y29Kzq','DxnLzf9HDa','Ag5Mt1C','C3vIC3rYAw5N','nwPIt0PXua','Dg9tDhjPBMC','zMLUzeLUzgv4','v2r1sgy','DhLWzq','AM9PBG','mZi4yLHvu1bS','uhnYwNy','wLDSy2C','Du5wAKO','CMfUzg9T','C2v0Dxa','ndqWmZq1z09qyNP5','CMfUzg9TqNL0zq','tLbusge','mZa1nZC2mMXVtNj2ua','DwDorve','mJiZotK0nhLut2HUzq','r0nLuNy','EgPmq3K','mtaXmtuXu1DOugXb','zMLSDgvY','AvH6qMG','Dg9ju09tDhjPBG','DxrMoa','BM93','Be1fq2O','AenYzK4','ExnQs2e','AfnguxO','BNjbCee','CgfYC2u','B2TLBNmUANnVBG','nZuWndu2yvzPrufH','sNLxBey','svjzr2G','Dg9Rzw4','mte5n3DhrgnvtG','twrpsui','DhjtALi','BgvUz3rO'];_0x21f3=function(){return _0x4a5070;};return _0x21f3();}async function validateToken(_0x60b130){const _0x175469={_0x5cbab5:0x38e,_0x503528:0x395,_0x499c1a:0x287,_0x449732:0x279,_0x1267c7:0x28b,_0x2143cb:0x28a,_0x4c17b6:0x26b,_0x464acf:0x263,_0x44cc7c:0x3bf,_0x214596:0x394,_0x47d76f:0x39e,_0x27b03b:0x3ac,_0x5d5b4f:0x269,_0x55660c:0x276,_0x534d1b:0x267,_0x21e6f0:0x3a7,_0x4f42da:0x393,_0x84c307:0x387,_0x631abc:0x3c7,_0x1a8d11:0x3e4,_0x5c16e4:0x3af,_0x46cb4b:0x3d2},_0x137fd7={_0x1d1e4d:0x3f},_0x185446={_0x1fbf77:0x76},_0x13a8e9={'ZaiWp':function(_0x3871ce){return _0x3871ce();},'DwnKP':function(_0x1314e5,_0x3bd010){return _0x1314e5!==_0x3bd010;},'IRYGh':_0x34d28c(_0x175469._0x5cbab5,0x3b0,0x3a4,_0x175469._0x503528),'cYRnQ':'vtnTT','MdOIB':function(_0xff61d1,_0x53685){return _0xff61d1>_0x53685;}};function _0x34d28c(_0x2d474e,_0x2ba91b,_0x3ce6e5,_0x4f5b33){return _0x259312(_0x3ce6e5,_0x2d474e-0x357,_0x3ce6e5-_0x185446._0x1fbf77,_0x4f5b33-0x171);}const _0x14a436=await _0x13a8e9['ZaiWp'](loadTokens),_0x71e807=_0x14a436[_0x5f9ff6(-0x25f,-0x25c,-0x265,-0x23b)]['find'](_0x133516=>_0x133516[_0x34d28c(0x395,0x373,0x38e,0x3b7)]===_0x60b130);if(!_0x71e807)return _0x13a8e9['DwnKP'](_0x13a8e9[_0x5f9ff6(-_0x175469._0x499c1a,-_0x175469._0x449732,-_0x175469._0x1267c7,-0x299)],_0x13a8e9[_0x5f9ff6(-_0x175469._0x2143cb,-_0x175469._0x4c17b6,-_0x175469._0x464acf,-0x27e)])?null:!![];function _0x5f9ff6(_0x1b245f,_0x50a9a6,_0x5babb5,_0x37df18){return _0x3cb726(_0x1b245f,_0x50a9a6-0x1d7,_0x50a9a6- -_0x137fd7._0x1d1e4d,_0x37df18-0x14c);}if(_0x71e807[_0x34d28c(0x3b7,_0x175469._0x44cc7c,_0x175469._0x214596,0x3bb)])return null;const _0x251837=new Date(),_0x12bb77=new Date(_0x71e807[_0x34d28c(_0x175469._0x47d76f,0x3bd,_0x175469._0x27b03b,0x3b2)]);if(_0x13a8e9[_0x5f9ff6(-_0x175469._0x5d5b4f,-_0x175469._0x55660c,-_0x175469._0x534d1b,-0x29c)](_0x251837,_0x12bb77)){if(_0x34d28c(0x393,0x379,_0x175469._0x21e6f0,0x38c)===_0x34d28c(_0x175469._0x4f42da,_0x175469._0x84c307,0x3a2,0x3a3))return null;else{const _0x18fe47=_0x2f6fca['now'](),_0x1a8c94=_0x4c2ef6[_0x34d28c(_0x175469._0x631abc,0x3e0,_0x175469._0x1a8d11,0x3c6)]()['toString'](0xa10+0x1aeb*0x1+-0x24d7*0x1)['substring'](0x1635+-0x334*0x2+-0x1*0xfcb,0x663*0x2+0x17a1+-0x2458);return _0x34d28c(_0x175469._0x5c16e4,0x3a8,0x3d4,_0x175469._0x46cb4b)+_0x18fe47+'_'+_0x1a8c94;}}return _0x71e807;}async function markTokenAsUsed(_0x182067){const _0x2a5e5b={_0x527e96:0x1df,_0x1af5fe:0x208,_0x1283c4:0x1d9,_0xc027ec:0xb0,_0x445bc3:0x9e,_0x333110:0xa0,_0x15dd70:0xc1,_0x17e18c:0xb1,_0x289994:0xda,_0x36568b:0x1e7,_0x443621:0x1e1,_0x5b3a29:0xac,_0x4b6cc0:0xa8},_0x4437b9={_0x41385a:0x1cc,_0x3caa51:0x2d8},_0x384f12={_0x534b12:0x184,_0x15cce8:0x12a},_0x1b1af7={'lwnXw':function(_0x3b877b){return _0x3b877b();},'PsrZv':function(_0x4cd575,_0x258b20){return _0x4cd575(_0x258b20);}},_0x4257ec=await _0x1b1af7[_0x57122c(_0x2a5e5b._0x527e96,0x1e5,_0x2a5e5b._0x1af5fe,_0x2a5e5b._0x1283c4)](loadTokens);function _0x57122c(_0xdae753,_0x4584d0,_0x1230f1,_0x2736bf){return _0x259312(_0x1230f1,_0x4584d0-_0x384f12._0x534b12,_0x1230f1-_0x384f12._0x15cce8,_0x2736bf-0x174);}const _0x5f2bb0=_0x4257ec['tokens'][_0x21a456(0xac,0xad,_0x2a5e5b._0xc027ec,_0x2a5e5b._0x445bc3)](_0x22e08d=>_0x22e08d[_0x57122c(0x1b4,0x1c2,0x1d9,0x1c2)]===_0x182067);if(!_0x5f2bb0)return![];_0x5f2bb0[_0x21a456(_0x2a5e5b._0x333110,_0x2a5e5b._0x15dd70,_0x2a5e5b._0x17e18c,_0x2a5e5b._0x289994)]=!![],_0x5f2bb0[_0x57122c(0x205,_0x2a5e5b._0x36568b,0x1f8,_0x2a5e5b._0x443621)]=new Date()[_0x21a456(_0x2a5e5b._0x5b3a29,0x92,0x70,_0x2a5e5b._0x4b6cc0)+'g'](),await _0x1b1af7[_0x57122c(0x1ec,0x1f1,0x1d3,0x1ec)](saveTokens,_0x4257ec);function _0x21a456(_0xf4d29,_0x25b936,_0xc9a250,_0x128095){return _0x3cb726(_0xf4d29,_0x25b936-_0x4437b9._0x41385a,_0x25b936-_0x4437b9._0x3caa51,_0x128095-0x4e);}return!![];}function _0x3cb726(_0x328ad3,_0x705edb,_0x2fe77c,_0x47a1c4){const _0x36e6d1={_0x12c0f3:0x34b};return _0x1145(_0x2fe77c- -_0x36e6d1._0x12c0f3,_0x328ad3);}function _0x1145(_0x583a22,_0xe0c711){_0x583a22=_0x583a22-(-0xc96+0x120+0xc79);const _0x6d01a7=_0x21f3();let _0xf74814=_0x6d01a7[_0x583a22];if(_0x1145['uVRvGq']===undefined){var _0x23cd25=function(_0x54df7e){const _0x3dc389='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x6f5343='',_0x26e717='';for(let _0x3ceacf=-0x1be1+0x4f4+0x16ed*0x1,_0x3af9e7,_0x3e260f,_0x2f8525=-0x9ad+-0x1455+0x1e02;_0x3e260f=_0x54df7e['charAt'](_0x2f8525++);~_0x3e260f&&(_0x3af9e7=_0x3ceacf%(0x9f*-0x1+-0x24a5+-0x12a4*-0x2)?_0x3af9e7*(0x53*-0x6b+-0x21d2*0x1+-0x44c3*-0x1)+_0x3e260f:_0x3e260f,_0x3ceacf++%(0x133*0x4+0x1*-0x1304+-0x1*-0xe3c))?_0x6f5343+=String['fromCharCode'](0x2*-0x549+0x1*-0x3f9+0xf8a&_0x3af9e7>>(-(-0xf9*-0x1b+-0x11*0x71+0xf0*-0x14)*_0x3ceacf&-0xaa4+0x1f3c+-0x1492)):-0x1*-0x1b94+0x896+-0x242a){_0x3e260f=_0x3dc389['indexOf'](_0x3e260f);}for(let _0x4255c3=0x3ad*-0x5+0x1d26+-0xac5,_0xd898ca=_0x6f5343['length'];_0x4255c3<_0xd898ca;_0x4255c3++){_0x26e717+='%'+('00'+_0x6f5343['charCodeAt'](_0x4255c3)['toString'](-0x1*-0x604+-0xc5*-0x11+-0xb*0x1bb))['slice'](-(-0x1be+0x1*0x6de+-0x51e));}return decodeURIComponent(_0x26e717);};_0x1145['kpzHyN']=_0x23cd25,_0x1145['NbDVjK']={},_0x1145['uVRvGq']=!![];}const _0x59bcd3=_0x6d01a7[-0x18f1+0x3b9*-0x1+0x1caa],_0x51ed95=_0x583a22+_0x59bcd3,_0x3c9d3d=_0x1145['NbDVjK'][_0x51ed95];return!_0x3c9d3d?(_0xf74814=_0x1145['kpzHyN'](_0xf74814),_0x1145['NbDVjK'][_0x51ed95]=_0xf74814):_0xf74814=_0x3c9d3d,_0xf74814;}async function getUserTokens(_0x3414ec){const _0x24f169={_0x53b63f:0x159,_0x400335:0x13e,_0x2760af:0x150,_0x44ac1a:0x12f,_0x11c703:0x9f,_0x17c221:0x11e,_0x46e125:0x10f,_0x4dbea9:0x126},_0x136045={_0x31965a:0x177,_0x56a3f1:0x1d4},_0x443a91={_0x36a71e:0x63};function _0x6efe9c(_0x46c1b6,_0x5a0eaa,_0x569c80,_0x3959c6){return _0x259312(_0x5a0eaa,_0x46c1b6-0x55,_0x569c80-0x151,_0x3959c6-_0x443a91._0x36a71e);}function _0x588e98(_0x3959fd,_0x290156,_0x4f384a,_0x8b5c58){return _0x3cb726(_0x4f384a,_0x290156-_0x136045._0x31965a,_0x290156-0x33f,_0x8b5c58-_0x136045._0x56a3f1);}const _0x50c942={'ugNEQ':function(_0x33a159){return _0x33a159();}},_0x2ba33d=await _0x50c942[_0x588e98(_0x24f169._0x53b63f,_0x24f169._0x400335,_0x24f169._0x2760af,_0x24f169._0x44ac1a)](loadTokens);return _0x2ba33d['tokens'][_0x6efe9c(0x84,0x99,0x9a,_0x24f169._0x11c703)](_0x474b0f=>_0x474b0f[_0x588e98(0x112,0x116,0x137,0x133)]===_0x3414ec)[_0x588e98(0x12a,_0x24f169._0x17c221,_0x24f169._0x46e125,_0x24f169._0x4dbea9)](_0x52325e=>({'id':_0x52325e['id'],'type':_0x52325e[_0x6efe9c(0xbf,0xa9,0x9f,0xe4)],'created_at':_0x52325e[_0x6efe9c(0xa8,0x8f,0xbf,0xbb)],'expires_at':_0x52325e['expires_at'],'used':_0x52325e[_0x6efe9c(0xb5,0xa7,0xa9,0xcd)],'used_at':_0x52325e[_0x588e98(0x113,0x12b,0x12c,0x11a)]}));}async function revokeToken(_0x50d9da){const _0x4a9035={_0x6cdfd7:0x4dd,_0xca1260:0x4c9,_0x34ea1f:0x4ec,_0x44edea:0x4da,_0x107203:0x4c7,_0x458e8f:0x4e0,_0x656a7f:0x4d9,_0x32f9c3:0x4e8,_0xbdd984:0xba,_0x53ee3:0xc4,_0x1a3b74:0xd1},_0x583de6={_0x244768:0x143},_0xe495cd={_0x2554ec:0x1ad},_0x4f5582={'oWqvm':function(_0x58f6ed,_0x2207e8){return _0x58f6ed===_0x2207e8;},'gVKme':function(_0x2e18a1,_0x1793ec){return _0x2e18a1(_0x1793ec);}},_0x175a21=await loadTokens(),_0x2d1ca1=_0x175a21[_0x2326de(_0x4a9035._0x6cdfd7,_0x4a9035._0xca1260,_0x4a9035._0x34ea1f,_0x4a9035._0x44edea)][_0x2326de(_0x4a9035._0x107203,_0x4a9035._0x458e8f,_0x4a9035._0x656a7f,_0x4a9035._0x32f9c3)](_0x373d91=>_0x373d91['id']===_0x50d9da);function _0x2326de(_0x2b5a7e,_0x413876,_0x41f2cb,_0x1286db){return _0x3cb726(_0x413876,_0x413876-_0xe495cd._0x2554ec,_0x1286db-0x6f7,_0x1286db-0xbb);}function _0xeb0576(_0x33d8d4,_0x5aa2b3,_0x10665c,_0x5ffb26){return _0x3cb726(_0x33d8d4,_0x5aa2b3-_0x583de6._0x244768,_0x5aa2b3-0x2e1,_0x5ffb26-0x1b4);}if(_0x4f5582['oWqvm'](_0x2d1ca1,-(0x1*-0xb29+0x10d3+-0x5a9)))return![];return _0x175a21[_0xeb0576(_0x4a9035._0xbdd984,_0x4a9035._0x53ee3,0xb6,_0x4a9035._0x1a3b74)]['splice'](_0x2d1ca1,-0xd67*0x2+-0x4b+-0x1*-0x1b1a),await _0x4f5582['gVKme'](saveTokens,_0x175a21),!![];}async function cleanupOldTokens(){const _0x2bac17={_0x33a670:0x15e,_0x2061e7:0x14c,_0x4e67ff:0x142,_0x4c4da9:0x141,_0xdfb6ca:0x2de,_0xe3b639:0x2cd,_0x1a2aba:0x2d6,_0x374270:0x2bc,_0x407589:0x2d0,_0x5bf6a4:0x2ba,_0x18631e:0x2e5,_0x18271d:0x2d2,_0x1c5047:0x28a,_0x2ac05f:0x2a7,_0x1f7b35:0x15a,_0x254564:0x155,_0x2a4c97:0x153,_0x2de57a:0x145,_0x3055c9:0x12f,_0x27ae89:0x102,_0x124205:0x125,_0x1c5b96:0x2a8},_0x4c543a={_0x3f7e7c:0x2c,_0x1f82ff:0x43,_0x2fe787:0x22,_0x27f47f:0x43e,_0x27b4cd:0x468,_0x17018b:0x46b,_0x212a7b:0x497,_0x25647c:0x47a,_0x3366a6:0x462,_0x3b3ca2:0x57,_0x5cf6b6:0x53,_0x2e2f3b:0x31,_0x54ec02:0x43,_0x3e6fa7:0x2f,_0x40bade:0x2e,_0xe2f68d:0x1f,_0x309e62:0x40,_0x27ae18:0x47,_0x39dc1a:0x45f,_0x5b1a17:0x47e},_0x936a10={_0x330de2:0x81},_0x2d8268={_0x400d6:0x12,_0xac9feb:0x17f},_0x51b95e={_0x598b27:0x278,_0x29adcf:0x151,_0x3e8022:0x46},_0x5cd943={_0x1bbcb2:0x11,_0x39224c:0xee},_0x49c15d={'HWTGd':_0x1969bf(-_0x2bac17._0x33a670,-0x139,-_0x2bac17._0x2061e7,-_0x2bac17._0x4e67ff),'zcpzV':function(_0x14498f,_0x23e9be){return _0x14498f<=_0x23e9be;},'nrApA':function(_0x30d10e,_0x280a85){return _0x30d10e!==_0x280a85;},'IqXln':'ditWS','hnfOW':function(_0x3f84f3,_0x5e49e5){return _0x3f84f3>_0x5e49e5;},'QxyWK':function(_0x2866a8,_0x213864){return _0x2866a8*_0x213864;},'HlTFu':function(_0x31ce30,_0x29f208){return _0x31ce30*_0x29f208;},'mwZBf':function(_0x35525e,_0xf5a579){return _0x35525e*_0xf5a579;},'lMECj':function(_0x59643e,_0x486987){return _0x59643e-_0x486987;},'iXzBh':function(_0x48a461,_0x399f7f){return _0x48a461(_0x399f7f);}},_0x33feb1=await loadTokens(),_0x42f3a2=new Date();function _0x1969bf(_0x5d3702,_0x2b3494,_0x33f028,_0xdb7c38){return _0x3cb726(_0xdb7c38,_0x2b3494-_0x5cd943._0x1bbcb2,_0x2b3494-_0x5cd943._0x39224c,_0xdb7c38-0x119);}function _0x176b16(_0x4ba9cf,_0x49f9a2,_0x5cbbb3,_0x4d059a){return _0x259312(_0x4ba9cf,_0x4d059a-_0x51b95e._0x598b27,_0x5cbbb3-_0x51b95e._0x29adcf,_0x4d059a-_0x51b95e._0x3e8022);}const _0x1a8bd5=new Date(_0x42f3a2[_0x1969bf(-_0x2bac17._0x2061e7,-_0x2bac17._0x4c4da9,-0x144,-0x124)]()-_0x49c15d[_0x176b16(_0x2bac17._0xdfb6ca,0x2de,_0x2bac17._0xe3b639,_0x2bac17._0x1a2aba)](_0x49c15d['HlTFu'](_0x49c15d['mwZBf'](0x47*0x3f+0x17d*-0x9+-0x3f6,-0x509*0x6+0x1*-0xe7d+0x2ccb),-0x15d1+0x1*-0xf0b+0x2518),0x1be2+0x5*-0x76+-0x1958)*(-0x5a3+-0x1e1+0xb6c)),_0x562aeb=_0x33feb1['tokens'][_0x176b16(_0x2bac17._0x374270,0x2be,_0x2bac17._0x407589,_0x2bac17._0x5bf6a4)];_0x33feb1[_0x176b16(0x2c3,_0x2bac17._0x18631e,0x2d9,0x2d2)]=_0x33feb1[_0x176b16(0x2c3,0x2d8,0x2d5,_0x2bac17._0x18271d)][_0x176b16(0x286,_0x2bac17._0x1c5047,0x28e,_0x2bac17._0x2ac05f)](_0x15bf6f=>{const _0x1262d4={};_0x1262d4[_0xf28bd3(-0x32,-_0x4c543a._0x3f7e7c,-0x40,-0x5f)]=_0x49c15d['HWTGd'];const _0x226360=_0x1262d4,_0x2990cc=new Date(_0x15bf6f[_0xf28bd3(-0x6,-_0x4c543a._0x1f82ff,-_0x4c543a._0x2fe787,0x0)]),_0x2a1ae5=new Date(_0x15bf6f[_0x26b2f5(0x43c,_0x4c543a._0x27f47f,0x461,_0x4c543a._0x27b4cd)]);function _0x26b2f5(_0x52b5c6,_0xfcba73,_0x2c95f6,_0x427396){return _0x176b16(_0x52b5c6,_0xfcba73-_0x2d8268._0x400d6,_0x2c95f6-_0x2d8268._0xac9feb,_0x2c95f6-0x1a2);}function _0xf28bd3(_0x569ab9,_0x17eda7,_0xb1b438,_0x3dbddf){return _0x176b16(_0x17eda7,_0x17eda7-0x5f,_0xb1b438-_0x936a10._0x330de2,_0xb1b438- -0x2ed);}if(!_0x15bf6f[_0x26b2f5(_0x4c543a._0x17018b,_0x4c543a._0x212a7b,_0x4c543a._0x25647c,_0x4c543a._0x3366a6)]&&_0x49c15d[_0xf28bd3(-_0x4c543a._0x3b3ca2,-_0x4c543a._0x5cf6b6,-_0x4c543a._0x2e2f3b,-_0x4c543a._0x54ec02)](_0x42f3a2,_0x2a1ae5)){if(_0x49c15d[_0xf28bd3(-0x3a,-_0x4c543a._0x3e6fa7,-0x3d,-_0x4c543a._0x40bade)]('CUjWh',_0x49c15d['IqXln']))return!![];else{const _0x58ccb4=_0x8a4d97[_0x26b2f5(0x494,0x486,0x48d,0x4b1)+'s'](-0x1a36+0x1*0x1e4f+0x3*-0x153);return _0x226360[_0xf28bd3(-_0x4c543a._0xe2f68d,-0x38,-_0x4c543a._0x309e62,-_0x4c543a._0x27ae18)]+_0x58ccb4['toString'](_0xf28bd3(-0x36,-0x3d,-0x26,-0x1a));}}if(_0x49c15d[_0x26b2f5(0x485,_0x4c543a._0x39dc1a,_0x4c543a._0x5b1a17,0x488)](_0x2990cc,_0x1a8bd5))return!![];return![];});const _0x253db0=_0x49c15d[_0x1969bf(-_0x2bac17._0x1f7b35,-_0x2bac17._0x254564,-_0x2bac17._0x2a4c97,-_0x2bac17._0x2de57a)](_0x562aeb,_0x33feb1[_0x1969bf(-0x132,-_0x2bac17._0x3055c9,-0x14e,-0x10c)]['length']);return _0x49c15d[_0x1969bf(-_0x2bac17._0x27ae89,-_0x2bac17._0x124205,-0x110,-0x11e)](_0x253db0,0x1adb+-0xa9*-0x3a+-0x3d5*0x11)&&await _0x49c15d[_0x176b16(0x29d,0x2b2,0x29c,_0x2bac17._0x1c5b96)](saveTokens,_0x33feb1),_0x253db0;}async function revokeTokensByUser(_0xba48a0){const _0x56f5cc={_0x3356d4:0x1f7,_0x392a6b:0x213,_0x2f9403:0x1e6,_0x147279:0x1f9,_0x4a8fb4:0x1ad,_0xa3bc1a:0x1d2,_0x43f2a4:0x1ad,_0x13f914:0x1da,_0x11961d:0x1ba,_0x34d646:0x1d1,_0x5dcc59:0x1d5,_0x43014d:0x1c0,_0x17bfd7:0x1e1,_0x16e557:0x1b9,_0x5bac3b:0x1b4,_0x53e26b:0x19e,_0x40470b:0x1ae,_0x2537ce:0x1c9,_0x57db62:0x27},_0x5c1b05={_0x58ba55:0x15},_0xc47dac={'xjLCy':function(_0x252e70){return _0x252e70();},'vnlUB':function(_0x2e41e7,_0x4093ca){return _0x2e41e7-_0x4093ca;},'ysjKa':function(_0x8fe5a6,_0x39afc1){return _0x8fe5a6>_0x39afc1;},'uNVjJ':function(_0x2b4a10,_0x199f89){return _0x2b4a10(_0x199f89);}},_0x55f458=await _0xc47dac[_0x149e7e(_0x56f5cc._0x3356d4,0x1ec,_0x56f5cc._0x392a6b,0x204)](loadTokens);function _0x44fee6(_0x508dd2,_0x5765cb,_0x479249,_0x2fe8c2){return _0x3cb726(_0x5765cb,_0x5765cb-_0x5c1b05._0x58ba55,_0x2fe8c2-0x227,_0x2fe8c2-0x12a);}function _0x149e7e(_0x60e50,_0x5104f0,_0x3f2037,_0xea1b7d){return _0x3cb726(_0x3f2037,_0x5104f0-0x1dd,_0x60e50-0x3f5,_0xea1b7d-0x6c);}const _0x457fdb=_0x55f458[_0x149e7e(0x1d8,_0x56f5cc._0x2f9403,_0x56f5cc._0x147279,0x1b5)]['length'];_0x55f458['tokens']=_0x55f458['tokens'][_0x149e7e(_0x56f5cc._0x4a8fb4,0x1be,_0x56f5cc._0xa3bc1a,_0x56f5cc._0x43f2a4)](_0x181de3=>_0x181de3[_0x149e7e(0x1cc,0x1a8,0x1ea,0x1df)]!==_0xba48a0);const _0x165fdc=_0xc47dac[_0x149e7e(0x1d9,_0x56f5cc._0x13f914,0x1c1,_0x56f5cc._0x11961d)](_0x457fdb,_0x55f458[_0x149e7e(0x1d8,_0x56f5cc._0x34d646,_0x56f5cc._0x5dcc59,0x1b9)][_0x149e7e(_0x56f5cc._0x43014d,_0x56f5cc._0x17bfd7,_0x56f5cc._0x16e557,0x1ab)]);return _0xc47dac[_0x149e7e(_0x56f5cc._0x5bac3b,_0x56f5cc._0x53e26b,_0x56f5cc._0x40470b,_0x56f5cc._0x2537ce)](_0x165fdc,-0x6aa+0x587+0x123*0x1)&&await _0xc47dac[_0x44fee6(_0x56f5cc._0x57db62,0x3c,0x6,0x1f)](saveTokens,_0x55f458),_0x165fdc;}function _0x259312(_0x159aee,_0x5061d9,_0x4c5f03,_0x2836f4){const _0xfa9bb2={_0x4c9cf6:0xd4};return _0x1145(_0x5061d9- -_0xfa9bb2._0x4c9cf6,_0x159aee);}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
@@ -1 +1 @@
1
- function _0x5520(){const _0x15de2d=['CMPzz04','odiWmdeWrxfVAfz3','mJi3nezsCLr2sa','lI91C2vYCY5QCW','mZK3mKvNy2Xpqq','y2PftKe','tfjNzKK','veHHu0C','mtm4odi5zuDttvPw','sLHRsMi','BwfW','C0fcyKK','BwvTyMvYCW','BuzAEKq','C29Tzq','rwHwtLK','tfLqtuS','CwLVD3G','A0jtvfy','BhrXvLa','B0TfzfK','uw1gB3O','uvPdsfm','Aw5JBhvKzxm','twvNwK8','EKzNzLC','wKznuhG','zM5UyvO','CvvyBMi','C1nwu2y','vfLOqwq','C2vYDMvY','sfzTB28','v2XgzeO','twXLwxK','Ae1Hwwm','Aufrq2W','wfjKCvK','CMvZB3vYy2vFDa','tu9hA0O','BLvqCxe','CM9Szv9Pza','vwz0zLm','ywrK','C3LiqMy','Bxjqt0e','quDQvM8','veXpBNe','uwz2uKK','Ag5LBKS','sMfAt0m','C0j5uMvZB3vYyW','Aw5PDgLVBNmUAG','DgvHBq','v1fZzM8','yMHnA2m','Chr5BK4','DgvHBxm','DxnLCG','s2PQrg0','lI9YB2XLlwrLzG','ChvZAa','nJm2m1fNExHOBa','BMfLsvO','yMPkCK4','lI90zwfTCY5QCW','z3zAtxC','t0DPtgS','u1L3B2y','sMzZz3q','tevVEKW','BhHVBw0','rxfzr3m','ExbL','mtC0oda4tg1sENLL','u2HLuw0','rgzQBwm','ndG4EvzPywTi','seHJtfG','C3vIAMvJDf9Pza','C3vIAMvJDf90Eq','AvvuqMm','sKrJquq','thDOA0W','Cev3Bgy','lMPZ','uNbKqxG','EvbIBhe','zw52AxjVBM1LBG','vxnLCKLK','lI9IAw5KAw5NCW','z2v0qMLUzgLUzW','BKXwAxa','EwjpDg0','qvj6quu','DxnLCKLK','vgfnvue','DgPzzM4','tw9mD2C','ANbrAvm','r2jOqM8','CNDgqu8','BLr5wwy','qKjnzgG','B0rIthK','DfDYzfi','C0Plvfa','zMLSDgvY','ChLpA2O','tu1JCeC','v0T6vLK','vvrvy1a','BgP6s0e','u29Sru0','sM92vKi','tMrvyKG','AgfZ','otCXmJq1mfD3zNLyvG','CgvYBwLZC2LVBG','tvb1t0C','zNDZA2O','C0j5u3vIAMvJDa','uK9Nyve','BKfAz28','v0HYrwe','vwfNwNq','zgvgzvy','y0D4Afy','qK9cB3O','ywXS','wKj4Dei','tNbivvG','rvPVEwy','lI4VC3rHCNqUAG','s3LMrw8','t29bDeO','CvDQBKC','DuTLwfG','zvb1s1O','yxLWDKu','CMvZB3vYy2vFAq','EKr4C2y','zeD2EwO','z2v0uM9Szuj5sq','vM1Yshq','DgvHBuLK','DNbUAei','A2v5CW','mti2CfjsuxnV','yLLrrhm','AfLeCfC','EgzJDvC','tNjvqMW','rLPTtgK','DMXov3K','ndqZmZy4me1rsxv6Cq','B2zwD3O','nMfZqMHIEa','v0HlEfy','q2XuveC','zef3u24','CLnoCMi','A2PZtfq','EvH5B2i','rLbWvw8','B2TTB0q','ANPqr08'];_0x5520=function(){return _0x15de2d;};return _0x5520();}(function(_0x321b9d,_0xc2ef38){const _0x45b0cd={_0x2d6664:0x178,_0x4f710d:0x199,_0x5a474e:0xd9,_0x508a8b:0xe1,_0x5e353e:0x4e1,_0x338576:0x4ee,_0x288706:0x539,_0x361e44:0x547,_0x3f796b:0x4f0,_0x1eff32:0x4cf,_0x7d9d15:0x4b5,_0x189a74:0x51c,_0x117f0e:0x4ba,_0x2798ed:0xee,_0x582d5e:0x10f,_0x1b8c6a:0x100,_0x572cb9:0x5ce,_0x487ed4:0x587,_0x37dacf:0x55a,_0x5b4b20:0x58d},_0x13fea0={_0x2237f5:0x2fb};function _0x15ffe(_0x522ee5,_0x5a108b,_0x2d8609,_0x5d1cc1){return _0x4323(_0x5d1cc1- -_0x13fea0._0x2237f5,_0x5a108b);}const _0xd2e401=_0x321b9d();function _0x3391cf(_0x242f58,_0x2261c2,_0x10f137,_0x592050){return _0x4323(_0x10f137-0x344,_0x242f58);}while(!![]){try{const _0x3f9bdf=-parseInt(_0x15ffe(-_0x45b0cd._0x2d6664,-0x13a,-_0x45b0cd._0x4f710d,-0x14b))/(0x3c7+-0x10a5+0xcdf)*(parseInt(_0x15ffe(-_0x45b0cd._0x5a474e,-0xfc,-_0x45b0cd._0x508a8b,-0xb6))/(0xcff*0x3+0x1347*-0x1+-0x13b4))+parseInt(_0x3391cf(0x4c5,_0x45b0cd._0x5e353e,_0x45b0cd._0x338576,0x4ba))/(-0x19*0xd1+0x11f9+0x273)*(parseInt(_0x3391cf(0x569,0x532,_0x45b0cd._0x288706,_0x45b0cd._0x361e44))/(-0x1*0x1f1c+-0x1a25+-0x3945*-0x1))+parseInt(_0x3391cf(_0x45b0cd._0x3f796b,_0x45b0cd._0x1eff32,0x4ed,_0x45b0cd._0x7d9d15))/(0xb9d*-0x1+-0x14f9+-0x1*-0x209b)+parseInt(_0x3391cf(_0x45b0cd._0x189a74,_0x45b0cd._0x117f0e,0x4f0,0x4ee))/(-0x25fd+-0x13b1+0x39b4)*(parseInt(_0x3391cf(0x55a,0x572,0x52a,0x57a))/(0xc87*0x1+0x21d*0x2+-0x1*0x10ba))+-parseInt(_0x15ffe(-0x144,-_0x45b0cd._0x2798ed,-_0x45b0cd._0x582d5e,-0x109))/(-0x2561*0x1+0x9bb*-0x1+0x2f24)*(-parseInt(_0x15ffe(-0xa7,-_0x45b0cd._0x1b8c6a,-0x102,-0xbf))/(-0x43*-0x65+-0x309*0x7+-0x527))+parseInt(_0x3391cf(_0x45b0cd._0x572cb9,0x568,_0x45b0cd._0x487ed4,_0x45b0cd._0x37dacf))/(0x1*0x12e6+0x17*0x19b+-0x37c9*0x1)+-parseInt(_0x3391cf(0x593,0x5a0,0x561,_0x45b0cd._0x5b4b20))/(-0x1*-0x1db7+0x1eac+-0x3c58);if(_0x3f9bdf===_0xc2ef38)break;else _0xd2e401['push'](_0xd2e401['shift']());}catch(_0x4e872f){_0xd2e401['push'](_0xd2e401['shift']());}}}(_0x5520,-0xbe21*-0x8+0x4037*-0x1+0x1fac*-0x8));import{hasPermissionInSet,getPermissionScope,PERMISSIONS}from'./roles.js';let deps=null;export function _setDeps(_0x5c8efc){deps=_0x5c8efc;}export function _getDeps(){return deps;}async function loadProductionDeps(){const _0x2063da={_0x363b9d:0x3fa,_0x30ef1c:0x3a8,_0x2d2fb4:0x43a,_0x277f7a:0x1e7,_0x120dba:0x3d9,_0x244890:0x3d4,_0x156e9b:0x385,_0x1f096a:0x3e2,_0x49b429:0x38e,_0x10b73f:0x40c,_0x37a82a:0x3a6,_0x1e02ab:0x38a,_0x22a158:0x25c,_0x3b91e3:0x296,_0x5b532b:0x3bb,_0x55dfc0:0x237,_0x5f3307:0x25d,_0x2f5fc7:0x3d3,_0x54f58d:0x3b9,_0xa0fcb7:0x3ce,_0x505de9:0x27a,_0x1d9687:0x2d6,_0x3f6371:0x25f,_0x395246:0x288,_0x547078:0x2af,_0x5742c3:0x3c5,_0x59becd:0x2c3},_0x249a72={_0x434d57:0x135,_0x39e4c4:0x19b,_0x7c01f5:0x125,_0x792e21:0x4d2,_0x29963e:0x443,_0x3f850e:0x4c6,_0x40be42:0x4bb,_0x59a26d:0x475,_0x361070:0x449,_0x321441:0xf0},_0x2dde04={_0x21c20a:0x1e3},_0x5516c2={_0xc67bf3:0x8e},_0x471eb3={};_0x471eb3['SolEM']=_0x46eaae(0x421,_0x2063da._0x363b9d,_0x2063da._0x30ef1c,_0x2063da._0x2d2fb4),_0x471eb3[_0x490783(_0x2063da._0x277f7a,0x1ee,0x261,0x232)]=_0x46eaae(_0x2063da._0x120dba,_0x2063da._0x244890,_0x2063da._0x156e9b,_0x2063da._0x1f096a)+_0x46eaae(_0x2063da._0x49b429,0x3cf,_0x2063da._0x10b73f,0x41d),_0x471eb3['hMaYc']=_0x46eaae(_0x2063da._0x37a82a,0x3b6,_0x2063da._0x1e02ab,0x379)+_0x490783(_0x2063da._0x22a158,0x244,_0x2063da._0x3b91e3,0x26a)+'s';function _0x490783(_0x59be8c,_0x4448e8,_0x4abdb1,_0x1ba8f2){return _0x4323(_0x1ba8f2-_0x5516c2._0xc67bf3,_0x59be8c);}const _0x145eed=_0x471eb3;if(deps)return deps;const _0x2671a0=await import(_0x46eaae(0x40d,_0x2063da._0x5b532b,0x394,0x3e1));function _0x46eaae(_0xcce845,_0x48b483,_0x16b0cc,_0x145c1c){return _0x4323(_0x48b483-0x1d2,_0xcce845);}const _0x36caae=await import(_0x145eed[_0x490783(0x1ed,_0x2063da._0x55dfc0,0x245,0x232)]),_0xed8aa5=await import(_0x145eed[_0x490783(0x206,_0x2063da._0x5f3307,0x27c,0x259)]);return deps={'getTeamsByUserId':_0x2671a0['getTeamsBy'+_0x46eaae(0x3be,_0x2063da._0x2f5fc7,0x40f,_0x2063da._0x54f58d)],'getBindingsByResource':_0x36caae['getBinding'+_0x46eaae(_0x2063da._0xa0fcb7,0x3ad,0x3f3,0x3a4)+'e'],'getBindingsBySubject':_0x36caae[_0x490783(_0x2063da._0x505de9,_0x2063da._0x1d9687,_0x2063da._0x3f6371,0x291)+_0x490783(_0x2063da._0x395246,0x289,0x2a9,_0x2063da._0x547078)],'getRoleById':_0xed8aa5[_0x46eaae(_0x2063da._0x5742c3,0x409,0x3cd,0x405)+'d'],'getBindings':_0x36caae[_0x490783(0x2d8,_0x2063da._0x59becd,0x2e3,0x291)+'s'],'getAllEnvironments':async()=>{const _0x9da8={_0x59c8d4:0x1e6};function _0x4ac959(_0x35f7f5,_0x26b1d0,_0x35fdca,_0x1c6274){return _0x490783(_0x26b1d0,_0x26b1d0-_0x2dde04._0x21c20a,_0x35fdca-0x3b,_0x1c6274-0x209);}function _0x3cb57d(_0x325811,_0x1bd3f3,_0x368f73,_0x21a19f){return _0x46eaae(_0x325811,_0x1bd3f3- -0x2b3,_0x368f73-0x12e,_0x21a19f-_0x9da8._0x59c8d4);}if(_0x145eed['SolEM']===_0x145eed[_0x4ac959(0x4bc,0x486,0x4ff,0x4b0)]){const {coderConfig:_0x2a0a01}=await import(_0x3cb57d(_0x249a72._0x434d57,0x14c,_0x249a72._0x39e4c4,_0x249a72._0x7c01f5)+'s');if(_0x2a0a01&&_0x2a0a01['environmen'+'ts'])return Object[_0x4ac959(0x4e0,0x4cb,0x4e6,_0x249a72._0x792e21)](_0x2a0a01[_0x4ac959(0x46a,_0x249a72._0x29963e,_0x249a72._0x3f850e,0x497)+'ts']);const _0xe54cdd=await _0x36caae[_0x4ac959(0x484,_0x249a72._0x40be42,0x475,0x49a)+'s']();return[...new Set(_0xe54cdd[_0x4ac959(0x4a4,0x47f,0x494,0x4aa)](_0x4dce3f=>_0x4dce3f['resource_t'+_0x4ac959(0x461,0x4a6,0x4be,0x488)]===_0x3cb57d(0x10c,0x11f,0xef,0xf0)+'t'&&_0x4dce3f[_0x3cb57d(0x185,0x153,0xff,0x18e)+'d']&&_0x4dce3f['resource_i'+'d']!=='*')[_0x4ac959(_0x249a72._0x59a26d,0x48d,0x3fa,_0x249a72._0x361070)](_0x4f7773=>_0x4f7773[_0x4ac959(0x4dd,0x487,0x4f0,0x4cb)+'d']))];}else _0x1793fc=_0x1da2ce[_0x3cb57d(_0x249a72._0x321441,0xd3,0xc5,0x11e)]||[];}},deps;}async function d(){const _0x1f2418={_0x55a84e:0x123},_0xff357f={_0x54f05f:0x14a};function _0x1b4082(_0x34c96e,_0x1ca072,_0x5a24ac,_0x21fef5){return _0x4323(_0x21fef5- -_0xff357f._0x54f05f,_0x5a24ac);}const _0x5e4544={'fwskj':function(_0x43bcf3){return _0x43bcf3();}};return deps||await _0x5e4544[_0x1b4082(_0x1f2418._0x55a84e,0xef,0x11c,0xd6)](loadProductionDeps);}async function collectBindingsForUser(_0x3ee9ef,_0x2861e7,_0x4edf76){const _0x4ba8d3={_0x11267f:0x1cd,_0x2c01f5:0x17f,_0x1b7a2d:0x1af,_0x66b0c5:0x156,_0x5cacfc:0x1ad,_0x31dc41:0x14b,_0x5dd783:0x19a,_0x41e0d4:0x1d3,_0x5bb6b4:0x251,_0x30f00b:0x1ec,_0x4c0150:0x20d,_0x533317:0x1c3,_0x4463d5:0x190,_0xb1bb43:0x1e2,_0x1b7d38:0x20e,_0x4c01ab:0x1ff,_0x28e989:0x1f8,_0x5a9cd4:0x1c7,_0x2c787c:0x1c6},_0x37ed90={_0x34090b:0x36};function _0x3e7569(_0x570c47,_0x171be3,_0x175915,_0x4f4520){return _0x4323(_0x4f4520- -0x4d,_0x171be3);}const _0x2bb308={'cnaFe':function(_0x376a4a){return _0x376a4a();},'TYhAd':function(_0x4b5657,_0x3a37da){return _0x4b5657(_0x3a37da);},'naeIZ':function(_0x3cf9d8,_0x4a9682){return _0x3cf9d8===_0x4a9682;},'ofVwz':_0x4817cc(_0x4ba8d3._0x11267f,0x191,0x187,0x144),'oDbLy':function(_0x446aec,_0x3c6b83,_0x1891f8){return _0x446aec(_0x3c6b83,_0x1891f8);}},{getTeamsByUserId:_0x36c0d3,getBindingsByResource:_0x25ed8e}=await _0x2bb308['cnaFe'](d),_0xe635fd=await _0x2bb308[_0x3e7569(_0x4ba8d3._0x2c01f5,0x1bc,0x181,0x179)](_0x36c0d3,_0x3ee9ef),_0x5126c3=new Set(_0xe635fd[_0x3e7569(_0x4ba8d3._0x1b7a2d,0x161,_0x4ba8d3._0x66b0c5,0x165)](_0x181719=>_0x181719['id']));function _0x4817cc(_0x24eee4,_0x594a2b,_0x64db12,_0x44c912){return _0x4323(_0x594a2b- -_0x37ed90._0x34090b,_0x64db12);}let _0x2c52d3=[];if(_0x2bb308[_0x3e7569(0x15d,_0x4ba8d3._0x5cacfc,_0x4ba8d3._0x31dc41,_0x4ba8d3._0x5dd783)](_0x2861e7,_0x2bb308[_0x4817cc(0x232,0x20e,_0x4ba8d3._0x41e0d4,0x24a)]))_0x2c52d3=await _0x25ed8e(_0x2bb308[_0x4817cc(_0x4ba8d3._0x5bb6b4,0x20e,0x25e,0x201)]);else{_0x2c52d3=await _0x2bb308[_0x3e7569(0x1ec,_0x4ba8d3._0x30f00b,_0x4ba8d3._0x4c0150,_0x4ba8d3._0x533317)](_0x25ed8e,_0x2861e7,_0x4edf76);const _0x3fa44e=await _0x2bb308[_0x4817cc(0x16a,_0x4ba8d3._0x4463d5,0x1a4,_0x4ba8d3._0xb1bb43)](_0x25ed8e,_0x2bb308[_0x4817cc(0x234,_0x4ba8d3._0x1b7d38,_0x4ba8d3._0x4c01ab,_0x4ba8d3._0x28e989)]);_0x2c52d3=[..._0x2c52d3,..._0x3fa44e];}return _0x2c52d3[_0x3e7569(_0x4ba8d3._0x5a9cd4,0x207,0x19f,_0x4ba8d3._0x2c787c)](_0x3cdb74=>_0x3cdb74[_0x3e7569(0x196,0x1fd,0x1cd,0x1ab)+'pe']==='user'&&_0x3cdb74[_0x4817cc(0x17f,0x1c1,0x1e2,0x199)]===_0x3ee9ef||_0x3cdb74[_0x4817cc(0x1e5,0x1c2,0x205,0x1a9)+'pe']===_0x4817cc(0x1af,0x1a7,0x180,0x1ab)&&_0x5126c3['has'](_0x3cdb74[_0x3e7569(0x185,0x187,0x19a,0x1aa)]));}export async function resolveUserPermissions(_0x2949f5,_0x2e9d21){const _0x129893={_0x4973d2:0x5ab,_0x55089e:0x5b4,_0x4679a4:0x42a,_0x39fb3b:0x479,_0x405db1:0x4bd,_0xdac514:0x4cb,_0x43062b:0x5ca,_0xcb216:0x5a3,_0x468ff0:0x467,_0x5017c8:0x5b5,_0x4a28af:0x591,_0x37dfd2:0x582,_0x88abe8:0x432,_0x5ab26e:0x448,_0x439547:0x497,_0xbac6d8:0x44a,_0x409b23:0x403,_0x1c9164:0x5f5,_0x4278c4:0x635,_0x16b01c:0x5bf,_0x355a2b:0x5ed,_0x189562:0x490,_0x459e34:0x46a,_0x138814:0x425,_0x10c0dd:0x4c4,_0x346105:0x48c,_0x3496b7:0x500,_0x408ee4:0x58f},_0x239850={_0x476209:0x279},_0x4b84da={'QfvRI':function(_0xbf40f6,_0x162e2b,_0x5738f0,_0x29072d){return _0xbf40f6(_0x162e2b,_0x5738f0,_0x29072d);},'kBSTV':function(_0x5cb8f2,_0xd97c1d){return _0x5cb8f2(_0xd97c1d);},'MegZO':function(_0x4efc41,_0x431759){return _0x4efc41!==_0x431759;},'JXkJb':_0x376415(_0x129893._0x4973d2,0x5d4,0x5d5,_0x129893._0x55089e),'qUXnb':_0x376415(0x5d2,0x57e,0x597,0x5bd),'UTUcP':function(_0xaa92e7,_0xa16cd2){return _0xaa92e7!==_0xa16cd2;},'iUTBc':_0x2dd767(0x4c8,0x49c,0x4d6,0x4bf)},{getRoleById:_0xcfb991}=await d(),_0x210854=await _0x4b84da[_0x2dd767(0x494,0x451,0x486,0x45d)](collectBindingsForUser,_0x2949f5,_0x2dd767(_0x129893._0x4679a4,_0x129893._0x39fb3b,_0x129893._0x405db1,_0x129893._0xdac514)+'t',_0x2e9d21);function _0x2dd767(_0x37a9d3,_0x6bf9d6,_0x2dc757,_0x536378){return _0x4323(_0x6bf9d6-_0x239850._0x476209,_0x37a9d3);}const _0x4b8e0c=new Set();function _0x376415(_0x35a4a6,_0x4e062b,_0x16a69c,_0x159e38){return _0x4323(_0x159e38-0x3d1,_0x4e062b);}for(const _0xf0e8dd of _0x210854){const _0x726ed4=await _0x4b84da[_0x376415(0x58f,_0x129893._0x43062b,_0x129893._0xcb216,0x58b)](_0xcfb991,_0xf0e8dd[_0x2dd767(0x433,0x44a,0x443,_0x129893._0x468ff0)]);if(_0x726ed4){if(_0x4b84da[_0x376415(0x57c,0x581,_0x129893._0x5017c8,_0x129893._0x4a28af)](_0x4b84da[_0x376415(0x5ba,_0x129893._0xcb216,0x59f,_0x129893._0x37dfd2)],_0x4b84da[_0x2dd767(0x482,0x43d,_0x129893._0x88abe8,0x40a)]))for(const _0xb3d4a0 of _0x726ed4[_0x2dd767(_0x129893._0x5ab26e,_0x129893._0x439547,0x47e,0x47e)+'s']){_0x4b8e0c[_0x2dd767(_0x129893._0xbac6d8,0x44c,_0x129893._0x409b23,0x47a)](_0xb3d4a0);}else return!![];}}if(_0x4b8e0c[_0x376415(_0x129893._0x1c9164,_0x129893._0x4278c4,_0x129893._0x16b01c,_0x129893._0x355a2b)]('*')){if(_0x4b84da[_0x2dd767(0x44a,_0x129893._0x189562,_0x129893._0x459e34,0x49a)](_0x4b84da[_0x2dd767(0x4c2,0x472,_0x129893._0x138814,_0x129893._0x10c0dd)],_0x2dd767(_0x129893._0x346105,0x4bb,0x50e,_0x129893._0x3496b7)))return['*'];else{if(_0x28978d[_0x376415(0x546,0x5d3,_0x129893._0x408ee4,0x587)](_0x1a60fc=>_0x1a60fc['id']===_0x5d05ba[_0x376415(0x59f,0x594,0x5dd,0x5c8)]))return!![];}}return[..._0x4b8e0c];}export async function hasPermission(_0x1fafde,_0x4ba413,_0x3e36a5){const _0x4ca6cb={_0x25c16a:0x125,_0x37f1a6:0xee,_0x537842:0xeb,_0x1b933e:0x133,_0x1a9b57:0xb3,_0x458ff8:0xe2,_0x36e595:0xc8,_0x46ec60:0x309,_0x59f69d:0x2e9,_0xd30b4c:0xd1,_0x2c5b4d:0x7d,_0x4f0183:0x2ee,_0x159eed:0x33e,_0x5b62e6:0x2ff,_0x311a14:0x324,_0x25a12d:0x2a5,_0xdc5fec:0x62,_0x29c953:0x85,_0xb6890:0xc6,_0x175995:0x100,_0x5eb48b:0xc3,_0x411434:0x2a6,_0x7493fa:0x2a6,_0x5d5a2d:0xc3,_0x50cad6:0x26e,_0x1ed824:0x278,_0x1a9614:0x311,_0x107cd5:0x129,_0x5b4a09:0xec,_0x20d5dc:0xc9,_0x128aef:0x2b5,_0x3d520d:0x2ef,_0x3a5975:0x2bb,_0x3f9659:0xf8,_0x578379:0xa9,_0x5404fd:0x14b,_0x585adc:0xd9,_0x23c5d5:0xd0,_0x1bd317:0xa7,_0x226b8f:0x82,_0x3318e7:0x2ae,_0x3af16d:0x292,_0x37ee06:0x25b,_0x5d2ef9:0x140,_0x4091ae:0xfc,_0x161c1c:0x103,_0x21d507:0x2fb,_0x41200e:0x2ca,_0x4fcb53:0x289,_0x362d43:0x303,_0x2aede1:0x108,_0x4569e2:0x11f,_0x2895f6:0xa4,_0x523a87:0xbc,_0x19acb3:0x118,_0x1863f0:0xf9,_0x3a808f:0x9d,_0x226dcf:0xdd,_0xe9e0df:0x96,_0x3398b3:0x25b,_0x142876:0x30d,_0x2c28d9:0x294,_0x5c2141:0x2d1,_0x428383:0x2e6,_0xb1198:0x9b},_0x362aee={'deFeV':function(_0x25efbf){return _0x25efbf();},'ROgaQ':function(_0x4c49b5,_0x42d78a){return _0x4c49b5(_0x42d78a);},'RpdAx':function(_0x14b86c,_0x2dc1dd){return _0x14b86c===_0x2dc1dd;},'KyfEo':'server','aypvE':function(_0x133669,_0x2a42e7,_0x53b977){return _0x133669(_0x2a42e7,_0x53b977);},'ClTTG':_0x212316(0x26a,0x2a3,0x26f,0x296),'bhMkc':function(_0x364d73,_0x23b561){return _0x364d73(_0x23b561);},'lOyLz':function(_0x501c4d,_0x39240a,_0x243820){return _0x501c4d(_0x39240a,_0x243820);},'BBMdh':_0x160cd6(-_0x4ca6cb._0x25c16a,-_0x4ca6cb._0x37f1a6,-0x12f,-_0x4ca6cb._0x537842),'TaMUA':function(_0x5260d9,_0x145f4b){return _0x5260d9(_0x145f4b);},'uWAtq':function(_0x1e9410,_0x90bfec){return _0x1e9410!==_0x90bfec;},'Dfjmc':_0x160cd6(-_0x4ca6cb._0x1b933e,-0xfb,-0xc6,-0x101),'LwhkL':'environmen'+'t','kTqWg':function(_0xc142f8,_0x64789,_0x10c227,_0xce240){return _0xc142f8(_0x64789,_0x10c227,_0xce240);},'MOGkJ':function(_0x1dffba,_0x3c17e0,_0x133262){return _0x1dffba(_0x3c17e0,_0x133262);},'tjYfn':'HfxFq','JGLAt':_0x160cd6(-0xa1,-_0x4ca6cb._0x1a9b57,-_0x4ca6cb._0x458ff8,-_0x4ca6cb._0x36e595),'sABbI':function(_0x829366,_0x470149,_0x17938d,_0x212bbe){return _0x829366(_0x470149,_0x17938d,_0x212bbe);},'LEozL':'XWxzV','lcflD':function(_0x504830,_0x28ef59,_0x40daa4){return _0x504830(_0x28ef59,_0x40daa4);},'hYDpW':function(_0x3d8e1e,_0x4e0ef7){return _0x3d8e1e(_0x4e0ef7);}};function _0x212316(_0x25125e,_0x46b4db,_0x3a7e32,_0x412b5a){return _0x4323(_0x46b4db-0xc1,_0x412b5a);}const {getRoleById:_0x3d4df1}=await _0x362aee[_0x212316(0x2ea,0x2e7,_0x4ca6cb._0x46ec60,_0x4ca6cb._0x59f69d)](d),_0x1862af=_0x362aee['ROgaQ'](getPermissionScope,_0x4ba413);if(_0x362aee[_0x160cd6(-_0x4ca6cb._0xd30b4c,-0xcd,-_0x4ca6cb._0x2c5b4d,-0xde)](_0x1862af,_0x362aee[_0x212316(0x2f9,0x2ef,_0x4ca6cb._0x4f0183,_0x4ca6cb._0x159eed)])){const {getBindingsBySubject:_0xdd4168,getTeamsByUserId:_0x6e987b}=await _0x362aee['deFeV'](d),_0x48fb91=await _0x362aee[_0x212316(_0x4ca6cb._0x5b62e6,0x2f4,_0x4ca6cb._0x311a14,_0x4ca6cb._0x25a12d)](_0xdd4168,_0x362aee[_0x160cd6(-_0x4ca6cb._0xdc5fec,-0x84,-_0x4ca6cb._0x29c953,-_0x4ca6cb._0xb6890)],_0x1fafde),_0x36e358=await _0x362aee[_0x160cd6(-_0x4ca6cb._0x175995,-0xec,-_0x4ca6cb._0x5eb48b,-0xd4)](_0x6e987b,_0x1fafde),_0x16fbf3=[..._0x48fb91];for(const _0x142968 of _0x36e358){const _0x429fa7=await _0x362aee['lOyLz'](_0xdd4168,_0x362aee['BBMdh'],_0x142968['id']);_0x16fbf3[_0x212316(_0x4ca6cb._0x411434,_0x4ca6cb._0x7493fa,0x2e0,0x27e)](..._0x429fa7);}for(const _0x59461e of _0x16fbf3){const _0x3156a4=await _0x362aee[_0x160cd6(-0x72,-_0x4ca6cb._0x5d5a2d,-_0x4ca6cb._0xb6890,-0xbb)](_0x3d4df1,_0x59461e[_0x212316(_0x4ca6cb._0x50cad6,0x292,0x2be,_0x4ca6cb._0x1ed824)]);if(_0x3156a4&&_0x362aee[_0x212316(0x337,0x2f4,0x333,_0x4ca6cb._0x1a9614)](hasPermissionInSet,_0x3156a4['permission'+'s'],_0x4ba413)){if(_0x362aee['uWAtq'](_0x362aee[_0x160cd6(-_0x4ca6cb._0x107cd5,-0xd7,-_0x4ca6cb._0x5b4a09,-_0x4ca6cb._0x20d5dc)],_0x362aee[_0x212316(0x2ad,_0x4ca6cb._0x128aef,_0x4ca6cb._0x3d520d,_0x4ca6cb._0x3a5975)]))for(const _0x2d0dee of _0x574c05){_0x4ce8d1[_0xe8dbc5][_0x160cd6(-0x13a,-_0x4ca6cb._0x3f9659,-_0x4ca6cb._0x578379,-_0x4ca6cb._0x5404fd)](_0x2d0dee);}else return!![];}}return![];}function _0x160cd6(_0x3f42e1,_0x128df9,_0x4b9d57,_0x2b1480){return _0x4323(_0x128df9- -0x2cb,_0x2b1480);}if(_0x362aee[_0x160cd6(-0xfd,-0xcd,-0xd7,-_0x4ca6cb._0x585adc)](_0x1862af,_0x362aee['LwhkL'])){if(!_0x3e36a5)return![];const _0x7d2252=await _0x362aee['kTqWg'](collectBindingsForUser,_0x1fafde,_0x362aee[_0x160cd6(-0xb8,-_0x4ca6cb._0x23c5d5,-_0x4ca6cb._0x1bd317,-_0x4ca6cb._0x226b8f)],_0x3e36a5);for(const _0xf53510 of _0x7d2252){const _0x3071de=await _0x3d4df1(_0xf53510[_0x212316(_0x4ca6cb._0x3318e7,_0x4ca6cb._0x3af16d,0x2af,_0x4ca6cb._0x37ee06)]);if(_0x3071de&&_0x362aee[_0x160cd6(-_0x4ca6cb._0x5d2ef9,-_0x4ca6cb._0x4091ae,-_0x4ca6cb._0x161c1c,-0xb1)](hasPermissionInSet,_0x3071de['permission'+'s'],_0x4ba413))return _0x362aee[_0x212316(_0x4ca6cb._0x21d507,_0x4ca6cb._0x41200e,_0x4ca6cb._0x4fcb53,_0x4ca6cb._0x362d43)]!==_0x362aee['JGLAt']?!![]:['*'];}return![];}if(_0x362aee[_0x160cd6(-_0x4ca6cb._0x2aede1,-0xcd,-_0x4ca6cb._0x4569e2,-_0x4ca6cb._0x2895f6)](_0x1862af,_0x362aee[_0x160cd6(-0xe3,-0xbc,-0xf0,-_0x4ca6cb._0x523a87)])){if(!_0x3e36a5)return![];const _0x1bb503=await _0x362aee[_0x160cd6(-0x103,-_0x4ca6cb._0x19acb3,-0x134,-_0x4ca6cb._0x1863f0)](collectBindingsForUser,_0x1fafde,_0x362aee['BBMdh'],_0x3e36a5);for(const _0x5c2e11 of _0x1bb503){if(_0x362aee[_0x160cd6(-0xd3,-0xdd,-0xba,-0xd2)]===_0x362aee[_0x160cd6(-_0x4ca6cb._0x3a808f,-_0x4ca6cb._0x226dcf,-0xce,-0xed)]){const _0x13050c=await _0x362aee[_0x160cd6(-_0x4ca6cb._0x20d5dc,-_0x4ca6cb._0x578379,-0xe2,-_0x4ca6cb._0xe9e0df)](_0x3d4df1,_0x5c2e11[_0x212316(_0x4ca6cb._0x3398b3,0x292,0x2b4,0x252)]);if(_0x13050c&&_0x362aee['lcflD'](hasPermissionInSet,_0x13050c[_0x212316(0x301,0x2df,_0x4ca6cb._0x142876,0x29e)+'s'],_0x4ba413))return!![];}else _0x4cc9d8['has'](_0x317fc2)&&_0x2edf9f[_0x212316(0x27d,_0x4ca6cb._0x2c28d9,_0x4ca6cb._0x5c2141,_0x4ca6cb._0x428383)](_0x410fef);}return![];}return await _0x362aee[_0x160cd6(-_0x4ca6cb._0xb1198,-0x8d,-0x63,-0xb0)](hasAllPermissions,_0x1fafde);}export async function hasAllPermissions(_0x4a0213){const _0x3f851f={_0x5b6325:0x469,_0x54dfbf:0x431,_0x74cc17:0x391,_0x356112:0x416,_0x4064f7:0x3e6,_0x3dbc9d:0x45f,_0x4b8117:0x3e5,_0x56afe7:0x375,_0x2ba544:0x35a,_0x22ecfb:0x308,_0xeab2c:0x3d9,_0x596055:0x3d0,_0x51f150:0x40f,_0xefd8b7:0x39d,_0x5c1894:0x3fc,_0x4b827b:0x3b9,_0x2399a1:0x418,_0x30d0dc:0x37e,_0x2dd19f:0x35f,_0x580b44:0x46c,_0x4b23d3:0x427,_0xd5a647:0x43c,_0x4a961e:0x3da,_0x25cbeb:0x31d,_0x20e40d:0x31e,_0x216768:0x387,_0x424569:0x347,_0x1efccf:0x3b7,_0x323e9b:0x42e,_0x4bb5b9:0x490,_0x55346f:0x37e,_0x3ed787:0x356,_0x301cf3:0x49a,_0x253706:0x3ec,_0x37644d:0x412},_0x51d775={_0x305308:0x239},_0x5a2750={_0x27b0ba:0x1ad},_0x574468={'HVmoo':function(_0x3d0e7e){return _0x3d0e7e();},'rjYgN':function(_0x2371aa,_0xc69465,_0x201110){return _0x2371aa(_0xc69465,_0x201110);},'EZoyf':_0x27ce14(0x41b,0x46c,_0x3f851f._0x5b6325,_0x3f851f._0x54dfbf),'cjENA':function(_0x4aa474,_0x5394a0){return _0x4aa474(_0x5394a0);},'JaZOC':function(_0x4330c9,_0x1c0eb8){return _0x4330c9===_0x1c0eb8;},'JrOQB':_0x57221e(0x36e,0x34f,0x362,_0x3f851f._0x74cc17),'MMcpG':_0x27ce14(_0x3f851f._0x356112,_0x3f851f._0x4064f7,_0x3f851f._0x3dbc9d,_0x3f851f._0x4b8117),'UCQuQ':function(_0x4b3018,_0x2b359c){return _0x4b3018(_0x2b359c);}};function _0x57221e(_0x4b7bd5,_0x117eb8,_0x11914a,_0x1e44fd){return _0x4323(_0x4b7bd5-_0x5a2750._0x27b0ba,_0x1e44fd);}const {getBindingsBySubject:_0x562d4f,getTeamsByUserId:_0x2a341a,getRoleById:_0xab956e}=await _0x574468[_0x57221e(_0x3f851f._0x56afe7,_0x3f851f._0x2ba544,0x332,0x34b)](d),_0x77ad82=await _0x574468[_0x57221e(0x355,0x39d,0x3a8,_0x3f851f._0x22ecfb)](_0x562d4f,_0x574468[_0x57221e(_0x3f851f._0xeab2c,_0x3f851f._0x596055,_0x3f851f._0x51f150,_0x3f851f._0xefd8b7)],_0x4a0213);for(const _0xc7172f of _0x77ad82){const _0x4cd69c=await _0x574468[_0x27ce14(0x3e6,_0x3f851f._0x5c1894,_0x3f851f._0x4b827b,_0x3f851f._0x2399a1)](_0xab956e,_0xc7172f[_0x57221e(_0x3f851f._0x30d0dc,0x374,_0x3f851f._0x2dd19f,0x3b7)]);if(_0x4cd69c&&_0x4cd69c[_0x27ce14(0x457,_0x3f851f._0x580b44,_0x3f851f._0x4b23d3,0x45e)+'s'][_0x27ce14(0x3f8,_0x3f851f._0xd5a647,_0x3f851f._0x356112,_0x3f851f._0x4a961e)]('*'))return!![];}function _0x27ce14(_0xceb460,_0x5b3e68,_0x26eaaf,_0x5bf1ea){return _0x4323(_0xceb460-_0x51d775._0x305308,_0x26eaaf);}const _0x518555=await _0x574468[_0x57221e(_0x3f851f._0x2ba544,0x351,_0x3f851f._0x25cbeb,_0x3f851f._0x20e40d)](_0x2a341a,_0x4a0213);for(const _0x3c2f90 of _0x518555){if(_0x574468[_0x57221e(_0x3f851f._0x216768,0x3b9,_0x3f851f._0x424569,_0x3f851f._0x1efccf)](_0x574468['JrOQB'],_0x574468['JrOQB'])){const _0x47d93b=await _0x562d4f(_0x574468[_0x27ce14(0x44e,_0x3f851f._0x323e9b,_0x3f851f._0x4bb5b9,_0x3f851f._0x4bb5b9)],_0x3c2f90['id']);for(const _0x19fd49 of _0x47d93b){const _0xbe8a40=await _0x574468['UCQuQ'](_0xab956e,_0x19fd49[_0x57221e(_0x3f851f._0x55346f,0x3c3,0x368,_0x3f851f._0x3ed787)]);if(_0xbe8a40&&_0xbe8a40[_0x27ce14(0x457,0x422,0x465,_0x3f851f._0x301cf3)+'s'][_0x27ce14(0x3f8,_0x3f851f._0x253706,0x426,_0x3f851f._0x37644d)]('*'))return!![];}}else return!![];}return![];}export async function getVisibleEnvironments(_0x2d1890){const _0x24a7e0={_0x4c85a5:0x91,_0x529048:0xc2,_0x557353:0x97,_0x28ea4a:0x539,_0x240f45:0x69,_0x18d9b8:0x88,_0x2e4d6e:0x46d,_0x2f96df:0x41f,_0x5c603c:0x96,_0x3b14c6:0xce,_0x2ec948:0x8c,_0x51a1d0:0x99,_0x47172d:0x73,_0x4eb3dc:0x8b,_0x41924d:0x24,_0x40bcfd:0x4aa,_0x1cfa2a:0x4d4,_0x145371:0x4c4,_0x47c66a:0x482,_0x46bb3d:0x499,_0x36e6cd:0x4a8,_0x2436df:0x4de,_0x2d5c2f:0x467,_0x33a768:0x4d6,_0x1d6baa:0x441,_0x3a2165:0xbf,_0x2bc401:0xd4,_0x5a0640:0x4b3,_0x335404:0x4e2,_0x57ee81:0x4b2,_0x2e3282:0x4d2,_0x2c1d7c:0x65,_0x1c60af:0xb5,_0x22ff63:0x49,_0x59160f:0x59,_0x1f24c1:0x42b,_0x2305c6:0x457,_0x3cd5ff:0x2,_0x31a415:0xd,_0x7b12be:0x47a,_0x31baa7:0x469,_0x31199b:0x41e,_0x7a2c8b:0xa0,_0x49b629:0xad,_0x2ddce1:0x3f,_0x38bd53:0x8,_0x584bda:0x6f,_0x5ea743:0x38,_0x1f0c04:0x6,_0x21f095:0x5d,_0x362d89:0x4c3,_0x192561:0x4da,_0x232772:0x9d,_0x396362:0x62,_0x57a1b7:0xe6,_0x4a7b4b:0x4ea,_0x5ceb2a:0x51a,_0xba455c:0x500,_0x2b0c3c:0x67,_0x4ab81d:0x59,_0x38d4ae:0x17,_0x4cb148:0xd9,_0x9d10e9:0x82,_0x50292b:0x45,_0x47ec3d:0x5c,_0x46380d:0x4a3,_0x509f0d:0x47f,_0x376b64:0x6c,_0x2378a2:0x81,_0x2396ff:0xaa,_0x1b7b76:0x87,_0x2b1b90:0x4be,_0x5370b4:0x479,_0x3354a:0x439,_0x29d7ab:0x49a,_0xa1c239:0x4e5,_0xfdd07a:0x496,_0x2f4446:0x3f,_0x418e6e:0x20},_0x468f4a={_0x4a53c1:0x2b2},_0x1ef56b={'sJKTP':function(_0x241bb8){return _0x241bb8();},'HHcLX':function(_0x372d74,_0xedccf8){return _0x372d74(_0xedccf8);},'mFZzD':_0x3bccb5(-_0x24a7e0._0x4c85a5,-_0x24a7e0._0x529048,-0x98,-_0x24a7e0._0x557353),'jpQiS':function(_0x490e2a,_0x4b488e){return _0x490e2a===_0x4b488e;},'nTyYf':_0x1ebf74(0x52b,_0x24a7e0._0x28ea4a,0x4f3,0x4ac),'sSVSf':_0x3bccb5(-0x43,-0x7,-0x16,-_0x24a7e0._0x240f45),'ShJey':function(_0x2f884e,_0xa9c2f1){return _0x2f884e===_0xa9c2f1;},'EhVNY':function(_0x3003da,_0x3e7955){return _0x3003da===_0x3e7955;},'mryIQ':_0x3bccb5(-0x6f,-0xb2,-_0x24a7e0._0x18d9b8,-0x1c),'tdJdt':_0x1ebf74(_0x24a7e0._0x2e4d6e,_0x24a7e0._0x2f96df,0x46a,0x465),'AGjVo':function(_0x23b1c0,_0x3f5bad){return _0x23b1c0(_0x3f5bad);},'yWfPE':function(_0xa6e594,_0x27b27a){return _0xa6e594!==_0x27b27a;},'vMSOW':function(_0x96805d,_0x317518,_0x45cddf){return _0x96805d(_0x317518,_0x45cddf);},'GbhBo':_0x3bccb5(-_0x24a7e0._0x5c603c,-_0x24a7e0._0x3b14c6,-_0x24a7e0._0x2ec948,-0x84),'vpnhB':function(_0x40343d,_0x559a4b){return _0x40343d===_0x559a4b;},'YbVKt':_0x3bccb5(-0x9a,-_0x24a7e0._0x51a1d0,-0xee,-0x4c),'JovVB':_0x3bccb5(-_0x24a7e0._0x47172d,-_0x24a7e0._0x4eb3dc,-0x64,-_0x24a7e0._0x41924d)+'t','rJkHJ':function(_0x4b75a2){return _0x4b75a2();}},{getTeamsByUserId:_0x49bcb1,getBindingsBySubject:_0x3f6881,getAllEnvironments:_0x2db0d6}=await _0x1ef56b[_0x1ebf74(_0x24a7e0._0x40bcfd,_0x24a7e0._0x1cfa2a,_0x24a7e0._0x145371,0x4e9)](d);function _0x1ebf74(_0x274029,_0x5da532,_0x334ff9,_0x5dae8b){return _0x4323(_0x334ff9-_0x468f4a._0x4a53c1,_0x5da532);}const _0x5b27f8=await _0x1ef56b[_0x1ebf74(_0x24a7e0._0x47c66a,_0x24a7e0._0x46bb3d,_0x24a7e0._0x36e6cd,_0x24a7e0._0x2436df)](hasAllPermissions,_0x2d1890);if(_0x5b27f8)return await _0x1ef56b['sJKTP'](_0x2db0d6);const _0xb8bbe5=new Set(),_0x26d572=await _0x3f6881(_0x1ef56b[_0x1ebf74(0x451,0x46d,_0x24a7e0._0x2d5c2f,0x4b9)],_0x2d1890);for(const _0x4e77fc of _0x26d572){if(_0x1ef56b[_0x1ebf74(0x46f,0x49a,0x4bd,_0x24a7e0._0x33a768)](_0x4e77fc[_0x1ebf74(0x4b3,0x4b3,0x480,_0x24a7e0._0x1d6baa)+_0x3bccb5(-0x82,-_0x24a7e0._0x3a2165,-0x78,-_0x24a7e0._0x2bc401)],_0x1ebf74(_0x24a7e0._0x5a0640,_0x24a7e0._0x335404,_0x24a7e0._0x57ee81,_0x24a7e0._0x2e3282)+'t')){if(_0x1ef56b[_0x3bccb5(-_0x24a7e0._0x2c1d7c,-_0x24a7e0._0x1c60af,-_0x24a7e0._0x22ff63,-_0x24a7e0._0x59160f)]!==_0x1ef56b[_0x1ebf74(_0x24a7e0._0x1f24c1,_0x24a7e0._0x2305c6,0x477,0x4a7)]){if(_0x1ef56b['ShJey'](_0x4e77fc[_0x3bccb5(-0x3f,_0x24a7e0._0x3cd5ff,-0x7b,-_0x24a7e0._0x31a415)+'d'],'*')){if(_0x1ef56b[_0x1ebf74(_0x24a7e0._0x7b12be,0x460,_0x24a7e0._0x31baa7,_0x24a7e0._0x31199b)](_0x1ef56b['mryIQ'],_0x1ef56b['tdJdt']))_0x5b7381=_0x4c5391;else return await _0x2db0d6();}_0xb8bbe5[_0x3bccb5(-_0x24a7e0._0x7a2c8b,-0x95,-0xcd,-_0x24a7e0._0x49b629)](_0x4e77fc[_0x3bccb5(-_0x24a7e0._0x2ddce1,_0x24a7e0._0x38bd53,-_0x24a7e0._0x584bda,-0x4b)+'d']);}else return _0x39ba0c[_0x3bccb5(-_0x24a7e0._0x5ea743,_0x24a7e0._0x1f0c04,0x9,-_0x24a7e0._0x21f095)](_0x3778bf[_0x1ebf74(_0x24a7e0._0x362d89,_0x24a7e0._0x192561,0x4b2,0x4a2)+'ts']);}}function _0x3bccb5(_0x46cbbb,_0x26a5bb,_0x2be785,_0x3983ea){return _0x4323(_0x46cbbb- -0x273,_0x26a5bb);}const _0x35c579=await _0x1ef56b[_0x3bccb5(-_0x24a7e0._0x232772,-_0x24a7e0._0x396362,-0xe4,-_0x24a7e0._0x57a1b7)](_0x49bcb1,_0x2d1890);for(const _0x408586 of _0x35c579){if(_0x1ef56b['yWfPE'](_0x1ebf74(_0x24a7e0._0x4a7b4b,_0x24a7e0._0x5ceb2a,_0x24a7e0._0x33a768,_0x24a7e0._0xba455c),'WHrEa'))_0x38618b['add'](_0x1f6c6e);else{const _0x487131=await _0x1ef56b['vMSOW'](_0x3f6881,_0x1ef56b[_0x3bccb5(-_0x24a7e0._0x2b0c3c,-0x30,-_0x24a7e0._0x4ab81d,-_0x24a7e0._0x38d4ae)],_0x408586['id']);for(const _0x2ef4e2 of _0x487131){if(_0x1ef56b[_0x3bccb5(-0x39,-0x9,-0x56,-0x35)](_0x1ef56b['YbVKt'],_0x3bccb5(-0x9a,-_0x24a7e0._0x4cb148,-0x61,-0xb0))){if(_0x1ef56b['ShJey'](_0x2ef4e2['resource_t'+_0x3bccb5(-_0x24a7e0._0x9d10e9,-0x4e,-_0x24a7e0._0x50292b,-0x79)],_0x1ef56b[_0x3bccb5(-0x59,-0x8c,-0x19,-_0x24a7e0._0x47ec3d)])){if(_0x1ef56b[_0x1ebf74(_0x24a7e0._0x46380d,0x452,0x469,_0x24a7e0._0x509f0d)](_0x2ef4e2[_0x3bccb5(-0x3f,-0x2f,-_0x24a7e0._0x376b64,-0x4c)+'d'],'*')){if(_0x1ef56b['vpnhB']('okmoD',_0x3bccb5(-0xcd,-_0x24a7e0._0x2378a2,-_0x24a7e0._0x2396ff,-_0x24a7e0._0x1b7b76)))return await _0x1ef56b['rJkHJ'](_0x2db0d6);else{const _0x333bd6={};return _0x333bd6[_0x1ebf74(_0x24a7e0._0x2b1b90,0x4c8,_0x24a7e0._0x5370b4,_0x24a7e0._0x3354a)]=['*'],_0x333bd6[_0x1ebf74(0x4b5,_0x24a7e0._0x29d7ab,0x4b2,_0x24a7e0._0xa1c239)+'ts']={},_0x333bd6['teams']={},_0x333bd6;}}_0xb8bbe5[_0x1ebf74(_0x24a7e0._0xfdd07a,0x489,0x485,0x44d)](_0x2ef4e2[_0x3bccb5(-_0x24a7e0._0x2f4446,-0x26,-0x8,-_0x24a7e0._0x418e6e)+'d']);}}else _0x27b048[_0x45399a]=[..._0x3d2835[_0x5327c6]];}}}return[..._0xb8bbe5];}export async function resolveUserPermissionsAllEnvironments(_0x5a4585){const _0x3fe053={_0x129bd9:0x6b,_0xf186d6:0xac,_0x300d2c:0x97},_0x1e373a={_0x2cdf58:0x250};function _0x559f19(_0x31b870,_0x444e94,_0x4616a7,_0x5d8307){return _0x4323(_0x5d8307- -_0x1e373a._0x2cdf58,_0x31b870);}const _0x41fba6={'qiowx':function(_0xda2127,_0x557764,_0x330756){return _0xda2127(_0x557764,_0x330756);}},_0x17b229=await getVisibleEnvironments(_0x5a4585),_0x257df9={};for(const _0x494a8f of _0x17b229){_0x257df9[_0x494a8f]=await _0x41fba6[_0x559f19(-_0x3fe053._0x129bd9,-_0x3fe053._0xf186d6,-0xc8,-_0x3fe053._0x300d2c)](resolveUserPermissions,_0x5a4585,_0x494a8f);}return _0x257df9;}export async function resolveUserServerPermissions(_0x1e42f1){const _0x30d629={_0x4d0913:0x240,_0x16af39:0x6e,_0x5b7f2b:0x21,_0x388edc:0xc6,_0x3ebe0e:0x10b,_0x29d103:0x277,_0x3e4ed1:0x25b,_0xedc896:0x21f,_0x4536c9:0x1ff,_0x42795:0x1f9,_0x42c905:0x1d8,_0x3a2188:0x1ac,_0x54c652:0xf5,_0x55c7f8:0x120,_0x5dcf29:0x128,_0x4bd655:0x141,_0x35d215:0x25e,_0x171d3b:0x248,_0x49da79:0x267,_0x53165f:0xcb,_0x5c72e2:0x9a,_0x51fd63:0x22b,_0x518af5:0x228,_0x58b348:0xfc,_0x4da475:0xda,_0x269506:0x209,_0x1f1fc1:0x262,_0x542076:0x246,_0x1b01db:0x1df,_0x1c524e:0x243,_0x456aae:0xae,_0x229000:0x239,_0x178648:0x256,_0x3112e7:0x2a7,_0x243a56:0x1f2,_0x7380b3:0x1b4,_0x2de8c6:0x1bc,_0x4c4ff7:0x99,_0x3fafcd:0x114,_0x1fde0a:0x1ab,_0x4c1729:0x1d5,_0x222ea3:0x200,_0x491fd6:0x240,_0x3d88cb:0x1ae,_0x399377:0x1ed,_0x33bdb1:0x87,_0x53408d:0x9d,_0x446a11:0x8e,_0x45fd26:0x89,_0x4289a8:0xad,_0x2b4b83:0x267,_0x89ab6d:0x22b,_0x487e44:0x257,_0x109cbb:0x87,_0x70dc6a:0x6e,_0x16c21b:0x60,_0x2e5a42:0x8b,_0x2e92bf:0x1e0,_0x2a3b89:0x1ca},_0x2a2e85={_0x1512e1:0x2a3},_0x1add68={_0x246ee3:0xd},_0x4d1673={'LRgfI':function(_0x9d52ea){return _0x9d52ea();},'NdUbH':function(_0x2d5dac,_0x13481b,_0x1f30b5){return _0x2d5dac(_0x13481b,_0x1f30b5);},'desiB':_0x4a9164(0x1bf,0x1b5,0x1ef,_0x30d629._0x4d0913),'jzPGO':function(_0x4ddfd0,_0x56d5d3){return _0x4ddfd0(_0x56d5d3);},'Tmdnu':function(_0x4fdb08,_0x51ee63){return _0x4fdb08===_0x51ee63;},'ePuKZ':_0x5e2287(-0x6d,-_0x30d629._0x16af39,-_0x30d629._0x5b7f2b,-0x20),'vVIId':_0x5e2287(-_0x30d629._0x388edc,-0xab,-0xd8,-_0x30d629._0x3ebe0e),'xfcuW':function(_0x1a885b,_0x430149){return _0x1a885b!==_0x430149;},'rSNrb':_0x4a9164(_0x30d629._0x29d103,_0x30d629._0x3e4ed1,0x23e,_0x30d629._0xedc896),'TGoLA':_0x4a9164(0x20b,_0x30d629._0x4536c9,0x1fc,0x1e9),'ptynN':_0x4a9164(_0x30d629._0x42795,_0x30d629._0x42c905,0x1e2,_0x30d629._0x3a2188)};function _0x4a9164(_0x5ab5cb,_0x474ab7,_0x149674,_0x463654){return _0x4323(_0x149674-_0x1add68._0x246ee3,_0x474ab7);}const {getBindingsBySubject:_0x4db9f1,getTeamsByUserId:_0x1df0eb,getRoleById:_0x191ef3}=await _0x4d1673[_0x5e2287(-_0x30d629._0x54c652,-_0x30d629._0x55c7f8,-_0x30d629._0x5dcf29,-_0x30d629._0x4bd655)](d),_0x20b23a=new Set(),_0x1041f7=new Set(Object[_0x4a9164(0x292,_0x30d629._0x35d215,_0x30d629._0x171d3b,_0x30d629._0x49da79)](PERMISSIONS[_0x5e2287(-0xdc,-_0x30d629._0x53165f,-_0x30d629._0x5c72e2,-0x101)])),_0x2fda44=await _0x4d1673[_0x4a9164(0x211,_0x30d629._0x51fd63,_0x30d629._0x518af5,0x1f1)](_0x4db9f1,_0x4d1673['desiB'],_0x1e42f1);function _0x5e2287(_0xd7419e,_0x3540ac,_0x233a13,_0x5d84ac){return _0x4323(_0xd7419e- -_0x2a2e85._0x1512e1,_0x5d84ac);}const _0x144452=await _0x4d1673[_0x5e2287(-_0x30d629._0x58b348,-_0x30d629._0x4da475,-0x127,-0x13e)](_0x1df0eb,_0x1e42f1),_0x54603c=[..._0x2fda44];for(const _0x4d69fc of _0x144452){if(_0x4d1673['Tmdnu'](_0x4d1673[_0x4a9164(0x200,_0x30d629._0x4536c9,0x23f,_0x30d629._0x269506)],'dGvyj')){const _0x454cfe=await _0x4d1673[_0x4a9164(0x1e2,_0x30d629._0x1f1fc1,0x228,_0x30d629._0x542076)](_0x4db9f1,_0x4d1673['vVIId'],_0x4d69fc['id']);_0x54603c[_0x4a9164(_0x30d629._0x1b01db,_0x30d629._0x1c524e,0x1f2,0x21c)](..._0x454cfe);}else return _0x2c090e;}for(const _0x15d002 of _0x54603c){if(_0x4d1673[_0x5e2287(-0x64,-0x51,-_0x30d629._0x456aae,-0x79)](_0x4d1673[_0x4a9164(_0x30d629._0x229000,0x28b,_0x30d629._0x178648,_0x30d629._0x3112e7)],_0x4d1673['TGoLA'])){const _0x5b60c0=await _0x4d1673[_0x4a9164(_0x30d629._0x243a56,0x1fb,_0x30d629._0x7380b3,_0x30d629._0x2de8c6)](_0x191ef3,_0x15d002[_0x5e2287(-0xd2,-_0x30d629._0x4c4ff7,-_0x30d629._0x3fafcd,-0xcc)]);if(!_0x5b60c0)continue;if(_0x5b60c0['permission'+'s'][_0x4a9164(_0x30d629._0x1fde0a,_0x30d629._0x4c1729,0x1cc,_0x30d629._0x222ea3)]('*')){if(_0x4d1673[_0x4a9164(_0x30d629._0x4d0913,0x212,0x24c,_0x30d629._0x491fd6)](_0x4d1673[_0x4a9164(_0x30d629._0x3d88cb,0x1e1,0x1ed,0x22b)],_0x4d1673[_0x4a9164(0x22c,0x1b9,_0x30d629._0x399377,0x1f9)]))_0x9647b9[_0x5e2287(-_0x30d629._0x33bdb1,-0x6f,-_0x30d629._0x53408d,-_0x30d629._0x446a11)](_0x314284)&&_0x4db081[_0x132ea8][_0x5e2287(-0xd0,-0xbe,-_0x30d629._0x45fd26,-_0x30d629._0x4289a8)](_0x5351f1);else return['*'];}for(const _0x426fad of _0x5b60c0[_0x4a9164(0x244,_0x30d629._0x2b4b83,_0x30d629._0x89ab6d,_0x30d629._0x487e44)+'s']){_0x1041f7[_0x5e2287(-_0x30d629._0x109cbb,-_0x30d629._0x70dc6a,-_0x30d629._0x16c21b,-_0x30d629._0x2e5a42)](_0x426fad)&&_0x20b23a[_0x4a9164(0x1b4,0x201,_0x30d629._0x2e92bf,_0x30d629._0x2a3b89)](_0x426fad);}}else return!![];}return[..._0x20b23a];}export async function resolveUserTeamPermissionsAll(_0x5c624e){const _0x28baa0={_0x577254:0x14c,_0x3d23b0:0x10c,_0x1b7264:0x126,_0x4a51eb:0xe3,_0xe16e7b:0xb3,_0x41442d:0xec,_0x17fcbd:0x119,_0x1bd8d1:0x20e,_0x2845ca:0x120,_0x50702c:0x15a,_0x313d8c:0xcc,_0x540e78:0x27c,_0x2b2591:0x253,_0xba4ec6:0x2e4,_0x20f663:0x2c2,_0x2add73:0x2ce,_0xb15df7:0x254,_0x16b30b:0x262,_0xf1bbd5:0x2c4,_0x4d21bf:0x292,_0x1ed4fc:0xfc,_0x18aec5:0x24e,_0x93ca2:0x272,_0x6bff37:0xf8,_0x5c96d3:0x266,_0x162bcd:0x27e,_0x2f608a:0x2dc,_0x5d3351:0x287,_0x58249f:0x291,_0x32791c:0xe9,_0x54f21a:0x2aa,_0x468da0:0x2ab,_0x3793fc:0x26f,_0x5a9566:0xf7,_0x239031:0xfd,_0x31ee72:0x13e,_0x98b7ad:0x14d,_0x27521f:0x24f,_0x958024:0x243,_0x196bf6:0x261,_0x3476f3:0x272,_0x4f9109:0x29a,_0x36cdb0:0x2c0,_0x24118a:0x124,_0x25538d:0x135,_0x589a05:0x177,_0x48f725:0x21d,_0x446d12:0x23f,_0x21d9e2:0x1fa,_0x33642c:0x258,_0x30115d:0x25e,_0x5b2ba7:0x24f,_0x498233:0x14d,_0x114ad4:0x146,_0x1fd371:0x2a7,_0x2e7b9a:0x2eb,_0x18a0b5:0x2a1,_0x5c9190:0x2a2,_0x1d4260:0x230,_0x5c51f8:0x29d,_0x399acd:0xed,_0x1b1b32:0xc0,_0x27b362:0x29b,_0x9f83d4:0x293,_0x31e62d:0x277,_0x2cf039:0x23b,_0x54f3cf:0x237,_0x5c0f06:0x2db,_0x5754d8:0x2b9,_0x3da632:0x278},_0x181195={'rwFAO':function(_0x3d1cbe,_0x4f55f5,_0x21bc22){return _0x3d1cbe(_0x4f55f5,_0x21bc22);},'wkRKc':_0x59662a(_0x28baa0._0x577254,_0x28baa0._0x3d23b0,0x12d,0x11f),'TLOnq':function(_0x3b9b88,_0x4ea92f){return _0x3b9b88(_0x4ea92f);},'WHKxV':function(_0x22d202,_0x454501,_0x957149){return _0x22d202(_0x454501,_0x957149);},'NpHUX':'team','WKzVY':function(_0x5a67f2,_0x48dff4){return _0x5a67f2===_0x48dff4;},'KsIRW':'hGiyG','dAwSn':function(_0x18c4c2,_0x41252c){return _0x18c4c2!==_0x41252c;},'SheQm':'bVggA','JDcAD':_0x59662a(0x130,_0x28baa0._0x1b7264,0xd8,_0x28baa0._0x4a51eb),'UagZt':_0x59662a(_0x28baa0._0xe16e7b,_0x28baa0._0x41442d,_0x28baa0._0x17fcbd,0x106),'bYQDs':_0x24d7f1(_0x28baa0._0x1bd8d1,0x23a,0x237,0x21d)},{getBindingsBySubject:_0x56ace8,getTeamsByUserId:_0x2c69fb,getRoleById:_0xb5e142}=await d();function _0x59662a(_0x38cb5e,_0x3dc927,_0x89d10e,_0x2c9e64){return _0x4323(_0x3dc927- -0xd6,_0x38cb5e);}const _0x517a7c=new Set(Object[_0x59662a(_0x28baa0._0x2845ca,0x165,0x1a3,_0x28baa0._0x50702c)](PERMISSIONS[_0x59662a(0x158,0x107,_0x28baa0._0x313d8c,0xe4)])),_0x592659={};function _0x24d7f1(_0x2d4c15,_0x1b045d,_0x577385,_0x4bdefb){return _0x4323(_0x577385-0x7c,_0x1b045d);}const _0x291011=await _0x181195[_0x59662a(0x133,0x137,0x144,0x12b)](_0x56ace8,_0x181195['wkRKc'],_0x5c624e),_0x1cb9a0=await _0x181195[_0x24d7f1(0x28f,_0x28baa0._0x540e78,_0x28baa0._0x2b2591,0x204)](_0x2c69fb,_0x5c624e),_0x55d00b=[..._0x291011];for(const _0x1fd586 of _0x1cb9a0){const _0x567124=await _0x181195[_0x24d7f1(_0x28baa0._0xba4ec6,0x2a6,_0x28baa0._0x20f663,_0x28baa0._0x2add73)](_0x56ace8,_0x181195[_0x24d7f1(_0x28baa0._0xb15df7,0x2db,0x2a7,_0x28baa0._0x16b30b)],_0x1fd586['id']);_0x55d00b[_0x59662a(0xbd,0x10f,0xca,0xd2)](..._0x567124);}for(const _0x405d7a of _0x55d00b){if(_0x181195[_0x24d7f1(0x274,_0x28baa0._0xf1bbd5,_0x28baa0._0x4d21bf,0x265)](_0x59662a(0xc6,_0x28baa0._0x1ed4fc,0xd8,0x125),_0x181195['KsIRW']))for(const _0x443738 of _0x370a6d[_0x24d7f1(0x2a7,_0x28baa0._0x18aec5,0x29a,_0x28baa0._0x93ca2)+'s']){_0x4533e2['add'](_0x443738);}else{if(_0x181195['dAwSn'](_0x405d7a[_0x59662a(0x14b,_0x28baa0._0x6bff37,0xb9,0xfd)+_0x24d7f1(0x2be,_0x28baa0._0x5c96d3,0x26d,0x2b3)],'team'))continue;const _0x5e32b5=await _0xb5e142(_0x405d7a[_0x24d7f1(0x29f,_0x28baa0._0x162bcd,0x24d,0x205)]);if(!_0x5e32b5)continue;const _0x1e10c6=_0x405d7a['resource_i'+'d'];if(!_0x592659[_0x1e10c6])_0x592659[_0x1e10c6]=new Set();if(_0x5e32b5[_0x24d7f1(_0x28baa0._0x2f608a,_0x28baa0._0x5d3351,0x29a,_0x28baa0._0x58249f)+'s'][_0x59662a(0xef,_0x28baa0._0x32791c,0x97,0xfb)]('*'))for(const _0x4587b6 of _0x517a7c){_0x181195[_0x24d7f1(_0x28baa0._0x54f21a,_0x28baa0._0x468da0,_0x28baa0._0xf1bbd5,0x299)](_0x181195[_0x24d7f1(0x29d,0x29a,_0x28baa0._0x3793fc,0x25d)],_0x181195['SheQm'])?_0x20508d[_0x59662a(_0x28baa0._0x5a9566,_0x28baa0._0x239031,_0x28baa0._0x31ee72,_0x28baa0._0x98b7ad)](_0x5f17f5):_0x592659[_0x1e10c6][_0x24d7f1(0x252,0x258,_0x28baa0._0x27521f,_0x28baa0._0x958024)](_0x4587b6);}else for(const _0x4a8d43 of _0x5e32b5[_0x24d7f1(_0x28baa0._0x196bf6,_0x28baa0._0x3476f3,_0x28baa0._0x4f9109,_0x28baa0._0x36cdb0)+'s']){_0x181195[_0x59662a(_0x28baa0._0x17fcbd,_0x28baa0._0x24118a,_0x28baa0._0x25538d,_0x28baa0._0x589a05)]===_0x24d7f1(0x206,_0x28baa0._0x48f725,_0x28baa0._0x446d12,_0x28baa0._0x21d9e2)?_0x27654d[_0x32a377][_0x24d7f1(_0x28baa0._0x33642c,_0x28baa0._0x30115d,_0x28baa0._0x5b2ba7,0x222)](_0xff65e4):_0x517a7c[_0x59662a(_0x28baa0._0x498233,_0x28baa0._0x114ad4,0x198,0x153)](_0x4a8d43)&&(_0x181195[_0x24d7f1(_0x28baa0._0x1fd371,_0x28baa0._0x2e7b9a,_0x28baa0._0x18a0b5,_0x28baa0._0x5c9190)]===_0x24d7f1(_0x28baa0._0x1d4260,_0x28baa0._0x5c51f8,0x25a,0x267)?_0x1f3726[_0x48a7f1][_0x59662a(_0x28baa0._0x399acd,_0x28baa0._0x239031,_0x28baa0._0x1b1b32,0xf6)](_0x5d9a92):_0x592659[_0x1e10c6][_0x24d7f1(_0x28baa0._0x27b362,0x263,0x24f,_0x28baa0._0x9f83d4)](_0x4a8d43));}}}for(const _0x55edb9 of Object['keys'](_0x592659)){if(_0x24d7f1(_0x28baa0._0x31e62d,_0x28baa0._0x2cf039,_0x28baa0._0x54f3cf,0x213)!==_0x181195[_0x24d7f1(_0x28baa0._0x5c0f06,0x2e8,_0x28baa0._0x5754d8,_0x28baa0._0x3da632)])return['*'];else _0x592659[_0x55edb9]=[..._0x592659[_0x55edb9]];}return _0x592659;}export async function resolveAllUserPermissions(_0x11406c){const _0x5278bb={_0x26d151:0x2a4,_0x57c95a:0x245,_0x4eb9a5:0x28e,_0x1c0e91:0x1d,_0x337a7f:0x71,_0x52ae0c:0x2bb,_0x3b8fea:0x343,_0x4b44c5:0x2f0,_0x3d5bf1:0x357,_0x241d5c:0x310,_0x6fcf5d:0x311,_0x47acdf:0x4d,_0x30d400:0x7,_0x4d4d71:0x287,_0x5d84de:0x241,_0x1281ca:0x7f,_0x20c949:0x3c,_0x127f41:0xa3,_0x3d68ab:0xbc},_0x39ac7b={_0x1a70fe:0x252},_0x1ae669={_0x5e58ab:0xc7},_0x265d1c={'kjsLT':function(_0x4f20fe,_0x412e15){return _0x4f20fe(_0x412e15);},'ybOtm':function(_0x3b52df,_0x17e80f){return _0x3b52df(_0x17e80f);}};function _0x5d9e5b(_0x38fc59,_0x2a90f3,_0x91007c,_0x1c14db){return _0x4323(_0x1c14db-_0x1ae669._0x5e58ab,_0x38fc59);}const _0x5d2c94=await hasAllPermissions(_0x11406c);if(_0x5d2c94){const _0x43f1e8={};return _0x43f1e8[_0x5d9e5b(_0x5278bb._0x26d151,_0x5278bb._0x57c95a,0x2de,_0x5278bb._0x4eb9a5)]=['*'],_0x43f1e8[_0x2664ea(-0x2f,-0x52,-0x3e,-_0x5278bb._0x1c0e91)+'ts']={},_0x43f1e8[_0x2664ea(-0xc5,-_0x5278bb._0x337a7f,-0x80,-0x25)]={},_0x43f1e8;}function _0x2664ea(_0x174c31,_0x3056f7,_0x209ce1,_0x131284){return _0x4323(_0x3056f7- -_0x39ac7b._0x1a70fe,_0x131284);}const [_0xe8b1a7,_0x21a63c,_0x16a902]=await Promise[_0x5d9e5b(_0x5278bb._0x52ae0c,_0x5278bb._0x3b8fea,0x2b9,_0x5278bb._0x4b44c5)]([resolveUserServerPermissions(_0x11406c),_0x265d1c[_0x5d9e5b(_0x5278bb._0x3d5bf1,_0x5278bb._0x241d5c,0x2e3,_0x5278bb._0x6fcf5d)](resolveUserPermissionsAllEnvironments,_0x11406c),_0x265d1c[_0x2664ea(-0xa,-_0x5278bb._0x47acdf,-0x20,-_0x5278bb._0x30d400)](resolveUserTeamPermissionsAll,_0x11406c)]),_0x103052={};return _0x103052[_0x5d9e5b(0x2d8,_0x5278bb._0x4d4d71,_0x5278bb._0x5d84de,_0x5278bb._0x4eb9a5)]=_0xe8b1a7,_0x103052[_0x2664ea(-_0x5278bb._0x1281ca,-0x52,-0x5,-_0x5278bb._0x20c949)+'ts']=_0x21a63c,_0x103052[_0x2664ea(-_0x5278bb._0x127f41,-0x71,-0x4d,-_0x5278bb._0x3d68ab)]=_0x16a902,_0x103052;}export async function hasPermissionOnAnyTeam(_0x15560c,_0x1dd6da){const _0x33a92e={_0x4a0b5c:0x53c,_0x3356d7:0x54f,_0xd5d4e5:0x5ee,_0x2cde52:0x607,_0x5228d6:0x5a9,_0x527703:0x606,_0x28665c:0x5e4,_0x29221b:0x5c2,_0xd1064c:0x5f9,_0x2343f4:0x1d8,_0x4d1efb:0x137,_0x36a58c:0x198,_0xbc4560:0x5fc,_0x478f29:0x5ca,_0x531c1a:0x154,_0x398f69:0x55e,_0x3908ae:0x5ea,_0x5042a1:0x1b3,_0x5938d3:0x172,_0x3e8f2b:0x1bf,_0x4008b7:0x5b3,_0x2e4200:0x15a,_0x452261:0x18f,_0x421d15:0x5b4,_0x415393:0x575,_0x5d4b98:0x1bb,_0x2bf312:0x1f0,_0x9b8e93:0x597,_0x51f7f1:0x584,_0x381d5e:0x5a5,_0x2d9832:0x1d3,_0x865d19:0x1bd,_0x4f52c1:0x1b9,_0x5b79a8:0x1d5,_0x2102a5:0x171,_0x5e0603:0x1a2,_0x11e7e1:0x172,_0x3d682a:0x195,_0x2ba56b:0x5cb,_0x375438:0x57c,_0x29e0a6:0x564,_0xe1fc22:0x60d,_0x2b2c86:0x600,_0x5e527e:0x59f,_0x198471:0x175,_0x141d0e:0x651,_0x43b208:0x5f8,_0x245d85:0x5c8,_0x4bda9f:0x624,_0x506f73:0x5f6,_0x494236:0x5fd},_0x552cac={_0x4ccb54:0x3da},_0x268b49={'pyOkj':function(_0x8952ac){return _0x8952ac();},'MoLwg':function(_0x2e5f40,_0x102a59,_0x1dc1fc){return _0x2e5f40(_0x102a59,_0x1dc1fc);},'tWrdR':function(_0x484d3c,_0x42a762){return _0x484d3c!==_0x42a762;},'QZCHS':'iAQCl','szggo':function(_0x7e50bb,_0x1a1768){return _0x7e50bb===_0x1a1768;},'XRdqY':'team','uEsrx':function(_0x51aef2,_0x124a46){return _0x51aef2(_0x124a46);},'VqITs':function(_0x396c19,_0x37e567,_0x4d8714){return _0x396c19(_0x37e567,_0x4d8714);},'QmFoz':function(_0x596de5,_0x710699){return _0x596de5(_0x710699);},'OoAtJ':function(_0x139d29,_0x1d38cc,_0x84c503){return _0x139d29(_0x1d38cc,_0x84c503);},'gvZMw':_0x3ddd1c(0x57f,_0x33a92e._0x4a0b5c,0x5c4,_0x33a92e._0x3356d7),'THaSG':_0x3ddd1c(0x5e0,0x620,0x59a,0x5ab),'ZBxtB':function(_0x23f5b9,_0x397891,_0x5d4a45){return _0x23f5b9(_0x397891,_0x5d4a45);}},_0x34b777=await hasAllPermissions(_0x15560c);if(_0x34b777)return!![];const {getTeamsByUserId:_0x28cf4b,getBindingsBySubject:_0x1ede4f,getRoleById:_0x3f981a,getBindings:_0x1c4ccb}=await _0x268b49[_0x3ddd1c(_0x33a92e._0xd5d4e5,_0x33a92e._0x2cde52,_0x33a92e._0x5228d6,_0x33a92e._0x527703)](d),_0x3ab612=await _0x268b49[_0x3ddd1c(_0x33a92e._0x28665c,_0x33a92e._0x29221b,_0x33a92e._0xd1064c,0x5ac)](_0x1ede4f,_0x4266ab(0x186,_0x33a92e._0x2343f4,_0x33a92e._0x4d1efb,_0x33a92e._0x36a58c),_0x15560c);for(const _0x1d3c6c of _0x3ab612){if(_0x268b49[_0x3ddd1c(0x5eb,_0x33a92e._0xbc4560,0x63a,_0x33a92e._0x478f29)](_0x268b49[_0x4266ab(0x162,0x16f,0x17f,_0x33a92e._0x531c1a)],_0x3ddd1c(0x5a6,_0x33a92e._0x398f69,_0x33a92e._0x3908ae,_0x33a92e._0x5228d6)))_0x1eecfd=_0x271a74[_0x4266ab(0x1b7,0x1a8,0x1c9,_0x33a92e._0x5042a1)](_0x499b76=>_0x499b76!==_0x464091[_0x4266ab(0x1ab,0x15e,0x17e,0x19e)]);else{if(_0x268b49['szggo'](_0x1d3c6c[_0x4266ab(_0x33a92e._0x5938d3,0x196,_0x33a92e._0x3e8f2b,0x1b1)+_0x3ddd1c(0x5cb,0x5a8,0x5c5,_0x33a92e._0x4008b7)],_0x268b49[_0x4266ab(0x171,0x169,_0x33a92e._0x2e4200,_0x33a92e._0x452261)])){const _0x23cce0=await _0x268b49['uEsrx'](_0x3f981a,_0x1d3c6c[_0x3ddd1c(0x5ab,_0x33a92e._0x421d15,_0x33a92e._0x415393,0x5e2)]);if(_0x23cce0&&_0x268b49['VqITs'](hasPermissionInSet,_0x23cce0[_0x4266ab(0x1c2,_0x33a92e._0x5d4b98,0x1ae,_0x33a92e._0x2bf312)+'s'],_0x1dd6da))return!![];}}}function _0x4266ab(_0x256f16,_0x4339e9,_0x40076d,_0x15f94e){return _0x4323(_0x256f16- -0x5c,_0x4339e9);}const _0x518729=await _0x268b49[_0x3ddd1c(_0x33a92e._0x9b8e93,0x5a7,_0x33a92e._0x51f7f1,_0x33a92e._0x381d5e)](_0x28cf4b,_0x15560c);for(const _0xba0a57 of _0x518729){const _0x22cc2f=await _0x268b49[_0x4266ab(_0x33a92e._0x2d9832,_0x33a92e._0x865d19,_0x33a92e._0x4f52c1,_0x33a92e._0x5b79a8)](_0x1ede4f,_0x268b49[_0x4266ab(_0x33a92e._0x2102a5,0x1b6,_0x33a92e._0x5e0603,0x121)],_0xba0a57['id']);for(const _0x1c16e1 of _0x22cc2f){if(_0x1c16e1[_0x4266ab(_0x33a92e._0x11e7e1,0x185,0x139,_0x33a92e._0x3d682a)+_0x3ddd1c(_0x33a92e._0x2ba56b,_0x33a92e._0x375438,0x5b7,0x619)]===_0x3ddd1c(0x5b7,_0x33a92e._0x29e0a6,0x564,0x5be)){if(_0x268b49[_0x3ddd1c(0x5c4,_0x33a92e._0xe1fc22,_0x33a92e._0x2b2c86,_0x33a92e._0x29221b)]!==_0x268b49[_0x3ddd1c(0x589,_0x33a92e._0x381d5e,_0x33a92e._0x5e527e,0x550)]){const _0x108048=await _0x3f981a(_0x1c16e1[_0x4266ab(_0x33a92e._0x198471,0x125,0x165,0x1b2)]);if(_0x108048&&_0x268b49[_0x3ddd1c(0x604,_0x33a92e._0x141d0e,0x5ff,0x5bf)](hasPermissionInSet,_0x108048[_0x3ddd1c(0x5f8,0x5e5,0x5d4,0x5aa)+'s'],_0x1dd6da))return!![];}else for(const _0x12e164 of _0x219777[_0x3ddd1c(_0x33a92e._0x43b208,0x5ba,_0x33a92e._0x245d85,_0x33a92e._0x4bda9f)+'s']){_0x256de2[_0x3ddd1c(_0x33a92e._0x506f73,0x61a,0x5e9,0x62e)](_0x12e164)&&_0x3ce07e[_0x35d3ff][_0x3ddd1c(0x5ad,_0x33a92e._0x494236,0x5b5,0x5bd)](_0x12e164);}}}}function _0x3ddd1c(_0x301d6d,_0x32abe7,_0x492931,_0x2f74b7){return _0x4323(_0x301d6d-_0x552cac._0x4ccb54,_0x492931);}return![];}export async function hasPermissionOnAnyEnvironment(_0x38636a,_0x5506d7){const _0x3810c8={_0x2ff4d3:0x353,_0x228d11:0x354,_0x356def:0x388,_0x2157d5:0x2b7,_0x1ed84a:0x2e4},_0x2453e0={_0xdfd13b:0x11e},_0x539348={'zDxsf':function(_0x4175b2,_0x33cf6b){return _0x4175b2(_0x33cf6b);},'ErjHo':function(_0x323fd0,_0x3be1f4){return _0x323fd0(_0x3be1f4);},'syHBf':function(_0x5134fb,_0x177849,_0x19045e){return _0x5134fb(_0x177849,_0x19045e);}},_0x3593b8=await _0x539348[_0x4818fb(0x328,_0x3810c8._0x2ff4d3,_0x3810c8._0x228d11,_0x3810c8._0x356def)](hasAllPermissions,_0x38636a);if(_0x3593b8)return!![];const _0x3fd3f0=await _0x539348['ErjHo'](getVisibleEnvironments,_0x38636a);for(const _0x98631c of _0x3fd3f0){const _0x3eac7b=await resolveUserPermissions(_0x38636a,_0x98631c);if(_0x539348[_0x4818fb(0x2d5,0x2f2,_0x3810c8._0x2157d5,_0x3810c8._0x1ed84a)](hasPermissionInSet,_0x3eac7b,_0x5506d7))return!![];}function _0x20f354(_0x2db906,_0x3e4767,_0x172b14,_0x54708c){return _0x4323(_0x54708c-0x67,_0x2db906);}function _0x4818fb(_0x4687fc,_0x241408,_0x436424,_0x3ac46b){return _0x4323(_0x241408-_0x2453e0._0xdfd13b,_0x3ac46b);}return![];}function _0x4323(_0x4db081,_0x132ea8){_0x4db081=_0x4db081-(0x7*-0x1cf+-0x1545+0x11c9*0x2);const _0x5351f1=_0x5520();let _0x589923=_0x5351f1[_0x4db081];if(_0x4323['OSJHMM']===undefined){var _0x177c21=function(_0x5d9a92){const _0x4bc027='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a1d6='',_0x2d4ec8='';for(let _0x4bbd6d=0x1207+0x155a+0x2761*-0x1,_0x27b048,_0x45399a,_0x3d2835=0x1777+0x2*0x9d6+0x3*-0xe61;_0x45399a=_0x5d9a92['charAt'](_0x3d2835++);~_0x45399a&&(_0x27b048=_0x4bbd6d%(-0x1f55+0x1*0x833+0x1726)?_0x27b048*(0x11a1*0x1+-0x3*-0x515+0x10*-0x20a)+_0x45399a:_0x45399a,_0x4bbd6d++%(0x1*0x11db+0x1*-0x511+-0xcc6))?_0x1a1d6+=String['fromCharCode'](0xe3c+-0x246d+-0xb98*-0x2&_0x27b048>>(-(-0x225a*-0x1+0xf79*0x1+0x75*-0x6d)*_0x4bbd6d&0x17f1+-0x1b26+0x33b*0x1)):-0x6cb+0x26b+0x460){_0x45399a=_0x4bc027['indexOf'](_0x45399a);}for(let _0x5327c6=0xade+0x7*0x2ab+-0x1d8b,_0x5844d4=_0x1a1d6['length'];_0x5327c6<_0x5844d4;_0x5327c6++){_0x2d4ec8+='%'+('00'+_0x1a1d6['charCodeAt'](_0x5327c6)['toString'](0x1*-0xb8d+-0x1291+-0x2*-0xf17))['slice'](-(0x1*0xace+-0x1*0x2451+0x1985));}return decodeURIComponent(_0x2d4ec8);};_0x4323['jPYcWU']=_0x177c21,_0x4323['IGgpXE']={},_0x4323['OSJHMM']=!![];}const _0x516949=_0x5351f1[-0x3f*-0x9c+-0x1f60+-0x704],_0x1f3726=_0x4db081+_0x516949,_0x48a7f1=_0x4323['IGgpXE'][_0x1f3726];return!_0x48a7f1?(_0x589923=_0x4323['jPYcWU'](_0x589923),_0x4323['IGgpXE'][_0x1f3726]=_0x589923):_0x589923=_0x48a7f1,_0x589923;}export async function resolveUserRoleNames(_0x3fb0cc){const _0x83b574={_0x2d8030:0xad,_0xe9630b:0xcf,_0x7fc691:0x57,_0x14d1d1:0x424,_0x1bb358:0x409,_0x36fd3d:0x41c,_0xf231d3:0x43b,_0x2954a8:0xc7,_0x5588c1:0x82,_0x3132ec:0xb8,_0x41d6a8:0x39f,_0x2b1788:0x3f1,_0x154888:0x3ef,_0x1ca53a:0x406,_0x357423:0x438,_0x5f4f99:0x414,_0x509848:0x3f7},_0xddfabf={'BHFfb':function(_0x322618,_0xc99340,_0x2111bf){return _0x322618(_0xc99340,_0x2111bf);},'Jfsgt':_0x1a0375(_0x83b574._0x2d8030,0x9a,_0x83b574._0xe9630b,0xe7),'MleYy':_0x1a0375(0x4d,0x95,0xc8,_0x83b574._0x7fc691),'oKEdY':function(_0x362077,_0x5132ca){return _0x362077(_0x5132ca);}},{getBindingsBySubject:_0x3ae08a,getTeamsByUserId:_0x5c001d,getRoleById:_0x1b54bd}=await d(),_0x28b700=await _0xddfabf['BHFfb'](_0x3ae08a,_0xddfabf[_0x5d834f(_0x83b574._0x14d1d1,_0x83b574._0x1bb358,_0x83b574._0x36fd3d,_0x83b574._0xf231d3)],_0x3fb0cc),_0x5210e9=await _0x5c001d(_0x3fb0cc),_0x542eff=[];function _0x1a0375(_0x35d21a,_0x41469b,_0x5ecdf3,_0x5e38e7){return _0x4323(_0x41469b- -0x148,_0x35d21a);}for(const _0x24fe9a of _0x5210e9){const _0x55fe05=await _0x3ae08a(_0xddfabf[_0x1a0375(_0x83b574._0x2954a8,_0x83b574._0x5588c1,_0x83b574._0x3132ec,0x6c)],_0x24fe9a['id']);_0x542eff['push'](..._0x55fe05);}function _0x5d834f(_0x48d754,_0x4154e9,_0x22918e,_0x583048){return _0x4323(_0x22918e-0x22f,_0x48d754);}const _0x1723ff=[..._0x28b700,..._0x542eff],_0x7761f2=new Set(_0x1723ff[_0x5d834f(_0x83b574._0x41d6a8,_0x83b574._0x2b1788,0x3e1,0x3c0)](_0x10da9c=>_0x10da9c[_0x5d834f(0x445,0x3f9,0x400,0x3cb)])),_0x3e7dc3=[];for(const _0x5c20b8 of _0x7761f2){const _0x59af7d=await _0xddfabf[_0x5d834f(_0x83b574._0x154888,_0x83b574._0x1ca53a,0x3eb,_0x83b574._0x357423)](_0x1b54bd,_0x5c20b8);if(_0x59af7d)_0x3e7dc3[_0x5d834f(0x468,0x3df,_0x83b574._0x5f4f99,_0x83b574._0x509848)](_0x59af7d['name']);}return _0x3e7dc3;}export async function wouldRetainServerAdmin({excludeBindingId:_0x1e4cdf,excludeTeamMember:_0x22fb92,excludeTeamId:_0x198d46,replaceTeamMembers:_0x54a941}={}){const _0x1ee18f={_0x4b22f8:0x377,_0x32675d:0x32f,_0x28a2f7:0x405,_0x1a7d98:0x3cb,_0x158f6d:0x37f,_0x16c8a3:0x30a,_0x4644e9:0x443,_0x188493:0x3bf,_0x13b467:0x31b,_0x30b4bb:0x3a7,_0x57fe74:0x2d2,_0x5be59e:0x318,_0x339ad4:0x317,_0x3ba80a:0x2e3,_0x82d232:0x3dc,_0x5ce490:0x3c0,_0x2ca9ac:0x399,_0xedd02:0x310,_0x3e04b4:0x381,_0x1cbd4d:0x42d,_0xbe2eb0:0x2df,_0x5d1d9e:0x2d5,_0x19e31c:0x364,_0x5b2cc0:0x415,_0x57d7bc:0x427,_0x237bd0:0x3d9,_0xa182b2:0x3cc,_0x46354c:0x400,_0x29fa25:0x3df,_0x513724:0x3e2,_0x3acee6:0x47c,_0x3f8579:0x372,_0x26f830:0x336,_0x188efd:0x363,_0x2e0d37:0x2a0,_0x263f78:0x2ce,_0x3d6569:0x440,_0x458905:0x46f,_0x286612:0x45e,_0x554519:0x326,_0x27febb:0x333,_0x56e761:0x307,_0x124e5e:0x2ec,_0x19fb6a:0x340,_0xb4d97d:0x2f3,_0x55b8d7:0x2df,_0x21512c:0x400,_0x2a034e:0x455,_0x516256:0x337,_0x4e500b:0x324,_0x3b33bd:0x404,_0x65c07:0x42f,_0x486c8c:0x455},_0x114f44={_0x88f3d3:0x208};function _0x4adf92(_0x1678a2,_0x44c472,_0x59f050,_0x2f3abf){return _0x4323(_0x2f3abf-0x12d,_0x44c472);}const _0x2e0b26={'yPblq':_0x4adf92(0x301,0x35f,_0x1ee18f._0x4b22f8,_0x1ee18f._0x32675d)+_0x239a83(0x42f,_0x1ee18f._0x28a2f7,0x3c0,_0x1ee18f._0x1a7d98),'pCTXf':_0x239a83(0x388,0x3b3,_0x1ee18f._0x158f6d,0x3fe),'xLvPQ':'./teams.js','NrUBl':function(_0x1a37df){return _0x1a37df();},'bjJrN':function(_0x35f55c,_0x21cade){return _0x35f55c!==_0x21cade;},'MPuOG':'server','EqYGs':function(_0x7abe92,_0x38f7b9){return _0x7abe92===_0x38f7b9;},'VmrHt':function(_0xebf68b,_0x3585a3){return _0xebf68b===_0x3585a3;},'OGiLk':_0x4adf92(0x30a,0x315,0x346,_0x1ee18f._0x16c8a3),'WlFdJ':function(_0x51ce02,_0x477a68){return _0x51ce02(_0x477a68);},'cGxhV':function(_0x2f2dc7,_0x1761f2){return _0x2f2dc7>_0x1761f2;}},{getRoleById:_0x7b189d}=await d(),{getBindings:_0x1c0260}=await import(_0x2e0b26[_0x239a83(_0x1ee18f._0x4644e9,0x407,_0x1ee18f._0x188493,0x419)]);function _0x239a83(_0x24f73a,_0xa1687e,_0x26643d,_0xf006a9){return _0x4323(_0xa1687e-_0x114f44._0x88f3d3,_0x26643d);}const {getUsers:_0x20fbc8}=await import(_0x2e0b26['pCTXf']),{getTeamById:_0x38c150}=await import(_0x2e0b26['xLvPQ']),_0x2b8047=await _0x2e0b26['NrUBl'](_0x1c0260),_0x5858b9=await _0x2e0b26[_0x4adf92(_0x1ee18f._0x13b467,0x352,_0x1ee18f._0x30b4bb,0x36d)](_0x20fbc8),_0x2403f7=[];for(const _0x1a41c5 of _0x2b8047){if(_0x1e4cdf&&_0x1a41c5['id']===_0x1e4cdf)continue;if(_0x2e0b26[_0x4adf92(_0x1ee18f._0x57fe74,0x33a,0x328,0x315)](_0x1a41c5[_0x4adf92(_0x1ee18f._0x5be59e,_0x1ee18f._0x339ad4,_0x1ee18f._0x3ba80a,0x2fb)+_0x239a83(0x3df,0x3f9,_0x1ee18f._0x82d232,_0x1ee18f._0x5ce490)],_0x2e0b26[_0x4adf92(_0x1ee18f._0x2ca9ac,_0x1ee18f._0x4b22f8,0x38e,0x34c)]))continue;const _0x8bb11f=await _0x7b189d(_0x1a41c5[_0x4adf92(_0x1ee18f._0xedd02,0x332,0x308,0x2fe)]);if(!_0x8bb11f||!_0x8bb11f[_0x4adf92(0x328,_0x1ee18f._0x3e04b4,0x34e,0x34b)+'s']['includes']('*'))continue;_0x2403f7[_0x239a83(0x3dc,0x3ed,_0x1ee18f._0x1cbd4d,0x3c9)](_0x1a41c5);}for(const _0x293774 of _0x2403f7){if(_0x2e0b26[_0x4adf92(_0x1ee18f._0xbe2eb0,_0x1ee18f._0x5d1d9e,_0x1ee18f._0x19e31c,0x31d)](_0x293774[_0x239a83(_0x1ee18f._0x5b2cc0,0x400,_0x1ee18f._0x57d7bc,0x3de)+'pe'],_0x239a83(0x431,0x3ea,0x3ce,_0x1ee18f._0x237bd0))){if(_0x5858b9['some'](_0x120afe=>_0x120afe['id']===_0x293774[_0x4adf92(0x30d,0x2e3,0x2d4,0x324)]))return!![];}if(_0x2e0b26['VmrHt'](_0x293774[_0x239a83(_0x1ee18f._0xa182b2,_0x1ee18f._0x46354c,0x3f5,0x3b8)+'pe'],_0x2e0b26[_0x239a83(0x443,0x3f3,_0x1ee18f._0x29fa25,_0x1ee18f._0x513724)])){if(_0x198d46&&_0x2e0b26[_0x239a83(0x3f3,0x440,_0x1ee18f._0x3acee6,0x47b)](_0x293774[_0x4adf92(_0x1ee18f._0x3f8579,0x316,0x330,0x324)],_0x198d46))continue;const _0xbe8202=await _0x2e0b26[_0x4adf92(0x2ce,0x2dc,_0x1ee18f._0x26f830,0x2f6)](_0x38c150,_0x293774[_0x4adf92(_0x1ee18f._0x188efd,_0x1ee18f._0x3f8579,0x324,0x324)]);if(!_0xbe8202)continue;let _0x11adac=_0xbe8202[_0x4adf92(_0x1ee18f._0x2e0d37,0x29a,_0x1ee18f._0x263f78,0x2e1)]||[];_0x22fb92&&_0x2e0b26[_0x239a83(0x40a,_0x1ee18f._0x3d6569,0x431,0x484)](_0x22fb92[_0x239a83(0x406,0x441,_0x1ee18f._0x458905,_0x1ee18f._0x286612)],_0x293774[_0x4adf92(_0x1ee18f._0x554519,_0x1ee18f._0x27febb,0x318,0x324)])&&(_0x11adac=_0x11adac[_0x4adf92(0x2f1,_0x1ee18f._0x56e761,_0x1ee18f._0x124e5e,_0x1ee18f._0x19fb6a)](_0x4b1c42=>_0x4b1c42!==_0x22fb92[_0x4adf92(0x2ea,0x37f,0x2e8,0x334)]));_0x54a941&&_0x2e0b26[_0x4adf92(_0x1ee18f._0xb4d97d,_0x1ee18f._0x55b8d7,0x319,0x31d)](_0x54a941[_0x239a83(0x47f,0x441,_0x1ee18f._0x21512c,_0x1ee18f._0x2a034e)],_0x293774[_0x4adf92(0x2ef,0x349,_0x1ee18f._0x516256,_0x1ee18f._0x4e500b)])&&(_0x11adac=_0x54a941['members']||[]);if(_0x2e0b26[_0x239a83(_0x1ee18f._0x3b33bd,_0x1ee18f._0x65c07,0x42e,_0x1ee18f._0x486c8c)](_0x11adac['length'],-0x1*-0xef+0x1aef+-0x52*0x57))return!![];}}return![];}
1
+ (function(_0x539102,_0x267ba4){const _0x16b68b={_0x24d697:0x306,_0x4dfce2:0x337,_0x443bff:0x2ff,_0x3e729e:0x36b,_0x2fe03a:0x345,_0x1a1997:0x316,_0x168339:0x2d8,_0x5d51b6:0x24b,_0xaf085d:0x1d9,_0x154db4:0x204,_0x236306:0x219,_0x1e8de7:0x267,_0x5daa00:0x2c6,_0x74d645:0x2ab,_0x55d559:0x2c7,_0x549715:0x24f,_0x478e4d:0x278,_0x5e6993:0x223,_0x2c7d69:0x235,_0x13698d:0x2cf,_0x21b85b:0x2a9,_0x28c702:0x247,_0x150452:0x1fb,_0x46a597:0x263,_0x3b8ae1:0x23b},_0x291e1e={_0x39aaa6:0x3dc},_0x11a53b=_0x539102();function _0x109ec4(_0x380488,_0x512305,_0x2725e7,_0x26179d){return _0x1123(_0x26179d- -0x34c,_0x2725e7);}function _0x5baa1d(_0x3af812,_0x5bba1a,_0x727599,_0x398a4f){return _0x1123(_0x5bba1a- -_0x291e1e._0x39aaa6,_0x398a4f);}while(!![]){try{const _0x595870=-parseInt(_0x5baa1d(-0x28a,-0x2b9,-_0x16b68b._0x24d697,-0x30a))/(0x1*-0x423+-0xa*0x251+0x1b4e)*(parseInt(_0x5baa1d(-0x2fb,-_0x16b68b._0x4dfce2,-_0x16b68b._0x443bff,-_0x16b68b._0x3e729e))/(-0x2*-0xf4f+0x565*-0x1+-0x1937))+parseInt(_0x5baa1d(-_0x16b68b._0x2fe03a,-_0x16b68b._0x1a1997,-0x301,-_0x16b68b._0x168339))/(-0x7b1+0x396+0x2*0x20f)+-parseInt(_0x109ec4(-_0x16b68b._0x5d51b6,-0x1e2,-_0x16b68b._0xaf085d,-_0x16b68b._0x154db4))/(0x1*0xf0b+0xf76+0x45b*-0x7)*(parseInt(_0x109ec4(-_0x16b68b._0x236306,-_0x16b68b._0x1e8de7,-0x1e4,-0x213))/(-0x177d+0x4e5+0x129d))+-parseInt(_0x5baa1d(-0x2af,-0x2a0,-_0x16b68b._0x5daa00,-0x251))/(-0x23d6*0x1+0x1e13+0x5c9*0x1)*(-parseInt(_0x109ec4(-_0x16b68b._0x74d645,-_0x16b68b._0x55d559,-_0x16b68b._0x549715,-0x29e))/(0x323*-0xb+-0x16fd+0xb81*0x5))+-parseInt(_0x109ec4(-_0x16b68b._0x478e4d,-0x28b,-_0x16b68b._0x5e6993,-_0x16b68b._0x2c7d69))/(-0x2289+0x1320+0x43*0x3b)+-parseInt(_0x5baa1d(-0x28f,-_0x16b68b._0x13698d,-0x2ff,-0x279))/(0x8f5+0x1925+-0x2211)+parseInt(_0x109ec4(-0x2a9,-_0x16b68b._0x21b85b,-_0x16b68b._0x28c702,-0x283))/(-0x1bab*0x1+0x1*-0x117b+0x2d30)*(parseInt(_0x109ec4(-0x23e,-_0x16b68b._0x150452,-_0x16b68b._0x46a597,-_0x16b68b._0x3b8ae1))/(-0x92b*0x1+0x95e+-0x28));if(_0x595870===_0x267ba4)break;else _0x11a53b['push'](_0x11a53b['shift']());}catch(_0x4dbd99){_0x11a53b['push'](_0x11a53b['shift']());}}}(_0x312d,-0x1b37f*0x5+0x6fa07+0x2*0x3734b));function _0x312d(){const _0x2ba6c0=['DgvHBq','z3P6Ehm','EgDjEgq','CLDRyKC','s2PWBMy','v3vwweC','ru9jCeO','EenruMu','tgPVv0G','ugDhDNa','qNP4zMK','C29Tzq','mty1wLfSC2Hh','yMvor3a','z2v0qMLUzgLUzW','otK3mdyYs3fNvgD3','CvDxEe0','Cuzuz0C','A2PIuNm','sNj6Aue','uKnyCKq','v2PSDg0','Ae5xv0e','EhjVtfC','CMvZB3vYy2vFDa','BfPHsKC','EKvPEMi','odeWmtzTvgDtwKS','Dhzws2y','u3j2y20','y2vwzgu','A2v5CW','C0j5uMvZB3vYyW','tKfgAhy','AxPZyKi','BMfTzq','uhD6shu','mtbNCe5YBfy','BMLwzLe','zg9gA20','EwDZENG','A25Yuwi','BwvTyMvYCW','ExbL','uMfps0S','AuToBfe','mJfWs2notwe','ywXS','u2HqDxi','seTKuNK','C0PWEuO','ze9PvKS','vK9nDwC','wu90ug4','EhvUDgW','lI9YB2XLlwrLzG','EKveEge','sMrrAgG','CvvvzMm','zM1tCwm','qKzQsuW','wgPOB3C','zgrxve0','tKvlqK4','CM9Szv9Pza','r2D6tui','C0j5u3vIAMvJDa','BKzLELO','wgPbCxy','CgvYBwLZC2LVBG','mte3mdKWBKLktLzi','sfzdAhe','BMnWuLa','mtqWnJmXotb5sMnXDNy','DxnLCG','yK5NENe','tu5tswm','qKzPDKC','lI4VC3rHCNqUAG','uK5OC0W','Egrmu24','wwz0sxK','tfvgzvK','BKTdzM8','vMTXwgO','CMrkq00','shjLzw4','BuvTu2y','ENPfDee','DwLiqvC','D3vsuKS','ywrK','Dg1OBgC','tNHXrLO','y0zPru4','rvHov3e','zMv3r3m','ExztCvO','t0PirNq','ueHKCK4','Aw5PDgLVBNmUAG','CMvZB3vYy2vFAq','wffZrLC','rLfJrxe','CMH4u08','DMnVrNm','z1PRq2m','u2rXsfq','EhrgB1q','Aw5JBhvKzxm','zvnAqKO','zMLSDgvY','lMPZ','qMTyAfu','qKDXrhy','sKTmt3O','q0LVvwe','s2j6BM8','BwfW','EKjruuG','EuHpsM0','vvjbwNO','ww5wwLu','D0XxBfq','rMD2BNq','v2rPA2W','DgvHBuLK','uerVEfC','C2T6Dfm','v1L4Bxu','EMPIwMi','DgvHBxm','zw52AxjVBM1LBG','BeDWrgC','vvPVsxu','vgjtvNa','r3nHsNG','CfrItKi','zNLXrg8','zKPkshm','DvnXs2O','odu0nda2qxfYExHs','tvfNzfO','sej2u2q','v3b1Bwy','mtfrzwHPCe4','uuPfBNe','svD2Ahm','z2v0uM9Szuj5sq','lI9IAw5KAw5NCW','z2v0vgvHBxncEq','mZuWmtq0mfP5yKfTwG','ANzRzMG','v3zZAxC','AMXpzMK','DwHSseW','yLrTD1C','ChvZAa','C3vIAMvJDf9Pza','C3vIAMvJDf90Eq','Dw1UyNG','weHRCwW','DMnOrwi','nZGXnZbntejUtwK','ugDOBLy','t09HBu0','sMrOswm','C2vYDMvY','lI90zwfTCY5QCW','zvbXtxq','Eg1Ntgu','vxnLCKLK','AgfZ'];_0x312d=function(){return _0x2ba6c0;};return _0x312d();}import{hasPermissionInSet,getPermissionScope,PERMISSIONS}from'./roles.js';let deps=null;export function _setDeps(_0x15f928){deps=_0x15f928;}export function _getDeps(){return deps;}async function loadProductionDeps(){const _0x39e58b={_0x5526dc:0x44,_0x36d618:0x26,_0x314d3c:0x95,_0xaa114a:0x71,_0x4b033:0x42,_0x34fbc7:0x1,_0x41bb8a:0x5e,_0x434e95:0x56,_0x6ead1f:0x31,_0x1e5888:0x24,_0x482d88:0x33,_0x340cde:0x18,_0x1cd242:0x2c,_0x2d0dfe:0xa,_0x395d85:0x41,_0x5865e4:0x5e,_0x19ee67:0x6a,_0x2b66ff:0xc9,_0x2010cd:0x59,_0x4a99ca:0xa2,_0x2cbfd8:0x4c,_0x34e9ce:0x4b,_0x3761e7:0x5c,_0x56941d:0x7d,_0x372b6a:0x2e,_0x1a2bc0:0xbe,_0x50b58c:0x4e,_0x29110b:0xc3,_0x36d007:0x7b,_0x364b14:0x83,_0x433589:0x94,_0x1c6753:0x30,_0x4e5e7c:0xb3},_0x28cd17={_0x10dfbe:0x1b0,_0x1841c6:0x1af,_0x1273a6:0x1a1,_0x3165b9:0x1f0,_0x2235ac:0x1b1,_0x4b6787:0x269,_0x213feb:0x263,_0x174133:0x25b,_0x14860a:0x17b,_0x1044a3:0x1d2,_0x1ba8d3:0x1e7,_0x132806:0x206,_0xffe06f:0x255,_0x2d3a05:0x1b8,_0x3e26b2:0x1d1,_0x29b98c:0x193,_0x2d4612:0x1d8},_0x4de766={_0x1b3176:0x1a1,_0x295cee:0x1d0},_0x4349b0={_0x3366a2:0xb8},_0x17ae95={};_0x17ae95[_0x970ecd(-0x24,0x18,_0x39e58b._0x5526dc,_0x39e58b._0x36d618)]=function(_0x5b1b7b,_0x24bddb){return _0x5b1b7b===_0x24bddb;},_0x17ae95[_0x549695(0x57,_0x39e58b._0x314d3c,_0x39e58b._0xaa114a,0x16)]=_0x549695(_0x39e58b._0x4b033,_0x39e58b._0x34fbc7,0x5e,_0x39e58b._0x41bb8a),_0x17ae95['YftIy']=_0x970ecd(0x89,0x79,0xad,0x8f),_0x17ae95[_0x549695(_0x39e58b._0x434e95,_0x39e58b._0x6ead1f,0x32,0x62)]=_0x549695(-_0x39e58b._0x34fbc7,_0x39e58b._0x1e5888,0x4a,-0x4e)+_0x549695(0x2c,_0x39e58b._0x482d88,-0x7,_0x39e58b._0x340cde)+'s';const _0xa95ccb=_0x17ae95;function _0x549695(_0x133c7b,_0x1a71b5,_0x41134d,_0x17ed04){return _0x1123(_0x133c7b- -_0x4349b0._0x3366a2,_0x1a71b5);}if(deps)return deps;const _0xd1e3ff=await import(_0xa95ccb[_0x549695(0x19,-_0x39e58b._0x1cd242,0x1e,-_0x39e58b._0x2d0dfe)]),_0x2bed48=await import(_0x970ecd(0x45,0xc0,_0x39e58b._0x395d85,0x7c)+'.js'),_0x1f8331=await import(_0xa95ccb[_0x549695(0x56,0x31,0x94,0x72)]);function _0x970ecd(_0x5dcae0,_0x18678f,_0x3088ae,_0x44abae){return _0x1123(_0x44abae- -0x99,_0x3088ae);}return deps={'getTeamsByUserId':_0xd1e3ff[_0x549695(_0x39e58b._0x5865e4,0x2b,_0x39e58b._0x19ee67,0x46)+_0x970ecd(_0x39e58b._0x314d3c,_0x39e58b._0x2b66ff,0xe2,0x92)],'getBindingsByResource':_0x2bed48[_0x970ecd(0x7f,0x4c,_0x39e58b._0x2010cd,_0x39e58b._0x4a99ca)+_0x970ecd(-_0x39e58b._0x2cbfd8,_0x39e58b._0x34e9ce,0x49,0x7)+'e'],'getBindingsBySubject':_0x2bed48[_0x970ecd(_0x39e58b._0x4a99ca,_0x39e58b._0x3761e7,_0x39e58b._0x56941d,_0x39e58b._0x4a99ca)+_0x970ecd(0x6b,_0x39e58b._0x19ee67,_0x39e58b._0x372b6a,0x29)],'getRoleById':_0x1f8331[_0x970ecd(_0x39e58b._0x1a2bc0,_0x39e58b._0x50b58c,_0x39e58b._0x29110b,_0x39e58b._0x36d007)+'d'],'getBindings':_0x2bed48[_0x549695(_0x39e58b._0x364b14,_0x39e58b._0x433589,_0x39e58b._0x1c6753,_0x39e58b._0x4e5e7c)+'s'],'getAllEnvironments':async()=>{const _0x41644b={_0x3fece4:0x24,_0x1a611b:0x165};function _0x20ff00(_0x59be05,_0x203121,_0x1892cd,_0x1ff0a9){return _0x970ecd(_0x59be05-0xde,_0x203121-_0x4de766._0x1b3176,_0x203121,_0x59be05-_0x4de766._0x295cee);}const {coderConfig:_0x4ba6fa}=await import(_0x44038b(0x174,0x1aa,_0x28cd17._0x10dfbe,_0x28cd17._0x1841c6)+'s');if(_0x4ba6fa&&_0x4ba6fa['environmen'+'ts']){if(_0xa95ccb[_0x44038b(0x1a8,0x182,_0x28cd17._0x1273a6,0x1ed)](_0x20ff00(_0x28cd17._0x3165b9,0x20e,_0x28cd17._0x2235ac,0x1a4),_0xa95ccb[_0x20ff00(0x246,0x22a,0x280,_0x28cd17._0x4b6787)]))_0x3351a8[_0x20ff00(_0x28cd17._0x213feb,0x292,0x2a5,_0x28cd17._0x174133)](_0x4b3483)&&_0x39ffce[_0x371ef8][_0x44038b(_0x28cd17._0x14860a,_0x28cd17._0x1044a3,0x1bd,_0x28cd17._0x1ba8d3)](_0x5ac831);else return Object[_0x20ff00(0x1d6,0x1a2,0x1ea,0x1fc)](_0x4ba6fa[_0x20ff00(0x23b,_0x28cd17._0x132806,_0x28cd17._0xffe06f,0x27b)+'ts']);}function _0x44038b(_0x1cd5d0,_0x585512,_0x27fc53,_0x58c045){return _0x970ecd(_0x1cd5d0-_0x41644b._0x3fece4,_0x585512-_0x41644b._0x1a611b,_0x1cd5d0,_0x27fc53-0x17b);}const _0x4bd8a3=await _0x2bed48['getBinding'+'s']();return[...new Set(_0x4bd8a3[_0x44038b(_0x28cd17._0x2d3a05,0x185,_0x28cd17._0x3e26b2,0x225)](_0xbfb40e=>_0xbfb40e['resource_t'+_0x20ff00(0x1e2,0x197,0x212,0x1ac)]==='environmen'+'t'&&_0xbfb40e['resource_i'+'d']&&_0xbfb40e[_0x20ff00(0x21c,0x25f,0x208,0x264)+'d']!=='*')[_0x44038b(0x1da,_0x28cd17._0x29b98c,_0x28cd17._0x2d4612,0x185)](_0xd887aa=>_0xd887aa[_0x20ff00(0x21c,0x219,0x207,0x23f)+'d']))];}},deps;}async function d(){const _0x526301={_0x4fc606:0x286};function _0x218a61(_0x3d15f5,_0x116a06,_0x5ed2fe,_0x1777fb){return _0x1123(_0x3d15f5-0x174,_0x1777fb);}const _0x28f5cf={'Wpumf':function(_0x1ed817){return _0x1ed817();}};return deps||await _0x28f5cf[_0x218a61(0x284,_0x526301._0x4fc606,0x245,0x277)](loadProductionDeps);}async function collectBindingsForUser(_0x1fd16b,_0x551815,_0x30d5d4){const _0x551cf8={_0x3670d5:0x1c4,_0x1624d6:0x231,_0x551dc6:0x213,_0x320107:0x206,_0x44e4cc:0x299,_0x476f59:0x2c2,_0x16430c:0x26d,_0x4a05ff:0x2cb,_0x18bc3b:0x288,_0x1c7d18:0x2af,_0x6c6a6e:0x333,_0x5a0c1b:0x331,_0xde4226:0x30b,_0xde1d1d:0x21a,_0x4e6d17:0x2d7,_0x10d22a:0x2a2,_0x50947e:0x2d6,_0x12ad4c:0x35d,_0x20d046:0x310,_0x4c9d3f:0x2e8,_0x5e6a36:0x267,_0x4656cb:0x280,_0x3b1104:0x27b,_0x59db4c:0x307,_0x4900e3:0x325,_0x497893:0x25d,_0x3156eb:0x21b,_0x508b2a:0x243,_0x3b7344:0x2e8,_0x39b080:0x2d6,_0x110850:0x2c9},_0x12811c={_0x29cd2e:0x1e7},_0x514972={'IWvhs':function(_0x478bff){return _0x478bff();},'ePqMt':function(_0x34a8f4,_0x407bf3){return _0x34a8f4(_0x407bf3);},'umnbx':_0x5a87e1(-_0x551cf8._0x3670d5,-_0x551cf8._0x1624d6,-_0x551cf8._0x551dc6,-_0x551cf8._0x320107),'fmSqc':_0x5a87e1(-0x266,-0x2bd,-_0x551cf8._0x44e4cc,-_0x551cf8._0x476f59),'HVChq':function(_0x5ece58,_0x7e0cd){return _0x5ece58!==_0x7e0cd;},'MNSIc':_0x5a87e1(-_0x551cf8._0x16430c,-_0x551cf8._0x4a05ff,-_0x551cf8._0x18bc3b,-0x236),'SIlYU':'LOobW'},{getTeamsByUserId:_0x29fb14,getBindingsByResource:_0x5aebf8}=await _0x514972[_0x56529d(0x2f4,0x33e,0x2fa,_0x551cf8._0x1c7d18)](d),_0x18c98f=await _0x514972[_0x56529d(_0x551cf8._0x6c6a6e,0x346,0x310,_0x551cf8._0x5a0c1b)](_0x29fb14,_0x1fd16b);function _0x56529d(_0x2cfe11,_0x56c7f9,_0x318c99,_0x2f0421){return _0x1123(_0x318c99-_0x12811c._0x29cd2e,_0x2f0421);}const _0xe1c07a=new Set(_0x18c98f[_0x56529d(0x30c,0x28b,0x2dd,_0x551cf8._0xde4226)](_0x36b385=>_0x36b385['id']));function _0x5a87e1(_0x2553eb,_0x141256,_0x4f5e9b,_0x59b9ab){return _0x1123(_0x4f5e9b- -0x33a,_0x141256);}let _0x30113a=[];if(_0x551815===_0x514972[_0x5a87e1(-0x1f6,-0x1cc,-_0x551cf8._0xde1d1d,-0x21c)]){if(_0x514972['fmSqc']===_0x514972[_0x56529d(_0x551cf8._0x4e6d17,0x2e7,_0x551cf8._0x10d22a,0x2a9)])_0x30113a=await _0x514972[_0x56529d(_0x551cf8._0x50947e,_0x551cf8._0x12ad4c,_0x551cf8._0x20d046,_0x551cf8._0x4c9d3f)](_0x5aebf8,_0x514972['umnbx']);else for(const _0x10805d of _0x1f8078){_0x50fa54[_0x232b5d]['add'](_0x10805d);}}else{if(_0x514972[_0x5a87e1(-0x244,-_0x551cf8._0x5e6a36,-0x273,-_0x551cf8._0x4656cb)](_0x514972[_0x5a87e1(-0x21d,-0x265,-0x26e,-_0x551cf8._0x3b1104)],_0x514972['SIlYU'])){_0x30113a=await _0x5aebf8(_0x551815,_0x30d5d4);const _0x37ddc7=await _0x5aebf8(_0x514972[_0x56529d(0x30e,0x328,_0x551cf8._0x59db4c,_0x551cf8._0x4900e3)]);_0x30113a=[..._0x30113a,..._0x37ddc7];}else _0x281a87[_0xba6bb3][_0x5a87e1(-_0x551cf8._0x497893,-_0x551cf8._0x3156eb,-0x25f,-_0x551cf8._0x508b2a)](_0x2e18b0);}return _0x30113a[_0x56529d(0x2c5,_0x551cf8._0x3b7344,_0x551cf8._0x39b080,_0x551cf8._0x110850)](_0x24bb01=>_0x24bb01[_0x56529d(0x334,0x2c6,0x306,0x320)+'pe']==='user'&&_0x24bb01[_0x5a87e1(-0x1ca,-0x22f,-0x21c,-0x25d)]===_0x1fd16b||_0x24bb01['subject_ty'+'pe']===_0x56529d(0x2d5,0x316,0x314,0x357)&&_0xe1c07a[_0x5a87e1(-0x25e,-0x253,-0x20e,-0x25a)](_0x24bb01[_0x56529d(0x2fd,0x340,0x305,0x358)]));}export async function resolveUserPermissions(_0x47a7c4,_0xa0339f){const _0x33ce55={_0xcac5c9:0x2b2,_0x5a5224:0x2e2,_0x1c7be5:0xa3,_0x5028e5:0x70,_0x549d13:0x83,_0x25650a:0x9f,_0x16d8c9:0xeb,_0x4be9da:0xb0,_0x1239c3:0xd3,_0x28b5fe:0x246,_0x576f1a:0x2a6,_0x480ee9:0x281,_0x39a178:0x91},_0x26b5ca={_0xd53f46:0x52},_0x498142={'cFiEN':_0x596078(-0x26e,-_0x33ce55._0xcac5c9,-0x24a,-0x298)+'t','wuRRK':function(_0x4126f3,_0x39b50f){return _0x4126f3(_0x39b50f);}},{getRoleById:_0x576acb}=await d();function _0x3cc7a6(_0xb5614a,_0x3eeee7,_0x1e7b9c,_0x54562d){return _0x1123(_0x54562d- -_0x26b5ca._0xd53f46,_0xb5614a);}function _0x596078(_0x2dd8a8,_0x24f422,_0x4946b2,_0xad983b){return _0x1123(_0xad983b- -0x39c,_0x4946b2);}const _0x5425ce=await collectBindingsForUser(_0x47a7c4,_0x498142[_0x596078(-0x28b,-_0x33ce55._0x5a5224,-0x2b8,-0x2be)],_0xa0339f),_0x5271ae=new Set();for(const _0xa438ee of _0x5425ce){const _0x27e3b5=await _0x498142[_0x3cc7a6(_0x33ce55._0x1c7be5,_0x33ce55._0x5028e5,0x4f,0x88)](_0x576acb,_0xa438ee['role_id']);if(_0x27e3b5)for(const _0x3e3a49 of _0x27e3b5['permission'+'s']){_0x5271ae['add'](_0x3e3a49);}}if(_0x5271ae[_0x3cc7a6(0x93,_0x33ce55._0x549d13,0xd2,0xda)]('*')){if(_0x3cc7a6(_0x33ce55._0x25650a,_0x33ce55._0x16d8c9,_0x33ce55._0x4be9da,_0x33ce55._0x1239c3)!==_0x596078(-_0x33ce55._0x28b5fe,-_0x33ce55._0x576f1a,-_0x33ce55._0x480ee9,-0x277))_0x124f83=_0x3edbd4[_0x3cc7a6(0xac,0x42,_0x33ce55._0x39a178,0x58)]||[];else return['*'];}return[..._0x5271ae];}export async function hasPermission(_0x59bb99,_0x1db679,_0x295bee){const _0x3fa180={_0x397c1d:0xa7,_0x23e63c:0xb4,_0x5661b3:0x5a,_0x54f3d0:0x44,_0x49a480:0xf6,_0x4736ae:0xb6,_0x18f7d1:0xc3,_0x1dc1af:0x9e,_0x526dbf:0x122,_0x4e669b:0x11f,_0x4e20f7:0x13e,_0x5dcb5d:0x125,_0x2f5c9c:0x136,_0x30d4f6:0x120,_0x5b7c8f:0x116,_0x41e4bf:0x16b,_0xac5527:0xab,_0x316ec9:0xda,_0x364401:0xa3,_0x59401e:0x5a,_0x2e399b:0x9e,_0x4cbd19:0x6e,_0x4067ef:0x91,_0x468a6b:0x12f,_0x300ad0:0x103,_0x86c2de:0xdc,_0x35639c:0xba,_0x2f07c6:0xfb,_0x3b695e:0xd0,_0x1f86d2:0xb6,_0x46f6e0:0x126,_0x8aed35:0x12c,_0x2f7f94:0x131,_0x32b951:0x133,_0x2f9dd7:0xea,_0x583afc:0x101,_0x5c5c6e:0xee,_0x238166:0x11d,_0x2bafec:0xf4,_0x5b32ad:0xc1,_0x5e517a:0x12b,_0x22d044:0x10f,_0x1d2159:0xb2,_0x35c375:0x9d,_0xf16f6e:0xbb,_0x501ef1:0x125,_0x24d307:0xe9,_0x30eb21:0x52,_0x578c35:0xfe,_0x5cd81c:0x67,_0x147c5b:0x109,_0xc830f5:0x95,_0x44c412:0xde,_0x475aad:0xb2,_0x1f046f:0x81,_0x23eef4:0xe1,_0x4430fc:0xd8,_0x471693:0x13e,_0x2c9064:0xd5,_0xe6ab84:0xf2,_0x405abd:0xdc,_0x1044d0:0x101,_0xe24d04:0x3c,_0x1f2f47:0xdc,_0x31ecbe:0xe8,_0x394b28:0x134,_0x2495cd:0xa7,_0x40d45f:0xe5,_0x4324e7:0xed,_0x3437b0:0x98,_0x290060:0x75},_0x48c039={_0x389da6:0xe},_0x49b733={_0x4dcba6:0x180},_0x4b17cb={'piwtu':function(_0x5738da){return _0x5738da();},'niVfQ':function(_0x113f79,_0x75b471){return _0x113f79(_0x75b471);},'ihvie':function(_0x34a40d,_0x47fd89){return _0x34a40d!==_0x47fd89;},'Kbzno':_0x405104(-0xd4,-_0x3fa180._0x397c1d,-_0x3fa180._0x23e63c,-0xa9),'PwzHu':_0x405104(-0x58,-0x8e,-_0x3fa180._0x5661b3,-_0x3fa180._0x54f3d0),'FQcEq':function(_0x4814ef){return _0x4814ef();},'ncpRP':function(_0x1b421c,_0x3284cf,_0x22ed3c){return _0x1b421c(_0x3284cf,_0x22ed3c);},'ShPur':_0x405104(-_0x3fa180._0x49a480,-_0x3fa180._0x4736ae,-0xc1,-_0x3fa180._0x18f7d1),'beNGp':function(_0x2d7bd3,_0x26aca5){return _0x2d7bd3===_0x26aca5;},'yHOJm':'NFJpu','knrQb':_0x405104(-_0x3fa180._0x1dc1af,-0x51,-0x8b,-0x8a),'URAZz':function(_0x4eaff8,_0x43bd3d,_0x57b480){return _0x4eaff8(_0x43bd3d,_0x57b480);},'zjbZb':_0x504221(_0x3fa180._0x526dbf,_0x3fa180._0x4e669b,_0x3fa180._0x4e20f7,0xcc),'zBQQH':'environmen'+'t','Fgvnt':function(_0x35a62e,_0x5758f2,_0x57c611,_0x3947d7){return _0x35a62e(_0x5758f2,_0x57c611,_0x3947d7);},'RejCl':_0x504221(0xd6,0x116,0xdc,_0x3fa180._0x5dcb5d),'VkqXj':_0x504221(0x108,_0x3fa180._0x2f5c9c,0x160,0x14d),'zzEtA':function(_0x40b50f,_0x41d809){return _0x40b50f(_0x41d809);},'PHdrN':function(_0x10f89f,_0x149105){return _0x10f89f===_0x149105;},'XHkql':_0x504221(0xfb,_0x3fa180._0x30d4f6,_0x3fa180._0x5b7c8f,_0x3fa180._0x41e4bf),'pTbNB':function(_0x3e3e72,_0xf87a3c,_0x22386b){return _0x3e3e72(_0xf87a3c,_0x22386b);}},{getRoleById:_0x4fda1f}=await _0x4b17cb['piwtu'](d),_0x305e40=_0x4b17cb[_0x405104(-_0x3fa180._0xac5527,-_0x3fa180._0x316ec9,-0x92,-_0x3fa180._0x364401)](getPermissionScope,_0x1db679);if(_0x305e40===_0x504221(0x114,0x119,0xc5,0xe5)){if(_0x4b17cb['ihvie'](_0x4b17cb[_0x405104(-0x8e,-0x8b,-_0x3fa180._0x59401e,-_0x3fa180._0x2e399b)],_0x4b17cb[_0x504221(_0x3fa180._0x4cbd19,0x96,0xad,_0x3fa180._0x4067ef)])){const {getBindingsBySubject:_0x2f2904,getTeamsByUserId:_0x26b1b5}=await _0x4b17cb[_0x504221(_0x3fa180._0x468a6b,0xd9,0x84,_0x3fa180._0x300ad0)](d),_0x37c08e=await _0x4b17cb[_0x504221(_0x3fa180._0x86c2de,_0x3fa180._0x35639c,_0x3fa180._0x2f07c6,0x7f)](_0x2f2904,_0x4b17cb[_0x405104(-0x10a,-_0x3fa180._0x3b695e,-_0x3fa180._0x1f86d2,-0x10d)],_0x59bb99),_0x5a872c=await _0x4b17cb[_0x405104(-0xf5,-0xda,-_0x3fa180._0x46f6e0,-0xdb)](_0x26b1b5,_0x59bb99),_0x53e043=[..._0x37c08e];for(const _0x3047f8 of _0x5a872c){if(_0x4b17cb[_0x504221(0x152,_0x3fa180._0x8aed35,_0x3fa180._0x4e669b,_0x3fa180._0x2f7f94)](_0x4b17cb[_0x504221(_0x3fa180._0x32b951,_0x3fa180._0x2f9dd7,0xb7,0xf5)],_0x4b17cb[_0x405104(-_0x3fa180._0x583afc,-0xd7,-0x8f,-_0x3fa180._0x5c5c6e)])){if(_0xbe53f2['some'](_0x1ac16d=>_0x1ac16d['id']===_0x20c972[_0x504221(0xbe,0x110,0x163,0x12c)]))return!![];}else{const _0x5a9277=await _0x4b17cb['URAZz'](_0x2f2904,_0x4b17cb[_0x504221(_0x3fa180._0x238166,_0x3fa180._0x2bafec,_0x3fa180._0x5b32ad,0x110)],_0x3047f8['id']);_0x53e043[_0x504221(_0x3fa180._0x5e517a,_0x3fa180._0x22d044,0x124,0x121)](..._0x5a9277);}}for(const _0x2addc2 of _0x53e043){const _0x549f54=await _0x4b17cb['niVfQ'](_0x4fda1f,_0x2addc2[_0x504221(0x7f,_0x3fa180._0x1d2159,0x7f,0xa7)]);if(_0x549f54&&_0x4b17cb[_0x504221(0x9b,0xeb,0x10e,_0x3fa180._0x35c375)](hasPermissionInSet,_0x549f54[_0x405104(-0xd4,-_0x3fa180._0xf16f6e,-0xa0,-0x75)+'s'],_0x1db679))return!![];}return![];}else return['*'];}if(_0x305e40===_0x4b17cb[_0x504221(0x117,0xe9,_0x3fa180._0x501ef1,_0x3fa180._0x24d307)]){if(!_0x295bee)return![];const _0xcbeeb3=await _0x4b17cb['Fgvnt'](collectBindingsForUser,_0x59bb99,_0x4b17cb[_0x405104(-0x4e,-0x89,-0x3c,-_0x3fa180._0x30eb21)],_0x295bee);for(const _0x3cb37d of _0xcbeeb3){if(_0x4b17cb['RejCl']!==_0x4b17cb[_0x405104(-0x75,-0xac,-_0x3fa180._0x578c35,-_0x3fa180._0x5cd81c)]){const _0x382113=await _0x4b17cb[_0x504221(_0x3fa180._0x147c5b,0xca,_0x3fa180._0x316ec9,_0x3fa180._0xc830f5)](_0x4fda1f,_0x3cb37d[_0x504221(_0x3fa180._0x44c412,_0x3fa180._0x475aad,0x5c,_0x3fa180._0x1f046f)]);if(_0x382113&&_0x4b17cb[_0x405104(-0x77,-0xb8,-0xeb,-_0x3fa180._0x23eef4)](hasPermissionInSet,_0x382113['permission'+'s'],_0x1db679))return!![];}else return['*'];}return![];}function _0x405104(_0x4570ba,_0x116a5e,_0x5891ae,_0x546b17){return _0x1123(_0x116a5e- -_0x49b733._0x4dcba6,_0x4570ba);}if(_0x4b17cb['beNGp'](_0x305e40,_0x4b17cb[_0x504221(_0x3fa180._0x4430fc,0xf4,_0x3fa180._0x471693,0xff)])){if(_0x4b17cb[_0x504221(0xf0,_0x3fa180._0x2c9064,0xfa,_0x3fa180._0xe6ab84)](_0x4b17cb[_0x504221(_0x3fa180._0x405abd,0x113,0xec,_0x3fa180._0x1044d0)],'gzzxs')){if(!_0x295bee)return![];const _0x3fc34f=await _0x4b17cb[_0x405104(-0x3c,-0x84,-_0x3fa180._0xe24d04,-0xad)](collectBindingsForUser,_0x59bb99,_0x4b17cb['zjbZb'],_0x295bee);for(const _0x135b4a of _0x3fc34f){const _0x4aa312=await _0x4fda1f(_0x135b4a['role_id']);if(_0x4aa312&&_0x4b17cb[_0x504221(_0x3fa180._0x1f2f47,_0x3fa180._0x2f07c6,_0x3fa180._0x31ecbe,_0x3fa180._0x394b28)](hasPermissionInSet,_0x4aa312[_0x504221(_0x3fa180._0x2495cd,0xb7,_0x3fa180._0x40d45f,0xcb)+'s'],_0x1db679))return!![];}return![];}else return!![];}function _0x504221(_0x394710,_0x33cb76,_0x3668d7,_0x5d6264){return _0x1123(_0x33cb76- -_0x48c039._0x389da6,_0x5d6264);}return await _0x4b17cb[_0x504221(_0x3fa180._0x4324e7,_0x3fa180._0x3437b0,_0x3fa180._0x290060,0x4a)](hasAllPermissions,_0x59bb99);}export async function hasAllPermissions(_0x38e14a){const _0x5603b4={_0x5e8613:0x48f,_0x4cbd60:0x3de,_0x29bf7c:0x3f1,_0x325db6:0x465,_0x1c3070:0x3b7,_0x171873:0x401,_0x361cad:0x460,_0x44135a:0x44f,_0x1b457b:0x3fc,_0x5955b7:0x455,_0xe328ab:0x3de,_0x15d031:0x422,_0x40474d:0x424,_0x35525e:0x4e0,_0x17d6cc:0x442,_0x32a1ce:0x3c3,_0x3ae7d6:0x44b,_0x362d14:0x418,_0x5cd6cc:0x413,_0x16fd3a:0x465,_0x46b7c1:0x411,_0x7525c6:0x467,_0x36a765:0x411,_0x513d98:0x49a,_0x41a65f:0x4a5,_0x3ae73e:0x495,_0x19df4e:0x3d8,_0x43a942:0x3f7,_0x112b26:0x3b6,_0x26842a:0x431,_0xd12a02:0x41d},_0x1b6e23={_0x91e47d:0x3ab},_0x350dbf={'Wjltm':function(_0x25c4e3){return _0x25c4e3();},'VAhsT':function(_0x22b9ee,_0xa19d0c){return _0x22b9ee(_0xa19d0c);},'LjoWH':function(_0xcf3968,_0x4b3ae2){return _0xcf3968(_0x4b3ae2);},'QJEnq':function(_0x36cf05,_0x5c32dd,_0x3e5629){return _0x36cf05(_0x5c32dd,_0x3e5629);},'qZbdo':_0x38c322(0x4d8,0x516,0x4a6,_0x5603b4._0x5e8613),'WotJR':function(_0x247940,_0x216bcd){return _0x247940!==_0x216bcd;},'tmhlg':_0x4cd1d1(0x3b6,_0x5603b4._0x4cbd60,0x3ed,_0x5603b4._0x29bf7c),'jvkfh':function(_0x2ade41,_0x3c4067){return _0x2ade41(_0x3c4067);}};function _0x4cd1d1(_0x149bf4,_0x2b0029,_0xaf4e41,_0x52460a){return _0x1123(_0x52460a-0x337,_0xaf4e41);}const {getBindingsBySubject:_0x5e641b,getTeamsByUserId:_0x4bef1c,getRoleById:_0x11f785}=await _0x350dbf[_0x4cd1d1(0x426,_0x5603b4._0x325db6,0x483,0x479)](d),_0x403013=await _0x5e641b(_0x4cd1d1(0x3bd,0x3d0,_0x5603b4._0x1c3070,_0x5603b4._0x171873),_0x38e14a);for(const _0x5f0ef0 of _0x403013){const _0x2b2a08=await _0x350dbf['VAhsT'](_0x11f785,_0x5f0ef0[_0x38c322(0x46b,_0x5603b4._0x361cad,0x494,_0x5603b4._0x44135a)]);if(_0x2b2a08&&_0x2b2a08[_0x4cd1d1(0x43c,0x3cd,0x3f7,_0x5603b4._0x1b457b)+'s'][_0x4cd1d1(_0x5603b4._0x5955b7,_0x5603b4._0xe328ab,_0x5603b4._0x15d031,_0x5603b4._0x40474d)]('*'))return!![];}const _0x11a361=await _0x350dbf[_0x38c322(_0x5603b4._0x35525e,0x4d7,0x516,0x518)](_0x4bef1c,_0x38e14a);for(const _0xeec43 of _0x11a361){const _0x312c21=await _0x350dbf[_0x4cd1d1(0x42b,_0x5603b4._0x17d6cc,0x455,0x449)](_0x5e641b,_0x350dbf['qZbdo'],_0xeec43['id']);for(const _0xa0e904 of _0x312c21){if(_0x350dbf['WotJR'](_0x350dbf[_0x4cd1d1(_0x5603b4._0x32a1ce,_0x5603b4._0x3ae7d6,_0x5603b4._0x362d14,_0x5603b4._0x5cd6cc)],_0x38c322(_0x5603b4._0x16fd3a,_0x5603b4._0x46b7c1,_0x5603b4._0x7525c6,_0x5603b4._0x36a765)))_0x551418=_0x192d86[_0x38c322(_0x5603b4._0x513d98,0x4f0,0x4c8,0x49f)](_0xda0793=>_0xda0793!==_0x2653b4['userId']);else{const _0x58819f=await _0x350dbf[_0x4cd1d1(_0x5603b4._0x41a65f,_0x5603b4._0x3ae73e,0x41b,0x44f)](_0x11f785,_0xa0e904[_0x4cd1d1(0x3cc,0x404,_0x5603b4._0x19df4e,_0x5603b4._0x43a942)]);if(_0x58819f&&_0x58819f[_0x4cd1d1(0x404,_0x5603b4._0x112b26,0x3f2,0x3fc)+'s'][_0x4cd1d1(0x3f3,_0x5603b4._0x26842a,_0x5603b4._0xd12a02,0x424)]('*'))return!![];}}}function _0x38c322(_0x20dc1b,_0x3094c9,_0x1fd4c4,_0x680924){return _0x1123(_0x20dc1b-_0x1b6e23._0x91e47d,_0x3094c9);}return![];}export async function getVisibleEnvironments(_0x1e6a8e){const _0x483ed2={_0x9646d6:0x185,_0x3f3f83:0x1bd,_0xf65a6b:0x18f,_0x4916d3:0x16f,_0x36cd56:0x112,_0x8a0935:0x19c,_0x2daca1:0x177,_0x2d048f:0x18c,_0x2afb08:0x189,_0x4dbb1c:0x2d6,_0x339c15:0x2ae,_0x18aebf:0x2e6,_0x5392d3:0x147,_0x5bcd68:0x195,_0x43912b:0x174,_0x30be74:0x350,_0xf6263b:0x31f,_0x5751f9:0x169,_0x448d39:0x2e9,_0xbd82ed:0x2f1,_0x2dc1a:0x29c,_0x9230e9:0x2e5,_0x551e00:0x29a,_0x49c9a7:0x11d,_0x32e0fe:0x160,_0x57ec01:0x14f,_0x505667:0xf1,_0x3c6381:0x136,_0x2fda0b:0x318,_0xa86ae8:0x2fb,_0x4c292a:0x2fd,_0x34df79:0x199,_0xb7aff:0x189,_0x3e3abc:0x1a4,_0x4928fd:0x11b,_0x2ee282:0x2ac,_0x42c585:0x290,_0x5cd5a3:0x35d,_0x5d9c97:0x313,_0x5e4cf2:0x2cd,_0x3aadc4:0x314,_0x38728c:0x2a2,_0x49472f:0x2cc,_0x136d56:0x315,_0x43838b:0x2bc,_0x5b6d80:0x18b,_0x25bcea:0x1a7,_0x2c1c6b:0x27a,_0x5df03e:0x2c0,_0x5f0836:0x31a,_0x147714:0x17c,_0x31007b:0x1a8,_0x5114b5:0x14f,_0x33a77d:0x148,_0x2bad10:0x137,_0x37f949:0x157,_0x387299:0x145,_0x5662bf:0x11b,_0x52eca6:0x176,_0x1559c5:0x19e,_0x29f3f0:0x179,_0x2d75f1:0x162,_0x1c2868:0x1a4,_0x230ffc:0x191,_0x30031b:0x16f,_0x48b545:0x13c,_0x461d8c:0x116,_0x9f0018:0x172,_0x27e774:0x13c,_0x41b6d8:0x344,_0x1d4586:0x11f,_0x11432f:0x154,_0x3c2e1f:0x16e,_0x517332:0x16c},_0x328fe6={_0x1d5106:0x218},_0x41fee8={'nFezZ':function(_0x6fe12b){return _0x6fe12b();},'KfGEk':function(_0x2e7a29,_0x48242b){return _0x2e7a29===_0x48242b;},'uhlHL':function(_0x5b4477,_0x584184,_0x57ba98){return _0x5b4477(_0x584184,_0x57ba98);},'skztS':_0x4eb1b0(-_0x483ed2._0x9646d6,-0x1bd,-_0x483ed2._0x3f3f83,-_0x483ed2._0xf65a6b),'xuntl':function(_0x47054e,_0x2e3b1e){return _0x47054e===_0x2e3b1e;},'JrziA':'environmen'+'t','VOMug':_0x4eb1b0(-0x167,-_0x483ed2._0x4916d3,-0x16e,-_0x483ed2._0x36cd56),'XjAqv':function(_0x4ece7a,_0x15e4f1){return _0x4ece7a===_0x15e4f1;},'ygszx':function(_0x1f5484){return _0x1f5484();},'UvjuU':function(_0x72926f,_0x4a9069){return _0x72926f!==_0x4a9069;},'nKCfo':_0x4eb1b0(-_0x483ed2._0x8a0935,-_0x483ed2._0x2daca1,-_0x483ed2._0x2d048f,-_0x483ed2._0x2afb08),'GVdcX':_0x4eb7bc(0x2d4,_0x483ed2._0x4dbb1c,_0x483ed2._0x339c15,_0x483ed2._0x18aebf),'fyqDo':_0x4eb1b0(-_0x483ed2._0x5392d3,-_0x483ed2._0x5bcd68,-_0x483ed2._0x43912b,-0xf5),'HKdRy':function(_0xb7f2ef,_0x1106e5){return _0xb7f2ef===_0x1106e5;},'BkXhU':function(_0x4e0e0f,_0x36f4d7){return _0x4e0e0f!==_0x36f4d7;},'rWkbG':_0x4eb7bc(0x36a,0x34c,_0x483ed2._0x30be74,_0x483ed2._0xf6263b),'SZtac':_0x4eb1b0(-_0x483ed2._0x5751f9,-0x148,-0x151,-0x119)},{getTeamsByUserId:_0x30b9e0,getBindingsBySubject:_0x56bd7d,getAllEnvironments:_0x1d2142}=await _0x41fee8[_0x4eb7bc(_0x483ed2._0x448d39,0x2db,_0x483ed2._0xbd82ed,_0x483ed2._0x2dc1a)](d),_0x596e14=await hasAllPermissions(_0x1e6a8e);if(_0x596e14){if(_0x41fee8['KfGEk'](_0x4eb7bc(_0x483ed2._0x9230e9,0x2d0,_0x483ed2._0x551e00,0x326),_0x4eb1b0(-_0x483ed2._0x49c9a7,-0xe5,-0xe4,-_0x483ed2._0x32e0fe)))_0x3c8638=_0x579db4;else return await _0x1d2142();}function _0x4eb1b0(_0x51a7c6,_0x19116a,_0x3e6e84,_0x47e49f){return _0x1123(_0x51a7c6- -0x24f,_0x19116a);}const _0x10f9c0=new Set(),_0x1daa61=await _0x41fee8[_0x4eb1b0(-0x134,-_0x483ed2._0x57ec01,-_0x483ed2._0x505667,-_0x483ed2._0x3c6381)](_0x56bd7d,_0x41fee8[_0x4eb7bc(0x30c,_0x483ed2._0x2fda0b,_0x483ed2._0xa86ae8,_0x483ed2._0x4c292a)],_0x1e6a8e);for(const _0x2048a8 of _0x1daa61){if(_0x41fee8[_0x4eb1b0(-_0x483ed2._0x34df79,-0x181,-_0x483ed2._0xb7aff,-_0x483ed2._0x3e3abc)](_0x2048a8[_0x4eb1b0(-0x10a,-_0x483ed2._0x4928fd,-0x14c,-0xb5)+_0x4eb7bc(_0x483ed2._0x2ee282,0x2c3,0x2fb,_0x483ed2._0x42c585)],_0x41fee8[_0x4eb7bc(_0x483ed2._0x5cd5a3,0x358,_0x483ed2._0x5d9c97,0x3a0)])){if(_0x41fee8[_0x4eb7bc(_0x483ed2._0x5e4cf2,0x2cc,0x317,_0x483ed2._0x3aadc4)]===_0x41fee8[_0x4eb7bc(_0x483ed2._0x38728c,_0x483ed2._0x49472f,_0x483ed2._0x136d56,_0x483ed2._0x43838b)]){if(_0x41fee8[_0x4eb1b0(-_0x483ed2._0x5b6d80,-0x1ca,-_0x483ed2._0x25bcea,-0x157)](_0x2048a8['resource_i'+'d'],'*'))return await _0x41fee8[_0x4eb7bc(_0x483ed2._0x2c1c6b,_0x483ed2._0x5df03e,0x2f9,0x2d6)](_0x1d2142);_0x10f9c0[_0x4eb7bc(0x2af,0x2f3,0x318,0x31c)](_0x2048a8[_0x4eb7bc(_0x483ed2._0x5f0836,0x2fd,0x306,0x2b1)+'d']);}else return _0x300fb0;}}function _0x4eb7bc(_0x58554f,_0x314229,_0x2ddd17,_0x600747){return _0x1123(_0x314229-_0x328fe6._0x1d5106,_0x2ddd17);}const _0x4a7633=await _0x30b9e0(_0x1e6a8e);for(const _0x37b214 of _0x4a7633){if(_0x41fee8['UvjuU'](_0x41fee8[_0x4eb1b0(-_0x483ed2._0x147714,-0x1cb,-_0x483ed2._0x31007b,-_0x483ed2._0x5114b5)],_0x41fee8['GVdcX'])){const _0x47221e=await _0x41fee8['uhlHL'](_0x56bd7d,_0x4eb1b0(-0x122,-_0x483ed2._0x33a77d,-0x13e,-0x164),_0x37b214['id']);for(const _0x2643e0 of _0x47221e){if(_0x41fee8[_0x4eb1b0(-0x18b,-_0x483ed2._0x2bad10,-_0x483ed2._0x37f949,-0x1a1)](_0x41fee8[_0x4eb7bc(0x2e5,0x322,0x32d,0x2d7)],_0x41fee8[_0x4eb1b0(-_0x483ed2._0x387299,-0x185,-_0x483ed2._0x5662bf,-_0x483ed2._0x52eca6)])){if(_0x41fee8[_0x4eb1b0(-_0x483ed2._0x1559c5,-_0x483ed2._0x29f3f0,-_0x483ed2._0x2d75f1,-0x1da)](_0x2643e0['resource_t'+_0x4eb1b0(-_0x483ed2._0x1c2868,-_0x483ed2._0x230ffc,-_0x483ed2._0x30031b,-0x17d)],_0x41fee8[_0x4eb1b0(-0x10f,-_0x483ed2._0x48b545,-0x13d,-0x117)])){if(_0x2643e0[_0x4eb1b0(-0x16a,-_0x483ed2._0x461d8c,-_0x483ed2._0x9f0018,-_0x483ed2._0x27e774)+'d']==='*'){if(_0x41fee8[_0x4eb7bc(_0x483ed2._0x41b6d8,0x309,0x2f4,0x2f9)](_0x41fee8[_0x4eb1b0(-_0x483ed2._0x1d4586,-0x11a,-_0x483ed2._0x11432f,-0x13e)],_0x41fee8['SZtac']))return await _0x41fee8['nFezZ'](_0x1d2142);else for(const _0x1e3601 of _0x450b43[_0x4eb1b0(-0x18a,-_0x483ed2._0x3c2e1f,-_0x483ed2._0x517332,-0x153)+'s']){_0x7c950e[_0x4eb1b0(-0x174,-0x190,-0x1bc,-_0x483ed2._0x5114b5)](_0x1e3601);}}_0x10f9c0['add'](_0x2643e0[_0x4eb7bc(0x2ee,0x2fd,0x316,0x2ab)+'d']);}}else _0x29617e['add'](_0x18193e);}}else return!![];}return[..._0x10f9c0];}export async function resolveUserPermissionsAllEnvironments(_0x27b20f){const _0x34b49b={_0xc0ab7d:0x46b},_0x2b5244={'wkiuE':function(_0x590556,_0x41be58){return _0x590556(_0x41be58);},'Kjpnf':function(_0x3cd94a,_0x4ed754,_0x2afbd1){return _0x3cd94a(_0x4ed754,_0x2afbd1);}};function _0x69bf98(_0x408473,_0x156635,_0x26a00c,_0x2d308a){return _0x1123(_0x156635-0x34c,_0x26a00c);}const _0x3ee547=await _0x2b5244['wkiuE'](getVisibleEnvironments,_0x27b20f),_0x1f723e={};for(const _0x4310ab of _0x3ee547){_0x1f723e[_0x4310ab]=await _0x2b5244[_0x69bf98(_0x34b49b._0xc0ab7d,0x47d,0x43a,0x470)](resolveUserPermissions,_0x27b20f,_0x4310ab);}return _0x1f723e;}function _0x1123(_0x402868,_0x1b157e){_0x402868=_0x402868-(-0x295*0x5+-0x31*-0x8+-0x63*-0x1f);const _0x1d1f31=_0x312d();let _0x20eab7=_0x1d1f31[_0x402868];if(_0x1123['Jvpfrg']===undefined){var _0x194d4d=function(_0x2a25b9){const _0x5ce09c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x49b414='',_0x37de26='';for(let _0x73a1a3=0x25d0+0x1*-0xf95+-0x163b*0x1,_0x44f819,_0x374ce8,_0xbe53f2=-0x2*-0x27+-0x2063+0x2015;_0x374ce8=_0x2a25b9['charAt'](_0xbe53f2++);~_0x374ce8&&(_0x44f819=_0x73a1a3%(-0x14db+-0x19*-0x15f+-0xd68)?_0x44f819*(-0x1*0x204d+-0x21b0+-0x1*-0x423d)+_0x374ce8:_0x374ce8,_0x73a1a3++%(-0xf64+0x1186+0x10f*-0x2))?_0x49b414+=String['fromCharCode'](0x90b+-0x3*-0x22d+-0xd*0x11f&_0x44f819>>(-(0x2485+-0x21ac+-0x1*0x2d7)*_0x73a1a3&-0x13*0xb9+0x1f7b*-0x1+0x78a*0x6)):-0x637+-0x1d87+0x3d*0x96){_0x374ce8=_0x5ce09c['indexOf'](_0x374ce8);}for(let _0x22d6aa=0x3f5*0x3+0x43b+0x101a*-0x1,_0x20c972=_0x49b414['length'];_0x22d6aa<_0x20c972;_0x22d6aa++){_0x37de26+='%'+('00'+_0x49b414['charCodeAt'](_0x22d6aa)['toString'](0x1671+-0x1*-0xa1+0xbe*-0x1f))['slice'](-(-0x6b*-0x47+0x231+0x1*-0x1fdc));}return decodeURIComponent(_0x37de26);};_0x1123['KFDwaN']=_0x194d4d,_0x1123['xDBFKo']={},_0x1123['Jvpfrg']=!![];}const _0x3b7301=_0x1d1f31[0x1a*0xde+-0x8be*0x1+-0xba*0x13],_0xc674f=_0x402868+_0x3b7301,_0xd00616=_0x1123['xDBFKo'][_0xc674f];return!_0xd00616?(_0x20eab7=_0x1123['KFDwaN'](_0x20eab7),_0x1123['xDBFKo'][_0xc674f]=_0x20eab7):_0x20eab7=_0xd00616,_0x20eab7;}export async function resolveUserServerPermissions(_0x5188bd){const _0x3f2627={_0x7ec00c:0x235,_0x2d412e:0x26e,_0x4bd580:0x215,_0x2ba3cb:0x252,_0x5adf65:0x21b,_0x3fbca5:0x2c3,_0x182e7f:0x2ce,_0xc03b75:0x309,_0x3b9239:0x29a,_0x3d6d35:0x186,_0x3946ed:0x1cc,_0x204f72:0x1b4,_0x2d9983:0x2fd,_0x4ceba2:0x2c2,_0x14af25:0x239,_0x54d64f:0x204,_0x5553f8:0x1f7,_0x214aba:0x26e,_0x31b1aa:0x2bd,_0x5794af:0x2a3,_0x1b2bcd:0x225,_0x1edec9:0x264,_0x4d64e7:0x266,_0x3e258c:0x252,_0x283105:0x20b,_0x2f45e1:0x26a,_0x435cff:0x226,_0x7eb75d:0x209,_0x4017ff:0x1ce,_0x26db9a:0x244,_0x30c8d8:0x263,_0x50c076:0x22e,_0x323891:0x241,_0x155661:0x2a1,_0x5141f4:0x24d,_0x348877:0x295,_0x3531a5:0x2bd,_0x2ddfd0:0x2bf,_0x142429:0x276,_0x2fe9b4:0x230},_0x4c91de={'EOIpJ':function(_0x1bd278){return _0x1bd278();},'VYNPj':function(_0x278baa,_0x432a21,_0x2633d1){return _0x278baa(_0x432a21,_0x2633d1);},'ceVde':_0x4a3d2c(0x209,0x208,_0x3f2627._0x7ec00c,0x1df),'JdhIc':function(_0xafd5c,_0x5039e1){return _0xafd5c(_0x5039e1);},'BFjIL':function(_0x5b21d0,_0x4f3c19){return _0x5b21d0===_0x4f3c19;},'vchEb':_0x4a3d2c(_0x3f2627._0x2d412e,_0x3f2627._0x4bd580,0x20b,0x221),'qWWxM':_0x4a3d2c(0x24e,_0x3f2627._0x2ba3cb,0x228,_0x3f2627._0x5adf65),'mEmSf':'team','ufokC':function(_0x10d2f4,_0x444d03){return _0x10d2f4===_0x444d03;},'hNWWA':'dEmPN'},{getBindingsBySubject:_0x54dbcf,getTeamsByUserId:_0x245fac,getRoleById:_0x12f007}=await _0x4c91de[_0x11caad(_0x3f2627._0x3fbca5,_0x3f2627._0x182e7f,_0x3f2627._0xc03b75,_0x3f2627._0x3b9239)](d),_0x7dde30=new Set(),_0x4bd8dc=new Set(Object[_0x4a3d2c(_0x3f2627._0x3d6d35,_0x3f2627._0x3946ed,0x1a6,_0x3f2627._0x204f72)](PERMISSIONS[_0x11caad(_0x3f2627._0x2d9983,_0x3f2627._0x4ceba2,0x2e5,0x2f5)]));function _0x4a3d2c(_0x2cc754,_0x595a2e,_0x457df4,_0x131c83){return _0x1123(_0x131c83-0x115,_0x2cc754);}function _0x11caad(_0x399059,_0x2f507d,_0x4a7015,_0xa88f03){return _0x1123(_0x2f507d-0x19b,_0xa88f03);}const _0xb4f1db=await _0x4c91de['VYNPj'](_0x54dbcf,_0x4c91de[_0x11caad(0x1e6,_0x3f2627._0x14af25,0x20e,0x28a)],_0x5188bd),_0x5d2edb=await _0x4c91de[_0x4a3d2c(_0x3f2627._0x54d64f,_0x3f2627._0x5553f8,0x21d,0x23b)](_0x245fac,_0x5188bd),_0x852141=[..._0xb4f1db];for(const _0x1e00ef of _0x5d2edb){if(_0x4c91de[_0x11caad(0x23b,0x257,0x299,0x204)](_0x4c91de[_0x11caad(_0x3f2627._0x214aba,_0x3f2627._0x31b1aa,_0x3f2627._0x5794af,0x2fe)],_0x4c91de[_0x4a3d2c(_0x3f2627._0x1b2bcd,_0x3f2627._0x1edec9,_0x3f2627._0x4d64e7,_0x3f2627._0x3e258c)]))return!![];else{const _0x219115=await _0x54dbcf(_0x4c91de[_0x4a3d2c(0x1b4,0x241,_0x3f2627._0x283105,0x1ec)],_0x1e00ef['id']);_0x852141['push'](..._0x219115);}}for(const _0x37b35f of _0x852141){const _0x41ef4b=await _0x12f007(_0x37b35f[_0x11caad(0x27b,0x25b,0x223,_0x3f2627._0x2f45e1)]);if(!_0x41ef4b)continue;if(_0x41ef4b[_0x11caad(_0x3f2627._0x435cff,0x260,0x234,_0x3f2627._0x7eb75d)+'s'][_0x4a3d2c(_0x3f2627._0x4017ff,0x1d5,0x235,0x202)]('*'))return['*'];for(const _0x463a37 of _0x41ef4b['permission'+'s']){_0x4bd8dc[_0x4a3d2c(_0x3f2627._0x26db9a,_0x3f2627._0x30c8d8,_0x3f2627._0x50c076,_0x3f2627._0x323891)](_0x463a37)&&(_0x4c91de['ufokC'](_0x4c91de[_0x4a3d2c(_0x3f2627._0x155661,0x27a,_0x3f2627._0x5141f4,0x258)],_0x4c91de[_0x11caad(_0x3f2627._0x348877,0x2de,_0x3f2627._0x3531a5,_0x3f2627._0x2ddfd0)])?_0x7dde30[_0x4a3d2c(0x21f,0x1ba,0x1ee,0x1f0)](_0x463a37):_0x1d1f31[_0x20eab7][_0x11caad(0x24a,_0x3f2627._0x142429,_0x3f2627._0x2fe9b4,0x23c)](_0x194d4d));}}return[..._0x7dde30];}export async function resolveUserTeamPermissionsAll(_0x630e47){const _0x3bac4a={_0x125f64:0x150,_0x237303:0x124,_0x575cad:0x161,_0x24fc6d:0xfd,_0x1f8a37:0x17f,_0x5aad41:0x190,_0x2197c4:0x1bd,_0x259d5a:0x152,_0xa7e23c:0x16f,_0x1bc77c:0x163,_0x53d948:0x1a6,_0x84d8a0:0xa6,_0x1d60d1:0x169,_0x3302cd:0x119,_0x21f596:0x104,_0x4902e1:0x11a,_0xa4143b:0xc6,_0x4339cb:0xe6,_0x508995:0x95,_0x15bc64:0xe4,_0xa6e56f:0x120,_0x2e3a3a:0xd8,_0x44a342:0xa5,_0x491be5:0x113,_0x3861d0:0x135,_0x4fea09:0xb2,_0x380988:0x11b,_0x8347a7:0x158,_0x32a2ce:0x116,_0x3f6079:0x1a5,_0x2e1da4:0x1d2,_0x55f6ed:0x1bc,_0x58d73b:0xda,_0x13b07b:0x50,_0x5436e1:0x9b,_0x2a39aa:0x103,_0x4a02b9:0x123,_0x381246:0x19b,_0x29275d:0x15f,_0x470a94:0x10c,_0xdfd7b7:0x148,_0x19e64b:0x15e,_0x389e42:0x114,_0x537902:0x152,_0x476548:0x151,_0x46b7e9:0x10b,_0x1a8005:0x162,_0x585ad8:0x191,_0xd1dede:0x18b,_0x409ad1:0x143,_0x4d692d:0x1b1,_0x22c5ad:0x1ad,_0x3233cc:0x12a,_0x279a24:0x178,_0x95a63:0x1da,_0x8852b2:0xff,_0x3f10b6:0xe7,_0x5a0cc7:0x96,_0x3eff79:0x176,_0x219271:0x1c9,_0xc566b3:0x164,_0xf9617c:0x14c,_0x4af8f8:0x118,_0x4a7f24:0x153,_0x48962d:0x125,_0x525644:0xd6,_0x450739:0x16c,_0xb0e38:0xc0,_0x43176b:0xc7,_0x468098:0x181,_0x5887f6:0x1d1,_0x15e93b:0x167,_0x4e6912:0x11c,_0x3584b6:0x13e,_0x34ed58:0xf9,_0x3a4d62:0x154},_0xddcb30={'ZAJby':function(_0x22c95a){return _0x22c95a();},'qFTgG':function(_0x2c15ef,_0x5becda,_0x138904){return _0x2c15ef(_0x5becda,_0x138904);},'Bzxfi':function(_0x285cca,_0x5972fa){return _0x285cca(_0x5972fa);},'xtFoT':function(_0x5eae31,_0x2611b0,_0x4a5948){return _0x5eae31(_0x2611b0,_0x4a5948);},'GgzMB':function(_0x13f7c8,_0x207aa0){return _0x13f7c8!==_0x207aa0;},'RaOKK':_0x3f6ff3(-_0x3bac4a._0x125f64,-0x18a,-0x102,-0x124),'JKLOz':_0x3f6ff3(-_0x3bac4a._0x237303,-_0x3bac4a._0x575cad,-0x146,-_0x3bac4a._0x24fc6d),'lZaJG':function(_0xa8d041,_0x40ae4f){return _0xa8d041(_0x40ae4f);},'Srvcm':_0x3f6ff3(-_0x3bac4a._0x1f8a37,-_0x3bac4a._0x5aad41,-_0x3bac4a._0x2197c4,-0x143),'UFkXb':_0x3f6ff3(-_0x3bac4a._0x259d5a,-0x169,-0x13d,-_0x3bac4a._0xa7e23c),'gZkCc':_0x3f6ff3(-_0x3bac4a._0x1bc77c,-0x192,-0x16f,-_0x3bac4a._0x53d948)},{getBindingsBySubject:_0xcaf301,getTeamsByUserId:_0x194a21,getRoleById:_0x3d11ff}=await _0xddcb30['ZAJby'](d),_0x4ae895=new Set(Object['keys'](PERMISSIONS[_0x3c491d(-0x79,-_0x3bac4a._0x84d8a0,-0xe1,-0x95)])),_0xa10fcc={},_0x386956=await _0xddcb30[_0x3f6ff3(-0x113,-_0x3bac4a._0x1d60d1,-_0x3bac4a._0x3302cd,-_0x3bac4a._0x21f596)](_0xcaf301,'user',_0x630e47),_0x3eace2=await _0xddcb30[_0x3f6ff3(-_0x3bac4a._0x4902e1,-_0x3bac4a._0x1bc77c,-_0x3bac4a._0xa4143b,-0x134)](_0x194a21,_0x630e47);function _0x3f6ff3(_0x33d420,_0x42e4ea,_0x3956c2,_0x50ca8b){return _0x1123(_0x33d420- -0x251,_0x42e4ea);}const _0x28a6ea=[..._0x386956];for(const _0x42f154 of _0x3eace2){const _0x521f19=await _0xddcb30[_0x3c491d(-_0x3bac4a._0x4339cb,-_0x3bac4a._0x508995,-0x98,-0xd6)](_0xcaf301,_0x3f6ff3(-0x124,-0x170,-_0x3bac4a._0x15bc64,-_0x3bac4a._0xa6e56f),_0x42f154['id']);_0x28a6ea[_0x3c491d(-0xcc,-_0x3bac4a._0x2e3a3a,-0x60,-_0x3bac4a._0x44a342)](..._0x521f19);}function _0x3c491d(_0x2cc934,_0x10ce4b,_0x101aa5,_0x2396c6){return _0x1123(_0x2396c6- -0x1c2,_0x10ce4b);}for(const _0x174d02 of _0x28a6ea){if(_0xddcb30[_0x3c491d(-_0x3bac4a._0x491be5,-_0x3bac4a._0x3861d0,-_0x3bac4a._0x4fea09,-0x101)](_0xddcb30[_0x3c491d(-0x16b,-_0x3bac4a._0x380988,-_0x3bac4a._0x8347a7,-_0x3bac4a._0x32a2ce)],_0xddcb30[_0x3f6ff3(-_0x3bac4a._0x3f6079,-0x1d1,-_0x3bac4a._0x2e1da4,-_0x3bac4a._0x55f6ed)])){const _0x38e4f5={};return _0x38e4f5[_0x3c491d(-_0x3bac4a._0x58d73b,-0xe7,-_0x3bac4a._0x13b07b,-_0x3bac4a._0x5436e1)]=['*'],_0x38e4f5[_0x3f6ff3(-0x14d,-_0x3bac4a._0x2a39aa,-_0x3bac4a._0x4a02b9,-0x11b)+'ts']={},_0x38e4f5[_0x3f6ff3(-0x14e,-0x1a3,-_0x3bac4a._0x381246,-_0x3bac4a._0x29275d)]={},_0x38e4f5;}else{if(_0x174d02[_0x3f6ff3(-_0x3bac4a._0x470a94,-0x10c,-_0x3bac4a._0xdfd7b7,-0xb5)+'ype']!==_0xddcb30[_0x3f6ff3(-_0x3bac4a._0x19e64b,-_0x3bac4a._0x389e42,-_0x3bac4a._0x537902,-_0x3bac4a._0x476548)])continue;const _0x581608=await _0xddcb30[_0x3f6ff3(-_0x3bac4a._0x46b7e9,-0x112,-_0x3bac4a._0x1a8005,-0x138)](_0x3d11ff,_0x174d02[_0x3f6ff3(-_0x3bac4a._0x585ad8,-0x183,-0x1c2,-0x160)]);if(!_0x581608)continue;const _0x30f6bf=_0x174d02[_0x3f6ff3(-0x16c,-_0x3bac4a._0xd1dede,-0x1a5,-_0x3bac4a._0x409ad1)+'d'];if(!_0xa10fcc[_0x30f6bf])_0xa10fcc[_0x30f6bf]=new Set();if(_0x581608['permission'+'s'][_0x3f6ff3(-0x164,-_0x3bac4a._0x4d692d,-_0x3bac4a._0x22c5ad,-_0x3bac4a._0x3233cc)]('*')){if(_0xddcb30[_0x3f6ff3(-_0x3bac4a._0x5aad41,-_0x3bac4a._0x279a24,-_0x3bac4a._0x95a63,-0x1a6)](_0x3f6ff3(-0x184,-0x13c,-0x1b7,-0x1ca),'AngUc'))for(const _0x2dc092 of _0x4ae895){_0xa10fcc[_0x30f6bf][_0x3c491d(-0x120,-0x132,-_0x3bac4a._0x8852b2,-_0x3bac4a._0x3f10b6)](_0x2dc092);}else for(const _0x5c6b82 of _0x4a023a['permission'+'s']){_0x2844a3[_0x3c491d(-0x85,-0x42,-0x77,-_0x3bac4a._0x5a0cc7)](_0x5c6b82)&&_0x5047de[_0x4ee16c][_0x3f6ff3(-_0x3bac4a._0x3eff79,-_0x3bac4a._0x219271,-_0x3bac4a._0xc566b3,-_0x3bac4a._0xf9617c)](_0x5c6b82);}}else{if(_0xddcb30[_0x3c491d(-_0x3bac4a._0x476548,-_0x3bac4a._0x4af8f8,-_0x3bac4a._0x4a7f24,-_0x3bac4a._0x48962d)]!==_0xddcb30[_0x3f6ff3(-0x1b4,-0x189,-0x1b8,-0x1f5)])return _0x26460a[_0x3c491d(-0x170,-_0x3bac4a._0x525644,-0xf3,-0x123)](_0x22cffb[_0x3f6ff3(-0x14d,-_0x3bac4a._0x450739,-0x19f,-_0x3bac4a._0x470a94)+'ts']);else for(const _0x2de1cf of _0x581608[_0x3c491d(-_0x3bac4a._0xb0e38,-_0x3bac4a._0x43176b,-0xde,-0xfd)+'s']){_0xddcb30[_0x3f6ff3(-0x190,-0x1a5,-_0x3bac4a._0x468098,-_0x3bac4a._0x5887f6)](_0xddcb30['UFkXb'],_0xddcb30[_0x3f6ff3(-_0x3bac4a._0x15e93b,-_0x3bac4a._0x4e6912,-0x16d,-_0x3bac4a._0x3584b6)])?_0x4ae895['has'](_0x2de1cf)&&_0xa10fcc[_0x30f6bf]['add'](_0x2de1cf):_0x1da08b[_0x3c491d(-0x125,-0x127,-0xb6,-_0x3bac4a._0x3f10b6)](_0x30376e);}}}}for(const _0x5d28e4 of Object[_0x3c491d(-_0x3bac4a._0x34ed58,-_0x3bac4a._0x3a4d62,-0xcc,-_0x3bac4a._0x4a02b9)](_0xa10fcc)){_0xa10fcc[_0x5d28e4]=[..._0xa10fcc[_0x5d28e4]];}return _0xa10fcc;}export async function resolveAllUserPermissions(_0x360aae){const _0xf2c420={_0x43d61b:0x55,_0x2245e7:0x56,_0x1d8d71:0x2e3,_0x2ad058:0xa9,_0x513b0b:0xef,_0x15c96b:0x91,_0x203637:0x58,_0x2ceddc:0xa0,_0x36b1dd:0x256,_0x103ac3:0x296,_0x3ff4fb:0x258,_0x399d83:0x277,_0x34779e:0x2a2,_0x28e2af:0x322,_0x28350b:0x2de},_0x3895b1={_0x20e71e:0x57},_0x1ea17e={'SdqHT':function(_0x3aaf9b,_0x46e9d6){return _0x3aaf9b(_0x46e9d6);},'EXNWq':function(_0x4ef2c5,_0x4f5174){return _0x4ef2c5(_0x4f5174);},'yvSqZ':function(_0x3970a0,_0x147eb4){return _0x3970a0(_0x147eb4);}},_0x5b0c5c=await _0x1ea17e[_0x50f26f(0x94,0xd4,_0xf2c420._0x43d61b,_0xf2c420._0x2245e7)](hasAllPermissions,_0x360aae);if(_0x5b0c5c){const _0x308c5={};return _0x308c5[_0x123345(0x2cc,_0xf2c420._0x1d8d71,0x2de,0x2d7)]=['*'],_0x308c5[_0x50f26f(0xad,_0xf2c420._0x2ad058,_0xf2c420._0x513b0b,0x7d)+'ts']={},_0x308c5[_0x50f26f(0xac,_0xf2c420._0x15c96b,0xcc,0xb0)]={},_0x308c5;}const [_0x38c112,_0x4a11c0,_0x3bc32b]=await Promise[_0x50f26f(_0xf2c420._0x203637,_0xf2c420._0x2ceddc,0x82,0x74)]([_0x1ea17e[_0x123345(_0xf2c420._0x36b1dd,0x2a6,_0xf2c420._0x103ac3,0x243)](resolveUserServerPermissions,_0x360aae),_0x1ea17e[_0x123345(_0xf2c420._0x3ff4fb,_0xf2c420._0x399d83,_0xf2c420._0x34779e,0x2c0)](resolveUserPermissionsAllEnvironments,_0x360aae),_0x1ea17e[_0x123345(0x29e,0x250,0x298,_0xf2c420._0x399d83)](resolveUserTeamPermissionsAll,_0x360aae)]),_0x11db8c={};function _0x50f26f(_0x15ed7c,_0x307ad4,_0x218dfb,_0x560c64){return _0x1123(_0x15ed7c- -_0x3895b1._0x20e71e,_0x218dfb);}_0x11db8c[_0x123345(0x28c,_0xf2c420._0x28e2af,_0xf2c420._0x28350b,0x300)]=_0x38c112,_0x11db8c['environmen'+'ts']=_0x4a11c0,_0x11db8c['teams']=_0x3bc32b;function _0x123345(_0x5e40e1,_0x534cf1,_0x3fc71c,_0x2123e3){return _0x1123(_0x3fc71c-0x1b7,_0x2123e3);}return _0x11db8c;}export async function hasPermissionOnAnyTeam(_0x17ad57,_0x529601){const _0x177efe={_0x28d81b:0x20b,_0x49cb88:0x1f4,_0x23f15a:0x1a8,_0x42b78e:0x28b,_0x47ee5d:0x23e,_0x85023a:0x1e8,_0x224ca7:0x1de,_0x2db921:0x230,_0x723bf0:0x1f1,_0x15c630:0x253,_0x44d0b1:0x2dc,_0x2e87cb:0x2b1,_0x58290b:0x299,_0x26ec6e:0x274,_0x2d4011:0x2a4,_0x30cda3:0x1e9,_0x43c6e0:0x239,_0x3d496b:0x270,_0x279eef:0x19b,_0x2dfee1:0x1f9,_0xc46d30:0x27e,_0x289dbe:0x296,_0x4408ee:0x254,_0x2edcd9:0x203,_0x671bac:0x188,_0x53ebdb:0x1b5,_0x57625e:0x19d,_0x7ec520:0x1d3,_0xfed19c:0x2cd,_0x35ce5b:0x2c3,_0x5e662d:0x1f8,_0x4c87b3:0x196,_0x266e16:0x2ba,_0x206e7b:0x21c,_0x52fc85:0x287,_0x2b0d09:0x181,_0x9ef9cf:0x222,_0x42921f:0x239,_0x11bc5c:0x1fd,_0xec3b2e:0x1f2,_0x2c70e1:0x1ee},_0x561976={'izsbB':function(_0xd92d8e,_0x2ab05f){return _0xd92d8e(_0x2ab05f);},'iKNlQ':function(_0x383958,_0x352463){return _0x383958===_0x352463;},'NxqFZ':_0x38a625(-0x185,-0x13a,-0x15d,-0x19f),'bNgzq':function(_0x395f17,_0x4de69a){return _0x395f17(_0x4de69a);},'vcoFs':function(_0x3b8eeb,_0x469ab0,_0x2cf2f2){return _0x3b8eeb(_0x469ab0,_0x2cf2f2);},'eXkys':function(_0x321150,_0x4b0a90){return _0x321150!==_0x4b0a90;},'rdJCM':_0x38a625(-_0x177efe._0x28d81b,-0x1ca,-0x249,-_0x177efe._0x49cb88),'Xjhow':_0x38a625(-0x1fd,-_0x177efe._0x23f15a,-0x1d6,-0x1ce),'jYMRe':function(_0x5d2e48,_0x391613,_0x11758){return _0x5d2e48(_0x391613,_0x11758);},'wLWlT':_0x29d1cd(0x2b9,0x2dd,_0x177efe._0x42b78e,_0x177efe._0x47ee5d),'Wdikl':_0x38a625(-0x1ab,-_0x177efe._0x85023a,-0x1e1,-_0x177efe._0x224ca7),'xdLSn':function(_0x3ca9c5,_0x460357){return _0x3ca9c5===_0x460357;}},_0x332401=await _0x561976['izsbB'](hasAllPermissions,_0x17ad57);if(_0x332401)return!![];const {getTeamsByUserId:_0x329921,getBindingsBySubject:_0x147e91,getRoleById:_0x2c1847,getBindings:_0x3eb3ec}=await d(),_0x4c8f53=await _0x147e91('user',_0x17ad57);for(const _0x2b5c09 of _0x4c8f53){if(_0x561976[_0x29d1cd(_0x177efe._0x2db921,_0x177efe._0x723bf0,0x244,_0x177efe._0x15c630)](_0x2b5c09[_0x29d1cd(0x2a1,0x2bd,_0x177efe._0x44d0b1,0x2f2)+'ype'],_0x561976[_0x29d1cd(_0x177efe._0x2e87cb,_0x177efe._0x58290b,_0x177efe._0x26ec6e,0x22b)])){const _0x4ef6ac=await _0x561976[_0x29d1cd(_0x177efe._0x2d4011,0x261,0x262,0x28d)](_0x2c1847,_0x2b5c09['role_id']);if(_0x4ef6ac&&_0x561976['vcoFs'](hasPermissionInSet,_0x4ef6ac['permission'+'s'],_0x529601))return!![];}}const _0x13c46d=await _0x561976[_0x29d1cd(_0x177efe._0x30cda3,0x27e,_0x177efe._0x43c6e0,_0x177efe._0x3d496b)](_0x329921,_0x17ad57);for(const _0x730194 of _0x13c46d){if(_0x561976['eXkys'](_0x561976[_0x38a625(-0x1dd,-_0x177efe._0x279eef,-_0x177efe._0x2dfee1,-0x1a4)],_0x561976[_0x29d1cd(_0x177efe._0xc46d30,_0x177efe._0x289dbe,_0x177efe._0x4408ee,_0x177efe._0x2edcd9)])){const _0x1f8abd=await _0x561976['jYMRe'](_0x147e91,_0x561976['NxqFZ'],_0x730194['id']);for(const _0x2cea77 of _0x1f8abd){if(_0x561976['iKNlQ'](_0x561976[_0x38a625(-0x1b7,-0x208,-_0x177efe._0x671bac,-0x18c)],_0x561976[_0x38a625(-_0x177efe._0x53ebdb,-_0x177efe._0x57625e,-0x166,-_0x177efe._0x7ec520)]))_0x1b0457[_0x29d1cd(_0x177efe._0xfed19c,0x276,_0x177efe._0x35ce5b,0x2b9)](_0x105d7e)&&_0x3ab990[_0x38a625(-0x1d7,-0x1c4,-_0x177efe._0x5e662d,-_0x177efe._0x4c87b3)](_0x37a817);else{if(_0x561976[_0x29d1cd(_0x177efe._0x266e16,0x216,0x267,_0x177efe._0x206e7b)](_0x2cea77['resource_t'+_0x29d1cd(_0x177efe._0x52fc85,0x27e,0x242,0x20a)],_0x38a625(-0x185,-0x12f,-_0x177efe._0x2b0d09,-0x173))){const _0x1e5911=await _0x561976[_0x29d1cd(_0x177efe._0x9ef9cf,0x260,_0x177efe._0x42921f,_0x177efe._0x11bc5c)](_0x2c1847,_0x2cea77[_0x38a625(-_0x177efe._0xec3b2e,-0x23c,-0x223,-0x1cf)]);if(_0x1e5911&&_0x561976[_0x38a625(-0x1c9,-0x176,-_0x177efe._0x206e7b,-_0x177efe._0x2c70e1)](hasPermissionInSet,_0x1e5911['permission'+'s'],_0x529601))return!![];}}}}else _0x5ce09c[_0x49b414]=[..._0x37de26[_0x73a1a3]];}function _0x38a625(_0x356859,_0x4d6feb,_0xff5200,_0x1b6d39){return _0x1123(_0x356859- -0x2b2,_0xff5200);}function _0x29d1cd(_0x26a482,_0x344e59,_0x1a529c,_0x57700e){return _0x1123(_0x1a529c-0x197,_0x26a482);}return![];}export async function hasPermissionOnAnyEnvironment(_0x3bdeb7,_0xa2bef2){const _0x11785e={_0x4d916c:0x111,_0x57cc8e:0x167,_0x5963a7:0x132,_0x367257:0x117,_0x4844a4:0xf0,_0x59508e:0x178,_0xa9cb92:0xa2,_0x4490d1:0xad},_0x5df134={_0x4aff6c:0x6c},_0x5b1af0={_0x1b960a:0x258};function _0x126ccf(_0x1d117f,_0x461308,_0x59de1d,_0x1be826){return _0x1123(_0x1d117f- -_0x5b1af0._0x1b960a,_0x461308);}const _0xd69713={'zEizb':function(_0x349324,_0x59388c){return _0x349324(_0x59388c);},'RCXrD':function(_0x2424e9,_0x182421){return _0x2424e9(_0x182421);},'fewGs':function(_0x2059c3,_0x3eac03,_0xf46b07){return _0x2059c3(_0x3eac03,_0xf46b07);},'Wvsiw':function(_0x513ab8,_0x898a90,_0x107a2f){return _0x513ab8(_0x898a90,_0x107a2f);}},_0x4789d7=await _0xd69713[_0x126ccf(-_0x11785e._0x4d916c,-_0x11785e._0x57cc8e,-0x104,-_0x11785e._0x5963a7)](hasAllPermissions,_0x3bdeb7);if(_0x4789d7)return!![];function _0x27e077(_0x32c772,_0x2dd2be,_0x21dbba,_0x2b8378){return _0x1123(_0x2b8378- -_0x5df134._0x4aff6c,_0x32c772);}const _0x3a8fc0=await _0xd69713[_0x126ccf(-_0x11785e._0x367257,-0x129,-_0x11785e._0x4844a4,-0xdc)](getVisibleEnvironments,_0x3bdeb7);for(const _0x136509 of _0x3a8fc0){const _0x3c1862=await _0xd69713[_0x126ccf(-_0x11785e._0x59508e,-0x19a,-0x16e,-0x12a)](resolveUserPermissions,_0x3bdeb7,_0x136509);if(_0xd69713[_0x27e077(0xd4,0xc3,_0x11785e._0xa9cb92,_0x11785e._0x4490d1)](hasPermissionInSet,_0x3c1862,_0xa2bef2))return!![];}return![];}export async function resolveUserRoleNames(_0x57ea5c){const _0x357d63={_0x59dd71:0x1aa,_0x27084d:0x3c8,_0x38da17:0x3a4,_0x3f93d8:0x39f,_0x32b983:0x3b1,_0x21b6a0:0x357,_0x3910cf:0x34c,_0x14f8d0:0x30e,_0x3cb1e2:0x3ab,_0x4dbf42:0x3bc},_0x5e8947={_0x336c16:0x2e4},_0x4d7182={'lGpDg':function(_0xcd9702){return _0xcd9702();},'Hreen':function(_0x23a757,_0x527d0e,_0x33385a){return _0x23a757(_0x527d0e,_0x33385a);},'tvVKf':function(_0x305cf5,_0x1eb8ad){return _0x305cf5(_0x1eb8ad);},'EtZSj':_0x59f5d5(-_0x357d63._0x59dd71,-0x1b7,-0x187,-0x171),'eKbXg':function(_0x5a2da0,_0x4adbe4){return _0x5a2da0(_0x4adbe4);}},{getBindingsBySubject:_0x490092,getTeamsByUserId:_0x40cffe,getRoleById:_0x40a0b0}=await _0x4d7182[_0x5b6328(0x386,0x3b3,0x3f0,0x3ce)](d),_0x5d34ec=await _0x4d7182[_0x5b6328(_0x357d63._0x27084d,0x365,_0x357d63._0x38da17,_0x357d63._0x3f93d8)](_0x490092,_0x5b6328(_0x357d63._0x32b983,_0x357d63._0x21b6a0,_0x357d63._0x3910cf,0x393),_0x57ea5c),_0x16e3ed=await _0x4d7182[_0x5b6328(_0x357d63._0x14f8d0,0x39a,0x397,0x365)](_0x40cffe,_0x57ea5c),_0xaa416=[];for(const _0x22ebd2 of _0x16e3ed){const _0x298a9d=await _0x490092(_0x4d7182['EtZSj'],_0x22ebd2['id']);_0xaa416['push'](..._0x298a9d);}function _0x5b6328(_0x546520,_0x1a7e30,_0x2095a6,_0x5595b7){return _0x1123(_0x5595b7-0x2c9,_0x1a7e30);}const _0x17eb38=[..._0x5d34ec,..._0xaa416];function _0x59f5d5(_0x1c48ab,_0x238b32,_0x218d6f,_0x3f26ae){return _0x1123(_0x238b32- -_0x5e8947._0x336c16,_0x1c48ab);}const _0x18ae8f=new Set(_0x17eb38[_0x5b6328(0x380,0x3c6,0x388,0x3bf)](_0x312129=>_0x312129[_0x5b6328(0x3b5,0x39b,0x3a3,0x389)])),_0x369afe=[];for(const _0x361e54 of _0x18ae8f){const _0x5bfaf1=await _0x4d7182['eKbXg'](_0x40a0b0,_0x361e54);if(_0x5bfaf1)_0x369afe['push'](_0x5bfaf1[_0x5b6328(0x34c,_0x357d63._0x3cb1e2,_0x357d63._0x4dbf42,0x36c)]);}return _0x369afe;}export async function wouldRetainServerAdmin({excludeBindingId:_0x5b7a3d,excludeTeamMember:_0x16e0dd,excludeTeamId:_0x775408,replaceTeamMembers:_0x4bf7db}={}){const _0x5929dd={_0xf9ab42:0x265,_0x4bcbc7:0x246,_0x57c06a:0x220,_0x42f497:0x294,_0x253144:0x2c5,_0x59763c:0x2cc,_0x8dd829:0x221,_0x527db8:0x223,_0x4017fe:0x261,_0x86f4cc:0x250,_0x4a2ae8:0x273,_0x9fc5c8:0x2af,_0x581a58:0x297,_0x2bd846:0x224,_0x1e3d17:0x24d,_0xe745df:0x274,_0x1cd823:0x237,_0x20ae7b:0x2ca,_0x117f4e:0x315,_0x20e53d:0x310,_0x43c039:0x2a1,_0x41c685:0x219,_0x374072:0x19b,_0x4e5fe4:0x2ab,_0x462215:0x264,_0x170b32:0x23f,_0x2fef36:0x281,_0x3d5e20:0x24e,_0x3f4e1c:0x26a,_0x4e04dd:0x28e,_0x568272:0x2bc,_0x8ed3d3:0x2c1,_0x33c0cd:0x2c3,_0x699b:0x29c,_0x512654:0x27f,_0xef971a:0x269,_0x28f8cf:0x27c,_0x259ce4:0x2be,_0x41c2a4:0x2d8,_0x4ed5df:0x28d,_0x221b18:0x25b,_0x2b195c:0x2d2,_0x183d91:0x273,_0x3960f7:0x266,_0x5380aa:0x231,_0x4338d2:0x28f,_0x1c84bc:0x209,_0x416f0f:0x221,_0x4cdc3e:0x24b,_0x1bb9f6:0x22f,_0x2898d1:0x1f4,_0x59de44:0x2c2,_0x5012b9:0x279,_0x2cc2ee:0x2b2,_0x2e66d3:0x2c6,_0x409b5d:0x1e6,_0x361b37:0x219,_0x55cec2:0x2a5},_0x4d4860={_0x22cdd2:0x131},_0xaff7e6={_0x16366e:0x1a4},_0x155ecf={'RNhsL':_0x3e5c9f(_0x5929dd._0xf9ab42,0x245,_0x5929dd._0x4bcbc7,_0x5929dd._0x57c06a)+_0x318025(0x2dd,_0x5929dd._0x42f497,0x2db,0x278),'mALHN':'./users.js','igkRp':_0x318025(_0x5929dd._0x253144,_0x5929dd._0x59763c,0x2b0,0x2f8),'bTmwW':function(_0x5b56fc){return _0x5b56fc();},'OJHFt':function(_0x3b323b){return _0x3b323b();},'jlOfi':function(_0x1f5c13,_0x41492a){return _0x1f5c13===_0x41492a;},'PgGvp':function(_0xe29228,_0x2bf4dc){return _0xe29228!==_0x2bf4dc;},'fJJHs':_0x318025(_0x5929dd._0x8dd829,0x26e,_0x5929dd._0x527db8,_0x5929dd._0x4017fe),'xmgLe':'team','kjbRs':function(_0x189fe7,_0x3df405){return _0x189fe7(_0x3df405);}},{getRoleById:_0x230299}=await d(),{getBindings:_0x56785e}=await import(_0x155ecf[_0x318025(_0x5929dd._0x86f4cc,_0x5929dd._0x4a2ae8,0x2b7,_0x5929dd._0x9fc5c8)]);function _0x318025(_0x37800e,_0x1bda2c,_0x2d8616,_0x16c117){return _0x1123(_0x1bda2c-_0xaff7e6._0x16366e,_0x2d8616);}const {getUsers:_0x2f859a}=await import(_0x155ecf['mALHN']),{getTeamById:_0x577708}=await import(_0x155ecf['igkRp']);function _0x3e5c9f(_0x1ba386,_0x560ba9,_0x3e0589,_0x3c3cbb){return _0x1123(_0x3e0589-_0x4d4860._0x22cdd2,_0x560ba9);}const _0x25bbfb=await _0x155ecf[_0x3e5c9f(_0x5929dd._0x581a58,_0x5929dd._0x2bd846,_0x5929dd._0x1e3d17,_0x5929dd._0xe745df)](_0x56785e),_0x37007c=await _0x155ecf[_0x3e5c9f(0x20e,0x25e,0x213,_0x5929dd._0x1cd823)](_0x2f859a),_0x463a02=[];for(const _0x16e638 of _0x25bbfb){if(_0x5b7a3d&&_0x155ecf[_0x318025(0x2f8,0x2be,_0x5929dd._0x20ae7b,0x2c2)](_0x16e638['id'],_0x5b7a3d))continue;if(_0x155ecf[_0x318025(0x2ba,0x2da,_0x5929dd._0x117f4e,0x2df)](_0x16e638[_0x318025(_0x5929dd._0x20e53d,0x2e9,_0x5929dd._0x43c039,0x2e4)+_0x3e5c9f(0x219,_0x5929dd._0x41c685,0x1dc,_0x5929dd._0x374072)],'server'))continue;const _0x56e5df=await _0x230299(_0x16e638[_0x318025(_0x5929dd._0x4e5fe4,_0x5929dd._0x462215,_0x5929dd._0x170b32,_0x5929dd._0x2fef36)]);if(!_0x56e5df||!_0x56e5df[_0x318025(0x284,0x269,_0x5929dd._0x3d5e20,_0x5929dd._0x3f4e1c)+'s'][_0x318025(0x27f,0x291,0x272,_0x5929dd._0x4e04dd)]('*'))continue;_0x463a02[_0x318025(_0x5929dd._0x568272,_0x5929dd._0x8ed3d3,0x2a3,0x270)](_0x16e638);}for(const _0x26808f of _0x463a02){if(_0x26808f[_0x318025(0x317,_0x5929dd._0x33c0cd,0x291,_0x5929dd._0x699b)+'pe']===_0x155ecf[_0x318025(_0x5929dd._0x512654,_0x5929dd._0x9fc5c8,_0x5929dd._0xef971a,0x2af)]){if(_0x37007c[_0x3e5c9f(_0x5929dd._0x28f8cf,0x292,0x269,0x242)](_0x237873=>_0x237873['id']===_0x26808f[_0x3e5c9f(0x21b,0x282,0x24f,0x22a)]))return!![];}if(_0x155ecf[_0x318025(0x2c3,_0x5929dd._0x259ce4,_0x5929dd._0x41c2a4,0x2e6)](_0x26808f['subject_ty'+'pe'],_0x155ecf[_0x3e5c9f(_0x5929dd._0x4ed5df,_0x5929dd._0xef971a,_0x5929dd._0x221b18,0x287)])){if(_0x775408&&_0x155ecf['jlOfi'](_0x26808f[_0x318025(0x2f7,0x2c2,_0x5929dd._0x2b195c,0x2de)],_0x775408))continue;const _0x4ce842=await _0x155ecf[_0x318025(0x336,0x2e3,0x2ff,0x309)](_0x577708,_0x26808f[_0x3e5c9f(_0x5929dd._0x183d91,0x29a,0x24f,_0x5929dd._0x3960f7)]);if(!_0x4ce842)continue;let _0x424897=_0x4ce842[_0x318025(_0x5929dd._0x5380aa,_0x5929dd._0x3d5e20,0x255,_0x5929dd._0x4338d2)]||[];_0x16e0dd&&_0x155ecf[_0x3e5c9f(_0x5929dd._0x1c84bc,_0x5929dd._0x416f0f,_0x5929dd._0x4cdc3e,_0x5929dd._0x183d91)](_0x16e0dd[_0x3e5c9f(0x25c,0x20c,_0x5929dd._0x1bb9f6,_0x5929dd._0x2898d1)],_0x26808f[_0x318025(_0x5929dd._0x4a2ae8,_0x5929dd._0x59de44,_0x5929dd._0x5012b9,0x2a1)])&&(_0x424897=_0x424897['filter'](_0x55be7f=>_0x55be7f!==_0x16e0dd['userId']));_0x4bf7db&&_0x155ecf[_0x318025(_0x5929dd._0x2cc2ee,0x2be,0x2f8,_0x5929dd._0x2e66d3)](_0x4bf7db[_0x3e5c9f(_0x5929dd._0x409b5d,0x21c,0x22f,_0x5929dd._0x361b37)],_0x26808f[_0x3e5c9f(_0x5929dd._0x55cec2,0x25e,0x24f,0x244)])&&(_0x424897=_0x4bf7db['members']||[]);if(_0x424897['length']>-0x1a*-0x175+0xac1+-0x30a3)return!![];}}return![];}
@@ -1 +1 @@
1
- function _0x4ddd(){const _0x4e2b98=['sNvur0m','mZK1otG5B3LLtLPh','zgvSzxrL','Bu9IyKq','mZe0ntG2Au5vAxrw','z2v0','t3bmBLe','yLj6zKy','twfeC3y','ChvZAa','mtuWtKPSEhDX','AxnqAw5Uzwq','zw50CMLLCW','AgfZ','DKH1A2i','wKPqB0O','DgfZA1r5Cgu','DgfZA0LKC1rVqW','B3vWswrZ','wwDpwxG','qxneCxy','ywzMzwn0zwrhCG','ntqZodC3zNHHD0Dw','B3jPz2LUywXhCG','B2jQzwn0AxzL','mZa4mJq0ChnXuxzo','s0f6D1a','r0rmBKK','thvTAwW','sMj0qKG','ote0oduXC1HUt3j4','EfjptKK','suHQDeG','mZi2mZq2vuT4wwvA','uLHOteu','mZCXnta1nMLqwerfCW','s2Lnv3C','A0HZwfG','CgfYzw50t2jQzq','z3jVDxbjza','t3LAA0C','C2L6zq','DKfgBM4','y3rPDMvjza','B25ZAwrLCG','Bef4Beu','tejjt0i','C291CMnLt2jQzq','mZbyCwfmrgS','mZjSrw56r2C','mNHdBKjnwq','ANvKz2u','wMzIuuW','qxjMD0m','ywrK','C3rHDhvZ','B3vWswq'];_0x4ddd=function(){return _0x4e2b98;};return _0x4ddd();}function _0xa829(_0x5d61eb,_0x329c2e){_0x5d61eb=_0x5d61eb-(-0x309*0x7+0x1009+0x60f);const _0x5be2e4=_0x4ddd();let _0x1011bf=_0x5be2e4[_0x5d61eb];if(_0xa829['EWhfDR']===undefined){var _0x3888e0=function(_0x56ec9c){const _0x5e411c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xe5caac='',_0xe81a46='';for(let _0x3e75d9=0x1*0x243a+0xf1*-0xd+-0x7ff*0x3,_0x23af2f,_0x32daf7,_0x5e8492=-0x204d*-0x1+0xb*-0xe3+-0x34*0x6f;_0x32daf7=_0x56ec9c['charAt'](_0x5e8492++);~_0x32daf7&&(_0x23af2f=_0x3e75d9%(-0x153e+0xf76+0x1c*0x35)?_0x23af2f*(0x2*0x52c+-0x1*-0x243d+0x1d*-0x199)+_0x32daf7:_0x32daf7,_0x3e75d9++%(-0x1*-0x182+-0x1*-0xaad+-0x59*0x23))?_0xe5caac+=String['fromCharCode'](0x26f1*0x1+-0x25d8+-0x1a&_0x23af2f>>(-(-0x994*0x1+-0x1a4c+-0x6*-0x5fb)*_0x3e75d9&-0x5*0x2f5+0x3*-0x246+0x15a1)):0x1379+0xa*0x39f+-0x37af){_0x32daf7=_0x5e411c['indexOf'](_0x32daf7);}for(let _0x44b084=-0xcd+0x254a+-0x247d,_0x3646f2=_0xe5caac['length'];_0x44b084<_0x3646f2;_0x44b084++){_0xe81a46+='%'+('00'+_0xe5caac['charCodeAt'](_0x44b084)['toString'](-0x25f*-0xb+0x34a*0x3+-0x23e3))['slice'](-(-0x61*0x40+-0x53*-0x3+-0x1*-0x1749));}return decodeURIComponent(_0xe81a46);};_0xa829['rEsSrY']=_0x3888e0,_0xa829['UcWZWR']={},_0xa829['EWhfDR']=!![];}const _0x2c35a8=_0x5be2e4[-0x403*0x2+0x89*0x22+0x3*-0x364],_0x17b029=_0x5d61eb+_0x2c35a8,_0x22662d=_0xa829['UcWZWR'][_0x17b029];return!_0x22662d?(_0x1011bf=_0xa829['rEsSrY'](_0x1011bf),_0xa829['UcWZWR'][_0x17b029]=_0x1011bf):_0x1011bf=_0x22662d,_0x1011bf;}(function(_0x4acfeb,_0x3aefe3){const _0x140dd7={_0x1290b0:0x44c,_0x37ded6:0x431,_0x538c4b:0x6d,_0x3e2b6b:0x53,_0x3b2e09:0x75,_0x5b6c2a:0x7d,_0x170f6b:0x87,_0x4624fb:0x7d,_0x12f6a0:0x66,_0xd05c02:0x6f,_0x3bba57:0x7e,_0x339db3:0x80,_0x5ec381:0x88,_0x173157:0x75,_0x5531df:0x456,_0x41109f:0x79,_0x80b751:0x7b,_0x55b5b5:0x8c,_0x223c81:0x457,_0x343b5b:0x463},_0x23e6f1={_0x32cbae:0x16d},_0x17c544=_0x4acfeb();function _0x4f1d77(_0x4db448,_0x33eba8,_0x2da91b,_0x20da65){return _0xa829(_0x33eba8- -_0x23e6f1._0x32cbae,_0x4db448);}function _0x3e48b4(_0x26118b,_0x283b25,_0x22822a,_0x39f2d7){return _0xa829(_0x283b25-0x345,_0x22822a);}while(!![]){try{const _0x5eae92=-parseInt(_0x3e48b4(0x44c,0x432,_0x140dd7._0x1290b0,_0x140dd7._0x37ded6))/(0x1*-0xc6+-0x131b*0x1+0x13e2)*(-parseInt(_0x4f1d77(-_0x140dd7._0x538c4b,-0x64,-0x6a,-_0x140dd7._0x3e2b6b))/(-0x7f*0x3b+0x2443*0x1+-0x6fc))+-parseInt(_0x4f1d77(-0x84,-_0x140dd7._0x3b2e09,-_0x140dd7._0x5b6c2a,-0x6e))/(-0x24ac+0x1ec3+0x5ec)+-parseInt(_0x4f1d77(-_0x140dd7._0x170f6b,-_0x140dd7._0x4624fb,-0x69,-0x70))/(-0x1*-0x1a02+-0x875*0x4+0x2*0x3eb)+-parseInt(_0x4f1d77(-0x4a,-_0x140dd7._0x12f6a0,-0x56,-_0x140dd7._0xd05c02))/(-0x1*-0xbbf+-0xafd+-0xbd*0x1)*(-parseInt(_0x4f1d77(-_0x140dd7._0x3bba57,-0x92,-_0x140dd7._0x339db3,-_0x140dd7._0x5ec381))/(-0x2*0x4e1+0x1d53*-0x1+0xd09*0x3))+parseInt(_0x4f1d77(-_0x140dd7._0x3bba57,-0x78,-0x69,-_0x140dd7._0x173157))/(0x2154*0x1+0xce7+-0x2*0x171a)*(-parseInt(_0x3e48b4(0x436,0x44d,_0x140dd7._0x5531df,0x432))/(0x1d20+0x1*-0x13c+0x6f7*-0x4))+-parseInt(_0x4f1d77(-0x5b,-0x73,-0x5e,-_0x140dd7._0x41109f))/(-0x672+0xd3*-0x25+0x2*0x127d)+parseInt(_0x4f1d77(-_0x140dd7._0x80b751,-_0x140dd7._0x55b5b5,-0xa5,-0x95))/(-0x25fe+0x5e3*-0x4+-0xf65*-0x4)*(parseInt(_0x3e48b4(_0x140dd7._0x223c81,_0x140dd7._0x5531df,_0x140dd7._0x343b5b,0x464))/(0x1*0x772+0x109f*-0x2+0x19d7));if(_0x5eae92===_0x3aefe3)break;else _0x17c544['push'](_0x17c544['shift']());}catch(_0x5f1dc4){_0x17c544['push'](_0x17c544['shift']());}}}(_0x4ddd,-0xc7b9*-0x4+-0xa399+0x1*0x1beee));export function collectObjectiveCascadeUnpinTargets(_0x5687b5,_0x5bb13f){const _0x5400af={_0x203295:0x3d,_0xa1a89f:0x41,_0x154ccb:0x2a,_0x38603d:0x16,_0x3d3fe5:0x1f,_0x5bc056:0x3e,_0x401436:0x2e,_0x528f0c:0xb,_0x12171a:0x23,_0x1540e4:0x4,_0x4c63e3:0x1b,_0x1a555c:0x1a,_0x4cb923:0x17,_0x487d0c:0x2f,_0x48101e:0x1e,_0x321f60:0x2,_0x48d974:0x4f,_0x3ea7d1:0x35,_0x3b883f:0x14,_0x1ea3fc:0x14,_0x156cd8:0x2d,_0x4e463b:0x9,_0x278aa2:0x14,_0x9df241:0x21,_0x4e75b6:0x13,_0x9ce2fd:0x10,_0x4dd43e:0x18,_0x4f893e:0xf,_0x309fea:0x44,_0x54614a:0x6,_0x2c647c:0x1b,_0x585f9b:0x3,_0x15f636:0x0,_0x431573:0x14,_0x32aab0:0x3e,_0x5bacb4:0x20,_0x250f67:0x21,_0x1a6d27:0x11,_0x1040b8:0x12,_0x438bd0:0x33,_0xcb0e48:0x1c,_0x54e946:0x20,_0x3bda31:0x2c,_0x105932:0xd,_0x200e28:0x34,_0xae8f59:0xd,_0x2226a4:0x30,_0x300740:0x15,_0xc58e9d:0x48,_0x4aa806:0x25,_0x4b35e3:0x39,_0x3efcc9:0x2f,_0xdc5a8b:0x42,_0x1d9201:0x38},_0x4babd1={_0x55ee66:0xee},_0x15b294={_0x1d10a9:0x121},_0xfde167={_0x387158:0x47e,_0x58b9ab:0x472,_0x449370:0x1e2,_0x2aa53c:0x1b9,_0x5533b7:0x1c8,_0x1e79d1:0x1bb,_0x19a2f4:0x1c7,_0x4de5be:0x46a,_0x16c4f7:0x474,_0x49dc03:0x492,_0x17489e:0x195,_0x25f5a4:0x1ae,_0x303444:0x1a6,_0x1a9cb3:0x1b6,_0x37d389:0x199,_0x44a828:0x1c9,_0x3bd4a7:0x1ec,_0x3a13ed:0x489,_0x2b1b83:0x1a3,_0x42413b:0x4a8,_0x3ac804:0x1bd,_0x2e4052:0x1b4,_0xcefd8b:0x1a7,_0x11e560:0x1a2,_0x2df7a8:0x196,_0x170a89:0x1cd,_0x539d4e:0x1ba,_0x3bb34e:0x1d0,_0x3af287:0x1ae,_0x17832b:0x1d7,_0x1e5644:0x1e7,_0x140308:0x1c4,_0x16524c:0x1ae},_0x108c24={'vHukb':function(_0x272bf6,_0x4e492c){return _0x272bf6===_0x4e492c;},'ZcAMA':_0x31035a(-0x27,-_0x5400af._0x203295,-_0x5400af._0xa1a89f,-_0x5400af._0x154ccb),'YgOYx':function(_0x1b792c,_0x2f1fd1){return _0x1b792c===_0x2f1fd1;},'OyZkG':_0x31035a(-0x45,-_0x5400af._0x38603d,-_0x5400af._0x3d3fe5,-0x32),'LBIOB':function(_0x22d08e,_0x1a3e3d){return _0x22d08e(_0x1a3e3d);},'GDLnI':_0x31035a(-0x40,-_0x5400af._0x5bc056,-_0x5400af._0x401436,-0x36),'fijsl':function(_0x474b4f,_0x4eb530){return _0x474b4f===_0x4eb530;}},_0x59aaac=new Set(),_0x489fd0=new Set(),_0xa3ebda=_0xdfcf9e=>{const _0x16b829={_0xf23ab4:0x173};function _0x12ef42(_0x3fda53,_0x38d9a5,_0x1d19ab,_0x2b6e81){return _0xb0206e(_0x3fda53-0x475,_0x1d19ab,_0x1d19ab-0x187,_0x2b6e81-_0x16b829._0xf23ab4);}function _0x40fe58(_0x1aa055,_0x262eb2,_0x57aa33,_0x48a6ec){return _0xb0206e(_0x262eb2- -0x1cd,_0x48a6ec,_0x57aa33-0x99,_0x48a6ec-0x1d8);}for(const [_0x5c5c38,_0x225417]of _0x5687b5['entries']()){if(_0x108c24['vHukb'](_0x108c24['ZcAMA'],_0x12ef42(_0xfde167._0x387158,_0xfde167._0x58b9ab,0x496,0x488))){_0x108c24[_0x40fe58(-_0xfde167._0x449370,-0x1d6,-_0xfde167._0x2aa53c,-_0xfde167._0x5533b7)](_0x225417?.[_0x40fe58(-0x1cc,-0x1be,-0x1da,-0x1ca)+_0x40fe58(-0x1b7,-0x1b9,-_0xfde167._0x1e79d1,-_0xfde167._0x19a2f4)],_0xdfcf9e)&&_0x108c24['YgOYx'](_0x225417?.['status'],_0x108c24[_0x12ef42(0x486,_0xfde167._0x4de5be,_0xfde167._0x16c4f7,_0xfde167._0x49dc03)])&&(_0x59aaac[_0x40fe58(-_0xfde167._0x17489e,-_0xfde167._0x25f5a4,-0x1c5,-_0xfde167._0x303444)](_0x5c5c38),_0x108c24[_0x40fe58(-0x1c8,-_0xfde167._0x1a9cb3,-_0xfde167._0x37d389,-_0xfde167._0x44a828)](_0xa3ebda,_0x5c5c38));if(_0x108c24[_0x40fe58(-_0xfde167._0x3bd4a7,-0x1d1,-0x1d5,-0x1c5)](_0x225417?.[_0x12ef42(0x48d,0x48f,_0xfde167._0x387158,_0xfde167._0x3a13ed)+_0x40fe58(-0x1b4,-0x1b9,-0x1cd,-_0xfde167._0x2b1b83)],_0xdfcf9e)){_0x59aaac[_0x12ef42(0x494,_0xfde167._0x42413b,0x484,0x4b0)](_0x5c5c38);if(_0x225417[_0x40fe58(-0x1cd,-_0xfde167._0x3ac804,-_0xfde167._0x2e4052,-_0xfde167._0xcefd8b)])_0x489fd0[_0x40fe58(-0x1b2,-_0xfde167._0x25f5a4,-_0xfde167._0x11e560,-_0xfde167._0x2df7a8)](_0x225417['groupId']);if(_0x225417[_0x40fe58(-0x1b1,-_0xfde167._0x170a89,-_0xfde167._0x539d4e,-_0xfde167._0x3bb34e)+'oupId'])_0x489fd0[_0x40fe58(-_0xfde167._0x37d389,-_0xfde167._0x3af287,-0x196,-0x1bd)](_0x225417[_0x40fe58(-_0xfde167._0x17832b,-_0xfde167._0x170a89,-_0xfde167._0x1e5644,-_0xfde167._0x140308)+'oupId']);}}else _0x390e94[_0x40fe58(-0x1b2,-_0xfde167._0x16524c,-0x1c8,-0x19f)](_0x5f5548);}};_0x108c24['LBIOB'](_0xa3ebda,_0x5bb13f);function _0x31035a(_0x45f66c,_0x1ec112,_0x4bc589,_0x2941d3){return _0xa829(_0x2941d3- -_0x15b294._0x1d10a9,_0x45f66c);}if(_0x489fd0[_0xb0206e(0x12,0x2c,0x2a,-0x8)]>-0x1*0x14ff+0x202*-0x8+0x250f)for(const [_0x403103,_0x383f84]of _0x5687b5[_0xb0206e(-_0x5400af._0x528f0c,-0x26,-_0x5400af._0x12171a,-0x4)]()){if(_0x108c24[_0xb0206e(-_0x5400af._0x1540e4,-_0x5400af._0x4c63e3,-0x1,0x18)](_0x108c24[_0x31035a(-0x49,-_0x5400af._0x1a555c,-_0x5400af._0x4cb923,-_0x5400af._0x487d0c)],_0xb0206e(_0x5400af._0x48101e,0x1d,0x12,_0x5400af._0x321f60))){_0x108c24[_0x31035a(-_0x5400af._0x48d974,-0x26,-_0x5400af._0x3ea7d1,-0x3c)](_0x5be2f5?.[_0xb0206e(0xf,0xd,_0x5400af._0x3b883f,-0xb)+_0xb0206e(_0x5400af._0x1ea3fc,_0x5400af._0x156cd8,0x1f,-0x3)],_0x295c01)&&_0x108c24[_0xb0206e(-_0x5400af._0x4e463b,-_0x5400af._0x278aa2,0x1,-_0x5400af._0x9df241)](_0x3c4ee5?.[_0x31035a(-0x1b,0x2,0x6,-_0x5400af._0x4e75b6)],_0x108c24[_0xb0206e(0x11,_0x5400af._0x3d3fe5,_0x5400af._0x9ce2fd,_0x5400af._0x4dd43e)])&&(_0x12171e[_0xb0206e(_0x5400af._0x3d3fe5,0x3a,_0x5400af._0x401436,_0x5400af._0x4f893e)](_0x30e0a2),_0x351212(_0x16b93a));if(_0x108c24[_0x31035a(-0x1c,-0x25,-_0x5400af._0x309fea,-0x37)](_0x20c7b6?.[_0x31035a(-_0x5400af._0x54614a,-0x2d,-0x38,-_0x5400af._0x2c647c)+_0x31035a(-0x28,-0x4,-0x17,-_0x5400af._0x3d3fe5)],_0x2accb3)){_0x484b16[_0x31035a(-0x2,-0x24,-_0x5400af._0x585f9b,-0x14)](_0xe33c65);if(_0x36cf05['groupId'])_0x27ae77[_0x31035a(_0x5400af._0x15f636,-0x23,-0x2d,-_0x5400af._0x431573)](_0x25e575[_0x31035a(-0x17,-_0x5400af._0x32aab0,-0x13,-0x23)]);if(_0x45e524[_0x31035a(-0x3e,-0x46,-_0x5400af._0x5bacb4,-0x33)+_0xb0206e(_0x5400af._0x250f67,_0x5400af._0x1a6d27,0x4,_0x5400af._0x4f893e)])_0x3fe016[_0xb0206e(0x1f,_0x5400af._0x1040b8,_0x5400af._0x48101e,0x29)](_0x90f149[_0x31035a(-0x4a,-0x42,-_0x5400af._0x438bd0,-0x33)+'oupId']);}}else{if(!_0x383f84)continue;const _0x33d432=_0x383f84[_0xb0206e(-0x7,-0x1d,_0x5400af._0x3b883f,-0x11)]===_0xb0206e(_0x5400af._0xcb0e48,_0x5400af._0x54e946,_0x5400af._0x3bda31,0x37)||_0x108c24['fijsl'](_0x383f84['isJudgeTas'+'k'],!![]);if(!_0x33d432)continue;const _0x4083ab=_0x383f84[_0x31035a(-0x28,-_0x5400af._0x105932,-0x3f,-0x23)]||_0x383f84[_0x31035a(-0x31,-0x31,-_0x5400af._0x200e28,-0x33)+'oupId'];_0x4083ab&&_0x489fd0[_0xb0206e(-0xa,-_0x5400af._0xae8f59,-0x22,-0x15)](_0x4083ab)&&_0x59aaac[_0xb0206e(_0x5400af._0x3d3fe5,_0x5400af._0x2226a4,_0x5400af._0x300740,_0x5400af._0x4f893e)](_0x403103);}}_0x59aaac[_0x31035a(-0x38,-0x61,-0x50,-_0x5400af._0xc58e9d)](_0x5bb13f);const _0x39f074={};_0x39f074[_0x31035a(-_0x5400af._0x154ccb,-_0x5400af._0x4aa806,-0x50,-_0x5400af._0x4b35e3)+_0xb0206e(0x15,0x29,0x2f,_0x5400af._0x5bacb4)]=_0x59aaac;function _0xb0206e(_0x56e6ee,_0x2b8018,_0x5763d6,_0x392063){return _0xa829(_0x56e6ee- -_0x4babd1._0x55ee66,_0x2b8018);}return _0x39f074[_0x31035a(-0x18,-0x1e,-0x41,-0x35)+_0x31035a(-_0x5400af._0x48d974,-_0x5400af._0x3efcc9,-_0x5400af._0xdc5a8b,-_0x5400af._0x1d9201)]=_0x489fd0,_0x39f074;}export function findJudgeTasksForGroup(_0x4e05ec,_0x5111f3){const _0x538d06={_0x2e0e91:0x234,_0x30348e:0x22d,_0x4230d0:0x21d,_0x3ebebd:0x225,_0x3cb42f:0x265,_0x184615:0x259,_0x573122:0x264,_0x24630c:0x129,_0x19dec6:0x139,_0x25f276:0x153,_0x560ec0:0x146,_0x45bbfc:0x122,_0x4ba0af:0x11a,_0x34e9d0:0x23d,_0x2dd72d:0x254,_0x3f4923:0x24a,_0x4952a6:0x24f,_0x419b17:0x24c,_0x15ec62:0x224,_0x2591cc:0x21b,_0x34a0fc:0x236,_0x25e2e7:0x23b,_0x254005:0x23a,_0x12cce6:0x253,_0x18f66f:0x259,_0xf3e6:0x106,_0x578d2d:0x102},_0x290117={_0x9ed11b:0x220},_0x4b4eb1={_0x276c1f:0x338},_0x40f760={};_0x40f760['MaDsv']=function(_0x5573a6,_0xcb80a5){return _0x5573a6===_0xcb80a5;},_0x40f760['KiMWw']=function(_0x4c5ac2,_0x5ee105){return _0x4c5ac2===_0x5ee105;},_0x40f760['OpLnQ']=function(_0x3e33f7,_0x3db264){return _0x3e33f7===_0x3db264;},_0x40f760['vAFnn']=_0xdab183(-_0x538d06._0x2e0e91,-_0x538d06._0x30348e,-0x21f,-0x24d);function _0xdab183(_0x27bbcb,_0x30822e,_0x1a9bbf,_0x47efba){return _0xa829(_0x27bbcb- -_0x4b4eb1._0x276c1f,_0x1a9bbf);}_0x40f760[_0xdab183(-0x228,-_0x538d06._0x4230d0,-_0x538d06._0x3ebebd,-0x220)]='TPaih';const _0x558968=_0x40f760,_0x5afcb6=new Set();if(!_0x5111f3)return _0x5afcb6;function _0x3b52d8(_0x2fbde3,_0xfec662,_0x1f0e12,_0x2480f6){return _0xa829(_0xfec662- -_0x290117._0x9ed11b,_0x2fbde3);}for(const [_0x458e57,_0x14b556]of _0x4e05ec['entries']()){if(!_0x14b556)continue;const _0x5486b1=_0x558968[_0xdab183(-0x259,-_0x538d06._0x3cb42f,-_0x538d06._0x184615,-_0x538d06._0x573122)](_0x14b556[_0x3b52d8(-_0x538d06._0x24630c,-_0x538d06._0x19dec6,-_0x538d06._0x25f276,-_0x538d06._0x560ec0)],_0x3b52d8(-_0x538d06._0x45bbfc,-0x116,-_0x538d06._0x4ba0af,-0x12b))||_0x558968[_0xdab183(-_0x538d06._0x34e9d0,-0x249,-0x255,-_0x538d06._0x2dd72d)](_0x14b556['isJudgeTas'+'k'],!![]);if(!_0x5486b1)continue;const _0x24a535=_0x14b556['groupId']||_0x14b556[_0xdab183(-_0x538d06._0x3f4923,-0x23c,-_0x538d06._0x4952a6,-_0x538d06._0x419b17)+_0xdab183(-0x229,-_0x538d06._0x15ec62,-_0x538d06._0x2591cc,-0x22c)];if(_0x558968[_0x3b52d8(-0x152,-0x143,-0x13d,-0x12d)](_0x24a535,_0x5111f3)){if(_0x558968['MaDsv'](_0x558968[_0xdab183(-0x237,-0x24a,-_0x538d06._0x34a0fc,-0x241)],_0x558968[_0xdab183(-0x228,-0x20f,-_0x538d06._0x25e2e7,-_0x538d06._0x254005)])){const _0x5b4556=_0x27cb69[_0xdab183(-0x25c,-_0x538d06._0x12cce6,-_0x538d06._0x18f66f,-0x272)](_0x271ca8);_0x5b4556?.[_0x3b52d8(-0x11b,-0x11a,-_0x538d06._0xf3e6,-_0x538d06._0x578d2d)+'ctiveId']&&_0x5c4b06['add'](_0x5b4556['sourceObje'+'ctiveId']);}else _0x5afcb6[_0xdab183(-0x22b,-0x244,-0x21f,-_0x538d06._0x30348e)](_0x458e57);}}return _0x5afcb6;}export function findOrphanedAncestorObjectives(_0x37040f,_0x113093){const _0x258e18={_0x438e2f:0x13e,_0x447827:0x13d,_0xc4aa45:0x151,_0x758b7b:0xb0,_0x3f2344:0xcb,_0x53c57d:0xe5,_0xcf1882:0xdf,_0x2c94b8:0xc0,_0x557a24:0x13b,_0x161612:0x120,_0x52de7b:0x14d,_0x412565:0x144,_0x451ade:0xb9,_0x5db09f:0xc8,_0x5c7704:0xb2,_0x56695c:0xc9,_0x5b0284:0x15f,_0x387954:0x163,_0x452420:0x13f,_0x38b67e:0xda,_0x554a8f:0xfb,_0x3a557f:0xf9},_0x96f968={_0x16a227:0x462,_0x30ee06:0x496,_0x22b898:0x47a,_0x52ab64:0x470,_0x356593:0x76,_0x5545fc:0x83,_0x5bbc64:0x8f,_0x5eed49:0x6c,_0x1d281d:0x54,_0x27ea92:0x5e,_0x21f452:0x44,_0x34209a:0x6a,_0x1639a0:0x79,_0x324dfd:0x60,_0x4b0ad2:0x485,_0x1f4a52:0x46d,_0x3a66b9:0x47d,_0xcf22af:0x45f,_0x514ad6:0x479,_0x327068:0x471,_0x58d175:0x489,_0x1a7c31:0x68,_0x57a7bb:0x46b,_0x5a04c8:0x493,_0x34deca:0x49c,_0x599307:0x4c,_0x480e9b:0x64,_0x4552c0:0x47a,_0x514607:0x81,_0x4d482a:0xa1,_0x1cb8ae:0x8f,_0x1b90ed:0x48a,_0x32c971:0x89,_0x33346f:0x90,_0x55be29:0x494,_0xe74abc:0x47a,_0xed307c:0x494,_0x1d1945:0x59,_0x222121:0x5f,_0xf2a7bc:0x49d,_0x35fe37:0x4a1,_0x137a1b:0x48c,_0x458440:0x492,_0xae524b:0x88,_0x1b6ebc:0x89,_0x66b722:0x7b,_0x1d1bad:0x484,_0x28d8cd:0x46c,_0x2fea16:0x476,_0x1db1ac:0x45b,_0x43ada4:0x8d,_0x219a19:0x8f,_0xc16b24:0x4ad,_0x873785:0x494},_0x292a19={_0x3af1f3:0x1d,_0x52308b:0x1e5},_0x5732a6={'bRzfF':function(_0x287a55,_0x14bf13){return _0x287a55!==_0x14bf13;},'uFWbw':function(_0xb80056,_0x2ba61b){return _0xb80056===_0x2ba61b;},'KAzwP':function(_0x14b8ae,_0xffe06e){return _0x14b8ae===_0xffe06e;},'lVueV':'objective','mObbD':function(_0x5d4659,_0x1f3ee6){return _0x5d4659&&_0x1f3ee6;},'JbtBH':function(_0x2462a4,_0x48296a){return _0x2462a4===_0x48296a;},'kHsXX':_0x355102(_0x258e18._0x438e2f,_0x258e18._0x447827,_0x258e18._0xc4aa45,0x149),'xRONI':'QrlrZ','ZfbQL':'uvbWF','ZJPoJ':function(_0x4e1824,_0x11eda4){return _0x4e1824(_0x11eda4);}},_0x42c7c3=new Set(_0x113093),_0x3fe246=[],_0x5d3041=new Set(),_0x4e678d=new Set();for(const _0x21471f of _0x113093){const _0x36a695=_0x37040f['get'](_0x21471f);_0x36a695?.[_0x355102(0x14b,0x15e,0x158,0x15e)+_0x2be066(-0xdc,-_0x258e18._0x758b7b,-_0x258e18._0x3f2344,-_0x258e18._0x53c57d)]&&(_0x5732a6[_0x2be066(-0xc2,-_0x258e18._0xcf1882,-0xdc,-_0x258e18._0x2c94b8)](_0x5732a6[_0x355102(_0x258e18._0x557a24,_0x258e18._0x161612,_0x258e18._0x52de7b,0x139)],_0x5732a6[_0x355102(0x150,_0x258e18._0x412565,0x15a,0x14a)])?_0x58b692[_0x2be066(-_0x258e18._0x451ade,-0xbf,-_0x258e18._0x2c94b8,-0xd4)](_0x48b6cd[_0x2be066(-_0x258e18._0x5db09f,-_0x258e18._0x5c7704,-0xc7,-_0x258e18._0x56695c)+'ctiveId']):_0x4e678d[_0x355102(0x152,0x169,_0x258e18._0x5b0284,0x14d)](_0x36a695['sourceObje'+_0x355102(0x147,0x142,_0x258e18._0x387954,_0x258e18._0x452420)]));}function _0x2be066(_0x523def,_0x5decce,_0xa56602,_0x3cc148){return _0xa829(_0xa56602- -0x1cd,_0x3cc148);}const _0xab789a=_0x121aec=>{const _0x24fccc={_0x475aa9:0xc3};if(_0x5d3041[_0x9d603c(_0x96f968._0x16a227,_0x96f968._0x30ee06,_0x96f968._0x22b898,_0x96f968._0x52ab64)](_0x121aec))return;_0x5d3041[_0x3c3fda(0x73,_0x96f968._0x356593,_0x96f968._0x5545fc,_0x96f968._0x5bbc64)](_0x121aec);const _0x3bc2a5=_0x37040f[_0x3c3fda(_0x96f968._0x5eed49,_0x96f968._0x1d281d,0x67,_0x96f968._0x27ea92)](_0x121aec);if(!_0x3bc2a5||_0x5732a6[_0x3c3fda(_0x96f968._0x21f452,_0x96f968._0x34209a,_0x96f968._0x1639a0,_0x96f968._0x324dfd)](_0x3bc2a5['status'],_0x9d603c(0x478,0x4a0,_0x96f968._0x4b0ad2,_0x96f968._0x1f4a52))||!_0x3bc2a5[_0x9d603c(_0x96f968._0x3a66b9,0x45d,0x478,_0x96f968._0xcf22af)])return;let _0xf6b94=![];for(const [_0x445562,_0x548fb6]of _0x37040f[_0x9d603c(_0x96f968._0x514ad6,_0x96f968._0x327068,_0x96f968._0x514ad6,0x471)]()){if(_0x5732a6['uFWbw'](_0x9d603c(0x491,0x497,_0x96f968._0x58d175,0x478),_0x3c3fda(0x85,_0x96f968._0x1a7c31,0x66,0x75))){if(_0x5732a6[_0x9d603c(0x46a,0x49c,0x487,_0x96f968._0x57a7bb)](_0x548fb6?.[_0x9d603c(0x4b4,_0x96f968._0x5a04c8,_0x96f968._0x34deca,0x48b)+'ctiveId'],_0x121aec)&&_0x548fb6[_0x3c3fda(_0x96f968._0x599307,0x48,0x6b,_0x96f968._0x480e9b)]&&!_0x42c7c3[_0x9d603c(0x47d,0x47b,_0x96f968._0x4552c0,0x47b)](_0x445562)){_0xf6b94=!![];break;}}else _0x5d61eb[_0x3c3fda(0xa9,_0x96f968._0x514607,_0x96f968._0x4d482a,_0x96f968._0x1cb8ae)](_0x329c2e),_0x5be2e4(_0x1011bf);}function _0x3c3fda(_0x1c55ac,_0x2af341,_0x13bcd4,_0x16e9dd){return _0x355102(_0x16e9dd- -_0x24fccc._0x475aa9,_0x2af341-0x88,_0x2af341,_0x16e9dd-0xa4);}let _0xba46f6=![];for(const [_0x4d0d83,_0x23f890]of _0x37040f['entries']()){if(_0x23f890?.[_0x9d603c(0x480,_0x96f968._0x1b90ed,0x493,0x495)+'ctiveId']===_0x121aec&&_0x23f890[_0x3c3fda(0x7f,_0x96f968._0x32c971,0x93,_0x96f968._0x33346f)]===_0x5732a6['lVueV']&&_0x23f890['isPinned']&&!_0x42c7c3[_0x9d603c(0x488,_0x96f968._0x55be29,_0x96f968._0xe74abc,_0x96f968._0xed307c)](_0x4d0d83)){_0xba46f6=!![];break;}}function _0x9d603c(_0x59ac25,_0x21f757,_0x456057,_0xcc4e63){return _0x2be066(_0x59ac25-_0x292a19._0x3af1f3,_0x21f757-_0x292a19._0x52308b,_0x456057-0x563,_0xcc4e63);}_0x5732a6[_0x3c3fda(_0x96f968._0x1d1945,_0x96f968._0x222121,0x4b,0x5c)](!_0xf6b94,!_0xba46f6)&&(_0x5732a6[_0x9d603c(0x474,_0x96f968._0xf2a7bc,0x48a,0x474)](_0x5732a6[_0x9d603c(_0x96f968._0x35fe37,_0x96f968._0x137a1b,_0x96f968._0x458440,_0x96f968._0x3a66b9)],_0x3c3fda(_0x96f968._0xae524b,_0x96f968._0x1b6ebc,0x82,_0x96f968._0x66b722))?(_0x3fe246[_0x9d603c(_0x96f968._0x1d1bad,_0x96f968._0x28d8cd,_0x96f968._0x2fea16,_0x96f968._0x1db1ac)](_0x121aec),_0x42c7c3[_0x3c3fda(0x9b,0x9c,_0x96f968._0x43ada4,_0x96f968._0x219a19)](_0x121aec),_0x3bc2a5[_0x9d603c(_0x96f968._0x2fea16,0x47c,0x493,0x4a4)+_0x3c3fda(0x9c,_0x96f968._0x33346f,0x80,0x84)]&&_0xab789a(_0x3bc2a5[_0x9d603c(_0x96f968._0xc16b24,0x4ab,_0x96f968._0x5a04c8,_0x96f968._0x873785)+_0x3c3fda(0x6b,0x6a,0x8a,0x84)])):_0x167bb6['add'](_0x41b447));};function _0x355102(_0x1bc009,_0x49bcad,_0x4019d5,_0x479f3a){return _0xa829(_0x1bc009-0x45,_0x4019d5);}for(const _0x500b84 of _0x4e678d){_0x5732a6[_0x2be066(-_0x258e18._0x38b67e,-_0x258e18._0x554a8f,-0xe7,-_0x258e18._0x3a557f)](_0xab789a,_0x500b84);}return _0x3fe246;}
1
+ (function(_0x2fe0a4,_0x1eac11){const _0x31b949={_0xf9df6a:0x172,_0x4ab677:0x160,_0x4194c3:0x29f,_0x968a36:0x2bb,_0x597b77:0x2aa,_0x23a5d0:0x17e,_0x37a612:0x15d,_0x23c512:0x197,_0x45230a:0x289,_0x2edcb2:0x287,_0x4f67f5:0x158,_0x913798:0x158,_0x3e37a8:0x16e,_0x1d6f51:0x2a4,_0xa804d4:0x288},_0x17ef2a={_0x56b3c2:0xb0};function _0x4a23e2(_0x2ae947,_0x70d336,_0x15afc1,_0x118c81){return _0x50ab(_0x118c81- -0x359,_0x15afc1);}const _0x342c7a=_0x2fe0a4();function _0x548d34(_0x52bbd4,_0x4e6a7f,_0x570293,_0x507d73){return _0x50ab(_0x507d73-_0x17ef2a._0x56b3c2,_0x570293);}while(!![]){try{const _0x5e0e9c=parseInt(_0x4a23e2(-_0x31b949._0xf9df6a,-0x16f,-0x172,-_0x31b949._0x4ab677))/(0x1*-0x1030+-0x2320+0x3*0x111b)+parseInt(_0x548d34(0x282,0x27c,_0x31b949._0x4194c3,0x28b))/(-0x83e+0x1a36+-0x11f6)*(parseInt(_0x548d34(0x2ad,_0x31b949._0x968a36,_0x31b949._0x597b77,_0x31b949._0x597b77))/(-0x179+0xec*-0x1+-0xe*-0x2c))+-parseInt(_0x4a23e2(-0x15d,-_0x31b949._0x23a5d0,-0x16e,-0x16b))/(0x1047+-0x11*-0x17b+0x14b7*-0x2)+-parseInt(_0x4a23e2(-0x170,-0x16a,-_0x31b949._0x37a612,-0x162))/(0x6*-0x17f+0x501+0x1*0x3fe)*(-parseInt(_0x4a23e2(-0x16c,-_0x31b949._0x23c512,-0x198,-0x188))/(-0x24a0+0x1877*-0x1+-0x5*-0xc39))+parseInt(_0x548d34(0x260,0x27a,0x26a,0x27f))/(0x1a81+-0x2146+0x6cc)+parseInt(_0x548d34(_0x31b949._0x45230a,0x2a5,_0x31b949._0x2edcb2,0x28a))/(0x1d74+0xa83+-0x27ef*0x1)*(parseInt(_0x4a23e2(-_0x31b949._0x4f67f5,-0x152,-_0x31b949._0x913798,-_0x31b949._0x3e37a8))/(-0x1*0xc22+-0x27b+0x32*0x4b))+-parseInt(_0x548d34(0x277,0x2a6,_0x31b949._0x1d6f51,_0x31b949._0xa804d4))/(0x1e11+-0x1aea+-0x31d)*(parseInt(_0x548d34(0x27b,0x271,0x2ab,0x28e))/(-0x1197+0x1ae3+-0x67*0x17));if(_0x5e0e9c===_0x1eac11)break;else _0x342c7a['push'](_0x342c7a['shift']());}catch(_0x5a0188){_0x342c7a['push'](_0x342c7a['shift']());}}}(_0x4d54,0x2b2*-0x48a+-0x2*0x57de9+0x6b*0x4a4e));export function collectObjectiveCascadeUnpinTargets(_0x35bf07,_0x2412e8){const _0x319326={_0x37ed03:0x339,_0x209501:0x337,_0x36c27b:0x369,_0x555ffe:0x338,_0x55dc99:0x342,_0x5aacf5:0x348,_0x29f9d3:0x318,_0x4c1ad2:0x33f,_0x2c8245:0x30c,_0x1f04cf:0x320,_0x2ab262:0x31f,_0x214d9e:0x333,_0x4a9e67:0x361,_0x3f7655:0x32e,_0x167a71:0x332,_0x525555:0x353,_0x1c949a:0x340,_0x4ae88d:0x34d,_0x1c2a9b:0x34e,_0x146e25:0x33c,_0x46a903:0x33a,_0x73dd25:0x322,_0x322de0:0x32e,_0x3dfdb3:0x34a,_0x19cbfd:0x342,_0x3ded86:0x33b,_0x528e64:0x317,_0x2c9e56:0x35c,_0x1547ec:0x30e,_0x2fa6ab:0x327,_0x4c5e02:0x32d,_0x253beb:0x32c,_0x4a13d7:0x331,_0x5edf8e:0x32b,_0x1dd6f3:0x313,_0x531689:0x330,_0x53809f:0x335,_0x383650:0x32d,_0x3a75be:0x349,_0x23cf0e:0x349,_0x3dd2ca:0x32f,_0x339827:0x31d,_0x201c83:0x349,_0x3c724f:0x34b,_0xf99691:0x362,_0x178c6e:0x363,_0x2e4932:0x354,_0xdd4144:0x337,_0x443b6e:0x324,_0x1acfab:0x327},_0x4e48e6={_0x580541:0x160},_0x32bfa1={_0x209209:0x160},_0x4dc311={_0x581291:0x2cf,_0x4f8f3d:0x2a4,_0x4e420b:0x2c2,_0x318a67:0x493,_0x5953f3:0x495,_0x43652e:0x481,_0x4dcee8:0x2b6,_0x2686c5:0x47e,_0x10464a:0x479,_0x5ec26f:0x476,_0x4adc70:0x2bd,_0x48b9c7:0x2d2,_0xfacc96:0x2ac,_0x247abd:0x29f,_0x1cf230:0x2bd,_0x19a9d7:0x2b9,_0x402325:0x2ad,_0x3e8e:0x2b5,_0x27ecdc:0x2ab,_0x1021c8:0x296,_0x46499a:0x459,_0x45d580:0x475,_0x369490:0x49e,_0x495042:0x4a2,_0x1a39eb:0x494,_0x7c2e56:0x4bc,_0x3010ed:0x4b7,_0x50cbdb:0x4a8,_0x472638:0x49d,_0x49043b:0x2a6,_0x224e5a:0x285,_0x503b9a:0x283,_0x15c5c4:0x496,_0x11be87:0x497,_0x5bb7a5:0x4b9,_0x2554dd:0x4b2,_0x5a70c0:0x48a,_0x41b4e5:0x4bd,_0x263ed9:0x4a9,_0x2aaea3:0x491,_0x591445:0x462,_0x4cdec2:0x474,_0x314a16:0x46b,_0x1a9b8e:0x489,_0x44852a:0x466,_0x1117a6:0x480,_0x41a046:0x296,_0x20c403:0x2a4,_0x35045e:0x2bc,_0x1f184d:0x297,_0x5f516b:0x4be,_0x2664fc:0x2b0,_0x3a8a0d:0x2bb,_0x385237:0x2d3,_0x257b15:0x2c3,_0x3b1dfa:0x2a7,_0x1ea396:0x2a8,_0x19e03d:0x29a,_0xdc19c4:0x2b8,_0x1f31f4:0x2d4,_0x2656ba:0x2bc,_0x590a4b:0x294,_0x1cda0d:0x298,_0x55a88c:0x2a3,_0x4d61c4:0x293,_0x4fa3b3:0x29a,_0x4a1508:0x469,_0x109dc8:0x2a9,_0x23fbad:0x27b,_0x285a1e:0x2af},_0xd50ec={_0x46755c:0x1e4,_0x3c3a1f:0x87},_0x2cf1c4={'KBFzX':function(_0x30fa09,_0x1d827f){return _0x30fa09===_0x1d827f;},'biyMn':function(_0x207e60,_0x4cc278){return _0x207e60===_0x4cc278;},'grVaV':_0x5b9f57(_0x319326._0x37ed03,0x349,_0x319326._0x209501,0x352),'BZmTc':function(_0xc65aec,_0x4be3f3){return _0xc65aec===_0x4be3f3;},'qoGIr':'DlHMd','YRkeT':_0x5b9f57(0x36b,0x369,_0x319326._0x36c27b,0x34c),'NVnsI':function(_0x30af54,_0x7bd9fc){return _0x30af54===_0x7bd9fc;},'MsFMK':function(_0x9745b4,_0x1ca228){return _0x9745b4(_0x1ca228);},'Ylbik':function(_0x1ba245,_0x4a384f){return _0x1ba245===_0x4a384f;},'heseh':function(_0x4611eb,_0x547a15){return _0x4611eb===_0x547a15;},'odPfq':_0x5b9f57(_0x319326._0x555ffe,0x34f,_0x319326._0x55dc99,_0x319326._0x5aacf5),'IXxgj':function(_0x3bf2a5,_0x36a028){return _0x3bf2a5(_0x36a028);},'Rygbd':function(_0x55ebbc,_0x580dfe){return _0x55ebbc>_0x580dfe;},'IvdgH':_0x5b9f57(_0x319326._0x29f9d3,_0x319326._0x4c1ad2,0x337,0x326),'kmhYn':_0x5b9f57(0x320,0x32e,_0x319326._0x2c8245,_0x319326._0x1f04cf),'qqUul':_0x201653(0x30a,0x318,_0x319326._0x2ab262,0x32c)},_0x15d269=new Set(),_0x456afc=new Set(),_0x1c9f15=_0x4262f2=>{const _0x3f3aa0={_0x32a672:0x153,_0x41bc26:0x132};function _0x1944e2(_0x1f6930,_0x832c6a,_0x794cb4,_0x16dbad){return _0x5b9f57(_0x16dbad,_0x832c6a-0x1a9,_0x794cb4-_0xd50ec._0x46755c,_0x832c6a- -_0xd50ec._0x3c3a1f);}function _0x164494(_0x57e471,_0x2f8604,_0x485d97,_0x36a919){return _0x201653(_0x57e471-0x86,_0x485d97,_0x36a919-_0x3f3aa0._0x32a672,_0x36a919-_0x3f3aa0._0x41bc26);}for(const [_0x2456c9,_0x11db9d]of _0x35bf07[_0x1944e2(_0x4dc311._0x581291,0x2b9,_0x4dc311._0x4f8f3d,_0x4dc311._0x4e420b)]()){if(_0x2cf1c4[_0x164494(0x4ab,0x4a4,_0x4dc311._0x318a67,0x492)](_0x2cf1c4[_0x164494(0x487,_0x4dc311._0x5953f3,0x47f,_0x4dc311._0x43652e)],_0x2cf1c4[_0x1944e2(0x2c2,_0x4dc311._0x4dcee8,0x29c,0x2aa)])){const _0x4f7237=_0x118e4e[_0x164494(0x464,_0x4dc311._0x2686c5,_0x4dc311._0x10464a,_0x4dc311._0x5ec26f)](_0x1f79ce);_0x4f7237?.['sourceObje'+_0x1944e2(0x2b7,_0x4dc311._0x4adc70,0x2cb,_0x4dc311._0x48b9c7)]&&_0x318194['add'](_0x4f7237[_0x1944e2(_0x4dc311._0xfacc96,0x2af,_0x4dc311._0x247abd,0x2bb)+_0x1944e2(0x2b8,_0x4dc311._0x1cf230,_0x4dc311._0x19a9d7,_0x4dc311._0x402325)]);}else{_0x2cf1c4[_0x1944e2(_0x4dc311._0x3e8e,_0x4dc311._0x27ecdc,_0x4dc311._0x1021c8,0x290)](_0x11db9d?.[_0x164494(0x494,_0x4dc311._0x46499a,0x459,_0x4dc311._0x45d580)+_0x1944e2(0x2d6,0x2bd,0x2c0,0x2bd)],_0x4262f2)&&_0x11db9d?.[_0x164494(_0x4dc311._0x369490,_0x4dc311._0x495042,0x4b3,_0x4dc311._0x1a39eb)]===_0x2cf1c4[_0x164494(_0x4dc311._0x7c2e56,_0x4dc311._0x3010ed,_0x4dc311._0x50cbdb,_0x4dc311._0x472638)]&&(_0x15d269[_0x1944e2(0x2a7,_0x4dc311._0x49043b,0x294,0x2ab)](_0x2456c9),_0x2cf1c4['MsFMK'](_0x1c9f15,_0x2456c9));if(_0x2cf1c4[_0x1944e2(_0x4dc311._0x224e5a,0x29a,_0x4dc311._0x503b9a,0x28a)](_0x11db9d?.['sourceObje'+_0x164494(_0x4dc311._0x15c5c4,0x4b0,0x490,_0x4dc311._0x11be87)],_0x4262f2)){if(_0x2cf1c4['heseh'](_0x2cf1c4[_0x164494(0x494,_0x4dc311._0x5bb7a5,_0x4dc311._0x2554dd,0x4a9)],_0x2cf1c4[_0x164494(0x4c8,_0x4dc311._0x5a70c0,_0x4dc311._0x41b4e5,_0x4dc311._0x263ed9)])){_0x15d269[_0x164494(_0x4dc311._0x2aaea3,0x49d,_0x4dc311._0x591445,0x480)](_0x2456c9);if(_0x11db9d[_0x164494(_0x4dc311._0x4cdec2,0x474,_0x4dc311._0x314a16,0x47e)])_0x456afc[_0x164494(0x470,0x46e,_0x4dc311._0x1a9b8e,0x480)](_0x11db9d['groupId']);if(_0x11db9d[_0x164494(0x458,0x488,0x46f,0x470)+'oupId'])_0x456afc[_0x164494(_0x4dc311._0x44852a,0x49a,0x48c,_0x4dc311._0x1117a6)](_0x11db9d[_0x1944e2(0x27e,_0x4dc311._0x41a046,0x2a6,0x27a)+_0x1944e2(0x2cf,0x2c2,_0x4dc311._0x20c403,0x2bd)]);}else for(const [_0x242659,_0x1a800f]of _0x556273[_0x164494(0x49b,0x4a0,0x483,0x493)]()){_0x2cf1c4[_0x1944e2(0x292,0x2a2,_0x4dc311._0x35045e,_0x4dc311._0x1f184d)](_0x1a800f?.['parentObje'+'ctiveId'],_0x472194)&&_0x2cf1c4[_0x164494(0x4b6,_0x4dc311._0x5f516b,0x4a1,0x4a6)](_0x1a800f?.[_0x1944e2(0x2bf,0x2ba,_0x4dc311._0x2664fc,_0x4dc311._0x3a8a0d)],_0x2cf1c4[_0x1944e2(_0x4dc311._0x385237,_0x4dc311._0x257b15,0x2dd,_0x4dc311._0x3b1dfa)])&&(_0x21e17f[_0x1944e2(0x2bb,_0x4dc311._0x49043b,_0x4dc311._0x257b15,_0x4dc311._0x1ea396)](_0x242659),_0x347817(_0x242659));if(_0x1a800f?.[_0x1944e2(_0x4dc311._0x19e03d,0x2af,_0x4dc311._0xdc19c4,0x2b2)+_0x1944e2(_0x4dc311._0x1f31f4,0x2bd,0x2b0,_0x4dc311._0x2656ba)]===_0x266a80){_0x58255e[_0x1944e2(0x297,0x2a6,_0x4dc311._0x590a4b,_0x4dc311._0x1cda0d)](_0x242659);if(_0x1a800f[_0x1944e2(0x2af,0x2a4,_0x4dc311._0x55a88c,0x297)])_0x5f1b52[_0x1944e2(_0x4dc311._0x4d61c4,0x2a6,0x28f,_0x4dc311._0x4fa3b3)](_0x1a800f[_0x164494(0x46c,0x483,_0x4dc311._0x4a1508,_0x4dc311._0x2686c5)]);if(_0x1a800f['originalGr'+'oupId'])_0x36083c[_0x1944e2(_0x4dc311._0x109dc8,0x2a6,_0x4dc311._0x1cda0d,0x2a2)](_0x1a800f[_0x1944e2(0x277,0x296,0x291,_0x4dc311._0x23fbad)+_0x1944e2(_0x4dc311._0x285a1e,0x2c2,0x2a4,0x2b0)]);}}}}}};function _0x201653(_0x3f2b46,_0x4ab9f7,_0x3aeaad,_0x475490){return _0x50ab(_0x3aeaad-_0x32bfa1._0x209209,_0x4ab9f7);}function _0x5b9f57(_0x4f034f,_0x2db8cf,_0x5aa34a,_0x559f06){return _0x50ab(_0x559f06-_0x4e48e6._0x580541,_0x4f034f);}_0x2cf1c4['IXxgj'](_0x1c9f15,_0x2412e8);if(_0x2cf1c4['Rygbd'](_0x456afc[_0x201653(_0x319326._0x214d9e,_0x319326._0x4a9e67,0x343,_0x319326._0x3f7655)],-0x137d+0x1629+0x4*-0xab))for(const [_0x6253f8,_0x198e59]of _0x35bf07[_0x201653(_0x319326._0x167a71,_0x319326._0x525555,_0x319326._0x1c949a,_0x319326._0x4ae88d)]()){if(_0x2cf1c4[_0x201653(0x362,_0x319326._0x1c2a9b,0x345,_0x319326._0x146e25)]!==_0x2cf1c4[_0x201653(0x337,0x353,0x345,0x342)])_0x1cf00c[_0x5b9f57(_0x319326._0x46a903,0x349,0x343,0x32d)](_0x73144d);else{if(!_0x198e59)continue;const _0x1248aa=_0x198e59[_0x201653(_0x319326._0x73dd25,0x346,0x335,0x348)]===_0x2cf1c4[_0x5b9f57(0x34d,0x346,_0x319326._0x322de0,_0x319326._0x214d9e)]||_0x2cf1c4['heseh'](_0x198e59[_0x5b9f57(_0x319326._0x3dfdb3,0x335,0x35a,_0x319326._0x19cbfd)+'k'],!![]);if(!_0x1248aa)continue;const _0x863645=_0x198e59[_0x5b9f57(0x333,0x325,0x314,0x32b)]||_0x198e59[_0x5b9f57(_0x319326._0x3ded86,0x2ff,_0x319326._0x528e64,0x31d)+_0x5b9f57(0x332,0x331,0x357,0x349)];if(_0x863645&&_0x456afc['has'](_0x863645)){if(_0x2cf1c4[_0x201653(0x35f,0x335,0x34f,_0x319326._0x2c9e56)]===_0x201653(0x33a,0x30d,0x31f,_0x319326._0x1547ec))_0x15d269[_0x5b9f57(0x335,_0x319326._0x2fa6ab,0x341,0x32d)](_0x6253f8);else{_0xfecd8c[_0x5b9f57(0x327,0x32a,0x33f,_0x319326._0x4c5e02)](_0x5a6839);if(_0x67ef8a[_0x201653(_0x319326._0x253beb,_0x319326._0x4a13d7,_0x319326._0x5edf8e,_0x319326._0x1dd6f3)])_0x183743[_0x5b9f57(0x342,_0x319326._0x531689,_0x319326._0x53809f,_0x319326._0x383650)](_0x42d207['groupId']);if(_0x32c278[_0x201653(0x302,0x311,0x31d,0x309)+_0x201653(0x33d,_0x319326._0x3a75be,_0x319326._0x23cf0e,0x364)])_0x109b97[_0x5b9f57(0x33f,0x31b,_0x319326._0x3dd2ca,0x32d)](_0x5deaba[_0x201653(_0x319326._0x214d9e,_0x319326._0x146e25,_0x319326._0x339827,0x31d)+_0x201653(0x33f,0x334,_0x319326._0x201c83,_0x319326._0x3c724f)]);}}}}_0x15d269['delete'](_0x2412e8);const _0x2fd2c9={};return _0x2fd2c9[_0x5b9f57(0x35f,_0x319326._0xf99691,_0x319326._0x178c6e,_0x319326._0x2e4932)+'onsider']=_0x15d269,_0x2fd2c9[_0x201653(_0x319326._0xdd4144,0x322,_0x319326._0x443b6e,_0x319326._0x1acfab)+'oupIds']=_0x456afc,_0x2fd2c9;}export function findJudgeTasksForGroup(_0x43c1ae,_0x8297a8){const _0x5c314e={_0x2f70ab:0x347,_0x203904:0x34f,_0x499d9e:0x34d,_0x1ba830:0x32b,_0x5bf558:0x34f,_0x2814bd:0x349,_0x5d86c0:0x20d,_0x5c2564:0x1fe,_0x452e9d:0x227,_0x5371f5:0x21c,_0x4d5f2e:0x371,_0x8967e3:0x352,_0x4e2c80:0x1ed,_0x26f51c:0x1cf,_0x43884e:0x1f6,_0x5287c9:0x35b,_0x19d800:0x37a,_0x1b09e7:0x377},_0x585bf8={_0x1de024:0x17d},_0x2dddbe={};_0x2dddbe[_0xa9ef67(0x35d,_0x5c314e._0x2f70ab,_0x5c314e._0x203904,_0x5c314e._0x499d9e)]=function(_0x2c7081,_0x12df66){return _0x2c7081===_0x12df66;},_0x2dddbe[_0xa9ef67(0x344,_0x5c314e._0x1ba830,_0x5c314e._0x5bf558,_0x5c314e._0x2814bd)]=function(_0x5ac96e,_0x3f2ced){return _0x5ac96e===_0x3f2ced;};const _0x2b14d8=_0x2dddbe,_0x4941b1=new Set();if(!_0x8297a8)return _0x4941b1;for(const [_0x515a21,_0x50ef0c]of _0x43c1ae[_0x4eed22(0x1f2,_0x5c314e._0x5d86c0,_0x5c314e._0x5c2564,_0x5c314e._0x452e9d)]()){if(!_0x50ef0c)continue;const _0x213989=_0x2b14d8[_0x4eed22(0x207,0x1fd,0x1ed,_0x5c314e._0x5371f5)](_0x50ef0c[_0xa9ef67(_0x5c314e._0x4d5f2e,0x337,0x34c,_0x5c314e._0x8967e3)],_0x4eed22(0x1d2,_0x5c314e._0x4e2c80,_0x5c314e._0x26f51c,_0x5c314e._0x43884e))||_0x50ef0c['isJudgeTas'+'k']===!![];if(!_0x213989)continue;const _0x491e5a=_0x50ef0c['groupId']||_0x50ef0c['originalGr'+_0xa9ef67(_0x5c314e._0x5287c9,_0x5c314e._0x19d800,_0x5c314e._0x1b09e7,0x366)];_0x2b14d8[_0xa9ef67(0x33a,_0x5c314e._0x8967e3,0x344,0x349)](_0x491e5a,_0x8297a8)&&_0x4941b1['add'](_0x515a21);}function _0xa9ef67(_0x378929,_0x57a884,_0x4ade16,_0x2a9cb3){return _0x50ab(_0x2a9cb3-_0x585bf8._0x1de024,_0x57a884);}function _0x4eed22(_0x40df92,_0x391e18,_0x46272c,_0x3b4439){return _0x50ab(_0x391e18-0x2d,_0x3b4439);}return _0x4941b1;}export function findOrphanedAncestorObjectives(_0x46ccad,_0x24156d){const _0x37b0ae={_0x1e83b5:0x6c,_0x5d50c6:0x75,_0x21b423:0x56,_0x50c9d0:0x7f,_0x48667c:0x80,_0x426200:0x46,_0x4fac15:0x158,_0x14f107:0x1a2,_0x3a1b91:0x16b,_0x2b8373:0x18f,_0x36e1f2:0x189,_0x408967:0x47,_0x43a00e:0x40,_0x432538:0x47,_0x5645a2:0x5c},_0x5f5946={_0x1c51d1:0x186},_0x14c821={_0x8d9273:0x3e,_0x4bec68:0x43,_0x1c2afb:0x49,_0x566d48:0x54,_0xffb4b2:0x31,_0x445d00:0x32,_0x118263:0x3b,_0x3b921d:0x308,_0x1b4457:0x2ff,_0x3a3ceb:0x5a,_0x35944f:0x38,_0x48ba5c:0x4f,_0x461d2b:0x46,_0x27d048:0x2a,_0x2d05ea:0x3e,_0xd4deb0:0x58,_0x677118:0x4b,_0x492093:0x27,_0xd3c87d:0x4f,_0x210b31:0x52,_0x1defa6:0x52,_0x1523c6:0x4e,_0x54dc2b:0x42,_0x466fb:0x45,_0x19edde:0x35,_0xc8993:0x57,_0x351493:0x56,_0x5de0dd:0x43,_0x1b200a:0x2f2,_0x13d4d3:0x322,_0x3539de:0x30c,_0x3edf4a:0x54,_0x56d20e:0x65,_0xa9fd9d:0x55,_0x103ca2:0x47,_0x4b4ecb:0x32,_0x425bf5:0x317,_0x1aae6f:0x2f9,_0x1153b8:0x309,_0x31badf:0x311,_0x42e0bf:0x3b,_0x4ff9b7:0xd,_0x11f54:0x2cd,_0x2364dd:0x2cf,_0x1f4946:0x2dd,_0xa7bf65:0x2f,_0x9d6c15:0x325,_0x255a0a:0x2fd,_0x399afa:0x30f,_0x53600d:0x2fd,_0x34b761:0x2f0,_0x180200:0x2f,_0x42fe7e:0x3a,_0x2f1df5:0x2ce,_0x2c7095:0x307,_0x39a64a:0x24,_0x1602b5:0x3c,_0x35388a:0x2f7,_0x5d2605:0x2f1},_0xd86e2a={_0x3ee4bf:0x73,_0x31c871:0x129},_0x132416={'rbjed':function(_0x5f06d7,_0x4a8bb5){return _0x5f06d7(_0x4a8bb5);},'LsOvB':_0x315de1(_0x37b0ae._0x1e83b5,_0x37b0ae._0x5d50c6,_0x37b0ae._0x21b423,0x71),'WdoGs':function(_0x232a41,_0x2801e6){return _0x232a41!==_0x2801e6;},'mdMwO':_0x315de1(0x61,_0x37b0ae._0x50c9d0,_0x37b0ae._0x48667c,_0x37b0ae._0x426200),'IEzdX':_0x33f1e1(-0x18b,-_0x37b0ae._0x4fac15,-0x178,-0x16f),'ZdDfq':function(_0x221b74,_0x283d0b){return _0x221b74===_0x283d0b;},'OkpVi':function(_0x4c9a0c,_0x550545){return _0x4c9a0c&&_0x550545;},'KuikP':function(_0x54da91,_0x2001c4){return _0x54da91===_0x2001c4;},'gmasS':function(_0x1a15d5,_0x3856c8){return _0x1a15d5(_0x3856c8);}},_0x37a2bb=new Set(_0x24156d);function _0x33f1e1(_0x4eca29,_0x573f00,_0x334f24,_0x157ad4){return _0x50ab(_0x157ad4- -0x35f,_0x334f24);}const _0x31beb9=[],_0x864fdc=new Set(),_0x2bc280=new Set();for(const _0x3b30f5 of _0x24156d){const _0x9609d0=_0x46ccad[_0x33f1e1(-0x1bb,-_0x37b0ae._0x14f107,-0x1a7,-0x19c)](_0x3b30f5);_0x9609d0?.[_0x33f1e1(-0x170,-_0x37b0ae._0x3a1b91,-_0x37b0ae._0x2b8373,-_0x37b0ae._0x36e1f2)+'ctiveId']&&_0x2bc280[_0x315de1(_0x37b0ae._0x408967,0x2d,_0x37b0ae._0x43a00e,_0x37b0ae._0x432538)](_0x9609d0[_0x33f1e1(-0x174,-0x18f,-0x178,-_0x37b0ae._0x36e1f2)+_0x315de1(0x5e,0x6e,_0x37b0ae._0x5645a2,0x46)]);}const _0x3f2ca7=_0x5880df=>{const _0x36717f={_0x4b0416:0x18},_0x331e73={_0x377f6e:0x425,_0x304cf3:0x414},_0x1d49f0={'ISQby':function(_0x17f127,_0x3ffc0d){function _0x51fe06(_0x27acb6,_0x1b4b6e,_0x42a6da,_0x4b457e){return _0x50ab(_0x1b4b6e-0x240,_0x27acb6);}return _0x132416[_0x51fe06(0x433,0x431,_0x331e73._0x377f6e,_0x331e73._0x304cf3)](_0x17f127,_0x3ffc0d);}};function _0xf2e439(_0x4c3a53,_0x1e8260,_0x3e9dd7,_0x148cb3){return _0x315de1(_0x4c3a53- -_0x36717f._0x4b0416,_0x1e8260-0x1ee,_0x1e8260,_0x148cb3-0xcd);}if(_0x864fdc[_0xf2e439(_0x14c821._0x8d9273,_0x14c821._0x4bec68,_0x14c821._0x1c2afb,_0x14c821._0x566d48)](_0x5880df))return;_0x864fdc[_0xf2e439(0x2f,_0x14c821._0xffb4b2,0x23,0x3e)](_0x5880df);const _0x3f615b=_0x46ccad['get'](_0x5880df);if(!_0x3f615b||_0x3f615b[_0xf2e439(0x43,_0x14c821._0x445d00,0x31,_0x14c821._0x118263)]!==_0x132416[_0x546c4b(_0x14c821._0x3b921d,0x303,0x323,0x304)]||!_0x3f615b[_0xf2e439(0x57,0x6e,0x6c,0x6b)])return;let _0x215121=![];function _0x546c4b(_0x2bdee6,_0x341059,_0x495064,_0x579dee){return _0x315de1(_0x579dee-0x2b1,_0x341059-_0xd86e2a._0x3ee4bf,_0x495064,_0x579dee-_0xd86e2a._0x31c871);}for(const [_0x4ae78b,_0x54e90d]of _0x46ccad['entries']()){if(_0x132416[_0x546c4b(0x2e3,0x317,0x31c,_0x14c821._0x1b4457)]('LXsNo',_0x132416[_0xf2e439(_0x14c821._0x3a3ceb,0x50,_0x14c821._0x4bec68,0x53)])){if(_0x54e90d?.[_0xf2e439(_0x14c821._0x35944f,_0x14c821._0x48ba5c,0x46,0x4e)+_0xf2e439(_0x14c821._0x461d2b,0x2c,_0x14c821._0x1c2afb,_0x14c821._0x27d048)]===_0x5880df&&_0x54e90d['isPinned']&&!_0x37a2bb[_0xf2e439(_0x14c821._0x2d05ea,_0x14c821._0xd4deb0,_0x14c821._0x677118,_0x14c821._0x492093)](_0x4ae78b)){if(_0x132416[_0x546c4b(0x329,0x2fd,0x2ff,0x318)]===_0x132416[_0xf2e439(_0x14c821._0xd3c87d,_0x14c821._0x210b31,0x6c,_0x14c821._0x1defa6)]){_0x215121=!![];break;}else _0x4e8395[_0xf2e439(0x2f,0x45,_0x14c821._0x1523c6,_0x14c821._0x461d2b)](_0xd7318f);}}else return;}let _0x4f4a8a=![];for(const [_0x53cacd,_0x1e75ea]of _0x46ccad[_0xf2e439(_0x14c821._0x54dc2b,_0x14c821._0x466fb,0x2c,0x4a)]()){if(_0x132416[_0xf2e439(_0x14c821._0x27d048,_0x14c821._0x19edde,0x2c,0xd)]('qZVDs',_0xf2e439(0x39,0x3d,_0x14c821._0xc8993,_0x14c821._0x351493)))_0x7d16f6(_0x54ed55);else{if(_0x1e75ea?.[_0xf2e439(0x24,0x35,0x31,_0x14c821._0x5de0dd)+'ctiveId']===_0x5880df&&_0x1e75ea[_0x546c4b(_0x14c821._0x1b200a,_0x14c821._0x13d4d3,0x31f,_0x14c821._0x3539de)]===_0xf2e439(_0x14c821._0x3edf4a,_0x14c821._0x56d20e,_0x14c821._0xa9fd9d,_0x14c821._0x103ca2)&&_0x1e75ea['isPinned']&&!_0x37a2bb[_0xf2e439(0x3e,0x3e,0x27,_0x14c821._0x4b4ecb)](_0x53cacd)){_0x4f4a8a=!![];break;}}}_0x132416[_0x546c4b(_0x14c821._0x425bf5,_0x14c821._0x1aae6f,_0x14c821._0x1153b8,_0x14c821._0x31badf)](!_0x215121,!_0x4f4a8a)&&(_0x132416[_0xf2e439(0x29,_0x14c821._0x42e0bf,0x44,_0x14c821._0x466fb)](_0xf2e439(0x20,_0x14c821._0x4ff9b7,0x2c,0x2d),_0x546c4b(_0x14c821._0x11f54,_0x14c821._0x2364dd,_0x14c821._0x1f4946,0x2e9))?(_0x31beb9[_0xf2e439(_0x14c821._0x492093,0x15,0x41,_0x14c821._0xa7bf65)](_0x5880df),_0x37a2bb['add'](_0x5880df),_0x3f615b[_0xf2e439(0x24,0x18,0x2c,0x2e)+_0x546c4b(0x32c,0x2f2,_0x14c821._0x9d6c15,0x30f)]&&_0x132416['gmasS'](_0x3f2ca7,_0x3f615b['parentObje'+_0x546c4b(_0x14c821._0x255a0a,0x2f0,0x32e,_0x14c821._0x399afa)])):(_0x49c43e[_0x546c4b(_0x14c821._0x53600d,0x2f1,0x2ed,_0x14c821._0x34b761)](_0x1bdd2d),_0x4e2824[_0xf2e439(_0x14c821._0x180200,_0x14c821._0x42fe7e,0x4b,0x35)](_0x1446b6),_0x462eda[_0x546c4b(0x304,_0x14c821._0x2f1df5,0x2e4,0x2ed)+_0x546c4b(0x316,0x303,_0x14c821._0x2c7095,0x30f)]&&_0x1d49f0[_0xf2e439(0x2c,0x22,0x16,0x23)](_0x1641f6,_0x5d10e9[_0xf2e439(_0x14c821._0x39a64a,_0x14c821._0x1602b5,0x1f,0xd)+_0x546c4b(0x314,_0x14c821._0x35388a,_0x14c821._0x5d2605,0x30f)])));};function _0x315de1(_0x2d71eb,_0x4f936d,_0x5224a8,_0x1b12d4){return _0x50ab(_0x2d71eb- -_0x5f5946._0x1c51d1,_0x5224a8);}for(const _0x184371 of _0x2bc280){_0x3f2ca7(_0x184371);}return _0x31beb9;}function _0x50ab(_0x4938f0,_0x285c5a){_0x4938f0=_0x4938f0-(0x12d*0x17+-0xc*-0x87+-0x1fa2);const _0x1bc56b=_0x4d54();let _0x46669c=_0x1bc56b[_0x4938f0];if(_0x50ab['foEFyk']===undefined){var _0x1b826e=function(_0x439207){const _0x313f88='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8eaa09='',_0x19f75b='';for(let _0x41c7a5=-0x761+-0x665*-0x2+-0x569,_0x4e6bab,_0x2ce482,_0xfecd8c=-0x1b44+0x4f1+0x1653;_0x2ce482=_0x439207['charAt'](_0xfecd8c++);~_0x2ce482&&(_0x4e6bab=_0x41c7a5%(-0x2f*-0x37+0x2501+-0x2f16)?_0x4e6bab*(0x1d84*-0x1+0x2*-0x1249+0x2*0x212b)+_0x2ce482:_0x2ce482,_0x41c7a5++%(-0x6*-0x11+-0xa*-0x30b+0x2*-0xf68))?_0x8eaa09+=String['fromCharCode'](0x123b*-0x1+0x2*-0x5a8+0x1*0x1e8a&_0x4e6bab>>(-(-0x2*0xeef+0x2157+-0x377)*_0x41c7a5&0x1098+0x130d+-0x239f)):-0x371*-0xb+-0x14af*0x1+-0x112c){_0x2ce482=_0x313f88['indexOf'](_0x2ce482);}for(let _0x5a6839=-0x5*0x4d5+-0x20eb+0x1c8a*0x2,_0x67ef8a=_0x8eaa09['length'];_0x5a6839<_0x67ef8a;_0x5a6839++){_0x19f75b+='%'+('00'+_0x8eaa09['charCodeAt'](_0x5a6839)['toString'](0xf2*-0x29+-0xb3*-0x1b+-0x5*-0x3fd))['slice'](-(-0x43*-0x74+-0x2*-0x3c7+-0x25e8));}return decodeURIComponent(_0x19f75b);};_0x50ab['WddnKm']=_0x1b826e,_0x50ab['xIBMSS']={},_0x50ab['foEFyk']=!![];}const _0x639125=_0x1bc56b[0x36c+0x5*0x45e+0x2*-0xca1],_0x133253=_0x4938f0+_0x639125,_0x5d6989=_0x50ab['xIBMSS'][_0x133253];return!_0x5d6989?(_0x46669c=_0x50ab['WddnKm'](_0x46669c),_0x50ab['xIBMSS'][_0x133253]=_0x46669c):_0x46669c=_0x5d6989,_0x46669c;}function _0x4d54(){const _0x13f2ef=['CfbABxC','nZG4nda2EMzzBgLt','tLzUC0K','A21Oww4','v2rVr3m','DgfZA1r5Cgu','C291CMnLt2jQzq','wvf6z0K','mJi2mZK2nJb5zNnAu0e','thnpDKi','mtz6sgPPvMW','mJa1mdy1nfnMD05pCW','AgfZ','wvjRzvq','mtfbDvr6swu','qLPTvgm','zw50CMLLCW','C3rHDhvZ','AxnkDwrNzvrHCW','C2L6zq','y3rPDMvjza','sxzKz0G','t2TWvMK','qNL6qwS','EhrIugu','B3vWswq','z3jwyvy','mJeYmtKZquDsEKnh','txLMveq','suv6zfG','otq0mZi0rLviB3LQ','CxfvDwW','uMviy1i','CMjQzwq','B2jQzwn0AxzL','yML5tw4','DgfZA0LKC1rVqW','AxnqAw5Uzwq','B2rqzNe','mJvZre56v1y','BwrnD08','ntCWmJaZzM9druzJ','m3LNCvHpra','B3jPz2LUywXhCG','AwTrue8','y2PyrKG','ANvKz2u','wwXIAwS','CgfYzw50t2jQzq','z2v0','ywzMzwn0zwrhCG','ChvZAa','sK10q3u','s3vPA1a','wMrezNe','s0jgELG','svnryNK','z3jVDxbjza','q2LQCLe','ywrK','Cw9hsxi','ndK5odC0mMDOthbZCa'];_0x4d54=function(){return _0x13f2ef;};return _0x4d54();}