@lovrabet/lovrabet-cli 2.0.13-beta.2 → 2.0.13-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -0
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/mock-loader.js +1 -1
  6. package/lib/commands/app/remote-source.js +1 -1
  7. package/lib/commands/app/shared.js +1 -1
  8. package/lib/commands/artifact/index.js +1 -0
  9. package/lib/commands/auth/index.js +1 -1
  10. package/lib/commands/auth/prompt.js +1 -1
  11. package/lib/commands/bff/detail.js +1 -1
  12. package/lib/commands/bff/exec.js +1 -1
  13. package/lib/commands/bff/index.js +1 -1
  14. package/lib/commands/common/config-policy.js +1 -1
  15. package/lib/commands/common/constraints.js +1 -1
  16. package/lib/commands/common/flags.js +1 -1
  17. package/lib/commands/config/definitions.js +1 -1
  18. package/lib/commands/config/shared.js +1 -1
  19. package/lib/commands/data/index.js +1 -1
  20. package/lib/commands/dataset/detail.js +1 -1
  21. package/lib/commands/dataset/index.js +1 -1
  22. package/lib/commands/dataset/list.js +1 -1
  23. package/lib/commands/dataset/sdk-doc.js +1 -0
  24. package/lib/commands/doctor.js +1 -1
  25. package/lib/commands/init.js +1 -1
  26. package/lib/commands/kb/index.js +1 -1
  27. package/lib/commands/logs/index.js +1 -1
  28. package/lib/commands/personal-bff/index.js +1 -0
  29. package/lib/commands/registry.js +1 -1
  30. package/lib/commands/schema.js +1 -1
  31. package/lib/commands/skill/index.js +1 -1
  32. package/lib/commands/sql/detail.js +1 -1
  33. package/lib/commands/sql/exec.js +1 -1
  34. package/lib/commands/sql/index.js +1 -1
  35. package/lib/commands/update.js +1 -1
  36. package/lib/config/schema.js +1 -1
  37. package/lib/constant/auth-mode.js +1 -1
  38. package/lib/constant/cli.js +1 -1
  39. package/lib/constant/defaults.js +1 -1
  40. package/lib/constant/distribution.js +1 -1
  41. package/lib/constant/domain.js +1 -1
  42. package/lib/constant/env.js +1 -1
  43. package/lib/constant/output.js +1 -1
  44. package/lib/constant/product.js +1 -1
  45. package/lib/constant/risk.js +1 -1
  46. package/lib/constant/url.js +1 -1
  47. package/lib/context.js +1 -1
  48. package/lib/core/api-client.js +1 -1
  49. package/lib/core/db-resolver.js +1 -1
  50. package/lib/core/sdk-client.js +1 -1
  51. package/lib/errors.js +1 -1
  52. package/lib/framework/build-all-flags.js +1 -1
  53. package/lib/framework/dryrun.js +1 -1
  54. package/lib/framework/flags.js +1 -1
  55. package/lib/framework/help.js +1 -1
  56. package/lib/framework/index.js +1 -1
  57. package/lib/framework/output.js +1 -1
  58. package/lib/framework/preparse.js +1 -1
  59. package/lib/framework/response.js +1 -1
  60. package/lib/framework/runner-confirmation.js +1 -1
  61. package/lib/framework/runner-error.js +1 -1
  62. package/lib/framework/runner.js +1 -1
  63. package/lib/framework/schema-export.js +1 -1
  64. package/lib/framework/types.js +1 -1
  65. package/lib/help.js +1 -1
  66. package/lib/skills/npx-skills-add.js +1 -1
  67. package/lib/skills/runtime-skill-sync.js +1 -1
  68. package/lib/utils/apply-jq-filter.js +1 -1
  69. package/lib/utils/logger.js +1 -1
  70. package/lib/utils/params.js +1 -1
  71. package/lib/utils/platform.js +1 -1
  72. package/lib/utils/version.js +1 -1
  73. package/lib/utils/write-cli-side-channel.js +1 -1
  74. package/package.json +3 -3
