@lovrabet/lovrabet-cli 2.0.1-beta.10 → 2.0.1-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/app/cache.js +1 -1
  3. package/lib/commands/app/definitions.js +1 -1
  4. package/lib/commands/app/mock-loader.js +1 -1
  5. package/lib/commands/app/remote-source.js +1 -1
  6. package/lib/commands/app/shared.js +1 -1
  7. package/lib/commands/auth/index.js +1 -1
  8. package/lib/commands/auth/prompt.js +1 -1
  9. package/lib/commands/bff/detail.js +1 -1
  10. package/lib/commands/bff/exec.js +1 -1
  11. package/lib/commands/bff/index.js +1 -1
  12. package/lib/commands/common/config-policy.js +1 -1
  13. package/lib/commands/common/constraints.js +1 -1
  14. package/lib/commands/common/flags.js +1 -1
  15. package/lib/commands/config/definitions.js +1 -1
  16. package/lib/commands/config/shared.js +1 -1
  17. package/lib/commands/data/index.js +1 -1
  18. package/lib/commands/dataset/detail.js +1 -1
  19. package/lib/commands/dataset/index.js +1 -1
  20. package/lib/commands/dataset/list.js +1 -1
  21. package/lib/commands/doctor.js +1 -1
  22. package/lib/commands/init/index.js +1 -1
  23. package/lib/commands/init.js +1 -1
  24. package/lib/commands/logs/index.js +1 -1
  25. package/lib/commands/registry.js +1 -1
  26. package/lib/commands/schema.js +1 -1
  27. package/lib/commands/sql/detail.js +1 -1
  28. package/lib/commands/sql/exec.js +1 -1
  29. package/lib/commands/sql/index.js +1 -1
  30. package/lib/config/schema.js +1 -1
  31. package/lib/constant/auth-mode.js +1 -1
  32. package/lib/constant/cli.js +1 -1
  33. package/lib/constant/defaults.js +1 -1
  34. package/lib/constant/domain.js +1 -1
  35. package/lib/constant/env.js +1 -1
  36. package/lib/constant/output.js +1 -1
  37. package/lib/constant/risk.js +1 -1
  38. package/lib/context.js +1 -1
  39. package/lib/core/api-client.js +1 -1
  40. package/lib/core/db-resolver.js +1 -1
  41. package/lib/core/sdk-client.js +1 -1
  42. package/lib/errors.js +1 -1
  43. package/lib/framework/build-all-flags.js +1 -1
  44. package/lib/framework/dryrun.js +1 -1
  45. package/lib/framework/flags.js +1 -1
  46. package/lib/framework/help.js +1 -1
  47. package/lib/framework/index.js +1 -1
  48. package/lib/framework/output.js +1 -1
  49. package/lib/framework/preparse.js +1 -1
  50. package/lib/framework/response.js +1 -1
  51. package/lib/framework/runner-confirmation.js +1 -1
  52. package/lib/framework/runner-error.js +1 -1
  53. package/lib/framework/runner.js +1 -1
  54. package/lib/framework/schema-export.js +1 -1
  55. package/lib/framework/types.js +1 -1
  56. package/lib/help.js +1 -1
  57. package/lib/utils/apply-jq-filter.js +1 -1
  58. package/lib/utils/logger.js +1 -1
  59. package/lib/utils/params.js +1 -1
  60. package/lib/utils/version.js +1 -1
  61. package/lib/utils/write-cli-side-channel.js +1 -1
  62. package/package.json +1 -1
