@profoundlogic/coderflow-server 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/automation-service.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/bindings.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/cleanup-users.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/grant-admin.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/list-roles.js +1 -1
- package/dist/lib/cli/list-users.js +1 -1
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/cli/set-password.js +1 -1
- package/dist/lib/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/external-connections.js +1 -1
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/ibmi-sync.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/migration-to-scoped-rbac.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/objective-context.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/permission-resolver.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/rbac-user-state.js +1 -1
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/role-definitions.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-name-format.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/task-source-metadata.js +1 -1
- package/dist/lib/teams.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +1 -1
- package/dist/playwright.config.js +1 -1
- package/dist/playwright.task-terminal.config.js +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/automations.js +1 -1
- package/dist/routes/bindings.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/objective-management.js +1 -1
- package/dist/routes/password.js +1 -1
- package/dist/routes/prompt.js +1 -1
- package/dist/routes/provider-auth.js +1 -1
- package/dist/routes/qa.js +1 -1
- package/dist/routes/roles.js +1 -1
- package/dist/routes/settings.js +1 -1
- package/dist/routes/skill-management.js +1 -1
- package/dist/routes/skills.js +1 -1
- package/dist/routes/tasks.js +1 -1
- package/dist/routes/teams.js +1 -1
- package/dist/routes/templates.js +1 -1
- package/dist/routes/test-task.js +1 -1
- package/dist/routes/test.js +1 -1
- package/dist/routes/users.js +1 -1
- package/dist/routes/visualizations.js +1 -1
- package/dist/scripts/create-user.js +1 -1
- package/dist/scripts/migrate-config-to-data-dir.js +1 -1
- package/dist/start.js +1 -1
- package/dist/web-ui/public/activity-detail-modal.js +1 -1
- package/dist/web-ui/public/activity-feed.js +1 -1
- package/dist/web-ui/public/activity-formatters.js +1 -1
- package/dist/web-ui/public/agent-event-parser.js +1 -1
- package/dist/web-ui/public/app.js +1 -1
- package/dist/web-ui/public/approve-dialog.js +1 -1
- package/dist/web-ui/public/automation-links.js +1 -1
- package/dist/web-ui/public/automation-schedule.js +1 -1
- package/dist/web-ui/public/comments-widget.js +1 -1
- package/dist/web-ui/public/diff-utils.js +1 -1
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/file-selection-tree.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/ibmi-file-filter.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/permissions.js +1 -1
- package/dist/web-ui/public/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +1 -1
package/dist/lib/teams.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1ef44d,_0xd06443){const _0x1ebef6={_0x488b35:0x5a1,_0x2bc05e:0x53b,_0x4fcfbf:0x4d8,_0x279dc8:0x589,_0xed0eaa:0x5be,_0x2d1668:0x638,_0x966f13:0x524,_0x589efe:0x513,_0x34ebc7:0x4ff,_0x3e9581:0x4f9,_0x66083f:0x52d,_0x42be37:0x53a,_0x575c6a:0x4d0,_0x543fdb:0x4d1,_0x595a5a:0x5f6,_0x229d8e:0x5d3,_0x3d0029:0x610,_0x595467:0x4e2,_0xeea74:0x52a,_0x5c36ca:0x507};function _0x325f70(_0xbc7304,_0x589baa,_0x542be3,_0x53c555){return _0x2900(_0x53c555-0x2ef,_0x589baa);}function _0x9c9ada(_0xb33e7a,_0x530f25,_0x11cf52,_0x34d40c){return _0x2900(_0x11cf52-0x3c0,_0x34d40c);}const _0x3a9928=_0x1ef44d();while(!![]){try{const _0x32e5ed=parseInt(_0x9c9ada(0x596,0x5d1,0x5b0,_0x1ebef6._0x488b35))/(-0x1b5f+0x27a*0xd+-0x4d2*0x1)+parseInt(_0x325f70(0x53c,0x510,0x513,0x51f))/(-0xb3f+0x2*-0xd15+-0xc79*-0x3)+parseInt(_0x325f70(_0x1ebef6._0x2bc05e,0x534,_0x1ebef6._0x4fcfbf,0x515))/(-0x223*-0x1+0x2206+-0x2426)*(-parseInt(_0x9c9ada(0x5dd,_0x1ebef6._0x279dc8,_0x1ebef6._0xed0eaa,0x59c))/(-0xc07*0x3+0x1d*0x1d+0x20d0))+-parseInt(_0x9c9ada(_0x1ebef6._0x2d1668,0x635,0x621,0x649))/(-0x3e*-0x8e+0x1a35*-0x1+-0x82a)*(-parseInt(_0x325f70(0x517,_0x1ebef6._0x966f13,0x4fe,0x524))/(0x1597+-0x612+-0xf7f))+-parseInt(_0x325f70(_0x1ebef6._0x589efe,_0x1ebef6._0x34ebc7,_0x1ebef6._0x3e9581,_0x1ebef6._0x66083f))/(-0x13dc+-0x840+0x1c23)*(-parseInt(_0x325f70(0x532,_0x1ebef6._0x42be37,0x517,0x522))/(-0xd*-0xc9+-0x1*0x1447+0xa1a))+-parseInt(_0x325f70(_0x1ebef6._0x575c6a,0x504,_0x1ebef6._0x543fdb,0x4e3))/(0x16fc*0x1+-0xacb+-0x1*0xc28)+-parseInt(_0x9c9ada(0x59c,_0x1ebef6._0x595a5a,_0x1ebef6._0x229d8e,_0x1ebef6._0x3d0029))/(-0x14d3+-0x91+-0x1*-0x156e)*(parseInt(_0x325f70(_0x1ebef6._0x595467,_0x1ebef6._0xeea74,0x52a,_0x1ebef6._0x5c36ca))/(0x19dd+-0x1b5f+-0x18d*-0x1));if(_0x32e5ed===_0xd06443)break;else _0x3a9928['push'](_0x3a9928['shift']());}catch(_0xe3d735){_0x3a9928['push'](_0x3a9928['shift']());}}}(_0x445d,-0x19*0x2519+-0x3f3*-0x4+0x2d*0x4e91));import{promises as _0x4c7d0b}from'fs';function _0x445d(){const _0x12d1dd=['vgvHBsbUyw1Lia','q1Hnq2K','DxbKyxrLzf9HDa','Afn0wwC','CMfUzg9T','zu1uv24','tg9HzgvKihrLyq','lcbPBML0AwfSAq','t1zYwum','mZiYmda3nvHTC1LzEG','q2H0zvi','rfvqteLdqvrf','DhjPBq','C3rHDa','DgvHBq','Bu5AtMy','q01KCLG','wNn6Ceu','rerZz2y','zgLUz3m','jYbHBhjLywr5ia','wKPlBwW','s1LJrfa','tfLrCg8','u2z3zeu','zgvZy3jPChrPBW','rhbZDeK','DgvHBxm','ota2nJqXufHrruLY','BND0B2G','tfnJugK','AM9PBG','ndu3odi4mNzLy0frsq','qM1qsvq','BwvTyMvYCW','AKzTBwm','tK9ux0zpvu5e','Eg5UveS','BKTnteG','C29Tzq','ChvZAa','rvHjELm','mtuZmdrPBhzjvg0','zxHPC3rZ','ufDMEhm','ru5pru5u','u2f2zwqGDgvHBq','B2HfwMK','s2DOAey','uxHJtMy','AxmGCMvXDwLYzq','DgvHBsbSAxn0','CMvJDxjZAxzL','DujvzuO','y291BNq','vgvHBxmGzMLSzq','y3jLyxrLzf9IEq','tKLjtKW','C2f2zsb0zwfTCW','rMfPBgvKihrVia','BeXMBM8','txLWqNG','Aw5MBW','mJKWsNHuu2jP','Bg9Hzcb0zwfTCW','ig5VDcbMB3vUza','D3jPDgvgAwXL','zgvIDwC','mZuXntCXr0vUsg1g','C3rYAw5NAwz5','CIbVzIb0AgLZia','Aw5JBhvKzxm','rwzKyK0','zMLUzeLUzgv4','vKfmsurbveLptG','Dg9ju09tDhjPBG','z0zxDhG','C3bSAwnL','y09Ot28','EuD1wNq','zhKGysbTzw1Izq','BxrPBwvnCW','odC5ALbwD2n5','BMfTzq','ig1LBwjLCIbVzG','Axfqq0i','BMfHwhG','Aw5KzxHpzG','AMnXBw0','tLnYsNC','qKTXtvm','C3bSAxq','ntu0ndqWvhnsrg9U','se5Wt1K','t29jt0O','mZaYntu5mML1s09gtq','vLbWv2m','mtjyqM5frMW','s2XryxC','vxnLCIaN','jYbPCYbUB3qGyq','EMXbyxC','BwTKAxi','tKvsD1a','vgvHBsaN','jYbPCYbHBhjLyq','mtrRAw9TtKS','rxvdDwe','zgLYBMfTzq','rgvSzxrLzcb0zq','C3vIC3rY','DxrMltG','s1bhBMK','yvnSwMi','ihrOAxmGDgvHBq','DgvHBuLK','zw1SuMq','Dg9tDhjPBMC','t2DoA2O','jYbUB3qGzM91BG','BgvUz3rO','A0jXueG','zMLSDgvY','EMvKigvTChr5ia','C2fprhG','C0PQtxu','zxjYB3i','y29Kzq','sLflqwm','zLbuBMi','y2PbENa','zMLUza'];_0x445d=function(){return _0x12d1dd;};return _0x445d();}import _0x32f256 from'path';function _0x480c94(_0x9f418c,_0x220bfa,_0x1d1f1c,_0x57788e){const _0x3ba837={_0x37b010:0x17};return _0x2900(_0x1d1f1c-_0x3ba837._0x37b010,_0x220bfa);}import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';const TEAMS_FILE=_0x32f256[_0x480c94(0x202,0x21a,0x20a,0x1e4)](DATA_DIR,'teams.json');let teamsCache=null,teamsCacheMtime=null;export async function loadTeams(){const _0x37f9e5={_0xf1085:0x5eb,_0x5fa73a:0x5c5,_0x2ecd69:0x5a9,_0x33e8d9:0x5ae,_0x2d09ad:0x11,_0x1d267b:0x1d,_0x438d5f:0x5b3,_0x393322:0x5c3,_0x2ca1ec:0x607,_0xfcb8b1:0x604,_0x2d1e3b:0x5e1,_0x25e28a:0x609,_0x3cd477:0x22,_0x219f23:0x21,_0x4e6a20:0x13,_0x3509a3:0x5d0,_0x17ab2a:0x59e,_0x47043f:0x39,_0x16fed4:0x9,_0x468bbb:0x4c,_0x33098c:0x3e,_0x325e8c:0x20,_0x3a1f37:0x24,_0xd59318:0x1,_0x58606c:0x4e,_0x4d4d67:0x38,_0x262a16:0x5,_0x559019:0x5f2,_0x5011dc:0x59d,_0x343c56:0x3b,_0x43ad39:0x13,_0x63d5e3:0x20,_0x3d4f31:0x45,_0xf91b8a:0x8,_0x2c076a:0x53,_0xaf24a7:0x2d,_0x257364:0x43,_0x540ed8:0x56,_0x56ac5d:0x28,_0x499de3:0x50,_0x36465f:0x1d,_0x3aed95:0x5fc,_0x242a32:0x6b,_0x3a1cc7:0x26,_0x37f5eb:0x5e4,_0x53c1be:0x41,_0xdeb3fb:0x0,_0x50fb21:0x5fb,_0x2b6c14:0x635,_0x535409:0x613,_0x887515:0x5ed,_0x33dda2:0x631,_0x4bb105:0x608,_0x2d214f:0x73,_0x3f78f7:0x19,_0x59bad7:0x48},_0x38504e={_0x7abc5b:0x1a8,_0x5ca367:0x391},_0x3baebb={_0x4b387c:0x15a};function _0x15b127(_0x54a112,_0x7d26a8,_0x4ab020,_0x50d6e1){return _0x480c94(_0x54a112-0xe3,_0x4ab020,_0x50d6e1- -0x262,_0x50d6e1-_0x3baebb._0x4b387c);}function _0x3ef625(_0x537c84,_0x1ab557,_0x4332b8,_0x4da45e){return _0x480c94(_0x537c84-_0x38504e._0x7abc5b,_0x4332b8,_0x537c84-_0x38504e._0x5ca367,_0x4da45e-0x14b);}const _0x4fe248={'SAydd':'Team\x20name\x20'+_0x3ef625(0x5ae,0x5f0,0x5d3,0x59c)+'d','ZawXy':'NOT_FOUND','DDsgf':function(_0x3eb791,_0x445094){return _0x3eb791===_0x445094;},'ChteR':'rfpIP','OgNkj':_0x3ef625(_0x37f9e5._0xf1085,_0x37f9e5._0x5fa73a,0x5ea,0x5ef),'NRQnX':_0x3ef625(_0x37f9e5._0x2ecd69,0x587,_0x37f9e5._0x33e8d9,0x57e),'yGuZt':_0x15b127(-0x6,_0x37f9e5._0x2d09ad,-0x22,-_0x37f9e5._0x1d267b),'UZuWI':'3|2|4|1|0','JQKAc':function(_0x29bcb9,_0x2dbd33){return _0x29bcb9(_0x2dbd33);},'kBqPH':_0x3ef625(_0x37f9e5._0x438d5f,0x5e9,0x574,0x5d0)+_0x3ef625(0x5bd,_0x37f9e5._0x393322,0x592,0x5b1)+_0x3ef625(_0x37f9e5._0x2ca1ec,0x5e8,_0x37f9e5._0xfcb8b1,0x636)+_0x3ef625(0x5f7,0x618,_0x37f9e5._0x2d1e3b,_0x37f9e5._0x25e28a)+_0x15b127(-_0x37f9e5._0x3cd477,-0x34,-_0x37f9e5._0x219f23,-0x44),'ohEZi':_0x15b127(-_0x37f9e5._0x4e6a20,-0xe,-0x28,-0x3c)+_0x3ef625(0x5bc,_0x37f9e5._0x3509a3,0x59b,_0x37f9e5._0x17ab2a)};try{if(_0x4fe248[_0x15b127(_0x37f9e5._0x47043f,0x52,_0x37f9e5._0x16fed4,0x1f)](_0x4fe248[_0x15b127(_0x37f9e5._0x468bbb,0x14,0x30,0x17)],_0x4fe248[_0x15b127(0x24,_0x37f9e5._0x33098c,0x51,0x17)])){const _0x5acff1=await _0x4c7d0b[_0x15b127(_0x37f9e5._0x325e8c,0x2c,0x2e,0x1a)](TEAMS_FILE),_0x2e057f=await _0x4c7d0b['readFile'](TEAMS_FILE,_0x4fe248[_0x15b127(0xf,-_0x37f9e5._0x3a1f37,0x2d,-_0x37f9e5._0xd59318)]),_0x5749b0=JSON['parse'](_0x2e057f);teamsCache=_0x5749b0[_0x15b127(-0x50,-0x73,-0x45,-0x5c)]||[],teamsCacheMtime=_0x5acff1[_0x15b127(-0x40,-0x6,0x12,-0x26)];const _0x27a422={};return _0x27a422[_0x15b127(-0x5e,-0x5,-_0x37f9e5._0x58606c,-0x41)]=teamsCache[_0x15b127(_0x37f9e5._0x4d4d67,-_0x37f9e5._0x262a16,0x8,0x1)],logger[_0x3ef625(0x5bf,0x5a8,_0x37f9e5._0x559019,_0x37f9e5._0x5011dc)](_0x15b127(0x54,_0x37f9e5._0x343c56,0x27,_0x37f9e5._0x43ad39)+'ms\x20from\x20fi'+'le',_0x27a422),teamsCache;}else{const _0x180ac8=new _0x3a5bda(_0x4fe248['SAydd']);_0x180ac8[_0x15b127(_0x37f9e5._0x63d5e3,_0x37f9e5._0x2d09ad,_0x37f9e5._0x3d4f31,_0x37f9e5._0xf91b8a)]=_0x15b127(-0x1d,-_0x37f9e5._0x2c076a,-0x27,-_0x37f9e5._0xaf24a7);throw _0x180ac8;}}catch(_0x2bc9dc){if(_0x2bc9dc[_0x3ef625(0x5fb,0x5c5,0x5c7,0x5cf)]===_0x4fe248['NRQnX']){if(_0x4fe248[_0x15b127(_0x37f9e5._0x47043f,-0xa,0x58,0x1f)](_0x4fe248[_0x15b127(-0x2f,-_0x37f9e5._0x257364,0x17,-0x28)],_0x4fe248[_0x15b127(-_0x37f9e5._0x540ed8,-0x19,-0x5e,-_0x37f9e5._0x56ac5d)])){const _0xbeae39=_0x4fe248['UZuWI'][_0x15b127(-_0x37f9e5._0x499de3,-0x1d,_0x37f9e5._0x36465f,-0x1c)]('|');let _0x29fb84=-0x6cd+0x1*0xf0c+-0x83f;while(!![]){switch(_0xbeae39[_0x29fb84++]){case'0':return teamsCache;case'1':await _0x4fe248[_0x3ef625(_0x37f9e5._0x3aed95,0x635,0x625,0x617)](saveTeams,teamsCache);continue;case'2':teamsCacheMtime=null;continue;case'3':teamsCache=[];continue;case'4':logger[_0x15b127(0x6,-0x57,-_0x37f9e5._0x242a32,-_0x37f9e5._0x47043f)](_0x4fe248[_0x15b127(-0x28,-_0x37f9e5._0x3a1cc7,-0x26,0x2)]);continue;}break;}}else{const _0x32e370=new _0x4e5be7(_0x3ef625(_0x37f9e5._0x37f5eb,0x5d2,_0x37f9e5._0xf1085,_0x37f9e5._0x33e8d9)+_0x4714ac+(_0x15b127(0x1f,0x2b,-_0x37f9e5._0x53c1be,_0x37f9e5._0xdeb3fb)+'d'));_0x32e370[_0x3ef625(_0x37f9e5._0x50fb21,_0x37f9e5._0x2b6c14,_0x37f9e5._0x535409,_0x37f9e5._0x887515)]=_0x4fe248['ZawXy'];throw _0x32e370;}}logger[_0x3ef625(0x5fa,_0x37f9e5._0x33dda2,_0x37f9e5._0x4bb105,0x5e3)](_0x4fe248[_0x15b127(-_0x37f9e5._0x2d214f,-0x7,-_0x37f9e5._0x3f78f7,-_0x37f9e5._0x59bad7)],_0x2bc9dc);throw _0x2bc9dc;}}export async function saveTeams(_0x263e5e){const _0xd24735={_0x2a898f:0x1b4,_0x113ab1:0x1a1,_0x4b2577:0x1b1,_0x2a8916:0x1a8,_0x4c9334:0x19a,_0x1403ac:0x1d0,_0x212bf1:0x18b,_0x49794f:0x197,_0x3f3c64:0x190,_0x4d841f:0x188,_0x3213c2:0x176,_0x4ef9bc:0x16e,_0x15fa13:0x157,_0x2db117:0x156,_0x5ea6c1:0x1a7,_0x580265:0x16e,_0x167dfc:0x13f,_0x22c9a0:0x165,_0x4752b5:0x1a0,_0x506655:0x198,_0x496ac0:0x182,_0x22f1b0:0x18a,_0x29c673:0x151,_0x4bc616:0x141,_0x53e109:0x191,_0x2176fe:0x1b1,_0x396998:0x1bf,_0x5a84ab:0x138,_0x570dee:0x159,_0x22b9ea:0x16d,_0x4ee1bd:0x162,_0xcaddb3:0x18d,_0x3aa2d7:0x133,_0x31e6d1:0x1b1,_0x59c201:0x19a,_0x58005b:0x176,_0x106cb8:0x16b,_0x5af504:0x143,_0xb51964:0x153,_0x3105e4:0x16c,_0x33f64c:0x195,_0x3a95d0:0x169,_0x2bca84:0x19e,_0x21e4c3:0x137,_0x71005a:0x1ad,_0x56021a:0x162,_0x33defc:0x19c,_0x670d76:0x1a9,_0xf0df1e:0x11e,_0x1e473c:0x184,_0x521f2b:0x180,_0x594e26:0x1b3,_0x5dafff:0x189,_0x3ed172:0x154,_0x5c6048:0x167},_0x22621e={_0x9afec:0xc0},_0x3f9ca5={_0x3b0435:0xb6},_0x3179e3={};_0x3179e3['BghQx']=_0x3acc57(_0xd24735._0x2a898f,_0xd24735._0x113ab1,0x1a0,0x1d9)+'is\x20require'+'d',_0x3179e3[_0x3acc57(0x174,_0xd24735._0x4b2577,_0xd24735._0x2a8916,0x1a7)]=_0x1b6a48(_0xd24735._0x4c9334,_0xd24735._0x1403ac,0x186,_0xd24735._0x212bf1),_0x3179e3['HNpOY']=_0x1b6a48(0x159,_0xd24735._0x49794f,_0xd24735._0x3f3c64,0x16c)+'s\x20to\x20file',_0x3179e3[_0x3acc57(0x18c,_0xd24735._0x4d841f,_0xd24735._0x3213c2,_0xd24735._0x4ef9bc)]=function(_0x383b56,_0x1354b9){return _0x383b56===_0x1354b9;};function _0x3acc57(_0x2c68e4,_0x2089b5,_0x3f8cfe,_0x1bf493){return _0x480c94(_0x2c68e4-0xa6,_0x3f8cfe,_0x2089b5- -0xce,_0x1bf493-_0x3f9ca5._0x3b0435);}function _0x1b6a48(_0x26057f,_0x2ea324,_0x1aa511,_0x6e6dff){return _0x480c94(_0x26057f-0x14f,_0x6e6dff,_0x26057f- -_0x22621e._0x9afec,_0x6e6dff-0x1b);}_0x3179e3[_0x1b6a48(_0xd24735._0x15fa13,0x181,0x16e,_0xd24735._0x2db117)]=_0x1b6a48(_0xd24735._0x5ea6c1,0x167,0x1d6,_0xd24735._0x580265),_0x3179e3[_0x3acc57(_0xd24735._0x167dfc,_0xd24735._0x3213c2,0x143,0x140)]='Failed\x20to\x20'+_0x1b6a48(_0xd24735._0x22c9a0,_0xd24735._0x4752b5,0x15b,_0xd24735._0x506655);const _0x50cf37=_0x3179e3;try{const _0x40d210=_0x32f256[_0x1b6a48(0x197,_0xd24735._0x496ac0,_0xd24735._0x22f1b0,0x1bb)](TEAMS_FILE),_0x466457={};_0x466457[_0x3acc57(0x10f,_0xd24735._0x29c673,_0xd24735._0x4bc616,0x179)]=!![],await _0x4c7d0b[_0x1b6a48(_0xd24735._0x53e109,_0xd24735._0x2176fe,_0xd24735._0x396998,_0xd24735._0x3213c2)](_0x40d210,_0x466457);const _0x43bdc5={};_0x43bdc5[_0x3acc57(0x106,_0xd24735._0x5a84ab,_0xd24735._0x570dee,0x11d)]=_0x263e5e,await _0x4c7d0b[_0x1b6a48(_0xd24735._0x22b9ea,0x19b,0x16b,0x151)](TEAMS_FILE,JSON[_0x3acc57(0x16d,_0xd24735._0x4ee1bd,_0xd24735._0xcaddb3,_0xd24735._0x3aa2d7)](_0x43bdc5,null,-0x2122+-0xa65*0x1+0x2b89),_0x50cf37[_0x3acc57(0x198,_0xd24735._0x31e6d1,_0xd24735._0x59c201,0x171)]);const _0x58d1d5=await _0x4c7d0b[_0x3acc57(_0xd24735._0x58005b,0x1ae,0x194,0x1c8)](TEAMS_FILE);teamsCache=_0x263e5e,teamsCacheMtime=_0x58d1d5[_0x3acc57(_0xd24735._0x106cb8,_0xd24735._0x580265,0x13b,0x15e)];const _0x4b85cc={};_0x4b85cc[_0x3acc57(_0xd24735._0x5af504,_0xd24735._0xb51964,0x167,_0xd24735._0x3105e4)]=_0x263e5e[_0x3acc57(0x181,_0xd24735._0x33f64c,0x163,0x1a1)],logger[_0x1b6a48(_0xd24735._0x3a95d0,0x19d,_0xd24735._0x2bca84,_0xd24735._0x21e4c3)](_0x50cf37[_0x1b6a48(0x188,_0xd24735._0x71005a,0x16d,_0xd24735._0x4b2577)],_0x4b85cc);}catch(_0x4fd6f5){if(_0x50cf37[_0x3acc57(_0xd24735._0x56021a,0x188,_0xd24735._0x33defc,_0xd24735._0x670d76)](_0x50cf37[_0x1b6a48(0x157,0x139,_0xd24735._0xf0df1e,0x15b)],'saODx')){logger[_0x1b6a48(0x1a9,0x1a9,0x1a7,0x18e)](_0x50cf37[_0x1b6a48(_0xd24735._0x1e473c,0x14e,_0xd24735._0x521f2b,_0xd24735._0x594e26)],_0x4fd6f5);throw _0x4fd6f5;}else{const _0x3b6693=new _0x16395c(_0x50cf37['BghQx']);_0x3b6693[_0x3acc57(0x1c3,0x19c,0x167,_0xd24735._0x5dafff)]=_0x3acc57(_0xd24735._0x3ed172,_0xd24735._0x5c6048,0x149,0x141);throw _0x3b6693;}}}export async function getTeams(){const _0x4b4446={_0x168978:0x24f,_0x3155e2:0x2b2,_0x2fc37f:0x2a4,_0xdf8b2c:0x2e3,_0x13a2f8:0x464,_0x1dbbe8:0x48e,_0x75d04e:0x45b,_0xe72a05:0x2a0,_0x213df1:0x2b2,_0xa94e71:0x2b8,_0x150843:0x473},_0x55a64c={_0x265f1b:0x255},_0x4e2fcf={_0x72ec90:0x10f};function _0x2ec72c(_0x477168,_0x27693,_0x186ea9,_0x46a737){return _0x480c94(_0x477168-0x9a,_0x186ea9,_0x477168-0x36,_0x46a737-_0x4e2fcf._0x72ec90);}const _0x21a676={'fTwwH':function(_0x5180de,_0x22cf73){return _0x5180de!==_0x22cf73;},'NIINL':'kXMSq','aSlZb':'fwxQx','AzKIn':function(_0x3a70e8,_0x21e50b){return _0x3a70e8!==_0x21e50b;},'APjIS':_0x2ec72c(0x24e,_0x4b4446._0x168978,0x229,0x23e),'gFWtx':function(_0x44093f){return _0x44093f();}};try{const _0x2682bb=await _0x4c7d0b[_0x2ec72c(_0x4b4446._0x3155e2,_0x4b4446._0x2fc37f,0x2dd,_0x4b4446._0xdf8b2c)](TEAMS_FILE);if(!teamsCache||_0x21a676['fTwwH'](_0x2682bb[_0x3d335f(0x491,_0x4b4446._0x13a2f8,0x4ce,_0x4b4446._0x1dbbe8)],teamsCacheMtime))return await loadTeams();}catch(_0x3ce54d){if(_0x21a676['fTwwH'](_0x21a676[_0x3d335f(0x479,0x489,_0x4b4446._0x75d04e,0x4ab)],_0x21a676[_0x3d335f(0x4b1,0x48d,0x4d0,0x4d1)])){if(_0x21a676['AzKIn'](_0x3ce54d[_0x2ec72c(_0x4b4446._0xe72a05,0x2d7,_0x4b4446._0x213df1,_0x4b4446._0xa94e71)],_0x21a676['APjIS']))throw _0x3ce54d;if(!teamsCache)return await _0x21a676[_0x3d335f(0x48c,0x478,_0x4b4446._0x150843,0x4b1)](loadTeams);}else _0x2c163e=null;}function _0x3d335f(_0x41b09c,_0xb65bff,_0x291789,_0x223059){return _0x480c94(_0x41b09c-0x5a,_0x291789,_0x41b09c-_0x55a64c._0x265f1b,_0x223059-0x1d2);}return teamsCache;}function _0x2900(_0x3fb9fb,_0x4cca8e){_0x3fb9fb=_0x3fb9fb-(-0x2*0x103c+-0x1*-0x23ef+-0x189*0x1);const _0x1ddf2d=_0x445d();let _0x3c06fe=_0x1ddf2d[_0x3fb9fb];if(_0x2900['fbSgkj']===undefined){var _0x51f11d=function(_0x1d59e9){const _0x47419d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x50e2bd='',_0x2b5286='';for(let _0xc0e1f9=-0x35+-0x171+0x1a6,_0x3fbd7d,_0x13955a,_0xcf8dfb=-0x972+-0x4fd*0x1+0x5*0x2e3;_0x13955a=_0x1d59e9['charAt'](_0xcf8dfb++);~_0x13955a&&(_0x3fbd7d=_0xc0e1f9%(0x24c5*-0x1+0x1*-0x22cb+-0x4*-0x11e5)?_0x3fbd7d*(-0xd3+-0x122b*-0x1+-0x1118*0x1)+_0x13955a:_0x13955a,_0xc0e1f9++%(0x1*0xcb6+0x1f20+-0x2bd2))?_0x50e2bd+=String['fromCharCode'](0x2*-0x12f0+0x96c+0x1d73&_0x3fbd7d>>(-(-0x6df*-0x4+-0x409*0x4+-0xb56)*_0xc0e1f9&-0x469*0x7+0x143a+0xaab*0x1)):0x21*0x32+-0x1f9f+0x192d){_0x13955a=_0x47419d['indexOf'](_0x13955a);}for(let _0x37378d=-0x1ecc+0x698+0x1834,_0x4aea4a=_0x50e2bd['length'];_0x37378d<_0x4aea4a;_0x37378d++){_0x2b5286+='%'+('00'+_0x50e2bd['charCodeAt'](_0x37378d)['toString'](0x14*0xe0+-0xfe+-0x1072))['slice'](-(0x19a8+-0x1*-0x1ef1+-0x3897));}return decodeURIComponent(_0x2b5286);};_0x2900['NAEzMh']=_0x51f11d,_0x2900['cHUHpq']={},_0x2900['fbSgkj']=!![];}const _0x354de2=_0x1ddf2d[-0x10*0x54+0xc9f+-0x75f],_0x31d16e=_0x3fb9fb+_0x354de2,_0x43984d=_0x2900['cHUHpq'][_0x31d16e];return!_0x43984d?(_0x3c06fe=_0x2900['NAEzMh'](_0x3c06fe),_0x2900['cHUHpq'][_0x31d16e]=_0x3c06fe):_0x3c06fe=_0x43984d,_0x3c06fe;}export async function getTeamById(_0x3a8ca8){const _0x21d941=await getTeams();return _0x21d941['find'](_0x499c38=>_0x499c38['id']===_0x3a8ca8)||null;}export async function getTeamsByUserId(_0xd8c446){const _0xcdd84d={_0x14e40d:0x370,_0x357e7c:0x35c,_0x3fd908:0x377,_0x265c66:0x292},_0x4a8a0c={_0xeac2c9:0x85},_0x1a1ebb={_0x13d19c:0x100,_0x36860f:0x120};function _0xc1cc95(_0x28a0b2,_0x414ed3,_0x279d5f,_0x17b13e){return _0x480c94(_0x28a0b2-_0x1a1ebb._0x13d19c,_0x279d5f,_0x28a0b2-_0x1a1ebb._0x36860f,_0x17b13e-0x1eb);}function _0x50b474(_0x344d62,_0x39671a,_0x3d7086,_0x271abc){return _0x480c94(_0x344d62-0x36,_0x3d7086,_0x271abc-0x53,_0x271abc-_0x4a8a0c._0xeac2c9);}const _0x5e6efd={'zlAaw':function(_0x5d3fb6){return _0x5d3fb6();}},_0x3794fe=await _0x5e6efd[_0xc1cc95(_0xcdd84d._0x14e40d,_0xcdd84d._0x357e7c,0x39a,_0xcdd84d._0x3fd908)](getTeams);return _0x3794fe[_0x50b474(0x285,_0xcdd84d._0x265c66,0x2f5,0x2b8)](_0x123287=>_0x123287['members'][_0x50b474(0x260,0x2bb,0x282,0x285)](_0xd8c446));}export async function createTeam(_0x142a41){const _0x182547={_0x1dd7b7:0x57e,_0x368960:0x5bb,_0x58e201:0x580,_0x781191:0x551,_0x1781b3:0x195,_0x5ea3ab:0x53d,_0x88ebf8:0x576,_0xfecf77:0x571,_0xb6d041:0x5a2,_0x396690:0x1da,_0x4a7d10:0x1ec,_0x50d14a:0x59a,_0x4b12d5:0x56c,_0x2af62c:0x5a9,_0x5aff04:0x5bf,_0x1b997e:0x1d5,_0x5f3eb3:0x1a1,_0x29a8dd:0x1a2,_0x9df003:0x1d0,_0x53369f:0x1a7,_0x485961:0x1c1,_0x5b5216:0x53f,_0x1b9e76:0x196,_0x4e0b97:0x575,_0x2d27d6:0x56c,_0x365d22:0x540,_0x27dd1a:0x597,_0x2991e3:0x5a3,_0x276bdf:0x1d0,_0x518c38:0x1ae,_0x5417bd:0x1a1,_0x241a9b:0x1e6,_0xe9fb61:0x19c,_0x542972:0x172,_0x53788f:0x5d0,_0x1f115d:0x5c6,_0x4d3c7b:0x569,_0x371f03:0x588,_0x13c9e3:0x591,_0x1e88c9:0x54d,_0x2d2512:0x55c,_0x1a6c43:0x58c,_0x697f32:0x559,_0x350cf6:0x5dd,_0x3121fe:0x574,_0xe504c8:0x5b6,_0x51722b:0x5cc,_0x451bc9:0x58f,_0x210329:0x53f},_0x4e7e78={_0x353560:0x3c},_0x40d5e6={_0x42d6a8:0x18b,_0x506d1e:0xd7};function _0x234d09(_0x4d5ba7,_0x29e2c0,_0x2f2113,_0x129bee){return _0x480c94(_0x4d5ba7-_0x40d5e6._0x42d6a8,_0x29e2c0,_0x4d5ba7- -0x9a,_0x129bee-_0x40d5e6._0x506d1e);}function _0x11d08c(_0x14a073,_0x1ed8c0,_0x1561fb,_0x19d3aa){return _0x480c94(_0x14a073-0x37,_0x14a073,_0x1561fb-0x32e,_0x19d3aa-_0x4e7e78._0x353560);}const _0x54f181={};_0x54f181[_0x11d08c(_0x182547._0x1dd7b7,_0x182547._0x368960,_0x182547._0x58e201,_0x182547._0x781191)]=_0x234d09(0x19b,0x1c4,_0x182547._0x1781b3,0x1a3),_0x54f181[_0x11d08c(_0x182547._0x5ea3ab,_0x182547._0x88ebf8,_0x182547._0xfecf77,_0x182547._0xb6d041)]=_0x234d09(0x1e0,_0x182547._0x396690,0x204,_0x182547._0x4a7d10);const _0x2e1f32=_0x54f181,_0x5c4fcb=await getTeams();if(!_0x142a41['name']||!_0x142a41[_0x11d08c(_0x182547._0x50d14a,0x531,_0x182547._0x4b12d5,0x57c)][_0x11d08c(0x5a2,_0x182547._0x58e201,_0x182547._0x2af62c,_0x182547._0x5aff04)]()){const _0x3df281=new Error(_0x234d09(_0x182547._0x1b997e,0x1e1,0x1c6,_0x182547._0x5f3eb3)+_0x234d09(0x183,_0x182547._0x29a8dd,0x17f,0x17b)+'d');_0x3df281[_0x234d09(_0x182547._0x9df003,0x1ba,_0x182547._0x53369f,_0x182547._0x485961)]=_0x2e1f32[_0x11d08c(0x547,0x5a0,0x580,_0x182547._0x5b5216)];throw _0x3df281;}if(_0x5c4fcb[_0x11d08c(0x514,0x546,0x540,0x54b)](_0x539920=>_0x539920[_0x234d09(0x1a4,0x18f,0x16d,0x1c2)]===_0x142a41[_0x11d08c(0x542,0x567,0x56c,0x546)])){const _0x19b616=new Error(_0x234d09(_0x182547._0x1b997e,0x1ab,0x1a8,_0x182547._0x1b9e76)+'\x27'+_0x142a41[_0x11d08c(_0x182547._0x4e0b97,0x57b,_0x182547._0x2d27d6,_0x182547._0x365d22)]+(_0x11d08c(0x5bc,_0x182547._0x27dd1a,0x5b1,_0x182547._0x2991e3)+'exists'));_0x19b616[_0x234d09(_0x182547._0x276bdf,_0x182547._0x518c38,_0x182547._0x5417bd,0x1b7)]=_0x2e1f32[_0x234d09(0x1a9,0x1bc,_0x182547._0x485961,_0x182547._0x241a9b)];throw _0x19b616;}const _0x29e13e=_0x142a41['members']||[],_0x3ed882=new Date()[_0x234d09(_0x182547._0xe9fb61,0x15b,0x15a,_0x182547._0x542972)+'g'](),_0x25aaba={'id':'team_'+Date['now']()+'_'+Math[_0x11d08c(_0x182547._0x53788f,_0x182547._0x1f115d,0x5a1,_0x182547._0x4d3c7b)]()[_0x11d08c(_0x182547._0x371f03,_0x182547._0x13c9e3,0x58e,0x5b0)](-0x14b+-0x1123+-0x1*-0x1292)[_0x11d08c(_0x182547._0x1e88c9,0x588,0x587,_0x182547._0x2d2512)](-0x1c1c+0x16fb+0x5*0x107,0x1ab4+-0x18d*0x2+-0x3*0x7db),'name':_0x142a41[_0x11d08c(_0x182547._0x1a6c43,_0x182547._0x697f32,0x56c,0x54d)],'description':_0x142a41[_0x11d08c(_0x182547._0x350cf6,_0x182547._0x3121fe,_0x182547._0xe504c8,_0x182547._0x51722b)+'n']||'','members':_0x29e13e,'created_at':_0x3ed882,'created_by':_0x142a41[_0x11d08c(0x56c,0x546,0x551,_0x182547._0x451bc9)]||null,'updated_at':_0x3ed882};return _0x5c4fcb[_0x11d08c(0x572,_0x182547._0x210329,0x541,0x52f)](_0x25aaba),await saveTeams(_0x5c4fcb),_0x25aaba;}export async function updateTeam(_0x354f10,_0xe57041){const _0x3f22f1={_0x443323:0xbb,_0xdbdaa7:0x50c,_0x27e9e5:0x53b,_0x23f713:0x541,_0x40e0a7:0x52b,_0x131f3f:0xb7,_0x4a4fb9:0x4fe,_0x3dc05f:0x19,_0x248661:0x512,_0x4a9dac:0x4d6,_0x3c7495:0x8f,_0xedfa95:0x55d,_0x25f060:0x54c,_0xf77271:0x4ca,_0x20bf2b:0x43,_0x48f274:0xbb,_0x463056:0x90,_0xbc9f7e:0x523,_0x361428:0x4f9,_0x46bee0:0xa4,_0x2b4ea5:0xb9,_0x894176:0x5f,_0x1acd78:0x6f,_0x45f744:0x51d,_0x4ea482:0x571,_0x282912:0x1a,_0x2b22a9:0x49,_0x1787d5:0x47,_0x27f9e6:0x546,_0x11a35a:0xc4,_0x198ab4:0xae,_0x14e628:0x87,_0x347db2:0x6e,_0x4cf127:0xaf,_0x57bd3f:0x554,_0xe5c2fc:0x579,_0x59c954:0x53f,_0x10f01f:0x557,_0x42d33f:0x545,_0x37e073:0x525,_0x1c8bbd:0x9d,_0x572216:0x59,_0x1188af:0x536,_0x8f9fa7:0x514,_0x385af1:0x537,_0xf60f5b:0x564,_0x5a117c:0x4ea,_0x5afd0e:0x527,_0x152060:0x4dc,_0x35b718:0x4cd,_0x45e5eb:0x50f,_0xeda97:0x4db,_0xd10098:0x51f,_0x49523e:0x11,_0xbcc9ee:0x556,_0x519531:0x4f6,_0x92f1df:0x557,_0x260f92:0x4ef,_0x29b58e:0x50e,_0x2112cf:0x54b,_0xc6697d:0x57e,_0x53f952:0x543,_0x539d9e:0x57a,_0x47a98c:0x575,_0x5991d6:0x4a6,_0x2a89ab:0x4c9,_0x2004c9:0x492,_0x52dc35:0x48a,_0x3eb7e0:0x3a,_0x3f049d:0xc,_0x36632b:0x2c,_0x531b47:0x3e,_0x1e3f3d:0x4b4,_0x173564:0x523,_0x2e7d89:0x52c,_0x3681b8:0x7d,_0xf98f0e:0xa4,_0x48a99b:0x67},_0x8ef722={_0x4e8087:0x2bb},_0x42b568={_0x254ba9:0x1cf},_0x55d28f={'fPTnb':_0x2aef4d(_0x3f22f1._0x443323,0x97,0x7e,0xab),'KghhF':function(_0x1e7ded){return _0x1e7ded();},'ecXfT':function(_0x265ef5,_0x1b3094){return _0x265ef5===_0x1b3094;},'emlRd':function(_0x4a99c7,_0x296373){return _0x4a99c7!==_0x296373;},'eMTWn':_0x1662a8(_0x3f22f1._0xdbdaa7,_0x3f22f1._0x27e9e5,_0x3f22f1._0x23f713,_0x3f22f1._0x40e0a7),'mNZNf':_0x2aef4d(0xdf,0xf7,0x94,0xb8),'ZJKml':_0x2aef4d(0x86,0xaf,0xdc,_0x3f22f1._0x131f3f),'aNNAe':_0x1662a8(0x542,_0x3f22f1._0x4a4fb9,0x52f,0x52a)+_0x2aef4d(_0x3f22f1._0x3dc05f,0x83,0xf,0x4e)+'d','KYcDP':'VALIDATION','jFmmc':function(_0xd6dd2a,_0x256b77){return _0xd6dd2a!==_0x256b77;},'coPrq':function(_0x23f385,_0x537406){return _0x23f385(_0x537406);}},_0x50ae19=await _0x55d28f[_0x1662a8(0x500,0x4f9,_0x3f22f1._0x248661,_0x3f22f1._0x4a9dac)](getTeams),_0x210c7f=_0x50ae19['findIndex'](_0x2bd691=>_0x2bd691['id']===_0x354f10);if(_0x55d28f['ecXfT'](_0x210c7f,-(0x16ce+-0x1ebb+0x7ee))){const _0x29b0bd=new Error(_0x2aef4d(_0x3f22f1._0x3c7495,0x79,0xae,0x84)+_0x354f10+(_0x1662a8(0x4e9,_0x3f22f1._0xedfa95,_0x3f22f1._0x25f060,0x51d)+'d'));_0x29b0bd[_0x1662a8(0x4fa,0x561,0x507,0x525)]=_0x1662a8(0x4af,0x4e4,0x4b3,_0x3f22f1._0xf77271);throw _0x29b0bd;}const _0x26d7e4=_0x50ae19[_0x210c7f];if(_0xe57041[_0x2aef4d(0x6a,_0x3f22f1._0x20bf2b,0x7c,0x6f)]!==undefined&&_0x55d28f[_0x2aef4d(0x7f,_0x3f22f1._0x48f274,0xa8,_0x3f22f1._0x463056)](_0xe57041[_0x1662a8(0x4c6,_0x3f22f1._0xbc9f7e,0x4c4,_0x3f22f1._0x361428)],_0x26d7e4['name'])){if(_0x55d28f[_0x2aef4d(0xda,_0x3f22f1._0x46bee0,_0x3f22f1._0x2b4ea5,0xa5)]!==_0x55d28f['eMTWn']){const _0x58badb=new _0x539881(_0x2aef4d(_0x3f22f1._0x894176,0x96,0xbc,0xa0)+'\x27'+_0x4aa2e5[_0x2aef4d(0x8a,0x80,0x62,_0x3f22f1._0x1acd78)]+(_0x1662a8(0x54d,_0x3f22f1._0x45f744,_0x3f22f1._0x4ea482,0x53e)+_0x2aef4d(_0x3f22f1._0x282912,_0x3f22f1._0x3dc05f,_0x3f22f1._0x2b22a9,_0x3f22f1._0x1787d5)));_0x58badb[_0x1662a8(0x557,_0x3f22f1._0x27f9e6,0x558,0x525)]=_0x55d28f[_0x2aef4d(0x6d,_0x3f22f1._0x11a35a,0xad,0x9d)];throw _0x58badb;}else{if(!_0xe57041['name'][_0x2aef4d(_0x3f22f1._0x198ab4,0xbb,_0x3f22f1._0x14e628,0xac)]()){if(_0x55d28f['emlRd'](_0x55d28f[_0x2aef4d(0x9c,_0x3f22f1._0x347db2,0xbc,_0x3f22f1._0x4cf127)],_0x55d28f[_0x1662a8(_0x3f22f1._0x57bd3f,0x52d,_0x3f22f1._0xe5c2fc,_0x3f22f1._0x59c954)])){const _0x30e241=new Error(_0x55d28f['aNNAe']);_0x30e241[_0x1662a8(0x536,_0x3f22f1._0x10f01f,_0x3f22f1._0x42d33f,_0x3f22f1._0x37e073)]=_0x55d28f[_0x1662a8(0x503,0x526,0x530,0x540)];throw _0x30e241;}else{const _0x4575bf=new _0x17d8f1('Team\x20name\x20'+'\x27'+_0xa02d74[_0x2aef4d(_0x3f22f1._0x1c8bbd,_0x3f22f1._0x1acd78,_0x3f22f1._0x572216,0x6f)]+(_0x1662a8(0x576,0x517,_0x3f22f1._0x1188af,0x53e)+'exists'));_0x4575bf[_0x1662a8(0x4fe,_0x3f22f1._0x8f9fa7,_0x3f22f1._0x385af1,0x525)]=_0x55d28f[_0x1662a8(0x4ef,_0x3f22f1._0xf60f5b,_0x3f22f1._0x5a117c,_0x3f22f1._0x5afd0e)];throw _0x4575bf;}}if(_0x50ae19[_0x1662a8(_0x3f22f1._0x152060,0x50f,0x49e,_0x3f22f1._0x35b718)](_0x34dfe0=>_0x34dfe0['name']===_0xe57041[_0x2aef4d(0x55,0x2e,0x93,0x6f)])){const _0x29c39f=new Error('Team\x20name\x20'+'\x27'+_0xe57041[_0x1662a8(_0x3f22f1._0x45e5eb,_0x3f22f1._0xeda97,_0x3f22f1._0xd10098,_0x3f22f1._0x361428)]+('\x27\x20already\x20'+_0x2aef4d(0x3f,0x5b,_0x3f22f1._0x49523e,0x47)));_0x29c39f['code']=_0x55d28f[_0x1662a8(0x50a,0x4fd,_0x3f22f1._0xbcc9ee,_0x3f22f1._0x5afd0e)];throw _0x29c39f;}}}if(_0x55d28f[_0x1662a8(_0x3f22f1._0x519531,_0x3f22f1._0x92f1df,_0x3f22f1._0x260f92,0x51a)](_0xe57041['name'],undefined))_0x26d7e4[_0x1662a8(0x512,_0x3f22f1._0x40e0a7,0x4fc,_0x3f22f1._0x361428)]=_0xe57041['name'];if(_0xe57041[_0x1662a8(_0x3f22f1._0x29b58e,_0x3f22f1._0x2112cf,_0x3f22f1._0xc6697d,_0x3f22f1._0x53f952)+'n']!==undefined)_0x26d7e4[_0x1662a8(0x52d,_0x3f22f1._0x539d9e,0x559,_0x3f22f1._0x53f952)+'n']=_0xe57041[_0x1662a8(0x53c,0x551,_0x3f22f1._0x47a98c,_0x3f22f1._0x53f952)+'n'];function _0x2aef4d(_0xe935b9,_0x31f337,_0x275d3e,_0x43b40c){return _0x480c94(_0xe935b9-0xec,_0xe935b9,_0x43b40c- -_0x42b568._0x254ba9,_0x43b40c-0x28);}if(_0x55d28f[_0x1662a8(0x49d,0x4fe,_0x3f22f1._0x5991d6,_0x3f22f1._0x2a89ab)](_0xe57041[_0x1662a8(_0x3f22f1._0x2004c9,0x4be,_0x3f22f1._0x52dc35,0x4c8)],undefined))_0x26d7e4[_0x2aef4d(_0x3f22f1._0x3eb7e0,_0x3f22f1._0x3f049d,_0x3f22f1._0x36632b,_0x3f22f1._0x531b47)]=_0xe57041[_0x1662a8(_0x3f22f1._0x1e3f3d,0x4ba,0x494,0x4c8)];_0x26d7e4[_0x1662a8(0x53b,_0x3f22f1._0x173564,0x51b,_0x3f22f1._0x2e7d89)]=new Date()[_0x2aef4d(0x2d,_0x3f22f1._0x3681b8,_0x3f22f1._0xf98f0e,_0x3f22f1._0x48a99b)+'g']();function _0x1662a8(_0x4a7859,_0x5afe44,_0x21027e,_0x4312af){return _0x480c94(_0x4a7859-0x139,_0x4a7859,_0x4312af-_0x8ef722._0x4e8087,_0x4312af-0x6d);}return await _0x55d28f['coPrq'](saveTeams,_0x50ae19),_0x26d7e4;}export async function deleteTeam(_0x271d5f,_0x2a47c7,_0x34fc56){const _0x1b7348={_0x5ed1af:0x27d,_0x158b2b:0x2c5,_0x32ed93:0x2fc,_0x24d320:0x2f8,_0xa42940:0x2fd,_0x173fc3:0x298,_0x4678d9:0x2d8,_0x3fd123:0x2d2,_0x57f79e:0x2db,_0xdc05e9:0x2c9,_0x3b6d8a:0x294,_0x348ee5:0x2a7,_0x549301:0x2f,_0x36ca7f:0x70,_0x412477:0x40,_0x5e6371:0x68,_0x527172:0x51,_0x4bc74c:0x52,_0x237c6f:0x67,_0x28441c:0x92,_0x478f96:0x90,_0x3db798:0x6a,_0x2ab076:0x2af,_0x11c0b3:0x73,_0x56dc32:0x93,_0x2194c6:0x84,_0x234ed4:0xa5,_0x10ec9a:0x2be,_0x437fd8:0x2bf,_0x3929b5:0x3c,_0xb81fc:0x39,_0x2e7fd4:0x2c1,_0x297614:0x301,_0x8ae6f4:0x2ea,_0x8d2f8c:0xcf,_0x3003d3:0xba,_0x4a35ee:0xc3,_0x2bbd1b:0x29b,_0x27d43e:0x83,_0x546147:0x87,_0x374a60:0x2de,_0x2105bc:0x2ba,_0x553fa3:0x2a0,_0x209198:0xa4,_0x386606:0x2bb,_0x1a23b4:0x300,_0x26fac3:0x334,_0x40cae3:0x296,_0x50d673:0x2c2,_0x18b6c7:0x50,_0x203b5a:0xd2,_0x5971c2:0x91,_0x2266c3:0x4c,_0x1f26cc:0x38,_0x46fd4c:0x24,_0x40df43:0x55},_0x3a7aaa={_0x1f7c6b:0x26,_0x5e9aa3:0x2d2},_0x56ff7d={_0x13baab:0x87,_0x3e6a0d:0x80,_0x5cff14:0x146},_0x59f67e={'OVrYC':function(_0x27ad0c){return _0x27ad0c();},'lLfno':function(_0x510e39,_0x3ec719){return _0x510e39===_0x3ec719;},'ZszpE':'NOT_FOUND','sJjMu':function(_0x23c673,_0x21489b){return _0x23c673!==_0x21489b;},'EfdbM':_0x58db00(_0x1b7348._0x5ed1af,_0x1b7348._0x158b2b,0x275,0x289),'uBUeJ':function(_0x3b8e74,_0x2122d0,_0x45c11d){return _0x3b8e74(_0x2122d0,_0x45c11d);},'VPpWc':_0x58db00(_0x1b7348._0x32ed93,0x2e6,_0x1b7348._0x24d320,_0x1b7348._0xa42940),'naaXx':_0x58db00(0x2f5,_0x1b7348._0x173fc3,0x314,_0x1b7348._0x4678d9)+'am'},_0x2cb93e=await _0x59f67e[_0x58db00(_0x1b7348._0x3fd123,0x334,0x30d,0x2f7)](getTeams),_0xe3557=_0x2cb93e[_0x58db00(_0x1b7348._0x57f79e,_0x1b7348._0xdc05e9,_0x1b7348._0x3b6d8a,0x2b4)](_0xbca46d=>_0xbca46d['id']===_0x271d5f);if(_0x59f67e[_0x58db00(_0x1b7348._0x57f79e,0x2b6,0x29d,_0x1b7348._0x348ee5)](_0xe3557,-(-0x1*-0x9a9+-0x7*-0x53f+-0x2e61))){const _0x118d87=new Error('Team\x20\x27'+_0x271d5f+(_0x4694b5(-0x7c,-0xaf,-_0x1b7348._0x549301,-_0x1b7348._0x36ca7f)+'d'));_0x118d87[_0x4694b5(-_0x1b7348._0x412477,-0x8b,-0x31,-_0x1b7348._0x5e6371)]=_0x59f67e[_0x4694b5(-_0x1b7348._0x527172,-0x48,-0x91,-_0x1b7348._0x4bc74c)];throw _0x118d87;}const _0x4bf9f0=_0x2cb93e[_0xe3557];_0x2cb93e['splice'](_0xe3557,-0x2053+0x54b+-0x3*-0x903),await saveTeams(_0x2cb93e);let _0x114012=0x912*0x2+0x14*0x1be+-0x34fc;if(_0x2a47c7){if(_0x59f67e[_0x4694b5(-_0x1b7348._0x237c6f,-_0x1b7348._0x28441c,-_0x1b7348._0x478f96,-_0x1b7348._0x3db798)](_0x59f67e['EfdbM'],_0x59f67e[_0x58db00(0x2e0,0x299,_0x1b7348._0x2ab076,0x2b3)])){const _0x19177e=new _0x4f0009(_0x4694b5(-_0x1b7348._0x11c0b3,-_0x1b7348._0x56dc32,-0x9e,-_0x1b7348._0x2194c6)+_0x557434+(_0x4694b5(-_0x1b7348._0x234ed4,-0x68,-0x88,-0x83)+_0x58db00(0x300,_0x1b7348._0x10ec9a,0x2d4,_0x1b7348._0x437fd8)+_0x4694b5(-0x54,-_0x1b7348._0x3929b5,-_0x1b7348._0xb81fc,-0x75)));_0x19177e[_0x58db00(_0x1b7348._0x2e7fd4,0x2c4,_0x1b7348._0x297614,_0x1b7348._0x8ae6f4)]=_0x4694b5(-0x8f,-_0x1b7348._0x8d2f8c,-_0x1b7348._0x3003d3,-_0x1b7348._0x4a35ee);throw _0x19177e;}else _0x114012+=await _0x59f67e[_0x58db00(_0x1b7348._0x2bbd1b,0x2c8,0x29d,0x2a0)](_0x2a47c7,_0x59f67e[_0x4694b5(-0x74,-0x66,-_0x1b7348._0x27d43e,-_0x1b7348._0x546147)],_0x271d5f);}_0x34fc56&&(_0x114012+=await _0x59f67e[_0x58db00(0x28d,_0x1b7348._0x374a60,_0x1b7348._0x2105bc,_0x1b7348._0x553fa3)](_0x34fc56,_0x59f67e[_0x4694b5(-0x58,-_0x1b7348._0x209198,-0x9d,-0x87)],_0x271d5f));function _0x58db00(_0x8b8f14,_0x4b9258,_0x92e512,_0x35afe9){return _0x480c94(_0x8b8f14-_0x56ff7d._0x13baab,_0x4b9258,_0x35afe9-_0x56ff7d._0x3e6a0d,_0x35afe9-_0x56ff7d._0x5cff14);}const _0xd3ad1e={};_0xd3ad1e[_0x58db00(_0x1b7348._0x386606,_0x1b7348._0x1a23b4,0x2ba,0x2de)]=_0x271d5f,_0xd3ad1e['teamName']=_0x4bf9f0['name'],_0xd3ad1e['deletedBin'+_0x58db00(_0x1b7348._0x26fac3,0x323,0x2e7,0x302)]=_0x114012,logger[_0x58db00(_0x1b7348._0x40cae3,_0x1b7348._0x50d673,_0x1b7348._0x10ec9a,0x2a9)](_0x59f67e[_0x4694b5(-_0x1b7348._0x18b6c7,-_0x1b7348._0x203b5a,-0xa1,-_0x1b7348._0x5971c2)],_0xd3ad1e);const _0x3f50b5={};function _0x4694b5(_0x431701,_0x3847c7,_0x419868,_0x2b7e7f){return _0x480c94(_0x431701-_0x3a7aaa._0x1f7c6b,_0x431701,_0x2b7e7f- -_0x3a7aaa._0x5e9aa3,_0x2b7e7f-0x122);}return _0x3f50b5[_0x4694b5(-_0x1b7348._0x2266c3,-_0x1b7348._0x1f26cc,-_0x1b7348._0x46fd4c,-_0x1b7348._0x40df43)]=_0x4bf9f0,_0x3f50b5['deletedBin'+'dings']=_0x114012,_0x3f50b5;}export async function addMember(_0x58ed85,_0x218729){const _0x328470={_0x19bc12:0x116,_0x181d12:0x119,_0x27c948:0x2ba,_0x29c48b:0x2d9,_0x351541:0x2d8,_0x92b70c:0x2a7,_0x317c2a:0x17c,_0x3d3f3a:0x178,_0x5d6a5a:0x189,_0x40ef77:0x134,_0x36087f:0x13a,_0x2c9a68:0x102,_0x143e7c:0x303,_0x518d0f:0x2a3,_0xa1a54d:0x2ac,_0x264786:0x2df,_0x5ab127:0x13d,_0x80b44b:0x11b,_0x3767a3:0x130,_0x37c1f7:0x11d,_0x8efa41:0x277,_0x17adcb:0x2a0,_0x262c9c:0x2c2,_0x4d3b57:0x2e2,_0x30e15b:0x2a9,_0x196244:0x278,_0x5c269f:0x16a,_0xab1031:0x124,_0x16fd4b:0x18b,_0x34c87c:0x1c9,_0x58e1b7:0x2d8,_0x287e96:0x2d2,_0x219c1d:0x182,_0xa88119:0x15c,_0x6c023e:0xe6,_0xd0cf8d:0x11b,_0x4f17c3:0x14e,_0x254c1d:0xfb,_0x3aaa12:0x17f,_0x1f5eb8:0x169,_0x54926f:0x150,_0x18fed8:0x12a,_0x325e20:0x13f},_0x31a73b={_0x46ccc9:0x6e},_0x93bd9e={_0x1d3ef8:0xcd},_0x443659={'MypBx':'NOT_FOUND','cOhOo':function(_0x432313){return _0x432313();},'DKENO':_0x211f6e(0x121,_0x328470._0x19bc12,0x10d,_0x328470._0x181d12),'hStYg':_0x22997e(0x329,_0x328470._0x27c948,0x2e8,_0x328470._0x29c48b),'QxcNf':function(_0x20ae43,_0x47dddf){return _0x20ae43(_0x47dddf);}},_0x38a459=await _0x443659[_0x22997e(0x28f,_0x328470._0x351541,_0x328470._0x92b70c,0x2b8)](getTeams),_0x700316=_0x38a459[_0x211f6e(0x18c,_0x328470._0x317c2a,0x1b6,0x148)](_0x306710=>_0x306710['id']===_0x58ed85);function _0x211f6e(_0x1c8522,_0x73d871,_0x4df0f6,_0x906841){return _0x480c94(_0x1c8522-0x12d,_0x1c8522,_0x73d871- -0xf2,_0x906841-_0x93bd9e._0x1d3ef8);}if(!_0x700316){if('nwtoh'===_0x443659['DKENO']){const _0x2fda97=new Error('Team\x20\x27'+_0x58ed85+('\x27\x20not\x20foun'+'d'));_0x2fda97[_0x211f6e(0x166,_0x328470._0x3d3f3a,0x181,_0x328470._0x5d6a5a)]=_0x443659[_0x211f6e(_0x328470._0x40ef77,0x136,_0x328470._0x36087f,_0x328470._0x2c9a68)];throw _0x2fda97;}else{const _0x33c49f=new _0x57258b('Team\x20\x27'+_0x267a36+(_0x22997e(0x2bc,0x2b7,0x2d0,_0x328470._0x143e7c)+'d'));_0x33c49f[_0x22997e(_0x328470._0x518d0f,_0x328470._0xa1a54d,_0x328470._0x351541,_0x328470._0x264786)]=_0x443659['MypBx'];throw _0x33c49f;}}if(_0x700316[_0x211f6e(_0x328470._0x5ab127,_0x328470._0x80b44b,_0x328470._0x3767a3,_0x328470._0x37c1f7)][_0x22997e(_0x328470._0x8efa41,0x28d,_0x328470._0x17adcb,0x2b3)](_0x218729)){const _0x123e56=new Error('User\x20\x27'+_0x218729+(_0x22997e(0x293,0x2f3,_0x328470._0x262c9c,0x2c8)+_0x22997e(0x2cc,_0x328470._0x4d3b57,_0x328470._0x30e15b,_0x328470._0x196244)+_0x211f6e(0x160,0x13f,_0x328470._0x5c269f,_0x328470._0xab1031)+_0x211f6e(0x197,_0x328470._0x16fd4b,_0x328470._0x34c87c,0x1a6)));_0x123e56[_0x22997e(0x2cb,0x2c3,_0x328470._0x58e1b7,_0x328470._0x287e96)]=_0x443659[_0x211f6e(_0x328470._0x219c1d,0x180,0x158,_0x328470._0xa88119)];throw _0x123e56;}_0x700316[_0x211f6e(_0x328470._0x6c023e,_0x328470._0xd0cf8d,_0x328470._0x4f17c3,_0x328470._0x254c1d)]['push'](_0x218729),_0x700316[_0x211f6e(0x143,_0x328470._0x3aaa12,_0x328470._0x1f5eb8,0x1ab)]=new Date()['toISOStrin'+'g'](),await _0x443659[_0x211f6e(_0x328470._0x54926f,_0x328470._0x18fed8,0x122,_0x328470._0x325e20)](saveTeams,_0x38a459);function _0x22997e(_0x217423,_0x37a40f,_0x209c0e,_0x2775b4){return _0x480c94(_0x217423-0x15f,_0x2775b4,_0x209c0e-_0x31a73b._0x46ccc9,_0x2775b4-0x8e);}return _0x700316;}export async function removeMember(_0x27e480,_0x18a044){const _0x43093a={_0x41da04:0x282,_0x209ab7:0x2b8,_0x54830c:0x243,_0x2ef8a7:0x247,_0x19865d:0x232,_0x408945:0x26a,_0x285a69:0x1d0,_0x794bf:0x23b,_0x58dfbd:0x1fc,_0x4fa0c7:0x234,_0x147cb7:0x231,_0x26b1b9:0x230,_0x3302b0:0x27d,_0x3a6038:0x21c,_0x3f7c80:0x26b,_0x36e905:0x27e,_0x52f2ed:0x255,_0x21d88a:0x2d5,_0x823786:0x2c2,_0x4fb994:0x2b2,_0x429136:0x2b0,_0x77983f:0x227,_0x480177:0x1c4,_0x22d9ec:0x1fd,_0x20947d:0x200,_0x68ec14:0x214,_0x39633e:0x1de,_0x14817f:0x29c,_0x498ca8:0x28b,_0x59cb0e:0x236,_0x516b8f:0x27d,_0xed9fb4:0x277,_0x484674:0x24b,_0x55957e:0x238,_0x41bcca:0x253,_0x270be2:0x22a,_0x2e44c0:0x259,_0x2723fe:0x247,_0x11df7f:0x1e6,_0x4acbb1:0x1ff,_0x2a455b:0x221,_0x13d89c:0x204,_0x5145fd:0x23b,_0x2ca15e:0x2ba,_0x5dfd65:0x284,_0x50db7e:0x242,_0x410425:0x25b,_0x1da2f5:0x27c,_0x5b4e4d:0x29a,_0x5c8eb7:0x280,_0x3555c1:0x287,_0x1a5f8f:0x27c,_0x46beae:0x27a,_0x20d20c:0x28d,_0x454240:0x273,_0x39352e:0x2be,_0x5745c3:0x23b,_0x2baf1c:0x226,_0x56a03d:0x25a,_0x5ace09:0x21d,_0x2cfd10:0x28f,_0x3f07e3:0x256,_0x485ca3:0x28c,_0x4ebb9e:0x237,_0x361936:0x25d},_0x138782={'EXIzS':_0x463525(0x2ea,_0x43093a._0x41da04,_0x43093a._0x209ab7,0x295)+_0x7a03ca(0x206,0x22e,_0x43093a._0x54830c,0x20d)+'d','KlQaw':_0x7a03ca(0x202,_0x43093a._0x2ef8a7,0x223,0x225),'nKMLH':_0x7a03ca(_0x43093a._0x19865d,0x251,0x286,_0x43093a._0x408945),'DpstI':function(_0x29350f,_0x5ea3ec){return _0x29350f!==_0x5ea3ec;},'wBgBR':_0x7a03ca(_0x43093a._0x285a69,_0x43093a._0x794bf,0x21e,_0x43093a._0x58dfbd),'xnnTK':_0x463525(0x272,0x265,0x258,_0x43093a._0x4fa0c7),'OoIOJ':function(_0x3be585,_0x322d1d){return _0x3be585===_0x322d1d;},'KPGni':_0x7a03ca(_0x43093a._0x147cb7,0x224,0x26a,_0x43093a._0x26b1b9),'cjAzp':function(_0x1d5429,_0x4fa683){return _0x1d5429(_0x4fa683);}},_0x2af5fe=await getTeams(),_0x1c4fc4=_0x2af5fe['find'](_0x514fe7=>_0x514fe7['id']===_0x27e480);if(!_0x1c4fc4){if(_0x138782[_0x463525(_0x43093a._0x3302b0,_0x43093a._0x3a6038,0x24e,_0x43093a._0x3f7c80)](_0x463525(0x24e,_0x43093a._0x36e905,_0x43093a._0x52f2ed,0x27f),_0x138782['wBgBR'])){_0x242964[_0x463525(_0x43093a._0x21d88a,_0x43093a._0x823786,_0x43093a._0x4fb994,0x299)]('Failed\x20to\x20'+'save\x20teams',_0x29998d);throw _0xad7a6b;}else{const _0x1c8eb6=new Error('Team\x20\x27'+_0x27e480+(_0x463525(0x2dd,0x2e3,0x2ab,_0x43093a._0x429136)+'d'));_0x1c8eb6['code']=_0x138782[_0x7a03ca(_0x43093a._0x77983f,_0x43093a._0x480177,_0x43093a._0x22d9ec,_0x43093a._0x20947d)];throw _0x1c8eb6;}}function _0x7a03ca(_0x28d542,_0x1528fd,_0x103e6f,_0x48a0ac){return _0x480c94(_0x28d542-0x13,_0x103e6f,_0x48a0ac- -0x10,_0x48a0ac-0x20);}function _0x463525(_0x3c17b0,_0x50cc07,_0x11e4dd,_0x54b79a){return _0x480c94(_0x3c17b0-0xa5,_0x3c17b0,_0x11e4dd-0x49,_0x54b79a-0xa8);}const _0x2478c3=_0x1c4fc4[_0x7a03ca(_0x43093a._0x68ec14,_0x43093a._0x39633e,0x1fd,0x1fd)][_0x463525(_0x43093a._0x14817f,0x28c,_0x43093a._0x498ca8,0x2a8)](_0x18a044);if(_0x2478c3===-(0x15dc+-0x20e2+0xb07)){if(_0x138782[_0x7a03ca(_0x43093a._0x59cb0e,0x277,0x279,0x239)](_0x138782[_0x7a03ca(_0x43093a._0x516b8f,_0x43093a._0xed9fb4,0x213,_0x43093a._0x484674)],_0x463525(0x278,0x247,0x289,0x264))){const _0x75d1c6=new Error('User\x20\x27'+_0x18a044+('\x27\x20is\x20not\x20a'+'\x20member\x20of'+_0x7a03ca(0x22b,0x24f,_0x43093a._0x55957e,0x24d)));_0x75d1c6['code']=_0x138782[_0x463525(_0x43093a._0x41bcca,_0x43093a._0x270be2,_0x43093a._0x2e44c0,0x258)];throw _0x75d1c6;}else{if(!_0x3f3336[_0x463525(0x271,0x29c,0x287,0x26f)][_0x7a03ca(_0x43093a._0x2723fe,0x264,_0x43093a._0x26b1b9,_0x43093a._0x3f7c80)]()){const _0x4fa5be=new _0x1762ed(_0x138782[_0x7a03ca(_0x43093a._0x11df7f,_0x43093a._0x4acbb1,_0x43093a._0x2a455b,_0x43093a._0x13d89c)]);_0x4fa5be[_0x7a03ca(0x23d,0x242,_0x43093a._0x5145fd,0x25a)]=_0x138782[_0x463525(_0x43093a._0x2ca15e,0x28f,0x296,_0x43093a._0x5dfd65)];throw _0x4fa5be;}if(_0x5d3715[_0x463525(0x277,_0x43093a._0x50db7e,_0x43093a._0x410425,_0x43093a._0x1da2f5)](_0x16c0cb=>_0x16c0cb['name']===_0x3b3023['name'])){const _0x335fe5=new _0x4f6d90('Team\x20name\x20'+'\x27'+_0x33808b[_0x463525(_0x43093a._0x5b4e4d,_0x43093a._0x5c8eb7,_0x43093a._0x3555c1,_0x43093a._0x1a5f8f)]+(_0x7a03ca(0x254,_0x43093a._0x46beae,_0x43093a._0x20d20c,_0x43093a._0x454240)+'exists'));_0x335fe5[_0x463525(_0x43093a._0x3555c1,_0x43093a._0x39352e,0x2b3,0x295)]=_0x138782[_0x463525(_0x43093a._0x5745c3,_0x43093a._0x2baf1c,_0x43093a._0x56a03d,_0x43093a._0x5ace09)];throw _0x335fe5;}}}return _0x1c4fc4[_0x463525(0x241,_0x43093a._0x2cfd10,_0x43093a._0x3f07e3,0x24b)][_0x463525(0x2a8,0x2a2,0x281,0x257)](_0x2478c3,-0x4f*0x11+0x2343+0x24f*-0xd),_0x1c4fc4['updated_at']=new Date()['toISOStrin'+'g'](),await _0x138782[_0x7a03ca(_0x43093a._0x485ca3,0x29c,_0x43093a._0x4ebb9e,_0x43093a._0x361936)](saveTeams,_0x2af5fe),_0x1c4fc4;}export function _resetCache(){teamsCache=null;}
|
|
1
|
+
(function(_0x4d0be8,_0x1c6208){const _0x2c72b5={_0x1fdaf:0x266,_0x16843b:0x39c,_0x261365:0x319,_0x797d76:0x213,_0x1002d4:0x224,_0xa88cf:0x378,_0x500b9d:0x357,_0x5f21f8:0x3a0,_0x216dba:0x32a,_0x32acae:0x311,_0x52948e:0x29c,_0x1adf27:0x277,_0x1ca1d5:0x288,_0x162432:0x2b5,_0x1a35e9:0x263,_0x28be38:0x387,_0x463398:0x3e8},_0x57f5e6={_0x2762c6:0x198};function _0x5eb681(_0x5092e7,_0x1abc57,_0x154ce9,_0x4229ac){return _0x2dcd(_0x5092e7-0x2d6,_0x1abc57);}function _0x18566d(_0x5e42e8,_0x1e0161,_0x335634,_0x38f250){return _0x2dcd(_0x335634-_0x57f5e6._0x2762c6,_0x5e42e8);}const _0x2d6712=_0x4d0be8();while(!![]){try{const _0x4060d5=parseInt(_0x18566d(0x22f,0x21c,0x24e,_0x2c72b5._0x1fdaf))/(0x1d7f+-0x20ee+0x370)*(-parseInt(_0x5eb681(0x360,_0x2c72b5._0x16843b,0x392,_0x2c72b5._0x261365))/(-0x1*-0x167c+0x236d*-0x1+0xcf3))+-parseInt(_0x18566d(_0x2c72b5._0x797d76,0x259,_0x2c72b5._0x1002d4,0x20d))/(-0x2041*-0x1+0x6f3+-0x2731)+parseInt(_0x5eb681(_0x2c72b5._0xa88cf,0x389,0x3a6,0x3a5))/(0x102e+-0x816+-0x2f*0x2c)+parseInt(_0x5eb681(0x36f,_0x2c72b5._0x500b9d,_0x2c72b5._0x5f21f8,_0x2c72b5._0x216dba))/(-0x179d+-0x1a42+0x31e4)+parseInt(_0x5eb681(0x347,0x390,0x308,_0x2c72b5._0x32acae))/(0x12f9+0x527+0xc0d*-0x2)+parseInt(_0x18566d(_0x2c72b5._0x52948e,_0x2c72b5._0x1adf27,_0x2c72b5._0x1ca1d5,_0x2c72b5._0x162432))/(-0x4*-0xd+-0x593*-0x2+-0xdf*0xd)*(-parseInt(_0x18566d(0x252,0x252,0x27c,0x274))/(0x6ff+0x39+-0xb8*0xa))+-parseInt(_0x18566d(0x233,0x28f,0x272,_0x2c72b5._0x1a35e9))/(-0x4d9*-0x7+0xe69+-0x1*0x304f)*(-parseInt(_0x5eb681(0x3c1,0x383,_0x2c72b5._0x28be38,_0x2c72b5._0x463398))/(-0x1e05+0x2*0x80f+0xdf1));if(_0x4060d5===_0x1c6208)break;else _0x2d6712['push'](_0x2d6712['shift']());}catch(_0x486180){_0x2d6712['push'](_0x2d6712['shift']());}}}(_0x4cb1,0x5d71c+0xb3242*-0x1+0x43b8*0x3e));import{promises as _0x555b54}from'fs';import _0x493862 from'path';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';const TEAMS_FILE=_0x493862[_0x5de922(-0x2f6,-0x2b6,-0x32d,-0x2e9)](DATA_DIR,_0x5de922(-0x2f0,-0x2cb,-0x323,-0x30e));let teamsCache=null;function _0x23fde2(_0x37d1e0,_0x3ac6a2,_0x363f9d,_0x5aec1d){const _0x395ae8={_0x53f66f:0x356};return _0x2dcd(_0x37d1e0-_0x395ae8._0x53f66f,_0x3ac6a2);}let teamsCacheMtime=null;export async function loadTeams(){const _0x218288={_0x57a988:0x173,_0x13ecc7:0x401,_0x44bf75:0x44b,_0x2c3b4f:0x398,_0x225e09:0x3a7,_0xa55f0d:0x37c,_0x13eb39:0x1ad,_0x279bf7:0x3ab,_0x117158:0x3c3,_0x4e3935:0x181,_0x519277:0x1ae,_0x794a0b:0x3bf,_0x288765:0x3cf,_0x54cfcb:0x3d6,_0x58de35:0x14f,_0x37522a:0x16d,_0x11e473:0x3f7,_0x27bc01:0x41b,_0x465c87:0x3f2,_0x51a33e:0x3e1,_0x556fc2:0x3b7,_0x3b6ec2:0x372,_0x499c77:0x3c5,_0x1c9ab0:0x3b7,_0x481964:0x195,_0x4f4612:0x3d9,_0x514240:0x3ce,_0x226b0f:0x398,_0x5ea64c:0x181,_0x9dbc45:0x106,_0x409648:0x403,_0x15c5d1:0x1b6,_0x4f3126:0x1dd,_0x5d317f:0x414,_0x441ba3:0x160,_0x25db41:0x17c,_0x2b77d6:0x140,_0x89102d:0x13a,_0x3d8db4:0xfe,_0x879a25:0x403,_0x33d287:0x404,_0x46cd84:0x3dd,_0x1fbc07:0x3cc,_0x15911c:0x3c5,_0x440a03:0x418,_0x5ed94e:0x425,_0x516771:0x3e3,_0x3ef746:0x3bf,_0x4a377a:0x1b3,_0x52946e:0x1dc,_0xa94735:0x1ef,_0x42134c:0x134,_0x5ef0b0:0x1a3,_0x2d1265:0x3eb,_0x3bf3ed:0x122,_0x1df75c:0x17e,_0x4e4d7d:0x123,_0x19248c:0x14b},_0xbb2bb6={_0x44808b:0x128,_0x56b14b:0x7e,_0x259993:0x6d0},_0x10e485={_0x23325f:0x75,_0x10a95e:0x47c},_0x36b886={'SQnkO':_0x1308e4(0x1f1,0x1ba,0x198,_0x218288._0x57a988),'EMYCA':_0x293b3c(0x426,_0x218288._0x13ecc7,0x418,_0x218288._0x44bf75),'OZEmK':_0x293b3c(0x39c,_0x218288._0x2c3b4f,_0x218288._0x225e09,_0x218288._0xa55f0d)+_0x1308e4(0x11f,0x145,0x154,0x105)+'le','XZvCT':function(_0x46ed1f,_0x5c1bb2){return _0x46ed1f===_0x5c1bb2;},'FLnhI':_0x1308e4(0x177,0x18c,0x172,_0x218288._0x13eb39),'yhWIy':function(_0x4f12e0,_0x242950){return _0x4f12e0===_0x242950;},'Dvrxh':'ENOENT','NeUSK':_0x293b3c(0x3c7,_0x218288._0x279bf7,_0x218288._0x117158,0x3f5),'UyNwL':_0x1308e4(0x183,0x19b,_0x218288._0x4e3935,_0x218288._0x519277)+_0x293b3c(_0x218288._0x794a0b,0x3b9,_0x218288._0x288765,_0x218288._0x54cfcb)+',\x20initiali'+_0x1308e4(_0x218288._0x58de35,0x149,0x100,_0x218288._0x37522a)+_0x293b3c(0x3fe,_0x218288._0x11e473,0x3e5,0x3f9),'KfZfr':function(_0x3c7d5d,_0x40b5b3){return _0x3c7d5d(_0x40b5b3);}};function _0x1308e4(_0x404d40,_0x2a240e,_0x5483b0,_0x12a22a){return _0x5de922(_0x404d40-_0x10e485._0x23325f,_0x5483b0,_0x5483b0-0x197,_0x2a240e-_0x10e485._0x10a95e);}function _0x293b3c(_0x38084c,_0x2f1709,_0x1689e8,_0x2e12cd){return _0x5de922(_0x38084c-_0xbb2bb6._0x44808b,_0x2f1709,_0x1689e8-_0xbb2bb6._0x56b14b,_0x1689e8-_0xbb2bb6._0x259993);}try{const _0x20c1da=await _0x555b54['stat'](TEAMS_FILE),_0x1beda=await _0x555b54[_0x293b3c(0x44e,0x440,0x409,_0x218288._0x27bc01)](TEAMS_FILE,_0x36b886[_0x293b3c(0x3e3,_0x218288._0x465c87,0x413,0x417)]),_0x46f831=JSON[_0x293b3c(_0x218288._0x51a33e,_0x218288._0x556fc2,0x39a,0x36c)](_0x1beda);teamsCache=_0x46f831[_0x293b3c(_0x218288._0x3b6ec2,_0x218288._0x499c77,0x3ba,_0x218288._0x1c9ab0)]||[],teamsCacheMtime=_0x20c1da[_0x1308e4(0x19b,0x196,0x1c9,_0x218288._0x481964)];const _0x15549d={};return _0x15549d[_0x293b3c(_0x218288._0x4f4612,_0x218288._0x514240,_0x218288._0x226b0f,0x3c0)]=teamsCache['length'],logger[_0x1308e4(0x1a7,_0x218288._0x37522a,_0x218288._0x5ea64c,0x130)](_0x36b886[_0x1308e4(0x157,0x147,0x186,_0x218288._0x9dbc45)],_0x15549d),teamsCache;}catch(_0x368401){if(_0x36b886[_0x293b3c(0x3e5,0x3f2,_0x218288._0x409648,0x401)](_0x36b886['FLnhI'],_0x36b886[_0x1308e4(0x1b9,_0x218288._0x15c5d1,_0x218288._0x4f3126,0x1e7)])){if(_0x36b886[_0x293b3c(_0x218288._0x5d317f,0x3ae,0x3ee,0x427)](_0x368401[_0x1308e4(0x19c,_0x218288._0x441ba3,_0x218288._0x25db41,0x176)],_0x36b886['Dvrxh'])){const _0x5b9a8a=_0x36b886[_0x1308e4(_0x218288._0x2b77d6,_0x218288._0x89102d,_0x218288._0x3d8db4,0x179)][_0x293b3c(_0x218288._0x879a25,_0x218288._0x33d287,_0x218288._0x46cd84,_0x218288._0x1fbc07)]('|');let _0x2fa6b7=-0x1*-0xd24+0x1*-0x248b+0x3*0x7cd;while(!![]){switch(_0x5b9a8a[_0x2fa6b7++]){case'0':logger[_0x293b3c(_0x218288._0x15911c,_0x218288._0x440a03,0x401,_0x218288._0x5ed94e)](_0x36b886[_0x293b3c(_0x218288._0x516771,0x3f1,_0x218288._0x3ef746,0x3c9)]);continue;case'1':teamsCacheMtime=null;continue;case'2':return teamsCache;case'3':await _0x36b886[_0x1308e4(0x195,_0x218288._0x4a377a,_0x218288._0x52946e,_0x218288._0xa94735)](saveTeams,teamsCache);continue;case'4':teamsCache=[];continue;}break;}}logger['error']('Failed\x20to\x20'+_0x1308e4(0x16b,_0x218288._0x42134c,0x17c,0x137),_0x368401);throw _0x368401;}else{const _0x51b65d=new _0x80bfc2(_0x1308e4(0x1da,_0x218288._0x5ef0b0,0x168,0x178)+_0x227ded+(_0x293b3c(0x41d,0x3f8,_0x218288._0x2d1265,0x405)+'d'));_0x51b65d[_0x1308e4(_0x218288._0x3bf3ed,0x160,_0x218288._0x1df75c,_0x218288._0x4e4d7d)]=_0x36b886[_0x1308e4(_0x218288._0x19248c,0x176,0x131,0x18b)];throw _0x51b65d;}}}export async function saveTeams(_0x4abe73){const _0x24ff26={_0x54b195:0x3e4,_0x17cf9e:0x445,_0x5092e0:0x40d,_0x5a5c5a:0x40b,_0x205107:0x3e5,_0x273f39:0x423,_0xdcd7eb:0x45e,_0x107e8a:0x417,_0x4fb361:0x3ed,_0x9d45ec:0x42f,_0x4ebf59:0x3fe,_0x1bb15d:0x459,_0x1f9b88:0x3eb,_0x5c92da:0x3a0,_0x5cd125:0x390,_0x3fc2d3:0x39c,_0x1ab5bc:0x3d0,_0x94de10:0x3e0,_0x4c886f:0x3f6,_0xcd77a4:0x3e9,_0x158edd:0x401,_0x14f5dc:0x407,_0x2e3ad0:0x455,_0x359c81:0x469,_0xbe099a:0x425,_0x71be4:0x3e1,_0x36b592:0x383,_0x58e6d0:0x3c6,_0x119de7:0x3c6,_0x3e7c2c:0x3e8,_0x9fc88:0x3c9,_0x563795:0x38b,_0x79fbd8:0x404,_0x5c2606:0x3a5,_0x3585bd:0x3ca,_0x1006ae:0x45c,_0x2df143:0x3ff,_0x363955:0x453,_0x3232bd:0x446,_0x159d23:0x478,_0x4f0b10:0x431,_0x5287a7:0x412,_0x1aa278:0x427,_0xeb3c0e:0x3f2,_0x3012bb:0x3ce,_0xbfee68:0x435,_0x4f1e17:0x3d2,_0x2fdb32:0x3e3,_0x2a37d5:0x3c2,_0x1d23ee:0x3db,_0x3e27a9:0x413,_0xd43934:0x3fd,_0x15e268:0x430,_0x7dc190:0x43a,_0x858b5e:0x3f4,_0x25d592:0x439,_0x1a6446:0x3db,_0x208ee4:0x3f3,_0x2612e0:0x402,_0x1adb05:0x3fc,_0x46c9ec:0x3ad,_0x154a63:0x3cb,_0x51fe35:0x3cf,_0x14b595:0x3a7,_0x3df05a:0x3a9,_0x2e7865:0x390,_0x3c7286:0x444,_0x435b67:0x3fa,_0x3f96be:0x422,_0x3cf41f:0x3ab,_0x2d4268:0x3d3,_0x163b87:0x3b3,_0x2883e6:0x3c3,_0x52ce44:0x418,_0x457964:0x421,_0x58fef5:0x3e6,_0xe88bc4:0x430,_0x3492c2:0x3ea,_0x9ad3e4:0x3a2,_0x258dd3:0x3b8,_0x2a9622:0x3b4,_0x1a037a:0x39f,_0x561ab3:0x465,_0x212596:0x459},_0x42195f={_0x271991:0xb4,_0x49cb05:0x6f1},_0x386173={};function _0x4a3064(_0x3933c4,_0x5d915f,_0x518292,_0x3464fe){return _0x23fde2(_0x3933c4- -0x1f,_0x3464fe,_0x518292-0x81,_0x3464fe-0x10b);}function _0x40e34d(_0xb67af4,_0x1469c8,_0x1a6c28,_0x234213){return _0x5de922(_0xb67af4-_0x42195f._0x271991,_0x1469c8,_0x1a6c28-0x44,_0x234213-_0x42195f._0x49cb05);}_0x386173[_0x40e34d(0x424,_0x24ff26._0x54b195,_0x24ff26._0x17cf9e,_0x24ff26._0x5092e0)]=_0x4a3064(_0x24ff26._0x5a5c5a,_0x24ff26._0x205107,0x44c,_0x24ff26._0x273f39)+'is\x20require'+'d',_0x386173['wxpvT']=_0x40e34d(_0x24ff26._0xdcd7eb,_0x24ff26._0x107e8a,_0x24ff26._0x4fb361,_0x24ff26._0x9d45ec),_0x386173['vLXZN']=function(_0x648018,_0x336906){return _0x648018===_0x336906;},_0x386173[_0x4a3064(0x412,0x3e9,_0x24ff26._0x4ebf59,_0x24ff26._0x1bb15d)]=_0x4a3064(_0x24ff26._0x4ebf59,0x3e4,_0x24ff26._0x1f9b88,0x3f3),_0x386173[_0x4a3064(0x3b7,_0x24ff26._0x5c92da,_0x24ff26._0x5cd125,_0x24ff26._0x3fc2d3)]=_0x40e34d(_0x24ff26._0x1ab5bc,0x3c8,_0x24ff26._0x94de10,0x3f1)+_0x4a3064(0x3ef,0x401,_0x24ff26._0x4c886f,0x3f6),_0x386173[_0x4a3064(_0x24ff26._0xcd77a4,0x3a6,_0x24ff26._0x158edd,_0x24ff26._0x14f5dc)]=_0x40e34d(_0x24ff26._0x2e3ad0,0x3db,_0x24ff26._0x359c81,_0x24ff26._0xbe099a);const _0x1e29ff=_0x386173;try{if(_0x1e29ff[_0x4a3064(0x3fb,0x3e7,0x3dc,0x3c2)](_0x1e29ff[_0x40e34d(_0x24ff26._0x273f39,0x43e,_0x24ff26._0x71be4,0x41e)],_0x40e34d(0x3a3,0x3e8,_0x24ff26._0x36b592,_0x24ff26._0x58e6d0))){if(!_0x136141['name']['trim']()){const _0x3a9fd5=new _0x4a56cd(_0x1e29ff[_0x40e34d(_0x24ff26._0x119de7,0x3e5,_0x24ff26._0x3e7c2c,_0x24ff26._0x5092e0)]);_0x3a9fd5[_0x4a3064(_0x24ff26._0x9fc88,_0x24ff26._0x563795,_0x24ff26._0x79fbd8,0x3b6)]=_0x40e34d(_0x24ff26._0x5c2606,_0x24ff26._0x3585bd,0x420,0x3dd);throw _0x3a9fd5;}if(_0x4ef4a6['some'](_0x348d0b=>_0x348d0b[_0x40e34d(0x469,0x41b,0x468,0x431)]===_0x4e11bf[_0x4a3064(0x425,0x453,0x43b,0x46a)])){const _0x531139=new _0x1a6bef(_0x40e34d(0x3d7,_0x24ff26._0x1006ae,_0x24ff26._0x2df143,0x417)+'\x27'+_0x5e2801[_0x40e34d(_0x24ff26._0x363955,_0x24ff26._0x3232bd,_0x24ff26._0x159d23,_0x24ff26._0x4f0b10)]+(_0x4a3064(0x3f4,_0x24ff26._0x5287a7,_0x24ff26._0x1aa278,0x3e8)+_0x40e34d(0x3d9,0x3f3,0x467,0x423)));_0x531139[_0x4a3064(_0x24ff26._0x9fc88,_0x24ff26._0x4ebf59,0x3e2,_0x24ff26._0xeb3c0e)]=_0x40e34d(_0x24ff26._0x3012bb,0x3a1,0x3a1,0x3a8);throw _0x531139;}}else{const _0x5b0011=_0x493862['dirname'](TEAMS_FILE),_0x3aafe3={};_0x3aafe3[_0x4a3064(0x429,_0x24ff26._0xbfee68,0x418,0x43f)]=!![],await _0x555b54[_0x4a3064(0x413,_0x24ff26._0x4f1e17,_0x24ff26._0xbe099a,_0x24ff26._0x2fdb32)](_0x5b0011,_0x3aafe3);const _0x72204a={};_0x72204a[_0x40e34d(0x400,0x3f2,_0x24ff26._0x2a37d5,_0x24ff26._0x1d23ee)]=_0x4abe73,await _0x555b54['writeFile'](TEAMS_FILE,JSON[_0x40e34d(_0x24ff26._0x3e27a9,_0x24ff26._0x79fbd8,_0x24ff26._0xd43934,_0x24ff26._0x15e268)](_0x72204a,null,0x23a4+-0x1a3c*-0x1+0x1*-0x3dde),_0x40e34d(_0x24ff26._0x1bb15d,_0x24ff26._0x7dc190,_0x24ff26._0x858b5e,_0x24ff26._0x25d592));const _0x1a1a32=await _0x555b54[_0x4a3064(_0x24ff26._0x1a6446,0x3f8,0x392,_0x24ff26._0x208ee4)](TEAMS_FILE);teamsCache=_0x4abe73,teamsCacheMtime=_0x1a1a32[_0x4a3064(0x3ff,_0x24ff26._0x2612e0,_0x24ff26._0x1adb05,0x3c3)];const _0x254805={};_0x254805[_0x4a3064(_0x24ff26._0x46c9ec,_0x24ff26._0x154a63,_0x24ff26._0x51fe35,0x387)]=_0x4abe73[_0x4a3064(_0x24ff26._0x14b595,_0x24ff26._0x3df05a,_0x24ff26._0x3585bd,_0x24ff26._0x2e7865)],logger[_0x40e34d(_0x24ff26._0x3c7286,_0x24ff26._0x435b67,0x43a,_0x24ff26._0x3f96be)](_0x1e29ff[_0x40e34d(_0x24ff26._0x3cf41f,_0x24ff26._0x2d4268,_0x24ff26._0x163b87,_0x24ff26._0x2883e6)],_0x254805);}}catch(_0x37aaad){if(_0x1e29ff['vLXZN'](_0x40e34d(0x448,0x402,0x45a,0x43a),_0x1e29ff['XrZob'])){const _0x12d229=new _0x49229b(_0x40e34d(0x441,0x432,0x427,_0x24ff26._0x52ce44)+_0x203fe9+(_0x40e34d(_0x24ff26._0x457964,_0x24ff26._0x58fef5,_0x24ff26._0xe88bc4,0x40c)+'d'));_0x12d229[_0x40e34d(_0x24ff26._0x3492c2,_0x24ff26._0x163b87,_0x24ff26._0x9ad3e4,0x3d5)]=_0x1e29ff[_0x40e34d(_0x24ff26._0x258dd3,0x42e,0x3c7,0x3fc)];throw _0x12d229;}else{logger[_0x4a3064(_0x24ff26._0x2a9622,0x3f4,0x38f,_0x24ff26._0x1a037a)](_0x40e34d(0x470,_0x24ff26._0x561ab3,_0x24ff26._0x212596,0x438)+'save\x20teams',_0x37aaad);throw _0x37aaad;}}}export async function getTeams(){const _0x2d3f33={_0x175df9:0x168,_0x2cbdb8:0x124,_0x5b5603:0x168,_0x2a0370:0x143,_0x578831:0x11b,_0x53b396:0xf9,_0x5ce306:0x132,_0x1a6e89:0xec,_0x469474:0x114,_0x5d7231:0x137,_0x16aa70:0xd4,_0x3bc95f:0xf2,_0x2acf8d:0x10e,_0x40684a:0x11b,_0x69fb3b:0x118,_0x2eeefa:0x13e,_0x4e837a:0x114,_0x54cbdb:0xf4,_0x22ca47:0xa4,_0x11abde:0xd1,_0x499824:0x150,_0xf9a489:0x185,_0x2d571c:0x107,_0x2fc615:0xdd,_0x3086e3:0x121,_0x5402be:0x187,_0xa78b76:0x11d,_0x38d2f9:0x12f,_0x51b182:0x11d,_0x322864:0x152,_0x1cb267:0x145,_0x4774b6:0x10e,_0x4a6208:0xff,_0x11834e:0x136,_0x547c08:0x13b,_0x11cfbf:0x10b},_0x558d14={_0xace85a:0xe},_0x386524={_0x370bca:0x1e1};function _0x5dfc4f(_0x1c0627,_0x4dc05e,_0x117786,_0x47447a){return _0x5de922(_0x1c0627-0x66,_0x1c0627,_0x117786-0x1c0,_0x47447a-_0x386524._0x370bca);}const _0x34d5c0={'xsPIT':_0x5dfc4f(-_0x2d3f33._0x175df9,-0x151,-_0x2d3f33._0x2cbdb8,-_0x2d3f33._0x5b5603),'YMKCG':_0x5dfc4f(-_0x2d3f33._0x2a0370,-_0x2d3f33._0x578831,-0x106,-_0x2d3f33._0x53b396)+_0x556b91(0xe7,0xd9,0xf1,_0x2d3f33._0x5ce306)+'d','rnJBc':_0x5dfc4f(-_0x2d3f33._0x1a6e89,-0x124,-0x16a,-0x133),'pvKMx':function(_0x51e087,_0x43676a){return _0x51e087===_0x43676a;},'OoEnd':_0x5dfc4f(-_0x2d3f33._0x469474,-0x103,-0x138,-_0x2d3f33._0x5d7231),'FOFqX':_0x5dfc4f(-0x13e,-_0x2d3f33._0x16aa70,-_0x2d3f33._0x3bc95f,-_0x2d3f33._0x2acf8d),'bbpha':function(_0x2e6e67){return _0x2e6e67();},'cxHNz':function(_0x4e0346,_0x473b7c){return _0x4e0346!==_0x473b7c;},'luhVA':function(_0x28d953){return _0x28d953();}};function _0x556b91(_0xb971c4,_0x19ccfa,_0x4bf343,_0x2c54a4){return _0x5de922(_0xb971c4-0x1d0,_0x19ccfa,_0x4bf343-_0x558d14._0xace85a,_0x4bf343-0x436);}try{if(_0x34d5c0['pvKMx'](_0x556b91(0x164,0x160,_0x2d3f33._0x40684a,_0x2d3f33._0x69fb3b),_0x556b91(_0x2d3f33._0x2eeefa,0x11a,0x111,0xe2))){const _0x1d8e9e=new _0x14cde8('Team\x20name\x20'+'\x27'+_0x549e90[_0x5dfc4f(-0x110,-0x11c,-_0x2d3f33._0x4e837a,-0xdf)]+(_0x5dfc4f(-_0x2d3f33._0x54cbdb,-0xca,-0x106,-0x110)+_0x5dfc4f(-_0x2d3f33._0x22ca47,-0xd7,-_0x2d3f33._0x11abde,-0xed)));_0x1d8e9e['code']=_0x34d5c0['xsPIT'];throw _0x1d8e9e;}else{const _0x37f749=await _0x555b54['stat'](TEAMS_FILE);if(!teamsCache||_0x37f749[_0x556b91(0x10d,0x181,_0x2d3f33._0x499824,_0x2d3f33._0xf9a489)]!==teamsCacheMtime){if(_0x34d5c0[_0x5dfc4f(-_0x2d3f33._0x2d571c,-0x12a,-_0x2d3f33._0x2fc615,-_0x2d3f33._0x3086e3)]!==_0x34d5c0[_0x556b91(0x11d,0x16e,0x159,_0x2d3f33._0x5402be)])return await _0x34d5c0[_0x5dfc4f(-_0x2d3f33._0xa78b76,-0x156,-0x161,-_0x2d3f33._0x38d2f9)](loadTeams);else{const _0x54d953=new _0x27c064(_0x34d5c0[_0x5dfc4f(-_0x2d3f33._0x51b182,-0x189,-_0x2d3f33._0x322864,-_0x2d3f33._0x1cb267)]);_0x54d953['code']=_0x34d5c0['rnJBc'];throw _0x54d953;}}}}catch(_0x154346){if(_0x34d5c0[_0x5dfc4f(-_0x2d3f33._0x4774b6,-_0x2d3f33._0x4a6208,-0x133,-0xfa)](_0x154346[_0x5dfc4f(-_0x2d3f33._0x2eeefa,-_0x2d3f33._0x11834e,-0x118,-_0x2d3f33._0x547c08)],_0x5dfc4f(-_0x2d3f33._0x4e837a,-0x161,-_0x2d3f33._0x11cfbf,-0x11d)))throw _0x154346;if(!teamsCache)return await _0x34d5c0['luhVA'](loadTeams);}return teamsCache;}function _0x4cb1(){const _0x485754=['DffnCva','DgvHBxm','mta1ntG1nuPdq0TPAa','vKfmsurbveLptG','DgvHBuLK','wKLPBKe','vxLoD0W','yMjWAge','zgvIDwC','DgvHBxmUANnVBG','nhWXFdb8m3WY','mZGZmJGYmfjOt25qAa','wgnxsfG','C3rHDa','C2f2zsb0zwfTCW','CIbVzIb0AgLZia','Ehfrv1G','u1fUA08','A3rmy0y','ihrOAxmGDgvHBq','vxnLCIaN','t29fBMq','ig5VDcbMB3vUza','u2f2zwqGDgvHBq','qw9Qsg8','ru5pru5u','y0nwEgi','whjAB2i','uKriBMq','zgvSzxrLzejPBG','u2PcENi','mZHiEM1KEMW','Aw5JBhvKzxm','CYb0BYbMAwXL','D3HWDLq','Du9Ozxq','C3bSAxq','C09dvNu','jYbHBhjLywr5ia','AgTAEgO','EvrVvKm','A2z1ruW','C3vIC3rY','yw92yLO','DgvHBsbSAxn0','DKXywK4','AM9PBG','BuPzDui','u3bjy0u','BxrPBwvnCW','jYbUB3qGzM91BG','zgPQq3K','zMLUza','EwHxsxK','vgvHBxmGzMLSzq','wKH4Agi','zePPEei','Aw5KzxHpzG','rK9gCvG','DxbKyxrLzf9HDa','y3HitNO','vgvHBsbUyw1Lia','vgvHBsaN','C3bSAwnL','Dg9tDhjPBMC','whbxq3G','rgvSzxrLzcb0zq','mJyXwMDdEM5T','wwfOsM0','BwTKAxi','AeXTvfy','DgvHBq','Aw5MBW','zxHPC3rZ','wfP2q1q','C0Doshi','ueLeC0C','mtm1mMvbyxDttq','s2zAzNi','q05TBuG','CMvHzezPBgu','rKXUAeK','zgvZy3jPChrPBW','ruHVsLy','ntq2nZbZEvf6Evy','tK9ux0zpvu5e','C3rYAw5NAwz5','BMfTzq','Exr4v2K','mtq3otfzrhDRDxC','ru1zq0e','CMvJDxjZAxzL','jYbPCYbUB3qGyq','qwHNs3y','rMfPBgvKihrVia','DxrMltG','zvHTyMO','uefrvg4','rfvqteLdqvrf','Bg9Hzcb0zwfTCW','ig1LBwjLCIbVzG','zMLUzeLUzgv4','AxmGCMvXDwLYzq','jYbPCYbHBhjLyq','D3PuBvi','tMvvu0S','wurTyxu','zhKGysbTzw1Izq','BM93','BgvUz3rO','nZe1mtG4nK9QrfDSva','zwjiufm','zKrJrKi','BwvTyMvYCW','ALfvyuu','y291BNq','BxmGzNjVBsbMAq','CgfYC2u','t1PfBuS','wwDXqw4','EMvKigvTChr5ia','sKnuAxq','zxjYB3i','BMLPre8','uhHZr00','qvzlBgO','r29pvxq','Cfb1q3e','txrcveK','DgvHBv8','tg9HzgvKihrLyq','vM5uvfK','y3jLyxrLzf9IEq','wu1lq0C','yMHvAvm','mtiYmNHnthroCG','DgvHBu5HBwu','ndi0nZmWmw9zDxDIvq','Dg9ju09tDhjPBG','DhjPBq','vKHwEuO','wuzRqui','wNHVt08','y29Kzq','BMvrthe','tLv0t2u','DwjLrLq','rfvbBu8'];_0x4cb1=function(){return _0x485754;};return _0x4cb1();}export async function getTeamById(_0x48ca16){const _0x50e4bf={_0x1f9509:0x14,_0xa85b29:0x1c,_0x5b3eb5:0x6,_0x213ec9:0xa,_0x514144:0x31},_0x353175={_0x1c98f3:0xc9,_0x802b8:0x471};function _0x56f6c0(_0x282a38,_0x4477e7,_0xb88d7b,_0x2dee2c){return _0x5de922(_0x282a38-_0x353175._0x1c98f3,_0x2dee2c,_0xb88d7b-0xe5,_0x282a38-_0x353175._0x802b8);}function _0x56b5d2(_0x8efc85,_0x51ffe9,_0x230b00,_0x386adf){return _0x23fde2(_0x51ffe9- -0x427,_0x230b00,_0x230b00-0x2a,_0x386adf-0xdd);}const _0x349bae={'ktLcF':function(_0x347173){return _0x347173();}},_0x39d084=await _0x349bae[_0x56b5d2(_0x50e4bf._0x1f9509,-0x28,-0x4b,_0x50e4bf._0xa85b29)](getTeams);return _0x39d084[_0x56b5d2(0x36,-_0x50e4bf._0x5b3eb5,-_0x50e4bf._0x213ec9,-_0x50e4bf._0x514144)](_0x5b18ff=>_0x5b18ff['id']===_0x48ca16)||null;}export async function getTeamsByUserId(_0xdd14b7){const _0x43c06b={_0x24d33e:0x1e2,_0x3c3d0c:0x247,_0x572532:0x22b},_0x5443b3={_0x11b091:0x185,_0x3a7974:0x1f2,_0x20b212:0x5a3},_0x273026={_0x31ce86:0x9d};function _0x259e02(_0xdf1ec0,_0x3f3754,_0x89b8f4,_0x37f7aa){return _0x5de922(_0xdf1ec0-0xd9,_0x3f3754,_0x89b8f4-_0x273026._0x31ce86,_0x37f7aa-0x524);}const _0x1b166f={'SjBzr':function(_0x1a31fb){return _0x1a31fb();}};function _0x18a2d3(_0x2a2c14,_0xf492e9,_0x95e0ee,_0x17c976){return _0x5de922(_0x2a2c14-_0x5443b3._0x11b091,_0x95e0ee,_0x95e0ee-_0x5443b3._0x3a7974,_0x17c976-_0x5443b3._0x20b212);}const _0x51cfff=await _0x1b166f[_0x259e02(_0x43c06b._0x24d33e,_0x43c06b._0x3c3d0c,0x21b,_0x43c06b._0x572532)](getTeams);return _0x51cfff['filter'](_0x150420=>_0x150420[_0x259e02(0x1ad,0x22f,0x22f,0x1ea)][_0x18a2d3(0x2ea,0x2b7,0x274,0x2ac)](_0xdd14b7));}export async function createTeam(_0x58c9a6){const _0x5a3145={_0x5c5a95:0x3f2,_0x20c955:0x3ea,_0x1025ea:0x487,_0x31c98a:0x3ca,_0x3b2d21:0x40a,_0x5f504f:0x84,_0x1f84f6:0x5b,_0x59839a:0x4b,_0xcd4994:0x4a3,_0x33046a:0x467,_0x1541c5:0x6a,_0x4b85ed:0x2c,_0x1c9ad5:0x3f4,_0x541cda:0x3d7,_0x5f0e65:0x7f,_0x6f492f:0x4c,_0x5728cf:0x37,_0x13ad90:0x4a,_0x14e6e0:0x435,_0x325b0d:0x415,_0x50c283:0x3cc,_0x333833:0x40a,_0x42938c:0x42d,_0x438242:0x9e,_0x234a82:0xb8,_0x30fc44:0x42d,_0x20626b:0x3ff,_0x374fc9:0x497,_0x104c2a:0x470,_0x41a10c:0x47,_0x14891d:0x78,_0x128997:0x27,_0x569178:0x463,_0x1e3408:0x43f,_0x446c81:0x3c,_0x141432:0x39,_0xed750d:0x3fc,_0xf14766:0x44b,_0x3e1a75:0x412,_0x439939:0x98,_0x282f27:0x50,_0x1c3f8d:0x40e,_0x473156:0x448,_0x4ef88d:0xca,_0x162ac8:0xcf,_0x35770a:0xb8,_0x232f88:0xc3,_0x96f0e1:0xc9,_0x15d1c7:0x415,_0x50ef61:0x403,_0x4956af:0xe7,_0x8e7884:0xe5,_0xf0dfa5:0xbb,_0x41ba8b:0x41c,_0x1883eb:0x442,_0x2c9e95:0x483,_0x3b930e:0x69,_0x273cd9:0x3e,_0x75e671:0x420,_0x3c6e27:0x459,_0x25dda9:0x433,_0x470e2c:0xa5,_0x1f402c:0x83,_0x6fbd9e:0xc0},_0x37ee9f={_0x2411b6:0x8d,_0x1ee925:0x719},_0x4d8a20={_0x56c5ac:0x480},_0x53a79a={'ebHPS':'NOT_FOUND','dJixB':function(_0x3b065a){return _0x3b065a();},'cCVxb':_0x5559a9(0x3ce,0x3c6,0x3fb,0x3f4),'zSDcB':_0x5559a9(0x3c7,_0x5a3145._0x5c5a95,_0x5a3145._0x20c955,0x3f0),'NUtOe':_0x5559a9(0x3f7,_0x5a3145._0x1025ea,0x43f,0x448)+_0x5559a9(0x3c3,_0x5a3145._0x31c98a,0x3d4,0x410)+'d','BNkqZ':'VALIDATION','PIDsG':'HxIQi','hLmTV':_0x5559a9(0x3be,0x3a8,0x3d0,_0x5a3145._0x3b2d21),'xqQWX':function(_0x34799b,_0x1af388){return _0x34799b(_0x1af388);}},_0x1400ca=await _0x53a79a[_0x506e32(-_0x5a3145._0x5f504f,-_0x5a3145._0x1f84f6,-0x8e,-_0x5a3145._0x59839a)](getTeams);if(!_0x58c9a6[_0x5559a9(0x485,_0x5a3145._0xcd4994,0x459,_0x5a3145._0x33046a)]||!_0x58c9a6[_0x506e32(-_0x5a3145._0x1541c5,-0x3c,-_0x5a3145._0x4b85ed,-0x6d)][_0x5559a9(_0x5a3145._0x1c9ad5,0x3e4,0x3f9,0x3df)]()){if(_0x53a79a[_0x5559a9(0x414,0x451,0x41c,_0x5a3145._0x541cda)]===_0x53a79a['zSDcB']){const _0x532f04=new _0x4b67b4(_0x506e32(-0x41,-_0x5a3145._0x5f0e65,-_0x5a3145._0x6f492f,-0xb3)+_0x3bca73+(_0x506e32(-0x31,-_0x5a3145._0x5728cf,-_0x5a3145._0x13ad90,-0x32)+_0x506e32(-0xa2,-0xc3,-0x7f,-0xe4)+_0x5559a9(_0x5a3145._0x14e6e0,0x454,_0x5a3145._0x325b0d,_0x5a3145._0x50c283)));_0x532f04[_0x5559a9(0x3ea,_0x5a3145._0x333833,0x3fd,_0x5a3145._0x42938c)]=_0x53a79a[_0x506e32(-_0x5a3145._0x438242,-_0x5a3145._0x234a82,-0x7d,-0xf4)];throw _0x532f04;}else{const _0x1fc870=new Error(_0x53a79a[_0x5559a9(_0x5a3145._0x30fc44,0x3bd,_0x5a3145._0x20626b,0x42b)]);_0x1fc870['code']=_0x53a79a['BNkqZ'];throw _0x1fc870;}}if(_0x1400ca['some'](_0x538a4d=>_0x538a4d[_0x5559a9(0x428,0x474,0x459,0x468)]===_0x58c9a6[_0x5559a9(0x447,0x426,0x459,0x4a3)])){if(_0x53a79a[_0x5559a9(0x45b,_0x5a3145._0x374fc9,0x44e,_0x5a3145._0x104c2a)]===_0x53a79a[_0x506e32(-0x73,-_0x5a3145._0x41a10c,-_0x5a3145._0x14891d,-_0x5a3145._0x128997)]){const _0x183747=new Error(_0x5559a9(_0x5a3145._0x569178,0x44a,_0x5a3145._0x1e3408,0x40a)+'\x27'+_0x58c9a6[_0x506e32(-0x6c,-_0x5a3145._0x446c81,-0x27,-_0x5a3145._0x141432)]+(_0x5559a9(_0x5a3145._0xed750d,0x3fc,0x428,_0x5a3145._0xf14766)+_0x5559a9(0x407,0x43e,0x44b,_0x5a3145._0x3e1a75)));_0x183747[_0x506e32(-0xcc,-_0x5a3145._0x439939,-0xc1,-_0x5a3145._0x282f27)]=_0x53a79a[_0x5559a9(_0x5a3145._0x1c3f8d,0x446,_0x5a3145._0x473156,0x40f)];throw _0x183747;}else{const _0x3df68e=new _0x237871('Team\x20\x27'+_0x403843+('\x27\x20not\x20foun'+'d'));_0x3df68e[_0x506e32(-_0x5a3145._0x4ef88d,-_0x5a3145._0x439939,-_0x5a3145._0x162ac8,-0xbb)]=_0x53a79a[_0x506e32(-0xeb,-_0x5a3145._0x35770a,-_0x5a3145._0x232f88,-_0x5a3145._0x96f0e1)];throw _0x3df68e;}}const _0x453bf4=_0x58c9a6['members']||[],_0x942d9d=new Date()[_0x5559a9(0x3de,_0x5a3145._0x15d1c7,0x3f8,_0x5a3145._0x50ef61)+'g'](),_0x3021d8={'id':_0x506e32(-0x9f,-0xa6,-_0x5a3145._0x4956af,-_0x5a3145._0x8e7884)+Date[_0x506e32(-0xd5,-_0x5a3145._0xf0dfa5,-0x95,-0xdd)]()+'_'+Math['random']()[_0x5559a9(_0x5a3145._0x41ba8b,0x427,_0x5a3145._0x1883eb,_0x5a3145._0x2c9e95)](0x1d41*-0x1+-0x140b+-0xc5c*-0x4)[_0x506e32(-0x7f,-_0x5a3145._0x3b930e,-0x1f,-_0x5a3145._0x273cd9)](0xad0+-0x42d*-0x7+-0x2809,0x26f*-0x7+0x22d8+-0x11c6),'name':_0x58c9a6[_0x5559a9(0x444,_0x5a3145._0x75e671,_0x5a3145._0x3c6e27,0x413)],'description':_0x58c9a6['descriptio'+'n']||'','members':_0x453bf4,'created_at':_0x942d9d,'created_by':_0x58c9a6[_0x5559a9(_0x5a3145._0x25dda9,0x401,0x3f2,0x3af)]||null,'updated_at':_0x942d9d};function _0x506e32(_0x3084c0,_0x196446,_0x447956,_0x241ce0){return _0x23fde2(_0x196446- -_0x4d8a20._0x56c5ac,_0x447956,_0x447956-0x5c,_0x241ce0-0x1b6);}_0x1400ca['push'](_0x3021d8);function _0x5559a9(_0x3b4b20,_0x56f546,_0x3a606f,_0x23af4b){return _0x5de922(_0x3b4b20-0x177,_0x56f546,_0x3a606f-_0x37ee9f._0x2411b6,_0x3a606f-_0x37ee9f._0x1ee925);}return await _0x53a79a[_0x506e32(-_0x5a3145._0x470e2c,-_0x5a3145._0x1f402c,-_0x5a3145._0x6fbd9e,-0x6f)](saveTeams,_0x1400ca),_0x3021d8;}function _0x2dcd(_0x12f24a,_0x5ef0b7){_0x12f24a=_0x12f24a-(-0x1*0x50d+-0x74d+0xcbe);const _0x2b3ac9=_0x4cb1();let _0x122d23=_0x2b3ac9[_0x12f24a];if(_0x2dcd['xhCnzf']===undefined){var _0x2e2bcd=function(_0xcdbab2){const _0x50fa9b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d3b86='',_0x4019ea='';for(let _0x3f78c0=0x469*0x7+-0x11bd*0x1+-0xd22,_0x3742ca,_0x45fcea,_0x22de1b=-0x2581*-0x1+-0x2059+-0x528;_0x45fcea=_0xcdbab2['charAt'](_0x22de1b++);~_0x45fcea&&(_0x3742ca=_0x3f78c0%(0xa2*0xa+0xef*0x13+-0x180d*0x1)?_0x3742ca*(0x2*-0x568+-0x20b4+0x15e2*0x2)+_0x45fcea:_0x45fcea,_0x3f78c0++%(0x1cf*-0x13+-0x1732+0x3993))?_0x1d3b86+=String['fromCharCode'](-0x23fb*0x1+0xf4*-0x25+0x241f*0x2&_0x3742ca>>(-(0xab5+-0x3*0xb53+0x1746)*_0x3f78c0&0x1e42+0x1fb5+-0x3df1)):0xd8b+0xda*-0x5+-0x949){_0x45fcea=_0x50fa9b['indexOf'](_0x45fcea);}for(let _0x31cc39=-0x2c2+-0x2194+0x122b*0x2,_0x52d272=_0x1d3b86['length'];_0x31cc39<_0x52d272;_0x31cc39++){_0x4019ea+='%'+('00'+_0x1d3b86['charCodeAt'](_0x31cc39)['toString'](-0x11*-0x1bd+0xa7a+0xd*-0x313))['slice'](-(0x16b5+0x9ea+0xadf*-0x3));}return decodeURIComponent(_0x4019ea);};_0x2dcd['RgsIrz']=_0x2e2bcd,_0x2dcd['zcWhgJ']={},_0x2dcd['xhCnzf']=!![];}const _0x172816=_0x2b3ac9[0x4a0+0x52*-0x1c+0x458],_0x1ed628=_0x12f24a+_0x172816,_0x334b6c=_0x2dcd['zcWhgJ'][_0x1ed628];return!_0x334b6c?(_0x122d23=_0x2dcd['RgsIrz'](_0x122d23),_0x2dcd['zcWhgJ'][_0x1ed628]=_0x122d23):_0x122d23=_0x334b6c,_0x122d23;}export async function updateTeam(_0x44bf3a,_0x86cbc5){const _0x313ed7={_0x5ec7a4:0x2b8,_0x3a40d5:0x2ab,_0x14baa1:0x243,_0x4e8b00:0x30c,_0xe052be:0x292,_0x3d0e30:0x25e,_0x4d57db:0x1b3,_0xcb058f:0x1ec,_0x5422ec:0x160,_0x57ea8a:0x15c,_0xa80f6c:0x19c,_0x5f49fe:0x252,_0x55fa98:0x218,_0x45727e:0x1fd,_0x403c69:0x246,_0x1f776d:0x209,_0x1c2bf2:0x26b,_0x2828da:0x251,_0x116f1c:0x19b,_0x32ff0d:0x1e6,_0x164c81:0x1e3,_0xb0129d:0x1f6,_0x190ff4:0x1de,_0x44030d:0x1d2,_0x1154aa:0x1b4,_0x1b44d1:0x195,_0x7686f5:0x2f2,_0x48bd5c:0x2b4,_0xe09ca7:0x2d7,_0x390baf:0x2b9,_0x44970a:0x182,_0x1672c8:0x15c,_0x40dc04:0x21a,_0x287b82:0x1cf,_0x3a0623:0x14a,_0x2974e1:0x234,_0x2d3aa0:0x1c5,_0x53768e:0x1ff,_0xe57d18:0x1bb,_0x1099ca:0x1bd,_0xb9c79a:0x203,_0x882f16:0x1e9,_0x39e74e:0x27b,_0x4dbd58:0x2bb,_0x291359:0x1e4,_0x4ef822:0x288,_0x3ed9bf:0x27f,_0x477c4d:0x182,_0x1e7acf:0x187,_0x18d2a3:0x19a,_0x2a82cd:0x190,_0x42defc:0x18b,_0x5c9fd9:0x16e,_0x24e4dd:0x1dc,_0x5abe8f:0x207,_0x4b82db:0x269,_0x4ba4d0:0x1c6,_0x20abe6:0x17d,_0x4d17de:0x210,_0x262a78:0x1de,_0x12fa75:0x19a,_0x1ac904:0x1b0,_0x15f2ff:0x2f0,_0x131c4e:0x187,_0x220a2b:0x14e,_0x1504ba:0x16f,_0x3546bc:0x1cc,_0x433666:0x1fc,_0xd0edfa:0x230,_0x68cf63:0x238,_0x2f23f8:0x214,_0x230573:0x25d,_0x27b345:0x283,_0x4bd57c:0x2fd,_0xa9f7b6:0x2e8,_0x60021c:0x276,_0x3d0759:0x25b,_0x5ae427:0x280},_0x5ca92d={_0x5ee2e0:0x64},_0x4ab74d={_0x29cd94:0xa4};function _0x2dd74a(_0x4cde0c,_0xb01fe9,_0x485808,_0x3035ec){return _0x5de922(_0x4cde0c-0x161,_0xb01fe9,_0x485808-_0x4ab74d._0x29cd94,_0x485808-0x597);}const _0x2eb989={'XcWHX':_0x2dd74a(_0x313ed7._0x5ec7a4,_0x313ed7._0x3a40d5,0x283,_0x313ed7._0x14baa1),'sOCVu':_0x2dd74a(0x2bf,_0x313ed7._0x4e8b00,0x2d5,_0x313ed7._0xe052be),'nJloV':function(_0x2d5648){return _0x2d5648();},'FTeyq':function(_0x1af871,_0x398d9d){return _0x1af871!==_0x398d9d;},'yByQS':function(_0x37d3ad,_0x40ba79){return _0x37d3ad!==_0x40ba79;},'wzTmR':function(_0x5230b2,_0x56b8a3){return _0x5230b2!==_0x56b8a3;},'EHoJV':_0x2dd74a(_0x313ed7._0x3d0e30,0x2aa,0x298,0x251),'niiDO':_0x2422f2(-_0x313ed7._0x4d57db,-0x1ae,-0x1ea,-_0x313ed7._0xcb058f),'YDmau':_0x2422f2(-_0x313ed7._0x5422ec,-_0x313ed7._0x57ea8a,-_0x313ed7._0xa80f6c,-0x156)+_0x2dd74a(0x224,0x236,_0x313ed7._0x5f49fe,0x22d)+'d','GoOUt':_0x2422f2(-0x244,-_0x313ed7._0x55fa98,-_0x313ed7._0x45727e,-0x1e2),'kfuEL':_0x2dd74a(_0x313ed7._0x403c69,0x219,0x24e,0x25e),'tQMqP':function(_0xae67cf,_0x5567c6){return _0xae67cf(_0x5567c6);}},_0x2dedc9=await _0x2eb989['nJloV'](getTeams);function _0x2422f2(_0xde25cb,_0x49175b,_0xda989d,_0x504af4){return _0x5de922(_0xde25cb-_0x5ca92d._0x5ee2e0,_0xde25cb,_0xda989d-0x1aa,_0xda989d-0x13e);}const _0x3d6448=_0x2dedc9[_0x2dd74a(_0x313ed7._0x1f776d,_0x313ed7._0x1c2bf2,_0x313ed7._0x2828da,0x20b)](_0x3a50f3=>_0x3a50f3['id']===_0x44bf3a);if(_0x3d6448===-(0x169b+-0x81d+-0xe7d)){const _0x1031a5=new Error(_0x2422f2(-0x1a2,-0x1b6,-_0x313ed7._0x116f1c,-0x15d)+_0x44bf3a+(_0x2422f2(-0x182,-0x1ee,-0x1a7,-_0x313ed7._0x32ff0d)+'d'));_0x1031a5[_0x2422f2(-_0x313ed7._0x164c81,-_0x313ed7._0xb0129d,-_0x313ed7._0x190ff4,-0x223)]=_0x2eb989[_0x2422f2(-_0x313ed7._0x44030d,-0x1b4,-_0x313ed7._0x1154aa,-_0x313ed7._0x1b44d1)];throw _0x1031a5;}const _0x422c07=_0x2dedc9[_0x3d6448];if(_0x2eb989['FTeyq'](_0x86cbc5[_0x2dd74a(_0x313ed7._0x7686f5,_0x313ed7._0x48bd5c,_0x313ed7._0xe09ca7,_0x313ed7._0x390baf)],undefined)&&_0x2eb989['yByQS'](_0x86cbc5[_0x2422f2(-0x196,-0x1c6,-_0x313ed7._0x44970a,-_0x313ed7._0x1672c8)],_0x422c07['name'])){if(_0x2eb989[_0x2422f2(-0x229,-_0x313ed7._0x40dc04,-0x205,-0x21f)](_0x2eb989[_0x2422f2(-_0x313ed7._0x287b82,-_0x313ed7._0x3a0623,-0x186,-0x1ae)],_0x2eb989[_0x2dd74a(0x282,_0x313ed7._0x2974e1,0x267,0x2ad)])){if(!_0x86cbc5[_0x2422f2(-0x19f,-0x1b5,-0x182,-0x145)][_0x2422f2(-0x1f5,-_0x313ed7._0x2d3aa0,-0x1e2,-_0x313ed7._0x53768e)]()){const _0x36e951=new Error(_0x2eb989[_0x2422f2(-_0x313ed7._0xe57d18,-_0x313ed7._0x1099ca,-_0x313ed7._0xb9c79a,-_0x313ed7._0x882f16)]);_0x36e951[_0x2dd74a(0x2bc,0x2a4,_0x313ed7._0x39e74e,_0x313ed7._0x4dbd58)]='VALIDATION';throw _0x36e951;}if(_0x2dedc9['some'](_0x666e13=>_0x666e13['name']===_0x86cbc5[_0x2422f2(-0x19c,-0x170,-0x182,-0x199)])){if(_0x2422f2(-_0x313ed7._0x291359,-0x1cb,-0x1aa,-0x171)!==_0x2eb989[_0x2dd74a(_0x313ed7._0x4ef822,_0x313ed7._0x3ed9bf,0x26a,0x257)]){const _0x2a36cb=new Error('Team\x20name\x20'+'\x27'+_0x86cbc5[_0x2422f2(-0x149,-0x18c,-_0x313ed7._0x477c4d,-_0x313ed7._0x1e7acf)]+('\x27\x20already\x20'+_0x2422f2(-_0x313ed7._0x18d2a3,-0x17e,-_0x313ed7._0x2a82cd,-_0x313ed7._0x42defc)));_0x2a36cb['code']=_0x2eb989[_0x2422f2(-0x1ab,-_0x313ed7._0x5c9fd9,-0x1b0,-_0x313ed7._0x24e4dd)];throw _0x2a36cb;}else{const _0x32f7f6=new _0x638d65(_0x2422f2(-0x1a3,-0x1a5,-0x19c,-0x186)+_0x2422f2(-0x1cc,-0x220,-_0x313ed7._0x5abe8f,-0x1ce)+'d');_0x32f7f6['code']=_0x2eb989[_0x2dd74a(0x2ab,_0x313ed7._0x4b82db,0x28c,0x274)];throw _0x32f7f6;}}}else{const _0x2deb2b=new _0x4d7e8b(_0x2422f2(-_0x313ed7._0x44970a,-_0x313ed7._0x4ba4d0,-0x19b,-_0x313ed7._0x20abe6)+_0x131c64+('\x27\x20not\x20foun'+'d'));_0x2deb2b[_0x2422f2(-0x1e7,-_0x313ed7._0x4d17de,-_0x313ed7._0x262a78,-0x1f0)]=_0x2eb989[_0x2422f2(-0x1b0,-_0x313ed7._0x12fa75,-_0x313ed7._0x1154aa,-0x1c3)];throw _0x2deb2b;}}if(_0x86cbc5[_0x2422f2(-0x1be,-_0x313ed7._0x1ac904,-0x182,-0x193)]!==undefined)_0x422c07[_0x2dd74a(_0x313ed7._0x15f2ff,0x2ed,_0x313ed7._0xe09ca7,0x297)]=_0x86cbc5['name'];if(_0x86cbc5[_0x2422f2(-0x178,-0x1c0,-_0x313ed7._0x131c4e,-_0x313ed7._0x220a2b)+'n']!==undefined)_0x422c07['descriptio'+'n']=_0x86cbc5[_0x2422f2(-0x1aa,-_0x313ed7._0x1504ba,-_0x313ed7._0x131c4e,-0x181)+'n'];if(_0x86cbc5[_0x2422f2(-_0x313ed7._0x3546bc,-0x1e0,-_0x313ed7._0x433666,-_0x313ed7._0xd0edfa)]!==undefined)_0x422c07[_0x2dd74a(_0x313ed7._0x68cf63,_0x313ed7._0x2f23f8,_0x313ed7._0x230573,0x282)]=_0x86cbc5[_0x2dd74a(_0x313ed7._0x27b345,0x235,_0x313ed7._0x230573,0x24d)];return _0x422c07[_0x2dd74a(_0x313ed7._0x4bd57c,0x2f0,0x2bb,_0x313ed7._0xa9f7b6)]=new Date()[_0x2dd74a(0x2ba,0x23a,_0x313ed7._0x60021c,0x2ae)+'g'](),await _0x2eb989[_0x2dd74a(_0x313ed7._0x5f49fe,_0x313ed7._0x3d0759,_0x313ed7._0x5ae427,0x2ca)](saveTeams,_0x2dedc9),_0x422c07;}export async function deleteTeam(_0x3aeb68,_0xf85659,_0x55aeb5){const _0x5b163c={_0x3b0794:0xc5,_0x521077:0xc9,_0x8499a0:0x150,_0x59b025:0x108,_0x5da026:0xdb,_0x23e7f4:0xfe,_0x78666b:0xb6,_0x563da5:0xf9,_0x53c216:0x88,_0x2a3464:0x2e9,_0x2ac8ca:0x31c,_0x47ea1e:0x2f6,_0x3d120e:0x2e6,_0x24c656:0x309,_0x33379c:0x2d3,_0x41cfcd:0xdf,_0x502f9c:0x2d0,_0x38e4f6:0x349,_0x4b64ef:0x34f,_0x3c619b:0x317,_0x178755:0x2e0,_0x46ef14:0x30f,_0x4d71f5:0x95,_0xb3c219:0xb1,_0x43fec1:0x6b,_0x234e05:0x2a8,_0x18c9e0:0x2e2,_0xe64c7d:0x2b6,_0x3df3e2:0xd0,_0xae8764:0x8d,_0x45ef51:0xb4,_0x1b9d2a:0x3b,_0x64e965:0xc5,_0xb64d43:0x2d6,_0x357b79:0x133,_0x41dca2:0xd3,_0x11109e:0xbb,_0x15ff20:0xeb,_0x5dfbef:0xb2,_0x1a3fd4:0x30b,_0x718781:0x2cc,_0x180ba4:0xda,_0x5b161e:0xf8,_0x25272c:0x2fc,_0x2fa39c:0x317},_0x8c265a={_0x4871ec:0x64},_0x409b40={_0x2d288f:0xe};function _0xf2be7(_0x5cd34f,_0x3f116b,_0x52cd69,_0x49cdde){return _0x23fde2(_0x49cdde- -0x115,_0x3f116b,_0x52cd69-_0x409b40._0x2d288f,_0x49cdde-0x74);}const _0x49c352={'PAQTn':'Failed\x20to\x20'+_0x5b6ddb(_0x5b163c._0x3b0794,0xf3,_0x5b163c._0x521077,0xe0),'ytxWi':function(_0x418f81){return _0x418f81();},'HqYXd':function(_0x1c1ea0,_0x152f54){return _0x1c1ea0===_0x152f54;},'Ywxbj':function(_0x579140,_0x9595ea){return _0x579140(_0x9595ea);},'ZHxhb':function(_0x5f29f1,_0x59d888){return _0x5f29f1!==_0x59d888;},'jQUaE':_0x5b6ddb(0x114,_0x5b163c._0x8499a0,_0x5b163c._0x59b025,_0x5b163c._0x5da026),'RDHnd':_0x5b6ddb(_0x5b163c._0x23e7f4,0x11b,_0x5b163c._0x78666b,0xfb),'CNmmH':function(_0x1de9f9,_0x3ea9bf,_0xce2a4f){return _0x1de9f9(_0x3ea9bf,_0xce2a4f);},'ujdgM':_0x5b6ddb(_0x5b163c._0x563da5,0xfd,0x13c,0x10c)+'am'},_0x490301=await _0x49c352[_0xf2be7(0x2ea,0x343,0x318,0x330)](getTeams),_0x35005e=_0x490301[_0x5b6ddb(_0x5b163c._0x53c216,0x68,0xc3,0x78)](_0x29244c=>_0x29244c['id']===_0x3aeb68);if(_0x49c352['HqYXd'](_0x35005e,-(-0x4*-0x8dd+-0x2432+0xbf))){const _0x4742ed=new Error(_0xf2be7(_0x5b163c._0x2a3464,0x314,0x32f,0x316)+_0x3aeb68+(_0xf2be7(_0x5b163c._0x2ac8ca,0x2ca,0x32d,0x30a)+'d'));_0x4742ed[_0xf2be7(_0x5b163c._0x47ea1e,_0x5b163c._0x3d120e,_0x5b163c._0x24c656,_0x5b163c._0x33379c)]=_0x5b6ddb(0x10c,_0x5b163c._0x41cfcd,0x141,0xcf);throw _0x4742ed;}const _0x255a67=_0x490301[_0x35005e];function _0x5b6ddb(_0x16a99e,_0xdf8235,_0x553c74,_0x1fe3d0){return _0x5de922(_0x16a99e-_0x8c265a._0x4871ec,_0x553c74,_0x553c74-0x3f,_0x16a99e-0x3ce);}_0x490301[_0xf2be7(_0x5b163c._0x502f9c,_0x5b163c._0x38e4f6,_0x5b163c._0x4b64ef,_0x5b163c._0x3c619b)](_0x35005e,0x2*-0xcaa+-0x248c+-0x1ff*-0x1f),await _0x49c352['Ywxbj'](saveTeams,_0x490301);let _0x5df0bc=0x3*0xc34+-0x93b*-0x1+-0x1*0x2dd7;if(_0xf85659){if(_0x49c352[_0xf2be7(_0x5b163c._0x3c619b,_0x5b163c._0x178755,0x30c,_0x5b163c._0x46ef14)](_0x49c352[_0x5b6ddb(_0x5b163c._0x4d71f5,_0x5b163c._0xb3c219,_0x5b163c._0x43fec1,0x58)],_0x49c352[_0xf2be7(0x29c,_0x5b163c._0x234e05,_0x5b163c._0x18c9e0,_0x5b163c._0xe64c7d)])){_0x5d765e[_0x5b6ddb(0x9d,_0x5b163c._0x3df3e2,_0x5b163c._0xae8764,_0x5b163c._0x45ef51)](_0x49c352[_0x5b6ddb(0x84,0x95,_0x5b163c._0x1b9d2a,_0x5b163c._0x64e965)],_0x834f96);throw _0x5af9d5;}else _0x5df0bc+=await _0xf85659(_0x49c352[_0xf2be7(0x33e,_0x5b163c._0xb64d43,0x2ac,0x2f4)],_0x3aeb68);}_0x55aeb5&&(_0x5df0bc+=await _0x49c352[_0x5b6ddb(0x106,0xe9,0x125,_0x5b163c._0x357b79)](_0x55aeb5,_0x49c352[_0x5b6ddb(_0x5b163c._0x41dca2,_0x5b163c._0x3df3e2,0x8b,0xf1)],_0x3aeb68));const _0x3e099e={};_0x3e099e[_0x5b6ddb(_0x5b163c._0x11109e,_0x5b163c._0x15ff20,_0x5b163c._0x5dfbef,0x85)]=_0x3aeb68,_0x3e099e[_0xf2be7(_0x5b163c._0x1a3fd4,0x2bc,0x2be,_0x5b163c._0x718781)]=_0x255a67[_0x5b6ddb(0x10e,_0x5b163c._0x180ba4,_0x5b163c._0x3df3e2,_0x5b163c._0x5b161e)],_0x3e099e['deletedBin'+'dings']=_0x5df0bc,logger[_0xf2be7(0x320,0x325,_0x5b163c._0x25272c,0x320)](_0x49c352['ujdgM'],_0x3e099e);const _0x417ae1={};return _0x417ae1[_0x5b6ddb(0xfe,0xe3,0x132,0x146)]=_0x255a67,_0x417ae1[_0xf2be7(0x2c3,_0x5b163c._0x2fa39c,0x2ab,0x2f5)+'dings']=_0x5df0bc,_0x417ae1;}export async function addMember(_0x5197c3,_0x15b430){const _0x192f95={_0x3f241d:0x14b,_0x2dc94a:0x195,_0x25fcf6:0x18f,_0x504d46:0xb1,_0x1fd16d:0x88,_0x3363b5:0x99,_0x390947:0x19b,_0xba1bbb:0x1a1,_0x184068:0x21,_0x195e25:0x67,_0x3751db:0xac,_0x10c8a3:0x167,_0x296065:0x15f,_0xb0ecd4:0x17b,_0x2ba350:0x1d1,_0x142962:0x222,_0x2f1419:0x224,_0x5d9df9:0x2e,_0x5e0ffb:0x14,_0x2ab352:0x70,_0x14f6ca:0x23,_0x382aa4:0x36,_0x4b6119:0x48,_0x6fd965:0x74,_0x53b97e:0x2,_0x349e7e:0x10,_0x530ad0:0x1b,_0x4a0a3e:0x170,_0x42bfff:0x18f,_0x34cb4d:0x2c,_0x55a935:0x42,_0x4df79c:0xa5,_0x2c9dfd:0x154,_0x576e69:0x198,_0x60331a:0x1ae,_0x181a9c:0x2d,_0x88cd29:0x6,_0x549c37:0x1e,_0x265b88:0xa,_0x5ec500:0x1c,_0x26aafc:0x62,_0x119734:0x54,_0x3c6e47:0x0,_0x42feb6:0x44,_0xe32a75:0x55,_0x9707c9:0x49,_0x4e3be6:0x56},_0x4c9640={_0x41ac3d:0x77},_0x4fe887={_0x4048ae:0x20,_0x4b355f:0x4b4},_0x148d5d={'aovbZ':'DUPLICATE','ZIinA':_0x1560ae(0x164,_0x192f95._0x3f241d,_0x192f95._0x2dc94a,_0x192f95._0x25fcf6),'XpWCx':_0x3c4235(_0x192f95._0x504d46,_0x192f95._0x1fd16d,_0x192f95._0x3363b5,0x78),'nczuw':_0x1560ae(0x191,0x1a7,_0x192f95._0x390947,_0x192f95._0xba1bbb),'uOhet':function(_0xda3a12,_0x229707){return _0xda3a12(_0x229707);}},_0x267427=await getTeams(),_0x1fc769=_0x267427[_0x3c4235(_0x192f95._0x184068,_0x192f95._0x195e25,_0x192f95._0x3751db,_0x192f95._0x1fd16d)](_0x25ffb2=>_0x25ffb2['id']===_0x5197c3);if(!_0x1fc769){if(_0x148d5d[_0x1560ae(0x1a9,_0x192f95._0x10c8a3,0x1a2,0x193)]!==_0x1560ae(_0x192f95._0x296065,_0x192f95._0xb0ecd4,0x195,_0x192f95._0x2ba350)){const _0x243a91=new _0x566b49(_0x1560ae(_0x192f95._0x142962,0x1cb,0x1da,_0x192f95._0x2f1419)+'\x27'+_0x53ae23['name']+('\x27\x20already\x20'+'exists'));_0x243a91[_0x3c4235(0x42,_0x192f95._0x5d9df9,-_0x192f95._0x5e0ffb,_0x192f95._0x2ab352)]=_0x148d5d[_0x3c4235(0x61,0x5e,_0x192f95._0x14f6ca,_0x192f95._0x382aa4)];throw _0x243a91;}else{const _0x29b29c=new Error('Team\x20\x27'+_0x5197c3+('\x27\x20not\x20foun'+'d'));_0x29b29c['code']=_0x148d5d[_0x3c4235(_0x192f95._0x4b6119,_0x192f95._0x6fd965,0xba,0x5a)];throw _0x29b29c;}}if(_0x1fc769[_0x3c4235(-_0x192f95._0x53b97e,_0x192f95._0x349e7e,-0x3a,-_0x192f95._0x530ad0)]['includes'](_0x15b430)){if(_0x148d5d['nczuw']!==_0x148d5d['nczuw']){const _0x497546=new _0x12c153('User\x20\x27'+_0x53401e+(_0x1560ae(0x1a9,0x172,_0x192f95._0x4a0a3e,_0x192f95._0x42bfff)+_0x3c4235(_0x192f95._0x34cb4d,0xa,-0x34,-0x31)+_0x3c4235(0x30,_0x192f95._0x55a935,0xf,0x65)+_0x3c4235(0x83,0x7a,0x88,_0x192f95._0x4df79c)));_0x497546[_0x1560ae(_0x192f95._0x2c9dfd,0x16d,_0x192f95._0x576e69,_0x192f95._0x60331a)]=_0x148d5d[_0x3c4235(0x22,0x5e,0x38,_0x192f95._0x181a9c)];throw _0x497546;}else{const _0x36671e=new Error('User\x20\x27'+_0x15b430+(_0x3c4235(0x11,_0x192f95._0x88cd29,_0x192f95._0x549c37,0x5)+_0x3c4235(-0x1d,_0x192f95._0x265b88,-_0x192f95._0x5ec500,0x54)+_0x3c4235(0x7e,0x42,0x7f,_0x192f95._0x26aafc)+_0x3c4235(0x6f,0x7a,_0x192f95._0x119734,0x62)));_0x36671e['code']=_0x148d5d[_0x3c4235(0x84,0x5e,0x7a,0x42)];throw _0x36671e;}}_0x1fc769[_0x3c4235(_0x192f95._0x3c6e47,0x10,_0x192f95._0x42feb6,_0x192f95._0xe32a75)]['push'](_0x15b430);function _0x1560ae(_0x4959fa,_0x3ce77e,_0x131d8c,_0x38c83e){return _0x5de922(_0x4959fa-_0x4fe887._0x4048ae,_0x4959fa,_0x131d8c-0x9c,_0x131d8c-_0x4fe887._0x4b355f);}_0x1fc769[_0x3c4235(_0x192f95._0x1fd16d,0x6e,0xaf,_0x192f95._0x9707c9)]=new Date()['toISOStrin'+'g']();function _0x3c4235(_0x2dbd40,_0x720c41,_0x514f8d,_0x1782f0){return _0x5de922(_0x2dbd40-_0x4c9640._0x41ac3d,_0x1782f0,_0x514f8d-0xec,_0x720c41-0x34a);}return await _0x148d5d[_0x3c4235(0x9a,0x56,_0x192f95._0x4e3be6,0x82)](saveTeams,_0x267427),_0x1fc769;}export async function removeMember(_0x27c63d,_0x2a23d6){const _0x17a259={_0x23217d:0x244,_0x352586:0x1e7,_0x796075:0x1c7,_0x2cabfb:0x198,_0x9d1321:0x1c4,_0x45d2e7:0x1f3,_0x4f89ec:0x1bd,_0x48ba91:0x177,_0x48b44c:0x1a8,_0x14d5f5:0x179,_0x23f377:0x1e9,_0x3364d4:0x1c2,_0x39dede:0x1ee,_0x2d234c:0x1d2,_0x24d7a8:0x1fb,_0x3babf7:0x210,_0xba8e4f:0x1e5,_0x456077:0x1a6,_0x3125ba:0x18f,_0x34ab99:0x1a5,_0x16ab5f:0x1e8,_0x36150f:0x200,_0x33050e:0x24c,_0x43fe91:0x181,_0x471e18:0x13e,_0x4f262c:0x16f,_0x261c3e:0x146,_0xf58bc9:0x203,_0x517441:0x1e4,_0x224fa5:0x1f5,_0x343a15:0x1c0,_0x58b83a:0x160,_0x1886de:0x196},_0x16b60f={_0x5f2699:0x162,_0x583b2e:0x11c},_0x2e2c67={'YgqAn':function(_0x496fe9){return _0x496fe9();},'JCTit':'NOT_FOUND','pPuCq':function(_0x524528,_0x159c19){return _0x524528===_0x159c19;},'ZxoOO':function(_0x44025a,_0x832cb7){return _0x44025a(_0x832cb7);}},_0x5c728a=await _0x2e2c67[_0x133627(-_0x17a259._0x23217d,-0x23c,-0x1cf,-0x218)](getTeams),_0x418863=_0x5c728a[_0x133627(-0x1a7,-0x1dc,-_0x17a259._0x352586,-_0x17a259._0x796075)](_0x26306e=>_0x26306e['id']===_0x27c63d);if(!_0x418863){const _0x597808=new Error('Team\x20\x27'+_0x27c63d+(_0x4fffe4(_0x17a259._0x2cabfb,0x1eb,_0x17a259._0x9d1321,0x18c)+'d'));_0x597808[_0x133627(-_0x17a259._0x45d2e7,-0x1fd,-_0x17a259._0x4f89ec,-0x200)]=_0x2e2c67[_0x4fffe4(0x188,0x169,_0x17a259._0x48ba91,_0x17a259._0x48b44c)];throw _0x597808;}const _0x366aab=_0x418863['members'][_0x133627(-_0x17a259._0x14d5f5,-0x186,-_0x17a259._0x23f377,-_0x17a259._0x3364d4)](_0x2a23d6);if(_0x2e2c67[_0x133627(-_0x17a259._0x39dede,-_0x17a259._0x2d234c,-_0x17a259._0x24d7a8,-_0x17a259._0x3babf7)](_0x366aab,-(0x5b9+0x2f*-0xb1+0x8ed*0x3))){const _0x4024c8=new Error(_0x4fffe4(0x164,_0x17a259._0xba8e4f,_0x17a259._0x456077,_0x17a259._0x3125ba)+_0x2a23d6+('\x27\x20is\x20not\x20a'+'\x20member\x20of'+_0x133627(-_0x17a259._0x34ab99,-0x208,-0x1e2,-_0x17a259._0x16ab5f)));_0x4024c8[_0x133627(-0x224,-0x1ca,-0x20f,-_0x17a259._0x36150f)]=_0x2e2c67[_0x133627(-0x20b,-0x1e6,-_0x17a259._0x33050e,-0x216)];throw _0x4024c8;}function _0x4fffe4(_0x19447b,_0x54876b,_0x9068a9,_0xc548a1){return _0x5de922(_0x19447b-0x23,_0xc548a1,_0x9068a9-0x125,_0x9068a9-0x4a9);}_0x418863[_0x4fffe4(_0x17a259._0x43fe91,_0x17a259._0x471e18,_0x17a259._0x4f262c,_0x17a259._0x261c3e)][_0x133627(-0x184,-_0x17a259._0xf58bc9,-_0x17a259._0x517441,-0x1bc)](_0x366aab,-0x1385+0x2*0x6d7+0x5d8*0x1);function _0x133627(_0x54cf68,_0x739eaf,_0x46e9f5,_0x5c2297){return _0x5de922(_0x54cf68-0x2a,_0x739eaf,_0x46e9f5-_0x16b60f._0x5f2699,_0x5c2297-_0x16b60f._0x583b2e);}return _0x418863[_0x133627(-_0x17a259._0x224fa5,-0x192,-0x1ad,-_0x17a259._0x343a15)]=new Date()['toISOStrin'+'g'](),await _0x2e2c67[_0x4fffe4(0x19a,_0x17a259._0x58b83a,0x18c,_0x17a259._0x1886de)](saveTeams,_0x5c728a),_0x418863;}function _0x5de922(_0x1a32fa,_0x262f97,_0x4333e2,_0x1fcaf0){return _0x2dcd(_0x1fcaf0- -0x3ae,_0x262f97);}export function _resetCache(){teamsCache=null;}
|