@@ -1 +1 @@
1
- (function(_0x334142,_0x3465e2){const _0x215b6b=a45_0x2985,_0x3e650a=_0x334142();while(!![]){try{const _0x53ca15=-parseInt(_0x215b6b(0xe8))/0x1+parseInt(_0x215b6b(0xf0))/0x2*(parseInt(_0x215b6b(0xe4))/0x3)+-parseInt(_0x215b6b(0xf8))/0x4*(parseInt(_0x215b6b(0xf5))/0x5)+-parseInt(_0x215b6b(0xef))/0x6+parseInt(_0x215b6b(0xe3))/0x7+-parseInt(_0x215b6b(0xeb))/0x8*(-parseInt(_0x215b6b(0xf2))/0x9)+parseInt(_0x215b6b(0xfa))/0xa*(parseInt(_0x215b6b(0xee))/0xb);if(_0x53ca15===_0x3465e2)break;else _0x3e650a['push'](_0x3e650a['shift']());}catch(_0x81ce26){_0x3e650a['push'](_0x3e650a['shift']());}}}(a45_0x38fa,0xf1348));import{createClient}from'@lovrabet/sdk';import{PRODUCT_CONFIG}from'../constant/product.js';import{parseBatchCreateItemsFromParams}from'../utils/params.js';let _client;export function initSdkClient(_0x1ecbc1){const _0x35fdde=a45_0x2985;_client=createClient({'appCode':_0x1ecbc1[_0x35fdde(0xf7)],'env':_0x1ecbc1[_0x35fdde(0xfd)],'authMode':_0x1ecbc1[_0x35fdde(0xff)],..._0x1ecbc1[_0x35fdde(0xe9)]?{'accessKey':_0x1ecbc1['accessKey']}:{},'options':{'timeout':0x7530,'headers':{'X-Invoke-Source':PRODUCT_CONFIG[_0x35fdde(0xf1)]}}});}function ensureClient(){const _0x259806=a45_0x2985;if(!_client)throw new Error(_0x259806(0xfb));return _client;}function a45_0x2985(_0x5cee9c,_0x46b373){_0x5cee9c=_0x5cee9c-0xe3;const _0x38fa04=a45_0x38fa();let _0x298513=_0x38fa04[_0x5cee9c];return _0x298513;}function a45_0x38fa(){const _0xa748b6=['batchCreate','appCode','4EBmCWU','models','10BJWngf','SDK\x20client\x20not\x20initialized.\x20Call\x20initSdkClient()\x20first.','getOne','env','bff','authMode','4524541odbBTs','72300cuwoFZ','update\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123,\x22name\x22:\x22new\x22}\x27','sql','delete\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27','10343nysrsY','accessKey','Available:\x20filter,\x20getOne,\x20create,\x20batchCreate,\x20update,\x20delete,\x20aggregate.','129352WeMBFP','\x22.\x20','isArray','18998793uPpcmU','10336074BOFecq','66ZRetBJ','invokeSource','45PCwbBF','SDK\x20model\x20does\x20not\x20support\x20operation\x20\x22','update','2643365nMpVvp'];a45_0x38fa=function(){return _0xa748b6;};return a45_0x38fa();}export async function executeData(_0xffcd5e,_0x83cedd,_0x18472f){const _0x53386b=a45_0x2985,_0x57fca8=ensureClient(),_0xc25faf='dataset_'+_0xffcd5e,_0x3eeb=_0x57fca8[_0x53386b(0xf9)][_0xc25faf];if(!_0x3eeb||typeof _0x3eeb[_0x83cedd]!=='function')throw new Error(_0x53386b(0xf3)+_0x83cedd+_0x53386b(0xec)+_0x53386b(0xea));if(_0x83cedd===_0x53386b(0xf6))return _0x3eeb[_0x53386b(0xf6)](parseBatchCreateItemsFromParams(_0x18472f));const _0x35c03f=_0x18472f!==undefined&&_0x18472f!==null&&!Array[_0x53386b(0xed)](_0x18472f)?_0x18472f:{};switch(_0x83cedd){case _0x53386b(0xfc):{const _0x4bc441=_0x35c03f['id'];if(_0x4bc441===undefined||_0x4bc441===null)throw new Error('getOne\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27');return _0x3eeb[_0x53386b(0xfc)](_0x4bc441);}case _0x53386b(0xf4):{const {id:_0x128da8,..._0x400dfb}=_0x35c03f;if(_0x128da8===undefined||_0x128da8===null)throw new Error(_0x53386b(0xe5));return _0x3eeb['update'](_0x128da8,_0x400dfb);}case'delete':{const _0x35d114=_0x35c03f['id'];if(_0x35d114===undefined||_0x35d114===null)throw new Error(_0x53386b(0xe7));return _0x3eeb['delete'](_0x35d114);}default:return _0x3eeb[_0x83cedd](_0x35c03f);}}export async function executeSdkSql(_0x38e7ad,_0x2da6f8){const _0x114565=a45_0x2985,_0x5a114f=ensureClient();return _0x5a114f[_0x114565(0xe6)]['execute']({'sqlCode':_0x38e7ad,'params':_0x2da6f8});}export async function executeSdkBff(_0x2152d2,_0x268f39){const _0x16c4d7=a45_0x2985,_0x26dc91=ensureClient();return _0x26dc91[_0x16c4d7(0xfe)]['execute']({'scriptName':_0x2152d2,'params':_0x268f39});}
1
+ function a49_0x54f7(){const _0x1b6db6=['154UJhaVC','accessKey','delete','12114870jDuvjz','2226264vWIqSD','sql','function','update\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123,\x22name\x22:\x22new\x22}\x27','getOne','36389041aeAosR','execute','3ZhPrwA','isArray','batchCreate','11wQhxRq','update','6570868pgGfVc','12gbAMTU','dataset_','bff','36CMrarz','41245oDouGK','SDK\x20model\x20does\x20not\x20support\x20operation\x20\x22','\x22.\x20','5517386iwAdng','804NGOxwf','20681FGEjWN','env','models','Available:\x20filter,\x20getOne,\x20create,\x20batchCreate,\x20update,\x20delete,\x20aggregate.'];a49_0x54f7=function(){return _0x1b6db6;};return a49_0x54f7();}(function(_0x13cfb8,_0x1da6a0){const _0x42fe12=a49_0x1ff4,_0x89eea9=_0x13cfb8();while(!![]){try{const _0x1c5f5f=parseInt(_0x42fe12(0x1c6))/0x1*(parseInt(_0x42fe12(0x1ca))/0x2)+-parseInt(_0x42fe12(0x1d5))/0x3*(-parseInt(_0x42fe12(0x1da))/0x4)+parseInt(_0x42fe12(0x1c1))/0x5*(-parseInt(_0x42fe12(0x1c5))/0x6)+-parseInt(_0x42fe12(0x1c4))/0x7+-parseInt(_0x42fe12(0x1ce))/0x8*(-parseInt(_0x42fe12(0x1c0))/0x9)+-parseInt(_0x42fe12(0x1cd))/0xa*(-parseInt(_0x42fe12(0x1d8))/0xb)+-parseInt(_0x42fe12(0x1db))/0xc*(parseInt(_0x42fe12(0x1d3))/0xd);if(_0x1c5f5f===_0x1da6a0)break;else _0x89eea9['push'](_0x89eea9['shift']());}catch(_0x334c9b){_0x89eea9['push'](_0x89eea9['shift']());}}}(a49_0x54f7,0xd3aec));import{createClient}from'@lovrabet/sdk';import{PRODUCT_CONFIG}from'../constant/product.js';import{parseBatchCreateItemsFromParams}from'../utils/params.js';let _client;export function initSdkClient(_0x450718){const _0x1884a7=a49_0x1ff4;_client=createClient({'appCode':_0x450718['appCode'],'env':_0x450718[_0x1884a7(0x1c7)],'authMode':_0x450718['authMode'],..._0x450718['accessKey']?{'accessKey':_0x450718[_0x1884a7(0x1cb)]}:{},'options':{'timeout':0x7530,'headers':{'X-Invoke-Source':PRODUCT_CONFIG['invokeSource']}}});}function ensureClient(){if(!_client)throw new Error('SDK\x20client\x20not\x20initialized.\x20Call\x20initSdkClient()\x20first.');return _client;}function a49_0x1ff4(_0x455612,_0x12f939){_0x455612=_0x455612-0x1be;const _0x54f7b9=a49_0x54f7();let _0x1ff4b8=_0x54f7b9[_0x455612];return _0x1ff4b8;}export async function executeData(_0x8e1a7a,_0x4617b3,_0x4cccc0){const _0x370e5f=a49_0x1ff4,_0x3ee683=ensureClient(),_0xa42836=_0x370e5f(0x1be)+_0x8e1a7a,_0x479f36=_0x3ee683[_0x370e5f(0x1c8)][_0xa42836];if(!_0x479f36||typeof _0x479f36[_0x4617b3]!==_0x370e5f(0x1d0))throw new Error(_0x370e5f(0x1c2)+_0x4617b3+_0x370e5f(0x1c3)+_0x370e5f(0x1c9));if(_0x4617b3===_0x370e5f(0x1d7))return _0x479f36[_0x370e5f(0x1d7)](parseBatchCreateItemsFromParams(_0x4cccc0));const _0x2c0ea4=_0x4cccc0!==undefined&&_0x4cccc0!==null&&!Array[_0x370e5f(0x1d6)](_0x4cccc0)?_0x4cccc0:{};switch(_0x4617b3){case _0x370e5f(0x1d2):{const _0x22f9e0=_0x2c0ea4['id'];if(_0x22f9e0===undefined||_0x22f9e0===null)throw new Error('getOne\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27');return _0x479f36['getOne'](_0x22f9e0);}case _0x370e5f(0x1d9):{const {id:_0x405b45,..._0x4adc7a}=_0x2c0ea4;if(_0x405b45===undefined||_0x405b45===null)throw new Error(_0x370e5f(0x1d1));return _0x479f36[_0x370e5f(0x1d9)](_0x405b45,_0x4adc7a);}case'delete':{const _0x11d696=_0x2c0ea4['id'];if(_0x11d696===undefined||_0x11d696===null)throw new Error('delete\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27');return _0x479f36[_0x370e5f(0x1cc)](_0x11d696);}default:return _0x479f36[_0x4617b3](_0x2c0ea4);}}export async function executeSdkSql(_0x4d2ea6,_0x24b4be){const _0xbd0fa2=a49_0x1ff4,_0x27c8cd=ensureClient();return _0x27c8cd[_0xbd0fa2(0x1cf)][_0xbd0fa2(0x1d4)]({'sqlCode':_0x4d2ea6,'params':_0x24b4be});}export async function executeSdkBff(_0x593260,_0x30d98c){const _0x4f4576=a49_0x1ff4,_0x3b531d=ensureClient();return _0x3b531d[_0x4f4576(0x1bf)][_0x4f4576(0x1d4)]({'scriptName':_0x593260,'params':_0x30d98c});}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a46_0x5db370=a46_0x5938;(function(_0x3e57bb,_0x1150f7){const _0x25af7b=a46_0x5938,_0xc1542e=_0x3e57bb();while(!![]){try{const _0x4b4ed9=parseInt(_0x25af7b(0xa5))/0x1*(-parseInt(_0x25af7b(0x9c))/0x2)+-parseInt(_0x25af7b(0xa2))/0x3+parseInt(_0x25af7b(0x9f))/0x4+-parseInt(_0x25af7b(0x9d))/0x5*(parseInt(_0x25af7b(0xa4))/0x6)+-parseInt(_0x25af7b(0xa1))/0x7+parseInt(_0x25af7b(0xa3))/0x8+parseInt(_0x25af7b(0xa6))/0x9*(parseInt(_0x25af7b(0x9b))/0xa);if(_0x4b4ed9===_0x1150f7)break;else _0xc1542e['push'](_0xc1542e['shift']());}catch(_0x1f953a){_0xc1542e['push'](_0xc1542e['shift']());}}}(a46_0xabe1,0xba2c5));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG}from'./constant/product.js';function a46_0xabe1(){const _0xe5c6a7=['4106552heOcOt','445686rBLYhH','3mAaRMg','25482636scNCpd','newConfigFileName','Run\x20this\x20command\x20inside\x20a\x20directory\x20with\x20a\x20','\x20file.','10jMRbRZ','782682ubAgSw','30joLJaA','Set\x20appcode\x20via\x20--appcode\x20or\x20','794620NpeYSy','\x20auth\x20login`.','3324741voZyKi','2058423NJHeGB'];a46_0xabe1=function(){return _0xe5c6a7;};return a46_0xabe1();}export{CliError};function a46_0x5938(_0xfe820d,_0x14de80){_0xfe820d=_0xfe820d-0x98;const _0xabe1db=a46_0xabe1();let _0x5938fe=_0xabe1db[_0xfe820d];return _0x5938fe;}export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':'Configure\x20accessKey\x20in\x20'+PRODUCT_CONFIG[a46_0x5db370(0x98)]+'\x20or\x20run\x20`'+CLI_BIN_NAME+a46_0x5db370(0xa0),'configMissingHint':a46_0x5db370(0x9e)+PRODUCT_CONFIG[a46_0x5db370(0x98)]+'.','notInProjectHint':a46_0x5db370(0x99)+PRODUCT_CONFIG[a46_0x5db370(0x98)]+a46_0x5db370(0x9a)});
1
+ const a50_0x33ccce=a50_0x2a6d;(function(_0x207a65,_0x45037a){const _0x51380f=a50_0x2a6d,_0x5c0e0e=_0x207a65();while(!![]){try{const _0x24ab49=parseInt(_0x51380f(0x148))/0x1+-parseInt(_0x51380f(0x146))/0x2+parseInt(_0x51380f(0x145))/0x3*(parseInt(_0x51380f(0x149))/0x4)+-parseInt(_0x51380f(0x14b))/0x5+-parseInt(_0x51380f(0x151))/0x6*(-parseInt(_0x51380f(0x152))/0x7)+-parseInt(_0x51380f(0x147))/0x8+parseInt(_0x51380f(0x14d))/0x9;if(_0x24ab49===_0x45037a)break;else _0x5c0e0e['push'](_0x5c0e0e['shift']());}catch(_0x50d1c8){_0x5c0e0e['push'](_0x5c0e0e['shift']());}}}(a50_0x5329,0x92e72));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a50_0x2a6d(_0x3ccbe5,_0x891a03){_0x3ccbe5=_0x3ccbe5-0x145;const _0x5329f3=a50_0x5329();let _0x2a6d38=_0x5329f3[_0x3ccbe5];return _0x2a6d38;}import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG}from'./constant/product.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a50_0x33ccce(0x14e)+PRODUCT_CONFIG[a50_0x33ccce(0x14c)]+'\x20or\x20run\x20`'+CLI_BIN_NAME+a50_0x33ccce(0x150),'configMissingHint':a50_0x33ccce(0x14f)+PRODUCT_CONFIG['newConfigFileName']+'.','notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20directory\x20with\x20a\x20'+PRODUCT_CONFIG[a50_0x33ccce(0x14c)]+a50_0x33ccce(0x14a)});function a50_0x5329(){const _0x5eb14b=['\x20auth\x20login`.','48jKmwnN','382466osFuEB','676254TEcXMy','1908822yjcCPG','1275208yhhwBL','982877FklVAh','4NtTXmJ','\x20file.','2173780CFurHT','newConfigFileName','4543947IjYNTF','Configure\x20accessKey\x20in\x20','Set\x20appcode\x20via\x20--appcode\x20or\x20'];a50_0x5329=function(){return _0x5eb14b;};return a50_0x5329();}
@@ -1 +1 @@
1
- (function(_0x262a80,_0xbbadca){var _0x7c3de3=a47_0x2b89,_0x1e2d00=_0x262a80();while(!![]){try{var _0x3e42df=parseInt(_0x7c3de3(0x159))/0x1*(parseInt(_0x7c3de3(0x15c))/0x2)+-parseInt(_0x7c3de3(0x156))/0x3*(parseInt(_0x7c3de3(0x15b))/0x4)+-parseInt(_0x7c3de3(0x15a))/0x5+-parseInt(_0x7c3de3(0x151))/0x6*(parseInt(_0x7c3de3(0x158))/0x7)+-parseInt(_0x7c3de3(0x152))/0x8+-parseInt(_0x7c3de3(0x154))/0x9*(parseInt(_0x7c3de3(0x157))/0xa)+-parseInt(_0x7c3de3(0x155))/0xb*(-parseInt(_0x7c3de3(0x153))/0xc);if(_0x3e42df===_0xbbadca)break;else _0x1e2d00['push'](_0x1e2d00['shift']());}catch(_0x285bf9){_0x1e2d00['push'](_0x1e2d00['shift']());}}}(a47_0x2880,0xad7c3));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a47_0x2b89(_0x3f85c8,_0x3357da){_0x3f85c8=_0x3f85c8-0x151;var _0x2880fe=a47_0x2880();var _0x2b898e=_0x2880fe[_0x3f85c8];return _0x2b898e;}function a47_0x2880(){var _0x30b8c0=['72PSAiRa','27432vcYRvn','5355691cfzXZf','201XfNkwk','4130vkVuyP','31052qyzBlo','19KBuHOz','2102375kWWvqj','22228LOGreZ','90184bHbevV','282CvvvJH','6458632YGPAVc'];a47_0x2880=function(){return _0x30b8c0;};return a47_0x2880();}import{buildAllFlags as a47_0x35de69}from'@lovrabet/cli-framework';export function buildAllFlags(_0x1b8596){return a47_0x35de69(_0x1b8596,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ (function(_0x29b8fd,_0x5643d4){var _0x1a539a=a51_0x17ab,_0x10f4e0=_0x29b8fd();while(!![]){try{var _0x287195=-parseInt(_0x1a539a(0xcf))/0x1+parseInt(_0x1a539a(0xca))/0x2*(-parseInt(_0x1a539a(0xcd))/0x3)+-parseInt(_0x1a539a(0xc8))/0x4*(parseInt(_0x1a539a(0xc9))/0x5)+parseInt(_0x1a539a(0xd0))/0x6+parseInt(_0x1a539a(0xce))/0x7+-parseInt(_0x1a539a(0xcc))/0x8+-parseInt(_0x1a539a(0xd1))/0x9*(-parseInt(_0x1a539a(0xcb))/0xa);if(_0x287195===_0x5643d4)break;else _0x10f4e0['push'](_0x10f4e0['shift']());}catch(_0x2b7cb3){_0x10f4e0['push'](_0x10f4e0['shift']());}}}(a51_0x5e5e,0xb0dfa));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a51_0x22680f}from'@lovrabet/cli-framework';function a51_0x5e5e(){var _0x282d41=['4371456HFYTzb','15266349QKlYvH','16YSRyBZ','62240xBenDw','3500hXLMhN','10vAfCEK','7137200TDfDIG','1821ErqtZs','9853865dqzdzF','1103866whoahp'];a51_0x5e5e=function(){return _0x282d41;};return a51_0x5e5e();}function a51_0x17ab(_0x56b124,_0x41f0b9){_0x56b124=_0x56b124-0xc8;var _0x5e5e72=a51_0x5e5e();var _0x17ab36=_0x5e5e72[_0x56b124];return _0x17ab36;}export function buildAllFlags(_0x35773e){return a51_0x22680f(_0x35773e,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- (function(_0xbe85a3,_0x3de6b1){const _0x4c73d6=a48_0x5a1d,_0x2fec6a=_0xbe85a3();while(!![]){try{const _0x3effb6=-parseInt(_0x4c73d6(0x10b))/0x1+-parseInt(_0x4c73d6(0x111))/0x2*(parseInt(_0x4c73d6(0x110))/0x3)+parseInt(_0x4c73d6(0x108))/0x4+-parseInt(_0x4c73d6(0x10f))/0x5+-parseInt(_0x4c73d6(0x109))/0x6*(parseInt(_0x4c73d6(0x10d))/0x7)+-parseInt(_0x4c73d6(0x10c))/0x8+parseInt(_0x4c73d6(0x10e))/0x9;if(_0x3effb6===_0x3de6b1)break;else _0x2fec6a['push'](_0x2fec6a['shift']());}catch(_0x33055b){_0x2fec6a['push'](_0x2fec6a['shift']());}}}(a48_0x23c7,0xb0da3));export function dryRun(_0x1320d9,_0x139bde){const _0x1ffebe={'method':_0x1320d9,'url':_0x139bde},_0x5667c3={'body'(_0x9019fd){return _0x1ffebe['body']=_0x9019fd,_0x5667c3;},'description'(_0x1c07b){const _0x17a85f=a48_0x5a1d;return _0x1ffebe[_0x17a85f(0x10a)]=_0x1c07b,_0x5667c3;},'build'(){return{..._0x1ffebe};}};return _0x5667c3;}function a48_0x5a1d(_0x89417d,_0x2a6e19){_0x89417d=_0x89417d-0x108;const _0x23c79e=a48_0x23c7();let _0x5a1d13=_0x23c79e[_0x89417d];return _0x5a1d13;}function a48_0x23c7(){const _0x3adf1d=['763452ledKOj','description','569923KKiHaq','3194616UzVCaO','14CQSLIs','14529753OzDtCG','4385110nUWvnW','90eybxFZ','4122VjfRsu','5090224YwoqNN'];a48_0x23c7=function(){return _0x3adf1d;};return a48_0x23c7();}
1
+ (function(_0x548f17,_0x5051d5){const _0x26845a=a52_0x2ff1,_0x1bdf9c=_0x548f17();while(!![]){try{const _0x5d873f=-parseInt(_0x26845a(0x76))/0x1+parseInt(_0x26845a(0x7b))/0x2*(-parseInt(_0x26845a(0x75))/0x3)+parseInt(_0x26845a(0x78))/0x4*(-parseInt(_0x26845a(0x74))/0x5)+-parseInt(_0x26845a(0x70))/0x6+-parseInt(_0x26845a(0x7c))/0x7*(parseInt(_0x26845a(0x73))/0x8)+parseInt(_0x26845a(0x79))/0x9*(-parseInt(_0x26845a(0x7a))/0xa)+-parseInt(_0x26845a(0x71))/0xb*(-parseInt(_0x26845a(0x7d))/0xc);if(_0x5d873f===_0x5051d5)break;else _0x1bdf9c['push'](_0x1bdf9c['shift']());}catch(_0x4748c3){_0x1bdf9c['push'](_0x1bdf9c['shift']());}}}(a52_0x467d,0x293ba));function a52_0x467d(){const _0x405221=['3oSjuLQ','319521DyQYac','description','72KlvxUM','5715lbRoVe','3650bdDszi','260410BoQIEl','14ZaXoUI','372YcMBgi','144216MZjyEP','472175uxsDOW','body','950408ZVMMsj','60735VPzahM'];a52_0x467d=function(){return _0x405221;};return a52_0x467d();}function a52_0x2ff1(_0x4bb612,_0x33892f){_0x4bb612=_0x4bb612-0x70;const _0x467d00=a52_0x467d();let _0x2ff12f=_0x467d00[_0x4bb612];return _0x2ff12f;}export function dryRun(_0xebbd56,_0x3618d4){const _0x557a08={'method':_0xebbd56,'url':_0x3618d4},_0x202e64={'body'(_0x27f491){const _0x2de5a1=a52_0x2ff1;return _0x557a08[_0x2de5a1(0x72)]=_0x27f491,_0x202e64;},'description'(_0xa41ef2){const _0x188bcd=a52_0x2ff1;return _0x557a08[_0x188bcd(0x77)]=_0xa41ef2,_0x202e64;},'build'(){return{..._0x557a08};}};return _0x202e64;}
@@ -1 +1 @@
1
- function a49_0x1c3b(_0x56277b,_0x13e6a5){_0x56277b=_0x56277b-0xb3;const _0x1d5e18=a49_0x1d5e();let _0x1c3b53=_0x1d5e18[_0x56277b];return _0x1c3b53;}function a49_0x1d5e(){const _0x4a3728=['39954rmndDi','2192AHXDFj','1258236IUncsE','11844WmkDpz','validateFlags','7954430vPiqxJ','parseFlags','1181229IKjhVu','42umeTGQ','1438520tuaJxw','1tnkezH','54235JHiiCa'];a49_0x1d5e=function(){return _0x4a3728;};return a49_0x1d5e();}const a49_0x4763de=a49_0x1c3b;(function(_0x12e903,_0x308bf5){const _0x5dd2fb=a49_0x1c3b,_0xfc04bf=_0x12e903();while(!![]){try{const _0x30a544=parseInt(_0x5dd2fb(0xb7))/0x1*(-parseInt(_0x5dd2fb(0xb9))/0x2)+parseInt(_0x5dd2fb(0xbb))/0x3+parseInt(_0x5dd2fb(0xb6))/0x4+-parseInt(_0x5dd2fb(0xb8))/0x5*(-parseInt(_0x5dd2fb(0xb5))/0x6)+-parseInt(_0x5dd2fb(0xb4))/0x7+parseInt(_0x5dd2fb(0xba))/0x8*(parseInt(_0x5dd2fb(0xbc))/0x9)+-parseInt(_0x5dd2fb(0xbe))/0xa;if(_0x30a544===_0x308bf5)break;else _0xfc04bf['push'](_0xfc04bf['shift']());}catch(_0x1f9162){_0xfc04bf['push'](_0xfc04bf['shift']());}}}(a49_0x1d5e,0x387dc));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a49_0x4763de(0xb3)];export const validateFlags=helpers[a49_0x4763de(0xbd)];
1
+ function a53_0x44d3(){const _0x1fa1a5=['validateFlags','689157VlwLzQ','928GuznXg','16688hnBVjB','869MeGdXs','28791keQtzC','5vJdBuQ','48ofPwrq','6YAXLDF','17168508AHzeEd','18920GpUqoy','2886942rbWslr','674964oIwmDm'];a53_0x44d3=function(){return _0x1fa1a5;};return a53_0x44d3();}const a53_0x421279=a53_0x530d;(function(_0x467a89,_0x1ff90e){const _0x344194=a53_0x530d,_0xd8fbed=_0x467a89();while(!![]){try{const _0x552d8d=parseInt(_0x344194(0x167))/0x1*(-parseInt(_0x344194(0x16b))/0x2)+parseInt(_0x344194(0x16c))/0x3*(-parseInt(_0x344194(0x170))/0x4)+-parseInt(_0x344194(0x16a))/0x5*(parseInt(_0x344194(0x16f))/0x6)+-parseInt(_0x344194(0x172))/0x7+-parseInt(_0x344194(0x166))/0x8*(-parseInt(_0x344194(0x169))/0x9)+-parseInt(_0x344194(0x16e))/0xa*(parseInt(_0x344194(0x168))/0xb)+parseInt(_0x344194(0x16d))/0xc;if(_0x552d8d===_0x1ff90e)break;else _0xd8fbed['push'](_0xd8fbed['shift']());}catch(_0xad0252){_0xd8fbed['push'](_0xd8fbed['shift']());}}}(a53_0x44d3,0x51b83));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];function a53_0x530d(_0x180190,_0x4daacc){_0x180190=_0x180190-0x166;const _0x44d392=a53_0x44d3();let _0x530d3e=_0x44d392[_0x180190];return _0x530d3e;}export const validateFlags=helpers[a53_0x421279(0x171)];
@@ -1 +1 @@
1
- const a50_0x433c41=a50_0x1f60;function a50_0x1f60(_0x41a703,_0x428154){_0x41a703=_0x41a703-0xc3;const _0x243aeb=a50_0x243a();let _0x1f6089=_0x243aeb[_0x41a703];return _0x1f6089;}(function(_0xabd467,_0x28aec7){const _0x4a31d6=a50_0x1f60,_0x287753=_0xabd467();while(!![]){try{const _0x31cb0d=-parseInt(_0x4a31d6(0xc9))/0x1+parseInt(_0x4a31d6(0xca))/0x2+parseInt(_0x4a31d6(0xcb))/0x3*(parseInt(_0x4a31d6(0xc5))/0x4)+parseInt(_0x4a31d6(0xcc))/0x5*(parseInt(_0x4a31d6(0xcd))/0x6)+parseInt(_0x4a31d6(0xc6))/0x7+-parseInt(_0x4a31d6(0xc4))/0x8+-parseInt(_0x4a31d6(0xd1))/0x9*(parseInt(_0x4a31d6(0xd0))/0xa);if(_0x31cb0d===_0x28aec7)break;else _0x287753['push'](_0x287753['shift']());}catch(_0x62693f){_0x287753['push'](_0x287753['shift']());}}}(a50_0x243a,0x70561));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a50_0x243a(){const _0x3ef862=['222natzBD','newConfigFileName','generateServiceHelp','13670OKYEUn','2214qMdajZ','get','812440hTTKXx','4GqdUal','4447317FYmbmB','generateFullHelp','\x20or\x20--appcode).','426788qTYihW','1017680GeYqby','539196QmjAWn','115sRxmwd'];a50_0x243a=function(){return _0x3ef862;};return a50_0x243a();}import{PRODUCT_CONFIG}from'../constant/product.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x4fe923=>serviceGroups[a50_0x433c41(0xc3)](_0x4fe923),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20'+PRODUCT_CONFIG[a50_0x433c41(0xce)]+a50_0x433c41(0xc8)});export function generateCommandHelp(_0x2edc1e){return generators['generateCommandHelp'](_0x2edc1e);}export const generateServiceHelp=generators[a50_0x433c41(0xcf)];export const generateFullHelp=generators[a50_0x433c41(0xc7)];
1
+ const a54_0x484e80=a54_0xeebf;(function(_0x5f4fbe,_0x2efbcc){const _0x2d4431=a54_0xeebf,_0xe2fdbd=_0x5f4fbe();while(!![]){try{const _0x5e8172=parseInt(_0x2d4431(0xfd))/0x1+-parseInt(_0x2d4431(0xfb))/0x2+parseInt(_0x2d4431(0xf3))/0x3+parseInt(_0x2d4431(0xf9))/0x4+parseInt(_0x2d4431(0xfc))/0x5+-parseInt(_0x2d4431(0xfe))/0x6+-parseInt(_0x2d4431(0xf6))/0x7*(-parseInt(_0x2d4431(0xf2))/0x8);if(_0x5e8172===_0x2efbcc)break;else _0xe2fdbd['push'](_0xe2fdbd['shift']());}catch(_0x26ce3e){_0xe2fdbd['push'](_0xe2fdbd['shift']());}}}(a54_0x4949,0x57569));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a54_0x4949(){const _0x3b7d45=['Requires\x20appcode\x20(set\x20via\x20','1962032lKmCyN','1014927EfjfJd','get','\x20or\x20--appcode).','7CyWGxw','newConfigFileName','generateFullHelp','195276PXaIJz','generateServiceHelp','818888GcYwFR','3571765dTbBbQ','41183ETVJTQ','3724422JdnfEv'];a54_0x4949=function(){return _0x3b7d45;};return a54_0x4949();}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x2a302a=>serviceGroups[a54_0x484e80(0xf4)](_0x2a302a),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a54_0x484e80(0xf1)+PRODUCT_CONFIG[a54_0x484e80(0xf7)]+a54_0x484e80(0xf5)});export function generateCommandHelp(_0x453528){return generators['generateCommandHelp'](_0x453528);}function a54_0xeebf(_0x10d9db,_0xa597e1){_0x10d9db=_0x10d9db-0xf1;const _0x494959=a54_0x4949();let _0xeebfee=_0x494959[_0x10d9db];return _0xeebfee;}export const generateServiceHelp=generators[a54_0x484e80(0xfa)];export const generateFullHelp=generators[a54_0x484e80(0xf8)];
@@ -1 +1 @@
1
- (function(_0x2fd1cb,_0xfa1839){var _0x22b7dc=a51_0x4ca4,_0x30bc31=_0x2fd1cb();while(!![]){try{var _0x1d405f=parseInt(_0x22b7dc(0x10d))/0x1*(parseInt(_0x22b7dc(0x109))/0x2)+-parseInt(_0x22b7dc(0x111))/0x3+parseInt(_0x22b7dc(0x108))/0x4+-parseInt(_0x22b7dc(0x10e))/0x5+parseInt(_0x22b7dc(0x10f))/0x6*(parseInt(_0x22b7dc(0x10b))/0x7)+parseInt(_0x22b7dc(0x10a))/0x8*(parseInt(_0x22b7dc(0x10c))/0x9)+parseInt(_0x22b7dc(0x107))/0xa*(-parseInt(_0x22b7dc(0x110))/0xb);if(_0x1d405f===_0xfa1839)break;else _0x30bc31['push'](_0x30bc31['shift']());}catch(_0x3ce66a){_0x30bc31['push'](_0x30bc31['shift']());}}}(a51_0x146e,0x423ef));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a51_0x4ca4(_0x267096,_0x3f8cb0){_0x267096=_0x267096-0x107;var _0x146e2a=a51_0x146e();var _0x4ca45f=_0x146e2a[_0x267096];return _0x4ca45f;}export{formatOutput}from'../framework/output.js';function a51_0x146e(){var _0x32e7c9=['9LxSCbu','178043uTvASI','481385oqgGfF','84wzpSIH','6565031ZCZSvY','1308018ScmYEP','10ruDfYq','1973076RQTbuN','2YWKiyR','2540504kPJddD','205786taUBuP'];a51_0x146e=function(){return _0x32e7c9;};return a51_0x146e();}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
1
+ (function(_0x3bd25b,_0x1df476){var _0x47ccc1=a55_0x43a8,_0x2a37f7=_0x3bd25b();while(!![]){try{var _0x3bd1ad=-parseInt(_0x47ccc1(0x1e5))/0x1+parseInt(_0x47ccc1(0x1ec))/0x2+-parseInt(_0x47ccc1(0x1ea))/0x3+-parseInt(_0x47ccc1(0x1e4))/0x4*(parseInt(_0x47ccc1(0x1eb))/0x5)+parseInt(_0x47ccc1(0x1e7))/0x6+-parseInt(_0x47ccc1(0x1e8))/0x7*(parseInt(_0x47ccc1(0x1e6))/0x8)+parseInt(_0x47ccc1(0x1e9))/0x9;if(_0x3bd1ad===_0x1df476)break;else _0x2a37f7['push'](_0x2a37f7['shift']());}catch(_0xff7a23){_0x2a37f7['push'](_0x2a37f7['shift']());}}}(a55_0x2205,0x613f3));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a55_0x43a8(_0x41855f,_0x3eed0e){_0x41855f=_0x41855f-0x1e4;var _0x22057c=a55_0x2205();var _0x43a849=_0x22057c[_0x41855f];return _0x43a849;}function a55_0x2205(){var _0x39e71a=['18467019qyPrxT','897735aOQkFl','15QGhcKQ','994422uNPVBY','1061792pKyHdb','762227quXqUg','1675768vCzEjV','755874CHRXMs','14nBmaXJ'];a55_0x2205=function(){return _0x39e71a;};return a55_0x2205();}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x5f341a,_0x6c2b21){const _0x429606=a52_0x70ce,_0x22b6f9=_0x5f341a();while(!![]){try{const _0x2f4488=-parseInt(_0x429606(0x188))/0x1+parseInt(_0x429606(0x18e))/0x2+-parseInt(_0x429606(0x18f))/0x3*(parseInt(_0x429606(0x187))/0x4)+parseInt(_0x429606(0x18c))/0x5*(parseInt(_0x429606(0x189))/0x6)+-parseInt(_0x429606(0x186))/0x7*(parseInt(_0x429606(0x18b))/0x8)+-parseInt(_0x429606(0x18a))/0x9+parseInt(_0x429606(0x18d))/0xa;if(_0x2f4488===_0x6c2b21)break;else _0x22b6f9['push'](_0x22b6f9['shift']());}catch(_0x3835e3){_0x22b6f9['push'](_0x22b6f9['shift']());}}}(a52_0x12a7,0x26816));function a52_0x70ce(_0x4afea4,_0x4d8120){_0x4afea4=_0x4afea4-0x186;const _0x12a750=a52_0x12a7();let _0x70cedd=_0x12a750[_0x4afea4];return _0x70cedd;}function a52_0x12a7(){const _0x58083b=['7yGfLvU','155260ecssEY','16917dsOkpy','1434nbOOhV','1829943CAhRlx','1601272dIGCVS','4545vHjFdk','3013350vcAyRU','196700dOLHjL','3sPfOhP'];a52_0x12a7=function(){return _0x58083b;};return a52_0x12a7();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
1
+ function a56_0x5716(_0x5ce914,_0x4020f2){_0x5ce914=_0x5ce914-0xc8;const _0x15b978=a56_0x15b9();let _0x571605=_0x15b978[_0x5ce914];return _0x571605;}(function(_0x43ff27,_0x41904a){const _0x4aa3ee=a56_0x5716,_0x1c77ee=_0x43ff27();while(!![]){try{const _0x412576=-parseInt(_0x4aa3ee(0xcd))/0x1+parseInt(_0x4aa3ee(0xcc))/0x2+parseInt(_0x4aa3ee(0xd0))/0x3+parseInt(_0x4aa3ee(0xce))/0x4+parseInt(_0x4aa3ee(0xc9))/0x5*(-parseInt(_0x4aa3ee(0xcf))/0x6)+parseInt(_0x4aa3ee(0xcb))/0x7*(parseInt(_0x4aa3ee(0xc8))/0x8)+-parseInt(_0x4aa3ee(0xd1))/0x9*(parseInt(_0x4aa3ee(0xca))/0xa);if(_0x412576===_0x41904a)break;else _0x1c77ee['push'](_0x1c77ee['shift']());}catch(_0x3bff44){_0x1c77ee['push'](_0x1c77ee['shift']());}}}(a56_0x15b9,0x27a57));function a56_0x15b9(){const _0x4deeff=['20835arJZdD','23816EgWTPL','2725ZuUClD','1870eDhICo','763zEBkWZ','392008pONdrX','109664qLbRYf','1063380SHyEKS','3174CiuKZS','620769PSYJNK'];a56_0x15b9=function(){return _0x4deeff;};return a56_0x15b9();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
@@ -1 +1 @@
1
- (function(_0x4c08a4,_0x53dca7){const _0x33aea0=a53_0x5d88,_0x57d9b2=_0x4c08a4();while(!![]){try{const _0x43f5a9=parseInt(_0x33aea0(0x168))/0x1+-parseInt(_0x33aea0(0x164))/0x2+-parseInt(_0x33aea0(0x152))/0x3*(-parseInt(_0x33aea0(0x15e))/0x4)+parseInt(_0x33aea0(0x15c))/0x5*(-parseInt(_0x33aea0(0x150))/0x6)+-parseInt(_0x33aea0(0x151))/0x7+parseInt(_0x33aea0(0x14b))/0x8*(parseInt(_0x33aea0(0x15a))/0x9)+parseInt(_0x33aea0(0x14e))/0xa*(parseInt(_0x33aea0(0x161))/0xb);if(_0x43f5a9===_0x53dca7)break;else _0x57d9b2['push'](_0x57d9b2['shift']());}catch(_0x3e8742){_0x57d9b2['push'](_0x57d9b2['shift']());}}}(a53_0x14ba,0xe5699));function a53_0x14ba(){const _0x1a6f7b=['nonInteractive','appcode','yes','slice','version','18hNVNbb','global','4165fujMYE','entries','730712qisVUO','indexOf','type','1806365aocGpp','dryRun','length','2885774fAbjkL','boolean','has','toLowerCase','128843anwsbt','number','string','add','set','push','non-interactive','get','original','sticky','alias','replace','1037744IliZeh','keys','app','160fTGyni','corrected','5148xhFcnr','5822845BPtmhR','15zpdpot','name','format'];a53_0x14ba=function(){return _0x1a6f7b;};return a53_0x14ba();}function toKebab(_0x209cf0){const _0x1f7d4f=a53_0x5d88;return _0x209cf0[_0x1f7d4f(0x173)](/_/g,'-')['replace'](/-([A-Z]+)/g,(_0x4094e3,_0x59bbef)=>'-'+_0x59bbef[_0x1f7d4f(0x167)]())[_0x1f7d4f(0x173)](/([a-z0-9])([A-Z])/g,(_0x145547,_0x52ae9d,_0xed0bd2)=>_0x52ae9d+'-'+_0xed0bd2)['toLowerCase']();}function buildKnownFlags(_0x3290bf){const _0x590c7d=a53_0x5d88,_0x2052ec=new Set();for(const _0x176984 of _0x3290bf){_0x2052ec[_0x590c7d(0x16b)](_0x176984[_0x590c7d(0x153)]),_0x2052ec[_0x590c7d(0x16b)](toCamelCase(_0x176984[_0x590c7d(0x153)]));}for(const _0x42fa07 of['dry-run',_0x590c7d(0x162),_0x590c7d(0x157),_0x590c7d(0x154)]){_0x2052ec[_0x590c7d(0x16b)](_0x42fa07);}for(const _0x57eac2 of['help','env',_0x590c7d(0x156),_0x590c7d(0x14d),_0x590c7d(0x155),_0x590c7d(0x16e),'ci',_0x590c7d(0x15b),_0x590c7d(0x159)]){_0x2052ec[_0x590c7d(0x16b)](_0x57eac2);}return _0x2052ec;}function buildFlagTypeMap(_0x12346b){const _0x48c7ae=a53_0x5d88,_0x9e3e2=new Map();for(const _0x223ac7 of _0x12346b){_0x9e3e2[_0x48c7ae(0x16c)](_0x223ac7['name'],_0x223ac7[_0x48c7ae(0x160)]),_0x9e3e2['set'](toCamelCase(_0x223ac7[_0x48c7ae(0x153)]),_0x223ac7[_0x48c7ae(0x160)]);}return _0x9e3e2;}function toCamelCase(_0x59576e){const _0x2c7cdd=a53_0x5d88;return _0x59576e[_0x2c7cdd(0x173)](/-([a-z])/g,(_0x5df9e6,_0x4d5e34)=>_0x4d5e34['toUpperCase']());}function aliasHandler(_0x36ae9f,_0xda7f17){const _0x5c7c90=a53_0x5d88,_0x1026aa=[];for(const _0x1ca468 of Object[_0x5c7c90(0x14c)](_0x36ae9f)){if(_0xda7f17['has'](_0x1ca468))continue;const _0xc86a2a=toKebab(_0x1ca468);_0xc86a2a!==_0x1ca468&&_0xda7f17[_0x5c7c90(0x166)](_0xc86a2a)&&_0x1026aa[_0x5c7c90(0x16d)]({'original':_0x1ca468,'corrected':_0xc86a2a,'handler':_0x5c7c90(0x172)});}return _0x1026aa;}function stickyHandler(_0x44a105,_0x320d21,_0x1746ba){const _0x32964a=a53_0x5d88,_0x380ebd=[];for(const [_0x1b2269,_0x2daff0]of Object[_0x32964a(0x15d)](_0x44a105)){if(_0x2daff0!==!![])continue;for(let _0x35e8ea=_0x1b2269[_0x32964a(0x163)]-0x1;_0x35e8ea>0x0;_0x35e8ea--){const _0x585489=_0x1b2269[_0x32964a(0x158)](0x0,_0x35e8ea),_0x41a4c5=_0x1b2269[_0x32964a(0x158)](_0x35e8ea),_0x7bdb08=toKebab(_0x585489),_0x2615da=toCamelCase(_0x585489),_0x49113f=_0x320d21[_0x32964a(0x166)](_0x585489)?_0x585489:_0x320d21[_0x32964a(0x166)](_0x7bdb08)?_0x7bdb08:_0x320d21[_0x32964a(0x166)](_0x2615da)?_0x2615da:null;if(!_0x49113f)continue;const _0x532a22=_0x1746ba[_0x32964a(0x16f)](_0x49113f)??_0x32964a(0x16a);let _0x4c4ea5;if(_0x532a22===_0x32964a(0x169)){const _0x384925=Number(_0x41a4c5);if(isNaN(_0x384925)||_0x41a4c5==='')continue;_0x4c4ea5=_0x384925;}else{if(_0x532a22===_0x32964a(0x165))continue;else{if(_0x41a4c5==='')continue;_0x4c4ea5=_0x41a4c5;}}_0x380ebd[_0x32964a(0x16d)]({'original':_0x1b2269,'corrected':_0x49113f+'='+_0x4c4ea5,'handler':_0x32964a(0x171)});break;}}return _0x380ebd;}function a53_0x5d88(_0x83afe8,_0x56dfd5){_0x83afe8=_0x83afe8-0x14b;const _0x14ba21=a53_0x14ba();let _0x5d8842=_0x14ba21[_0x83afe8];return _0x5d8842;}export function correctFlags(_0x18497e,_0x280e6d){const _0x166201=a53_0x5d88,_0x57cd86=buildKnownFlags(_0x280e6d),_0x1bef97=buildFlagTypeMap(_0x280e6d),_0x4e2238=aliasHandler(_0x18497e,_0x57cd86),_0x5ad5ae=stickyHandler(_0x18497e,_0x57cd86,_0x1bef97),_0x2a9d13=[..._0x4e2238,..._0x5ad5ae];if(_0x2a9d13[_0x166201(0x163)]===0x0)return{'flags':_0x18497e,'corrections':[]};const _0xfdf9b9={..._0x18497e},_0x1e3c61=new Set();for(const _0x511a69 of _0x4e2238){_0xfdf9b9[_0x511a69['corrected']]=_0x18497e[_0x511a69[_0x166201(0x170)]],_0x1e3c61[_0x166201(0x16b)](_0x511a69['original']);}for(const _0x3c30e4 of _0x5ad5ae){const _0x15aea2=_0x3c30e4[_0x166201(0x14f)][_0x166201(0x15f)]('='),_0x5aadcf=_0x3c30e4[_0x166201(0x14f)][_0x166201(0x158)](0x0,_0x15aea2),_0x34daa8=_0x3c30e4[_0x166201(0x14f)][_0x166201(0x158)](_0x15aea2+0x1),_0x218d25=_0x1bef97[_0x166201(0x16f)](_0x5aadcf)??_0x166201(0x16a);_0x218d25==='number'?_0xfdf9b9[_0x5aadcf]=Number(_0x34daa8):_0xfdf9b9[_0x5aadcf]=_0x34daa8,_0x1e3c61['add'](_0x3c30e4[_0x166201(0x170)]);}for(const _0x531c45 of _0x1e3c61){delete _0xfdf9b9[_0x531c45];}return{'flags':_0xfdf9b9,'corrections':_0x2a9d13};}
1
+ function a57_0x5b27(_0xd3a90c,_0xbdfd95){_0xd3a90c=_0xd3a90c-0x1e5;const _0x3558a1=a57_0x3558();let _0x5b2722=_0x3558a1[_0xd3a90c];return _0x5b2722;}function a57_0x3558(){const _0x358073=['slice','2819576lbsJqo','sticky','7TJsKAL','app','indexOf','has','nonInteractive','alias','dryRun','boolean','replace','keys','version','2055096nYWPpd','6050175ZRILOL','string','push','2057492hccAtC','toLowerCase','format','159586ycopys','length','toUpperCase','get','15sVwHpr','number','non-interactive','dry-run','help','original','5762058rbvevW','corrected','env','16990119TTOOWM','set','add','yes','type','name'];a57_0x3558=function(){return _0x358073;};return a57_0x3558();}(function(_0x9ce827,_0x47ec72){const _0x450cfe=a57_0x5b27,_0x237a8d=_0x9ce827();while(!![]){try{const _0x804365=-parseInt(_0x450cfe(0x1e7))/0x1*(parseInt(_0x450cfe(0x20b))/0x2)+parseInt(_0x450cfe(0x204))/0x3+-parseInt(_0x450cfe(0x208))/0x4+parseInt(_0x450cfe(0x205))/0x5+-parseInt(_0x450cfe(0x1ed))/0x6+-parseInt(_0x450cfe(0x1f9))/0x7*(parseInt(_0x450cfe(0x1f7))/0x8)+parseInt(_0x450cfe(0x1f0))/0x9;if(_0x804365===_0x47ec72)break;else _0x237a8d['push'](_0x237a8d['shift']());}catch(_0x54dca4){_0x237a8d['push'](_0x237a8d['shift']());}}}(a57_0x3558,0xb9410));function toKebab(_0xa5f92e){const _0x5270a9=a57_0x5b27;return _0xa5f92e['replace'](/_/g,'-')[_0x5270a9(0x201)](/-([A-Z]+)/g,(_0x300bc6,_0xb93f4)=>'-'+_0xb93f4[_0x5270a9(0x209)]())['replace'](/([a-z0-9])([A-Z])/g,(_0xbf0fd4,_0x48d0da,_0x2004f9)=>_0x48d0da+'-'+_0x2004f9)[_0x5270a9(0x209)]();}function buildKnownFlags(_0x165a92){const _0x245cb8=a57_0x5b27,_0x516b6e=new Set();for(const _0x104d5e of _0x165a92){_0x516b6e[_0x245cb8(0x1f2)](_0x104d5e[_0x245cb8(0x1f5)]),_0x516b6e['add'](toCamelCase(_0x104d5e['name']));}for(const _0x2f5dba of[_0x245cb8(0x1ea),_0x245cb8(0x1ff),_0x245cb8(0x1f3),_0x245cb8(0x20a)]){_0x516b6e['add'](_0x2f5dba);}for(const _0x2c6208 of[_0x245cb8(0x1eb),_0x245cb8(0x1ef),'appcode',_0x245cb8(0x1fa),_0x245cb8(0x1fd),_0x245cb8(0x1e9),'ci','global',_0x245cb8(0x203)]){_0x516b6e[_0x245cb8(0x1f2)](_0x2c6208);}return _0x516b6e;}function buildFlagTypeMap(_0x378486){const _0x502c08=a57_0x5b27,_0x4a941b=new Map();for(const _0x539a57 of _0x378486){_0x4a941b[_0x502c08(0x1f1)](_0x539a57[_0x502c08(0x1f5)],_0x539a57['type']),_0x4a941b['set'](toCamelCase(_0x539a57['name']),_0x539a57[_0x502c08(0x1f4)]);}return _0x4a941b;}function toCamelCase(_0x2f9178){const _0x58e8b6=a57_0x5b27;return _0x2f9178['replace'](/-([a-z])/g,(_0x492e10,_0x3b841b)=>_0x3b841b[_0x58e8b6(0x1e5)]());}function aliasHandler(_0x5b8c8a,_0x3c891a){const _0x2cbb4e=a57_0x5b27,_0x24164a=[];for(const _0x54c16a of Object[_0x2cbb4e(0x202)](_0x5b8c8a)){if(_0x3c891a['has'](_0x54c16a))continue;const _0x32d2a4=toKebab(_0x54c16a);_0x32d2a4!==_0x54c16a&&_0x3c891a['has'](_0x32d2a4)&&_0x24164a['push']({'original':_0x54c16a,'corrected':_0x32d2a4,'handler':_0x2cbb4e(0x1fe)});}return _0x24164a;}function stickyHandler(_0x161198,_0x1f8f2a,_0x431d1c){const _0x442710=a57_0x5b27,_0x467e1c=[];for(const [_0x1b7780,_0x1ab736]of Object['entries'](_0x161198)){if(_0x1ab736!==!![])continue;for(let _0x5de544=_0x1b7780['length']-0x1;_0x5de544>0x0;_0x5de544--){const _0x4b7d9f=_0x1b7780['slice'](0x0,_0x5de544),_0x33b495=_0x1b7780[_0x442710(0x1f6)](_0x5de544),_0x283e25=toKebab(_0x4b7d9f),_0x4221a1=toCamelCase(_0x4b7d9f),_0xe20805=_0x1f8f2a['has'](_0x4b7d9f)?_0x4b7d9f:_0x1f8f2a[_0x442710(0x1fc)](_0x283e25)?_0x283e25:_0x1f8f2a[_0x442710(0x1fc)](_0x4221a1)?_0x4221a1:null;if(!_0xe20805)continue;const _0x2a7f27=_0x431d1c[_0x442710(0x1e6)](_0xe20805)??_0x442710(0x206);let _0x289862;if(_0x2a7f27===_0x442710(0x1e8)){const _0x123db4=Number(_0x33b495);if(isNaN(_0x123db4)||_0x33b495==='')continue;_0x289862=_0x123db4;}else{if(_0x2a7f27===_0x442710(0x200))continue;else{if(_0x33b495==='')continue;_0x289862=_0x33b495;}}_0x467e1c[_0x442710(0x207)]({'original':_0x1b7780,'corrected':_0xe20805+'='+_0x289862,'handler':_0x442710(0x1f8)});break;}}return _0x467e1c;}export function correctFlags(_0x140e15,_0x505fd4){const _0x39c924=a57_0x5b27,_0x108dc3=buildKnownFlags(_0x505fd4),_0x3efc28=buildFlagTypeMap(_0x505fd4),_0x506a23=aliasHandler(_0x140e15,_0x108dc3),_0x268c50=stickyHandler(_0x140e15,_0x108dc3,_0x3efc28),_0x41810e=[..._0x506a23,..._0x268c50];if(_0x41810e[_0x39c924(0x20c)]===0x0)return{'flags':_0x140e15,'corrections':[]};const _0x2cb007={..._0x140e15},_0x313512=new Set();for(const _0x657d26 of _0x506a23){_0x2cb007[_0x657d26[_0x39c924(0x1ee)]]=_0x140e15[_0x657d26['original']],_0x313512['add'](_0x657d26[_0x39c924(0x1ec)]);}for(const _0x172093 of _0x268c50){const _0x3848c9=_0x172093['corrected'][_0x39c924(0x1fb)]('='),_0x5c9c01=_0x172093[_0x39c924(0x1ee)]['slice'](0x0,_0x3848c9),_0x37e852=_0x172093[_0x39c924(0x1ee)][_0x39c924(0x1f6)](_0x3848c9+0x1),_0x323af6=_0x3efc28[_0x39c924(0x1e6)](_0x5c9c01)??_0x39c924(0x206);_0x323af6===_0x39c924(0x1e8)?_0x2cb007[_0x5c9c01]=Number(_0x37e852):_0x2cb007[_0x5c9c01]=_0x37e852,_0x313512['add'](_0x172093['original']);}for(const _0x52b43d of _0x313512){delete _0x2cb007[_0x52b43d];}return{'flags':_0x2cb007,'corrections':_0x41810e};}
@@ -1 +1 @@
1
- (function(_0x512ff1,_0x2d63d9){var _0x308e8d=a54_0x532c,_0x38748e=_0x512ff1();while(!![]){try{var _0x596c29=parseInt(_0x308e8d(0x11e))/0x1*(-parseInt(_0x308e8d(0x11f))/0x2)+-parseInt(_0x308e8d(0x121))/0x3+-parseInt(_0x308e8d(0x124))/0x4*(parseInt(_0x308e8d(0x120))/0x5)+parseInt(_0x308e8d(0x11d))/0x6+-parseInt(_0x308e8d(0x11b))/0x7*(parseInt(_0x308e8d(0x11c))/0x8)+-parseInt(_0x308e8d(0x123))/0x9+parseInt(_0x308e8d(0x122))/0xa;if(_0x596c29===_0x2d63d9)break;else _0x38748e['push'](_0x38748e['shift']());}catch(_0x2833cb){_0x38748e['push'](_0x38748e['shift']());}}}(a54_0x2e81,0x65cad));function a54_0x2e81(){var _0x7d8d39=['13815230pRpoaH','3869343XSOrrT','40TfbNmQ','63yPOZCj','200640sRhiUh','4265574WpaJML','17EUIdvW','43406MfzIMG','303625ffDQyq','130989sByrzT'];a54_0x2e81=function(){return _0x7d8d39;};return a54_0x2e81();}function a54_0x532c(_0x782a8e,_0x5bf93c){_0x782a8e=_0x782a8e-0x11b;var _0x2e81ff=a54_0x2e81();var _0x532cd3=_0x2e81ff[_0x782a8e];return _0x532cd3;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ (function(_0x1fde81,_0xea17a8){var _0x4c31f1=a58_0x3f0a,_0x106fb3=_0x1fde81();while(!![]){try{var _0x9c2db0=-parseInt(_0x4c31f1(0xe2))/0x1+-parseInt(_0x4c31f1(0xe0))/0x2*(-parseInt(_0x4c31f1(0xdf))/0x3)+-parseInt(_0x4c31f1(0xde))/0x4+parseInt(_0x4c31f1(0xe1))/0x5+parseInt(_0x4c31f1(0xdb))/0x6+parseInt(_0x4c31f1(0xdd))/0x7*(parseInt(_0x4c31f1(0xe3))/0x8)+-parseInt(_0x4c31f1(0xdc))/0x9;if(_0x9c2db0===_0xea17a8)break;else _0x106fb3['push'](_0x106fb3['shift']());}catch(_0x5cdb4d){_0x106fb3['push'](_0x106fb3['shift']());}}}(a58_0x5baa,0xa09de));function a58_0x3f0a(_0x204290,_0x2bb0d8){_0x204290=_0x204290-0xdb;var _0x5baadd=a58_0x5baa();var _0x3f0a0f=_0x5baadd[_0x204290];return _0x3f0a0f;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a58_0x5baa(){var _0x313e8a=['83364pKPKVh','4865408gDkCBU','1283610Wmesct','10407105oVnMMH','7hZuooz','116084FifxVl','642mfOpCU','8108mXFsSw','1184745eNFvWq'];a58_0x5baa=function(){return _0x313e8a;};return a58_0x5baa();}
@@ -1 +1 @@
1
- (function(_0x66fc91,_0xae3f38){const _0x32d85c=a55_0x391b,_0x2e0fd0=_0x66fc91();while(!![]){try{const _0x24bd14=-parseInt(_0x32d85c(0x13d))/0x1*(-parseInt(_0x32d85c(0x144))/0x2)+-parseInt(_0x32d85c(0x137))/0x3*(-parseInt(_0x32d85c(0x143))/0x4)+parseInt(_0x32d85c(0x12e))/0x5*(-parseInt(_0x32d85c(0x147))/0x6)+-parseInt(_0x32d85c(0x13a))/0x7*(-parseInt(_0x32d85c(0x145))/0x8)+-parseInt(_0x32d85c(0x148))/0x9+-parseInt(_0x32d85c(0x132))/0xa*(parseInt(_0x32d85c(0x139))/0xb)+parseInt(_0x32d85c(0x13c))/0xc;if(_0x24bd14===_0xae3f38)break;else _0x2e0fd0['push'](_0x2e0fd0['shift']());}catch(_0x38badb){_0x2e0fd0['push'](_0x2e0fd0['shift']());}}}(a55_0x79ee,0x7112b));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x1a50df,_0x5b363f,_0x5c5174){const _0x25021c=a55_0x391b,_0x56419c=buildConfirmationContext(_0x1a50df,_0x5b363f,_0x5c5174),_0x4f56b0=[_0x25021c(0x142)+_0x56419c[_0x25021c(0x130)]];return _0x56419c[_0x25021c(0x131)]&&_0x4f56b0[_0x25021c(0x13f)]('\x20\x20\x20'+_0x56419c['description']),_0x56419c[_0x25021c(0x134)]&&_0x4f56b0[_0x25021c(0x13f)](_0x25021c(0x14a)+_0x56419c[_0x25021c(0x134)]),_0x4f56b0[_0x25021c(0x13f)](_0x25021c(0x136)),_0x4f56b0;}function a55_0x79ee(){const _0x2dc822=['params=','1955585NsMSvn','stringify','commandLabel','description','1570ONacej','code','affectedRecords','length','\x20\x20\x20Continue?\x20[y/N]\x20','33iShcgp','id=','17226soUFQJ','4732uEchIV','name=','10952388WeQAIJ','45982wyWOLc','params','push','code=','service','⚠\x20\x20High-risk\x20operation:\x20','121236XQKvus','10yqtowa','8776sgKuYo','command','12VvbpIt','6537033KIzkJL','join','\x20\x20\x20Affected:\x20'];a55_0x79ee=function(){return _0x2dc822;};return a55_0x79ee();}export function reconstructCommandArgv(_0x29db2b,_0x356869){const _0x49d365=a55_0x391b,_0x1fbc2b=[CLI_BIN_NAME,_0x29db2b[_0x49d365(0x141)],_0x29db2b[_0x49d365(0x146)]];for(const [_0x278c06,_0x418ae8]of Object['entries'](_0x356869)){if(_0x418ae8===!![])_0x1fbc2b[_0x49d365(0x13f)]('--'+_0x278c06);else _0x418ae8!==![]&&_0x418ae8!==undefined&&_0x418ae8!==''&&_0x1fbc2b['push']('--'+_0x278c06+'\x20'+JSON[_0x49d365(0x12f)](_0x418ae8));}return _0x1fbc2b[_0x49d365(0x13f)]('--yes'),_0x1fbc2b[_0x49d365(0x149)]('\x20');}function buildConfirmationContext(_0x6fa9e8,_0x5aeb64,_0xf0574b){const _0x6b5390=a55_0x391b,_0x6dd40a=extractAffectedRecords(_0xf0574b);return{'commandLabel':_0x5aeb64,'description':_0x6fa9e8[_0x6b5390(0x131)],'affectedRecords':_0x6dd40a};}function a55_0x391b(_0x40e74f,_0xa65603){_0x40e74f=_0x40e74f-0x12e;const _0x79ee61=a55_0x79ee();let _0x391bae=_0x79ee61[_0x40e74f];return _0x391bae;}function extractAffectedRecords(_0x154406){const _0x4df179=a55_0x391b,_0x2997eb=[];if(_0x154406[_0x4df179(0x133)])_0x2997eb[_0x4df179(0x13f)](_0x4df179(0x140)+_0x154406['code']);if(_0x154406['id'])_0x2997eb['push'](_0x4df179(0x138)+_0x154406['id']);if(_0x154406['name'])_0x2997eb['push'](_0x4df179(0x13b)+_0x154406['name']);if(_0x154406['params'])_0x2997eb[_0x4df179(0x13f)](_0x4df179(0x14b)+_0x154406[_0x4df179(0x13e)]);return _0x2997eb[_0x4df179(0x135)]>0x0?_0x2997eb[_0x4df179(0x149)](',\x20'):undefined;}
1
+ (function(_0x3640c9,_0x17da16){const _0x423a1d=a59_0x27c2,_0x34e40e=_0x3640c9();while(!![]){try{const _0x1b1221=-parseInt(_0x423a1d(0x7f))/0x1+-parseInt(_0x423a1d(0x81))/0x2*(parseInt(_0x423a1d(0x77))/0x3)+parseInt(_0x423a1d(0x79))/0x4+-parseInt(_0x423a1d(0x89))/0x5+parseInt(_0x423a1d(0x7a))/0x6*(parseInt(_0x423a1d(0x8b))/0x7)+-parseInt(_0x423a1d(0x88))/0x8+parseInt(_0x423a1d(0x87))/0x9;if(_0x1b1221===_0x17da16)break;else _0x34e40e['push'](_0x34e40e['shift']());}catch(_0x3b63fd){_0x34e40e['push'](_0x34e40e['shift']());}}}(a59_0x4d05,0xb7aa4));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x5ac588,_0x4867fe,_0x251aed){const _0x3ed6d5=a59_0x27c2,_0xd885b5=buildConfirmationContext(_0x5ac588,_0x4867fe,_0x251aed),_0x31525f=['⚠\x20\x20High-risk\x20operation:\x20'+_0xd885b5['commandLabel']];return _0xd885b5[_0x3ed6d5(0x8a)]&&_0x31525f[_0x3ed6d5(0x7d)](_0x3ed6d5(0x80)+_0xd885b5[_0x3ed6d5(0x8a)]),_0xd885b5[_0x3ed6d5(0x82)]&&_0x31525f[_0x3ed6d5(0x7d)]('\x20\x20\x20Affected:\x20'+_0xd885b5[_0x3ed6d5(0x82)]),_0x31525f['push'](_0x3ed6d5(0x84)),_0x31525f;}function a59_0x4d05(){const _0x28a181=['params=','6709932UDXdDA','11715400IFFgmg','313105EaEFve','description','427zQSTNs','989781DYETty','command','5606780qJZPfF','133530UjxBbB','stringify','join','push','id=','895533DeQlqw','\x20\x20\x20','2qrWJlK','affectedRecords','name','\x20\x20\x20Continue?\x20[y/N]\x20','code'];a59_0x4d05=function(){return _0x28a181;};return a59_0x4d05();}export function reconstructCommandArgv(_0xcdd318,_0x2681e1){const _0x20f9f2=a59_0x27c2,_0x18d425=[CLI_BIN_NAME,_0xcdd318['service'],_0xcdd318[_0x20f9f2(0x78)]];for(const [_0x9558b2,_0x2b2b95]of Object['entries'](_0x2681e1)){if(_0x2b2b95===!![])_0x18d425[_0x20f9f2(0x7d)]('--'+_0x9558b2);else _0x2b2b95!==![]&&_0x2b2b95!==undefined&&_0x2b2b95!==''&&_0x18d425[_0x20f9f2(0x7d)]('--'+_0x9558b2+'\x20'+JSON[_0x20f9f2(0x7b)](_0x2b2b95));}return _0x18d425[_0x20f9f2(0x7d)]('--yes'),_0x18d425['join']('\x20');}function buildConfirmationContext(_0x429c9f,_0x34539b,_0x114fce){const _0x8696be=a59_0x27c2,_0x443fda=extractAffectedRecords(_0x114fce);return{'commandLabel':_0x34539b,'description':_0x429c9f[_0x8696be(0x8a)],'affectedRecords':_0x443fda};}function a59_0x27c2(_0x50056f,_0x529dc8){_0x50056f=_0x50056f-0x77;const _0x4d05b5=a59_0x4d05();let _0x27c202=_0x4d05b5[_0x50056f];return _0x27c202;}function extractAffectedRecords(_0x52d92f){const _0x4ae7c5=a59_0x27c2,_0x2e2066=[];if(_0x52d92f[_0x4ae7c5(0x85)])_0x2e2066[_0x4ae7c5(0x7d)]('code='+_0x52d92f[_0x4ae7c5(0x85)]);if(_0x52d92f['id'])_0x2e2066[_0x4ae7c5(0x7d)](_0x4ae7c5(0x7e)+_0x52d92f['id']);if(_0x52d92f[_0x4ae7c5(0x83)])_0x2e2066[_0x4ae7c5(0x7d)]('name='+_0x52d92f[_0x4ae7c5(0x83)]);if(_0x52d92f['params'])_0x2e2066[_0x4ae7c5(0x7d)](_0x4ae7c5(0x86)+_0x52d92f['params']);return _0x2e2066['length']>0x0?_0x2e2066[_0x4ae7c5(0x7c)](',\x20'):undefined;}
@@ -1 +1 @@
1
- (function(_0x496b0b,_0x5a94ed){const _0x5d55f3=a56_0x3297,_0x115cb9=_0x496b0b();while(!![]){try{const _0xe9d353=-parseInt(_0x5d55f3(0x1c6))/0x1*(parseInt(_0x5d55f3(0x1bd))/0x2)+-parseInt(_0x5d55f3(0x1b9))/0x3+parseInt(_0x5d55f3(0x1c4))/0x4+-parseInt(_0x5d55f3(0x1c7))/0x5*(-parseInt(_0x5d55f3(0x1c5))/0x6)+-parseInt(_0x5d55f3(0x1c9))/0x7*(-parseInt(_0x5d55f3(0x1be))/0x8)+parseInt(_0x5d55f3(0x1c2))/0x9*(-parseInt(_0x5d55f3(0x1bb))/0xa)+-parseInt(_0x5d55f3(0x1bf))/0xb*(-parseInt(_0x5d55f3(0x1bc))/0xc);if(_0xe9d353===_0x5a94ed)break;else _0x115cb9['push'](_0x115cb9['shift']());}catch(_0x510524){_0x115cb9['push'](_0x115cb9['shift']());}}}(a56_0x3889,0xb7f8c));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';export function mapUserFacingExecuteError(_0x255382){const _0x2caeec=a56_0x3297;if(_0x255382 instanceof LovrabetError)return CliErrors[_0x2caeec(0x1c3)](userFacingLovrabetMessage(_0x255382));return _0x255382;}function a56_0x3297(_0xf2a2a8,_0x359762){_0xf2a2a8=_0xf2a2a8-0x1b9;const _0x3889a9=a56_0x3889();let _0x3297a2=_0x3889a9[_0xf2a2a8];return _0x3297a2;}function a56_0x3889(){const _0x83662e=['7245972sJzqeB','validation','2403100FZxEdW','34230LCGXKv','32316pOHeQK','1220CrCjPi','trim','4886wGhZGN','4520808leKcNi','description','10XGiGXa','469356xPyXBq','48XJgHpI','7288WRfKNv','341KJMpvc','stringify','message'];a56_0x3889=function(){return _0x83662e;};return a56_0x3889();}function userFacingLovrabetMessage(_0x15a38c){const _0x1e8238=a56_0x3297,_0x4851f1=_0x15a38c[_0x1e8238(0x1ba)];if(_0x4851f1!==undefined&&_0x4851f1!==null){if(typeof _0x4851f1==='string'&&_0x4851f1[_0x1e8238(0x1c8)]())return _0x4851f1[_0x1e8238(0x1c8)]();try{return JSON[_0x1e8238(0x1c0)](_0x4851f1);}catch{}}return _0x15a38c[_0x1e8238(0x1c1)];}
1
+ (function(_0x2ec12a,_0x5bc232){const _0x42d2a8=a60_0x55a2,_0x411ca8=_0x2ec12a();while(!![]){try{const _0x286f88=-parseInt(_0x42d2a8(0xa6))/0x1+parseInt(_0x42d2a8(0x9f))/0x2+parseInt(_0x42d2a8(0xa3))/0x3*(parseInt(_0x42d2a8(0xa9))/0x4)+parseInt(_0x42d2a8(0xa1))/0x5*(-parseInt(_0x42d2a8(0x9e))/0x6)+-parseInt(_0x42d2a8(0xa5))/0x7*(parseInt(_0x42d2a8(0xab))/0x8)+parseInt(_0x42d2a8(0x9d))/0x9+parseInt(_0x42d2a8(0xaa))/0xa*(parseInt(_0x42d2a8(0xa8))/0xb);if(_0x286f88===_0x5bc232)break;else _0x411ca8['push'](_0x411ca8['shift']());}catch(_0x56aeb1){_0x411ca8['push'](_0x411ca8['shift']());}}}(a60_0x2d69,0x5fa6c));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';function a60_0x2d69(){const _0x203ef5=['message','98120cSelgJ','validation','4710AzmRBZ','description','3047737SrSFLF','411335rNlPFg','string','891gMXprn','760cydXld','150yacUaz','8ramsGY','trim','3386502lJnBjQ','6LtOwuv','1164690ZGbiCR'];a60_0x2d69=function(){return _0x203ef5;};return a60_0x2d69();}function a60_0x55a2(_0x19a513,_0x36366d){_0x19a513=_0x19a513-0x9c;const _0x2d6970=a60_0x2d69();let _0x55a229=_0x2d6970[_0x19a513];return _0x55a229;}export function mapUserFacingExecuteError(_0x1b56c1){const _0x154691=a60_0x55a2;if(_0x1b56c1 instanceof LovrabetError)return CliErrors[_0x154691(0xa2)](userFacingLovrabetMessage(_0x1b56c1));return _0x1b56c1;}function userFacingLovrabetMessage(_0x538f36){const _0x42e7d1=a60_0x55a2,_0x48b2f5=_0x538f36[_0x42e7d1(0xa4)];if(_0x48b2f5!==undefined&&_0x48b2f5!==null){if(typeof _0x48b2f5===_0x42e7d1(0xa7)&&_0x48b2f5['trim']())return _0x48b2f5[_0x42e7d1(0x9c)]();try{return JSON['stringify'](_0x48b2f5);}catch{}}return _0x538f36[_0x42e7d1(0xa0)];}
@@ -1 +1 @@
1
- const a57_0x4e7cea=a57_0x18d9;function a57_0x4b98(){const _0x1853c5=['format','High-risk\x20operation\x20`','name','trim','113477kbJpSS','../core/sdk-client.js','2063154kzHCVJ','9dETWKy','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','has','validation','78673XQyXIE','app','4htwxoo','../commands/app/remote-source.js','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','2827210bnjDCa','apiDomain','.appcode\x20to\x20','riskLevel','accessKey','currentApp','error','appcode','pageSize','local-alias','896460qounCC','Run\x20`','\x20\x20To\x20proceed:\x20','command','rawFlags','appCodeSource','requiresAppCode','\x20or\x20pass\x20','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','88NRZfNX','11uEQkGL','newConfigFileName','configMissing','appCode','1104085CJfeWI','defaultVerbose','defaultPageSize','filter','309828HesukJ','defaultApp','mergedCli','../core/api-client.js','Unknown\x20app:\x20','items','find','4DcASxY','string','verbose','requiresAuth','env'];a57_0x4b98=function(){return _0x1853c5;};return a57_0x4b98();}(function(_0x1f69ee,_0x6d2c8f){const _0x2c24eb=a57_0x18d9,_0x51e343=_0x1f69ee();while(!![]){try{const _0x4e71d3=parseInt(_0x2c24eb(0xe0))/0x1+-parseInt(_0x2c24eb(0xe9))/0x2*(-parseInt(_0x2c24eb(0xd0))/0x3)+-parseInt(_0x2c24eb(0xd7))/0x4*(parseInt(_0x2c24eb(0xcc))/0x5)+parseInt(_0x2c24eb(0xe2))/0x6+-parseInt(_0x2c24eb(0xe7))/0x7*(-parseInt(_0x2c24eb(0xc7))/0x8)+parseInt(_0x2c24eb(0xe3))/0x9*(-parseInt(_0x2c24eb(0xb4))/0xa)+parseInt(_0x2c24eb(0xc8))/0xb*(-parseInt(_0x2c24eb(0xbe))/0xc);if(_0x4e71d3===_0x6d2c8f)break;else _0x51e343['push'](_0x51e343['shift']());}catch(_0x23d485){_0x51e343['push'](_0x51e343['shift']());}}}(a57_0x4b98,0x3317a));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a57_0x18d9(_0x343356,_0x4d31dc){_0x343356=_0x343356-0xb4;const _0x4b9846=a57_0x4b98();let _0x18d909=_0x4b9846[_0x343356];return _0x18d909;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0x433ab8){return void _0x433ab8,AUTH_MODE['ClientAk'];}export function createPipelineEnv(_0x3c8625,_0x5a3485){const _0x498fa0=a57_0x18d9,_0x18dc65=typeof _0x5a3485['app']===_0x498fa0(0xd8)&&_0x5a3485[_0x498fa0(0xe8)][_0x498fa0(0xdf)]();return{'rawFlags':_0x5a3485,'appCode':_0x3c8625[_0x498fa0(0xcb)]||productEnv('APPCODE')||(_0x18dc65?undefined:readAppCodeFromConfig()),'appCodeSource':_0x3c8625[_0x498fa0(0xc3)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x5a3485),'defaultFormat':_0x3c8625[_0x498fa0(0xdc)],'defaultPageSize':_0x3c8625[_0x498fa0(0xbc)],'defaultVerbose':_0x3c8625[_0x498fa0(0xd9)],'riskLevel':_0x3c8625[_0x498fa0(0xb7)],'accessKey':_0x3c8625[_0x498fa0(0xb8)],'env':_0x3c8625[_0x498fa0(0xdb)],'mergedCli':{'defaultApp':_0x3c8625[_0x498fa0(0xd1)],'currentApp':_0x3c8625[_0x498fa0(0xb9)],'appCode':_0x3c8625[_0x498fa0(0xcb)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a57_0x4e7cea(0xcf)](_0x24b5c3=>PIPELINE_FLAG_NAMES[a57_0x4e7cea(0xe5)](_0x24b5c3[a57_0x4e7cea(0xde)]))['map'](({name:_0x47b385,type:_0x5bef21,description:_0xc6d4fd})=>({'name':_0x47b385,'type':_0x5bef21,'description':_0xc6d4fd})),'formatOutput':formatOutput,'getCommandLabel'(_0x1e10cd){const _0x579eff=a57_0x4e7cea;return CLI_BIN_NAME+'\x20'+_0x1e10cd['service']+'\x20'+_0x1e10cd[_0x579eff(0xc1)];},'riskPolicy':{'onViolation'(_0x125dbe){const _0x5568c5=a57_0x4e7cea;console[_0x5568c5(0xba)](_0x125dbe);},'createError'(_0x50c621){return CliErrors['cancelled'](_0x50c621);}},async 'prepare'(_0x50df68,_0x1473a9){const _0x468a1b=a57_0x4e7cea,_0x1a10a9=resolveAuthMode(_0x1473a9);if(_0x50df68[_0x468a1b(0xda)]!==![]){if(!_0x1473a9[_0x468a1b(0xb8)])throw CliErrors['authRequired']('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0x468a1b(0xc9)]+_0x468a1b(0xc5)+productEnvName('ACCESS_KEY')+'.');const {setActiveAK:_0x272df6}=await import(_0x468a1b(0xd3));_0x272df6(_0x1473a9[_0x468a1b(0xb8)]);}let _0x36f424='';if(_0x50df68[_0x468a1b(0xc4)]!==![]){_0x36f424=_0x1473a9['appCode']??'',_0x36f424=await resolveExplicitAppName(_0x50df68,_0x1473a9,_0x36f424);if(!_0x36f424)throw CliErrors[_0x468a1b(0xca)](_0x468a1b(0xe4)+PRODUCT_CONFIG[_0x468a1b(0xc9)]+'.');}if(_0x36f424){const {initSdkClient:_0x2cd7e3}=await import(_0x468a1b(0xe1));_0x2cd7e3({'appCode':_0x36f424,'env':_0x1473a9[_0x468a1b(0xdb)]??'production','accessKey':_0x1473a9['accessKey'],'authMode':_0x1a10a9});}return{'defaults':{'booleans':{'verbose':_0x1473a9[_0x468a1b(0xcd)]},'numbers':{'pagesize':_0x1473a9[_0x468a1b(0xce)]}},'extras':{'appCode':_0x36f424,'cookie':'','apiDomain':_0x1473a9[_0x468a1b(0xb5)],'apiDir':'','accessKey':_0x1473a9[_0x468a1b(0xb8)],'envName':_0x1473a9[_0x468a1b(0xdb)],'mergedCli':_0x1473a9[_0x468a1b(0xd2)]}};},async 'confirmHighRisk'({def:_0x27104a,env:_0x281b09,flags:_0x508646,commandLabel:_0xc9f2ec}){const _0x249a6c=a57_0x4e7cea;if(_0x281b09['isNonInteractive']){const _0x34ea27=reconstructCommandArgv(_0x27104a,_0x508646);throw CliErrors[_0x249a6c(0xe6)](_0x249a6c(0xdd)+_0xc9f2ec+_0x249a6c(0xeb)+(_0x249a6c(0xc0)+_0x34ea27));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x27104a,_0xc9f2ec,_0x508646),'createCancelledError':_0xd19e14=>CliErrors['cancelled'](_0xd19e14)});},'mapDryRunError'(_0x521a72){return mapUserFacingExecuteError(_0x521a72);},'mapExecuteError'(_0x23ba96){return mapUserFacingExecuteError(_0x23ba96);},async 'finalize'(){const _0x1f9d68=a57_0x4e7cea,{clearActiveAK:_0x488dfb}=await import(_0x1f9d68(0xd3));_0x488dfb();}};async function resolveExplicitAppName(_0x5415f5,_0x4a2de5,_0x494ffd){const _0x11fe71=a57_0x4e7cea;if(_0x5415f5[_0x11fe71(0xc4)]===![])return _0x494ffd;const _0x1f1440=typeof _0x4a2de5[_0x11fe71(0xc2)][_0x11fe71(0xe8)]===_0x11fe71(0xd8)?_0x4a2de5[_0x11fe71(0xc2)][_0x11fe71(0xe8)][_0x11fe71(0xdf)]():'';if(!_0x1f1440)return _0x494ffd;const _0x55f6e7=typeof _0x4a2de5[_0x11fe71(0xc2)][_0x11fe71(0xbb)]===_0x11fe71(0xd8)&&_0x4a2de5['rawFlags'][_0x11fe71(0xbb)][_0x11fe71(0xdf)]()||productEnv('APPCODE');if(_0x55f6e7||_0x4a2de5['appCodeSource']===_0x11fe71(0xbd))return _0x494ffd;const {getRemoteAppList:_0x351aa0}=await import(_0x11fe71(0xea)),_0x28ae54=await _0x351aa0({'env':_0x4a2de5[_0x11fe71(0xdb)]??'production','accessKey':_0x4a2de5[_0x11fe71(0xb8)]}),_0x4c8d5d=_0x28ae54[_0x11fe71(0xd5)][_0x11fe71(0xd6)](_0x7d4ba4=>_0x7d4ba4['appName']===_0x1f1440),_0x457776=_0x4c8d5d?.[_0x11fe71(0xcb)]?.[_0x11fe71(0xdf)]();if(_0x457776)return _0x457776;throw CliErrors['validation'](_0x11fe71(0xd4)+_0x1f1440,_0x11fe71(0xbf)+CLI_BIN_NAME+_0x11fe71(0xc6)+_0x1f1440+_0x11fe71(0xb6)+PRODUCT_CONFIG[_0x11fe71(0xc9)]+'.');}export async function runCommand(_0x420d74,_0x2f6360){await runCommandWithAdapter(_0x420d74,_0x2f6360,runnerAdapter);}
1
+ const a61_0x46b808=a61_0x128c;(function(_0x216537,_0x46cf1f){const _0xd8e0f1=a61_0x128c,_0x30d0a6=_0x216537();while(!![]){try{const _0x19159d=-parseInt(_0xd8e0f1(0x162))/0x1+parseInt(_0xd8e0f1(0x152))/0x2+-parseInt(_0xd8e0f1(0x179))/0x3+parseInt(_0xd8e0f1(0x160))/0x4*(-parseInt(_0xd8e0f1(0x161))/0x5)+-parseInt(_0xd8e0f1(0x17a))/0x6+-parseInt(_0xd8e0f1(0x143))/0x7+-parseInt(_0xd8e0f1(0x15d))/0x8*(-parseInt(_0xd8e0f1(0x171))/0x9);if(_0x19159d===_0x46cf1f)break;else _0x30d0a6['push'](_0x30d0a6['shift']());}catch(_0x104ee5){_0x30d0a6['push'](_0x30d0a6['shift']());}}}(a61_0x3b02,0x88ddc));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0x355255){const _0xce815d=a61_0x128c;return void _0x355255,AUTH_MODE[_0xce815d(0x165)];}function a61_0x128c(_0x214ff3,_0x2dc9a3){_0x214ff3=_0x214ff3-0x142;const _0x3b0287=a61_0x3b02();let _0x128c46=_0x3b0287[_0x214ff3];return _0x128c46;}export function createPipelineEnv(_0x42c93b,_0x2bdae5){const _0x27b5d7=a61_0x128c,_0x58c9a9=typeof _0x2bdae5['app']==='string'&&_0x2bdae5['app'][_0x27b5d7(0x154)]();return{'rawFlags':_0x2bdae5,'appCode':_0x42c93b[_0x27b5d7(0x149)]||productEnv(_0x27b5d7(0x142))||(_0x58c9a9?undefined:readAppCodeFromConfig()),'appCodeSource':_0x42c93b[_0x27b5d7(0x169)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x2bdae5),'defaultFormat':_0x42c93b[_0x27b5d7(0x147)],'defaultPageSize':_0x42c93b[_0x27b5d7(0x14b)],'defaultVerbose':_0x42c93b[_0x27b5d7(0x14e)],'riskLevel':_0x42c93b[_0x27b5d7(0x148)],'accessKey':_0x42c93b[_0x27b5d7(0x16e)],'env':_0x42c93b[_0x27b5d7(0x14a)],'mergedCli':{'defaultApp':_0x42c93b[_0x27b5d7(0x151)],'currentApp':_0x42c93b[_0x27b5d7(0x16c)],'appCode':_0x42c93b['appCode']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a61_0x46b808(0x146)](_0x38625d=>PIPELINE_FLAG_NAMES[a61_0x46b808(0x173)](_0x38625d[a61_0x46b808(0x153)]))[a61_0x46b808(0x178)](({name:_0x464e9f,type:_0x3f9829,description:_0x309516})=>({'name':_0x464e9f,'type':_0x3f9829,'description':_0x309516})),'formatOutput':formatOutput,'getCommandLabel'(_0x19ed54){const _0x13b8e2=a61_0x46b808;return CLI_BIN_NAME+'\x20'+_0x19ed54[_0x13b8e2(0x145)]+'\x20'+_0x19ed54[_0x13b8e2(0x166)];},'riskPolicy':{'onViolation'(_0x1fcd22){const _0x211b30=a61_0x46b808;console[_0x211b30(0x155)](_0x1fcd22);},'createError'(_0x4f2c9f){const _0x392819=a61_0x46b808;return CliErrors[_0x392819(0x163)](_0x4f2c9f);}},async 'prepare'(_0x5aa51a,_0x1b6466){const _0x564931=a61_0x46b808,_0x3ce539=resolveAuthMode(_0x1b6466);if(_0x5aa51a[_0x564931(0x14f)]!==![]){if(!_0x1b6466['accessKey'])throw CliErrors[_0x564931(0x156)](_0x564931(0x176)+PRODUCT_CONFIG[_0x564931(0x168)]+_0x564931(0x167)+productEnvName('ACCESS_KEY')+'.');const {setActiveAK:_0x3404b4}=await import(_0x564931(0x164));_0x3404b4(_0x1b6466[_0x564931(0x16e)]);}let _0x4b6b78='';if(_0x5aa51a[_0x564931(0x170)]!==![]){_0x4b6b78=_0x1b6466[_0x564931(0x149)]??'',_0x4b6b78=await resolveExplicitAppName(_0x5aa51a,_0x1b6466,_0x4b6b78);if(!_0x4b6b78)throw CliErrors[_0x564931(0x16d)](_0x564931(0x15f)+PRODUCT_CONFIG[_0x564931(0x168)]+'.');}if(_0x4b6b78){const {initSdkClient:_0x1d90b8}=await import('../core/sdk-client.js');_0x1d90b8({'appCode':_0x4b6b78,'env':_0x1b6466[_0x564931(0x14a)]??_0x564931(0x14c),'accessKey':_0x1b6466[_0x564931(0x16e)],'authMode':_0x3ce539});}return{'defaults':{'booleans':{'verbose':_0x1b6466[_0x564931(0x177)]},'numbers':{'pagesize':_0x1b6466['defaultPageSize']}},'extras':{'appCode':_0x4b6b78,'cookie':'','apiDomain':_0x1b6466['apiDomain'],'apiDir':'','accessKey':_0x1b6466[_0x564931(0x16e)],'envName':_0x1b6466[_0x564931(0x14a)],'mergedCli':_0x1b6466['mergedCli']}};},async 'confirmHighRisk'({def:_0x52d568,env:_0x5b7b77,flags:_0x2a166f,commandLabel:_0x2b7198}){const _0x50ebf8=a61_0x46b808;if(_0x5b7b77[_0x50ebf8(0x16b)]){const _0x23430e=reconstructCommandArgv(_0x52d568,_0x2a166f);throw CliErrors[_0x50ebf8(0x172)](_0x50ebf8(0x15e)+_0x2b7198+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a'+(_0x50ebf8(0x14d)+_0x23430e));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x52d568,_0x2b7198,_0x2a166f),'createCancelledError':_0x35536e=>CliErrors[_0x50ebf8(0x163)](_0x35536e)});},'mapDryRunError'(_0x5e05f3){return mapUserFacingExecuteError(_0x5e05f3);},'mapExecuteError'(_0x1b4bfd){return mapUserFacingExecuteError(_0x1b4bfd);},async 'finalize'(){const _0x5f35a6=a61_0x46b808,{clearActiveAK:_0x1419a8}=await import(_0x5f35a6(0x164));_0x1419a8();}};function a61_0x3b02(){const _0xc9dd40=['rawFlags','Unknown\x20app:\x20','8CZeeYR','High-risk\x20operation\x20`','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','273396OuMZHk','20jlNMKP','892389SeJCLw','cancelled','../core/api-client.js','ClientAk','command','\x20or\x20pass\x20','newConfigFileName','appCodeSource','Run\x20`','isNonInteractive','currentApp','configMissing','accessKey','find','requiresAppCode','15641073sgLEgf','validation','has','app','appName','Set\x20accessKey\x20in\x20','defaultVerbose','map','84060UolSon','3129114gwlaEG','APPCODE','1024793TpcqkP','items','service','filter','format','riskLevel','appCode','env','pageSize','production','\x20\x20To\x20proceed:\x20','verbose','requiresAuth','local-alias','defaultApp','1368860qarlHi','name','trim','error','authRequired','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','string','appcode','../commands/app/remote-source.js'];a61_0x3b02=function(){return _0xc9dd40;};return a61_0x3b02();}async function resolveExplicitAppName(_0xcff0ec,_0x34b0a5,_0x5b77bb){const _0x2bb9d4=a61_0x46b808;if(_0xcff0ec[_0x2bb9d4(0x170)]===![])return _0x5b77bb;const _0x3a66e1=typeof _0x34b0a5[_0x2bb9d4(0x15b)][_0x2bb9d4(0x174)]===_0x2bb9d4(0x158)?_0x34b0a5[_0x2bb9d4(0x15b)][_0x2bb9d4(0x174)][_0x2bb9d4(0x154)]():'';if(!_0x3a66e1)return _0x5b77bb;const _0x1659e6=typeof _0x34b0a5[_0x2bb9d4(0x15b)][_0x2bb9d4(0x159)]==='string'&&_0x34b0a5['rawFlags']['appcode'][_0x2bb9d4(0x154)]()||productEnv('APPCODE');if(_0x1659e6||_0x34b0a5[_0x2bb9d4(0x169)]===_0x2bb9d4(0x150))return _0x5b77bb;const {getRemoteAppList:_0x2c9638}=await import(_0x2bb9d4(0x15a)),_0x3d0b9e=await _0x2c9638({'env':_0x34b0a5['env']??_0x2bb9d4(0x14c),'accessKey':_0x34b0a5[_0x2bb9d4(0x16e)]}),_0x32bc1b=_0x3d0b9e[_0x2bb9d4(0x144)][_0x2bb9d4(0x16f)](_0x3803d4=>_0x3803d4[_0x2bb9d4(0x175)]===_0x3a66e1),_0x402267=_0x32bc1b?.[_0x2bb9d4(0x149)]?.['trim']();if(_0x402267)return _0x402267;throw CliErrors['validation'](_0x2bb9d4(0x15c)+_0x3a66e1,_0x2bb9d4(0x16a)+CLI_BIN_NAME+_0x2bb9d4(0x157)+_0x3a66e1+'.appcode\x20to\x20'+PRODUCT_CONFIG[_0x2bb9d4(0x168)]+'.');}export async function runCommand(_0x45c7a0,_0x40906d){await runCommandWithAdapter(_0x45c7a0,_0x40906d,runnerAdapter);}
@@ -1 +1 @@
1
- function a58_0x3acf(_0x2e80c0,_0x3a1beb){_0x2e80c0=_0x2e80c0-0x193;const _0x1fc2f6=a58_0x1fc2();let _0x3acfa0=_0x1fc2f6[_0x2e80c0];return _0x3acfa0;}function a58_0x1fc2(){const _0x17a8f4=['1276432YNAsok','8506368KcWLEf','894310ALCXBe','3290292NLaYbS','1877208qYjuxX','3449476kScDBz','../commands/registry.js','22474935CcGBFt'];a58_0x1fc2=function(){return _0x17a8f4;};return a58_0x1fc2();}(function(_0x353bd7,_0x46670b){const _0x3f0cb6=a58_0x3acf,_0x2bf083=_0x353bd7();while(!![]){try{const _0x4c3b2b=-parseInt(_0x3f0cb6(0x195))/0x1+parseInt(_0x3f0cb6(0x199))/0x2+parseInt(_0x3f0cb6(0x194))/0x3+-parseInt(_0x3f0cb6(0x196))/0x4+parseInt(_0x3f0cb6(0x193))/0x5+-parseInt(_0x3f0cb6(0x19a))/0x6+parseInt(_0x3f0cb6(0x198))/0x7;if(_0x4c3b2b===_0x46670b)break;else _0x2bf083['push'](_0x2bf083['shift']());}catch(_0x47b4bd){_0x2bf083['push'](_0x2bf083['shift']());}}}(a58_0x1fc2,0xec24a));import{buildSchemaPayload as a58_0x3825f4}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0xe92227=a58_0x3acf,{serviceRegistry:_0x2208ac,findDefinition:_0x3cca13}=await import(_0xe92227(0x197));return a58_0x3825f4({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x2208ac,'buildAllFlags':buildAllFlags,'findDefinition':_0x3cca13});}
1
+ (function(_0x227c18,_0x5b33f3){const _0x5714e4=a62_0x35f0,_0x4b8a38=_0x227c18();while(!![]){try{const _0x20ec44=parseInt(_0x5714e4(0x6d))/0x1+parseInt(_0x5714e4(0x68))/0x2+-parseInt(_0x5714e4(0x6a))/0x3+-parseInt(_0x5714e4(0x6c))/0x4+parseInt(_0x5714e4(0x6b))/0x5*(-parseInt(_0x5714e4(0x70))/0x6)+parseInt(_0x5714e4(0x6f))/0x7*(-parseInt(_0x5714e4(0x67))/0x8)+-parseInt(_0x5714e4(0x69))/0x9*(-parseInt(_0x5714e4(0x6e))/0xa);if(_0x20ec44===_0x5b33f3)break;else _0x4b8a38['push'](_0x4b8a38['shift']());}catch(_0x2d82cf){_0x4b8a38['push'](_0x4b8a38['shift']());}}}(a62_0x2c6a,0x92e17));import{buildSchemaPayload as a62_0x34efc1}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a62_0x35f0(_0x360bd9,_0x63992a){_0x360bd9=_0x360bd9-0x66;const _0x2c6ac0=a62_0x2c6a();let _0x35f0ea=_0x2c6ac0[_0x360bd9];return _0x35f0ea;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a62_0x2c6a(){const _0x2b6073=['7aEfKsu','30goFLth','../commands/registry.js','8257064JGrnXF','1336938ybCVgS','9zCiyJr','1746876sVDTWl','935015Wmtcas','2988140cZrUaP','328668IFQaWt','29009610OVmksX'];a62_0x2c6a=function(){return _0x2b6073;};return a62_0x2c6a();}export async function buildSchemaPayload(){const _0x595f06=a62_0x35f0,{serviceRegistry:_0x53afc7,findDefinition:_0x4a097d}=await import(_0x595f06(0x66));return a62_0x34efc1({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x53afc7,'buildAllFlags':buildAllFlags,'findDefinition':_0x4a097d});}
@@ -1 +1 @@
1
- function a59_0x3b9e(){var _0x508e78=['458365vFEERc','202cLowlk','2571vYHhZF','110FlwcOl','6bxWAqd','3367JOZkHs','132687BCJJcS','1656858zxycBO','12156Uflwmr','202310YOcfsg','208sFrtHw','408VQWivb','8BxctIy'];a59_0x3b9e=function(){return _0x508e78;};return a59_0x3b9e();}(function(_0x368733,_0xb52800){var _0x1b4d1f=a59_0x28e2,_0x78e2ee=_0x368733();while(!![]){try{var _0x3b2b20=-parseInt(_0x1b4d1f(0x1ac))/0x1*(parseInt(_0x1b4d1f(0x1ab))/0x2)+parseInt(_0x1b4d1f(0x1a8))/0x3*(-parseInt(_0x1b4d1f(0x1a7))/0x4)+-parseInt(_0x1b4d1f(0x1aa))/0x5*(-parseInt(_0x1b4d1f(0x1a1))/0x6)+parseInt(_0x1b4d1f(0x1a4))/0x7+-parseInt(_0x1b4d1f(0x1a9))/0x8*(-parseInt(_0x1b4d1f(0x1a3))/0x9)+-parseInt(_0x1b4d1f(0x1a6))/0xa*(parseInt(_0x1b4d1f(0x1a0))/0xb)+-parseInt(_0x1b4d1f(0x1a5))/0xc*(-parseInt(_0x1b4d1f(0x1a2))/0xd);if(_0x3b2b20===_0xb52800)break;else _0x78e2ee['push'](_0x78e2ee['shift']());}catch(_0x30fd17){_0x78e2ee['push'](_0x78e2ee['shift']());}}}(a59_0x3b9e,0x214e8));function a59_0x28e2(_0x2651f9,_0x2e9681){_0x2651f9=_0x2651f9-0x1a0;var _0x3b9ebe=a59_0x3b9e();var _0x28e27d=_0x3b9ebe[_0x2651f9];return _0x28e27d;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ (function(_0x7e5cf7,_0x57c85a){var _0x2e69e8=a63_0x41e0,_0x6924ea=_0x7e5cf7();while(!![]){try{var _0x5028cb=parseInt(_0x2e69e8(0x9d))/0x1*(-parseInt(_0x2e69e8(0x98))/0x2)+parseInt(_0x2e69e8(0x9b))/0x3*(parseInt(_0x2e69e8(0x9c))/0x4)+parseInt(_0x2e69e8(0x9a))/0x5+-parseInt(_0x2e69e8(0x97))/0x6+-parseInt(_0x2e69e8(0x96))/0x7*(-parseInt(_0x2e69e8(0x9f))/0x8)+parseInt(_0x2e69e8(0x95))/0x9*(-parseInt(_0x2e69e8(0x99))/0xa)+parseInt(_0x2e69e8(0x9e))/0xb;if(_0x5028cb===_0x57c85a)break;else _0x6924ea['push'](_0x6924ea['shift']());}catch(_0x703bdb){_0x6924ea['push'](_0x6924ea['shift']());}}}(a63_0x416a,0x8be2b));function a63_0x41e0(_0x4d44fc,_0x34369a){_0x4d44fc=_0x4d44fc-0x95;var _0x416a69=a63_0x416a();var _0x41e016=_0x416a69[_0x4d44fc];return _0x41e016;}function a63_0x416a(){var _0x3a9f7f=['3065120QvIhUh','246459pVuqal','52ubocYG','1001733OSgEto','10271899fNnNkK','1584536yGStuq','45jpufcz','7IQNUsu','5768310GoITMg','2jddKIb','553600MolrJO'];a63_0x416a=function(){return _0x3a9f7f;};return a63_0x416a();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5b4e2d,_0x288ee){const _0x4a9bfe=a60_0x29b6,_0x48700c=_0x5b4e2d();while(!![]){try{const _0x449924=-parseInt(_0x4a9bfe(0x73))/0x1+parseInt(_0x4a9bfe(0x6b))/0x2+-parseInt(_0x4a9bfe(0x6c))/0x3+-parseInt(_0x4a9bfe(0x71))/0x4*(parseInt(_0x4a9bfe(0x70))/0x5)+parseInt(_0x4a9bfe(0x6f))/0x6*(-parseInt(_0x4a9bfe(0x69))/0x7)+parseInt(_0x4a9bfe(0x6a))/0x8+parseInt(_0x4a9bfe(0x6d))/0x9;if(_0x449924===_0x288ee)break;else _0x48700c['push'](_0x48700c['shift']());}catch(_0x10728d){_0x48700c['push'](_0x48700c['shift']());}}}(a60_0x13a8,0xe7f1c));function a60_0x29b6(_0x5c2fd7,_0x543ef4){_0x5c2fd7=_0x5c2fd7-0x68;const _0x13a846=a60_0x13a8();let _0x29b6ee=_0x13a846[_0x5c2fd7];return _0x29b6ee;}import{jsx as a60_0x38abea,jsxs as a60_0x47f36f}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x496078=a60_0x29b6,{exit:_0x64afe2}=useApp();return useEffect(()=>{_0x64afe2();},[_0x64afe2]),a60_0x47f36f(Box,{'flexDirection':_0x496078(0x68),'marginTop':0x1,'marginBottom':0x1,'children':[a60_0x38abea(Box,{'children':a60_0x38abea(Text,{'bold':!![],'color':_0x496078(0x6e),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a60_0x47f36f(Box,{'marginTop':0x1,'children':[a60_0x38abea(Text,{'dimColor':!![],'children':_0x496078(0x72)}),a60_0x38abea(Text,{'bold':!![],'color':_0x496078(0x6e),'children':CLI_BIN_NAME+'\x20--help'}),a60_0x38abea(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}function a60_0x13a8(){const _0x1c3ed3=['6UZezAq','5ExWIPv','1890664qlbBJJ','\x20\x20Use\x20','1259954reOZlX','column','12317459XlnEvm','6226480cMhPJQ','3434092UrSUjd','2320491hJbige','24483978NvPzAu','green'];a60_0x13a8=function(){return _0x1c3ed3;};return a60_0x13a8();}
1
+ function a64_0x50a4(_0x4938e2,_0x2f7090){_0x4938e2=_0x4938e2-0x98;const _0x63cab7=a64_0x63ca();let _0x50a44f=_0x63cab7[_0x4938e2];return _0x50a44f;}(function(_0x44eb26,_0x4c1ddf){const _0x42f978=a64_0x50a4,_0x5195cf=_0x44eb26();while(!![]){try{const _0x1faf01=parseInt(_0x42f978(0xa1))/0x1*(parseInt(_0x42f978(0x9f))/0x2)+parseInt(_0x42f978(0xa2))/0x3+-parseInt(_0x42f978(0x9d))/0x4+-parseInt(_0x42f978(0x9c))/0x5*(-parseInt(_0x42f978(0xa4))/0x6)+parseInt(_0x42f978(0xa0))/0x7*(-parseInt(_0x42f978(0x9a))/0x8)+parseInt(_0x42f978(0x9b))/0x9*(parseInt(_0x42f978(0x99))/0xa)+-parseInt(_0x42f978(0xa3))/0xb*(parseInt(_0x42f978(0x98))/0xc);if(_0x1faf01===_0x4c1ddf)break;else _0x5195cf['push'](_0x5195cf['shift']());}catch(_0x6d55ce){_0x5195cf['push'](_0x5195cf['shift']());}}}(a64_0x63ca,0x6373d));import{jsx as a64_0x2823d7,jsxs as a64_0x28ff17}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';function a64_0x63ca(){const _0x357358=['2758tPfKIg','604933cIomMB','178rzINlt','2389683HtspAt','22KEEaac','1461162FopmtB','column','green','4556460yFVynW','10DMaYrf','8SKaOVU','3029742mERteE','5rYaoBb','1476008hMibbI','\x20to\x20view\x20available\x20commands.'];a64_0x63ca=function(){return _0x357358;};return a64_0x63ca();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x2c95bb=a64_0x50a4,{exit:_0x32151b}=useApp();return useEffect(()=>{_0x32151b();},[_0x32151b]),a64_0x28ff17(Box,{'flexDirection':_0x2c95bb(0xa5),'marginTop':0x1,'marginBottom':0x1,'children':[a64_0x2823d7(Box,{'children':a64_0x2823d7(Text,{'bold':!![],'color':_0x2c95bb(0xa6),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a64_0x28ff17(Box,{'marginTop':0x1,'children':[a64_0x2823d7(Text,{'dimColor':!![],'children':'\x20\x20Use\x20'}),a64_0x2823d7(Text,{'bold':!![],'color':_0x2c95bb(0xa6),'children':CLI_BIN_NAME+'\x20--help'}),a64_0x2823d7(Text,{'dimColor':!![],'children':_0x2c95bb(0x9e)})]})]});}
@@ -1 +1 @@
1
- const a61_0x2002f3=a61_0x4a36;(function(_0xaedc36,_0x12105e){const _0x3193ad=a61_0x4a36,_0x2c9f15=_0xaedc36();while(!![]){try{const _0x27a230=parseInt(_0x3193ad(0x201))/0x1*(parseInt(_0x3193ad(0x1fd))/0x2)+-parseInt(_0x3193ad(0x1f3))/0x3*(parseInt(_0x3193ad(0x1f9))/0x4)+parseInt(_0x3193ad(0x1fc))/0x5+parseInt(_0x3193ad(0x1eb))/0x6*(parseInt(_0x3193ad(0x1fe))/0x7)+parseInt(_0x3193ad(0x202))/0x8+parseInt(_0x3193ad(0x1f8))/0x9+-parseInt(_0x3193ad(0x1fa))/0xa*(parseInt(_0x3193ad(0x1f0))/0xb);if(_0x27a230===_0x12105e)break;else _0x2c9f15['push'](_0x2c9f15['shift']());}catch(_0x48f6cd){_0x2c9f15['push'](_0x2c9f15['shift']());}}}(a61_0x3171,0x4cdd3));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a61_0x3171(){const _0x2e57d8=['stdio','toString','npx','4149603NiUxkh','66644cutSqI','325880ohUdcN','skipNpxSkillsEnvSuffix','3091570lQJyYV','980062VeovUX','469HVDwzo','unknown','join','1qDaxme','4561552nwzVdL','37512EfyAwK','status','trim','stdout','log','583fmGCrJ','exit\x20','inherit','93fhzkNh','stderr'];a61_0x3171=function(){return _0x2e57d8;};return a61_0x3171();}import{LOVRABET_SKILL_SOURCE as a61_0x5d3671}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a61_0x5d3671;function a61_0x4a36(_0x7e12af,_0x2dcfe2){_0x7e12af=_0x7e12af-0x1eb;const _0x317175=a61_0x3171();let _0x4a3651=_0x317175[_0x7e12af];return _0x4a3651;}export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a61_0x2002f3(0x1fb)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0xb0cae7,_0x2f7f13=LOVRABET_SKILL_SOURCE,_0x2945b5){const _0x50e997=a61_0x2002f3;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5eac9a=_0x2945b5?.[_0x50e997(0x1f5)]??_0x50e997(0x1f2),_0x57ce09=resolveNpmBin(_0x50e997(0x1f7)),_0x220848=['skills','add',_0x2f7f13,'-g','-y'],_0x11e2e0=[_0x57ce09,..._0x220848][_0x50e997(0x200)]('\x20');console[_0x50e997(0x1ef)]('*\x20'+_0x11e2e0);const _0x52a96e=spawnSync(_0x57ce09,_0x220848,{'cwd':_0xb0cae7,'stdio':_0x5eac9a,'env':process.env,'shell':![]});if(_0x52a96e['status']===0x0)return{'ok':!![],'status':0x0};let _0x399da9=_0x50e997(0x1f1)+(_0x52a96e['status']??_0x50e997(0x1ff));if(_0x5eac9a==='pipe'){const _0x2c0140=_0x52a96e[_0x50e997(0x1f4)]?_0x52a96e[_0x50e997(0x1f4)][_0x50e997(0x1f6)]()[_0x50e997(0x1ed)]():'',_0x5ec090=_0x52a96e[_0x50e997(0x1ee)]?_0x52a96e[_0x50e997(0x1ee)][_0x50e997(0x1f6)]()['trim']():'';if(_0x2c0140)_0x399da9=_0x2c0140;else{if(_0x5ec090)_0x399da9=_0x5ec090;}}return{'ok':![],'status':_0x52a96e[_0x50e997(0x1ec)]??null,'error':_0x399da9};}
1
+ const a65_0x54abcb=a65_0xc070;(function(_0x1bcd9b,_0x3a59c3){const _0x3d6ca4=a65_0xc070,_0xf746f9=_0x1bcd9b();while(!![]){try{const _0x3486f0=-parseInt(_0x3d6ca4(0x148))/0x1*(parseInt(_0x3d6ca4(0x147))/0x2)+parseInt(_0x3d6ca4(0x13e))/0x3*(-parseInt(_0x3d6ca4(0x14c))/0x4)+parseInt(_0x3d6ca4(0x143))/0x5+-parseInt(_0x3d6ca4(0x141))/0x6*(parseInt(_0x3d6ca4(0x146))/0x7)+-parseInt(_0x3d6ca4(0x144))/0x8+parseInt(_0x3d6ca4(0x13c))/0x9+parseInt(_0x3d6ca4(0x14a))/0xa*(parseInt(_0x3d6ca4(0x138))/0xb);if(_0x3486f0===_0x3a59c3)break;else _0xf746f9['push'](_0xf746f9['shift']());}catch(_0xba1fad){_0xf746f9['push'](_0xf746f9['shift']());}}}(a65_0x3b26,0x6c8e3));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a65_0x37f03f}from'../constant/distribution.js';function a65_0x3b26(){const _0x4ec1dc=['inherit','12TLmdTS','pipe','status','572zsKNPP','stdout','unknown','npx','2610342ttaBmD','stderr','349077dkjDXC','skipNpxSkillsEnvSuffix','trim','6NRihVX','join','1127115XMtcHN','1688776gtHcst','toString','2879639excrEC','5142SrGdfx','5HOadhc','exit\x20','175690ZDTeaa'];a65_0x3b26=function(){return _0x4ec1dc;};return a65_0x3b26();}function a65_0xc070(_0x3aac79,_0x4b76d1){_0x3aac79=_0x3aac79-0x136;const _0x3b26d1=a65_0x3b26();let _0xc07083=_0x3b26d1[_0x3aac79];return _0xc07083;}import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a65_0x37f03f;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a65_0x54abcb(0x13f)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x541ce8,_0x27e3e8=LOVRABET_SKILL_SOURCE,_0x544a3c){const _0x1b9765=a65_0x54abcb;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5020f4=_0x544a3c?.['stdio']??_0x1b9765(0x14b),_0x27ef8c=resolveNpmBin(_0x1b9765(0x13b)),_0x3d53b2=['skills','add',_0x27e3e8,'-g','-y'],_0x26e84d=[_0x27ef8c,..._0x3d53b2][_0x1b9765(0x142)]('\x20');console['log']('*\x20'+_0x26e84d);const _0x6c1d13=spawnSync(_0x27ef8c,_0x3d53b2,{'cwd':_0x541ce8,'stdio':_0x5020f4,'env':process.env,'shell':![]});if(_0x6c1d13[_0x1b9765(0x137)]===0x0)return{'ok':!![],'status':0x0};let _0x1aab21=_0x1b9765(0x149)+(_0x6c1d13[_0x1b9765(0x137)]??_0x1b9765(0x13a));if(_0x5020f4===_0x1b9765(0x136)){const _0x5f5354=_0x6c1d13[_0x1b9765(0x13d)]?_0x6c1d13[_0x1b9765(0x13d)][_0x1b9765(0x145)]()[_0x1b9765(0x140)]():'',_0x48eb40=_0x6c1d13[_0x1b9765(0x139)]?_0x6c1d13[_0x1b9765(0x139)]['toString']()[_0x1b9765(0x140)]():'';if(_0x5f5354)_0x1aab21=_0x5f5354;else{if(_0x48eb40)_0x1aab21=_0x48eb40;}}return{'ok':![],'status':_0x6c1d13[_0x1b9765(0x137)]??null,'error':_0x1aab21};}