@profoundlogic/coderflow-server 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/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/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/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-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/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.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/server-health.js +1 -1
- package/dist/web-ui/public/settings.css +133 -44
- package/dist/web-ui/public/settings.html +152 -246
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/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 _0xbd17(_0x43f036,_0x266911){_0x43f036=_0x43f036-(-0x13f9*0x1+0x1*-0x3c7+0x187f);const _0x6b1879=_0x5c2f();let _0x2aa138=_0x6b1879[_0x43f036];if(_0xbd17['JtcROH']===undefined){var _0x112939=function(_0x30b820){const _0x34013c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x552da8='',_0xa1bad9='';for(let _0x87bf03=0x1b49+-0x1b41+0x8*-0x1,_0x8fa733,_0x360a8b,_0x401b23=0x14f5+0x2151+0x3646*-0x1;_0x360a8b=_0x30b820['charAt'](_0x401b23++);~_0x360a8b&&(_0x8fa733=_0x87bf03%(0x1*0x376+0x136a+-0x16dc)?_0x8fa733*(0x115e+-0xb0f*-0x3+-0x7d*0x67)+_0x360a8b:_0x360a8b,_0x87bf03++%(-0x2012+0x9a*-0x4+0x227e))?_0x552da8+=String['fromCharCode'](0x41*-0xf+-0xcd3*-0x2+0x2e*-0x74&_0x8fa733>>(-(0x101*0x17+-0x25a2*0x1+-0x5*-0x2e9)*_0x87bf03&0x3*0x3f5+0xf2a+-0x1b03)):-0xcda+-0x1721+-0x1*-0x23fb){_0x360a8b=_0x34013c['indexOf'](_0x360a8b);}for(let _0x36ebf1=0x1fe2+0xdcc+0x1*-0x2dae,_0x379585=_0x552da8['length'];_0x36ebf1<_0x379585;_0x36ebf1++){_0xa1bad9+='%'+('00'+_0x552da8['charCodeAt'](_0x36ebf1)['toString'](-0x10e5*-0x1+0x1e33+-0x2f08))['slice'](-(-0x1f85+0x1c*0x1+0x1f6b));}return decodeURIComponent(_0xa1bad9);};_0xbd17['yfTgFc']=_0x112939,_0xbd17['xPsFxe']={},_0xbd17['JtcROH']=!![];}const _0x54aacd=_0x6b1879[0xcc3+-0x321*-0x4+-0x1947*0x1],_0x4649f7=_0x43f036+_0x54aacd,_0x13d1f3=_0xbd17['xPsFxe'][_0x4649f7];return!_0x13d1f3?(_0x2aa138=_0xbd17['yfTgFc'](_0x2aa138),_0xbd17['xPsFxe'][_0x4649f7]=_0x2aa138):_0x2aa138=_0x13d1f3,_0x2aa138;}(function(_0x3f21db,_0x3feb61){const _0x18906c={_0x5cd051:0x198,_0x5b5bbf:0x27b,_0x13dd0c:0x2af,_0xa44be6:0x291,_0x3c882c:0x296,_0x1a7263:0x24d,_0x2cf58a:0x224,_0x478114:0x26f,_0x2a0acf:0x264,_0x56dc0c:0x221,_0x1ff09e:0x1dc,_0x2fdb09:0x1e1,_0x1b02ae:0x26c,_0x383cd4:0x2c8,_0x658b8b:0x22f,_0x111e83:0x255,_0x448b8f:0x28f,_0x1a946a:0x26d,_0x303805:0x21e,_0x1ba342:0x273,_0x562040:0x2c2,_0x25158f:0x2a7,_0x1c1e19:0x22e,_0x1ff57e:0x20c},_0x605d6d={_0x24c4ed:0x3d2},_0x4d1669={_0x352541:0x331},_0x13e862=_0x3f21db();function _0x2f812a(_0x3da393,_0x1b7a50,_0x5c2172,_0x27efb9){return _0xbd17(_0x5c2172- -_0x4d1669._0x352541,_0x3da393);}function _0x533221(_0x4af186,_0xd0607e,_0x53c2e7,_0x587b1d){return _0xbd17(_0xd0607e- -_0x605d6d._0x24c4ed,_0x53c2e7);}while(!![]){try{const _0x378d9b=-parseInt(_0x2f812a(-0x19e,-_0x18906c._0x5cd051,-0x1eb,-0x198))/(-0x521+0x269*0xa+0x4*-0x4be)*(-parseInt(_0x533221(-_0x18906c._0x5b5bbf,-_0x18906c._0x13dd0c,-_0x18906c._0xa44be6,-_0x18906c._0x3c882c))/(-0x14*-0x12+-0x25f5*-0x1+-0x275b))+-parseInt(_0x2f812a(-0x27c,-_0x18906c._0x1a7263,-0x240,-_0x18906c._0x2cf58a))/(0x1ef0+-0x2dd*-0xd+-0x4426)*(-parseInt(_0x2f812a(-_0x18906c._0x478114,-0x273,-_0x18906c._0x2a0acf,-_0x18906c._0x56dc0c))/(-0x813*-0x4+0x1b8+-0x2*0x1100))+-parseInt(_0x2f812a(-0x1c1,-_0x18906c._0x1ff09e,-0x1f1,-0x1c7))/(-0x1*0xaa7+-0x9*-0x2de+-0xf22)*(parseInt(_0x2f812a(-0x268,-_0x18906c._0x2fdb09,-0x231,-0x280))/(0x1faa+-0x15a3+-0xa01))+parseInt(_0x533221(-_0x18906c._0x1b02ae,-0x2a6,-0x275,-_0x18906c._0x383cd4))/(0x235b+-0x4c1*0x5+-0x10d*0xb)+-parseInt(_0x2f812a(-0x215,-0x2a8,-0x255,-0x270))/(0x193+-0x1816*-0x1+0x19a1*-0x1)*(parseInt(_0x2f812a(-_0x18906c._0x658b8b,-_0x18906c._0x111e83,-0x25d,-_0x18906c._0x448b8f))/(0x3f5*0x1+-0xe8c*0x2+0x219*0xc))+-parseInt(_0x2f812a(-_0x18906c._0x1a946a,-_0x18906c._0x303805,-0x24f,-0x29e))/(-0x7*-0x28e+0x253+-0x6b9*0x3)*(-parseInt(_0x533221(-_0x18906c._0x1ba342,-_0x18906c._0x562040,-_0x18906c._0x25158f,-0x275))/(0x12*-0x13b+0x1bb*0xe+-0x209))+-parseInt(_0x2f812a(-_0x18906c._0x1c1e19,-0x1f4,-0x1f7,-_0x18906c._0x1ff57e))/(0x16e2*-0x1+-0x26f3+0x3de1);if(_0x378d9b===_0x3feb61)break;else _0x13e862['push'](_0x13e862['shift']());}catch(_0x4665b0){_0x13e862['push'](_0x13e862['shift']());}}}(_0x5c2f,-0x16e0e3+0x1*0x7192a+0x1*0x1ddd79));import{logger}from'./logger.js';import{isEmailConfigured,sendTemplatedEmail}from'./email.js';import{findUserByUsername,findUserById}from'./users.js';export function parseMentions(_0x7033ff){const _0x3827f0={_0x3955f7:0x12f,_0x3cbd05:0x314},_0x56ccf6={_0x5794a3:0x38};if(!_0x7033ff)return[];function _0x172776(_0x293ca2,_0x299751,_0x24b785,_0x439b31){return _0xbd17(_0x293ca2- -0x3a2,_0x439b31);}const _0x189f68=/@?\[([^\]]+)\]\(mention:([^)]+)\)/g;function _0x54e359(_0x424b38,_0x355027,_0x562f26,_0x5826d1){return _0xbd17(_0x5826d1- -_0x56ccf6._0x5794a3,_0x355027);}const _0x1ad0a4=_0x7033ff[_0x54e359(0x153,0xfa,_0x3827f0._0x3955f7,0xff)](_0x189f68),_0x2ac9bf=[..._0x1ad0a4][_0x172776(-0x2d7,-0x29a,-0x295,-_0x3827f0._0x3cbd05)](_0x5db139=>_0x5db139[-0x1*-0x1f4e+-0x1*-0xf0d+-0x69f*0x7]);return[...new Set(_0x2ac9bf)];}function escapeHtml(_0x1a1f65){const _0x144a98={_0x559ad8:0x1fa,_0x80aed4:0x224,_0x112e84:0x226,_0x1bb81b:0x47d,_0x551d73:0x1c5,_0x4cb909:0x1b2,_0x343bae:0x1a7,_0x4e1ede:0x476,_0xdfaf57:0x478,_0x542e0a:0x460,_0x539e34:0x430,_0x2d023c:0x49c,_0x532d02:0x477,_0x310dcc:0x44a},_0x4a1623={};_0x4a1623[_0x1fe9af(0x1ef,0x1ec,0x1a6,_0x144a98._0x559ad8)]=_0x1fe9af(_0x144a98._0x80aed4,_0x144a98._0x112e84,0x252,0x1fc),_0x4a1623[_0x33cb4e(0x4e4,0x4b1,_0x144a98._0x1bb81b,0x4bf)]=_0x1fe9af(0x1f7,0x236,0x218,_0x144a98._0x551d73),_0x4a1623[_0x1fe9af(_0x144a98._0x4cb909,0x17e,0x1b0,_0x144a98._0x343bae)]='"';function _0x1fe9af(_0x13d563,_0x2225da,_0x48cf7d,_0x480234){return _0xbd17(_0x13d563-0xda,_0x480234);}function _0x33cb4e(_0x9b44fa,_0x54b8a3,_0x5985d9,_0x273b6a){return _0xbd17(_0x273b6a-0x3a7,_0x5985d9);}const _0x5264d3=_0x4a1623;if(!_0x1a1f65)return'';return _0x1a1f65[_0x33cb4e(_0x144a98._0x4e1ede,0x4c0,0x433,_0x144a98._0xdfaf57)](/&/g,_0x5264d3['HkMZu'])[_0x33cb4e(0x472,0x47a,0x49d,0x478)](/</g,_0x1fe9af(0x1c7,0x1ca,0x1ab,0x1c7))[_0x33cb4e(0x4c1,_0x144a98._0x542e0a,_0x144a98._0x539e34,0x478)](/>/g,_0x5264d3[_0x33cb4e(_0x144a98._0x2d023c,0x4f5,_0x144a98._0x532d02,0x4bf)])[_0x33cb4e(0x445,_0x144a98._0x310dcc,0x4af,0x478)](/"/g,_0x5264d3['Gpbkh']);}function _0x5c2f(){const _0x41052b=['AMLeALu','BevbCM8','C2vUzcbJB21Tzq','qKPnD0i','AwzPy2f0Aw9UCW','CMfYC0u','C2vYswrZ','ndq1mZaWmLrUqLD2Dq','t2nwvhO','ANHAD2G','zgL1CZOGnhb4oW','zxnSz0S','wfLrtuO','qcqXpc9ZCgfUpG','B2PYs2G','BwvZC2fNzq','igzVBNqTD2vPzW','BKDvBwu','zKjMEuq','zNb5Cem','B24GBM90AwzPyW','zt0IyMfJA2DYBW','uerlyve','ntv2qLzervm','Bfv3q3q','DxnLCM5HBwu','t25fvgW','qMPsre0','sgTnwNu','DgL0Bgu','t1bLC2e','vw1otLq','mtmWlcaYndySia','lcbZA2LWCgLUzW','EM9esfC','s1HxqLq','jMD0oW','De5HwMm','CuD4Ewq','t3PmyKG','oIaXChGGnhb4oW','phnWyw4GC3r5Ba','mLvhsuLuwa','y29UzMLNDxjLza','igHHCYbUBYbLBq','zxjYB3i','C3rHDhvZ','q29TBwvUDcbUBW','BNrPB24GBM90Aq','EKPdz0K','y29TBwvUDcbUBW','mZu3mJmZmu5tsufiqq','zgvIDwC','zw1HAwW','DgfZA0LK','vgfZAYa','BNqGBM90AwzPyW','Dg9mB2nHBgvtDa','CMLUzW','wMnYq0i','t2jQzwn0AxzLia','rhnhALa','Bwf0y2HbBgW','zMLJyxrPB24','ignVBw1LBNqGBG','ntC2nZKYmeP5uvrwqq','A0vmCuq','yu9sywO','ChjVy2vZCYbTzq','B3rPzMLJyxrPBW','AhHZtMS','nunlqNPLza','Dgv4Da','BgvUz3rO','rMfPBgvKihrVia','p2LKpq','t3DUzxiGAgfZia','nZe0otnLBMjPwNy','Bw1LBNqGBM90Aq','ig1LBNrPB24GBG','q0XIwgW','jMfTCdS','vgfZAYbVD25LCG','qcqX','CMnjtNu','r09At0K','uxz3q1u','zLz6y3i','B2jQzwn0AxzL','Ahq6iduWmdSIpG','ihnLBNqGDg8GDa','BfvHAuu','sgnRq1m','vKLTy2e','r3D3v0m','vgfZAYbOyxmGBG','B3vUza','wuPwwKK','uxPPzLm','C2jhse8','ELLNENK','wwDvtMe','y29TBwvUDa','twvUDgLVBMvKia','B3i6icmYntyZzq','y29TBwvUDc1UBW','BMfTzq','y29TBwvUDgvY','l3rHC2SUAhrTBa','ihnLBNq','Dw5KlwnVBg9YoG','Bd9VyMPLy3rPDG','zw4Tvvm','ywLS','zw1HAwXFy29TBq','DxnLCIbUB3qGzG','qvnNA3m','rffNvMu','B05cDuO','Aw9UCW','yxrPB24','BwfW','C2vUzcbTzw50Aq','mZC0nJCYv2jMthrn','sKLxBeW','zhbHt0S','igjVCMrLCI1Yyq','CMvWBgfJzq','zLzNrxO','BwvUDgLVBMvKvq','mta5mZm4m0HYuMfnyW','uvfttxy','z1jwu0u','BNvTzxjPyW','r3bIA2G','rw1HAwWGBM90ia','DgLMAwnHDgLVBG','wNf2vwm','mtzts3HHv0e','igrPC2fIBgvK','Aw5MBW','C2HVCNq','CYbKAxnHyMXLza','EfLRrgu','ntq3mtbbvLjPDgO','BwvUDgLVBG','ExrlsNO','B3DUzxjjza','uvHMqwK','BYbVD25LCIWGCW','BYbLBwfPBa','tfj2y0m','ihjNyMeOntKSia','zhjQwNq','AhrTBa','jMX0oW','DxnLCKLK','zMLJyxrPB25Z','u0HTseu','ntDIBfnwu2G','sujYzvy','D0fosg8','mI1KAwDPDa','uhjVy2vZC2LUzW','ChjLzMvYzw5Jzq','DvfJDKS','zvrJAvq'];_0x5c2f=function(){return _0x41052b;};return _0x5c2f();}function formatMentionsPlainText(_0x57e2e1){const _0x2e4e41={_0x12dac0:0x3ac,_0x1a799d:0x3cb,_0x42dbe3:0x347,_0x5a8dde:0x395,_0x42ca84:0xaf,_0x4e4f01:0xa1,_0x105d44:0x99,_0x4bd7a5:0x63};function _0xd05c0e(_0x2f269a,_0x457a2e,_0xf9e60a,_0x1929dc){return _0xbd17(_0x2f269a- -0x1ad,_0x1929dc);}function _0x860c8(_0x400311,_0x4d1eaa,_0x5e730f,_0x14be60){return _0xbd17(_0x14be60-0x289,_0x4d1eaa);}const _0x2a03e7={};_0x2a03e7[_0x860c8(_0x2e4e41._0x12dac0,_0x2e4e41._0x1a799d,_0x2e4e41._0x42dbe3,_0x2e4e41._0x5a8dde)]=_0xd05c0e(-0x61,-0x5b,-0x3d,-_0x2e4e41._0x42ca84);const _0x25c1e0=_0x2a03e7;if(!_0x57e2e1)return'';return _0x57e2e1['replace'](/@?\[([^\]]+)\]\(mention:[^)]+\)/g,_0x25c1e0[_0xd05c0e(-_0x2e4e41._0x4e4f01,-_0x2e4e41._0x105d44,-_0x2e4e41._0x4bd7a5,-0xcf)]);}function formatMentionsHtml(_0x4af7fc){const _0x1af728={_0x18db6f:0xe7,_0x20831e:0xfb,_0x4af170:0xea,_0x51403f:0xcf,_0x4661f5:0xfa,_0x206e6c:0xb3,_0x78d715:0xca,_0x35ad2e:0xd6,_0x4addfb:0xae,_0x4d341f:0x47e,_0x55cb4c:0x43e,_0x67192c:0xce,_0x5b1c04:0x3c2,_0x3a8beb:0xda,_0x35cab4:0xd9,_0x3dda68:0xc4,_0x4e6a2b:0x3b4,_0x5ba2a1:0x3d3,_0x2c51f8:0x430,_0x2654d6:0x404,_0x2b7faa:0x11a,_0x4fc432:0xdd,_0x232f29:0xfc,_0x1abd41:0x113,_0x45c79a:0x86,_0x335b34:0xc7,_0xe46953:0xa3,_0x2aa207:0x117,_0x206e5f:0xa1,_0x28e552:0xd5,_0x549a52:0x105,_0x211c3f:0xb0},_0x562857={_0x540d70:0x2fb},_0x353a10={_0x5470e0:0x3f},_0x4a27b2={'BjRDM':function(_0x5e5550,_0xf33dc2){return _0x5e5550(_0xf33dc2);},'rarsE':'<span\x20styl'+_0x224193(_0x1af728._0x18db6f,_0x1af728._0x20831e,_0x1af728._0x4af170,_0x1af728._0x51403f)+'und-color:'+_0x224193(_0x1af728._0x4661f5,0xcd,_0x1af728._0x206e6c,0xab)+_0x224193(_0x1af728._0x78d715,_0x1af728._0x35ad2e,_0x1af728._0x4addfb,0xda)+'0.15);\x20col'+_0x2cb87e(0x424,_0x1af728._0x4d341f,_0x1af728._0x55cb4c,0x45c)+'b;\x20padding'+_0x224193(_0x1af728._0x67192c,0xab,0xf2,0xe2)+_0x2cb87e(0x3a8,_0x1af728._0x5b1c04,0x3e9,0x3cb)+_0x224193(_0x1af728._0x3a8beb,_0x1af728._0x35cab4,0x9b,_0x1af728._0x3dda68)+_0x2cb87e(_0x1af728._0x4e6a2b,_0x1af728._0x5ba2a1,_0x1af728._0x2c51f8,_0x1af728._0x2654d6)+_0x224193(_0x1af728._0x2b7faa,_0x1af728._0x4fc432,_0x1af728._0x232f29,_0x1af728._0x1abd41)+_0x224193(0x9a,0xe0,_0x1af728._0x45c79a,_0x1af728._0x335b34)};if(!_0x4af7fc)return'';function _0x224193(_0x548268,_0x4b3b4f,_0x1a8dea,_0x2290bf){return _0xbd17(_0x2290bf- -_0x353a10._0x5470e0,_0x1a8dea);}function _0x2cb87e(_0x5e80a6,_0x55e986,_0x93b3d9,_0x2506bc){return _0xbd17(_0x2506bc-_0x562857._0x540d70,_0x5e80a6);}const _0x5ee6a5=_0x4a27b2[_0x224193(_0x1af728._0xe46953,_0x1af728._0x2aa207,_0x1af728._0x206e5f,_0x1af728._0x28e552)](escapeHtml,_0x4af7fc);return _0x5ee6a5['replace'](/@?\[([^\]]+)\]\(mention:[^)]+\)/g,_0x4a27b2[_0x224193(0x7f,_0x1af728._0x549a52,_0x1af728._0x211c3f,0xbf)]);}function formatCommentForEmail(_0x3e817c,_0x4e3830=0x17de+0x10bd+-0x26a7){const _0x5ac5f7={_0x18201c:0x1bc,_0x448204:0x1ec,_0x344569:0x207,_0x1578f4:0x41d,_0x17c547:0x3c7,_0x121349:0x407,_0x4dcf37:0x236},_0x8284a2={_0x2aeb78:0xc6},_0x336432={_0x3d47f9:0x2db},_0x5e0a69={'XGPMg':function(_0x231512,_0x5f7147){return _0x231512+_0x5f7147;},'HGoBY':'...','cCBKG':function(_0xe26e1,_0x54d0dd){return _0xe26e1(_0x54d0dd);},'cHZTH':function(_0x1df348,_0x4e0b9a){return _0x1df348(_0x4e0b9a);}},_0x3e81d7={};function _0x21064e(_0x1bd6ef,_0xd0f1c2,_0x3d4737,_0x5d698b){return _0xbd17(_0xd0f1c2-_0x336432._0x3d47f9,_0x5d698b);}_0x3e81d7['html']='',_0x3e81d7[_0x43784e(_0x5ac5f7._0x18201c,_0x5ac5f7._0x448204,_0x5ac5f7._0x344569,0x1da)]='';function _0x43784e(_0x5f0855,_0x2ee9b6,_0x34d421,_0x2211af){return _0xbd17(_0x34d421-_0x8284a2._0x2aeb78,_0x2ee9b6);}if(!_0x3e817c)return _0x3e81d7;let _0x1c0b5c=_0x3e817c;_0x3e817c[_0x21064e(0x3cf,_0x5ac5f7._0x1578f4,0x3ec,0x45f)]>_0x4e3830&&(_0x1c0b5c=_0x5e0a69['XGPMg'](_0x3e817c['substring'](0x3a5*-0x1+-0x2*0x491+0xcc7*0x1,_0x4e3830),_0x5e0a69['HGoBY']));const _0x2f3dd1=_0x5e0a69['cCBKG'](formatMentionsPlainText,_0x1c0b5c);let _0x32a933=_0x5e0a69['cHZTH'](formatMentionsHtml,_0x1c0b5c);_0x32a933=_0x32a933[_0x21064e(0x39b,0x3ac,0x379,0x38c)](/\n/g,'<br>');const _0x94f402={};return _0x94f402[_0x21064e(0x389,_0x5ac5f7._0x17c547,0x37c,_0x5ac5f7._0x121349)]=_0x32a933,_0x94f402[_0x43784e(0x22e,_0x5ac5f7._0x4dcf37,0x207,0x221)]=_0x2f3dd1,_0x94f402;}function formatDate(_0x5e4e61){const _0x4e1b93={_0x5aee8b:0x1f1,_0x447d34:0x1c1,_0x174720:0x26c,_0x5305a1:0x296,_0x3f1216:0x1b7,_0x2bd154:0x133,_0x4f8f01:0x120,_0x5dc902:0x149,_0x29ae6e:0x202,_0x4edbd8:0x1d5,_0x278fc1:0x1cf,_0x41f07b:0x26c,_0x526a1b:0x242,_0x202e1c:0x21b,_0xcf94e5:0x1e8},_0x518aa8={};function _0x2331b1(_0x1bb5db,_0x4f70dc,_0x323e09,_0x219590){return _0xbd17(_0x4f70dc- -0x252,_0x323e09);}function _0x234361(_0x21a136,_0x58ce88,_0xaaf18c,_0x467a30){return _0xbd17(_0x21a136-0x123,_0x58ce88);}_0x518aa8[_0x234361(_0x4e1b93._0x5aee8b,0x20f,0x23f,0x223)]=_0x2331b1(-0x1c6,-0x190,-_0x4e1b93._0x447d34,-0x143),_0x518aa8[_0x234361(_0x4e1b93._0x174720,0x263,0x275,_0x4e1b93._0x5305a1)]=_0x2331b1(-_0x4e1b93._0x3f1216,-0x173,-_0x4e1b93._0x2bd154,-0x152),_0x518aa8['SJgbR']='numeric';const _0x245913=_0x518aa8;try{return new Date(_0x5e4e61)[_0x2331b1(-0xf7,-_0x4e1b93._0x4f8f01,-_0x4e1b93._0x5dc902,-0xe2)+'ring'](_0x245913['JIWlL'],{'weekday':_0x234361(_0x4e1b93._0x29ae6e,_0x4e1b93._0x4edbd8,_0x4e1b93._0x278fc1,0x1b7),'year':'numeric','month':_0x245913[_0x234361(_0x4e1b93._0x41f07b,_0x4e1b93._0x526a1b,0x28c,_0x4e1b93._0x202e1c)],'day':_0x245913['SJgbR'],'hour':'2-digit','minute':_0x234361(0x217,0x251,_0x4e1b93._0xcf94e5,_0x4e1b93._0x4edbd8)});}catch{return _0x5e4e61;}}function buildTaskUrl(_0x4c07d8,_0x36e8fb,_0x48e35c){const _0x1654a9={_0xea9457:0x17b,_0x4fb970:0x1cf,_0x117d3f:0x138,_0x470dee:0x16e,_0x1e83e8:0x150,_0xb21bc0:0x191,_0x9218eb:0x18a,_0x28444f:0x196,_0xe70a26:0x1a2,_0x45d39a:0x345,_0x10ce6a:0x3a4,_0x4e0193:0x2ff,_0x2cdc55:0x338,_0x293c80:0x37e,_0x3b8207:0x159,_0x15ed1f:0x13b,_0x8ed5b1:0x149,_0x463a1b:0x122,_0x526229:0xd2,_0x1268aa:0x14b,_0x538d3b:0x11f,_0x3a5780:0x306,_0x19aa13:0x335,_0x3423db:0x384,_0x27e2ab:0x1c8,_0x4529c3:0x36d,_0x3fa5c8:0x180,_0x5d2fb8:0x155,_0x5ae27d:0x11f,_0x512e30:0x1c2,_0x46cbaa:0x3bf,_0x54a606:0x393,_0x2d1cb8:0x137,_0x44d27a:0x16d,_0x8ca80f:0xe4,_0x54936d:0x135},_0x2f42c4={_0x5a696f:0x279};function _0x3ffd11(_0x188e7e,_0x53a5d2,_0x213b31,_0x440649){return _0xbd17(_0x440649- -_0x2f42c4._0x5a696f,_0x188e7e);}const _0x3a756f={};_0x3a756f[_0x3ffd11(-0x19b,-_0x1654a9._0xea9457,-_0x1654a9._0x4fb970,-0x1b3)]='Failed\x20to\x20'+'process\x20me'+_0x3ffd11(-_0x1654a9._0x117d3f,-0x14d,-_0x1654a9._0x470dee,-_0x1654a9._0x1e83e8)+_0x3ffd11(-0x182,-0x16e,-_0x1654a9._0xb21bc0,-_0x1654a9._0x9218eb),_0x3a756f[_0x3ffd11(-0x162,-_0x1654a9._0x28444f,-_0x1654a9._0xe70a26,-0x15b)]=function(_0x59ef16,_0x52f440){return _0x59ef16===_0x52f440;},_0x3a756f[_0x12800d(_0x1654a9._0x45d39a,0x31e,_0x1654a9._0x10ce6a,0x35d)]='objective',_0x3a756f[_0x12800d(_0x1654a9._0x4e0193,_0x1654a9._0x2cdc55,_0x1654a9._0x293c80,0x32c)]=function(_0x3dd885,_0x558e74){return _0x3dd885!==_0x558e74;},_0x3a756f[_0x3ffd11(-_0x1654a9._0x3b8207,-_0x1654a9._0x15ed1f,-0x195,-0x175)]=_0x3ffd11(-0xee,-0xde,-_0x1654a9._0x8ed5b1,-_0x1654a9._0x463a1b);function _0x12800d(_0x593a91,_0x232749,_0x2df341,_0x2eaed5){return _0xbd17(_0x2eaed5-0x264,_0x232749);}_0x3a756f[_0x3ffd11(-_0x1654a9._0x526229,-_0x1654a9._0x1268aa,-0x10f,-_0x1654a9._0x538d3b)]='qItBM';const _0x2928c8=_0x3a756f,_0x20c2a6=_0x48e35c?_0x48e35c[_0x12800d(0x353,0x340,_0x1654a9._0x3a5780,_0x1654a9._0x19aa13)](/\/$/,''):'';if(_0x36e8fb&&_0x2928c8['tNaZc'](_0x36e8fb[_0x12800d(0x357,0x3d1,_0x1654a9._0x3423db,0x38b)],_0x2928c8[_0x3ffd11(-_0x1654a9._0x27e2ab,-0x14d,-0x1b2,-0x180)])){if(_0x2928c8[_0x12800d(_0x1654a9._0x4529c3,0x368,0x375,0x32c)](_0x2928c8[_0x3ffd11(-0x19f,-_0x1654a9._0x3fa5c8,-_0x1654a9._0x5d2fb8,-0x175)],_0x2928c8[_0x3ffd11(-0x163,-0x11d,-0x14b,-_0x1654a9._0x5ae27d)]))return _0x20c2a6+('/index.htm'+_0x3ffd11(-_0x1654a9._0x512e30,-0x1e4,-0x1ba,-0x1b8)+'e=')+_0x4c07d8;else{const _0x34483f={};_0x34483f[_0x12800d(_0x1654a9._0x46cbaa,0x3a6,0x369,_0x1654a9._0x54a606)]=_0x379585,_0x34483f['error']=_0x452ab1['message'],_0x36ebf1[_0x3ffd11(-0x191,-0x199,-_0x1654a9._0x2d1cb8,-0x153)](_0x2928c8[_0x3ffd11(-0x1a5,-_0x1654a9._0x44d27a,-0x17e,-0x1b3)],_0x34483f);}}return _0x20c2a6+(_0x3ffd11(-0xde,-0xd7,-0xd3,-0x114)+_0x3ffd11(-0x154,-_0x1654a9._0x8ca80f,-0xf0,-_0x1654a9._0x54936d))+_0x4c07d8;}export async function sendMentionNotifications({commentContent:_0x37449d,commenter:_0x36e02e,task:_0x40b8a4,taskId:_0x3f6d2c,commentedAt:_0x3f94ca,baseUrl:_0x300cc0}){const _0x581017={_0x4f7fc8:0x140,_0x596677:0x165,_0x25a3b4:0x117,_0x46a070:0x9a,_0x2a234c:0xc7,_0x54646d:0x13b,_0x4e3a75:0xae,_0x45232f:0xfd,_0xff1373:0x11f,_0x4115d5:0xb0,_0x1bb888:0xc0,_0x39fa78:0xa0,_0x1809dc:0xb7,_0x523471:0xab,_0x4f5dfd:0xca,_0x394b74:0x1fc,_0x56c4f8:0x108,_0x3326d5:0xd1,_0x4a086a:0xeb,_0x4a5aab:0x51,_0x4e4ee6:0x82,_0x16ce8f:0xf0,_0x2c8855:0xe8,_0xdd8c9f:0xd5,_0x5b98e6:0x11a,_0x585746:0x101,_0x17d2f9:0x167,_0x3a9825:0x18d,_0x1240f5:0x137,_0x367782:0x77,_0xfdaedb:0xc1,_0x115392:0xea,_0x59d62d:0x119,_0x33d6b6:0x157,_0x334c80:0x16f,_0x5db2d2:0x120,_0xa4cf5c:0x12c,_0x5f4817:0x152,_0x586130:0x188,_0x42f4e9:0x1c7,_0x8385de:0x1a8,_0x2e5c61:0x11d,_0x481c90:0xc9,_0x4b7be5:0x8a,_0x36c684:0xf3,_0x3f14d2:0xa9,_0x5a08ce:0x206,_0x51165f:0x1d5,_0x2f3a19:0x1a5,_0x2a7eb2:0xaf,_0x3175b:0x1d5,_0x46c4a3:0x1d4,_0x1bbf12:0x1f0,_0x30aa7c:0xa7,_0x43e2e3:0x16c,_0x4aa69d:0x10e,_0x14bd2b:0xbb,_0x1ea6a2:0x13d,_0x3f7c7b:0x191,_0x1defe1:0x1bf,_0xad7944:0xb8,_0x27461d:0xd9,_0x10aae6:0x1c3,_0x3a94b8:0x1a3,_0x3156a9:0x1b8,_0x3fc0ab:0x1f5,_0xac6fb8:0xd6,_0xb60e7:0xcd,_0x38ddd2:0x194,_0x3ccecc:0x189,_0x4290c6:0xab,_0x55b381:0xd8,_0x4e421d:0x17c,_0x26d11a:0x19b,_0x27337c:0x1a4,_0x709d4f:0x1ab,_0x160a71:0x1e4,_0x5231b7:0x133,_0x70af48:0x1b1,_0xf0bb41:0x1e9,_0x272b0a:0x205,_0x27db93:0xcb,_0x337e72:0xfa,_0x5554b1:0xad,_0xcadad:0x13d,_0x4c0cbb:0x15c,_0x257df0:0x174,_0x9ece4f:0x214,_0x56dc0a:0x195,_0x119491:0x1ea,_0xcaa2b:0x15d,_0x159f84:0xcd,_0x3ebe5e:0x11a,_0x1a4127:0xcf,_0x2a532a:0xe2,_0x2e758b:0x14c,_0xa4a4c3:0x17f,_0x1af9ea:0x143,_0x479dee:0x184,_0x57f357:0x146,_0x5c7486:0x19a,_0x39be0d:0x15b,_0x3a3a5e:0x198,_0x40d660:0x17e,_0x21dbcd:0x111,_0x450468:0x175,_0x79d83:0xa1,_0x3011b8:0xba,_0x56ca8d:0x134,_0x914f3c:0x129,_0x52d576:0x15f,_0x523891:0x18f,_0x23de97:0x17f,_0x208844:0xac,_0x1acaaf:0x91,_0x5e055d:0x109,_0x345c4e:0x125,_0x41cc7d:0x151,_0x35b5db:0x183,_0x42488c:0x199,_0x3e9d90:0x1cb,_0x4c443a:0x1d7,_0x1e8e8c:0x1d3,_0x5eb128:0x200,_0x485bbe:0x212,_0x4e7f12:0x1ca,_0x377674:0x112,_0x4ace66:0x11d,_0x31868d:0xde,_0xcf85c0:0xb2,_0x2c01d3:0x17f,_0x2a623f:0x1ae,_0x22fb18:0x1d9,_0x1617bc:0xc9,_0x331338:0xf1,_0x159de1:0xed,_0x1c1a2d:0x5f,_0x45a85b:0xa1,_0x11a3bf:0x64,_0x376328:0x156,_0x2bbb5c:0x12f,_0x39a4a7:0x110,_0x12d1a9:0x10b,_0x3d489a:0x12e,_0x59c52e:0xde,_0x110c2a:0x1c1,_0x5b60d9:0x11e,_0x3728da:0x10d,_0x55bc7b:0xf8,_0xec6060:0x131,_0x1857a0:0x128,_0x40d883:0x8d,_0x4e746a:0xba,_0x5ee7d2:0xaa,_0x19fefa:0xf6,_0x1672a6:0xc8,_0x2bf9cc:0x1b0,_0x4e23d2:0x164,_0x3f1675:0x1a7,_0x38c99f:0x16e,_0x3eeac1:0x18c,_0x11c390:0x148,_0x110f73:0x10f,_0x132809:0x201,_0x133095:0x1ba,_0x1b97e4:0x19a,_0x3b4e1b:0x1bb,_0x40cea5:0x1e0,_0x3f7a44:0x96,_0x324f19:0xe3,_0x1298df:0x135,_0x5a9dbb:0x189,_0x1b187b:0x1bd,_0x46faf2:0x176,_0x376bb2:0x185,_0x1c87fb:0x1d2,_0x157364:0xec,_0x3f9401:0x1b6,_0x21ea87:0x13c,_0x47eeab:0x180,_0x471de6:0x189,_0x1fc45d:0x144,_0x3e26d3:0x126,_0x28cfa0:0xff,_0x570d6c:0x1f9,_0x518318:0x1d0,_0x110402:0x1c4,_0x36aefc:0x1fb,_0x5c979c:0x192,_0x5b356a:0x1b3,_0x24a12f:0x1b4,_0x27b54c:0x1d8,_0x26cd30:0x1cf,_0x5cefab:0x190,_0x1e9261:0x204,_0x196626:0x1d8,_0x36f851:0x16a},_0x4341e0={_0x32be66:0x2af},_0x5d2b01={_0x2c2880:0x34},_0x24cab3={'zJCgI':_0x28f370(-0x180,-_0x581017._0x4f7fc8,-0x16c,-_0x581017._0x596677)+_0x26e9b9(_0x581017._0x25a3b4,_0x581017._0x46a070,_0x581017._0x2a234c,0xa2)+_0x26e9b9(_0x581017._0x54646d,_0x581017._0x4e3a75,_0x581017._0x45232f,_0x581017._0xff1373)+_0x26e9b9(_0x581017._0x4115d5,0x7d,0x96,_0x581017._0x1bb888),'eTciT':_0x26e9b9(0xa7,0xb5,0x8e,0xc3),'drjZt':_0x26e9b9(_0x581017._0x39fa78,_0x581017._0x1809dc,_0x581017._0x523471,_0x581017._0x4f5dfd),'fBfyD':_0x28f370(-0x1b3,-0x1e7,-0x1d8,-_0x581017._0x394b74),'HckCS':'2-digit','uQcvK':function(_0x1a0856){return _0x1a0856();},'nGUme':function(_0x10e317,_0x273cf9){return _0x10e317!==_0x273cf9;},'PDKaQ':'FJtmI','DQgVe':_0x26e9b9(0xbf,_0x581017._0x56c4f8,_0x581017._0x3326d5,_0x581017._0x4a086a),'YgUNa':_0x26e9b9(_0x581017._0x4a5aab,0x81,0xa5,_0x581017._0x4e4ee6)+_0x26e9b9(0x13b,0xfb,_0x581017._0x16ce8f,_0x581017._0x2c8855)+_0x26e9b9(_0x581017._0xdd8c9f,_0x581017._0x5b98e6,0xe6,_0x581017._0x585746)+_0x28f370(-0x15c,-0x1b1,-_0x581017._0x17d2f9,-_0x581017._0x3a9825)+_0x26e9b9(0x124,_0x581017._0x1240f5,0x10a,0x14b)+'ns','fVzcr':function(_0x147cff,_0x3adf49){return _0x147cff(_0x3adf49);},'kELqD':_0x26e9b9(_0x581017._0x367782,0xbd,_0x581017._0xfdaedb,_0x581017._0x115392)+'\x20mention\x20n'+'otificatio'+'ns','xYkDe':function(_0x5bff53,_0x235809,_0x4cd28f,_0x1d8801){return _0x5bff53(_0x235809,_0x4cd28f,_0x1d8801);},'UjvFV':function(_0x2d9331,_0x5ba89d){return _0x2d9331===_0x5ba89d;},'zYgzy':function(_0x10bb58,_0x141a28){return _0x10bb58===_0x141a28;},'lUaiE':'PjaXW','GOZOI':function(_0x189004,_0x153fa5){return _0x189004!==_0x153fa5;},'OPesa':_0x26e9b9(0xd7,0x106,_0x581017._0x59d62d,_0x581017._0x33d6b6),'wANHo':_0x28f370(-_0x581017._0x334c80,-0x169,-0x1bd,-0x1fe),'SVAqr':_0x26e9b9(_0x581017._0x5db2d2,0x13b,_0x581017._0xa4cf5c,_0x581017._0x5f4817)+'user\x20has\x20n'+_0x28f370(-_0x581017._0x586130,-0x1dc,-_0x581017._0x42f4e9,-_0x581017._0x8385de),'ytKJz':'User\x20has\x20m'+'ention\x20not'+_0x26e9b9(_0x581017._0x2e5c61,0xe5,_0x581017._0x481c90,_0x581017._0x4b7be5)+_0x26e9b9(_0x581017._0x36c684,0x68,_0x581017._0x3f14d2,0xe3),'QQSMv':_0x26e9b9(0x15a,0xeb,0x12e,_0x581017._0x45232f)+_0x28f370(-0x1cd,-_0x581017._0x5a08ce,-_0x581017._0x51165f,-_0x581017._0x2f3a19),'xbNVL':_0x26e9b9(0xdd,0xd7,_0x581017._0x2a7eb2,_0x581017._0x16ce8f),'QyODm':function(_0x4d6eba,_0xaad30f){return _0x4d6eba(_0xaad30f);},'OcVTz':'Mention\x20no'+_0x28f370(-0x1c6,-0x224,-_0x581017._0x3175b,-0x213)+_0x28f370(-0x1b5,-_0x581017._0x46c4a3,-_0x581017._0x1bbf12,-0x1bd),'lEAro':function(_0xbf5281,_0xca78f0){return _0xbf5281!==_0xca78f0;},'OzLbH':'NCpoe','SHmHE':_0x26e9b9(0xd8,0xe2,0xdf,_0x581017._0x30aa7c),'JkwQs':_0x28f370(-0x18d,-0x156,-_0x581017._0x43e2e3,-0x11a)+_0x26e9b9(_0x581017._0x4aa69d,0x116,0x109,_0x581017._0x14bd2b)+_0x28f370(-_0x581017._0x1ea6a2,-_0x581017._0x3f7c7b,-0x186,-_0x581017._0x1defe1)+_0x26e9b9(_0x581017._0xad7944,_0x581017._0x27461d,0xbb,_0x581017._0x523471)};function _0x26e9b9(_0x11f17d,_0x58d7a3,_0x5dd442,_0x3ea677){return _0xbd17(_0x5dd442- -_0x5d2b01._0x2c2880,_0x3ea677);}function _0x28f370(_0x479649,_0x257691,_0x5c274c,_0x10da37){return _0xbd17(_0x5c274c- -_0x4341e0._0x32be66,_0x479649);}try{const _0x157aad=await _0x24cab3[_0x28f370(-_0x581017._0x10aae6,-_0x581017._0x3a94b8,-_0x581017._0x3156a9,-_0x581017._0x3fc0ab)](isEmailConfigured);if(!_0x157aad){if(_0x24cab3[_0x26e9b9(0x125,0xdf,_0x581017._0xac6fb8,_0x581017._0xb60e7)](_0x24cab3[_0x28f370(-_0x581017._0x38ddd2,-0x1ec,-0x1a0,-_0x581017._0x3ccecc)],_0x24cab3[_0x26e9b9(0xc4,_0x581017._0x4290c6,0x93,_0x581017._0x55b381)])){logger[_0x26e9b9(_0x581017._0x4f7fc8,0xee,0xf9,0xf3)](_0x24cab3[_0x28f370(-_0x581017._0x4e421d,-0x129,-0x151,-0x12c)]);return;}else{if(!_0x4943d6)return[];const _0x459564=/@?\[([^\]]+)\]\(mention:([^)]+)\)/g,_0x1a2991=_0x585a2a[_0x28f370(-_0x581017._0x26d11a,-0x17a,-0x178,-_0x581017._0x27337c)](_0x459564),_0xfa7760=[..._0x1a2991][_0x28f370(-_0x581017._0x709d4f,-0x1c9,-_0x581017._0x160a71,-0x197)](_0x2c6cab=>_0x2c6cab[0x3a5*-0x1+0x7*-0x126+0xbb1]);return[...new _0x1a928a(_0xfa7760)];}}const _0x4aa98e=_0x24cab3[_0x26e9b9(0xce,_0x581017._0x5231b7,0x11c,0x16d)](parseMentions,_0x37449d);if(_0x4aa98e[_0x26e9b9(0x146,0x128,0x10e,0xf7)]===-0x1ea9+0x47e+0x7*0x3bd)return;const _0x34432c={};_0x34432c['taskId']=_0x3f6d2c,_0x34432c[_0x28f370(-_0x581017._0x70af48,-_0x581017._0xf0bb41,-0x1dc,-_0x581017._0x272b0a)+_0x26e9b9(_0x581017._0x27db93,_0x581017._0x337e72,_0x581017._0x27db93,_0x581017._0x5554b1)]=_0x4aa98e,_0x34432c[_0x28f370(-0x134,-_0x581017._0xcadad,-0x14b,-_0x581017._0x4c0cbb)]=_0x36e02e['username'],logger[_0x26e9b9(_0x581017._0x4e4ee6,0xba,0xaa,0x99)](_0x24cab3[_0x28f370(-0x152,-0x1ae,-_0x581017._0x257df0,-0x14b)],_0x34432c);const _0xd804cd=_0x24cab3[_0x28f370(-_0x581017._0x9ece4f,-_0x581017._0x56dc0a,-0x1ce,-_0x581017._0x119491)](buildTaskUrl,_0x3f6d2c,_0x40b8a4,_0x300cc0),_0xa43313=_0x24cab3['UjvFV'](_0x40b8a4['status'],_0x26e9b9(0x135,_0x581017._0xcaa2b,_0x581017._0x2e5c61,_0x581017._0x159f84)),_0x13bc10=_0x40b8a4[_0x26e9b9(_0x581017._0x3ebe5e,_0x581017._0x1a4127,_0x581017._0x2a532a,0x10b)]||_0x40b8a4[_0x28f370(-0x10a,-0x13c,-_0x581017._0x2e758b,-0x186)]||(_0xa43313?'Objective\x20'+_0x3f6d2c:_0x28f370(-0x1a8,-0x149,-_0x581017._0xa4a4c3,-_0x581017._0x1af9ea)+_0x3f6d2c);for(const _0x4252f6 of _0x4aa98e){if(_0x24cab3[_0x28f370(-_0x581017._0x479dee,-0x163,-0x152,-_0x581017._0x57f357)](_0x24cab3[_0x28f370(-0x152,-_0x581017._0x5c7486,-_0x581017._0x39be0d,-_0x581017._0x3a3a5e)],_0x24cab3[_0x28f370(-_0x581017._0x40d660,-_0x581017._0x21dbcd,-_0x581017._0x39be0d,-_0x581017._0x450468)])){if(_0x4252f6===_0x36e02e[_0x26e9b9(0x102,_0x581017._0x79d83,_0x581017._0x3011b8,0x10c)])continue;try{const _0x282672=await _0x24cab3[_0x28f370(-_0x581017._0x56ca8d,-_0x581017._0x914f3c,-_0x581017._0x52d576,-_0x581017._0x523891)](findUserById,_0x4252f6);if(!_0x282672){const _0x50ecdd={};_0x50ecdd['userId']=_0x4252f6,logger['debug'](_0x26e9b9(_0x581017._0x23de97,0x167,_0x581017._0xa4cf5c,0xeb)+_0x26e9b9(_0x581017._0x208844,0x6d,_0x581017._0x1acaaf,0xde)+_0x26e9b9(0x16c,_0x581017._0x5e055d,_0x581017._0x345c4e,_0x581017._0x41cc7d),_0x50ecdd);continue;}if(!_0x282672['email']){if(_0x24cab3[_0x28f370(-_0x581017._0x35b5db,-_0x581017._0x334c80,-0x161,-0x118)](_0x24cab3[_0x28f370(-_0x581017._0x42488c,-_0x581017._0x3e9d90,-0x198,-0x1b0)],_0x24cab3[_0x28f370(-_0x581017._0x4c443a,-0x1ed,-0x1bc,-_0x581017._0x1e8e8c)])){const _0x307c8c={};_0x307c8c[_0x26e9b9(0x69,0x101,0xba,_0x581017._0xdd8c9f)]=_0x4252f6,logger['debug'](_0x24cab3['SVAqr'],_0x307c8c);continue;}else{const _0x3b2cd4={};_0x3b2cd4[_0x28f370(-_0x581017._0x5eb128,-_0x581017._0x485bbe,-_0x581017._0x4e7f12,-0x1c6)]=_0x34dd12,_0x35f186[_0x26e9b9(_0x581017._0x377674,0xf4,0xf9,0x149)](_0x26e9b9(0x15d,_0x581017._0x4ace66,_0x581017._0x25a3b4,0xe4)+_0x26e9b9(_0x581017._0x31868d,_0x581017._0xcf85c0,0xf1,0x134)+_0x28f370(-0x1e3,-0x1d0,-0x1ec,-0x1f5),_0x3b2cd4);return;}}const _0x2be4e3=_0x24cab3[_0x28f370(-_0x581017._0x2c01d3,-_0x581017._0x2a623f,-0x1a5,-_0x581017._0x22fb18)](_0x282672['preference'+'s']?.['email_ment'+_0x26e9b9(0x77,_0x581017._0x1617bc,0x95,0xe8)],![]);if(!_0x2be4e3){const _0xa5190a={};_0xa5190a[_0x26e9b9(_0x581017._0x331338,0x97,0xba,_0x581017._0x159de1)]=_0x4252f6,logger['debug'](_0x24cab3[_0x26e9b9(_0x581017._0x1c1a2d,0xd0,_0x581017._0x4115d5,0xc6)],_0xa5190a);continue;}const _0x164fad=_0x24cab3['fVzcr'](formatCommentForEmail,_0x37449d);await _0x24cab3[_0x28f370(-0x131,-_0x581017._0x3a3a5e,-0x15f,-_0x581017._0x5db2d2)](sendTemplatedEmail,{'to':_0x282672['email'],'template':_0x24cab3[_0x26e9b9(0xb0,0x6a,_0x581017._0x45a85b,_0x581017._0x11a3bf)],'data':{'type':_0x24cab3['xbNVL'],'recipientName':_0x282672[_0x26e9b9(_0x581017._0x376328,_0x581017._0x2c01d3,_0x581017._0x2bbb5c,_0x581017._0x39a4a7)]||_0x282672[_0x26e9b9(_0x581017._0x12d1a9,_0x581017._0x3d489a,_0x581017._0x59c52e,0xe4)],'actorName':_0x36e02e[_0x28f370(-0x19f,-0x15a,-_0x581017._0x2e758b,-0x178)]||_0x36e02e['username'],'taskTitle':_0x13bc10,'taskUrl':_0xd804cd,'isObjective':_0xa43313,'commentPreviewHtml':_0x164fad[_0x28f370(-0x20e,-0x1d5,-0x1c3,-_0x581017._0x110c2a)],'commentPreviewText':_0x164fad[_0x26e9b9(0xe5,_0x581017._0x5b60d9,_0x581017._0x3728da,_0x581017._0x55bc7b)],'commentedAt':_0x24cab3['QyODm'](formatDate,_0x3f94ca)}});const _0x2ff8ba={};_0x2ff8ba['to']=_0x282672[_0x26e9b9(0xad,_0x581017._0xec6060,_0x581017._0x337e72,_0x581017._0x1857a0)],_0x2ff8ba[_0x26e9b9(0xf0,_0x581017._0x40d883,_0x581017._0x4e746a,0xf0)]=_0x4252f6,_0x2ff8ba['taskId']=_0x3f6d2c,logger[_0x26e9b9(0xb0,0x8a,_0x581017._0x5ee7d2,_0x581017._0x19fefa)](_0x24cab3[_0x26e9b9(0x120,0x100,0xcd,_0x581017._0x1672a6)],_0x2ff8ba);}catch(_0x28c014){const _0x56af0b={};_0x56af0b['userId']=_0x4252f6,_0x56af0b[_0x28f370(-_0x581017._0x56dc0a,-0x1aa,-0x189,-_0x581017._0x2bf9cc)]=_0x28c014[_0x28f370(-_0x581017._0xcaa2b,-_0x581017._0x4e23d2,-_0x581017._0x3f1675,-0x1a3)],logger[_0x28f370(-0x182,-_0x581017._0x38c99f,-_0x581017._0x3ccecc,-_0x581017._0x3eeac1)](_0x26e9b9(_0x581017._0x11c390,0x145,_0x581017._0x110f73,_0x581017._0x33d6b6)+_0x28f370(-0x1ab,-_0x581017._0x132809,-0x1e3,-_0x581017._0x133095)+_0x28f370(-_0x581017._0x1b97e4,-_0x581017._0x3b4e1b,-0x1a2,-_0x581017._0x40cea5)+_0x26e9b9(0x66,0x5a,_0x581017._0x3f7a44,_0x581017._0x324f19),_0x56af0b);}}else{const _0xbd12e7={};_0xbd12e7[_0x26e9b9(0x11c,_0x581017._0x1298df,0xfb,0x115)]=_0x4467e9,_0xbd12e7[_0x28f370(-0x13a,-0x14f,-_0x581017._0x5a9dbb,-0x1ce)]=_0x46f7bc['message'],_0x3f76d5[_0x28f370(-0x1ba,-_0x581017._0x1b187b,-0x189,-0x17c)](_0x24cab3[_0x28f370(-_0x581017._0x46faf2,-0x190,-_0x581017._0x376bb2,-_0x581017._0x1c87fb)],_0xbd12e7);}}}catch(_0x2066dc){if(_0x24cab3[_0x26e9b9(0xa7,0xa2,0xc6,0x116)](_0x24cab3[_0x26e9b9(0xb0,0xaa,_0x581017._0x157364,0xd4)],_0x24cab3[_0x28f370(-0x1c7,-0x19f,-0x1bf,-_0x581017._0x3f9401)])){const _0x38668b={};_0x38668b[_0x28f370(-0x14f,-_0x581017._0x21ea87,-_0x581017._0x47eeab,-0x151)]=_0x3f6d2c,_0x38668b['error']=_0x2066dc['message'],logger[_0x28f370(-_0x581017._0x3f1675,-0x1b3,-_0x581017._0x471de6,-_0x581017._0x1fc45d)](_0x24cab3['JkwQs'],_0x38668b);}else return new _0x4c0695(_0x410cc5)['toLocaleSt'+_0x26e9b9(_0x581017._0x36c684,_0x581017._0x3e26d3,_0x581017._0x28cfa0,0xd8)](_0x24cab3[_0x28f370(-0x1ec,-0x1b7,-0x1b7,-_0x581017._0x570d6c)],{'weekday':_0x24cab3[_0x28f370(-_0x581017._0x518318,-0x182,-_0x581017._0x110402,-_0x581017._0x36aefc)],'year':_0x24cab3[_0x28f370(-_0x581017._0x5c979c,-_0x581017._0x5b356a,-0x1a4,-_0x581017._0x24a12f)],'month':_0x24cab3[_0x28f370(-_0x581017._0x27b54c,-0x1e0,-_0x581017._0x110402,-_0x581017._0x26cd30)],'day':_0x28f370(-_0x581017._0x5cefab,-_0x581017._0x1e9261,-_0x581017._0x196626,-0x1ce),'hour':_0x24cab3[_0x26e9b9(0x138,0x157,0x121,0x152)],'minute':_0x24cab3[_0x28f370(-0x146,-_0x581017._0x377674,-0x15a,-_0x581017._0x36f851)]});}}export async function sendCommentNotification({commentContent:_0x5c300a,commenter:_0x2b891c,task:_0x5a9f1d,taskId:_0x5bb679,commentedAt:_0x144218,baseUrl:_0x33fb84}){const _0x33f547={_0x189c10:0x357,_0xf15dfd:0x35f,_0x5594d5:0x38b,_0x241391:0x2b9,_0x1cfd5a:0x274,_0x166f20:0x34e,_0x51a421:0x384,_0x468157:0x38f,_0x237782:0x18a,_0x8be6fc:0x353,_0x372853:0x223,_0x24fb1d:0x269,_0x286659:0x252,_0x124898:0x33e,_0x3ca88d:0x2f6,_0x292bf9:0x226,_0x3bb66f:0x1d4,_0x1b9428:0x1ec,_0x3e4ae7:0x1cf,_0x16781c:0x220,_0x4e59d5:0x217,_0x5538f9:0x248,_0x2cfb70:0x3c2,_0x2e6b23:0x360,_0x30be78:0x376,_0x179de8:0x30f,_0x55a91a:0x2f5,_0x2c0166:0x276,_0x5ecc65:0x246,_0xa1ebc6:0x255,_0x22281c:0x21e,_0x40b3cf:0x24d,_0x5b6b4e:0x269,_0x292d1c:0x359,_0xa406f:0x31d,_0x2b530f:0x36e,_0xdb21c4:0x332,_0x3c0a91:0x350,_0x3d07a4:0x1ac,_0x3b81a8:0x1e8,_0x21b938:0x233,_0x25e525:0x1c6,_0x327ec7:0x1b5,_0x4919e8:0x21b,_0x4a65d9:0x1ee,_0x4f6ab2:0x22f,_0x4b3ed8:0x1db,_0x446836:0x1e0,_0x1cc960:0x377,_0x4ab3d8:0x33a,_0x23e052:0x263,_0x576fc5:0x228,_0xb4bf1:0x300,_0xc734d1:0x3e0,_0x56a83d:0x378,_0x24ff5d:0x38b,_0xbde088:0x209,_0x343e72:0x1fe,_0x323f79:0x1bb,_0x419972:0x26c,_0x4efd7:0x19d,_0x20d4a9:0x1e3,_0x23e6bf:0x1ba,_0xd00b72:0x224,_0x5d0dce:0x22b,_0xc229b0:0x21f,_0x3bfe56:0x1ec,_0xa51d5d:0x3b6,_0x59c1f9:0x392,_0x308c11:0x254,_0x56a4f4:0x30b,_0x1d85f4:0x2ff,_0x256084:0x35c,_0x4efd36:0x2ec,_0x514f56:0x346,_0x2abce3:0x354,_0x4b0a90:0x356,_0x148fbd:0x337,_0x13fd56:0x323,_0x2fdaca:0x35a,_0x9e86ca:0x34c,_0x1f8718:0x1cc,_0x342cc2:0x22c,_0xec98a4:0x21c,_0x569545:0x31b,_0x421f7e:0x2df,_0x31e45f:0x19b,_0x509c71:0x202,_0x4915cd:0x268,_0x18085f:0x238,_0xb21d9:0x21c,_0x709a28:0x2de,_0x2b2335:0x23e,_0x1067dd:0x1f7,_0x474380:0x362,_0x3057ce:0x330,_0x3735a7:0x364,_0x103d82:0x232,_0x1fd9f8:0x1c1,_0x266218:0x35a,_0x1d389c:0x38a,_0x4e7ef5:0x25d,_0x12d72d:0x262,_0x204b3c:0x21f,_0x3e8a9a:0x34b,_0xf5f134:0x349,_0x2972b0:0x257,_0x352155:0x22d,_0x4c485f:0x1f7,_0x45533a:0x1ee,_0x23ebfb:0x376,_0x374e2b:0x387,_0x10a1f7:0x331,_0xe53a6d:0x38d,_0x40a7b7:0x36a,_0x3a25bd:0x34d,_0x49168f:0x2ed,_0x44a69b:0x33e,_0x31c301:0x35a,_0x6d02a1:0x3c1,_0x11dd4b:0x31e,_0x5e5c30:0x367,_0x55607f:0x31b,_0x59eff6:0x3a9,_0x12e949:0x1e7,_0x1e5a51:0x210,_0x4924f5:0x22f,_0x18f1f6:0x184,_0x25afd3:0x1c3,_0x10c84a:0x1f1,_0x3e512a:0x345,_0x55b41c:0x38a,_0x4af7fe:0x35e,_0x58aa6f:0x1bd,_0x218472:0x1ea,_0xcfe2dc:0x398,_0x5e330c:0x3bf,_0x5927eb:0x225,_0x56944b:0x1e3,_0x1cd624:0x23a,_0x5a9815:0x206,_0x242860:0x1e5,_0x2bc347:0x1a9,_0x3ed585:0x1fa,_0x531650:0x1f8,_0x1da7a6:0x1e0,_0x3ba198:0x381,_0x4f014d:0x344,_0x57018f:0x30c,_0x16a1c4:0x3da,_0x21c11a:0x242,_0x501f4b:0x1f9,_0x3f86f2:0x1e3,_0x52d2e4:0x364,_0x5554ff:0x3b7,_0x25f462:0x1d9,_0x12359d:0x21e,_0x596df9:0x256,_0x20b5b8:0x237,_0x2fed98:0x271},_0x31afd7={_0x47e871:0x235};function _0x278caa(_0x44caa8,_0x33de50,_0x396f07,_0x33b9a9){return _0xbd17(_0x33de50- -0x326,_0x396f07);}function _0x392d25(_0x35514d,_0x4b9297,_0x3a0700,_0x1b072a){return _0xbd17(_0x35514d-_0x31afd7._0x47e871,_0x3a0700);}const _0x3b7237={'BJMwB':function(_0x51f22c,_0xa81eea){return _0x51f22c(_0xa81eea);},'QXfAi':_0x392d25(_0x33f547._0x189c10,0x39b,0x397,0x396)+_0x392d25(0x343,0x385,_0x33f547._0xf15dfd,_0x33f547._0x5594d5)+_0x278caa(-0x28b,-0x266,-_0x33f547._0x241391,-_0x33f547._0x1cfd5a)+'\x20rgba(59,\x20'+_0x392d25(_0x33f547._0x166f20,_0x33f547._0x51a421,_0x33f547._0x468157,0x35f)+'0.15);\x20col'+_0x278caa(-_0x33f547._0x237782,-0x1c5,-0x1c8,-0x1f2)+'b;\x20padding'+':\x201px\x204px;'+_0x392d25(0x305,0x318,0x2c5,_0x33f547._0x8be6fc)+_0x278caa(-0x1d0,-_0x33f547._0x372853,-_0x33f547._0x24fb1d,-_0x33f547._0x286659)+_0x392d25(_0x33f547._0x124898,_0x33f547._0x3ca88d,0x306,0x35e)+_0x278caa(-_0x33f547._0x292bf9,-_0x33f547._0x3bb66f,-0x1e1,-_0x33f547._0x1b9428)+_0x278caa(-_0x33f547._0x3e4ae7,-_0x33f547._0x16781c,-_0x33f547._0x4e59d5,-_0x33f547._0x5538f9),'LRvcC':_0x392d25(0x37a,0x399,0x37b,_0x33f547._0x2cfb70)+_0x392d25(_0x33f547._0x2e6b23,0x39b,0x388,_0x33f547._0x30be78)+_0x392d25(_0x33f547._0x179de8,0x35b,_0x33f547._0x55a91a,0x359)+_0x278caa(-_0x33f547._0x2c0166,-_0x33f547._0x5ecc65,-_0x33f547._0xa1ebc6,-_0x33f547._0x22281c),'QvwCU':function(_0x4cb924,_0x24b9d5){return _0x4cb924===_0x24b9d5;},'fVgEz':'gRVSE','lUwCt':function(_0x1b2c4d){return _0x1b2c4d();},'qGxyd':_0x278caa(-0x27c,-_0x33f547._0x40b3cf,-0x27c,-_0x33f547._0x5b6b4e)+_0x392d25(_0x33f547._0x292d1c,0x32d,_0x33f547._0xa406f,0x392)+',\x20skipping'+_0x392d25(_0x33f547._0x2b530f,_0x33f547._0xdb21c4,0x386,_0x33f547._0x3c0a91)+_0x278caa(-_0x33f547._0x3d07a4,-_0x33f547._0x3b81a8,-0x221,-0x230)+'n','zoDHW':'vZUea','ojrKh':'Task\x20has\x20n'+_0x278caa(-_0x33f547._0x21b938,-0x23f,-0x275,-0x215)+'kipping\x20co'+_0x278caa(-_0x33f547._0x25e525,-0x1df,-0x1ee,-_0x33f547._0x327ec7)+_0x278caa(-_0x33f547._0x4919e8,-_0x33f547._0x4a65d9,-0x1eb,-_0x33f547._0x4f6ab2),'ZcrCB':'Task\x20owner'+'\x20not\x20found','sbGHO':_0x278caa(-0x229,-_0x33f547._0x4b3ed8,-_0x33f547._0x446836,-0x1c1)+_0x392d25(0x35a,_0x33f547._0x1cc960,0x33f,_0x33f547._0x4ab3d8)+_0x278caa(-0x23e,-_0x33f547._0x23e052,-0x27a,-_0x33f547._0x576fc5),'aORaj':function(_0x1e9bfe,_0x107f7e){return _0x1e9bfe!==_0x107f7e;},'uBeuV':function(_0x6f5371,_0x4466ec,_0x471c6a,_0x2f3a2c){return _0x6f5371(_0x4466ec,_0x471c6a,_0x2f3a2c);},'DsGjP':function(_0x57f120,_0xf48182){return _0x57f120===_0xf48182;},'hxsNk':'objective','KXWBT':function(_0x29c262,_0x281645){return _0x29c262(_0x281645);},'VImca':'comment-no'+_0x392d25(0x30f,0x2f8,0x2cd,_0x33f547._0xb4bf1),'KAbSW':_0x392d25(0x394,_0x33f547._0xc734d1,_0x33f547._0x56a83d,_0x33f547._0x24ff5d),'QzifS':_0x278caa(-_0x33f547._0xbde088,-_0x33f547._0x343e72,-_0x33f547._0x323f79,-0x1c9)+_0x278caa(-0x22e,-0x24c,-_0x33f547._0x419972,-0x26b)+_0x278caa(-0x20d,-0x1d3,-0x1d6,-_0x33f547._0x4efd7)+'ask\x20owner','jxZwh':_0x278caa(-0x1f7,-_0x33f547._0x20d4a9,-_0x33f547._0x23e6bf,-_0x33f547._0xd00b72)+_0x278caa(-0x20e,-_0x33f547._0x5d0dce,-_0x33f547._0xc229b0,-_0x33f547._0x3bfe56)+_0x278caa(-0x1ef,-0x1f5,-0x233,-0x1d8)+'ation'};try{if(_0x3b7237[_0x392d25(_0x33f547._0x51a421,_0x33f547._0xa51d5d,_0x33f547._0x59c1f9,_0x33f547._0x2cfb70)](_0x3b7237[_0x278caa(-0x22e,-_0x33f547._0x308c11,-0x271,-0x294)],_0x392d25(_0x33f547._0x56a4f4,_0x33f547._0x1d85f4,_0x33f547._0x256084,_0x33f547._0x4efd36))){const _0x783600=await _0x3b7237[_0x392d25(_0x33f547._0x514f56,0x318,0x323,0x2f8)](isEmailConfigured);if(!_0x783600){logger['debug'](_0x3b7237[_0x392d25(_0x33f547._0x2abce3,0x325,_0x33f547._0x4b0a90,_0x33f547._0x148fbd)]);return;}const _0x567e72=_0x5a9f1d['createdBy']?.[_0x392d25(_0x33f547._0x13fd56,_0x33f547._0x2fdaca,0x2e4,0x361)];if(!_0x567e72){if(_0x3b7237['QvwCU'](_0x3b7237[_0x392d25(_0x33f547._0x3c0a91,0x388,0x332,0x35f)],_0x3b7237['zoDHW'])){const _0x5bb909={};_0x5bb909[_0x392d25(0x364,0x37c,0x38f,_0x33f547._0x9e86ca)]=_0x5bb679,logger[_0x392d25(0x362,0x376,0x315,0x3a5)](_0x3b7237[_0x278caa(-_0x33f547._0x1f8718,-0x21f,-0x1d8,-_0x33f547._0x342cc2)],_0x5bb909);return;}else{if(!_0x125116)return'';const _0x5c7e0c=_0x3b7237['BJMwB'](_0x88c010,_0x2cc0fc);return _0x5c7e0c[_0x278caa(-_0x33f547._0xec98a4,-_0x33f547._0xa1ebc6,-0x23a,-_0x33f547._0x21b938)](/@?\[([^\]]+)\]\(mention:[^)]+\)/g,_0x3b7237[_0x392d25(_0x33f547._0x569545,_0x33f547._0x421f7e,0x2e8,0x349)]);}}if(_0x3b7237[_0x278caa(-_0x33f547._0x31e45f,-0x1d7,-0x1b5,-_0x33f547._0x509c71)](_0x567e72,_0x2b891c[_0x278caa(-_0x33f547._0x4915cd,-_0x33f547._0x18085f,-0x286,-_0x33f547._0xb21d9)]))return;const _0x52faf9=await _0x3b7237[_0x392d25(0x331,_0x33f547._0x709a28,0x30e,0x31e)](findUserById,_0x567e72);if(!_0x52faf9){const _0x3b98cb={};_0x3b98cb[_0x278caa(-_0x33f547._0x22281c,-0x241,-_0x33f547._0x2b2335,-_0x33f547._0x576fc5)]=_0x567e72,_0x3b98cb[_0x278caa(-0x21c,-_0x33f547._0x1067dd,-0x1db,-0x22a)]=_0x5bb679,logger[_0x392d25(_0x33f547._0x474380,_0x33f547._0x3057ce,0x38c,_0x33f547._0x3735a7)](_0x3b7237[_0x278caa(-_0x33f547._0x103d82,-0x1f2,-_0x33f547._0x1fd9f8,-0x222)],_0x3b98cb);return;}if(!_0x52faf9['email']){const _0x10ea20={};_0x10ea20['ownerId']=_0x567e72,logger[_0x278caa(-0x1f4,-0x1f9,-0x209,-0x203)](_0x3b7237[_0x392d25(0x391,0x3c9,_0x33f547._0x266218,_0x33f547._0x1d389c)],_0x10ea20);return;}const _0x1e9bb8=_0x3b7237['aORaj'](_0x52faf9[_0x278caa(-_0x33f547._0x4e7ef5,-0x230,-0x1f8,-0x25c)+'s']?.[_0x278caa(-0x27a,-_0x33f547._0x12d72d,-0x2a3,-0x280)+'ents_on_my'+'_tasks'],![]);if(!_0x1e9bb8){if(_0x3b7237[_0x278caa(-0x1b1,-0x1ea,-_0x33f547._0x204b3c,-0x1c9)](_0x392d25(0x304,_0x33f547._0x3e8a9a,0x2b9,_0x33f547._0xf5f134),_0x278caa(-0x264,-_0x33f547._0x2972b0,-0x214,-0x27d))){const _0x109dd4={};_0x109dd4[_0x278caa(-_0x33f547._0x352155,-_0x33f547._0x4c485f,-0x249,-_0x33f547._0x45533a)]=_0x482a84,_0x48ec4e[_0x392d25(_0x33f547._0x474380,_0x33f547._0x23ebfb,_0x33f547._0x374e2b,_0x33f547._0x10a1f7)](_0x392d25(_0x33f547._0xe53a6d,0x396,_0x33f547._0x40a7b7,_0x33f547._0x3a25bd)+_0x392d25(0x31c,_0x33f547._0x49168f,0x325,0x35b)+'kipping\x20co'+_0x392d25(0x37c,_0x33f547._0x44a69b,_0x33f547._0x31c301,0x391)+_0x392d25(0x36d,_0x33f547._0x6d02a1,0x347,0x323),_0x109dd4);return;}else{const _0x2058e8={};_0x2058e8['ownerId']=_0x567e72,logger['debug'](_0x3b7237[_0x392d25(_0x33f547._0x11dd4b,0x360,0x2f0,_0x33f547._0x5e5c30)],_0x2058e8);return;}}const _0x1632d0=_0x3b7237['uBeuV'](buildTaskUrl,_0x5bb679,_0x5a9f1d,_0x33fb84),_0x27fcc6=_0x3b7237[_0x392d25(0x36b,_0x33f547._0x55607f,0x39b,_0x33f547._0x59eff6)](_0x5a9f1d['status'],_0x3b7237[_0x278caa(-0x1f0,-_0x33f547._0x12e949,-0x1ff,-0x1f8)]),_0x303a1a=_0x5a9f1d[_0x278caa(-0x208,-_0x33f547._0x1e5a51,-_0x33f547._0x4924f5,-0x21e)]||_0x5a9f1d[_0x278caa(-_0x33f547._0x18f1f6,-_0x33f547._0x25afd3,-0x20d,-0x17c)]||(_0x27fcc6?_0x278caa(-0x240,-_0x33f547._0x10c84a,-_0x33f547._0x352155,-0x21e)+_0x5bb679:'Task\x20'+_0x5bb679),_0x474647=formatCommentForEmail(_0x5c300a);await _0x3b7237[_0x392d25(0x351,_0x33f547._0x3e512a,0x37c,0x319)](sendTemplatedEmail,{'to':_0x52faf9[_0x392d25(0x363,_0x33f547._0x55b41c,0x361,_0x33f547._0x4af7fe)],'template':_0x3b7237[_0x278caa(-0x18f,-0x1d0,-_0x33f547._0x58aa6f,-_0x33f547._0x218472)],'data':{'type':_0x3b7237['KAbSW'],'recipientName':_0x52faf9['name']||_0x52faf9[_0x278caa(-0x244,-0x214,-0x201,-0x22a)],'actorName':_0x2b891c[_0x392d25(_0x33f547._0xcfe2dc,_0x33f547._0x5e330c,0x3da,0x367)]||_0x2b891c[_0x278caa(-0x22b,-0x214,-_0x33f547._0x5927eb,-_0x33f547._0x56944b)],'taskTitle':_0x303a1a,'taskUrl':_0x1632d0,'isObjective':_0x27fcc6,'commentPreviewHtml':_0x474647[_0x278caa(-0x1fb,-_0x33f547._0x1cd624,-0x1ee,-0x1f1)],'commentPreviewText':_0x474647[_0x278caa(-_0x33f547._0x5a9815,-_0x33f547._0x242860,-0x213,-_0x33f547._0x2bc347)],'commentedAt':formatDate(_0x144218)}});const _0x3c203a={};_0x3c203a['to']=_0x52faf9[_0x278caa(-_0x33f547._0x3ed585,-_0x33f547._0x531650,-0x1f7,-_0x33f547._0x1da7a6)],_0x3c203a['ownerId']=_0x567e72,_0x3c203a[_0x392d25(0x364,0x398,_0x33f547._0x3ba198,_0x33f547._0x3e512a)]=_0x5bb679,logger[_0x392d25(0x313,_0x33f547._0x4f014d,_0x33f547._0x57018f,0x33a)](_0x3b7237[_0x392d25(0x390,_0x33f547._0x16a1c4,0x34d,_0x33f547._0x51a421)],_0x3c203a);}else{const _0x57d4b3={};_0x57d4b3[_0x278caa(-_0x33f547._0x21c11a,-0x241,-0x233,-0x21a)]=_0x4f3a57,_0x24847e[_0x278caa(-0x228,-_0x33f547._0x501f4b,-0x1fe,-_0x33f547._0x3f86f2)](_0x3b7237['LRvcC'],_0x57d4b3);return;}}catch(_0x59314b){const _0xa9155c={};_0xa9155c[_0x392d25(_0x33f547._0x52d2e4,_0x33f547._0x5554ff,0x312,0x34d)]=_0x5bb679,_0xa9155c['error']=_0x59314b[_0x278caa(-_0x33f547._0x25f462,-_0x33f547._0x12359d,-_0x33f547._0x596df9,-0x21e)],logger['error'](_0x3b7237[_0x278caa(-_0x33f547._0x20b5b8,-0x224,-_0x33f547._0x2fed98,-0x24c)],_0xa9155c);}}export async function sendCommentNotifications(_0x2707d4){const _0x33ea80={_0x4cb17b:0x285,_0x19a048:0x2a7,_0x2ebaca:0x247},_0x4ffa73={'ZqvUc':function(_0x4767c5,_0x18c4ac){return _0x4767c5(_0x18c4ac);}};function _0x4ddcfb(_0x3ef659,_0x154609,_0x2dfe32,_0x3c64ef){return _0xbd17(_0x3ef659- -0x360,_0x3c64ef);}await Promise['allSettled']([_0x4ffa73[_0x4ddcfb(-_0x33ea80._0x4cb17b,-_0x33ea80._0x19a048,-_0x33ea80._0x2ebaca,-0x2cd)](sendMentionNotifications,_0x2707d4),sendCommentNotification(_0x2707d4)]);}
|
|
1
|
+
(function(_0x161f6a,_0x25bfa1){const _0x40b6e1={_0x1ce767:0x455,_0xce0e68:0xb7,_0x332180:0x127,_0x56fc17:0x100,_0x57e64e:0x4b9,_0x3ebb91:0x495,_0x559cf1:0x119,_0x23639d:0x16e,_0x48332b:0x144,_0x2d904e:0x127,_0x540f78:0x1b1,_0x574228:0x17f,_0x359480:0x1a5,_0x45184f:0x15b,_0x340b4d:0x431,_0x5dc4f6:0x420,_0x4b8a92:0x3dd,_0x519ec8:0x4a8,_0x551c88:0x470,_0x26655f:0x464,_0x57fd77:0x481,_0xbd10e8:0x45c,_0x4ab259:0x46b},_0x1dec76=_0x161f6a();function _0x40cb02(_0x3f3d15,_0xa36e00,_0x5a2e41,_0x522a7f){return _0x2e59(_0x3f3d15-0x303,_0xa36e00);}function _0x2f2f71(_0x32b2cb,_0x8e2079,_0x341954,_0x5fbd14){return _0x2e59(_0x5fbd14- -0x35,_0x341954);}while(!![]){try{const _0x4f5c9f=parseInt(_0x40cb02(_0x40b6e1._0x1ce767,0x476,0x420,0x3fd))/(-0x1e8e+-0x2af+0x109f*0x2)*(-parseInt(_0x2f2f71(_0x40b6e1._0xce0e68,0xcc,_0x40b6e1._0x332180,_0x40b6e1._0x56fc17))/(0x1be3+0x1781*0x1+-0x2*0x19b1))+parseInt(_0x40cb02(_0x40b6e1._0x57e64e,0x4c7,_0x40b6e1._0x3ebb91,0x48d))/(0xa76+-0x1*-0x676+-0x9*0x1e1)*(parseInt(_0x2f2f71(_0x40b6e1._0x559cf1,_0x40b6e1._0x23639d,_0x40b6e1._0x48332b,_0x40b6e1._0x2d904e))/(-0x3*-0x283+0x13d8+0x1d3*-0xf))+-parseInt(_0x2f2f71(_0x40b6e1._0x540f78,_0x40b6e1._0x574228,_0x40b6e1._0x359480,_0x40b6e1._0x45184f))/(-0x12a3+0x5b7+-0xcf1*-0x1)+-parseInt(_0x40cb02(_0x40b6e1._0x340b4d,_0x40b6e1._0x5dc4f6,_0x40b6e1._0x4b8a92,0x454))/(-0x3c5*-0x1+-0x1*-0x1697+-0x1a56)+-parseInt(_0x40cb02(_0x40b6e1._0x519ec8,0x494,0x460,0x4b6))/(-0x6*-0x2ab+-0x127f+-0x5c*-0x7)+-parseInt(_0x40cb02(_0x40b6e1._0x551c88,_0x40b6e1._0x26655f,_0x40b6e1._0x57fd77,_0x40b6e1._0xbd10e8))/(-0x12b2*-0x2+0x8bd+-0x2e19)+parseInt(_0x40cb02(_0x40b6e1._0x4ab259,0x4b5,0x48e,0x4bc))/(-0xfb9+0x6d3+0x8ef);if(_0x4f5c9f===_0x25bfa1)break;else _0x1dec76['push'](_0x1dec76['shift']());}catch(_0x2ee84d){_0x1dec76['push'](_0x1dec76['shift']());}}}(_0x791a,0x11*-0x11b38+-0xa7*-0x2872+0x8*0xf411));import{logger}from'./logger.js';import{isEmailConfigured,sendTemplatedEmail}from'./email.js';import{findUserByUsername,findUserById}from'./users.js';export function parseMentions(_0x43e6db){const _0x4cbb20={_0x358f0d:0x16a,_0x439532:0x1c1,_0x304f4c:0x179,_0xd36c27:0x44,_0x2108fa:0x1f,_0x1475b1:0x1e},_0x4d058c={_0x54cf76:0x8a};if(!_0x43e6db)return[];function _0x408f14(_0x14dfbf,_0x23a57b,_0x15eaab,_0x55318f){return _0x2e59(_0x55318f- -0x19d,_0x14dfbf);}function _0x2ad741(_0x1d90bc,_0x1ba39e,_0x543dbb,_0x4151ec){return _0x2e59(_0x1ba39e-_0x4d058c._0x54cf76,_0x543dbb);}const _0x5ad117=/@?\[([^\]]+)\]\(mention:([^)]+)\)/g,_0xe41f55=_0x43e6db[_0x2ad741(_0x4cbb20._0x358f0d,_0x4cbb20._0x439532,0x190,_0x4cbb20._0x304f4c)](_0x5ad117),_0x20bc24=[..._0xe41f55][_0x408f14(_0x4cbb20._0xd36c27,0x71,_0x4cbb20._0x2108fa,_0x4cbb20._0x1475b1)](_0x765ca4=>_0x765ca4[0x2194+-0x25c9*0x1+0x437]);return[...new Set(_0x20bc24)];}function _0x2e59(_0x2c2199,_0x53a1f4){_0x2c2199=_0x2c2199-(-0x1b42+0x233+0x1a2c);const _0x511bf9=_0x791a();let _0x14a346=_0x511bf9[_0x2c2199];if(_0x2e59['etXrOA']===undefined){var _0x537d68=function(_0x3c9184){const _0x2ffc3a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ded14='',_0x221c73='';for(let _0x32abbf=0x2*-0x833+0x1*-0x293+-0x1*-0x12f9,_0x2bd353,_0x53947f,_0x598909=0x238f+-0x1*0x2b3+0x837*-0x4;_0x53947f=_0x3c9184['charAt'](_0x598909++);~_0x53947f&&(_0x2bd353=_0x32abbf%(0x1933+-0x4*0x7d8+0x631)?_0x2bd353*(0x633*-0x3+-0xbc0+0x1e99)+_0x53947f:_0x53947f,_0x32abbf++%(0x24f7+-0x1d5b+-0x798))?_0x1ded14+=String['fromCharCode'](0x22a6+0x263b+-0x47e2&_0x2bd353>>(-(0xb42+-0x130*-0x1d+0xac*-0x44)*_0x32abbf&-0x5*0x2d+-0x222b+0x2312)):-0xda5+0x18c2+-0xb1d){_0x53947f=_0x2ffc3a['indexOf'](_0x53947f);}for(let _0xe3f434=0x1a3b+-0x1e74+0x439,_0x430f3c=_0x1ded14['length'];_0xe3f434<_0x430f3c;_0xe3f434++){_0x221c73+='%'+('00'+_0x1ded14['charCodeAt'](_0xe3f434)['toString'](-0x891*-0x2+-0xc36*-0x1+-0x1d48))['slice'](-(-0x1ab1+0x2*-0x653+0x59f*0x7));}return decodeURIComponent(_0x221c73);};_0x2e59['DvwXkN']=_0x537d68,_0x2e59['Oybtsp']={},_0x2e59['etXrOA']=!![];}const _0x4114fd=_0x511bf9[0x1*-0x17b6+-0x15ad*-0x1+0x209],_0x1b6486=_0x2c2199+_0x4114fd,_0x2e7840=_0x2e59['Oybtsp'][_0x1b6486];return!_0x2e7840?(_0x14a346=_0x2e59['DvwXkN'](_0x14a346),_0x2e59['Oybtsp'][_0x1b6486]=_0x14a346):_0x14a346=_0x2e7840,_0x14a346;}function escapeHtml(_0x440a63){const _0x3d5e1f={_0x1de069:0x263,_0x42b1c3:0x1e0,_0x41daf8:0x1cb,_0x161887:0x20f,_0x484543:0x1bf,_0x119876:0x1ac,_0x5ee21f:0x451,_0x1a0df9:0x46a,_0x5e6978:0x187,_0x294c3a:0x151,_0x2a336d:0x13d,_0x3665b6:0x4bf,_0x29e0f0:0x4d4,_0x33c091:0x4ff,_0x24cfd2:0x4ca,_0x1d4a94:0x4cc,_0x28b018:0x516,_0x38a7bf:0x1c4,_0x5c7f91:0x48d},_0x348a62={_0x2dd087:0x34c},_0x1a4030={};_0x1a4030['AKvfz']=_0xf101db(0x24a,_0x3d5e1f._0x1de069,_0x3d5e1f._0x42b1c3,0x21f),_0x1a4030[_0xf101db(0x200,0x1d4,_0x3d5e1f._0x41daf8,_0x3d5e1f._0x161887)]=_0xf101db(_0x3d5e1f._0x484543,0x188,_0x3d5e1f._0x119876,0x1be),_0x1a4030['hxWra']=_0x4c9d64(_0x3d5e1f._0x5ee21f,_0x3d5e1f._0x1a0df9,0x434,0x47f);function _0xf101db(_0x25cadd,_0x3fba22,_0x2c0df2,_0x3f5270){return _0x2e59(_0x3f5270-0x4f,_0x25cadd);}_0x1a4030[_0xf101db(_0x3d5e1f._0x5e6978,_0x3d5e1f._0x294c3a,_0x3d5e1f._0x2a336d,0x190)]=_0x4c9d64(0x4e3,0x465,0x4c7,_0x3d5e1f._0x3665b6);const _0x21c588=_0x1a4030;function _0x4c9d64(_0x9ebaf2,_0x497d8c,_0x1a314a,_0x415c46){return _0x2e59(_0x415c46-_0x348a62._0x2dd087,_0x1a314a);}if(!_0x440a63)return'';return _0x440a63['replace'](/&/g,_0x21c588[_0x4c9d64(0x4c8,_0x3d5e1f._0x29e0f0,0x525,0x505)])['replace'](/</g,_0x21c588[_0x4c9d64(0x4b3,0x51b,_0x3d5e1f._0x33c091,0x50c)])[_0x4c9d64(_0x3d5e1f._0x24cfd2,_0x3d5e1f._0x1d4a94,_0x3d5e1f._0x28b018,0x4c1)](/>/g,_0x21c588['hxWra'])[_0xf101db(0x176,0x1df,0x178,_0x3d5e1f._0x38a7bf)](/"/g,_0x21c588[_0x4c9d64(0x4bf,0x46f,0x491,_0x3d5e1f._0x5c7f91)]);}function formatMentionsPlainText(_0x2a6159){const _0x5be923={_0x570853:0x138,_0x679f99:0xe3,_0x182d56:0x133,_0x37a4f5:0x106,_0x41b3b7:0x111,_0x5bf032:0xd2},_0x52fee9={_0x39f978:0xfc},_0x2472e5={_0x269935:0xc4},_0x3e3bcc={};_0x3e3bcc[_0x30ea2f(_0x5be923._0x570853,0x10a,0xfd,_0x5be923._0x679f99)]=_0x30ea2f(_0x5be923._0x182d56,0xfd,_0x5be923._0x37a4f5,0xb4);const _0x3f0b98=_0x3e3bcc;function _0x30ea2f(_0x249983,_0xf6c86e,_0x538982,_0x291104){return _0x2e59(_0xf6c86e- -_0x2472e5._0x269935,_0x291104);}function _0x8d3f49(_0x58ca5c,_0x10e4da,_0x3a0de5,_0x5f4316){return _0x2e59(_0x3a0de5- -_0x52fee9._0x39f978,_0x10e4da);}if(!_0x2a6159)return'';return _0x2a6159['replace'](/@?\[([^\]]+)\]\(mention:[^)]+\)/g,_0x3f0b98[_0x8d3f49(0xe2,_0x5be923._0x41b3b7,_0x5be923._0x5bf032,0xe3)]);}function formatMentionsHtml(_0x145b2b){const _0x1a229f={_0x488eea:0x59,_0x2519d4:0xa,_0x45ab58:0x72,_0x489433:0x8c,_0x5b967b:0xad,_0x35d865:0xd,_0x57c9d6:0x3c,_0x2b6001:0x5d,_0x30c82c:0x1a,_0x57dd3a:0x140,_0x549cc2:0x14c,_0x18f871:0x39,_0x30fa48:0x12c,_0x5e4509:0x118},_0x31c625={_0x875122:0x2a1},_0xbb00c6={};_0xbb00c6['LReBf']=_0x1c4abe(0x54,0x32,0x76,0x12)+'e=\x22backgro'+'und-color:'+_0x1c4abe(_0x1a229f._0x488eea,_0x1a229f._0x2519d4,-0x22,-0x27)+'130,\x20246,\x20'+'0.15);\x20col'+'or:\x20#2563e'+_0x5093ec(-0x181,-0x175,-0x182,-0x163)+_0x1c4abe(_0x1a229f._0x45ab58,_0x1a229f._0x489433,0x65,_0x1a229f._0x5b967b)+'\x20border-ra'+_0x1c4abe(0x19,-_0x1a229f._0x35d865,-0x57,-_0x1a229f._0x57c9d6)+_0x1c4abe(_0x1a229f._0x2b6001,0x40,-_0x1a229f._0x30c82c,0x4c)+_0x5093ec(-_0x1a229f._0x57dd3a,-0x177,-0x163,-_0x1a229f._0x549cc2)+_0x1c4abe(_0x1a229f._0x18f871,0x1b,-0x10,0x72);const _0x17995f=_0xbb00c6;if(!_0x145b2b)return'';function _0x5093ec(_0x897e8f,_0xe85429,_0x42faaf,_0x220ced){return _0x2e59(_0xe85429- -_0x31c625._0x875122,_0x897e8f);}const _0x17a7f3=escapeHtml(_0x145b2b);function _0x1c4abe(_0x5330db,_0x535860,_0x64ed96,_0x2a039f){return _0x2e59(_0x535860- -0x13f,_0x64ed96);}return _0x17a7f3[_0x5093ec(-0x160,-_0x1a229f._0x30fa48,-0xf8,-_0x1a229f._0x5e4509)](/@?\[([^\]]+)\]\(mention:[^)]+\)/g,_0x17995f['LReBf']);}function formatCommentForEmail(_0x2f85dd,_0xa4a273=0x9*0x20+-0x1*-0x74c+0x5c*-0x12){const _0x3f972f={_0x2bcbbd:0x578,_0x275f2c:0x52a,_0x5284c0:0x56e,_0x4b6699:0x517,_0x3de410:0x536,_0x10f3b8:0x596,_0x1e546f:0x59b,_0x1e8f9f:0x5b2,_0x1fddc4:0xfc,_0x32f91d:0xae,_0x13a97a:0x9d,_0x40ddc9:0x7c,_0x47e68d:0x72,_0x3a4dcc:0xe7,_0x171344:0xb7,_0x3fe37a:0x81},_0x99f237={_0x4bce63:0x3e2},_0x54e856={'MZPLQ':function(_0x5ebbd8,_0x11ffb2){return _0x5ebbd8>_0x11ffb2;},'MRTvE':function(_0x49598a,_0x3625cd){return _0x49598a+_0x3625cd;},'JdsTG':function(_0x3c178e,_0x403db5){return _0x3c178e(_0x403db5);},'WtFAY':_0x221497(0x54e,_0x3f972f._0x2bcbbd,0x57d,_0x3f972f._0x275f2c)},_0x187de6={};_0x187de6[_0x44e137(0x8a,0x10c,0xb7,0xcf)]='',_0x187de6['text']='';if(!_0x2f85dd)return _0x187de6;let _0x307112=_0x2f85dd;_0x54e856['MZPLQ'](_0x2f85dd['length'],_0xa4a273)&&(_0x307112=_0x54e856[_0x221497(_0x3f972f._0x5284c0,_0x3f972f._0x4b6699,_0x3f972f._0x3de410,0x4eb)](_0x2f85dd[_0x221497(_0x3f972f._0x10f3b8,0x568,0x582,0x59d)](-0x348+0xd8d+-0xa45,_0xa4a273),_0x221497(0x5b0,_0x3f972f._0x1e546f,0x594,_0x3f972f._0x1e8f9f)));const _0x553e61=_0x54e856[_0x44e137(_0x3f972f._0x1fddc4,0xcf,_0x3f972f._0x32f91d,0x92)](formatMentionsPlainText,_0x307112);let _0x224ef2=formatMentionsHtml(_0x307112);_0x224ef2=_0x224ef2[_0x44e137(0xf5,0xb6,_0x3f972f._0x13a97a,0x55)](/\n/g,_0x54e856[_0x44e137(0xb2,_0x3f972f._0x40ddc9,_0x3f972f._0x47e68d,0x64)]);const _0x2148ad={};_0x2148ad[_0x44e137(_0x3f972f._0x3a4dcc,0x62,_0x3f972f._0x171344,_0x3f972f._0x3fe37a)]=_0x224ef2;function _0x44e137(_0x23aeb2,_0x5102c5,_0x102ecc,_0x55c02e){return _0x2e59(_0x102ecc- -0xd8,_0x5102c5);}function _0x221497(_0x5deb94,_0x194c4c,_0x1b603a,_0x2ff043){return _0x2e59(_0x1b603a-_0x99f237._0x4bce63,_0x2ff043);}return _0x2148ad['text']=_0x553e61,_0x2148ad;}function formatDate(_0x16f32e){const _0x5d9d8f={_0x376b7b:0x425,_0x244bb0:0x3d2,_0x40d3b2:0x455,_0x4812e7:0x46a,_0x43538f:0x411,_0x127005:0x4af,_0x1d3600:0x22a,_0x3db21a:0x3fd,_0x1497f8:0x22b,_0x432fbe:0x256,_0x4d4bb0:0x23a,_0x270a51:0x27b,_0x4b719b:0x290,_0x46e46e:0x290,_0x37284e:0x2ac,_0x1af075:0x450,_0xdd7783:0x4de,_0xc9b990:0x4a4,_0x47318e:0x252,_0x2738ae:0x26c,_0x5649fc:0x27d,_0x1a2a62:0x2cf,_0x468dbc:0x27b},_0x36126b={_0x547ab3:0x2fc},_0x368d10={_0x35b93f:0x3b9},_0x514ed1={};_0x514ed1[_0x1f1b1d(_0x5d9d8f._0x376b7b,_0x5d9d8f._0x244bb0,_0x5d9d8f._0x40d3b2,0x460)]=_0x1f1b1d(_0x5d9d8f._0x4812e7,_0x5d9d8f._0x43538f,_0x5d9d8f._0x127005,0x42f),_0x514ed1[_0x31e3fc(-0x218,-_0x5d9d8f._0x1d3600,-0x211,-0x1c6)]=_0x1f1b1d(0x43c,0x468,_0x5d9d8f._0x3db21a,0x437);function _0x31e3fc(_0x41b466,_0x1c0429,_0x5adf66,_0x43a90b){return _0x2e59(_0x5adf66- -_0x368d10._0x35b93f,_0x1c0429);}function _0x1f1b1d(_0x543cb5,_0x1d4271,_0x2e011d,_0x19bba7){return _0x2e59(_0x543cb5-_0x36126b._0x547ab3,_0x19bba7);}_0x514ed1['pPDOR']=_0x31e3fc(-0x21b,-0x217,-0x23e,-0x276),_0x514ed1[_0x31e3fc(-_0x5d9d8f._0x1497f8,-_0x5d9d8f._0x432fbe,-0x27d,-_0x5d9d8f._0x4d4bb0)]=_0x31e3fc(-_0x5d9d8f._0x270a51,-0x235,-0x226,-0x1dd);const _0x35be7a=_0x514ed1;try{return new Date(_0x16f32e)['toLocaleSt'+'ring'](_0x35be7a[_0x31e3fc(-_0x5d9d8f._0x4b719b,-0x244,-_0x5d9d8f._0x46e46e,-_0x5d9d8f._0x37284e)],{'weekday':_0x35be7a[_0x1f1b1d(0x4a4,_0x5d9d8f._0x1af075,0x4ea,_0x5d9d8f._0xdd7783)],'year':_0x35be7a[_0x31e3fc(-0x273,-0x1e9,-0x224,-0x1d9)],'month':_0x35be7a[_0x1f1b1d(_0x5d9d8f._0xc9b990,0x49a,0x484,0x494)],'day':'numeric','hour':_0x35be7a[_0x31e3fc(-_0x5d9d8f._0x47318e,-_0x5d9d8f._0x2738ae,-_0x5d9d8f._0x5649fc,-0x227)],'minute':_0x35be7a[_0x31e3fc(-_0x5d9d8f._0x1a2a62,-0x2c0,-0x27d,-_0x5d9d8f._0x468dbc)]});}catch{return _0x16f32e;}}function buildTaskUrl(_0x25c9b6,_0x85f45a,_0x35420a){const _0xf9d93={_0x8df0f:0x239,_0x324f7a:0x2a1,_0x14b6d1:0x167,_0x594299:0x154,_0x326c71:0x162,_0x5f0981:0x123,_0xf75d26:0x18e,_0x1eb2d9:0x100,_0x50a2bc:0x135,_0x1658a0:0x270,_0x4cf0aa:0x2cb,_0xc923d6:0x299,_0x1166a7:0x11b,_0x4d544f:0x135},_0xb209dc={_0x276015:0x2c9},_0x390b70={_0x5a21e4:0xca},_0x5522d3={};_0x5522d3[_0x48ef09(0x270,_0xf9d93._0x8df0f,0x2af,_0xf9d93._0x324f7a)]=function(_0x30c8ae,_0x5757ff){return _0x30c8ae===_0x5757ff;};function _0x48ef09(_0x51c8bb,_0x5babb0,_0x3f2090,_0x482cb1){return _0x2e59(_0x51c8bb-_0x390b70._0x5a21e4,_0x5babb0);}_0x5522d3[_0x41e001(-_0xf9d93._0x14b6d1,-_0xf9d93._0x594299,-0x187,-0x14e)]=_0x41e001(-0x1be,-_0xf9d93._0x326c71,-0x174,-_0xf9d93._0x5f0981);const _0x59d17c=_0x5522d3,_0xf25595=_0x35420a?_0x35420a[_0x41e001(-_0xf9d93._0xf75d26,-_0xf9d93._0x1eb2d9,-_0xf9d93._0x594299,-_0xf9d93._0x50a2bc)](/\/$/,''):'';if(_0x85f45a&&_0x59d17c[_0x48ef09(_0xf9d93._0x1658a0,_0xf9d93._0x4cf0aa,0x2bc,_0xf9d93._0xc923d6)](_0x85f45a['status'],_0x59d17c['qdDCw']))return _0xf25595+('/index.htm'+_0x48ef09(0x1e9,0x1b7,0x1d3,0x1b1)+'e=')+_0x25c9b6;function _0x41e001(_0x336a9e,_0x77e295,_0x86d68e,_0x1e86aa){return _0x2e59(_0x86d68e- -_0xb209dc._0x276015,_0x336a9e);}return _0xf25595+(_0x41e001(-0x146,-0x150,-_0xf9d93._0x1166a7,-_0xf9d93._0x4d544f)+'?id=')+_0x25c9b6;}export async function sendMentionNotifications({commentContent:_0xf49eda,commenter:_0x7bc7e7,task:_0x50d6f5,taskId:_0x285dcd,commentedAt:_0x6d1f57,baseUrl:_0x304b27}){const _0x2e4908={_0x566684:0x11f,_0x1611b1:0xee,_0x55fb39:0x107,_0x330c0c:0xc7,_0x3d66c1:0x6d,_0x53a238:0x6f,_0x2c0792:0x15d,_0xe54f8a:0x18a,_0x4f157a:0x17b,_0x19c0de:0xf6,_0x1a8436:0xa2,_0x5db763:0xdb,_0x3a1892:0xda,_0x31623f:0xb8,_0xa85aeb:0x167,_0x1713ff:0x117,_0x5edadd:0xac,_0x344da3:0x8e,_0xbe7f2e:0x59,_0x3d4eb6:0x12c,_0x5761ea:0x149,_0x52be17:0xf8,_0x19be74:0xe2,_0x13d020:0xee,_0x169fe4:0x127,_0x568e3b:0x185,_0x339bb1:0x10a,_0x4b3c6a:0xe7,_0x582af9:0xae,_0x485e7e:0x75,_0x35ed8d:0x9f,_0x6df9c0:0x68,_0x1ee80e:0x5e,_0x169302:0x90,_0x58eb80:0x35,_0xb2ddf5:0xfa,_0x19966b:0x7f,_0x15c4b9:0x156,_0x4b9046:0x12f,_0x1b88f2:0x1da,_0x29fb12:0x16c,_0x232c53:0x1af,_0x4ba97a:0x16f,_0x441c5b:0x121,_0x3c24e2:0x1ed,_0x3b14ba:0x197,_0x508478:0x104,_0x36fb3e:0xb9,_0x3c41f5:0xd8,_0x447bf9:0x13d,_0x3ed4aa:0x155,_0x2472cd:0x134,_0x185c13:0x105,_0x3fcf79:0x1fb,_0x4ec873:0xa3,_0x1f5fff:0x116,_0x46f576:0xd6,_0x1c7196:0x169,_0x538f44:0x85,_0x17ae24:0x6d,_0x115e7a:0x23,_0x1e158a:0x93,_0x3bc958:0xe5,_0x7a6c75:0xeb,_0x23b284:0x67,_0x1597c9:0x8a,_0x240767:0xd3,_0x10a227:0x6a,_0x485a7b:0x126,_0xc8b27d:0x117,_0x1a7696:0x131,_0xdd022d:0xa0,_0x30ae98:0x48,_0x2040e2:0xa8,_0x4de88e:0x50,_0x5939f6:0x8c,_0x3380b1:0xea,_0x31040e:0x111,_0x574b9d:0x16b,_0x4c07f3:0x14a,_0x2e2d97:0x74,_0x40f5a5:0xd7,_0x230773:0x69,_0x13ecb4:0xb0,_0x3184c4:0xff,_0x30f27b:0xfa,_0x55af13:0xfe,_0x5cdc7a:0x1a4,_0x1e289c:0x13a,_0x734c74:0xeb,_0x46cc38:0x146,_0x4c5329:0xab,_0x508386:0x9e,_0xe4aa5d:0x7d,_0x2743ac:0xe7,_0x9be154:0xc3,_0x35f613:0x11d,_0x1431e2:0x179,_0x48084c:0x159,_0x1b8238:0xdc,_0x4a3fd0:0x165,_0x57d260:0xd8,_0x290c54:0xe3,_0x51e3d2:0x98,_0x29541d:0x42,_0x291c6a:0xa1,_0x5d987e:0x183,_0x242db3:0x13e,_0x1dc4be:0xc5,_0x296ff5:0xeb,_0x3f88cf:0xc9,_0x24d7e8:0x7f,_0x5ce174:0x145,_0x5effc6:0x116,_0x49cd4d:0x129,_0x2ea30e:0x68,_0x40e20f:0xa0,_0x253f0a:0x115,_0x40758c:0x14d,_0x2b9c32:0x62,_0x3d2580:0x190,_0x3584bc:0x1e7,_0x445e95:0x143,_0x2ab26d:0x198,_0x19dc01:0x1d2,_0x1c446a:0x1f5,_0x27c600:0x1a8,_0x4d5016:0x192,_0x121519:0x135,_0x3768f0:0x12e,_0x386e31:0xc1,_0x44918e:0x94,_0x35c36d:0x10e,_0x13349c:0x18b,_0x48d5d3:0xca,_0x4b8ab1:0x174,_0x90592e:0x143,_0x160ec5:0x9c,_0x5dd992:0x61,_0x2f1c74:0xbe,_0x33687e:0x95,_0x5ba140:0x63,_0x3570e8:0xa5,_0x566cea:0x100,_0x52f350:0x162,_0x2e8846:0x89,_0x31fee9:0x125,_0x3565cf:0x9e,_0x3c3879:0x180,_0x3068fa:0xd9,_0x38b656:0x107,_0x2eb9d7:0x76,_0x59e004:0x10b,_0x3557bc:0xf6,_0x5e6971:0x130,_0x4e84a0:0x17f,_0x22f4bd:0xa9,_0x11d5ef:0x82,_0x344782:0xb8,_0x3850bb:0xbc,_0x1872bc:0xe1,_0x38fdd3:0xfb,_0x101eb5:0x86,_0xee9881:0x119,_0x1b9ae4:0x15f,_0x303f73:0xcc,_0x52e6c2:0x1a9,_0xcdffe9:0x16a,_0x43bd30:0x15e,_0x448718:0x18e,_0x126619:0x128,_0x4e58c6:0xe1,_0x222936:0x13c,_0x48b624:0xc2,_0x2df54f:0xa0,_0x496db3:0x113,_0x3164db:0x107,_0x2b3b9f:0x119,_0x1b2681:0xce,_0x4a569e:0xf2,_0x1ef98c:0x121,_0xb49220:0x179,_0x40784a:0x1cd,_0x7f4ffa:0x18c,_0x9d0d10:0x11a,_0x3b7d46:0x177,_0xa5bbdf:0x113,_0x59b2be:0x13c,_0x5a6548:0x101,_0xaad125:0x132,_0x29c130:0x12d,_0x487488:0x16a,_0x28023e:0x165,_0x3f0bdb:0x120,_0x16b181:0x105,_0x296059:0x189,_0xfdcd05:0x193,_0x541be5:0x1b6,_0x560ea1:0xe8,_0x588746:0x11d,_0x54f0e8:0xc8,_0x4e84c3:0xf1,_0x2a8cd2:0x71,_0x2658ee:0x166,_0x554fb3:0x155,_0x3203f8:0xb0,_0x4bca25:0xac,_0x1cfbdf:0x119,_0x47caef:0xc6,_0x302d62:0x12c,_0x2e4adf:0x160,_0x362b1b:0x15c,_0x1898b3:0xd5,_0x359274:0xc0,_0x1d8a33:0x12e,_0x41f0ea:0x118,_0x12f0bb:0xfd,_0x98438e:0x102,_0x1b345f:0xc5,_0x1c4d53:0x14f,_0x44c5e7:0x150,_0x510c0f:0x12a,_0x5dd0a6:0xb3,_0x12ef0b:0x109,_0x36b3a4:0x107,_0x1e7577:0x144,_0x5d8cec:0x119,_0x2069d1:0xf7,_0x54f78f:0xb5,_0x48baa5:0x106,_0x52217d:0xf3,_0x3c0eb0:0x14d,_0x3621aa:0x1a6,_0x283e18:0x162,_0x2b3f7d:0x1f7,_0xd85858:0xbe,_0x2b977b:0x71,_0x63a6f7:0x158,_0x6c71e0:0x147,_0x34fedf:0x102,_0x1a6426:0x102},_0x568715={_0xf172d5:0x23a},_0x3979db={_0x14d829:0x2ce};function _0x3187c0(_0xb51212,_0x260c6b,_0x31a734,_0x3c3ba1){return _0x2e59(_0x3c3ba1- -_0x3979db._0x14d829,_0x260c6b);}function _0x4b3e93(_0x208cc6,_0x2d4cd2,_0x4ce065,_0x5395d4){return _0x2e59(_0x208cc6- -_0x568715._0xf172d5,_0x4ce065);}const _0x1de498={'liXcP':'&','sLDwn':_0x4b3e93(-0xcb,-_0x2e4908._0x566684,-_0x2e4908._0x1611b1,-0x8f),'ZufGk':_0x4b3e93(-_0x2e4908._0x55fb39,-0xb2,-0x161,-0x149),'cYExX':_0x4b3e93(-_0x2e4908._0x330c0c,-_0x2e4908._0x3d66c1,-_0x2e4908._0x53a238,-0x74),'twoEE':_0x3187c0(-_0x2e4908._0x2c0792,-_0x2e4908._0xe54f8a,-0x121,-_0x2e4908._0x4f157a)+_0x4b3e93(-0x10b,-_0x2e4908._0x19c0de,-0x129,-0xdf)+'tification'+_0x3187c0(-0x155,-0x1c5,-0x19c,-0x182),'MOPyb':_0x4b3e93(-_0x2e4908._0x1a8436,-0xe3,-_0x2e4908._0x5db763,-0xe1)+'\x20has\x20no\x20em'+_0x4b3e93(-_0x2e4908._0x3a1892,-0xe8,-_0x2e4908._0x31623f,-0xee),'nwZkh':_0x3187c0(-0xe9,-0x169,-_0x2e4908._0xa85aeb,-0x138)+_0x4b3e93(-_0x2e4908._0x1713ff,-0x114,-0x113,-0xe4)+_0x4b3e93(-0x8e,-0x77,-_0x2e4908._0x5edadd,-_0x2e4908._0x344da3)+_0x4b3e93(-_0x2e4908._0x3d66c1,-0x8b,-0x5c,-_0x2e4908._0xbe7f2e)+_0x4b3e93(-0xea,-0x115,-_0x2e4908._0x3d4eb6,-0xa2)+'ns','HhEbw':function(_0x4e1fd1,_0x457804){return _0x4e1fd1(_0x457804);},'gyXaq':_0x3187c0(-_0x2e4908._0x5761ea,-0x18b,-0x10d,-0x15d)+_0x3187c0(-_0x2e4908._0x52be17,-0xe1,-0xbe,-0x10c)+_0x3187c0(-0x12f,-_0x2e4908._0x19be74,-_0x2e4908._0x13d020,-_0x2e4908._0x169fe4)+_0x3187c0(-0x181,-0x178,-0x1da,-_0x2e4908._0x568e3b)+_0x4b3e93(-_0x2e4908._0x339bb1,-0x107,-_0x2e4908._0x4b3c6a,-0x152)+_0x4b3e93(-_0x2e4908._0x582af9,-0xec,-_0x2e4908._0x485e7e,-_0x2e4908._0x35ed8d)+_0x4b3e93(-_0x2e4908._0x6df9c0,-_0x2e4908._0x1ee80e,-_0x2e4908._0x169302,-_0x2e4908._0x58eb80)+_0x4b3e93(-0x10e,-0x140,-0xed,-_0x2e4908._0xb2ddf5)+_0x4b3e93(-0x6f,-0x8f,-_0x2e4908._0x19966b,-0x33)+_0x3187c0(-0x121,-_0x2e4908._0x15c4b9,-0x158,-_0x2e4908._0x4b9046)+'dius:\x204px;'+'\x20font-weig'+_0x3187c0(-0x192,-0x1b3,-_0x2e4908._0x1b88f2,-0x1a4)+_0x4b3e93(-0xe0,-0x89,-0xa5,-0xc5),'btWlI':_0x3187c0(-0x169,-_0x2e4908._0x29fb12,-0x19b,-0x175)+_0x3187c0(-0x142,-0x12e,-_0x2e4908._0x232c53,-_0x2e4908._0x4ba97a)+_0x4b3e93(-0x112,-0xff,-_0x2e4908._0x441c5b,-0x11f)+_0x3187c0(-0x15d,-_0x2e4908._0x3c24e2,-_0x2e4908._0x3b14ba,-0x1b0)+_0x3187c0(-0x136,-0x118,-0xec,-_0x2e4908._0x508478),'lLphU':_0x4b3e93(-_0x2e4908._0x36fb3e,-_0x2e4908._0x3c41f5,-0xc8,-0x104)+_0x3187c0(-_0x2e4908._0x447bf9,-_0x2e4908._0x3ed4aa,-0x1c0,-0x190)+_0x3187c0(-_0x2e4908._0x2472cd,-0x11b,-0xae,-_0x2e4908._0x185c13)+_0x3187c0(-0x172,-_0x2e4908._0x3fcf79,-0x1c8,-0x1ac),'mWMnH':function(_0x5ca3c0,_0x317654){return _0x5ca3c0===_0x317654;},'FwooO':_0x4b3e93(-0xba,-0xe3,-0x9f,-_0x2e4908._0x4ec873),'aEIIS':'FcVHD','EsqNm':'TgDaK','cijgx':function(_0xc08575,_0x4dc585){return _0xc08575!==_0x4dc585;},'HUBIe':_0x4b3e93(-_0x2e4908._0x1f5fff,-_0x2e4908._0x46f576,-_0x2e4908._0x1c7196,-0x148),'pJAfp':_0x4b3e93(-_0x2e4908._0x538f44,-0xd5,-0xcb,-0x5b)+_0x4b3e93(-_0x2e4908._0x17ae24,-0x75,-_0x2e4908._0x115e7a,-_0x2e4908._0x1e158a)+_0x4b3e93(-0xea,-0x115,-0xa9,-0xa7)+'ns','wKnFB':_0x4b3e93(-_0x2e4908._0x3bc958,-_0x2e4908._0x31623f,-0xb8,-0x93),'BiKOT':_0x4b3e93(-0x96,-_0x2e4908._0x7a6c75,-_0x2e4908._0x23b284,-_0x2e4908._0x1597c9),'UpxuZ':function(_0x2d4377,_0x1b590e){return _0x2d4377===_0x1b590e;},'abCfL':_0x4b3e93(-0xc4,-_0x2e4908._0x13d020,-_0x2e4908._0x240767,-_0x2e4908._0x10a227),'CibLH':function(_0x335397,_0x201953){return _0x335397===_0x201953;},'GfvHY':_0x4b3e93(-0xd4,-_0x2e4908._0x485a7b,-0xab,-0xe0),'PgdLv':_0x3187c0(-0xbe,-_0x2e4908._0xc8b27d,-_0x2e4908._0x1a7696,-0x110),'bcuzq':'Mentioned\x20'+_0x4b3e93(-_0x2e4908._0xdd022d,-_0x2e4908._0x30ae98,-_0x2e4908._0x2040e2,-_0x2e4908._0x4de88e)+_0x4b3e93(-0xa1,-0x7a,-_0x2e4908._0x5939f6,-_0x2e4908._0x3380b1),'lYJrl':function(_0x199ead,_0xf1fe62){return _0x199ead!==_0xf1fe62;},'fcbXG':'ZQcJx','rTUfM':_0x3187c0(-_0x2e4908._0xa85aeb,-_0x2e4908._0x31040e,-0x115,-_0x2e4908._0x574b9d)+_0x3187c0(-0x141,-0x10c,-0x15f,-_0x2e4908._0x4c07f3)+_0x4b3e93(-0xbd,-_0x2e4908._0x2e2d97,-_0x2e4908._0x40f5a5,-_0x2e4908._0x230773)+_0x4b3e93(-0x69,-0xb0,-0x5d,-_0x2e4908._0x13ecb4),'cEhLQ':function(_0x42ad43,_0x2395d5){return _0x42ad43(_0x2395d5);},'HMGft':_0x4b3e93(-_0x2e4908._0x3184c4,-_0x2e4908._0x30f27b,-0xee,-0xd1)+_0x3187c0(-_0x2e4908._0x55af13,-0x165,-0x197,-0x150),'tsyxM':'mention','YfZJf':'Mention\x20no'+_0x3187c0(-0x1ab,-_0x2e4908._0x5cdc7a,-0x11c,-0x150)+'\x20sent','zfyWC':'Failed\x20to\x20'+_0x4b3e93(-0x109,-0x13b,-0xb9,-_0x2e4908._0x1e289c)+_0x4b3e93(-_0x2e4908._0x734c74,-_0x2e4908._0x46cc38,-0xab,-_0x2e4908._0x4c5329)+_0x3187c0(-0x14c,-0x11f,-0x15a,-0x11e),'iPSjm':function(_0x4b803c,_0x4fc440){return _0x4b803c===_0x4fc440;},'exlWs':_0x4b3e93(-_0x2e4908._0x508386,-_0x2e4908._0xe4aa5d,-0xb5,-0xaf)};try{if(_0x1de498[_0x3187c0(-0x15c,-_0x2e4908._0x2743ac,-_0x2e4908._0x9be154,-_0x2e4908._0x35f613)](_0x1de498[_0x3187c0(-_0x2e4908._0x1431e2,-0x134,-_0x2e4908._0x48084c,-0x169)],'FIEou')){const _0x253095=await isEmailConfigured();if(!_0x253095){if(_0x1de498[_0x3187c0(-_0x2e4908._0x1b8238,-_0x2e4908._0x4a3fd0,-0x109,-0x123)]===_0x1de498[_0x4b3e93(-_0x2e4908._0x57d260,-_0x2e4908._0x290c54,-0xd4,-0x117)])return;else{logger['debug'](_0x1de498[_0x4b3e93(-0xef,-0xe0,-0xde,-_0x2e4908._0x1b8238)]);return;}}const _0x2b1693=parseMentions(_0xf49eda);if(_0x1de498[_0x3187c0(-0x105,-0x175,-0x11e,-_0x2e4908._0x35f613)](_0x2b1693['length'],-0x1390+0x8a9+-0xae7*-0x1)){if(_0x1de498[_0x4b3e93(-_0x2e4908._0x51e3d2,-_0x2e4908._0x29541d,-0x7b,-_0x2e4908._0x291c6a)](_0x1de498['HUBIe'],'zZKKI'))return;else{if(!_0x2430af)return'';return _0x325e38[_0x3187c0(-0x16d,-_0x2e4908._0x5d987e,-_0x2e4908._0x242db3,-_0x2e4908._0x48084c)](/&/g,_0x1de498['liXcP'])[_0x4b3e93(-_0x2e4908._0x1dc4be,-_0x2e4908._0x296ff5,-_0x2e4908._0x3f88cf,-_0x2e4908._0x24d7e8)](/</g,_0x1de498[_0x3187c0(-0xf1,-0x148,-_0x2e4908._0x5ce174,-_0x2e4908._0x5effc6)])[_0x3187c0(-0x18c,-0x111,-_0x2e4908._0x49cd4d,-_0x2e4908._0x48084c)](/>/g,_0x1de498[_0x4b3e93(-0xad,-0xaa,-_0x2e4908._0x2ea30e,-_0x2e4908._0x40e20f)])[_0x3187c0(-_0x2e4908._0x253f0a,-_0x2e4908._0x40758c,-0x101,-0x159)](/"/g,_0x1de498[_0x4b3e93(-0xa3,-0xa9,-_0x2e4908._0x5edadd,-_0x2e4908._0x2b9c32)]);}}const _0x1e109d={};_0x1e109d['taskId']=_0x285dcd,_0x1e109d[_0x3187c0(-_0x2e4908._0x3d2580,-_0x2e4908._0x3584bc,-_0x2e4908._0x445e95,-_0x2e4908._0x2ab26d)+_0x3187c0(-_0x2e4908._0x19dc01,-_0x2e4908._0x1c446a,-0x159,-_0x2e4908._0x27c600)]=_0x2b1693,_0x1e109d[_0x3187c0(-_0x2e4908._0x4d5016,-_0x2e4908._0x121519,-_0x2e4908._0x3768f0,-0x173)]=_0x7bc7e7[_0x4b3e93(-_0x2e4908._0x386e31,-_0x2e4908._0x44918e,-0xbd,-_0x2e4908._0x35c36d)],logger[_0x3187c0(-0x16f,-0x110,-_0x2e4908._0x13349c,-0x15c)](_0x1de498[_0x3187c0(-_0x2e4908._0x48d5d3,-0xd8,-_0x2e4908._0x4b8ab1,-0x125)],_0x1e109d);const _0x107e51=buildTaskUrl(_0x285dcd,_0x50d6f5,_0x304b27),_0x518d4b=_0x1de498[_0x3187c0(-_0x2e4908._0x90592e,-0xeb,-0xd2,-0x11d)](_0x50d6f5['status'],_0x1de498['wKnFB']),_0x80219b=_0x50d6f5[_0x4b3e93(-_0x2e4908._0x160ec5,-0xbc,-_0x2e4908._0x5dd992,-_0x2e4908._0x2f1c74)]||_0x50d6f5[_0x4b3e93(-0x80,-_0x2e4908._0x33687e,-_0x2e4908._0x5ba140,-_0x2e4908._0x3570e8)]||(_0x518d4b?_0x3187c0(-0x11a,-_0x2e4908._0x566cea,-0x11c,-0x14c)+_0x285dcd:_0x3187c0(-0x11e,-0xeb,-_0x2e4908._0x52f350,-0x145)+_0x285dcd);for(const _0x4f0757 of _0x2b1693){if(_0x1de498[_0x4b3e93(-0x98,-0x5a,-0x63,-_0x2e4908._0x2e8846)](_0x3187c0(-_0x2e4908._0x31fee9,-0x151,-0x184,-0x149),_0x1de498[_0x4b3e93(-0x9d,-_0x2e4908._0x3565cf,-0x45,-0x71)])){if(_0x4f0757===_0x7bc7e7['userId']){if(_0x1de498['UpxuZ'](_0x1de498[_0x3187c0(-_0x2e4908._0x3c3879,-_0x2e4908._0x232c53,-0x141,-0x163)],_0x4b3e93(-_0x2e4908._0x3068fa,-0x114,-0x128,-0x8c))){const _0x501cab={};_0x501cab['ownerId']=_0x1243e3,_0x596844[_0x3187c0(-0xf9,-0xae,-0xe6,-_0x2e4908._0x38b656)](_0x1de498['twoEE'],_0x501cab);return;}else continue;}try{if(_0x4b3e93(-_0x2e4908._0x9be154,-_0x2e4908._0x2eb9d7,-_0x2e4908._0x59e004,-0x69)!=='zRgKp'){const _0xdb3803={};_0xdb3803['ownerId']=_0x194820,_0x494738[_0x3187c0(-_0x2e4908._0x3557bc,-_0x2e4908._0x5e6971,-0xed,-_0x2e4908._0x38b656)](_0x1de498[_0x3187c0(-0x130,-0xec,-_0x2e4908._0x4e84a0,-_0x2e4908._0x46cc38)],_0xdb3803);return;}else{const _0x376231=await findUserById(_0x4f0757);if(!_0x376231){if(_0x1de498[_0x4b3e93(-_0x2e4908._0x22f4bd,-0x101,-_0x2e4908._0x11d5ef,-_0x2e4908._0x344782)](_0x1de498[_0x3187c0(-0xd5,-_0x2e4908._0x3850bb,-_0x2e4908._0x1872bc,-_0x2e4908._0x38fdd3)],_0x4b3e93(-0xd4,-_0x2e4908._0x101eb5,-0x105,-0x116))){const _0x2fb1d3={};_0x2fb1d3[_0x4b3e93(-_0x2e4908._0xee9881,-_0x2e4908._0x1b9ae4,-0x120,-_0x2e4908._0x303f73)]=_0x4f0757,logger['debug']('Mentioned\x20'+_0x3187c0(-_0x2e4908._0x52e6c2,-0x19d,-0x1b5,-_0x2e4908._0xcdffe9)+_0x3187c0(-0x14b,-0x142,-0x187,-_0x2e4908._0x43bd30),_0x2fb1d3);continue;}else{_0x221c73['debug'](_0x1de498[_0x3187c0(-_0x2e4908._0x448718,-0x13a,-0x1ca,-0x183)]);return;}}if(!_0x376231['email']){if(_0x1de498[_0x4b3e93(-0xec,-_0x2e4908._0x126619,-_0x2e4908._0x4e58c6,-_0x2e4908._0x222936)]('PxlUo',_0x1de498[_0x4b3e93(-_0x2e4908._0x48b624,-0x86,-0xe9,-_0x2e4908._0x2df54f)])){const _0x33b0e6={};_0x33b0e6['userId']=_0x4f0757,logger[_0x3187c0(-_0x2e4908._0x496db3,-_0x2e4908._0x253f0a,-0x11a,-_0x2e4908._0x3164db)](_0x1de498[_0x3187c0(-0x11f,-0x133,-_0x2e4908._0x2b3b9f,-0x10f)],_0x33b0e6);continue;}else{if(!_0x1e8f28)return'';const _0x154e3e=_0x1de498['HhEbw'](_0x5cce10,_0xbdc827);return _0x154e3e['replace'](/@?\[([^\]]+)\]\(mention:[^)]+\)/g,_0x1de498['gyXaq']);}}const _0x7d64b2=_0x1de498[_0x4b3e93(-_0x2e4908._0x1b2681,-0xfb,-0x97,-0xbe)](_0x376231['preference'+'s']?.[_0x4b3e93(-_0x2e4908._0x4a569e,-0x11f,-_0x2e4908._0x36fb3e,-_0x2e4908._0x1ef98c)+_0x3187c0(-_0x2e4908._0xb49220,-_0x2e4908._0x40784a,-_0x2e4908._0x7f4ffa,-0x1a1)],![]);if(!_0x7d64b2){if(_0x1de498[_0x3187c0(-_0x2e4908._0x9d0d10,-_0x2e4908._0x3b7d46,-0x145,-0x162)](_0x1de498[_0x4b3e93(-_0x2e4908._0xa5bbdf,-_0x2e4908._0x5effc6,-0xc0,-_0x2e4908._0x59b2be)],_0x1de498[_0x4b3e93(-0x113,-0x12c,-0xce,-0x14e)]))return _0x3c9184+(_0x4b3e93(-_0x2e4908._0x5a6548,-0x159,-_0x2e4908._0xaad125,-_0x2e4908._0x29c130)+_0x3187c0(-_0x2e4908._0x487488,-0x1d2,-0x1b4,-0x1af)+'e=')+_0x2ffc3a;else{const _0x2d8645={};_0x2d8645[_0x4b3e93(-_0x2e4908._0x2b3b9f,-_0x2e4908._0x28023e,-0x155,-_0x2e4908._0x3f0bdb)]=_0x4f0757,logger[_0x3187c0(-0x158,-0x117,-_0x2e4908._0x16b181,-0x107)](_0x1de498[_0x3187c0(-_0x2e4908._0x296059,-_0x2e4908._0xfdcd05,-_0x2e4908._0x541be5,-0x1a3)],_0x2d8645);continue;}}const _0x3fcea8=formatCommentForEmail(_0xf49eda);await _0x1de498[_0x4b3e93(-0xb0,-_0x2e4908._0x5dd992,-_0x2e4908._0x560ea1,-0xb4)](sendTemplatedEmail,{'to':_0x376231[_0x4b3e93(-_0x2e4908._0x588746,-0x13d,-_0x2e4908._0x54f0e8,-0xc3)],'template':_0x1de498['HMGft'],'data':{'type':_0x1de498[_0x4b3e93(-0xe9,-0xe3,-0xbf,-0xc7)],'recipientName':_0x376231['name']||_0x376231[_0x4b3e93(-0xc1,-0x111,-_0x2e4908._0x4e84c3,-_0x2e4908._0x2a8cd2)],'actorName':_0x7bc7e7['name']||_0x7bc7e7[_0x3187c0(-_0x2e4908._0x2658ee,-_0x2e4908._0x445e95,-_0x2e4908._0x3d2580,-_0x2e4908._0x554fb3)],'taskTitle':_0x80219b,'taskUrl':_0x107e51,'isObjective':_0x518d4b,'commentPreviewHtml':_0x3fcea8['html'],'commentPreviewText':_0x3fcea8[_0x3187c0(-_0x2e4908._0x126619,-0x132,-0x11b,-_0x2e4908._0x29c130)],'commentedAt':_0x1de498[_0x4b3e93(-_0x2e4908._0x3203f8,-0xf6,-_0x2e4908._0x4bca25,-0xd9)](formatDate,_0x6d1f57)}});const _0x27a1cc={};_0x27a1cc['to']=_0x376231['email'],_0x27a1cc[_0x4b3e93(-_0x2e4908._0x1cfbdf,-_0x2e4908._0x47caef,-0xf9,-_0x2e4908._0xa5bbdf)]=_0x4f0757,_0x27a1cc['taskId']=_0x285dcd,logger[_0x3187c0(-_0x2e4908._0x302d62,-0x131,-_0x2e4908._0x2e4adf,-_0x2e4908._0x362b1b)](_0x1de498[_0x4b3e93(-0xd1,-_0x2e4908._0x1898b3,-0x78,-0xaa)],_0x27a1cc);}}catch(_0x373f10){const _0x56af39={};_0x56af39[_0x4b3e93(-0x119,-_0x2e4908._0x359274,-_0x2e4908._0x1d8a33,-0x10f)]=_0x4f0757,_0x56af39[_0x3187c0(-_0x2e4908._0x41f0ea,-_0x2e4908._0x582af9,-_0x2e4908._0x12f0bb,-_0x2e4908._0x98438e)]=_0x373f10[_0x3187c0(-0xd5,-0xbb,-_0x2e4908._0x1b345f,-0x106)],logger[_0x3187c0(-0xef,-0xe0,-_0x2e4908._0x1c4d53,-0x102)](_0x1de498['zfyWC'],_0x56af39);}}else return _0x3903a9;}}else{const _0x1ffe9b={};_0x1ffe9b[_0x3187c0(-_0x2e4908._0x44c5e7,-_0x2e4908._0x185c13,-0x132,-0x152)]=_0x52cffb,_0xdb7cf5[_0x3187c0(-_0x2e4908._0x510c0f,-_0x2e4908._0x5dd0a6,-_0x2e4908._0x12ef0b,-_0x2e4908._0x36b3a4)](_0x1de498['btWlI'],_0x1ffe9b);return;}}catch(_0x4a6ee9){if(_0x1de498['iPSjm'](_0x1de498['exlWs'],_0x1de498[_0x3187c0(-0x1af,-0x193,-_0x2e4908._0x1e7577,-0x18f)])){const _0x584fa5={};_0x584fa5[_0x4b3e93(-0xbe,-0x98,-_0x2e4908._0x5d8cec,-_0x2e4908._0x2069d1)]=_0x285dcd,_0x584fa5['error']=_0x4a6ee9[_0x3187c0(-_0x2e4908._0x3f88cf,-_0x2e4908._0x54f78f,-_0x2e4908._0x2e4adf,-_0x2e4908._0x48baa5)],logger['error'](_0x3187c0(-0x18d,-0xfd,-_0x2e4908._0x52217d,-_0x2e4908._0x3c0eb0)+_0x3187c0(-0x18b,-_0x2e4908._0x3621aa,-0x1d2,-0x190)+'ntion\x20noti'+_0x3187c0(-0x1d3,-_0x2e4908._0x283e18,-_0x2e4908._0x2b3f7d,-0x1ac),_0x584fa5);}else{const _0x1dccc9={};_0x1dccc9[_0x4b3e93(-_0x2e4908._0xd85858,-_0x2e4908._0x2b977b,-_0x2e4908._0x296ff5,-0x68)]=_0x1fff5a,_0x1dccc9[_0x3187c0(-0xab,-_0x2e4908._0x63a6f7,-_0x2e4908._0x6c71e0,-_0x2e4908._0x34fedf)]=_0xcb789b[_0x4b3e93(-0x72,-0x46,-0x9d,-0x78)],_0x2e4db7[_0x3187c0(-0xeb,-0xb8,-0x14d,-_0x2e4908._0x1a6426)](_0x1de498['lLphU'],_0x1dccc9);}}}export async function sendCommentNotification({commentContent:_0x95aba0,commenter:_0x7219b8,task:_0x45d0a3,taskId:_0x10ac9f,commentedAt:_0x26702e,baseUrl:_0x544edd}){const _0x198821={_0x28792d:0x7d,_0x47a7e5:0xbc,_0x560a8f:0xa5,_0xc6e83b:0x107,_0x165b06:0xaf,_0x24afc5:0x407,_0x13f79f:0x436,_0x1f07f9:0x401,_0xd2d3a3:0x365,_0x16f9c4:0x3c4,_0x2360df:0x3bd,_0x4c92f1:0x3c5,_0x36a018:0x91,_0x593452:0x9c,_0x2580bd:0x3cd,_0x18c1d4:0x10f,_0x3caa0d:0x126,_0x2a9274:0x102,_0xa6d926:0x37d,_0x43c4a0:0x38c,_0x335c28:0x3ca,_0x4fd1e5:0x3f9,_0x624d3d:0x71,_0x2f91cb:0x6e,_0x19cbfb:0x3b3,_0x1e717f:0x376,_0x3db588:0x96,_0x156d7c:0xdb,_0x396155:0xca,_0x220461:0x58,_0x23aee3:0x4d,_0xa5cdd5:0x3ce,_0x3cf881:0x3c1,_0x41a516:0x3ba,_0x5431ba:0x3e4,_0x4b2308:0x3d2,_0x4442bf:0xdc,_0x865b8:0xd1,_0x530ab9:0x9f,_0xeb1b33:0x402,_0x1a0f60:0x3fe,_0x2f53cd:0x3e2,_0x4f5b9c:0x3ec,_0x36123e:0xe3,_0x3f961e:0x100,_0x329342:0xbf,_0x5a4921:0xa9,_0x4e47be:0x474,_0x4d8241:0x40d,_0x583219:0x41b,_0x3c9f94:0x411,_0x26efe4:0xa3,_0x1d77f9:0x121,_0x150f2d:0xdd,_0x49d1cb:0xe4,_0x333250:0x117,_0x56e3c9:0xdd,_0x74cbe:0x2a,_0x516521:0x425,_0x5f068a:0x34,_0x37c233:0x7e,_0xd9436e:0x3ab,_0x20fa7c:0x3a5,_0x1ceec0:0x480,_0x49c6b7:0x466,_0x5009cb:0x469,_0x5d6d0a:0x7c,_0x437768:0x19,_0x3eb609:0x3fc,_0x324d80:0x3fc,_0x584b78:0x139,_0x7883c:0xcb,_0x849c9f:0x3e7,_0x31d26a:0x452,_0x2ac7cb:0x41d,_0x56bcfb:0x384,_0x52db3d:0xfb,_0xf5fcbe:0xea,_0x559362:0x3b5,_0xa4ba3d:0x353,_0x5059a9:0x3cf,_0xb5b389:0x3d6,_0x14aa43:0xe0,_0x5be2ce:0xaf,_0x3e43c7:0x439,_0x117c25:0x44f,_0xa7a567:0x401,_0x14b4dc:0x3f6,_0xfc8778:0x8f,_0x3087c9:0x98,_0xc8f5d4:0x3f4,_0x5f3629:0x3aa,_0x28a046:0x380,_0x44f863:0x3cb,_0xff8baf:0x412,_0x404246:0x3df,_0x420d17:0x3cf,_0x140fa9:0x463,_0x391389:0xb4,_0x1ea8dd:0x403,_0x507a8a:0x386,_0x50facb:0x12e,_0xc8a186:0xd3,_0x1bdd1c:0x87,_0x202cb6:0xd4,_0x4a0511:0x3f2,_0x3143a4:0x108,_0xde8568:0xbd,_0x4f0f5e:0xc3,_0x45f14a:0xc4,_0x291b1d:0xf9,_0x3fd738:0xae,_0x75a02c:0x3d4,_0xce7ae8:0x38b,_0x95e14f:0x39c,_0x46c37b:0x3d3,_0x1095d0:0x3de,_0x19d77d:0x395,_0x37cb50:0x43f,_0x187945:0x3e7,_0x6cb252:0xed,_0x24ce5f:0x7d,_0xa5f934:0xa3,_0x4da6e1:0x51,_0x333401:0x404,_0x10ce16:0x74,_0x5c32d7:0xc3,_0x228eaf:0x417,_0x5edddc:0x435,_0x2b9697:0x3fa,_0x25e48d:0x7e,_0x1e6e79:0x39,_0x563f1b:0x5e,_0x4b4765:0x47a,_0x5780b4:0x44b,_0x1ea4b2:0x3b1,_0x549f86:0xfd,_0x1d8767:0x65,_0x2b8c8b:0xe3,_0xc32027:0xd5,_0x3c1503:0xba,_0x516023:0x70,_0x375c4d:0x3e0,_0x5c181e:0x3f0,_0x2b2eea:0x378,_0x4af0c9:0xb6,_0x462aab:0x3ab,_0x3c9efd:0x399,_0x4a4703:0x410,_0x1686e0:0x428,_0x5f323d:0x437,_0x2e32c8:0x41a,_0xb68e77:0x428,_0x3c30b1:0x3e7,_0x5b138c:0x444,_0x559a14:0x40f,_0x503094:0x397,_0x2129e5:0x3cc,_0x44a5ff:0x3d9,_0x53144:0x391,_0x5ac490:0x3d9,_0x581c74:0xc6,_0x326c5b:0xe8,_0x38d79f:0x423,_0x1e6ae3:0x485,_0x50156e:0x43a,_0x7c1a45:0x3e4,_0x57794c:0x1a,_0x2cc42c:0x45b,_0x32c96d:0x43f,_0x408b96:0x3ff,_0x2f82d7:0x38e,_0x2ee2bc:0x45d,_0x52b5df:0x418,_0x1f0c34:0x465,_0x10a5d1:0xea,_0x28de12:0x10c,_0x23d2a8:0xf2,_0x3c00a9:0xc2,_0x26a363:0x471,_0x1b30dd:0x41c};function _0x5df89c(_0x505ccd,_0x559d2e,_0x361421,_0x597c26){return _0x2e59(_0x361421-0x26e,_0x559d2e);}const _0x28723c={'bVXUj':_0x49c453(-0xc9,-_0x198821._0x28792d,-0xc9,-_0x198821._0x47a7e5),'pxGHR':_0x49c453(-0xc6,-_0x198821._0x560a8f,-_0x198821._0xc6e83b,-_0x198821._0x165b06),'WAMGk':_0x5df89c(_0x198821._0x24afc5,_0x198821._0x13f79f,_0x198821._0x1f07f9,0x439),'XkKHL':'short','WpmmT':_0x5df89c(0x41f,0x3f4,0x3ef,0x3b9)+'send\x20menti'+_0x5df89c(_0x198821._0xd2d3a3,_0x198821._0x16f9c4,_0x198821._0x2360df,_0x198821._0x4c92f1)+'ation','GxEDF':function(_0x17097b,_0x2b32e4){return _0x17097b===_0x2b32e4;},'sARmw':function(_0x3c1522){return _0x3c1522();},'PRTsS':function(_0x1f2583,_0xb1784){return _0x1f2583===_0xb1784;},'MmgHu':_0x49c453(-0xda,-_0x198821._0x36a018,-0xf5,-_0x198821._0x593452),'xdcwS':'Task\x20has\x20n'+_0x5df89c(0x37e,0x373,_0x198821._0x2580bd,0x41a)+_0x49c453(-0xb8,-_0x198821._0x18c1d4,-_0x198821._0x3caa0d,-_0x198821._0x2a9274)+_0x5df89c(_0x198821._0xa6d926,0x376,_0x198821._0x43c4a0,_0x198821._0x335c28)+_0x49c453(-0xa5,-0x33,-0xf,-0x60),'thGyz':function(_0x413159,_0x12a37f){return _0x413159===_0x12a37f;},'djvSf':function(_0x278b86,_0xbca9){return _0x278b86!==_0xbca9;},'nLXNs':_0x5df89c(0x417,_0x198821._0x4fd1e5,0x3e2,0x3d3),'agzEC':'Task\x20owner'+_0x49c453(-_0x198821._0x624d3d,-0xca,-0x94,-_0x198821._0x2f91cb),'jYUbQ':_0x5df89c(0x3df,_0x198821._0x19cbfb,0x406,0x45c)+_0x5df89c(0x3ff,_0x198821._0x1e717f,0x3b2,0x387)+_0x49c453(-_0x198821._0x3db588,-_0x198821._0x156d7c,-0x9a,-_0x198821._0x396155),'PeTkQ':_0x49c453(-_0x198821._0x220461,-0x10,-_0x198821._0x23aee3,-0x64),'IguvK':_0x5df89c(0x376,_0x198821._0xa5cdd5,_0x198821._0x3cf881,0x396)+'comment\x20no'+_0x5df89c(_0x198821._0x41a516,_0x198821._0x5431ba,0x3ec,_0x198821._0x4b2308)+_0x5df89c(0x38e,0x3e2,0x3ba,0x3f1),'svvdG':function(_0x19259f,_0x3882b5,_0x3deee9,_0x48670a){return _0x19259f(_0x3882b5,_0x3deee9,_0x48670a);},'mDMfq':function(_0x4353d4,_0x5802ef){return _0x4353d4===_0x5802ef;},'OwZDj':_0x5df89c(0x377,0x410,0x3c3,0x3c8),'BKEkM':function(_0x12c303,_0x1a2e59){return _0x12c303(_0x1a2e59);},'MfhFp':function(_0x1af886,_0x390181){return _0x1af886(_0x390181);},'TWlEL':_0x49c453(-_0x198821._0x4442bf,-0xad,-_0x198821._0x865b8,-_0x198821._0x530ab9),'zdKVv':_0x5df89c(0x3af,0x44f,_0x198821._0xeb1b33,_0x198821._0x1a0f60)+_0x5df89c(_0x198821._0x2f53cd,0x3e8,_0x198821._0x4f5b9c,0x41e)+_0x49c453(-_0x198821._0x36123e,-_0x198821._0x560a8f,-_0x198821._0x3f961e,-0xe3)+'ask\x20owner','nxpHp':'VtHhL','gXNFk':_0x49c453(-0x9c,-0x99,-_0x198821._0x329342,-_0x198821._0x5a4921)+'send\x20comme'+'nt\x20notific'+_0x5df89c(0x46a,_0x198821._0x4e47be,0x41e,0x3ce)};function _0x49c453(_0x467894,_0x22ed82,_0x46acf3,_0x360c57){return _0x2e59(_0x360c57- -0x22a,_0x22ed82);}try{const _0x5da239=await _0x28723c[_0x5df89c(_0x198821._0x4d8241,0x426,_0x198821._0x583219,_0x198821._0x3c9f94)](isEmailConfigured);if(!_0x5da239){if(_0x28723c['PRTsS'](_0x49c453(-_0x198821._0x26efe4,-_0x198821._0x1d77f9,-0xd6,-_0x198821._0x150f2d),_0x49c453(-_0x198821._0x49d1cb,-_0x198821._0x333250,-0xc7,-_0x198821._0x56e3c9))){logger[_0x49c453(-0xa4,-_0x198821._0x74cbe,-0x8b,-0x63)](_0x5df89c(0x3ce,_0x198821._0x516521,0x404,0x404)+'configured'+_0x49c453(-0x81,-0x6f,-_0x198821._0x5f068a,-_0x198821._0x37c233)+'\x20comment\x20n'+'otificatio'+'n');return;}else{if(!_0x5b1650)return[];const _0x49a78c=/@?\[([^\]]+)\]\(mention:([^)]+)\)/g,_0x54fad1=_0x2c64df[_0x5df89c(_0x198821._0xd9436e,0x3b1,_0x198821._0x20fa7c,0x39f)](_0x49a78c),_0x20cdf5=[..._0x54fad1][_0x5df89c(_0x198821._0x1ceec0,_0x198821._0x49c6b7,0x429,_0x198821._0x5009cb)](_0xfb16e3=>_0xfb16e3[-0x125c+-0x15a1+0x27ff]);return[...new _0x950d0b(_0x20cdf5)];}}const _0x441b2a=_0x45d0a3[_0x49c453(-0x99,-_0x198821._0x5d6d0a,-0xb6,-0xd2)]?.['userId'];if(!_0x441b2a){if(_0x28723c[_0x49c453(-0x2e,-0x2e,-_0x198821._0x437768,-0x5b)](_0x28723c[_0x5df89c(0x3f6,_0x198821._0x3eb609,0x421,_0x198821._0x324d80)],_0x49c453(-_0x198821._0x584b78,-_0x198821._0x7883c,-0xfd,-0x105)))try{return new _0x317224(_0x596763)['toLocaleSt'+_0x5df89c(_0x198821._0x849c9f,_0x198821._0x31d26a,_0x198821._0x2ac7cb,0x3d0)](_0x28723c[_0x5df89c(0x38b,0x3c1,0x3b4,_0x198821._0x56bcfb)],{'weekday':_0x49c453(-_0x198821._0x52db3d,-_0x198821._0x560a8f,-0x95,-_0x198821._0xf5fcbe),'year':_0x28723c[_0x5df89c(0x37b,_0x198821._0x559362,0x3b3,_0x198821._0x56bcfb)],'month':_0x5df89c(_0x198821._0xa4ba3d,_0x198821._0x5059a9,0x3ae,_0x198821._0xb5b389),'day':_0x49c453(-0x57,-0xf5,-_0x198821._0x14aa43,-_0x198821._0x5be2ce),'hour':_0x28723c['WAMGk'],'minute':_0x5df89c(_0x198821._0x3e43c7,_0x198821._0x117c25,_0x198821._0xa7a567,_0x198821._0x14b4dc)});}catch{return _0x896c94;}else{const _0x4670a7={};_0x4670a7['taskId']=_0x10ac9f,logger['debug'](_0x28723c['xdcwS'],_0x4670a7);return;}}if(_0x28723c[_0x49c453(-_0x198821._0xfc8778,-0x9c,-0xb0,-_0x198821._0x3087c9)](_0x441b2a,_0x7219b8['userId'])){if(_0x28723c['djvSf'](_0x28723c[_0x5df89c(_0x198821._0xc8f5d4,_0x198821._0x5f3629,0x3a8,0x3f4)],_0x5df89c(_0x198821._0x28a046,0x415,_0x198821._0x44f863,_0x198821._0xff8baf)))return;else return new _0x14cbd8(_0x427079)['toLocaleSt'+_0x5df89c(_0x198821._0x404246,_0x198821._0x420d17,0x41d,_0x198821._0x140fa9)](_0x28723c['bVXUj'],{'weekday':_0x28723c[_0x49c453(-0xa4,-0xf5,-_0x198821._0x391389,-0xd3)],'year':_0x28723c[_0x5df89c(_0x198821._0x1ea8dd,_0x198821._0x507a8a,0x3b3,0x395)],'month':_0x28723c[_0x49c453(-0x84,-_0x198821._0x50facb,-0x117,-_0x198821._0xc8a186)],'day':_0x28723c['pxGHR'],'hour':_0x28723c[_0x49c453(-_0x198821._0x1bdd1c,-0xb7,-0xdd,-_0x198821._0x202cb6)],'minute':_0x5df89c(_0x198821._0x4a0511,0x433,_0x198821._0x1f07f9,_0x198821._0x849c9f)});}const _0x5b485f=await findUserById(_0x441b2a);if(!_0x5b485f){const _0x18a305={};_0x18a305[_0x49c453(-_0x198821._0x3143a4,-_0x198821._0xde8568,-_0x198821._0x5d6d0a,-_0x198821._0x4f0f5e)]=_0x441b2a,_0x18a305[_0x49c453(-_0x198821._0x45f14a,-0xd0,-_0x198821._0x291b1d,-_0x198821._0x3fd738)]=_0x10ac9f,logger[_0x49c453(-0x38,-0x8a,-0x81,-0x63)](_0x28723c['agzEC'],_0x18a305);return;}if(!_0x5b485f[_0x5df89c(_0x198821._0x75a02c,0x37c,_0x198821._0xce7ae8,0x348)]){const _0x3f687c={};_0x3f687c[_0x5df89c(_0x198821._0x95e14f,0x395,0x3d5,_0x198821._0x46c37b)]=_0x441b2a,logger[_0x5df89c(0x446,0x481,0x435,_0x198821._0x1095d0)](_0x28723c[_0x5df89c(_0x198821._0x19d77d,_0x198821._0x2360df,0x3a6,0x37d)],_0x3f687c);return;}const _0x567d2a=_0x28723c[_0x49c453(-_0x198821._0x26efe4,-0xb9,-0xbd,-_0x198821._0x1bdd1c)](_0x5b485f[_0x5df89c(0x469,_0x198821._0x37cb50,0x432,0x466)+'s']?.[_0x5df89c(0x430,0x467,0x431,_0x198821._0x187945)+'ents_on_my'+_0x49c453(-0xb2,-_0x198821._0x6cb252,-_0x198821._0x24ce5f,-_0x198821._0xa5f934)],![]);if(!_0x567d2a){if(_0x49c453(-_0x198821._0x4da6e1,-0x96,-0xa7,-0x64)===_0x28723c[_0x5df89c(0x403,_0x198821._0x333401,0x3e8,0x3b4)]){const _0x5110b9={};_0x5110b9[_0x49c453(-_0x198821._0x10ce16,-0x96,-0x109,-_0x198821._0x5c32d7)]=_0x441b2a,logger[_0x5df89c(0x400,_0x198821._0x228eaf,_0x198821._0x5edddc,_0x198821._0x2b9697)](_0x28723c['IguvK'],_0x5110b9);return;}else{const _0x437412={};_0x437412['userId']=_0xe3f434,_0x437412[_0x49c453(-_0x198821._0x25e48d,-0x20,-_0x198821._0x1e6e79,-_0x198821._0x563f1b)]=_0x430f3c[_0x5df89c(_0x198821._0x4b4765,0x46d,_0x198821._0x13f79f,_0x198821._0x5780b4)],_0x598909['error'](_0x28723c[_0x49c453(-0xba,-0x72,-0x9e,-0x6d)],_0x437412);}}const _0x1432a8=_0x28723c[_0x5df89c(0x397,0x38d,_0x198821._0x1ea4b2,0x363)](buildTaskUrl,_0x10ac9f,_0x45d0a3,_0x544edd),_0x4900c9=_0x28723c[_0x49c453(-0x9f,-_0x198821._0x549f86,-0x13b,-0xf6)](_0x45d0a3[_0x49c453(-0x7f,-0x53,-0x2b,-_0x198821._0x1d8767)],_0x28723c[_0x49c453(-_0x198821._0x2b8c8b,-0xc9,-_0x198821._0xc32027,-0xa7)]),_0x1672bc=_0x45d0a3['title']||_0x45d0a3[_0x49c453(-0xa8,-0x76,-_0x198821._0x3c1503,-_0x198821._0x516023)]||(_0x4900c9?_0x5df89c(_0x198821._0x375c4d,0x443,_0x198821._0x5c181e,0x39e)+_0x10ac9f:_0x49c453(-0xaa,-0xf0,-0x64,-0xa1)+_0x10ac9f),_0x71c78d=_0x28723c['BKEkM'](formatCommentForEmail,_0x95aba0);await _0x28723c[_0x5df89c(_0x198821._0x3cf881,0x34c,0x38e,_0x198821._0x2b2eea)](sendTemplatedEmail,{'to':_0x5b485f[_0x49c453(-0x143,-0x135,-_0x198821._0x3143a4,-0x10d)],'template':'comment-no'+_0x49c453(-_0x198821._0x4af0c9,-0xb1,-0xe4,-0xac),'data':{'type':_0x28723c[_0x5df89c(0x3f9,0x372,_0x198821._0x462aab,_0x198821._0x3c9efd)],'recipientName':_0x5b485f[_0x5df89c(_0x198821._0x4a4703,0x466,_0x198821._0x1686e0,_0x198821._0x420d17)]||_0x5b485f['username'],'actorName':_0x7219b8[_0x5df89c(_0x198821._0x5f323d,_0x198821._0x2e32c8,_0x198821._0xb68e77,0x466)]||_0x7219b8[_0x5df89c(_0x198821._0x228eaf,0x3a9,_0x198821._0x3c30b1,0x41a)],'taskTitle':_0x1672bc,'taskUrl':_0x1432a8,'isObjective':_0x4900c9,'commentPreviewHtml':_0x71c78d['html'],'commentPreviewText':_0x71c78d[_0x5df89c(_0x198821._0x5b138c,_0x198821._0x5c181e,_0x198821._0x559a14,0x3fc)],'commentedAt':formatDate(_0x26702e)}});const _0x6b58b={};_0x6b58b['to']=_0x5b485f[_0x5df89c(_0x198821._0x503094,0x33d,_0x198821._0xce7ae8,_0x198821._0x2129e5)],_0x6b58b[_0x5df89c(0x425,0x3a2,0x3d5,_0x198821._0x44a5ff)]=_0x441b2a,_0x6b58b['taskId']=_0x10ac9f,logger[_0x5df89c(_0x198821._0x53144,0x3b3,0x3e0,_0x198821._0x5ac490)](_0x28723c[_0x49c453(-0xf2,-_0x198821._0x581c74,-_0x198821._0x326c5b,-0xcc)],_0x6b58b);}catch(_0x508eff){if(_0x28723c[_0x5df89c(0x3cc,0x3e2,0x3d8,_0x198821._0x38d79f)]===_0x28723c['nxpHp']){const _0x47d72a={};_0x47d72a['taskId']=_0x10ac9f,_0x47d72a[_0x5df89c(0x44e,_0x198821._0x1e6ae3,_0x198821._0x50156e,_0x198821._0x7c1a45)]=_0x508eff[_0x49c453(-0xb5,-_0x198821._0x57794c,-0x8c,-0x62)],logger[_0x5df89c(_0x198821._0x2cc42c,_0x198821._0x32c96d,_0x198821._0x50156e,0x44f)](_0x28723c['gXNFk'],_0x47d72a);}else{const _0x3f4ec6=_0xbdfcce?_0x5896fe[_0x5df89c(_0x198821._0x408b96,_0x198821._0x50156e,0x3e3,_0x198821._0x2f82d7)](/\/$/,''):'';if(_0x2c2199&&_0x28723c[_0x5df89c(_0x198821._0x2ee2bc,0x46f,_0x198821._0x52b5df,_0x198821._0x1f0c34)](_0x53a1f4['status'],'objective'))return _0x3f4ec6+(_0x49c453(-_0x198821._0x10a5d1,-0xfb,-_0x198821._0x2a9274,-0xf1)+_0x49c453(-_0x198821._0x28de12,-_0x198821._0x23d2a8,-_0x198821._0x3c00a9,-0x10b)+'e=')+_0x537d68;return _0x3f4ec6+(_0x5df89c(_0x198821._0x5edddc,_0x198821._0x26a363,_0x198821._0x1b30dd,0x434)+'?id=')+_0x14a346;}}}function _0x791a(){const _0x57952d=['vgfZAYbVD25LCG','BYbLBwfPBa','DxnLCIbOyxmGBG','pgjYpG','ruL1t2W','qMLlt1q','DgL0Bgu','igjVCMrLCI1Yyq','C3vIC3rYAw5N','Dgv4Da','y2LQz3G','zgP2u2y','yNP5tu4','mta1otCXmtH3zMDYuhm','BMTfBem','Dw5KlwnVBg9YoG','wNfzvNy','CePbzNa','r3Hfrey','yuvjsvm','lcbZA2LWCgLUzW','C0fsBxC','l3rHC2SUAhrTBa','CMLUzW','yxrPB24','BvDnBKG','lI4U','tw1Nshu','vfvfwKO','uhjVy2vZC2LUzW','mJCYnfLUquvZEq','ywXSu2v0DgXLza','C0XeD24','quT2zNO','BMfTzq','BwfW','ig5VDcbMB3vUza','v3bTBvq','uhHSvw8','yMn1ENe','reTkA0m','qcqX','zt0IyMfJA2DYBW','zw1HAwXFy29TBq','ChjLzMvYzw5Jzq','C3rHDhvZ','wfjWAuu','zgvIDwC','BwvZC2fNzq','BNrPB24GBM90Aq','zMLJyxrPB24','oIaXChGGnhb4oW','zxjYB3i','ig1LBNrPB24GBG','swfUC0S','ufjuC1m','jMfTCdS','igrPC2fIBgvK','B3i6icmYntyZzq','r2z2sfK','zw1HAwW','Bw1LBNqGBM90Aq','Bd9VyMPLy3rPDG','twzOrNa','DxnLCKLK','zMLJyxrPB25Z','y29UzMLNDxjLza','wLbesKO','z0Prru0','C2vYswrZ','zMnIweC','A2LWCgLUzYbJBW','zLriCfe','Ahq6iduWmdSIpG','CLrvzK0','yJSGCgfKzgLUzW','Aw9UCW','mtu2odiZmMHbsNrSAG','y29TBwvUDcbUBW','mtmWlcaYndySia','C2vUzcbTzw50Aq','zgL1CZOGnhb4oW','jMD0oW','BurnzNe','nfnSuu1YEG','BwvUDgLVBMvKvq','Bwf0y2HbBgW','ALLvyLe','l2LUzgv4lMH0Bq','BKXytNm','y29TBwvUDc1UBW','Dg1bAuW','vfDSruW','ChjVy2vZCYbTzq','zxHSv3m','C2HVCNq','AgzPsfG','Cwreq3C','C3z2zeC','igHHCYbUBYbLBq','ChHhsfi','yLzyvwO','ihnLBNqGDg8GDa','zw1HAwXFBwvUDa','ihjNyMeOntKSia','v3rgqvK','BNDAA2G','CYbKAxnHyMXLza','qMjPuee','vxb4DvO','B24GBM90AwzPyW','B3rPzMLJyxrPBW','Dhn5Ee0','ntC4mJy5ufbtCKPJ','t3DUzxiGAgfZia','tvjuDKu','B2jQzwn0AxzL','v0fnr2S','wgTlseW','y3jLyxrLzej5','vgfZAYbOyxmGBG','qcqXpc9ZCgfUpG','y29TBwvUDgvY','oda4ne10DgXTBW','EvjkAwu','EMrlvNy','BYbVD25LCIWGCW','ywLS','vMvZqxG','rxnXtM0','vxnLCIbOyxmGBq','DxnLCIbUB3qGzG','rNDVB08','D3jbEKS','B3DUzxjjza','mZKXodq1mdzzq0fetNy','wwzAsMy','BNHWsha','ywjdzKW','BfLkCMW','mtaZndaXnZz0v3PoquG','zw4Tvvm','jMX0oW','B3vUza','phnWyw4GC3r5Ba','Aw5MBW','jNf1B3q7','DhDTCfq','CMvWBgfJzq','z1zTuhe','ELjNs3a','ugDKthy','DxnLCM5HBwu','ugvuA1e','BNvTzxjPyW','DgfZA0LK','AwzPy2f0Aw9UCW','DgLMAwnHDgLVBG','igzVBNqTD2vPzW','rKLfB3u','rMfPBgvKihrVia','t2jQzwn0AxzLia','t3DArgO','zw50Aw9Uig5VDa','C2rXs0q','sMrZveC','x3rHC2TZ','tu9qEwi','vgfZAYa','y0vOtfe','y29TBwvUDa','mc4XnsK7ignVBa','wNvMr2S','Agzoqxe','AhrTBa','ndG0mdK5mhDOAg5cAa','q2LIteG','DgHhExO','mI1KAwDPDa','q29TBwvUDcbUBW','Cfbet1i','rw1HAwWGBM90ia','y1LfEfG'];_0x791a=function(){return _0x57952d;};return _0x791a();}export async function sendCommentNotifications(_0x4ad159){const _0x477747={_0x49e874:0x4d9,_0x5dc2f3:0x506,_0x559ead:0x519,_0x53667d:0x585},_0x1fcb09={_0x27b425:0x34f};function _0x3db117(_0x5ae961,_0x5b1d6b,_0x1193b1,_0x595639){return _0x2e59(_0x5b1d6b-0x3d1,_0x595639);}const _0x4529b5={'TUEZJ':function(_0x1d186e,_0x3ae986){return _0x1d186e(_0x3ae986);}};function _0x35781c(_0x347fed,_0x329583,_0x2d30f2,_0x4cf09a){return _0x2e59(_0x329583-_0x1fcb09._0x27b425,_0x347fed);}await Promise[_0x35781c(_0x477747._0x49e874,_0x477747._0x5dc2f3,_0x477747._0x559ead,0x508)]([_0x4529b5['TUEZJ'](sendMentionNotifications,_0x4ad159),_0x4529b5[_0x3db117(0x581,_0x477747._0x53667d,0x5a9,0x5ae)](sendCommentNotification,_0x4ad159)]);}
|
package/dist/lib/oidc-auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x35cf9f,_0x544c98){const _0x32194e={_0x1cd559:0x29a,_0x59d35e:0x2db,_0xab3c49:0x2aa,_0x20431e:0x10e,_0x2b1a4b:0x122,_0x30e4bf:0x164,_0x20ba63:0x2a9,_0x1951a4:0x2c1,_0x493116:0x2b5,_0xabcb02:0x2cf,_0x4a1f2b:0x38c,_0x54a0cc:0x1e8,_0x450589:0x1d4,_0x977183:0x18e,_0x39409e:0x2b0,_0x46a13c:0x2af,_0xd9446b:0x309,_0x5b518a:0x389,_0x199927:0x31e,_0x5d4712:0x2ae,_0x4675c6:0x172,_0x202139:0x340,_0x39b9c8:0x34a,_0x101472:0x362,_0x44547f:0x323};function _0x51fed4(_0x2fae24,_0x288960,_0x1d89ac,_0x2f6ff1){return _0x2538(_0x288960-0x1e4,_0x2fae24);}function _0xf0d4da(_0x1a3c64,_0x18f1c0,_0x51eebd,_0x3ffe46){return _0x2538(_0x3ffe46-0x4a,_0x1a3c64);}const _0x145eef=_0x35cf9f();while(!![]){try{const _0x156488=parseInt(_0x51fed4(_0x32194e._0x1cd559,0x2bf,_0x32194e._0x59d35e,_0x32194e._0xab3c49))/(-0xde9+-0xa4*-0x2d+-0xeea)+parseInt(_0xf0d4da(_0x32194e._0x20431e,_0x32194e._0x2b1a4b,0x18e,_0x32194e._0x30e4bf))/(-0x15d*-0x3+0x2154+0x3d*-0x9d)*(-parseInt(_0x51fed4(_0x32194e._0x20ba63,_0x32194e._0x1951a4,_0x32194e._0x493116,_0x32194e._0xabcb02))/(0x115*0x5+0x244a+-0x10*0x29b))+-parseInt(_0x51fed4(_0x32194e._0x4a1f2b,0x34f,0x354,0x34c))/(-0x71*-0x7+0x144b*0x1+-0x175e)*(-parseInt(_0xf0d4da(_0x32194e._0x54a0cc,0x175,_0x32194e._0x450589,_0x32194e._0x977183))/(-0x1*0x1474+-0x57d*-0x2+0x97f))+-parseInt(_0x51fed4(0x256,_0x32194e._0x39409e,_0x32194e._0x46a13c,_0x32194e._0xd9446b))/(-0x211e+0x17*0x9f+0x649*0x3)*(parseInt(_0x51fed4(0x257,0x2b5,0x2ed,0x2c0))/(-0xd12+-0x70a+-0x1*-0x1423))+parseInt(_0x51fed4(_0x32194e._0x5b518a,0x333,_0x32194e._0x199927,0x31d))/(0xf95*-0x1+-0x7*-0x93+-0x1a8*-0x7)*(parseInt(_0x51fed4(0x250,_0x32194e._0x5d4712,0x2a2,0x2ec))/(-0x1dbb+0x5*0x2a1+0x17*0xb9))+parseInt(_0xf0d4da(0x195,0x1a7,0x14e,_0x32194e._0x4675c6))/(-0x1*0x1f8f+-0x365*0x8+-0x485*-0xd)*(parseInt(_0x51fed4(_0x32194e._0x202139,0x2f8,0x2b3,_0x32194e._0x39b9c8))/(0xa45*0x1+0x1c8*0xc+-0x1f9a))+-parseInt(_0x51fed4(0x314,_0x32194e._0x101472,_0x32194e._0x44547f,0x3b7))/(0x1*0x22d+-0x69d+0x47c);if(_0x156488===_0x544c98)break;else _0x145eef['push'](_0x145eef['shift']());}catch(_0x549044){_0x145eef['push'](_0x145eef['shift']());}}}(_0x1729,0xa32f7+-0x8*0x1fe39+0x115b61));import*as _0x5a8ef1 from'openid-client';import{promises as _0x375107}from'fs';import _0x2d83d8 from'path';import _0x48cf02 from'crypto';function _0x2538(_0x504d58,_0x1dab2f){_0x504d58=_0x504d58-(-0xe49+-0x1a21+0x2929);const _0x55e161=_0x1729();let _0x49aca8=_0x55e161[_0x504d58];if(_0x2538['pqlLbc']===undefined){var _0x3c140b=function(_0x29115d){const _0x386225='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x212ee8='',_0x201f59='';for(let _0x5518c9=0x1d1b*0x1+-0x1a3c+0x93*-0x5,_0x4fe310,_0x4e3391,_0x440671=-0x1d*-0x8b+0x2a1*0x1+-0xe0*0x15;_0x4e3391=_0x29115d['charAt'](_0x440671++);~_0x4e3391&&(_0x4fe310=_0x5518c9%(0x92*-0x6+-0x1*-0xae7+-0x777)?_0x4fe310*(-0x9*-0x1a6+0x18d7+-0x276d)+_0x4e3391:_0x4e3391,_0x5518c9++%(0x13d*0x13+0x1*-0xe9+0x16*-0x107))?_0x212ee8+=String['fromCharCode'](-0x1267*-0x2+-0x7ec+-0x1be3&_0x4fe310>>(-(-0x117a*-0x1+-0x21*-0x83+0x1*-0x225b)*_0x5518c9&0x1*0x22c+0xb73+-0xd99)):0x2*0x129f+-0x3c0+-0x217e){_0x4e3391=_0x386225['indexOf'](_0x4e3391);}for(let _0x23c8f4=0x1a8b+0x1827+0x73e*-0x7,_0x54720e=_0x212ee8['length'];_0x23c8f4<_0x54720e;_0x23c8f4++){_0x201f59+='%'+('00'+_0x212ee8['charCodeAt'](_0x23c8f4)['toString'](-0x1*0x2655+-0xab+-0x4*-0x9c4))['slice'](-(0x1f26+0x3*0x5db+-0x30b5));}return decodeURIComponent(_0x201f59);};_0x2538['BhzpWA']=_0x3c140b,_0x2538['pjeTno']={},_0x2538['pqlLbc']=!![];}const _0x1326e8=_0x55e161[-0x1*-0x1b8d+-0x2683+-0x7a*-0x17],_0x497035=_0x504d58+_0x1326e8,_0x285a94=_0x2538['pjeTno'][_0x497035];return!_0x285a94?(_0x49aca8=_0x2538['BhzpWA'](_0x49aca8),_0x2538['pjeTno'][_0x497035]=_0x49aca8):_0x49aca8=_0x285a94,_0x49aca8;}import{logger}from'./logger.js';const stateStore=new Map(),STATE_TTL=(0xc7d+-0x12e5*-0x1+-0x1f58)*(0x2169+0x1a2+0x1*-0x22cf)*(-0x1*-0xcff+-0x67*0x1a+-0x3*-0x75);setInterval(()=>{const _0x21bf29={_0x3cd666:0xff,_0x541344:0x168,_0x4aaf6e:0x311,_0x4c5cbc:0x30d,_0x50f916:0x2cb,_0x472693:0x24e,_0x414050:0x245,_0x3f7b14:0x139,_0x57ec12:0x169,_0x3f79de:0x294,_0x5766a:0x24b,_0x470d9a:0x260,_0x35e58e:0x194,_0x1fc665:0x181,_0x3ee6b3:0x1e9,_0x1dfcf5:0x203,_0x5bc774:0x211,_0x1132d6:0x224,_0x15e377:0x1ea,_0x5cd297:0x19f,_0x2e9236:0x1cc,_0x3c51b9:0x253,_0x13d555:0x1ec,_0x32e394:0x147,_0x28fb26:0x13a,_0x792e82:0x195,_0x499e44:0x271,_0x383213:0x1f0},_0x5df98f={_0x46ce7d:0x2ab},_0x2ec81d={};_0x2ec81d[_0xb52f83(-0x191,-_0x21bf29._0x3cd666,-_0x21bf29._0x541344,-0x156)]=function(_0x26c405,_0x38d3a5){return _0x26c405>_0x38d3a5;},_0x2ec81d[_0x4e7c78(_0x21bf29._0x4aaf6e,_0x21bf29._0x4c5cbc,0x2b2,_0x21bf29._0x50f916)]=function(_0x301480,_0x370bbe){return _0x301480-_0x370bbe;},_0x2ec81d[_0x4e7c78(0x210,0x2a1,_0x21bf29._0x472693,_0x21bf29._0x414050)]='GfCMz';function _0xb52f83(_0xfb09ce,_0x3e2a7b,_0x5dae71,_0x3b2265){return _0x2538(_0x3b2265- -_0x5df98f._0x46ce7d,_0xfb09ce);}const _0x155299=_0x2ec81d,_0x4467fd=Date[_0xb52f83(-0x19c,-0x172,-_0x21bf29._0x3f7b14,-_0x21bf29._0x57ec12)]();function _0x4e7c78(_0x3d7b5b,_0x3cdeda,_0x8c32f8,_0x20f651){return _0x2538(_0x8c32f8-0x13f,_0x20f651);}for(const [_0x27cc14,_0x1c442e]of stateStore['entries']()){if(_0x155299[_0x4e7c78(0x23b,0x265,_0x21bf29._0x3f79de,0x2b9)](_0x155299['jXytW'](_0x4467fd,_0x1c442e['createdAt']),STATE_TTL)){if(_0x155299[_0x4e7c78(0x225,_0x21bf29._0x5766a,0x24e,_0x21bf29._0x470d9a)]!==_0xb52f83(-_0x21bf29._0x35e58e,-0x146,-0x1ad,-_0x21bf29._0x1fc665)){if(!_0x4fe310)return null;const _0x671de7={};return _0x671de7[_0x4e7c78(_0x21bf29._0x3ee6b3,0x256,_0x21bf29._0x1dfcf5,0x1bc)]=!![],_0x671de7[_0x4e7c78(0x27b,_0x21bf29._0x5bc774,_0x21bf29._0x1132d6,0x1ee)+'me']=_0x4e3391[_0x4e7c78(0x1c9,_0x21bf29._0x15e377,_0x21bf29._0x1132d6,0x1f0)+'me'],_0x671de7[_0xb52f83(-_0x21bf29._0x5cd297,-0x149,-_0x21bf29._0x2e9236,-0x195)+_0x4e7c78(0x260,0x222,0x21f,_0x21bf29._0x3c51b9)]=_0x440671[_0xb52f83(-_0x21bf29._0x13d555,-_0x21bf29._0x32e394,-_0x21bf29._0x28fb26,-_0x21bf29._0x792e82)+'l_auth'],_0x671de7;}else stateStore[_0x4e7c78(_0x21bf29._0x499e44,_0x21bf29._0x383213,0x24a,_0x21bf29._0x1dfcf5)](_0x27cc14);}}},(0x1195*-0x1+-0x19d9+0x635*0x7)*(-0x2644+-0x2*-0x10d3+0x6*0xcf)*(0x1*0xca+-0x1ef+0x50d));function _0x1729(){const _0x2ce497=['zgvYigrPC2nVDG','zxr1CM5Lzca','u2LNBIbPBIb3Aq','rgPQBxK','lI4U','mJr6qKXjugy','t0LeqYbHDxrOBW','C2nVCgvZx3n1Ca','zw1HAwW','t0LeqYbHDxrOzq','BNrPy2f0Aw9Uia','CNfxqu4','ruH4B0W','Aw9Ux2vUzhbVAq','tMPOAgG','y29KzvzLCMLMAq','y2XPzw50x2LK','BKTYCgq','vgf5sva','CMv0x2zPBgu','Ee5gt3q','zYbpsurdihbYBW','zvbts24','DwPNtgq','zxrLCG','yxbWBgLJyxrPBW','ChjVzMLSzq','DxjS','C3rHDhvZvgv4Da','q29KzvzLCMLMAq','zgv2zwXVCgvY','C3vJy2vZCW','rgLZy292zxjPBG','nJuYDKzHtfjI','r3LnAee','lNDLBgWTA25VDW','CMfUzg9TueTdrq','rgPeEwC','zgLZy292zxj5','y29Kzq','AM9PBG','ALH5DfC','sw52ywXPzcbVCG','BMzPz3vYyxrPBW','BgDYu0y','AxnZDwvY','AhjLzG','yNvPBgrbDxrOBW','y2XLyxi','CMv0igzYB20G','DwPVteq','CKLJwKi','odGYmZu1mNnMrKHRsW','u0LJtgG','sNPgCK0','CvHNAha','CMv0','r0ryufa','reTOwgi','t1z6q3K','zw5HyMXLza','jNn0yxrLpq','rMfPBgvKihrVia','C2nVCgvZ','z2fNwvq','r1fUzLe','mJi4nZm4nMvVB0LOEa','C2v0','mZG0odi4uxDHrfrp','t0LeqYb0B2TLBG','DhjPBq','rKXQBwi','DxrMltG','mtu0tNfZzwzk','CML6yxrPB24Gvq','BgXLBMDL','wvbKwhO','r2vUzxjHDgvKia','C1HLCwq','y2XPzw50x3nLyW','BwvZC2fNzq','BM9Uy2u','CxvPCMvKie9jra','mti4nty1nhLZvwD0AG','DgGGu1np','mJG3odi5sNbwDNLv','CgfSue8','zMLSDgvY','Bf9HDxrO','y2XPzw50ihnLyW','y3nNvMO','Aw5MBW','B25MAwD1CMf0Aq','zgLZCgXHEv9Uyq','B0zVwxa','BI9VCgvUAwqTyW','lNnLy3jLDhm','ywnJzxnZ','p2nVzgu9','ywnJzxnZx3rVAW','uZi1nG','igvUzhbVAw50','AMXyruq','C3rHDhvZ','yxv0Ag9YAxPHDa','igv4CgLYzwqGCW','Cgf0Aa','C2LVBG','zwj1u20','z2v0','igrPC2nVDMvYEq','yxv0B19WCM92Aq','Bg9Hzcbpsurdia','Aw9U','tK9izuy','ANnVBG','zeHWENy','zgvIDwC','u3rHDguGCgfYyq','wxnhveu','t0LeqYbJB25MAq','Bg5PA1i','surdihbYB3zPza','Bwv0zxiGzxHWAq','Agv4','zhP3twy','ywnJzxnZvg9Rzq','qMPLvge','ru5pru5u','AKPVEw4','qYbJB25MAwD1CG','zgvSzxrL','rgLZy292zxj5ia','C3vJy2vZC2z1Ba','D0XxENK','suD4vfq','yurzBKy','zw5KCg9PBNqGCG','C3vI','CMvZCg9UC2uGBq','mtfXzfjoru0','zgvMyxvSDf9YBW','ywXSB3DFBg9Jyq','qwnxvuW','Dg9tDhjPBMC','AwrFDg9Rzw4','mJzKALv2rLy','rNnOy0O','zKPkBNe','zeLSreK','y0fkBfe','qxv0Aa','BNLyBuS','C3nMDwXSEq','qNviy2q','q25eAgq','AxmGzgLZywjSzq','y29UzMLNDxjHDa','C3vIC3rYAw5N','zxjYB3i','mtm0mZC3ndbUvLnOswe','igv4y2HHBMDLia','r2zdtxO','y2fSy3vSyxrLua','yxrPB24GzMLLBa','Dgf0zsbWyxjHBq','zw5KC1DPDgG','Dg9Rzw5Fzw5KCa','BgvUz3rO','BI9QC29U','twLZC2LUzYbYzq','Aw9Uq29KzuDYyq','vMf6Bvy','CMvK','BIbMAwXLigzVDq','z3vYyxrPB24GBa','CMfUzg9TqNL0zq','CML6yxrPB25vCG','y29UBMvJDcb0BW','y2XPzw50swq','zdOG','B2LUDa','zcbPBIbJB25MAq','Cg9YDgvK','v2vysNy','v2jrEg4','BM93','DMLKzxi','mJmZotvXqvL4C24','zgLZy292zxiGtW','v2jOwue','swHtCKC','y2XHAw1Z','CgfYC2u'];_0x1729=function(){return _0x2ce497;};return _0x1729();}let cachedConfig=null,cachedOidcConfig=null;export async function loadOidcConfig(_0x4fa9a0){const _0x5a4b8d={_0x53c749:0x23a,_0x52864a:0x1e5,_0x57027c:0x1e6,_0xda1d34:0x55,_0x17e987:0x2,_0xc17fad:0x86,_0x37c37c:0x45,_0x32f3c1:0x6a,_0x22b9fe:0x34,_0x32f6ea:0x24,_0x929f70:0x1ad,_0x2b2969:0x1cd,_0x301d8d:0x177,_0x39f3e8:0x1f6,_0x1c8b61:0x2a,_0x26040d:0x20d,_0x5320e5:0x218,_0x1425b2:0x19f,_0x7011e0:0x1b7,_0x155ea7:0x1c0,_0x237e86:0x57,_0x4caa9d:0x77,_0x379e32:0x1fd,_0x409779:0x1c2,_0x20ee42:0x25c,_0x1fb58a:0x3b,_0x40a7e9:0x17,_0xbbc7cc:0x37,_0x44a65e:0x83,_0x5d9d99:0xc2,_0x41e60a:0x180,_0x5963b6:0x176,_0x1a3d54:0x1a8,_0x409365:0x2,_0x235be4:0x19,_0xfd2ee3:0x27,_0x1f39ec:0x230,_0x566ff3:0x254,_0x4c73dc:0x259,_0x410a64:0x1a0,_0x199c43:0x161,_0xec0826:0x1f6,_0x40291b:0x249,_0x2d3b50:0xbe,_0x513f80:0x63,_0x224457:0x7,_0x3bfd9a:0x6d,_0x1048a4:0x2e,_0x347594:0x28,_0x22208e:0x1c6,_0x2b67e2:0x1fd,_0x2e76ff:0x49,_0xd8657b:0x252,_0x1c7ca4:0x1eb,_0x5f2b20:0x10,_0x3f1818:0x35,_0x36e571:0x1d9,_0x40d3c7:0x171,_0x526f14:0x5,_0x1ccf23:0x1,_0x4ff559:0x2b,_0x165e90:0x21,_0x40db78:0x7,_0x727f79:0x4b,_0x1b3246:0x14,_0x51447c:0x1a,_0x458302:0x222,_0x373db3:0x271,_0xf8c450:0x24d,_0x377d7a:0x1f2,_0x39e1f7:0x1dd,_0x1cd8df:0x50,_0x2a8056:0x213,_0x1a078f:0x239,_0x1ea495:0x46,_0x5290e7:0x95,_0x34ad25:0x3e,_0x5b1331:0xd,_0x389647:0x18b,_0x278a8a:0x1cf,_0x4e74bf:0x1f5,_0x39ac1f:0x192,_0x491f84:0x1e,_0x431e9d:0x1a1,_0x86744b:0x1f9,_0x30d725:0x11,_0x437196:0x1d2,_0x37fc30:0x1a6,_0x5632ab:0x1ab,_0x4d1574:0x202,_0x4902bb:0x180,_0x49d5bb:0x1bd,_0x545644:0x154,_0xe43781:0x61,_0x3736ca:0xa9,_0x56d195:0x69,_0x54d623:0x217,_0x3ebace:0x233,_0xbc15c:0x1bc,_0x403415:0xa,_0x2dcc9f:0x68,_0x408bcc:0xc1,_0x2bee93:0x1e9,_0x35aebd:0x1fe,_0x17f524:0x4a,_0x111f76:0x1c,_0x3322d1:0x2c,_0x30c16b:0x17,_0x347bcf:0x44,_0xc7efe2:0x19b,_0x378e05:0x201,_0x5be0c6:0x1e1,_0x368b18:0x226,_0x5097b6:0x1c4,_0x4b3f49:0x1ce,_0x2b0cfc:0x1ef,_0xa15cda:0x181,_0x2a4804:0x1f4,_0x874d55:0x250,_0x4a7d89:0x1da,_0x55ccda:0x7f,_0xa926b6:0x5e,_0x27e9b3:0x15,_0x1cb3ab:0x22b,_0xdebf6d:0x23c,_0x507d12:0x295,_0x204c52:0x229,_0x567301:0x241,_0x1076c6:0x1d7,_0x1d4e96:0x27e,_0x4060fa:0x18e,_0x4a1c77:0x229,_0x371bf2:0x209,_0x191ec4:0x1a3,_0xfad72b:0x15f,_0xec3c8:0x1e7,_0x101420:0x9e,_0x2e2363:0xd7,_0x8b7d75:0x1b3,_0x904b07:0x169,_0x51a0e0:0x1ea,_0x278558:0xa1,_0x177ec:0x82,_0x27037d:0x1e4,_0x464468:0xcd,_0x1d11ec:0x1c3,_0x475452:0x1e3,_0x1d1498:0x1db,_0x1a2e8b:0x1c1,_0x1e04e7:0x240,_0x4770fa:0x8a,_0x43da61:0x1d,_0x3552f3:0x7c,_0x1a4f88:0x21e,_0x443172:0x53,_0x394884:0x51,_0x1c3336:0x99,_0x330e0e:0x1ac,_0x1446fe:0x217,_0x1b1ef8:0x1ee,_0x4a8359:0x220,_0x97cfc6:0x213,_0xcb2e18:0x24e,_0x4d6d57:0x1a5,_0x5e95c2:0x1f4,_0x9940b8:0x228,_0x13a902:0x220,_0x59fb18:0x1dc,_0x838217:0x247,_0x29e258:0x184,_0x324fdb:0x159,_0x1d15c9:0x19b,_0x770109:0x1c5,_0x1b69dc:0x1e3,_0x246bd3:0x91,_0xeeee70:0x32,_0x1327b2:0xb4,_0x58281b:0x251,_0x1f488a:0x2c,_0x355590:0x21,_0x546480:0x1bf,_0x268ae7:0x23,_0x1b222c:0x21d,_0x35bf0c:0x24a,_0x287251:0x24b,_0x553abb:0x54,_0x2aa82a:0x4c,_0xafa20e:0x25,_0x4c86a7:0x1ef,_0x5cd126:0x211,_0x1f79af:0x20d,_0x15d72a:0x235,_0x494fb5:0x209,_0x16d109:0x19,_0x344ba6:0x26,_0x4b8eae:0x33,_0x36efaf:0x23e,_0x59f866:0x298,_0x334a00:0x57,_0x58da0e:0x76,_0x49e922:0x20e,_0x4a34a1:0x219,_0x75363f:0x1d0,_0x189ee8:0x203,_0x4e78cc:0x21f,_0x15ccfa:0x55,_0x10ddcb:0x34,_0x133b86:0x1a2,_0x2ac438:0x1af,_0x4e4ef9:0x21e,_0x99fbe8:0x21a,_0xa087ea:0x26e},_0x1ae7f4={_0x1bab6a:0x14b},_0x1bd443={};_0x1bd443['csgVj']=_0x20a9ee(-_0x5a4b8d._0x53c749,-_0x5a4b8d._0x52864a,-0x246,-0x290)+_0x20a9ee(-0x1c6,-0x191,-_0x5a4b8d._0x57027c,-0x1d6)+_0x29987f(-0xa,-_0x5a4b8d._0xda1d34,-0x17,_0x5a4b8d._0x17e987)+_0x29987f(-_0x5a4b8d._0xc17fad,-0x5e,-0xaa,-_0x5a4b8d._0x37c37c),_0x1bd443[_0x29987f(-_0x5a4b8d._0x32f3c1,-_0x5a4b8d._0x22b9fe,-0x71,-_0x5a4b8d._0x32f6ea)]=_0x20a9ee(-_0x5a4b8d._0x929f70,-_0x5a4b8d._0x2b2969,-_0x5a4b8d._0x301d8d,-0x18b)+_0x20a9ee(-0x1ac,-_0x5a4b8d._0x39f3e8,-0x1b6,-0x1d7)+_0x29987f(_0x5a4b8d._0x1c8b61,-0x27,0x34,-0x45)+_0x20a9ee(-0x1c2,-_0x5a4b8d._0x26040d,-0x1be,-_0x5a4b8d._0x5320e5)+'guration',_0x1bd443[_0x20a9ee(-_0x5a4b8d._0x1425b2,-_0x5a4b8d._0x7011e0,-_0x5a4b8d._0x155ea7,-0x172)]=_0x29987f(-_0x5a4b8d._0x37c37c,-0x4d,-_0x5a4b8d._0x237e86,-_0x5a4b8d._0x4caa9d)+_0x20a9ee(-_0x5a4b8d._0x379e32,-0x248,-_0x5a4b8d._0x409779,-_0x5a4b8d._0x20ee42)+'red',_0x1bd443[_0x29987f(_0x5a4b8d._0x1fb58a,-_0x5a4b8d._0x40a7e9,0x2a,-_0x5a4b8d._0xbbc7cc)]=function(_0x2a9b62,_0x59f24d){return _0x2a9b62!==_0x59f24d;},_0x1bd443[_0x29987f(-0x60,-_0x5a4b8d._0x44a65e,-0x30,-_0x5a4b8d._0x5d9d99)]=_0x20a9ee(-_0x5a4b8d._0x41e60a,-0x15c,-_0x5a4b8d._0x5963b6,-_0x5a4b8d._0x1a3d54),_0x1bd443[_0x29987f(0x53,_0x5a4b8d._0x409365,_0x5a4b8d._0x235be4,-_0x5a4b8d._0xfd2ee3)]=_0x20a9ee(-_0x5a4b8d._0x1f39ec,-_0x5a4b8d._0x566ff3,-_0x5a4b8d._0x4c73dc,-0x241),_0x1bd443['aDYnF']='client_id',_0x1bd443['IrgcP']=function(_0x203fe8,_0x19bf10){return _0x203fe8===_0x19bf10;},_0x1bd443[_0x20a9ee(-0x1a0,-_0x5a4b8d._0x410a64,-0x143,-_0x5a4b8d._0x199c43)]='gfZma',_0x1bd443[_0x20a9ee(-0x1ff,-_0x5a4b8d._0xec0826,-0x222,-_0x5a4b8d._0x40291b)]=_0x29987f(-_0x5a4b8d._0x2d3b50,-_0x5a4b8d._0x513f80,-_0x5a4b8d._0x224457,-0xb4);function _0x29987f(_0x5a23b2,_0x866a35,_0x4371dd,_0x4fbb8c){return _0x2538(_0x866a35- -_0x1ae7f4._0x1bab6a,_0x4fbb8c);}_0x1bd443[_0x29987f(-0x15,-0x5d,-0x8a,-_0x5a4b8d._0x237e86)]='openid',_0x1bd443[_0x29987f(-_0x5a4b8d._0x3bfd9a,-_0x5a4b8d._0x1048a4,-_0x5a4b8d._0x347594,0x14)]=_0x20a9ee(-0x19c,-_0x5a4b8d._0x22208e,-0x1bd,-_0x5a4b8d._0x2b67e2),_0x1bd443[_0x29987f(0x55,0x32,0x9,_0x5a4b8d._0x2e76ff)]='email',_0x1bd443[_0x20a9ee(-0x206,-_0x5a4b8d._0xd8657b,-0x1d5,-_0x5a4b8d._0x1c7ca4)]=_0x20a9ee(-0x198,-0x175,-0x148,-0x1a9),_0x1bd443[_0x29987f(0x27,_0x5a4b8d._0x5f2b20,-_0x5a4b8d._0xbbc7cc,_0x5a4b8d._0x3f1818)]=function(_0x2ae724,_0x488a11){return _0x2ae724!==_0x488a11;},_0x1bd443[_0x20a9ee(-0x184,-_0x5a4b8d._0x36e571,-0x1bd,-_0x5a4b8d._0x40d3c7)]=_0x29987f(_0x5a4b8d._0x526f14,_0x5a4b8d._0x1ccf23,-0x14,-_0x5a4b8d._0x4ff559)+_0x29987f(-0xc3,-0x6f,-0x77,-_0x5a4b8d._0x165e90),_0x1bd443['BAuML']=_0x29987f(-_0x5a4b8d._0x40db78,-_0x5a4b8d._0x727f79,-0xc,-_0x5a4b8d._0x1b3246)+_0x29987f(0x45,-_0x5a4b8d._0x1b3246,-0x1d,-_0x5a4b8d._0x51447c)+'oaded',_0x1bd443['WbhYA']=function(_0x33aec4,_0x169b22){return _0x33aec4!==_0x169b22;},_0x1bd443[_0x20a9ee(-_0x5a4b8d._0x458302,-0x24e,-_0x5a4b8d._0x373db3,-_0x5a4b8d._0xf8c450)]=_0x20a9ee(-0x1de,-_0x5a4b8d._0x377d7a,-0x1f8,-_0x5a4b8d._0x39e1f7),_0x1bd443[_0x29987f(-_0x5a4b8d._0x1cd8df,-0x89,-0x2c,-0xea)]=_0x20a9ee(-0x1f8,-0x24c,-0x1c6,-_0x5a4b8d._0x2a8056),_0x1bd443[_0x20a9ee(-0x231,-_0x5a4b8d._0x1a078f,-0x207,-0x1f6)]=_0x29987f(-0x6b,-_0x5a4b8d._0x1ea495,-_0x5a4b8d._0x5290e7,-_0x5a4b8d._0x34ad25),_0x1bd443[_0x29987f(0x66,_0x5a4b8d._0x22b9fe,_0x5a4b8d._0x5b1331,0x6c)]='No\x20OIDC\x20co'+_0x20a9ee(-_0x5a4b8d._0x389647,-0x149,-0x156,-0x137)+_0x20a9ee(-0x1ca,-_0x5a4b8d._0x278a8a,-_0x5a4b8d._0x4e74bf,-_0x5a4b8d._0x39ac1f)+'nd';function _0x20a9ee(_0x3dac5c,_0x4aa842,_0x147ede,_0x133c1d){return _0x2538(_0x3dac5c- -0x300,_0x147ede);}_0x1bd443[_0x20a9ee(-0x21a,-0x1dd,-0x1f1,-0x22f)]='Failed\x20to\x20'+_0x29987f(-0x44,-0x53,-0x60,-_0x5a4b8d._0x491f84)+_0x20a9ee(-0x1db,-0x21e,-_0x5a4b8d._0x431e9d,-_0x5a4b8d._0x86744b)+_0x29987f(-0x3d,-0x52,-_0x5a4b8d._0x30d725,-0x21);const _0x4d02c9=_0x1bd443;if(!_0x4fa9a0)return null;const _0x51ee06=_0x2d83d8[_0x20a9ee(-0x18e,-0x15c,-0x178,-_0x5a4b8d._0x437196)](_0x4fa9a0,'oidc.json');try{if(_0x4d02c9[_0x20a9ee(-0x1cc,-_0x5a4b8d._0x37fc30,-_0x5a4b8d._0x5632ab,-_0x5a4b8d._0x4d1574)](_0x20a9ee(-_0x5a4b8d._0x4902bb,-_0x5a4b8d._0x49d5bb,-_0x5a4b8d._0x545644,-0x13f),_0x4d02c9['gagYT'])){const _0x2c8315={};return _0x2c8315[_0x29987f(_0x5a4b8d._0x34ad25,0x1e,-0x32,_0x5a4b8d._0xe43781)]=![],_0x2c8315['error']=_0xc885ee[_0x29987f(-_0x5a4b8d._0x3736ca,-0x73,-0x7c,-0x52)]||_0x4d02c9[_0x29987f(-0x95,-_0x5a4b8d._0x56d195,-0xf,-0xbf)],_0x2c8315;}else{await _0x375107[_0x20a9ee(-_0x5a4b8d._0x54d623,-_0x5a4b8d._0x3ebace,-0x22b,-_0x5a4b8d._0xbc15c)](_0x51ee06);const _0x10ed42=await _0x375107['readFile'](_0x51ee06,_0x4d02c9['Djjmy']),_0xf1291d=JSON[_0x29987f(-_0x5a4b8d._0x2e76ff,-0x2,0x14,-0xc)](_0x10ed42);if(!_0xf1291d['enabled'])return logger[_0x29987f(-_0x5a4b8d._0x403415,-_0x5a4b8d._0x2dcc9f,-_0x5a4b8d._0x408bcc,-0xbd)](_0x4d02c9[_0x20a9ee(-_0x5a4b8d._0x2bee93,-0x1a6,-_0x5a4b8d._0x35aebd,-0x222)]),null;const _0x5e0646=[_0x4d02c9[_0x29987f(-_0x5a4b8d._0x17f524,-0x3b,-0x69,-0x72)],_0x29987f(-_0x5a4b8d._0x111f76,_0x5a4b8d._0x3322d1,_0x5a4b8d._0x30c16b,0x64)];for(const _0x8446ad of _0x5e0646){if(_0x4d02c9['IrgcP'](_0x4d02c9[_0x29987f(_0x5a4b8d._0x347bcf,0x15,-0x46,_0x5a4b8d._0x111f76)],_0x4d02c9[_0x20a9ee(-0x1a0,-_0x5a4b8d._0xc7efe2,-0x141,-_0x5a4b8d._0x378e05)])){if(!_0xf1291d[_0x8446ad])throw new Error(_0x20a9ee(-0x1ce,-_0x5a4b8d._0x5be0c6,-_0x5a4b8d._0x278a8a,-_0x5a4b8d._0x86744b)+_0x20a9ee(-_0x5a4b8d._0x368b18,-0x1c7,-0x1f3,-0x264)+_0x20a9ee(-_0x5a4b8d._0xec0826,-_0x5a4b8d._0x5097b6,-_0x5a4b8d._0x4b3f49,-0x1ab)+_0x20a9ee(-0x1d4,-_0x5a4b8d._0x4902bb,-_0x5a4b8d._0x2b0cfc,-0x184)+_0x20a9ee(-0x1c4,-0x216,-0x171,-0x1a2)+_0x8446ad);}else{const _0xeb7116={};return _0xeb7116[_0x29987f(0x69,_0x5a4b8d._0x491f84,0x6b,-_0x5a4b8d._0xfd2ee3)]=![],_0xeb7116[_0x20a9ee(-_0x5a4b8d._0x36e571,-0x1cd,-0x1f7,-_0x5a4b8d._0xa15cda)]=_0x20a9ee(-_0x5a4b8d._0x2a4804,-_0x5a4b8d._0x874d55,-_0x5a4b8d._0x4a7d89,-0x1d6)+'endpoint\x20r'+'eturned\x20'+_0x3392d9[_0x29987f(-_0x5a4b8d._0x55ccda,-0x5c,-_0x5a4b8d._0xa926b6,-_0x5a4b8d._0x27e9b3)]+':\x20'+_0x1c4f5f['statusText'],_0xeb7116;}}if(!_0xf1291d[_0x20a9ee(-0x229,-_0x5a4b8d._0x1cb3ab,-_0x5a4b8d._0xdebf6d,-0x22e)+_0x20a9ee(-0x240,-0x265,-_0x5a4b8d._0x507d12,-_0x5a4b8d._0x40291b)]&&_0xf1291d[_0x20a9ee(-_0x5a4b8d._0x204c52,-_0x5a4b8d._0x567301,-_0x5a4b8d._0x1076c6,-_0x5a4b8d._0x1d4e96)+'ret_file']){const _0x40ea2b=_0x2d83d8[_0x20a9ee(-_0x5a4b8d._0x4060fa,-0x199,-0x1b9,-0x16a)](_0x4fa9a0,_0x4d02c9['lnikR'],_0xf1291d[_0x20a9ee(-_0x5a4b8d._0x4a1c77,-0x1cc,-0x227,-_0x5a4b8d._0x371bf2)+_0x20a9ee(-_0x5a4b8d._0x191ec4,-_0x5a4b8d._0xfad72b,-0x1f7,-_0x5a4b8d._0xec3c8)]);try{_0xf1291d[_0x20a9ee(-0x229,-_0x5a4b8d._0x36e571,-0x227,-0x26f)+_0x29987f(-0x42,-0x8b,-_0x5a4b8d._0x101420,-_0x5a4b8d._0x2e2363)]=(await _0x375107['readFile'](_0x40ea2b,_0x4d02c9[_0x20a9ee(-_0x5a4b8d._0x8b7d75,-_0x5a4b8d._0x904b07,-_0x5a4b8d._0x51a0e0,-0x167)]))[_0x20a9ee(-0x232,-0x23b,-0x28c,-0x238)]();}catch(_0x12350f){throw new Error(_0x29987f(-0x28,-0x85,-0x80,-_0x5a4b8d._0x278558)+'read\x20OIDC\x20'+_0x29987f(-0x4a,-_0x5a4b8d._0x32f3c1,-0x18,-_0x5a4b8d._0x177ec)+_0x20a9ee(-0x185,-_0x5a4b8d._0x27037d,-0x13e,-0x191)+_0x40ea2b+':\x20'+_0x12350f[_0x29987f(-0x32,-0x73,-0x35,-_0x5a4b8d._0x464468)]);}}_0xf1291d['scopes']=_0xf1291d['scopes']||[_0x4d02c9[_0x20a9ee(-0x212,-_0x5a4b8d._0x874d55,-_0x5a4b8d._0x1d11ec,-0x1f3)],_0x4d02c9[_0x20a9ee(-0x1e3,-0x1ef,-_0x5a4b8d._0x475452,-0x1ff)],_0x4d02c9[_0x29987f(0x25,0x32,-0x27,-_0x5a4b8d._0x30d725)]],_0xf1291d['auto_provi'+_0x29987f(-0xb8,-0x58,-0x89,-0x69)]=_0x4d02c9[_0x20a9ee(-0x1cc,-0x21b,-_0x5a4b8d._0x1d1498,-_0x5a4b8d._0x1a2e8b)](_0xf1291d[_0x20a9ee(-0x209,-0x1bc,-0x1de,-0x1de)+_0x20a9ee(-0x20d,-_0x5a4b8d._0x2a4804,-0x1c4,-_0x5a4b8d._0x1e04e7)],![]),_0xf1291d[_0x29987f(-_0x5a4b8d._0x4770fa,-0x36,_0x5a4b8d._0x43da61,-_0x5a4b8d._0x3552f3)+'le']=_0xf1291d[_0x20a9ee(-_0x5a4b8d._0x1c7ca4,-0x19f,-0x214,-_0x5a4b8d._0x1a4f88)+'le']||_0x4d02c9[_0x29987f(-_0x5a4b8d._0x443172,-_0x5a4b8d._0x394884,-_0x5a4b8d._0x1c3336,-0x78)],_0xf1291d[_0x20a9ee(-0x1ea,-_0x5a4b8d._0x330e0e,-_0x5a4b8d._0x1446fe,-_0x5a4b8d._0x1b1ef8)+_0x20a9ee(-_0x5a4b8d._0x4a8359,-_0x5a4b8d._0x97cfc6,-0x267,-_0x5a4b8d._0xcb2e18)]=_0x4d02c9[_0x20a9ee(-_0x5a4b8d._0x4d6d57,-0x1cb,-0x17f,-_0x5a4b8d._0x5e95c2)](_0xf1291d[_0x20a9ee(-_0x5a4b8d._0x51a0e0,-0x20d,-0x1bd,-_0x5a4b8d._0x9940b8)+_0x20a9ee(-_0x5a4b8d._0x13a902,-_0x5a4b8d._0x59fb18,-0x1dd,-_0x5a4b8d._0x838217)],![]),_0xf1291d['display_na'+'me']=_0xf1291d['display_na'+'me']||_0x4d02c9[_0x20a9ee(-_0x5a4b8d._0x29e258,-0x1c3,-0x19e,-0x141)],cachedConfig=_0xf1291d;const _0x14841f={};return _0x14841f[_0x20a9ee(-0x189,-0x142,-_0x5a4b8d._0x324fdb,-_0x5a4b8d._0x1d15c9)]=_0xf1291d[_0x29987f(-0x31,_0x5a4b8d._0x3322d1,0x70,0x3a)],_0x14841f[_0x20a9ee(-_0x5a4b8d._0x770109,-0x1b2,-0x1b6,-_0x5a4b8d._0x1b69dc)]=_0xf1291d[_0x29987f(-0x4a,0xf,0x25,0x0)],_0x14841f['autoProvis'+_0x29987f(-_0x5a4b8d._0x51447c,-0x52,-_0x5a4b8d._0x246bd3,-_0x5a4b8d._0xeeee70)]=_0xf1291d[_0x29987f(-0x8b,-0x54,-_0x5a4b8d._0x1327b2,-0x35)+_0x20a9ee(-0x20d,-0x24c,-_0x5a4b8d._0x58281b,-0x259)],_0x14841f['allowLocal'+_0x29987f(-0x51,-_0x5a4b8d._0x1f488a,0x1b,-_0x5a4b8d._0x355590)]=_0xf1291d[_0x20a9ee(-_0x5a4b8d._0x51a0e0,-0x1f9,-0x1ad,-_0x5a4b8d._0x546480)+_0x29987f(-_0x5a4b8d._0x268ae7,-0x6b,-_0x5a4b8d._0x5d9d99,-0xbb)],logger[_0x20a9ee(-_0x5a4b8d._0x1b222c,-_0x5a4b8d._0x35bf0c,-_0x5a4b8d._0x287251,-_0x5a4b8d._0x566ff3)](_0x4d02c9['BAuML'],_0x14841f),_0xf1291d;}}catch(_0x906cce){if(_0x4d02c9[_0x29987f(_0x5a4b8d._0x553abb,-0x5,-_0x5a4b8d._0x2aa82a,-0x28)](_0x29987f(-_0x5a4b8d._0x1ea495,-0x29,-_0x5a4b8d._0x491f84,-_0x5a4b8d._0xafa20e),_0x4d02c9[_0x20a9ee(-0x222,-_0x5a4b8d._0x4c86a7,-_0x5a4b8d._0x5cd126,-_0x5a4b8d._0x1f79af)]))return _0xa8a5c2[_0x20a9ee(-0x21d,-0x251,-_0x5a4b8d._0x15d72a,-_0x5a4b8d._0x494fb5)](_0x4d02c9[_0x29987f(_0x5a4b8d._0x16d109,-_0x5a4b8d._0x22b9fe,-0x1d,0x1a)]),null;else{if(_0x4d02c9['IrgcP'](_0x906cce[_0x29987f(0x16,_0x5a4b8d._0x344ba6,-0x24,-_0x5a4b8d._0x4b8eae)],_0x4d02c9[_0x20a9ee(-_0x5a4b8d._0x36efaf,-0x207,-_0x5a4b8d._0x59f866,-0x1e8)])){if(_0x4d02c9['FLjmb']!==_0x29987f(-0x82,-_0x5a4b8d._0x334a00,-_0x5a4b8d._0x403415,-_0x5a4b8d._0x58da0e)){const _0x2e94ae={};return _0x2e94ae[_0x20a9ee(-_0x5a4b8d._0x49e922,-_0x5a4b8d._0x4a34a1,-0x1e3,-_0x5a4b8d._0x75363f)]=_0x51ee06,logger[_0x20a9ee(-_0x5a4b8d._0x189ee8,-_0x5a4b8d._0x86744b,-0x25d,-_0x5a4b8d._0x4e78cc)](_0x4d02c9[_0x29987f(_0x5a4b8d._0x15ccfa,_0x5a4b8d._0x10ddcb,_0x5a4b8d._0x4caa9d,0x6)],_0x2e94ae),null;}else throw new _0x49aca8(_0x4d02c9[_0x20a9ee(-_0x5a4b8d._0x1425b2,-_0x5a4b8d._0x133b86,-0x1a3,-0x153)]);}logger[_0x20a9ee(-0x1d9,-_0x5a4b8d._0x2ac438,-_0x5a4b8d._0x4e4ef9,-0x17e)](_0x4d02c9[_0x20a9ee(-_0x5a4b8d._0x99fbe8,-0x1e9,-0x21e,-_0x5a4b8d._0xa087ea)],_0x906cce);throw _0x906cce;}}}export function getOidcConfig(){return cachedConfig;}export async function discoverOidcProvider(_0x101665){const _0x47f466={_0x399c6c:0x26d,_0x342b1d:0x286,_0x4ac974:0x31e,_0x2fe7ea:0x2c0,_0x4434c8:0xbf,_0x444ef3:0x2f0,_0x24870a:0x303,_0x190e83:0x24b,_0x213ce3:0x2e6,_0x347200:0x28f,_0x2680eb:0x2b3,_0x195803:0x288,_0x2df8c6:0x301,_0x47a7a5:0x2c4,_0x495798:0x1d8,_0x249e3b:0x21d,_0x84485a:0x219,_0xe4968d:0x19b,_0x1f411c:0x140,_0x1938c5:0x2b7,_0x1f44c6:0x2b4,_0x458fa7:0x238,_0x372305:0x22a,_0x4b0766:0x20f,_0x2fa0e3:0x126,_0x33dab8:0x11a,_0x47661b:0x107},_0x291ea7={_0x29f333:0x24};function _0x4ecb8c(_0x55e4ff,_0x5098f8,_0x588d41,_0x169a2a){return _0x2538(_0x55e4ff-_0x291ea7._0x29f333,_0x5098f8);}function _0x4434fd(_0x269ede,_0x1c20d6,_0x2d982f,_0x4ec83b){return _0x2538(_0x4ec83b-0x149,_0x2d982f);}if(cachedOidcConfig)return cachedOidcConfig;try{const _0x1ecc5d={};return _0x1ecc5d['issuer']=_0x101665[_0x4434fd(_0x47f466._0x399c6c,_0x47f466._0x342b1d,_0x47f466._0x4ac974,_0x47f466._0x2fe7ea)],logger[_0x4ecb8c(0x107,0xc0,0x106,_0x47f466._0x4434c8)](_0x4434fd(_0x47f466._0x444ef3,_0x47f466._0x24870a,0x26c,0x2b3)+_0x4434fd(0x270,_0x47f466._0x190e83,_0x47f466._0x213ce3,0x2a8)+_0x4434fd(_0x47f466._0x347200,0x292,0x2a6,0x28c),_0x1ecc5d),cachedOidcConfig=await _0x5a8ef1[_0x4434fd(_0x47f466._0x2680eb,_0x47f466._0x195803,0x2ae,0x2b9)](new URL(_0x101665[_0x4434fd(_0x47f466._0x2df8c6,0x315,_0x47f466._0x47a7a5,0x2c0)]),_0x101665['client_id'],_0x101665[_0x4434fd(_0x47f466._0x495798,0x20a,_0x47f466._0x249e3b,0x220)+'ret']),logger[_0x4434fd(0x1f1,_0x47f466._0x84485a,0x265,0x22c)]('OIDC\x20provi'+_0x4ecb8c(0x16e,_0x47f466._0xe4968d,0x1c1,_0x47f466._0x1f411c)+'ered\x20succe'+_0x4434fd(0x2c5,_0x47f466._0x1938c5,_0x47f466._0x1f44c6,0x26a)),cachedOidcConfig;}catch(_0x146e44){logger['error'](_0x4434fd(_0x47f466._0x458fa7,0x1da,_0x47f466._0x372305,_0x47f466._0x4b0766)+_0x4434fd(0x230,0x2e4,0x2a5,0x28e)+_0x4ecb8c(_0x47f466._0x2fa0e3,_0x47f466._0x33dab8,0x15d,_0x47f466._0x47661b)+'er',_0x146e44);throw _0x146e44;}}export async function generateAuthorizationUrl(_0x2a6ce6,_0x1f9f23){const _0x4800e5={_0x121659:0x13d,_0x2b9bd3:0x1c6,_0x142cd0:0x188,_0x456d97:0x136,_0x38f271:0x138,_0x3fa833:0x1a7,_0xca5cf3:0x1ba,_0x4a2180:0x1d2,_0x4b0b50:0x155,_0x41915f:0x12c,_0x52375e:0x137,_0x1cc864:0x150,_0x54a1b8:0x14a,_0x111de3:0x159,_0x4606ef:0x7d,_0x92bcb7:0xea,_0xb1856d:0x143,_0x1db2c5:0xb7,_0x167329:0x10a,_0x57ac3e:0xc4,_0x18cec1:0xde,_0x2599f2:0x105,_0x9fcd0:0x144,_0x504ce3:0x132,_0x5b9a7d:0x160,_0x5d4708:0x9a,_0x3c20de:0x6c,_0x1c776c:0xb4,_0x547be9:0x10e,_0x4d9520:0xe7,_0x2e1ca8:0x115,_0x33fcb1:0xd1,_0x172553:0xf1,_0x37b56b:0x151,_0x4f0976:0x101,_0x819a2e:0x190,_0x5a28b4:0x17f,_0x1e4119:0x1b1,_0x901a27:0x1fa,_0x5dc052:0x8d,_0x2a0d40:0x177,_0x1cddf3:0x1aa,_0x29c6cd:0xa9,_0x1cbb6a:0xa1,_0x58c38c:0xe3,_0x209e1a:0x10c,_0x41264c:0x12e,_0x242feb:0x135,_0x19eb6f:0x184,_0x22efdc:0x159,_0x5cf1cc:0x167,_0x5e0767:0x180,_0x9450b1:0x162,_0x2613de:0x1a8,_0x19e4ba:0x104},_0x9d3fec={_0x1601c5:0x27c},_0x512cc6={'zLRsv':function(_0x1c5d05,_0x1416a9){return _0x1c5d05(_0x1416a9);},'xNFOt':_0x55caa9(-_0x4800e5._0x121659,-0x178,-_0x4800e5._0x2b9bd3,-_0x4800e5._0x142cd0),'GQnfQ':_0x3fe05f(-_0x4800e5._0x456d97,-_0x4800e5._0x38f271,-0x165,-0x15b),'IhSrG':_0x55caa9(-0x1f6,-_0x4800e5._0x3fa833,-_0x4800e5._0xca5cf3,-_0x4800e5._0x4a2180)+_0x55caa9(-_0x4800e5._0x4b0b50,-_0x4800e5._0x41915f,-_0x4800e5._0x52375e,-0x156)+_0x3fe05f(-_0x4800e5._0x1cc864,-_0x4800e5._0x54a1b8,-0x156,-_0x4800e5._0x111de3)+'RL','dHpzv':_0x3fe05f(-0xd4,-_0x4800e5._0x4606ef,-0x130,-0xf6)},_0x4968cf=await _0x512cc6['zLRsv'](discoverOidcProvider,_0x2a6ce6),_0x31c235=_0x48cf02[_0x3fe05f(-_0x4800e5._0x92bcb7,-_0x4800e5._0xb1856d,-_0x4800e5._0x1db2c5,-0x129)+'s'](-0x4d0+-0xf0c+0x13fc)[_0x3fe05f(-_0x4800e5._0x167329,-0x127,-0xb3,-0x11e)](_0x512cc6[_0x3fe05f(-_0x4800e5._0x57ac3e,-0xa7,-_0x4800e5._0x18cec1,-_0x4800e5._0x2599f2)]),_0x1282ab=_0x48cf02[_0x55caa9(-0x122,-_0x4800e5._0x9fcd0,-_0x4800e5._0x504ce3,-_0x4800e5._0x5b9a7d)+'s'](0xfcb+-0x1*0x179+0xe32*-0x1)['toString'](_0x512cc6[_0x3fe05f(-_0x4800e5._0x57ac3e,-_0x4800e5._0x5d4708,-0x92,-_0x4800e5._0x3c20de)]);function _0x3fe05f(_0x470cce,_0x160f38,_0x2c73ac,_0x396351){return _0x2538(_0x470cce- -0x222,_0x396351);}const _0x58546c=_0x5a8ef1[_0x3fe05f(-_0x4800e5._0x1c776c,-_0x4800e5._0x547be9,-_0x4800e5._0x4d9520,-0x70)+_0x55caa9(-0x11d,-_0x4800e5._0x2e1ca8,-_0x4800e5._0x33fcb1,-_0x4800e5._0x172553)+'er']();function _0x55caa9(_0x1478bd,_0x5293fd,_0x4a3361,_0x2f870c){return _0x2538(_0x5293fd- -_0x9d3fec._0x1601c5,_0x2f870c);}const _0x2e0dec=await _0x5a8ef1[_0x55caa9(-0x183,-_0x4800e5._0x37b56b,-0x15e,-_0x4800e5._0x4f0976)+'KCECodeCha'+_0x3fe05f(-0x14f,-_0x4800e5._0x819a2e,-0x156,-0x15a)](_0x58546c);stateStore[_0x55caa9(-_0x4800e5._0x5a28b4,-_0x4800e5._0x1e4119,-0x203,-_0x4800e5._0x901a27)](_0x31c235,{'nonce':_0x1282ab,'codeVerifier':_0x58546c,'createdAt':Date[_0x3fe05f(-0xe0,-_0x4800e5._0x5dc052,-0xc1,-0x12a)]()});const _0x10c61b={'redirect_uri':_0x1f9f23,'scope':_0x2a6ce6[_0x3fe05f(-0x15b,-0x11b,-_0x4800e5._0x2a0d40,-0x1a8)]['join']('\x20'),'state':_0x31c235,'nonce':_0x1282ab,'code_challenge':_0x2e0dec,'code_challenge_method':_0x512cc6[_0x3fe05f(-0x159,-_0x4800e5._0x1cddf3,-0x1a2,-0x1b0)]},_0x3e8791=_0x5a8ef1[_0x3fe05f(-_0x4800e5._0x29c6cd,-0x104,-_0x4800e5._0x1cbb6a,-_0x4800e5._0x58c38c)+_0x3fe05f(-0xe9,-0xbb,-0x8f,-_0x4800e5._0x209e1a)+'l'](_0x4968cf,_0x10c61b);logger[_0x55caa9(-0x136,-_0x4800e5._0x5a28b4,-_0x4800e5._0x41264c,-0x156)](_0x512cc6[_0x55caa9(-0x116,-_0x4800e5._0x242feb,-0x147,-_0x4800e5._0x19eb6f)],{'state':_0x31c235[_0x55caa9(-0x17a,-0x156,-_0x4800e5._0x22efdc,-_0x4800e5._0x9fcd0)](-0x3*-0x6e+0xca7+0x2b*-0x53,-0xbf7+-0x2*-0x871+-0x4e3)+_0x512cc6[_0x55caa9(-_0x4800e5._0x5cf1cc,-_0x4800e5._0x5e0767,-_0x4800e5._0x9450b1,-_0x4800e5._0x2613de)],'redirectUri':_0x1f9f23});const _0x242568={};return _0x242568[_0x3fe05f(-0xbd,-0xe5,-0xff,-0x6f)]=_0x3e8791[_0x55caa9(-0x14d,-_0x4800e5._0x19e4ba,-0x13a,-0xb7)],_0x242568['state']=_0x31c235,_0x242568;}export async function handleCallback(_0x49988b,_0x3ac91b,_0x389b82){const _0x2ad3ca={_0x2bd2f5:0x36d,_0x1fb178:0x211,_0x50a8ec:0x264,_0x7e6512:0x28a,_0x5a0734:0x290,_0xfc7578:0x275,_0x209370:0x271,_0x2f148e:0x256,_0x42b264:0x283,_0x4844d8:0x21f,_0x3a890c:0x216,_0x50d668:0x2af,_0x3e66ff:0x345,_0x4f31ad:0x352,_0x2d5068:0x33a,_0x3b97ee:0x246,_0x4f2757:0x239,_0x44d5bc:0x1f1,_0x37d49d:0x278,_0x5343b8:0x27d,_0x2619e3:0x273,_0x44ac84:0x2a2,_0x3b546d:0x25c,_0x5a581d:0x29b,_0x4d3a42:0x24d,_0x1fd02c:0x2b5,_0x416454:0x267,_0x2f8e74:0x215,_0x1ca708:0x377,_0x555c19:0x363,_0x81d382:0x2ee,_0x7c6b57:0x34a,_0x30dd2b:0x2fa,_0x442234:0x31c,_0xdd4619:0x2b2,_0x38f033:0x33f,_0x1af7db:0x2da,_0x5daf4f:0x26b,_0x4c8c25:0x24c,_0xbbbb43:0x256,_0xdded1:0x2b7,_0x2a0278:0x2a5,_0x3ddd03:0x302,_0x27e6b5:0x279,_0x6d610d:0x2bf,_0x12db39:0x2e1,_0xcfc68a:0x2c3,_0x378ac4:0x2da,_0x57f9e1:0x31b,_0x57eff4:0x2c3,_0x53f413:0x2b8,_0x37828a:0x282,_0x250fe3:0x335,_0x20c906:0x2b8,_0x41eccd:0x2af,_0x2ac955:0x2eb,_0x3427ca:0x365,_0x5cc5c9:0x2a5,_0x168da6:0x2e3,_0x5efaa8:0x2c1,_0x312613:0x244,_0xb1662:0x1db,_0x5b7b10:0x221,_0x44e4ff:0x1dd,_0x36b3a3:0x257,_0x116b7b:0x30b,_0x359613:0x2c8,_0x606bd4:0x3a7,_0xa645d:0x34b,_0x14ba0a:0x34b,_0xd33bbc:0x38a,_0x68d44a:0x314,_0xad1560:0x2d8,_0x39f6e:0x290,_0x218c52:0x342,_0x349ce9:0x2ff,_0x2bd637:0x228,_0x3271fe:0x235,_0xd80c6:0x229,_0x54f8c4:0x308,_0x1d24a0:0x31e,_0x33aae9:0x2ec,_0x3571da:0x31c,_0x5cce49:0x334},_0xcc0ef3={_0x1b482a:0x148},_0x5f0a55={'CnDhd':_0x307c7e(0x357,0x3c7,_0x2ad3ca._0x2bd2f5,0x37f)+_0x41c204(0x256,_0x2ad3ca._0x1fb178,0x239,_0x2ad3ca._0x50a8ec)+_0x41c204(_0x2ad3ca._0x7e6512,_0x2ad3ca._0x5a0734,_0x2ad3ca._0xfc7578,_0x2ad3ca._0x209370)+_0x41c204(_0x2ad3ca._0x2f148e,_0x2ad3ca._0x42b264,0x2aa,0x2bd),'dyeMo':function(_0x54c6d5,_0x4f7f0a){return _0x54c6d5>_0x4f7f0a;},'GDXPP':function(_0xb782a5,_0x5de135){return _0xb782a5-_0x5de135;},'BjeTa':function(_0x35fdd2,_0x5f4d27){return _0x35fdd2===_0x5f4d27;},'wLWzy':_0x41c204(_0x2ad3ca._0x4844d8,_0x2ad3ca._0x3a890c,0x263,_0x2ad3ca._0x50d668),'jJoyn':_0x307c7e(_0x2ad3ca._0x3e66ff,_0x2ad3ca._0x4f31ad,_0x2ad3ca._0x2d5068,0x300),'qXghp':_0x41c204(0x229,0x290,_0x2ad3ca._0x3b97ee,0x287)+_0x41c204(_0x2ad3ca._0x4f2757,0x229,0x24b,_0x2ad3ca._0x44d5bc)+_0x41c204(_0x2ad3ca._0x37d49d,0x2b0,_0x2ad3ca._0x5343b8,_0x2ad3ca._0x2619e3),'YsGTE':function(_0x148df9,_0x322594){return _0x148df9(_0x322594);},'sXeqd':_0x41c204(_0x2ad3ca._0x44ac84,_0x2ad3ca._0x3b546d,_0x2ad3ca._0x5a581d,_0x2ad3ca._0x4d3a42)+'ntication\x20'+_0x41c204(_0x2ad3ca._0x1fd02c,0x238,0x255,_0x2ad3ca._0x416454),'lgrSF':_0x41c204(0x250,_0x2ad3ca._0x4844d8,_0x2ad3ca._0x2f8e74,0x22f)+_0x307c7e(_0x2ad3ca._0x1ca708,0x36b,0x322,_0x2ad3ca._0x555c19)+'failed'},{state:_0x515036,code:_0x41cae1}=_0x389b82;function _0x41c204(_0x36648e,_0x3764ce,_0x4f5b3a,_0x55fe14){return _0x2538(_0x4f5b3a-_0xcc0ef3._0x1b482a,_0x3764ce);}const _0x2702b3=stateStore[_0x307c7e(0x2ac,_0x2ad3ca._0x5a0734,_0x2ad3ca._0x81d382,_0x2ad3ca._0x7c6b57)](_0x515036);if(!_0x2702b3)throw new Error(_0x5f0a55[_0x307c7e(0x351,_0x2ad3ca._0x30dd2b,_0x2ad3ca._0x442234,0x31b)]);stateStore['delete'](_0x515036);if(_0x5f0a55['dyeMo'](_0x5f0a55[_0x41c204(0x24c,0x1e9,0x209,0x1d7)](Date['now'](),_0x2702b3['createdAt']),STATE_TTL)){if(_0x5f0a55[_0x307c7e(_0x2ad3ca._0xdd4619,_0x2ad3ca._0x38f033,0x300,_0x2ad3ca._0x1af7db)](_0x5f0a55[_0x41c204(_0x2ad3ca._0x5daf4f,_0x2ad3ca._0x4c8c25,_0x2ad3ca._0xbbbb43,_0x2ad3ca._0x1fb178)],_0x5f0a55[_0x307c7e(_0x2ad3ca._0xdded1,_0x2ad3ca._0x2a0278,_0x2ad3ca._0x3ddd03,_0x2ad3ca._0x555c19)]))throw new _0x2b1ca4(_0x307c7e(0x31e,_0x2ad3ca._0x27e6b5,_0x2ad3ca._0x6d610d,_0x2ad3ca._0x12db39)+'read\x20OIDC\x20'+_0x307c7e(_0x2ad3ca._0xcfc68a,0x2c4,_0x2ad3ca._0x378ac4,0x310)+_0x41c204(0x273,_0x2ad3ca._0x57f9e1,_0x2ad3ca._0x57eff4,0x2d6)+_0x3107b7+':\x20'+_0x340c50['message']);else throw new Error(_0x5f0a55[_0x307c7e(0x2bb,0x2c2,_0x2ad3ca._0x53f413,_0x2ad3ca._0x37828a)]);}const _0x3e5ba4=await _0x5f0a55[_0x307c7e(0x29c,0x33a,0x2f8,_0x2ad3ca._0x250fe3)](discoverOidcProvider,_0x49988b);function _0x307c7e(_0x43d0a6,_0x310c12,_0x4cd2e3,_0x5a3556){return _0x2538(_0x4cd2e3-0x1f9,_0x310c12);}try{const _0x4412b7=await _0x5a8ef1[_0x307c7e(0x2d6,_0x2ad3ca._0x20c906,0x2e9,_0x2ad3ca._0x41eccd)+_0x307c7e(_0x2ad3ca._0x2ac955,_0x2ad3ca._0x3427ca,0x32c,0x381)+'nt'](_0x3e5ba4,new URL(_0x3ac91b+_0x307c7e(_0x2ad3ca._0x5cc5c9,0x336,_0x2ad3ca._0x168da6,_0x2ad3ca._0x5efaa8)+encodeURIComponent(_0x41cae1)+_0x41c204(0x227,0x220,0x20d,0x23b)+_0x5f0a55['YsGTE'](encodeURIComponent,_0x515036)),{'pkceCodeVerifier':_0x2702b3[_0x307c7e(0x35c,0x2fc,0x352,0x321)+'er'],'expectedNonce':_0x2702b3[_0x41c204(_0x2ad3ca._0x312613,_0x2ad3ca._0xb1662,_0x2ad3ca._0x5b7b10,_0x2ad3ca._0x44e4ff)],'expectedState':_0x515036}),_0x3110fe=_0x4412b7[_0x41c204(0x240,0x2ac,0x290,_0x2ad3ca._0x36b3a3)](),_0x37ff4b={};_0x37ff4b['sub']=_0x3110fe[_0x307c7e(0x33f,0x309,_0x2ad3ca._0x116b7b,_0x2ad3ca._0x359613)],_0x37ff4b[_0x307c7e(_0x2ad3ca._0x606bd4,_0x2ad3ca._0xa645d,_0x2ad3ca._0x14ba0a,_0x2ad3ca._0xd33bbc)]=_0x3110fe['email'],_0x37ff4b['name']=_0x3110fe['name'],logger[_0x41c204(0x288,0x1fe,0x22b,_0x2ad3ca._0xfc7578)](_0x5f0a55[_0x307c7e(0x2fa,_0x2ad3ca._0x37d49d,0x2cf,_0x2ad3ca._0x68d44a)],_0x37ff4b);const _0x419c61={};return _0x419c61[_0x41c204(0x2b8,_0x2ad3ca._0xad1560,_0x2ad3ca._0x39f6e,0x235)]=_0x3110fe,_0x419c61[_0x307c7e(0x2b3,_0x2ad3ca._0x218c52,_0x2ad3ca._0x349ce9,0x2ba)+'n']=_0x4412b7[_0x41c204(_0x2ad3ca._0x2bd637,_0x2ad3ca._0x3271fe,0x233,_0x2ad3ca._0xd80c6)+'en'],_0x419c61['idToken']=_0x4412b7[_0x307c7e(_0x2ad3ca._0x54f8c4,_0x2ad3ca._0x1d24a0,0x312,0x2dc)],_0x419c61;}catch(_0x5e9330){logger[_0x307c7e(_0x2ad3ca._0x33aae9,0x2e9,0x320,0x2ea)](_0x5f0a55[_0x307c7e(_0x2ad3ca._0x3571da,0x325,0x36f,_0x2ad3ca._0x5cce49)],_0x5e9330);throw _0x5e9330;}}export function getPublicOidcConfig(){const _0x97a3a7={_0x4cc0c2:0x386,_0x260763:0x2eb,_0xdad2:0x341,_0x48b8cf:0x35d,_0x116de0:0x3b5,_0x243d19:0x3c0,_0x44a4bc:0x362,_0x57b50f:0x3a2,_0x56901a:0x354,_0x326930:0x33b,_0x5dfa84:0x393,_0x185495:0x322,_0x22e641:0x121,_0x317e1a:0x140,_0x30bc69:0x182,_0x1383ce:0xa5,_0x18813b:0xc2,_0x6c79fa:0xf4},_0xd2c806={_0x2666c0:0x14};if(!cachedConfig)return null;const _0x3a8c33={};function _0x201004(_0x58d026,_0x77b6ab,_0xba436,_0x2e9920){return _0x2538(_0x2e9920-_0xd2c806._0x2666c0,_0xba436);}_0x3a8c33[_0x539804(_0x97a3a7._0x4cc0c2,0x2f3,_0x97a3a7._0x260763,_0x97a3a7._0xdad2)]=!![];function _0x539804(_0x552715,_0x709618,_0x44587e,_0x45200f){return _0x2538(_0x45200f-0x27d,_0x44587e);}return _0x3a8c33[_0x539804(_0x97a3a7._0x48b8cf,_0x97a3a7._0x116de0,_0x97a3a7._0x243d19,_0x97a3a7._0x44a4bc)+'me']=cachedConfig[_0x539804(_0x97a3a7._0x57b50f,_0x97a3a7._0x56901a,0x340,0x362)+'me'],_0x3a8c33[_0x539804(0x39b,_0x97a3a7._0x326930,0x3d9,_0x97a3a7._0x5dfa84)+_0x539804(0x304,_0x97a3a7._0x185495,0x372,_0x97a3a7._0x48b8cf)]=cachedConfig[_0x201004(_0x97a3a7._0x22e641,_0x97a3a7._0x317e1a,_0x97a3a7._0x30bc69,0x12a)+_0x201004(0xb8,_0x97a3a7._0x1383ce,_0x97a3a7._0x18813b,_0x97a3a7._0x6c79fa)],_0x3a8c33;}export function clearOidcCache(){const _0x11351c={_0x40c215:0x10e,_0x424782:0x107,_0x36f53e:0x2a8,_0x4625f0:0x283},_0x46b46c={_0x147b21:0x366};function _0x211bd4(_0xe50801,_0xbd0fe9,_0x21c694,_0x161f02){return _0x2538(_0x161f02- -0x27f,_0x21c694);}cachedConfig=null,cachedOidcConfig=null;function _0x27ec7f(_0x541505,_0x4a3307,_0x34b8fe,_0x5a3799){return _0x2538(_0x34b8fe- -_0x46b46c._0x147b21,_0x4a3307);}stateStore[_0x211bd4(-_0x11351c._0x40c215,-_0x11351c._0x424782,-0xb3,-0x105)](),logger[_0x27ec7f(-_0x11351c._0x36f53e,-0x2d5,-_0x11351c._0x4625f0,-0x273)]('OIDC\x20cache'+'\x20cleared');}export async function reloadOidcConfig(_0x3163ad){const _0x460813={_0x1481fe:0x2fd,_0x260018:0x2e5,_0x12e439:0x2c8,_0xd1dd46:0x310},_0x5388e0={'DkoDQ':function(_0x3017b7){return _0x3017b7();},'YPdXz':function(_0x4ed2ff,_0x43ca66){return _0x4ed2ff(_0x43ca66);}};function _0x424b02(_0x916843,_0x11c6ce,_0x49961f,_0x504efc){return _0x2538(_0x916843- -0x3d1,_0x49961f);}return _0x5388e0['DkoDQ'](clearOidcCache),await _0x5388e0[_0x424b02(-_0x460813._0x1481fe,-_0x460813._0x260018,-_0x460813._0x12e439,-_0x460813._0xd1dd46)](loadOidcConfig,_0x3163ad);}export async function testOidcDiscovery(_0x4f2838){const _0x102129={_0x39c28d:0x1cb,_0x2b1b57:0x210,_0x37fd04:0x280,_0x5e4a49:0x251,_0x26bafe:0x1fa,_0x5777d2:0x294,_0x4b191d:0x20e,_0x54c5ce:0x26a,_0x50ae9f:0x268,_0x1f0493:0x25b,_0x4b535e:0x250,_0x258e79:0x263,_0x442584:0x2ba,_0x467d40:0x188,_0x36650b:0x1e1,_0x11dd79:0x22e,_0xaed822:0x1ae,_0x4f97bf:0x2e6,_0x374654:0x290,_0x2979e3:0x2b9,_0xca515e:0x220,_0x1408ea:0x2c2,_0x5c861a:0x2ab,_0x25624f:0x2d4,_0x2d48a1:0x2d7,_0x2ec61f:0x1f3,_0x46d874:0x28d,_0x310533:0x23a,_0x58fa4c:0x2c3,_0x4f80e6:0x27b,_0x25695e:0x2a6,_0x19aa62:0x22c,_0x2c3298:0x261,_0xfb258b:0x2aa,_0x2bd296:0x273,_0x413a75:0x282,_0x2cdaa6:0x275,_0x238896:0x29b,_0x5f4a28:0x24e,_0xd17f6b:0x267,_0x5c3735:0x28f,_0x534891:0x2e2,_0x2d44fa:0x1a7,_0x4632e4:0x1c8,_0x1bacca:0x1a8,_0x176e35:0x230,_0x10b8d9:0x29d,_0x3ee042:0x2cf,_0x62e4bf:0x341,_0x1c89e0:0x2a3,_0x2aa12a:0x1cc,_0x4845e3:0x20e,_0x1db356:0x247,_0x17aaac:0x207,_0x4b46b5:0x25e,_0x3434c9:0x1c8,_0x5d2ad1:0x1de,_0x1c6eb1:0x187,_0x466e5b:0x2b9,_0x38bcd7:0x293,_0x17b162:0x2bd,_0x522d38:0x32b,_0xf47bfa:0x333,_0x1522fa:0x2be,_0x56d233:0x2db,_0x1815a4:0x24a,_0x1cafc9:0x295,_0xc3dc27:0x1e7,_0x490af5:0x257,_0x4c98f3:0x28e,_0x33c323:0x2c1,_0xfdfbfe:0x1cf,_0x132427:0x1b5,_0xc22919:0x1f1,_0x26ac9b:0x23e,_0x1eb4dc:0x260,_0x19dcbe:0x214,_0x2f45fb:0x258,_0x244b03:0x2b3,_0x1ff73c:0x293,_0x1ac9b4:0x2e9,_0x4bce74:0x26c},_0xc350f7={'JBPqA':_0x4b423a(-0x1f7,-_0x102129._0x39c28d,-0x1f1,-_0x102129._0x2b1b57)+_0x4b423a(-_0x102129._0x37fd04,-_0x102129._0x5e4a49,-0x240,-0x205)+_0x4b423a(-0x2a3,-0x254,-_0x102129._0x26bafe,-0x2b5)+'on','nyXmK':function(_0x5c6c74,_0x5d5b0d){return _0x5c6c74+_0x5d5b0d;},'qdQtD':function(_0x5d9874,_0x1d4d2c,_0x109dab){return _0x5d9874(_0x1d4d2c,_0x109dab);},'WeXJv':_0x4e5555(-_0x102129._0x5777d2,-_0x102129._0x4b191d,-_0x102129._0x54c5ce,-_0x102129._0x50ae9f)+_0x4e5555(-_0x102129._0x1f0493,-_0x102129._0x4b535e,-0x29c,-0x2c2),'TayIP':_0x4e5555(-0x2a7,-0x23a,-0x256,-_0x102129._0x258e79),'Njhhh':_0x4e5555(-0x2d2,-0x2be,-0x2dd,-_0x102129._0x442584)+_0x4b423a(-_0x102129._0x467d40,-_0x102129._0x36650b,-_0x102129._0x11dd79,-_0x102129._0xaed822)+'nt','cAJlQ':'token_endp'+_0x4e5555(-_0x102129._0x4f97bf,-0x2e4,-_0x102129._0x374654,-_0x102129._0x2979e3),'fJJnq':function(_0x2aac76,_0x53ce72){return _0x2aac76!==_0x53ce72;},'GyMhA':_0x4b423a(-0x23a,-0x275,-_0x102129._0xca515e,-_0x102129._0x1408ea),'DjDyg':_0x4e5555(-0x22d,-0x29f,-0x277,-_0x102129._0x5c861a)};function _0x4b423a(_0x2a3601,_0x5a1bc2,_0x35678b,_0x26817b){return _0x2538(_0x5a1bc2- -0x338,_0x2a3601);}function _0x4e5555(_0x1af75e,_0x74cf6c,_0x2f266e,_0x130cd3){return _0x2538(_0x2f266e- -0x3cd,_0x130cd3);}try{const _0x203f51=new URL(_0xc350f7['JBPqA'],_0x4f2838[_0x4e5555(-0x26e,-0x26e,-0x29f,-0x29c)]('/')?_0x4f2838:_0xc350f7[_0x4e5555(-_0x102129._0x25624f,-_0x102129._0x2d48a1,-0x2ad,-0x24e)](_0x4f2838,'/')),_0x31e121=await _0xc350f7['qdQtD'](fetch,_0x203f51[_0x4b423a(-_0x102129._0x2ec61f,-0x1c0,-0x200,-0x1c0)],{'headers':{'Accept':_0xc350f7[_0x4e5555(-0x2a6,-0x28a,-_0x102129._0x46d874,-_0x102129._0x310533)]},'signal':AbortSignal['timeout'](0x4414+-0x1854*0x3+-0xa8*-0x43)});if(!_0x31e121['ok']){const _0x13210d={};return _0x13210d[_0x4b423a(-0x218,-0x1cf,-0x1d3,-0x18b)]=![],_0x13210d[_0x4e5555(-_0x102129._0x58fa4c,-_0x102129._0x4f80e6,-_0x102129._0x25695e,-0x27a)]=_0x4b423a(-0x1e7,-_0x102129._0x19aa62,-_0x102129._0x2c3298,-0x223)+_0x4e5555(-_0x102129._0xfb258b,-0x304,-0x2bc,-0x2c5)+_0x4e5555(-0x250,-_0x102129._0x2bd296,-_0x102129._0x413a75,-_0x102129._0x2cdaa6)+_0x31e121[_0x4b423a(-_0x102129._0x238896,-0x249,-0x23a,-0x277)]+':\x20'+_0x31e121[_0x4e5555(-0x20a,-_0x102129._0x5f4a28,-_0x102129._0xd17f6b,-_0x102129._0x5c3735)],_0x13210d;}const _0x1105bc=await _0x31e121[_0x4e5555(-0x2e0,-_0x102129._0x534891,-0x2d2,-0x2d0)](),_0x10457c=[_0xc350f7[_0x4b423a(-_0x102129._0x2d44fa,-0x1dc,-0x1a7,-0x213)],_0xc350f7[_0x4b423a(-_0x102129._0x4632e4,-0x1e0,-_0x102129._0x1bacca,-_0x102129._0x176e35)],_0xc350f7[_0x4b423a(-0x234,-0x21a,-0x219,-0x215)]],_0x158214=_0x10457c[_0x4e5555(-_0x102129._0x10b8d9,-_0x102129._0x3ee042,-0x2ee,-_0x102129._0x62e4bf)](_0x4ff6ab=>!_0x1105bc[_0x4ff6ab]);if(_0x158214[_0x4e5555(-_0x102129._0x54c5ce,-_0x102129._0x1c89e0,-_0x102129._0x10b8d9,-0x2d1)]>-0x846*0x2+-0x7*0x537+0x350d)return _0xc350f7[_0x4b423a(-0x220,-0x21c,-0x1cf,-0x266)](_0xc350f7[_0x4b423a(-0x1d9,-_0x102129._0x2aa12a,-_0x102129._0x4845e3,-_0x102129._0x4632e4)],_0xc350f7[_0x4e5555(-_0x102129._0x1db356,-_0x102129._0x17aaac,-_0x102129._0x4b46b5,-0x236)])?{'success':![],'error':'Discovery\x20'+_0x4e5555(-0x299,-0x319,-0x2ba,-0x2bc)+'issing\x20req'+'uired\x20fiel'+'ds:\x20'+_0x158214[_0x4b423a(-_0x102129._0x3434c9,-0x1c6,-_0x102129._0x5d2ad1,-_0x102129._0x1c6eb1)](',\x20')}:null;const _0x1af3ab={};return _0x1af3ab[_0x4e5555(-_0x102129._0x466e5b,-0x257,-0x264,-0x208)]=!![],_0x1af3ab[_0x4e5555(-0x25e,-0x232,-0x256,-_0x102129._0x38bcd7)]=_0x1105bc['issuer'],_0x1af3ab[_0x4e5555(-_0x102129._0x17b162,-0x2d5,-0x2dd,-_0x102129._0x522d38)+'ion_endpoi'+'nt']=_0x1105bc[_0x4e5555(-0x290,-0x334,-0x2dd,-_0x102129._0xf47bfa)+'ion_endpoi'+'nt'],_0x1af3ab[_0x4e5555(-0x298,-_0x102129._0x1522fa,-0x29e,-_0x102129._0x56d233)+'oint']=_0x1105bc[_0x4e5555(-0x2f2,-_0x102129._0x1815a4,-0x29e,-_0x102129._0x1cafc9)+'oint'],_0x1af3ab['scopes_sup'+_0x4b423a(-_0x102129._0x5d2ad1,-0x1f9,-0x1d1,-0x1e3)]=_0x1105bc[_0x4b423a(-0x21c,-_0x102129._0xc3dc27,-_0x102129._0x310533,-0x1f4)+_0x4e5555(-_0x102129._0x490af5,-0x28b,-_0x102129._0x4c98f3,-_0x102129._0x33c323)]||[],_0x1af3ab;}catch(_0x1312bf){const _0x2ecc96={};return _0x2ecc96[_0x4b423a(-0x1ea,-_0x102129._0xfdfbfe,-_0x102129._0x132427,-_0x102129._0xc22919)]=![],_0x2ecc96[_0x4b423a(-0x1de,-0x211,-0x1ed,-_0x102129._0x26ac9b)]=_0x1312bf[_0x4b423a(-0x241,-_0x102129._0x1eb4dc,-0x248,-0x280)]||_0x4b423a(-0x2af,-0x272,-_0x102129._0x19dcbe,-_0x102129._0x2f45fb)+_0x4e5555(-0x2a8,-_0x102129._0x244b03,-_0x102129._0x1ff73c,-_0x102129._0x1ac9b4)+_0x4e5555(-0x2a4,-0x31a,-_0x102129._0x2d48a1,-0x2f2)+_0x4b423a(-0x268,-0x24b,-_0x102129._0x4bce74,-0x233),_0x2ecc96;}}
|
|
1
|
+
(function(_0x39935e,_0x516219){const _0x25909d={_0x1ede34:0x11a,_0x3ffc62:0x165,_0x48ff99:0x13a,_0x529b20:0x125,_0x265b05:0x129,_0x1185d0:0x1ab,_0x4aaca8:0x104,_0x4a65a3:0x120,_0x510351:0x134,_0x43bd41:0x121,_0xed711:0x11f,_0x48e273:0x148,_0xec6f65:0xfb,_0x35792b:0x12b,_0x2f610a:0x10d,_0x3e504a:0x155,_0x355faf:0x100,_0x3a8b5f:0x160},_0x9608c3={_0x4382a6:0x321},_0xb8702=_0x39935e();function _0x3497f0(_0x1c4bc3,_0x302032,_0xb16aee,_0x1c06f1){return _0x15dd(_0x1c06f1- -_0x9608c3._0x4382a6,_0xb16aee);}function _0xd1bd5a(_0x3fc4c7,_0x60606b,_0x4e9a71,_0x1e884c){return _0x15dd(_0x3fc4c7- -0x36e,_0x4e9a71);}while(!![]){try{const _0x45baeb=-parseInt(_0xd1bd5a(-0x132,-0x145,-0x100,-0x13f))/(0x1c0d+-0x8*0x1ac+0x3*-0x4e4)*(parseInt(_0x3497f0(-0xb5,-0x7b,-_0x25909d._0x1ede34,-0xc3))/(-0x1*-0x17aa+-0x96b+-0x1*0xe3d))+-parseInt(_0xd1bd5a(-_0x25909d._0x3ffc62,-_0x25909d._0x48ff99,-0x134,-0x1c1))/(0x53*-0x75+-0x1b61+0x4153)+-parseInt(_0xd1bd5a(-0x105,-_0x25909d._0x529b20,-_0x25909d._0x265b05,-0xf9))/(-0xac3+0xa2c+0x9b)*(parseInt(_0xd1bd5a(-0x1a6,-0x17c,-_0x25909d._0x1185d0,-0x19a))/(0x29*-0xdf+-0x5*-0x3fb+0xfd5))+-parseInt(_0x3497f0(-_0x25909d._0x4aaca8,-0xeb,-0xe6,-_0x25909d._0x4a65a3))/(-0x11*0x9f+0x1ec+0x3*0x2e3)+-parseInt(_0xd1bd5a(-_0x25909d._0x510351,-0xe4,-0x185,-0x190))/(0x1*0x11a7+0x290*0x6+-0x2100)+-parseInt(_0x3497f0(-_0x25909d._0x43bd41,-0x14f,-0x165,-_0x25909d._0xed711))/(-0x8d*0x11+-0x427*0x4+0x1a01)*(-parseInt(_0x3497f0(-_0x25909d._0x48e273,-0x141,-0x119,-_0x25909d._0xec6f65))/(-0x2509+0x24fb*0x1+0x17))+-parseInt(_0x3497f0(-_0x25909d._0x35792b,-0xad,-0xb8,-_0x25909d._0x2f610a))/(0x1*-0x157+0x10*-0x1a+0x301)*(-parseInt(_0x3497f0(-0x14b,-_0x25909d._0x3e504a,-_0x25909d._0x355faf,-_0x25909d._0x3a8b5f))/(-0xbdb+-0xf4f*0x1+-0x3e3*-0x7));if(_0x45baeb===_0x516219)break;else _0xb8702['push'](_0xb8702['shift']());}catch(_0x35f168){_0xb8702['push'](_0xb8702['shift']());}}}(_0x11e7,0xc483*-0x1+0x1*-0x2de9f+-0x7*-0xc565));import*as _0xfa7437 from'openid-client';import{promises as _0x383a0b}from'fs';import _0x3187fb from'path';import _0x33c311 from'crypto';import{logger}from'./logger.js';function _0x11e7(){const _0x29be67=['CMfUzg9TqNL0zq','AxvPuxe','C3rHDgu','zdOG','BMzPz3vYyxrPBW','yKnrzeS','z3vYyxrPB24GBa','uhP5zMG','t0LeqYbJB25MAq','C2v0','z29QwuC','igvUzhbVAw50','DwLYzwqGzMLLBa','t3Dkquu','t0LeqYbHDxrOBW','Bg9Hzcbpsurdia','zw1HAwW','ywnJzxnZvg9Rzq','vxvXAM8','uKjxr1m','y2XLyxi','qYbJB25MAwD1CG','mJqZntroEgvXs0O','vNjWwKG','C3nMDwXSEq','v0ztAhq','ALbdtgW','C3vJy2vZC2z1Ba','zw5KC1DPDgG','ndmXnZG1swfksM55','DMLKzxi','ufbSyuq','yujRqMy','tgfkBum','zcbPBIbJB25MAq','zw5HyMXLza','t0LeqYb0B2TLBG','y29UzMLNDxjHDa','BM93','y3jLyxrLzef0','AwruB2TLBG','zxjYB3i','u3rHDguGCgfYyq','zYbpsurdihbYBW','Dg9Rzw5Fzw5KCa','r2vUzxjHDgvKia','uZi1nG','zxr1CM5Lzca','BMfTzq','ignSzwfYzwq','DgLTzw91Da','yxrPB24GzMLLBa','C3rHDhvZ','y29KzvzLCMLMAq','CMvHzcbpsurdia','rMfPBgvKihrVia','ugDqvu0','BMrIzg8','t0LeqYbJywnOzq','CMfUzg9TueTdrq','ywnJzxnZx3rVAW','zgvIDwC','y2XHAw1Z','t0LeqYbWCM92Aq','DfjLy3a','twLZC2LUzYbYzq','zw50CMLLCW','DxjS','BIbMAwXLigzVDq','zuXxEha','qxv0Aa','u2LNBIbPBIb3Aq','igrPC2nVDMvYEq','Eg9zCvi','zw5KCg9PBNqGCG','zgLZCgXHEv9Uyq','zgLZy292zxj5','qKPZtwi','yxbWBgLJyxrPBW','y29Kzq','Aw9Uq29KzuDYyq','ANnVBG','Bf9HDxrO','BI9QC29U','C2nVCgvZ','AhjLzG','nZaXmtu0s2DWBLn5','mta0Bu5Yq2PN','Bwv0zxiGzxHWAq','AhbpCKi','B2LUDa','t0LeqYbHDxrOzq','Eu10y04','igv4y2HHBMDLia','ntC2mdngAeXVEvC','zxbjz1m','Aw9U','C3vI','zMfPBgvK','tM8Gt0LeqYbJBW','z091rxy','CMv0','Agv4','BgXLBMDL','C2LVBG','mZm1mfHktwDACW','y2XPzw50x3nLyW','tLvOBgu','AxnZDwvY','q2TbwMm','AxmGzgLZywjSzq','zgLZy292zxiGtW','AM9PBG','tLnirNa','BwvZC2fNzq','Dg9tDhjPBMC','y2XPzw50swq','Aw5MBW','sw52ywXPzcbVCG','z054Dfe','qxjbBK4','t2P3Dum','zMLSDgvY','mti2owjerLrgDG','AMnkthO','sunwqKe','tvrPtgy','qMTxz1C','y2XPzw50x2LK','s1nQtwu','Aw9Ux2vUzhbVAq','ywXSB3DFBg9Jyq','yNvPBgrbDxrOBW','tKrJqu4','v2zYyMe','ywnJzxnZ','Dgf0zsbWyxjHBq','CML6yxrPB24Gvq','C2nVCgvZx3n1Ca','vxbhq24','D0vbzhK','BgvKrfy','vKDMAuu','mtm4ntmYogvYzgf5rG','ALfLAxK','mteWndrhCfPbBwe','t2jXuwG','yxv0B1bYB3zPCW','zxrLCG','y216s2K','ywXSB3DmB2nHBa','zgv2zwXVCgvY','AwrFDg9Rzw4','Cg9YDgvK','B2LKyY5QC29U','zgvMyxvSDf9YBW','yxv0Ag9YAxPHDa','AvbTq2S','lNnLy3jLDhm','CML6yxrPB25vCG','CMvHzezPBgu','y09MueW','twrbC00','yxv0B19WCM92Aq','vhzQsve','DgGGu1np','AuvAAeS','CxvPCMvKie9jra','q29KzvzLCMLMAq','rLPzzNC','lI4U','rgLZy292zxjPBG','Cgf0Aa','BgvUz3rO','wwHODMK','C3vJy2vZCW','shL6uhC','BM9Uy2u','ww96BKG','mJjZtMPxBxG','zgvSzxrL','zgvYigrPC2nVDG','tgXLqLy','rgLZy292zxj5ia','zxjLzcbZDwnJzq','CMvK','y29UBMvJDcb0BW','BI9VCgvUAwqTyW','C3rHDhvZvgv4Da','ru5pru5u','ogPbA3fOva','zNnNBKe','wun6CKu','y2fSy3vSyxrLua','z3vYyxrPB24'];_0x11e7=function(){return _0x29be67;};return _0x11e7();}const stateStore=new Map(),STATE_TTL=(0x1297+0x3b5+-0x1642)*(0x1c85+-0x1*-0x18fd+-0x1aa3*0x2)*(-0x13*-0x1e0+-0x1d*-0x13c+0x4384*-0x1);setInterval(()=>{const _0x16a5b0={_0x317bcb:0x4fd,_0x372d19:0x5be,_0x313800:0x5fc,_0x57e102:0x590,_0x570145:0x1b0,_0x33f739:0x184,_0x12f5d2:0x1b4,_0x3aa15a:0x15a,_0x3b1171:0x180,_0x440ac8:0x582,_0x52dc37:0x4ff,_0x1bdb7d:0x55f,_0x3141bc:0x512,_0xfda632:0x507,_0x50b16a:0x116,_0x21738e:0x132,_0x329bda:0x56b,_0x493703:0x5b5,_0x1c8758:0x199,_0x7c3904:0x1cf,_0x1f0e0c:0x4e0,_0x487a5c:0x52d,_0x12bd38:0x564,_0x3b621c:0x1ba,_0x5e3c5a:0x1e4,_0x404f35:0x5af,_0xec5920:0x5a2,_0x1935ac:0x4ee,_0x339467:0x4f1,_0x5e6010:0x11a,_0x1da809:0x190,_0x40ff97:0x579,_0x2f831b:0x57b,_0x1ce671:0x198,_0xfc85a2:0x156},_0x27ebba={_0x236116:0x355},_0x2c0ce2={_0x173599:0x36a};function _0xc1cc46(_0x637798,_0x24a65c,_0x576cdb,_0x5d5538){return _0x15dd(_0x637798- -_0x2c0ce2._0x173599,_0x576cdb);}const _0x2813cf={};_0x2813cf['aRaPY']=_0x1d0e20(0x537,0x532,_0x16a5b0._0x317bcb,0x58f)+_0x1d0e20(0x5ba,_0x16a5b0._0x372d19,_0x16a5b0._0x313800,_0x16a5b0._0x57e102)+_0xc1cc46(-0x177,-0x11f,-_0x16a5b0._0x570145,-_0x16a5b0._0x33f739)+_0xc1cc46(-_0x16a5b0._0x12f5d2,-0x1f4,-_0x16a5b0._0x3aa15a,-_0x16a5b0._0x3b1171),_0x2813cf[_0x1d0e20(0x55c,_0x16a5b0._0x440ac8,_0x16a5b0._0x52dc37,_0x16a5b0._0x1bdb7d)]=function(_0x2af35c,_0x24808a){return _0x2af35c===_0x24808a;};function _0x1d0e20(_0x5eff92,_0x3bb640,_0x3316d9,_0xde8518){return _0x15dd(_0x5eff92-_0x27ebba._0x236116,_0x3bb640);}_0x2813cf[_0x1d0e20(0x505,0x555,_0x16a5b0._0x3141bc,_0x16a5b0._0xfda632)]='gindQ',_0x2813cf[_0xc1cc46(-0xff,-0x115,-_0x16a5b0._0x50b16a,-_0x16a5b0._0x21738e)]=function(_0x20ee80,_0x39e313){return _0x20ee80>_0x39e313;},_0x2813cf[_0x1d0e20(0x579,0x558,_0x16a5b0._0x329bda,_0x16a5b0._0x493703)]=function(_0x3679e5,_0x129a36){return _0x3679e5-_0x129a36;};const _0x5c0d20=_0x2813cf,_0x4254bc=Date[_0xc1cc46(-_0x16a5b0._0x1c8758,-_0x16a5b0._0x7c3904,-0x182,-0x1ec)]();for(const [_0x407fb7,_0x13bd7e]of stateStore['entries']()){if(_0x5c0d20[_0xc1cc46(-0x163,-0x17c,-0x114,-0x116)](_0x1d0e20(0x513,_0x16a5b0._0x1f0e0c,_0x16a5b0._0x487a5c,_0x16a5b0._0x12bd38),_0x5c0d20[_0xc1cc46(-_0x16a5b0._0x3b621c,-0x1a9,-_0x16a5b0._0x5e3c5a,-0x16e)])){const _0xd7631d={};return _0xd7631d[_0x1d0e20(_0x16a5b0._0x404f35,0x566,0x5c2,_0x16a5b0._0xec5920)]=![],_0xd7631d[_0x1d0e20(0x529,_0x16a5b0._0x1935ac,0x503,_0x16a5b0._0x339467)]=_0x4f0eb8[_0xc1cc46(-0x14d,-_0x16a5b0._0x5e6010,-0xf2,-_0x16a5b0._0x1da809)]||_0x5c0d20['aRaPY'],_0xd7631d;}else _0x5c0d20['YCzrE'](_0x5c0d20[_0x1d0e20(_0x16a5b0._0x40ff97,_0x16a5b0._0x329bda,0x54e,_0x16a5b0._0x2f831b)](_0x4254bc,_0x13bd7e[_0xc1cc46(-_0x16a5b0._0x1ce671,-0x1ae,-_0x16a5b0._0xfc85a2,-0x152)]),STATE_TTL)&&stateStore['delete'](_0x407fb7);}},(0x234+0x25d5+-0xc5*0x34)*(-0xb*-0x251+0x13a1+0x1670*-0x2)*(0x14c0+-0x34a*-0x6+0x2494*-0x1));let cachedConfig=null,cachedOidcConfig=null;function _0x15dd(_0xcb9aa0,_0x339dc0){_0xcb9aa0=_0xcb9aa0-(0x2460+-0x173d+-0xb74);const _0x1d875a=_0x11e7();let _0x1147c8=_0x1d875a[_0xcb9aa0];if(_0x15dd['zDIjyI']===undefined){var _0x1fc5ef=function(_0x2d1f0c){const _0x4796f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc4f08b='',_0x3930b4='';for(let _0x3093ee=0x1c44+0x3*-0x471+-0xef1,_0xd1c050,_0x35fa9e,_0x19fbf3=-0x1858+-0x65*-0x59+-0xac5;_0x35fa9e=_0x2d1f0c['charAt'](_0x19fbf3++);~_0x35fa9e&&(_0xd1c050=_0x3093ee%(-0x48d*0x6+-0x2b1*-0x5+-0x49f*-0x3)?_0xd1c050*(-0x1*-0x18e+-0x700*0x5+0x21b2)+_0x35fa9e:_0x35fa9e,_0x3093ee++%(-0x16be+-0x12e5+0x29a7))?_0xc4f08b+=String['fromCharCode'](0x17*-0x2f+-0x1fe+0x736&_0xd1c050>>(-(-0x11aa+0x24*0x42+0x166*0x6)*_0x3093ee&0x1b97+-0x5*0x15b+-0x14ca)):-0x461+-0x3*0x6c1+0x18a4){_0x35fa9e=_0x4796f3['indexOf'](_0x35fa9e);}for(let _0x14fe3f=-0x1cb8+-0x205d+0x3d15,_0x506164=_0xc4f08b['length'];_0x14fe3f<_0x506164;_0x14fe3f++){_0x3930b4+='%'+('00'+_0xc4f08b['charCodeAt'](_0x14fe3f)['toString'](0x892+0x2a5*-0x3+-0x93))['slice'](-(0x26a0+-0xc5d+-0x1a41));}return decodeURIComponent(_0x3930b4);};_0x15dd['mlrkCY']=_0x1fc5ef,_0x15dd['CswkzL']={},_0x15dd['zDIjyI']=!![];}const _0x454d36=_0x1d875a[0xd0b+0x2038*-0x1+0x132d],_0x4ef27f=_0xcb9aa0+_0x454d36,_0x15bf19=_0x15dd['CswkzL'][_0x4ef27f];return!_0x15bf19?(_0x1147c8=_0x15dd['mlrkCY'](_0x1147c8),_0x15dd['CswkzL'][_0x4ef27f]=_0x1147c8):_0x1147c8=_0x15bf19,_0x1147c8;}export async function loadOidcConfig(_0x36a1cf){const _0x45234f={_0x47a4c0:0xeb,_0x3a3a93:0xb3,_0x155d7a:0xde,_0x532177:0x6c,_0x59cf34:0xa1,_0x4a0c09:0x3d,_0xe458d4:0x8f,_0x5e6583:0x34,_0x4bfd6a:0x30,_0x269408:0x242,_0x34de4f:0x27d,_0x147ac7:0x31f,_0x583f7a:0x2c2,_0x13b78f:0x263,_0x27163c:0x21e,_0x16049c:0x261,_0x201614:0x1f3,_0x4f4668:0x257,_0x4b00fc:0x282,_0x37765a:0x2a4,_0x43f0d1:0x26c,_0x2252f0:0x4b,_0x4639c3:0x4e,_0xc2f804:0x29d,_0x423d35:0x2bd,_0x248cff:0x258,_0x2d02eb:0x224,_0x5c5d0c:0x76,_0x2568e7:0x124,_0x21fad7:0xb9,_0x287547:0x102,_0x1ad9b1:0xca,_0x364bfe:0x50,_0xfce998:0x71,_0x141eb5:0x267,_0x3df311:0x26a,_0x591773:0x20e,_0x50548e:0x264,_0x4c2983:0x64,_0x35ae0d:0x79,_0x5ab30f:0x1ba,_0x1b4a5f:0x216,_0x21ff5d:0x15,_0x154980:0x1b,_0x309229:0x6d,_0x258e88:0x3c,_0x51404a:0xab,_0x5b0489:0x88,_0x57b25a:0x2a7,_0xea68b5:0x21d,_0x541e08:0x298,_0x83f70f:0x74,_0x330914:0x94,_0x1b7b8d:0x66,_0x1c65e0:0x9,_0xb1e2a:0x1d2,_0x53f2c3:0xf7,_0x341809:0x2d3,_0x3c5399:0x279,_0x56469f:0x298,_0x2c30c9:0x25b,_0x5630fd:0x2e5,_0xf2f7e3:0x2bb,_0x4e7672:0xc8,_0x228629:0xb4,_0x2edb52:0x6b,_0x5173d7:0x4f,_0x5d19fb:0x2a5,_0x5c8b73:0x273,_0x41c29a:0x214,_0xb9a39:0x218,_0x3827de:0x1ff,_0x303e5c:0x288,_0x15f9a6:0x127,_0x21f1a6:0x100,_0x28c093:0x3,_0x5109e3:0x119,_0x24a2cc:0xcb,_0x413fe9:0xf2,_0x1f66b6:0x285,_0x1c15f3:0x2c4,_0x4a1b1a:0x2c8,_0x4f32d2:0x28f,_0x29dfbb:0x273,_0x295dd1:0x264,_0x5d1a9a:0x1f6,_0x1752f6:0x23e,_0x5840b5:0x217,_0xccc467:0x268,_0x352033:0x226,_0x130df0:0x208,_0x29cd19:0xf4,_0x2273df:0x98,_0x1ffba7:0x96,_0x236f66:0x9b,_0x3c672a:0x74,_0x55a172:0xe0,_0x287ee4:0xcc,_0x361a05:0xc2,_0x2e4fc8:0xaa,_0x46ae74:0x264,_0x48dcbb:0x23b,_0x4eeab5:0x2b7,_0x3dbca4:0x2ce,_0x500a99:0x286,_0x2a5ad6:0x227,_0x51a631:0x306,_0x5c27ca:0x312,_0x3d1a82:0x2c2,_0x1098cc:0x2af,_0x398432:0x269,_0x3776c2:0x27b,_0x3ade6d:0x1f6,_0x98e543:0x235,_0x2ccd8c:0x86,_0x2380c6:0x284,_0x5cb369:0x270,_0x20b6a9:0x75,_0x5af88c:0x32,_0x4c5440:0x80,_0x25a5d3:0x231,_0x267399:0x210,_0x4c6d52:0x204,_0x2c1b67:0x1e1,_0x10c252:0x2ae,_0x12fc2f:0x2a1,_0x349301:0x28d,_0x443565:0x2e9,_0x59f358:0x298,_0x30894a:0x249,_0x38446c:0xc3,_0x50cb6d:0x281,_0x595fb5:0x5c,_0x50875b:0x9e,_0x14845e:0xa1,_0x26f7bd:0x23f,_0x2b92ab:0x281,_0x2d72e8:0x264,_0x2d4462:0x2c7,_0x511f33:0x26a,_0x34cf4a:0x2b4,_0x40a48a:0x3f,_0x443c88:0xf0,_0x2e8740:0xa0,_0x1ee15:0x2aa,_0x37808b:0x23a,_0x371039:0x291,_0x23f9a7:0x2ac,_0x15ed04:0x7c,_0x44ecc4:0x273,_0x5e00a3:0x294,_0x8b7d60:0x27f,_0x16bb38:0x201,_0x3f12fc:0x244,_0x450a6a:0xe2,_0x14f449:0xaf,_0x1ada87:0x7e,_0x5c323b:0x4a,_0x4ff0a0:0x257,_0x2ed27c:0x2b6,_0x13f9dd:0x229,_0x465bdc:0x14a,_0x3902a4:0xeb,_0x4e1b45:0xe9,_0x4c4da4:0x2d9,_0x173156:0x2a8,_0x2d3d20:0xf7,_0x418c01:0xa4,_0x52edcb:0x278},_0x2c8ff6={_0x5d1bcb:0x53},_0x173890={_0x3f3758:0x17f},_0x4931d6={};function _0x2c4041(_0x1cebf5,_0x3a673d,_0x2fe755,_0x137e98){return _0x15dd(_0x137e98- -_0x173890._0x3f3758,_0x2fe755);}function _0x4add1e(_0x1af79a,_0x1452e6,_0x29f91e,_0x38f284){return _0x15dd(_0x38f284-_0x2c8ff6._0x5d1bcb,_0x1452e6);}_0x4931d6[_0x2c4041(0xe3,_0x45234f._0x47a4c0,0x8f,0x9d)]='ENOENT',_0x4931d6[_0x2c4041(_0x45234f._0x3a3a93,0xfe,0xea,_0x45234f._0x155d7a)]=_0x2c4041(_0x45234f._0x532177,_0x45234f._0x59cf34,_0x45234f._0x4a0c09,_0x45234f._0xe458d4)+_0x2c4041(_0x45234f._0x5e6583,0x84,-0x27,_0x45234f._0x4bfd6a)+_0x4add1e(0x26f,0x22d,0x253,_0x45234f._0x269408)+'nd',_0x4931d6[_0x4add1e(_0x45234f._0x34de4f,0x2b1,_0x45234f._0x147ac7,_0x45234f._0x583f7a)]=_0x4add1e(0x20f,0x292,0x260,0x235)+_0x4add1e(_0x45234f._0x13b78f,0x201,_0x45234f._0x27163c,0x20d)+_0x4add1e(_0x45234f._0x16049c,0x213,_0x45234f._0x201614,0x223)+_0x4add1e(0x29e,_0x45234f._0x4f4668,0x28e,0x25e),_0x4931d6[_0x4add1e(0x2e0,0x29e,0x2fc,0x2a0)]='utf-8',_0x4931d6[_0x4add1e(0x259,0x263,_0x45234f._0x4b00fc,0x25d)]='OIDC\x20authe'+'ntication\x20'+_0x4add1e(0x2c9,_0x45234f._0x37765a,0x270,_0x45234f._0x43f0d1)+_0x2c4041(0x6d,_0x45234f._0x2252f0,-0x4,_0x45234f._0x4639c3)+_0x2c4041(0xa3,0xc1,0x121,0xee),_0x4931d6[_0x4add1e(0x2c8,0x319,_0x45234f._0xc2f804,_0x45234f._0x423d35)]=_0x4add1e(0x2c2,_0x45234f._0x248cff,_0x45234f._0x2d02eb,0x27e),_0x4931d6[_0x2c4041(0x18,0x61,_0x45234f._0x5c5d0c,_0x45234f._0x532177)]=_0x2c4041(_0x45234f._0x2568e7,_0x45234f._0x21fad7,_0x45234f._0x287547,_0x45234f._0x1ad9b1),_0x4931d6[_0x2c4041(0x35,_0x45234f._0x364bfe,0xd2,_0x45234f._0xfce998)]=function(_0x1873fe,_0x508c9b){return _0x1873fe===_0x508c9b;},_0x4931d6['gojYG']=_0x4add1e(_0x45234f._0x141eb5,_0x45234f._0x3df311,0x25b,0x284),_0x4931d6[_0x4add1e(_0x45234f._0x591773,_0x45234f._0x50548e,0x279,0x269)]=_0x2c4041(_0x45234f._0x4c2983,0xd3,0x4f,_0x45234f._0x35ae0d),_0x4931d6[_0x4add1e(_0x45234f._0x5ab30f,0x203,_0x45234f._0x1b4a5f,0x210)]='openid',_0x4931d6[_0x2c4041(-0x9,_0x45234f._0x21ff5d,-0x11,0x33)]=_0x2c4041(_0x45234f._0x154980,0x70,_0x45234f._0x309229,_0x45234f._0x258e88),_0x4931d6[_0x2c4041(_0x45234f._0x51404a,0x5a,_0x45234f._0x5b0489,0xbc)]=function(_0x1f5538,_0x19808c){return _0x1f5538!==_0x19808c;},_0x4931d6[_0x2c4041(0xfb,0x10b,0xb2,0xb1)]=_0x4add1e(0x204,_0x45234f._0x57b25a,_0x45234f._0xea68b5,0x245)+_0x4add1e(_0x45234f._0x541e08,0x304,0x2ee,0x2a3),_0x4931d6[_0x2c4041(_0x45234f._0x83f70f,_0x45234f._0x330914,0xb5,0xa3)]=_0x2c4041(_0x45234f._0x1b7b8d,0x7f,-_0x45234f._0x1c65e0,0x34)+_0x4add1e(_0x45234f._0xb1e2a,0x257,0x1b4,0x204)+'oaded';const _0x295946=_0x4931d6;if(!_0x36a1cf)return null;const _0x17e489=_0x3187fb[_0x2c4041(0xbd,0xbb,_0x45234f._0x53f2c3,0x9c)](_0x36a1cf,_0x4add1e(_0x45234f._0x341809,0x23b,_0x45234f._0x3c5399,_0x45234f._0x56469f));try{await _0x383a0b[_0x4add1e(_0x45234f._0x2c30c9,_0x45234f._0x5630fd,_0x45234f._0xf2f7e3,0x285)](_0x17e489);const _0x2a9c95=await _0x383a0b['readFile'](_0x17e489,_0x295946[_0x2c4041(_0x45234f._0x4e7672,0xf3,_0x45234f._0x228629,0xce)]),_0x322e2f=JSON['parse'](_0x2a9c95);if(!_0x322e2f[_0x2c4041(_0x45234f._0x2edb52,0x18,0x21,_0x45234f._0x5173d7)])return logger[_0x4add1e(0x232,0x265,_0x45234f._0x5d19fb,_0x45234f._0x5c8b73)](_0x295946['epIgS']),null;const _0x9aced3=[_0x295946[_0x4add1e(0x296,0x2b9,0x2af,_0x45234f._0x423d35)],_0x4add1e(_0x45234f._0x41c29a,_0x45234f._0xb9a39,0x27c,0x26a)];for(const _0x2d22ad of _0x9aced3){if(!_0x322e2f[_0x2d22ad])throw new Error(_0x4add1e(_0x45234f._0x3827de,0x1ec,_0x45234f._0x303e5c,0x23f)+_0x2c4041(_0x45234f._0x15f9a6,_0x45234f._0x21f1a6,0xa5,0xd3)+_0x2c4041(0x6a,0x45,0x6a,0x41)+_0x2c4041(0x2a,0x94,_0x45234f._0x28c093,0x5f)+_0x2c4041(0xe0,_0x45234f._0x5109e3,_0x45234f._0x24a2cc,_0x45234f._0x413fe9)+_0x2d22ad);}if(!_0x322e2f[_0x4add1e(_0x45234f._0x1f66b6,_0x45234f._0x1c15f3,_0x45234f._0x4a1b1a,0x268)+_0x4add1e(0x274,_0x45234f._0x4f32d2,0x241,0x263)]&&_0x322e2f['client_sec'+'ret_file']){const _0x4f8834=_0x3187fb[_0x4add1e(_0x45234f._0x29dfbb,0x273,_0x45234f._0x423d35,0x26e)](_0x36a1cf,_0x295946[_0x4add1e(_0x45234f._0x295dd1,_0x45234f._0x5d1a9a,0x26d,_0x45234f._0x1752f6)],_0x322e2f[_0x4add1e(0x21c,0x269,_0x45234f._0x5840b5,_0x45234f._0xccc467)+'ret_file']);try{if(_0x295946['eLWxp'](_0x295946[_0x4add1e(0x1a7,0x1f7,_0x45234f._0x352033,0x208)],_0x295946[_0x4add1e(0x1aa,_0x45234f._0x5ab30f,0x222,_0x45234f._0x130df0)]))_0x322e2f[_0x2c4041(_0x45234f._0x29cd19,_0x45234f._0x2273df,0xd7,_0x45234f._0x1ffba7)+_0x2c4041(_0x45234f._0x236f66,_0x45234f._0x3c672a,_0x45234f._0x55a172,0x91)]=(await _0x383a0b[_0x2c4041(0xf0,0x9f,0x11d,_0x45234f._0x287ee4)](_0x4f8834,_0x295946[_0x2c4041(0xb9,0xdb,_0x45234f._0x361a05,0xce)]))['trim']();else{if(_0x4eb170[_0x2c4041(0x32,0x41,_0x45234f._0x2e4fc8,0x7b)]===_0x295946['NSHFp']){const _0x151a7b={};return _0x151a7b[_0x4add1e(0x2a7,0x2bc,0x2ac,0x2aa)]=_0x3f9bfc,_0x20cf0f[_0x4add1e(0x270,_0x45234f._0x46ae74,0x292,_0x45234f._0x48dcbb)](_0x295946[_0x4add1e(0x2ab,_0x45234f._0x4eeab5,_0x45234f._0x3dbca4,0x2b0)],_0x151a7b),null;}_0x20997f[_0x4add1e(0x1db,0x20d,_0x45234f._0x500a99,_0x45234f._0x2a5ad6)](_0x295946[_0x4add1e(_0x45234f._0x51a631,0x2df,_0x45234f._0x5c27ca,_0x45234f._0x3d1a82)],_0x2dd1c8);throw _0x1acd47;}}catch(_0x51dfdb){if(_0x295946[_0x4add1e(_0x45234f._0x1098cc,_0x45234f._0xc2f804,0x292,_0x45234f._0x398432)]!==_0x295946[_0x4add1e(0x21b,_0x45234f._0x3776c2,0x295,0x269)])return _0x1d875a;else throw new Error(_0x4add1e(0x254,_0x45234f._0x3ade6d,0x28b,_0x45234f._0x98e543)+_0x2c4041(0x2b,_0x45234f._0x2ccd8c,0x4b,0x62)+'client\x20sec'+'ret\x20from\x20'+_0x4f8834+':\x20'+_0x51dfdb[_0x4add1e(_0x45234f._0x2380c6,0x260,0x2b2,_0x45234f._0x5cb369)]);}}_0x322e2f['scopes']=_0x322e2f[_0x2c4041(_0x45234f._0x20b6a9,_0x45234f._0x5af88c,_0x45234f._0x4639c3,_0x45234f._0x4c5440)]||[_0x295946[_0x4add1e(0x218,_0x45234f._0x25a5d3,0x224,_0x45234f._0x267399)],'profile',_0x295946[_0x4add1e(_0x45234f._0x4c6d52,_0x45234f._0x2c1b67,0x219,0x205)]],_0x322e2f[_0x4add1e(0x2a6,_0x45234f._0x10c252,0x2b3,_0x45234f._0x12fc2f)+_0x4add1e(0x25a,0x294,0x2bc,0x266)]=_0x295946['jQeiy'](_0x322e2f[_0x4add1e(0x2f7,0x28c,_0x45234f._0x349301,0x2a1)+'sion'],![]),_0x322e2f[_0x4add1e(_0x45234f._0x443565,0x2ea,_0x45234f._0x59f358,0x299)+'le']=_0x322e2f[_0x4add1e(_0x45234f._0x30894a,_0x45234f._0x30894a,0x286,0x299)+'le']||_0x2c4041(0x11d,0x95,0x6c,_0x45234f._0x38446c),_0x322e2f[_0x4add1e(0x2db,0x279,0x266,_0x45234f._0x50cb6d)+_0x2c4041(0xaf,_0x45234f._0x595fb5,_0x45234f._0x50875b,0x7e)]=_0x295946[_0x2c4041(0x93,_0x45234f._0x14845e,0xa6,0xbc)](_0x322e2f['allow_loca'+_0x2c4041(0x7b,0x6d,0x99,0x7e)],![]),_0x322e2f[_0x4add1e(_0x45234f._0x26f7bd,_0x45234f._0x4f4668,0x23a,0x249)+'me']=_0x322e2f[_0x4add1e(0x233,_0x45234f._0x2b92ab,0x25a,0x249)+'me']||_0x295946[_0x2c4041(0x5f,0x5e,0xa1,0xb1)],cachedConfig=_0x322e2f;const _0x3d728b={};return _0x3d728b[_0x4add1e(_0x45234f._0x2d72e8,_0x45234f._0x2d4462,0x290,_0x45234f._0x511f33)]=_0x322e2f[_0x4add1e(0x2bf,0x275,_0x45234f._0x34cf4a,0x26a)],_0x3d728b[_0x2c4041(0xcc,_0x45234f._0x40a48a,_0x45234f._0x443c88,_0x45234f._0x2e8740)]=_0x322e2f['client_id'],_0x3d728b[_0x4add1e(_0x45234f._0x1ee15,0x2ef,_0x45234f._0x37808b,_0x45234f._0x371039)+_0x4add1e(0x272,0x23e,_0x45234f._0x23f9a7,0x25e)]=_0x322e2f[_0x2c4041(0xad,_0x45234f._0x15ed04,0x89,0xcf)+'sion'],_0x3d728b[_0x4add1e(_0x45234f._0x44ecc4,0x262,0x2b7,_0x45234f._0x5e00a3)+_0x4add1e(_0x45234f._0x8b7d60,0x270,_0x45234f._0x16bb38,_0x45234f._0x3f12fc)]=_0x322e2f[_0x2c4041(0x10d,_0x45234f._0x450a6a,0x6b,_0x45234f._0x14f449)+_0x2c4041(0xbf,0x9f,0xc9,_0x45234f._0x1ada87)],logger[_0x2c4041(0x75,0x86,_0x45234f._0x5c323b,0xa1)](_0x295946[_0x4add1e(0x238,_0x45234f._0x4ff0a0,_0x45234f._0x2ed27c,0x275)],_0x3d728b),_0x322e2f;}catch(_0x328db6){if(_0x328db6[_0x4add1e(_0x45234f._0x13f9dd,0x24e,0x280,0x24d)]===_0x2c4041(0xb4,_0x45234f._0x465bdc,_0x45234f._0x3902a4,_0x45234f._0x4e1b45)){const _0x21180f={};return _0x21180f[_0x4add1e(0x2da,_0x45234f._0x4c4da4,_0x45234f._0x173156,0x2aa)]=_0x17e489,logger['debug'](_0x295946[_0x2c4041(_0x45234f._0x2d3d20,_0x45234f._0x418c01,0x11f,0xde)],_0x21180f),null;}logger[_0x4add1e(0x22d,0x279,_0x45234f._0x52edcb,_0x45234f._0x2a5ad6)](_0x295946['iuiQq'],_0x328db6);throw _0x328db6;}}export function getOidcConfig(){return cachedConfig;}export async function discoverOidcProvider(_0x3a85f8){const _0x48dd9f={_0x5a4a21:0xd5,_0x4835b7:0x124,_0x5b60c5:0xc5,_0x4df164:0xa1,_0x39d5ae:0x4cb,_0x362078:0x44b,_0xda06fc:0x489,_0x238b97:0x414,_0x58f9bf:0x447,_0x710f3e:0x37e,_0x5dffbf:0x40e,_0x4c8559:0x105,_0x3465d0:0x11c,_0x4862ad:0x3fc,_0x25bb74:0x4d4,_0x3c8733:0xac,_0x229263:0xc2,_0x2e56c4:0x3d9,_0x3acf12:0x3ba,_0x32d5bc:0x6d,_0x2743ba:0x6d,_0x3be8ea:0x96,_0x4e4606:0x442,_0x2bdb35:0x48c,_0xebf35e:0x422,_0x4dd032:0x449,_0x4ecc5e:0xa5,_0x230870:0x75,_0x561f2d:0x99,_0x254850:0x103,_0x22edb1:0x4a,_0x38e5d2:0xe1,_0x1f2bc7:0x59,_0x347785:0x429,_0x2cb125:0x471,_0x725450:0xc8,_0x46445d:0x88,_0x44bdf4:0xd3,_0x36c873:0x40d,_0x1724b2:0x409,_0x187c74:0x3f8,_0x7381d7:0x3ce,_0x39337f:0x42d,_0x5a7b00:0x400,_0x218093:0x464,_0x3b7e9f:0x10d,_0x5135cc:0xea,_0x1f5e00:0xbd,_0x2077ba:0x8f,_0x502f1d:0xb2,_0x3866c5:0x3d7,_0x4a55aa:0x81,_0xcf6d02:0x66,_0x1cc1fd:0xbe,_0x4976cd:0xc3,_0x2ab3cd:0x63,_0x19bd42:0x3d7,_0x1e14c9:0x3be,_0x2c54a8:0xcd,_0x55c539:0x3f3},_0x3a569d={};_0x3a569d[_0x5efd89(_0x48dd9f._0x5a4a21,_0x48dd9f._0x4835b7,0x128,0xda)]=function(_0x41682d,_0x23ce6c){return _0x41682d>_0x23ce6c;},_0x3a569d[_0x1feba6(0x465,0x406,0x4b9,0x483)]=function(_0x1ab6c0,_0x39d6e9){return _0x1ab6c0-_0x39d6e9;};function _0x5efd89(_0x41455d,_0x2825c5,_0x3e16f2,_0x4a5955){return _0x15dd(_0x4a5955- -0x16e,_0x2825c5);}function _0x1feba6(_0x42098e,_0x549906,_0x3f7723,_0x5dd38e){return _0x15dd(_0x42098e-0x216,_0x549906);}_0x3a569d[_0x5efd89(0x8b,_0x48dd9f._0x5b60c5,0x9c,_0x48dd9f._0x4df164)]=_0x1feba6(0x46c,_0x48dd9f._0x39d5ae,_0x48dd9f._0x362078,_0x48dd9f._0xda06fc)+_0x1feba6(0x3ec,_0x48dd9f._0x238b97,0x3b1,_0x48dd9f._0x58f9bf)+_0x1feba6(0x3df,0x432,_0x48dd9f._0x710f3e,_0x48dd9f._0x5dffbf),_0x3a569d[_0x5efd89(_0x48dd9f._0x4c8559,0x133,_0x48dd9f._0x3465d0,0xd2)]=_0x1feba6(0x400,0x45b,_0x48dd9f._0x4862ad,0x460)+_0x1feba6(0x476,_0x48dd9f._0x25bb74,0x4ab,0x4a0)+_0x5efd89(_0x48dd9f._0x3c8733,_0x48dd9f._0x229263,0xa1,0xf5)+_0x1feba6(_0x48dd9f._0x2e56c4,_0x48dd9f._0x3acf12,0x3d0,0x3d8),_0x3a569d[_0x5efd89(_0x48dd9f._0x32d5bc,0x73,_0x48dd9f._0x2743ba,_0x48dd9f._0x3be8ea)]=_0x1feba6(_0x48dd9f._0x4e4606,_0x48dd9f._0x2bdb35,_0x48dd9f._0xebf35e,_0x48dd9f._0x4dd032),_0x3a569d['VGfiE']=_0x5efd89(_0x48dd9f._0x4ecc5e,0x58,0x2b,0x74)+_0x5efd89(0x7d,0xf4,_0x48dd9f._0x230870,0xac)+'IDC\x20provid'+'er';const _0x29c65d=_0x3a569d;if(cachedOidcConfig)return cachedOidcConfig;try{const _0x4589ee={};return _0x4589ee[_0x5efd89(_0x48dd9f._0x561f2d,_0x48dd9f._0x254850,_0x48dd9f._0x22edb1,0xa9)]=_0x3a85f8[_0x5efd89(_0x48dd9f._0x38e5d2,0xc3,_0x48dd9f._0x1f2bc7,0xa9)],logger[_0x1feba6(0x436,_0x48dd9f._0x347785,_0x48dd9f._0x2cb125,0x42d)](_0x29c65d[_0x5efd89(_0x48dd9f._0x725450,_0x48dd9f._0x46445d,_0x48dd9f._0x44bdf4,_0x48dd9f._0x4df164)],_0x4589ee),cachedOidcConfig=await _0xfa7437[_0x1feba6(_0x48dd9f._0x36c873,_0x48dd9f._0x1724b2,_0x48dd9f._0x187c74,_0x48dd9f._0x7381d7)](new URL(_0x3a85f8[_0x1feba6(_0x48dd9f._0x39337f,_0x48dd9f._0x5a7b00,_0x48dd9f._0x218093,0x436)]),_0x3a85f8[_0x5efd89(_0x48dd9f._0x3b7e9f,0x93,_0x48dd9f._0x5135cc,_0x48dd9f._0x1f5e00)],_0x3a85f8['client_sec'+_0x5efd89(0x4c,0xca,0x71,0xa2)]),logger[_0x5efd89(0x108,0xea,_0x48dd9f._0x2077ba,_0x48dd9f._0x502f1d)](_0x29c65d['cmzKi']),cachedOidcConfig;}catch(_0x92be9){if(_0x29c65d[_0x1feba6(0x41a,0x448,0x437,_0x48dd9f._0x3866c5)]!==_0x5efd89(0xa8,_0x48dd9f._0x4a55aa,_0x48dd9f._0xcf6d02,_0x48dd9f._0x1cc1fd)){const _0x5f3533=_0x5dd2c1[_0x5efd89(0x2b,_0x48dd9f._0x4976cd,0x2a,_0x48dd9f._0x2ab3cd)]();for(const [_0x2a99d8,_0x476180]of _0x401d3b[_0x1feba6(0x403,_0x48dd9f._0x19bd42,0x3aa,_0x48dd9f._0x1e14c9)]()){_0x29c65d['iPmCk'](_0x29c65d['TvjIQ'](_0x5f3533,_0x476180['createdAt']),_0x4803a8)&&_0x33416d[_0x5efd89(_0x48dd9f._0x2c54a8,0x144,0xd5,0xf1)](_0x2a99d8);}}else{logger[_0x1feba6(0x3ea,0x3ed,0x440,0x3bf)](_0x29c65d[_0x1feba6(0x44f,_0x48dd9f._0x55c539,0x447,0x406)],_0x92be9);throw _0x92be9;}}}export async function generateAuthorizationUrl(_0x1a75f3,_0x45a002){const _0x3f8584={_0x137315:0x2c8,_0x305040:0x328,_0x55481b:0x20,_0x517d11:0xd,_0x2ffeb8:0x2ad,_0x350cb7:0x2e4,_0xc7aa4b:0x27f,_0x560694:0x308,_0x19e66e:0x39e,_0x5e5588:0x3d,_0x3f9044:0x71,_0x458adf:0x9d,_0x4b1ed9:0xd5,_0x37a354:0x3d5,_0x15d16a:0x37f,_0x40f137:0x2e6,_0x4654ce:0x5,_0x33b9e7:0x32f,_0x19d7ab:0x33f,_0x55c798:0x311,_0x28633c:0x332,_0x5aad45:0x2d2,_0x5d1b09:0x2a9,_0x393d50:0x35a,_0x158cad:0x2fd,_0x1b35e8:0x2b1,_0x1decc8:0x9b,_0x4f985b:0x99,_0x16e6bb:0x5c,_0x5dc21b:0xb1,_0x5aadf4:0x5a,_0x2e8683:0x5c,_0x1823a2:0x4,_0x120dc8:0x2a,_0x427754:0x59,_0x102d38:0x47,_0x273e5b:0x17,_0x251e29:0x10,_0x14df69:0x63,_0x14b2a8:0x9a,_0x506b48:0x334,_0x3a324d:0x2da,_0x4452bf:0x68,_0x375f11:0x77,_0x2d7cc6:0xc2,_0x335fa9:0x92,_0x56f365:0x2ce,_0x4d77a8:0x71,_0x1ac757:0x40,_0x6fe328:0x369,_0x17dc82:0x305,_0x52d9d4:0x2fa,_0x689c67:0x36e,_0x391d52:0x317,_0x573af7:0x320,_0x40ff45:0x92,_0xe532ba:0xb8,_0x4613a5:0xe8},_0x1cc7b0={_0x586c98:0x1b8},_0x35f297={_0x362d5f:0x117},_0x3dbb47={};_0x3dbb47['PgPUM']=_0x9477ca(0x2fa,_0x3f8584._0x137315,_0x3f8584._0x305040,0x307),_0x3dbb47['wUGkg']=_0x3e047e(-0x29,_0x3f8584._0x55481b,0x4,_0x3f8584._0x517d11)+_0x9477ca(_0x3f8584._0x2ffeb8,_0x3f8584._0x350cb7,0x2d0,_0x3f8584._0xc7aa4b)+_0x9477ca(_0x3f8584._0x560694,0x39d,0x34b,_0x3f8584._0x19e66e)+'RL',_0x3dbb47[_0x3e047e(_0x3f8584._0x5e5588,_0x3f8584._0x3f9044,0x59,0xc3)]=function(_0x27e57f,_0x2dc758){return _0x27e57f+_0x2dc758;},_0x3dbb47['Yhhvi']=_0x3e047e(0xa2,_0x3f8584._0x458adf,_0x3f8584._0x4b1ed9,0xce);const _0x46573c=_0x3dbb47,_0x5e44c7=await discoverOidcProvider(_0x1a75f3),_0x1688b4=_0x33c311[_0x9477ca(_0x3f8584._0x37a354,0x324,0x385,0x366)+'s'](-0x1d75+-0x12b9+0x1ca*0x1b)[_0x9477ca(0x35a,_0x3f8584._0x15d16a,0x335,_0x3f8584._0x40f137)](_0x46573c[_0x3e047e(-0x13,0x2b,_0x3f8584._0x4654ce,-0x24)]),_0x3160d7=_0x33c311[_0x9477ca(0x387,_0x3f8584._0x33b9e7,0x385,_0x3f8584._0x19d7ab)+'s'](0x56c+-0x1c3*-0x8+-0x1364)[_0x9477ca(0x385,0x2fe,0x335,0x2f6)](_0x46573c[_0x9477ca(_0x3f8584._0x55c798,_0x3f8584._0x28633c,0x2fa,_0x3f8584._0x5aad45)]),_0x236686=_0xfa7437[_0x9477ca(_0x3f8584._0x5d1b09,_0x3f8584._0x393d50,_0x3f8584._0x158cad,_0x3f8584._0x1b35e8)+_0x3e047e(0x91,_0x3f8584._0x1decc8,_0x3f8584._0x4f985b,0x56)+'er']();function _0x9477ca(_0x1e5099,_0x4abf73,_0x15b2ec,_0x12c9b7){return _0x15dd(_0x15b2ec-_0x35f297._0x362d5f,_0x1e5099);}const _0x3b3222=await _0xfa7437[_0x3e047e(0xc9,0xb4,_0x3f8584._0x16e6bb,0xce)+'KCECodeCha'+_0x3e047e(_0x3f8584._0x5dc21b,_0x3f8584._0x5aadf4,0x2b,0x2a)](_0x236686);stateStore[_0x3e047e(-_0x3f8584._0x2e8683,-_0x3f8584._0x1823a2,-0xf,0x12)](_0x1688b4,{'nonce':_0x3160d7,'codeVerifier':_0x236686,'createdAt':Date[_0x3e047e(0x4f,0x19,-_0x3f8584._0x120dc8,-0x2a)]()});const _0x3c99c4={'redirect_uri':_0x45a002,'scope':_0x1a75f3[_0x3e047e(_0x3f8584._0x427754,_0x3f8584._0x102d38,_0x3f8584._0x273e5b,_0x3f8584._0x251e29)][_0x3e047e(0x37,_0x3f8584._0x14df69,0xbb,_0x3f8584._0x14b2a8)]('\x20'),'state':_0x1688b4,'nonce':_0x3160d7,'code_challenge':_0x3b3222,'code_challenge_method':_0x9477ca(_0x3f8584._0x506b48,0x31c,0x2f0,_0x3f8584._0x3a324d)},_0x2291a5=_0xfa7437[_0x3e047e(_0x3f8584._0x4452bf,_0x3f8584._0x375f11,_0x3f8584._0x2d7cc6,0x82)+_0x3e047e(0x46,_0x3f8584._0x335fa9,0x91,0x6e)+'l'](_0x5e44c7,_0x3c99c4);logger[_0x9477ca(0x2f2,_0x3f8584._0x56f365,0x2ff,0x30d)](_0x46573c['wUGkg'],{'state':_0x46573c[_0x3e047e(0x8c,_0x3f8584._0x4d77a8,_0x3f8584._0x1ac757,0x10)](_0x1688b4['substring'](-0x9a+0x486*-0x7+0x2044,-0xa38+0x2*0xfb6+-0x5*0x43c),_0x46573c[_0x9477ca(0x34f,0x312,0x370,_0x3f8584._0x6fe328)]),'redirectUri':_0x45a002});const _0xb9f787={};function _0x3e047e(_0x2d5829,_0x211cf5,_0x5b8898,_0xcba8e9){return _0x15dd(_0x211cf5- -_0x1cc7b0._0x586c98,_0xcba8e9);}return _0xb9f787[_0x9477ca(0x2c7,0x2c9,_0x3f8584._0x17dc82,_0x3f8584._0x52d9d4)]=_0x2291a5[_0x9477ca(_0x3f8584._0x689c67,0x304,_0x3f8584._0x391d52,_0x3f8584._0x573af7)],_0xb9f787[_0x3e047e(_0x3f8584._0x40ff45,_0x3f8584._0xe532ba,_0x3f8584._0x427754,_0x3f8584._0x4613a5)]=_0x1688b4,_0xb9f787;}export async function handleCallback(_0x4f762a,_0x3dc675,_0x3f64fd){const _0x3c088c={_0x57bc4e:0x177,_0x255403:0x134,_0x35ad80:0x15b,_0x13ba08:0x14e,_0x12fdbb:0x184,_0x1ebe21:0x8d,_0x1dc1aa:0x4b,_0x18940c:0x15,_0x4aa9ea:0xb2,_0xdd821b:0x0,_0x29c00c:0x16,_0x468470:0x3e,_0x58c5e7:0x9,_0x314e95:0x8,_0x559afd:0x23,_0x27c23c:0x2c,_0x4832a2:0x7e,_0x44be61:0xca,_0x8a5dc5:0x53,_0x90e2ab:0x1a9,_0x4d710e:0x1cf,_0x4f1caf:0x179,_0x13df90:0x156,_0x2ffd2a:0xbe,_0x1cb21c:0x83,_0x14911b:0x78,_0x58550b:0x128,_0x5f0517:0x124,_0x3d2986:0x1b8,_0x5161c6:0x168,_0x4fcc0e:0x1ab,_0x2b1b25:0x16c,_0x5a68fe:0x16e,_0x2e6673:0x107,_0x11537f:0xab,_0x20eb2e:0x67,_0xf2ba24:0x39,_0x1e4f2a:0x148,_0x3c97a0:0x177,_0x254703:0x1aa,_0x73df6c:0x100,_0x3044f4:0xa6,_0x3787eb:0x147,_0xa951eb:0x185,_0x28e705:0x1a1,_0x5268bb:0x12d,_0x24f534:0x1d1,_0x41e76d:0x18d,_0x36acb4:0x1c9,_0x7bc05c:0x181,_0x18008e:0x1ca,_0x2717e1:0x19d,_0x2a0e70:0xeb,_0x191a1a:0x9c,_0x5e6bc2:0x69,_0x374f72:0x173,_0x4452b2:0x141,_0x15ce65:0x95,_0x2b7268:0x7b,_0x5bbeca:0xcd,_0x58a787:0xc6,_0x725750:0x47,_0x467cd1:0xdf,_0x1c4c5f:0x53,_0xa93fbd:0x26,_0x26a5ff:0x37,_0x4fb3fc:0x6d,_0x179631:0x5a,_0x3a27f8:0x1a,_0xd4e6e3:0x13},_0x2067cb={_0x3a9036:0x35c},_0x2ab86e={_0xac5467:0x262},_0x555ba4={'ledDV':_0xf502b6(-0x1d5,-_0x3c088c._0x57bc4e,-_0x3c088c._0x255403,-_0x3c088c._0x35ad80)+_0xf502b6(-_0x3c088c._0x13ba08,-0x180,-0x137,-_0x3c088c._0x12fdbb),'ygvnb':function(_0x2fb2b7,_0x831cef){return _0x2fb2b7-_0x831cef;},'VrpZH':function(_0x98fc68,_0x4e706d){return _0x98fc68!==_0x4e706d;},'ndbdo':'aeAzi','xoYqR':_0xff9839(-0xe4,-_0x3c088c._0x1ebe21,-0x56,-_0x3c088c._0x1dc1aa)+_0xff9839(-0x22,-0x5f,-_0x3c088c._0x18940c,-_0x3c088c._0x4aa9ea)+_0xff9839(_0x3c088c._0xdd821b,0x2,0x5b,-_0x3c088c._0x29c00c),'OwJAE':function(_0x1ee413,_0x28939b){return _0x1ee413(_0x28939b);},'PPlaD':function(_0x2f2859,_0x5a4e03){return _0x2f2859(_0x5a4e03);}};function _0xff9839(_0x589a95,_0x48a958,_0x2cc88a,_0x3d88e9){return _0x15dd(_0x48a958- -_0x2ab86e._0xac5467,_0x589a95);}const {state:_0x294f45,code:_0x45e5cb}=_0x3f64fd,_0x4ff4d2=stateStore['get'](_0x294f45);if(!_0x4ff4d2)throw new Error(_0xff9839(-_0x3c088c._0x468470,-0x41,_0x3c088c._0x58c5e7,-0x1d)+'\x20expired\x20s'+_0xff9839(0x15,-0x2f,-0x55,-0x60)+_0xff9839(-_0x3c088c._0x314e95,-_0x3c088c._0x559afd,-_0x3c088c._0x27c23c,-_0x3c088c._0x4832a2));function _0xf502b6(_0xd27b51,_0x4b0e76,_0x10aaa8,_0x49b87d){return _0x15dd(_0x4b0e76- -_0x2067cb._0x3a9036,_0x49b87d);}stateStore['delete'](_0x294f45);if(_0x555ba4['ygvnb'](Date[_0xff9839(-0xb1,-0x91,-_0x3c088c._0x44be61,-_0x3c088c._0x8a5dc5)](),_0x4ff4d2[_0xf502b6(-_0x3c088c._0x90e2ab,-0x18a,-_0x3c088c._0x4d710e,-_0x3c088c._0x4f1caf)])>STATE_TTL){if(_0x555ba4[_0xf502b6(-_0x3c088c._0x13df90,-0x19a,-0x1a8,-0x1b9)](_0x555ba4[_0xff9839(-_0x3c088c._0x2ffd2a,-0x7e,-_0x3c088c._0x1cb21c,-0xbb)],_0x555ba4[_0xff9839(-_0x3c088c._0x14911b,-0x7e,-0xa6,-0x38)]))_0x24eb32=null,_0x7f5cb=null,_0x782222['clear'](),_0x4451bb[_0xf502b6(-_0x3c088c._0x58550b,-0x13c,-0x12f,-0x164)](_0x555ba4[_0xf502b6(-0x157,-_0x3c088c._0x5f0517,-0x142,-0xe0)]);else throw new Error(_0x555ba4[_0xf502b6(-_0x3c088c._0x3d2986,-_0x3c088c._0x5161c6,-_0x3c088c._0x4fcc0e,-0x183)]);}const _0x302b1c=await _0x555ba4[_0xf502b6(-_0x3c088c._0x2b1b25,-0x1a4,-0x16b,-0x14c)](discoverOidcProvider,_0x4f762a);try{const _0x480e20=await _0xfa7437[_0xf502b6(-0x10c,-0x115,-_0x3c088c._0x5a68fe,-_0x3c088c._0x2e6673)+_0xff9839(-_0x3c088c._0x11537f,-_0x3c088c._0x20eb2e,-_0x3c088c._0xf2ba24,-0x22)+'nt'](_0x302b1c,new URL(_0x3dc675+'?code='+encodeURIComponent(_0x45e5cb)+'&state='+_0x555ba4[_0xf502b6(-_0x3c088c._0x1e4f2a,-0x192,-0x16a,-_0x3c088c._0x3c97a0)](encodeURIComponent,_0x294f45)),{'pkceCodeVerifier':_0x4ff4d2[_0xf502b6(-0x130,-0x17c,-0x129,-_0x3c088c._0x254703)+'er'],'expectedNonce':_0x4ff4d2[_0xf502b6(-0x12f,-_0x3c088c._0x73df6c,-_0x3c088c._0x3044f4,-0xb1)],'expectedState':_0x294f45}),_0x597372=_0x480e20['claims'](),_0x161c60={};_0x161c60[_0xf502b6(-_0x3c088c._0x3787eb,-0x150,-_0x3c088c._0xa951eb,-_0x3c088c._0x28e705)]=_0x597372[_0xf502b6(-0x12f,-0x150,-_0x3c088c._0x5268bb,-0x148)],_0x161c60[_0xf502b6(-0x19e,-_0x3c088c._0x28e705,-0x16e,-_0x3c088c._0x24f534)]=_0x597372[_0xf502b6(-0x1a6,-_0x3c088c._0x28e705,-_0x3c088c._0x41e76d,-0x1e6)],_0x161c60['name']=_0x597372[_0xf502b6(-_0x3c088c._0x36acb4,-_0x3c088c._0x7bc05c,-_0x3c088c._0x18008e,-_0x3c088c._0x2717e1)],logger['info'](_0xff9839(-0x3b,-0x5c,-0xa5,0x3)+'ntication\x20'+_0xff9839(-_0x3c088c._0x2a0e70,-_0x3c088c._0x191a1a,-_0x3c088c._0x5e6bc2,-0xa9),_0x161c60);const _0x484f0f={};return _0x484f0f[_0xf502b6(-_0x3c088c._0x374f72,-0x173,-_0x3c088c._0x4452b2,-0x18e)]=_0x597372,_0x484f0f[_0xff9839(-0xbc,-0xa6,-0x9f,-_0x3c088c._0x15ce65)+'n']=_0x480e20[_0xff9839(-0xb7,-_0x3c088c._0x2b7268,-_0x3c088c._0x5bbeca,-0xd2)+'en'],_0x484f0f[_0xff9839(-_0x3c088c._0x58a787,-0x8f,-_0x3c088c._0x725750,-_0x3c088c._0x467cd1)]=_0x480e20[_0xff9839(-_0x3c088c._0x1c4c5f,-0x1f,_0x3c088c._0xa93fbd,-0x37)],_0x484f0f;}catch(_0x135e34){logger[_0xff9839(-0x5e,-0x8e,-_0x3c088c._0x26a5ff,-0xa2)](_0xff9839(-_0x3c088c._0x4fb3fc,-0x93,-0x4a,-0x85)+_0xff9839(-0x30,-_0x3c088c._0x179631,-_0x3c088c._0x3a27f8,-_0x3c088c._0xd4e6e3)+'failed',_0x135e34);throw _0x135e34;}}export function getPublicOidcConfig(){const _0x4321da={_0x423edb:0x290,_0x3cadab:0x288,_0xb0b355:0x2d3,_0x5ed003:0x1ad,_0x38a4bf:0x1d0,_0x463f3e:0x20b,_0x5abca2:0x234,_0xef1a21:0xf2,_0x3b0cad:0x103,_0x22671e:0xdc,_0x4748ae:0x19d,_0x4f5d92:0x17f,_0x236eb2:0x186,_0x7a6f42:0x11d,_0x5f258f:0xe1,_0x5028f3:0x294,_0x48a13c:0x25d,_0x130d8b:0x262,_0x25b0fe:0x214,_0x510349:0xc9,_0x3d4633:0x123,_0xfeaff:0xdb,_0x3f107b:0x125,_0x3b57ff:0x15b,_0x4c9187:0x260,_0x3aba3b:0x274};function _0x37df1f(_0x30095b,_0x6d626c,_0x59fd59,_0x562b5){return _0x15dd(_0x6d626c- -0xd3,_0x562b5);}const _0x1b02e7={};_0x1b02e7[_0x3f5415(_0x4321da._0x423edb,_0x4321da._0x3cadab,0x2a1,_0x4321da._0xb0b355)]=_0x3f5415(_0x4321da._0x5ed003,_0x4321da._0x38a4bf,_0x4321da._0x463f3e,_0x4321da._0x5abca2);const _0x184a86=_0x1b02e7;if(!cachedConfig){if(_0x184a86['HyzPw']!==_0x37df1f(0x14a,_0x4321da._0xef1a21,_0x4321da._0x3b0cad,_0x4321da._0x22671e)){if(!_0x4ec214[_0x515d10])throw new _0x43626a('Missing\x20re'+_0x37df1f(_0x4321da._0x4748ae,_0x4321da._0x4f5d92,_0x4321da._0x236eb2,0x129)+'C\x20configur'+_0x37df1f(_0x4321da._0x7a6f42,0x10b,0xf7,_0x4321da._0x5f258f)+_0x3f5415(0x318,_0x4321da._0x5028f3,0x2b7,_0x4321da._0x48a13c)+_0x1ba4ec);}else return null;}function _0x3f5415(_0xef0f5c,_0x42f662,_0x4bb6c2,_0x28b036){return _0x15dd(_0x4bb6c2-0x46,_0xef0f5c);}const _0x16078c={};return _0x16078c[_0x3f5415(0x217,_0x4321da._0x130d8b,_0x4321da._0x25b0fe,0x1bd)]=!![],_0x16078c[_0x37df1f(_0x4321da._0x510349,_0x4321da._0x3d4633,0xc8,0xc8)+'me']=cachedConfig[_0x37df1f(_0x4321da._0xfeaff,0x123,_0x4321da._0x3f107b,0xed)+'me'],_0x16078c[_0x37df1f(0x158,_0x4321da._0x3b57ff,0x18c,0x17a)+'l_auth']=cachedConfig[_0x3f5415(0x2d1,_0x4321da._0x4c9187,_0x4321da._0x3aba3b,0x2b6)+'l_auth'],_0x16078c;}export function clearOidcCache(){const _0x503b89={_0x306c95:0x3bd,_0x500f91:0x3a9,_0xacd0f5:0x3d5,_0x17075c:0x205,_0xe94c6d:0x243,_0x3bb75b:0x220,_0x1e5bc6:0x1ca,_0xbd71e:0x1d8,_0x2d1d31:0x174},_0x152ca9={_0x1fda3a:0x1fe};cachedConfig=null,cachedOidcConfig=null;function _0x2b134d(_0x20e129,_0x2a94d8,_0x4b2cb7,_0x583662){return _0x15dd(_0x20e129-_0x152ca9._0x1fda3a,_0x4b2cb7);}stateStore[_0x2b134d(_0x503b89._0x306c95,_0x503b89._0x500f91,_0x503b89._0xacd0f5,0x37b)]();function _0x2a6c09(_0x541af5,_0xaa8e46,_0x5ca055,_0x26f422){return _0x15dd(_0x541af5- -0x1b,_0x26f422);}logger[_0x2a6c09(_0x503b89._0x17075c,_0x503b89._0xe94c6d,0x1e7,_0x503b89._0x3bb75b)](_0x2a6c09(_0x503b89._0x1e5bc6,_0x503b89._0xbd71e,0x220,_0x503b89._0x2d1d31)+'\x20cleared');}export async function reloadOidcConfig(_0x42f257){const _0x15889c={_0x1b10a6:0xe1,_0x1e0c13:0xab},_0x43fbd9={_0x59e05b:0x299},_0x1ac268={'aBkBf':function(_0x21e32b){return _0x21e32b();},'xurlu':function(_0x544641,_0x2a8e36){return _0x544641(_0x2a8e36);}};function _0x1b6cd6(_0x32f1ba,_0x53b49f,_0x5e55d4,_0x366502){return _0x15dd(_0x366502- -_0x43fbd9._0x59e05b,_0x53b49f);}return _0x1ac268[_0x1b6cd6(-_0x15889c._0x1b10a6,-_0x15889c._0x1e0c13,-0xce,-0xce)](clearOidcCache),await _0x1ac268['xurlu'](loadOidcConfig,_0x42f257);}export async function testOidcDiscovery(_0x37e2f7){const _0xbc7169={_0x61d750:0x589,_0x1aa776:0x595,_0x5db4b0:0x5cb,_0x12e299:0x590,_0x3108d7:0x5f7,_0x3bf90e:0x198,_0x50469e:0x1da,_0x391d61:0x28d,_0x2f98a7:0x55e,_0x5e76c7:0x617,_0x3dfd5a:0x212,_0x26dccb:0x20b,_0x6a1c7a:0x22e,_0x3ca72e:0x5a6,_0x1bb101:0x5ac,_0x17c88e:0x277,_0x518f1a:0x243,_0x2fe37d:0x1c8,_0x106546:0x219,_0x306e51:0x18b,_0x47e252:0x1f6,_0x4017ed:0x171,_0x53122f:0x1cd,_0x4b6a33:0x209,_0x59ad14:0x21e,_0x5c7cf7:0x5a3,_0x5a52a4:0x54d,_0x955e1d:0x557,_0x4a421d:0x22c,_0x31bbd4:0x1f5,_0x2322f0:0x5ee,_0x127284:0x63f,_0x36fa33:0x5dc,_0x1941ca:0x5c5,_0x175759:0x59a,_0x4ab7c8:0x5e9,_0x6a7f29:0x651,_0x1ca95e:0x1a1,_0x42d12d:0x1fb,_0x18dffc:0x1f2,_0x1edecc:0x196,_0xee2b03:0x207,_0x27e344:0x56a,_0x52d82:0x5ec,_0x26fc8e:0x234,_0x124626:0x5c2,_0x30b75d:0x591,_0x3a5c7c:0x1a2,_0xd374b8:0x152,_0x2c1462:0x220,_0x6e8554:0x208,_0x43de2d:0x5eb,_0x58e846:0x642,_0x143d22:0x62b,_0x95b0ed:0x5e5,_0x2a1c93:0x57c,_0x12d2c3:0x631,_0x4ffb31:0x5e3,_0x4101bf:0x59e,_0x1c4007:0x242,_0x55928f:0x16d,_0x26ef2:0x13a,_0x247a5f:0x12b,_0x30236a:0x19e,_0x2269cc:0x1b7,_0x45c0b2:0x1e8,_0x437b35:0x615,_0x563db2:0x5dd,_0x2d0548:0x5b0,_0x3825c1:0x608,_0x369ab9:0x1d9,_0x23f46e:0x203,_0x32fc79:0x21a,_0x12d6cd:0x1fa,_0x4f6799:0x60d,_0x34a87d:0x181,_0x2b95d2:0x1a1,_0x2b7bf4:0x5cb,_0xa02e38:0x5ef,_0x4f1a09:0x58d,_0x620562:0x5cb,_0x314b47:0x615,_0x5e6611:0x5fb,_0xd4bb6f:0x63f,_0x4035c3:0x657,_0x48e53b:0x5c4,_0x4557fc:0x1a3,_0x303393:0x202,_0x57d69a:0x60e,_0x4cb955:0x61a,_0x2e42bd:0x652,_0x5e1b89:0x141,_0x3183b9:0x178,_0x180d1b:0x14a,_0x1f471a:0x1a1,_0x5ea9fb:0x615,_0x55f20e:0x622,_0x2bc663:0x645,_0x2091cf:0x1b6,_0x4841a5:0x267,_0x13eb0b:0x284,_0x56a71e:0x201,_0x47b724:0x1b4,_0x344ba4:0x52c},_0xee27bb={_0x11d31b:0x33};function _0x2651d3(_0x1eb56e,_0x4d70bf,_0x5199ed,_0x3f6efc){return _0x15dd(_0x4d70bf-0x3c6,_0x5199ed);}const _0x121f87={'wEAdy':function(_0x42d01a,_0x24099d){return _0x42d01a>_0x24099d;},'ObqQh':_0x2651d3(_0xbc7169._0x61d750,_0xbc7169._0x1aa776,0x5c2,_0xbc7169._0x5db4b0)+_0x2651d3(_0xbc7169._0x12e299,0x5ce,0x59b,_0xbc7169._0x3108d7)+_0x5d02e7(0x1a2,0x194,_0xbc7169._0x3bf90e,_0xbc7169._0x50469e),'cTSNW':'.well-know'+_0x5d02e7(0x292,_0xbc7169._0x391d61,0x1e7,0x233)+'onfigurati'+'on','cOfPL':function(_0x2bd60f,_0x11301c){return _0x2bd60f+_0x11301c;},'LaJmC':function(_0xb0dbbb,_0x4f3d66,_0x4eac29){return _0xb0dbbb(_0x4f3d66,_0x4eac29);},'iEZhK':_0x2651d3(0x5bb,0x5bf,0x5ea,_0xbc7169._0x2f98a7)+_0x2651d3(0x5ae,0x5c4,0x59e,0x58e),'ICVBA':_0x2651d3(0x627,0x5ed,_0xbc7169._0x5e76c7,0x5a3),'BkWgW':'issuer','tkRto':_0x5d02e7(_0xbc7169._0x3dfd5a,0x1c3,0x262,0x214)+'ion_endpoi'+'nt','EOZWw':function(_0x534bb7,_0x59f1d6){return _0x534bb7>_0x59f1d6;},'CkAZc':'ArAnN','FZYfw':function(_0x234f85,_0x11d93a){return _0x234f85===_0x11d93a;},'WFSht':_0x5d02e7(0x1ff,_0xbc7169._0x26dccb,0x23d,_0xbc7169._0x6a1c7a),'MoUXb':_0x5d02e7(0x1ab,0x260,0x211,0x203)};function _0x5d02e7(_0x59a121,_0x4484bb,_0x17950c,_0x5bb2d6){return _0x15dd(_0x5bb2d6- -_0xee27bb._0x11d31b,_0x4484bb);}try{const _0xf077f5=new URL(_0x121f87['cTSNW'],_0x37e2f7[_0x2651d3(0x55d,0x58d,_0xbc7169._0x3ca72e,_0xbc7169._0x1bb101)]('/')?_0x37e2f7:_0x121f87[_0x5d02e7(_0xbc7169._0x17c88e,_0xbc7169._0x518f1a,_0xbc7169._0x2fe37d,_0xbc7169._0x106546)](_0x37e2f7,'/')),_0x98dedd=await _0x121f87[_0x5d02e7(0x168,0x1b9,_0xbc7169._0x306e51,0x199)](fetch,_0xf077f5[_0x5d02e7(_0xbc7169._0x47e252,0x1d9,_0xbc7169._0x4017ed,_0xbc7169._0x53122f)],{'headers':{'Accept':_0x121f87[_0x5d02e7(0x27e,_0xbc7169._0x518f1a,_0xbc7169._0x4b6a33,_0xbc7169._0x59ad14)]},'signal':AbortSignal[_0x2651d3(0x548,_0xbc7169._0x5c7cf7,_0xbc7169._0x5a52a4,_0xbc7169._0x955e1d)](-0xb*0x37d+0x3d6*0xb+-0x123*-0x1f)});if(!_0x98dedd['ok']){if('jcJLz'!==_0x121f87[_0x5d02e7(_0xbc7169._0x47e252,0x20b,_0xbc7169._0x4a421d,_0xbc7169._0x31bbd4)])return null;else{const _0x954644={};return _0x954644[_0x2651d3(_0xbc7169._0x2322f0,0x620,_0xbc7169._0x127284,_0xbc7169._0x36fa33)]=![],_0x954644[_0x2651d3(_0xbc7169._0x1941ca,_0xbc7169._0x175759,_0xbc7169._0x4ab7c8,0x5de)]=_0x2651d3(0x65b,0x628,_0xbc7169._0x6a7f29,0x602)+_0x5d02e7(_0xbc7169._0x1ca95e,_0xbc7169._0x42d12d,_0xbc7169._0x18dffc,0x1c2)+_0x5d02e7(0x15c,_0xbc7169._0x1edecc,_0xbc7169._0xee2b03,0x1a7)+_0x98dedd[_0x2651d3(_0xbc7169._0x27e344,0x5a5,_0xbc7169._0x52d82,0x602)]+':\x20'+_0x98dedd[_0x5d02e7(0x244,0x20c,0x24e,_0xbc7169._0x26fc8e)],_0x954644;}}const _0x13a756=await _0x98dedd[_0x2651d3(0x5f4,_0xbc7169._0x124626,0x5ce,_0xbc7169._0x30b75d)](),_0x44672e=[_0x121f87[_0x5d02e7(_0xbc7169._0x3a5c7c,0x1f0,0x224,0x1f7)],_0x121f87['tkRto'],_0x5d02e7(_0xbc7169._0xd374b8,0x144,0x1ff,0x1a4)+_0x5d02e7(_0xbc7169._0x2c1462,0x1af,_0xbc7169._0x6e8554,0x1d2)],_0x16330e=_0x44672e[_0x2651d3(0x5d4,_0xbc7169._0x43de2d,_0xbc7169._0x58e846,0x5e6)](_0x387163=>!_0x13a756[_0x387163]);if(_0x121f87['EOZWw'](_0x16330e[_0x2651d3(0x60a,0x61e,_0xbc7169._0x143d22,0x67a)],-0x1288+-0x5da*0x3+0x2416)){if(_0x121f87[_0x2651d3(_0xbc7169._0x95b0ed,0x5de,0x5ba,_0xbc7169._0x2a1c93)]!==_0x2651d3(_0xbc7169._0x12d2c3,_0xbc7169._0x4ab7c8,0x606,_0xbc7169._0x1bb101))_0x121f87[_0x2651d3(_0xbc7169._0x4ffb31,0x5fd,_0xbc7169._0x4101bf,0x644)](_0x13ee25-_0x18a0e0['createdAt'],_0x275098)&&_0x2a884d['delete'](_0x2d41ca);else return{'success':![],'error':_0x5d02e7(0x25b,0x23b,_0xbc7169._0x1c4007,0x22f)+'response\x20m'+'issing\x20req'+_0x5d02e7(_0xbc7169._0x55928f,_0xbc7169._0x26ef2,_0xbc7169._0x247a5f,0x184)+'ds:\x20'+_0x16330e[_0x5d02e7(0x1ed,_0xbc7169._0x30236a,_0xbc7169._0x2269cc,_0xbc7169._0x45c0b2)](',\x20')};}const _0x2176d2={};return _0x2176d2['success']=!![],_0x2176d2[_0x2651d3(_0xbc7169._0x437b35,_0xbc7169._0x563db2,_0xbc7169._0x2d0548,_0xbc7169._0x3825c1)]=_0x13a756['issuer'],_0x2176d2['authorizat'+_0x5d02e7(_0xbc7169._0x369ab9,_0xbc7169._0x23f46e,_0xbc7169._0x32fc79,_0xbc7169._0x12d6cd)+'nt']=_0x13a756[_0x2651d3(0x664,_0xbc7169._0x4f6799,0x5d7,0x656)+'ion_endpoi'+'nt'],_0x2176d2[_0x5d02e7(_0xbc7169._0x34a87d,0x1b3,_0xbc7169._0x2b95d2,0x1a4)+_0x2651d3(0x5af,_0xbc7169._0x2b7bf4,_0xbc7169._0xa02e38,0x5ee)]=_0x13a756['token_endp'+_0x2651d3(_0xbc7169._0x4f1a09,_0xbc7169._0x620562,0x5c4,_0xbc7169._0x314b47)],_0x2176d2[_0x2651d3(0x636,_0xbc7169._0x5e6611,_0xbc7169._0xd4bb6f,_0xbc7169._0x4035c3)+_0x2651d3(0x5cd,0x60a,_0xbc7169._0x48e53b,0x5d2)]=_0x13a756[_0x5d02e7(0x1e9,0x24d,_0xbc7169._0x4557fc,_0xbc7169._0x303393)+'ported']||[],_0x2176d2;}catch(_0x19887a){if(_0x121f87[_0x2651d3(_0xbc7169._0x57d69a,_0xbc7169._0x4cb955,_0xbc7169._0x2e42bd,0x5d6)](_0x121f87[_0x5d02e7(_0xbc7169._0x5e1b89,0x1ae,_0xbc7169._0x3183b9,0x191)],_0x121f87['MoUXb'])){_0x14fe3f[_0x5d02e7(0x194,_0xbc7169._0x47e252,_0xbc7169._0x180d1b,_0xbc7169._0x1f471a)](_0x121f87[_0x2651d3(_0xbc7169._0x5ea9fb,0x603,_0xbc7169._0x55f20e,0x5f5)],_0x506164);throw _0x1f0a74;}else{const _0x1fc4bd={};return _0x1fc4bd[_0x5d02e7(_0xbc7169._0x2fe37d,0x251,0x233,0x227)]=![],_0x1fc4bd[_0x5d02e7(0x1a1,_0xbc7169._0x3a5c7c,0x1c4,0x1a1)]=_0x19887a[_0x2651d3(_0xbc7169._0x2bc663,0x5e3,0x5d9,_0xbc7169._0xa02e38)]||_0x5d02e7(_0xbc7169._0x2091cf,0x1fb,_0xbc7169._0x42d12d,0x1af)+_0x5d02e7(0x256,_0xbc7169._0x4841a5,_0xbc7169._0x13eb0b,0x232)+_0x5d02e7(_0xbc7169._0x56a71e,_0xbc7169._0x47b724,0x1ed,0x1c0)+_0x2651d3(_0xbc7169._0x344ba4,0x57c,0x560,0x577),_0x1fc4bd;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5ef2f7,_0x5628e3){const _0x2dac7b={_0xf7988:0x235,_0xd5cc68:0x233,_0x44fa79:0x23b,_0x4dfb3c:0x25d,_0x380326:0x24c,_0x5f04d0:0x26e,_0x1e0640:0x23f,_0x2648d2:0x1c4,_0x259e1d:0x226,_0x3d9e25:0x217,_0x59073f:0x23e,_0x58128c:0x258,_0xfc4269:0x245,_0x5703ba:0x206,_0x4ea8a4:0x215,_0x106206:0x1fe},_0x1526f0=_0x5ef2f7();function _0x51c094(_0x4b15b3,_0x1119b0,_0x213a81,_0x4b8185){return _0x1623(_0x1119b0- -0x246,_0x213a81);}function _0x5d8518(_0x2bbbb7,_0x42b4df,_0x4a4d1f,_0x2febb4){return _0x1623(_0x4a4d1f- -0x2d1,_0x2febb4);}while(!![]){try{const _0x49a629=parseInt(_0x5d8518(-_0x2dac7b._0xf7988,-0x237,-0x249,-0x247))/(0xbd0+0x1c2*0x1+-0xd91)*(-parseInt(_0x5d8518(-_0x2dac7b._0xd5cc68,-0x23a,-0x220,-0x20a))/(-0x8d5+0x1*0x19b4+-0x10dd))+parseInt(_0x51c094(-0x193,-0x193,-0x181,-0x187))/(0x1422+0x1*-0x1b1a+0x6fb)*(parseInt(_0x5d8518(-_0x2dac7b._0x44fa79,-0x216,-0x23a,-0x230))/(0xc*-0x1bb+-0xa*-0x1f3+-0x21*-0xa))+parseInt(_0x5d8518(-0x25e,-_0x2dac7b._0x4dfb3c,-_0x2dac7b._0x380326,-0x24e))/(-0xcd9+-0x2*-0x511+0x2bc)*(-parseInt(_0x5d8518(-_0x2dac7b._0x5f04d0,-0x26f,-0x24b,-_0x2dac7b._0x1e0640))/(0x23ca+0x1dd6*0x1+0x6*-0xaef))+parseInt(_0x51c094(-0x1b3,-_0x2dac7b._0x2648d2,-0x1a3,-0x1dc))/(-0x1940+-0x13*-0x1a5+0x17e*-0x4)*(parseInt(_0x51c094(-0x1c7,-0x1b3,-0x1af,-0x1b8))/(-0xc49+0x19*-0x10d+-0x382*-0xb))+-parseInt(_0x5d8518(-0x206,-_0x2dac7b._0x259e1d,-_0x2dac7b._0x3d9e25,-_0x2dac7b._0x59073f))/(-0x15e1+0x9*0x292+-0x8*0x27)*(-parseInt(_0x5d8518(-0x222,-_0x2dac7b._0x58128c,-_0x2dac7b._0xfc4269,-0x242))/(0x1101+0x1af1+0xa*-0x464))+parseInt(_0x51c094(-0x18e,-0x19d,-0x18d,-0x1ad))/(-0x4b*-0x5c+-0x22*0xcc+0x2f)+parseInt(_0x5d8518(-0x215,-_0x2dac7b._0x5703ba,-_0x2dac7b._0x4ea8a4,-_0x2dac7b._0x106206))/(-0xed6+-0x7a5*-0x1+0x73d*0x1);if(_0x49a629===_0x5628e3)break;else _0x1526f0['push'](_0x1526f0['shift']());}catch(_0x1350d8){_0x1526f0['push'](_0x1526f0['shift']());}}}(_0x9e37,-0x324a4+0x1*0x4cd44+-0xd829*-0x1));import _0x547328 from'crypto';import{logger}from'./logger.js';const DEVICE_TTL_MS=(-0x1c58+0x2*-0x112f+0x3ec0)*(-0x1fc0+0x87a*0x1+0x1782)*(0xaf*0x1+-0x1ea6*-0x1+-0x19d*0x11),POLL_INTERVAL_MS=(0x1317+0x2625+-0x3939)*(-0x5ae*0x1+0x12a0*-0x2+-0x2ed6*-0x1),CODE_CHARS=_0x6fb532(0x4b,0x2a,0x33,0x2b)+'LMNPQRSTUV'+'WXYZ234567'+'89',USER_CODE_LENGTH=-0x1*-0x221b+-0xd*0x28d+0x9*-0x1a,deviceStore=new Map(),userCodeToDevice=new Map(),stateToDevice=new Map();function randomUserCode(){const _0x403426={_0x1797a5:0x20e,_0x126e80:0x1f1,_0x46fd25:0x20a,_0x1839fd:0x229,_0x28f0e1:0x21b,_0x512333:0x204,_0x25024e:0x222,_0x9bf9a2:0x1cd},_0x3aa580={_0x454f61:0xd1,_0x15ce0f:0x22f},_0x341cc6={_0x48d23a:0x1c9},_0x80a15f={};_0x80a15f[_0x33e943(0x1fd,_0x403426._0x1797a5,_0x403426._0x126e80,_0x403426._0x46fd25)]=function(_0x75efa4,_0x4a3a9b){return _0x75efa4<_0x4a3a9b;};const _0x326f26=_0x80a15f;let _0x45b93a='';for(let _0x20a122=0x240b+0x2620+-0x4a2b;_0x326f26['sHisn'](_0x20a122,USER_CODE_LENGTH);_0x20a122+=0x1b6c+-0xde4+-0xd87){const _0x2206a0=_0x547328[_0x33e943(0x1d1,0x1c9,0x1e4,0x1fa)](-0x107*-0x25+-0x20fc+0x8f*-0x9,CODE_CHARS[_0x2ce85c(-0x201,-_0x403426._0x1839fd,-0x206,-_0x403426._0x28f0e1)]);_0x45b93a+=CODE_CHARS[_0x2206a0];}function _0x33e943(_0x93c009,_0x5f5c63,_0x2282fd,_0x22dfc0){return _0x6fb532(_0x93c009-0xfc,_0x5f5c63-0x1bd,_0x2282fd-_0x341cc6._0x48d23a,_0x93c009);}function _0x2ce85c(_0x48ceed,_0x25d3dc,_0x576ee8,_0x4232a6){return _0x6fb532(_0x48ceed-_0x3aa580._0x454f61,_0x25d3dc-0x1b2,_0x4232a6- -_0x3aa580._0x15ce0f,_0x25d3dc);}return _0x45b93a[_0x2ce85c(-_0x403426._0x512333,-0x225,-_0x403426._0x25024e,-0x20e)](0x1*0xca3+0x7e*0x11+-0x13*0x11b,0x2b3*-0x6+-0x3*-0x5a7+-0xbf*0x1)+'-'+_0x45b93a[_0x33e943(0x1d6,_0x403426._0x9bf9a2,0x1ea,0x1c6)](0x53d*-0x7+0x1f41+0x56e);}function isExpired(_0x23e7dc){const _0x119b0c={_0x55f56f:0x20e,_0x35c809:0x22d,_0x108e2f:0x1f9,_0x729c4c:0x230,_0x1c8255:0x129,_0x112f96:0x13f,_0x3884d9:0x13c,_0x4e6d50:0x148,_0x332dc8:0x115},_0x2bb23b={_0x3550aa:0x92,_0x43b7a1:0xeb},_0x28e2a2={_0xf746cc:0x171,_0x250223:0xe7,_0x56ac12:0x1e2},_0x32cdc3={};function _0x5d58f3(_0x517bb0,_0x1df2fc,_0x148dca,_0x30841c){return _0x6fb532(_0x517bb0-_0x28e2a2._0xf746cc,_0x1df2fc-_0x28e2a2._0x250223,_0x517bb0-_0x28e2a2._0x56ac12,_0x148dca);}_0x32cdc3[_0x5d58f3(_0x119b0c._0x55f56f,_0x119b0c._0x35c809,0x228,0x226)]=function(_0x57ae52,_0x41a7f9){return _0x57ae52>_0x41a7f9;};function _0x29cc75(_0xdcc90d,_0x36e12c,_0x40fe4d,_0x119afa){return _0x6fb532(_0xdcc90d-_0x2bb23b._0x3550aa,_0x36e12c-0x1ca,_0x36e12c-_0x2bb23b._0x43b7a1,_0x40fe4d);}const _0xffa54b=_0x32cdc3;return _0xffa54b[_0x5d58f3(0x20e,_0x119b0c._0x108e2f,_0x119b0c._0x729c4c,0x22a)](Date[_0x29cc75(_0x119b0c._0x1c8255,_0x119b0c._0x112f96,0x150,_0x119b0c._0x3884d9)](),_0x23e7dc[_0x29cc75(_0x119b0c._0x4e6d50,0x127,0x149,_0x119b0c._0x332dc8)]);}function cleanupExpired(){const _0x2e38fc={_0x2ebf17:0x306,_0x22468a:0x328,_0x15bd4a:0x2d7,_0x2f40e4:0x317,_0xfd304c:0x29d,_0x3d9798:0x2f5,_0x2e84b0:0x2fa,_0x79737d:0x255,_0x44fdea:0x25b,_0x5749f7:0x27a,_0x71d66c:0x2e0,_0x3f4a01:0x2fb,_0x44e35c:0x2be,_0x4527ae:0x2a5,_0x551217:0x2df,_0x49ff54:0x2bc,_0x3f8fd0:0x2da,_0x14e3f5:0x313,_0x51cda1:0x308,_0x41c99a:0x315,_0x96cd94:0x314,_0x221c80:0x31a,_0x22857d:0x302,_0x256eb9:0x2d2,_0x49be04:0x319,_0x5c97f8:0x2a4,_0x6233b2:0x299,_0x48da43:0x2ba,_0x55681e:0x29f,_0x3977bf:0x2d7,_0x1206ff:0x2b4,_0x340ca8:0x2c9,_0x48e6ad:0x2b8,_0x29332e:0x29f,_0x297e6c:0x287,_0x259c17:0x2a9,_0x114f9f:0x2e2,_0x3b95c8:0x32c,_0x1f649b:0x2c1,_0x159ac4:0x2ab,_0x5880aa:0x281,_0x11f126:0x274,_0x5f0184:0x267,_0xb08ad1:0x28c,_0x15f4fa:0x2f3,_0x45eb41:0x2ce,_0x2604a0:0x2e8,_0x417b62:0x2fd,_0x276a5a:0x2c1,_0x12c82c:0x318,_0x56f283:0x2d0,_0x57ec2c:0x29c,_0x5dc0cd:0x2c7,_0x2cd79f:0x28d,_0x2a754e:0x295,_0x322470:0x2ad,_0x215669:0x30d,_0x1eb5a5:0x2f1,_0x195656:0x2e9},_0xe1a3dc={_0x1be03f:0x333},_0x21c8b6={_0x146c8b:0x27,_0x956506:0x26d},_0x18fdc2={};_0x18fdc2[_0x1ad890(-0x305,-_0x2e38fc._0x2ebf17,-0x2e5,-_0x2e38fc._0x22468a)]=function(_0x592666,_0x45ed9e){return _0x592666>_0x45ed9e;},_0x18fdc2['qwATF']=function(_0x52c3cc,_0x17de6a){return _0x52c3cc>_0x17de6a;},_0x18fdc2[_0x1ad890(-0x2f1,-_0x2e38fc._0x15bd4a,-0x2cd,-_0x2e38fc._0x2f40e4)]=function(_0x35df3,_0x3e72d7){return _0x35df3===_0x3e72d7;},_0x18fdc2[_0x231e97(_0x2e38fc._0xfd304c,0x2d9,0x2ce,0x2b4)]='GxKYk',_0x18fdc2[_0x1ad890(-_0x2e38fc._0x3d9798,-0x2db,-0x317,-_0x2e38fc._0x2e84b0)]=function(_0x585b28,_0xfba15c){return _0x585b28!==_0xfba15c;};function _0x231e97(_0x21edc5,_0x2f5cea,_0xaeaefe,_0x2d448f){return _0x6fb532(_0x21edc5-0xc8,_0x2f5cea-_0x21c8b6._0x146c8b,_0x2d448f-_0x21c8b6._0x956506,_0x2f5cea);}_0x18fdc2[_0x231e97(_0x2e38fc._0x79737d,_0x2e38fc._0x44fdea,0x25f,_0x2e38fc._0x5749f7)]=_0x1ad890(-0x2fe,-_0x2e38fc._0x71d66c,-_0x2e38fc._0x3f4a01,-0x312),_0x18fdc2[_0x231e97(0x2b4,_0x2e38fc._0x44e35c,0x2a6,0x2aa)]=_0x231e97(0x2bc,_0x2e38fc._0x4527ae,0x2b7,0x2be);function _0x1ad890(_0x29bf0d,_0x138f60,_0x985a0e,_0x3dab9e){return _0x6fb532(_0x29bf0d-0x3a,_0x138f60-0xcd,_0x29bf0d- -_0xe1a3dc._0x1be03f,_0x138f60);}const _0x559bda=_0x18fdc2,_0x5d7969=Date[_0x1ad890(-_0x2e38fc._0x551217,-_0x2e38fc._0x49ff54,-0x2f1,-_0x2e38fc._0x3f8fd0)]();for(const [_0xbdf043,_0x44117c]of deviceStore[_0x1ad890(-_0x2e38fc._0x14e3f5,-_0x2e38fc._0x51cda1,-_0x2e38fc._0x41c99a,-0x2f0)]()){_0x559bda[_0x1ad890(-_0x2e38fc._0x96cd94,-_0x2e38fc._0x221c80,-0x33a,-_0x2e38fc._0x22857d)](_0x5d7969,_0x44117c[_0x1ad890(-0x2f7,-_0x2e38fc._0x256eb9,-_0x2e38fc._0x49be04,-0x2f7)])&&(_0x559bda[_0x231e97(_0x2e38fc._0x5c97f8,_0x2e38fc._0x6233b2,_0x2e38fc._0x48da43,0x2af)](_0x559bda[_0x231e97(_0x2e38fc._0x55681e,0x2d9,_0x2e38fc._0x3977bf,_0x2e38fc._0x1206ff)],_0x559bda[_0x231e97(0x28f,0x2a3,_0x2e38fc._0x340ca8,0x2b4)])?(deviceStore[_0x231e97(0x294,_0x2e38fc._0x48e6ad,0x2ad,0x2ad)](_0xbdf043),userCodeToDevice['delete'](_0x44117c['userCode'])):_0x559bda['FQiWb'](_0x34156b,_0x134578[_0x231e97(_0x2e38fc._0x29332e,_0x2e38fc._0x297e6c,0x2aa,_0x2e38fc._0x259c17)])&&(_0x4c245b[_0x231e97(0x2b2,0x2b9,0x2c0,0x2ad)](_0x363802),_0x20aa45['delete'](_0x4e6ca8[_0x1ad890(-0x2ef,-0x2f5,-0x2f0,-_0x2e38fc._0x114f9f)])));}for(const [_0x333535,_0x2b80f8]of stateToDevice[_0x1ad890(-_0x2e38fc._0x14e3f5,-_0x2e38fc._0x3b95c8,-0x2fc,-0x30d)]()){if(_0x559bda[_0x231e97(0x2a7,_0x2e38fc._0x1f649b,0x295,_0x2e38fc._0x159ac4)](_0x559bda[_0x231e97(_0x2e38fc._0x5880aa,_0x2e38fc._0x11f126,_0x2e38fc._0x5f0184,0x27a)],_0x559bda[_0x231e97(_0x2e38fc._0xb08ad1,0x26f,0x282,0x27a)]))_0x5b0ca2[_0x1ad890(-_0x2e38fc._0x15f4fa,-0x30e,-0x2d7,-_0x2e38fc._0x45eb41)](_0x38f19d);else{const _0x52f90b=deviceStore[_0x1ad890(-_0x2e38fc._0x2604a0,-_0x2e38fc._0x417b62,-0x2c4,-_0x2e38fc._0x276a5a)](_0x2b80f8);if(!_0x52f90b||_0x5d7969>_0x52f90b[_0x1ad890(-0x2f7,-_0x2e38fc._0x12c82c,-0x2ec,-0x2ef)]){if(_0x559bda[_0x231e97(0x28c,_0x2e38fc._0xb08ad1,_0x2e38fc._0x56f283,0x2aa)]===_0x559bda[_0x231e97(_0x2e38fc._0x57ec2c,_0x2e38fc._0x259c17,_0x2e38fc._0x5dc0cd,0x2aa)])stateToDevice[_0x231e97(_0x2e38fc._0x2cd79f,_0x2e38fc._0x2a754e,0x2b5,_0x2e38fc._0x322470)](_0x333535);else{const _0x1bb097={};return _0x1bb097[_0x1ad890(-_0x2e38fc._0x215669,-0x32d,-_0x2e38fc._0x1eb5a5,-_0x2e38fc._0x195656)]='expired',_0x1bb097;}}}}}const cleanupInterval=setInterval(cleanupExpired,(0x16c6+0x23bc*0x1+0x3a46*-0x1)*(0x1ef0+0x5*-0x664+0x3f*0x14));cleanupInterval['unref']();export function createDeviceFlow(){const _0x47b01a={_0x72cf40:0x287,_0x8f104c:0x26b,_0x278760:0x2a6,_0x2b949e:0x152,_0x947574:0x142,_0x5d258c:0x15c,_0x296ed0:0x147,_0x1f6b65:0x14b,_0x114399:0x15b,_0x421821:0x157,_0x1083a2:0x138,_0x1e2849:0x282,_0x35eeec:0x282,_0x35233e:0x26a,_0x329909:0x27d,_0xcac9d2:0x127,_0x4c2b62:0x16d,_0x6401ec:0x28a,_0x3c2f41:0x29b,_0x2b6af3:0x23c,_0x18192e:0x257,_0x57a12d:0x264,_0x4e619e:0x233,_0x8c45ab:0x29a,_0x417885:0x154,_0xb8468f:0x132,_0x459d25:0x14d,_0x311af3:0x13f,_0xac431d:0x279,_0x36abcb:0x26d,_0x5a36ae:0x271,_0xc4de9b:0x152,_0x1bec0c:0x145,_0xbcd5e9:0x13c,_0x402c35:0x15d,_0x2a9a3e:0x252,_0x269a4f:0x26e,_0x36005c:0x261,_0x24b2bf:0x26b,_0xbec06b:0x143,_0x3072b6:0x166},_0x27b435={_0xb0b2c4:0x13b},_0x301b78={_0x584b4f:0xca,_0x515cc4:0x190,_0x4079d0:0x116},_0x85b73f={'oFvgA':_0x1f93ad(_0x47b01a._0x72cf40,0x29b,_0x47b01a._0x8f104c,_0x47b01a._0x278760),'QZdoz':function(_0x470015){return _0x470015();},'qbwlb':_0x63c5e7(0x17c,0x165,_0x47b01a._0x2b949e,0x17e),'MrDDx':function(_0x38e25b,_0x19dcc8){return _0x38e25b/_0x19dcc8;}};let _0x1cc5e9=randomUserCode();while(userCodeToDevice[_0x63c5e7(_0x47b01a._0x947574,_0x47b01a._0x5d258c,0x151,0x161)](_0x1cc5e9)){_0x85b73f[_0x63c5e7(0x16d,_0x47b01a._0x296ed0,_0x47b01a._0x1f6b65,0x154)]!==_0x63c5e7(0x154,_0x47b01a._0x114399,_0x47b01a._0x421821,_0x47b01a._0x1083a2)?(_0x194b60[_0x1f93ad(_0x47b01a._0x1e2849,0x29b,0x270,0x25b)](_0x5dc9e3),_0x4c8c4e[_0x1f93ad(_0x47b01a._0x35eeec,_0x47b01a._0x35233e,_0x47b01a._0x329909,0x269)](_0x1132f8['userCode'])):_0x1cc5e9=_0x85b73f[_0x63c5e7(_0x47b01a._0xcac9d2,0x14c,_0x47b01a._0x4c2b62,0x12b)](randomUserCode);}const _0x2489d8=_0x547328[_0x1f93ad(_0x47b01a._0x6401ec,_0x47b01a._0x3c2f41,0x285,0x2a6)+'s'](-0x1*-0xe03+0x177b+0x12af*-0x2)[_0x1f93ad(0x24e,_0x47b01a._0x2b6af3,0x231,0x25f)](_0x85b73f[_0x1f93ad(0x24c,_0x47b01a._0x18192e,_0x47b01a._0x57a12d,_0x47b01a._0x4e619e)]),_0x1ff06e=Date[_0x1f93ad(0x296,0x2a8,_0x47b01a._0x8c45ab,0x28c)](),_0x14e4de={};_0x14e4de[_0x63c5e7(_0x47b01a._0x417885,0x13f,0x11b,_0x47b01a._0xb8468f)]=_0x2489d8;function _0x63c5e7(_0x3dba59,_0x7dcb3d,_0x523729,_0x42da13){return _0x6fb532(_0x3dba59-_0x301b78._0x584b4f,_0x7dcb3d-_0x301b78._0x515cc4,_0x7dcb3d-_0x301b78._0x4079d0,_0x3dba59);}_0x14e4de[_0x63c5e7(_0x47b01a._0x459d25,0x15a,0x13f,_0x47b01a._0x311af3)]=_0x1cc5e9,_0x14e4de[_0x1f93ad(_0x47b01a._0xac431d,_0x47b01a._0x36abcb,0x26d,_0x47b01a._0x5a36ae)]=_0x1ff06e,_0x14e4de[_0x63c5e7(0x14a,_0x47b01a._0xc4de9b,_0x47b01a._0x1bec0c,_0x47b01a._0x4c2b62)]=_0x1ff06e+DEVICE_TTL_MS,_0x14e4de[_0x63c5e7(0x15e,_0x47b01a._0xbcd5e9,0x119,_0x47b01a._0x402c35)]=_0x1f93ad(_0x47b01a._0x2a9a3e,0x22f,0x265,0x23f),_0x14e4de[_0x1f93ad(0x266,_0x47b01a._0x269a4f,0x282,_0x47b01a._0x36005c)]=null,_0x14e4de['user']=null;function _0x1f93ad(_0x23bd3b,_0x36230a,_0xf4748c,_0x37b632){return _0x6fb532(_0x23bd3b-0x177,_0x36230a-_0x27b435._0xb0b2c4,_0x23bd3b-0x242,_0xf4748c);}const _0x3ce91b=_0x14e4de;return deviceStore[_0x63c5e7(0x151,0x12f,0x119,0x115)](_0x2489d8,_0x3ce91b),userCodeToDevice[_0x1f93ad(0x25b,_0x47b01a._0x35eeec,0x266,0x27d)](_0x1cc5e9,_0x2489d8),{'deviceCode':_0x2489d8,'userCode':_0x1cc5e9,'expiresIn':Math[_0x1f93ad(0x25f,_0x47b01a._0x24b2bf,0x269,0x25c)](_0x85b73f[_0x63c5e7(0x141,_0x47b01a._0xbec06b,_0x47b01a._0x3072b6,0x141)](DEVICE_TTL_MS,0x19fe+-0x9aa*0x1+-0xc6c)),'interval':Math['floor'](POLL_INTERVAL_MS/(-0x53*-0x3b+-0x1716+0x7dd))};}export function getDeviceFlow(_0x35ebda){const _0x430bf7={_0x1f7fb8:0x38e,_0x48ccd3:0x39a,_0x464723:0x5a,_0x388127:0x64,_0x3a4da7:0x2d,_0x4d0bfa:0x43,_0x27a6d4:0x384,_0x4701db:0x3ce,_0x2cf585:0x58,_0x549a0e:0x42,_0x1a9a49:0x45,_0x2ad42f:0x3cd,_0x4a5b82:0x3b5,_0x4b202d:0x3ae,_0x2cc9bf:0x3d2},_0x545c60={_0x54136a:0x1ac,_0x23b1f2:0x12c},_0x4f3620={_0x4377eb:0x380};function _0x4828d1(_0x14e8d3,_0x16c3b2,_0x28cedb,_0x4ba262){return _0x6fb532(_0x14e8d3-0x13f,_0x16c3b2-0x1de,_0x16c3b2-_0x4f3620._0x4377eb,_0x4ba262);}const _0x1a1ea0={'GiARM':function(_0x3e792a,_0x2fcf8e){return _0x3e792a(_0x2fcf8e);},'pacpp':function(_0x17a081,_0x14a3a7){return _0x17a081!==_0x14a3a7;},'HVXwK':_0x4828d1(0x378,_0x430bf7._0x1f7fb8,_0x430bf7._0x48ccd3,0x38f)},_0x465bd3=deviceStore[_0x22620e(-_0x430bf7._0x464723,-0x51,-_0x430bf7._0x388127,-0x4d)](_0x35ebda);if(!_0x465bd3||_0x1a1ea0[_0x22620e(-0x53,-_0x430bf7._0x3a4da7,-0x62,-_0x430bf7._0x4d0bfa)](isExpired,_0x465bd3)){if(_0x1a1ea0[_0x4828d1(_0x430bf7._0x27a6d4,0x3aa,_0x430bf7._0x4701db,0x3be)](_0x1a1ea0[_0x22620e(-_0x430bf7._0x2cf585,-_0x430bf7._0x549a0e,-0x3f,-_0x430bf7._0x1a9a49)],_0x1a1ea0[_0x4828d1(0x3ae,_0x430bf7._0x2ad42f,0x3e2,0x3be)])){const _0x54b12d=_0xe88625['get'](_0x40398a);if(!_0x54b12d)return null;return _0x1fcae5[_0x4828d1(_0x430bf7._0x4a5b82,0x3c0,0x3a0,_0x430bf7._0x4b202d)](_0x2a4d4e),_0x1a1ea0[_0x4828d1(0x3e9,_0x430bf7._0x2cc9bf,0x3e7,0x3af)](_0xf0e8fa,_0x54b12d);}else return null;}function _0x22620e(_0x1cdc1a,_0x1e3488,_0x539a79,_0x5db3df){return _0x6fb532(_0x1cdc1a-_0x545c60._0x54136a,_0x1e3488-_0x545c60._0x23b1f2,_0x1cdc1a- -0xa5,_0x1e3488);}return _0x465bd3;}function _0x1623(_0xa86f21,_0x133644){_0xa86f21=_0xa86f21-(-0x8bc+0x1ce6+-0x1*0x13b1);const _0xbcacc5=_0x9e37();let _0x5094fe=_0xbcacc5[_0xa86f21];if(_0x1623['lQecAX']===undefined){var _0x2958f2=function(_0x59e18a){const _0x2bcd2c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x16c892='',_0x40c916='';for(let _0x480c16=0x15ca+-0x162e+-0x19*-0x4,_0x416ff9,_0x561e54,_0x1a04ab=-0xa*-0x5+0x1f59+-0x1f8b;_0x561e54=_0x59e18a['charAt'](_0x1a04ab++);~_0x561e54&&(_0x416ff9=_0x480c16%(-0x25*-0x8+0x290*0x3+-0x8d4)?_0x416ff9*(0x52e+0x10af+-0x159d)+_0x561e54:_0x561e54,_0x480c16++%(0x1fa1+0x3*-0x71b+-0xa4c))?_0x16c892+=String['fromCharCode'](-0x1cfd+0x10e5+0xd17&_0x416ff9>>(-(0x26ed+-0x6*-0x153+-0x2edd)*_0x480c16&0x39a+-0x1*0x1748+0xc2*0x1a)):-0x17*0x194+-0xc4f+0x309b){_0x561e54=_0x2bcd2c['indexOf'](_0x561e54);}for(let _0x46bdd5=0x277*-0xa+-0x1259+0x2aff,_0x5c89ae=_0x16c892['length'];_0x46bdd5<_0x5c89ae;_0x46bdd5++){_0x40c916+='%'+('00'+_0x16c892['charCodeAt'](_0x46bdd5)['toString'](0x75c+-0x34f+0x3fd*-0x1))['slice'](-(-0x3ca*0x5+-0x145*-0x9+0x787));}return decodeURIComponent(_0x40c916);};_0x1623['NYOxzI']=_0x2958f2,_0x1623['vZUMuP']={},_0x1623['lQecAX']=!![];}const _0x39fd4c=_0xbcacc5[-0x7*-0x54b+0x2387+0x244a*-0x2],_0x5e1074=_0xa86f21+_0x39fd4c,_0x54badc=_0x1623['vZUMuP'][_0x5e1074];return!_0x54badc?(_0x5094fe=_0x1623['NYOxzI'](_0x5094fe),_0x1623['vZUMuP'][_0x5e1074]=_0x5094fe):_0x5094fe=_0x54badc,_0x5094fe;}export function getDeviceFlowByUserCode(_0x3b1b77){const _0x4b11c9={_0x3f3b4d:0x25c},_0x22e18a={_0x12d673:0x24};function _0x391c82(_0x54ae3f,_0x57cd6b,_0x216679,_0x5b9cfc){return _0x6fb532(_0x54ae3f-_0x22e18a._0x12d673,_0x57cd6b-0x92,_0x216679-0x229,_0x57cd6b);}const _0xaeded4=userCodeToDevice[_0x391c82(_0x4b11c9._0x3f3b4d,0x284,0x274,0x276)](_0x3b1b77);if(!_0xaeded4)return null;return getDeviceFlow(_0xaeded4);}export function linkOidcStateToDevice(_0x3be06c,_0x4435bc){const _0x3e3cd6={_0xdd67f4:0x36f,_0x22d46f:0x355,_0x5e7c97:0x342,_0x1270df:0x1a3},_0x24b007={_0x56094c:0x19f},_0x594e76={_0x3cbebd:0x1e5,_0x4ddbf9:0x2b,_0x2573fe:0x346},_0x3b5b38={'KLSeH':function(_0x14b4ec,_0x474529){return _0x14b4ec(_0x474529);}},_0x6a0fec=_0x3b5b38[_0x38cf4a(_0x3e3cd6._0xdd67f4,_0x3e3cd6._0x22d46f,0x342,_0x3e3cd6._0x5e7c97)](getDeviceFlow,_0x4435bc);function _0x38cf4a(_0x270189,_0x22405c,_0x465912,_0x335bbf){return _0x6fb532(_0x270189-_0x594e76._0x3cbebd,_0x22405c-_0x594e76._0x4ddbf9,_0x22405c-_0x594e76._0x2573fe,_0x270189);}function _0x4f8cf1(_0x5c29bd,_0x509663,_0x29f2af,_0x1af518){return _0x6fb532(_0x5c29bd-0x104,_0x509663-0x3e,_0x1af518-_0x24b007._0x56094c,_0x5c29bd);}if(!_0x6a0fec)return![];return stateToDevice[_0x4f8cf1(0x1ce,0x19a,_0x3e3cd6._0x1270df,0x1b8)](_0x3be06c,_0x4435bc),!![];}export function consumeDeviceForState(_0x93f197){const _0x4f1b80={_0x45b0c8:0x16f,_0x514917:0x180,_0x3869d2:0x3c2,_0x461759:0x3d9,_0x152ef6:0x3b8,_0x229017:0x3d0,_0x346c4a:0x3c4,_0x23ea63:0x3c6,_0x5004f9:0x3b0,_0x481a8d:0x3c7,_0xf79fb3:0x17a,_0x3fa038:0x19e,_0x4948d2:0x18a},_0x258e5a={_0x1708f8:0x9a,_0x40157e:0x6a,_0x430b7f:0x377},_0x3c766b={'uVKrq':function(_0x481249,_0x12207f){return _0x481249(_0x12207f);},'PBOCk':function(_0x133b22,_0x3f90a1){return _0x133b22===_0x3f90a1;},'DJpCo':_0x650a0b(_0x4f1b80._0x45b0c8,0x16f,0x175,_0x4f1b80._0x514917),'ZouDl':function(_0x5e3346,_0x1746ed){return _0x5e3346(_0x1746ed);}},_0x4f56e9=stateToDevice[_0x5f5cc3(_0x4f1b80._0x3869d2,_0x4f1b80._0x461759,_0x4f1b80._0x152ef6,_0x4f1b80._0x229017)](_0x93f197);if(!_0x4f56e9){if(_0x3c766b[_0x5f5cc3(0x3b2,_0x4f1b80._0x346c4a,0x38d,_0x4f1b80._0x23ea63)](_0x3c766b['DJpCo'],'SZHXj'))return null;else{const _0x264f5d=_0x8fff6a[_0x5f5cc3(0x3c2,_0x4f1b80._0x5004f9,0x3c1,_0x4f1b80._0x481a8d)](_0x580a7c);if(!_0x264f5d||_0x3c766b[_0x650a0b(_0x4f1b80._0xf79fb3,0x166,0x189,_0x4f1b80._0x3fa038)](_0x207d5e,_0x264f5d))return null;return _0x264f5d;}}function _0x650a0b(_0x42850c,_0xea656b,_0x4851a8,_0x5420b7){return _0x6fb532(_0x42850c-0x56,_0xea656b-0x1a3,_0x42850c-0x14a,_0x4851a8);}stateToDevice[_0x650a0b(_0x4f1b80._0x4948d2,0x17b,0x194,0x187)](_0x93f197);function _0x5f5cc3(_0x2d17ea,_0x44ab5f,_0x45ff80,_0x2e8407){return _0x6fb532(_0x2d17ea-_0x258e5a._0x1708f8,_0x44ab5f-_0x258e5a._0x40157e,_0x2d17ea-_0x258e5a._0x430b7f,_0x2e8407);}return _0x3c766b['ZouDl'](getDeviceFlow,_0x4f56e9);}export function approveDeviceFlow(_0x14f7f3,_0x42af9b,_0x3fa853){const _0x33c779={_0x3de7c2:0x41,_0x14dcdd:0x51,_0x37661f:0x48,_0x225545:0x53,_0x3f6b1f:0x30d,_0x5b47bc:0x306,_0x6461d5:0x2e,_0x30de0e:0x3e,_0x3e91ff:0x58},_0x126b69={_0x2f0ee1:0x1ad,_0x10751f:0x62},_0x3893bd={_0x6e236d:0x1d0,_0x104ad5:0xbf,_0x1d5d71:0x33a},_0x4c7917={};_0x4c7917[_0x123b99(-_0x33c779._0x3de7c2,-0x43,-_0x33c779._0x14dcdd,-0x2e)]='approved';const _0x1a1f3e=_0x4c7917;function _0x565250(_0xe13d22,_0x31a552,_0x6ed9e0,_0x470e2e){return _0x6fb532(_0xe13d22-_0x3893bd._0x6e236d,_0x31a552-_0x3893bd._0x104ad5,_0x31a552- -_0x3893bd._0x1d5d71,_0x6ed9e0);}const _0x3646af=getDeviceFlow(_0x14f7f3);function _0x123b99(_0x526c38,_0x241dc0,_0x192f87,_0x18ad86){return _0x6fb532(_0x526c38-0x104,_0x241dc0-_0x126b69._0x2f0ee1,_0x18ad86- -_0x126b69._0x10751f,_0x192f87);}if(!_0x3646af)return![];return _0x3646af[_0x123b99(-_0x33c779._0x37661f,-_0x33c779._0x225545,-0x29,-0x3c)]=_0x1a1f3e[_0x565250(-_0x33c779._0x3f6b1f,-_0x33c779._0x5b47bc,-0x2df,-0x2e3)],_0x3646af[_0x123b99(-_0x33c779._0x6461d5,-0x55,-0x64,-_0x33c779._0x30de0e)]=_0x42af9b,_0x3646af[_0x123b99(-_0x33c779._0x3e91ff,-0x5b,-0x3e,-0x51)]=_0x3fa853,!![];}export function pollDeviceFlow(_0x5b3491){const _0x422f39={_0x186f9c:0x277,_0x4fcd91:0x269,_0x268698:0x1a9,_0x295361:0x1b4,_0x1d4250:0x197,_0x188656:0x17f,_0x4b749f:0x26d,_0x2b221e:0x190,_0x29fd67:0x184,_0x45ba4c:0x25f,_0x59e669:0x250,_0x4c3d9f:0x275,_0x1593f7:0x17c,_0x166c1c:0x183,_0x50f280:0x158,_0x4828c6:0x198,_0xb22aec:0x178,_0x48336c:0x191,_0x3b635d:0x174,_0x5cc196:0x26f,_0x3aca07:0x27d,_0x561691:0x279,_0x2eaff3:0x272,_0x128cac:0x271,_0x128637:0x194,_0x4e02f8:0x13a,_0x7c48d6:0x148,_0x471ced:0x251,_0x272fd3:0x278,_0x2824e9:0x273,_0x1b3bd8:0x28a,_0x1473e5:0x285,_0xa4f451:0x249,_0x327c71:0x17e,_0x1a6b61:0x27d,_0x2cf464:0x263,_0x3f835e:0x143,_0x496f5a:0x149},_0x221ef1={_0x49ed58:0x24f},_0x1ff028={_0x5d080e:0xe0,_0x3c67a2:0x1a7},_0x4cd8c1={'PdeBb':function(_0x5efd95,_0x2fb926){return _0x5efd95(_0x2fb926);},'uumgS':'moJLp','lVNTL':function(_0x2cbc73,_0x50a201){return _0x2cbc73===_0x50a201;},'BwspZ':_0x496d73(0x25f,0x252,_0x422f39._0x186f9c,_0x422f39._0x4fcd91),'mjfAO':function(_0x344a7e,_0x5c4b59){return _0x344a7e!==_0x5c4b59;},'CGNxT':'BkFlI','EQSRh':'WlamJ','seSuy':_0x136ca4(-_0x422f39._0x268698,-_0x422f39._0x295361,-_0x422f39._0x1d4250,-_0x422f39._0x188656)};function _0x136ca4(_0x1063bc,_0x563390,_0x270b67,_0xf93aa){return _0x6fb532(_0x1063bc-_0x1ff028._0x5d080e,_0x563390-0x16,_0x270b67- -_0x1ff028._0x3c67a2,_0x1063bc);}const _0x24d078=_0x4cd8c1[_0x496d73(0x294,_0x422f39._0x4b749f,0x288,0x287)](getDeviceFlow,_0x5b3491);if(!_0x24d078){if(_0x4cd8c1[_0x136ca4(-0x1a8,-0x178,-_0x422f39._0x2b221e,-_0x422f39._0x29fd67)]!==_0x4cd8c1['uumgS'])return null;else{const _0x15751f={};return _0x15751f[_0x496d73(_0x422f39._0x45ba4c,_0x422f39._0x59e669,0x297,_0x422f39._0x4c3d9f)]=_0x136ca4(-0x158,-0x155,-_0x422f39._0x1593f7,-_0x422f39._0x166c1c),_0x15751f;}}if(_0x4cd8c1[_0x136ca4(-_0x422f39._0x50f280,-_0x422f39._0x4828c6,-_0x422f39._0xb22aec,-_0x422f39._0x48336c)](_0x24d078[_0x136ca4(-0x17d,-_0x422f39._0x3b635d,-0x181,-0x169)],_0x4cd8c1['BwspZ'])&&_0x24d078[_0x496d73(_0x422f39._0x5cc196,_0x422f39._0x3aca07,0x29a,0x273)]){if(_0x4cd8c1[_0x496d73(_0x422f39._0x561691,_0x422f39._0x2eaff3,0x253,_0x422f39._0x128cac)](_0x4cd8c1[_0x136ca4(-0x181,-0x17c,-_0x422f39._0x128637,-0x18b)],_0x4cd8c1[_0x136ca4(-0x17d,-_0x422f39._0x4e02f8,-0x15e,-_0x422f39._0x7c48d6)])){const _0xc7d1ea={};return _0xc7d1ea['status']=_0x496d73(_0x422f39._0x471ced,_0x422f39._0x272fd3,0x28d,0x269),_0xc7d1ea[_0x496d73(0x299,0x250,0x295,_0x422f39._0x2824e9)]=_0x24d078[_0x496d73(_0x422f39._0x561691,0x265,_0x422f39._0x1b3bd8,0x273)],_0xc7d1ea['user']=_0x24d078[_0x496d73(_0x422f39._0x1473e5,_0x422f39._0xa4f451,0x26a,0x260)],_0xc7d1ea;}else{const _0x3e11de=_0x1d1dfb[_0x136ca4(-0x198,-_0x422f39._0x327c71,-0x18c,-0x199)](0x9*0x15+0x17f0+-0x1*0x18ad,_0x4a205c[_0x496d73(_0x422f39._0x1a6b61,0x25e,0x249,_0x422f39._0x2cf464)]);_0x38f887+=_0x2a3b91[_0x3e11de];}}const _0x36de2c={};function _0x496d73(_0x464d7a,_0x19263d,_0x21e7ac,_0x2771c8){return _0x6fb532(_0x464d7a-0x146,_0x19263d-0x109,_0x2771c8-_0x221ef1._0x49ed58,_0x19263d);}return _0x36de2c['status']=_0x4cd8c1[_0x136ca4(-_0x422f39._0x3f835e,-0x169,-0x168,-_0x422f39._0x496f5a)],_0x36de2c;}export function consumeDeviceFlow(_0x24543b){const _0x1da75e={_0x2796d6:0x412,_0x204433:0x437,_0x10fd86:0x426,_0x5d4555:0x121,_0x44159a:0x157,_0x3e181d:0x136,_0x4c8ac0:0x3cd,_0x45cf45:0x3e1,_0xa93e7f:0x136,_0x140253:0x14d,_0x463943:0x12f,_0x338e3e:0x145,_0xead313:0x166,_0x38de95:0x144,_0x40cc88:0x3eb},_0x5282d9={_0x1b52d7:0x75,_0x12d8dc:0x7c,_0x3cdb68:0x184},_0x413584={_0x555f27:0x1ee};function _0x31f1ff(_0x25cbf5,_0x455af9,_0xdd37ef,_0x2a709e){return _0x6fb532(_0x25cbf5-0x31,_0x455af9-_0x413584._0x555f27,_0x455af9-0x3c2,_0x2a709e);}const _0x9f7a2d={'XxmLO':function(_0x45e189,_0x27c859){return _0x45e189(_0x27c859);},'GAkfq':function(_0x524d22,_0x588404){return _0x524d22===_0x588404;},'VBDKu':_0x31f1ff(_0x1da75e._0x2796d6,_0x1da75e._0x2796d6,_0x1da75e._0x204433,_0x1da75e._0x10fd86),'eXDXs':_0x1e15e8(-_0x1da75e._0x5d4555,-0x14f,-_0x1da75e._0x44159a,-_0x1da75e._0x3e181d)},_0x35b755=_0x9f7a2d[_0x31f1ff(0x3c5,_0x1da75e._0x4c8ac0,0x3f0,_0x1da75e._0x4c8ac0)](getDeviceFlow,_0x24543b);if(!_0x35b755)return _0x9f7a2d['GAkfq'](_0x9f7a2d[_0x31f1ff(_0x1da75e._0x45cf45,0x3fc,0x3e7,0x3ec)],_0x9f7a2d[_0x1e15e8(-_0x1da75e._0xa93e7f,-0x11c,-_0x1da75e._0x140253,-_0x1da75e._0x463943)])?null:null;function _0x1e15e8(_0xb4a154,_0x17d4fb,_0x170247,_0x22bebd){return _0x6fb532(_0xb4a154-_0x5282d9._0x1b52d7,_0x17d4fb-_0x5282d9._0x12d8dc,_0x22bebd- -_0x5282d9._0x3cdb68,_0x17d4fb);}return deviceStore[_0x1e15e8(-0x142,-0x136,-_0x1da75e._0x338e3e,-0x144)](_0x24543b),userCodeToDevice[_0x1e15e8(-0x15a,-0x143,-_0x1da75e._0xead313,-_0x1da75e._0x38de95)](_0x35b755[_0x31f1ff(0x415,0x406,_0x1da75e._0x40cc88,0x3f0)]),_0x35b755;}function _0x6fb532(_0x2eaa22,_0x3a60ec,_0xa79c5c,_0x4c5fa8){return _0x1623(_0xa79c5c- -0x70,_0x4c5fa8);}export function getDeviceFlowConstants(){const _0xdd062f={_0x20389b:0x294,_0x3b5178:0x2ac,_0x185b78:0x2b2},_0x5fa8={_0xb99102:0x9b,_0x2d32c1:0x1e7,_0x2bc533:0x2cf},_0x5332aa={};_0x5332aa['QVQNp']=function(_0xdc004a,_0x4852d1){return _0xdc004a/_0x4852d1;};const _0x592870=_0x5332aa;function _0x3ddebe(_0x33e16f,_0x4cb1a3,_0x1be81d,_0x4a0f8e){return _0x6fb532(_0x33e16f-_0x5fa8._0xb99102,_0x4cb1a3-_0x5fa8._0x2d32c1,_0x4a0f8e- -_0x5fa8._0x2bc533,_0x33e16f);}return{'expiresIn':Math['floor'](_0x592870['QVQNp'](DEVICE_TTL_MS,0x2658*0x1+-0x5d*-0x7+-0x24fb)),'interval':Math[_0x3ddebe(-0x29f,-_0xdd062f._0x20389b,-_0xdd062f._0x3b5178,-_0xdd062f._0x185b78)](_0x592870['QVQNp'](POLL_INTERVAL_MS,-0x731+-0x2364+-0x2e7d*-0x1))};}function _0x9e37(){const _0x2cc5d7=['zgvSzxrL','ndG2odi2BwPpqNv0','CLvhwem','mte2mZfpwg1QCKO','DxnLCKnVzgu','s091vK0','AgfZ','AhP0v2K','CMfUzg9TqNL0zq','rvftuMG','mJuZnZGYoxjvzxPJEq','z2v0','mtiWmti5nLDjvfHYCW','sfzyD0S','B3Lut3e','Agv4','yMPUu04','De5AwKm','r2LbuK0','y2XLyxi','BM93','zvHewhm','t0LeqYbKzxzPyW','Cwj3Bgi','whHTte8','Dg9tDhjPBMC','ChnSwxi','DKXbtxi','s0XtzuG','CgvUzgLUzW','DxnLCG','ntq2ALblCgfM','q0DoEfq','BgvUz3rO','mZm0ndG1vwvRzuLT','mJrNqxHbs2C','DxvTz1m','muPxs0nezW','C2v0','yxbWCM92zwq','CMfUzg9Tsw50','mtbuuKjlq20','zMXVB3i','zsbMBg93ihn0BW','CxDbvey','zw50CMLLCW','C2XPy2u','BwPMqu8','odGXnKHQsLjcyG','yxbPs2v5','u1PiwgO','C3rHDhvZ','mtmYy3vhsM5l','C0HPC24','zgv2AwnLq29Kzq','CgfJCha','zxHWAxjLza','Defowfq','txjerhG','rLfPv2i','BfzoveW','DvzlCNe','B0z2z0e','uMnKtxe','qujdrevgr0HksW','zvPwzfy','DMLUzvy','uvPKB3O','y3jLyxrLzef0','ugrLqMi','ody5nJe2A3rYteHr','vKjes3u','uejpq2S','zxHWAxjLC0f0','wNzbvee','wwXVAM8','C2vtDxK'];_0x9e37=function(){return _0x2cc5d7;};return _0x9e37();}export function resetDeviceFlowStore(){const _0x97ad77={_0x32366c:0x1b3,_0x52c5c2:0x114,_0x4fb57a:0x110,_0x27a51a:0x125,_0x21132d:0x104,_0x2f6875:0x190,_0x3774a6:0x1a7,_0x6b3dc5:0x196,_0x439d74:0x15a,_0xafe1c4:0x181,_0x1a172b:0x142,_0x2f82f1:0x19f,_0x1312ba:0x1b8,_0x34cfc1:0x196,_0x3a7e0e:0x139,_0x25e7cd:0x140,_0x5a944b:0x13e},_0x55f71={_0x4a9e12:0x7c,_0x1864d5:0x107},_0x3a007c={_0x28c940:0xbe,_0x5438b1:0x1e9};function _0x4efd8a(_0x485a77,_0x303663,_0xc1d169,_0xfae5ca){return _0x6fb532(_0x485a77-_0x3a007c._0x28c940,_0x303663-0x40,_0xfae5ca- -_0x3a007c._0x5438b1,_0x485a77);}const _0x12bf82={};_0x12bf82[_0x4efd8a(-_0x97ad77._0x32366c,-0x1c5,-0x1b6,-0x1b7)]=_0x39b690(0x110,_0x97ad77._0x52c5c2,0x125,_0x97ad77._0x4fb57a)+_0x39b690(_0x97ad77._0x27a51a,0x130,_0x97ad77._0x21132d,0x111)+'re\x20reset';const _0x4f1081=_0x12bf82;deviceStore[_0x4efd8a(-0x1b1,-_0x97ad77._0x2f6875,-_0x97ad77._0x3774a6,-_0x97ad77._0x6b3dc5)]();function _0x39b690(_0x4153b7,_0x418fb4,_0x1a6ca5,_0x4595be){return _0x6fb532(_0x4153b7-_0x55f71._0x4a9e12,_0x418fb4-0x1e0,_0x4153b7-_0x55f71._0x1864d5,_0x418fb4);}userCodeToDevice[_0x39b690(_0x97ad77._0x439d74,_0x97ad77._0xafe1c4,_0x97ad77._0x1a172b,0x13f)](),stateToDevice[_0x4efd8a(-_0x97ad77._0x2f82f1,-_0x97ad77._0x1312ba,-0x1ab,-_0x97ad77._0x34cfc1)](),logger['debug'](_0x4f1081[_0x39b690(_0x97ad77._0x3a7e0e,_0x97ad77._0x25e7cd,0x148,_0x97ad77._0x5a944b)]);}
|
|
1
|
+
(function(_0x45ffba,_0x4c7a42){const _0xb51fa1={_0x1eaaa0:0x1a5,_0x476acc:0x1c2,_0x59c24c:0x1a9,_0x25c6b3:0x1a1,_0x502e05:0x1b8,_0x5c6ba5:0x1ae,_0x3bbb91:0x16f,_0x4bab8e:0x1aa,_0x566086:0x178,_0x46beb8:0x440,_0x1fd624:0x45b,_0x11555f:0x1ac,_0x37d872:0x1a6,_0x33d2f7:0x1b7,_0x5ef014:0x43e,_0x326cf8:0x43d,_0x5b6827:0x432,_0x91e9fd:0x1b5,_0x3ac591:0x1ad,_0x5c0f30:0x1c9,_0x4520c2:0x447,_0xec6bbb:0x444,_0x186e24:0x43a},_0x583bc2={_0x38eec8:0x36c},_0x20ba0c={_0x3040f9:0x284};function _0x1da2e3(_0x1a9381,_0x592d25,_0x4e0141,_0x59f23c){return _0x5549(_0x1a9381-_0x20ba0c._0x3040f9,_0x4e0141);}const _0x1de46a=_0x45ffba();function _0x241b5c(_0x36b867,_0x45284d,_0x54d8cb,_0x3296c1){return _0x5549(_0x36b867- -_0x583bc2._0x38eec8,_0x45284d);}while(!![]){try{const _0x12ff83=-parseInt(_0x241b5c(-_0xb51fa1._0x1eaaa0,-0x198,-_0xb51fa1._0x476acc,-0x1b5))/(0x179+-0x42*-0x5e+-0x19b4)+parseInt(_0x241b5c(-_0xb51fa1._0x59c24c,-_0xb51fa1._0x25c6b3,-_0xb51fa1._0x502e05,-_0xb51fa1._0x5c6ba5))/(-0x20cb+-0x41*-0x97+-0x58a)*(-parseInt(_0x241b5c(-0x189,-_0xb51fa1._0x3bbb91,-_0xb51fa1._0x4bab8e,-_0xb51fa1._0x566086))/(0x1cf0+-0x3ec+0x1*-0x1901))+parseInt(_0x1da2e3(_0xb51fa1._0x46beb8,_0xb51fa1._0x1fd624,0x41e,0x428))/(-0x18f5*-0x1+-0x181f+0xa*-0x15)*(-parseInt(_0x241b5c(-0x19b,-_0xb51fa1._0x11555f,-_0xb51fa1._0x37d872,-_0xb51fa1._0x33d2f7))/(0x2008+-0x490+0x1*-0x1b73))+parseInt(_0x1da2e3(_0xb51fa1._0x5ef014,0x41d,_0xb51fa1._0x326cf8,0x45a))/(-0x21*0xde+0xf8f+-0x11*-0xc5)+parseInt(_0x1da2e3(0x449,_0xb51fa1._0x5b6827,0x43d,0x459))/(-0x1606+0x1526*-0x1+0x2b33*0x1)*(-parseInt(_0x241b5c(-0x1b1,-0x1a4,-_0xb51fa1._0x91e9fd,-0x1bd))/(-0x5*-0xce+-0x1*-0x1677+-0x1a75))+parseInt(_0x241b5c(-0x1b8,-0x1b4,-_0xb51fa1._0x3ac591,-_0xb51fa1._0x5c0f30))/(-0x1*0x1613+0xa0*0x7+0x11bc)+-parseInt(_0x1da2e3(0x465,0x46d,_0xb51fa1._0x4520c2,_0xb51fa1._0xec6bbb))/(-0x645+-0x195e+-0x11*-0x1dd)*(-parseInt(_0x1da2e3(0x442,0x434,_0xb51fa1._0x186e24,0x442))/(0x68*-0x7+0x2704+-0x2421));if(_0x12ff83===_0x4c7a42)break;else _0x1de46a['push'](_0x1de46a['shift']());}catch(_0x40f1fc){_0x1de46a['push'](_0x1de46a['shift']());}}}(_0x48cc,-0x288d4+0x3d17*0x35+0x1*0x63da));import _0x16bf10 from'crypto';import{logger}from'./logger.js';const DEVICE_TTL_MS=(-0x1b87+-0xa6*0x1+0x1c37)*(0x130d+0xe77+-0x2148)*(-0x198a+0x1*0x1673+0x255*0x3),POLL_INTERVAL_MS=(-0x5*-0x2+-0xdad+0xda6)*(-0x20a2*-0x1+0xb9b*0x3+-0x3f8b),CODE_CHARS=_0x57257b(0x544,0x536,0x52a,0x52f)+'LMNPQRSTUV'+'WXYZ234567'+'89',USER_CODE_LENGTH=-0x140c+-0x5c3+0x19d7,deviceStore=new Map(),userCodeToDevice=new Map();function _0x18f9a1(_0x386a25,_0xc556c,_0x71f63f,_0x3516e1){return _0x5549(_0xc556c- -0x2da,_0x3516e1);}const stateToDevice=new Map();function randomUserCode(){const _0x5e7565={_0x458735:0x14d,_0x95bfb4:0x177,_0x237091:0x158,_0x1f956a:0x17c,_0x4d23dd:0x143,_0x1b534b:0x15f,_0x4ee265:0x163,_0x337c7c:0x7c,_0x10065c:0x6c},_0x4ee8b2={_0x14f6dd:0x27,_0x3ccb3d:0x6a3},_0xd95678={_0x4872d8:0xf8},_0x43ae47={};_0x43ae47[_0x30cced(-0x168,-0x133,-0x157,-_0x5e7565._0x458735)]=function(_0x34156b,_0x1fae10){return _0x34156b<_0x1fae10;};const _0x2419ed=_0x43ae47;function _0x276875(_0x49eead,_0x1fa672,_0x5e018f,_0x23a221){return _0x57257b(_0x49eead-_0xd95678._0x4872d8,_0x23a221- -0x4b6,_0x5e018f-0x9b,_0x1fa672);}let _0x27ad8b='';function _0x30cced(_0x9d3239,_0x131e3d,_0x492fc2,_0x4e65dd){return _0x57257b(_0x9d3239-_0x4ee8b2._0x14f6dd,_0x4e65dd- -_0x4ee8b2._0x3ccb3d,_0x492fc2-0x28,_0x131e3d);}for(let _0x2970ed=0x3e2+-0x4*0x82a+0x1cc6;_0x2419ed['lTiOC'](_0x2970ed,USER_CODE_LENGTH);_0x2970ed+=0x125*-0xb+-0x319*0x2+-0xa*-0x1e1){const _0x168fdb=_0x16bf10[_0x30cced(-0x15f,-_0x5e7565._0x95bfb4,-_0x5e7565._0x237091,-0x16e)](0xe14+-0x495*-0x1+-0x1*0x12a9,CODE_CHARS[_0x30cced(-_0x5e7565._0x1f956a,-_0x5e7565._0x4d23dd,-_0x5e7565._0x1b534b,-_0x5e7565._0x4ee265)]);_0x27ad8b+=CODE_CHARS[_0x168fdb];}return _0x27ad8b['slice'](0x1b6*0x13+0xcf8+0x2d7a*-0x1,0xa*-0x28d+0x179e+-0x7a*-0x4)+'-'+_0x27ad8b[_0x276875(_0x5e7565._0x337c7c,0x4e,0x57,_0x5e7565._0x10065c)](-0x1d5f+-0x7f+0x9*0x352);}function isExpired(_0x1bfe10){const _0x4e0a32={_0xd26249:0x5e,_0x16a92d:0x65,_0x3249a4:0x74,_0x443a03:0x67,_0x9bad36:0x3ab,_0x4cd0cf:0x39d,_0x15c530:0x385,_0x1f6057:0x8d,_0x2a76e7:0x68,_0x419c20:0x8a,_0x53c062:0x88,_0x8191be:0x6b},_0x211869={_0x332c00:0x13,_0x3369d3:0x1aa,_0x4ebd1b:0xa0},_0x173e20={_0x4fb53e:0x87,_0x1e96db:0x5ac},_0x57fe89={};_0x57fe89[_0x133182(-_0x4e0a32._0xd26249,-_0x4e0a32._0x16a92d,-_0x4e0a32._0x3249a4,-_0x4e0a32._0x443a03)]=function(_0x8995a9,_0x429783){return _0x8995a9>_0x429783;};function _0x133182(_0xa248c6,_0x3e3691,_0x30ca86,_0x49ba13){return _0x57257b(_0xa248c6-_0x173e20._0x4fb53e,_0x3e3691- -_0x173e20._0x1e96db,_0x30ca86-0xfd,_0xa248c6);}function _0x141bb9(_0x3e39e9,_0x26dc93,_0x733c96,_0x1b161b){return _0x57257b(_0x3e39e9-_0x211869._0x332c00,_0x26dc93- -_0x211869._0x3369d3,_0x733c96-_0x211869._0x4ebd1b,_0x733c96);}const _0x17f7f1=_0x57fe89;return _0x17f7f1[_0x141bb9(_0x4e0a32._0x9bad36,_0x4e0a32._0x4cd0cf,_0x4e0a32._0x15c530,0x38e)](Date[_0x133182(-_0x4e0a32._0x1f6057,-0x70,-_0x4e0a32._0x2a76e7,-_0x4e0a32._0x419c20)](),_0x1bfe10[_0x133182(-0x81,-0x84,-_0x4e0a32._0x53c062,-_0x4e0a32._0x8191be)]);}function _0x5549(_0x13ce65,_0x40ba87){_0x13ce65=_0x13ce65-(0x923*-0x1+0x297*0x2+0x3*0x1dd);const _0x504def=_0x48cc();let _0x16c645=_0x504def[_0x13ce65];if(_0x5549['eeeMBr']===undefined){var _0x40de2b=function(_0x315648){const _0x1f26f4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x475101='',_0x2b1fb5='';for(let _0x325b9c=-0x1ded*0x1+0x39b+0x1a52,_0x3eb9df,_0x55809e,_0x3389f9=0x1*-0xe4d+-0x522+-0x136f*-0x1;_0x55809e=_0x315648['charAt'](_0x3389f9++);~_0x55809e&&(_0x3eb9df=_0x325b9c%(0x13f*0xa+0x1a06+-0x133c*0x2)?_0x3eb9df*(0x315+-0x4a*-0x29+-0xeaf)+_0x55809e:_0x55809e,_0x325b9c++%(-0x3*-0x962+0x22a2+-0x3*0x14ec))?_0x475101+=String['fromCharCode'](-0x1685+-0xee2+0x2666&_0x3eb9df>>(-(0x5*0x3e2+0xbf*0x4+-0x1664)*_0x325b9c&0x1dc1+-0x1*0x7af+-0x44*0x53)):-0x1671+0x23af+-0x2*0x69f){_0x55809e=_0x1f26f4['indexOf'](_0x55809e);}for(let _0x4cbe26=-0x25e3+-0x1aa*0x17+0x4c29,_0x558262=_0x475101['length'];_0x4cbe26<_0x558262;_0x4cbe26++){_0x2b1fb5+='%'+('00'+_0x475101['charCodeAt'](_0x4cbe26)['toString'](0xc68+0x1*0x1a97+0x26ef*-0x1))['slice'](-(-0x2403*-0x1+-0x5da+-0x1e27));}return decodeURIComponent(_0x2b1fb5);};_0x5549['GfpZfn']=_0x40de2b,_0x5549['beoJUa']={},_0x5549['eeeMBr']=!![];}const _0x4f4cfe=_0x504def[-0x142e+0x1*-0x117b+-0x137*-0x1f],_0xe1d32e=_0x13ce65+_0x4f4cfe,_0x66ec70=_0x5549['beoJUa'][_0xe1d32e];return!_0x66ec70?(_0x16c645=_0x5549['GfpZfn'](_0x16c645),_0x5549['beoJUa'][_0xe1d32e]=_0x16c645):_0x16c645=_0x66ec70,_0x16c645;}function cleanupExpired(){const _0x27bee8={_0x175ccf:0x184,_0x2c9987:0x169,_0xed19f0:0x151,_0x2c8332:0x157,_0x11c337:0x163,_0x48252d:0x17c,_0x1a9655:0x182,_0x418c5f:0x15d,_0x45821b:0x16b,_0x4d2166:0x470,_0x359414:0x456,_0x512991:0x46f,_0x2c2cb3:0x15e,_0x660774:0x465,_0x4bf8a8:0x482,_0x2b3af4:0x481,_0x34b345:0x172,_0x23fba2:0x180},_0x392a21={_0x2b9902:0x24,_0x13e6e9:0xea},_0x27d99a={_0x28802f:0x19c};function _0x29040f(_0x592cde,_0x49b6e5,_0x30e7ee,_0x4526ad){return _0x57257b(_0x592cde-0x1d,_0x49b6e5- -0x6a8,_0x30e7ee-_0x27d99a._0x28802f,_0x30e7ee);}const _0x2b78b9={};function _0x1d3f41(_0x42593b,_0x4a79da,_0x144c56,_0x218afd){return _0x57257b(_0x42593b-_0x392a21._0x2b9902,_0x4a79da- -_0x392a21._0x13e6e9,_0x144c56-0xa6,_0x218afd);}_0x2b78b9[_0x29040f(-_0x27bee8._0x175ccf,-_0x27bee8._0x2c9987,-0x159,-_0x27bee8._0xed19f0)]=function(_0x438602,_0x531b3c){return _0x438602>_0x531b3c;},_0x2b78b9['lwRzV']=function(_0x39d9e6,_0x574535){return _0x39d9e6===_0x574535;},_0x2b78b9[_0x29040f(-_0x27bee8._0x2c8332,-0x171,-0x177,-_0x27bee8._0x11c337)]='fwWFd';const _0x2c8c6f=_0x2b78b9,_0x1947b9=Date['now']();for(const [_0x4ddcaa,_0x10bf35]of deviceStore[_0x29040f(-0x141,-0x147,-0x14a,-0x153)]()){if(_0x2c8c6f[_0x29040f(-0x16b,-0x169,-_0x27bee8._0x48252d,-_0x27bee8._0x1a9655)](_0x1947b9,_0x10bf35['expiresAt'])){if(_0x2c8c6f[_0x29040f(-0x17a,-_0x27bee8._0x418c5f,-_0x27bee8._0x45821b,-0x160)](_0x1d3f41(_0x27bee8._0x4d2166,0x44e,0x468,_0x27bee8._0x359414),_0x2c8c6f[_0x1d3f41(_0x27bee8._0x512991,0x44d,0x463,0x450)]))return null;else deviceStore[_0x29040f(-_0x27bee8._0x45821b,-0x15e,-0x14a,-0x17d)](_0x4ddcaa),userCodeToDevice[_0x29040f(-0x160,-_0x27bee8._0x2c2cb3,-0x155,-0x17c)](_0x10bf35[_0x1d3f41(_0x27bee8._0x660774,0x479,_0x27bee8._0x4bf8a8,_0x27bee8._0x2b3af4)]);}}for(const [_0x51a7a8,_0xf53d]of stateToDevice['entries']()){const _0x12446b=deviceStore[_0x29040f(-0x140,-0x15c,-0x158,-_0x27bee8._0x34b345)](_0xf53d);(!_0x12446b||_0x1947b9>_0x12446b[_0x29040f(-0x195,-_0x27bee8._0x23fba2,-0x17a,-0x186)])&&stateToDevice[_0x1d3f41(0x45f,0x460,0x446,0x47b)](_0x51a7a8);}}const cleanupInterval=setInterval(cleanupExpired,(0x1*0xeb6+-0xdeb+0xd*-0xb)*(-0x1bd8+0xb3a*0x1+0x1486));cleanupInterval[_0x18f9a1(-0x116,-0xfa,-0xd9,-0xd8)]();function _0x57257b(_0x46408e,_0x58288e,_0x2d5792,_0x19030d){return _0x5549(_0x58288e-0x37f,_0x19030d);}export function createDeviceFlow(){const _0x437fe2={_0x41ba1b:0x3e,_0x51f13e:0xc5,_0x48d2ba:0xb3,_0x4af6f7:0x90,_0x2094b4:0x92,_0x482811:0x78,_0x2d9382:0x80,_0x526ae2:0x8b,_0x4bd5d9:0xaa,_0x2c608f:0x8f,_0x5ab660:0x94,_0x5c42dc:0xaf,_0xe5c197:0x96,_0x53b8de:0x9f,_0x3919da:0xe2,_0x4e5869:0xc8,_0x378402:0x94,_0x322403:0x75,_0x456c95:0xa2,_0x26756d:0xa4,_0x2757c2:0x80,_0x5baba5:0xaf},_0xa921fc={_0x532726:0xf1,_0x3a563e:0x174,_0x461b65:0x1a6},_0x4b2bf0={'ZfcQE':function(_0x1bdfae){return _0x1bdfae();},'XFysH':function(_0xb73a61){return _0xb73a61();},'GJlDK':'hex','lBdEr':function(_0x176675,_0x2951f6){return _0x176675+_0x2951f6;},'kYNab':function(_0x3f907,_0x4b8054){return _0x3f907/_0x4b8054;}};let _0x1b27b1=_0x4b2bf0[_0x9f6e6c(0x30,0x49,_0x437fe2._0x41ba1b,0x50)](randomUserCode);function _0x9f6e6c(_0x361851,_0x3853f4,_0x4f7f3e,_0x3893b1){return _0x18f9a1(_0x361851-_0xa921fc._0x532726,_0x4f7f3e-_0xa921fc._0x3a563e,_0x4f7f3e-_0xa921fc._0x461b65,_0x3853f4);}while(userCodeToDevice[_0x399dba(0xd3,0xae,_0x437fe2._0x51f13e,_0x437fe2._0x48d2ba)](_0x1b27b1)){_0x1b27b1=_0x4b2bf0[_0x9f6e6c(_0x437fe2._0x4af6f7,_0x437fe2._0x2094b4,_0x437fe2._0x482811,_0x437fe2._0x2d9382)](randomUserCode);}const _0x4959c5=_0x16bf10['randomByte'+'s'](-0xb*-0x269+-0x1b2f+0xcc)['toString'](_0x4b2bf0[_0x399dba(0x81,_0x437fe2._0x526ae2,0xb9,0x97)]),_0x4d13e7=Date[_0x399dba(0xbf,0x9b,0x98,_0x437fe2._0x4bd5d9)](),_0x2cfe23={'deviceCode':_0x4959c5,'userCode':_0x1b27b1,'createdAt':_0x4d13e7,'expiresAt':_0x4b2bf0[_0x9f6e6c(_0x437fe2._0x2c608f,0x62,0x76,0x90)](_0x4d13e7,DEVICE_TTL_MS),'status':_0x399dba(_0x437fe2._0x5ab660,_0x437fe2._0x5c42dc,_0x437fe2._0xe5c197,_0x437fe2._0x53b8de),'apiKey':null,'user':null};deviceStore[_0x399dba(_0x437fe2._0x3919da,_0x437fe2._0x4e5869,0xe2,_0x437fe2._0x4e5869)](_0x4959c5,_0x2cfe23),userCodeToDevice[_0x9f6e6c(0x75,_0x437fe2._0x378402,_0x437fe2._0x322403,0x6b)](_0x1b27b1,_0x4959c5);function _0x399dba(_0x36415a,_0x48d3f9,_0x1bd170,_0x49f20a){return _0x57257b(_0x36415a-0x8e,_0x49f20a- -0x492,_0x1bd170-0xd3,_0x36415a);}return{'deviceCode':_0x4959c5,'userCode':_0x1b27b1,'expiresIn':Math[_0x399dba(_0x437fe2._0x456c95,_0x437fe2._0x26756d,_0x437fe2._0x2757c2,0x99)](_0x4b2bf0[_0x399dba(0xa1,_0x437fe2._0xe5c197,_0x437fe2._0x5baba5,0x9c)](DEVICE_TTL_MS,0x1579+0x3*0xa84+0x575*-0x9)),'interval':Math['floor'](_0x4b2bf0['kYNab'](POLL_INTERVAL_MS,-0x14ca+0x1b4f+-0x29d))};}export function getDeviceFlow(_0x53b0d5){const _0x143e13={'wireg':function(_0x268124,_0x5d443d){return _0x268124(_0x5d443d);}},_0x34f11d=deviceStore['get'](_0x53b0d5);if(!_0x34f11d||_0x143e13['wireg'](isExpired,_0x34f11d))return null;return _0x34f11d;}export function getDeviceFlowByUserCode(_0x109f95){const _0x151b4d={_0x1a47f1:0x73,_0x5c2aee:0x72,_0x4b55b7:0x4df,_0x2a63b1:0x4f6,_0x389c49:0x30,_0xdfe6c1:0x4c,_0x28a694:0x4da,_0x189f4e:0x4c5,_0xc3dcd3:0x4c2,_0x4eaf36:0x4de,_0x45b1cf:0x51,_0x4a054f:0x7e,_0x51c66b:0x68,_0x1d07b6:0x6f},_0x191112={_0x4ad959:0x1ef},_0x17edb6={'pCqxW':function(_0x322439,_0x5358db){return _0x322439(_0x5358db);},'sihij':_0x59bbad(0x74,0x7b,_0x151b4d._0x1a47f1,_0x151b4d._0x5c2aee),'SlBGL':_0x29f6e7(0x49f,_0x151b4d._0x4b55b7,0x4be,0x4c1)},_0x5e300c=userCodeToDevice[_0x29f6e7(_0x151b4d._0x2a63b1,0x4f2,0x4fb,0x4ec)](_0x109f95);function _0x29f6e7(_0x14ea5b,_0x4b233a,_0xad126a,_0x41b2eb){return _0x57257b(_0x14ea5b-0xfe,_0x41b2eb- -0x60,_0xad126a-0xf6,_0x4b233a);}function _0x59bbad(_0xc6e390,_0x3b5209,_0x1dd113,_0x173c61){return _0x18f9a1(_0xc6e390-_0x191112._0x4ad959,_0x173c61-0x177,_0x1dd113-0xfd,_0x3b5209);}if(!_0x5e300c){if(_0x17edb6[_0x59bbad(0x4f,_0x151b4d._0x389c49,_0x151b4d._0xdfe6c1,0x45)]===_0x17edb6[_0x29f6e7(_0x151b4d._0x28a694,_0x151b4d._0x189f4e,_0x151b4d._0xc3dcd3,_0x151b4d._0x4eaf36)]){const _0x3f82dc=_0x301d45[_0x59bbad(0x72,_0x151b4d._0x45b1cf,0x52,0x6a)](_0x545c92);if(!_0x3f82dc)return null;return _0x797587[_0x59bbad(0x69,0x86,_0x151b4d._0x4a054f,_0x151b4d._0x51c66b)](_0x501592),_0x17edb6[_0x59bbad(_0x151b4d._0x1d07b6,0x42,0x4c,0x4d)](_0x371b21,_0x3f82dc);}else return null;}return getDeviceFlow(_0x5e300c);}export function linkOidcStateToDevice(_0x552030,_0x110092){const _0x3a3e5a={_0x46eea5:0x439,_0x5b6908:0x405,_0x5c3148:0x467,_0x5cc2ec:0x468,_0x625ccf:0x459},_0x220018={_0x106e01:0xde,_0x4c1f94:0x3},_0x3859f8={_0x4cdc20:0x356},_0x39c3b9={'KJuEd':function(_0x30660a,_0x47140d){return _0x30660a(_0x47140d);}},_0xc4890d=_0x39c3b9[_0x22eedb(_0x3a3e5a._0x46eea5,0x445,0x424,_0x3a3e5a._0x5b6908)](getDeviceFlow,_0x110092);function _0x23641f(_0x493225,_0x4435c5,_0x222155,_0x46fec7){return _0x18f9a1(_0x493225-0x1ac,_0x46fec7-_0x3859f8._0x4cdc20,_0x222155-0x18,_0x222155);}if(!_0xc4890d)return![];function _0x22eedb(_0x21df9e,_0x403c8f,_0x4bcbb4,_0x4d6546){return _0x18f9a1(_0x21df9e-_0x220018._0x106e01,_0x4bcbb4-0x558,_0x4bcbb4-_0x220018._0x4c1f94,_0x21df9e);}return stateToDevice[_0x22eedb(_0x3a3e5a._0x5c3148,_0x3a3e5a._0x5cc2ec,_0x3a3e5a._0x625ccf,0x479)](_0x552030,_0x110092),!![];}export function consumeDeviceForState(_0xae35f9){const _0x1163b5={_0x58d801:0x521,_0x5f5a9e:0x4f5,_0x31b2a6:0x516,_0x30ee5d:0x525,_0x560f0d:0x56c,_0x4d6ddf:0x54a,_0x40bf40:0x569,_0x401512:0x552,_0x304dc3:0x538},_0x176fc0={_0x1ece86:0x18a,_0x55d4f7:0x2c},_0x2982de={_0x2898d4:0x63f},_0x5394de={'QiJgc':function(_0x30ef08,_0x216c74){return _0x30ef08!==_0x216c74;},'yHRPT':_0x3331f0(_0x1163b5._0x58d801,_0x1163b5._0x5f5a9e,_0x1163b5._0x31b2a6,_0x1163b5._0x30ee5d),'vBAVP':function(_0x172527,_0x39a8ea){return _0x172527(_0x39a8ea);}},_0x3acdf8=stateToDevice['get'](_0xae35f9);function _0x3331f0(_0x18ee0d,_0x13494b,_0x26502e,_0x5f1117){return _0x18f9a1(_0x18ee0d-0x166,_0x26502e-_0x2982de._0x2898d4,_0x26502e-0x2e,_0x5f1117);}if(!_0x3acdf8)return _0x5394de[_0x3331f0(0x537,_0x1163b5._0x560f0d,_0x1163b5._0x4d6ddf,_0x1163b5._0x40bf40)](_0x5394de[_0x3331f0(_0x1163b5._0x401512,0x51b,_0x1163b5._0x304dc3,0x51e)],_0x5394de['yHRPT'])?null:null;function _0x29dfc3(_0x50487c,_0x11b0f8,_0x54b555,_0x11ea6c){return _0x57257b(_0x50487c-_0x176fc0._0x1ece86,_0x11b0f8-_0x176fc0._0x55d4f7,_0x54b555-0x66,_0x50487c);}return stateToDevice['delete'](_0xae35f9),_0x5394de[_0x3331f0(0x559,0x559,0x53d,0x54d)](getDeviceFlow,_0x3acdf8);}function _0x48cc(){const _0x4702f5=['wez5C0G','yLfWwvq','Dw5Yzwy','ndbqD1z5DLu','zw50CMLLCW','mJuYndu2y3rtCKnl','DxnLCKnVzgu','uwLkz2m','ug9xAuy','C2XPy2u','wMzJuuu','DxnLCG','s0P1rwq','EvDoq3y','C2LOAwO','zxHWAxjLC0f0','r0PSreS','AfDTEw4','zMXVB3i','ugX2B08','AwPKBwq','A1Loywi','CenXEfC','tMzPuw0','CgvUzgLUzW','zgvIDwC','mZKZndiXnxnWCLfmvq','t0LeqYbKzxzPyW','CMfUzg9Tsw50','qujdrevgr0HksW','AgvWDfi','y01preq','mZa4nJCXogn4qMvYra','mZGZmdK2oejLC3jpqW','ndCYmdK5mNDSBLjdEa','BM93','oti3nJe2ohbLtNbKrq','u2Xcr0W','A3LsvMG','BgvUz3rO','tgzdvxO','ngDICNHICW','ExjvC0S','mtrrreLpqK0','AgfZ','mtmZmdeXn0nIs1nwDG','Evnptxy','y2XLyxi','whfKqwW','zgvSzxrL','BhDsELy','z2v0','Dgrfv00','ugrhs0G','zsbMBg93ihn0BW','nu1ZuNvlAW','yxbWCM92zwq','EuHsufq','zxHWAxjLza','DKrtqwy','yLneyNu','BfrPt0m','DKjbvLa','CMuGCMvZzxq','C3rHDhvZ','C2v0','BejKrxi','yxbPs2v5'];_0x48cc=function(){return _0x4702f5;};return _0x48cc();}export function approveDeviceFlow(_0x11140f,_0x1b888f,_0x3bbad8){const _0x5993f4={_0x5b0b26:0x2e5,_0x4e0cea:0x2e2,_0xa50a9d:0x295,_0x295091:0x2a9,_0x3982f0:0x2a3,_0x56f84d:0x28f,_0x189325:0x269,_0x408588:0x276},_0x5c380a={_0x41e592:0x14},_0x350532={_0x49d290:0x2b0,_0x3cbdc3:0x1d3},_0x5bc651={'hWmyn':function(_0x9e2130,_0x4943e4){return _0x9e2130(_0x4943e4);},'hPcaU':'approved'},_0xdac21b=_0x5bc651[_0x2edbb3(_0x5993f4._0x5b0b26,_0x5993f4._0x4e0cea,0x2c6,0x2e4)](getDeviceFlow,_0x11140f);function _0x2a1841(_0x667214,_0x219a23,_0x37f817,_0x2cc0f3){return _0x57257b(_0x667214-0x13b,_0x219a23- -_0x350532._0x49d290,_0x37f817-_0x350532._0x3cbdc3,_0x37f817);}if(!_0xdac21b)return![];_0xdac21b[_0x2a1841(_0x5993f4._0xa50a9d,_0x5993f4._0x295091,_0x5993f4._0x3982f0,_0x5993f4._0x56f84d)]=_0x5bc651['hPcaU'];function _0x2edbb3(_0x1d623a,_0x587cef,_0xf89479,_0x5c8c6a){return _0x57257b(_0x1d623a-0x86,_0x1d623a- -0x245,_0xf89479-_0x5c380a._0x41e592,_0xf89479);}return _0xdac21b[_0x2edbb3(0x317,0x307,0x31a,0x304)]=_0x1b888f,_0xdac21b[_0x2a1841(_0x5993f4._0x189325,0x274,0x285,_0x5993f4._0x408588)]=_0x3bbad8,!![];}export function pollDeviceFlow(_0x40faf4){const _0x12d379={_0x5ca40c:0x4e7,_0x8983fa:0x3b3,_0xde95a3:0x3a8,_0x381989:0x3a8,_0x3d54a8:0x516,_0x46fdb2:0x3a2,_0x26ce66:0x3af,_0x276a51:0x3d5,_0x12151f:0x3f2,_0x42e6f8:0x3e2,_0x41a48b:0x4eb,_0xa080a2:0x512,_0x195907:0x4f3,_0x521a86:0x4ee,_0x5c1bf0:0x509,_0x31407b:0x4fa,_0x3c04e4:0x515,_0x326074:0x51b,_0x660f40:0x3de,_0x54dede:0x3ca,_0x47dcc8:0x51a,_0x4d1b39:0x509,_0x47f2da:0x3a6,_0x1fe408:0x510,_0x437af1:0x3c4},_0x1173be={_0x1b4a53:0x33,_0x4b446d:0x17e,_0x14104e:0x140},_0x33f60b={_0x304015:0x96,_0x2fb89d:0x53},_0x5322b0={'bQpYT':function(_0x6d390d,_0x703f2e){return _0x6d390d(_0x703f2e);},'PlvoO':_0x139d93(0x4b5,0x4d3,_0x12d379._0x5ca40c,0x4d1),'WZZZS':function(_0x513100,_0x4cc7d2){return _0x513100===_0x4cc7d2;},'LfCUz':_0xec95c3(_0x12d379._0x8983fa,_0x12d379._0xde95a3,_0x12d379._0x381989,0x3cf)},_0x393742=_0x5322b0[_0x139d93(_0x12d379._0x3d54a8,0x50b,0x4f0,0x511)](getDeviceFlow,_0x40faf4);if(!_0x393742){if('yWNCv'===_0x5322b0[_0xec95c3(0x3ae,0x3c0,_0x12d379._0x46fdb2,_0x12d379._0x26ce66)]){const _0x2760b9={};return _0x2760b9['status']=_0xec95c3(_0x12d379._0x276a51,0x3c0,_0x12d379._0x12151f,_0x12d379._0x42e6f8),_0x2760b9;}else return![];}if(_0x5322b0['WZZZS'](_0x393742[_0x139d93(_0x12d379._0x41a48b,0x506,_0x12d379._0xa080a2,_0x12d379._0x195907)],'approved')&&_0x393742[_0x139d93(_0x12d379._0x521a86,_0x12d379._0x5c1bf0,_0x12d379._0x31407b,0x4f0)]){const _0x52d2f1={};return _0x52d2f1[_0x139d93(_0x12d379._0xa080a2,0x506,0x50d,0x4ec)]=_0x139d93(_0x12d379._0x3c04e4,0x4fe,0x502,_0x12d379._0x326074),_0x52d2f1[_0xec95c3(_0x12d379._0x660f40,0x3bd,_0x12d379._0x54dede,0x3ee)]=_0x393742[_0x139d93(_0x12d379._0x47dcc8,_0x12d379._0x4d1b39,0x510,0x4f0)],_0x52d2f1[_0xec95c3(_0x12d379._0x47f2da,0x3a8,0x3ae,0x399)]=_0x393742['user'],_0x52d2f1;}const _0x44e7e8={};_0x44e7e8[_0x139d93(_0x12d379._0x1fe408,0x506,0x506,0x512)]=_0x5322b0[_0xec95c3(0x3c3,0x3c7,_0x12d379._0x437af1,0x3d0)];function _0x139d93(_0x37e9e9,_0x488033,_0x264ca0,_0x182bd4){return _0x57257b(_0x37e9e9-_0x33f60b._0x304015,_0x488033- -_0x33f60b._0x2fb89d,_0x264ca0-0xcb,_0x37e9e9);}function _0xec95c3(_0x34efa4,_0x309355,_0x533054,_0x574dcc){return _0x57257b(_0x34efa4-_0x1173be._0x1b4a53,_0x34efa4- -_0x1173be._0x4b446d,_0x533054-_0x1173be._0x14104e,_0x309355);}return _0x44e7e8;}export function consumeDeviceFlow(_0x2b22f1){const _0x49f8b5={_0x3225ac:0xe6,_0x171256:0xf2,_0x1f35e2:0xdc,_0x28cd04:0xc5,_0x37f758:0xc0,_0x769617:0xbe,_0x3f8f00:0x483,_0x4f1c46:0x472,_0x5321e7:0x49f,_0x561617:0xc8,_0x243b65:0xcc,_0x2882b4:0x47c,_0xf8e214:0x96,_0x41c211:0xb5,_0x4a3b2b:0xc2,_0x54fbb2:0x49a},_0x4eee26={_0x478a1c:0x4d},_0x56f5dd={'tdEWM':function(_0x101d75,_0x3aedb2){return _0x101d75(_0x3aedb2);},'bSDbu':_0x5b81f1(_0x49f8b5._0x3225ac,0xe1,0xe1,_0x49f8b5._0x171256),'yrUsK':_0x5b81f1(_0x49f8b5._0x1f35e2,_0x49f8b5._0x28cd04,_0x49f8b5._0x37f758,_0x49f8b5._0x769617)},_0x59257c=_0x56f5dd[_0x230ba4(0x489,0x4a5,0x491,_0x49f8b5._0x3f8f00)](getDeviceFlow,_0x2b22f1);if(!_0x59257c){if(_0x56f5dd[_0x230ba4(0x491,0x486,_0x49f8b5._0x4f1c46,_0x49f8b5._0x5321e7)]===_0x56f5dd[_0x5b81f1(_0x49f8b5._0x561617,0xd3,0xd6,_0x49f8b5._0x243b65)]){let _0x503aa9='';for(let _0x17f90f=0x4a9*-0x7+0x15b8+-0xae7*-0x1;_0x17f90f<_0xf17b14;_0x17f90f+=-0x16ce+0x963+0xd6c){const _0x35fa44=_0x4f72eb['randomInt'](-0x14a9*-0x1+-0xee3+-0x5c6,_0x570e9e[_0x230ba4(_0x49f8b5._0x2882b4,0x484,0x475,0x471)]);_0x503aa9+=_0x553bf0[_0x35fa44];}return _0x503aa9[_0x5b81f1(_0x49f8b5._0xf8e214,0xac,_0x49f8b5._0x41c211,0xaa)](0x5*0x65+0x1180+0x5*-0x3e5,0x1*-0x45d+-0x1eb3*0x1+0x2314)+'-'+_0x503aa9['slice'](0x1da4+-0x3*-0x335+-0x273f);}else return null;}function _0x5b81f1(_0x1c2bd3,_0x46655d,_0x280aa7,_0x421b94){return _0x57257b(_0x1c2bd3-_0x4eee26._0x478a1c,_0x280aa7- -0x46d,_0x280aa7-0xa1,_0x46655d);}function _0x230ba4(_0xd9299b,_0x4810a0,_0x2174a1,_0x5311d4){return _0x57257b(_0xd9299b-0x1d7,_0xd9299b- -0xc4,_0x2174a1-0x15,_0x5311d4);}return deviceStore[_0x5b81f1(0xd8,0xcb,0xdd,_0x49f8b5._0x4a3b2b)](_0x2b22f1),userCodeToDevice[_0x230ba4(0x486,0x49c,0x491,_0x49f8b5._0x54fbb2)](_0x59257c['userCode']),_0x59257c;}export function getDeviceFlowConstants(){const _0x44ae2a={_0x390d45:0x509,_0x538644:0x4f4,_0xf02f9e:0x4f6,_0xed341e:0x25,_0x4381de:0x34,_0x1ac727:0x44,_0x2bdede:0x4d8,_0x496e65:0x4e0},_0x49c041={_0x6ca11c:0x604,_0x4376af:0x2d},_0x58a7a6={};function _0x3fbd43(_0x205b03,_0x2716cc,_0x4ae41e,_0xe50402){return _0x18f9a1(_0x205b03-0x130,_0xe50402-_0x49c041._0x6ca11c,_0x4ae41e-_0x49c041._0x4376af,_0x205b03);}_0x58a7a6[_0x3fbd43(0x4eb,_0x44ae2a._0x390d45,0x4e6,_0x44ae2a._0x538644)]=function(_0x3dee5d,_0x20d5b1){return _0x3dee5d/_0x20d5b1;};function _0x2b3a5a(_0x34da93,_0x5d433e,_0x4c5849,_0x4cd7ee){return _0x57257b(_0x34da93-0x16,_0x34da93- -0x550,_0x4c5849-0x6e,_0x4cd7ee);}const _0x358e95=_0x58a7a6;return{'expiresIn':Math['floor'](_0x358e95[_0x3fbd43(0x514,_0x44ae2a._0xf02f9e,0x4fd,_0x44ae2a._0x538644)](DEVICE_TTL_MS,-0x21db+0x17b1+0xe12)),'interval':Math[_0x2b3a5a(-_0x44ae2a._0xed341e,-0xc,-_0x44ae2a._0x4381de,-_0x44ae2a._0x1ac727)](_0x358e95[_0x3fbd43(0x4d7,_0x44ae2a._0x2bdede,_0x44ae2a._0x496e65,_0x44ae2a._0x538644)](POLL_INTERVAL_MS,-0x38a*-0x2+0x3a*0x36+-0xf68))};}export function resetDeviceFlowStore(){const _0x219ef2={_0x2baf96:0xcc,_0x439620:0xdf,_0x28305b:0xe,_0x8bd978:0x14,_0x1defac:0x0,_0x3d0833:0x8,_0x223aee:0x2,_0x37ab85:0x7,_0x95112b:0x7,_0x3f99a4:0xd5,_0x1196bb:0xd1,_0x4772e5:0xd3},_0xb7f6d2={_0x3b1958:0x10f,_0x42ec67:0x10a,_0xc6e0ce:0x133},_0x405de4={_0x28fe71:0x16d},_0x453913={};_0x453913['siBOh']=_0xb13feb(-_0x219ef2._0x2baf96,-0xcf,-0xdb,-_0x219ef2._0x439620)+_0x3b7d3b(_0x219ef2._0x28305b,0x21,-_0x219ef2._0x8bd978,_0x219ef2._0x1defac)+_0x3b7d3b(0x20,0xb,0x1d,0x9);function _0xb13feb(_0x4855da,_0x27f5fb,_0x4bdad7,_0x521f2c){return _0x57257b(_0x4855da-0xf3,_0x27f5fb- -0x603,_0x4bdad7-_0x405de4._0x28fe71,_0x4bdad7);}function _0x3b7d3b(_0x4f8968,_0x3e34c1,_0xa7e630,_0x3dd93f){return _0x18f9a1(_0x4f8968-_0xb7f6d2._0x3b1958,_0x3dd93f-_0xb7f6d2._0x42ec67,_0xa7e630-_0xb7f6d2._0xc6e0ce,_0xa7e630);}const _0x1dacb9=_0x453913;deviceStore[_0x3b7d3b(-0x13,-0x25,0x4,-0x7)](),userCodeToDevice[_0x3b7d3b(0xf,-_0x219ef2._0x3d0833,-_0x219ef2._0x223aee,-_0x219ef2._0x37ab85)](),stateToDevice[_0x3b7d3b(-0x5,0xc,-0x7,-_0x219ef2._0x95112b)](),logger[_0xb13feb(-_0x219ef2._0x3f99a4,-_0x219ef2._0x1196bb,-_0x219ef2._0x4772e5,-0xc5)](_0x1dacb9['siBOh']);}
|