package/lib/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const a0_0xced967=a0_0x29df;(function(_0x390eb7,_0x3a40ef){const _0x2ebc65=a0_0x29df,_0x4aea9f=_0x390eb7();while(!![]){try{const _0xaebd45=parseInt(_0x2ebc65(0x151))/0x1*(-parseInt(_0x2ebc65(0x168))/0x2)+parseInt(_0x2ebc65(0x163))/0x3+-parseInt(_0x2ebc65(0x161))/0x4+parseInt(_0x2ebc65(0x162))/0x5*(parseInt(_0x2ebc65(0x149))/0x6)+parseInt(_0x2ebc65(0x15b))/0x7*(-parseInt(_0x2ebc65(0x16b))/0x8)+parseInt(_0x2ebc65(0x150))/0x9+parseInt(_0x2ebc65(0x15a))/0xa;if(_0xaebd45===_0x3a40ef)break;else _0x4aea9f['push'](_0x4aea9f['shift']());}catch(_0x4f52fc){_0x4aea9f['push'](_0x4aea9f['shift']());}}}(a0_0x3806,0x3c932));import{jsx as a0_0x48cbbf}from'react/jsx-runtime';function a0_0x29df(_0x43b947,_0xbb8519){_0x43b947=_0x43b947-0x13c;const _0x3806f3=a0_0x3806();let _0x29df32=_0x3806f3[_0x43b947];return _0x29df32;}import a0_0x3dd601 from'meow';import{render}from'ink';import{Help}from'./help.js';import{CliError,CliErrors}from'./errors.js';import{buildConfigFromFlags,initGlobalEnvironment}from'./context.js';import{isKnownService,getServiceEntry,findDefinition,getAllDefinitions}from'./commands/registry.js';import{runCommand,createPipelineEnv}from'./framework/runner.js';import{generateCommandHelp,generateServiceHelp,generateFullHelp}from'./framework/help.js';import{CLI_BIN_NAME,buildMeowFlags}from'./constant/cli.js';const helpText=generateFullHelp(),cli=a0_0x3dd601(helpText,{'importMeta':import.meta,'flags':buildMeowFlags(),'autoVersion':!![]});void main()[a0_0xced967(0x155)](handleError);async function main(){try{await run();}catch(_0x393e37){handleError(_0x393e37);}}function a0_0x3806(){const _0x3f61f5=['436688DmCQwc','6805jzBLIr','1175925Wnzuxk','exit','handler','init','length','32FuBKhb','corrected','\x0aCancelled.\x0a','344AZLumR','exitCode','ERR_STREAM_DESTROYED','flatMap','[deprecation]\x20`','ExitPromptError','import','[preparse]\x20',':\x20--','cancelled','slice','Error:\x20','name','\x20->\x20--','894RHHLme','input','code','message','defaultCommand','\x20init\x20import`\x20has\x20moved\x20to\x20`','unknownCommand','485766BYXOxD','24622pIvcmg','help','error','app','catch','log','hint','stderr','args','1026290wnDAtX','21kdVyMT','./framework/preparse.js','write','flags','ERR_USE_AFTER_CLOSE','assign'];a0_0x3806=function(){return _0x3f61f5;};return a0_0x3806();}async function run(){const _0xbd92cb=a0_0xced967;let _0x192a6e=cli[_0xbd92cb(0x14a)][0x0],_0x5b30b5=cli[_0xbd92cb(0x14a)][0x1];const _0x2e0744=cli[_0xbd92cb(0x15e)];try{const {correctFlags:_0x3a61b2}=await import(_0xbd92cb(0x15c)),_0x3b688a=getAllDefinitions()[_0xbd92cb(0x13e)](_0x58d840=>_0x58d840[_0xbd92cb(0x15e)]??[]),{flags:_0x33b783,corrections:_0x570ebe}=_0x3a61b2(_0x2e0744,_0x3b688a);if(_0x570ebe[_0xbd92cb(0x167)]>0x0){for(const _0x269027 of _0x570ebe){process[_0xbd92cb(0x158)]['write'](_0xbd92cb(0x142)+_0x269027[_0xbd92cb(0x165)]+_0xbd92cb(0x143)+_0x269027['original']+_0xbd92cb(0x148)+_0x269027[_0xbd92cb(0x169)]+'\x0a');}Object[_0xbd92cb(0x160)](_0x2e0744,_0x33b783);}}catch{}if(!_0x192a6e||!isKnownService(_0x192a6e)){const {waitUntilExit:_0x1c04e0}=render(a0_0x48cbbf(Help,{}));await _0x1c04e0();return;}const _0x3e3f94=getServiceEntry(_0x192a6e);if(!_0x5b30b5){if(_0x2e0744[_0xbd92cb(0x152)]){console[_0xbd92cb(0x156)](generateServiceHelp(_0x192a6e));return;}if(_0x3e3f94[_0xbd92cb(0x14d)])_0x5b30b5=_0x3e3f94[_0xbd92cb(0x14d)];else{console[_0xbd92cb(0x156)](generateServiceHelp(_0x192a6e));return;}}_0x192a6e===_0xbd92cb(0x166)&&_0x5b30b5===_0xbd92cb(0x141)&&(_0x192a6e=_0xbd92cb(0x154),process['stderr']['write'](_0xbd92cb(0x13f)+CLI_BIN_NAME+_0xbd92cb(0x14e)+CLI_BIN_NAME+'\x20app\x20import`.\x0a'));const _0xa9f5c5=findDefinition(_0x192a6e,_0x5b30b5);!_0xa9f5c5&&(console['log'](generateServiceHelp(_0x192a6e)),handleError(CliErrors[_0xbd92cb(0x14f)](_0x192a6e+'\x20'+_0x5b30b5)));if(_0x2e0744[_0xbd92cb(0x152)]){console[_0xbd92cb(0x156)](generateCommandHelp(_0xa9f5c5));return;}const _0x56d5bb=buildConfigFromFlags(_0x2e0744);await initGlobalEnvironment(_0x56d5bb);const _0x46b4dc=createPipelineEnv(_0x56d5bb,_0x2e0744);_0x46b4dc[_0xbd92cb(0x159)]=cli[_0xbd92cb(0x14a)][_0xbd92cb(0x145)](0x2),await runCommand(_0xa9f5c5,_0x46b4dc);}function handleError(_0x50cb5d){const _0x48e3fe=a0_0xced967;if(_0x50cb5d instanceof CliError){_0x50cb5d[_0x48e3fe(0x14b)]===_0x48e3fe(0x144)&&(process[_0x48e3fe(0x158)][_0x48e3fe(0x15d)](_0x48e3fe(0x16a)),process[_0x48e3fe(0x164)](0x0));console[_0x48e3fe(0x153)](_0x48e3fe(0x146)+_0x50cb5d[_0x48e3fe(0x14c)]);if(_0x50cb5d['hint'])console['error']('Hint:\x20'+_0x50cb5d[_0x48e3fe(0x157)]);process[_0x48e3fe(0x164)](_0x50cb5d[_0x48e3fe(0x13c)]);}isUserCancellation(_0x50cb5d)&&(process[_0x48e3fe(0x158)]['write'](_0x48e3fe(0x16a)),process['exit'](0x0)),console['error']('Unexpected\x20error:',_0x50cb5d),process[_0x48e3fe(0x164)](0x1);}function isUserCancellation(_0x3ba269){const _0x15b14b=a0_0xced967;if(!(_0x3ba269 instanceof Error))return![];if(_0x3ba269[_0x15b14b(0x147)]===_0x15b14b(0x140))return!![];if(_0x3ba269['code']===_0x15b14b(0x15f))return!![];if(_0x3ba269[_0x15b14b(0x14b)]===_0x15b14b(0x13d))return!![];return![];}
2
+ (function(_0x234a7e,_0x5475ad){const _0x562bf1=a0_0x4886,_0x2fbc6a=_0x234a7e();while(!![]){try{const _0x13d833=-parseInt(_0x562bf1(0x7b))/0x1+-parseInt(_0x562bf1(0x6d))/0x2+parseInt(_0x562bf1(0x7e))/0x3*(parseInt(_0x562bf1(0x6b))/0x4)+-parseInt(_0x562bf1(0x8a))/0x5*(parseInt(_0x562bf1(0x6f))/0x6)+-parseInt(_0x562bf1(0x64))/0x7+parseInt(_0x562bf1(0x7a))/0x8*(parseInt(_0x562bf1(0x80))/0x9)+parseInt(_0x562bf1(0x89))/0xa*(parseInt(_0x562bf1(0x84))/0xb);if(_0x13d833===_0x5475ad)break;else _0x2fbc6a['push'](_0x2fbc6a['shift']());}catch(_0x5efbd5){_0x2fbc6a['push'](_0x2fbc6a['shift']());}}}(a0_0x94a8,0xb84e1));import{jsx as a0_0x5471bd}from'react/jsx-runtime';import a0_0x5f288f from'meow';import{render}from'ink';import{Help}from'./help.js';import{CliError,CliErrors}from'./errors.js';import{buildConfigFromFlags,initGlobalEnvironment}from'./context.js';import{isKnownService,getServiceEntry,findDefinition,getAllDefinitions}from'./commands/registry.js';function a0_0x94a8(){const _0x21beb9=['[preparse]\x20','ERR_STREAM_DESTROYED','exit','256BMjoeK','Error:\x20','636908gFCrUq','\x20app\x20import`.\x0a','6drjepx','hint','log',':\x20--','help','handler','stderr','app','original','\x20init\x20import`\x20has\x20moved\x20to\x20`','flags','24wyHFaB','1201780aXMtvI','args','\x0aCancelled.\x0a','34722JAUbeX','Hint:\x20','3118221YYuwrZ','error','input','[deprecation]\x20`','44JheXYf','length','import','name','write','4192070RvkfMt','4263075zRJNxv','defaultCommand','unknownCommand','init','Unexpected\x20error:','2304463diwaJa','code','exitCode','slice'];a0_0x94a8=function(){return _0x21beb9;};return a0_0x94a8();}function a0_0x4886(_0x1e50e8,_0x16b254){_0x1e50e8=_0x1e50e8-0x64;const _0x94a88=a0_0x94a8();let _0x4886e9=_0x94a88[_0x1e50e8];return _0x4886e9;}import{runCommand,createPipelineEnv}from'./framework/runner.js';import{generateCommandHelp,generateServiceHelp,generateFullHelp}from'./framework/help.js';import{CLI_BIN_NAME,buildMeowFlags}from'./constant/cli.js';const helpText=generateFullHelp(),cli=a0_0x5f288f(helpText,{'importMeta':import.meta,'flags':buildMeowFlags(),'autoVersion':!![]});void main()['catch'](handleError);async function main(){try{await run();}catch(_0x254fa9){handleError(_0x254fa9);}}async function run(){const _0x43a337=a0_0x4886;let _0x3c4e05=cli[_0x43a337(0x82)][0x0],_0x26dd8c=cli[_0x43a337(0x82)][0x1];const _0x58abcf=cli[_0x43a337(0x79)];try{const {correctFlags:_0x2738a5}=await import('./framework/preparse.js'),_0x5bc14d=getAllDefinitions()['flatMap'](_0xa5ab58=>_0xa5ab58[_0x43a337(0x79)]??[]),{flags:_0x50b97a,corrections:_0x48431c}=_0x2738a5(_0x58abcf,_0x5bc14d);if(_0x48431c[_0x43a337(0x85)]>0x0){for(const _0x4a8a37 of _0x48431c){process[_0x43a337(0x75)][_0x43a337(0x88)](_0x43a337(0x68)+_0x4a8a37[_0x43a337(0x74)]+_0x43a337(0x72)+_0x4a8a37[_0x43a337(0x77)]+'\x20->\x20--'+_0x4a8a37['corrected']+'\x0a');}Object['assign'](_0x58abcf,_0x50b97a);}}catch{}if(!_0x3c4e05||!isKnownService(_0x3c4e05)){const {waitUntilExit:_0x1c80a9}=render(a0_0x5471bd(Help,{}));await _0x1c80a9();return;}const _0x52d96a=getServiceEntry(_0x3c4e05);if(!_0x26dd8c){if(_0x58abcf['help']){console['log'](generateServiceHelp(_0x3c4e05));return;}if(_0x52d96a[_0x43a337(0x8b)])_0x26dd8c=_0x52d96a[_0x43a337(0x8b)];else{console[_0x43a337(0x71)](generateServiceHelp(_0x3c4e05));return;}}_0x3c4e05===_0x43a337(0x8d)&&_0x26dd8c===_0x43a337(0x86)&&(_0x3c4e05=_0x43a337(0x76),process[_0x43a337(0x75)][_0x43a337(0x88)](_0x43a337(0x83)+CLI_BIN_NAME+_0x43a337(0x78)+CLI_BIN_NAME+_0x43a337(0x6e)));const _0x25a4ef=findDefinition(_0x3c4e05,_0x26dd8c);!_0x25a4ef&&(console[_0x43a337(0x71)](generateServiceHelp(_0x3c4e05)),handleError(CliErrors[_0x43a337(0x8c)](_0x3c4e05+'\x20'+_0x26dd8c)));if(_0x58abcf[_0x43a337(0x73)]){console[_0x43a337(0x71)](generateCommandHelp(_0x25a4ef));return;}const _0x234beb=buildConfigFromFlags(_0x58abcf);await initGlobalEnvironment(_0x234beb);const _0x699920=createPipelineEnv(_0x234beb,_0x58abcf);_0x699920[_0x43a337(0x7c)]=cli['input'][_0x43a337(0x67)](0x2),await runCommand(_0x25a4ef,_0x699920);}function handleError(_0x54baad){const _0x5c759b=a0_0x4886;if(_0x54baad instanceof CliError){_0x54baad[_0x5c759b(0x65)]==='cancelled'&&(process[_0x5c759b(0x75)][_0x5c759b(0x88)](_0x5c759b(0x7d)),process[_0x5c759b(0x6a)](0x0));console['error'](_0x5c759b(0x6c)+_0x54baad['message']);if(_0x54baad['hint'])console[_0x5c759b(0x81)](_0x5c759b(0x7f)+_0x54baad[_0x5c759b(0x70)]);process[_0x5c759b(0x6a)](_0x54baad[_0x5c759b(0x66)]);}isUserCancellation(_0x54baad)&&(process[_0x5c759b(0x75)][_0x5c759b(0x88)]('\x0aCancelled.\x0a'),process['exit'](0x0)),console[_0x5c759b(0x81)](_0x5c759b(0x8e),_0x54baad),process['exit'](0x1);}function isUserCancellation(_0x598206){const _0x2e845e=a0_0x4886;if(!(_0x598206 instanceof Error))return![];if(_0x598206[_0x2e845e(0x87)]==='ExitPromptError')return!![];if(_0x598206[_0x2e845e(0x65)]==='ERR_USE_AFTER_CLOSE')return!![];if(_0x598206[_0x2e845e(0x65)]===_0x2e845e(0x69))return!![];return![];}
@@ -1 +1 @@
1
- (function(_0x268a32,_0x342110){const _0x46175b=a1_0x3759,_0x16b657=_0x268a32();while(!![]){try{const _0x5b79fa=-parseInt(_0x46175b(0x15f))/0x1*(-parseInt(_0x46175b(0x168))/0x2)+-parseInt(_0x46175b(0x160))/0x3+parseInt(_0x46175b(0x15c))/0x4*(-parseInt(_0x46175b(0x16b))/0x5)+-parseInt(_0x46175b(0x171))/0x6+-parseInt(_0x46175b(0x15e))/0x7*(parseInt(_0x46175b(0x161))/0x8)+parseInt(_0x46175b(0x167))/0x9+parseInt(_0x46175b(0x15d))/0xa;if(_0x5b79fa===_0x342110)break;else _0x16b657['push'](_0x16b657['shift']());}catch(_0x2c6073){_0x16b657['push'](_0x16b657['shift']());}}}(a1_0x1063,0xb6d98));function a1_0x3759(_0x224158,_0x50a51b){_0x224158=_0x224158-0x151;const _0x10638d=a1_0x1063();let _0x3759cf=_0x10638d[_0x224158];return _0x3759cf;}import{createHash}from'node:crypto';import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{homedir}from'node:os';import{dirname,resolve}from'node:path';function fingerprintAccessKey(_0x422720){const _0xfd139a=a1_0x3759,_0x45c463=_0x422720[_0xfd139a(0x164)](),_0x3f3f8c=_0x45c463[_0xfd139a(0x16a)](-0x6)||_0xfd139a(0x163),_0xfaaa5e=createHash(_0xfd139a(0x155))[_0xfd139a(0x151)](_0x45c463)[_0xfd139a(0x15a)](_0xfd139a(0x158))[_0xfd139a(0x16a)](0x0,0xc);return _0xfd139a(0x152)+_0x3f3f8c+'_'+_0xfaaa5e;}function a1_0x1063(){const _0x405ce2=['hex','code','digest','.tmp','28ZlEZKq','32992130iuPazk','28lVshed','15076ERIcaU','1504767EuVKBQ','130976SFJsHb','EPERM','unknown','trim','appName','items','176832lbsqFv','8QLPclk','cache','slice','914915cPAbFj','EACCES','my-apps.json','parse','stringify','.lovrabet','4693530fmVeuG','update','ak_','utf8','find','sha256','isArray','EXDEV'];a1_0x1063=function(){return _0x405ce2;};return a1_0x1063();}export function getAppCacheFilePath(_0x4aa22c,_0xf0a2d4){const _0x3b97c8=a1_0x3759;return resolve(homedir(),_0x3b97c8(0x170),_0x3b97c8(0x169),_0x4aa22c,fingerprintAccessKey(_0xf0a2d4),_0x3b97c8(0x16d));}export function readCachedAppList(_0x580e7f,_0x127a31){const _0x5c0169=a1_0x3759;if(!_0x127a31?.[_0x5c0169(0x164)]())return null;const _0x3fbd20=getAppCacheFilePath(_0x580e7f,_0x127a31);if(!existsSync(_0x3fbd20))return null;try{const _0xc09443=readFileSync(_0x3fbd20,_0x5c0169(0x153));if(!_0xc09443[_0x5c0169(0x164)]())return null;const _0x3a43b0=JSON[_0x5c0169(0x16e)](_0xc09443);if(!Array[_0x5c0169(0x156)](_0x3a43b0['items']))return null;return _0x3a43b0;}catch{return null;}}export function writeCachedAppList(_0x153780,_0x2ea82d,_0x44c9a5){const _0x5197f0=a1_0x3759,_0x289793=getAppCacheFilePath(_0x153780,_0x2ea82d),_0x2adfd0=dirname(_0x289793);!existsSync(_0x2adfd0)&&mkdirSync(_0x2adfd0,{'recursive':!![]});const _0x2cae06=_0x289793+_0x5197f0(0x15b);try{writeFileSync(_0x2cae06,JSON[_0x5197f0(0x16f)](_0x44c9a5,null,0x2)+'\x0a',{'encoding':_0x5197f0(0x153),'mode':0x180});try{renameSync(_0x2cae06,_0x289793);}catch(_0x593061){if(_0x593061['code']===_0x5197f0(0x162)||_0x593061[_0x5197f0(0x159)]===_0x5197f0(0x157)||_0x593061['code']===_0x5197f0(0x16c)){writeFileSync(_0x289793,JSON['stringify'](_0x44c9a5,null,0x2)+'\x0a',{'encoding':'utf8'});try{unlinkSync(_0x2cae06);}catch{}}else throw _0x593061;}}catch(_0xf2c66b){try{unlinkSync(_0x2cae06);}catch{}throw _0xf2c66b;}return _0x289793;}export function resolveCachedAppCode(_0x116a95,_0x65bb73,_0x33a546){const _0x237266=a1_0x3759;if(!_0x116a95)return undefined;const _0x32fc3f=readCachedAppList(_0x65bb73,_0x33a546),_0x5aab85=_0x32fc3f?.[_0x237266(0x166)][_0x237266(0x154)](_0x36685e=>_0x36685e[_0x237266(0x165)]===_0x116a95);return _0x5aab85?.['appCode']?.[_0x237266(0x164)]()||undefined;}
1
+ (function(_0x2fd837,_0x2033eb){const _0x356166=a1_0x50ef,_0x37e3a9=_0x2fd837();while(!![]){try{const _0x3f70bf=-parseInt(_0x356166(0x1d8))/0x1*(parseInt(_0x356166(0x1c4))/0x2)+parseInt(_0x356166(0x1c8))/0x3*(-parseInt(_0x356166(0x1d3))/0x4)+-parseInt(_0x356166(0x1c0))/0x5+-parseInt(_0x356166(0x1cd))/0x6+-parseInt(_0x356166(0x1d9))/0x7*(parseInt(_0x356166(0x1d7))/0x8)+-parseInt(_0x356166(0x1d6))/0x9*(parseInt(_0x356166(0x1c9))/0xa)+parseInt(_0x356166(0x1d5))/0xb;if(_0x3f70bf===_0x2033eb)break;else _0x37e3a9['push'](_0x37e3a9['shift']());}catch(_0x2012c3){_0x37e3a9['push'](_0x37e3a9['shift']());}}}(a1_0x3a64,0x27b0c));import{createHash}from'node:crypto';function a1_0x3a64(){const _0x451634=['117927qUgbzV','80TtLPAZ','3263NurUAa','95837FoaXPf','sha256','parse','utf8','.lovrabet','slice','911930UzvuPC','trim','stringify','my-apps.json','142auYCox','isArray','items','appCode','1413LRWiFo','140QKHxkY','.tmp','EPERM','digest','1517574YnYMjs','appName','cache','code','unknown','hex','1264gVsIXh','EXDEV','14286228LGQAjw'];a1_0x3a64=function(){return _0x451634;};return a1_0x3a64();}import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{homedir}from'node:os';import{dirname,resolve}from'node:path';function fingerprintAccessKey(_0x299f0f){const _0x37cc50=a1_0x50ef,_0x2999d6=_0x299f0f[_0x37cc50(0x1c1)](),_0x3c3fef=_0x2999d6['slice'](-0x6)||_0x37cc50(0x1d1),_0x1be2f7=createHash(_0x37cc50(0x1da))['update'](_0x2999d6)[_0x37cc50(0x1cc)](_0x37cc50(0x1d2))[_0x37cc50(0x1bf)](0x0,0xc);return'ak_'+_0x3c3fef+'_'+_0x1be2f7;}function a1_0x50ef(_0x3867ac,_0x17ef74){_0x3867ac=_0x3867ac-0x1bf;const _0x3a641d=a1_0x3a64();let _0x50ef4f=_0x3a641d[_0x3867ac];return _0x50ef4f;}export function getAppCacheFilePath(_0x394315,_0x53a436){const _0x1673fa=a1_0x50ef;return resolve(homedir(),_0x1673fa(0x1dd),_0x1673fa(0x1cf),_0x394315,fingerprintAccessKey(_0x53a436),_0x1673fa(0x1c3));}export function readCachedAppList(_0x62e3bf,_0x279102){const _0x3ce613=a1_0x50ef;if(!_0x279102?.[_0x3ce613(0x1c1)]())return null;const _0x120cfd=getAppCacheFilePath(_0x62e3bf,_0x279102);if(!existsSync(_0x120cfd))return null;try{const _0x5583e1=readFileSync(_0x120cfd,_0x3ce613(0x1dc));if(!_0x5583e1[_0x3ce613(0x1c1)]())return null;const _0xb199b1=JSON[_0x3ce613(0x1db)](_0x5583e1);if(!Array[_0x3ce613(0x1c5)](_0xb199b1['items']))return null;return _0xb199b1;}catch{return null;}}export function writeCachedAppList(_0x6ca8e2,_0xf30d07,_0x29b35c){const _0x5bdfbb=a1_0x50ef,_0x17456a=getAppCacheFilePath(_0x6ca8e2,_0xf30d07),_0x12d5e0=dirname(_0x17456a);!existsSync(_0x12d5e0)&&mkdirSync(_0x12d5e0,{'recursive':!![]});const _0x24edb9=_0x17456a+_0x5bdfbb(0x1ca);try{writeFileSync(_0x24edb9,JSON['stringify'](_0x29b35c,null,0x2)+'\x0a',{'encoding':_0x5bdfbb(0x1dc),'mode':0x180});try{renameSync(_0x24edb9,_0x17456a);}catch(_0x38d762){if(_0x38d762[_0x5bdfbb(0x1d0)]===_0x5bdfbb(0x1cb)||_0x38d762['code']===_0x5bdfbb(0x1d4)||_0x38d762['code']==='EACCES'){writeFileSync(_0x17456a,JSON[_0x5bdfbb(0x1c2)](_0x29b35c,null,0x2)+'\x0a',{'encoding':_0x5bdfbb(0x1dc)});try{unlinkSync(_0x24edb9);}catch{}}else throw _0x38d762;}}catch(_0x1fbd91){try{unlinkSync(_0x24edb9);}catch{}throw _0x1fbd91;}return _0x17456a;}export function resolveCachedAppCode(_0x2b86b5,_0xbbc8f4,_0x42300c){const _0x1aabd6=a1_0x50ef;if(!_0x2b86b5)return undefined;const _0x490d24=readCachedAppList(_0xbbc8f4,_0x42300c),_0xa0650b=_0x490d24?.[_0x1aabd6(0x1c6)]['find'](_0xdae6f5=>_0xdae6f5[_0x1aabd6(0x1ce)]===_0x2b86b5);return _0xa0650b?.[_0x1aabd6(0x1c7)]?.['trim']()||undefined;}
@@ -1 +1 @@
1
- const a2_0x2e1da1=a2_0x5ad4;(function(_0x50c898,_0x4f3ddf){const _0x2e6517=a2_0x5ad4,_0x3d3b7c=_0x50c898();while(!![]){try{const _0x5cc5db=-parseInt(_0x2e6517(0x13f))/0x1*(parseInt(_0x2e6517(0x135))/0x2)+-parseInt(_0x2e6517(0x12b))/0x3*(-parseInt(_0x2e6517(0x10d))/0x4)+parseInt(_0x2e6517(0x116))/0x5+-parseInt(_0x2e6517(0x10e))/0x6+parseInt(_0x2e6517(0x137))/0x7*(parseInt(_0x2e6517(0x108))/0x8)+-parseInt(_0x2e6517(0x139))/0x9*(parseInt(_0x2e6517(0x12e))/0xa)+parseInt(_0x2e6517(0x12c))/0xb;if(_0x5cc5db===_0x4f3ddf)break;else _0x3d3b7c['push'](_0x3d3b7c['shift']());}catch(_0x4b91e9){_0x3d3b7c['push'](_0x3d3b7c['shift']());}}}(a2_0x3732,0x3e84e));import{CliErrors}from'../../errors.js';import{initImportFlagDefs,runInitImport}from'../../commands/init.js';import{getEnv,RUNTIME_ENV_VALUES}from'../../constant/env.js';import{buildAppProfileListFields}from'../../config/schema.js';import{CLI_BIN_NAME,readConfig,writeConfig,scopeLabel,enrichAppListItemsWithMergedSelection}from'../../commands/app/shared.js';function a2_0x5ad4(_0x21ab55,_0x18a4af){_0x21ab55=_0x21ab55-0x104;const _0x3732c3=a2_0x3732();let _0x5ad488=_0x3732c3[_0x21ab55];return _0x5ad488;}import{resolveConfigScope,toScopeFlags}from'../../commands/common/config-policy.js';const GLOBAL_FLAG={'name':a2_0x2e1da1(0x117),'type':'boolean','description':a2_0x2e1da1(0x122),'default':![]};function collectFlags(_0x1f4535,_0x2e3cf2){const _0x245686=a2_0x2e1da1,_0x54dc93={};for(const _0x1ac789 of _0x2e3cf2){const _0x310329=_0x1ac789[_0x245686(0x12f)]===_0x245686(0x126)?_0x1f4535[_0x245686(0x115)](_0x1ac789[_0x245686(0x11e)]):_0x1f4535['str'](_0x1ac789[_0x245686(0x11e)]);if(_0x310329!==''&&_0x310329!==![])_0x54dc93[_0x1ac789['name']]=_0x310329;}if(_0x1f4535[_0x245686(0x141)])_0x54dc93[_0x245686(0x141)]=!![];return _0x54dc93;}function a2_0x3732(){const _0x290fba=['No\x20cached\x20apps\x20found.','466461yNERON','../../context.js','Usage:\x20','\x20cached\x20app(s)\x20for\x20env=\x22','Force\x20remote\x20fetch\x20and\x20refresh\x20local\x20cache','from','2WzwtfY','Filter\x20by\x20environment\x20(default:\x20current\x20env)','nonInteractive','items','Available:\x20','\x22\x20not\x20found.','local','fetchedAt','isCurrent','length','mergedCli','str','../../commands/app/remote-source.js','No\x20apps\x20found\x20on\x20the\x20platform.','appName','819112aLEQRw','validation','envName','cachePath','string','4Ecvwua','21168wrPxXR','env','cache','no-cache','use','Refreshed\x20app\x20cache\x20with\x20','source','bool','444715cZrRoY','global','read','Remote\x20app\x20name\x20to\x20activate','projectPath','list','\x20app\x20use\x20<name>\x20[--global]','Missing\x20app\x20name.','name','Refresh\x20the\x20local\x20app\x20cache\x20from\x20the\x20platform','args','\x20app\x20list`\x20to\x20discover\x20remote\x20apps.','Use\x20global\x20config\x20scope','appOwnerName','write','appCode','boolean','App\x20\x22','Use\x20`','accessKey','Loaded\x20','512085aQLdZN','4623278IUcCvv','Read\x20from\x20local\x20cache\x20only','90fBwmMt','type','find','Switch\x20the\x20default\x20app','Default\x20app\x20set\x20to\x20\x22','app','Import\x20the\x20default\x20app\x20selection\x20from\x20a\x20.rabetbase.json\x20file','56258UGPuQx','Target\x20environment\x20(default:\x20current\x20env)','7EBfYoq'];a2_0x3732=function(){return _0x290fba;};return a2_0x3732();}const listDef={'service':a2_0x2e1da1(0x133),'command':a2_0x2e1da1(0x11b),'description':'List\x20apps\x20available\x20to\x20the\x20current\x20access\x20key','risk':a2_0x2e1da1(0x118),'requiresAuth':!![],'requiresAppCode':![],'hasFormat':!![],'flags':[{'name':a2_0x2e1da1(0x10f),'type':a2_0x2e1da1(0x10c),'description':a2_0x2e1da1(0x140),'enum':[...RUNTIME_ENV_VALUES]},{'name':a2_0x2e1da1(0x145),'type':a2_0x2e1da1(0x126),'description':'Read\x20app\x20list\x20from\x20local\x20cache\x20only','default':![]},{'name':a2_0x2e1da1(0x111),'type':'boolean','description':'Force\x20remote\x20fetch\x20and\x20refresh\x20local\x20cache','default':![]}],async 'execute'(_0x1498d1){const _0x57843d=a2_0x2e1da1,_0x2b3110=_0x1498d1[_0x57843d(0x104)](_0x57843d(0x10f))||_0x1498d1[_0x57843d(0x10a)]||getEnv()||'production',_0x4cbbd5=_0x1498d1[_0x57843d(0x115)](_0x57843d(0x145)),_0x2db1c5=_0x1498d1['bool'](_0x57843d(0x111)),{readRawConfigWithLayers:_0x2090d5,resolveDefaultAppSource:_0x222697}=await import('../../context.js'),{getRemoteAppList:_0xc10e12}=await import('../../commands/app/remote-source.js'),{config:_0xc176a5,layers:_0x375447}=_0x2090d5(),_0x3fef73=_0x222697(_0x375447),{defaultApp:_0x26f607}=_0xc176a5,_0x2f0a9f=await _0xc10e12({'env':_0x2b3110,'accessKey':_0x1498d1[_0x57843d(0x129)],'localOnly':_0x4cbbd5,'noCache':_0x2db1c5}),_0x24db06=_0x2f0a9f[_0x57843d(0x142)]['map'](_0x34a639=>{const _0x2e2995=_0x57843d;return{'name':_0x34a639[_0x2e2995(0x107)],'appcode':_0x34a639[_0x2e2995(0x125)],'named':!![],'definedIn':'remote','isDefault':_0x34a639[_0x2e2995(0x107)]===_0x26f607,...buildAppProfileListFields(_0x2b3110),'source':_0x2f0a9f[_0x2e2995(0x114)],'owner':_0x34a639[_0x2e2995(0x123)]??null,'status':_0x34a639['appPublishStatus']??null,'cachedAt':_0x2f0a9f[_0x2e2995(0x146)]};});enrichAppListItemsWithMergedSelection(_0x24db06,_0x1498d1[_0x57843d(0x149)]);if(_0x24db06[_0x57843d(0x148)]===0x0)return{'ok':!![],'data':[],'message':_0x2f0a9f[_0x57843d(0x114)]==='cache'?_0x57843d(0x138):_0x57843d(0x106)};const _0x22da52=_0x24db06[_0x57843d(0x130)](_0x103eb9=>_0x103eb9[_0x57843d(0x147)]===!![]),_0xc357aa=_0x26f607??_0x22da52?.[_0x57843d(0x11e)]??null,_0x5497cf={'env':_0x2b3110,'source':_0x2f0a9f[_0x57843d(0x114)],'fetchedAt':_0x2f0a9f['fetchedAt'],'cachePath':_0x2f0a9f['cachePath'],'globalPath':_0x375447['globalPath']??null,'projectPath':_0x375447[_0x57843d(0x11a)]??null,'defaultApp':_0xc357aa,'defaultAppSource':_0x26f607!=null?_0x3fef73:null};return{'ok':!![],'data':{'items':_0x24db06,'meta':_0x5497cf}};}},pullDef={'service':a2_0x2e1da1(0x133),'command':'pull','description':a2_0x2e1da1(0x11f),'risk':a2_0x2e1da1(0x124),'requiresAuth':!![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':a2_0x2e1da1(0x10f),'type':a2_0x2e1da1(0x10c),'description':a2_0x2e1da1(0x136),'enum':[...RUNTIME_ENV_VALUES]},{'name':a2_0x2e1da1(0x145),'type':a2_0x2e1da1(0x126),'description':a2_0x2e1da1(0x12d),'default':![]},{'name':a2_0x2e1da1(0x111),'type':a2_0x2e1da1(0x126),'description':a2_0x2e1da1(0x13d),'default':![]}],async 'execute'(_0x3eb5e2){const _0x408cb1=a2_0x2e1da1,_0x202966=_0x3eb5e2['str']('env')||_0x3eb5e2['envName']||getEnv()||'production',_0x2dfe77=_0x3eb5e2[_0x408cb1(0x115)](_0x408cb1(0x145)),_0x418a97=_0x3eb5e2[_0x408cb1(0x115)](_0x408cb1(0x111)),{getRemoteAppList:_0x5afd3a}=await import(_0x408cb1(0x105)),_0x2d5ee5=await _0x5afd3a({'env':_0x202966,'accessKey':_0x3eb5e2[_0x408cb1(0x129)],'localOnly':_0x2dfe77,'noCache':_0x418a97});return{'ok':!![],'data':{'total':_0x2d5ee5[_0x408cb1(0x142)][_0x408cb1(0x148)],'env':_0x202966,'source':_0x2d5ee5[_0x408cb1(0x114)],'fetchedAt':_0x2d5ee5[_0x408cb1(0x146)],'cachePath':_0x2d5ee5[_0x408cb1(0x10b)]},'message':_0x2d5ee5[_0x408cb1(0x114)]===_0x408cb1(0x110)?_0x408cb1(0x12a)+_0x2d5ee5[_0x408cb1(0x142)]['length']+_0x408cb1(0x13c)+_0x202966+'\x22.':_0x408cb1(0x113)+_0x2d5ee5['items'][_0x408cb1(0x148)]+'\x20app(s)\x20for\x20env=\x22'+_0x202966+'\x22.'};}},useDef={'service':a2_0x2e1da1(0x133),'command':a2_0x2e1da1(0x112),'description':a2_0x2e1da1(0x131),'risk':a2_0x2e1da1(0x124),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a2_0x2e1da1(0x11e),'description':a2_0x2e1da1(0x119),'required':!![]}],'flags':[GLOBAL_FLAG],async 'validate'(_0x4ac9c6){const _0x4c23b6=a2_0x2e1da1;if(!_0x4ac9c6[_0x4c23b6(0x120)][0x0])throw CliErrors['validation'](_0x4c23b6(0x11d),_0x4c23b6(0x13b)+CLI_BIN_NAME+'\x20app\x20use\x20<name>\x20[--global]');},async 'execute'(_0x659482){const _0x9d35e2=a2_0x2e1da1,_0x3796e0=_0x659482[_0x9d35e2(0x120)][0x0];if(!_0x3796e0)throw CliErrors['validation'](_0x9d35e2(0x11d),_0x9d35e2(0x13b)+CLI_BIN_NAME+_0x9d35e2(0x11c));const {buildConfigFromFlags:_0x1cedab}=await import(_0x9d35e2(0x13a)),{readCachedAppList:_0x1643c8}=await import('../../commands/app/cache.js'),_0x377bd4=_0x1cedab({}),_0x452efa=_0x1643c8(_0x377bd4['env'],_0x377bd4[_0x9d35e2(0x129)]),_0x3f6649=_0x452efa?.[_0x9d35e2(0x142)][_0x9d35e2(0x130)](_0x4b150c=>_0x4b150c[_0x9d35e2(0x107)]===_0x3796e0);if(!_0x3f6649&&_0x377bd4['defaultApp']!==_0x3796e0){const _0x207bbe=[..._0x452efa?.[_0x9d35e2(0x142)]['map'](_0x1c247d=>_0x1c247d[_0x9d35e2(0x107)])??[]],_0xef80be=_0x207bbe[_0x9d35e2(0x148)]===0x0?_0x9d35e2(0x128)+CLI_BIN_NAME+_0x9d35e2(0x121):_0x9d35e2(0x143)+Array[_0x9d35e2(0x13e)](new Set(_0x207bbe))['join'](',\x20');throw CliErrors[_0x9d35e2(0x109)](_0x9d35e2(0x127)+_0x3796e0+_0x9d35e2(0x144),_0xef80be);}const _0x21cd5f=_0x659482[_0x9d35e2(0x115)](_0x9d35e2(0x117));let _0x522c23;if(_0x21cd5f)_0x522c23={'global':!![]};else{const {isInProject:_0x1b5edb}=await import('../../context.js'),_0x4a24a9=_0x1b5edb();_0x522c23=toScopeFlags(resolveConfigScope({'explicitGlobal':![],'policy':'project-default','inProject':_0x4a24a9}));}const _0x5ec8c9=readConfig(_0x522c23);return _0x5ec8c9['defaultApp']=_0x3796e0,writeConfig(_0x5ec8c9,_0x522c23),{'ok':!![],'message':_0x9d35e2(0x132)+_0x3796e0+'\x22'+scopeLabel(_0x522c23)+'.'};}},importDef={'service':a2_0x2e1da1(0x133),'command':'import','description':a2_0x2e1da1(0x134),'risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':initImportFlagDefs,async 'execute'(_0x436e16){return await runInitImport(collectFlags(_0x436e16,initImportFlagDefs)),{'ok':!![]};}};export const appDefinitions=[listDef,pullDef,useDef,importDef];
1
+ const a2_0x2d39b7=a2_0x3ab9;(function(_0x4384c5,_0x571134){const _0xce0ea3=a2_0x3ab9,_0x4b5f6a=_0x4384c5();while(!![]){try{const _0x5a08aa=-parseInt(_0xce0ea3(0x17e))/0x1+-parseInt(_0xce0ea3(0x1a3))/0x2*(-parseInt(_0xce0ea3(0x188))/0x3)+-parseInt(_0xce0ea3(0x172))/0x4+parseInt(_0xce0ea3(0x186))/0x5+parseInt(_0xce0ea3(0x196))/0x6+-parseInt(_0xce0ea3(0x17d))/0x7+parseInt(_0xce0ea3(0x1a7))/0x8*(parseInt(_0xce0ea3(0x180))/0x9);if(_0x5a08aa===_0x571134)break;else _0x4b5f6a['push'](_0x4b5f6a['shift']());}catch(_0x129b5c){_0x4b5f6a['push'](_0x4b5f6a['shift']());}}}(a2_0x30e8,0xcb7a5));function a2_0x30e8(){const _0x11b563=['Remote\x20app\x20name\x20to\x20activate','List\x20apps\x20available\x20to\x20the\x20current\x20access\x20key','from','../../commands/app/cache.js','No\x20cached\x20apps\x20found.','\x20app\x20use\x20<name>\x20[--global]','../../context.js','Use\x20global\x20config\x20scope','187778KOPdEV','App\x20\x22','Read\x20app\x20list\x20from\x20local\x20cache\x20only','string','1036240osoMZw','Import\x20the\x20default\x20app\x20selection\x20from\x20a\x20.rabetbase.json\x20file','str','\x20cached\x20app(s)\x20for\x20env=\x22','no-cache','type','validation','source','name','globalPath','env','import','Target\x20environment\x20(default:\x20current\x20env)','Read\x20from\x20local\x20cache\x20only','projectPath','nonInteractive','../../commands/app/remote-source.js','read','list','pull','1558112BvuUdl','fetchedAt','production','boolean','items','local','project-default','mergedCli','cachePath','appCode','Force\x20remote\x20fetch\x20and\x20refresh\x20local\x20cache','5106276IXYabE','1558347fapiqp','Missing\x20app\x20name.','189CooMhs','defaultApp','Refreshed\x20app\x20cache\x20with\x20','bool','Refresh\x20the\x20local\x20app\x20cache\x20from\x20the\x20platform','cache','3449670pGHtwp','length','3XxTJae','Use\x20`','appOwnerName','Default\x20app\x20set\x20to\x20\x22','find','Filter\x20by\x20environment\x20(default:\x20current\x20env)','No\x20apps\x20found\x20on\x20the\x20platform.','map','global','use','\x20app\x20list`\x20to\x20discover\x20remote\x20apps.','appPublishStatus','write','appName','41010miuQxW','args','app','envName','Usage:\x20'];a2_0x30e8=function(){return _0x11b563;};return a2_0x30e8();}function a2_0x3ab9(_0x3db14b,_0x118197){_0x3db14b=_0x3db14b-0x171;const _0x30e85c=a2_0x30e8();let _0x3ab908=_0x30e85c[_0x3db14b];return _0x3ab908;}import{CliErrors}from'../../errors.js';import{initImportFlagDefs,runInitImport}from'../../commands/init.js';import{getEnv,RUNTIME_ENV_VALUES}from'../../constant/env.js';import{buildAppProfileListFields}from'../../config/schema.js';import{CLI_BIN_NAME,readConfig,writeConfig,scopeLabel,enrichAppListItemsWithMergedSelection}from'../../commands/app/shared.js';import{resolveConfigScope,toScopeFlags}from'../../commands/common/config-policy.js';const GLOBAL_FLAG={'name':a2_0x2d39b7(0x190),'type':a2_0x2d39b7(0x175),'description':a2_0x2d39b7(0x1a2),'default':![]};function collectFlags(_0x4937aa,_0x22cdd9){const _0x27faec=a2_0x2d39b7,_0x42e484={};for(const _0x45ad3d of _0x22cdd9){const _0x379d2c=_0x45ad3d[_0x27faec(0x1ac)]===_0x27faec(0x175)?_0x4937aa[_0x27faec(0x183)](_0x45ad3d[_0x27faec(0x1af)]):_0x4937aa[_0x27faec(0x1a9)](_0x45ad3d['name']);if(_0x379d2c!==''&&_0x379d2c!==![])_0x42e484[_0x45ad3d[_0x27faec(0x1af)]]=_0x379d2c;}if(_0x4937aa[_0x27faec(0x1b6)])_0x42e484[_0x27faec(0x1b6)]=!![];return _0x42e484;}const listDef={'service':a2_0x2d39b7(0x198),'command':a2_0x2d39b7(0x1b9),'description':a2_0x2d39b7(0x19c),'risk':a2_0x2d39b7(0x1b8),'requiresAuth':!![],'requiresAppCode':![],'hasFormat':!![],'flags':[{'name':a2_0x2d39b7(0x1b1),'type':a2_0x2d39b7(0x1a6),'description':a2_0x2d39b7(0x18d),'enum':[...RUNTIME_ENV_VALUES]},{'name':a2_0x2d39b7(0x177),'type':a2_0x2d39b7(0x175),'description':a2_0x2d39b7(0x1a5),'default':![]},{'name':a2_0x2d39b7(0x1ab),'type':a2_0x2d39b7(0x175),'description':'Force\x20remote\x20fetch\x20and\x20refresh\x20local\x20cache','default':![]}],async 'execute'(_0x339dde){const _0x248de0=a2_0x2d39b7,_0x456f52=_0x339dde[_0x248de0(0x1a9)](_0x248de0(0x1b1))||_0x339dde[_0x248de0(0x199)]||getEnv()||_0x248de0(0x174),_0xe8f25f=_0x339dde[_0x248de0(0x183)](_0x248de0(0x177)),_0x28efe7=_0x339dde['bool'](_0x248de0(0x1ab)),{readRawConfigWithLayers:_0x1944c3,resolveDefaultAppSource:_0x3ab348}=await import(_0x248de0(0x1a1)),{getRemoteAppList:_0x504e42}=await import(_0x248de0(0x1b7)),{config:_0x5e377e,layers:_0x1da400}=_0x1944c3(),_0x12214a=_0x3ab348(_0x1da400),{defaultApp:_0x33c8de}=_0x5e377e,_0x4007ff=await _0x504e42({'env':_0x456f52,'accessKey':_0x339dde['accessKey'],'localOnly':_0xe8f25f,'noCache':_0x28efe7}),_0x3c31f1=_0x4007ff[_0x248de0(0x176)]['map'](_0x584c1d=>{const _0x2eb96b=_0x248de0;return{'name':_0x584c1d[_0x2eb96b(0x195)],'appcode':_0x584c1d[_0x2eb96b(0x17b)],'named':!![],'definedIn':'remote','isDefault':_0x584c1d['appName']===_0x33c8de,...buildAppProfileListFields(_0x456f52),'source':_0x4007ff[_0x2eb96b(0x1ae)],'owner':_0x584c1d[_0x2eb96b(0x18a)]??null,'status':_0x584c1d[_0x2eb96b(0x193)]??null,'cachedAt':_0x4007ff['fetchedAt']};});enrichAppListItemsWithMergedSelection(_0x3c31f1,_0x339dde[_0x248de0(0x179)]);if(_0x3c31f1[_0x248de0(0x187)]===0x0)return{'ok':!![],'data':[],'message':_0x4007ff[_0x248de0(0x1ae)]===_0x248de0(0x185)?_0x248de0(0x19f):_0x248de0(0x18e)};const _0x1cb68d=_0x3c31f1[_0x248de0(0x18c)](_0x2db610=>_0x2db610['isCurrent']===!![]),_0x1c4b80=_0x33c8de??_0x1cb68d?.[_0x248de0(0x1af)]??null,_0x35aac0={'env':_0x456f52,'source':_0x4007ff[_0x248de0(0x1ae)],'fetchedAt':_0x4007ff[_0x248de0(0x173)],'cachePath':_0x4007ff[_0x248de0(0x17a)],'globalPath':_0x1da400[_0x248de0(0x1b0)]??null,'projectPath':_0x1da400[_0x248de0(0x1b5)]??null,'defaultApp':_0x1c4b80,'defaultAppSource':_0x33c8de!=null?_0x12214a:null};return{'ok':!![],'data':{'items':_0x3c31f1,'meta':_0x35aac0}};}},pullDef={'service':a2_0x2d39b7(0x198),'command':a2_0x2d39b7(0x171),'description':a2_0x2d39b7(0x184),'risk':a2_0x2d39b7(0x194),'requiresAuth':!![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':a2_0x2d39b7(0x1b1),'type':a2_0x2d39b7(0x1a6),'description':a2_0x2d39b7(0x1b3),'enum':[...RUNTIME_ENV_VALUES]},{'name':a2_0x2d39b7(0x177),'type':'boolean','description':a2_0x2d39b7(0x1b4),'default':![]},{'name':'no-cache','type':a2_0x2d39b7(0x175),'description':a2_0x2d39b7(0x17c),'default':![]}],async 'execute'(_0x24efad){const _0xc7f136=a2_0x2d39b7,_0x370b5a=_0x24efad[_0xc7f136(0x1a9)](_0xc7f136(0x1b1))||_0x24efad[_0xc7f136(0x199)]||getEnv()||_0xc7f136(0x174),_0x5a873c=_0x24efad[_0xc7f136(0x183)](_0xc7f136(0x177)),_0x5bc743=_0x24efad[_0xc7f136(0x183)](_0xc7f136(0x1ab)),{getRemoteAppList:_0xdbfd4e}=await import(_0xc7f136(0x1b7)),_0xdbdb3c=await _0xdbfd4e({'env':_0x370b5a,'accessKey':_0x24efad['accessKey'],'localOnly':_0x5a873c,'noCache':_0x5bc743});return{'ok':!![],'data':{'total':_0xdbdb3c[_0xc7f136(0x176)]['length'],'env':_0x370b5a,'source':_0xdbdb3c[_0xc7f136(0x1ae)],'fetchedAt':_0xdbdb3c['fetchedAt'],'cachePath':_0xdbdb3c[_0xc7f136(0x17a)]},'message':_0xdbdb3c[_0xc7f136(0x1ae)]===_0xc7f136(0x185)?'Loaded\x20'+_0xdbdb3c[_0xc7f136(0x176)][_0xc7f136(0x187)]+_0xc7f136(0x1aa)+_0x370b5a+'\x22.':_0xc7f136(0x182)+_0xdbdb3c[_0xc7f136(0x176)][_0xc7f136(0x187)]+'\x20app(s)\x20for\x20env=\x22'+_0x370b5a+'\x22.'};}},useDef={'service':'app','command':a2_0x2d39b7(0x191),'description':'Switch\x20the\x20default\x20app','risk':a2_0x2d39b7(0x194),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':'name','description':a2_0x2d39b7(0x19b),'required':!![]}],'flags':[GLOBAL_FLAG],async 'validate'(_0x445854){const _0x28f124=a2_0x2d39b7;if(!_0x445854[_0x28f124(0x197)][0x0])throw CliErrors['validation'](_0x28f124(0x17f),_0x28f124(0x19a)+CLI_BIN_NAME+_0x28f124(0x1a0));},async 'execute'(_0x54386c){const _0x4dbb75=a2_0x2d39b7,_0xdd5087=_0x54386c['args'][0x0];if(!_0xdd5087)throw CliErrors[_0x4dbb75(0x1ad)](_0x4dbb75(0x17f),'Usage:\x20'+CLI_BIN_NAME+'\x20app\x20use\x20<name>\x20[--global]');const {buildConfigFromFlags:_0x511dd4}=await import(_0x4dbb75(0x1a1)),{readCachedAppList:_0x5eced9}=await import(_0x4dbb75(0x19e)),_0x3dd62b=_0x511dd4({}),_0x1d4523=_0x5eced9(_0x3dd62b[_0x4dbb75(0x1b1)],_0x3dd62b['accessKey']),_0x415e95=_0x1d4523?.[_0x4dbb75(0x176)][_0x4dbb75(0x18c)](_0xd1c6a2=>_0xd1c6a2[_0x4dbb75(0x195)]===_0xdd5087);if(!_0x415e95&&_0x3dd62b[_0x4dbb75(0x181)]!==_0xdd5087){const _0x2a3178=[..._0x1d4523?.[_0x4dbb75(0x176)][_0x4dbb75(0x18f)](_0x15ddeb=>_0x15ddeb[_0x4dbb75(0x195)])??[]],_0x68ab2d=_0x2a3178[_0x4dbb75(0x187)]===0x0?_0x4dbb75(0x189)+CLI_BIN_NAME+_0x4dbb75(0x192):'Available:\x20'+Array[_0x4dbb75(0x19d)](new Set(_0x2a3178))['join'](',\x20');throw CliErrors[_0x4dbb75(0x1ad)](_0x4dbb75(0x1a4)+_0xdd5087+'\x22\x20not\x20found.',_0x68ab2d);}const _0x4386ee=_0x54386c[_0x4dbb75(0x183)](_0x4dbb75(0x190));let _0x1031d0;if(_0x4386ee)_0x1031d0={'global':!![]};else{const {isInProject:_0x313667}=await import(_0x4dbb75(0x1a1)),_0xe6a908=_0x313667();_0x1031d0=toScopeFlags(resolveConfigScope({'explicitGlobal':![],'policy':_0x4dbb75(0x178),'inProject':_0xe6a908}));}const _0x45ad30=readConfig(_0x1031d0);return _0x45ad30[_0x4dbb75(0x181)]=_0xdd5087,writeConfig(_0x45ad30,_0x1031d0),{'ok':!![],'message':_0x4dbb75(0x18b)+_0xdd5087+'\x22'+scopeLabel(_0x1031d0)+'.'};}},importDef={'service':a2_0x2d39b7(0x198),'command':a2_0x2d39b7(0x1b2),'description':a2_0x2d39b7(0x1a8),'risk':a2_0x2d39b7(0x194),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':initImportFlagDefs,async 'execute'(_0x150cae){return await runInitImport(collectFlags(_0x150cae,initImportFlagDefs)),{'ok':!![]};}};export const appDefinitions=[listDef,pullDef,useDef,importDef];
@@ -1 +1 @@
1
- function a3_0x561b(_0x4f4d67,_0x19d477){_0x4f4d67=_0x4f4d67-0xc2;const _0xa4bbb6=a3_0xa4bb();let _0x561b06=_0xa4bbb6[_0x4f4d67];return _0x561b06;}(function(_0x3ac98f,_0xcb5a69){const _0x485efe=a3_0x561b,_0x11810e=_0x3ac98f();while(!![]){try{const _0x213121=parseInt(_0x485efe(0xc4))/0x1+parseInt(_0x485efe(0xc5))/0x2*(-parseInt(_0x485efe(0xcb))/0x3)+-parseInt(_0x485efe(0xca))/0x4*(-parseInt(_0x485efe(0xd0))/0x5)+parseInt(_0x485efe(0xc3))/0x6+parseInt(_0x485efe(0xc9))/0x7+parseInt(_0x485efe(0xcc))/0x8+parseInt(_0x485efe(0xcd))/0x9*(-parseInt(_0x485efe(0xce))/0xa);if(_0x213121===_0xcb5a69)break;else _0x11810e['push'](_0x11810e['shift']());}catch(_0x3c61a5){_0x11810e['push'](_0x11810e['shift']());}}}(a3_0xa4bb,0x6bd57));import{fileURLToPath}from'url';import{dirname,join}from'path';function a3_0xa4bb(){const _0x39a8d8=['148JIEIhi','141upxJxU','1528520EmHOyL','221463fBsoHt','290DXmDhr','tableData','87405eLJdVs','success','Mock\x20API\x20error:\x20','657774RHmAUX','68953JsBjZd','20248ezebru','errorMsg','utf-8','data','4302718rzYsgV'];a3_0xa4bb=function(){return _0x39a8d8;};return a3_0xa4bb();}import{readFileSync}from'fs';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function loadMockAppList(){const _0x1a1cb4=a3_0x561b,_0xf9b720=join(__dirname,'../../../mock/app-list.json'),_0x47c8df=readFileSync(_0xf9b720,_0x1a1cb4(0xc7));return JSON['parse'](_0x47c8df);}let _cached=null;export function getMockAppList(){return!_cached&&(_cached=loadMockAppList()),_cached;}export function getMockRemoteAppItems(){const _0x5dc34c=a3_0x561b,_0x4a6b2b=getMockAppList();if(!_0x4a6b2b[_0x5dc34c(0xd1)])throw new Error(_0x5dc34c(0xc2)+_0x4a6b2b[_0x5dc34c(0xc6)]+'\x20('+_0x4a6b2b['errorCode']+')');return _0x4a6b2b[_0x5dc34c(0xc8)][_0x5dc34c(0xcf)];}
1
+ (function(_0x3d8cba,_0xbeb9){const _0x1d7910=a3_0xbf61,_0x691d3c=_0x3d8cba();while(!![]){try{const _0x40b6a0=-parseInt(_0x1d7910(0x6b))/0x1+parseInt(_0x1d7910(0x6a))/0x2*(parseInt(_0x1d7910(0x69))/0x3)+parseInt(_0x1d7910(0x72))/0x4+-parseInt(_0x1d7910(0x76))/0x5*(parseInt(_0x1d7910(0x6d))/0x6)+-parseInt(_0x1d7910(0x6f))/0x7+parseInt(_0x1d7910(0x74))/0x8+parseInt(_0x1d7910(0x77))/0x9;if(_0x40b6a0===_0xbeb9)break;else _0x691d3c['push'](_0x691d3c['shift']());}catch(_0x2eb4cb){_0x691d3c['push'](_0x691d3c['shift']());}}}(a3_0x15fa,0x6bd81));function a3_0xbf61(_0x27719d,_0x4f389b){_0x27719d=_0x27719d-0x69;const _0x15fa76=a3_0x15fa();let _0xbf6128=_0x15fa76[_0x27719d];return _0xbf6128;}import{fileURLToPath}from'url';import{dirname,join}from'path';import{readFileSync}from'fs';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function loadMockAppList(){const _0x4a29c7=a3_0xbf61,_0x2b2e3f=join(__dirname,_0x4a29c7(0x6e)),_0x4e4b8b=readFileSync(_0x2b2e3f,_0x4a29c7(0x73));return JSON[_0x4a29c7(0x70)](_0x4e4b8b);}let _cached=null;export function getMockAppList(){return!_cached&&(_cached=loadMockAppList()),_cached;}export function getMockRemoteAppItems(){const _0x5f2974=a3_0xbf61,_0x285b80=getMockAppList();if(!_0x285b80['success'])throw new Error(_0x5f2974(0x71)+_0x285b80[_0x5f2974(0x6c)]+'\x20('+_0x285b80[_0x5f2974(0x75)]+')');return _0x285b80['data']['tableData'];}function a3_0x15fa(){const _0x371b1a=['326914ULbcDO','errorMsg','9534kDPTQi','../../../mock/app-list.json','5965008nASmJK','parse','Mock\x20API\x20error:\x20','2238552zRTQlQ','utf-8','5021128nzHvRy','errorCode','2245iMwmtU','5655330AIYmyQ','50187yHsknJ','62jXvnZS'];a3_0x15fa=function(){return _0x371b1a;};return a3_0x15fa();}
@@ -1 +1 @@
1
- (function(_0x2f2509,_0x4765ed){const _0x2c3db3=a4_0xff4f,_0x225550=_0x2f2509();while(!![]){try{const _0x4394da=parseInt(_0x2c3db3(0x76))/0x1+parseInt(_0x2c3db3(0x6b))/0x2+-parseInt(_0x2c3db3(0x6c))/0x3*(-parseInt(_0x2c3db3(0x6d))/0x4)+parseInt(_0x2c3db3(0x71))/0x5*(-parseInt(_0x2c3db3(0x75))/0x6)+parseInt(_0x2c3db3(0x78))/0x7*(-parseInt(_0x2c3db3(0x70))/0x8)+parseInt(_0x2c3db3(0x73))/0x9+parseInt(_0x2c3db3(0x6f))/0xa;if(_0x4394da===_0x4765ed)break;else _0x225550['push'](_0x225550['shift']());}catch(_0x4241a2){_0x225550['push'](_0x225550['shift']());}}}(a4_0x4e10,0xe5948));import{getMyApps}from'../../core/api-client.js';function a4_0x4e10(){const _0x862daa=['7242QLFqho','1469230vlNLpT','items','708463MqQDSM','cache','trim','toISOString','572652fULtFw','4958619meLNKo','4XsnHOl','fetchedAt','1892980EUEOwX','96ztDpvv','7090RioxiB','remote','2418003QXxaaq','toLowerCase'];a4_0x4e10=function(){return _0x862daa;};return a4_0x4e10();}import{getMockRemoteAppItems}from'../../commands/app/mock-loader.js';import{getAppCacheFilePath,readCachedAppList,writeCachedAppList}from'../../commands/app/cache.js';export function shouldUseMockRemoteApps(){const _0x2fd8ae=a4_0xff4f,_0x257725=(process.env.LOVRABET_APP_LIST_SOURCE||process.env.RABETBASE_APP_LIST_SOURCE||'')['trim']()[_0x2fd8ae(0x74)]();return _0x257725==='mock';}function a4_0xff4f(_0x121da9,_0xe1477f){_0x121da9=_0x121da9-0x6a;const _0x4e1057=a4_0x4e10();let _0xff4fd7=_0x4e1057[_0x121da9];return _0xff4fd7;}export async function getRemoteAppItems(){if(shouldUseMockRemoteApps())return getMockRemoteAppItems();return getMyApps();}export async function getRemoteAppList(_0x240414){const _0x3f7d50=a4_0xff4f,{env:_0x4f5cce,accessKey:_0x1f7ade,localOnly:localOnly=![],noCache:noCache=![]}=_0x240414,_0x55f90b=readCachedAppList(_0x4f5cce,_0x1f7ade),_0x2a7f7b=_0x1f7ade?.['trim']()?getAppCacheFilePath(_0x4f5cce,_0x1f7ade):null;if(localOnly)return{'items':_0x55f90b?.[_0x3f7d50(0x77)]??[],'source':_0x3f7d50(0x79),'fetchedAt':_0x55f90b?.[_0x3f7d50(0x6e)]??null,'cachePath':_0x2a7f7b};try{const _0x36aac5=await getRemoteAppItems(),_0x24bbef=shouldUseMockRemoteApps()?'mock':_0x3f7d50(0x72),_0x43fd70=new Date()[_0x3f7d50(0x6a)](),_0x174081=_0x1f7ade?.[_0x3f7d50(0x7a)]()?writeCachedAppList(_0x4f5cce,_0x1f7ade,{'env':_0x4f5cce,'fetchedAt':_0x43fd70,'source':_0x24bbef,'items':_0x36aac5}):null;return{'items':_0x36aac5,'source':_0x24bbef,'fetchedAt':_0x43fd70,'cachePath':_0x174081};}catch(_0x2f1606){if(!noCache&&_0x55f90b)return{'items':_0x55f90b[_0x3f7d50(0x77)],'source':_0x3f7d50(0x79),'fetchedAt':_0x55f90b[_0x3f7d50(0x6e)],'cachePath':_0x2a7f7b};throw _0x2f1606;}}
1
+ function a4_0x145d(){const _0x17f718=['1957680pZPsCK','cache','770KqwgtL','mock','3316ncbrPx','20LivHXZ','remote','8908752tBmxbn','4839456qNIvrf','toISOString','items','7JGtmfW','trim','1572156DSZqtO','fetchedAt','toLowerCase','1726590sfFOCV','1854140dBMgHT'];a4_0x145d=function(){return _0x17f718;};return a4_0x145d();}(function(_0x2e4e58,_0x478498){const _0x2b8bf5=a4_0x117c,_0x24695e=_0x2e4e58();while(!![]){try{const _0x4a8a00=parseInt(_0x2b8bf5(0x12f))/0x1+-parseInt(_0x2b8bf5(0x130))/0x2+-parseInt(_0x2b8bf5(0x131))/0x3+-parseInt(_0x2b8bf5(0x123))/0x4*(-parseInt(_0x2b8bf5(0x121))/0x5)+-parseInt(_0x2b8bf5(0x127))/0x6+parseInt(_0x2b8bf5(0x12a))/0x7*(parseInt(_0x2b8bf5(0x126))/0x8)+-parseInt(_0x2b8bf5(0x12c))/0x9*(-parseInt(_0x2b8bf5(0x124))/0xa);if(_0x4a8a00===_0x478498)break;else _0x24695e['push'](_0x24695e['shift']());}catch(_0x3d7ab7){_0x24695e['push'](_0x24695e['shift']());}}}(a4_0x145d,0xe34c4));function a4_0x117c(_0x461694,_0x4de0ce){_0x461694=_0x461694-0x121;const _0x145d66=a4_0x145d();let _0x117c4e=_0x145d66[_0x461694];return _0x117c4e;}import{getMyApps}from'../../core/api-client.js';import{getMockRemoteAppItems}from'../../commands/app/mock-loader.js';import{getAppCacheFilePath,readCachedAppList,writeCachedAppList}from'../../commands/app/cache.js';export function shouldUseMockRemoteApps(){const _0xcb561f=a4_0x117c,_0x466684=(process.env.LOVRABET_APP_LIST_SOURCE||process.env.RABETBASE_APP_LIST_SOURCE||'')[_0xcb561f(0x12b)]()[_0xcb561f(0x12e)]();return _0x466684===_0xcb561f(0x122);}export async function getRemoteAppItems(){if(shouldUseMockRemoteApps())return getMockRemoteAppItems();return getMyApps();}export async function getRemoteAppList(_0x3680ed){const _0x5525bb=a4_0x117c,{env:_0xf01477,accessKey:_0xedb802,localOnly:localOnly=![],noCache:noCache=![]}=_0x3680ed,_0x45e009=readCachedAppList(_0xf01477,_0xedb802),_0x5e3368=_0xedb802?.['trim']()?getAppCacheFilePath(_0xf01477,_0xedb802):null;if(localOnly)return{'items':_0x45e009?.[_0x5525bb(0x129)]??[],'source':'cache','fetchedAt':_0x45e009?.[_0x5525bb(0x12d)]??null,'cachePath':_0x5e3368};try{const _0x1e97a4=await getRemoteAppItems(),_0x5664b6=shouldUseMockRemoteApps()?_0x5525bb(0x122):_0x5525bb(0x125),_0x44aff3=new Date()[_0x5525bb(0x128)](),_0x280fd7=_0xedb802?.['trim']()?writeCachedAppList(_0xf01477,_0xedb802,{'env':_0xf01477,'fetchedAt':_0x44aff3,'source':_0x5664b6,'items':_0x1e97a4}):null;return{'items':_0x1e97a4,'source':_0x5664b6,'fetchedAt':_0x44aff3,'cachePath':_0x280fd7};}catch(_0x322f6a){if(!noCache&&_0x45e009)return{'items':_0x45e009[_0x5525bb(0x129)],'source':_0x5525bb(0x132),'fetchedAt':_0x45e009[_0x5525bb(0x12d)],'cachePath':_0x5e3368};throw _0x322f6a;}}
@@ -1 +1 @@
1
- (function(_0x2637df,_0x104710){const _0x2291df=a5_0x404a,_0x157a5c=_0x2637df();while(!![]){try{const _0x425353=parseInt(_0x2291df(0x1e6))/0x1+-parseInt(_0x2291df(0x1e3))/0x2*(parseInt(_0x2291df(0x1d3))/0x3)+-parseInt(_0x2291df(0x1e1))/0x4*(-parseInt(_0x2291df(0x1d7))/0x5)+-parseInt(_0x2291df(0x1df))/0x6+parseInt(_0x2291df(0x1d6))/0x7*(parseInt(_0x2291df(0x1dc))/0x8)+-parseInt(_0x2291df(0x1da))/0x9*(parseInt(_0x2291df(0x1e4))/0xa)+parseInt(_0x2291df(0x1e5))/0xb;if(_0x425353===_0x104710)break;else _0x157a5c['push'](_0x157a5c['shift']());}catch(_0x533e39){_0x157a5c['push'](_0x157a5c['shift']());}}}(a5_0x387f,0xbce5c));import{CLI_BIN_NAME}from'../../constant/cli.js';function a5_0x404a(_0x4346e4,_0x57df29){_0x4346e4=_0x4346e4-0x1d3;const _0x387f13=a5_0x387f();let _0x404a8b=_0x387f13[_0x4346e4];return _0x404a8b;}import{formatScopeLabel}from'../../commands/common/config-policy.js';export{CLI_BIN_NAME};export function enrichAppListItemsWithMergedSelection(_0x4b0ae0,_0x14d321){const _0x119bd1=a5_0x404a;if(!_0x14d321)return;const _0x7ad782=!!(_0x14d321['currentApp']??_0x14d321[_0x119bd1(0x1db)]);for(const _0x184fd3 of _0x4b0ae0){_0x184fd3[_0x119bd1(0x1dd)]=![];}const _0x15d2e4=_0x14d321[_0x119bd1(0x1d9)]!=null?String(_0x14d321['appCode'])[_0x119bd1(0x1d5)]():'';if(_0x7ad782){const _0x23469e=_0x14d321[_0x119bd1(0x1de)]??_0x14d321['defaultApp'];if(_0x23469e)for(const _0xccbf32 of _0x4b0ae0){_0xccbf32[_0x119bd1(0x1e0)]===!![]&&_0xccbf32[_0x119bd1(0x1d8)]===_0x23469e&&(_0xccbf32['isCurrent']=!![]);}return;}if(!_0x15d2e4)return;for(const _0x1ce1f0 of _0x4b0ae0){String(_0x1ce1f0[_0x119bd1(0x1d4)]??'')[_0x119bd1(0x1d5)]()===_0x15d2e4&&(_0x1ce1f0[_0x119bd1(0x1dd)]=!![]);}}export{readScopedConfig as readConfig,writeScopedConfig as writeConfig,isInProject}from'../../context.js';function a5_0x387f(){const _0xe6cb55=['appCode','9CFYLIm','defaultApp','16vuKwBx','isCurrent','currentApp','9219060CNPlJx','named','817124sYwROG','global','6FLGqVE','4426930VosRlz','27603719uQxJdp','966080sWNuBu','1468671rjqeVl','appcode','trim','466361eryvEY','15RVrqfO','name'];a5_0x387f=function(){return _0xe6cb55;};return a5_0x387f();}export function scopeLabel(_0xa5a5d5){const _0x268b78=a5_0x404a;return formatScopeLabel(_0xa5a5d5[_0x268b78(0x1e2)]?_0x268b78(0x1e2):'project');}
1
+ (function(_0x2753c3,_0x120064){const _0x319d55=a5_0x8c10,_0x1be429=_0x2753c3();while(!![]){try{const _0xa55de8=-parseInt(_0x319d55(0x172))/0x1*(-parseInt(_0x319d55(0x177))/0x2)+-parseInt(_0x319d55(0x176))/0x3*(-parseInt(_0x319d55(0x16e))/0x4)+-parseInt(_0x319d55(0x175))/0x5*(-parseInt(_0x319d55(0x16b))/0x6)+-parseInt(_0x319d55(0x173))/0x7+parseInt(_0x319d55(0x16c))/0x8+-parseInt(_0x319d55(0x16f))/0x9+-parseInt(_0x319d55(0x178))/0xa*(parseInt(_0x319d55(0x17b))/0xb);if(_0xa55de8===_0x120064)break;else _0x1be429['push'](_0x1be429['shift']());}catch(_0x52d0aa){_0x1be429['push'](_0x1be429['shift']());}}}(a5_0x3e11,0xe161a));import{CLI_BIN_NAME}from'../../constant/cli.js';function a5_0x8c10(_0x57bea2,_0x5193ee){_0x57bea2=_0x57bea2-0x16b;const _0x3e1120=a5_0x3e11();let _0x8c10f8=_0x3e1120[_0x57bea2];return _0x8c10f8;}import{formatScopeLabel}from'../../commands/common/config-policy.js';export{CLI_BIN_NAME};function a5_0x3e11(){const _0x5506d3=['834215BbmqlX','182502eCZfDk','2tEmDZt','28190iIoQeM','appcode','appCode','5951CIfjpB','trim','24gnShTM','3697408FUHPFC','isCurrent','76DXlNHO','6204204RdFZpA','currentApp','project','1390959ggtjnV','3771292bzLciZ','defaultApp'];a5_0x3e11=function(){return _0x5506d3;};return a5_0x3e11();}export function enrichAppListItemsWithMergedSelection(_0x49a440,_0x1123c3){const _0x2916b0=a5_0x8c10;if(!_0x1123c3)return;const _0x4bf51a=!!(_0x1123c3['currentApp']??_0x1123c3[_0x2916b0(0x174)]);for(const _0x461153 of _0x49a440){_0x461153['isCurrent']=![];}const _0x1fe655=_0x1123c3[_0x2916b0(0x17a)]!=null?String(_0x1123c3[_0x2916b0(0x17a)])[_0x2916b0(0x17c)]():'';if(_0x4bf51a){const _0x128cf9=_0x1123c3[_0x2916b0(0x170)]??_0x1123c3['defaultApp'];if(_0x128cf9)for(const _0x2d6f34 of _0x49a440){_0x2d6f34['named']===!![]&&_0x2d6f34['name']===_0x128cf9&&(_0x2d6f34[_0x2916b0(0x16d)]=!![]);}return;}if(!_0x1fe655)return;for(const _0x44f48f of _0x49a440){String(_0x44f48f[_0x2916b0(0x179)]??'')[_0x2916b0(0x17c)]()===_0x1fe655&&(_0x44f48f[_0x2916b0(0x16d)]=!![]);}}export{readScopedConfig as readConfig,writeScopedConfig as writeConfig,isInProject}from'../../context.js';export function scopeLabel(_0x44dbd9){const _0x5c653c=a5_0x8c10;return formatScopeLabel(_0x44dbd9['global']?'global':_0x5c653c(0x171));}
@@ -1 +1 @@
1
- const a6_0x4248fa=a6_0x169d;(function(_0x3ccdbd,_0x3f5902){const _0x2d3781=a6_0x169d,_0xfc336d=_0x3ccdbd();while(!![]){try{const _0x313f07=parseInt(_0x2d3781(0x17e))/0x1+parseInt(_0x2d3781(0x179))/0x2+-parseInt(_0x2d3781(0x16d))/0x3*(parseInt(_0x2d3781(0x16e))/0x4)+-parseInt(_0x2d3781(0x197))/0x5+-parseInt(_0x2d3781(0x19f))/0x6+-parseInt(_0x2d3781(0x169))/0x7+parseInt(_0x2d3781(0x18f))/0x8;if(_0x313f07===_0x3f5902)break;else _0xfc336d['push'](_0xfc336d['shift']());}catch(_0x1ec263){_0xfc336d['push'](_0xfc336d['shift']());}}}(a6_0x337e,0x64393));import{readScopedConfig,writeScopedConfig}from'../../context.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{AUTH_MODE}from'../../constant/auth-mode.js';function a6_0x169d(_0x4822c2,_0x183413){_0x4822c2=_0x4822c2-0x168;const _0x337ed4=a6_0x337e();let _0x169d25=_0x337ed4[_0x4822c2];return _0x169d25;}import{normalizeEnv,isDaily,isDev}from'../../constant/env.js';import{CliErrors}from'../../errors.js';import{promptAccessKey,isAbortPrompt}from'../../commands/auth/prompt.js';import{resolveConfigScope,toScopeFlags}from'../../commands/common/config-policy.js';const ACCESS_KEY_PATTERN=/^ak_[A-Za-z0-9]{16,}$/;function resolveAuthScopeFlags(_0x1a8d8b){const _0x7b11ec=a6_0x169d;return toScopeFlags(resolveConfigScope({'explicitGlobal':_0x1a8d8b[_0x7b11ec(0x184)](_0x7b11ec(0x187)),'explicitProject':_0x1a8d8b[_0x7b11ec(0x184)](_0x7b11ec(0x191)),'policy':_0x7b11ec(0x1a3)}));}export const authDefinitions=[{'service':a6_0x4248fa(0x19e),'command':a6_0x4248fa(0x181),'description':a6_0x4248fa(0x198),'risk':a6_0x4248fa(0x173),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':a6_0x4248fa(0x1a7),'type':a6_0x4248fa(0x168),'description':'AccessKey\x20(ak_xxx...)'},{'name':'ak','type':'string','description':'Shorthand\x20for\x20--access-key'},{'name':a6_0x4248fa(0x187),'type':a6_0x4248fa(0x16a),'description':'Write\x20to\x20global\x20config\x20(default)','default':!![]},{'name':a6_0x4248fa(0x191),'type':'boolean','description':a6_0x4248fa(0x176),'default':![]}],async 'execute'(_0x58a1d2){const _0x550f56=a6_0x4248fa;let _0x188a5f=(_0x58a1d2[_0x550f56(0x18b)]('access-key')||_0x58a1d2[_0x550f56(0x18b)]('ak')||'')[_0x550f56(0x17f)]();const _0x16f574=(_0x58a1d2[_0x550f56(0x18b)](_0x550f56(0x19d))||'')[_0x550f56(0x17f)]();if(!_0x188a5f&&!_0x58a1d2['nonInteractive'])try{_0x188a5f=await promptAccessKey('');}catch(_0x467db0){if(isAbortPrompt(_0x467db0))throw CliErrors[_0x550f56(0x177)]();throw _0x467db0;}if(!_0x188a5f)throw CliErrors[_0x550f56(0x195)](_0x550f56(0x171),_0x550f56(0x186)+CLI_BIN_NAME+'\x20auth\x20login\x20--access-key\x20<ak_xxx>\x20[--global]');if(!ACCESS_KEY_PATTERN[_0x550f56(0x1a4)](_0x188a5f))throw CliErrors[_0x550f56(0x195)](_0x550f56(0x18d)+_0x188a5f+'\x22',_0x550f56(0x17a));const _0x1def9a=resolveAuthScopeFlags(_0x58a1d2),_0x5b9384=readScopedConfig(_0x1def9a);_0x5b9384[_0x550f56(0x1a1)]=_0x188a5f;if(_0x16f574){const _0x3f5d79=normalizeEnv(_0x16f574);_0x5b9384[_0x550f56(0x19d)]=isDaily(_0x3f5d79)?_0x550f56(0x18e):isDev(_0x3f5d79)?'development':_0x550f56(0x172);}writeScopedConfig(_0x5b9384,_0x1def9a);const _0x2cddc4=_0x1def9a[_0x550f56(0x187)]?'global':'project',_0x427146=_0x5b9384['env']?_0x550f56(0x1a5)+_0x5b9384[_0x550f56(0x19d)]+'.':'';return{'ok':!![],'message':_0x550f56(0x183)+_0x2cddc4+'\x20config.'+_0x427146+_0x550f56(0x180)+CLI_BIN_NAME+'\x20auth\x20status'};}},{'service':'auth','command':a6_0x4248fa(0x174),'description':a6_0x4248fa(0x190),'risk':a6_0x4248fa(0x173),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':'global','type':a6_0x4248fa(0x16a),'description':a6_0x4248fa(0x17b),'default':!![]},{'name':'project','type':a6_0x4248fa(0x16a),'description':a6_0x4248fa(0x178),'default':![]}],async 'execute'(_0x27bd63){const _0x308185=a6_0x4248fa,_0x1e71c8=resolveAuthScopeFlags(_0x27bd63),_0x331afd=readScopedConfig(_0x1e71c8),_0x391cf1=!!_0x331afd[_0x308185(0x1a1)];delete _0x331afd[_0x308185(0x1a1)],writeScopedConfig(_0x331afd,_0x1e71c8);const _0x1c6aef=_0x1e71c8['global']?_0x308185(0x187):_0x308185(0x191);if(_0x391cf1)return{'ok':!![],'message':'AccessKey\x20cleared\x20from\x20'+_0x1c6aef+_0x308185(0x189)};return{'ok':!![],'message':_0x308185(0x19a)+_0x1c6aef+_0x308185(0x19c)};}},{'service':a6_0x4248fa(0x19e),'command':a6_0x4248fa(0x17c),'description':'Show\x20current\x20authentication\x20status','risk':a6_0x4248fa(0x1a6),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':a6_0x4248fa(0x187),'type':'boolean','description':a6_0x4248fa(0x193),'default':!![]},{'name':'project','type':a6_0x4248fa(0x16a),'description':'Read\x20from\x20project\x20config\x20instead\x20of\x20global\x20config','default':![]}],async 'execute'(_0x1709c8){const _0x3c5a38=a6_0x4248fa,_0x4143af=resolveAuthScopeFlags(_0x1709c8),_0x1652cb=readScopedConfig(_0x4143af),_0x5cec5b=process.env.LOVRABET_ACCESS_KEY||undefined,_0x228d92=_0x1652cb[_0x3c5a38(0x1a1)]||undefined,_0x3d6260=_0x5cec5b||_0x228d92,_0x507a43=_0x5cec5b?_0x3c5a38(0x1a2):_0x228d92?(_0x4143af[_0x3c5a38(0x187)]?_0x3c5a38(0x187):_0x3c5a38(0x191))+_0x3c5a38(0x199):null,_0x5584d4=[_0x3c5a38(0x194)+AUTH_MODE[_0x3c5a38(0x188)]];if(_0x3d6260){const _0x2ae9fb=_0x3d6260[_0x3c5a38(0x182)]>0x8?''+_0x3d6260[_0x3c5a38(0x18c)](0x0,0x8)+'*'['repeat'](_0x3d6260[_0x3c5a38(0x182)]-0x8):_0x3d6260;_0x5584d4[_0x3c5a38(0x170)](_0x3c5a38(0x175)+_0x2ae9fb+(_0x507a43?_0x3c5a38(0x16f)+_0x507a43+')':''));}return!_0x3d6260&&(_0x5584d4[_0x3c5a38(0x170)](''),_0x5584d4[_0x3c5a38(0x170)](_0x3c5a38(0x19b)),_0x5584d4['push'](''),_0x5584d4[_0x3c5a38(0x170)]('Option\x20A:\x20'+CLI_BIN_NAME+_0x3c5a38(0x1a8)),_0x5584d4[_0x3c5a38(0x170)](''),_0x5584d4[_0x3c5a38(0x170)](_0x3c5a38(0x18a)),_0x5584d4['push']('{\x20\x22accessKey\x22:\x20\x22ak_xxx\x22\x20}'),_0x5584d4[_0x3c5a38(0x170)](''),_0x5584d4[_0x3c5a38(0x170)](_0x3c5a38(0x16b)),_0x5584d4[_0x3c5a38(0x170)](_0x3c5a38(0x192)),_0x5584d4[_0x3c5a38(0x170)](''),_0x5584d4[_0x3c5a38(0x170)](_0x3c5a38(0x185)+CLI_BIN_NAME+_0x3c5a38(0x17d)),_0x5584d4[_0x3c5a38(0x170)](_0x3c5a38(0x196)+CLI_BIN_NAME+_0x3c5a38(0x16c))),{'ok':!![],'message':_0x5584d4[_0x3c5a38(0x1a0)]('\x0a')};}}];function a6_0x337e(){const _0x427db0=['validation','If\x20command\x20execution\x20still\x20fails,\x20run:\x20','3456110vEELEu','Save\x20accessKey\x20to\x20config\x20(global\x20by\x20default;\x20use\x20--project\x20for\x20project\x20config)','\x20config','No\x20AccessKey\x20found\x20in\x20','No\x20credentials\x20found.\x20Configure\x20one\x20of\x20the\x20options\x20below:','\x20config.\x20Nothing\x20to\x20clear.','env','auth','2125584WGxlZj','join','accessKey','LOVRABET_ACCESS_KEY\x20env\x20var','global-default','test','\x20Current\x20env:\x20','read','access-key','\x20auth\x20login\x20[--global]\x20[--access-key\x20ak_xxx]','string','3283987xgmZCi','boolean','Option\x20C:\x20environment\x20variable','\x20doctor','1638759hNSzRH','4uVLrAn','\x20(via\x20','push','Missing\x20accessKey.','production','write','logout','AccessKey:\x20','Write\x20to\x20project\x20config\x20instead\x20of\x20global\x20config','cancelled','Clear\x20from\x20project\x20config\x20instead\x20of\x20global\x20config','1026802DoITgU','Expected:\x20ak_\x20followed\x20by\x2016+\x20alphanumeric\x20chars','Clear\x20from\x20global\x20config\x20(default)','status','\x20auth\x20status','21556KEIMRX','trim','\x20Verify:\x20','login','length','AccessKey\x20saved\x20to\x20','bool','Then\x20verify\x20with:\x20','Usage:\x20','global','ClientAk','\x20config.','Option\x20B:\x20apps\x20config\x20(.lovrabet.json)','str','slice','Invalid\x20accessKey\x20format:\x20\x22','daily','15491504gjYNZD','Clear\x20accessKey\x20from\x20config','project','\x20\x20export\x20LOVRABET_ACCESS_KEY=ak_xxx','Read\x20from\x20global\x20config\x20(default)','Auth\x20mode:\x20'];a6_0x337e=function(){return _0x427db0;};return a6_0x337e();}
1
+ const a6_0x4da239=a6_0xec26;(function(_0x7be022,_0x9b8ac5){const _0x47ff23=a6_0xec26,_0x5bfa62=_0x7be022();while(!![]){try{const _0x2ddca8=-parseInt(_0x47ff23(0x14c))/0x1*(parseInt(_0x47ff23(0x12d))/0x2)+parseInt(_0x47ff23(0x13b))/0x3+-parseInt(_0x47ff23(0x135))/0x4*(-parseInt(_0x47ff23(0x11b))/0x5)+-parseInt(_0x47ff23(0x144))/0x6*(-parseInt(_0x47ff23(0x121))/0x7)+parseInt(_0x47ff23(0x13a))/0x8*(parseInt(_0x47ff23(0x152))/0x9)+-parseInt(_0x47ff23(0x126))/0xa*(-parseInt(_0x47ff23(0x124))/0xb)+-parseInt(_0x47ff23(0x14b))/0xc;if(_0x2ddca8===_0x9b8ac5)break;else _0x5bfa62['push'](_0x5bfa62['shift']());}catch(_0x45f1d2){_0x5bfa62['push'](_0x5bfa62['shift']());}}}(a6_0x221d,0xe7f61));import{readScopedConfig,writeScopedConfig}from'../../context.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{AUTH_MODE}from'../../constant/auth-mode.js';import{normalizeEnv,isDaily,isDev}from'../../constant/env.js';import{CliErrors}from'../../errors.js';function a6_0xec26(_0x106a08,_0x4d7f73){_0x106a08=_0x106a08-0x114;const _0x221df1=a6_0x221d();let _0xec265c=_0x221df1[_0x106a08];return _0xec265c;}import{promptAccessKey,isAbortPrompt}from'../../commands/auth/prompt.js';function a6_0x221d(){const _0x3cc4cd=['project','8488570JcMndN','development','auth','Usage:\x20','\x20config.','Option\x20C:\x20environment\x20variable','global','27926YdjETm','boolean','Write\x20to\x20project\x20config\x20instead\x20of\x20global\x20config','access-key','Option\x20A:\x20','length','Show\x20current\x20authentication\x20status','\x20config','16kwTliM','repeat','trim','{\x20\x22accessKey\x22:\x20\x22ak_xxx\x22\x20}','\x20config.\x20Nothing\x20to\x20clear.','2840YYKvbx','1993743XirtlC','read','Invalid\x20accessKey\x20format:\x20\x22','validation','\x20Current\x20env:\x20','push','Clear\x20from\x20global\x20config\x20(default)','No\x20AccessKey\x20found\x20in\x20','\x20doctor','6UwiGoh','str','\x20(via\x20','join','Clear\x20accessKey\x20from\x20config','Auth\x20mode:\x20','No\x20credentials\x20found.\x20Configure\x20one\x20of\x20the\x20options\x20below:','38574156AYZgmk','34ajSDBj','\x20\x20export\x20LOVRABET_ACCESS_KEY=ak_xxx','bool','Read\x20from\x20project\x20config\x20instead\x20of\x20global\x20config','Then\x20verify\x20with:\x20','nonInteractive','2052YmfXeb','daily','\x20auth\x20status','string','LOVRABET_ACCESS_KEY\x20env\x20var','global-default','login','env','Expected:\x20ak_\x20followed\x20by\x2016+\x20alphanumeric\x20chars','accessKey','Option\x20B:\x20apps\x20config\x20(.lovrabet.json)','logout','status','AccessKey\x20saved\x20to\x20','Missing\x20accessKey.','ClientAk','2110915FFqNru','AccessKey\x20(ak_xxx...)','Shorthand\x20for\x20--access-key','\x20auth\x20login\x20--access-key\x20<ak_xxx>\x20[--global]','slice','AccessKey\x20cleared\x20from\x20','3551807lHnTpg','Write\x20to\x20global\x20config\x20(default)','test','22nOlukE'];a6_0x221d=function(){return _0x3cc4cd;};return a6_0x221d();}import{resolveConfigScope,toScopeFlags}from'../../commands/common/config-policy.js';const ACCESS_KEY_PATTERN=/^ak_[A-Za-z0-9]{16,}$/;function resolveAuthScopeFlags(_0x9c6a37){const _0x4f5416=a6_0xec26;return toScopeFlags(resolveConfigScope({'explicitGlobal':_0x9c6a37[_0x4f5416(0x14e)](_0x4f5416(0x12c)),'explicitProject':_0x9c6a37[_0x4f5416(0x14e)](_0x4f5416(0x125)),'policy':_0x4f5416(0x157)}));}export const authDefinitions=[{'service':'auth','command':a6_0x4da239(0x158),'description':'Save\x20accessKey\x20to\x20config\x20(global\x20by\x20default;\x20use\x20--project\x20for\x20project\x20config)','risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':a6_0x4da239(0x130),'type':a6_0x4da239(0x155),'description':a6_0x4da239(0x11c)},{'name':'ak','type':a6_0x4da239(0x155),'description':a6_0x4da239(0x11d)},{'name':'global','type':a6_0x4da239(0x12e),'description':a6_0x4da239(0x122),'default':!![]},{'name':a6_0x4da239(0x125),'type':a6_0x4da239(0x12e),'description':a6_0x4da239(0x12f),'default':![]}],async 'execute'(_0x585745){const _0x5d5330=a6_0x4da239;let _0x4260af=(_0x585745[_0x5d5330(0x145)]('access-key')||_0x585745[_0x5d5330(0x145)]('ak')||'')[_0x5d5330(0x137)]();const _0xc9a100=(_0x585745[_0x5d5330(0x145)](_0x5d5330(0x159))||'')[_0x5d5330(0x137)]();if(!_0x4260af&&!_0x585745[_0x5d5330(0x151)])try{_0x4260af=await promptAccessKey('');}catch(_0x4388aa){if(isAbortPrompt(_0x4388aa))throw CliErrors['cancelled']();throw _0x4388aa;}if(!_0x4260af)throw CliErrors[_0x5d5330(0x13e)](_0x5d5330(0x119),_0x5d5330(0x129)+CLI_BIN_NAME+_0x5d5330(0x11e));if(!ACCESS_KEY_PATTERN[_0x5d5330(0x123)](_0x4260af))throw CliErrors[_0x5d5330(0x13e)](_0x5d5330(0x13d)+_0x4260af+'\x22',_0x5d5330(0x15a));const _0x43dfec=resolveAuthScopeFlags(_0x585745),_0x59e388=readScopedConfig(_0x43dfec);_0x59e388[_0x5d5330(0x114)]=_0x4260af;if(_0xc9a100){const _0x1e8f0a=normalizeEnv(_0xc9a100);_0x59e388['env']=isDaily(_0x1e8f0a)?_0x5d5330(0x153):isDev(_0x1e8f0a)?_0x5d5330(0x127):'production';}writeScopedConfig(_0x59e388,_0x43dfec);const _0x14c52b=_0x43dfec[_0x5d5330(0x12c)]?_0x5d5330(0x12c):_0x5d5330(0x125),_0x27e3db=_0x59e388[_0x5d5330(0x159)]?_0x5d5330(0x13f)+_0x59e388[_0x5d5330(0x159)]+'.':'';return{'ok':!![],'message':_0x5d5330(0x118)+_0x14c52b+_0x5d5330(0x12a)+_0x27e3db+'\x20Verify:\x20'+CLI_BIN_NAME+'\x20auth\x20status'};}},{'service':'auth','command':a6_0x4da239(0x116),'description':a6_0x4da239(0x148),'risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':a6_0x4da239(0x12c),'type':'boolean','description':a6_0x4da239(0x141),'default':!![]},{'name':a6_0x4da239(0x125),'type':a6_0x4da239(0x12e),'description':'Clear\x20from\x20project\x20config\x20instead\x20of\x20global\x20config','default':![]}],async 'execute'(_0x1bdf2d){const _0x2b3895=a6_0x4da239,_0x33025e=resolveAuthScopeFlags(_0x1bdf2d),_0x514b3e=readScopedConfig(_0x33025e),_0x31975b=!!_0x514b3e['accessKey'];delete _0x514b3e['accessKey'],writeScopedConfig(_0x514b3e,_0x33025e);const _0x513743=_0x33025e[_0x2b3895(0x12c)]?_0x2b3895(0x12c):_0x2b3895(0x125);if(_0x31975b)return{'ok':!![],'message':_0x2b3895(0x120)+_0x513743+_0x2b3895(0x12a)};return{'ok':!![],'message':_0x2b3895(0x142)+_0x513743+_0x2b3895(0x139)};}},{'service':a6_0x4da239(0x128),'command':a6_0x4da239(0x117),'description':a6_0x4da239(0x133),'risk':a6_0x4da239(0x13c),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[{'name':a6_0x4da239(0x12c),'type':a6_0x4da239(0x12e),'description':'Read\x20from\x20global\x20config\x20(default)','default':!![]},{'name':a6_0x4da239(0x125),'type':'boolean','description':a6_0x4da239(0x14f),'default':![]}],async 'execute'(_0x2a928c){const _0x4b2ea2=a6_0x4da239,_0x23cb8d=resolveAuthScopeFlags(_0x2a928c),_0x335455=readScopedConfig(_0x23cb8d),_0x219298=process.env.LOVRABET_ACCESS_KEY||undefined,_0x13a4a8=_0x335455['accessKey']||undefined,_0x2cf784=_0x219298||_0x13a4a8,_0x10db32=_0x219298?_0x4b2ea2(0x156):_0x13a4a8?(_0x23cb8d['global']?_0x4b2ea2(0x12c):_0x4b2ea2(0x125))+_0x4b2ea2(0x134):null,_0x3f0866=[_0x4b2ea2(0x149)+AUTH_MODE[_0x4b2ea2(0x11a)]];if(_0x2cf784){const _0x39f98a=_0x2cf784[_0x4b2ea2(0x132)]>0x8?''+_0x2cf784[_0x4b2ea2(0x11f)](0x0,0x8)+'*'[_0x4b2ea2(0x136)](_0x2cf784[_0x4b2ea2(0x132)]-0x8):_0x2cf784;_0x3f0866[_0x4b2ea2(0x140)]('AccessKey:\x20'+_0x39f98a+(_0x10db32?_0x4b2ea2(0x146)+_0x10db32+')':''));}return!_0x2cf784&&(_0x3f0866[_0x4b2ea2(0x140)](''),_0x3f0866['push'](_0x4b2ea2(0x14a)),_0x3f0866[_0x4b2ea2(0x140)](''),_0x3f0866[_0x4b2ea2(0x140)](_0x4b2ea2(0x131)+CLI_BIN_NAME+'\x20auth\x20login\x20[--global]\x20[--access-key\x20ak_xxx]'),_0x3f0866[_0x4b2ea2(0x140)](''),_0x3f0866[_0x4b2ea2(0x140)](_0x4b2ea2(0x115)),_0x3f0866[_0x4b2ea2(0x140)](_0x4b2ea2(0x138)),_0x3f0866[_0x4b2ea2(0x140)](''),_0x3f0866[_0x4b2ea2(0x140)](_0x4b2ea2(0x12b)),_0x3f0866['push'](_0x4b2ea2(0x14d)),_0x3f0866[_0x4b2ea2(0x140)](''),_0x3f0866[_0x4b2ea2(0x140)](_0x4b2ea2(0x150)+CLI_BIN_NAME+_0x4b2ea2(0x154)),_0x3f0866['push']('If\x20command\x20execution\x20still\x20fails,\x20run:\x20'+CLI_BIN_NAME+_0x4b2ea2(0x143))),{'ok':!![],'message':_0x3f0866[_0x4b2ea2(0x147)]('\x0a')};}}];
@@ -1 +1 @@
1
- function a7_0x24fa(){const _0x2b9972=['\x20\x20AccessKey\x20(','removeListener','3180288vVPVYF','close','10677576TBhQAT','162009HviGNt','name','1615770cqowtD','trim','1284656hMRkyg','10578785ghmjNF','once','):\x20','5ULHdgQ','User\x20aborted\x20prompt','SIGINT','race','\x20\x20AccessKey:\x20','AbortPrompt','1120wQahSJ','1870604RLYZGu'];a7_0x24fa=function(){return _0x2b9972;};return a7_0x24fa();}function a7_0x1996(_0x5a0d07,_0x5d9e3c){_0x5a0d07=_0x5a0d07-0x18f;const _0x24fa95=a7_0x24fa();let _0x199654=_0x24fa95[_0x5a0d07];return _0x199654;}(function(_0x2f01d6,_0x4c4616){const _0x4739cd=a7_0x1996,_0x226c3f=_0x2f01d6();while(!![]){try{const _0x7637e8=parseInt(_0x4739cd(0x192))/0x1+-parseInt(_0x4739cd(0x1a0))/0x2+-parseInt(_0x4739cd(0x190))/0x3+-parseInt(_0x4739cd(0x19d))/0x4*(parseInt(_0x4739cd(0x196))/0x5)+-parseInt(_0x4739cd(0x1a2))/0x6+parseInt(_0x4739cd(0x193))/0x7+-parseInt(_0x4739cd(0x19c))/0x8*(-parseInt(_0x4739cd(0x1a3))/0x9);if(_0x7637e8===_0x4c4616)break;else _0x226c3f['push'](_0x226c3f['shift']());}catch(_0x559983){_0x226c3f['push'](_0x226c3f['shift']());}}}(a7_0x24fa,0xe5826));import{createInterface}from'node:readline';class AbortPrompt extends Error{constructor(){const _0x31c289=a7_0x1996;super(_0x31c289(0x197)),this[_0x31c289(0x18f)]=_0x31c289(0x19b);}}function createSafeRl(){const _0x243436=createInterface({'input':process['stdin'],'output':process['stdout']});let _0x578b6a;const _0x110aa2=new Promise((_0x36dfef,_0x4898f3)=>{const _0x29830b=a7_0x1996;_0x578b6a=()=>{const _0x2d8e90=a7_0x1996;_0x578b6a&&(_0x243436['removeListener']('SIGINT',_0x578b6a),_0x578b6a=undefined);try{_0x243436[_0x2d8e90(0x1a1)]();}catch{}_0x4898f3(new AbortPrompt());},_0x243436[_0x29830b(0x194)](_0x29830b(0x198),_0x578b6a);}),_0x4f73ce=()=>{const _0x3dc2af=a7_0x1996;_0x578b6a&&(_0x243436[_0x3dc2af(0x19f)]('SIGINT',_0x578b6a),_0x578b6a=undefined);try{_0x243436[_0x3dc2af(0x1a1)]();}catch{}};return{'rl':_0x243436,'abortPromise':_0x110aa2,'disposeSuccess':_0x4f73ce};}export async function promptAccessKey(_0x16e74e=''){const _0x59a7a7=a7_0x1996,{rl:_0x46b455,abortPromise:_0x3a81b1,disposeSuccess:_0x242cd5}=createSafeRl(),_0x396a98=new Promise(_0x779b67=>{const _0x4633ef=a7_0x1996,_0x2674a1=_0x16e74e?_0x4633ef(0x19e)+_0x16e74e+_0x4633ef(0x195):_0x4633ef(0x19a);_0x46b455['question'](_0x2674a1,_0x23149f=>{const _0x5217c4=_0x4633ef;_0x242cd5(),_0x779b67(_0x23149f[_0x5217c4(0x191)]()||_0x16e74e);});});return Promise[_0x59a7a7(0x199)]([_0x396a98,_0x3a81b1]);}export function isAbortPrompt(_0x54c5ad){const _0x1a2209=a7_0x1996;return _0x54c5ad instanceof Error&&_0x54c5ad[_0x1a2209(0x18f)]===_0x1a2209(0x19b);}
1
+ (function(_0x2a3002,_0x2609d2){const _0x4504de=a7_0x244b,_0x5d24c9=_0x2a3002();while(!![]){try{const _0x565845=-parseInt(_0x4504de(0x1c1))/0x1*(-parseInt(_0x4504de(0x1be))/0x2)+-parseInt(_0x4504de(0x1c5))/0x3*(-parseInt(_0x4504de(0x1d2))/0x4)+-parseInt(_0x4504de(0x1c2))/0x5+parseInt(_0x4504de(0x1c6))/0x6+parseInt(_0x4504de(0x1c4))/0x7*(-parseInt(_0x4504de(0x1d0))/0x8)+-parseInt(_0x4504de(0x1d3))/0x9*(parseInt(_0x4504de(0x1cf))/0xa)+-parseInt(_0x4504de(0x1d4))/0xb;if(_0x565845===_0x2609d2)break;else _0x5d24c9['push'](_0x5d24c9['shift']());}catch(_0x35f290){_0x5d24c9['push'](_0x5d24c9['shift']());}}}(a7_0x539b,0x92f75));function a7_0x244b(_0x4ee2bf,_0x2af895){_0x4ee2bf=_0x4ee2bf-0x1be;const _0x539bd0=a7_0x539b();let _0x244baf=_0x539bd0[_0x4ee2bf];return _0x244baf;}import{createInterface}from'node:readline';class AbortPrompt extends Error{constructor(){const _0x2e5393=a7_0x244b;super('User\x20aborted\x20prompt'),this[_0x2e5393(0x1d1)]=_0x2e5393(0x1cb);}}function createSafeRl(){const _0x805765=a7_0x244b,_0x206ea9=createInterface({'input':process[_0x805765(0x1cc)],'output':process[_0x805765(0x1d5)]});let _0xe48e53;const _0x46b330=new Promise((_0xbbf223,_0x1f3790)=>{const _0x16d41d=_0x805765;_0xe48e53=()=>{const _0xa00e81=a7_0x244b;_0xe48e53&&(_0x206ea9[_0xa00e81(0x1c0)](_0xa00e81(0x1ce),_0xe48e53),_0xe48e53=undefined);try{_0x206ea9[_0xa00e81(0x1ca)]();}catch{}_0x1f3790(new AbortPrompt());},_0x206ea9[_0x16d41d(0x1c9)]('SIGINT',_0xe48e53);}),_0x552418=()=>{const _0x30fa4a=_0x805765;_0xe48e53&&(_0x206ea9[_0x30fa4a(0x1c0)](_0x30fa4a(0x1ce),_0xe48e53),_0xe48e53=undefined);try{_0x206ea9['close']();}catch{}};return{'rl':_0x206ea9,'abortPromise':_0x46b330,'disposeSuccess':_0x552418};}function a7_0x539b(){const _0x16152b=['trim','once','close','AbortPrompt','stdin','race','SIGINT','160oskkWM','856JyNjxB','name','2334128gyqJHf','326466CBeDnY','13033900gqZDjT','stdout','67226wXItuy','\x20\x20AccessKey:\x20','removeListener','29sezHeP','1621845KuBKfu','):\x20','3773zJQpua','3augdOf','7145940ZzgjqS','\x20\x20AccessKey\x20('];a7_0x539b=function(){return _0x16152b;};return a7_0x539b();}export async function promptAccessKey(_0x5145cb=''){const _0x34f872=a7_0x244b,{rl:_0x2c833a,abortPromise:_0x1eeff2,disposeSuccess:_0x20decf}=createSafeRl(),_0x2f668a=new Promise(_0x22a2a0=>{const _0x3f7abe=a7_0x244b,_0x13cfbb=_0x5145cb?_0x3f7abe(0x1c7)+_0x5145cb+_0x3f7abe(0x1c3):_0x3f7abe(0x1bf);_0x2c833a['question'](_0x13cfbb,_0x98a49a=>{const _0x23f86e=_0x3f7abe;_0x20decf(),_0x22a2a0(_0x98a49a[_0x23f86e(0x1c8)]()||_0x5145cb);});});return Promise[_0x34f872(0x1cd)]([_0x2f668a,_0x1eeff2]);}export function isAbortPrompt(_0x546cb1){const _0x16c51b=a7_0x244b;return _0x546cb1 instanceof Error&&_0x546cb1[_0x16c51b(0x1d1)]==='AbortPrompt';}
@@ -1 +1 @@
1
- const a8_0x53e482=a8_0x30d8;function a8_0x28df(){const _0x14e552=['num','bff','3QlpXPT','30272pjcZJu','appCode','verbose','bool','342ahohGs','functionName','updatedTime','(none)','5479740YnYhol','createdTime','1004978lcWXpU','Script\x20ID','scriptType','1213165HYwJcg','Get\x20BFF\x20script\x20details\x20by\x20ID','18cWAdKf','15517940PdQYqA','read','2104036WOOsWb','597992nSHZZc','detail'];a8_0x28df=function(){return _0x14e552;};return a8_0x28df();}(function(_0x5c73eb,_0x4cf1da){const _0x182070=a8_0x30d8,_0x449dd6=_0x5c73eb();while(!![]){try{const _0x5593c2=parseInt(_0x182070(0x166))/0x1+parseInt(_0x182070(0x15d))/0x2*(-parseInt(_0x182070(0x16a))/0x3)+parseInt(_0x182070(0x165))/0x4+parseInt(_0x182070(0x160))/0x5*(-parseInt(_0x182070(0x162))/0x6)+-parseInt(_0x182070(0x15b))/0x7+parseInt(_0x182070(0x16b))/0x8*(-parseInt(_0x182070(0x157))/0x9)+parseInt(_0x182070(0x163))/0xa;if(_0x5593c2===_0x4cf1da)break;else _0x449dd6['push'](_0x449dd6['shift']());}catch(_0x21ea2a){_0x449dd6['push'](_0x449dd6['shift']());}}}(a8_0x28df,0x7ea8b));import{getBffScriptInfo}from'../../core/api-client.js';function a8_0x30d8(_0x30a5b1,_0x3ee26c){_0x30a5b1=_0x30a5b1-0x156;const _0x28df2c=a8_0x28df();let _0x30d86d=_0x28df2c[_0x30a5b1];return _0x30d86d;}import{ID_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const bffDetail={'service':a8_0x53e482(0x169),'command':a8_0x53e482(0x167),'description':a8_0x53e482(0x161),'risk':a8_0x53e482(0x164),'flags':[{...ID_FLAG,'description':a8_0x53e482(0x15e)},VERBOSE_FLAG],async 'execute'(_0x164734){const _0x4761ec=a8_0x53e482,_0x395155=await getBffScriptInfo(_0x164734[_0x4761ec(0x168)]('id')),_0xbf378b=_0x164734[_0x4761ec(0x156)](_0x4761ec(0x16d));if(_0xbf378b)return{'ok':!![],'data':_0x395155};return{'ok':!![],'data':{'id':_0x395155['id'],'appCode':_0x395155[_0x4761ec(0x16c)],'functionName':_0x395155[_0x4761ec(0x158)]??'','scriptType':_0x395155[_0x4761ec(0x15f)],'description':_0x395155['description']||_0x4761ec(0x15a),'createdTime':_0x395155[_0x4761ec(0x15c)]??'','updatedTime':_0x395155[_0x4761ec(0x159)]??''}};}};
1
+ function a8_0x2d84(){const _0x5e1cb0=['598359VYCtQe','21qBCngf','Script\x20ID','updatedTime','verbose','13599LyPJmg','622314pkSmPc','(none)','description','num','scriptType','2810wWMara','3818428gOpaOM','11ZbzlpS','1937096KRMCkX','appCode','functionName','detail','6550476VWdLCM','bff','5NUUJlu','471426tyKTzl','2ZLcMOG','createdTime'];a8_0x2d84=function(){return _0x5e1cb0;};return a8_0x2d84();}const a8_0x3c9428=a8_0x158b;(function(_0x530a3c,_0x5204f1){const _0x155584=a8_0x158b,_0x295123=_0x530a3c();while(!![]){try{const _0x38c928=-parseInt(_0x155584(0x81))/0x1+parseInt(_0x155584(0x79))/0x2*(-parseInt(_0x155584(0x7b))/0x3)+parseInt(_0x155584(0x87))/0x4*(parseInt(_0x155584(0x77))/0x5)+-parseInt(_0x155584(0x78))/0x6+parseInt(_0x155584(0x7c))/0x7*(parseInt(_0x155584(0x89))/0x8)+-parseInt(_0x155584(0x80))/0x9*(-parseInt(_0x155584(0x86))/0xa)+parseInt(_0x155584(0x88))/0xb*(-parseInt(_0x155584(0x75))/0xc);if(_0x38c928===_0x5204f1)break;else _0x295123['push'](_0x295123['shift']());}catch(_0x70366){_0x295123['push'](_0x295123['shift']());}}}(a8_0x2d84,0xa0fc6));import{getBffScriptInfo}from'../../core/api-client.js';import{ID_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';function a8_0x158b(_0x217659,_0x574f8e){_0x217659=_0x217659-0x74;const _0x2d8488=a8_0x2d84();let _0x158b27=_0x2d8488[_0x217659];return _0x158b27;}export const bffDetail={'service':a8_0x3c9428(0x76),'command':a8_0x3c9428(0x74),'description':'Get\x20BFF\x20script\x20details\x20by\x20ID','risk':'read','flags':[{...ID_FLAG,'description':a8_0x3c9428(0x7d)},VERBOSE_FLAG],async 'execute'(_0x5956ee){const _0x22a87f=a8_0x3c9428,_0x404cbc=await getBffScriptInfo(_0x5956ee[_0x22a87f(0x84)]('id')),_0xf93cd0=_0x5956ee['bool'](_0x22a87f(0x7f));if(_0xf93cd0)return{'ok':!![],'data':_0x404cbc};return{'ok':!![],'data':{'id':_0x404cbc['id'],'appCode':_0x404cbc[_0x22a87f(0x8a)],'functionName':_0x404cbc[_0x22a87f(0x8b)]??'','scriptType':_0x404cbc[_0x22a87f(0x85)],'description':_0x404cbc[_0x22a87f(0x83)]||_0x22a87f(0x82),'createdTime':_0x404cbc[_0x22a87f(0x7a)]??'','updatedTime':_0x404cbc[_0x22a87f(0x7e)]??''}};}};
@@ -1 +1 @@
1
- const a9_0x51040f=a9_0xefe6;(function(_0xb80924,_0x4558e9){const _0x42bfc4=a9_0xefe6,_0x3c7168=_0xb80924();while(!![]){try{const _0x49ecc0=-parseInt(_0x42bfc4(0x188))/0x1*(parseInt(_0x42bfc4(0x185))/0x2)+parseInt(_0x42bfc4(0x18a))/0x3*(parseInt(_0x42bfc4(0x18c))/0x4)+-parseInt(_0x42bfc4(0x189))/0x5*(-parseInt(_0x42bfc4(0x182))/0x6)+-parseInt(_0x42bfc4(0x17b))/0x7+-parseInt(_0x42bfc4(0x17d))/0x8*(parseInt(_0x42bfc4(0x17e))/0x9)+-parseInt(_0x42bfc4(0x186))/0xa*(-parseInt(_0x42bfc4(0x17c))/0xb)+parseInt(_0x42bfc4(0x18b))/0xc;if(_0x49ecc0===_0x4558e9)break;else _0x3c7168['push'](_0x3c7168['shift']());}catch(_0x5ad7db){_0x3c7168['push'](_0x3c7168['shift']());}}}(a9_0x47cf,0x4cd77));function a9_0xefe6(_0x19f3f8,_0x368093){_0x19f3f8=_0x19f3f8-0x17b;const _0x47cffa=a9_0x47cf();let _0xefe6d8=_0x47cffa[_0x19f3f8];return _0xefe6d8;}function a9_0x47cf(){const _0x3ec5eb=['read','BFF\x20function\x20name\x20to\x20execute','260718TyvktM','now','str','14qGbdYe','470fYplYU','BFF\x20executed\x20in\x20','48911JkGFlF','25fbzmNG','3DFXTcf','7665636WpOhie','437724hanfcj','1311548lJIZTC','14223EPfXqi','88BHUeNa','148734fXfDrO','Execute\x20a\x20BFF\x20script\x20by\x20function\x20name'];a9_0x47cf=function(){return _0x3ec5eb;};return a9_0x47cf();}import{executeSdkBff}from'../../core/sdk-client.js';import{parseJsonParams}from'../../utils/params.js';import{NAME_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';export const bffExec={'service':'bff','command':'exec','description':a9_0x51040f(0x17f),'risk':a9_0x51040f(0x180),'flags':[{...NAME_FLAG,'required':!![],'description':a9_0x51040f(0x181)},PARAMS_FLAG],async 'execute'(_0x5f46c9){const _0x57ea1d=a9_0x51040f,_0x393503=parseJsonParams(_0x5f46c9[_0x57ea1d(0x184)]('params')),_0x35ba35=Date[_0x57ea1d(0x183)](),_0x1592ad=await executeSdkBff(_0x5f46c9[_0x57ea1d(0x184)]('name'),_0x393503),_0x2f9506=Date[_0x57ea1d(0x183)]()-_0x35ba35;return{'ok':!![],'data':{'result':_0x1592ad,'elapsed':_0x2f9506},'message':_0x57ea1d(0x187)+_0x2f9506+'ms'};}};
1
+ const a9_0x442dd0=a9_0x86be;function a9_0x86be(_0x5a1094,_0xf022f6){_0x5a1094=_0x5a1094-0x14f;const _0xb16075=a9_0xb160();let _0x86be05=_0xb16075[_0x5a1094];return _0x86be05;}(function(_0x3df8ae,_0x19047d){const _0x4424c0=a9_0x86be,_0x58081e=_0x3df8ae();while(!![]){try{const _0x14bc44=parseInt(_0x4424c0(0x15c))/0x1+parseInt(_0x4424c0(0x15f))/0x2*(parseInt(_0x4424c0(0x159))/0x3)+-parseInt(_0x4424c0(0x157))/0x4+-parseInt(_0x4424c0(0x150))/0x5*(-parseInt(_0x4424c0(0x156))/0x6)+-parseInt(_0x4424c0(0x14f))/0x7*(parseInt(_0x4424c0(0x15a))/0x8)+parseInt(_0x4424c0(0x152))/0x9*(-parseInt(_0x4424c0(0x151))/0xa)+parseInt(_0x4424c0(0x155))/0xb;if(_0x14bc44===_0x19047d)break;else _0x58081e['push'](_0x58081e['shift']());}catch(_0x5ad3f0){_0x58081e['push'](_0x58081e['shift']());}}}(a9_0xb160,0xcb6f8));import{executeSdkBff}from'../../core/sdk-client.js';import{parseJsonParams}from'../../utils/params.js';import{NAME_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';export const bffExec={'service':'bff','command':a9_0x442dd0(0x160),'description':a9_0x442dd0(0x154),'risk':a9_0x442dd0(0x15b),'flags':[{...NAME_FLAG,'required':!![],'description':a9_0x442dd0(0x153)},PARAMS_FLAG],async 'execute'(_0x3098b0){const _0x2c4dfa=a9_0x442dd0,_0x413d16=parseJsonParams(_0x3098b0[_0x2c4dfa(0x15d)]('params')),_0x7c38bc=Date[_0x2c4dfa(0x15e)](),_0x2ce246=await executeSdkBff(_0x3098b0[_0x2c4dfa(0x15d)](_0x2c4dfa(0x158)),_0x413d16),_0x3d4d8e=Date[_0x2c4dfa(0x15e)]()-_0x7c38bc;return{'ok':!![],'data':{'result':_0x2ce246,'elapsed':_0x3d4d8e},'message':'BFF\x20executed\x20in\x20'+_0x3d4d8e+'ms'};}};function a9_0xb160(){const _0x55b034=['read','1473374ZRbDuy','str','now','2IdTlPx','exec','7AaktNt','110710YfPWhC','3836010DaMpmm','18UzOHSg','BFF\x20function\x20name\x20to\x20execute','Execute\x20a\x20BFF\x20script\x20by\x20function\x20name','46750ypqiXw','444PVnTRI','3127168YjiQIi','name','1110255ONBQLe','8831608VMxyyn'];a9_0xb160=function(){return _0x55b034;};return a9_0xb160();}
@@ -1 +1 @@
1
- function a10_0x4490(){const _0x23de46=['6sSwGeI','1322328QhZUFv','91509Ilnrax','6732laXoto','1638795HBFFYF','2jRqExX','325947jbaiCq','1602923OPnRkQ','14711ZhYvSW','1810wwrFCh','8pSUZoX'];a10_0x4490=function(){return _0x23de46;};return a10_0x4490();}(function(_0x3dbcf9,_0x58398e){const _0x149a46=a10_0x4e6a,_0x17aa26=_0x3dbcf9();while(!![]){try{const _0xb45c45=-parseInt(_0x149a46(0x105))/0x1*(parseInt(_0x149a46(0x102))/0x2)+parseInt(_0x149a46(0x103))/0x3+-parseInt(_0x149a46(0xfe))/0x4+-parseInt(_0x149a46(0x101))/0x5*(-parseInt(_0x149a46(0x108))/0x6)+-parseInt(_0x149a46(0x104))/0x7*(-parseInt(_0x149a46(0x107))/0x8)+-parseInt(_0x149a46(0x100))/0x9*(parseInt(_0x149a46(0x106))/0xa)+parseInt(_0x149a46(0xff))/0xb;if(_0xb45c45===_0x58398e)break;else _0x17aa26['push'](_0x17aa26['shift']());}catch(_0x1e5748){_0x17aa26['push'](_0x17aa26['shift']());}}}(a10_0x4490,0x2f20b));function a10_0x4e6a(_0x211195,_0x34e194){_0x211195=_0x211195-0xfe;const _0x4490b8=a10_0x4490();let _0x4e6ae3=_0x4490b8[_0x211195];return _0x4e6ae3;}import{bffDetail}from'../../commands/bff/detail.js';import{bffExec}from'../../commands/bff/exec.js';export const bffDefinitions=[bffDetail,bffExec];
1
+ function a10_0x4f25(_0x55dc65,_0x2f68d1){_0x55dc65=_0x55dc65-0x70;const _0x1f6927=a10_0x1f69();let _0x4f25d1=_0x1f6927[_0x55dc65];return _0x4f25d1;}function a10_0x1f69(){const _0x3a55f4=['3732339VClpRT','1309136IOBKMR','4406875aagzjc','12026232TdOtAg','7PwuaWp','454244JCHXPU','1940252ZtCEiM','7947408BqXkel'];a10_0x1f69=function(){return _0x3a55f4;};return a10_0x1f69();}(function(_0x5ec7eb,_0x456efc){const _0x1a5d8d=a10_0x4f25,_0x49a61c=_0x5ec7eb();while(!![]){try{const _0x4da070=-parseInt(_0x1a5d8d(0x73))/0x1+-parseInt(_0x1a5d8d(0x70))/0x2+parseInt(_0x1a5d8d(0x72))/0x3+-parseInt(_0x1a5d8d(0x77))/0x4+-parseInt(_0x1a5d8d(0x74))/0x5+parseInt(_0x1a5d8d(0x71))/0x6+parseInt(_0x1a5d8d(0x76))/0x7*(parseInt(_0x1a5d8d(0x75))/0x8);if(_0x4da070===_0x456efc)break;else _0x49a61c['push'](_0x49a61c['shift']());}catch(_0x58bc78){_0x49a61c['push'](_0x49a61c['shift']());}}}(a10_0x1f69,0xc2c42));import{bffDetail}from'../../commands/bff/detail.js';import{bffExec}from'../../commands/bff/exec.js';export const bffDefinitions=[bffDetail,bffExec];
@@ -1 +1 @@
1
- function a11_0xd013(){const _0x16db5f=['23187sfdDgc','277080RCzYpl','Not\x20inside\x20a\x20project\x20(no\x20.lovrabet.json\x20found).','project-or-global-explicit','6jnEdlj','validation','\x20init`\x20first.','project','\x20(global)','28111QroPgh','1166585DrwCCK','171235VavbpP','585552UjyqXE','64XOCDYG','inProject','811386CmCueo','Flags\x20--global\x20and\x20--project\x20are\x20mutually\x20exclusive.','Use\x20only\x20one\x20config\x20scope\x20flag.','project-default','global','6BRJKyi','global-default'];a11_0xd013=function(){return _0x16db5f;};return a11_0xd013();}(function(_0x2f36b7,_0x33bf43){const _0x45c654=a11_0x53cf,_0x44e538=_0x2f36b7();while(!![]){try{const _0x250196=parseInt(_0x45c654(0x159))/0x1*(parseInt(_0x45c654(0x14e))/0x2)+parseInt(_0x45c654(0x150))/0x3*(parseInt(_0x45c654(0x15d))/0x4)+parseInt(_0x45c654(0x15b))/0x5+parseInt(_0x45c654(0x154))/0x6*(-parseInt(_0x45c654(0x15a))/0x7)+-parseInt(_0x45c654(0x15c))/0x8+parseInt(_0x45c654(0x15f))/0x9+parseInt(_0x45c654(0x151))/0xa;if(_0x250196===_0x33bf43)break;else _0x44e538['push'](_0x44e538['shift']());}catch(_0x264102){_0x44e538['push'](_0x44e538['shift']());}}}(a11_0xd013,0x1d5c1));import{CLI_BIN_NAME}from'../../constant/cli.js';export{DEFAULT_APP_PROFILE_NAME,DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';export{RUNTIME_ENV_VALUES}from'../../constant/env.js';export{OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{isInProject}from'../../context.js';import{CliErrors}from'../../errors.js';export{buildAppProfileListFields,CONFIG_ENUM_VALUES,IMPORTABLE_RUNTIME_CONFIG_KEYS,TOP_LEVEL_CONFIG_KEYS,getConfigCommandKeyDescription,getConfigDefaultValue,getConfigEnumValues,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isLegacyCompatConfigKey,isTopLevelConfigKey}from'../../config/schema.js';export function resolveConfigScope(_0x5388fe){const _0x5a6355=a11_0x53cf,{explicitGlobal:explicitGlobal=![],explicitProject:explicitProject=![],policy:_0x53eb9a}=_0x5388fe;if(explicitGlobal&&explicitProject)throw CliErrors[_0x5a6355(0x155)](_0x5a6355(0x160),_0x5a6355(0x161));if(explicitGlobal)return _0x5a6355(0x14d);if(explicitProject)return _0x5a6355(0x157);switch(_0x53eb9a){case _0x5a6355(0x14f):return _0x5a6355(0x14d);case _0x5a6355(0x162):return _0x5388fe[_0x5a6355(0x15e)]??isInProject()?'project':_0x5a6355(0x14d);case _0x5a6355(0x153):if(!(_0x5388fe[_0x5a6355(0x15e)]??isInProject()))throw CliErrors[_0x5a6355(0x155)](_0x5a6355(0x152),'Add\x20--global\x20to\x20write\x20to\x20~/.lovrabet.json,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x5a6355(0x156));return'project';}}function a11_0x53cf(_0x189e14,_0x323211){_0x189e14=_0x189e14-0x14d;const _0xd01352=a11_0xd013();let _0x53cfff=_0xd01352[_0x189e14];return _0x53cfff;}export function toScopeFlags(_0x1429af){const _0x597748=a11_0x53cf;return{'global':_0x1429af===_0x597748(0x14d)};}export function formatScopeLabel(_0x496338){const _0x3db260=a11_0x53cf;return _0x496338===_0x3db260(0x14d)?_0x3db260(0x158):'';}
1
+ (function(_0x1bb9b1,_0xd9d52d){const _0x19e294=a11_0x3e05,_0x2c8677=_0x1bb9b1();while(!![]){try{const _0x19c1d2=parseInt(_0x19e294(0x1a2))/0x1*(parseInt(_0x19e294(0x1ac))/0x2)+parseInt(_0x19e294(0x1a4))/0x3+parseInt(_0x19e294(0x19d))/0x4+parseInt(_0x19e294(0x19e))/0x5+parseInt(_0x19e294(0x1a8))/0x6*(parseInt(_0x19e294(0x1a3))/0x7)+parseInt(_0x19e294(0x1a5))/0x8+-parseInt(_0x19e294(0x1a0))/0x9;if(_0x19c1d2===_0xd9d52d)break;else _0x2c8677['push'](_0x2c8677['shift']());}catch(_0x4cf2fc){_0x2c8677['push'](_0x2c8677['shift']());}}}(a11_0x5666,0xd9529));import{CLI_BIN_NAME}from'../../constant/cli.js';export{DEFAULT_APP_PROFILE_NAME,DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';export{RUNTIME_ENV_VALUES}from'../../constant/env.js';export{OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{isInProject}from'../../context.js';import{CliErrors}from'../../errors.js';export{buildAppProfileListFields,CONFIG_ENUM_VALUES,IMPORTABLE_RUNTIME_CONFIG_KEYS,TOP_LEVEL_CONFIG_KEYS,getConfigCommandKeyDescription,getConfigDefaultValue,getConfigEnumValues,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isLegacyCompatConfigKey,isTopLevelConfigKey}from'../../config/schema.js';export function resolveConfigScope(_0x332477){const _0x41a636=a11_0x3e05,{explicitGlobal:explicitGlobal=![],explicitProject:explicitProject=![],policy:_0x2e4dd4}=_0x332477;if(explicitGlobal&&explicitProject)throw CliErrors[_0x41a636(0x1ab)](_0x41a636(0x1a7),'Use\x20only\x20one\x20config\x20scope\x20flag.');if(explicitGlobal)return'global';if(explicitProject)return _0x41a636(0x19a);switch(_0x2e4dd4){case _0x41a636(0x1a9):return'global';case'project-default':return _0x332477[_0x41a636(0x19b)]??isInProject()?_0x41a636(0x19a):_0x41a636(0x1a6);case _0x41a636(0x199):if(!(_0x332477['inProject']??isInProject()))throw CliErrors[_0x41a636(0x1ab)](_0x41a636(0x19c),_0x41a636(0x1aa)+CLI_BIN_NAME+_0x41a636(0x1a1));return _0x41a636(0x19a);}}export function toScopeFlags(_0x4d5e2c){const _0x118360=a11_0x3e05;return{'global':_0x4d5e2c===_0x118360(0x1a6)};}function a11_0x3e05(_0x3ea04f,_0x131fd1){_0x3ea04f=_0x3ea04f-0x199;const _0x566658=a11_0x5666();let _0x3e0515=_0x566658[_0x3ea04f];return _0x3e0515;}function a11_0x5666(){const _0x1e928=['Flags\x20--global\x20and\x20--project\x20are\x20mutually\x20exclusive.','5530290sSkmTz','global-default','Add\x20--global\x20to\x20write\x20to\x20~/.lovrabet.json,\x20or\x20run\x20`','validation','2TanpWL','project-or-global-explicit','project','inProject','Not\x20inside\x20a\x20project\x20(no\x20.lovrabet.json\x20found).','2231176MzOCmo','880310yHSrtf','\x20(global)','22186764kvumwU','\x20init`\x20first.','692887MlOUKL','7LhYoiK','1878420rPkLWV','3046008uKwAgq','global'];a11_0x5666=function(){return _0x1e928;};return a11_0x5666();}export function formatScopeLabel(_0x5eae89){const _0x286a0b=a11_0x3e05;return _0x5eae89===_0x286a0b(0x1a6)?_0x286a0b(0x19f):'';}
@@ -1 +1 @@
1
- (function(_0x38ce8c,_0x5de3dd){const _0x486eb8=a12_0x3dba,_0x4ac753=_0x38ce8c();while(!![]){try{const _0x449370=parseInt(_0x486eb8(0x12e))/0x1+-parseInt(_0x486eb8(0x124))/0x2+parseInt(_0x486eb8(0x123))/0x3*(parseInt(_0x486eb8(0x130))/0x4)+-parseInt(_0x486eb8(0x132))/0x5+-parseInt(_0x486eb8(0x137))/0x6+parseInt(_0x486eb8(0x13b))/0x7*(-parseInt(_0x486eb8(0x136))/0x8)+-parseInt(_0x486eb8(0x125))/0x9*(-parseInt(_0x486eb8(0x138))/0xa);if(_0x449370===_0x5de3dd)break;else _0x4ac753['push'](_0x4ac753['shift']());}catch(_0x318455){_0x4ac753['push'](_0x4ac753['shift']());}}}(a12_0x30d2,0x98b39));import{CliErrors}from'../../errors.js';function isSet(_0x169945,_0x227882){const _0x53fa64=a12_0x3dba,_0x461696=_0x169945[_0x53fa64(0x121)](_0x227882);return _0x461696!==undefined&&_0x461696!==''&&_0x461696!==![]&&_0x461696!==0x0;}function a12_0x3dba(_0x56cd4c,_0xecc2e7){_0x56cd4c=_0x56cd4c-0x120;const _0x30d29d=a12_0x30d2();let _0x3dba2f=_0x30d29d[_0x56cd4c];return _0x3dba2f;}function fmtNames(_0x378791){const _0x2ee2f9=a12_0x3dba;return _0x378791['map'](_0x25b071=>'--'+_0x25b071)[_0x2ee2f9(0x12d)](',\x20');}export function requireOneOf(_0x59c495,_0x13286e,_0x4ae73d){const _0x3e7c8d=a12_0x3dba,_0x5c2ae8=_0x13286e['filter'](_0x11fd4f=>isSet(_0x59c495,_0x11fd4f));if(_0x5c2ae8[_0x3e7c8d(0x131)]!==0x1)throw CliErrors[_0x3e7c8d(0x134)](_0x5c2ae8[_0x3e7c8d(0x131)]===0x0?_0x3e7c8d(0x128)+fmtNames(_0x13286e)+_0x3e7c8d(0x12a)+_0x4ae73d+'`.':'Only\x20one\x20of\x20'+fmtNames(_0x13286e)+_0x3e7c8d(0x127)+fmtNames(_0x5c2ae8)+'.',_0x5c2ae8[_0x3e7c8d(0x131)]===0x0?'Provide\x20one\x20of:\x20'+fmtNames(_0x13286e):_0x3e7c8d(0x12c));}export function requireAnyOf(_0x26ed1b,_0x402e12,_0x96d30e){const _0x84f5a5=a12_0x3dba;if(!_0x402e12[_0x84f5a5(0x13a)](_0x5ff80e=>isSet(_0x26ed1b,_0x5ff80e)))throw CliErrors[_0x84f5a5(0x134)]('At\x20least\x20one\x20of\x20'+fmtNames(_0x402e12)+_0x84f5a5(0x12a)+_0x96d30e+'`.',_0x84f5a5(0x12f)+fmtNames(_0x402e12));}function a12_0x30d2(){const _0x1bc321=['2507184lxAzWN','7390jwUFEP',':\x20expected\x20','some','2474017QZxxND','Flags\x20','flag','filter','33hnJDXq','1818656yheObs','29259rAkpdy','Use\x20only\x20one\x20of:\x20','\x20is\x20allowed,\x20found:\x20','Exactly\x20one\x20of\x20','str','\x20is\x20required\x20for\x20`','Invalid\x20--','Remove\x20all\x20but\x20one.','join','1164876AQTlPm','Provide\x20one\x20of:\x20','15616MOUNvE','length','4753950MnuZRi','\x20are\x20mutually\x20exclusive\x20for\x20`','validation','test','16GwxVqP'];a12_0x30d2=function(){return _0x1bc321;};return a12_0x30d2();}export function mutuallyExclusive(_0x30a538,_0x39cfd3,_0x42a8b5){const _0x4a593f=a12_0x3dba,_0x4ffaad=_0x39cfd3[_0x4a593f(0x122)](_0x15b9c7=>isSet(_0x30a538,_0x15b9c7));if(_0x4ffaad['length']>0x1)throw CliErrors[_0x4a593f(0x134)](_0x4a593f(0x120)+fmtNames(_0x4ffaad)+_0x4a593f(0x133)+_0x42a8b5+'`.',_0x4a593f(0x126)+fmtNames(_0x39cfd3));}export function validatePattern(_0x1601da,_0x41f2dc,_0x35b2ce,_0x541c8f){const _0x31bf5f=a12_0x3dba,_0xb7760=_0x1601da[_0x31bf5f(0x129)](_0x41f2dc);if(_0xb7760&&!_0x35b2ce[_0x31bf5f(0x135)](_0xb7760))throw CliErrors[_0x31bf5f(0x134)](_0x31bf5f(0x12b)+_0x41f2dc+_0x31bf5f(0x139)+_0x541c8f+',\x20got\x20\x22'+_0xb7760+'\x22.');}
1
+ function a12_0x59f3(){const _0x3c14e6=['416140QZKjmp','2651358LXcueM','Use\x20only\x20one\x20of:\x20','189ewjWxL','Provide\x20one\x20of:\x20','flag','\x20is\x20allowed,\x20found:\x20','8UeRCuC','121kEylHH','length','validation','1757565DroLJO','Only\x20one\x20of\x20','Flags\x20','\x20are\x20mutually\x20exclusive\x20for\x20`','5258853YCUwAu','414751TuQlbC','14296CZLami','map','Invalid\x20--','filter','740216VEgCSC','some','21zYUzbZ','\x20is\x20required\x20for\x20`'];a12_0x59f3=function(){return _0x3c14e6;};return a12_0x59f3();}(function(_0x323a8e,_0x5e57e1){const _0x3c4f3d=a12_0x4676,_0x2c3eba=_0x323a8e();while(!![]){try{const _0x39039d=-parseInt(_0x3c4f3d(0xb0))/0x1+parseInt(_0x3c4f3d(0xb5))/0x2+-parseInt(_0x3c4f3d(0xa3))/0x3*(-parseInt(_0x3c4f3d(0xb1))/0x4)+parseInt(_0x3c4f3d(0xab))/0x5+-parseInt(_0x3c4f3d(0xa1))/0x6*(-parseInt(_0x3c4f3d(0xb7))/0x7)+-parseInt(_0x3c4f3d(0xa7))/0x8*(parseInt(_0x3c4f3d(0xaf))/0x9)+parseInt(_0x3c4f3d(0xa0))/0xa*(-parseInt(_0x3c4f3d(0xa8))/0xb);if(_0x39039d===_0x5e57e1)break;else _0x2c3eba['push'](_0x2c3eba['shift']());}catch(_0x166a84){_0x2c3eba['push'](_0x2c3eba['shift']());}}}(a12_0x59f3,0xc7218));import{CliErrors}from'../../errors.js';function isSet(_0x55450d,_0x376744){const _0x508db3=a12_0x4676,_0xc88e21=_0x55450d[_0x508db3(0xa5)](_0x376744);return _0xc88e21!==undefined&&_0xc88e21!==''&&_0xc88e21!==![]&&_0xc88e21!==0x0;}function fmtNames(_0x5e5f60){const _0x2b5fd5=a12_0x4676;return _0x5e5f60[_0x2b5fd5(0xb2)](_0x3e6a60=>'--'+_0x3e6a60)['join'](',\x20');}export function requireOneOf(_0x4df6f9,_0x595d78,_0x44706f){const _0x10ff4e=a12_0x4676,_0x5edeb8=_0x595d78[_0x10ff4e(0xb4)](_0x414f32=>isSet(_0x4df6f9,_0x414f32));if(_0x5edeb8[_0x10ff4e(0xa9)]!==0x1)throw CliErrors[_0x10ff4e(0xaa)](_0x5edeb8[_0x10ff4e(0xa9)]===0x0?'Exactly\x20one\x20of\x20'+fmtNames(_0x595d78)+_0x10ff4e(0x9f)+_0x44706f+'`.':_0x10ff4e(0xac)+fmtNames(_0x595d78)+_0x10ff4e(0xa6)+fmtNames(_0x5edeb8)+'.',_0x5edeb8[_0x10ff4e(0xa9)]===0x0?_0x10ff4e(0xa4)+fmtNames(_0x595d78):'Remove\x20all\x20but\x20one.');}function a12_0x4676(_0x3bd64a,_0x6c0d03){_0x3bd64a=_0x3bd64a-0x9f;const _0x59f3e6=a12_0x59f3();let _0x467601=_0x59f3e6[_0x3bd64a];return _0x467601;}export function requireAnyOf(_0x4d1119,_0xc5bb41,_0x16473d){const _0x53f5f0=a12_0x4676;if(!_0xc5bb41[_0x53f5f0(0xb6)](_0x17eff8=>isSet(_0x4d1119,_0x17eff8)))throw CliErrors[_0x53f5f0(0xaa)]('At\x20least\x20one\x20of\x20'+fmtNames(_0xc5bb41)+_0x53f5f0(0x9f)+_0x16473d+'`.',_0x53f5f0(0xa4)+fmtNames(_0xc5bb41));}export function mutuallyExclusive(_0xdc45ad,_0x114585,_0x58e845){const _0x37f6f6=a12_0x4676,_0x125f05=_0x114585[_0x37f6f6(0xb4)](_0xad30c6=>isSet(_0xdc45ad,_0xad30c6));if(_0x125f05[_0x37f6f6(0xa9)]>0x1)throw CliErrors['validation'](_0x37f6f6(0xad)+fmtNames(_0x125f05)+_0x37f6f6(0xae)+_0x58e845+'`.',_0x37f6f6(0xa2)+fmtNames(_0x114585));}export function validatePattern(_0x2696de,_0x4b123e,_0x24f49c,_0x1aca11){const _0x8edd04=a12_0x4676,_0x2e467d=_0x2696de['str'](_0x4b123e);if(_0x2e467d&&!_0x24f49c['test'](_0x2e467d))throw CliErrors[_0x8edd04(0xaa)](_0x8edd04(0xb3)+_0x4b123e+':\x20expected\x20'+_0x1aca11+',\x20got\x20\x22'+_0x2e467d+'\x22.');}
@@ -1 +1 @@
1
- const a13_0x492849=a13_0x36e1;(function(_0x5987e1,_0xe4f873){const _0x5568fd=a13_0x36e1,_0x5b5e21=_0x5987e1();while(!![]){try{const _0x35dca3=parseInt(_0x5568fd(0x1bf))/0x1*(parseInt(_0x5568fd(0x1b2))/0x2)+-parseInt(_0x5568fd(0x1c0))/0x3+-parseInt(_0x5568fd(0x1c5))/0x4+-parseInt(_0x5568fd(0x1b9))/0x5*(parseInt(_0x5568fd(0x1ba))/0x6)+parseInt(_0x5568fd(0x1c2))/0x7+parseInt(_0x5568fd(0x1bb))/0x8*(parseInt(_0x5568fd(0x1b1))/0x9)+-parseInt(_0x5568fd(0x1b7))/0xa;if(_0x35dca3===_0xe4f873)break;else _0x5b5e21['push'](_0x5b5e21['shift']());}catch(_0xc5829b){_0x5b5e21['push'](_0x5b5e21['shift']());}}}(a13_0x2bda,0xc9043));export const CODE_FLAG={'name':'code','type':a13_0x492849(0x1b3),'required':!![],'description':a13_0x492849(0x1be),'pattern':{'regex':/^[a-f0-9]{32}$/i,'description':a13_0x492849(0x1b4)}};export const SQLCODE_FLAG={'name':a13_0x492849(0x1c1),'type':'string','required':!![],'description':a13_0x492849(0x1bd),'pattern':{'regex':/^[a-f0-9]{8}-[a-f0-9]{8}$/i,'description':'SQL\x20code\x20in\x20format\x20xxxxxxxx-xxxxxxxx\x20(e.g.\x202305f915-dd48cd4c)'}};export const VERBOSE_FLAG={'name':a13_0x492849(0x1c3),'type':a13_0x492849(0x1b5),'description':a13_0x492849(0x1b6)};export const PARAMS_FLAG={'name':a13_0x492849(0x1b8),'type':a13_0x492849(0x1b3),'description':a13_0x492849(0x1c6)};export const NAME_FLAG={'name':'name','type':a13_0x492849(0x1b3),'description':a13_0x492849(0x1bc)};function a13_0x36e1(_0x1e665b,_0x1de1ec){_0x1e665b=_0x1e665b-0x1b1;const _0x2bdab1=a13_0x2bda();let _0x36e14a=_0x2bdab1[_0x1e665b];return _0x36e14a;}export const ID_FLAG={'name':'id','type':'number','required':!![],'description':a13_0x492849(0x1c4)};function a13_0x2bda(){const _0x2701c8=['8454558KpLVOq','verbose','Resource\x20ID','826644sJmBab','Parameters\x20as\x20JSON\x20string\x20(e.g.\x20\x27{\x22key\x22:\x22value\x22}\x27)','875439Bnrjws','3364FezcII','string','a\x2032-character\x20lowercase\x20hex\x20string\x20(e.g.\x2099a909313f1fa7153186431e1c551588a3a79d4a3540bbb2def2ad0a228a9acd)','boolean','Return\x20full\x20raw\x20response\x20object','345420CLLksj','params','5xcHMvW','1359174gZNVUr','8DoqjTX','Resource\x20name\x20for\x20lookup','SQL\x20code\x20identifier\x20(format:\x20xxxxxxxx-xxxxxxxx,\x20e.g.\x202305f915-dd48cd4c)','Dataset\x20code\x20(32-char\x20hex\x20UUID)','652TkIonB','3331902rpCbVR','sqlcode'];a13_0x2bda=function(){return _0x2701c8;};return a13_0x2bda();}
1
+ const a13_0x1ce490=a13_0x6ada;(function(_0x178ef3,_0x575f7f){const _0x24d799=a13_0x6ada,_0x130751=_0x178ef3();while(!![]){try{const _0x467ae5=parseInt(_0x24d799(0xa2))/0x1+parseInt(_0x24d799(0x9b))/0x2+-parseInt(_0x24d799(0x98))/0x3+-parseInt(_0x24d799(0x91))/0x4+-parseInt(_0x24d799(0xa3))/0x5+parseInt(_0x24d799(0x93))/0x6+parseInt(_0x24d799(0xa0))/0x7*(parseInt(_0x24d799(0x9f))/0x8);if(_0x467ae5===_0x575f7f)break;else _0x130751['push'](_0x130751['shift']());}catch(_0x9ff633){_0x130751['push'](_0x130751['shift']());}}}(a13_0x81af,0x24dbc));export const CODE_FLAG={'name':a13_0x1ce490(0x9c),'type':'string','required':!![],'description':a13_0x1ce490(0x94),'pattern':{'regex':/^[a-f0-9]{32}$/i,'description':a13_0x1ce490(0xa1)}};export const SQLCODE_FLAG={'name':a13_0x1ce490(0x92),'type':a13_0x1ce490(0x9a),'required':!![],'description':'SQL\x20code\x20identifier\x20(format:\x20xxxxxxxx-xxxxxxxx,\x20e.g.\x202305f915-dd48cd4c)','pattern':{'regex':/^[a-f0-9]{8}-[a-f0-9]{8}$/i,'description':'SQL\x20code\x20in\x20format\x20xxxxxxxx-xxxxxxxx\x20(e.g.\x202305f915-dd48cd4c)'}};function a13_0x6ada(_0x41adf0,_0x2a6261){_0x41adf0=_0x41adf0-0x91;const _0x81af3b=a13_0x81af();let _0x6ada91=_0x81af3b[_0x41adf0];return _0x6ada91;}function a13_0x81af(){const _0x1eecdd=['32Zjrzrh','597933mmJvaq','a\x2032-character\x20lowercase\x20hex\x20string\x20(e.g.\x2099a909313f1fa7153186431e1c551588a3a79d4a3540bbb2def2ad0a228a9acd)','49815AaGcZh','782015YIVikI','434448xsSNdG','sqlcode','1104606oGSjQq','Dataset\x20code\x20(32-char\x20hex\x20UUID)','number','Parameters\x20as\x20JSON\x20string\x20(e.g.\x20\x27{\x22key\x22:\x22value\x22}\x27)','Resource\x20ID','516162aXMoYY','params','string','24898jSqHaq','code','boolean','verbose'];a13_0x81af=function(){return _0x1eecdd;};return a13_0x81af();}export const VERBOSE_FLAG={'name':a13_0x1ce490(0x9e),'type':a13_0x1ce490(0x9d),'description':'Return\x20full\x20raw\x20response\x20object'};export const PARAMS_FLAG={'name':a13_0x1ce490(0x99),'type':a13_0x1ce490(0x9a),'description':a13_0x1ce490(0x96)};export const NAME_FLAG={'name':'name','type':a13_0x1ce490(0x9a),'description':'Resource\x20name\x20for\x20lookup'};export const ID_FLAG={'name':'id','type':a13_0x1ce490(0x95),'required':!![],'description':a13_0x1ce490(0x97)};
@@ -1 +1 @@
1
- const a14_0x54b3b5=a14_0x2c63;function a14_0x2c63(_0x3c4577,_0x10d8cc){_0x3c4577=_0x3c4577-0x1b4;const _0xe9899e=a14_0xe989();let _0x2c636e=_0xe9899e[_0x3c4577];return _0x2c636e;}(function(_0x34e61a,_0x43de6e){const _0x993917=a14_0x2c63,_0x13a355=_0x34e61a();while(!![]){try{const _0x1eca36=parseInt(_0x993917(0x1e9))/0x1*(-parseInt(_0x993917(0x1e2))/0x2)+parseInt(_0x993917(0x1c4))/0x3*(parseInt(_0x993917(0x1e0))/0x4)+-parseInt(_0x993917(0x1d6))/0x5*(parseInt(_0x993917(0x1e4))/0x6)+parseInt(_0x993917(0x1c8))/0x7+-parseInt(_0x993917(0x1bf))/0x8*(-parseInt(_0x993917(0x1b5))/0x9)+-parseInt(_0x993917(0x1ce))/0xa*(parseInt(_0x993917(0x1d1))/0xb)+parseInt(_0x993917(0x1c1))/0xc*(parseInt(_0x993917(0x1d4))/0xd);if(_0x1eca36===_0x43de6e)break;else _0x13a355['push'](_0x13a355['shift']());}catch(_0x652e4f){_0x13a355['push'](_0x13a355['shift']());}}}(a14_0xe989,0x52d1f));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME,ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeySummary,isTopLevelConfigKey,readScopedConfig,writeScopedConfig,resolveWriteScope,toScopeFlags}from'../../commands/config/shared.js';import{resolveWriteConfigPath,getProjectConfigPath}from'../../context.js';const GLOBAL_FLAG={'name':a14_0x54b3b5(0x1d3),'type':'boolean','description':a14_0x54b3b5(0x1cd),'default':![]},listDef={'service':'config','command':a14_0x54b3b5(0x1c6),'description':a14_0x54b3b5(0x1bb),'risk':a14_0x54b3b5(0x1b7),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':[],async 'execute'(_0x100864){const _0x45f6b9=a14_0x54b3b5,{buildConfigFromFlags:_0x576670}=await import(_0x45f6b9(0x1e1)),_0x79ba76=_0x576670({}),_0x1699d4=getProjectConfigPath(),_0x1a49c7=resolveWriteConfigPath(_0x45f6b9(0x1d3));if(_0x100864[_0x45f6b9(0x1c0)]==='pretty')return{'ok':!![],'message':_0x45f6b9(0x1b9)+(JSON['stringify'](_0x79ba76['raw'],null,0x2)+'\x0a\x0a')+_0x45f6b9(0x1dd)+(_0x45f6b9(0x1ed)+(_0x1699d4??_0x45f6b9(0x1ca))+'\x0a')+('\x20\x20global:\x20\x20'+_0x1a49c7)};return{'ok':!![],'data':{'effective':_0x79ba76['raw'],'configFiles':{'project':_0x1699d4??null,'global':_0x1a49c7}}};}},getDef={'service':a14_0x54b3b5(0x1cb),'command':a14_0x54b3b5(0x1e8),'description':a14_0x54b3b5(0x1d2),'risk':a14_0x54b3b5(0x1b7),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a14_0x54b3b5(0x1e5),'description':'Config\x20key\x20(supports\x20dot\x20notation\x20for\x20reads\x20only)','required':!![]}],'flags':[],async 'execute'(_0x23b728){const _0x35244a=a14_0x54b3b5,_0x54494e=_0x23b728[_0x35244a(0x1c5)][0x0];if(!_0x54494e)throw CliErrors[_0x35244a(0x1e6)](_0x35244a(0x1c7),_0x35244a(0x1da)+CLI_BIN_NAME+'\x20config\x20get\x20<key>');const {buildConfigFromFlags:_0x2098f4}=await import(_0x35244a(0x1e1)),{raw:_0x2f96bd}=_0x2098f4({});if(_0x54494e['includes']('.')){const _0x5f365b=_0x54494e[_0x35244a(0x1de)]('.');let _0x24d901=_0x2f96bd;for(const _0x1b7e09 of _0x5f365b){if(_0x24d901==null||typeof _0x24d901!=='object')throw CliErrors[_0x35244a(0x1e6)](_0x35244a(0x1bc)+_0x54494e);_0x24d901=_0x24d901[_0x1b7e09];}if(_0x24d901===undefined)throw CliErrors[_0x35244a(0x1e6)](_0x35244a(0x1bc)+_0x54494e);return console[_0x35244a(0x1d5)](typeof _0x24d901==='object'?JSON['stringify'](_0x24d901,null,0x2):String(_0x24d901)),{'ok':!![]};}const _0x5816ae=_0x2f96bd[_0x54494e];if(_0x5816ae===undefined)throw CliErrors[_0x35244a(0x1e6)](_0x35244a(0x1bc)+_0x54494e);return console[_0x35244a(0x1d5)](typeof _0x5816ae===_0x35244a(0x1d0)?JSON['stringify'](_0x5816ae,null,0x2):String(_0x5816ae)),{'ok':!![]};}},setDef={'service':a14_0x54b3b5(0x1cb),'command':'set','description':a14_0x54b3b5(0x1cc),'risk':a14_0x54b3b5(0x1e3),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a14_0x54b3b5(0x1e5),'description':getConfigCommandKeyDescription(),'required':!![]},{'name':a14_0x54b3b5(0x1db),'description':'Value\x20to\x20assign','required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0x3487b6){const _0x18d3ed=a14_0x54b3b5,_0x50e8a2=_0x3487b6['args'][0x0],_0x328c7c=_0x3487b6[_0x18d3ed(0x1c5)][0x1];if(!_0x50e8a2||_0x328c7c===undefined)throw CliErrors[_0x18d3ed(0x1e6)](_0x18d3ed(0x1bd),'Usage:\x20'+CLI_BIN_NAME+'\x20config\x20set\x20<key>\x20<value>\x20[--global]');if(ENUM_KEYS[_0x50e8a2]&&!ENUM_KEYS[_0x50e8a2][_0x18d3ed(0x1d7)](_0x328c7c))throw CliErrors['validation'](_0x18d3ed(0x1df)+_0x50e8a2+_0x18d3ed(0x1c2)+ENUM_KEYS[_0x50e8a2][_0x18d3ed(0x1e7)](',\x20'));if(_0x50e8a2===_0x18d3ed(0x1ea))throw CliErrors[_0x18d3ed(0x1e6)]('\x22riskLevel\x22\x20cannot\x20be\x20changed\x20via\x20the\x20CLI.');if(_0x50e8a2===_0x18d3ed(0x1dc)){const _0x35148d=Number(_0x328c7c);if(isNaN(_0x35148d)||_0x35148d<=0x0)throw CliErrors[_0x18d3ed(0x1e6)](_0x18d3ed(0x1be));}const _0xa71731=resolveWriteScope({'explicitGlobal':_0x3487b6[_0x18d3ed(0x1ec)](_0x18d3ed(0x1d3)),'policy':_0x18d3ed(0x1c9)}),_0x3dbb37=toScopeFlags(_0xa71731),_0x5c14d8=readScopedConfig(_0x3dbb37);if(!isTopLevelConfigKey(_0x50e8a2))throw CliErrors[_0x18d3ed(0x1e6)]('Top-level\x20key\x20\x22'+_0x50e8a2+_0x18d3ed(0x1d9),'Settable\x20top-level\x20keys:\x20'+getTopLevelConfigKeySummary());return _0x5c14d8[_0x50e8a2]=_0x50e8a2==='pageSize'?Number(_0x328c7c):_0x328c7c,console['log']('Set\x20`'+_0x50e8a2+_0x18d3ed(0x1b4)+_0x328c7c+'\x22'+(_0xa71731===_0x18d3ed(0x1d3)?_0x18d3ed(0x1d8):'')),writeScopedConfig(_0x5c14d8,_0x3dbb37),{'ok':!![]};}},deleteDef={'service':a14_0x54b3b5(0x1cb),'command':a14_0x54b3b5(0x1c3),'description':a14_0x54b3b5(0x1b6),'risk':a14_0x54b3b5(0x1e3),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a14_0x54b3b5(0x1e5),'description':getConfigCommandKeyDescription(),'required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0x21f592){const _0x5e1aea=a14_0x54b3b5,_0x61f408=_0x21f592['args'][0x0];if(!_0x61f408)throw CliErrors[_0x5e1aea(0x1e6)]('Missing\x20key\x20argument.','Usage:\x20'+CLI_BIN_NAME+_0x5e1aea(0x1ba));const _0x3602af=resolveWriteScope({'explicitGlobal':_0x21f592[_0x5e1aea(0x1ec)](_0x5e1aea(0x1d3)),'policy':_0x5e1aea(0x1c9)}),_0xfe5213=toScopeFlags(_0x3602af),_0x134ba3=readScopedConfig(_0xfe5213);if(_0x134ba3[_0x61f408]===undefined)throw CliErrors[_0x5e1aea(0x1e6)](_0x5e1aea(0x1cf)+_0x61f408+_0x5e1aea(0x1eb));return delete _0x134ba3[_0x61f408],console[_0x5e1aea(0x1d5)](_0x5e1aea(0x1b8)+_0x61f408+'`'+(_0x3602af===_0x5e1aea(0x1d3)?_0x5e1aea(0x1d8):'')),writeScopedConfig(_0x134ba3,_0xfe5213),{'ok':!![]};}};function a14_0xe989(){const _0x56d39b=['join','get','51UpxjsF','riskLevel','\x22\x20not\x20found\x20at\x20top\x20level.','bool','\x20\x20project:\x20','`\x20=\x20\x22','1163763AKKKOk','Delete\x20a\x20config\x20value','read','Deleted\x20`','#\x20Effective\x20config\x20(merged\x20global\x20+\x20project)\x0a\x0a','\x20config\x20delete\x20<key>\x20[--global]','List\x20current\x20config','Key\x20not\x20found:\x20','Missing\x20key\x20or\x20value.','pageSize\x20must\x20be\x20a\x20positive\x20number','8OBKjzX','format','12RQgZqE','\x22.\x20Allowed:\x20','delete','24963RiQWoX','args','list','Missing\x20key\x20argument.','1245132eHASfM','project-or-global-explicit','(none)','config','Set\x20a\x20config\x20value','Write\x20to\x20global\x20config','33870aFDjCj','Key\x20\x22','object','1793LgUhXF','Get\x20a\x20config\x20value','global','12780261eujqLq','log','54115Dcskov','includes','\x20(global)','\x22\x20is\x20not\x20settable.','Usage:\x20','value','pageSize','Config\x20files:\x0a','split','Invalid\x20value\x20for\x20\x22','12LyRUaJ','../../context.js','11956eVCBsr','write','66nemqXy','key','validation'];a14_0xe989=function(){return _0x56d39b;};return a14_0xe989();}export const configDefinitions=[listDef,getDef,setDef,deleteDef];
1
+ const a14_0x3113ef=a14_0x5dc0;function a14_0x5dc0(_0x1383d1,_0x4d2cf3){_0x1383d1=_0x1383d1-0x1d7;const _0x23d9bc=a14_0x23d9();let _0x5dc082=_0x23d9bc[_0x1383d1];return _0x5dc082;}(function(_0x393faa,_0x4f7292){const _0x1081dc=a14_0x5dc0,_0x4eeceb=_0x393faa();while(!![]){try{const _0xbf12ce=parseInt(_0x1081dc(0x211))/0x1+-parseInt(_0x1081dc(0x208))/0x2+parseInt(_0x1081dc(0x1f9))/0x3+-parseInt(_0x1081dc(0x1f5))/0x4*(parseInt(_0x1081dc(0x1e9))/0x5)+-parseInt(_0x1081dc(0x20a))/0x6*(-parseInt(_0x1081dc(0x1d8))/0x7)+parseInt(_0x1081dc(0x210))/0x8*(-parseInt(_0x1081dc(0x202))/0x9)+-parseInt(_0x1081dc(0x1f0))/0xa;if(_0xbf12ce===_0x4f7292)break;else _0x4eeceb['push'](_0x4eeceb['shift']());}catch(_0x2ce125){_0x4eeceb['push'](_0x4eeceb['shift']());}}}(a14_0x23d9,0xda583));import{CliErrors}from'../../errors.js';function a14_0x23d9(){const _0x839885=['Usage:\x20','format','(none)','Set\x20`','732482jBIbag','project-or-global-explicit','560364BwrufZ','bool','\x20config\x20delete\x20<key>\x20[--global]','\x20\x20project:\x20','stringify','../../context.js','888KfzQsY','1283728VrhtTW','Deleted\x20`','log','63LgzqFh','`\x20=\x20\x22','riskLevel','\x22riskLevel\x22\x20cannot\x20be\x20changed\x20via\x20the\x20CLI.','\x20\x20global:\x20\x20','read','global','Key\x20\x22','\x20config\x20set\x20<key>\x20<value>\x20[--global]','join','pageSize\x20must\x20be\x20a\x20positive\x20number','pageSize','delete','Missing\x20key\x20or\x20value.','\x20config\x20get\x20<key>','write','list','3365965lRiauZ','boolean','pretty','\x22\x20not\x20found\x20at\x20top\x20level.','key','set','Top-level\x20key\x20\x22','2725770Afueag','Config\x20key\x20(supports\x20dot\x20notation\x20for\x20reads\x20only)','\x22\x20is\x20not\x20settable.','validation','includes','4ESJjuM','config','Set\x20a\x20config\x20value','object','582891JbZBaQ','split','get','\x22.\x20Allowed:\x20','Config\x20files:\x0a','args','Invalid\x20value\x20for\x20\x22','Settable\x20top-level\x20keys:\x20','Key\x20not\x20found:\x20','9099giPnLJ','raw'];a14_0x23d9=function(){return _0x839885;};return a14_0x23d9();}import{CLI_BIN_NAME,ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeySummary,isTopLevelConfigKey,readScopedConfig,writeScopedConfig,resolveWriteScope,toScopeFlags}from'../../commands/config/shared.js';import{resolveWriteConfigPath,getProjectConfigPath}from'../../context.js';const GLOBAL_FLAG={'name':a14_0x3113ef(0x1de),'type':a14_0x3113ef(0x1ea),'description':'Write\x20to\x20global\x20config','default':![]},listDef={'service':a14_0x3113ef(0x1f6),'command':a14_0x3113ef(0x1e8),'description':'List\x20current\x20config','risk':a14_0x3113ef(0x1dd),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':[],async 'execute'(_0x438d99){const _0x1210db=a14_0x3113ef,{buildConfigFromFlags:_0x7e7ccf}=await import(_0x1210db(0x20f)),_0x20df85=_0x7e7ccf({}),_0x378861=getProjectConfigPath(),_0x537bf2=resolveWriteConfigPath('global');if(_0x438d99[_0x1210db(0x205)]===_0x1210db(0x1eb))return{'ok':!![],'message':'#\x20Effective\x20config\x20(merged\x20global\x20+\x20project)\x0a\x0a'+(JSON[_0x1210db(0x20e)](_0x20df85['raw'],null,0x2)+'\x0a\x0a')+_0x1210db(0x1fd)+(_0x1210db(0x20d)+(_0x378861??_0x1210db(0x206))+'\x0a')+(_0x1210db(0x1dc)+_0x537bf2)};return{'ok':!![],'data':{'effective':_0x20df85[_0x1210db(0x203)],'configFiles':{'project':_0x378861??null,'global':_0x537bf2}}};}},getDef={'service':a14_0x3113ef(0x1f6),'command':a14_0x3113ef(0x1fb),'description':'Get\x20a\x20config\x20value','risk':'read','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a14_0x3113ef(0x1ed),'description':a14_0x3113ef(0x1f1),'required':!![]}],'flags':[],async 'execute'(_0x1bc90c){const _0x5706b5=a14_0x3113ef,_0x28f6dc=_0x1bc90c[_0x5706b5(0x1fe)][0x0];if(!_0x28f6dc)throw CliErrors['validation']('Missing\x20key\x20argument.',_0x5706b5(0x204)+CLI_BIN_NAME+_0x5706b5(0x1e6));const {buildConfigFromFlags:_0x8e4d23}=await import(_0x5706b5(0x20f)),{raw:_0xa88735}=_0x8e4d23({});if(_0x28f6dc[_0x5706b5(0x1f4)]('.')){const _0x380cd3=_0x28f6dc[_0x5706b5(0x1fa)]('.');let _0x5eeb4f=_0xa88735;for(const _0x1a97e8 of _0x380cd3){if(_0x5eeb4f==null||typeof _0x5eeb4f!=='object')throw CliErrors['validation'](_0x5706b5(0x201)+_0x28f6dc);_0x5eeb4f=_0x5eeb4f[_0x1a97e8];}if(_0x5eeb4f===undefined)throw CliErrors['validation'](_0x5706b5(0x201)+_0x28f6dc);return console['log'](typeof _0x5eeb4f==='object'?JSON[_0x5706b5(0x20e)](_0x5eeb4f,null,0x2):String(_0x5eeb4f)),{'ok':!![]};}const _0x159e14=_0xa88735[_0x28f6dc];if(_0x159e14===undefined)throw CliErrors[_0x5706b5(0x1f3)](_0x5706b5(0x201)+_0x28f6dc);return console[_0x5706b5(0x1d7)](typeof _0x159e14===_0x5706b5(0x1f8)?JSON['stringify'](_0x159e14,null,0x2):String(_0x159e14)),{'ok':!![]};}},setDef={'service':a14_0x3113ef(0x1f6),'command':a14_0x3113ef(0x1ee),'description':a14_0x3113ef(0x1f7),'risk':a14_0x3113ef(0x1e7),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a14_0x3113ef(0x1ed),'description':getConfigCommandKeyDescription(),'required':!![]},{'name':'value','description':'Value\x20to\x20assign','required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0x3a19c6){const _0x42972b=a14_0x3113ef,_0x20b286=_0x3a19c6['args'][0x0],_0x126d30=_0x3a19c6[_0x42972b(0x1fe)][0x1];if(!_0x20b286||_0x126d30===undefined)throw CliErrors[_0x42972b(0x1f3)](_0x42972b(0x1e5),'Usage:\x20'+CLI_BIN_NAME+_0x42972b(0x1e0));if(ENUM_KEYS[_0x20b286]&&!ENUM_KEYS[_0x20b286][_0x42972b(0x1f4)](_0x126d30))throw CliErrors[_0x42972b(0x1f3)](_0x42972b(0x1ff)+_0x20b286+_0x42972b(0x1fc)+ENUM_KEYS[_0x20b286][_0x42972b(0x1e1)](',\x20'));if(_0x20b286===_0x42972b(0x1da))throw CliErrors[_0x42972b(0x1f3)](_0x42972b(0x1db));if(_0x20b286===_0x42972b(0x1e3)){const _0x2eba6b=Number(_0x126d30);if(isNaN(_0x2eba6b)||_0x2eba6b<=0x0)throw CliErrors[_0x42972b(0x1f3)](_0x42972b(0x1e2));}const _0x15e6c7=resolveWriteScope({'explicitGlobal':_0x3a19c6[_0x42972b(0x20b)](_0x42972b(0x1de)),'policy':_0x42972b(0x209)}),_0xf2083f=toScopeFlags(_0x15e6c7),_0x1d0183=readScopedConfig(_0xf2083f);if(!isTopLevelConfigKey(_0x20b286))throw CliErrors['validation'](_0x42972b(0x1ef)+_0x20b286+_0x42972b(0x1f2),_0x42972b(0x200)+getTopLevelConfigKeySummary());return _0x1d0183[_0x20b286]=_0x20b286===_0x42972b(0x1e3)?Number(_0x126d30):_0x126d30,console[_0x42972b(0x1d7)](_0x42972b(0x207)+_0x20b286+_0x42972b(0x1d9)+_0x126d30+'\x22'+(_0x15e6c7===_0x42972b(0x1de)?'\x20(global)':'')),writeScopedConfig(_0x1d0183,_0xf2083f),{'ok':!![]};}},deleteDef={'service':a14_0x3113ef(0x1f6),'command':a14_0x3113ef(0x1e4),'description':'Delete\x20a\x20config\x20value','risk':a14_0x3113ef(0x1e7),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'args':[{'name':a14_0x3113ef(0x1ed),'description':getConfigCommandKeyDescription(),'required':!![]}],'flags':[GLOBAL_FLAG],async 'execute'(_0x51e95c){const _0x438ddc=a14_0x3113ef,_0x519b56=_0x51e95c['args'][0x0];if(!_0x519b56)throw CliErrors[_0x438ddc(0x1f3)]('Missing\x20key\x20argument.',_0x438ddc(0x204)+CLI_BIN_NAME+_0x438ddc(0x20c));const _0x719e5d=resolveWriteScope({'explicitGlobal':_0x51e95c[_0x438ddc(0x20b)](_0x438ddc(0x1de)),'policy':_0x438ddc(0x209)}),_0x152b2f=toScopeFlags(_0x719e5d),_0x172eec=readScopedConfig(_0x152b2f);if(_0x172eec[_0x519b56]===undefined)throw CliErrors['validation'](_0x438ddc(0x1df)+_0x519b56+_0x438ddc(0x1ec));return delete _0x172eec[_0x519b56],console[_0x438ddc(0x1d7)](_0x438ddc(0x212)+_0x519b56+'`'+(_0x719e5d==='global'?'\x20(global)':'')),writeScopedConfig(_0x172eec,_0x152b2f),{'ok':!![]};}};export const configDefinitions=[listDef,getDef,setDef,deleteDef];
@@ -1 +1 @@
1
- function a15_0x40b8(){var _0x59d1fc=['317600fHYozx','379342rXgZkV','5045202ZWMxKa','3314620lrYxIo','2274464fWreMJ','3083760mneKuz','41959120HMjWTk','7toIKzu'];a15_0x40b8=function(){return _0x59d1fc;};return a15_0x40b8();}function a15_0x9148(_0x247902,_0x3fb8f1){_0x247902=_0x247902-0x64;var _0x40b880=a15_0x40b8();var _0x914846=_0x40b880[_0x247902];return _0x914846;}(function(_0x1965d9,_0x343b4e){var _0x347933=a15_0x9148,_0x3d350d=_0x1965d9();while(!![]){try{var _0x101cab=-parseInt(_0x347933(0x69))/0x1+-parseInt(_0x347933(0x6b))/0x2+-parseInt(_0x347933(0x65))/0x3+-parseInt(_0x347933(0x64))/0x4+parseInt(_0x347933(0x68))/0x5+-parseInt(_0x347933(0x6a))/0x6*(parseInt(_0x347933(0x67))/0x7)+parseInt(_0x347933(0x66))/0x8;if(_0x101cab===_0x343b4e)break;else _0x3d350d['push'](_0x3d350d['shift']());}catch(_0x5b29cd){_0x3d350d['push'](_0x3d350d['shift']());}}}(a15_0x40b8,0xcbb33));import{CLI_BIN_NAME}from'../../constant/cli.js';export{CLI_BIN_NAME};export{readScopedConfig,writeScopedConfig}from'../../context.js';export{resolveConfigScope as resolveWriteScope,TOP_LEVEL_CONFIG_KEYS as TOP_LEVEL_KEYS,CONFIG_ENUM_VALUES as ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isTopLevelConfigKey,toScopeFlags}from'../../commands/common/config-policy.js';
1
+ (function(_0x2905f5,_0x5adbeb){var _0x4202bd=a15_0x4386,_0x1a2156=_0x2905f5();while(!![]){try{var _0x443c44=parseInt(_0x4202bd(0x8d))/0x1+parseInt(_0x4202bd(0x92))/0x2*(-parseInt(_0x4202bd(0x8a))/0x3)+-parseInt(_0x4202bd(0x8e))/0x4+parseInt(_0x4202bd(0x93))/0x5*(-parseInt(_0x4202bd(0x90))/0x6)+parseInt(_0x4202bd(0x91))/0x7*(-parseInt(_0x4202bd(0x8f))/0x8)+parseInt(_0x4202bd(0x8b))/0x9+parseInt(_0x4202bd(0x8c))/0xa;if(_0x443c44===_0x5adbeb)break;else _0x1a2156['push'](_0x1a2156['shift']());}catch(_0x50d147){_0x1a2156['push'](_0x1a2156['shift']());}}}(a15_0x22f3,0x6755f));function a15_0x4386(_0x4c4588,_0x430efb){_0x4c4588=_0x4c4588-0x8a;var _0x22f38a=a15_0x22f3();var _0x438696=_0x22f38a[_0x4c4588];return _0x438696;}import{CLI_BIN_NAME}from'../../constant/cli.js';export{CLI_BIN_NAME};export{readScopedConfig,writeScopedConfig}from'../../context.js';function a15_0x22f3(){var _0x145f19=['1461123yRMutW','19786120xQuNxj','60073kAMULV','2840440rRPgoh','56RXEwNG','124482zRtwcr','46781AUrtoV','1211876xvJbcI','100fiYqPq','3iTgtZJ'];a15_0x22f3=function(){return _0x145f19;};return a15_0x22f3();}export{resolveConfigScope as resolveWriteScope,TOP_LEVEL_CONFIG_KEYS as TOP_LEVEL_KEYS,CONFIG_ENUM_VALUES as ENUM_KEYS,getConfigCommandKeyDescription,getTopLevelConfigKeyList,getTopLevelConfigKeySummary,isTopLevelConfigKey,toScopeFlags}from'../../commands/common/config-policy.js';