@profoundlogic/coderflow-server 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base-image/Dockerfile +2 -1
- package/dist/base-image/entrypoint.sh +11 -1
- package/dist/base-image/rewind-files.sh +197 -0
- package/dist/base-image/sync-repos.sh +53 -3
- 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/basic-auth.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/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/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/server-manager.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/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/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.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 -0
- 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/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/request-url.js +1 -1
- package/dist/lib/rewind.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/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/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.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/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/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/shipped-skills/objective-management/SKILL.md +83 -0
- 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/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/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/index.html +21 -0
- 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/pr-dialog.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/styles.css +80 -0
- package/dist/web-ui/public/task.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
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0xee01e8,_0x5f826c){const _0x3de60e={_0x259bec:0x4a7,_0x9c840c:0x47a,_0x565754:0x488,_0x166cf8:0x514,_0x1ad25d:0x565,_0x14fd56:0x276,_0x1db95c:0x2d1,_0x3613e6:0x306,_0x3ee8ce:0x21c,_0x45e6da:0x2a6,_0xe973c1:0x2e0,_0x32f3c9:0x228,_0x84ae1e:0x466,_0x276003:0x4f7,_0x5f28b1:0x2a9,_0x151028:0x1dd,_0x429aea:0x4c6},_0x3c4530={_0x48058d:0x3a2},_0x2bfd3e={_0x4576d8:0x384};function _0x3fb5ec(_0xcb29fc,_0x3c696a,_0x24cb64,_0x45197d){return _0x5ac2(_0x24cb64- -_0x2bfd3e._0x4576d8,_0x45197d);}const _0x480ea0=_0xee01e8();function _0x358463(_0xa6590b,_0x43e16a,_0x561d6c,_0x156ef3){return _0x5ac2(_0x43e16a-_0x3c4530._0x48058d,_0xa6590b);}while(!![]){try{const _0xa6e0b1=-parseInt(_0x358463(0x47f,0x4a5,0x4c4,_0x3de60e._0x259bec))/(-0x1832+-0x54b*-0x3+0x2*0x429)*(parseInt(_0x358463(_0x3de60e._0x9c840c,_0x3de60e._0x565754,0x3f5,_0x3de60e._0x166cf8))/(0x7*0x199+-0x194c+-0x1*-0xe1f))+-parseInt(_0x358463(0x561,_0x3de60e._0x1ad25d,0x5b6,0x546))/(0x1a2d+-0x23*-0xcb+-0x11f9*0x3)*(-parseInt(_0x3fb5ec(-0x2d8,-_0x3de60e._0x14fd56,-_0x3de60e._0x1db95c,-_0x3de60e._0x3613e6))/(0xad*0x39+0xdea*-0x1+-0x1897))+-parseInt(_0x3fb5ec(-_0x3de60e._0x3ee8ce,-_0x3de60e._0x45e6da,-0x246,-0x265))/(0x11c5+0x2162+-0x3322)+parseInt(_0x3fb5ec(-_0x3de60e._0xe973c1,-0x208,-0x263,-_0x3de60e._0x32f3c9))/(-0x19c9+0x658+0xb*0x1c5)*(parseInt(_0x358463(0x517,0x4a4,_0x3de60e._0x84ae1e,_0x3de60e._0x276003))/(-0x154c+0x127*-0xd+0x244e))+parseInt(_0x3fb5ec(-_0x3de60e._0x5f28b1,-0x33e,-0x2ce,-0x29a))/(-0x129c+0x9*0x2dd+-0x721)+-parseInt(_0x3fb5ec(-0x15b,-0x1a9,-_0x3de60e._0x151028,-0x162))/(0x1a*-0xdc+0x254b*-0x1+0x3bac)+parseInt(_0x358463(0x4e9,_0x3de60e._0x429aea,0x525,0x437))/(0x1328+0x255e*-0x1+0x1240)*(-parseInt(_0x358463(0x443,0x482,0x489,0x433))/(0x16aa+-0x4*-0x137+-0x1b7b));if(_0xa6e0b1===_0x5f826c)break;else _0x480ea0['push'](_0x480ea0['shift']());}catch(_0x3466ce){_0x480ea0['push'](_0x480ea0['shift']());}}}(_0x5f07,0x41acf+-0x14b27+0x1*0x590f3));function _0x5f07(){const _0x2e7ea0=['qNvOwuG','ihjLCxvPCMvK','DNbmEvu','ywjIC3G','mte5mJC0oxnJu2j2tq','DxLVqvO','CMLWDgLVBG','Bu9UqMG','DwiRANnVBG','lI9NAxqTChjVDG','t0znwNy','BMfTzq','uhjVy2vZC2LUzW','A09IAxO','zgvZy3jPChrPBW','A3fNweK','C3rHDgu','zurbrgO','u2vJCMv0CYbWyq','DgLVBG','igvYCM9Y','BxDZCwK','sMPfEfC','zsbMywLSzwq','qNHlz28','nfPlBgTQtW','y2fSBgjHy2TvCG','Aw5MBW','mtG0mJy3mM5kv1rZBa','EKjTsxa','r2L0shvIicG','rgfszuO','A2vU','vw5ZDxbWB3j0zq','Dw5wEhm','vLjjtxi','DgvY','uhjVDMLKzxiGBG','uhjVDMLKzxiG','vg9Rzw4GzxHWAq','sunKC3a','wKLbyKe','ig5HBwuGyxjLia','ChjVDMLKzxjZ','BYbWCM92AwrLCG','vxnLCIbjrcbPCW','BI92BMqUz2L0Aa','ANnVBG','ihrVA2vUigf2yq','CMvKAxjLy3rbzG','Dgv4Da','veTcDwy','s096vgu','lMPZB24','t3LLte0','BMLjwfC','C0HMzg4','ywXOB3n0','tunzBeC','qKHoA3K','vxnLCIbUB3qGyW','s1LmDLy','BwvZC2fNzq','CLDHwNi','mI90B2TLBG','Dg9tDhjPBMC','DMzmr1y','DgGGBM90ignVBG','A0zlwMG','AvHnqLC','ndy0ntnVEMvmt2O','BwTKAxi','C2v0','DhLWzq','r3PPDfa','AxjLza','nejgq0DYva','zK9Nwwu','z2L0x2nVBM5LyW','AfDuq2O','ywnJB3vUDf9SBW','y2XPzw50x3nLyW','yxrPB24GCMvXDq','BKTbtLK','Bg9Nz2vY','ChjVDMLKzxjoyq','Dgv3v3q','AwrLCI1Zzxj2Aq','BLfiC00','zMv5rxq','ufHsDgS','tKfAvNK','CxHwrLa','u3rHCNrPBMCGtW','zfzHzu0','zw50CMLLCW','vLbusvm','zcbVCIbLEhbPCG','vfPMEvO','A3PnyMC','ChjVDMLKzxjuEq','zxHWAxjLC19PBG','C3rHDhvZ','AwXHyMXLic0GCG','mZG1ode5EvbTEMDt','mtm1mduYAxPvA3DT','C0HLC0G','ywnJzxnZx3rVAW','BI9QC29U','wLbxqKq','CMfUzg9TqNL0zq','CMvJDxjZAxzL','z2v0ieDPDeH1yG','ihr5Cgu6ia','z2L0AhvI','CMvMCMvZAf90BW','Dg9ju09tDhjPBG','DxnLCKLK','qK5RC2S','C2nVCgu','Dw9AzLa','B3jNyw5PEMf0Aq','C3rHDgvjza','t3L6Dw0','zxjYB3jFzgvZyW','B3qGzM91BMq6ia','DgLTzxn0yw1W','yxbWBgLJyxrPBW','EwPPsfC','t1D5qMK','D2fYBG','CgL6Du4','vxLWvMe','rvHot0O','EuPlEhK','mte0CNPftMnh','C2D5sKi','DvL3yNG','otb6wNjoDhe','ugfSqKC','DxLUwgO','B1rzsu8','ruLXDwe','y09Xuw8','z2LU','A3HrBui','z0zOD2m','C3vHBhn0DwrPBW','vMDvuK0','D3jPDgvgAwXL','AKP2vxm','CMvKAxjLy3rFDq','C3rHDgvZ','DerPtMi','qxv0AcbZDgf0zq','CfLXD0O','zwrYCNu','Cgf0Ag5HBwu','zw4GCMvMCMvZAa','ChvZAa','yxrPB25jBMzV','uKWGAxmGCMvXDq','zxnOzwqGC3vJyW','yxv0Ac1ZDgf0zq','mtK1nZGXnu1IsgjpzG','DxrOigLZig5VDa','EvvtyuC','igf0DgvTChrPBG','qxv0Ag9YAxPHDa','zs1HDxrOB3jPEG','zMP5tvm','zw4GzxHJAgfUzW','BMzPzW','ihLLDcbPBxbSzq','qMvHCMvYia','zxjYB3i','zYbYzwzYzxnO','ChmGka','C3vJy2vZCW','zxnZzNvSBhK','BuTiBLm','sw52ywXPzcbVCG','Ce9TDuu','svrNvgK','zcbWCM92AwrLCG','y2XPzw50x2LK','ufnHuhG','AM9PBG','Agvws3y','vxnLCIbjrcbHBG','vhrVwee','DhjPBq','zgvYia','tM8GCMvMCMvZAa','zgPyrNi','y0Trtxi','Bg1qvee','Ahr0CdOVl2XVyW','DfHwwwG','Ee5rD1C','Aw9UignVzguGAq','ChmGDxnLCIbpqq','yuHmwMK','s0LiCKS','quH4yMi','zMLNDxjLza','BgjHy2S','CMvWBYX1C2vYoG','CMvXDwLYzwq','reHyrwe','B0HyBMS','Cc52C3nWCY52Aq','wenxwhG','r2L0shvIie9bDq','zMLNDxjLzcbMBW','C2vHCMnOugfYyq','A1j5uem','igzHAwXLza','z1PRueG','r1zxChu','CMvMCMvZAfrVAW','BM93','yxP1CMuTzgv2BW','rM96BMu','vgrisvO','u1LAyM4','yvrpvMO','zxiGt0f1DgG','zxf1AxjLza','zNvSBhK','B0rusKy','yM1bCwS','ALbAAu4','qxv0AcbMBg93','mI9HDxrOB3jPEG','tLPlsK0','vvrUu0e','uxfxy3u','zsbUB3qGzM91BG','Ahr0Chm6lY9HCa','l3bYB2zPBgu','s0TzEui','ruDkvgm','zwLTq0e','tM8GDg9Rzw4GzG','twfVC0O','u3rHDguGCgfYyq','ue52ENC','zuv0v2S','BxrnueS','y2uUANm','y29Kzq','CYbYzxf1AxjLza','yxrcvuW','igfUzcbWCM92Aq','qxP1CMuGrgv2tW','igrVzxmGBM90ia','ChjVDMLKzxjdBW','yuvwq2C','yw1LigLZihjLCq','Bwv0zxiGAxmGCG','Bg9NAw4','s0DVCvG','zgvIDwC','zw1HAwW','yxrWuNG','CIbWCM92AwrLCG','ChjVDMLKzxi','tvLIzxC','mZGZodaYm3PHueDXEa','C3rYAw5NAwz5','CMv0','DuDuwvm','zgf0yurPCG','u0HHv0C','t3rKBfa','C3vWCg9YDcb1CW','CMvZCg9UC2u','ue9tva','Ehjhvee','r2L0shvIihrVAW','vKXZD3u','rKTJu1q','zxnOigzHAwXLza','CMvHzezPBgu','qMvntve','reXer04','DwLYzwq','Agv4','CgfYC2u','lMnVBs9Vyxv0Aa','q2fSBgjHy2SGvq','Ce1mDvm'];_0x5f07=function(){return _0x2e7ea0;};return _0x5f07();}import{promises as _0x2b54ec}from'fs';import{existsSync}from'fs';import _0x3c77ac from'path';import _0x2c51ef from'crypto';import{DATA_DIR}from'./data-dir.js';import{logger as _0x174c2a}from'./logger.js';import{loadProvidersConfig}from'./git-provider-service.js';import{storeUserGitToken,getUserGitToken,updateUserGitToken,isTokenExpiringSoon}from'./user-git-tokens.js';import{getGitHubOAuthUrls}from'./github-urls.js';const STATE_FILE='provider-o'+_0x1bddd3(0x3f6,0x390,0x3bb,0x36d)+_0x2d6fc3(-0x46,-0x161,-0x76,-0xd1);function _0x1bddd3(_0x1ae244,_0x22f136,_0x21a7e0,_0x3a1d42){const _0x49955b={_0x14eee6:0x230};return _0x5ac2(_0x3a1d42-_0x49955b._0x14eee6,_0x21a7e0);}const STATE_EXPIRY_MS=(-0x1c58+-0x2*-0xd7f+0x75*0x3)*(0x1bd9*0x1+-0x5*0x4db+-0x356)*(-0xe48+-0x931*0x2+-0x97*-0x3e),AZURE_AUTHORIZE_URL=_0x1bddd3(0x403,0x440,0x390,0x3b9)+_0x1bddd3(0x3de,0x429,0x334,0x39d)+_0x2d6fc3(-0xb7,-0x9c,-0x18,-0x73)+_0x2d6fc3(-0x73,0x70,0x0,0x1c)+_0x2d6fc3(0x6c,0x1d,0x20,-0x1c)+'e',AZURE_TOKEN_URL=_0x1bddd3(0x37c,0x449,0x396,0x3b9)+_0x1bddd3(0x32c,0x41c,0x3b3,0x39d)+'sualstudio'+_0x1bddd3(0x396,0x3aa,0x436,0x3ec)+_0x2d6fc3(-0xf1,-0x4e,-0x10a,-0xc6),GITHUB_SCOPES=_0x2d6fc3(-0x64,0x36,0x3f,-0x37)+_0x2d6fc3(0x4f,-0x13,0x5f,0x2);async function loadStateStorage(_0x111fd8={}){const _0x1261fe={_0x32477e:0x246,_0x1901f8:0x28d,_0x40f723:0x1f1,_0x39e052:0x2c9,_0x158f38:0x282,_0x1d3e0e:0x207,_0x78f68f:0x1c6,_0x50621d:0x25d,_0x27fd03:0x48e,_0x55a2ab:0x47d,_0x2fb181:0x485,_0x3fe2a1:0x283,_0x2fa436:0x175,_0x515b40:0x281,_0x6d48bb:0x24b,_0x44e851:0x461,_0x175265:0x553,_0x1b6450:0x50e,_0x141133:0x4dd,_0x32ab92:0x4f8,_0x18c73e:0x4d1,_0x4895b5:0x22a,_0x3a8d97:0x280,_0x4b59a6:0x26e,_0x52ae30:0x2d4},_0xf0848a={_0x36eb16:0x22,_0x97952b:0x57,_0xe6d3b:0x212},_0x4889f0={_0x1cb7de:0x11b};function _0x4977f6(_0x453e9d,_0x20c06e,_0x3596bf,_0x2ed9c4){return _0x1bddd3(_0x453e9d-0x17e,_0x20c06e-_0x4889f0._0x1cb7de,_0x453e9d,_0x2ed9c4-0xf2);}const _0x3a9179={};_0x3a9179['WzkbB']=function(_0x4e933b,_0x20be15){return _0x4e933b!==_0x20be15;},_0x3a9179[_0x11c9c6(-_0x1261fe._0x32477e,-0x2b7,-_0x1261fe._0x1901f8,-_0x1261fe._0x40f723)]=_0x11c9c6(-0x282,-_0x1261fe._0x39e052,-_0x1261fe._0x158f38,-0x245);const _0x3e2c37=_0x3a9179;function _0x11c9c6(_0x50a8d1,_0x2446d9,_0x447505,_0x3973a1){return _0x2d6fc3(_0x50a8d1-_0xf0848a._0x36eb16,_0x2446d9-_0xf0848a._0x97952b,_0x3973a1,_0x50a8d1- -_0xf0848a._0xe6d3b);}const _0x21c2da=_0x111fd8[_0x11c9c6(-_0x1261fe._0x1d3e0e,-0x225,-_0x1261fe._0x78f68f,-0x295)]||DATA_DIR,_0x33cc59=_0x3c77ac[_0x11c9c6(-_0x1261fe._0x50621d,-0x20c,-0x28c,-0x21f)](_0x21c2da,STATE_FILE);if(!existsSync(_0x33cc59)){const _0x3a7538={};return _0x3a7538[_0x4977f6(_0x1261fe._0x27fd03,_0x1261fe._0x55a2ab,_0x1261fe._0x2fb181,0x454)]={},_0x3a7538;}try{if(_0x3e2c37['WzkbB'](_0x3e2c37[_0x11c9c6(-_0x1261fe._0x32477e,-0x1c9,-0x1b9,-0x203)],_0x11c9c6(-0x2ef,-0x287,-0x2f3,-_0x1261fe._0x3fe2a1))){const _0x177047=await _0x2b54ec[_0x11c9c6(-0x1fc,-_0x1261fe._0x2fa436,-_0x1261fe._0x515b40,-_0x1261fe._0x6d48bb)](_0x33cc59,'utf-8');return JSON[_0x4977f6(_0x1261fe._0x44e851,_0x1261fe._0x175265,_0x1261fe._0x1b6450,_0x1261fe._0x141133)](_0x177047);}else return _0x4977f6(0x46b,_0x1261fe._0x32ab92,_0x1261fe._0x18c73e,0x4bb)+_0x11c9c6(-0x267,-0x26a,-0x24e,-_0x1261fe._0x4895b5)+_0x2ec10d[_0x11c9c6(-0x29f,-0x2cf,-0x2fc,-0x261)+'on']+')';}catch{const _0x705e5={};return _0x705e5[_0x11c9c6(-_0x1261fe._0x3a8d97,-0x257,-_0x1261fe._0x4b59a6,-_0x1261fe._0x52ae30)]={},_0x705e5;}}async function saveStateStorage(_0x4086dd,_0x2e999c={}){const _0x3787e2={_0x488438:0xb0,_0x4e5305:0xe2,_0x438aad:0x12a,_0x152b82:0xdd,_0x4d53ea:0x1f},_0x4d72d0={_0x132a98:0x69,_0x401e81:0x57},_0x53f65b={_0x352c94:0x1d2},_0x899d21=_0x2e999c[_0x4abd60(-_0x3787e2._0x488438,-0x88,-0x32,-_0x3787e2._0x4e5305)]||DATA_DIR,_0x37b5ca=_0x3c77ac['join'](_0x899d21,STATE_FILE),_0x501497={};function _0x4abd60(_0x5688ee,_0x54a13e,_0x3e5fa,_0x42ed96){return _0x1bddd3(_0x5688ee-_0x53f65b._0x352c94,_0x54a13e-0xc4,_0x5688ee,_0x54a13e- -0x463);}_0x501497[_0x4abd60(-0x9f,-_0x3787e2._0x438aad,-0xb6,-_0x3787e2._0x152b82)]=!![],await _0x2b54ec[_0x506e27(-0x8b,-0x4,-0x6a,-0x68)](_0x899d21,_0x501497);function _0x506e27(_0x26d9e4,_0x1af1fb,_0x2a161a,_0x3bc401){return _0x2d6fc3(_0x26d9e4-0x1f2,_0x1af1fb-_0x4d72d0._0x132a98,_0x1af1fb,_0x3bc401-_0x4d72d0._0x401e81);}const _0x45ac59={};_0x45ac59['mode']=0x180,await _0x2b54ec[_0x506e27(-_0x3787e2._0x4d53ea,-0x8e,-0x57,-0x1a)](_0x37b5ca,JSON['stringify'](_0x4086dd,null,0x1c81*-0x1+-0x79f*0x1+0x2422),_0x45ac59);}function cleanExpiredStates(_0x25a7cc){const _0x90da34={_0x387508:0x113,_0x46686c:0xf7,_0x2f0150:0xaa,_0x446d13:0x80,_0x5c8769:0x402,_0x3c4a37:0x446,_0x3cf80e:0x4a9,_0x4ba7c2:0x4a2,_0x1a1290:0x4c0,_0x1f212a:0x43e,_0x4b6e8a:0x1c,_0x1bec6f:0x84,_0x193f68:0x3fe,_0x26a4cf:0x373,_0x15ed3f:0x46a,_0x28bfc2:0x36b,_0x32984f:0x425,_0x1b3e1b:0x54,_0x3dc29a:0xb1,_0x30d364:0x6,_0x5a55d5:0x3f7,_0x5ac64e:0x45d,_0x5db5ae:0x399,_0x10bac9:0x6b,_0x3c4d4e:0x31,_0x2bfeaa:0x492,_0x16a702:0x455,_0x288c0b:0x431},_0x3b4936={_0x5a2589:0x1f0,_0x2ad887:0xce},_0x4338fb={};_0x4338fb[_0x706ebc(_0x90da34._0x387508,_0x90da34._0x46686c,_0x90da34._0x2f0150,_0x90da34._0x446d13)]=function(_0x254aed,_0x2b5e56){return _0x254aed===_0x2b5e56;};function _0x10ae72(_0x214594,_0x22afe0,_0x47111a,_0x951719){return _0x2d6fc3(_0x214594-_0x3b4936._0x5a2589,_0x22afe0-_0x3b4936._0x2ad887,_0x951719,_0x47111a-0x487);}_0x4338fb['uGTYS']=_0x10ae72(0x3e5,0x40b,_0x90da34._0x5c8769,0x43a);function _0x706ebc(_0x213dd9,_0x57c0a5,_0x3e227a,_0xb4bd6b){return _0x2d6fc3(_0x213dd9-0x63,_0x57c0a5-0x1be,_0xb4bd6b,_0x3e227a-0xb3);}_0x4338fb[_0x10ae72(0x465,0x42c,0x3da,_0x90da34._0x3c4a37)]=_0x10ae72(0x45d,0x437,_0x90da34._0x3cf80e,_0x90da34._0x4ba7c2),_0x4338fb[_0x10ae72(_0x90da34._0x1a1290,0x498,0x49f,_0x90da34._0x1f212a)]=function(_0x25815d,_0x23f2a7){return _0x25815d>_0x23f2a7;},_0x4338fb[_0x706ebc(-0xa7,0x75,-_0x90da34._0x4b6e8a,0x66)]=_0x706ebc(0xf7,_0x90da34._0x1bec6f,0x8e,0xa7);const _0xa8946b=_0x4338fb,_0x546638=Date[_0x10ae72(0x4c8,0x46c,0x45e,_0x90da34._0x193f68)]();for(const [_0x367d6b,_0x5600a7]of Object[_0x10ae72(_0x90da34._0x26a4cf,_0x90da34._0x15ed3f,0x3e0,_0x90da34._0x28bfc2)](_0x25a7cc[_0x706ebc(0xb2,0xd,0x45,0x7e)]||{})){if(_0xa8946b[_0x10ae72(0x4fa,0x436,0x47e,_0x90da34._0x32984f)](_0xa8946b[_0x706ebc(_0x90da34._0x1b3e1b,_0x90da34._0x3dc29a,0xbd,0x41)],_0xa8946b[_0x706ebc(0x8f,0x6c,_0x90da34._0x30d364,0x8)]))throw new _0x1eb480('Secrets\x20pa'+_0x10ae72(0x35a,_0x90da34._0x5a55d5,0x3c4,0x454)+'figured');else{if(_0xa8946b[_0x10ae72(_0x90da34._0x5ac64e,0x48d,0x49f,0x498)](_0x546638-_0x5600a7[_0x10ae72(0x472,_0x90da34._0x5db5ae,0x3ff,0x371)],STATE_EXPIRY_MS)){if(_0xa8946b['niIXW']===_0x706ebc(-0x25,0x51,_0x90da34._0x10bac9,0x87)){const _0x1ef4f8={};return _0x1ef4f8[_0x706ebc(_0x90da34._0x3c4d4e,0x15,0x45,0x3a)]={},_0x1ef4f8;}else delete _0x25a7cc[_0x10ae72(_0x90da34._0x2bfeaa,_0x90da34._0x16a702,0x419,_0x90da34._0x288c0b)][_0x367d6b];}}}return _0x25a7cc;}export async function storeOAuthState(_0x3a087d,_0x4a8c56,_0x1c376c={}){const _0xc864cd={_0x6f8f5f:0x2af,_0x39c9a9:0x2f1,_0x22a042:0x2b5,_0x583566:0x4d2,_0x72f400:0x520,_0x84b3a4:0x555,_0x585d04:0x4f7,_0x323ed2:0x4b2,_0x3faa85:0x4b6,_0x546828:0x567,_0x4da287:0x4e6,_0xa7a4bc:0x47d,_0x2e2554:0x520},_0x5ec0c6={_0x12e636:0x117,_0x1c5ced:0x9c};function _0x4d870a(_0x14fc7b,_0x16b241,_0x452789,_0x3f3978){return _0x1bddd3(_0x14fc7b-_0x5ec0c6._0x12e636,_0x16b241-0x3c,_0x3f3978,_0x16b241- -_0x5ec0c6._0x1c5ced);}const _0x48ad8e={'nQHsM':function(_0x1d6f14,_0x39ef6a){return _0x1d6f14(_0x39ef6a);},'MYbew':function(_0x1abdf9,_0x4cad5b){return _0x1abdf9(_0x4cad5b);},'kbkTH':_0x4d870a(_0xc864cd._0x6f8f5f,_0xc864cd._0x39c9a9,0x2d6,_0xc864cd._0x22a042),'pizuN':'FOXgZ','SGFZx':function(_0x39df6c,_0x14899b,_0x3377bb){return _0x39df6c(_0x14899b,_0x3377bb);}};let _0x5bf66e=await _0x48ad8e[_0x38baa9(0x4b6,0x4c3,_0xc864cd._0x583566,0x4b7)](loadStateStorage,_0x1c376c);function _0x38baa9(_0x155af3,_0x3b6042,_0x40346a,_0x1b2016){return _0x1bddd3(_0x155af3-0x108,_0x3b6042-0x91,_0x155af3,_0x1b2016-0x195);}_0x5bf66e=_0x48ad8e[_0x38baa9(_0xc864cd._0x72f400,0x54b,_0xc864cd._0x84b3a4,0x56b)](cleanExpiredStates,_0x5bf66e);if(!_0x5bf66e[_0x38baa9(0x525,0x548,0x514,_0xc864cd._0x585d04)]){if(_0x48ad8e['kbkTH']!==_0x48ad8e[_0x38baa9(_0xc864cd._0x323ed2,_0xc864cd._0x3faa85,0x47a,0x4e2)])_0x5bf66e[_0x38baa9(_0xc864cd._0x546828,0x575,_0xc864cd._0x4da287,_0xc864cd._0x585d04)]={};else return _0x38baa9(0x428,0x4b0,0x4ad,_0xc864cd._0xa7a4bc)+_0x4ea5fc[_0x38baa9(0x42c,0x501,0x4b5,0x4af)+_0x38baa9(0x4ef,0x4c1,_0xc864cd._0x2e2554,0x4ef)]+')';}_0x5bf66e['states'][_0x3a087d]={..._0x4a8c56,'timestamp':Date['now']()},await _0x48ad8e['SGFZx'](saveStateStorage,_0x5bf66e,_0x1c376c);}function _0x2d6fc3(_0x4617d3,_0x46d5a0,_0x5e40f4,_0x5681d7){return _0x5ac2(_0x5681d7- -0x1a0,_0x5e40f4);}export async function consumeOAuthState(_0x1cdd0c,_0x1244c2={}){const _0x103d55={_0x5134da:0x2c9,_0x27ea44:0x242,_0x59b21c:0x80,_0x18ea7a:0x238,_0x5946dc:0x26,_0x78bf6e:0xb7,_0x16b06d:0x11e,_0x1b4d6c:0xeb,_0x1f7d3a:0x283,_0x29e9d5:0x224,_0xecbaa4:0x225,_0x10a7fa:0x2c1,_0x43e071:0x29d,_0x2b952a:0x294,_0x4cedbe:0x308,_0x5c61e7:0x284,_0x27de8e:0xfb,_0x58dbe7:0x95},_0x237849={_0x3cf9a8:0x214},_0x5ea889={_0x4ef002:0x18f,_0x27f9f2:0x2d8},_0x5ee232={'UuXTN':function(_0x129819,_0x6b57c7){return _0x129819(_0x6b57c7);},'mOnBh':function(_0x1a8a53,_0x5c7de3){return _0x1a8a53(_0x5c7de3);},'mdYIo':_0x56c1d9(-_0x103d55._0x5134da,-_0x103d55._0x27ea44,-0x251,-0x20c),'atpRx':'OAuth\x20stat'+_0x114d59(0x52,_0x103d55._0x59b21c,0xe0,0x13e)+_0x56c1d9(-_0x103d55._0x18ea7a,-0x2b9,-0x29e,-0x22d)+'ed','OKgQK':function(_0x24ebaf,_0x119a8f,_0x424351){return _0x24ebaf(_0x119a8f,_0x424351);}},_0x548546=_0x1244c2[_0x114d59(_0x103d55._0x5946dc,-0x4,0x46,0xb7)]||_0x174c2a;let _0x250292=await _0x5ee232['UuXTN'](loadStateStorage,_0x1244c2);function _0x114d59(_0xf6759e,_0x2b4541,_0x50ad2e,_0x5145a2){return _0x1bddd3(_0xf6759e-0x4d,_0x2b4541-_0x5ea889._0x4ef002,_0x5145a2,_0x50ad2e- -_0x5ea889._0x27f9f2);}function _0x56c1d9(_0x81665b,_0x4f4afe,_0x517b40,_0x3c9fb0){return _0x2d6fc3(_0x81665b-0x1af,_0x4f4afe-0xad,_0x517b40,_0x4f4afe- -_0x237849._0x3cf9a8);}_0x250292=_0x5ee232[_0x114d59(_0x103d55._0x78bf6e,0xf5,_0x103d55._0x16b06d,_0x103d55._0x1b4d6c)](cleanExpiredStates,_0x250292);const _0x22604b=_0x250292[_0x56c1d9(-0x2a1,-0x282,-_0x103d55._0x1f7d3a,-0x2b2)]?.[_0x1cdd0c];if(!_0x22604b){if(_0x5ee232['mdYIo']===_0x56c1d9(-_0x103d55._0x29e9d5,-_0x103d55._0xecbaa4,-0x1b2,-0x2aa))throw new _0x2f2d5f('Provider\x20n'+_0x56c1d9(-_0x103d55._0x10a7fa,-_0x103d55._0x43e071,-0x28c,-0x222)+_0x12ff5d);else{const _0x503434={};return _0x503434['stateId']=_0x1cdd0c,_0x548546[_0x56c1d9(-_0x103d55._0x2b952a,-0x298,-_0x103d55._0x4cedbe,-_0x103d55._0x5c61e7)](_0x5ee232[_0x114d59(0x13a,0xf2,_0x103d55._0x27de8e,_0x103d55._0x58dbe7)],_0x503434),null;}}return delete _0x250292['states'][_0x1cdd0c],await _0x5ee232['OKgQK'](saveStateStorage,_0x250292,_0x1244c2),_0x22604b;}function _0x5ac2(_0x47f2c9,_0x522232){_0x47f2c9=_0x47f2c9-(0xa5*0x1+0x221f*0x1+-0x1*0x2222);const _0x535638=_0x5f07();let _0x5797f2=_0x535638[_0x47f2c9];if(_0x5ac2['Bjlcxn']===undefined){var _0x3a686b=function(_0x1ef86d){const _0x4108fe='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x35627f='',_0x14d256='';for(let _0xf2356f=-0x7*-0x463+0x1cc1+-0x162*0x2b,_0x18b946,_0x557ccf,_0x562151=0x1555*0x1+0xf*-0x101+0xb*-0x92;_0x557ccf=_0x1ef86d['charAt'](_0x562151++);~_0x557ccf&&(_0x18b946=_0xf2356f%(-0x3*0x26e+-0x2*-0x6e0+-0x672)?_0x18b946*(0x1c0d+0x2475+-0x4042)+_0x557ccf:_0x557ccf,_0xf2356f++%(-0x2038+0x125f+0xddd))?_0x35627f+=String['fromCharCode'](0x1*0x20c2+-0x241*-0x2+0x3*-0xc17&_0x18b946>>(-(-0x18e0+-0x17dd+0x1*0x30bf)*_0xf2356f&0x1f*0x13a+-0x1535*0x1+-0x10cb)):0xc47+0x2321+-0x2*0x17b4){_0x557ccf=_0x4108fe['indexOf'](_0x557ccf);}for(let _0x33e7eb=-0x1*-0x2668+-0x643+-0xd*0x279,_0x2996a0=_0x35627f['length'];_0x33e7eb<_0x2996a0;_0x33e7eb++){_0x14d256+='%'+('00'+_0x35627f['charCodeAt'](_0x33e7eb)['toString'](-0x50*-0xb+0x1ad*-0x9+-0x1*-0xbb5))['slice'](-(-0xe57+0x4a9*-0x6+0x2a4f));}return decodeURIComponent(_0x14d256);};_0x5ac2['RewGzr']=_0x3a686b,_0x5ac2['nPsIOo']={},_0x5ac2['Bjlcxn']=!![];}const _0x2685e6=_0x535638[0xbe*0x13+0xcd3+0x1aed*-0x1],_0x2a6d63=_0x47f2c9+_0x2685e6,_0x53a19f=_0x5ac2['nPsIOo'][_0x2a6d63];return!_0x53a19f?(_0x5797f2=_0x5ac2['RewGzr'](_0x5797f2),_0x5ac2['nPsIOo'][_0x2a6d63]=_0x5797f2):_0x5797f2=_0x53a19f,_0x5797f2;}export async function getProviderConfig(_0x1a1898,_0x207c37={}){const _0x1c5786={_0x58271a:0xe3,_0x2ee470:0x136,_0x50a1bb:0x1bb,_0x2b7a43:0x1b1,_0x45edcd:0x17a},_0x1b67a0={_0x3dd0e7:0x4b,_0x4539ad:0xf},_0x4c2302={_0x2e5592:0xfb};function _0x23e764(_0x2c90dd,_0xac3d2b,_0x5e3541,_0x195309){return _0x2d6fc3(_0x2c90dd-_0x4c2302._0x2e5592,_0xac3d2b-0x15e,_0x5e3541,_0x195309-0x255);}const _0x20fffd={'UypVa':function(_0x2f456b,_0x2bef22){return _0x2f456b(_0x2bef22);}},_0x34c24d=await _0x20fffd[_0x4666e2(-_0x1c5786._0x58271a,-0x183,-_0x1c5786._0x2ee470,-_0x1c5786._0x50a1bb)](loadProvidersConfig,_0x207c37);function _0x4666e2(_0x4e1cc5,_0x228064,_0x5089df,_0xd18afc){return _0x2d6fc3(_0x4e1cc5-_0x1b67a0._0x3dd0e7,_0x228064-_0x1b67a0._0x4539ad,_0xd18afc,_0x5089df- -0xb4);}return _0x34c24d[_0x23e764(0x1ad,0x174,_0x1c5786._0x2b7a43,_0x1c5786._0x45edcd)]?.[_0x1a1898]||null;}export function providerSupportsUserOAuth(_0x98ba3e){const _0x4c1946={_0x3142ec:0x4f,_0x2ab750:0x4c,_0x1f18a3:0x259,_0x44dd45:0x2ca,_0x2eeb29:0x26d,_0x13b645:0x1db,_0x30add2:0x255,_0x461d44:0x227,_0x1f270d:0x1af,_0x33b676:0x1b4,_0x889b29:0x23d,_0x590114:0x1ce,_0x53e9ec:0x4a,_0x36f462:0x10e,_0xbfecf5:0xc8,_0x19b8a3:0x125,_0x55ce15:0xa3,_0x4edc36:0x5c,_0x49274a:0x5f,_0x563fe7:0x1d7,_0x4ec3a9:0x21d},_0x1b2873={_0x350ec9:0x26,_0x175ec1:0x11c},_0x1a63ce={_0x3d2580:0x295},_0x406bd1={};_0x406bd1[_0x167218(0x71,_0x4c1946._0x3142ec,0xa0,_0x4c1946._0x2ab750)]=function(_0xbc1576,_0x5938e1){return _0xbc1576===_0x5938e1;},_0x406bd1[_0x485f60(_0x4c1946._0x1f18a3,0x1e1,0x226,_0x4c1946._0x44dd45)]=_0x485f60(_0x4c1946._0x2eeb29,_0x4c1946._0x13b645,_0x4c1946._0x30add2,_0x4c1946._0x461d44)+'ps';function _0x485f60(_0x1cf9c8,_0x55f4e0,_0xf44631,_0x155737){return _0x2d6fc3(_0x1cf9c8-0x1c9,_0x55f4e0-0x61,_0x155737,_0x1cf9c8-_0x1a63ce._0x3d2580);}const _0xa3dbb6=_0x406bd1;if(!_0x98ba3e)return![];function _0x167218(_0x20d8a3,_0x17aad7,_0x5959e4,_0x4abad3){return _0x2d6fc3(_0x20d8a3-0xdb,_0x17aad7-_0x1b2873._0x350ec9,_0x20d8a3,_0x4abad3-_0x1b2873._0x175ec1);}if(_0xa3dbb6[_0x485f60(0x1c5,_0x4c1946._0x1f270d,0x1bf,0x23f)](_0x98ba3e[_0x485f60(0x1d8,_0x4c1946._0x33b676,_0x4c1946._0x889b29,_0x4c1946._0x590114)],'github'))return!!(_0x98ba3e[_0x167218(0x13e,_0x4c1946._0x53e9ec,_0x4c1946._0x36f462,0xcf)]&&_0x98ba3e['client_sec'+_0x167218(0x163,_0x4c1946._0xbfecf5,0xd0,_0x4c1946._0x19b8a3)]);if(_0x98ba3e[_0x167218(0x2b,_0x4c1946._0x55ce15,_0x4c1946._0x4edc36,_0x4c1946._0x49274a)]===_0xa3dbb6[_0x485f60(_0x4c1946._0x1f18a3,0x1d4,_0x4c1946._0x563fe7,_0x4c1946._0x4ec3a9)])return![];return![];}export async function getOAuthEnabledProviders(_0x34af50={}){const _0x19b161={_0x15e11a:0x34,_0x228335:0xc,_0x4c176d:0x46,_0xedf834:0x79,_0x657088:0x76,_0x3613b4:0x38,_0x5c127d:0x69,_0x485196:0x5c,_0x113f37:0x1e,_0x31c7d8:0x80,_0x497b97:0x60,_0x26cd10:0x1f,_0x5720a:0x66,_0x515150:0xa,_0x2f3b33:0x9a,_0x4b9f5e:0x3e,_0x3dc837:0x61,_0x518155:0xda,_0x445096:0xab,_0x5b4cc9:0x53,_0xe49762:0x56,_0xe6585f:0xc7,_0x5ea31f:0x94,_0x21490f:0xc1,_0x2cb0de:0x6,_0x46d2de:0x16,_0x4d87b2:0x2a,_0x59bc8f:0x14,_0x4e111f:0xc5,_0x21f9bb:0x71,_0x5603b3:0x44,_0x4f3e4d:0x15,_0x3437ba:0x20,_0x4d4219:0x5,_0x423b33:0x41,_0x10f34f:0x49,_0x21631c:0xf,_0x2e72fb:0x1a,_0x3240b1:0x28,_0x438098:0x2c,_0x499c30:0xd5,_0x475a46:0x50,_0x3612e8:0x11,_0x19bd0e:0xc},_0x564813={_0x35eb74:0x7c,_0x51b941:0x333},_0x480bca={'sHfdn':function(_0x1ed829,_0x5a704d){return _0x1ed829===_0x5a704d;},'VQqFR':_0x3ee8e4(-0x5f,0x9f,_0x19b161._0x15e11a,_0x19b161._0x228335)+'ps','WnzpB':_0x3ee8e4(0x49,_0x19b161._0x4c176d,_0x19b161._0xedf834,0x21)+_0x64eaf0(-0x12,_0x19b161._0x657088,_0x19b161._0x3613b4,_0x19b161._0x5c127d)+_0x64eaf0(-_0x19b161._0x485196,0x24,-_0x19b161._0x113f37,0x19),'djXFr':function(_0x585448,_0x564d40){return _0x585448(_0x564d40);},'JjExW':'AHrUv','VgURM':function(_0x461b30,_0x384b31){return _0x461b30(_0x384b31);},'rWaZr':_0x64eaf0(-0x1a,-_0x19b161._0x31c7d8,-0xb,-_0x19b161._0x497b97),'OFMZv':_0x64eaf0(-0x7a,0x43,-0x1f,_0x19b161._0x26cd10)},_0x51b2bb=await _0x480bca[_0x64eaf0(_0x19b161._0x5720a,0x16,0x59,0x48)](loadProvidersConfig,_0x34af50);function _0x3ee8e4(_0x4aea48,_0x57e79a,_0x318508,_0x36c9b2){return _0x1bddd3(_0x4aea48-0xc2,_0x57e79a-0x152,_0x4aea48,_0x318508- -0x374);}const _0x1ba10f=[];for(const [_0x2876ae,_0x3bf3d5]of Object[_0x64eaf0(-0x83,0x50,-_0x19b161._0x515150,-0x92)](_0x51b2bb[_0x64eaf0(-_0x19b161._0x2f3b33,-0xa4,-_0x19b161._0x4b9f5e,-_0x19b161._0x3dc837)]||{})){if(_0x480bca[_0x3ee8e4(-_0x19b161._0x518155,-_0x19b161._0x445096,-0x72,-0x6b)](_0x480bca[_0x64eaf0(-_0x19b161._0x518155,0x14,-_0x19b161._0x5b4cc9,-0x8e)],_0x480bca[_0x3ee8e4(-_0x19b161._0xe49762,-_0x19b161._0xe6585f,-_0x19b161._0x5ea31f,-_0x19b161._0x21490f)])){if(_0x480bca[_0x3ee8e4(-_0x19b161._0x2cb0de,0x75,-_0x19b161._0x46d2de,0x15)](providerSupportsUserOAuth,_0x3bf3d5)){if(_0x480bca[_0x64eaf0(-0xb0,-0x30,-_0x19b161._0x4d87b2,0x60)]!==_0x480bca[_0x64eaf0(-_0x19b161._0x59bc8f,_0x19b161._0x228335,-0x5f,-0x60)]){const _0x108224={};_0x108224[_0x64eaf0(-_0x19b161._0x4e111f,-_0x19b161._0x21f9bb,-0x5e,-_0x19b161._0x5603b3)]=_0x2876ae,_0x108224[_0x64eaf0(0x37,-_0x19b161._0x4f3e4d,-_0x19b161._0x3437ba,-_0x19b161._0x4d4219)]=_0x3bf3d5[_0x3ee8e4(-0x22,0x3,-0x61,-_0x19b161._0x423b33)],_0x108224[_0x3ee8e4(0x82,-_0x19b161._0x10f34f,_0x19b161._0x21631c,_0x19b161._0x2e72fb)]=_0x3bf3d5['client_id'],_0x1ba10f['push'](_0x108224);}else{if(!_0x9019c6)return![];if(_0x205e44[_0x64eaf0(-_0x19b161._0x59bc8f,-0x71,-_0x19b161._0x3437ba,_0x19b161._0x3240b1)]===_0x3ee8e4(0x5b,-_0x19b161._0x438098,-_0x19b161._0x3613b4,-0x5e))return!!(_0xf0f153[_0x64eaf0(_0x19b161._0x499c30,_0x19b161._0x475a46,0x50,-_0x19b161._0x3612e8)]&&_0x3a94fd['client_sec'+'ret']);if(_0x480bca['sHfdn'](_0x180570[_0x3ee8e4(0x18,-_0x19b161._0x19bd0e,-_0x19b161._0x3dc837,-0xa2)],_0x480bca['VQqFR']))return![];return![];}}}else throw new _0x535638(_0x480bca['WnzpB']);}function _0x64eaf0(_0x82db9a,_0x7386f1,_0x48b3c2,_0x3f6e07){return _0x1bddd3(_0x82db9a-0xbd,_0x7386f1-_0x564813._0x35eb74,_0x3f6e07,_0x48b3c2- -_0x564813._0x51b941);}return _0x1ba10f;}async function startGitHubOAuth(_0x26e616,_0x29e43f={}){const _0x4a26c4={_0x52f030:0x4b6,_0x1d936f:0x4fc,_0x3e9f65:0x47a,_0x20389e:0x3f8,_0x2f2104:0x43f,_0x46a94c:0x3fb,_0x337c7b:0x3cc,_0x15bfb2:0x461,_0x5d6606:0x40a,_0x821ef8:0x43c,_0x4c89d8:0x3b7,_0x7e48f:0x37a,_0x3af0f3:0x2e0,_0x62635b:0x390,_0x26fd65:0x3c7,_0x1bff2f:0x3ba,_0x20a9aa:0x3a6,_0x16fee2:0x3c4,_0x53febd:0x39b,_0x1495f2:0x3ff,_0x3399ce:0x32a,_0x208f51:0x31d,_0x26aa96:0x344,_0x3bc3fa:0x3e6,_0x6068d6:0x45f,_0x3adb29:0x445,_0x3748d6:0x469,_0x5aa051:0x4c0,_0x5f43a2:0x420,_0x3800bd:0x417,_0x4d8f0f:0x3e4,_0x57f4b9:0x3af,_0x4c9bde:0x430,_0x20cc8b:0x471,_0x28f54e:0x423,_0xf9bcfb:0x384,_0x169b9a:0x407,_0x531342:0x479,_0x3aa586:0x486,_0x2c5d6b:0x3c0,_0x1deb0e:0x34c,_0x38ca67:0x48d,_0x687d9f:0x418,_0xed35a1:0x39b,_0x27848f:0x3e7,_0x17ca2c:0x306,_0x264e97:0x394,_0x1ac7d6:0x37f,_0x31c8c4:0x379,_0x59c20a:0x3ef,_0x2c5f67:0x310,_0x2a531c:0x3f5},_0x4a6bfe={_0x45f814:0x10,_0x7b6383:0x110,_0x247d30:0x452},_0x4e99c8={_0x35a10e:0x88,_0x18cb21:0xea,_0x228e24:0x460},_0x2f0e04={'unVxs':_0x385611(0x4b3,_0x4a26c4._0x52f030,_0x4a26c4._0x1d936f,_0x4a26c4._0x3e9f65),'ICdsp':function(_0x5d648a,_0x2ee14b,_0x5354df,_0x23e745){return _0x5d648a(_0x2ee14b,_0x5354df,_0x23e745);},'BeMMQ':_0x385611(_0x4a26c4._0x20389e,_0x4a26c4._0x2f2104,_0x4a26c4._0x46a94c,_0x4a26c4._0x337c7b),'KGoqX':function(_0x24c57c,_0x5a4b02){return _0x24c57c||_0x5a4b02;},'eEtWk':_0x4ee9fa(0x3cb,_0x4a26c4._0x15bfb2,_0x4a26c4._0x5d6606,_0x4a26c4._0x821ef8),'sHesH':'client_id','GVWpu':_0x385611(0x41f,_0x4a26c4._0x4c89d8,_0x4a26c4._0x7e48f,0x3f1)+'ri','pOmuE':_0x4ee9fa(_0x4a26c4._0x3af0f3,0x389,0x3be,0x35c),'nKANY':_0x385611(0x387,_0x4a26c4._0x62635b,0x348,0x3d1)},{providerName:_0x23eb41,providerConfig:_0x1dfdf7,callbackUrl:_0x1b3561,redirectAfter:_0x55beda}=_0x26e616,_0x710bbf=_0x2c51ef[_0x4ee9fa(_0x4a26c4._0x26fd65,0x33f,0x3e4,_0x4a26c4._0x1bff2f)+'s'](-0x1b7d+-0x1f6c+-0x1*-0x3af9)[_0x385611(0x3dc,_0x4a26c4._0x20a9aa,_0x4a26c4._0x16fee2,_0x4a26c4._0x53febd)](_0x2f0e04[_0x385611(_0x4a26c4._0x1495f2,_0x4a26c4._0x3399ce,_0x4a26c4._0x208f51,0x37c)]);await _0x2f0e04[_0x385611(_0x4a26c4._0x26aa96,0x3d9,_0x4a26c4._0x3bc3fa,0x382)](storeOAuthState,_0x710bbf,{'provider_name':_0x23eb41,'provider_type':_0x2f0e04[_0x4ee9fa(_0x4a26c4._0x6068d6,_0x4a26c4._0x3adb29,0x46b,_0x4a26c4._0x3748d6)],'redirect_after':_0x2f0e04[_0x385611(0x415,_0x4a26c4._0x5aa051,0x493,0x460)](_0x55beda,_0x2f0e04[_0x4ee9fa(0x3f0,_0x4a26c4._0x5f43a2,_0x4a26c4._0x3800bd,0x444)])},_0x29e43f);function _0x385611(_0x5e43d1,_0x51a03a,_0x1c769a,_0x43455f){return _0x2d6fc3(_0x5e43d1-_0x4e99c8._0x35a10e,_0x51a03a-_0x4e99c8._0x18cb21,_0x1c769a,_0x43455f-_0x4e99c8._0x228e24);}function _0x4ee9fa(_0x109995,_0x4098cb,_0x37c3ec,_0x46098f){return _0x2d6fc3(_0x109995-_0x4a6bfe._0x45f814,_0x4098cb-_0x4a6bfe._0x7b6383,_0x4098cb,_0x46098f-_0x4a6bfe._0x247d30);}const {authorize:_0x312823}=getGitHubOAuthUrls(_0x1dfdf7),_0x38b8af=new URL(_0x312823);return _0x38b8af[_0x4ee9fa(0x42c,0x465,_0x4a26c4._0x4d8f0f,0x423)+'ms'][_0x385611(0x328,0x3a0,0x3fc,0x3a2)](_0x2f0e04[_0x4ee9fa(_0x4a26c4._0x57f4b9,0x35d,0x419,0x3b6)],_0x1dfdf7['client_id']),_0x38b8af[_0x4ee9fa(_0x4a26c4._0x4c9bde,0x4a4,_0x4a26c4._0x20cc8b,_0x4a26c4._0x28f54e)+'ms'][_0x385611(0x381,_0x4a26c4._0xf9bcfb,_0x4a26c4._0x169b9a,0x3a2)](_0x2f0e04[_0x4ee9fa(0x3ed,_0x4a26c4._0x531342,0x43f,0x427)],_0x1b3561),_0x38b8af[_0x385611(0x3f1,_0x4a26c4._0x3aa586,0x3a2,0x431)+'ms'][_0x385611(0x3f6,_0x4a26c4._0x2c5d6b,_0x4a26c4._0x1deb0e,0x3a2)](_0x2f0e04[_0x385611(_0x4a26c4._0x38ca67,_0x4a26c4._0x687d9f,0x468,0x410)],_0x710bbf),_0x38b8af[_0x4ee9fa(0x458,_0x4a26c4._0xed35a1,0x47d,0x423)+'ms'][_0x4ee9fa(0x33c,_0x4a26c4._0x27848f,_0x4a26c4._0x17ca2c,_0x4a26c4._0x264e97)](_0x2f0e04[_0x4ee9fa(_0x4a26c4._0x1ac7d6,_0x4a26c4._0x31c8c4,_0x4a26c4._0x59c20a,0x39f)],GITHUB_SCOPES),{'oauthUrl':_0x38b8af[_0x385611(0x3de,_0x4a26c4._0x2c5f67,_0x4a26c4._0x2a531c,0x39b)](),'state':_0x710bbf};}export async function startOAuthFlow(_0xf228a0,_0x19b40c={}){const _0x14871a={_0x3ec68d:0x365,_0x5dbb95:0x3bd,_0x4be32b:0x32b,_0x38a8f6:0x1e7,_0x1b2fdb:0x18a,_0x60fa03:0x1a4,_0x53e231:0x353,_0xc0a8ec:0x361,_0x1bb21f:0x397,_0x134a92:0x2aa,_0x47d0f1:0x2e1,_0x123a0f:0x26a,_0x486aa2:0x424,_0x19eaa0:0x3bf,_0x14d5c4:0x3a4,_0x569965:0x3b2,_0x39b972:0x3b7,_0x25b446:0x3df,_0x1bbd42:0x3e9,_0x50f541:0x44c,_0x32f3b4:0x303,_0x52f5f8:0x35d,_0x1d55ad:0x3d5,_0x2d3d99:0x307,_0x1d9dec:0x298,_0xe87b3d:0x300,_0x8cc88d:0x329,_0x5f4d60:0x3a5,_0x1daa68:0x195,_0xa79f1a:0x17d,_0xf8a99b:0x403,_0x21b812:0x38f,_0x4717e2:0x325,_0x23734f:0x36a,_0x4f778a:0x398,_0x49714f:0x1b1,_0x237c32:0x188,_0x51c0f8:0x18f,_0x14f106:0x17c,_0xa3e944:0x1fd,_0x6e59de:0x34d,_0x1b3604:0x2e2,_0x54c604:0x3cc,_0x1422e9:0x20e,_0x1c29c:0x1be,_0x26b439:0x1b2,_0x5ce3e2:0x339,_0x5819c2:0x11c,_0x146868:0x148,_0x580bf7:0x20b,_0x3f3a98:0x1f9,_0x286a35:0x1da,_0x30c72b:0x1b8,_0x2a4027:0x181,_0x3912ee:0xef,_0x1e05f1:0xec,_0x6eed12:0x140,_0x53b7e2:0x1b5,_0x4540d4:0x368,_0x5cca98:0x2ae,_0x5abbef:0x131,_0x38bfe7:0x353,_0x1dcf4d:0x388,_0x20b2d7:0x416,_0x355985:0x320,_0x1017d8:0x294,_0x740a8a:0x305,_0x2f48fd:0x14c,_0x133de4:0x11e,_0x2bd8d1:0x368,_0x4a71f2:0x390,_0xa37fa2:0x335,_0x2644e0:0x2d6,_0x22fef7:0x252,_0x1e5d0d:0x2fb,_0x174aae:0x340,_0x3b52a7:0x2ed,_0x4f3897:0x36c,_0x430924:0x331,_0x42fff8:0x2e0,_0x29f3a6:0x32b,_0x33b0f2:0x311,_0xf24c6b:0x378,_0x3aa18c:0x140,_0x808e3f:0xce,_0x5da9bc:0x185,_0x14ac2b:0x1b4,_0x52e8d9:0x394,_0x3fd99a:0x413,_0x4ddb55:0x19c,_0x51c185:0x1d1,_0x59e1bc:0x10c,_0x724141:0x135,_0x3bed7a:0x2cf,_0x368658:0x1af,_0x1b806d:0x150,_0x49461d:0x366,_0x5964c8:0x29c,_0x208f79:0x305,_0x2c7f27:0x28f},_0xc1da40={_0x396034:0x30,_0x333491:0x138},_0x2296b6={'EXNOJ':_0x594bd0(_0x14871a._0x3ec68d,0x3bb,_0x14871a._0x5dbb95,_0x14871a._0x4be32b)+_0x470c4e(0x1c0,_0x14871a._0x38a8f6,_0x14871a._0x1b2fdb,_0x14871a._0x60fa03)+_0x594bd0(_0x14871a._0x53e231,_0x14871a._0xc0a8ec,0x316,_0x14871a._0x1bb21f)+_0x594bd0(0x2ea,0x369,0x2dd,0x3e1)+'mented','AHxbb':function(_0xf011f5,_0x1adda7){return _0xf011f5===_0x1adda7;},'eimCA':_0x594bd0(_0x14871a._0x134a92,_0x14871a._0x47d0f1,_0x14871a._0x123a0f,0x263)+_0x594bd0(_0x14871a._0x486aa2,_0x14871a._0x19eaa0,_0x14871a._0x14d5c4,0x42b)+_0x594bd0(0x460,0x3db,0x37b,_0x14871a._0x569965),'kxQmB':_0x594bd0(_0x14871a._0x39b972,_0x14871a._0x25b446,_0x14871a._0x1bbd42,_0x14871a._0x50f541)+_0x594bd0(_0x14871a._0x32f3b4,_0x14871a._0x52f5f8,_0x14871a._0x1d55ad,_0x14871a._0x2d3d99)+_0x594bd0(_0x14871a._0x1d9dec,_0x14871a._0x2d3d99,0x32b,0x323),'xrGTA':function(_0x1d3afa,_0x40c79f,_0x3b1d68){return _0x1d3afa(_0x40c79f,_0x3b1d68);},'vfLGV':function(_0x1aa703,_0xc28042){return _0x1aa703(_0xc28042);},'MCYlG':_0x594bd0(0x33f,0x319,_0x14871a._0xe87b3d,_0x14871a._0x8cc88d)+_0x594bd0(0x39f,_0x14871a._0x5f4d60,0x352,0x3a5),'vpLyU':'github','fOgYe':function(_0x4bba5c,_0x5a9777,_0x4c06f9){return _0x4bba5c(_0x5a9777,_0x4c06f9);},'heVKv':function(_0x5b15f9,_0x4e97a2){return _0x5b15f9===_0x4e97a2;}},_0x52c660=_0x19b40c[_0x470c4e(0x14b,_0x14871a._0x1daa68,0x163,_0x14871a._0xa79f1a)]||_0x174c2a,{providerName:_0x19b806,callbackUrl:_0x17732f,redirectAfter:_0x645fd4}=_0xf228a0;if(!_0x19b806){if(_0x2296b6[_0x594bd0(_0x14871a._0xf8a99b,0x388,_0x14871a._0x21b812,_0x14871a._0x4717e2)](_0x594bd0(_0x14871a._0x23734f,0x3be,_0x14871a._0x4f778a,_0x14871a._0x14d5c4),_0x470c4e(_0x14871a._0x49714f,0x231,_0x14871a._0x237c32,_0x14871a._0x51c0f8)))throw new _0x45ab43(_0x2296b6[_0x470c4e(_0x14871a._0x14f106,0x159,0x13e,_0x14871a._0xa3e944)]);else throw new Error(_0x2296b6[_0x470c4e(0x1ea,0x219,0x1b9,0x1fd)]);}if(!_0x17732f)throw new Error(_0x2296b6[_0x594bd0(0x340,_0x14871a._0x6e59de,_0x14871a._0x1b3604,_0x14871a._0x54c604)]);const _0x44a967=await _0x2296b6[_0x470c4e(_0x14871a._0x1422e9,_0x14871a._0x1c29c,_0x14871a._0x26b439,0x1bb)](getProviderConfig,_0x19b806,_0x19b40c);function _0x470c4e(_0x1b1614,_0x4844c2,_0x21f1ed,_0x34aa3c){return _0x2d6fc3(_0x1b1614-0x10e,_0x4844c2-0x193,_0x4844c2,_0x1b1614-0x1fd);}if(!_0x44a967)throw new Error('Provider\x20n'+_0x594bd0(0x2ff,_0x14871a._0x5ce3e2,0x2e9,0x325)+_0x19b806);if(!_0x2296b6[_0x470c4e(0x139,0x134,0xfd,_0x14871a._0x5819c2)](providerSupportsUserOAuth,_0x44a967))throw new Error(_0x470c4e(0x11d,_0x14871a._0x146868,0xdc,0x165)+_0x19b806+('\x20does\x20not\x20'+_0x470c4e(_0x14871a._0x580bf7,_0x14871a._0x3f3a98,0x270,0x1ab)+_0x470c4e(_0x14871a._0x286a35,0x1cf,0x1ad,0x1b3)));function _0x594bd0(_0x5cfc4c,_0x1e3118,_0xf6bf91,_0x46625c){return _0x1bddd3(_0x5cfc4c-_0xc1da40._0x396034,_0x1e3118-_0xc1da40._0x333491,_0xf6bf91,_0x1e3118- -0xe);}const _0x49c0ec={};_0x49c0ec[_0x470c4e(0x14c,0xd6,_0x14871a._0x30c72b,_0x14871a._0x2a4027)+'me']=_0x19b806,_0x49c0ec[_0x470c4e(0x15b,_0x14871a._0x3912ee,_0x14871a._0x1e05f1,0x115)+'pe']=_0x44a967[_0x470c4e(_0x14871a._0x6eed12,0x154,0xca,_0x14871a._0x53b7e2)],_0x52c660[_0x594bd0(_0x14871a._0x4540d4,0x2d7,_0x14871a._0x5cca98,0x2a6)](_0x2296b6[_0x470c4e(_0x14871a._0x5abbef,0xf1,0x15e,0x1b9)],_0x49c0ec);if(_0x2296b6[_0x594bd0(_0x14871a._0x38bfe7,_0x14871a._0x1dcf4d,_0x14871a._0x20b2d7,_0x14871a._0x355985)](_0x44a967[_0x594bd0(_0x14871a._0x1017d8,_0x14871a._0x740a8a,0x362,0x354)],_0x2296b6[_0x594bd0(0x3d0,0x3e3,0x3ef,0x37b)])){const _0x4da4f8={};return _0x4da4f8[_0x470c4e(_0x14871a._0x2f48fd,0xcd,0x1a3,_0x14871a._0x133de4)+'me']=_0x19b806,_0x4da4f8['providerCo'+_0x594bd0(_0x14871a._0x2bd8d1,_0x14871a._0x4540d4,_0x14871a._0x4a71f2,_0x14871a._0xa37fa2)]=_0x44a967,_0x4da4f8[_0x594bd0(0x288,_0x14871a._0x2644e0,_0x14871a._0x22fef7,_0x14871a._0x1e5d0d)+'l']=_0x17732f,_0x4da4f8[_0x594bd0(_0x14871a._0x174aae,_0x14871a._0x3b52a7,_0x14871a._0x4f3897,0x302)+_0x594bd0(_0x14871a._0x430924,_0x14871a._0x42fff8,_0x14871a._0x29f3a6,_0x14871a._0x33b0f2)]=_0x645fd4,_0x2296b6[_0x470c4e(0x144,0x16e,0x1b4,0x171)](startGitHubOAuth,_0x4da4f8,_0x19b40c);}if(_0x2296b6[_0x594bd0(0x2e8,_0x14871a._0xf24c6b,0x399,0x3b9)](_0x44a967[_0x470c4e(_0x14871a._0x3aa18c,_0x14871a._0x808e3f,_0x14871a._0x5da9bc,_0x14871a._0x14ac2b)],_0x594bd0(_0x14871a._0x52e8d9,0x39a,0x40d,_0x14871a._0x3fd99a)+'ps'))throw new Error('Azure\x20DevO'+'ps\x20user\x20OA'+_0x470c4e(_0x14871a._0x4ddb55,_0x14871a._0x14f106,_0x14871a._0x51c185,_0x14871a._0x59e1bc)+_0x470c4e(_0x14871a._0x60fa03,_0x14871a._0x724141,0x220,0x153)+'mented');throw new Error(_0x594bd0(_0x14871a._0x3bed7a,0x2dd,0x24f,0x326)+_0x470c4e(_0x14871a._0x368658,_0x14871a._0x1b806d,0x202,0x1f6)+_0x594bd0(0x341,0x32d,_0x14871a._0x49461d,_0x14871a._0x5964c8)+_0x44a967[_0x594bd0(0x275,_0x14871a._0x208f79,_0x14871a._0x2c7f27,0x288)]);}async function readSecretFile(_0x33a8e3,_0x5caa65){const _0x553120={_0x15b6c3:0x4d4,_0x13f401:0x423,_0x36efb1:0x505,_0x504afe:0x472,_0x3d3e18:0x526,_0x39174b:0x4f0,_0x13019a:0x453,_0xf66bd2:0x4d4,_0x19e23d:0x415,_0x295c1d:0x476},_0x5487e9={_0x27a8b1:0x76,_0x422c3a:0xed},_0x3977f0={_0x10660c:0xaf,_0x14cc86:0x10a},_0x2f7cf9={};function _0x27cee7(_0x653823,_0x4d6a21,_0x172278,_0x298923){return _0x1bddd3(_0x653823-_0x3977f0._0x10660c,_0x4d6a21-0x159,_0x653823,_0x172278-_0x3977f0._0x14cc86);}_0x2f7cf9[_0x1c38bb(_0x553120._0x15b6c3,0x43b,0x48b,0x453)]='utf-8';function _0x1c38bb(_0x5ef182,_0x17271d,_0x5a8b94,_0x5cbbd9){return _0x1bddd3(_0x5ef182-_0x5487e9._0x27a8b1,_0x17271d-0x4d,_0x5a8b94,_0x5cbbd9-_0x5487e9._0x422c3a);}const _0x571cc2=_0x2f7cf9,_0x3aae7d=_0x3c77ac[_0x1c38bb(0x460,_0x553120._0x13f401,_0x553120._0x36efb1,_0x553120._0x504afe)](_0x33a8e3,_0x5caa65);return(await _0x2b54ec[_0x27cee7(_0x553120._0x3d3e18,0x500,_0x553120._0x39174b,0x574)](_0x3aae7d,_0x571cc2[_0x1c38bb(0x44f,0x4c4,0x46f,_0x553120._0x13019a)]))[_0x1c38bb(_0x553120._0xf66bd2,0x4b6,_0x553120._0x19e23d,_0x553120._0x295c1d)]();}async function exchangeGitHubCode(_0x12f75d,_0x4d74ba={}){const _0x59de37={_0x5ee6b9:0x184,_0x149348:0x14c,_0x556a44:0x18d,_0x4a79da:0x156,_0x41c7b1:0xd2,_0x4210be:0xb3,_0x2eb89e:0x20d,_0x2b9826:0x9d,_0x2d1dc4:0x97,_0x3e22fb:0x19,_0x2abb21:0x139,_0x132416:0x67,_0xfe712a:0x169,_0x3fbaae:0x102,_0x100caf:0x18f,_0x3499d3:0x196,_0x4696a5:0x1cf,_0x9b4d3a:0x11b,_0x14eb03:0x11f,_0x920d85:0xd8,_0x187316:0x19e,_0x5e0f02:0x175,_0x315f8f:0x205,_0x2b863e:0x1c9,_0x3021ff:0x201,_0x4b20c4:0x28,_0x3c1b9b:0x9e,_0x241c01:0x61,_0x291fe3:0x125,_0x3cef79:0x1c2,_0x215c16:0x1c2,_0x163c3d:0x1f7,_0x5bc966:0x21b,_0x3f2ae1:0x1d8,_0x166daa:0x22c,_0x5c422f:0xa0,_0xe170e4:0x9a,_0x3c2198:0xd4,_0x339e92:0x99,_0x210496:0x33,_0x24d67:0x141,_0x1973a3:0xca,_0x50ea90:0xcf,_0x3c8c2b:0x29c,_0x3a6c50:0x18b,_0x2fccd4:0x109,_0x3d6884:0xe0,_0x152572:0x119,_0x5571de:0x23d,_0x4e22d4:0x171,_0x13a2c0:0x14f,_0x4600c7:0x1a2,_0x127599:0xbb,_0x380e3a:0x1ed,_0x39964a:0x133,_0x22ed00:0x1ae,_0x407350:0x12b,_0x73a17f:0x11e,_0x3506b7:0xa3,_0x439259:0xd9,_0x4455ba:0xfb,_0x1d6f9f:0x181,_0x42b8a1:0x11a,_0x468f01:0x172,_0x34ba61:0x209,_0x372d7b:0x258,_0x3635c2:0x1e4,_0x45e1a7:0x201,_0xba492c:0x4a,_0x58e1e2:0x1ca,_0x591fad:0x152,_0x5788f4:0xef,_0x231d2a:0x178,_0x3beaa4:0x144,_0x58db4b:0x147,_0x4f7bc7:0x137,_0xe51793:0x22e,_0x302912:0x23b,_0x10db1e:0x215,_0x24c886:0x1ec,_0x1e2348:0x17d,_0x2dc5a3:0xee,_0x408e61:0x1ae,_0xef32d2:0xf4,_0x2b7a23:0x1ad,_0x32beaa:0x8,_0x3c24e9:0x82,_0x2e702a:0x161,_0x873d91:0xfe,_0x1d3abc:0x165,_0x158a7c:0x193,_0x2a339e:0xa,_0x35d5f5:0x82,_0x4f095e:0x15a},_0x55d776={_0x554107:0x1cb,_0x37b80e:0x28},_0x26bcf0={_0x842efc:0xa3,_0x4c1866:0x477},_0xc4f30a={'cOqQo':'OAuth\x20stat'+_0x4a1094(-0x12c,-0xbf,-0x4c,-0x102)+_0x4a1094(-_0x59de37._0x5ee6b9,-_0x59de37._0x149348,-0x1a5,-0x1c1)+'ed','zqVxe':_0x4a1094(-_0x59de37._0x556a44,-0x1a4,-0x159,-0x113)+_0x4a1094(-0x121,-_0x59de37._0x4a79da,-0x15b,-0x13f)+_0x4a1094(-_0x59de37._0x41c7b1,-_0x59de37._0x4210be,-0xaf,-0x81),'TdHIZ':_0x237d4c(-0x1d8,-0x1ef,-0x249,-_0x59de37._0x2eb89e),'LyhPr':function(_0x3aadc0,_0x401b39){return _0x3aadc0!==_0x401b39;},'PXRtk':'EGJTc','DHXEa':function(_0x1395d2,_0x45e042){return _0x1395d2(_0x45e042);},'sgyJB':_0x4a1094(-_0x59de37._0x2b9826,-_0x59de37._0x2d1dc4,-0xcf,-_0x59de37._0x3e22fb),'KKYyB':_0x4a1094(-_0x59de37._0x2abb21,-0x12e,-0x15a,-0x111)+'n/json','tewWt':_0x4a1094(-_0x59de37._0x132416,-0x95,-0x5d,-0x34)+_0x4a1094(-_0x59de37._0xfe712a,-_0x59de37._0x3fbaae,-_0x59de37._0x100caf,-0x185)+_0x4a1094(-0x15b,-_0x59de37._0x3499d3,-_0x59de37._0x4696a5,-_0x59de37._0x9b4d3a),'yoDRg':_0x4a1094(-_0x59de37._0x14eb03,-_0x59de37._0x920d85,-0x82,-0x11c)+'th\x20error'},_0x530389=_0x4d74ba[_0x4a1094(-_0x59de37._0x187316,-0x159,-_0x59de37._0x5e0f02,-0x102)]||_0x174c2a,{code:_0x1fe684,providerName:_0xb33399,providerConfig:_0xa423d9}=_0x12f75d;function _0x4a1094(_0x137ff1,_0x3ae652,_0x37f1de,_0x4ae344){return _0x1bddd3(_0x137ff1-0x90,_0x3ae652-_0x26bcf0._0x842efc,_0x4ae344,_0x3ae652- -_0x26bcf0._0x4c1866);}let _0x1c2a2b;if(_0xa423d9[_0x237d4c(-_0x59de37._0x315f8f,-0x282,-_0x59de37._0x2b863e,-_0x59de37._0x3021ff)+_0x4a1094(-_0x59de37._0x4b20c4,-_0x59de37._0x3c1b9b,-0x12,-_0x59de37._0x241c01)]){const {getSecretsPath:_0x5675d9}=await import(_0xc4f30a['zqVxe']),_0x1ddedf=_0x5675d9();if(!_0x1ddedf){if(_0xc4f30a[_0x4a1094(-0xbc,-0xcd,-_0x59de37._0x291fe3,-0x8a)]===_0x237d4c(-0x1ab,-_0x59de37._0x3cef79,-_0x59de37._0x215c16,-_0x59de37._0x163c3d))throw new _0x4108fe(_0x237d4c(-_0x59de37._0x5bc966,-_0x59de37._0x3f2ae1,-_0x59de37._0x166daa,-0x22c)+_0x35627f+(_0x4a1094(-0x13c,-0xad,-_0x59de37._0x5c422f,-_0x59de37._0xe170e4)+_0x4a1094(-_0x59de37._0x3c2198,-_0x59de37._0x339e92,-0x11,-_0x59de37._0x210496)+_0x4a1094(-_0x59de37._0x24d67,-_0x59de37._0x1973a3,-_0x59de37._0x50ea90,-0x135)));else throw new Error('Secrets\x20pa'+_0x237d4c(-_0x59de37._0x3c8c2b,-_0x59de37._0x3a6c50,-0x1ed,-0x20f)+_0x4a1094(-_0x59de37._0x2fccd4,-_0x59de37._0x3d6884,-_0x59de37._0x152572,-0x102));}_0x1c2a2b=await readSecretFile(_0x1ddedf,_0xa423d9[_0x237d4c(-_0x59de37._0x5571de,-0x1dd,-0x1e6,-_0x59de37._0x3021ff)+_0x237d4c(-_0x59de37._0x4e22d4,-_0x59de37._0x13a2c0,-_0x59de37._0x4600c7,-0x143)]);}else{if(_0xc4f30a['LyhPr'](_0x4a1094(-0xa8,-_0x59de37._0x127599,-0x63,-0x53),_0xc4f30a[_0x237d4c(-0x1c6,-_0x59de37._0x380e3a,-0x284,-0x1f8)])){const _0x122e77={};return _0x122e77[_0x4a1094(-0x122,-_0x59de37._0x39964a,-_0x59de37._0x22ed00,-0x186)]=_0x31482d,_0x50bcc8[_0x4a1094(-0x16b,-_0x59de37._0x407350,-0x175,-0xd3)](_0xc4f30a[_0x4a1094(-0xfc,-_0x59de37._0x73a17f,-0x162,-0x91)],_0x122e77),null;}else throw new Error('No\x20client_'+'secret\x20con'+_0x4a1094(-0xd6,-0xd7,-0xeb,-_0x59de37._0x3d6884)+_0x4a1094(-0x47,-_0x59de37._0x3506b7,-0x5f,-_0x59de37._0x439259)+':\x20'+_0xb33399);}const {token:_0x205eaa}=_0xc4f30a[_0x237d4c(-_0x59de37._0x4455ba,-0x1b0,-0x102,-_0x59de37._0x1d6f9f)](getGitHubOAuthUrls,_0xa423d9),_0x3fb342={};_0x3fb342['client_id']=_0xa423d9[_0x4a1094(-0xe1,-0xf4,-_0x59de37._0x42b8a1,-_0x59de37._0x468f01)],_0x3fb342[_0x237d4c(-_0x59de37._0x34ba61,-_0x59de37._0x372d7b,-_0x59de37._0x3635c2,-_0x59de37._0x45e1a7)+_0x4a1094(-0xec,-0x9e,-_0x59de37._0xba492c,-_0x59de37._0x9b4d3a)]=_0x1c2a2b,_0x3fb342['code']=_0x1fe684;const _0x566b2b=await fetch(_0x205eaa,{'method':_0xc4f30a[_0x237d4c(-0x155,-0x1f3,-0x15b,-_0x59de37._0x58e1e2)],'headers':{'Accept':_0xc4f30a[_0x237d4c(-0xf2,-0x169,-_0x59de37._0x591fad,-0x161)],'Content-Type':_0xc4f30a[_0x4a1094(-0x91,-0xbc,-0xb8,-_0x59de37._0x5788f4)]},'body':JSON[_0x237d4c(-0x13a,-0x1d3,-_0x59de37._0x231d2a,-_0x59de37._0x3beaa4)](_0x3fb342)});if(!_0x566b2b['ok']){const _0x5b13fc=await _0x566b2b['text'](),_0x15a27c={};_0x15a27c[_0x4a1094(-0x1ce,-_0x59de37._0x58db4b,-0x179,-_0x59de37._0x4f7bc7)]=_0x566b2b[_0x237d4c(-_0x59de37._0xe51793,-_0x59de37._0x302912,-_0x59de37._0x10db1e,-_0x59de37._0x24c886)],_0x15a27c['response']=_0x5b13fc,_0x530389[_0x237d4c(-0x11a,-0x17d,-0x129,-0x1a3)](_0xc4f30a[_0x237d4c(-0x244,-_0x59de37._0x1e2348,-0x182,-0x1fc)],_0x15a27c);throw new Error('GitHub\x20tok'+'en\x20exchang'+'e\x20failed:\x20'+_0x566b2b[_0x4a1094(-0xbf,-0x147,-_0x59de37._0x2dc5a3,-_0x59de37._0x3beaa4)]);}function _0x237d4c(_0x3487c4,_0x5a1ef8,_0x3ee909,_0x32b1a0){return _0x2d6fc3(_0x3487c4-_0x55d776._0x554107,_0x5a1ef8-_0x55d776._0x37b80e,_0x5a1ef8,_0x32b1a0- -0x14c);}const _0x5cf851=await _0x566b2b['json']();if(_0x5cf851[_0x237d4c(-0x220,-0x22b,-0x125,-0x1a3)]){const _0x58cfd2={};_0x58cfd2['error']=_0x5cf851['error'],_0x58cfd2[_0x4a1094(-0x1b2,-0x19f,-0x1f0,-0x1dd)+'n']=_0x5cf851[_0x4a1094(-_0x59de37._0x408e61,-0x131,-_0x59de37._0xef32d2,-_0x59de37._0x2b7a23)+_0x4a1094(_0x59de37._0x32beaa,-_0x59de37._0x3c24e9,-0x87,-0x49)],_0x530389[_0x4a1094(-_0x59de37._0x2e702a,-_0x59de37._0x873d91,-0xd0,-_0x59de37._0x1d3abc)](_0xc4f30a['yoDRg'],_0x58cfd2);throw new Error(_0x5cf851[_0x237d4c(-0x171,-_0x59de37._0x158a7c,-_0x59de37._0x2e702a,-0x1d6)+_0x4a1094(-_0x59de37._0x2a339e,-_0x59de37._0x35d5f5,-0x1c,-0x52)]||_0x5cf851[_0x237d4c(-0x19d,-_0x59de37._0x4f095e,-0x114,-0x1a3)]);}return _0x5cf851;}async function getGitHubUserInfo(_0xe1b6bc,_0x3c5530={}){const _0x4793f6={_0x58e7a5:0x152,_0x38d17c:0x3d,_0x1afd63:0x116,_0x294408:0x114,_0xd9f135:0x14b,_0x34748e:0x35,_0x17e3aa:0x3c,_0x101847:0x12,_0x138677:0x11,_0x45bd0d:0x89,_0x1cc4c1:0x37,_0x25e4d0:0xb3,_0x2c1dab:0x14,_0xaaa95b:0x33,_0x26a455:0x3f,_0x4fe04f:0x95,_0x3aca35:0xc3,_0xfdbc8d:0xf2,_0x20c2f9:0xa8,_0x16b7f8:0x9a,_0x277d09:0x7d,_0x41e9d5:0xb7,_0x2c8e67:0x94,_0x2fbe01:0x92,_0x5f1182:0x23,_0x5947ac:0x3d,_0x9b3b5d:0x97,_0x32c59f:0x4c},_0x46c8cd={_0x5b0267:0x60,_0x1f20f6:0x82,_0x39d16d:0x2e4},_0x14950d={'ASVNw':function(_0x31cf3d,_0x25a808,_0x75f6a2){return _0x31cf3d(_0x25a808,_0x75f6a2);},'hCntl':function(_0x72276f,_0x753fc8){return _0x72276f(_0x753fc8);},'uYwbx':function(_0x163201,_0x16d5d7,_0x2f0090){return _0x163201(_0x16d5d7,_0x2f0090);},'EntKm':'2022-11-28','aTOVj':function(_0x380759,_0x288f79){return _0x380759===_0x288f79;},'KIHrK':_0x24e369(_0x4793f6._0x58e7a5,_0x4793f6._0x38d17c,_0x4793f6._0x1afd63,0xcc),'bmAqk':_0x1b9056(_0x4793f6._0x294408,0xd8,0x5c,_0x4793f6._0xd9f135)},{user:_0x4ccb49}=_0x14950d['hCntl'](getGitHubOAuthUrls,_0x3c5530);function _0x1b9056(_0xf5c6cf,_0x130748,_0x5915b0,_0x24ebb2){return _0x2d6fc3(_0xf5c6cf-0x184,_0x130748-0x183,_0x24ebb2,_0x130748-0xb9);}const _0x1abb0c=await _0x14950d[_0x1b9056(-_0x4793f6._0x34748e,_0x4793f6._0x17e3aa,_0x4793f6._0x101847,0x3f)](fetch,_0x4ccb49,{'headers':{'Authorization':_0x1b9056(_0x4793f6._0x138677,0x61,_0x4793f6._0x45bd0d,_0x4793f6._0x1cc4c1)+_0xe1b6bc,'Accept':_0x24e369(-0x14,_0x4793f6._0x25e4d0,-0xe,0x65)+_0x24e369(0x76,0x22,0x6a,_0x4793f6._0x2c1dab)+_0x24e369(-0x7d,-0xa0,-_0x4793f6._0xaaa95b,-_0x4793f6._0x101847),'X-GitHub-Api-Version':_0x14950d['EntKm']}});if(!_0x1abb0c['ok']){if(_0x14950d[_0x1b9056(_0x4793f6._0x26a455,_0x4793f6._0x4fe04f,_0x4793f6._0x3aca35,_0x4793f6._0xfdbc8d)](_0x14950d[_0x24e369(0x43,_0x4793f6._0x20c2f9,0xa1,0xb1)],_0x14950d[_0x1b9056(0xc1,_0x4793f6._0x16b7f8,0x45,0xb7)])){const _0x400aa4={};return _0x400aa4[_0x24e369(-0x3,-0x36,_0x4793f6._0x277d09,0x3b)+'me']=_0x1b043e,_0x400aa4[_0x24e369(_0x4793f6._0x41e9d5,_0x4793f6._0x2c8e67,0x7a,0xe7)+_0x24e369(0x117,0x23,0xd8,_0x4793f6._0x2fbe01)]=_0x25c48f,_0x400aa4[_0x24e369(-0x1,-0x66,-0x38,0x0)+'l']=_0xd648d,_0x400aa4['redirectAf'+'ter']=_0x4e5015,_0x14950d['ASVNw'](_0x2996a0,_0x400aa4,_0x30132d);}else throw new Error('Failed\x20to\x20'+_0x1b9056(0x25,_0x4793f6._0x5f1182,_0x4793f6._0x5947ac,0x18)+'\x20user\x20info'+':\x20'+_0x1abb0c[_0x24e369(_0x4793f6._0x9b3b5d,-0x24,0x43,_0x4793f6._0x32c59f)]);}function _0x24e369(_0x23b5ac,_0x2e4a9b,_0x2f17d7,_0x295f87){return _0x1bddd3(_0x23b5ac-_0x46c8cd._0x5b0267,_0x2e4a9b-_0x46c8cd._0x1f20f6,_0x2f17d7,_0x295f87- -_0x46c8cd._0x39d16d);}return _0x1abb0c['json']();}function calculateExpiry(_0x17790c){const _0x337236={_0x179b85:0x29d,_0x9f38d1:0x1c0,_0x521c0d:0x214,_0x27a85b:0x1a7,_0x24382e:0x21f},_0x35440f={_0x472444:0x11b,_0x286dde:0x239},_0x1bd847={_0x2dd36a:0x72,_0x55186d:0x13d,_0x383a1b:0x458};function _0x2f5f13(_0x2dc67c,_0x298d52,_0x22136d,_0x510cba){return _0x2d6fc3(_0x2dc67c-_0x1bd847._0x2dd36a,_0x298d52-_0x1bd847._0x55186d,_0x22136d,_0x2dc67c-_0x1bd847._0x383a1b);}function _0x2f288d(_0x5ab8e2,_0x11974f,_0x48eabd,_0x30bd97){return _0x2d6fc3(_0x5ab8e2-0xbc,_0x11974f-_0x35440f._0x472444,_0x48eabd,_0x11974f-_0x35440f._0x286dde);}if(!_0x17790c)return null;return new Date(Date[_0x2f288d(_0x337236._0x179b85,0x210,_0x337236._0x9f38d1,_0x337236._0x521c0d)]()+_0x17790c*(0x2144+0x1*0x1c7c+-0x39d8))[_0x2f288d(0x193,_0x337236._0x27a85b,_0x337236._0x24382e,0x221)+'g']();}export async function handleOAuthCallback(_0x53b4ec,_0x168c7e={}){const _0x84bcaf={_0x194bfc:0x12a,_0x1f1450:0x225,_0x3c6790:0x126,_0x2ce87c:0x323,_0x886be:0x212,_0x568e08:0x19f,_0x21afea:0x1a7,_0x2ffe18:0x2d8,_0x10ffac:0x312,_0x2a6971:0x3a2,_0x57f1e1:0x1a8,_0x4e53b0:0xbe,_0x4506dc:0x31f,_0x479cfb:0x33a,_0x1c5c10:0x219,_0x2dc905:0x299,_0x51bcc0:0x192,_0x4eab69:0x10f,_0x4efe5f:0xeb,_0x41794a:0x1c1,_0x5333c8:0x165,_0x3c0734:0x196,_0x18cb55:0x313,_0x4bb490:0x363,_0x45f5e3:0x3dc,_0x9be90a:0x2cc,_0x2c6df4:0x343,_0x10df28:0x2db,_0x1009e0:0x39a,_0x4138d7:0x270,_0x35e1c5:0x2d9,_0x2b1a39:0x26b,_0x3c0d2f:0x1fe,_0x54f94d:0x254,_0x669431:0x147,_0x32d0e3:0x1d6,_0x437b51:0x139,_0x87b3f8:0x1b0,_0x27af5e:0x12d,_0x36bfc4:0x1e9,_0x2ffd44:0x25e,_0x235d0b:0x206,_0x53a97f:0x1d7,_0x364dcd:0x21a,_0xf52b62:0x14b,_0xfd045e:0x33e,_0x583115:0x34f,_0x492b48:0x1ac,_0xf2b8e9:0x18b,_0x4d3344:0x214,_0x21ab2e:0x1ba,_0x562bbd:0x40d,_0x39090a:0x38d,_0x324e77:0x2de,_0x2f3af2:0x342,_0x268f87:0x35c,_0x1bc920:0x16e,_0x13b6bd:0xe4,_0x8c580:0x114,_0x1609ef:0x148,_0x540a79:0x1b0,_0x3b5051:0x168,_0x11cf74:0xfe,_0x2fb668:0x2f0,_0x47f2f3:0x323,_0x19e9db:0x1c7,_0x341f4e:0x1eb,_0x3e01b2:0x203,_0x4f8988:0x198,_0x208555:0x2f7,_0x2448ce:0x251,_0x4b0310:0x2fb,_0x37d2c8:0x30d,_0x496bd6:0x31d,_0x20a5bc:0x296,_0x522cdc:0x2d2,_0x589633:0x16b,_0x5e0202:0x40a,_0x52d538:0x379,_0x562a0e:0x36e,_0x3a2016:0x31b,_0x3776f7:0x218,_0x1651ba:0x3a2,_0x55beaa:0x32a,_0x363813:0x35d,_0x1158cc:0x35c,_0x4d19f2:0x1d2,_0x4c978b:0x1f1,_0x236f36:0x2ac,_0x120781:0x314,_0x42aa6f:0x268,_0x3e6c40:0x113,_0x57d608:0x111,_0x4d7c92:0xbf,_0x27c6da:0x2c7,_0x4fe9c5:0x281,_0xc060d2:0x3bf,_0x320cad:0x383,_0x459f1e:0x168,_0x1fb0ed:0x126,_0x66fc9:0x162,_0x355fd3:0x115,_0x1b4b96:0x1ce,_0x28d498:0x416,_0x51524b:0x10e,_0x16e721:0x101,_0x11d152:0x8b,_0x24d4e8:0x181,_0x40c10b:0x153,_0x1e1887:0x1a2,_0x34a28f:0x104,_0x584df1:0x2c5,_0x439e07:0x2c8,_0xbdc643:0x16b,_0xad47f8:0xc5,_0x52c6c4:0x291,_0x4f147e:0x25e,_0x27452e:0x248,_0x1dd484:0x190,_0x277d4f:0x252,_0x164905:0x264,_0x588d79:0x1ab,_0x341a68:0x1e4,_0x2a6acf:0x1ec,_0x158020:0x164,_0x4cfdad:0xdd},_0x5982c6={_0x39e66d:0x5c},_0x2766cf={_0x124eef:0x100,_0x3dda90:0x1d7},_0x4c8d98={'VPTIS':_0x404f62(0x19b,_0x84bcaf._0x194bfc,_0x84bcaf._0x1f1450,_0x84bcaf._0x3c6790)+_0x20b9ae(0x334,0x346,_0x84bcaf._0x2ce87c,0x2f1)+_0x404f62(0x1ef,_0x84bcaf._0x886be,_0x84bcaf._0x568e08,_0x84bcaf._0x21afea),'jVjzS':_0x20b9ae(_0x84bcaf._0x2ffe18,0x36a,_0x84bcaf._0x10ffac,_0x84bcaf._0x2a6971),'gFhwc':_0x404f62(0x126,_0x84bcaf._0x57f1e1,0x16b,_0x84bcaf._0x4e53b0),'pLaMJ':_0x20b9ae(_0x84bcaf._0x4506dc,0x2ab,_0x84bcaf._0x479cfb,0x338)+_0x404f62(_0x84bcaf._0x1c5c10,0x1c6,_0x84bcaf._0x2dc905,0x24d),'Fozne':function(_0x448a98,_0x3adca0,_0xaa35f){return _0x448a98(_0x3adca0,_0xaa35f);},'Oyzum':_0x404f62(_0x84bcaf._0x57f1e1,0x156,0x150,_0x84bcaf._0x51bcc0)+'\x20expired\x20O'+_0x404f62(0x18d,_0x84bcaf._0x4eab69,0x15b,0x1e0),'ZYlHA':_0x404f62(0xff,0xa6,0x150,_0x84bcaf._0x4efe5f)+'\x20OAuth\x20cal'+_0x404f62(_0x84bcaf._0x41794a,0x1ce,0x1eb,0x163),'XCWXx':function(_0x46814b,_0x7dd129,_0x5458f6){return _0x46814b(_0x7dd129,_0x5458f6);},'BxKgo':function(_0x5b7a37,_0x544f54){return _0x5b7a37===_0x544f54;},'BHNky':_0x404f62(_0x84bcaf._0x5333c8,0x12b,0x137,_0x84bcaf._0x3c0734),'EIqua':'GitHub\x20OAu'+'th\x20complet'+'ed\x20success'+_0x20b9ae(_0x84bcaf._0x18cb55,_0x84bcaf._0x4bb490,0x3df,_0x84bcaf._0x45f5e3),'eDADj':_0x20b9ae(_0x84bcaf._0x9be90a,_0x84bcaf._0x2c6df4,_0x84bcaf._0x10df28,_0x84bcaf._0x1009e0)+_0x20b9ae(_0x84bcaf._0x4138d7,0x2b7,_0x84bcaf._0x35e1c5,_0x84bcaf._0x2b1a39),'uVIkZ':_0x20b9ae(0x3b7,0x330,0x357,0x37d),'Gdeuf':_0x404f62(_0x84bcaf._0x3c0d2f,0x281,0x17e,_0x84bcaf._0x54f94d),'kFKZh':function(_0xc34673,_0x38174e){return _0xc34673+_0x38174e;}},_0x175ecb=_0x168c7e[_0x404f62(_0x84bcaf._0x669431,_0x84bcaf._0x32d0e3,0x112,_0x84bcaf._0x437b51)]||_0x174c2a,{code:_0x16a1ac,state:_0x2f5dfe,userId:_0x29786a}=_0x53b4ec;if(!_0x16a1ac)throw new Error(_0x4c8d98[_0x404f62(0x153,_0x84bcaf._0x87b3f8,0xf7,_0x84bcaf._0x27af5e)]);if(!_0x2f5dfe)throw new Error(_0x404f62(_0x84bcaf._0x36bfc4,_0x84bcaf._0x2ffd44,0x220,0x15a)+_0x404f62(0x1f7,_0x84bcaf._0x235d0b,0x218,0x1ea)+_0x404f62(_0x84bcaf._0x53a97f,_0x84bcaf._0x364dcd,_0x84bcaf._0xf52b62,0x1e2));if(!_0x29786a){if(_0x4c8d98['jVjzS']===_0x4c8d98[_0x20b9ae(_0x84bcaf._0xfd045e,0x310,0x337,_0x84bcaf._0x583115)])return!!(_0x280c08[_0x404f62(_0x84bcaf._0x492b48,_0x84bcaf._0xf2b8e9,_0x84bcaf._0x4d3344,_0x84bcaf._0x21ab2e)]&&_0x462ccc[_0x20b9ae(0x360,0x2cf,0x251,0x253)+_0x20b9ae(_0x84bcaf._0x562bbd,_0x84bcaf._0x39090a,0x316,0x343)]);else throw new Error(_0x4c8d98['pLaMJ']);}const _0x5380c9=await _0x4c8d98[_0x20b9ae(_0x84bcaf._0x324e77,0x35d,_0x84bcaf._0x2f3af2,_0x84bcaf._0x268f87)](consumeOAuthState,_0x2f5dfe,_0x168c7e);if(!_0x5380c9)throw new Error(_0x4c8d98[_0x404f62(_0x84bcaf._0x1bc920,0x16a,_0x84bcaf._0x13b6bd,_0x84bcaf._0x8c580)]);const {provider_name:_0x8d2f1f,provider_type:_0x7a4cc6,redirect_after:_0xf1ec8b}=_0x5380c9,_0x55f98c={};_0x55f98c[_0x404f62(_0x84bcaf._0x1609ef,0x101,_0x84bcaf._0x540a79,0x122)+'me']=_0x8d2f1f,_0x55f98c['providerTy'+'pe']=_0x7a4cc6;function _0x404f62(_0x39d51c,_0x4d8bff,_0x2b698f,_0x57a9e6){return _0x1bddd3(_0x39d51c-_0x2766cf._0x124eef,_0x4d8bff-0x8c,_0x57a9e6,_0x39d51c- -_0x2766cf._0x3dda90);}_0x55f98c[_0x404f62(_0x84bcaf._0x3b5051,0x1c7,_0x84bcaf._0x11cf74,0x158)]=_0x29786a,_0x175ecb[_0x20b9ae(_0x84bcaf._0x2fb668,_0x84bcaf._0x2dc905,0x260,_0x84bcaf._0x47f2f3)](_0x4c8d98['ZYlHA'],_0x55f98c);const _0x4e8050=await _0x4c8d98[_0x404f62(_0x84bcaf._0x19e9db,_0x84bcaf._0x341f4e,_0x84bcaf._0x3e01b2,_0x84bcaf._0x4f8988)](getProviderConfig,_0x8d2f1f,_0x168c7e);function _0x20b9ae(_0x52ed25,_0x17d6d3,_0x1cc040,_0x54b712){return _0x1bddd3(_0x52ed25-_0x5982c6._0x39e66d,_0x17d6d3-0xef,_0x1cc040,_0x17d6d3- -0x4c);}if(!_0x4e8050)throw new Error(_0x20b9ae(_0x84bcaf._0x208555,0x2a3,0x2f6,_0x84bcaf._0x2448ce)+_0x20b9ae(0x309,_0x84bcaf._0x4b0310,0x34f,_0x84bcaf._0x37d2c8)+_0x8d2f1f);if(_0x4c8d98[_0x20b9ae(_0x84bcaf._0x496bd6,_0x84bcaf._0x20a5bc,_0x84bcaf._0x9be90a,_0x84bcaf._0x522cdc)](_0x7a4cc6,_0x4c8d98[_0x404f62(0x12e,_0x84bcaf._0x589633,0x175,0x14d)])){const _0x2f8d39={};_0x2f8d39[_0x20b9ae(_0x84bcaf._0x5e0202,_0x84bcaf._0x52d538,_0x84bcaf._0x562a0e,0x3d3)]=_0x16a1ac,_0x2f8d39[_0x20b9ae(0x240,0x2d3,0x32a,_0x84bcaf._0x3a2016)+'me']=_0x8d2f1f,_0x2f8d39[_0x404f62(0x1f4,0x222,_0x84bcaf._0x3776f7,0x23c)+_0x20b9ae(_0x84bcaf._0x1651ba,_0x84bcaf._0x55beaa,0x2dd,0x3b1)]=_0x4e8050;const _0x4dbefb=await _0x4c8d98[_0x20b9ae(0x2d9,_0x84bcaf._0x363813,0x324,_0x84bcaf._0x1158cc)](exchangeGitHubCode,_0x2f8d39,_0x168c7e),_0x193034=await _0x4c8d98[_0x404f62(_0x84bcaf._0x4d19f2,_0x84bcaf._0x19e9db,0x174,_0x84bcaf._0x4c978b)](getGitHubUserInfo,_0x4dbefb['access_tok'+'en'],_0x4e8050);await storeUserGitToken(_0x29786a,_0x8d2f1f,{'access_token':_0x4dbefb['access_tok'+'en'],'refresh_token':_0x4dbefb[_0x20b9ae(_0x84bcaf._0x236f36,0x2f1,_0x84bcaf._0x120781,_0x84bcaf._0x42aa6f)+_0x404f62(_0x84bcaf._0x3e6c40,_0x84bcaf._0x57d608,0xcf,_0x84bcaf._0x4d7c92)],'expires_at':calculateExpiry(_0x4dbefb[_0x20b9ae(_0x84bcaf._0x27c6da,0x2e3,_0x84bcaf._0x4fe9c5,0x2d2)]),'github_login':_0x193034[_0x20b9ae(_0x84bcaf._0xc060d2,_0x84bcaf._0x320cad,0x3ed,_0x84bcaf._0x363813)],'github_user_id':_0x193034['id']},_0x168c7e);const _0x576a34={};_0x576a34[_0x404f62(_0x84bcaf._0x459f1e,0x1be,_0x84bcaf._0x1fb0ed,0x1cf)]=_0x29786a,_0x576a34[_0x404f62(0x148,_0x84bcaf._0x66fc9,_0x84bcaf._0x355fd3,_0x84bcaf._0x1b4b96)+'me']=_0x8d2f1f,_0x576a34['githubLogi'+'n']=_0x193034[_0x20b9ae(_0x84bcaf._0x28d498,0x383,0x405,0x34b)],_0x175ecb[_0x404f62(_0x84bcaf._0x51524b,0x129,_0x84bcaf._0x16e721,_0x84bcaf._0x11d152)](_0x4c8d98[_0x404f62(_0x84bcaf._0x24d4e8,_0x84bcaf._0x40c10b,0x115,_0x84bcaf._0x1e1887)],_0x576a34);const _0x1b3fbe=new URL(_0xf1ec8b,_0x4c8d98[_0x404f62(_0x84bcaf._0x34a28f,0x8e,0x112,0x80)]);return _0x1b3fbe[_0x20b9ae(_0x84bcaf._0x584df1,0x355,0x3e7,_0x84bcaf._0x439e07)+'ms'][_0x404f62(0x13b,_0x84bcaf._0xbdc643,_0x84bcaf._0xad47f8,0xf2)](_0x404f62(0x141,_0x84bcaf._0x459f1e,0xf6,0x160)+_0x20b9ae(0x270,_0x84bcaf._0x52c6c4,0x2c6,_0x84bcaf._0x4f147e),_0x4c8d98['uVIkZ']),_0x1b3fbe['searchPara'+'ms'][_0x20b9ae(_0x84bcaf._0x27452e,0x2c6,0x2bb,0x2df)](_0x4c8d98['Gdeuf'],_0x8d2f1f),{'success':!![],'redirectUrl':_0x4c8d98[_0x404f62(0x137,0xf8,0x16f,0x150)](_0x1b3fbe[_0x404f62(_0x84bcaf._0x1dd484,0x121,0x16e,0x21b)],_0x1b3fbe['search']),'providerName':_0x8d2f1f};}throw new Error(_0x20b9ae(_0x84bcaf._0x277d4f,0x29f,0x2fb,_0x84bcaf._0x164905)+_0x404f62(_0x84bcaf._0x588d79,_0x84bcaf._0x341a68,_0x84bcaf._0x2a6acf,0x16b)+_0x404f62(_0x84bcaf._0x158020,_0x84bcaf._0x4cfdad,0xd8,0x174)+_0x7a4cc6);}async function refreshGitHubToken(_0x4ea5a5,_0x20d660={}){const _0x590384={_0x1d6166:0x273,_0x554340:0xfc,_0x2d320f:0xd4,_0x2e2c8d:0x152,_0x15e97a:0x2a4,_0x268b50:0x287,_0x414065:0x175,_0x5ad2e0:0x197,_0x1e17ec:0x111,_0x2e9320:0x51,_0x3b7b13:0x93,_0x3127dc:0x6e,_0x30a319:0x10a,_0x1d4821:0x98,_0x5a1858:0x285,_0x2f020d:0x2ef,_0x20deb5:0x380,_0x11aa2b:0x2dd,_0x5a6ccb:0x2db,_0x1d5f79:0x2d2,_0x10222c:0x1e8,_0x4a62e6:0x130,_0x5a9fbf:0x195,_0x59589a:0x2af,_0x1a11cc:0x3c2,_0xc82fe5:0x3a2,_0xba9422:0xbe,_0x360101:0xa6,_0x5d4130:0x301,_0x477b8:0x2e9,_0x596eaf:0x356,_0x1c726a:0x341,_0x556cfa:0x16d,_0x59d667:0x11c,_0x1ff65a:0xf0,_0x3dba71:0xae,_0x1e9147:0x322,_0x1a041a:0x386,_0x39f580:0x85,_0x1ddbc6:0x3d,_0x499324:0x346,_0x344294:0xf5,_0x1938e6:0x14b,_0x110489:0x392,_0x521938:0x1a0,_0x2f7b39:0xbe,_0x2fc467:0x131,_0x29ac72:0xca,_0x5cc7db:0x9b,_0x174151:0x25,_0x318d1d:0x344,_0x26367a:0x2b6,_0x1366e6:0x2b5,_0x2bb3ba:0xfe,_0x3f4a2b:0x143,_0x391f26:0x12f,_0x58b96e:0x2cf,_0x53c26c:0x284,_0x175731:0x2fe,_0x1e4384:0x399,_0x5dd713:0x411,_0x34118d:0x3ce,_0x47c286:0xc1,_0x5766a0:0x1e,_0x245d61:0x45,_0x129da6:0x91,_0x11ec19:0x7f,_0x17848b:0x8b,_0x34ea83:0x54,_0x42757b:0x378,_0x2873c6:0x321,_0x431ac6:0x338,_0x18e9a1:0x2de,_0x3bc1c9:0x22d,_0x2aa2f6:0x74,_0x3e6a14:0xfa,_0x42762b:0x24a,_0x273569:0x291,_0x1ddc65:0x321,_0x5e3093:0x184,_0x54c845:0x12d,_0x33341e:0xd9,_0x3999c8:0x92,_0x3cd98d:0xe7,_0x1e1079:0x322,_0x10e65a:0x2c8,_0x22676e:0x381,_0x398032:0x332},_0x1f2e34={_0x357d80:0x55,_0x42deca:0x1bb},_0x4a619a={'tXVYh':function(_0x926a9c,_0x446e5d){return _0x926a9c(_0x446e5d);},'xNQwW':_0x85f558(_0x590384._0x1d6166,0x28c,0x284,0x206)+_0x5667ab(-_0x590384._0x554340,-_0x590384._0x2d320f,-_0x590384._0x2e2c8d,-0x1d6)+'ce.js','tDiNb':function(_0x58cdf6){return _0x58cdf6();},'nOMEf':function(_0x402a75,_0x58f0ee){return _0x402a75===_0x58f0ee;},'NZKJM':_0x85f558(_0x590384._0x15e97a,0x2e6,0x301,_0x590384._0x268b50),'pMLuS':_0x5667ab(-0x1c8,-_0x590384._0x414065,-_0x590384._0x5ad2e0,-0x12f)+'th\x20not\x20con'+'figured','TZfyZ':function(_0x143879,_0x4f1b7b,_0x1a6a14){return _0x143879(_0x4f1b7b,_0x1a6a14);},'HifiD':_0x5667ab(-_0x590384._0x1e17ec,-_0x590384._0x2e9320,-_0x590384._0x3b7b13,-_0x590384._0x3127dc),'uoZfP':_0x5667ab(-_0x590384._0x30a319,-_0x590384._0x1d4821,-0x12a,-0x127)+_0x85f558(_0x590384._0x5a1858,_0x590384._0x2f020d,0x31e,_0x590384._0x20deb5),'pYqwJ':_0x85f558(_0x590384._0x11aa2b,0x2f6,0x2d4,_0x590384._0x5a6ccb)+_0x85f558(_0x590384._0x1d5f79,0x2a3,0x2fe,0x262),'yzpcG':'GitHub\x20tok'+'en\x20refresh'+_0x5667ab(-_0x590384._0x10222c,-_0x590384._0x4a62e6,-_0x590384._0x5a9fbf,-0x135)},_0x284901=_0x20d660['logger']||_0x174c2a,{refreshToken:_0x1c9ad7,providerName:_0x3db406,providerConfig:_0x1c7104}=_0x4ea5a5,{getSecretsPath:_0x5e1d81}=await import(_0x4a619a[_0x5667ab(-0x160,-0x58,-0xe2,-0x140)]),_0x273678=_0x4a619a[_0x85f558(_0x590384._0x59589a,0x31c,0x2df,0x2c6)](_0x5e1d81);if(!_0x273678){if(_0x4a619a['nOMEf'](_0x4a619a[_0x85f558(_0x590384._0x1a11cc,0x36e,_0x590384._0xc82fe5,0x3bb)],_0x5667ab(-0xe3,-_0x590384._0xba9422,-0x103,-_0x590384._0x360101))){if(_0x4a619a[_0x85f558(0x337,0x349,_0x590384._0x5d4130,_0x590384._0x477b8)](_0x4bd91c,_0xfd0959)){const _0x39aa07={};_0x39aa07['name']=_0xd8f703,_0x39aa07['type']=_0x2ee197[_0x85f558(_0x590384._0x596eaf,0x2cc,_0x590384._0x1c726a,0x303)],_0x39aa07[_0x5667ab(-_0x590384._0x556cfa,-_0x590384._0x59d667,-_0x590384._0x1ff65a,-0x133)]=_0x366eda[_0x5667ab(-0x15a,-_0x590384._0x3dba71,-_0x590384._0x1ff65a,-0xf1)],_0x1e2f3f[_0x85f558(0x309,_0x590384._0x1e9147,0x2a3,_0x590384._0x1a041a)](_0x39aa07);}}else throw new Error(_0x4a619a[_0x5667ab(-0x2a,-0x9,-_0x590384._0x39f580,-_0x590384._0x1ddbc6)]);}const _0x589aaa=await _0x4a619a[_0x85f558(0x280,0x2e5,0x271,_0x590384._0x499324)](readSecretFile,_0x273678,_0x1c7104[_0x5667ab(-_0x590384._0x344294,-_0x590384._0x1938e6,-0x158,-0x19b)+_0x85f558(0x367,_0x590384._0x110489,0x396,0x418)]),{token:_0x35a522}=getGitHubOAuthUrls(_0x1c7104),_0x427693=await _0x4a619a['TZfyZ'](fetch,_0x35a522,{'method':_0x4a619a['HifiD'],'headers':{'Accept':_0x4a619a['uoZfP'],'Content-Type':_0x4a619a[_0x5667ab(-_0x590384._0x521938,-_0x590384._0x2f7b39,-_0x590384._0x2fc467,-_0x590384._0x29ac72)]},'body':JSON[_0x5667ab(-0x10,-0x110,-_0x590384._0x5cc7db,-_0x590384._0x174151)]({'client_id':_0x1c7104[_0x85f558(_0x590384._0x318d1d,0x33c,0x2fb,0x2c9)],'client_secret':_0x589aaa,'grant_type':_0x4a619a[_0x85f558(0x384,0x31e,0x2bd,0x396)],'refresh_token':_0x1c9ad7})});function _0x5667ab(_0x9e43c,_0x2f40a7,_0x1bc779,_0x463b99){return _0x2d6fc3(_0x9e43c-0x1a0,_0x2f40a7-0xac,_0x463b99,_0x1bc779- -0xa3);}function _0x85f558(_0x5a5e72,_0x3463fa,_0x38bf32,_0x2dfa36){return _0x2d6fc3(_0x5a5e72-_0x1f2e34._0x357d80,_0x3463fa-_0x1f2e34._0x42deca,_0x38bf32,_0x3463fa-0x389);}if(!_0x427693['ok']){const _0x2a5df2=await _0x427693[_0x85f558(_0x590384._0x26367a,_0x590384._0x1366e6,0x316,0x343)](),_0x15f435={};_0x15f435[_0x5667ab(-0xe4,-_0x590384._0x2bb3ba,-_0x590384._0x3f4a2b,-_0x590384._0x391f26)]=_0x427693[_0x85f558(_0x590384._0x58b96e,0x2e9,_0x590384._0x53c26c,_0x590384._0x175731)],_0x15f435[_0x85f558(_0x590384._0x1e4384,0x398,_0x590384._0x5dd713,_0x590384._0x34118d)]=_0x2a5df2,_0x284901[_0x5667ab(-0xd3,-_0x590384._0x47c286,-0xfa,-0x14d)](_0x5667ab(-_0x590384._0x5766a0,-_0x590384._0x245d61,-_0x590384._0x129da6,-0xa9)+_0x5667ab(-0xaf,-_0x590384._0x11ec19,-0x10b,-0x126)+_0x5667ab(-_0x590384._0x17848b,-0x13c,-0xd0,-0x69),_0x15f435);throw new Error(_0x5667ab(-0x4a,-0x13,-0x91,-_0x590384._0x34ea83)+_0x85f558(_0x590384._0x42757b,_0x590384._0x2873c6,_0x590384._0x431ac6,0x3a4)+'\x20failed:\x20'+_0x427693['status']);}const _0x4dc1d5=await _0x427693[_0x85f558(_0x590384._0x18e9a1,0x2b2,0x29e,_0x590384._0x3bc1c9)]();if(_0x4dc1d5['error']){const _0x4d1cb9={};_0x4d1cb9[_0x5667ab(-0x16d,-_0x590384._0x2aa2f6,-_0x590384._0x3e6a14,-0xb6)]=_0x4dc1d5[_0x85f558(0x33a,0x332,0x2eb,0x30c)],_0x4d1cb9[_0x85f558(_0x590384._0x42762b,_0x590384._0x273569,_0x590384._0x1ddc65,0x315)+'n']=_0x4dc1d5[_0x5667ab(-0x1af,-_0x590384._0x5e3093,-_0x590384._0x54c845,-_0x590384._0x33341e)+_0x5667ab(-_0x590384._0x3999c8,-0x86,-0x7e,-_0x590384._0x3cd98d)],_0x284901[_0x85f558(0x332,0x332,_0x590384._0x1e1079,_0x590384._0x10e65a)](_0x4a619a['yzpcG'],_0x4d1cb9);throw new Error(_0x4dc1d5['error_desc'+_0x85f558(_0x590384._0x22676e,0x3ae,0x365,0x356)]||_0x4dc1d5[_0x85f558(0x34f,_0x590384._0x398032,0x35d,0x36b)]);}return _0x4dc1d5;}export async function refreshUserToken(_0x27e82f,_0x6c76a9,_0x1f4546={}){const _0x40301a={_0x4bd962:0x109,_0x502966:0x1a7,_0x522ab9:0x1f6,_0xb89f14:0x18d,_0x4a791a:0x1f9,_0x24b06e:0x11d,_0x4841ca:0x130,_0xb97bdb:0x1c7,_0x234615:0x1e9,_0x8d1aa5:0x1a9,_0x180b6e:0x19f,_0x5a7e1d:0x1af,_0x1dcd3e:0x231,_0x391a55:0x158,_0x569bf9:0x161,_0x47f82e:0x1eb,_0x264ce3:0x178,_0x18a4be:0x1a8,_0x2fb283:0x1aa,_0x3a79dc:0x1bf,_0x392ef1:0x170,_0x42f09f:0x150,_0x108868:0x1cf,_0x155755:0x1ba,_0x1d1034:0x223,_0x48c806:0x1e0,_0x2cf2f2:0x21a,_0x31dd39:0x1ce,_0x3581b8:0x143,_0x5e1060:0xe7,_0x27c2a0:0x169,_0x1afd10:0x1fa,_0x5b7af1:0x23d,_0x3a3aa7:0x1b1,_0x4df359:0x220,_0x117164:0x204,_0x4898be:0x1a1,_0x3ef30c:0x124,_0x376eed:0x1a5,_0x33c20e:0xa9,_0x29c630:0x109,_0x2b4c92:0x11b,_0x280bcc:0x12b,_0x8b05ab:0x9e,_0x4bcb3c:0x13a,_0x36341d:0x1da,_0x1f8e10:0x144,_0x298a01:0x1d5,_0x15a019:0xf1,_0x272ec9:0x13e,_0x2ce554:0x1fb,_0x28e2f4:0x143,_0x53db83:0xd0,_0x3b7d9d:0xcc,_0x479dfd:0x172,_0x1c8b5c:0x18c,_0x23fb48:0x1d4,_0x59d26a:0x1c5,_0x9792d1:0x1b5,_0x240cdf:0x1b4,_0x16ffd6:0x15b,_0x5d4485:0x100,_0x31409f:0x207,_0x10ff82:0x229,_0x2c26ac:0x194,_0x54a976:0x161,_0x29af6a:0x11d,_0x3a9762:0x10c,_0x3628b8:0x15f,_0x400ba2:0x122,_0x488c39:0x24e,_0x18f616:0x1be,_0x265aaf:0x17b,_0xc50f9:0x146,_0x30f917:0x16d,_0x4fdc1f:0x183,_0x5b8cdf:0x121,_0xbac760:0xd1,_0x43603c:0x246,_0xfd254:0x1c5,_0xfa4593:0xd3,_0x1aaae5:0x14d,_0x4e3a91:0x13b,_0x1b4fdb:0x167,_0x2fd072:0x169,_0x4be6e9:0x22c,_0xf8ae4f:0x1ac,_0x57eef0:0x16c,_0x22d83a:0x14f},_0xea0de3={_0x2b4a36:0x14d,_0x5466d5:0x1c4},_0x478c90={_0x5ab5eb:0x12a},_0x583bb2={'mKHnS':function(_0x334a94,_0x14731d){return _0x334a94||_0x14731d;},'gZkPH':_0x1a2f4b(-_0x40301a._0x4bd962,-0xfa,-0x166,-0x166)+_0x1a2f4b(-_0x40301a._0x502966,-_0x40301a._0x522ab9,-0xed,-0x16b)+_0x1a2f4b(-_0x40301a._0xb89f14,-0x204,-0x232,-_0x40301a._0x4a791a)+_0x1a2f4b(-_0x40301a._0x24b06e,-0x1c9,-_0x40301a._0x4841ca,-0x153),'KYLvV':function(_0x220032,_0xec54a4){return _0x220032===_0xec54a4;},'kUOUy':'ATeng','FKcST':_0x4bee15(_0x40301a._0xb97bdb,0x167,0x155,0x16b)+_0x1a2f4b(-0x21d,-_0x40301a._0x234615,-_0x40301a._0x8d1aa5,-0x1f3)+_0x4bee15(0x16d,0x123,_0x40301a._0x180b6e,0x16f)+_0x4bee15(_0x40301a._0x5a7e1d,_0x40301a._0x1dcd3e,0x1c8,0x16e)+_0x4bee15(_0x40301a._0x391a55,0x130,_0x40301a._0x569bf9,_0x40301a._0x47f82e)+'ired','mwsqi':function(_0x3c78fe,_0x36bde1,_0x5bebd7){return _0x3c78fe(_0x36bde1,_0x5bebd7);},'mtMPK':'Refreshing'+'\x20OAuth\x20tok'+'en','yJKxy':_0x4bee15(_0x40301a._0x264ce3,0x101,0x197,0x152),'PalBG':function(_0x2d49ec,_0x41bbbb,_0xfca005,_0x3dea76,_0x300cd4){return _0x2d49ec(_0x41bbbb,_0xfca005,_0x3dea76,_0x300cd4);},'PNvzw':'Token\x20refr'+_0x4bee15(_0x40301a._0x18a4be,_0x40301a._0x2fb283,0x19a,0x117)+_0x1a2f4b(-_0x40301a._0x3a79dc,-0x1c8,-0x1ed,-_0x40301a._0x392ef1),'KOzTe':function(_0x4d5b07,_0x4923c9){return _0x4d5b07(_0x4923c9);}},_0x1ee18f=_0x1f4546[_0x1a2f4b(-0x177,-0x182,-_0x40301a._0x42f09f,-_0x40301a._0x108868)]||_0x174c2a;if(_0x583bb2[_0x4bee15(_0x40301a._0x155755,0x202,0x1a5,_0x40301a._0x1d1034)](!_0x27e82f,!_0x6c76a9))throw new Error(_0x583bb2[_0x4bee15(_0x40301a._0x48c806,0x266,_0x40301a._0x2cf2f2,_0x40301a._0x31dd39)]);const _0x3c36a6=await getUserGitToken(_0x27e82f,_0x6c76a9,_0x1f4546);if(!_0x3c36a6){if(_0x583bb2[_0x4bee15(_0x40301a._0x3581b8,_0x40301a._0x5e1060,_0x40301a._0x27c2a0,0x154)]('ATeng',_0x583bb2['kUOUy']))throw new Error(_0x4bee15(_0x40301a._0x1afd10,_0x40301a._0x5b7af1,_0x40301a._0x3a3aa7,_0x40301a._0x4df359)+'ound\x20for\x20u'+'ser\x20'+_0x27e82f+(_0x4bee15(_0x40301a._0x117164,0x257,0x256,0x28a)+_0x1a2f4b(-_0x40301a._0x4898be,-0x1c8,-0x1cd,-0x163))+_0x6c76a9);else return _0x1eca00;}if(!_0x3c36a6[_0x1a2f4b(-0x18e,-0x1ef,-_0x40301a._0x3ef30c,-0x1b0)+_0x1a2f4b(-_0x40301a._0x376eed,-0x25e,-0x287,-0x203)])throw new Error(_0x583bb2[_0x1a2f4b(-0x145,-_0x40301a._0x33c20e,-0xa6,-_0x40301a._0x29c630)]);function _0x1a2f4b(_0x2eda5f,_0x3528ce,_0x1da24f,_0x500e8e){return _0x1bddd3(_0x2eda5f-0x111,_0x3528ce-_0x478c90._0x5ab5eb,_0x1da24f,_0x500e8e- -0x4ed);}const _0x14261c=await _0x583bb2[_0x4bee15(_0x40301a._0x2b4c92,0x174,0x161,0x17f)](getProviderConfig,_0x6c76a9,_0x1f4546);if(!_0x14261c)throw new Error(_0x4bee15(_0x40301a._0x280bcc,0x19b,_0x40301a._0x8b05ab,0x12e)+_0x4bee15(0x183,_0x40301a._0x4bcb3c,_0x40301a._0x36341d,_0x40301a._0x1f8e10)+_0x6c76a9);const _0x406a4={};_0x406a4[_0x4bee15(0x17b,0x17d,_0x40301a._0x298a01,_0x40301a._0x15a019)]=_0x27e82f;function _0x4bee15(_0x39c61a,_0x3d4f3f,_0x51c77d,_0x5d3a90){return _0x1bddd3(_0x39c61a-0xa0,_0x3d4f3f-_0xea0de3._0x2b4a36,_0x51c77d,_0x39c61a- -_0xea0de3._0x5466d5);}_0x406a4[_0x1a2f4b(-_0x40301a._0x272ec9,-_0x40301a._0x2ce554,-0x225,-_0x40301a._0x31dd39)+'me']=_0x6c76a9,_0x1ee18f['info'](_0x583bb2[_0x4bee15(0x1ff,0x1f8,0x1b8,0x28a)],_0x406a4);if(_0x583bb2[_0x4bee15(_0x40301a._0x28e2f4,_0x40301a._0x53db83,_0x40301a._0x3b7d9d,_0x40301a._0x479dfd)](_0x14261c['type'],_0x583bb2[_0x4bee15(_0x40301a._0x1c8b5c,_0x40301a._0x23fb48,0x164,0x11d)])){const _0x5a854a={};_0x5a854a[_0x4bee15(0x1e2,_0x40301a._0x59d26a,0x1f8,0x1ee)+'en']=_0x3c36a6['refresh_to'+_0x1a2f4b(-_0x40301a._0x9792d1,-0x1cb,-_0x40301a._0x240cdf,-0x203)],_0x5a854a[_0x4bee15(_0x40301a._0x16ffd6,0xf0,_0x40301a._0x5d4485,0xfa)+'me']=_0x6c76a9,_0x5a854a[_0x4bee15(_0x40301a._0x31409f,_0x40301a._0x10ff82,_0x40301a._0x47f82e,_0x40301a._0x2c26ac)+'nfig']=_0x14261c;const _0x53d90b=await _0x583bb2[_0x4bee15(0x11b,_0x40301a._0x54a976,0x196,0xf7)](refreshGitHubToken,_0x5a854a,_0x1f4546);await _0x583bb2[_0x4bee15(0x191,0x10a,0x189,_0x40301a._0x29af6a)](updateUserGitToken,_0x27e82f,_0x6c76a9,{'access_token':_0x53d90b[_0x4bee15(0x171,_0x40301a._0x3a9762,0x1b9,0x11a)+'en'],'refresh_token':_0x53d90b[_0x4bee15(0x179,0x100,0x1b3,_0x40301a._0x3628b8)+_0x4bee15(0x126,0xe5,_0x40301a._0x400ba2,0x1b4)],'expires_at':calculateExpiry(_0x53d90b[_0x1a2f4b(-_0x40301a._0x488c39,-0x1c9,-0x237,-_0x40301a._0x18f616)])},_0x1f4546);const _0x593f7c={};return _0x593f7c[_0x4bee15(_0x40301a._0x265aaf,0x209,0x1ab,_0x40301a._0x28e2f4)]=_0x27e82f,_0x593f7c[_0x4bee15(_0x40301a._0x16ffd6,_0x40301a._0xc50f9,_0x40301a._0x30f917,_0x40301a._0x4fdc1f)+'me']=_0x6c76a9,_0x1ee18f[_0x4bee15(_0x40301a._0x5b8cdf,_0x40301a._0xbac760,0x17c,0x133)](_0x583bb2[_0x4bee15(0x1fd,_0x40301a._0x43603c,0x269,0x188)],_0x593f7c),{'success':!![],'expires_at':_0x583bb2[_0x4bee15(0x13a,_0x40301a._0xfd254,0xee,_0x40301a._0xfa4593)](calculateExpiry,_0x53d90b[_0x4bee15(0x16b,0x194,0x178,0x1ab)])};}throw new Error(_0x4bee15(0x127,_0x40301a._0x1aaae5,0xbe,_0x40301a._0x4e3a91)+_0x4bee15(0x1be,_0x40301a._0x1b4fdb,0x234,_0x40301a._0x2fd072)+_0x1a2f4b(-0x159,-_0x40301a._0x4be6e9,-_0x40301a._0xf8ae4f,-0x1b2)+_0x14261c[_0x1a2f4b(-_0x40301a._0x57eef0,-_0x40301a._0x22d83a,-_0x40301a._0x5b7af1,-0x1da)]);}export async function ensureFreshToken(_0x29ef21,_0x41611b,_0x15648a={}){const _0x3f0461={_0x461751:0x40e,_0x171456:0x3c4,_0x3138ca:0x1bd,_0x1898e5:0x193,_0x729258:0x15d,_0x1345a5:0x16c,_0x138db2:0x155,_0x1eb54c:0x148,_0x4f2324:0x314,_0x2be525:0x2f0,_0x4ec6b8:0x2e3,_0x1b40a8:0x150,_0x2b0304:0x1cf,_0x38c310:0x2fa,_0x5b0cba:0x2c0,_0x58de0c:0x332,_0x368777:0x332,_0x3a6812:0x207,_0x4c57a4:0x215,_0x62913f:0x1ff,_0x20a1c2:0x1db,_0x4bddd4:0x23a,_0x163f1a:0x1b0,_0x331f56:0x173,_0x16c27a:0xfe,_0x337f71:0xe7,_0x296c9c:0x24a,_0x4c0b4a:0x22d,_0x3f0259:0x2b4,_0x5ccb1a:0x317,_0x1a4b37:0x254,_0x2ce666:0x2c5,_0xd0d947:0x206,_0x2a597c:0x318,_0x22a5e5:0x35f,_0x198779:0x2d0,_0x5ce0a0:0x34b,_0x16f9e9:0x382,_0x4f8e6a:0x1a5,_0x2fe378:0x142,_0x3363:0xdf,_0x576750:0x168,_0x4b1b01:0x33a,_0x28d389:0x2ee,_0x35b878:0x323,_0x3f161a:0x2e7,_0x343a72:0x245,_0xe6a7e6:0x29b,_0x432d3b:0x1e0,_0x141db2:0x249,_0x25c008:0x1d6,_0x5d598e:0x172,_0x48c5fc:0x2d3,_0x23489e:0x2a8,_0x3fc98f:0x38e,_0x1f1bf8:0x281,_0x2f7e35:0x1e3,_0x47b722:0x183,_0x26a4bc:0x187,_0x2831cb:0x12e,_0xb1ccc6:0x13e,_0x3495ff:0x1a8,_0x42f59e:0xf3,_0x145b97:0xfc,_0x57a305:0x10b,_0x202f9f:0x328,_0x52ad2a:0x25f,_0x42116b:0x292,_0x5ddb78:0x189,_0x27661c:0x2e7,_0x96891:0x1dd,_0x52f0a6:0x210,_0x15d6a8:0x1ce,_0x4678c5:0x241,_0x101b79:0x192,_0x26ed9e:0x198,_0x283309:0x12d,_0x5a5ee4:0x10e,_0x56c682:0x1f6,_0x3a9f70:0x212,_0x4f33a9:0x17e,_0x440806:0x1ce,_0x1fae05:0x1b2,_0x60d61:0x19f,_0x452b97:0x1aa,_0x12895f:0x19b,_0x445c93:0x205},_0x261bb1={_0x21eebe:0xdc,_0xddbab1:0x40,_0x551471:0x225},_0x2bd5d7={_0x7214a6:0x133},_0x1cd59d={'QqWcu':function(_0x1dc7d6,_0xed9a0){return _0x1dc7d6>_0xed9a0;},'yjiHW':_0x31268b(_0x3f0461._0x461751,0x3e0,_0x3f0461._0x171456,0x393)+_0x5745c6(0x249,_0x3f0461._0x3138ca,_0x3f0461._0x1898e5,0x16b)+_0x5745c6(_0x3f0461._0x729258,0x133,0xae,_0x3f0461._0x1345a5),'OtdlP':function(_0x3f153e,_0x29aa06){return _0x3f153e(_0x29aa06);},'VRIMr':_0x5745c6(_0x3f0461._0x138db2,0x146,0x197,_0x3f0461._0x1eb54c)+'ring\x20soon,'+_0x31268b(_0x3f0461._0x4f2324,_0x3f0461._0x2be525,_0x3f0461._0x4ec6b8,0x322)+_0x5745c6(_0x3f0461._0x1b40a8,_0x3f0461._0x2b0304,0x1c9,0x259),'uyoAZ':_0x31268b(_0x3f0461._0x38c310,_0x3f0461._0x5b0cba,_0x3f0461._0x58de0c,_0x3f0461._0x368777),'DaReJ':function(_0x8c44a0,_0x409b24,_0x20588e,_0x5ce56a){return _0x8c44a0(_0x409b24,_0x20588e,_0x5ce56a);},'kqgXI':function(_0x1e3fb2,_0x4e0bac,_0x53e876,_0x67173){return _0x1e3fb2(_0x4e0bac,_0x53e876,_0x67173);},'kObiz':_0x5745c6(0x1ff,_0x3f0461._0x3a6812,_0x3f0461._0x4c57a4,_0x3f0461._0x62913f),'HDVMK':'Token\x20refr'+_0x5745c6(_0x3f0461._0x20a1c2,_0x3f0461._0x4bddd4,0x241,_0x3f0461._0x163f1a)},_0x50f3af=_0x15648a[_0x5745c6(0x169,_0x3f0461._0x331f56,_0x3f0461._0x16c27a,_0x3f0461._0x337f71)]||_0x174c2a,_0x2572da=await getUserGitToken(_0x29ef21,_0x41611b,_0x15648a);if(!_0x2572da)throw new Error(_0x31268b(_0x3f0461._0x296c9c,0x2e2,_0x3f0461._0x4c0b4a,0x2b7)+'onnected\x20t'+_0x31268b(0x2ba,_0x3f0461._0x3f0259,_0x3f0461._0x5ccb1a,0x2a7)+':\x20'+_0x41611b);function _0x31268b(_0x2b4d9a,_0x46c964,_0x57faa0,_0x5bd5cc){return _0x2d6fc3(_0x2b4d9a-0x57,_0x46c964-_0x2bd5d7._0x7214a6,_0x2b4d9a,_0x5bd5cc-0x381);}function _0x5745c6(_0x378c1a,_0x29e007,_0x46b613,_0xcb0f44){return _0x2d6fc3(_0x378c1a-_0x261bb1._0x21eebe,_0x29e007-_0x261bb1._0xddbab1,_0x46b613,_0x29e007-_0x261bb1._0x551471);}if(_0x1cd59d[_0x5745c6(_0x3f0461._0x1a4b37,0x232,_0x3f0461._0x2ce666,_0x3f0461._0xd0d947)](isTokenExpiringSoon,_0x2572da['expires_at'])){const _0x255d56={};_0x255d56['userId']=_0x29ef21,_0x255d56[_0x31268b(0x28f,_0x3f0461._0x2a597c,_0x3f0461._0x22a5e5,_0x3f0461._0x198779)+'me']=_0x41611b,_0x50f3af[_0x31268b(0x3eb,_0x3f0461._0x5ce0a0,0x34a,_0x3f0461._0x16f9e9)](_0x1cd59d[_0x5745c6(_0x3f0461._0x4f8e6a,_0x3f0461._0x2fe378,_0x3f0461._0x3363,_0x3f0461._0x576750)],_0x255d56);if(_0x2572da[_0x31268b(_0x3f0461._0x4b1b01,0x317,0x28c,_0x3f0461._0x28d389)+_0x31268b(_0x3f0461._0x35b878,_0x3f0461._0x3f161a,_0x3f0461._0x343a72,_0x3f0461._0xe6a7e6)])try{if(_0x1cd59d[_0x5745c6(_0x3f0461._0x432d3b,_0x3f0461._0x141db2,0x21e,0x27b)]!==_0x5745c6(0x206,_0x3f0461._0x25c008,_0x3f0461._0x5d598e,0x230)){const _0x525234=_0x1d4f69[_0x31268b(0x35b,0x340,0x3ca,0x358)]();for(const [_0x309d80,_0x122cae]of _0x4034dc[_0x31268b(0x26b,_0x3f0461._0x48c5fc,0x24e,0x2da)](_0x26cac9[_0x31268b(0x2ed,_0x3f0461._0x23489e,_0x3f0461._0x3fc98f,0x313)]||{})){_0x1cd59d[_0x5745c6(_0x3f0461._0x1f1bf8,0x20c,_0x3f0461._0x2f7e35,_0x3f0461._0x47b722)](_0x525234-_0x122cae[_0x5745c6(0x10b,0x19d,0x1c2,_0x3f0461._0x26a4bc)],_0x21e551)&&delete _0x2d04c6['states'][_0x309d80];}return _0x50955c;}else return await _0x1cd59d[_0x5745c6(_0x3f0461._0x2831cb,_0x3f0461._0xb1ccc6,0x135,0x17a)](refreshUserToken,_0x29ef21,_0x41611b,_0x15648a),_0x1cd59d[_0x5745c6(0xc0,_0x3f0461._0x2831cb,_0x3f0461._0x3495ff,0xc1)](getUserGitToken,_0x29ef21,_0x41611b,_0x15648a);}catch(_0x5cb47e){if(_0x1cd59d[_0x5745c6(_0x3f0461._0x42f59e,0x12c,_0x3f0461._0x145b97,_0x3f0461._0x57a305)]===_0x1cd59d['kObiz']){const _0x54edc5={};_0x54edc5[_0x31268b(_0x3f0461._0x202f9f,_0x3f0461._0x52ad2a,_0x3f0461._0x42116b,0x2f0)]=_0x29ef21,_0x54edc5[_0x5745c6(0x197,0x174,0x15a,_0x3f0461._0x5ddb78)+'me']=_0x41611b,_0x54edc5['error']=_0x5cb47e[_0x31268b(_0x3f0461._0x27661c,0x234,0x2e2,0x2b9)],_0x50f3af[_0x5745c6(0x14a,0x1a1,0x1e7,_0x3f0461._0x96891)](_0x1cd59d['HDVMK'],_0x54edc5);}else{const _0x261723={};_0x261723['error']=_0x57fffe[_0x5745c6(_0x3f0461._0x52f0a6,_0x3f0461._0x15d6a8,_0x3f0461._0x4678c5,_0x3f0461._0x101b79)],_0x261723[_0x5745c6(_0x3f0461._0x26ed9e,_0x3f0461._0x283309,_0x3f0461._0x5a5ee4,0x1a4)+'n']=_0x321d17[_0x5745c6(_0x3f0461._0x56c682,0x19b,_0x3f0461._0x3a9f70,_0x3f0461._0x4f33a9)+'ription'],_0x30c331[_0x5745c6(0x144,_0x3f0461._0x440806,_0x3f0461._0x1fae05,0x1aa)](_0x1cd59d[_0x5745c6(0x1b4,_0x3f0461._0x60d61,_0x3f0461._0x452b97,0x14a)],_0x261723);throw new _0x38b71f(_0x9a16a3[_0x5745c6(0x131,_0x3f0461._0x12895f,_0x3f0461._0x445c93,0x1c3)+'ription']||_0x1bf2ac[_0x5745c6(0x1b5,0x1ce,0x24d,0x233)]);}}}return _0x2572da;}export async function getProviderDisplayName(_0x4b5471,_0x475a2b={}){const _0x5a9e38={_0x1f1f00:0x15f,_0x108144:0x2f5,_0x4afc17:0xea,_0x3d5208:0x100,_0x3d1104:0x3ae,_0x1bb429:0x357,_0x352912:0x2ee,_0x46aa22:0x3c6,_0x15b1ce:0x2fe,_0x24e0f8:0x370,_0x239089:0x356,_0x396991:0x2ec,_0x564502:0x2cf,_0x5517c4:0x18a,_0x2c082b:0x144,_0x4c3057:0x19d,_0x28218e:0x370,_0x4bee9c:0x2e9,_0x2b4ecb:0x7e,_0x471475:0xc1,_0x54763d:0x142,_0x336f84:0x14a,_0x5ba266:0xac,_0x274618:0x1a1,_0x18eb9f:0x398,_0x5ae2f9:0x3bd,_0xc173f2:0x42,_0x5abc66:0xa5,_0x1323d2:0x42c,_0x2c3195:0x3d9,_0x145810:0x8f,_0x83c392:0x3c7,_0x551a06:0x36e,_0xc7ad60:0x32c,_0x562af6:0xcf,_0x4a6c2a:0x97,_0xe674d9:0x2d4,_0x3ccbd8:0x350,_0x1905bb:0x392,_0x403c20:0x6d,_0x9cdafa:0x108,_0x2470ca:0x9a,_0x4bef73:0x2b1,_0x3530b1:0x31e,_0x21ca21:0x333,_0x1fd583:0x3cd,_0x42e1fe:0x143,_0x2d5051:0x12f,_0x478cbe:0xff,_0x163619:0x10a,_0x4b6573:0x3b4,_0x6e4a69:0x2f7,_0x1e2fe5:0x7a,_0x40268c:0xb3,_0x5f0a39:0x9c,_0x4db07b:0x1d3,_0x461711:0x2e8,_0x1321e7:0x271,_0x229acb:0x305,_0x158991:0x300,_0x1c29f3:0x33f,_0x39ad49:0x335,_0x54c377:0x3bd,_0x281082:0x359,_0x4cc184:0x94,_0x3ceee3:0x23,_0x2f005b:0xef,_0x293020:0x34,_0xd1be5d:0x120,_0x40fd2e:0x11b,_0x4cebbb:0xfa,_0x4592df:0x2f9,_0x36992d:0x40f,_0x4029fc:0x3aa,_0x5afc9b:0x3e2,_0x2e6323:0xe2,_0x4bc4f1:0x8a,_0x1c80ab:0x15d},_0x15071a={_0x289489:0x1ca},_0x25ff9e={_0x3bf394:0x97,_0x53a0ae:0x45d};function _0x4c3749(_0x56478,_0x1d7028,_0x473c97,_0x502c7e){return _0x1bddd3(_0x56478-0x169,_0x1d7028-_0x25ff9e._0x3bf394,_0x473c97,_0x56478- -_0x25ff9e._0x53a0ae);}const _0x56950b={'BNksk':_0x4c3749(-0xd2,-_0x5a9e38._0x1f1f00,-0x149,-0x11d)+_0xbb3a43(0x302,0x2c3,0x2ac,0x313)+_0xbb3a43(0x378,_0x5a9e38._0x108144,0x3bb,0x34a)+_0x4c3749(-_0x5a9e38._0x4afc17,-_0x5a9e38._0x3d5208,-0x10d,-0xcb)+_0xbb3a43(_0x5a9e38._0x3d1104,_0x5a9e38._0x1bb429,_0x5a9e38._0x352912,0x335)+'ired','lmPTA':function(_0x43f406,_0x44efb0,_0x3c3c44){return _0x43f406(_0x44efb0,_0x3c3c44);},'hWTCj':function(_0x249b8b,_0x549c5d){return _0x249b8b===_0x549c5d;},'uynXj':_0xbb3a43(_0x5a9e38._0x46aa22,0x340,_0x5a9e38._0x15b1ce,_0x5a9e38._0x24e0f8),'SHaWG':_0xbb3a43(0x354,0x3df,0x3b3,0x38d),'wiYOE':_0xbb3a43(_0x5a9e38._0x239089,_0x5a9e38._0x396991,_0x5a9e38._0x564502,0x355),'yBWiN':_0x4c3749(-_0x5a9e38._0x5517c4,-0x207,-_0x5a9e38._0x2c082b,-_0x5a9e38._0x4c3057)+_0xbb3a43(_0x5a9e38._0x28218e,_0x5a9e38._0x4bee9c,0x3b5,0x33a)+_0xbb3a43(0x37f,0x42e,0x3ab,0x3dd),'NEUBf':function(_0x2f24f5,_0x5c008a){return _0x2f24f5!==_0x5c008a;},'ZPWBD':'ktQki','VLswu':_0x4c3749(-0xb5,-0x13e,-_0x5a9e38._0x2b4ecb,-_0x5a9e38._0x471475)+'ps','zBmIp':_0xbb3a43(0x393,0x2fc,0x31f,0x33f)};function _0xbb3a43(_0x35223c,_0x5f1f2b,_0x1ba90a,_0xe4aa1){return _0x2d6fc3(_0x35223c-_0x15071a._0x289489,_0x5f1f2b-0xac,_0x1ba90a,_0xe4aa1-0x3e9);}const _0xaa56f2=await _0x56950b[_0x4c3749(-0xcf,-_0x5a9e38._0x54763d,-_0x5a9e38._0x336f84,-_0x5a9e38._0x5ba266)](getProviderConfig,_0x4b5471,_0x475a2b);if(!_0xaa56f2){if(_0x56950b[_0x4c3749(-0x144,-_0x5a9e38._0x274618,-0x17b,-0x127)](_0x56950b[_0xbb3a43(_0x5a9e38._0x18eb9f,_0x5a9e38._0x5ae2f9,0x332,0x36f)],_0x56950b[_0x4c3749(-0x81,-_0x5a9e38._0xc173f2,-_0x5a9e38._0x5abc66,-0x7a)]))throw new _0x3db7ae(_0xbb3a43(_0x5a9e38._0x1323d2,0x43b,0x363,_0x5a9e38._0x2c3195)+_0x4c3749(-_0x5a9e38._0x145810,-0xaa,-0x8a,-0x2c)+_0xbb3a43(0x3aa,0x37c,0x3b9,_0x5a9e38._0x83c392));else return _0x4b5471;}if(_0x56950b[_0xbb3a43(0x34c,_0x5a9e38._0x551a06,0x3c1,0x332)](_0xaa56f2[_0xbb3a43(0x305,_0x5a9e38._0x3d1104,0x2fc,_0x5a9e38._0xc7ad60)],_0x56950b['wiYOE'])){try{const {getProvider:_0x422d23}=await import(_0x56950b['yBWiN']),_0x3587a3=await _0x56950b[_0x4c3749(-_0x5a9e38._0x562af6,-0x12a,-_0x5a9e38._0x4a6c2a,-0x128)](_0x422d23,_0x4b5471,_0x475a2b);if(_0x3587a3){if(_0x56950b['NEUBf'](_0x56950b[_0xbb3a43(0x3d0,_0x5a9e38._0xe674d9,0x310,_0x5a9e38._0x3ccbd8)],_0x56950b[_0xbb3a43(0x344,0x3c8,_0x5a9e38._0x1905bb,0x350)]))return![];else{const _0xee1d1d=await _0x3587a3['getInstall'+_0x4c3749(-0xf3,-_0x5a9e38._0x403c20,-_0x5a9e38._0x9cdafa,-_0x5a9e38._0x2470ca)]();if(_0xee1d1d?.[_0xbb3a43(0x2de,_0x5a9e38._0x4bef73,_0x5a9e38._0x3530b1,_0x5a9e38._0x21ca21)+_0xbb3a43(_0x5a9e38._0x1fd583,0x309,0x39c,0x373)])return'GitHub\x20('+_0xee1d1d[_0x4c3749(-_0x5a9e38._0x42e1fe,-0x180,-_0x5a9e38._0x2d5051,-_0x5a9e38._0x478cbe)+_0x4c3749(-0x103,-_0x5a9e38._0x163619,-0x78,-0xbe)]+')';}}}catch{}return'GitHub\x20('+_0x4b5471+')';}if(_0x56950b['hWTCj'](_0xaa56f2[_0xbb3a43(_0x5a9e38._0x4b6573,0x2d2,_0x5a9e38._0x6e4a69,0x32c)],_0x56950b[_0x4c3749(-_0x5a9e38._0x1e2fe5,-_0x5a9e38._0x2470ca,-_0x5a9e38._0x40268c,-_0x5a9e38._0x5f0a39)])){if(_0xaa56f2['organizati'+'on']){if(_0x56950b[_0x4c3749(-0x176,-_0x5a9e38._0x4db07b,-0x17a,-0x105)]!==_0x56950b[_0xbb3a43(_0x5a9e38._0x461711,_0x5a9e38._0x1321e7,_0x5a9e38._0x229acb,_0x5a9e38._0x158991)])throw new _0x9422a2(_0x56950b[_0xbb3a43(_0x5a9e38._0x1c29f3,_0x5a9e38._0x39ad49,_0x5a9e38._0x54c377,_0x5a9e38._0x281082)]);else return _0x4c3749(-_0x5a9e38._0x4cc184,-_0x5a9e38._0x3ceee3,-_0x5a9e38._0x2f005b,-_0x5a9e38._0x293020)+_0x4c3749(-0xe2,-_0x5a9e38._0xd1be5d,-_0x5a9e38._0x40fd2e,-_0x5a9e38._0x4cebbb)+_0xaa56f2[_0xbb3a43(_0x5a9e38._0x4592df,0x2f1,0x346,0x35c)+'on']+')';}return _0xbb3a43(0x3ac,_0x5a9e38._0x36992d,_0x5a9e38._0x4029fc,_0x5a9e38._0x5afc9b)+_0x4c3749(-_0x5a9e38._0x2e6323,-0xa0,-_0x5a9e38._0x4bc4f1,-_0x5a9e38._0x1c80ab)+_0x4b5471+')';}return _0x4b5471;}
|
|
1
|
+
(function(_0x125dc0,_0x42021a){const _0x5ef078={_0x47c1b2:0x129,_0x58c2d9:0x151,_0x51906b:0xec,_0xa44fe4:0x5d,_0x6ddf5d:0x101,_0x56ab4b:0x13b,_0x1e6b8f:0x1c3,_0x4b92e2:0xa2,_0xaba75b:0x80,_0x4a6d14:0x61d,_0x18e6e5:0x1b0,_0x14191b:0x18c,_0x4a8088:0x108,_0x300584:0x185,_0x18e202:0x56f,_0x3c3f93:0x658,_0x1fc519:0x5ce};function _0x3fdc11(_0x57de63,_0x530918,_0x156688,_0x5520b9){return _0x3d4a(_0x530918- -0xef,_0x156688);}function _0xe53bda(_0x4949e4,_0x33fb99,_0x1f032f,_0x5960b4){return _0x3d4a(_0x5960b4-0x3e1,_0x33fb99);}const _0x26ca06=_0x125dc0();while(!![]){try{const _0x34ed58=-parseInt(_0x3fdc11(0x10d,0x179,0xf1,_0x5ef078._0x47c1b2))/(0x16b0+-0x1*-0x2174+-0x3823)+-parseInt(_0x3fdc11(_0x5ef078._0x58c2d9,_0x5ef078._0x51906b,0x6d,_0x5ef078._0xa44fe4))/(-0x1e24+0xca+0x1d5c)+parseInt(_0x3fdc11(_0x5ef078._0x6ddf5d,_0x5ef078._0x56ab4b,0xd6,_0x5ef078._0x1e6b8f))/(0x27*-0xc2+-0x1597+0x3328)*(-parseInt(_0x3fdc11(0x119,_0x5ef078._0x4b92e2,0xce,0x73))/(-0x1ad6+-0x7d*-0x2b+0x5db*0x1))+-parseInt(_0x3fdc11(_0x5ef078._0xaba75b,0xc7,0x99,0x39))/(0x1724+0x1023+-0x6*0x68b)+parseInt(_0xe53bda(0x597,_0x5ef078._0x4a6d14,0x609,0x588))/(0x37*-0x3b+-0x7*-0x1eb+-0xba)*(-parseInt(_0x3fdc11(_0x5ef078._0x18e6e5,_0x5ef078._0x14191b,_0x5ef078._0x4a8088,_0x5ef078._0x300584))/(-0x1117+-0x1*0x2357+0xd*0x409))+-parseInt(_0xe53bda(_0x5ef078._0x18e202,_0x5ef078._0x3c3f93,0x670,0x5e3))/(-0x3d3*0x3+0x1a*-0xef+-0x1*-0x23c7)+parseInt(_0xe53bda(0x5fd,0x648,0x53f,_0x5ef078._0x1fc519))/(0x1d88+-0x2388+0x609);if(_0x34ed58===_0x42021a)break;else _0x26ca06['push'](_0x26ca06['shift']());}catch(_0xe899c0){_0x26ca06['push'](_0x26ca06['shift']());}}}(_0xc873,-0xa3745+0x4859a+0xda536));import{promises as _0x5cf641}from'fs';import{existsSync}from'fs';import _0x26bef5 from'path';import _0x39aa79 from'crypto';import{DATA_DIR}from'./data-dir.js';import{logger as _0x78a1c0}from'./logger.js';import{loadProvidersConfig}from'./git-provider-service.js';import{storeUserGitToken,getUserGitToken,updateUserGitToken,isTokenExpiringSoon}from'./user-git-tokens.js';import{getGitHubOAuthUrls}from'./github-urls.js';const STATE_FILE='provider-o'+_0x195178(0xc0,0x9c,0x9e,0x83)+_0x3ccab1(0x408,0x48e,0x51e,0x49d),STATE_EXPIRY_MS=(-0x1b7a+0x37b+0x74*0x35)*(0x6a6+0x207b*0x1+-0x26e5)*(0x241*0x1+0x31*-0x62+-0x1*-0x1469),AZURE_AUTHORIZE_URL=_0x195178(0x157,0x168,0x18e,0x166)+_0x195178(0x96,0x13f,0xf1,0xd1)+_0x195178(0xd4,0xe4,0x57,0x94)+_0x195178(0xdb,0x103,0xa6,0x8f)+_0x195178(0x157,0x108,0x4f,0xc9)+'e',AZURE_TOKEN_URL='https://ap'+_0x195178(0x128,0x148,0x100,0xd1)+'sualstudio'+_0x3ccab1(0x42d,0x397,0x3ce,0x397)+'2/token',GITHUB_SCOPES=_0x3ccab1(0x33d,0x3ba,0x33e,0x3bb)+_0x3ccab1(0x367,0x3a9,0x453,0x3cd);async function loadStateStorage(_0xa30052={}){const _0x4035d3={_0x1fe6a7:0x19a,_0x4a0efe:0x1c8,_0x365670:0x1cf,_0x3ff329:0x14d,_0x33af9e:0x7d,_0x2c1792:0x3f,_0x26af60:0xc7,_0x38e23f:0x189,_0xf64bb3:0x21e,_0x67767:0x1db,_0x342088:0x20e,_0x13a1c6:0x295,_0x42afc4:0xde,_0x3dff2f:0x211,_0x393979:0x146,_0x3b7664:0x50,_0x3fc834:0x143,_0x227544:0x12e},_0x521d77={_0x49e60a:0xa1},_0x3e6aaf={_0x3f98b0:0x5e,_0x47cf69:0x1f0,_0x55aabd:0xd1},_0xd798a4={'SEziL':function(_0x2f048b,_0x14cc87){return _0x2f048b(_0x14cc87);},'xkLuO':'utf-8'},_0x24f811=_0xa30052[_0x18738a(_0x4035d3._0x1fe6a7,_0x4035d3._0x4a0efe,_0x4035d3._0x365670,_0x4035d3._0x3ff329)]||DATA_DIR;function _0x38f7dd(_0x5b5b1a,_0x316f66,_0xfc89d9,_0x268780){return _0x195178(_0x5b5b1a-_0x3e6aaf._0x3f98b0,_0x316f66-_0x3e6aaf._0x47cf69,_0x5b5b1a,_0x316f66-_0x3e6aaf._0x55aabd);}function _0x18738a(_0x1da204,_0xafc36f,_0x25bf74,_0x4ab893){return _0x3ccab1(_0x1da204-0x76,_0xafc36f-_0x521d77._0x49e60a,_0x1da204,_0x4ab893- -0x30d);}const _0xfa204e=_0x26bef5[_0x18738a(_0x4035d3._0x33af9e,_0x4035d3._0x2c1792,0x144,_0x4035d3._0x26af60)](_0x24f811,STATE_FILE);if(!_0xd798a4[_0x38f7dd(_0x4035d3._0x38e23f,_0x4035d3._0xf64bb3,0x1d1,0x193)](existsSync,_0xfa204e)){const _0x23bca0={};return _0x23bca0[_0x38f7dd(_0x4035d3._0x67767,_0x4035d3._0x342088,0x1f3,_0x4035d3._0x13a1c6)]={},_0x23bca0;}try{const _0x745645=await _0x5cf641[_0x18738a(0x16d,0x66,0x5b,_0x4035d3._0x42afc4)](_0xfa204e,_0xd798a4[_0x38f7dd(_0x4035d3._0x3dff2f,0x17f,0x10d,_0x4035d3._0x393979)]);return JSON[_0x18738a(_0x4035d3._0x3b7664,0x6,0xd0,0x7a)](_0x745645);}catch{const _0x1fc42b={};return _0x1fc42b[_0x18738a(_0x4035d3._0x3fc834,0x156,_0x4035d3._0x227544,0x138)]={},_0x1fc42b;}}function _0xc873(){const _0x18d97c=['DwLYzwq','BhPeugu','re93vK4','BMPhu1G','yxP1CMuTzgv2BW','ANnVBG','Bg9NAw4','tKr6vxe','C3rHDhvZ','ihr5Cgu6ia','igv4CgLYzwqGtW','CMvKAxjLy3rbzG','A0DwDu8','yxrPB25jBMzV','Bg9Nz2vY','BMLUqwG','y29Kzq','t05pyNy','BejfvKW','C3vJy2vZCW','oty2nJmZzgDMyvHi','vw5ZDxbWB3j0zq','BKz4rfm','qK50AuG','we1urfa','C3rHDgvZ','BM93','zsbMywLSzwq6ia','DwiRANnVBG','uLrOs2O','Bunuru4','mJaYmI0Xms0Yoa','rNzyBgO','sw52ywXPzcbVCG','D2Dnvhi','C3fHDvq','y2nqrfy','z2L0AhvItg9NAq','tuftwhu','B3jNyw5PEMf0Aq','EKTvqvq','u0v6AuW','igrVzxmGBM90ia','A3PWu2q','tM8GCMvMCMvZAa','yNvUAKS','zgf0yurPCG','A2vU','ChmGka','BMLvzNG','t0vsz0m','wLzmDuW','yvnNCfm','vu96EeK','zxjYB3i','tKPlCKq','C2v0','r2L0shvIie9bDq','DgGGy29TCgXLDa','vuXwu1K','ywXOB3n0','EgfHyMu','Bwv0zxiGAxmGCG','tgvcvfK','A2D0zvm','wwvduMu','Ahr0Chm6lY9HCa','B1nTCK8','CYbYzxf1AxjLza','tKrIugi','BKrluvO','DhH1uNu','D056CNC','vg9Rzw4GCMvMCG','tw9gBu8','r2L0shvIicG','AwrLCI1Zzxj2Aq','ChjVDMLKzxjuEq','sefSDve','AxjLza','t1Dtruy','qxv0AcbMBg93','nZKYnJi2zeTjwe9k','z2L0x2nVBM5LyW','CMLUzYbZB29Ula','igf0DgvTChrPBG','uvDxse0','DwPQq1C','rvLiyuG','ChjVDMLKzxjZ','z3r0yNm','DxrMltG','t3LVuvO','Ahr0CdOVl2XVyW','C2vHCMnO','Aw9UignVzguGAq','CMvXDwLYzwq','Dgv4Da','EgjTwwC','yLjwrMm','qMvHCMvYia','mJm1mta5zgDxt01A','zxHWAxjLC19HDa','vxnLCIbjrcbHBG','r21ZzhG','DhLWzq','vgrxz00','vfHszwi','D3jPDgvgAwXL','DhjPBq','qxv0AcbZDgf0zq','DgGGzxjYB3i','q2jpyK4','lMPZB24','vg9Rzw4GzxHWAq','tK1tq0i','zw50CMLLCW','q2zeA0i','tNrHCge','ww5jvgW','uNP3Dgi','DgvY','D2ncq1e','B25Uzwn0zwqGDa','zxHWAxjLC19PBG','q1vbDhq','BK1yrNq','zgvYia','y2fSBgjHy2TvCG','tMLTy3y','zw4GCMvMCMvZAa','vxnLCIbjrcbPCW','uMvMCMvZAgLUzW','AxP3r3C','q0fyAg4','rMfPBgvKihrVia','CgfYC2u','ChjVDMLKzxjoyq','ihrVA2vUigf2yq','u3rHCNrPBMCGtW','yxv0Ac1ZDgf0zq','u1fjvKW','zxnOzwqGC3vJyW','zw4GzxHJAgfUzW','DxnLCKLK','A25MzK8','igzHAwXLza','rej5tLi','y2XPzw50x3nLyW','D2fYBG','zcbWCM92AwrLCG','B3qGzM91BMq6ia','lMnVBs9Vyxv0Aa','CIbWCM92AwrLCG','twnsA08','qxP1CMuGrgv2tW','ALbJsvK','C3vHBhn0DwrPBW','Bw9Kzq','C2vHCMnOugfYyq','CMvJDxjZAxzL','ChvZAa','C2vYia','ChjVDMLKzxjdBW','zgvZy3jPChrPBW','uxjrz2K','teviAeC','Bw9QueC','oejNu1j2rG','CMvMCMvZAf90BW','ruzeALe','yu5ku08','q016r2W','Agv4','sNPwBw8','igvYCM9Y','BMzPzW','zvPrDeq','yxrPB24GCMvXDq','sw9JBxe','ihLLDcbPBxbSzq','z0f4D2e','uhjVDMLKzxiG','EgTmDu8','DgLVBG','CfvUrwC','q2fSBgjHy2SGvq','Eg9rtuq','CMvWBYX1C2vYoG','uLbRwK0','nJzxD1fnuhm','yw1LigLZihjLCq','y2uUANm','z2L0AhvI','CMvZCg9UC2u','u2vJCMv0CYbWyq','vvPQB2q','t3nZDvi','vef2uum','DhbAt1m','BgjHy2S','BI9QC29U','zNvSBhK','BYbWCM92AwrLCG','ywnJB3vUDf9SBW','mZuZntqZmfnQzgXOEa','zw1HAwW','Aw5MBW','C3vWCg9YDcb1CW','qujRu2y','mI9HDxrOB3jPEG','zhn3BMm','uhjVy2vZC2LUzW','AM9PBG','CMv0','B0Dvqve','ywnJzxnZx3rVAW','ENn1Bum','Cc52C3nWCY52Aq','EwzuBhu','ihvZzxiGAw5MBW','u3DTB3C','tu9sBem','t0f1DgGGC3rHDa','vxnLCIbUB3qGyW','igfUzcbWCM92Aq','t3HJsNO','u3rHDguGCgfYyq','z2v0ieDPDeH1yG','zs1HDxrOB3jPEG','BMj0D3G','B1fczee','zxnZzNvSBhK','C1jzBve','wKHXze8','CMvMCMvZAfrVAW','CMvHzezPBgu','zuLjveq','BNbJwNi','B2rgC2W','BwvUDgvK','wgXAq28','mtqZmtq3ng1vD3DRqG','EKrQD1C','AwXHyMXLic0GCG','B3vUzcbMB3iGDq','r2L0shvIihrVAW','DxrOigLZig5VDa','Dg9tDhjPBMC','ig5HBwuGyxjLia','zwziBKy','A3vyvxy','D1L5yLq','zMLNDxjLza','zxjYB3jFzgvZyW','u3Hps1e','C2nVCgu','z0LAC3e','Cgf0Ag5HBwu','CNPgtKq','ndeWnde0nJDOCw9Rwfq','zwfRD0W','DgGGBM90ignVBG','C3rYAw5NAwz5','z2v0sw5ZDgfSBa','uKWGAxmGCMvXDq','CePlDNq','DgLTzxn0yw1W','uhjVDMLKzxiGBG','t2v2sMW','y2XPzw50x2LK','tM8Gy2XPzw50xW','ywHHDLm','ie9bDxrOihrVAW','BMfTzq','Auv6wfq','zxf1AxjLza','ie9bDxrOignHBa','yxbWBgLJyxrPBW','ue9tva','zMLNDxjLzcbMBW','nJq3nZG4ofrNzNDwza','wxvmExC','BwvZC2fNzq','zYbYzwzYzxnO','u3zRzMm','r21Oq3y','CMLWDgLVBG','qvHVD20','rhjKBvu','wwPHyuy','zgvIDwC','u1Pgwum','BI92BMqUz2L0Aa','lI9NAxqTChjVDG','BwTKAxi','wNrYsxu','C2vJCMv0ignVBG','sfPZDw4','EMH2tgm','EgrYC3m'];_0xc873=function(){return _0x18d97c;};return _0xc873();}async function saveStateStorage(_0x5256f7,_0x8009f={}){const _0x2bd578={_0x2ff7a2:0x416,_0x1b604c:0x3a1,_0x4c305a:0x40a,_0x10c08c:0x2e3,_0x2feae8:0x30e,_0x1d58e2:0x3dc,_0x362a3f:0x67,_0x5016b3:0x56,_0x2cf9f9:0x4,_0x49218e:0x429,_0x12da7c:0x437},_0x40a5db={_0x39db79:0x11b},_0x546f33={_0xa1bd52:0x7,_0x38c1a3:0x2c4},_0x1860d3=_0x8009f[_0x55b758(0x42b,0x479,0x402,_0x2bd578._0x2ff7a2)]||DATA_DIR;function _0x55b758(_0x1b59de,_0x344bb4,_0x4084a2,_0xc1aa63){return _0x195178(_0x1b59de-_0x546f33._0xa1bd52,_0x344bb4-0x108,_0x4084a2,_0xc1aa63-_0x546f33._0x38c1a3);}const _0x256ad8=_0x26bef5[_0x55b758(_0x2bd578._0x1b604c,0x34d,_0x2bd578._0x4c305a,0x390)](_0x1860d3,STATE_FILE);function _0x343ffc(_0x2e3e99,_0x11beaf,_0xb5984d,_0x96a74e){return _0x195178(_0x2e3e99-0x87,_0x11beaf-0x138,_0xb5984d,_0x2e3e99- -_0x40a5db._0x39db79);}const _0x21c0a3={};_0x21c0a3[_0x55b758(_0x2bd578._0x10c08c,_0x2bd578._0x2feae8,_0x2bd578._0x1d58e2,0x35b)]=!![],await _0x5cf641[_0x343ffc(0x3,-0x68,_0x2bd578._0x362a3f,-_0x2bd578._0x5016b3)](_0x1860d3,_0x21c0a3);const _0x2d28db={};_0x2d28db[_0x343ffc(-0x86,-0xa,-0x9f,-_0x2bd578._0x2cf9f9)]=0x180,await _0x5cf641[_0x55b758(_0x2bd578._0x49218e,0x4b3,_0x2bd578._0x12da7c,0x454)](_0x256ad8,JSON['stringify'](_0x5256f7,null,0x13*0x1f6+0x16e1*0x1+-0x140b*0x3),_0x2d28db);}function cleanExpiredStates(_0x433000){const _0x5a4a9d={_0x1156c8:0x23e,_0x2d2f50:0x1bd,_0x31dca0:0x1fa,_0xf42995:0xff,_0x51d56e:0x1c8,_0x158f62:0x249,_0x4be8ce:0x223,_0x46b789:0x98,_0x221fab:0xc5,_0x43ff91:0x1f4,_0x7b5a21:0x1e5,_0x116af4:0x21b,_0x1c980e:0x18b,_0x595e95:0x76,_0x223437:0xf9,_0x7f761c:0x22e,_0x15fbd6:0x1f8,_0x5991c2:0x1fb,_0x25d8a3:0x255,_0x148b4f:0x246,_0x34b6a0:0x27e,_0x18bdab:0x1fa,_0x4b3c52:0x191,_0x12720a:0xd6,_0xfafb65:0x11d,_0xb41d53:0x11f,_0x5ee4fc:0x238,_0x15793f:0x287,_0x3df7e0:0x1a1,_0x21dbfa:0x1a8,_0x405e37:0x22c,_0x4819e5:0x221,_0x1373dc:0x1c2,_0x330a9e:0xc9,_0x4dba30:0xf3,_0x471057:0x18a,_0x4a38ff:0x293,_0x1ac6a3:0x2c3,_0x3118e9:0x24a},_0x1e869f={_0x56ee66:0x1b},_0x3f26b2={_0x491735:0x70,_0x291168:0x24b},_0x5056d2={};_0x5056d2[_0x571707(0x234,_0x5a4a9d._0x1156c8,_0x5a4a9d._0x2d2f50,_0x5a4a9d._0x31dca0)]=_0x571707(0x8d,0x58,0xd3,_0x5a4a9d._0xf42995),_0x5056d2[_0x6e8b1c(_0x5a4a9d._0x51d56e,_0x5a4a9d._0x158f62,_0x5a4a9d._0x4be8ce,0x228)]=function(_0x4035d7,_0x4dea18){return _0x4035d7===_0x4dea18;},_0x5056d2[_0x571707(0xae,0x58,_0x5a4a9d._0x46b789,_0x5a4a9d._0x221fab)]=_0x6e8b1c(0x1fe,_0x5a4a9d._0x43ff91,0x1bd,_0x5a4a9d._0x7b5a21)+'ps',_0x5056d2[_0x6e8b1c(0x103,_0x5a4a9d._0x116af4,0x100,0x191)]=function(_0x7ebcc2,_0x4800c7){return _0x7ebcc2-_0x4800c7;};function _0x6e8b1c(_0x282137,_0x5958a9,_0x11985f,_0x2de0c1){return _0x3ccab1(_0x282137-0x1de,_0x5958a9-_0x3f26b2._0x491735,_0x282137,_0x2de0c1- -_0x3f26b2._0x291168);}function _0x571707(_0x40f2f6,_0x5751e6,_0x46bc57,_0x47cdf2){return _0x195178(_0x40f2f6-0x27,_0x5751e6-0x71,_0x40f2f6,_0x46bc57-_0x1e869f._0x56ee66);}_0x5056d2[_0x571707(_0x5a4a9d._0x1c980e,_0x5a4a9d._0x595e95,_0x5a4a9d._0x223437,0x99)]=function(_0x27f49b,_0x110b4f){return _0x27f49b!==_0x110b4f;};const _0x225b44=_0x5056d2,_0x183b23=Date[_0x6e8b1c(_0x5a4a9d._0x7f761c,0x21e,_0x5a4a9d._0x15fbd6,_0x5a4a9d._0x5991c2)]();for(const [_0x29c718,_0x543cea]of Object[_0x6e8b1c(_0x5a4a9d._0x25d8a3,0x1cc,_0x5a4a9d._0x148b4f,0x255)](_0x433000[_0x6e8b1c(0x216,_0x5a4a9d._0x34b6a0,0x192,_0x5a4a9d._0x18bdab)]||{})){if(_0x225b44[_0x6e8b1c(0x10d,0x215,0x137,_0x5a4a9d._0x4b3c52)](_0x183b23,_0x543cea[_0x571707(0x150,_0x5a4a9d._0x12720a,_0x5a4a9d._0xfafb65,_0x5a4a9d._0xb41d53)])>STATE_EXPIRY_MS){if(_0x225b44['oQBdA'](_0x6e8b1c(_0x5a4a9d._0x5ee4fc,0x2b0,_0x5a4a9d._0x15793f,0x243),'LfgVx'))delete _0x433000['states'][_0x29c718];else{if(!_0x11c058)return![];if(_0x1c2a89[_0x571707(0x1d6,_0x5a4a9d._0x3df7e0,_0x5a4a9d._0x21dbfa,0x21c)]===_0x225b44['nMXFt'])return!!(_0x500494[_0x6e8b1c(_0x5a4a9d._0x405e37,0x1b4,_0x5a4a9d._0x4819e5,_0x5a4a9d._0x1373dc)]&&_0x9f0ee3[_0x571707(_0x5a4a9d._0x330a9e,_0x5a4a9d._0x4dba30,0xa6,0x125)+_0x6e8b1c(0x117,0x19e,0x193,_0x5a4a9d._0x471057)]);if(_0x225b44['txuRu'](_0x523a04[_0x6e8b1c(0x24c,_0x5a4a9d._0x4a38ff,_0x5a4a9d._0x1ac6a3,_0x5a4a9d._0x3118e9)],_0x225b44['CAXhn']))return![];return![];}}}return _0x433000;}export async function storeOAuthState(_0x5686bd,_0x1c4061,_0x2bf668={}){const _0x44e4b9={_0x2d615f:0x12a,_0x3d0642:0x191,_0xdbae8e:0x134,_0x5bb51a:0x631,_0x39e74d:0x5be,_0xefebd3:0x636,_0x2330c0:0x567},_0x1003d2={'gIZsq':function(_0x4927ba,_0x5ef65c){return _0x4927ba(_0x5ef65c);},'KvgSQ':function(_0x1985f0,_0x317fcf){return _0x1985f0!==_0x317fcf;},'agOgL':function(_0x22d2a1,_0x367bc0,_0x97ae4e){return _0x22d2a1(_0x367bc0,_0x97ae4e);}};let _0x2cd230=await _0x1003d2['gIZsq'](loadStateStorage,_0x2bf668);_0x2cd230=_0x1003d2[_0xfdb674(-_0x44e4b9._0x2d615f,-_0x44e4b9._0x3d0642,-0xc5,-_0x44e4b9._0xdbae8e)](cleanExpiredStates,_0x2cd230);if(!_0x2cd230[_0x8bf458(_0x44e4b9._0x5bb51a,_0x44e4b9._0x39e74d,0x5b8,0x5a2)]){if(_0x1003d2['KvgSQ']('NdyRc',_0x8bf458(0x607,0x5c3,_0x44e4b9._0xefebd3,0x5bb)))_0x2cd230[_0x8bf458(0x577,_0x44e4b9._0x39e74d,_0x44e4b9._0x2330c0,0x628)]={};else return _0x4cf0e8;}_0x2cd230['states'][_0x5686bd]={..._0x1c4061,'timestamp':Date['now']()};function _0xfdb674(_0x3bc1bd,_0x4c233f,_0x216175,_0x22fac0){return _0x195178(_0x3bc1bd-0x174,_0x4c233f-0xdd,_0x216175,_0x3bc1bd- -0x222);}function _0x8bf458(_0x1642be,_0x3b36ee,_0x524597,_0x25a1c5){return _0x195178(_0x1642be-0xac,_0x3b36ee-0x6,_0x524597,_0x3b36ee-0x481);}await _0x1003d2['agOgL'](saveStateStorage,_0x2cd230,_0x2bf668);}function _0x3d4a(_0x34bd1f,_0xc365ce){_0x34bd1f=_0x34bd1f-(0x1c63+0x7bb*-0x1+-0x1340);const _0x5a5404=_0xc873();let _0x5c6bcd=_0x5a5404[_0x34bd1f];if(_0x3d4a['Lfqdxa']===undefined){var _0x1acdb7=function(_0x1fdbd0){const _0x2737a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b48b1='',_0x108509='';for(let _0x1cc2c6=0x13ed*-0x1+0x3*0x5e2+0x247,_0x32bdb7,_0x589bb4,_0x34eb2c=0xbd7+-0x19d2+-0x3*-0x4a9;_0x589bb4=_0x1fdbd0['charAt'](_0x34eb2c++);~_0x589bb4&&(_0x32bdb7=_0x1cc2c6%(0xe54+-0x24e1+-0x35*-0x6d)?_0x32bdb7*(-0x31a+0x586*-0x2+0xe66)+_0x589bb4:_0x589bb4,_0x1cc2c6++%(0x6ee+-0x4*0x285+0x195*0x2))?_0x3b48b1+=String['fromCharCode'](0x1e7f+-0x1*-0xc36+-0x29b6&_0x32bdb7>>(-(-0x1e7*0x10+-0x1a71+0x38e3)*_0x1cc2c6&-0x92c+-0x574+0xea6)):-0xdc*-0x18+-0x1927+0x487){_0x589bb4=_0x2737a6['indexOf'](_0x589bb4);}for(let _0x1d8121=0x16b*-0xf+0x102e+0x517*0x1,_0x146d2b=_0x3b48b1['length'];_0x1d8121<_0x146d2b;_0x1d8121++){_0x108509+='%'+('00'+_0x3b48b1['charCodeAt'](_0x1d8121)['toString'](-0xe5*0x27+-0xf0d+0x10*0x320))['slice'](-(-0xb7*0x21+0x63c+0x115d));}return decodeURIComponent(_0x108509);};_0x3d4a['NJMGnT']=_0x1acdb7,_0x3d4a['ECCUnU']={},_0x3d4a['Lfqdxa']=!![];}const _0xc0f28e=_0x5a5404[-0x123a+0xa*0x3e6+-0x14c2],_0x175b25=_0x34bd1f+_0xc0f28e,_0x4c4995=_0x3d4a['ECCUnU'][_0x175b25];return!_0x4c4995?(_0x5c6bcd=_0x3d4a['NJMGnT'](_0x5c6bcd),_0x3d4a['ECCUnU'][_0x175b25]=_0x5c6bcd):_0x5c6bcd=_0x4c4995,_0x5c6bcd;}export async function consumeOAuthState(_0x31985a,_0x4e0cfe={}){const _0x4260a4={_0x1ba697:0x6e,_0x1d9ca8:0x88,_0x49a2fc:0x22,_0x29114f:0x86,_0x48684b:0x43,_0x4463d6:0x5c,_0xae08ff:0x138,_0x199004:0x19a,_0x485ca8:0x20,_0x550923:0x75,_0x51ba2c:0xaf,_0x36ee15:0x94,_0xa50218:0x103,_0x245539:0x6f,_0x243d40:0xe3,_0x23dfc1:0x1a6,_0x4d9a7d:0x13f,_0x48eaea:0x17c,_0x3384de:0x154,_0x45f261:0xe0,_0x18c6ee:0x2c,_0x2280c5:0x2b,_0x140ed6:0x8e,_0x3dc518:0x9a,_0x1b5b42:0xeb,_0x3456ce:0x11d,_0x40fd45:0x13a,_0x37a461:0x10d,_0x53cafc:0x197,_0x2e02eb:0x167,_0x1160b4:0x1c0,_0x291a71:0x1f4,_0x1487bc:0x170,_0x2d0e9e:0xe8,_0x2f6ed9:0x1b,_0x1b5e38:0x120,_0x1c01ca:0x1f2,_0x41e9f:0x1b4,_0x3f9012:0x102,_0x46d9ef:0x169,_0x199109:0x12c,_0x5b7b6e:0x1ba,_0x316ad5:0xb6,_0x35e261:0xd4},_0x1fe04b={_0x149d62:0x128,_0x31c333:0x16},_0x2e69fc={_0x2d32fc:0x13f,_0x551585:0xd},_0x1305a1={'wcBCQ':_0x7daf8d(_0x4260a4._0x1ba697,0xa5,0xfa,0xeb)+_0x7daf8d(_0x4260a4._0x1d9ca8,_0x4260a4._0x49a2fc,_0x4260a4._0x29114f,_0x4260a4._0x48684b)+_0x54f49b(_0x4260a4._0x4463d6,0xb0,0x11e,0xbc),'sqauT':function(_0x2158a8,_0x30c905){return _0x2158a8(_0x30c905);},'OWSEF':function(_0x2a7556,_0x453ce4){return _0x2a7556(_0x453ce4);},'Nimcv':function(_0x3399e2,_0x3bfafa){return _0x3399e2!==_0x3bfafa;},'MORlC':_0x7daf8d(0x140,0x127,_0x4260a4._0xae08ff,_0x4260a4._0x199004),'ZKnOt':_0x7daf8d(_0x4260a4._0x485ca8,_0x4260a4._0x550923,_0x4260a4._0x51ba2c,_0x4260a4._0x36ee15),'oSmrO':_0x7daf8d(_0x4260a4._0xa50218,_0x4260a4._0x245539,_0x4260a4._0x243d40,0x52)+'e\x20not\x20foun'+'d\x20or\x20expir'+'ed','xdrss':function(_0x29cf72,_0x1268c2,_0x1c6408){return _0x29cf72(_0x1268c2,_0x1c6408);}},_0x525adc=_0x4e0cfe[_0x7daf8d(_0x4260a4._0x23dfc1,0xbe,_0x4260a4._0x4d9a7d,_0x4260a4._0x48eaea)]||_0x78a1c0;let _0x3353c7=await _0x1305a1[_0x7daf8d(0x1ca,0xd3,_0x4260a4._0x3384de,0x1b5)](loadStateStorage,_0x4e0cfe);_0x3353c7=_0x1305a1[_0x7daf8d(0x144,0x134,0x181,0x1b2)](cleanExpiredStates,_0x3353c7);const _0x3ad252=_0x3353c7[_0x54f49b(0x14b,0x100,_0x4260a4._0x45f261,0x153)]?.[_0x31985a];if(!_0x3ad252){if(_0x1305a1[_0x54f49b(_0x4260a4._0x18c6ee,0x4c,_0x4260a4._0x2280c5,_0x4260a4._0x140ed6)](_0x1305a1[_0x54f49b(_0x4260a4._0x3dc518,0xb3,0x11a,_0x4260a4._0x1b5b42)],_0x1305a1['ZKnOt'])){const _0x34bd08={};return _0x34bd08['stateId']=_0x31985a,_0x525adc[_0x54f49b(0xf8,_0x4260a4._0x3456ce,0x12b,0xa2)](_0x1305a1[_0x54f49b(_0x4260a4._0x40fd45,0x1eb,0x18d,0x17d)],_0x34bd08),null;}else{const _0x826a7b={};_0x826a7b[_0x7daf8d(_0x4260a4._0x37a461,_0x4260a4._0x53cafc,_0x4260a4._0x2e02eb,0x1fd)]=_0x97453f[_0x54f49b(0x1f5,_0x4260a4._0x1160b4,_0x4260a4._0x291a71,_0x4260a4._0x1487bc)],_0x826a7b[_0x54f49b(_0x4260a4._0x2d0e9e,0x59,_0x4260a4._0x2f6ed9,0xb1)+'n']=_0x50d4a1['error_desc'+_0x54f49b(0x11f,_0x4260a4._0x1b5e38,0x1c0,0x12c)],_0x2382bd['error'](_0x1305a1[_0x54f49b(0x22b,_0x4260a4._0x1c01ca,0x171,_0x4260a4._0x41e9f)],_0x826a7b);throw new _0x1ac744(_0x5c41a6[_0x7daf8d(_0x4260a4._0x3456ce,0xf9,_0x4260a4._0x3f9012,0xa2)+_0x54f49b(0x166,_0x4260a4._0x46d9ef,0xed,_0x4260a4._0x199109)]||_0x1cf380[_0x7daf8d(0x174,0x145,_0x4260a4._0x2e02eb,0x182)]);}}function _0x7daf8d(_0x249ae4,_0x2747ac,_0x217152,_0x15a3d9){return _0x195178(_0x249ae4-0x16,_0x2747ac-_0x2e69fc._0x2d32fc,_0x15a3d9,_0x217152-_0x2e69fc._0x551585);}delete _0x3353c7['states'][_0x31985a];function _0x54f49b(_0x4538e8,_0x5ce7c2,_0xd4b558,_0x4d2625){return _0x195178(_0x4538e8-_0x1fe04b._0x149d62,_0x5ce7c2-0x2f,_0x4538e8,_0x4d2625-_0x1fe04b._0x31c333);}return await _0x1305a1[_0x54f49b(_0x4260a4._0x5b7b6e,_0x4260a4._0x316ad5,_0x4260a4._0x35e261,0x139)](saveStateStorage,_0x3353c7,_0x4e0cfe),_0x3ad252;}export async function getProviderConfig(_0x44dcab,_0x19b56e={}){const _0x13b246={_0xea3749:0xee,_0x3126e4:0x10c,_0xcdf0e6:0xff,_0x29d5dc:0x36b,_0x2f9097:0x40f,_0x1e1a8a:0x3f4},_0x464517={_0x28c6a1:0x112,_0x56da60:0x19c,_0x1d78c5:0x298},_0x274661={_0x35a0cc:0x1b4,_0x4a5461:0x1de,_0x15bea8:0x277};function _0x134dbe(_0x29bdae,_0x23b3ac,_0x423e8e,_0x1734ce){return _0x195178(_0x29bdae-_0x274661._0x35a0cc,_0x23b3ac-_0x274661._0x4a5461,_0x29bdae,_0x1734ce-_0x274661._0x15bea8);}const _0x3c9e5c={'CfDkB':function(_0x52b44a,_0x118ae8){return _0x52b44a(_0x118ae8);}};function _0x4d1f74(_0x4d60e2,_0x21ac48,_0x3e298f,_0xec2704){return _0x195178(_0x4d60e2-_0x464517._0x28c6a1,_0x21ac48-_0x464517._0x56da60,_0x21ac48,_0xec2704- -_0x464517._0x1d78c5);}const _0xd8d3e7=await _0x3c9e5c[_0x4d1f74(-_0x13b246._0xea3749,-_0x13b246._0x3126e4,-0xaf,-_0x13b246._0xcdf0e6)](loadProvidersConfig,_0x19b56e);return _0xd8d3e7[_0x134dbe(_0x13b246._0x29d5dc,0x448,_0x13b246._0x2f9097,_0x13b246._0x1e1a8a)]?.[_0x44dcab]||null;}export function providerSupportsUserOAuth(_0x15f266){const _0x5ecff7={_0xacf308:0x25c,_0x4ffc9f:0x22c,_0x12fa2b:0x140,_0x16f3b7:0x22d,_0x59786e:0x281,_0x1206c1:0x258,_0x17d7df:0x1d8,_0x433c9f:0x24f,_0x19f466:0x15a,_0x2bcbf8:0x190,_0x847b90:0x1e8,_0x7e638:0x210,_0x379c1d:0x240,_0x8ff587:0x21c,_0x1ad1db:0x212,_0x22d9d3:0x1ea},_0x5925a2={_0x87632b:0x59,_0x3ba92d:0x2dd},_0x3255d7={_0xb485b5:0x22,_0x5cf505:0x1e5},_0x2a53d0={};function _0x221d8f(_0x3f000c,_0x4fbd53,_0xe34e1a,_0x233f0c){return _0x195178(_0x3f000c-0x156,_0x4fbd53-_0x3255d7._0xb485b5,_0x4fbd53,_0x3f000c- -_0x3255d7._0x5cf505);}_0x2a53d0[_0x4295c3(-_0x5ecff7._0xacf308,-0x22d,-0x22b,-_0x5ecff7._0x4ffc9f)]=function(_0x1fddb8,_0xc6e4b4){return _0x1fddb8===_0xc6e4b4;},_0x2a53d0['wYybT']=_0x4295c3(-0x13a,-0x1b5,-_0x5ecff7._0x12fa2b,-0x1fa)+'ps';function _0x4295c3(_0x5ad9ee,_0x2db6c7,_0x1180fb,_0x50c07d){return _0x195178(_0x5ad9ee-_0x5925a2._0x87632b,_0x2db6c7-0xb1,_0x5ad9ee,_0x2db6c7- -_0x5925a2._0x3ba92d);}const _0x3e5378=_0x2a53d0;if(!_0x15f266)return![];if(_0x3e5378[_0x4295c3(-0x1f7,-_0x5ecff7._0x16f3b7,-_0x5ecff7._0x59786e,-0x22f)](_0x15f266['type'],'github'))return!!(_0x15f266[_0x4295c3(-_0x5ecff7._0x1206c1,-_0x5ecff7._0x17d7df,-_0x5ecff7._0x433c9f,-0x195)]&&_0x15f266[_0x221d8f(-_0x5ecff7._0x19f466,-0xdc,-_0x5ecff7._0x2bcbf8,-0xcd)+_0x4295c3(-_0x5ecff7._0x847b90,-_0x5ecff7._0x7e638,-_0x5ecff7._0x379c1d,-0x262)]);if(_0x15f266[_0x221d8f(-0x58,-0x92,-0xb7,-0x31)]===_0x3e5378[_0x4295c3(-_0x5ecff7._0x8ff587,-0x1ea,-_0x5ecff7._0x1ad1db,-_0x5ecff7._0x22d9d3)])return![];return![];}export async function getOAuthEnabledProviders(_0x43963d={}){const _0x1b6df5={_0x2ca823:0x417,_0x583014:0x41e,_0x3f3e6a:0x44,_0x1386aa:0x26,_0xe5e609:0x3a,_0x2aa8cc:0x36f,_0x2dd76d:0x385,_0x359429:0x3d0,_0x151894:0x34c,_0x52827c:0x33a,_0x20574d:0x37c,_0x48de34:0x2d2,_0x545657:0x33c,_0x258331:0x348,_0x245f1b:0x1e,_0x50ef6b:0x96},_0x1d7a3e={_0x46e02b:0x60,_0x51a991:0x131},_0x5d5269={_0x298e35:0x61,_0x49e8c0:0x243};function _0x55bf92(_0x1c2d01,_0x37d00d,_0x43f3f0,_0x3c5e6c){return _0x195178(_0x1c2d01-0x168,_0x37d00d-_0x5d5269._0x298e35,_0x37d00d,_0x3c5e6c-_0x5d5269._0x49e8c0);}const _0xabf637=await loadProvidersConfig(_0x43963d),_0x4e0380=[];function _0x4c4f21(_0x3ea649,_0x48b035,_0x35bf26,_0x2d0699){return _0x195178(_0x3ea649-_0x1d7a3e._0x46e02b,_0x48b035-_0x1d7a3e._0x51a991,_0x48b035,_0x2d0699- -0x12e);}for(const [_0x3f2423,_0x181d5f]of Object[_0x55bf92(_0x1b6df5._0x2ca823,_0x1b6df5._0x583014,0x403,0x3db)](_0xabf637[_0x4c4f21(-_0x1b6df5._0x3f3e6a,_0x1b6df5._0x1386aa,_0x1b6df5._0xe5e609,0x4f)]||{})){if(providerSupportsUserOAuth(_0x181d5f)){const _0x233120={};_0x233120[_0x55bf92(_0x1b6df5._0x2aa8cc,_0x1b6df5._0x2dd76d,_0x1b6df5._0x359429,_0x1b6df5._0x151894)]=_0x3f2423,_0x233120[_0x55bf92(_0x1b6df5._0x52827c,_0x1b6df5._0x20574d,0x44c,_0x1b6df5._0x359429)]=_0x181d5f[_0x55bf92(0x42e,0x427,0x364,0x3d0)],_0x233120[_0x55bf92(_0x1b6df5._0x48de34,0x2fc,_0x1b6df5._0x545657,_0x1b6df5._0x258331)]=_0x181d5f['client_id'],_0x4e0380[_0x4c4f21(-0xee,-_0x1b6df5._0x245f1b,-0x6,-_0x1b6df5._0x50ef6b)](_0x233120);}}return _0x4e0380;}async function startGitHubOAuth(_0x255c11,_0x55b1a4={}){const _0x587d40={_0x419ba6:0x181,_0x1789b5:0x11f,_0x34652a:0x108,_0x45584a:0xf8,_0x25858d:0x73,_0x58699e:0x1f,_0x11223e:0x2b,_0xb34e4d:0xac,_0x202e28:0xd6,_0x4c89b7:0x57,_0x150df0:0xed,_0x1a0e48:0xee,_0x30fe79:0x174,_0x3430d6:0x165,_0x18ca2c:0xe9,_0x360883:0x151,_0x5cc0df:0xc4,_0x58be65:0x13a,_0x191fca:0x18f,_0xbb38b8:0x1e2,_0x2b8ca5:0xc9,_0x53c603:0x13d,_0x206499:0xeb,_0x246b5f:0xcf,_0x2dedcb:0x93,_0x1b8ff7:0xdb,_0x65ee34:0x7c,_0x3e879b:0x11b,_0x50a0e9:0x129,_0x31fe9d:0x132,_0x22460b:0x110,_0x11c07d:0xd2,_0x94f906:0x17e,_0x46f08f:0x5c,_0x1c0da5:0x9b,_0x353245:0x8e},_0x21764b={_0x3f81df:0x1f1},_0x5a5b20={_0x4c474b:0xb2},_0x29c048={'zsumC':_0x132e4d(-_0x587d40._0x419ba6,-_0x587d40._0x1789b5,-0x12b,-0x1bd),'HJeGY':function(_0x3ddc02,_0x426a52,_0x4e41e4,_0xbdc0c6){return _0x3ddc02(_0x426a52,_0x4e41e4,_0xbdc0c6);},'XMTDP':function(_0x4be463,_0x46a944){return _0x4be463||_0x46a944;},'tVEwx':'/profile','xaabe':function(_0x1e0aff,_0x46a4ff){return _0x1e0aff(_0x46a4ff);},'UZjod':_0x132e4d(-0x120,-0xc4,-_0x587d40._0x34652a,-0x192),'aSgpS':'redirect_u'+'ri','DrdmU':_0x3ef3d3(-_0x587d40._0x45584a,-0xaf,-_0x587d40._0x25858d,-_0x587d40._0x58699e)},{providerName:_0x353fa1,providerConfig:_0x9f535d,callbackUrl:_0x4c8602,redirectAfter:_0x4c1255}=_0x255c11,_0x4b33a1=_0x39aa79['randomByte'+'s'](-0x88c+0xdb1+0x1*-0x515)[_0x3ef3d3(-0xfd,-0xb7,-_0x587d40._0x11223e,-_0x587d40._0xb34e4d)](_0x29c048[_0x3ef3d3(-0x10e,-_0x587d40._0x202e28,-0xf7,-_0x587d40._0x4c89b7)]);await _0x29c048['HJeGY'](storeOAuthState,_0x4b33a1,{'provider_name':_0x353fa1,'provider_type':_0x3ef3d3(-_0x587d40._0x150df0,-_0x587d40._0x1a0e48,-_0x587d40._0x30fe79,-_0x587d40._0x3430d6),'redirect_after':_0x29c048[_0x132e4d(-_0x587d40._0x18ca2c,-_0x587d40._0x360883,-0xd7,-0x96)](_0x4c1255,_0x29c048['tVEwx'])},_0x55b1a4);const {authorize:_0xd1a919}=_0x29c048[_0x132e4d(-_0x587d40._0x5cc0df,-0xe0,-0x140,-_0x587d40._0x58be65)](getGitHubOAuthUrls,_0x9f535d);function _0x132e4d(_0x3d2de1,_0x5629c6,_0x36256f,_0x1bb4cd){return _0x3ccab1(_0x3d2de1-_0x5a5b20._0x4c474b,_0x5629c6-0x4d,_0x5629c6,_0x3d2de1- -0x52d);}const _0x5f406f=new URL(_0xd1a919);_0x5f406f[_0x132e4d(-_0x587d40._0x191fca,-_0x587d40._0xbb38b8,-0x10f,-0x209)+'ms'][_0x132e4d(-_0x587d40._0x2b8ca5,-0xfb,-_0x587d40._0x53c603,-0x6c)](_0x29c048[_0x3ef3d3(-0x125,-_0x587d40._0x206499,-0x11e,-0xf1)],_0x9f535d[_0x3ef3d3(-_0x587d40._0x246b5f,-0xa1,-0x34,-0xd3)]),_0x5f406f['searchPara'+'ms'][_0x132e4d(-0xc9,-_0x587d40._0x2dedcb,-_0x587d40._0x1b8ff7,-_0x587d40._0x65ee34)](_0x29c048[_0x132e4d(-0xcd,-_0x587d40._0x3e879b,-_0x587d40._0x50a0e9,-0xed)],_0x4c8602);function _0x3ef3d3(_0x2da2c8,_0x37e0eb,_0x5d03d6,_0x9a3781){return _0x3ccab1(_0x2da2c8-0x167,_0x37e0eb-_0x21764b._0x3f81df,_0x5d03d6,_0x37e0eb- -0x4ae);}return _0x5f406f['searchPara'+'ms']['set']('state',_0x4b33a1),_0x5f406f[_0x3ef3d3(-_0x587d40._0x31fe9d,-_0x587d40._0x22460b,-_0x587d40._0x11c07d,-_0x587d40._0x94f906)+'ms'][_0x3ef3d3(0xc,-0x4a,-_0x587d40._0x46f08f,-_0x587d40._0x1c0da5)](_0x29c048[_0x3ef3d3(-0xf5,-_0x587d40._0x353245,-0x8d,-0x96)],GITHUB_SCOPES),{'oauthUrl':_0x5f406f['toString'](),'state':_0x4b33a1};}export async function startOAuthFlow(_0x1fffd2,_0x338385={}){const _0x2f1946={_0xe62faa:0x295,_0x5b9f27:0x2ed,_0x3930c9:0x167,_0x312e1b:0x1a7,_0x4a779f:0x1bf,_0x58ab6a:0x221,_0x5506f4:0x159,_0x37710c:0xe5,_0x906cb2:0x12e,_0x1ded65:0x283,_0xd39f5:0xf7,_0x2499e5:0xf4,_0x594d0d:0x17a,_0x783a61:0x27a,_0x1f2e9d:0x28f,_0x489a78:0x269,_0x19d75d:0x26b,_0x2fb938:0x266,_0x29d3:0x1f6,_0x3863d2:0x1b4,_0x5ce4f7:0x286,_0x3db0f7:0x218,_0x45fcee:0x245,_0x7984b:0x247,_0x189c73:0x297,_0x394448:0x229,_0x83c666:0x259,_0x25d8c9:0x28d,_0x4054b8:0x2cb,_0x16be82:0x1c7,_0x226389:0xe1,_0x33d6f4:0x73,_0x32bdd8:0x1f,_0x1cd7c7:0x25c,_0x452e31:0x261,_0x8dfdd7:0x2d2,_0x37d17e:0x148,_0x58e716:0x21f,_0x38966d:0x333,_0x198029:0x33e,_0x12cb33:0x3d,_0x2a6f88:0x70,_0x5d9cca:0xb3,_0x1034fe:0xdc,_0x6fb1e3:0x112,_0x42f68d:0x10b,_0x24f5e8:0xc4,_0x492c9f:0x83,_0x495bed:0x2bf,_0x4dee0a:0x354,_0x3f0b0c:0x32f,_0x5d3564:0x126,_0x334b95:0xc3,_0x1a8347:0x1f0,_0x2fb162:0x1ad,_0x151717:0x1a2,_0x2e8c41:0x13b,_0x9b1cf2:0x1c1,_0x332c34:0x1d1,_0x1ecf58:0x168,_0x3aa71d:0x326,_0x12b246:0x287,_0x39842f:0x15,_0x5a313b:0x5b,_0x10d0ef:0x97,_0x4540ff:0x1ef,_0x1583d7:0x160,_0x2ac7cf:0x172,_0x4b815d:0x1b9,_0x51dae5:0x14,_0x23e708:0x122,_0x339419:0xef,_0x2ea132:0x10a,_0x1db887:0x1df,_0x5f2756:0x1ae,_0x48af18:0x21f,_0x3f2dc0:0x1d9,_0x26a8c5:0x274,_0x29f7c4:0x244,_0x9220d2:0x253,_0x2caa12:0x2be,_0x22e9da:0x2e2,_0x173157:0x348,_0x2633bb:0x36,_0x50301a:0xc7,_0x13245d:0x233,_0x2966fc:0x300,_0x59f895:0x267,_0x1401bb:0xc0,_0x4dfc64:0x12c,_0x230a86:0x143,_0x185856:0x17d,_0x449ece:0x217,_0x3c5c79:0x24f,_0x100d40:0xf3,_0x413faa:0x10e,_0xfcf86a:0x13d,_0x2a269a:0xf5,_0x561962:0x22c,_0x49355c:0x145,_0x52c1e2:0xec,_0x3e5b24:0x1d3,_0x178f4d:0x13d,_0x4c73f0:0x1d0,_0x3c60cd:0x27e,_0x4a0c24:0x22e,_0x4a5d12:0x21b,_0xd3b2c5:0x7e,_0xaf2c72:0x2d2,_0xd1ae4d:0x30c},_0x47faf1={_0x59a357:0x4f0},_0x4cf0e1={_0x3b9efe:0x9},_0x48af12={'LeBTY':_0xef3af2(_0x2f1946._0xe62faa,_0x2f1946._0x5b9f27,0x281,0x324)+_0x4da6fa(-0xe3,-0x1aa,-_0x2f1946._0x3930c9,-_0x2f1946._0x312e1b)+_0xef3af2(0x230,0x26a,0x1fc,_0x2f1946._0x4a779f)+_0xef3af2(_0x2f1946._0x58ab6a,0x22f,0x280,0x24d)+_0x4da6fa(-0x145,-_0x2f1946._0x5506f4,-0x13f,-0x15f)+_0x4da6fa(-_0x2f1946._0x37710c,-0xb7,-0x75,-0x54),'nUOvq':_0x4da6fa(-0x12b,-0xf2,-_0x2f1946._0x906cb2,-0xf8)+_0xef3af2(0x242,0x1ae,0x1e9,_0x2f1946._0x1ded65)+_0x4da6fa(-_0x2f1946._0xd39f5,-0x17f,-_0x2f1946._0x2499e5,-0xd1),'mojPG':'Provider\x20n'+_0xef3af2(0x1fb,_0x2f1946._0x594d0d,_0x2f1946._0x783a61,_0x2f1946._0x1f2e9d)+_0xef3af2(_0x2f1946._0x489a78,0x2ea,0x2f1,0x209),'DXgAa':_0xef3af2(_0x2f1946._0x19d75d,_0x2f1946._0x2fb938,0x203,0x247),'ULVSY':_0xef3af2(_0x2f1946._0x29d3,_0x2f1946._0x3863d2,_0x2f1946._0x5ce4f7,_0x2f1946._0x3db0f7)+_0xef3af2(_0x2f1946._0x45fcee,0x232,0x2ac,_0x2f1946._0x7984b)+'ired','XlZCo':function(_0x413aec,_0x2c79f3,_0x4737c5){return _0x413aec(_0x2c79f3,_0x4737c5);},'nbtwx':function(_0xc84853,_0x505617){return _0xc84853===_0x505617;},'YeCRe':_0xef3af2(0x202,0x1f5,_0x2f1946._0x189c73,_0x2f1946._0x394448),'QWWHM':_0xef3af2(_0x2f1946._0x5ce4f7,_0x2f1946._0x83c666,_0x2f1946._0x25d8c9,_0x2f1946._0x4054b8),'ShZuf':_0xef3af2(_0x2f1946._0x16be82,0x216,0x179,0x1e5)+_0x4da6fa(-0x7,-_0x2f1946._0x226389,-_0x2f1946._0x33d6f4,_0x2f1946._0x32bdd8),'Iocmq':function(_0x34f262,_0xb4ba5b){return _0x34f262===_0xb4ba5b;},'CbObN':function(_0x5981ea,_0x4ad8a4){return _0x5981ea===_0x4ad8a4;},'JzVmo':function(_0x25cd0e,_0x4b8f64){return _0x25cd0e!==_0x4b8f64;},'CMzGl':_0xef3af2(0x201,0x171,_0x2f1946._0x3db0f7,_0x2f1946._0x1cd7c7),'yfTlu':_0xef3af2(0x25c,_0x2f1946._0x452e31,0x229,0x248)};function _0xef3af2(_0x5361e8,_0x224713,_0x8c67b9,_0x562915){return _0x3ccab1(_0x5361e8-_0x4cf0e1._0x3b9efe,_0x224713-0x24,_0x562915,_0x5361e8- -0x1c3);}const _0x1859e2=_0x338385[_0xef3af2(0x277,0x1e4,_0x2f1946._0x8dfdd7,0x224)]||_0x78a1c0,{providerName:_0x4297be,callbackUrl:_0x5899e6,redirectAfter:_0x1926de}=_0x1fffd2;if(!_0x4297be)throw new Error(_0x48af12[_0x4da6fa(-0x1a2,-_0x2f1946._0x37d17e,-0x14a,-0x167)]);if(!_0x5899e6){if(_0x48af12['DXgAa']!=='DOwVN')throw new _0x59d5c2(_0x48af12[_0xef3af2(0x2a8,_0x2f1946._0x58e716,_0x2f1946._0x38966d,_0x2f1946._0x198029)]);else throw new Error(_0x48af12[_0x4da6fa(-_0x2f1946._0x12cb33,-0x54,-0x89,-0x27)]);}const _0xd2af62=await _0x48af12[_0x4da6fa(-0x169,-_0x2f1946._0x2a6f88,-0x100,-_0x2f1946._0x5d9cca)](getProviderConfig,_0x4297be,_0x338385);if(!_0xd2af62){if(_0x48af12[_0x4da6fa(-_0x2f1946._0x1034fe,-_0x2f1946._0x6fb1e3,-_0x2f1946._0x42f68d,-0x171)](_0x48af12[_0x4da6fa(-_0x2f1946._0x24f5e8,-0xa0,-_0x2f1946._0x492c9f,-0x118)],_0x48af12[_0xef3af2(_0x2f1946._0x495bed,0x31c,_0x2f1946._0x4dee0a,_0x2f1946._0x3f0b0c)]))throw new _0x12d671(_0x48af12['nUOvq']);else throw new Error(_0x4da6fa(-_0x2f1946._0x5d3564,-0x173,-_0x2f1946._0x37710c,-_0x2f1946._0x334b95)+_0xef3af2(0x1d3,0x224,0x193,_0x2f1946._0x1a8347)+_0x4297be);}if(!providerSupportsUserOAuth(_0xd2af62))throw new Error(_0x4da6fa(-_0x2f1946._0x2fb162,-_0x2f1946._0x151717,-_0x2f1946._0x2e8c41,-_0x2f1946._0x9b1cf2)+_0x4297be+(_0x4da6fa(-0x7,-0xa3,-0x9a,-0x2a)+_0xef3af2(0x20c,0x201,0x259,_0x2f1946._0x332c34)+'er\x20OAuth'));const _0x2d99ca={};_0x2d99ca[_0x4da6fa(-0x162,-0xd8,-_0x2f1946._0x1ecf58,-0xd5)+'me']=_0x4297be,_0x2d99ca[_0xef3af2(0x2b6,_0x2f1946._0x3aa71d,0x269,_0x2f1946._0x12b246)+'pe']=_0xd2af62[_0x4da6fa(_0x2f1946._0x39842f,-0xe,-_0x2f1946._0x5a313b,-_0x2f1946._0x10d0ef)];function _0x4da6fa(_0x147050,_0x46946d,_0xdcbe44,_0x412fa4){return _0x3ccab1(_0x147050-0x1f3,_0x46946d-0x16f,_0x412fa4,_0xdcbe44- -_0x47faf1._0x59a357);}_0x1859e2[_0x4da6fa(-0xbc,-0xf8,-0x122,-0x14d)](_0x48af12['ShZuf'],_0x2d99ca);if(_0x48af12[_0xef3af2(_0x2f1946._0x4540ff,_0x2f1946._0x1583d7,_0x2f1946._0x2ac7cf,_0x2f1946._0x4b815d)](_0xd2af62[_0x4da6fa(0x34,-0xc4,-0x5b,_0x2f1946._0x51dae5)],_0x4da6fa(-0x114,-_0x2f1946._0x23e708,-0x130,-0xce))){const _0xb596ba={};return _0xb596ba[_0x4da6fa(-_0x2f1946._0x339419,-0xf1,-0x168,-_0x2f1946._0x2ea132)+'me']=_0x4297be,_0xb596ba[_0xef3af2(_0x2f1946._0x1db887,0x1e4,0x21e,0x1c8)+_0x4da6fa(-0x1ca,-0x1ca,-0x141,-_0x2f1946._0x5f2756)]=_0xd2af62,_0xb596ba[_0xef3af2(0x1bc,_0x2f1946._0x48af18,_0x2f1946._0x3f2dc0,0x251)+'l']=_0x5899e6,_0xb596ba[_0xef3af2(_0x2f1946._0x26a8c5,_0x2f1946._0x29f7c4,_0x2f1946._0x9220d2,_0x2f1946._0x2caa12)+_0xef3af2(_0x2f1946._0x22e9da,_0x2f1946._0x173157,0x304,0x2ce)]=_0x1926de,startGitHubOAuth(_0xb596ba,_0x338385);}if(_0x48af12[_0x4da6fa(-0x62,-0x40,-0x54,-_0x2f1946._0x2633bb)](_0xd2af62[_0x4da6fa(-_0x2f1946._0x50301a,-0x86,-0x5b,-0xb3)],_0xef3af2(0x26d,_0x2f1946._0x13245d,_0x2f1946._0x2966fc,_0x2f1946._0x59f895)+'ps')){if(_0x48af12[_0x4da6fa(-_0x2f1946._0x1401bb,-_0x2f1946._0x4dfc64,-_0x2f1946._0x230a86,-0x14c)](_0x48af12[_0xef3af2(0x1e8,_0x2f1946._0x185856,0x1a0,0x15d)],_0x48af12[_0xef3af2(_0x2f1946._0x449ece,_0x2f1946._0x3c5c79,0x26f,0x292)]))throw new Error('Azure\x20DevO'+'ps\x20user\x20OA'+_0x4da6fa(-0x7b,-_0x2f1946._0x100d40,-0xfa,-0x178)+_0x4da6fa(-_0x2f1946._0x413faa,-0x168,-_0x2f1946._0xfcf86a,-_0x2f1946._0x2a269a)+_0xef3af2(_0x2f1946._0x561962,0x1a1,0x287,0x1ef));else throw new _0x32bdb7(_0x4da6fa(-_0x2f1946._0x49355c,-_0x2f1946._0x52c1e2,-0xe5,-0xf6)+_0xef3af2(_0x2f1946._0x3e5b24,_0x2f1946._0x178f4d,0x260,_0x2f1946._0x4c73f0)+_0x589bb4);}throw new Error(_0xef3af2(_0x2f1946._0x3c60cd,_0x2f1946._0x4a0c24,0x30f,_0x2f1946._0x4a5d12)+'d\x20provider'+_0x4da6fa(-0xc2,-_0x2f1946._0xd3b2c5,-0xbb,-0x136)+_0xd2af62[_0xef3af2(_0x2f1946._0xaf2c72,_0x2f1946._0xd1ae4d,0x298,0x342)]);}async function readSecretFile(_0x5a95de,_0x83994c){const _0x40a509={_0x9827de:0xe3,_0x563a6a:0xaa,_0x52031d:0x8b,_0x4e30b7:0xe5,_0x1b391f:0x104,_0x33ad5a:0x16,_0x166ac3:0xbc},_0xb8a3a5={_0x50a0ff:0x159},_0x1f4776={_0x83175f:0x147},_0x24275f={};function _0x3395d7(_0x446d73,_0x3983a8,_0x2d3fb4,_0x561bf3){return _0x3ccab1(_0x446d73-_0x1f4776._0x83175f,_0x3983a8-0x146,_0x2d3fb4,_0x561bf3- -0x4e);}_0x24275f[_0x3e18d7(-_0x40a509._0x9827de,-0x170,-0x148,-_0x40a509._0x563a6a)]=_0x3e18d7(-_0x40a509._0x52031d,-0xb2,-0x9d,-_0x40a509._0x4e30b7);function _0x3e18d7(_0x45c5eb,_0x372952,_0x11ab70,_0x550f60){return _0x195178(_0x45c5eb-_0xb8a3a5._0x50a0ff,_0x372952-0x21,_0x550f60,_0x45c5eb- -0x20a);}const _0x41afd7=_0x24275f,_0x2906df=_0x26bef5['join'](_0x5a95de,_0x83994c);return(await _0x5cf641['readFile'](_0x2906df,_0x41afd7['njGSX']))[_0x3e18d7(-0x79,-_0x40a509._0x1b391f,_0x40a509._0x33ad5a,-_0x40a509._0x166ac3)]();}async function exchangeGitHubCode(_0x5b0cd3,_0x27ebbf={}){const _0x476e39={_0x3919ed:0xb4,_0x414ade:0xa1,_0x4ebe65:0x106,_0x30354d:0x16d,_0x33a3c9:0x139,_0x198edc:0x10b,_0x5431c3:0x1c,_0x11516c:0x81,_0x2b6c04:0xa,_0x2708b7:0x52,_0x19199a:0x10b,_0x598899:0x129,_0x52d7cb:0x3f,_0x5b40fe:0x7b,_0x322521:0x9c,_0x4e3f33:0xf7,_0x4264de:0x71,_0xb9718d:0x8a,_0x1c7294:0x6,_0x214fda:0x2a,_0x5c4ea7:0x9,_0x18ee08:0x174,_0x800e91:0x158,_0x155291:0x9d,_0x126c1a:0x9b,_0x2c8aef:0x73,_0x46c696:0x20,_0x2ac420:0x16,_0x357ba7:0x5,_0x443a68:0x66,_0x107326:0xc5,_0x697a34:0x56,_0x272b7d:0x1d,_0x3992eb:0x80,_0x4b94cb:0x4d,_0x3bfc22:0x41,_0x214641:0xb,_0x56d2d2:0x188,_0x1312be:0x118,_0x4bda04:0x114,_0x553b3e:0xc,_0x3c2514:0x5d,_0xa76a17:0xa9,_0x30fc73:0x26,_0x12f4a1:0x48,_0x5f3b87:0x1,_0x1c9fa1:0xbe,_0x107a30:0x78,_0x226342:0xcd,_0x4fbe6f:0xa4,_0x225d26:0x49,_0x491c5e:0x42,_0x1d8cda:0x5f,_0x49446a:0xbe,_0x3be404:0x60,_0x5ec408:0xa3,_0x357cee:0xbe,_0x1b2746:0x67,_0x16e1f0:0x85,_0x2e032f:0x4c,_0x2f0b11:0x23,_0x2a441a:0xf6,_0x5eb203:0x28,_0x10b9b9:0x5a,_0x877978:0x30,_0x304aaa:0x7d,_0x2d6f2a:0x64,_0x42eb10:0x19,_0x299097:0x43,_0x13d06a:0x154,_0x14b073:0x112,_0x5376a4:0x34,_0x4cdb61:0x9a,_0x448994:0x76,_0x367204:0x65,_0x31ed2f:0xd,_0x4698b1:0x14,_0xc8fe90:0xc6,_0x9077ae:0x6c,_0x61398f:0x5a,_0x579fae:0x85,_0x583c6b:0x2b,_0x19f659:0xfd,_0x460608:0x18,_0x2b2784:0x59,_0x4e7361:0xd5,_0x5b6ec9:0x4d,_0x10a415:0x3f,_0x54bea6:0xe,_0x1f4b19:0x47,_0x12505c:0x7,_0x9af3c3:0x4,_0x4e9aa9:0x3e,_0x4c2a37:0x5c,_0x2dc45c:0x8f,_0x130667:0x5b,_0x4aecfb:0x61,_0x10fa03:0x25,_0x412724:0xcc,_0x214f10:0x6c,_0x426c6e:0xea,_0x1ff8a2:0x3e,_0x439c42:0x4f,_0x352dd0:0x96,_0x28d883:0x12d,_0x565b3a:0x4e,_0x1f92a3:0x62,_0x35dd42:0xaa,_0x4c10c0:0xef,_0x493b49:0xdb,_0x5a6685:0xa3,_0x218187:0x3c,_0x2ccae9:0xb7,_0x4a13e5:0x70,_0x56d689:0x2f,_0x6bf2f1:0x77},_0x40f27e={_0x24b6d5:0x198},_0x22c6b6={_0xdd3caf:0x17f};function _0x36d0c1(_0x4da128,_0x2d3731,_0x3ea66d,_0x1c37a3){return _0x3ccab1(_0x4da128-_0x22c6b6._0xdd3caf,_0x2d3731-0x1bf,_0x1c37a3,_0x2d3731- -0x3f2);}const _0xc99c24={'EFDjQ':_0x36d0c1(_0x476e39._0x3919ed,_0x476e39._0x414ade,0xcf,_0x476e39._0x4ebe65)+_0x697767(-_0x476e39._0x30354d,-0xa8,-_0x476e39._0x33a3c9,-_0x476e39._0x198edc)+_0x697767(-0x84,-0xfe,-0x117,-0xa8)+_0x697767(-_0x476e39._0x5431c3,-_0x476e39._0x11516c,-_0x476e39._0x2b6c04,-0x14),'BNtiH':function(_0x58eb9b,_0x4ceb4d){return _0x58eb9b!==_0x4ceb4d;},'GGFIe':_0x697767(-_0x476e39._0x2708b7,-_0x476e39._0x19199a,-_0x476e39._0x598899,-0x9c),'YnITl':_0x697767(-0x5c,_0x476e39._0x52d7cb,-0x8a,-0x3f),'SQIVL':_0x697767(-0x110,0x9,-0xe8,-_0x476e39._0x5b40fe)+'ider-servi'+_0x697767(-0x126,-_0x476e39._0x322521,-0xcb,-0xe1),'SxOKQ':function(_0x52520a){return _0x52520a();},'izwGw':function(_0x14958d,_0x27c1f5){return _0x14958d!==_0x27c1f5;},'NMSCB':'jITaD','QrQgi':'HBxWY','eZQtD':function(_0x1f224a,_0x364b85,_0x23d166){return _0x1f224a(_0x364b85,_0x23d166);},'niUfx':_0x697767(-_0x476e39._0x4e3f33,-_0x476e39._0x4264de,-0x26,-_0x476e39._0xb9718d),'DByNR':_0x36d0c1(_0x476e39._0x1c7294,0x23,0x14,0x3a)+_0x36d0c1(0x3e,-_0x476e39._0x214fda,-0x30,-_0x476e39._0x5c4ea7),'sRYmQ':'GitHub\x20tok'+_0x697767(-0x1a7,-_0x476e39._0x18ee08,-_0x476e39._0x800e91,-0x112)+'e\x20failed','oGUAQ':function(_0x48440c,_0x3a30ee){return _0x48440c===_0x3a30ee;},'wgMTr':_0x36d0c1(0xe,_0x476e39._0x155291,0x122,0x14),'rJtMs':_0x36d0c1(_0x476e39._0x126c1a,_0x476e39._0x2c8aef,0x45,0x60)+_0x697767(-_0x476e39._0x46c696,0xa,_0x476e39._0x2ac420,-_0x476e39._0x357ba7)},_0x21e478=_0x27ebbf[_0x697767(0x2e,0x1c,0x30,-_0x476e39._0x443a68)]||_0x78a1c0,{code:_0x1c5346,providerName:_0x23b544,providerConfig:_0x3dbf57}=_0x5b0cd3;let _0x589904;if(_0x3dbf57[_0x36d0c1(-_0x476e39._0x107326,-0x5f,-0xef,-_0x476e39._0x697a34)+_0x36d0c1(-0x55,-_0x476e39._0x272b7d,-0x57,-_0x476e39._0x3992eb)]){if(_0xc99c24[_0x36d0c1(_0x476e39._0x4b94cb,0x51,-_0x476e39._0x3bfc22,_0x476e39._0x214641)](_0xc99c24['GGFIe'],_0xc99c24[_0x36d0c1(0x12b,0xb1,0xe5,0x104)])){const {getSecretsPath:_0x265504}=await import(_0xc99c24[_0x697767(-0xf3,-_0x476e39._0x56d2d2,-_0x476e39._0x1312be,-_0x476e39._0x4bda04)]),_0x2b5012=_0xc99c24[_0x36d0c1(0x95,_0x476e39._0x553b3e,-_0x476e39._0x3c2514,0x22)](_0x265504);if(!_0x2b5012){if(_0xc99c24[_0x36d0c1(-0xf6,-0x6e,-_0x476e39._0xa76a17,-0xf)](_0xc99c24[_0x697767(0x17,-_0x476e39._0x30fc73,-_0x476e39._0x12f4a1,-_0x476e39._0x5f3b87)],_0xc99c24[_0x697767(-0x171,-0xa7,-_0x476e39._0x1c9fa1,-0xfc)]))throw new Error('Secrets\x20pa'+_0x697767(-_0x476e39._0x107a30,-0x40,-0x22,-0x9b)+_0x697767(-0x7d,-0xff,-_0x476e39._0x226342,-_0x476e39._0x4fbe6f));else throw new _0x37704e(_0xc99c24[_0x36d0c1(-0xd5,-_0x476e39._0x225d26,0x4,-0x94)]);}_0x589904=await _0xc99c24[_0x36d0c1(-0xc2,-_0x476e39._0x491c5e,-0x18,0xe)](readSecretFile,_0x2b5012,_0x3dbf57[_0x36d0c1(-0xcd,-_0x476e39._0x1d8cda,-_0x476e39._0x49446a,-0xe)+'ret']);}else{const _0x49ee1a={};_0x49ee1a[_0x36d0c1(0x6f,0x1f,-0x64,_0x476e39._0x3be404)]=_0x1acdb7,_0x49ee1a[_0x36d0c1(_0x476e39._0x52d7cb,_0x476e39._0x5ec408,0x25,_0x476e39._0x357cee)]=_0xc0f28e[_0x697767(-_0x476e39._0x1b2746,-_0x476e39._0x16e1f0,0x38,-_0x476e39._0x214641)],_0x49ee1a[_0x36d0c1(-_0x476e39._0x2e032f,0x1b,_0x476e39._0x2f0b11,0x6d)]=_0x175b25['client_id'],_0x5c6bcd[_0x697767(-_0x476e39._0x322521,-_0x476e39._0x2a441a,-0x136,-0x100)](_0x49ee1a);}}else throw new Error(_0x36d0c1(-_0x476e39._0x5eb203,0x1c,0x7f,0xb0)+'secret\x20con'+'figured\x20fo'+_0x36d0c1(-0x5d,-_0x476e39._0x10b9b9,-_0x476e39._0x877978,-0x14)+':\x20'+_0x23b544);const {token:_0x253604}=getGitHubOAuthUrls(_0x3dbf57),_0x546cc7={};_0x546cc7['client_id']=_0x3dbf57[_0x36d0c1(-0x5b,0x1b,-0x42,0x58)],_0x546cc7['client_sec'+'ret']=_0x589904;function _0x697767(_0x2cf724,_0x3d6a54,_0x2e5e46,_0x5a4309){return _0x195178(_0x2cf724-0x125,_0x3d6a54-0x52,_0x2e5e46,_0x5a4309- -_0x40f27e._0x24b6d5);}_0x546cc7[_0x697767(-_0x476e39._0x304aaa,-0x5f,-0x3a,-_0x476e39._0x2d6f2a)]=_0x1c5346;const _0x5bb5cb=await _0xc99c24['eZQtD'](fetch,_0x253604,{'method':_0xc99c24[_0x697767(-0x2b,_0x476e39._0x42eb10,-0x96,-_0x476e39._0x299097)],'headers':{'Accept':_0xc99c24['DByNR'],'Content-Type':_0xc99c24[_0x697767(-0x137,-_0x476e39._0x13d06a,-0x93,-0x10e)]},'body':JSON[_0x697767(-_0x476e39._0x14b073,-0x44,-_0x476e39._0x5376a4,-_0x476e39._0x4cdb61)](_0x546cc7)});if(!_0x5bb5cb['ok']){const _0x44071b=await _0x5bb5cb[_0x36d0c1(_0x476e39._0x448994,0x9b,_0x476e39._0x367204,_0x476e39._0x31ed2f)](),_0x581bea={};_0x581bea[_0x697767(-0xd2,_0x476e39._0x4698b1,-_0x476e39._0xc8fe90,-_0x476e39._0x9077ae)]=_0x5bb5cb['status'],_0x581bea[_0x36d0c1(_0x476e39._0x61398f,-0x31,-0x4,0x4b)]=_0x44071b,_0x21e478[_0x36d0c1(_0x476e39._0x579fae,0x70,0x86,0xb6)](_0xc99c24[_0x36d0c1(-0x5a,-0xa,_0x476e39._0x2c8aef,-_0x476e39._0x583c6b)],_0x581bea);throw new Error(_0x697767(-0x96,-_0x476e39._0x19f659,-0x69,-0xab)+'en\x20exchang'+_0x697767(_0x476e39._0x460608,-_0x476e39._0x3c2514,-0xc6,-_0x476e39._0x2b2784)+_0x5bb5cb[_0x697767(-_0x476e39._0x4e7361,-0xa7,-_0x476e39._0x2ac420,-_0x476e39._0x9077ae)]);}const _0x58e4f3=await _0x5bb5cb[_0x36d0c1(_0x476e39._0x5b6ec9,_0x476e39._0x10a415,-_0x476e39._0x54bea6,_0x476e39._0x1d8cda)]();if(_0x58e4f3[_0x697767(_0x476e39._0x1f4b19,_0x476e39._0x12505c,-_0x476e39._0x9af3c3,-0x3e)]){if(_0xc99c24[_0x36d0c1(_0x476e39._0x4e9aa9,-0x1c,0x6f,-0x2)]('NOOoe',_0xc99c24[_0x36d0c1(0x44,_0x476e39._0x4c2a37,_0x476e39._0x2dc45c,_0x476e39._0x272b7d)]))throw new _0x58fd12(_0x36d0c1(_0x476e39._0x5eb203,-_0x476e39._0x9077ae,-_0x476e39._0x130667,-0xe4)+'get\x20GitHub'+_0x697767(-_0x476e39._0x4aecfb,-0x51,-0xf1,-_0x476e39._0x107326)+':\x20'+_0x6c0703[_0x697767(_0x476e39._0x10fa03,-_0x476e39._0x412724,-0x25,-_0x476e39._0x214f10)]);else{const _0x50ba92={};_0x50ba92[_0x36d0c1(0x42,0x70,0xdb,_0x476e39._0x426c6e)]=_0x58e4f3[_0x697767(-_0x476e39._0x107326,0x10,-0xd4,-_0x476e39._0x1ff8a2)],_0x50ba92[_0x36d0c1(-0xb0,-_0x476e39._0x439c42,-0x73,_0x476e39._0x460608)+'n']=_0x58e4f3[_0x697767(-_0x476e39._0x352dd0,-0x127,-_0x476e39._0x28d883,-0xa3)+_0x697767(-_0x476e39._0x565b3a,-0xe5,-_0x476e39._0x1f92a3,-0x82)],_0x21e478[_0x36d0c1(0xb8,0x70,0xee,_0x476e39._0x35dd42)](_0xc99c24['rJtMs'],_0x50ba92);throw new Error(_0x58e4f3[_0x697767(-0xd7,-_0x476e39._0x4c10c0,-_0x476e39._0x493b49,-_0x476e39._0x5a6685)+_0x36d0c1(_0x476e39._0x218187,0x2c,-0x3a,-0x63)]||_0x58e4f3[_0x36d0c1(_0x476e39._0x2ccae9,_0x476e39._0x4a13e5,_0x476e39._0x56d689,_0x476e39._0x6bf2f1)]);}}return _0x58e4f3;}async function getGitHubUserInfo(_0x4c86f2,_0x5c26b1={}){const _0x5653ab={_0x558f67:0x68,_0x1f50e3:0x7f,_0x4422c0:0xe1,_0x23b9b6:0x8c,_0x43a7e7:0x62,_0x42bd8a:0x2d,_0x33c76e:0x43,_0x1de8c6:0x49,_0x4d5137:0x140,_0x4d2ac1:0xc3,_0x492049:0x81,_0x34e18e:0x4,_0x1bb2fe:0x6d,_0x377b00:0x29,_0x1279f5:0xac,_0x4de286:0x1d,_0x15af31:0x107,_0x19debd:0xb0,_0x27a00c:0x124,_0x4e81de:0xaf,_0x3ea49b:0xb1,_0x37938c:0xd,_0xd57ec7:0x31,_0x406867:0x20,_0x2bb03f:0xd8,_0x3a02b7:0x63},_0x3a1798={_0x6bfa0c:0x12,_0x5a4a8d:0x494},_0x22beba={_0x46ad59:0x73};function _0x8e710b(_0x50c418,_0x1f387f,_0x75ec98,_0x59ac28){return _0x3ccab1(_0x50c418-0x22,_0x1f387f-_0x22beba._0x46ad59,_0x75ec98,_0x1f387f- -0x3bc);}const _0x5c3a83={'xoQMD':function(_0x5b41bb,_0x496e39){return _0x5b41bb(_0x496e39);},'McRkO':function(_0x4e749e,_0xa2674a,_0x370bb9){return _0x4e749e(_0xa2674a,_0x370bb9);},'lzDPe':_0x46b94f(-_0x5653ab._0x558f67,-0xd1,-0x10e,-_0x5653ab._0x1f50e3)+_0x8e710b(_0x5653ab._0x4422c0,0x68,_0x5653ab._0x4422c0,0x3)+_0x8e710b(0xd7,_0x5653ab._0x23b9b6,0x87,_0x5653ab._0x43a7e7),'pJKvt':_0x46b94f(-0x78,_0x5653ab._0x42bd8a,-_0x5653ab._0x33c76e,-_0x5653ab._0x1de8c6)},{user:_0x218a60}=_0x5c3a83[_0x46b94f(-_0x5653ab._0x4d5137,-_0x5653ab._0x4d2ac1,-0x141,-0xda)](getGitHubOAuthUrls,_0x5c26b1),_0x3b288a=await _0x5c3a83[_0x46b94f(-0xe0,-0x178,-0x7b,-0xfb)](fetch,_0x218a60,{'headers':{'Authorization':_0x46b94f(0x3,_0x5653ab._0x492049,0x32,-_0x5653ab._0x34e18e)+_0x4c86f2,'Accept':_0x5c3a83[_0x46b94f(0x10,-_0x5653ab._0x1bb2fe,_0x5653ab._0x377b00,-0x67)],'X-GitHub-Api-Version':_0x5c3a83[_0x8e710b(-0xf,0x4d,_0x5653ab._0x1279f5,-_0x5653ab._0x4de286)]}});function _0x46b94f(_0xb29a6,_0x538e3b,_0x4690e0,_0x95dfa){return _0x3ccab1(_0xb29a6-0x1d6,_0x538e3b-_0x3a1798._0x6bfa0c,_0x538e3b,_0x95dfa- -_0x3a1798._0x5a4a8d);}if(!_0x3b288a['ok'])throw new Error(_0x46b94f(-0xec,-_0x5653ab._0x15af31,-_0x5653ab._0x19debd,-0x10e)+_0x46b94f(-_0x5653ab._0x27a00c,-_0x5653ab._0x4e81de,-0xa5,-_0x5653ab._0x3ea49b)+_0x8e710b(-0x13,0x1f,-_0x5653ab._0x37938c,_0x5653ab._0xd57ec7)+':\x20'+_0x3b288a['status']);return _0x3b288a[_0x46b94f(0x32,_0x5653ab._0x406867,-_0x5653ab._0x2bb03f,-_0x5653ab._0x3a02b7)]();}function calculateExpiry(_0x28bd22){const _0x3078b8={_0x17f7ba:0x5e2,_0x1828a0:0x5ca,_0x4afe80:0x88,_0x5ae411:0xb7,_0x4e8e7c:0x42},_0x42d824={_0x4a7f28:0x1bf,_0x32a23a:0xc7},_0x1d1c8d={};_0x1d1c8d['YuLyw']=function(_0x5537bc,_0x3979cc){return _0x5537bc+_0x3979cc;},_0x1d1c8d[_0x1101b1(_0x3078b8._0x17f7ba,0x5b2,0x59c,_0x3078b8._0x1828a0)]=function(_0x4b77a8,_0x441857){return _0x4b77a8*_0x441857;};const _0x2b5724=_0x1d1c8d;function _0x358be4(_0x5c33a0,_0xa8ff7,_0x2789d5,_0x261562){return _0x3ccab1(_0x5c33a0-0x15a,_0xa8ff7-0xff,_0x2789d5,_0x261562- -0x484);}if(!_0x28bd22)return null;function _0x1101b1(_0x28868c,_0x3423fa,_0x27f562,_0x137b60){return _0x3ccab1(_0x28868c-_0x42d824._0x4a7f28,_0x3423fa-_0x42d824._0x32a23a,_0x3423fa,_0x28868c-0x1a0);}return new Date(_0x2b5724[_0x358be4(-0xe9,-_0x3078b8._0x4afe80,-0x2b,-0x6b)](Date['now'](),_0x2b5724[_0x358be4(-_0x3078b8._0x5ae411,-0xce,-0x5c,-_0x3078b8._0x4e8e7c)](_0x28bd22,0x1*-0x225b+0x13c*0x4+0x2153)))['toISOStrin'+'g']();}function _0x195178(_0x297ba5,_0x150cac,_0x14df94,_0x22bd28){const _0x3ba0b8={_0x581fee:0xf2};return _0x3d4a(_0x22bd28- -_0x3ba0b8._0x581fee,_0x14df94);}export async function handleOAuthCallback(_0x1be1e5,_0x28f533={}){const _0x32499f={_0x571252:0x57e,_0x54a4f3:0x527,_0x1e3f30:0x104,_0x5e8057:0x48f,_0x48fb5f:0x487,_0x2554f2:0x4fc,_0x43e265:0x587,_0x1066d8:0x50f,_0x3bf7cc:0xd7,_0x2a3dcb:0xe1,_0x229bfc:0x3b8,_0x4d5660:0x427,_0x10f7bd:0x8,_0x198a26:0x18,_0x5bf8b4:0x10e,_0x2f9f29:0x27,_0x1eb750:0x71,_0x284b16:0xcf,_0x2175cb:0xb2,_0x1c2348:0x6a,_0x27faba:0x1ca,_0x45ce12:0x133,_0x406ae1:0x18c,_0x3ef7ba:0x112,_0x39c2c0:0xec,_0x1edba4:0x518,_0x2d71f5:0x524,_0x13b556:0x4c8,_0x424e46:0x3ea,_0x513923:0x45c,_0x311ffd:0x109,_0x276b4a:0x4b5,_0x2667ba:0x52b,_0x520bb1:0x543,_0x3eb59e:0x4df,_0x3451e9:0x8d,_0x28b38e:0xe2,_0x515870:0x106,_0x3909d2:0x479,_0x4d3f4f:0x459,_0x185d39:0x89,_0x206f21:0xa3,_0x5cb6c4:0x26,_0x5699c2:0x506,_0x432dd5:0x555,_0x2cc8d9:0x3e2,_0x3d76a7:0x440,_0xdb5495:0x46f,_0x568a7b:0x565,_0x1a0c77:0x514,_0x45a4c9:0x51e,_0x15d3d2:0x3e6,_0x4840c0:0x410,_0x1ab7e5:0x473,_0x4a5146:0x81,_0x12c147:0x47,_0x388125:0x50,_0x2a2c21:0x24,_0x4c978b:0x83,_0x5deeab:0x48a,_0x23a6cd:0x458,_0x594c76:0x483,_0x2a7690:0x454,_0x344740:0x561,_0x7db2ca:0x498,_0x21b4a9:0x527,_0x172121:0x4e1,_0x4fc23d:0x4bb,_0x5b5102:0x40c,_0x4735d1:0x3db,_0x260b79:0x34,_0x2b1594:0x1d,_0x6703cd:0xec,_0x12cd3a:0x36,_0x4a7f7f:0xd1,_0x4cb365:0x489,_0x522f9b:0x452,_0x578eed:0x44a,_0x1bee09:0x410,_0x46ae52:0x4cf,_0x3647ee:0x47c,_0x528f10:0x494,_0x556990:0x44d,_0x3e411c:0xae,_0x340928:0x11e,_0x50cdb5:0xaa,_0x31f011:0x14f,_0x12523d:0x10d,_0xa1eb93:0x57a,_0x12621e:0x54d,_0x5565a9:0x496,_0x1e5cbb:0x498,_0x55ce29:0x434,_0x422c5f:0x550,_0x57c3ee:0x48b,_0xab3a30:0x4d4,_0x46e885:0x46d,_0x4d2368:0x4d7,_0x403bbc:0x4be,_0x63680:0x51d,_0x387116:0x542,_0x554c5b:0x50b,_0x496f52:0x7b,_0x581897:0x5b,_0x5c3764:0x48,_0x3a3234:0x41,_0x2c73bc:0xa5,_0x293c58:0x4cf,_0x5ab1df:0x4c1,_0x1e552b:0x558,_0x39f7d9:0x87,_0x257545:0x31,_0x431a37:0x55e,_0x490986:0x5a,_0x5e990d:0x93,_0x1ab4ff:0x67,_0x4f25ce:0x4,_0x154fb1:0x4a6,_0x20e18c:0x134,_0x3451f4:0x162,_0x230d4c:0x472,_0x1c2d58:0x43a,_0x1b7b2d:0x559,_0x212ca2:0x56e,_0x1b130e:0x4da},_0x33bfb6={_0x157607:0xa2},_0x160240={_0x2f64c6:0x175,_0x252181:0xa5},_0x2dad3a={'zEqeR':'Authorizat'+_0x250b7a(0x4e4,_0x32499f._0x571252,_0x32499f._0x54a4f3,0x530)+_0x531a35(0xbf,0x11a,0x121,_0x32499f._0x1e3f30),'oeblA':function(_0x2e1418,_0x30700a){return _0x2e1418!==_0x30700a;},'jfUjt':'sZbtw','kGVuO':'VdQMV','cnRBh':function(_0x52136c,_0x59c46f){return _0x52136c===_0x59c46f;},'OyoQZ':_0x531a35(0xe2,0xf6,0xe8,0xed),'QYEDZ':_0x250b7a(_0x32499f._0x5e8057,0x491,0x47b,_0x32499f._0x48fb5f)+_0x250b7a(_0x32499f._0x2554f2,0x4e1,_0x32499f._0x43e265,_0x32499f._0x1066d8)+_0x531a35(0x85,0xbd,_0x32499f._0x3bf7cc,_0x32499f._0x2a3dcb),'DsBub':_0x250b7a(0x3de,_0x32499f._0x229bfc,0x437,_0x32499f._0x4d5660)+'\x20required','efHnF':_0x531a35(_0x32499f._0x10f7bd,0x7d,0xc0,_0x32499f._0x198a26)+_0x531a35(_0x32499f._0x5bf8b4,0xbe,_0x32499f._0x2f9f29,0xf3)+_0x531a35(0x5c,_0x32499f._0x1eb750,0x98,_0x32499f._0x284b16),'jPcIY':function(_0x40b208,_0x4786d3,_0x21144b){return _0x40b208(_0x4786d3,_0x21144b);},'HAluQ':_0x531a35(_0x32499f._0x2175cb,_0x32499f._0x1c2348,0x98,0x64),'LEHhG':function(_0x547d47,_0x3bf222,_0x37e277){return _0x547d47(_0x3bf222,_0x37e277);},'BlvkM':function(_0x21f453,_0x5d85bf,_0x43aada,_0x5078ed,_0x50a3f9){return _0x21f453(_0x5d85bf,_0x43aada,_0x5078ed,_0x50a3f9);},'NJKrD':function(_0x13189a,_0x302e77){return _0x13189a(_0x302e77);},'UJSIQ':_0x531a35(_0x32499f._0x27faba,_0x32499f._0x45ce12,0x11c,0xa9)+_0x531a35(_0x32499f._0x406ae1,_0x32499f._0x3ef7ba,0x1a2,_0x32499f._0x39c2c0),'Svkfc':_0x250b7a(0x49b,0x5b0,_0x32499f._0x1edba4,_0x32499f._0x2d71f5)+_0x250b7a(_0x32499f._0x13b556,_0x32499f._0x424e46,0x49f,_0x32499f._0x513923),'MASXu':_0x531a35(0x130,0xe9,_0x32499f._0x311ffd,0x5a),'ZHqdO':function(_0x4b843c,_0x5a9e33){return _0x4b843c+_0x5a9e33;}},_0x4e4321=_0x28f533[_0x250b7a(_0x32499f._0x276b4a,_0x32499f._0x2667ba,_0x32499f._0x520bb1,_0x32499f._0x3eb59e)]||_0x78a1c0,{code:_0x3b31b4,state:_0xa5c427,userId:_0x59f2f6}=_0x1be1e5;if(!_0x3b31b4){if(_0x2dad3a['oeblA'](_0x2dad3a['jfUjt'],_0x2dad3a[_0x531a35(_0x32499f._0x3451e9,_0x32499f._0x28b38e,_0x32499f._0x515870,0x138)]))throw new Error('Authorizat'+'ion\x20code\x20i'+'s\x20required');else throw new _0x4eca06(_0x2dad3a['zEqeR']);}if(!_0xa5c427){if(_0x2dad3a['cnRBh'](_0x2dad3a[_0x531a35(0xda,0x132,0xdf,0x112)],_0x250b7a(_0x32499f._0x3909d2,0x484,0x48d,_0x32499f._0x4d3f4f)))throw new _0x5dbfdb(_0x531a35(0xdb,_0x32499f._0x185d39,_0x32499f._0x206f21,_0x32499f._0x5cb6c4)+_0x250b7a(_0x32499f._0x5699c2,0x5b2,_0x32499f._0x432dd5,0x54c)+_0x250b7a(_0x32499f._0x2cc8d9,_0x32499f._0x3d76a7,0x495,_0x32499f._0xdb5495)+':\x20'+_0x343e36);else throw new Error(_0x2dad3a['QYEDZ']);}function _0x250b7a(_0x32e094,_0x13a50c,_0x45d481,_0x1884db){return _0x3ccab1(_0x32e094-0x2b,_0x13a50c-_0x160240._0x2f64c6,_0x13a50c,_0x1884db-_0x160240._0x252181);}if(!_0x59f2f6)throw new Error(_0x2dad3a['DsBub']);const _0x3883ae=await consumeOAuthState(_0xa5c427,_0x28f533);if(!_0x3883ae)throw new Error('Invalid\x20or'+_0x250b7a(0x518,_0x32499f._0x568a7b,_0x32499f._0x1a0c77,0x4db)+'Auth\x20state');const {provider_name:_0x3f8f9c,provider_type:_0x3775ec,redirect_after:_0x96220e}=_0x3883ae;function _0x531a35(_0x55cdf9,_0x58bda2,_0x82b90d,_0x5b63ee){return _0x195178(_0x55cdf9-0x1d4,_0x58bda2-_0x33bfb6._0x157607,_0x82b90d,_0x58bda2- -0x4e);}const _0x1f5fbc={};_0x1f5fbc[_0x531a35(-0x63,0x32,0x6a,0x34)+'me']=_0x3f8f9c,_0x1f5fbc[_0x250b7a(0x580,0x52f,0x4d5,_0x32499f._0x45a4c9)+'pe']=_0x3775ec,_0x1f5fbc['userId']=_0x59f2f6,_0x4e4321[_0x250b7a(_0x32499f._0x15d3d2,_0x32499f._0x4840c0,0x48b,_0x32499f._0x1ab7e5)](_0x2dad3a[_0x531a35(_0x32499f._0x4a5146,0xa3,_0x32499f._0x12c147,_0x32499f._0x388125)],_0x1f5fbc);const _0x2f339b=await _0x2dad3a[_0x531a35(-_0x32499f._0x2a2c21,0x45,_0x32499f._0x4c978b,-0x27)](getProviderConfig,_0x3f8f9c,_0x28f533);if(!_0x2f339b)throw new Error(_0x250b7a(0x4a7,_0x32499f._0x5deeab,0x508,0x4b0)+_0x250b7a(_0x32499f._0x23a6cd,_0x32499f._0x594c76,_0x32499f._0x2a7690,0x43b)+_0x3f8f9c);if(_0x3775ec===_0x2dad3a[_0x250b7a(_0x32499f._0x344740,_0x32499f._0x7db2ca,0x502,0x51f)]){const _0x453157={};_0x453157[_0x250b7a(0x4c2,_0x32499f._0x21b4a9,0x485,_0x32499f._0x172121)]=_0x3b31b4,_0x453157['providerNa'+'me']=_0x3f8f9c,_0x453157[_0x250b7a(_0x32499f._0x4fc23d,_0x32499f._0x5b5102,_0x32499f._0x4735d1,0x447)+_0x531a35(_0x32499f._0x260b79,0x59,_0x32499f._0x2b1594,_0x32499f._0x6703cd)]=_0x2f339b;const _0x5d4b82=await _0x2dad3a[_0x531a35(-_0x32499f._0x12cd3a,0x4f,0x62,_0x32499f._0x4a7f7f)](exchangeGitHubCode,_0x453157,_0x28f533),_0x4e2116=await _0x2dad3a[_0x250b7a(_0x32499f._0x4cb365,_0x32499f._0x522f9b,0x412,_0x32499f._0x578eed)](getGitHubUserInfo,_0x5d4b82['access_tok'+'en'],_0x2f339b);await _0x2dad3a['BlvkM'](storeUserGitToken,_0x59f2f6,_0x3f8f9c,{'access_token':_0x5d4b82[_0x250b7a(0x3ea,_0x32499f._0x1bee09,_0x32499f._0x46ae52,_0x32499f._0x3647ee)+'en'],'refresh_token':_0x5d4b82[_0x250b7a(0x45d,0x476,_0x32499f._0x528f10,_0x32499f._0x556990)+_0x531a35(_0x32499f._0x3e411c,0x105,_0x32499f._0x340928,_0x32499f._0x50cdb5)],'expires_at':_0x2dad3a[_0x531a35(_0x32499f._0x31f011,_0x32499f._0x12523d,0x189,0x110)](calculateExpiry,_0x5d4b82[_0x250b7a(0x573,0x565,_0x32499f._0xa1eb93,_0x32499f._0x12621e)]),'github_login':_0x4e2116['login'],'github_user_id':_0x4e2116['id']},_0x28f533);const _0x4e118d={};_0x4e118d[_0x250b7a(_0x32499f._0x5565a9,0x456,_0x32499f._0x1e5cbb,_0x32499f._0x55ce29)]=_0x59f2f6,_0x4e118d[_0x250b7a(0x49e,0x49a,0x3be,0x42d)+'me']=_0x3f8f9c,_0x4e118d[_0x250b7a(_0x32499f._0x422c5f,0x462,_0x32499f._0x57c3ee,0x4f6)+'n']=_0x4e2116[_0x250b7a(_0x32499f._0xab3a30,_0x32499f._0x46e885,0x55b,_0x32499f._0x4d2368)],_0x4e4321[_0x250b7a(0x4f7,_0x32499f._0x403bbc,0x4ab,0x473)](_0x250b7a(_0x32499f._0x528f10,0x4fa,_0x32499f._0x63680,0x50a)+_0x250b7a(0x58b,_0x32499f._0x387116,0x529,_0x32499f._0x554c5b)+'ed\x20success'+_0x531a35(_0x32499f._0x496f52,0x73,0xb3,_0x32499f._0x581897),_0x4e118d);const _0x5c047d=new URL(_0x96220e,_0x2dad3a['UJSIQ']);return _0x5c047d[_0x531a35(0x57,_0x32499f._0x5c3764,_0x32499f._0x3a3234,0x3)+'ms'][_0x531a35(0x132,0x10e,0x159,_0x32499f._0x2c73bc)](_0x2dad3a[_0x250b7a(0x520,0x463,_0x32499f._0x293c58,_0x32499f._0x5ab1df)],_0x2dad3a[_0x250b7a(_0x32499f._0x1e552b,0x4db,_0x32499f._0x5deeab,0x4f7)]),_0x5c047d[_0x531a35(_0x32499f._0x39f7d9,0x48,-_0x32499f._0x257545,0x7f)+'ms'][_0x250b7a(0x576,0x503,_0x32499f._0x431a37,0x509)]('provider',_0x3f8f9c),{'success':!![],'redirectUrl':_0x2dad3a[_0x531a35(_0x32499f._0x490986,_0x32499f._0x5e990d,_0x32499f._0x1ab4ff,_0x32499f._0x4f25ce)](_0x5c047d[_0x250b7a(0x4bc,0x4bc,0x411,_0x32499f._0x154fb1)],_0x5c047d[_0x531a35(0xf1,_0x32499f._0x20e18c,_0x32499f._0x3451f4,0xac)]),'providerName':_0x3f8f9c};}throw new Error('Unsupporte'+_0x250b7a(0x41e,0x42c,_0x32499f._0x230d4c,_0x32499f._0x1c2d58)+_0x250b7a(0x48f,_0x32499f._0x1b7b2d,_0x32499f._0x212ca2,_0x32499f._0x1b130e)+_0x3775ec);}function _0x3ccab1(_0x269769,_0x3e1fab,_0x22a82f,_0x9920a9){const _0x349dab={_0x574f71:0x216};return _0x3d4a(_0x9920a9-_0x349dab._0x574f71,_0x22a82f);}async function refreshGitHubToken(_0x44efb9,_0x1e9b33={}){const _0x7d1fc4={_0x45a90a:0xb5,_0x26604c:0x369,_0x55528f:0x3e5,_0x2ea1af:0x22d,_0x2a866a:0x35e,_0x4aebc0:0x321,_0xfa6de9:0x31f,_0x35ed92:0x299,_0x1eaa66:0x311,_0x18097e:0x59,_0x8e4814:0xbe,_0x348d23:0x7f,_0x485d7e:0x4e,_0x5ab8d0:0xe,_0x4ae53c:0x8b,_0x5155f1:0x2a,_0x5d67b8:0x32b,_0x457428:0x38f,_0x50b966:0x69,_0x3abf43:0xa8,_0x5bfc7f:0x68,_0x1dbd32:0x301,_0x1aa661:0x340,_0x5e3a2:0x7d,_0x24c042:0xa,_0x263e7a:0x17,_0x33a76f:0x35,_0x22a3d2:0x38,_0x147955:0x7e,_0x3cadf0:0xa1,_0x13d89d:0x2a4,_0x26f7d3:0x2cd,_0x3138de:0xd1,_0x1f126c:0x8f,_0x163437:0x32e,_0x204dce:0x2b5,_0x1eba15:0x3f8,_0x3a63ae:0x393,_0x1d0781:0x390,_0x177ddc:0x348,_0x354afe:0x388,_0x10362d:0x3a0,_0x4f5470:0x120,_0x191bc2:0x7a,_0x39f749:0x174,_0x27b909:0xfa,_0xffd2e:0x12d,_0x206345:0x14e,_0x5d1b57:0xc2,_0x8cbbf8:0x355,_0x6a6fa5:0x2fb,_0x46f2a7:0x406,_0x35702a:0x37e,_0x460cd2:0x3fb,_0x153edb:0x381,_0x2ef14d:0x45,_0x1a1b3f:0x97,_0x4dc561:0x4b,_0x19ec9a:0x1d,_0x1902b1:0x24,_0x5cd27a:0x353,_0x5c09c6:0x10,_0x59df86:0x4,_0x31ddb6:0x75,_0x138b43:0x1fa,_0x5f3519:0x272,_0x1a4218:0x28e,_0x1d52cc:0xb1,_0x28c6af:0x97,_0x5b8308:0x30c,_0x40d105:0xdc,_0x268998:0x2c1,_0x1dd26a:0x39a,_0x338e63:0x3c9,_0x107924:0x98,_0x86282d:0x6,_0x19f032:0xe7,_0xb653c5:0x370,_0x5c7e7e:0x26f,_0x78a35b:0x25f,_0x4b7859:0x324,_0x301e95:0x66,_0x5b58f8:0x21,_0x109ab7:0x29f,_0x3ec586:0x361,_0x5357e9:0x2ad,_0x260a87:0x2ef},_0x26605f={_0x963701:0x6f,_0x18a5b:0x10d,_0x384ad6:0x95},_0x5e4889={'kPhIR':function(_0x48f75b,_0x172f13){return _0x48f75b>_0x172f13;},'ZVLuL':function(_0x70b0ab,_0xdb1360){return _0x70b0ab-_0xdb1360;},'dswnc':_0x2c4653(_0x7d1fc4._0x45a90a,0x3d,0x7a,0x88)+_0x57e7b7(0x2db,_0x7d1fc4._0x26604c,_0x7d1fc4._0x55528f,0x386)+_0x57e7b7(_0x7d1fc4._0x2ea1af,0x2b0,0x33a,0x319),'Jsnci':function(_0x320b96,_0x27fd89,_0x967701){return _0x320b96(_0x27fd89,_0x967701);},'lBEVL':function(_0x14b65b,_0x28815c){return _0x14b65b(_0x28815c);},'rzFND':function(_0x50ffce,_0x33b498,_0x2e3889){return _0x50ffce(_0x33b498,_0x2e3889);},'ninAh':_0x57e7b7(0x38e,0x307,_0x7d1fc4._0x2a866a,0x36c),'ONObv':'applicatio'+_0x57e7b7(0x26f,0x2b9,_0x7d1fc4._0x4aebc0,0x295),'Ntapa':_0x57e7b7(_0x7d1fc4._0xfa6de9,_0x7d1fc4._0x35ed92,_0x7d1fc4._0x1eaa66,0x2a5)+_0x2c4653(0xd3,0x11a,_0x7d1fc4._0x18097e,_0x7d1fc4._0x8e4814),'kzpSd':function(_0x407bd7,_0xa4db1e){return _0x407bd7!==_0xa4db1e;},'TXReb':'hntwS','iEzXT':_0x2c4653(_0x7d1fc4._0x348d23,_0x7d1fc4._0x485d7e,-_0x7d1fc4._0x5ab8d0,0x58)+_0x2c4653(-0x86,-_0x7d1fc4._0x4ae53c,-_0x7d1fc4._0x18097e,-0x1c)+_0x2c4653(-0x7c,-0x80,-_0x7d1fc4._0x5155f1,-0xc)},_0x5dd150=_0x1e9b33[_0x57e7b7(0x35c,_0x7d1fc4._0x5d67b8,0x359,_0x7d1fc4._0x457428)]||_0x78a1c0;function _0x57e7b7(_0xb7ce99,_0xc6c119,_0x40a961,_0x47795f){return _0x195178(_0xb7ce99-0x1ae,_0xc6c119-0x4b,_0xb7ce99,_0xc6c119-0x1f9);}const {refreshToken:_0x194527,providerName:_0x1bda65,providerConfig:_0x2b02ca}=_0x44efb9,{getSecretsPath:_0x3646d1}=await import(_0x5e4889[_0x2c4653(0xaf,_0x7d1fc4._0x50b966,0x3d,0x35)]),_0x52a5ed=_0x3646d1();function _0x2c4653(_0x430667,_0x47ed42,_0x5e5aa9,_0x203fd2){return _0x195178(_0x430667-_0x26605f._0x963701,_0x47ed42-_0x26605f._0x18a5b,_0x5e5aa9,_0x203fd2- -_0x26605f._0x384ad6);}if(!_0x52a5ed)throw new Error('Secrets\x20pa'+_0x2c4653(-0x2e,_0x7d1fc4._0x3abf43,0x4,_0x7d1fc4._0x5bfc7f)+_0x57e7b7(_0x7d1fc4._0x1dbd32,0x2ed,_0x7d1fc4._0x1aa661,0x293));const _0x10983d=await _0x5e4889['Jsnci'](readSecretFile,_0x52a5ed,_0x2b02ca[_0x2c4653(0x21,_0x7d1fc4._0x5e3a2,0x3c,-_0x7d1fc4._0x24c042)+_0x2c4653(-_0x7d1fc4._0x263e7a,-0x58,_0x7d1fc4._0x33a76f,_0x7d1fc4._0x22a3d2)]),{token:_0x4c19f2}=_0x5e4889[_0x2c4653(0x20,0x63,_0x7d1fc4._0x147955,_0x7d1fc4._0x3cadf0)](getGitHubOAuthUrls,_0x2b02ca),_0x2d6d42=await _0x5e4889[_0x57e7b7(0x27d,0x2f3,_0x7d1fc4._0x13d89d,_0x7d1fc4._0x26f7d3)](fetch,_0x4c19f2,{'method':_0x5e4889[_0x2c4653(_0x7d1fc4._0x3138de,_0x7d1fc4._0x1f126c,0xe6,0x9e)],'headers':{'Accept':_0x5e4889[_0x57e7b7(0x337,_0x7d1fc4._0x163437,_0x7d1fc4._0x204dce,0x378)],'Content-Type':_0x5e4889['ONObv']},'body':JSON['stringify']({'client_id':_0x2b02ca['client_id'],'client_secret':_0x10983d,'grant_type':_0x5e4889[_0x57e7b7(_0x7d1fc4._0x1eba15,_0x7d1fc4._0x3a63ae,_0x7d1fc4._0x1d0781,0x304)],'refresh_token':_0x194527})});if(!_0x2d6d42['ok']){if(_0x5e4889[_0x57e7b7(0x3cc,_0x7d1fc4._0x177ddc,0x3ac,0x349)](_0x5e4889[_0x57e7b7(0x327,_0x7d1fc4._0x354afe,_0x7d1fc4._0x10362d,0x343)],_0x5e4889[_0x2c4653(_0x7d1fc4._0x4f5470,_0x7d1fc4._0x191bc2,_0x7d1fc4._0x39f749,_0x7d1fc4._0x27b909)]))_0x5e4889['kPhIR'](_0x5e4889[_0x2c4653(_0x7d1fc4._0xffd2e,_0x7d1fc4._0x206345,_0x7d1fc4._0x8e4814,_0x7d1fc4._0x5d1b57)](_0x5c3952,_0x54e8b1[_0x57e7b7(_0x7d1fc4._0x8cbbf8,_0x7d1fc4._0x6a6fa5,0x338,0x272)]),_0x3e97c9)&&delete _0x2b7c68['states'][_0x1b8822];else{const _0x433195=await _0x2d6d42[_0x57e7b7(_0x7d1fc4._0x46f2a7,_0x7d1fc4._0x35702a,_0x7d1fc4._0x460cd2,_0x7d1fc4._0x153edb)](),_0x8d3d1f={};_0x8d3d1f[_0x2c4653(0xd3,0x13,_0x7d1fc4._0x2ef14d,_0x7d1fc4._0x1a1b3f)]=_0x2d6d42['status'],_0x8d3d1f[_0x2c4653(-0x6f,-_0x7d1fc4._0x4dc561,-_0x7d1fc4._0x19ec9a,_0x7d1fc4._0x1902b1)]=_0x433195,_0x5dd150[_0x57e7b7(0x363,_0x7d1fc4._0x5cd27a,0x360,0x3a7)](_0x5e4889[_0x2c4653(0x4,_0x7d1fc4._0x5c09c6,_0x7d1fc4._0x59df86,_0x7d1fc4._0x31ddb6)],_0x8d3d1f);throw new Error(_0x57e7b7(0x299,0x2e6,0x34e,0x283)+_0x57e7b7(_0x7d1fc4._0x138b43,_0x7d1fc4._0x5f3519,_0x7d1fc4._0x1a4218,0x2e9)+'\x20failed:\x20'+_0x2d6d42[_0x2c4653(_0x7d1fc4._0x1d52cc,0x116,0x42,_0x7d1fc4._0x28c6af)]);}}const _0x5781d7=await _0x2d6d42[_0x57e7b7(_0x7d1fc4._0x5b8308,0x322,0x297,0x324)]();if(_0x5781d7[_0x2c4653(0x14d,0xb7,_0x7d1fc4._0x40d105,0xc5)]){const _0x40fd88={};_0x40fd88['error']=_0x5781d7[_0x57e7b7(_0x7d1fc4._0x268998,0x353,_0x7d1fc4._0x1dd26a,_0x7d1fc4._0x338e63)],_0x40fd88[_0x2c4653(0x52,0x48,_0x7d1fc4._0x107924,_0x7d1fc4._0x86282d)+'n']=_0x5781d7[_0x2c4653(0x3c,0x60,_0x7d1fc4._0x19f032,0x60)+'ription'],_0x5dd150[_0x57e7b7(_0x7d1fc4._0xb653c5,0x353,0x353,0x3bc)](_0x57e7b7(_0x7d1fc4._0x5c7e7e,0x2e6,_0x7d1fc4._0x78a35b,_0x7d1fc4._0x4b7859)+_0x2c4653(-_0x7d1fc4._0x301e95,0x1,-_0x7d1fc4._0x5b58f8,-0x1c)+_0x57e7b7(0x2d5,_0x7d1fc4._0x109ab7,0x243,0x303),_0x40fd88);throw new Error(_0x5781d7[_0x57e7b7(_0x7d1fc4._0x3ec586,0x2ee,_0x7d1fc4._0x5357e9,0x32a)+_0x57e7b7(_0x7d1fc4._0x260a87,0x30f,0x294,0x319)]||_0x5781d7[_0x57e7b7(0x2da,_0x7d1fc4._0x5cd27a,0x30d,0x351)]);}return _0x5781d7;}export async function refreshUserToken(_0xfe892b,_0x4a04ba,_0x56a320={}){const _0x1c069c={_0x86a119:0x4fd,_0x5e2771:0x4b8,_0x2777e3:0xb9,_0xd3ba52:0x102,_0x38ffae:0x4dc,_0x3d4693:0x540,_0x5cbe59:0x1d9,_0x1042eb:0x8a,_0x13af5d:0xee,_0x3f0225:0x126,_0x4ce711:0xc3,_0x2c030c:0x11e,_0x56f7b7:0xd3,_0x6ef202:0x146,_0x500844:0x93,_0x469257:0xbf,_0x616069:0x1ac,_0x1f7da0:0x52d,_0x2caba7:0xa8,_0x337aa9:0x12b,_0x202e77:0x612,_0x4301d1:0x5b4,_0xef61f7:0x446,_0x2cd27c:0x576,_0xb9038e:0x526,_0x29f452:0x14a,_0x140c99:0x18d,_0xd5c8bd:0xcb,_0x4a226b:0x5e6,_0x2641c9:0x572,_0x5e17b2:0x139,_0x5bebfc:0xe8,_0x43ffb4:0x161,_0x35f015:0x157,_0x1c0263:0x5b9,_0x3e5697:0x5fd,_0x2c71fd:0x130,_0x352fc0:0x15f,_0xb92f18:0x133,_0x2bde12:0x4b4,_0x4032e:0x1bd,_0x109c59:0x128,_0x7d2e24:0x16e,_0x962e24:0x1ff,_0x8e74bb:0x157,_0xb51f7d:0x465,_0x5eeb46:0x557,_0x56b2fc:0xec,_0x4c9d54:0xc0,_0x163bb9:0xb7,_0x278ac1:0xd1,_0x35e4a3:0x15b,_0x3e8544:0x644,_0x1f31ae:0x5c2,_0x896c3e:0x59c,_0x14b29a:0x60a,_0x4bf65f:0x55f,_0x53b581:0x543,_0x4e3363:0x558,_0x543217:0x254,_0x4e5520:0x154,_0x25323a:0x12b,_0x410630:0xfd,_0x42c66d:0x50c,_0x17bcfa:0x523,_0x54d19d:0x571,_0x5435e4:0x4f0,_0x2b759f:0x41,_0x14935f:0xfb,_0x2d31a3:0x144,_0x9dc2b4:0x7b,_0x7928f:0x7b,_0x2789e3:0x170,_0x1f1498:0x179,_0x1c7148:0x5a1,_0x2f346d:0xe5,_0x3dd9c8:0xdf,_0x548871:0x118,_0x10c5aa:0x1a4,_0x3064b8:0x1f8,_0xa170fd:0x182,_0x1373f1:0x14c,_0x37a9a3:0x129,_0x37bca9:0x14e,_0x5b7e10:0x180,_0x3d7bf0:0xe5,_0x39a9a5:0x113,_0x942ecf:0x14b,_0x1fc951:0xfa,_0x1d9008:0x129,_0x403e01:0x1b3,_0x1f2523:0x14d,_0x5175b6:0x5e3,_0x5e5ec5:0x1bf,_0x13ff7b:0x137,_0x466c08:0xff,_0x4993ef:0x14f,_0x197790:0x559,_0x22d035:0x5d4,_0x19c940:0x656,_0x2afe41:0x626,_0x3f3ffe:0x603,_0x12e801:0xb3,_0x4b8c3f:0x9f,_0x3f8656:0x5c5,_0x4d079a:0x62a,_0x25320b:0x5aa,_0xf6164e:0x679,_0x3092d3:0x642,_0x3531c0:0x56c,_0x34e487:0x15d,_0x1a2dac:0x1c1,_0x1c6be5:0x17b,_0x49df22:0x1c2,_0x4b22a1:0x20a,_0x566c99:0x185,_0x1e018a:0x59a,_0x380a75:0x585,_0x31815:0x624,_0x27b26e:0x1a4,_0x5a1efa:0x1df,_0x19ed41:0x16b,_0x213805:0x17f,_0x484487:0x5ba,_0x296185:0x512,_0x52673e:0x19f,_0x54d53c:0x1aa,_0x133870:0x141,_0x1d8239:0xec,_0x3a9f30:0xe3,_0x2febfc:0x18a,_0x5769b0:0x1b9,_0x5c5ef5:0x209,_0x4c71fb:0x18b,_0x21748f:0x5be,_0x23733b:0x49f,_0x25128f:0xfa,_0x3363dd:0x15c,_0x29db13:0x15f,_0x508499:0x5c6,_0x38f6f7:0x575,_0x1a221f:0x573,_0x46ab35:0x7a,_0xcfdee5:0x227},_0x160811={_0x5bb6c8:0xd5,_0x399013:0xd0,_0x5099d3:0x447},_0x16a311={'EYHaH':'Provider\x20n'+_0x364732(0x4dc,_0x1c069c._0x86a119,0x55a,_0x1c069c._0x5e2771)+_0x5154e1(-0x11b,-0xca,-_0x1c069c._0x2777e3,-_0x1c069c._0xd3ba52),'PIObd':'GitHub\x20OAu'+'th\x20error','zDjwW':_0x5154e1(-0xb4,-0x134,-0x4b,-0xf1)+_0x364732(_0x1c069c._0x38ffae,0x4d4,_0x1c069c._0x3d4693,0x455)+_0x5154e1(-0x14f,-_0x1c069c._0x5cbe59,-0x1d0,-0x16c)+_0x5154e1(-0xbb,-_0x1c069c._0x1042eb,-_0x1c069c._0x13af5d,-0x100),'XfGJq':function(_0x204fca,_0x33c589,_0x338924,_0x273941){return _0x204fca(_0x33c589,_0x338924,_0x273941);},'TdWgM':function(_0x57c93c,_0x287fa9){return _0x57c93c!==_0x287fa9;},'zhvLc':_0x5154e1(-_0x1c069c._0x3f0225,-_0x1c069c._0x4ce711,-0xf1,-_0x1c069c._0x2c030c),'npcZr':function(_0xb13f13,_0x68f289){return _0xb13f13===_0x68f289;},'ujjCW':_0x5154e1(-_0x1c069c._0x56f7b7,-_0x1c069c._0x6ef202,-_0x1c069c._0x500844,-_0x1c069c._0x469257),'ZtrIu':_0x5154e1(-0x1c4,-0x1a4,-_0x1c069c._0x616069,-0x1f3)+_0x364732(_0x1c069c._0x1f7da0,0x54f,0x57b,0x55a)+'en','kgteS':'github','Gmsdx':function(_0x102b51,_0x49991f){return _0x102b51!==_0x49991f;},'gttbs':_0x5154e1(-0x12a,-0x165,-_0x1c069c._0x2caba7,-_0x1c069c._0x337aa9),'CUAtt':'GLhOv','OERgC':function(_0xb5b26b,_0x4e5ff7,_0x4e96e9,_0xd7b33a,_0x23c13f){return _0xb5b26b(_0x4e5ff7,_0x4e96e9,_0xd7b33a,_0x23c13f);},'odFsl':function(_0x488e44,_0x45d152){return _0x488e44(_0x45d152);},'yjtfj':_0x364732(_0x1c069c._0x202e77,_0x1c069c._0x4301d1,0x594,0x592)+_0x364732(0x53f,0x4cc,_0x1c069c._0xef61f7,0x531)+_0x364732(_0x1c069c._0x2cd27c,_0x1c069c._0xb9038e,0x498,0x4e7)},_0x4426=_0x56a320[_0x5154e1(-0x10d,-_0x1c069c._0x29f452,-0x110,-_0x1c069c._0x140c99)]||_0x78a1c0;function _0x5154e1(_0x38431f,_0x325730,_0x854c73,_0xf82fa9){return _0x3ccab1(_0x38431f-0xba,_0x325730-0x149,_0x854c73,_0x38431f- -0x547);}if(!_0xfe892b||!_0x4a04ba)throw new Error(_0x16a311[_0x5154e1(-0x155,-0x13d,-0x138,-_0x1c069c._0xd5c8bd)]);const _0x46f952=await _0x16a311['XfGJq'](getUserGitToken,_0xfe892b,_0x4a04ba,_0x56a320);if(!_0x46f952){if(_0x16a311[_0x364732(0x5a9,0x5d5,_0x1c069c._0x4a226b,_0x1c069c._0x2641c9)](_0x16a311[_0x5154e1(-0x11d,-0x1a2,-_0x1c069c._0x5e17b2,-_0x1c069c._0x5bebfc)],_0x5154e1(-0x126,-0x167,-0xb7,-_0x1c069c._0x43ffb4)))throw new _0x406dfb(_0x5154e1(-0x139,-_0x1c069c._0x35f015,-0x170,-0xda)+_0x364732(_0x1c069c._0x1c0263,0x567,0x50c,_0x1c069c._0x3e5697)+_0x5154e1(-_0x1c069c._0x2c71fd,-0x114,-0xb9,-_0x1c069c._0x352fc0)+_0x5154e1(-0x1af,-_0x1c069c._0xb92f18,-0x11a,-0x239)+':\x20'+_0x490688);else throw new Error('No\x20token\x20f'+_0x364732(0x4d1,0x533,_0x1c069c._0x2bde12,0x4fa)+_0x5154e1(-0x1a6,-0x134,-_0x1c069c._0x4032e,-_0x1c069c._0x109c59)+_0xfe892b+(_0x5154e1(-0x167,-0x1f1,-0xd2,-_0x1c069c._0x7d2e24)+_0x5154e1(-0x1c9,-0x171,-_0x1c069c._0x962e24,-_0x1c069c._0x8e74bb))+_0x4a04ba);}if(!_0x46f952[_0x364732(_0x1c069c._0xb51f7d,0x4e7,0x45b,_0x1c069c._0x5eeb46)+_0x5154e1(-_0x1c069c._0x56b2fc,-0xf0,-_0x1c069c._0x4c9d54,-_0x1c069c._0x163bb9)]){if(_0x16a311[_0x5154e1(-0x15a,-0x18f,-_0x1c069c._0x278ac1,-_0x1c069c._0x35e4a3)](_0x16a311[_0x364732(_0x1c069c._0x3e8544,_0x1c069c._0x1f31ae,_0x1c069c._0x896c3e,0x546)],_0x16a311[_0x364732(0x606,0x5c2,_0x1c069c._0x14b29a,_0x1c069c._0x4bf65f)]))throw new Error(_0x364732(_0x1c069c._0x53b581,0x597,_0x1c069c._0x4e3363,0x506)+_0x5154e1(-0x1be,-0x220,-_0x1c069c._0x543217,-0x19b)+_0x5154e1(-_0x1c069c._0x4e5520,-_0x1c069c._0x25323a,-_0x1c069c._0x410630,-0x160)+_0x364732(_0x1c069c._0x42c66d,_0x1c069c._0x17bcfa,_0x1c069c._0x54d19d,0x589)+_0x364732(0x510,_0x1c069c._0x5435e4,0x483,0x4e2)+_0x5154e1(-0xcc,-_0x1c069c._0x2b759f,-_0x1c069c._0x14935f,-0xef));else throw new _0x1fdbd0(_0x16a311[_0x5154e1(-0xc3,-0x3c,-0xf0,-0xee)]);}const _0x555ad9=await getProviderConfig(_0x4a04ba,_0x56a320);if(!_0x555ad9){if(_0x16a311[_0x5154e1(-0xb1,-0x90,-_0x1c069c._0x2d31a3,-_0x1c069c._0x9dc2b4)]('VBySd',_0x5154e1(-0xd5,-0x40,-_0x1c069c._0x7928f,-0xb4)))throw new Error(_0x5154e1(-0x13c,-_0x1c069c._0x2789e3,-_0x1c069c._0x1f1498,-0x1cd)+'ot\x20found:\x20'+_0x4a04ba);else{const _0x2302cd={};_0x2302cd[_0x364732(0x592,0x5a1,0x544,_0x1c069c._0x1c7148)]=_0x235336[_0x5154e1(-_0x1c069c._0x2f346d,-0xe5,-_0x1c069c._0x3dd9c8,-_0x1c069c._0x548871)],_0x2302cd[_0x5154e1(-_0x1c069c._0x10c5aa,-0x1a9,-_0x1c069c._0x3064b8,-0x211)+'n']=_0x4fea11[_0x5154e1(-_0x1c069c._0x29f452,-_0x1c069c._0xa170fd,-0x17a,-_0x1c069c._0x1373f1)+_0x5154e1(-_0x1c069c._0x37a9a3,-_0x1c069c._0x37bca9,-0x196,-_0x1c069c._0x5b7e10)],_0x2068cb[_0x5154e1(-_0x1c069c._0x3d7bf0,-0x132,-_0x1c069c._0x39a9a5,-0xc7)](_0x16a311['PIObd'],_0x2302cd);throw new _0x577d43(_0x36735b[_0x5154e1(-_0x1c069c._0x29f452,-_0x1c069c._0x942ecf,-_0x1c069c._0x1fc951,-0x166)+_0x5154e1(-_0x1c069c._0x1d9008,-0x139,-_0x1c069c._0x403e01,-_0x1c069c._0x1f2523)]||_0x2481d6[_0x364732(_0x1c069c._0x5175b6,0x5a1,0x5b8,0x515)]);}}const _0x34ce85={};_0x34ce85['userId']=_0xfe892b,_0x34ce85[_0x5154e1(-_0x1c069c._0x5e5ec5,-0x1ea,-0x221,-_0x1c069c._0x13ff7b)+'me']=_0x4a04ba,_0x4426['info'](_0x16a311[_0x5154e1(-0x120,-0xa3,-0x115,-_0x1c069c._0x466c08)],_0x34ce85);if(_0x16a311[_0x5154e1(-0x15a,-0x18d,-_0x1c069c._0x4993ef,-0x120)](_0x555ad9[_0x364732(_0x1c069c._0x197790,_0x1c069c._0x22d035,_0x1c069c._0x19c940,0x595)],_0x16a311[_0x364732(_0x1c069c._0x2afe41,0x5ab,0x52e,_0x1c069c._0x3f3ffe)])){if(_0x16a311[_0x5154e1(-_0x1c069c._0x12e801,-_0x1c069c._0x4b8c3f,-0x8e,-0x9e)](_0x16a311[_0x364732(0x65b,_0x1c069c._0x3f8656,_0x1c069c._0x4d079a,_0x1c069c._0x25320b)],_0x16a311[_0x364732(_0x1c069c._0xf6164e,0x5e8,_0x1c069c._0x3092d3,_0x1c069c._0x3531c0)])){const _0x3047c8={};_0x3047c8[_0x5154e1(-_0x1c069c._0x34e487,-_0x1c069c._0x1a2dac,-_0x1c069c._0x1c6be5,-0x11d)+'en']=_0x46f952[_0x5154e1(-0x19f,-_0x1c069c._0x49df22,-_0x1c069c._0x4b22a1,-_0x1c069c._0x566c99)+_0x364732(0x5c8,_0x1c069c._0x1e018a,_0x1c069c._0x380a75,_0x1c069c._0x31815)],_0x3047c8[_0x5154e1(-_0x1c069c._0x5e5ec5,-_0x1c069c._0x27b26e,-_0x1c069c._0x5a1efa,-0x218)+'me']=_0x4a04ba,_0x3047c8[_0x364732(0x4ae,0x4e1,0x477,0x4a0)+_0x5154e1(-0x198,-_0x1c069c._0x19ed41,-_0x1c069c._0x213805,-0x22b)]=_0x555ad9;const _0x46abf7=await refreshGitHubToken(_0x3047c8,_0x56a320);await _0x16a311[_0x364732(_0x1c069c._0x484487,0x59d,_0x1c069c._0x296185,0x62b)](updateUserGitToken,_0xfe892b,_0x4a04ba,{'access_token':_0x46abf7['access_tok'+'en'],'refresh_token':_0x46abf7[_0x5154e1(-_0x1c069c._0x52673e,-_0x1c069c._0x54d53c,-0x193,-_0x1c069c._0x133870)+_0x5154e1(-_0x1c069c._0x1d8239,-0x16c,-0x133,-_0x1c069c._0x3a9f30)],'expires_at':_0x16a311['odFsl'](calculateExpiry,_0x46abf7['expires_in'])},_0x56a320);const _0xeff61={};return _0xeff61['userId']=_0xfe892b,_0xeff61[_0x5154e1(-0x1bf,-_0x1c069c._0x2febfc,-_0x1c069c._0x5769b0,-_0x1c069c._0x5c5ef5)+'me']=_0x4a04ba,_0x4426[_0x5154e1(-0x179,-0x110,-_0x1c069c._0x4c71fb,-0x172)](_0x16a311['yjtfj'],_0xeff61),{'success':!![],'expires_at':_0x16a311[_0x364732(_0x1c069c._0x21748f,0x52d,_0x1c069c._0x23733b,0x5bd)](calculateExpiry,_0x46abf7['expires_in'])};}else throw new _0x3084c(_0x5154e1(-_0x1c069c._0x25128f,-0x14e,-_0x1c069c._0x3363dd,-_0x1c069c._0x29db13)+_0x364732(_0x1c069c._0x508499,_0x1c069c._0x38f6f7,_0x1c069c._0x1a221f,0x517)+_0x5154e1(-0xad,-_0x1c069c._0x1042eb,-_0x1c069c._0x46ab35,-0x44));}function _0x364732(_0x12724f,_0x28ed35,_0x1e922d,_0x9d0824){return _0x195178(_0x12724f-_0x160811._0x5bb6c8,_0x28ed35-_0x160811._0x399013,_0x12724f,_0x28ed35-_0x160811._0x5099d3);}throw new Error(_0x5154e1(-0x106,-0x15d,-0xb2,-0xb9)+_0x5154e1(-0x1b2,-0x15b,-0x1d7,-_0x1c069c._0xcfdee5)+'\x20type:\x20'+_0x555ad9['type']);}export async function ensureFreshToken(_0x347f84,_0xdaaf02,_0x4b434e={}){const _0x29b7d6={_0x278cb9:0x3ac,_0x280b61:0x317,_0x1d3dd2:0x431,_0x1f2978:0x351,_0x4fd099:0x495,_0x6332c:0x419,_0x5d9177:0x448,_0x4e23cb:0x39d,_0x5ddf84:0x37e,_0x5c69b0:0x3f6,_0x12e7c2:0x37f,_0x9ee1a:0x41b,_0x499890:0x3a4,_0x3fa493:0x2ad,_0x338d02:0x2d4,_0x214a97:0x309,_0x3ae872:0x386,_0x5b779b:0x39f,_0x1073ed:0x42e,_0x165820:0x3f9,_0x37a5f7:0x402,_0x5d5aa8:0x3f1,_0x54dcab:0x3ce,_0x34a3c9:0x3f2,_0x3bc146:0x35f,_0x1016d3:0x3e5,_0x17865d:0x349,_0x2fec2a:0x3a4,_0x21ac7f:0x40f,_0x58c37f:0x360,_0x5eb38c:0x301,_0x59e7a5:0x2fa,_0x31937b:0x3e7,_0x500926:0x3d7,_0xf083d3:0x328,_0x2103ef:0x35b,_0x1e5704:0x344,_0x32487a:0x387},_0x165140={_0x242bc1:0x14e,_0xfcfc16:0x20};function _0x390f7f(_0x2a8527,_0x4d5b64,_0x3e0831,_0xb5b4c6){return _0x3ccab1(_0x2a8527-0x36,_0x4d5b64-0x14a,_0xb5b4c6,_0x3e0831- -0x9c);}function _0x71e380(_0x3a5014,_0x41d1d3,_0x2a8066,_0x55012f){return _0x3ccab1(_0x3a5014-_0x165140._0x242bc1,_0x41d1d3-_0x165140._0xfcfc16,_0x55012f,_0x41d1d3- -0x8e);}const _0x185757={'zKUAT':function(_0x4e1d3d,_0x325161,_0x35cb1a,_0x5c8628){return _0x4e1d3d(_0x325161,_0x35cb1a,_0x5c8628);},'OevJl':function(_0x5c98e7,_0x471d0f){return _0x5c98e7(_0x471d0f);},'fuTBz':function(_0x1ef30a,_0xa943f9,_0x39eb88,_0x2ea509){return _0x1ef30a(_0xa943f9,_0x39eb88,_0x2ea509);},'SZFYC':_0x390f7f(0x415,0x3ea,0x3d9,0x441)+'esh\x20failed'},_0x2dd1a2=_0x4b434e[_0x71e380(0x3c9,_0x29b7d6._0x278cb9,_0x29b7d6._0x280b61,_0x29b7d6._0x1d3dd2)]||_0x78a1c0,_0x54d192=await _0x185757['zKUAT'](getUserGitToken,_0x347f84,_0xdaaf02,_0x4b434e);if(!_0x54d192)throw new Error(_0x71e380(0x309,_0x29b7d6._0x1f2978,0x31b,0x31a)+_0x71e380(_0x29b7d6._0x4fd099,_0x29b7d6._0x6332c,_0x29b7d6._0x5d9177,0x3e5)+_0x71e380(0x399,0x33c,_0x29b7d6._0x4e23cb,0x338)+':\x20'+_0xdaaf02);if(_0x185757[_0x71e380(0x309,_0x29b7d6._0x5ddf84,_0x29b7d6._0x5c69b0,0x3f8)](isTokenExpiringSoon,_0x54d192[_0x390f7f(_0x29b7d6._0x12e7c2,_0x29b7d6._0x9ee1a,0x3f6,_0x29b7d6._0x499890)])){const _0x243354={};_0x243354[_0x71e380(0x384,0x301,_0x29b7d6._0x3fa493,0x29f)]=_0x347f84,_0x243354[_0x390f7f(_0x29b7d6._0x338d02,0x37f,0x2ec,0x2ff)+'me']=_0xdaaf02,_0x2dd1a2[_0x390f7f(_0x29b7d6._0x214a97,0x3d3,_0x29b7d6._0x3ae872,_0x29b7d6._0x5b779b)](_0x390f7f(_0x29b7d6._0x1073ed,_0x29b7d6._0x165820,_0x29b7d6._0x37a5f7,_0x29b7d6._0x5d5aa8)+_0x71e380(_0x29b7d6._0x54dcab,_0x29b7d6._0x34a3c9,0x3f9,0x395)+_0x390f7f(_0x29b7d6._0x3bc146,0x40b,_0x29b7d6._0x1016d3,0x3b2)+_0x71e380(0x3b6,0x38d,0x35f,0x351),_0x243354);if(_0x54d192['refresh_to'+_0x390f7f(0x387,0x415,0x3bf,_0x29b7d6._0x17865d)])try{return await _0x185757[_0x71e380(_0x29b7d6._0x2fec2a,0x3c6,_0x29b7d6._0x21ac7f,0x361)](refreshUserToken,_0x347f84,_0xdaaf02,_0x4b434e),_0x185757['fuTBz'](getUserGitToken,_0x347f84,_0xdaaf02,_0x4b434e);}catch(_0x36e052){const _0x4d75b8={};_0x4d75b8[_0x71e380(_0x29b7d6._0x58c37f,_0x29b7d6._0x5eb38c,0x2cd,0x270)]=_0x347f84,_0x4d75b8[_0x71e380(0x371,_0x29b7d6._0x59e7a5,0x36a,0x30f)+'me']=_0xdaaf02,_0x4d75b8[_0x390f7f(0x447,_0x29b7d6._0x5d9177,0x3c6,_0x29b7d6._0x31937b)]=_0x36e052[_0x71e380(_0x29b7d6._0x500926,0x38c,_0x29b7d6._0xf083d3,0x31e)],_0x2dd1a2['warn'](_0x185757[_0x390f7f(_0x29b7d6._0x2103ef,_0x29b7d6._0x1e5704,_0x29b7d6._0x32487a,0x41b)],_0x4d75b8);}}return _0x54d192;}export async function getProviderDisplayName(_0x563573,_0x558c20={}){const _0x4e54d4={_0x3b4ce8:0x2cb,_0xae502b:0xe1,_0x525c7f:0x21,_0x25c74a:0x75,_0x585041:0x15d,_0x4c1913:0x1ef,_0x5c5122:0x193,_0x38a234:0x1d1,_0x1cb938:0x286,_0x40c80e:0x23f,_0x4095d8:0x2a1,_0x365be4:0x23b,_0x31da29:0x279,_0x23cad5:0x91,_0xe89f3:0x1d,_0x5c8020:0x49,_0x3c7409:0x15,_0x1756a7:0x3e,_0x5ab7a4:0x19,_0x1b7700:0x7b,_0x100862:0x20,_0x715c69:0x28d,_0x193984:0x28c,_0x4e2cf4:0x24d,_0x10adcc:0xd0,_0x4cf30d:0x2b,_0x2a973b:0x75,_0x28202c:0x269,_0x2c155e:0x265,_0x13f555:0x84,_0x36234f:0xe9,_0x277729:0x71,_0x1b4934:0x225,_0x1eac73:0x236,_0x37ebd8:0x16b,_0xca8e66:0x25,_0x287ec0:0x93,_0x1281a8:0x8d,_0x15dbf5:0xa3,_0x257745:0x15,_0x156494:0x58,_0x463808:0x293,_0x449701:0x2fa,_0x141f02:0x27,_0x37b642:0x5f,_0x3daf65:0x7,_0x2dfada:0x5b,_0x3059f0:0x52,_0xa0190:0x269,_0x3b3194:0x2eb,_0x35fb15:0x2dd,_0x5bd081:0x1fb,_0x30d214:0x1fd,_0x478cad:0x13,_0x11efc0:0x8d,_0x3f386d:0xaa,_0x4782dd:0x1,_0x10bd6b:0xa,_0x30c5f1:0xad,_0xc3b742:0x212,_0x24a3d1:0x2af,_0x1f56ad:0x23a,_0x36ff6b:0x1a7,_0x19ad75:0x255,_0x12af2c:0x53,_0x1a3363:0x59,_0xfd2b93:0x253,_0x3649a4:0x82,_0x5d3a13:0xfb,_0x377b22:0xe0,_0x2be65f:0x5b},_0x4aa0c6={_0x2a263c:0x138},_0x23177a={_0x485041:0xa3};function _0x271b60(_0x229e7f,_0xfd0082,_0x5aacdd,_0x3e9a4c){return _0x195178(_0x229e7f-_0x23177a._0x485041,_0xfd0082-0xdf,_0xfd0082,_0x3e9a4c- -0xf9);}const _0x4f2e52={'bunjK':function(_0x5edc33,_0x2b9466,_0x3bdebd){return _0x5edc33(_0x2b9466,_0x3bdebd);},'OlWXD':function(_0x5064d6,_0x1ff556){return _0x5064d6!==_0x1ff556;},'OxcJz':_0x2df398(0x2a0,0x2a1,0x271,_0x4e54d4._0x3b4ce8),'ccPDV':function(_0x404bcb,_0x3b9a7b){return _0x404bcb===_0x3b9a7b;},'ABkSf':'github','HZsun':'BEPdU','knffO':_0x271b60(_0x4e54d4._0xae502b,-_0x4e54d4._0x525c7f,0x2d,_0x4e54d4._0x25c74a),'Rzwtb':'./git-prov'+'ider-servi'+_0x2df398(_0x4e54d4._0x585041,_0x4e54d4._0x4c1913,_0x4e54d4._0x5c5122,_0x4e54d4._0x38a234),'kuXUv':_0x2df398(_0x4e54d4._0x1cb938,_0x4e54d4._0x40c80e,_0x4e54d4._0x4095d8,0x1d4),'tpZOS':function(_0x3c6012,_0x33bd93){return _0x3c6012===_0x33bd93;},'RPkZM':'azure-devo'+'ps'},_0x193517=await _0x4f2e52[_0x2df398(0x2e1,0x289,_0x4e54d4._0x365be4,_0x4e54d4._0x31da29)](getProviderConfig,_0x563573,_0x558c20);if(!_0x193517)return _0x4f2e52['OlWXD'](_0x271b60(-_0x4e54d4._0x23cad5,_0x4e54d4._0xe89f3,_0x4e54d4._0x5c8020,-_0x4e54d4._0x3c7409),_0x4f2e52[_0x271b60(_0x4e54d4._0x1756a7,_0x4e54d4._0x5ab7a4,-_0x4e54d4._0x1b7700,-_0x4e54d4._0x100862)])?_0x563573:'Azure\x20DevO'+_0x2df398(_0x4e54d4._0x715c69,_0x4e54d4._0x193984,_0x4e54d4._0x4e2cf4,0x2d7)+_0x305515[_0x271b60(_0x4e54d4._0x10adcc,_0x4e54d4._0x4cf30d,0x66,0x52)+'on']+')';function _0x2df398(_0xfd3186,_0x4760d3,_0x4c312d,_0x4de4bb){return _0x195178(_0xfd3186-0xe1,_0x4760d3-0x19a,_0xfd3186,_0x4760d3-_0x4aa0c6._0x2a263c);}if(_0x4f2e52[_0x271b60(-0x1c,0x8,_0x4e54d4._0x2a973b,0x4f)](_0x193517['type'],_0x4f2e52[_0x2df398(0x22e,0x200,0x1b3,_0x4e54d4._0x28202c)])){if(_0x4f2e52[_0x2df398(_0x4e54d4._0x2c155e,0x259,0x1e3,0x2bc)]===_0x4f2e52[_0x271b60(-_0x4e54d4._0x13f555,-_0x4e54d4._0x36234f,-0x33,-_0x4e54d4._0x277729)])throw new _0x1cd1e7('Provider\x20n'+_0x2df398(_0x4e54d4._0x1b4934,0x1c6,_0x4e54d4._0x1eac73,_0x4e54d4._0x37ebd8)+_0x437ea1);else{try{const {getProvider:_0x1c82bd}=await import(_0x4f2e52[_0x271b60(_0x4e54d4._0xca8e66,_0x4e54d4._0x287ec0,_0x4e54d4._0x1281a8,_0x4e54d4._0x15dbf5)]),_0x2b5f5c=await _0x4f2e52[_0x271b60(0x77,-0x1b,_0x4e54d4._0x257745,_0x4e54d4._0x156494)](_0x1c82bd,_0x563573,_0x558c20);if(_0x2b5f5c){if(_0x4f2e52[_0x2df398(_0x4e54d4._0x463808,0x280,0x250,_0x4e54d4._0x449701)](_0x4f2e52[_0x271b60(-0x23,-_0x4e54d4._0x141f02,_0x4e54d4._0x37b642,-_0x4e54d4._0x3daf65)],_0x4f2e52[_0x271b60(0x5d,_0x4e54d4._0x2dfada,-0x1b,-_0x4e54d4._0x3daf65)])){const _0x4ba707=await _0x2b5f5c[_0x271b60(-_0x4e54d4._0x3059f0,0x65,0x2b,0x6)+_0x2df398(0x1ec,_0x4e54d4._0xa0190,_0x4e54d4._0x3b3194,_0x4e54d4._0x35fb15)]();if(_0x4ba707?.[_0x2df398(0x242,_0x4e54d4._0x5bd081,_0x4e54d4._0x30d214,0x225)+'gin'])return _0x2df398(0x31a,0x2a7,0x2cd,0x320)+_0x4ba707[_0x271b60(-_0x4e54d4._0x478cad,-_0x4e54d4._0x11efc0,-_0x4e54d4._0x3f386d,-0x36)+'gin']+')';}else{const _0x239439={};return _0x239439[_0x271b60(_0x4e54d4._0x4782dd,0xd9,-_0x4e54d4._0x10bd6b,0x44)]={},_0x239439;}}}catch{}return _0x271b60(0xda,_0x4e54d4._0x30c5f1,0xe0,0x76)+_0x563573+')';}}if(_0x4f2e52[_0x2df398(0x251,0x1f6,_0x4e54d4._0xc3b742,0x174)](_0x193517[_0x2df398(_0x4e54d4._0x24a3d1,0x2c5,0x253,0x35c)],_0x4f2e52[_0x2df398(_0x4e54d4._0x1f56ad,0x1ec,_0x4e54d4._0x36ff6b,_0x4e54d4._0x19ad75)])){if(_0x193517[_0x271b60(0xad,_0x4e54d4._0x12af2c,_0x4e54d4._0x1a3363,0x52)+'on'])return'Azure\x20DevO'+_0x2df398(0x30b,_0x4e54d4._0x193984,_0x4e54d4._0xfd2b93,0x2e1)+_0x193517['organizati'+'on']+')';return _0x271b60(-_0x4e54d4._0x3649a4,_0x4e54d4._0x4782dd,-_0x4e54d4._0x5d3a13,-0x67)+_0x271b60(_0x4e54d4._0x377b22,0x7,0xb1,_0x4e54d4._0x2be65f)+_0x563573+')';}return _0x563573;}
|