@profoundlogic/coderflow-server 0.6.4 → 0.6.6
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(_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;}
|
|
1
|
+
(function(_0x9fa1b3,_0x292ba4){const _0x239b71={_0x53c025:0x179,_0x3bc5c2:0x1b2,_0x3541ae:0x1ac,_0x5e8662:0x174,_0x594e50:0x2af,_0x59a755:0x273,_0x1b24e9:0x2e0,_0x5061b2:0x29b,_0x1fd3b3:0x27f,_0x3bb38a:0x101,_0x3a601b:0x1b0,_0x2895ff:0x1be,_0x5834d9:0x29e,_0x13101e:0x28e,_0xa525c8:0x2aa,_0x12bc97:0x25c},_0x589fad={_0x1e0477:0x367},_0x528dc1={_0x5f466d:0x244},_0x22951c=_0x9fa1b3();function _0x3e4b25(_0x3d214d,_0x3e9fe6,_0xa67187,_0xbd008d){return _0x4844(_0xa67187- -_0x528dc1._0x5f466d,_0x3d214d);}function _0x509451(_0x9a9d1,_0x119bed,_0x689e82,_0x33e101){return _0x4844(_0x689e82- -_0x589fad._0x1e0477,_0x119bed);}while(!![]){try{const _0x573e19=parseInt(_0x3e4b25(-_0x239b71._0x53c025,-_0x239b71._0x3bc5c2,-_0x239b71._0x3541ae,-0x186))/(0x1*0x1a39+0x24af*0x1+-0x3ee7)*(parseInt(_0x3e4b25(-0x185,-0x17a,-_0x239b71._0x5e8662,-0x168))/(0x1fa7+0x2a1*-0x5+-0x1*0x1280))+-parseInt(_0x3e4b25(-0x155,-0x199,-0x18b,-0x177))/(0x1ee9+0x2fd+-0x21e3)+parseInt(_0x509451(-0x293,-0x2c9,-_0x239b71._0x594e50,-_0x239b71._0x59a755))/(0x1889*0x1+-0x1799+-0xec*0x1)*(parseInt(_0x509451(-_0x239b71._0x1b24e9,-_0x239b71._0x5061b2,-0x2ba,-_0x239b71._0x1fd3b3))/(0x5*0x284+-0xbe7*-0x2+0x57*-0x6b))+parseInt(_0x3e4b25(-0x11e,-_0x239b71._0x3bb38a,-0x13e,-0x106))/(0x2027*-0x1+-0x3e6*-0x1+0x13*0x17d)*(parseInt(_0x3e4b25(-_0x239b71._0x3a601b,-0x1a6,-0x1bb,-_0x239b71._0x2895ff))/(0x1719+-0xd72+0x16*-0x70))+-parseInt(_0x509451(-0x284,-0x262,-_0x239b71._0x5834d9,-0x262))/(0xac5+0x1812+0x43*-0x85)+parseInt(_0x509451(-0x2af,-0x2bb,-_0x239b71._0x13101e,-0x28e))/(0x1533*-0x1+-0x11e*-0x3+-0x8f1*-0x2)+-parseInt(_0x509451(-0x2a7,-_0x239b71._0xa525c8,-0x2dd,-0x2c9))/(-0x161e+-0x2402+-0x1*-0x3a2a)*(parseInt(_0x509451(-0x278,-_0x239b71._0x12bc97,-0x284,-0x24f))/(0x3b9*0x2+-0xa39+-0x2d2*-0x1));if(_0x573e19===_0x292ba4)break;else _0x22951c['push'](_0x22951c['shift']());}catch(_0x6524dc){_0x22951c['push'](_0x22951c['shift']());}}}(_0x30f1,-0x7e5ab+0x1*0x64b97+0x75672));import{promises as _0x542660}from'fs';function _0x4844(_0x2980d8,_0x5c6d6c){_0x2980d8=_0x2980d8-(0x5a*-0x43+0x7a2+0x41d*0x4);const _0x1d31da=_0x30f1();let _0x5cedc0=_0x1d31da[_0x2980d8];if(_0x4844['TLkxJD']===undefined){var _0x4dfca2=function(_0x12d0b4){const _0x5bdda6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xbfd885='',_0x19f6d9='';for(let _0x2cc83b=0xe*-0x290+0x5e0+0x1e00,_0x174b68,_0x25ec1e,_0x41b29a=0x1bb8+0x16db+0x6b*-0x79;_0x25ec1e=_0x12d0b4['charAt'](_0x41b29a++);~_0x25ec1e&&(_0x174b68=_0x2cc83b%(-0x951+-0x12*0x4f+0xee3)?_0x174b68*(0xb33+-0x1fbe+-0x14cb*-0x1)+_0x25ec1e:_0x25ec1e,_0x2cc83b++%(0x25*0x7f+0x1*0x43a+-0x6d*0x35))?_0xbfd885+=String['fromCharCode'](-0x156+0x143*0x11+-0x131e&_0x174b68>>(-(-0x1*0xa93+0x6*0x45d+-0x533*0x3)*_0x2cc83b&0x1edc+0x1a13+-0x38e9)):0x1fbb*-0x1+0x7*-0x409+0x3bfa){_0x25ec1e=_0x5bdda6['indexOf'](_0x25ec1e);}for(let _0x579865=0x104b*0x1+0x15ab+-0x25f6,_0x29b640=_0xbfd885['length'];_0x579865<_0x29b640;_0x579865++){_0x19f6d9+='%'+('00'+_0xbfd885['charCodeAt'](_0x579865)['toString'](0x11c6+0x1*-0x232c+0x95*0x1e))['slice'](-(0xf61*-0x2+0x3*0x4e9+-0x1009*-0x1));}return decodeURIComponent(_0x19f6d9);};_0x4844['OgKXmz']=_0x4dfca2,_0x4844['hpuzaW']={},_0x4844['TLkxJD']=!![];}const _0x506ac8=_0x1d31da[0x1*0x15f7+0x10fd*-0x2+-0x267*-0x5],_0x1d1e9b=_0x2980d8+_0x506ac8,_0x5c673c=_0x4844['hpuzaW'][_0x1d1e9b];return!_0x5c673c?(_0x5cedc0=_0x4844['OgKXmz'](_0x5cedc0),_0x4844['hpuzaW'][_0x1d1e9b]=_0x5cedc0):_0x5cedc0=_0x5c673c,_0x5cedc0;}import _0x1dedff from'path';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';const TEAMS_FILE=_0x1dedff['join'](DATA_DIR,_0x3d7123(-0x1f7,-0x209,-0x218,-0x21a));function _0x30f1(){const _0xbf14d9=['CYb0BYbMAwXL','ig1LBwjLCIbVzG','rMfPBgvKihrVia','C2f2zsb0zwfTCW','ueXws04','rgvSzxrLzcb0zq','C3HhA2C','ufLruve','ndGYotG5nxDtq3DxCG','sKnVvKS','DgvHBu5HBwu','zgvIDwC','v2PizKK','D3jPDgvgAwXL','ig5VDcbMB3vUza','Ae1AwNK','rfvqteLdqvrf','DgvHBsbSAxn0','mti4nJG5DwXtyKLe','DhjPBq','uKvnDvK','zMLUza','BuX6Dum','rfH2ww8','s2n3vvu','jYbUB3qGzM91BG','sMHmywO','AvneDfe','sfb3v3m','DgvHBq','zxjYB3i','lcbPBML0AwfSAq','DK51y2y','CgfYC2u','DgH6DhG','vevRsuy','D3HyuKm','sNL4D1m','Aw5MBW','BxrPBwvnCW','Avbmue0','C3rYAw5NAwz5','DxbKyxrLzf9HDa','BwTKAxi','uLL5v00','u2f2zwqGDgvHBq','BMfTzq','AerVBeG','Dg9tDhjPBMC','AxmGCMvXDwLYzq','Aw5JBhvKzxm','vKfmsurbveLptG','suj0Ewe','nMvhAxD0zG','zev0rwC','nde1mdu1ourZCgnQzq','ndeWCLvcD2LV','v1POy3K','s2DzzuS','AuH0tfm','EMvKigvTChr5ia','qNvjzvK','C2LbD0K','rhPHDuS','vxnLCIaN','C29Tzq','Bg9Hzcb0zwfTCW','y291BNq','C3rHDa','tNb6Chq','ntC1nZLZzLLUqvy','D1jzzeO','vgvHBxmGzMLSzq','Dufbwgq','sfneuK8','DgvHBxmUANnVBG','Be5sBfm','DNHtExi','C3bSAxq','tg9HzgvKihrLyq','zMLSDgvY','CMvHzezPBgu','CvjzEKC','y3jLyxrLzf9IEq','ChvZAa','DxrMltG','jYbPCYbUB3qGyq','vfHMuxC','uvjiuLe','wxjdq1i','zgvZy3jPChrPBW','mZy1zvzvzufR','zxHPC3rZ','rgfmyLa','vgvHBsbUyw1Lia','Aw5KzxHpzG','q0Drrgy','uLzcAM4','jYbHBhjLywr5ia','BwvTyMvYCW','txLby0m','CfLRwwC','mte3nJrzBKH5u1G','ntKXmtG2qKjbqM51','CMfUzg9T','CMvJDxjZAxzL','s0vdvgq','zgvSzxrLzejPBG','ru5pru5u','BM93','zMLUzeLUzgv4','Dg9ju09tDhjPBG','vgvHBsaN','r1Hls20','DgvHBuLK','CefUqLe','DgvHBxm','tK9ux0zpvu5e','CIbVzIb0AgLZia','ndyZnJq1nK1vDLfTza','Ahvxs28','senArMG','jYbPCYbHBhjLyq','qwfrDKG','y29Kzq','B0f5qxu','mtbuC3HYzM8'];_0x30f1=function(){return _0xbf14d9;};return _0x30f1();}let teamsCache=null,teamsCacheMtime=null;export async function loadTeams(){const _0x17c781={_0x2f6bb9:0x206,_0x315df2:0x16,_0x498a05:0x44,_0x5bdb68:0x1e0,_0x43c461:0x22b,_0x211713:0x1bb,_0x3556bc:0x1f1,_0x13dee8:0x18,_0x1ae47e:0x1c,_0x22a149:0x23,_0x20b09d:0x6,_0x3f03d8:0x43,_0x5d9547:0x22,_0x17677d:0x263,_0x33bea5:0x22f,_0x36b0e4:0x61,_0x2b962b:0x209,_0x2a6d8d:0x29,_0x13db79:0x49,_0x53358:0x29,_0x539e02:0x3,_0x55e509:0x1a6,_0x3f72db:0x40,_0x2e02df:0x70,_0x45d480:0x35,_0x4214a9:0x1dd,_0x2f16d4:0x56,_0x4c8d28:0x68,_0xaed890:0x1c4,_0x599695:0x1ba,_0x418d42:0x1d4,_0x8cf7c3:0x1dc,_0xbda81e:0x1f2,_0xbaf4e2:0x20b,_0x333611:0x204,_0x24a372:0x13,_0x4d6e4b:0x2d,_0x5b9c72:0x1b4,_0x49334f:0x1cf,_0x2557f3:0x210,_0x22c4e0:0x229,_0x178c81:0x17,_0x8d6657:0x11,_0x330322:0x15,_0x5a294c:0x2b,_0x3471a1:0x1ea,_0x5ac0fb:0x1ac,_0x55fdcd:0x1f9,_0x4b81e0:0x1ee,_0x513170:0x1df,_0xaaa21c:0xa,_0x4929e6:0x3a,_0x5cdcf1:0x1fd,_0x48c6a4:0x1de,_0x2f411c:0x6a,_0x46c0e1:0x245,_0x3cd724:0x234,_0x1ef962:0x22e,_0x1d4f50:0x20e,_0x63ff3d:0x227},_0x398998={_0x162f8c:0x14b},_0x3747c6={_0x1e60b1:0x97,_0x3ab4bb:0x3e5,_0x5e60eb:0x7a};function _0x51627b(_0x1d60fb,_0x893264,_0x269bcd,_0xe6bbe3){return _0x3d7123(_0x1d60fb-_0x3747c6._0x1e60b1,_0xe6bbe3-_0x3747c6._0x3ab4bb,_0x893264,_0xe6bbe3-_0x3747c6._0x5e60eb);}function _0x7fe93b(_0x11fc5a,_0x54822c,_0x2d0217,_0x1c4545){return _0x3d7123(_0x11fc5a-0x17f,_0x2d0217-0x1e9,_0x1c4545,_0x1c4545-_0x398998._0x162f8c);}const _0x488f49={'iSDtQ':_0x51627b(0x1df,0x1d4,0x242,_0x17c781._0x2f6bb9),'RYyWM':_0x7fe93b(-0x3b,-0x45,-_0x17c781._0x315df2,-_0x17c781._0x498a05),'JclqK':_0x51627b(_0x17c781._0x5bdb68,0x1c2,0x1da,_0x17c781._0x5bdb68)+'ms\x20from\x20fi'+'le','pAnBQ':function(_0x23ad14,_0x168f5d){return _0x23ad14!==_0x168f5d;},'siAwI':_0x51627b(0x1df,_0x17c781._0x43c461,_0x17c781._0x211713,_0x17c781._0x3556bc),'DXvYo':_0x7fe93b(-0x14,0x3b,0x1,-_0x17c781._0x13dee8),'YrCCR':'1|0|3|4|2','vxSyr':_0x7fe93b(0x14,_0x17c781._0x1ae47e,-_0x17c781._0x22a149,-0x29)+_0x7fe93b(-_0x17c781._0x20b09d,_0x17c781._0x3f03d8,_0x17c781._0x5d9547,0x3)+_0x51627b(_0x17c781._0x17677d,0x22e,0x255,_0x17c781._0x33bea5)+_0x7fe93b(-0x5,-_0x17c781._0x36b0e4,-0x2f,-0x16)+_0x51627b(_0x17c781._0x2b962b,0x22a,0x22e,0x221),'hDolH':function(_0x131eb2,_0x2806ae){return _0x131eb2(_0x2806ae);},'hMZZy':_0x7fe93b(-0x29,_0x17c781._0x2a6d8d,0x16,_0x17c781._0x13db79)+_0x7fe93b(-0x1d,0xd,-_0x17c781._0x53358,-_0x17c781._0x539e02)};try{const _0x3bfbde=await _0x542660['stat'](TEAMS_FILE),_0x11bc81=await _0x542660[_0x51627b(0x201,0x1a9,_0x17c781._0x55e509,0x1e2)](TEAMS_FILE,_0x488f49[_0x7fe93b(0x52,0x4a,_0x17c781._0x3f72db,_0x17c781._0x2e02df)]),_0x73b7ed=JSON[_0x7fe93b(-0x1,0x47,_0x17c781._0x45d480,0x1)](_0x11bc81);teamsCache=_0x73b7ed[_0x51627b(0x1f4,0x23c,_0x17c781._0x4214a9,0x205)]||[],teamsCacheMtime=_0x3bfbde[_0x7fe93b(_0x17c781._0x2f16d4,0x4f,0x3b,_0x17c781._0x4c8d28)];const _0x5a4ef5={};return _0x5a4ef5[_0x51627b(_0x17c781._0xaed890,_0x17c781._0x599695,0x1a3,_0x17c781._0x418d42)]=teamsCache['length'],logger[_0x51627b(0x247,_0x17c781._0x8cf7c3,0x1ff,0x21b)](_0x488f49['JclqK'],_0x5a4ef5),teamsCache;}catch(_0x5e8baa){if(_0x488f49[_0x51627b(_0x17c781._0xbda81e,_0x17c781._0xbaf4e2,_0x17c781._0x2b962b,_0x17c781._0x333611)](_0x488f49[_0x7fe93b(_0x17c781._0x24a372,-0x62,-_0x17c781._0x4d6e4b,-0x66)],_0x51627b(_0x17c781._0x5b9c72,0x1f7,_0x17c781._0x49334f,0x1f1))){const _0x51019=new _0x2eeb27('Team\x20\x27'+_0x336306+(_0x51627b(0x1e9,0x1ec,_0x17c781._0x2557f3,_0x17c781._0x22c4e0)+'d'));_0x51019[_0x7fe93b(_0x17c781._0x178c81,-0x20,_0x17c781._0x8d6657,0x4c)]=_0x488f49[_0x51627b(0x238,0x247,0x1fa,0x22b)];throw _0x51019;}else{if(_0x5e8baa[_0x51627b(0x1f2,0x212,0x23a,0x20d)]===_0x488f49[_0x7fe93b(_0x17c781._0x330322,0x5c,_0x17c781._0x5a294c,0x26)]){const _0x26632a=_0x488f49[_0x51627b(0x211,0x1ce,0x224,_0x17c781._0x3471a1)][_0x51627b(_0x17c781._0x5ac0fb,_0x17c781._0x55fdcd,_0x17c781._0x4b81e0,_0x17c781._0x513170)]('|');let _0x28750c=-0xdc6*-0x1+0x131b+-0x20e1;while(!![]){switch(_0x26632a[_0x28750c++]){case'0':teamsCacheMtime=null;continue;case'1':teamsCache=[];continue;case'2':return teamsCache;case'3':logger[_0x7fe93b(0x3d,_0x17c781._0xaaa21c,_0x17c781._0x4929e6,0x3)](_0x488f49[_0x51627b(_0x17c781._0x5cdcf1,0x1bf,0x1d3,_0x17c781._0x48c6a4)]);continue;case'4':await _0x488f49[_0x7fe93b(_0x17c781._0x2f411c,0x7e,0x43,0x46)](saveTeams,teamsCache);continue;}break;}}logger[_0x51627b(_0x17c781._0x46c0e1,_0x17c781._0x3cd724,_0x17c781._0x3556bc,_0x17c781._0x1ef962)](_0x488f49[_0x51627b(_0x17c781._0x1d4f50,0x240,_0x17c781._0x63ff3d,0x21f)],_0x5e8baa);throw _0x5e8baa;}}}export async function saveTeams(_0x27f138){const _0x3d318e={_0x2ae0ec:0x1fe,_0x160ae1:0x1b0,_0x4f5f88:0x1e5,_0x2b5316:0x3ce,_0x2af897:0x3e1,_0x4ac9f4:0x403,_0x13f490:0x3a1,_0x20812b:0x220,_0x418059:0x256,_0x255332:0x222,_0x1a58d4:0x392,_0x4227ae:0x3f8,_0x28908a:0x3de,_0x31bbbf:0x3e6,_0x3b6554:0x21b,_0x197424:0x211,_0x30e1a4:0x1f8,_0x10e6f7:0x3b1,_0x4eaaf0:0x39a,_0x9a131e:0x3e2,_0x3c6cda:0x3ac,_0x36d54d:0x3b5,_0x79b0ab:0x18f,_0x24d49f:0x207,_0x458215:0x238,_0x8fdc5c:0x205,_0x38c8f6:0x1eb,_0x113b23:0x1db,_0x363eb9:0x1eb,_0x200c2d:0x3fe,_0x3a659f:0x3f7,_0x4cca95:0x3f1,_0x563477:0x24c,_0x263ca9:0x255,_0xedc4f:0x39e,_0x5b8fc9:0x386,_0x50aacc:0x3d1,_0x5e7ba9:0x3f1,_0x42fdbb:0x408,_0x310573:0x3c0,_0xd3e5f6:0x40b,_0x1be02c:0x1dd,_0x17050b:0x1da,_0x5ebcce:0x1c9,_0x2e61a5:0x1da},_0x52f44d={_0x23e531:0x5a0,_0x28561a:0x34},_0x2fd4ec={_0x551594:0x32,_0x3645ac:0x53},_0x2813d6={};_0x2813d6[_0x523868(-_0x3d318e._0x2ae0ec,-0x1e1,-_0x3d318e._0x160ae1,-0x1e0)]=_0x523868(-0x212,-0x1eb,-_0x3d318e._0x4f5f88,-0x1f6)+_0x1af25d(_0x3d318e._0x2b5316,_0x3d318e._0x2af897,_0x3d318e._0x4ac9f4,_0x3d318e._0x13f490),_0x2813d6['WZhcy']=_0x523868(-_0x3d318e._0x20812b,-_0x3d318e._0x418059,-0x246,-_0x3d318e._0x255332),_0x2813d6[_0x1af25d(0x38b,0x3ae,_0x3d318e._0x1a58d4,0x3a3)]=_0x1af25d(_0x3d318e._0x4227ae,_0x3d318e._0x28908a,0x416,_0x3d318e._0x31bbbf)+_0x523868(-_0x3d318e._0x3b6554,-_0x3d318e._0x197424,-0x217,-_0x3d318e._0x30e1a4),_0x2813d6['qRYzG']=function(_0x32c306,_0x310d25){return _0x32c306===_0x310d25;},_0x2813d6['sxGkg']=_0x1af25d(_0x3d318e._0x10e6f7,_0x3d318e._0x4eaaf0,_0x3d318e._0x9a131e,_0x3d318e._0x3c6cda);function _0x523868(_0x371fd7,_0x2a07ef,_0x4abbb3,_0x585375){return _0x3d7123(_0x371fd7-_0x2fd4ec._0x551594,_0x585375- -0x23,_0x4abbb3,_0x585375-_0x2fd4ec._0x3645ac);}function _0x1af25d(_0xa85e86,_0x58d409,_0xeda901,_0x269fcc){return _0x3d7123(_0xa85e86-0xf7,_0xa85e86-_0x52f44d._0x23e531,_0xeda901,_0x269fcc-_0x52f44d._0x28561a);}const _0x56a7fa=_0x2813d6;try{const _0x4ab657=_0x1dedff['dirname'](TEAMS_FILE),_0xbf9e07={};_0xbf9e07[_0x1af25d(_0x3d318e._0x36d54d,0x3c8,0x3f2,0x3d2)]=!![],await _0x542660[_0x523868(-_0x3d318e._0x79b0ab,-_0x3d318e._0x24d49f,-0x1b9,-0x1cd)](_0x4ab657,_0xbf9e07);const _0x355f21={};_0x355f21[_0x523868(-_0x3d318e._0x458215,-0x200,-0x1db,-0x203)]=_0x27f138,await _0x542660[_0x523868(-_0x3d318e._0x8fdc5c,-_0x3d318e._0x38c8f6,-_0x3d318e._0x113b23,-_0x3d318e._0x363eb9)](TEAMS_FILE,JSON[_0x1af25d(0x3f4,_0x3d318e._0x200c2d,0x3cc,_0x3d318e._0x3a659f)](_0x355f21,null,-0x27b+-0x1dd5+0xc5*0x2a),_0x56a7fa[_0x523868(-0x267,-0x23a,-0x210,-0x23e)]);const _0x302fc4=await _0x542660['stat'](TEAMS_FILE);teamsCache=_0x27f138,teamsCacheMtime=_0x302fc4[_0x523868(-0x1c5,-0x1bd,-0x191,-0x1d1)];const _0x1ae516={};_0x1ae516['count']=_0x27f138['length'],logger[_0x1af25d(_0x3d318e._0x4cca95,0x3cb,0x404,0x403)](_0x56a7fa[_0x523868(-0x253,-_0x3d318e._0x563477,-_0x3d318e._0x263ca9,-0x238)],_0x1ae516);}catch(_0x22f639){if(_0x56a7fa[_0x1af25d(_0x3d318e._0xedc4f,0x3c3,0x398,_0x3d318e._0x5b8fc9)](_0x56a7fa[_0x1af25d(_0x3d318e._0x50aacc,_0x3d318e._0x5e7ba9,_0x3d318e._0x42fdbb,_0x3d318e._0x310573)],_0x56a7fa[_0x1af25d(0x3d1,0x3bb,_0x3d318e._0xd3e5f6,0x409)])){logger[_0x523868(-_0x3d318e._0x113b23,-0x1a1,-_0x3d318e._0x1be02c,-_0x3d318e._0x17050b)](_0x56a7fa['KcwUU'],_0x22f639);throw _0x22f639;}else{_0x518489[_0x523868(-0x1e4,-_0x3d318e._0x5ebcce,-0x1b8,-_0x3d318e._0x2e61a5)](_0x56a7fa['KcwUU'],_0x4b94fd);throw _0x216453;}}}export async function getTeams(){const _0x37dca9={_0x470306:0x242,_0x3362b7:0x264,_0x483cf5:0x2c7,_0x3d4b89:0x2a9,_0x1605ef:0x25a,_0x12d83e:0x274,_0x48ac37:0x253,_0x4146dc:0x23f,_0x5462fd:0x23a,_0x3361a6:0x24a,_0x2cd33a:0x2b2,_0x25fe7c:0x2de,_0x2354e2:0x2bf,_0x13c581:0x29c,_0x222d08:0x2ac,_0x54d987:0x272,_0x4bc67b:0x244,_0xed46f6:0x2a7,_0x59a854:0x288,_0x18ef19:0x297,_0x4a15da:0x2a1,_0x5af405:0x29b},_0xa57f04={_0x387398:0x72,_0xd4baf:0x45a,_0x19c8c7:0x156},_0x4d5bc2={'JhLaj':_0x156d8e(_0x37dca9._0x470306,0x292,_0x37dca9._0x3362b7,0x298)+'is\x20require'+'d','LMEDY':'VALIDATION','vNucf':_0x156d8e(0x2b7,_0x37dca9._0x483cf5,_0x37dca9._0x3d4b89,0x2d6),'GXKKm':function(_0x24ead7,_0x2fe787){return _0x24ead7!==_0x2fe787;},'lZGOk':function(_0x3829ac){return _0x3829ac();},'uAAXd':function(_0x203e7d,_0x35a687){return _0x203e7d!==_0x35a687;}};function _0x156d8e(_0x566e44,_0x334b8b,_0x5222fe,_0x57d551){return _0x3d7123(_0x566e44-_0xa57f04._0x387398,_0x5222fe-_0xa57f04._0xd4baf,_0x334b8b,_0x57d551-_0xa57f04._0x19c8c7);}try{if(_0x4d5bc2[_0x4bab35(-_0x37dca9._0x1605ef,-0x27b,-_0x37dca9._0x12d83e,-_0x37dca9._0x48ac37)]===_0x4d5bc2[_0x4bab35(-_0x37dca9._0x4146dc,-0x2a1,-0x274,-_0x37dca9._0x5462fd)]){const _0x25ce98=await _0x542660[_0x156d8e(0x279,0x270,_0x37dca9._0x3361a6,0x26f)](TEAMS_FILE);if(!teamsCache||_0x4d5bc2[_0x4bab35(-_0x37dca9._0x2cd33a,-0x2c0,-0x2a2,-_0x37dca9._0x25fe7c)](_0x25ce98[_0x156d8e(_0x37dca9._0x2354e2,_0x37dca9._0x13c581,_0x37dca9._0x222d08,_0x37dca9._0x54d987)],teamsCacheMtime))return await _0x4d5bc2['lZGOk'](loadTeams);}else{const _0x109009=new _0x3cfb15(_0x4d5bc2[_0x4bab35(-_0x37dca9._0x4bc67b,-0x2ad,-0x27a,-0x26f)]);_0x109009['code']=_0x4d5bc2['LMEDY'];throw _0x109009;}}catch(_0x42a07f){if(_0x4d5bc2[_0x4bab35(-0x2d2,-_0x37dca9._0xed46f6,-0x2ca,-0x2c1)](_0x42a07f[_0x4bab35(-0x267,-_0x37dca9._0x59a854,-_0x37dca9._0x18ef19,-0x2c0)],_0x156d8e(0x26b,_0x37dca9._0x4a15da,0x272,_0x37dca9._0x5af405)))throw _0x42a07f;if(!teamsCache)return await loadTeams();}function _0x4bab35(_0x439752,_0x1ab09c,_0x40b20f,_0x59911a){return _0x3d7123(_0x439752-0x135,_0x40b20f- -0xbf,_0x1ab09c,_0x59911a-0x147);}return teamsCache;}export async function getTeamById(_0x3e8438){const _0x43daf6=await getTeams();return _0x43daf6['find'](_0x1b1ec0=>_0x1b1ec0['id']===_0x3e8438)||null;}function _0x3d7123(_0x565a2f,_0x1b8035,_0x33bdbd,_0x9d0c4b){const _0x3081c6={_0x536c22:0x2a6};return _0x4844(_0x1b8035- -_0x3081c6._0x536c22,_0x33bdbd);}export async function getTeamsByUserId(_0x3b346d){const _0x408d15={_0x516887:0x23f},_0x5f46db={_0x296b84:0xd1};function _0xb9ee30(_0x310db4,_0x3cd212,_0x4d6e7a,_0x246385){return _0x3d7123(_0x310db4-0x1ba,_0x3cd212-0x4d1,_0x246385,_0x246385-0xea);}const _0xe18789={'lJoRr':function(_0x5ce716){return _0x5ce716();}};function _0x55b10f(_0x3fbeb7,_0x406a4c,_0x4fddf0,_0x5c97fa){return _0x3d7123(_0x3fbeb7-_0x5f46db._0x296b84,_0x4fddf0- -0x3b,_0x3fbeb7,_0x5c97fa-0x148);}const _0x26edeb=await _0xe18789['lJoRr'](getTeams);return _0x26edeb[_0x55b10f(-0x244,-0x20f,-_0x408d15._0x516887,-0x245)](_0x1d2c2b=>_0x1d2c2b[_0xb9ee30(0x2d7,0x2e0,0x2f6,0x313)][_0x55b10f(-0x218,-0x1cc,-0x1de,-0x206)](_0x3b346d));}export async function createTeam(_0x269f0d){const _0x31c89a={_0x458bb5:0x42b,_0x177d34:0x436,_0x5f424c:0xbf,_0x2d8d91:0xa7,_0x1b247f:0x408,_0x4c190c:0x3b8,_0x4520dc:0x3f9,_0xbe1db4:0x3cd,_0x2e87f7:0xd4,_0x9a2a74:0x8c,_0x33effb:0xb5,_0x5ddd34:0x430,_0x453f08:0x433,_0x9c129e:0x455,_0x129dda:0x438,_0x2bed3c:0x419,_0x22b5a0:0xdc,_0x51670a:0x9a,_0x311574:0xac,_0x5c7432:0xc1,_0x1f7fa0:0xb7,_0x3c6f9f:0x102,_0x7a15a8:0xd1,_0x2f4b97:0x9f,_0x4ef161:0xb0,_0x10f856:0xbf,_0x48a066:0xc9,_0x2f22c5:0xd0,_0x187c3a:0xff,_0x1719b5:0x3f9,_0x2c4071:0x402,_0x13980d:0xef,_0x3909d3:0x13a,_0x4e892d:0x10d,_0x2ab666:0x121,_0x3ba2be:0xf4,_0x34e92c:0xef,_0x259c85:0x3aa,_0x3a82c0:0x40c,_0x5486bc:0x402,_0x115310:0x3fc,_0x300127:0x429,_0x163eb6:0x3f0,_0x342265:0x3ea,_0xc6a5e5:0x87,_0x5c1021:0x3e5,_0x50e1db:0x3e1,_0x2f647f:0x3e2,_0x417019:0x407,_0x23f95e:0x451,_0x9e99b:0x3de,_0x4f04c7:0xa8,_0x551f57:0x43a,_0x5788ce:0x444,_0x453de6:0x452,_0x2afca8:0x415,_0x10527d:0xd5,_0x7a5df0:0x40b,_0xf2a913:0x400,_0x170738:0xba,_0x7e419b:0xf5,_0x10300b:0x10c,_0x4b6d0b:0xd9,_0x3c51e4:0x44f,_0x2b6524:0x3f6,_0x1286aa:0x435,_0x3a9e4c:0xc1,_0x50aeaf:0xb5,_0x1e2f37:0xeb,_0x6e3ca4:0x134,_0x419957:0x108,_0x426b57:0xd1,_0x49ac55:0x116,_0x29f6b6:0x13d,_0x573b2a:0x3e9,_0x2a84dd:0x428,_0x2139c6:0x415,_0x45c13d:0x3ff},_0x347518={_0x35a06a:0x2c,_0x5882e8:0xb7},_0x33502d={_0x4fb589:0x11d},_0x39919c={'thztx':'Team\x20name\x20'+_0x1a4074(0x409,0x459,_0x31c89a._0x458bb5,_0x31c89a._0x177d34)+'d','VnJEp':_0x1a4074(0x427,0x42f,0x45d,0x438),'KECTd':_0x14dbf7(-0xd5,-_0x31c89a._0x5f424c,-_0x31c89a._0x2d8d91,-0xd3),'aNAxW':function(_0x3583dd){return _0x3583dd();},'REMuY':'Yjpqe','MyAcC':_0x1a4074(_0x31c89a._0x1b247f,_0x31c89a._0x4c190c,_0x31c89a._0x4520dc,_0x31c89a._0xbe1db4),'HCZFh':function(_0xb374c8,_0x2c0fd4){return _0xb374c8(_0x2c0fd4);}},_0x1af091=await _0x39919c['aNAxW'](getTeams);if(!_0x269f0d[_0x14dbf7(-_0x31c89a._0x2e87f7,-0xeb,-_0x31c89a._0x9a2a74,-_0x31c89a._0x33effb)]||!_0x269f0d[_0x1a4074(0x45f,_0x31c89a._0x5ddd34,_0x31c89a._0x5ddd34,_0x31c89a._0x453f08)]['trim']()){if(_0x39919c[_0x1a4074(_0x31c89a._0x9c129e,0x3e8,_0x31c89a._0x129dda,_0x31c89a._0x2bed3c)]!==_0x14dbf7(-0xa2,-0xe3,-_0x31c89a._0x22b5a0,-0xbb)){const _0xd65c18=new Error(_0x39919c[_0x14dbf7(-_0x31c89a._0x51670a,-_0x31c89a._0x311574,-0xab,-_0x31c89a._0x5c7432)]);_0xd65c18[_0x14dbf7(-_0x31c89a._0x1f7fa0,-_0x31c89a._0x3c6f9f,-_0x31c89a._0x7a15a8,-0xe6)]=_0x14dbf7(-_0x31c89a._0x2f4b97,-0x84,-0xb3,-_0x31c89a._0x4ef161);throw _0xd65c18;}else{if(!_0x4df737['name'][_0x14dbf7(-0xe6,-_0x31c89a._0x10f856,-_0x31c89a._0x48a066,-_0x31c89a._0x2f22c5)]()){const _0x237825=new _0x10e28b(_0x39919c[_0x14dbf7(-0x88,-_0x31c89a._0x187c3a,-0xa9,-0xc1)]);_0x237825[_0x1a4074(_0x31c89a._0x1719b5,0x403,0x3ea,_0x31c89a._0x2c4071)]=_0x39919c['VnJEp'];throw _0x237825;}if(_0x5c8953[_0x14dbf7(-_0x31c89a._0x13980d,-_0x31c89a._0x3909d3,-_0x31c89a._0x4e892d,-_0x31c89a._0x2ab666)](_0x592cbe=>_0x592cbe[_0x14dbf7(-0xd5,-0xd4,-0xad,-0xb5)]===_0x442226[_0x14dbf7(-0xed,-0xa1,-0xda,-0xb5)])){const _0x59176a=new _0x56481f(_0x14dbf7(-_0x31c89a._0x3ba2be,-_0x31c89a._0x34e92c,-_0x31c89a._0x2ab666,-0x104)+'\x27'+_0x25b42c['name']+('\x27\x20already\x20'+_0x1a4074(0x41b,0x3ef,_0x31c89a._0x259c85,0x3e2)));_0x59176a[_0x1a4074(0x423,_0x31c89a._0x3a82c0,0x3ff,_0x31c89a._0x5486bc)]=_0x39919c[_0x1a4074(_0x31c89a._0x115310,_0x31c89a._0x300127,0x3e7,_0x31c89a._0x163eb6)];throw _0x59176a;}}}function _0x14dbf7(_0x4a1e96,_0x52ad30,_0x36e131,_0x41bb3e){return _0x3d7123(_0x4a1e96-_0x33502d._0x4fb589,_0x41bb3e-0xf2,_0x52ad30,_0x41bb3e-0x6b);}if(_0x1af091['some'](_0x1e0db5=>_0x1e0db5[_0x1a4074(0x3f5,0x416,0x44b,0x433)]===_0x269f0d[_0x14dbf7(-0x7b,-0xe8,-0x94,-0xb5)])){if('nsmYs'===_0x39919c[_0x1a4074(0x3d8,0x3b8,0x3d1,_0x31c89a._0x342265)]){const _0x1677ce=new _0x555aec('Team\x20name\x20'+'\x27'+_0x4f8342[_0x14dbf7(-_0x31c89a._0xc6a5e5,-_0x31c89a._0x48a066,-0xb5,-0xb5)]+('\x27\x20already\x20'+_0x1a4074(_0x31c89a._0x5c1021,0x3cb,_0x31c89a._0x50e1db,_0x31c89a._0x2f647f)));_0x1677ce[_0x1a4074(0x400,0x3fd,_0x31c89a._0x417019,_0x31c89a._0x5486bc)]=_0x1a4074(0x3f5,_0x31c89a._0x23f95e,_0x31c89a._0x9e99b,0x415);throw _0x1677ce;}else{const _0x3e7466=new Error('Team\x20name\x20'+'\x27'+_0x269f0d[_0x14dbf7(-0xc8,-_0x31c89a._0x7a15a8,-_0x31c89a._0x4f04c7,-0xb5)]+('\x27\x20already\x20'+'exists'));_0x3e7466[_0x1a4074(_0x31c89a._0x551f57,0x422,0x3c5,0x402)]=_0x1a4074(_0x31c89a._0x1b247f,_0x31c89a._0x5788ce,_0x31c89a._0x453de6,_0x31c89a._0x2afca8);throw _0x3e7466;}}const _0x106333=_0x269f0d[_0x14dbf7(-_0x31c89a._0x10527d,-0xc5,-0x105,-0xff)]||[],_0x54f0ba=new Date()[_0x1a4074(0x3fb,_0x31c89a._0x7a5df0,_0x31c89a._0xf2a913,0x3f5)+'g']();function _0x1a4074(_0x4908c7,_0x4aca95,_0x5f1895,_0x348444){return _0x3d7123(_0x4908c7-_0x347518._0x35a06a,_0x348444-0x5da,_0x5f1895,_0x348444-_0x347518._0x5882e8);}const _0xd147ba={'id':'team_'+Date[_0x14dbf7(-0xc3,-_0x31c89a._0x170738,-0x12d,-_0x31c89a._0x7e419b)]()+'_'+Math[_0x14dbf7(-0x12f,-_0x31c89a._0x10300b,-_0x31c89a._0x4b6d0b,-0xfa)]()[_0x1a4074(_0x31c89a._0x3c51e4,0x457,_0x31c89a._0x2b6524,_0x31c89a._0x1286aa)](0x150*0x14+0x2372+-0x1ec7*0x2)['substr'](-0x3b9*0x1+0x2f7+0xc4,0x1756+-0x2*-0xb8a+-0x1*0x2e61),'name':_0x269f0d[_0x14dbf7(-0x78,-0xf1,-_0x31c89a._0x3a9e4c,-_0x31c89a._0x50aeaf)],'description':_0x269f0d[_0x14dbf7(-0x13e,-_0x31c89a._0x1e2f37,-_0x31c89a._0x6e3ca4,-_0x31c89a._0x419957)+'n']||'','members':_0x106333,'created_at':_0x54f0ba,'created_by':_0x269f0d[_0x14dbf7(-_0x31c89a._0x426b57,-_0x31c89a._0x49ac55,-_0x31c89a._0x29f6b6,-0x10f)]||null,'updated_at':_0x54f0ba};return _0x1af091['push'](_0xd147ba),await _0x39919c[_0x1a4074(_0x31c89a._0x573b2a,_0x31c89a._0x2a84dd,_0x31c89a._0x2139c6,_0x31c89a._0x45c13d)](saveTeams,_0x1af091),_0xd147ba;}export async function updateTeam(_0x4b68be,_0x45c361){const _0x591909={_0x7c8418:0x23,_0x22e9b9:0x3e,_0x4b9d23:0x13,_0x2f7430:0x99,_0x24eb94:0x7a,_0x1aa487:0x65,_0xd20fef:0x5c,_0x433671:0x274,_0x5e6a47:0x270,_0x6216f0:0x247,_0x3e9ef4:0x1b,_0xc217b9:0x5b,_0x2ff091:0x16,_0x3e09b9:0x15,_0x59ab31:0x9d,_0x2d6263:0x61,_0x5c3e7d:0xb6,_0x2a9cf1:0x1e8,_0x43627c:0x21d,_0x33f2b0:0x20a,_0xf1f3f5:0x22b,_0x40c360:0x233,_0x9ef059:0x224,_0x34d6fa:0x1de,_0x497ad1:0x232,_0x4a609d:0x5e,_0x39fe28:0x6c,_0x5a4735:0x93,_0xd2b97e:0x26b,_0x1fd7bb:0x25f,_0x347d16:0x240,_0x3900cc:0x1f6,_0x3548cb:0x57,_0x21965c:0x92,_0x24d7fd:0x6b,_0x37d1bd:0x54,_0x559ae3:0x1d9,_0x22fd27:0x69,_0x486a55:0x85,_0x2d845c:0x286,_0x41f4df:0x271,_0x1c2fd6:0x25b,_0x5eb87b:0x205,_0x38c8bd:0x262,_0x29a6cc:0x26,_0x5dae73:0x1cc,_0x1ada02:0x26,_0x1a20be:0x59,_0x4bf3a6:0x15,_0x55fe2f:0x3a,_0x2dc683:0x81,_0x5a78fa:0x84,_0x25151e:0x254,_0x37991c:0x288,_0x5d9933:0x214,_0x2afef5:0x290,_0x5cd1c8:0x3b,_0x1bcd6a:0x5b},_0xa3f1ec={_0x4b83e6:0x63,_0x124dc3:0xb4},_0x458fd5={'QRHRQ':_0x255b30(-0x234,-0x232,-0x25c,-0x242),'KgYeK':function(_0x496fc4){return _0x496fc4();},'dEtEg':function(_0x5c0313,_0x2a46f3){return _0x5c0313!==_0x2a46f3;},'IBtya':function(_0x3168f6,_0x1103f5){return _0x3168f6!==_0x1103f5;},'DaLbP':'WjHfI','AKJhj':'Team\x20name\x20'+_0x1fbe21(-_0x591909._0x7c8418,-0x10,-_0x591909._0x22e9b9,_0x591909._0x4b9d23)+'d','pWQrB':_0x255b30(-0x1c8,-0x231,-0x201,-0x205),'iHtLS':function(_0x1cde6c,_0x3c19e2){return _0x1cde6c!==_0x3c19e2;}},_0x502e71=await _0x458fd5[_0x1fbe21(-_0x591909._0x2f7430,-_0x591909._0x24eb94,-0xc5,-0x7d)](getTeams),_0x3052b8=_0x502e71[_0x1fbe21(-_0x591909._0x1aa487,-0x8d,-0x9f,-_0x591909._0xd20fef)](_0x1d2888=>_0x1d2888['id']===_0x4b68be);if(_0x3052b8===-(0x2242+-0x232+-0x11b*0x1d)){const _0x182e9a=new Error(_0x255b30(-0x287,-_0x591909._0x433671,-_0x591909._0x5e6a47,-_0x591909._0x6216f0)+_0x4b68be+(_0x1fbe21(-0x3b,-0x5f,-_0x591909._0x3e9ef4,-_0x591909._0xc217b9)+'d'));_0x182e9a['code']=_0x458fd5['QRHRQ'];throw _0x182e9a;}const _0xd824cc=_0x502e71[_0x3052b8];function _0x1fbe21(_0x2b890e,_0x2d9b6a,_0x5c0cf1,_0x3049ed){return _0x3d7123(_0x2b890e-0x163,_0x2b890e-0x181,_0x3049ed,_0x3049ed-0x9e);}if(_0x458fd5['dEtEg'](_0x45c361[_0x1fbe21(-0x26,_0x591909._0x2ff091,_0x591909._0x3e09b9,0xc)],undefined)&&_0x458fd5[_0x1fbe21(-_0x591909._0x59ab31,-_0x591909._0x2d6263,-_0x591909._0x5c3e7d,-0xa6)](_0x45c361[_0x255b30(-_0x591909._0x2a9cf1,-_0x591909._0x43627c,-0x1e1,-_0x591909._0x33f2b0)],_0xd824cc[_0x255b30(-_0x591909._0xf1f3f5,-_0x591909._0x40c360,-_0x591909._0x9ef059,-_0x591909._0x33f2b0)])){if(_0x458fd5[_0x255b30(-0x21e,-_0x591909._0x34d6fa,-0x23f,-0x204)](_0x458fd5[_0x255b30(-_0x591909._0x497ad1,-0x250,-0x282,-0x25a)],_0x1fbe21(-0x48,-_0x591909._0x4a609d,-_0x591909._0x39fe28,-0x7d))){const _0x25e521=new _0xa25a6a(_0x1fbe21(-_0x591909._0x5a4735,-0xaa,-0x8b,-0x5e)+_0x41aa89+(_0x1fbe21(-0x7d,-0xa5,-0xa9,-0x58)+'\x20member\x20of'+'\x20this\x20team'));_0x25e521['code']=_0x458fd5[_0x255b30(-0x285,-0x27c,-_0x591909._0xd2b97e,-_0x591909._0x1fd7bb)];throw _0x25e521;}else{if(!_0x45c361[_0x255b30(-_0x591909._0x347d16,-0x21b,-0x238,-0x20a)][_0x255b30(-0x210,-_0x591909._0x3900cc,-0x1f4,-0x225)]()){const _0x580ff0=new Error(_0x458fd5['AKJhj']);_0x580ff0[_0x1fbe21(-_0x591909._0x3548cb,-0x80,-0x61,-0x2c)]=_0x458fd5['pWQrB'];throw _0x580ff0;}if(_0x502e71[_0x1fbe21(-_0x591909._0x21965c,-_0x591909._0x24d7fd,-_0x591909._0x37d1bd,-0xc5)](_0x5e1c24=>_0x5e1c24[_0x255b30(-0x20b,-0x20c,-0x1db,-0x20a)]===_0x45c361[_0x1fbe21(-0x26,0x7,-0x21,-0x54)])){const _0xbbf029=new Error('Team\x20name\x20'+'\x27'+_0x45c361[_0x255b30(-_0x591909._0x559ae3,-0x1f9,-0x247,-0x20a)]+(_0x1fbe21(-0x71,-_0x591909._0x5a4735,-_0x591909._0x22fd27,-_0x591909._0x486a55)+_0x255b30(-_0x591909._0x2d845c,-_0x591909._0x41f4df,-0x220,-_0x591909._0x1c2fd6)));_0xbbf029[_0x1fbe21(-0x57,-0x53,-0x67,-_0x591909._0x22e9b9)]=_0x255b30(-_0x591909._0x5eb87b,-_0x591909._0x38c8bd,-0x201,-0x228);throw _0xbbf029;}}}if(_0x458fd5['dEtEg'](_0x45c361[_0x1fbe21(-_0x591909._0x29a6cc,-_0x591909._0x3e09b9,0xd,-0x2c)],undefined))_0xd824cc[_0x255b30(-_0x591909._0x5dae73,-0x1d2,-0x1cf,-0x20a)]=_0x45c361[_0x1fbe21(-_0x591909._0x1ada02,-_0x591909._0x1a20be,_0x591909._0x4bf3a6,-_0x591909._0x55fe2f)];if(_0x458fd5[_0x1fbe21(-0x98,-_0x591909._0x2dc683,-_0x591909._0x5a78fa,-0xd4)](_0x45c361[_0x255b30(-0x247,-0x295,-0x28f,-0x25d)+'n'],undefined))_0xd824cc['descriptio'+'n']=_0x45c361[_0x255b30(-0x258,-0x268,-0x269,-0x25d)+'n'];if(_0x458fd5[_0x255b30(-0x29d,-_0x591909._0x25151e,-_0x591909._0x37991c,-0x281)](_0x45c361['members'],undefined))_0xd824cc[_0x255b30(-_0x591909._0x5d9933,-_0x591909._0x2afef5,-_0x591909._0x2d845c,-_0x591909._0x25151e)]=_0x45c361[_0x1fbe21(-0x70,-0x8e,-_0x591909._0x5cd1c8,-_0x591909._0x1bcd6a)];function _0x255b30(_0x587642,_0x3ce950,_0x52d32c,_0xdc056d){return _0x3d7123(_0x587642-0x49,_0xdc056d- -_0xa3f1ec._0x4b83e6,_0x52d32c,_0xdc056d-_0xa3f1ec._0x124dc3);}return _0xd824cc['updated_at']=new Date()['toISOStrin'+'g'](),await saveTeams(_0x502e71),_0xd824cc;}export async function deleteTeam(_0x166294,_0x54bbc5,_0x1b9728){const _0x3c57ff={_0xa2eaac:0x369,_0x2dc2b9:0x337,_0x4950c0:0x2e4,_0xcb7c34:0x322,_0x48fddb:0x328,_0x3464ac:0x38d,_0x1f12be:0x3af,_0x8b688e:0x3e7,_0x342ba4:0x3d1,_0x18932b:0x2f8,_0x15d81a:0x30c,_0x541799:0x2cd,_0x33a260:0x344,_0x5f4782:0x37e,_0x368182:0x2e0,_0x1c2bfc:0x2c5,_0xdfc064:0x30b,_0x584278:0x3c3,_0x5e4646:0x394,_0x51746d:0x3f1,_0x3560d1:0x3ce,_0x4964d0:0x38f,_0x492b70:0x3c5,_0x2056e7:0x3ec,_0x1517ec:0x3c4,_0x2ef818:0x304,_0x32a741:0x346,_0x45820:0x34a,_0x513d7e:0x3ab,_0x3af14e:0x38a,_0xce2f03:0x3c9,_0x408bb4:0x3bf,_0x435330:0x357,_0x4c6d78:0x3ad,_0x43ce2c:0x3c1,_0x463dca:0x3cc,_0x5901e8:0x2ab,_0x1d197d:0x2e3,_0x8bef42:0x2ab,_0x18d998:0x33f,_0x245f25:0x2f7,_0x4db66b:0x310,_0x5c41de:0x34b,_0x157e80:0x325,_0x2ce835:0x327,_0x26eda3:0x326,_0x2d7c7e:0x321,_0x1b0a8f:0x31c,_0x195071:0x343,_0x52eeb1:0x3af,_0x54af0c:0x3a4,_0x242e92:0x323,_0x46e3ab:0x33a,_0x3dea4c:0x373,_0x43cece:0x397,_0xc64072:0x377,_0x437861:0x3a6},_0x3c3b46={_0x18ecd0:0x20,_0x526409:0x580},_0x37ca16={'rByPs':'DUPLICATE','PLVKN':function(_0x40fe05){return _0x40fe05();},'lNRlS':function(_0x506d05,_0x571611){return _0x506d05===_0x571611;},'TEkIF':'MjNFm','mLzuC':function(_0x207e35,_0x79e4df){return _0x207e35(_0x79e4df);},'Npzpt':function(_0x55e47c,_0x451529,_0x35dc72){return _0x55e47c(_0x451529,_0x35dc72);},'HSDRO':_0x3831a8(_0x3c57ff._0xa2eaac,_0x3c57ff._0x2dc2b9,0x33a,0x358),'JCoVK':_0x3831a8(0x316,_0x3c57ff._0x4950c0,_0x3c57ff._0xcb7c34,_0x3c57ff._0x48fddb)+'am'},_0x567d9d=await _0x37ca16[_0x18316d(_0x3c57ff._0x3464ac,_0x3c57ff._0x1f12be,_0x3c57ff._0x8b688e,_0x3c57ff._0x342ba4)](getTeams),_0x533daf=_0x567d9d[_0x3831a8(_0x3c57ff._0x18932b,0x30c,_0x3c57ff._0x15d81a,_0x3c57ff._0x541799)](_0x47f4d7=>_0x47f4d7['id']===_0x166294);if(_0x37ca16[_0x18316d(_0x3c57ff._0x33a260,0x378,0x37b,_0x3c57ff._0x5f4782)](_0x533daf,-(0x1395+-0x22ce+-0x1*-0xf3a))){if(_0x37ca16[_0x3831a8(_0x3c57ff._0x368182,_0x3c57ff._0x1c2bfc,0x2ea,_0x3c57ff._0xdfc064)](_0x37ca16[_0x18316d(0x39d,0x3ce,_0x3c57ff._0x584278,_0x3c57ff._0x5e4646)],_0x37ca16[_0x18316d(_0x3c57ff._0x51746d,_0x3c57ff._0x3560d1,0x3cb,0x3e6)])){const _0x2436f0=new Error(_0x18316d(_0x3c57ff._0x4964d0,0x39c,0x38d,_0x3c57ff._0x492b70)+_0x166294+(_0x18316d(_0x3c57ff._0x2056e7,_0x3c57ff._0x1517ec,0x3f1,_0x3c57ff._0x5e4646)+'d'));_0x2436f0['code']=_0x3831a8(_0x3c57ff._0x2ef818,_0x3c57ff._0x32a741,0x313,_0x3c57ff._0x45820);throw _0x2436f0;}else{const _0x5f299c=new _0x1d2275(_0x18316d(_0x3c57ff._0x513d7e,_0x3c57ff._0x3af14e,_0x3c57ff._0xce2f03,0x3a5)+'\x27'+_0x48fced[_0x18316d(_0x3c57ff._0x408bb4,0x3d9,0x3b0,0x3a3)]+('\x27\x20already\x20'+_0x18316d(0x39d,0x388,_0x3c57ff._0x435330,_0x3c57ff._0x4c6d78)));_0x5f299c['code']=_0x37ca16['rByPs'];throw _0x5f299c;}}const _0x5ada75=_0x567d9d[_0x533daf];_0x567d9d['splice'](_0x533daf,-0x1b56+-0x19a6+0x34fd),await _0x37ca16[_0x18316d(0x387,_0x3c57ff._0x43ce2c,0x3a5,_0x3c57ff._0x463dca)](saveTeams,_0x567d9d);let _0x2245ca=0x21f*0xe+0x238d+-0x413f;_0x54bbc5&&(_0x2245ca+=await _0x37ca16[_0x3831a8(0x30c,_0x3c57ff._0x5901e8,_0x3c57ff._0x1d197d,0x2c9)](_0x54bbc5,_0x37ca16[_0x3831a8(0x2ec,_0x3c57ff._0x8bef42,0x2e8,0x2da)],_0x166294));_0x1b9728&&(_0x2245ca+=await _0x1b9728(_0x37ca16[_0x18316d(0x336,0x376,_0x3c57ff._0x18d998,0x399)],_0x166294));const _0x2998a8={};function _0x3831a8(_0x384d12,_0x4666ce,_0x21c390,_0x38873c){return _0x3d7123(_0x384d12-0x1d6,_0x21c390-0x4f2,_0x384d12,_0x38873c-0x57);}_0x2998a8[_0x3831a8(_0x3c57ff._0x245f25,0x30b,_0x3c57ff._0x4db66b,0x31e)]=_0x166294;function _0x18316d(_0x1089c7,_0x4b8d8a,_0x48706b,_0x374a8d){return _0x3d7123(_0x1089c7-_0x3c3b46._0x18ecd0,_0x4b8d8a-_0x3c3b46._0x526409,_0x374a8d,_0x374a8d-0x1);}_0x2998a8[_0x3831a8(_0x3c57ff._0x5c41de,_0x3c57ff._0x157e80,_0x3c57ff._0x2ce835,0x31e)]=_0x5ada75[_0x3831a8(_0x3c57ff._0x26eda3,0x31a,0x34b,_0x3c57ff._0x2d7c7e)],_0x2998a8['deletedBin'+'dings']=_0x2245ca,logger[_0x3831a8(0x30f,_0x3c57ff._0x1b0a8f,_0x3c57ff._0x195071,0x349)](_0x37ca16[_0x18316d(_0x3c57ff._0x52eeb1,0x3b4,_0x3c57ff._0x54af0c,0x3db)],_0x2998a8);const _0x5d695e={};return _0x5d695e[_0x3831a8(0x2fd,_0x3c57ff._0x242e92,_0x3c57ff._0x46e3ab,0x35f)]=_0x5ada75,_0x5d695e[_0x18316d(_0x3c57ff._0x3dea4c,_0x3c57ff._0x43cece,_0x3c57ff._0xc64072,_0x3c57ff._0x437861)+'dings']=_0x2245ca,_0x5d695e;}export async function addMember(_0x1b85e7,_0x178b97){const _0x2aad74={_0x2587e2:0x438,_0x595f4d:0x450,_0x55629c:0x150,_0x123fe0:0x116,_0x701ca2:0x132,_0x27a8fe:0x13a,_0x51632e:0xd8,_0x2641e6:0x112,_0x45435d:0x40b,_0x30ae94:0x131,_0x4c8acb:0x16a,_0x173d05:0x10f,_0x5a4a50:0x175,_0x1156b5:0x139,_0x272c90:0x147,_0x271ca9:0x425,_0x2c9141:0x407,_0x4ae4f3:0x404,_0x2ebb3f:0x3ec,_0x1f9412:0x16d,_0x4573a5:0x3e3,_0x27d1f4:0x3fd,_0x5e6e9b:0x452},_0x54dfb0={_0x2a52f9:0x1ec,_0x2cdc77:0xaa,_0x54417b:0x92},_0x4c95f1={_0x2008da:0xd8},_0x2dd302={'KXDFm':function(_0x40b9fa){return _0x40b9fa();},'huWKo':_0x30e00d(0x41c,0x435,0x41e,0x446),'sCrzX':_0x30e00d(0x413,0x41c,_0x2aad74._0x2587e2,_0x2aad74._0x595f4d),'AaQvH':function(_0x49f452,_0x3aa508){return _0x49f452(_0x3aa508);}},_0x352076=await _0x2dd302['KXDFm'](getTeams),_0x1e02d4=_0x352076[_0x13d694(-_0x2aad74._0x55629c,-0xfb,-0x10b,-_0x2aad74._0x123fe0)](_0x4da2dc=>_0x4da2dc['id']===_0x1b85e7);function _0x30e00d(_0x4a59fc,_0x31e0bd,_0x1e5d82,_0x3d1387){return _0x3d7123(_0x4a59fc-_0x4c95f1._0x2008da,_0x1e5d82-0x5fd,_0x4a59fc,_0x3d1387-0x1db);}if(!_0x1e02d4){const _0xdb9f13=new Error(_0x13d694(-0x100,-0x12f,-_0x2aad74._0x701ca2,-_0x2aad74._0x27a8fe)+_0x1b85e7+(_0x13d694(-0x126,-0x101,-_0x2aad74._0x51632e,-_0x2aad74._0x2641e6)+'d'));_0xdb9f13[_0x30e00d(0x3fc,_0x2aad74._0x45435d,0x425,0x436)]=_0x2dd302[_0x13d694(-_0x2aad74._0x30ae94,-_0x2aad74._0x4c8acb,-_0x2aad74._0x173d05,-_0x2aad74._0x701ca2)];throw _0xdb9f13;}function _0x13d694(_0x350e83,_0x1fa816,_0x42dc5a,_0x2bce40){return _0x3d7123(_0x350e83-_0x54dfb0._0x2a52f9,_0x2bce40-_0x54dfb0._0x2cdc77,_0x1fa816,_0x2bce40-_0x54dfb0._0x54417b);}if(_0x1e02d4[_0x13d694(-0x11c,-_0x2aad74._0x5a4a50,-_0x2aad74._0x1156b5,-_0x2aad74._0x272c90)][_0x13d694(-0x10e,-0xed,-0x11e,-0xf9)](_0x178b97)){const _0x8aadcb=new Error(_0x30e00d(_0x2aad74._0x271ca9,0x3e7,0x3e9,0x41d)+_0x178b97+(_0x30e00d(_0x2aad74._0x2c9141,0x446,0x423,_0x2aad74._0x4ae4f3)+'dy\x20a\x20membe'+_0x30e00d(0x42d,_0x2aad74._0x2ebb3f,0x41f,0x409)+'team'));_0x8aadcb[_0x13d694(-0x13f,-_0x2aad74._0x1f9412,-0x103,-0x12e)]=_0x2dd302['sCrzX'];throw _0x8aadcb;}return _0x1e02d4['members'][_0x30e00d(0x407,_0x2aad74._0x4573a5,_0x2aad74._0x27d1f4,0x3fe)](_0x178b97),_0x1e02d4[_0x30e00d(0x42d,0x422,_0x2aad74._0x5e6e9b,0x414)]=new Date()['toISOStrin'+'g'](),await _0x2dd302[_0x13d694(-0x168,-0xf0,-0xf8,-0x12f)](saveTeams,_0x352076),_0x1e02d4;}export async function removeMember(_0xc4d80b,_0x1dfc31){const _0x319068={_0x186665:0x365,_0x9366de:0x329,_0x1595a5:0x341,_0xea7271:0x37a,_0x5d7457:0x343,_0x21ff30:0x34b,_0x383f1b:0x31e,_0x2d8dda:0x36e,_0xdb1a6c:0x348,_0x6ac556:0x32a,_0x4c5732:0x320,_0x2aaa25:0x310,_0x15f87d:0x351,_0x1b40d3:0x378,_0x227e1e:0x331,_0xe2c7cb:0x323,_0x22edfa:0x34c,_0x3e974a:0x2ff,_0x3a17cf:0x318,_0x5afda2:0x338,_0x160803:0xa6,_0x27f1d2:0x6d,_0x14359c:0x74,_0x536f18:0x6a,_0x3d08d4:0x341,_0x2b6a92:0x2f7,_0x1a0e63:0x30a,_0x4473ab:0x2f1,_0x3373f5:0x2b8,_0x109537:0x62,_0x55075e:0x5a,_0x2083b9:0x7d,_0x4e7f24:0x4e,_0x5a30fb:0x2fb,_0x81a514:0x2e7,_0x12f850:0x327,_0x43addf:0x34e,_0x490dae:0x315,_0x3d6c4f:0x325,_0x56a553:0x6b,_0x6a3844:0x66,_0x34fd5e:0x3c,_0x29dc1d:0x6b,_0x32a15:0x36b,_0x2b4124:0x346},_0x1f9240={_0x5daf8e:0x96},_0x4186f9={_0x29c5b3:0x16f,_0x3e0dd9:0x186},_0x288b2b={'RVBjn':_0x73e26e(_0x319068._0x186665,0x345,_0x319068._0x9366de,_0x319068._0x1595a5),'TXfQw':function(_0x1e65fb){return _0x1e65fb();},'fuTof':function(_0x57080d,_0x4f9ff6){return _0x57080d===_0x4f9ff6;},'lDoEr':'oAyAu','JyxwS':function(_0x5fa9e8,_0x1f7682){return _0x5fa9e8!==_0x1f7682;},'BuIeY':_0x73e26e(_0x319068._0xea7271,0x382,0x34f,_0x319068._0x5d7457),'PYQQQ':function(_0x4da20b,_0x4d39a9){return _0x4da20b(_0x4d39a9);}},_0x1b8c96=await _0x288b2b[_0x73e26e(_0x319068._0x21ff30,0x2d1,0x30b,_0x319068._0x383f1b)](getTeams),_0x29e51d=_0x1b8c96[_0x73e26e(0x380,_0x319068._0x2d8dda,_0x319068._0xdb1a6c,_0x319068._0x6ac556)](_0x562dac=>_0x562dac['id']===_0xc4d80b);if(!_0x29e51d){if(_0x288b2b['fuTof'](_0x73e26e(_0x319068._0x4c5732,0x344,0x331,_0x319068._0x2aaa25),_0x288b2b['lDoEr'])){const _0x1a1c2f=new Error('Team\x20\x27'+_0xc4d80b+(_0x73e26e(_0x319068._0x15f87d,_0x319068._0x1b40d3,0x34c,0x352)+'d'));_0x1a1c2f[_0x73e26e(_0x319068._0x227e1e,_0x319068._0xe2c7cb,0x330,0x345)]=_0x73e26e(_0x319068._0x22edfa,0x329,0x329,_0x319068._0x3e974a);throw _0x1a1c2f;}else{const _0x5a1bf8=new _0x476211(_0x73e26e(0x346,_0x319068._0x3a17cf,0x324,_0x319068._0x5afda2)+_0x25c3b6+(_0x73e26e(_0x319068._0xdb1a6c,0x336,0x34c,0x373)+'d'));_0x5a1bf8['code']=_0x288b2b[_0x54f0cf(-0x8b,-_0x319068._0x160803,-_0x319068._0x27f1d2,-0x4d)];throw _0x5a1bf8;}}const _0x3f35d6=_0x29e51d['members'][_0x54f0cf(-0x42,-_0x319068._0x14359c,-0x6f,-_0x319068._0x536f18)](_0x1dfc31);if(_0x3f35d6===-(0x2051*-0x1+0x5*0x3b9+-0x1d*-0x79)){if(_0x288b2b[_0x73e26e(0x36e,_0x319068._0x3d08d4,0x358,0x359)](_0x288b2b[_0x73e26e(_0x319068._0x2b6a92,_0x319068._0x1a0e63,_0x319068._0x4473ab,_0x319068._0x3373f5)],_0x288b2b['BuIeY'])){const _0x567c84=new _0x8f1fd3('Team\x20\x27'+_0x210085+(_0x54f0cf(-0x25,-0xc,-0x36,-0x4b)+'d'));_0x567c84[_0x54f0cf(-0x39,-_0x319068._0x109537,-0x52,-_0x319068._0x55075e)]=_0x288b2b[_0x54f0cf(-_0x319068._0x2083b9,-0x62,-_0x319068._0x27f1d2,-_0x319068._0x4e7f24)];throw _0x567c84;}else{const _0x332e79=new Error('User\x20\x27'+_0x1dfc31+(_0x73e26e(_0x319068._0x5a30fb,0x2da,0x30a,_0x319068._0x81a514)+_0x73e26e(0x302,_0x319068._0x12f850,0x334,_0x319068._0x43addf)+'\x20this\x20team'));_0x332e79[_0x73e26e(_0x319068._0x5afda2,0x326,0x330,0x303)]=_0x288b2b[_0x73e26e(0x2d7,0x311,_0x319068._0x490dae,_0x319068._0x3d6c4f)];throw _0x332e79;}}_0x29e51d[_0x54f0cf(-0x63,-0x41,-_0x319068._0x56a553,-_0x319068._0x6a3844)]['splice'](_0x3f35d6,0x1e7c+0x13*0x1ba+-0x3f49),_0x29e51d['updated_at']=new Date()[_0x54f0cf(-0x81,-_0x319068._0x34fd5e,-0x5f,-_0x319068._0x29dc1d)+'g'](),await _0x288b2b[_0x73e26e(0x347,_0x319068._0x32a15,0x33a,_0x319068._0x2b4124)](saveTeams,_0x1b8c96);function _0x54f0cf(_0x3e323c,_0x71e72c,_0x4506f1,_0x257275){return _0x3d7123(_0x3e323c-_0x4186f9._0x29c5b3,_0x4506f1-_0x4186f9._0x3e0dd9,_0x71e72c,_0x257275-0x1b0);}function _0x73e26e(_0x4978d5,_0x43db78,_0x2eb38f,_0x4c0de7){return _0x3d7123(_0x4978d5-0xd9,_0x2eb38f-0x508,_0x4c0de7,_0x4c0de7-_0x1f9240._0x5daf8e);}return _0x29e51d;}export function _resetCache(){teamsCache=null;}
|