@lovrabet/lovrabet-cli 2.1.18-beta.3 → 2.1.18

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 (126) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schedule/index.js +1 -1
  39. package/lib/commands/schema.js +1 -1
  40. package/lib/commands/service/dynamic.js +1 -1
  41. package/lib/commands/service/function-name-adapter.js +1 -1
  42. package/lib/commands/service/index.js +1 -1
  43. package/lib/commands/service/registry.js +1 -1
  44. package/lib/commands/skill/commands/create.js +1 -1
  45. package/lib/commands/skill/commands/install.js +1 -1
  46. package/lib/commands/skill/commands/list.js +1 -1
  47. package/lib/commands/skill/commands/push.js +1 -1
  48. package/lib/commands/skill/commands/validate.js +1 -1
  49. package/lib/commands/skill/flags.js +1 -1
  50. package/lib/commands/skill/index.js +1 -1
  51. package/lib/commands/skill/manifest-helpers.js +1 -1
  52. package/lib/commands/skill/push-execute.js +1 -1
  53. package/lib/commands/skill/push-flow-helpers.js +1 -1
  54. package/lib/commands/skill/push-retarget.js +1 -1
  55. package/lib/commands/skill/scopes.js +1 -1
  56. package/lib/commands/skill/summary.js +1 -1
  57. package/lib/commands/skill/templates.js +1 -1
  58. package/lib/commands/skill/validate.js +1 -1
  59. package/lib/commands/sql/detail.js +1 -1
  60. package/lib/commands/sql/exec.js +1 -1
  61. package/lib/commands/sql/index.js +1 -1
  62. package/lib/commands/update.js +1 -1
  63. package/lib/commands/workspace/index.js +1 -1
  64. package/lib/config/schema.js +1 -1
  65. package/lib/constant/app.js +1 -1
  66. package/lib/constant/auth-mode.js +1 -1
  67. package/lib/constant/cli.js +1 -1
  68. package/lib/constant/defaults.js +1 -1
  69. package/lib/constant/distribution.js +1 -1
  70. package/lib/constant/domain.js +1 -1
  71. package/lib/constant/env.js +1 -1
  72. package/lib/constant/output.js +1 -1
  73. package/lib/constant/product.js +1 -1
  74. package/lib/constant/risk.js +1 -1
  75. package/lib/constant/url.js +1 -1
  76. package/lib/context.js +1 -1
  77. package/lib/core/api-client.js +1 -1
  78. package/lib/core/db-resolver.js +1 -1
  79. package/lib/core/sdk-client.js +1 -1
  80. package/lib/errors.js +1 -1
  81. package/lib/framework/build-all-flags.js +1 -1
  82. package/lib/framework/dryrun.js +1 -1
  83. package/lib/framework/flags.js +1 -1
  84. package/lib/framework/help.js +1 -1
  85. package/lib/framework/index.js +1 -1
  86. package/lib/framework/output.js +1 -1
  87. package/lib/framework/preparse.js +1 -1
  88. package/lib/framework/rate-limit.js +1 -1
  89. package/lib/framework/response.js +1 -1
  90. package/lib/framework/runner-confirmation.js +1 -1
  91. package/lib/framework/runner-error.js +1 -1
  92. package/lib/framework/runner.js +1 -1
  93. package/lib/framework/schema-export.js +1 -1
  94. package/lib/framework/service-order.js +1 -1
  95. package/lib/framework/types.js +1 -1
  96. package/lib/generated/build-info.d.ts +3 -3
  97. package/lib/generated/build-info.js +1 -1
  98. package/lib/help.js +1 -1
  99. package/lib/runtime/event.js +1 -1
  100. package/lib/runtime/index.js +1 -1
  101. package/lib/runtime/queue.js +1 -1
  102. package/lib/runtime/resolve.js +1 -1
  103. package/lib/skills/npx-skills-add.js +1 -1
  104. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  105. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  106. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  107. package/lib/skills/runtime-skill-sync/links.js +1 -1
  108. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  109. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  110. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  111. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  112. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  113. package/lib/skills/runtime-skill-sync/push.js +1 -1
  114. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  115. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  116. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  117. package/lib/skills/runtime-skill-sync.js +1 -1
  118. package/lib/utils/apply-jq-filter.js +1 -1
  119. package/lib/utils/logger.js +1 -1
  120. package/lib/utils/lossless-json.js +1 -1
  121. package/lib/utils/params.js +1 -1
  122. package/lib/utils/platform.js +1 -1
  123. package/lib/utils/update-notice.js +1 -1
  124. package/lib/utils/version.js +1 -1
  125. package/lib/utils/write-cli-side-channel.js +1 -1
  126. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x5dbcb9,_0x5e5134){const _0x272cb3=a83_0x2fc5,_0x1f6eb0=_0x5dbcb9();while(!![]){try{const _0x4d4f08=parseInt(_0x272cb3(0xb5))/0x1+-parseInt(_0x272cb3(0xae))/0x2*(parseInt(_0x272cb3(0xba))/0x3)+parseInt(_0x272cb3(0xbb))/0x4*(parseInt(_0x272cb3(0xbd))/0x5)+-parseInt(_0x272cb3(0xb1))/0x6*(parseInt(_0x272cb3(0xbf))/0x7)+-parseInt(_0x272cb3(0xaa))/0x8*(-parseInt(_0x272cb3(0xb6))/0x9)+-parseInt(_0x272cb3(0xb3))/0xa*(-parseInt(_0x272cb3(0xb0))/0xb)+parseInt(_0x272cb3(0xac))/0xc*(-parseInt(_0x272cb3(0xaf))/0xd);if(_0x4d4f08===_0x5e5134)break;else _0x1f6eb0['push'](_0x1f6eb0['shift']());}catch(_0x46ab09){_0x1f6eb0['push'](_0x1f6eb0['shift']());}}}(a83_0x5f5d,0x58761));function a83_0x5f5d(){const _0x4488f3=['33Cinxwb','4134THLcAe','map','1378630vfnTrO','newConfigFileName','353632jykXAZ','222228kTlNHd','service','Requires\x20appcode\x20(set\x20via\x20','filter','3sUMeIG','2148ShTBBx','generateCommandHelp','2705QVECvI','get','1813mqLTuG','generateFullHelp','160gTKotd','has','12vVyDZU','generateServiceHelp','1262914TDTgeU','4931329mnDWZZ'];a83_0x5f5d=function(){return _0x4488f3;};return a83_0x5f5d();}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a83_0x2fc5(_0x5c239a,_0x303879){_0x5c239a=_0x5c239a-0xaa;const _0x5f5da1=a83_0x5f5d();let _0x2fc593=_0x5f5da1[_0x5c239a];return _0x2fc593;}import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x14513b=a83_0x2fc5;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x14513b(0xb8)+PRODUCT_CONFIG[_0x14513b(0xb4)]+'\x20or\x20--appcode).'});}export function generateCommandHelp(_0x46d4c5){const _0x49099e=a83_0x2fc5;return createGenerators()[_0x49099e(0xbc)](_0x46d4c5);}export function generateServiceHelp(_0x4a71ad){const _0x461b3f=a83_0x2fc5;return createGenerators()[_0x461b3f(0xad)](_0x4a71ad);}export function generateFullHelp(){const _0x38120d=a83_0x2fc5;return createGenerators()[_0x38120d(0xc0)]();}function getAnyServiceEntry(_0x2f6cd6){const _0x5b1f6d=getServiceEntry(_0x2f6cd6);if(_0x5b1f6d)return _0x5b1f6d;try{return getDynamicServiceEntry(_0x2f6cd6);}catch{return undefined;}}function getAnyServiceDefinitions(_0x55837e){const _0x13aba4=a83_0x2fc5,_0x1a3bc8=serviceGroups[_0x13aba4(0xbe)](_0x55837e);if(_0x1a3bc8)return _0x1a3bc8;try{return getDynamicServiceDefinitions(_0x55837e);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x4da4dc=a83_0x2fc5,_0x3c1764=new Set(serviceRegistry[_0x4da4dc(0xb2)](_0x58a0c5=>_0x58a0c5[_0x4da4dc(0xb7)]));try{return listDynamicServiceEntries()[_0x4da4dc(0xb9)](_0xa788c2=>!_0x3c1764[_0x4da4dc(0xab)](_0xa788c2[_0x4da4dc(0xb7)]));}catch{return[];}}
1
+ function a83_0x43b9(_0x55bc7f,_0x54d188){_0x55bc7f=_0x55bc7f-0x186;const _0x5a11a1=a83_0x5a11();let _0x43b9b1=_0x5a11a1[_0x55bc7f];return _0x43b9b1;}(function(_0x17a7d2,_0x1d2119){const _0x473fd9=a83_0x43b9,_0x5ea50e=_0x17a7d2();while(!![]){try{const _0x5078ea=-parseInt(_0x473fd9(0x18a))/0x1+-parseInt(_0x473fd9(0x187))/0x2+parseInt(_0x473fd9(0x194))/0x3+-parseInt(_0x473fd9(0x195))/0x4*(-parseInt(_0x473fd9(0x18f))/0x5)+-parseInt(_0x473fd9(0x18c))/0x6*(parseInt(_0x473fd9(0x188))/0x7)+parseInt(_0x473fd9(0x18b))/0x8+parseInt(_0x473fd9(0x192))/0x9;if(_0x5078ea===_0x1d2119)break;else _0x5ea50e['push'](_0x5ea50e['shift']());}catch(_0x2e0465){_0x5ea50e['push'](_0x5ea50e['shift']());}}}(a83_0x5a11,0x774bd));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a83_0x5a11(){const _0x4f0090=['1521195nXzVOR','3147252YKhDlj','get','has','generateCommandHelp','1856984XTQNiZ','6244VboTRL','generateServiceHelp','554868qmAEhh','2124176NncxDe','6006RurkXX','map','service','5kKsbrm','filter','Requires\x20appcode\x20(set\x20via\x20','11749401CHxIkH','newConfigFileName'];a83_0x5a11=function(){return _0x4f0090;};return a83_0x5a11();}import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x56dd34=a83_0x43b9;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x56dd34(0x191)+PRODUCT_CONFIG[_0x56dd34(0x193)]+'\x20or\x20--appcode).'});}export function generateCommandHelp(_0x1a5f9d){const _0xad45e9=a83_0x43b9;return createGenerators()[_0xad45e9(0x186)](_0x1a5f9d);}export function generateServiceHelp(_0x301304){const _0x377bfc=a83_0x43b9;return createGenerators()[_0x377bfc(0x189)](_0x301304);}export function generateFullHelp(){return createGenerators()['generateFullHelp']();}function getAnyServiceEntry(_0x28c766){const _0x1bdb58=getServiceEntry(_0x28c766);if(_0x1bdb58)return _0x1bdb58;try{return getDynamicServiceEntry(_0x28c766);}catch{return undefined;}}function getAnyServiceDefinitions(_0x175a9a){const _0x22ea89=a83_0x43b9,_0x40b26b=serviceGroups[_0x22ea89(0x196)](_0x175a9a);if(_0x40b26b)return _0x40b26b;try{return getDynamicServiceDefinitions(_0x175a9a);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x3cabfd=a83_0x43b9,_0x38848a=new Set(serviceRegistry[_0x3cabfd(0x18d)](_0x429f6b=>_0x429f6b['service']));try{return listDynamicServiceEntries()[_0x3cabfd(0x190)](_0x1f6b53=>!_0x38848a[_0x3cabfd(0x197)](_0x1f6b53[_0x3cabfd(0x18e)]));}catch{return[];}}
@@ -1 +1 @@
1
- (function(_0x49f321,_0x3baa7c){var _0x4edd54=a84_0x1e7d,_0x4fe376=_0x49f321();while(!![]){try{var _0x31f26e=parseInt(_0x4edd54(0x90))/0x1*(parseInt(_0x4edd54(0x8c))/0x2)+parseInt(_0x4edd54(0x91))/0x3*(-parseInt(_0x4edd54(0x8b))/0x4)+parseInt(_0x4edd54(0x8f))/0x5*(parseInt(_0x4edd54(0x8a))/0x6)+parseInt(_0x4edd54(0x89))/0x7+-parseInt(_0x4edd54(0x92))/0x8*(-parseInt(_0x4edd54(0x87))/0x9)+parseInt(_0x4edd54(0x8e))/0xa+parseInt(_0x4edd54(0x8d))/0xb*(-parseInt(_0x4edd54(0x88))/0xc);if(_0x31f26e===_0x3baa7c)break;else _0x4fe376['push'](_0x4fe376['shift']());}catch(_0x1f06b5){_0x4fe376['push'](_0x4fe376['shift']());}}}(a84_0x35e2,0xa2786));export{runCommand}from'../framework/runner.js';function a84_0x1e7d(_0xf45c1c,_0x4c38a0){_0xf45c1c=_0xf45c1c-0x87;var _0x35e2fa=a84_0x35e2();var _0x1e7d20=_0x35e2fa[_0xf45c1c];return _0x1e7d20;}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a84_0x35e2(){var _0x499692=['9SLpfpM','300ftXHdN','340529GZYBIn','210QOuUyb','25372pQzwsw','664pDNWfm','926255uejnAp','12970760KpzpNn','155355pzLCYd','564PfCIsl','498YXWklk','9624680XYyCxQ'];a84_0x35e2=function(){return _0x499692;};return a84_0x35e2();}export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
1
+ (function(_0x1d3ae3,_0x39c787){var _0x1c8d7f=a84_0x3c47,_0x5dac26=_0x1d3ae3();while(!![]){try{var _0x22a99=parseInt(_0x1c8d7f(0xe5))/0x1+-parseInt(_0x1c8d7f(0xe2))/0x2*(-parseInt(_0x1c8d7f(0xe3))/0x3)+parseInt(_0x1c8d7f(0xdf))/0x4*(-parseInt(_0x1c8d7f(0xde))/0x5)+-parseInt(_0x1c8d7f(0xe1))/0x6*(parseInt(_0x1c8d7f(0xdb))/0x7)+parseInt(_0x1c8d7f(0xdc))/0x8+parseInt(_0x1c8d7f(0xdd))/0x9+parseInt(_0x1c8d7f(0xe4))/0xa*(parseInt(_0x1c8d7f(0xe0))/0xb);if(_0x22a99===_0x39c787)break;else _0x5dac26['push'](_0x5dac26['shift']());}catch(_0x3e9a35){_0x5dac26['push'](_0x5dac26['shift']());}}}(a84_0x1160,0xb8ef6));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a84_0x3c47(_0x241aff,_0x45d0d4){_0x241aff=_0x241aff-0xdb;var _0x11602b=a84_0x1160();var _0x3c4759=_0x11602b[_0x241aff];return _0x3c4759;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a84_0x1160(){var _0x254eab=['26uHNtDd','59205CnKWqg','3366790RnMgtO','661496vCBxQN','49CbZKWn','864600hXsNri','8456895BGizto','7120205IiLtHL','4LXQNZy','33fjaAcH','680814ejRLoV'];a84_0x1160=function(){return _0x254eab;};return a84_0x1160();}export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x3871e0,_0x572c06){const _0x28c8df=a85_0x3999,_0x439d88=_0x3871e0();while(!![]){try{const _0x456331=-parseInt(_0x28c8df(0x1d8))/0x1+-parseInt(_0x28c8df(0x1d3))/0x2*(-parseInt(_0x28c8df(0x1cc))/0x3)+-parseInt(_0x28c8df(0x1d7))/0x4+-parseInt(_0x28c8df(0x1d4))/0x5+-parseInt(_0x28c8df(0x1d0))/0x6+-parseInt(_0x28c8df(0x1d5))/0x7+-parseInt(_0x28c8df(0x1ce))/0x8*(-parseInt(_0x28c8df(0x1d6))/0x9);if(_0x456331===_0x572c06)break;else _0x439d88['push'](_0x439d88['shift']());}catch(_0x27d27f){_0x439d88['push'](_0x439d88['shift']());}}}(a85_0x171a,0x631a4));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x44694c,_0x5685f9){const _0x29430c=a85_0x3999,_0x345e86=_0x44694c['_notice'],{_notice:_0x16ae37,..._0x5f5c38}=_0x44694c;void _0x16ae37,baseFormatOutput(_0x5f5c38,_0x5685f9),_0x5685f9[_0x29430c(0x1cd)]==='pretty'&&printPrettyNotice(_0x345e86);}function a85_0x3999(_0x4902ad,_0x7a41e6){_0x4902ad=_0x4902ad-0x1cc;const _0x171a57=a85_0x171a();let _0x3999f7=_0x171a57[_0x4902ad];return _0x3999f7;}function a85_0x171a(){const _0x29135d=['9232WelSeT','message','2148318MJpcah','update','error','396534DcqkZu','3788300nZMeBF','2151695vjJeIk','15192SjIphg','2024804xVVJvV','207530PrHVow','9tehgqw','format'];a85_0x171a=function(){return _0x29135d;};return a85_0x171a();}function printPrettyNotice(_0x248690){const _0x3cc37b=a85_0x3999;if(!_0x248690?.['update'])return;console[_0x3cc37b(0x1d2)](_0x248690[_0x3cc37b(0x1d1)][_0x3cc37b(0x1cf)]+'\x20('+_0x248690[_0x3cc37b(0x1d1)]['url']+')');}
1
+ (function(_0x7f1503,_0x2f24a5){const _0x97dea2=a85_0x563b,_0x15dd6b=_0x7f1503();while(!![]){try{const _0x34c155=-parseInt(_0x97dea2(0xa2))/0x1*(-parseInt(_0x97dea2(0x9f))/0x2)+-parseInt(_0x97dea2(0x9b))/0x3+-parseInt(_0x97dea2(0xa8))/0x4*(parseInt(_0x97dea2(0xad))/0x5)+parseInt(_0x97dea2(0xa9))/0x6*(-parseInt(_0x97dea2(0xa1))/0x7)+parseInt(_0x97dea2(0xa5))/0x8*(parseInt(_0x97dea2(0xa4))/0x9)+-parseInt(_0x97dea2(0xab))/0xa*(-parseInt(_0x97dea2(0xa0))/0xb)+parseInt(_0x97dea2(0xa7))/0xc*(parseInt(_0x97dea2(0x9c))/0xd);if(_0x34c155===_0x2f24a5)break;else _0x15dd6b['push'](_0x15dd6b['shift']());}catch(_0x2867d5){_0x15dd6b['push'](_0x15dd6b['shift']());}}}(a85_0x53c2,0xb5a7d));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a85_0x53c2(){const _0x450851=['error','3156924AghXPe','644sBkAMa','566658SXmBNP','format','20bFRYpk','update','31975cpMrXj','4245420NODqLy','13NPyypH','_notice','url','37208mQSnZA','4121293CwSrpT','14Bmcpeo','58qzgGHg','pretty','2889SxleqN','32056FPNOsL'];a85_0x53c2=function(){return _0x450851;};return a85_0x53c2();}function a85_0x563b(_0x15852a,_0x10bcef){_0x15852a=_0x15852a-0x9b;const _0x53c28a=a85_0x53c2();let _0x563be9=_0x53c28a[_0x15852a];return _0x563be9;}export function formatOutput(_0x53f9d4,_0x419c22){const _0x5b43ec=a85_0x563b,_0xab926d=_0x53f9d4[_0x5b43ec(0x9d)],{_notice:_0x1fb54e,..._0x5e938c}=_0x53f9d4;void _0x1fb54e,baseFormatOutput(_0x5e938c,_0x419c22),_0x419c22[_0x5b43ec(0xaa)]===_0x5b43ec(0xa3)&&printPrettyNotice(_0xab926d);}function printPrettyNotice(_0x5aff56){const _0x244dd4=a85_0x563b;if(!_0x5aff56?.[_0x244dd4(0xac)])return;console[_0x244dd4(0xa6)](_0x5aff56[_0x244dd4(0xac)]['message']+'\x20('+_0x5aff56['update'][_0x244dd4(0x9e)]+')');}
@@ -1 +1 @@
1
- (function(_0x2617d8,_0x25dabd){const _0x1b296e=a86_0x18a8,_0x4753b5=_0x2617d8();while(!![]){try{const _0x313a6d=-parseInt(_0x1b296e(0xc0))/0x1*(-parseInt(_0x1b296e(0xba))/0x2)+parseInt(_0x1b296e(0xa3))/0x3+-parseInt(_0x1b296e(0xac))/0x4+-parseInt(_0x1b296e(0xa5))/0x5+parseInt(_0x1b296e(0xbd))/0x6*(-parseInt(_0x1b296e(0xb7))/0x7)+-parseInt(_0x1b296e(0xbf))/0x8*(-parseInt(_0x1b296e(0xae))/0x9)+parseInt(_0x1b296e(0xa9))/0xa*(parseInt(_0x1b296e(0xb3))/0xb);if(_0x313a6d===_0x25dabd)break;else _0x4753b5['push'](_0x4753b5['shift']());}catch(_0x41bb84){_0x4753b5['push'](_0x4753b5['shift']());}}}(a86_0x5d5e,0xcd163));function toKebab(_0x4f1d37){const _0x1c0c97=a86_0x18a8;return _0x4f1d37[_0x1c0c97(0xa2)](/_/g,'-')['replace'](/-([A-Z]+)/g,(_0x301fc8,_0x20b044)=>'-'+_0x20b044['toLowerCase']())[_0x1c0c97(0xa2)](/([a-z0-9])([A-Z])/g,(_0x50dd6a,_0x491784,_0x385208)=>_0x491784+'-'+_0x385208)['toLowerCase']();}function buildKnownFlags(_0x51c215){const _0x593b87=a86_0x18a8,_0x314f42=new Set();for(const _0x4941b7 of _0x51c215){_0x314f42[_0x593b87(0xa0)](_0x4941b7[_0x593b87(0xab)]),_0x314f42[_0x593b87(0xa0)](toCamelCase(_0x4941b7[_0x593b87(0xab)]));}for(const _0x15e946 of[_0x593b87(0xb2),'dryRun',_0x593b87(0xb8),'format']){_0x314f42[_0x593b87(0xa0)](_0x15e946);}for(const _0x496270 of[_0x593b87(0xb6),_0x593b87(0xbe),_0x593b87(0xbc),_0x593b87(0xaa),_0x593b87(0xb1),_0x593b87(0xb0),'ci','global','version']){_0x314f42[_0x593b87(0xa0)](_0x496270);}return _0x314f42;}function a86_0x5d5e(){const _0x4fc741=['3218247MMUpLK','corrected','non-interactive','nonInteractive','dry-run','11eNdXjp','length','has','help','7wGdeZl','yes','number','26ruXsxD','get','appcode','4506126NKTZHp','env','24PbMHmG','27609bjLMXz','type','slice','keys','alias','add','set','replace','978414DlYxht','string','6425150wTRYLM','boolean','push','indexOf','25864630OlHrGA','app','name','5872724zMVaHU','original'];a86_0x5d5e=function(){return _0x4fc741;};return a86_0x5d5e();}function buildFlagTypeMap(_0x199f86){const _0x23e583=a86_0x18a8,_0x5bd3e2=new Map();for(const _0x1b7639 of _0x199f86){_0x5bd3e2[_0x23e583(0xa1)](_0x1b7639[_0x23e583(0xab)],_0x1b7639['type']),_0x5bd3e2['set'](toCamelCase(_0x1b7639[_0x23e583(0xab)]),_0x1b7639[_0x23e583(0x9c)]);}return _0x5bd3e2;}function toCamelCase(_0x10faf8){const _0x5367ca=a86_0x18a8;return _0x10faf8[_0x5367ca(0xa2)](/-([a-z])/g,(_0x391913,_0x3e5a4e)=>_0x3e5a4e['toUpperCase']());}function a86_0x18a8(_0x2dc087,_0x14eb0d){_0x2dc087=_0x2dc087-0x9c;const _0x5d5e20=a86_0x5d5e();let _0x18a870=_0x5d5e20[_0x2dc087];return _0x18a870;}function aliasHandler(_0x4ad0d9,_0x397b49){const _0x129e2a=a86_0x18a8,_0x53a205=[];for(const _0x4fbffc of Object[_0x129e2a(0x9e)](_0x4ad0d9)){if(_0x397b49[_0x129e2a(0xb5)](_0x4fbffc))continue;const _0x16c877=toKebab(_0x4fbffc);_0x16c877!==_0x4fbffc&&_0x397b49[_0x129e2a(0xb5)](_0x16c877)&&_0x53a205[_0x129e2a(0xa7)]({'original':_0x4fbffc,'corrected':_0x16c877,'handler':_0x129e2a(0x9f)});}return _0x53a205;}function stickyHandler(_0x5355a8,_0x4dd27c,_0xa04446){const _0x1a22ac=a86_0x18a8,_0x1346f9=[];for(const [_0x4d1fd2,_0x531804]of Object['entries'](_0x5355a8)){if(_0x531804!==!![])continue;for(let _0x202ccd=_0x4d1fd2[_0x1a22ac(0xb4)]-0x1;_0x202ccd>0x0;_0x202ccd--){const _0x940779=_0x4d1fd2[_0x1a22ac(0x9d)](0x0,_0x202ccd),_0x58fbc8=_0x4d1fd2['slice'](_0x202ccd),_0x54a44b=toKebab(_0x940779),_0xfed992=toCamelCase(_0x940779),_0x30b859=_0x4dd27c[_0x1a22ac(0xb5)](_0x940779)?_0x940779:_0x4dd27c[_0x1a22ac(0xb5)](_0x54a44b)?_0x54a44b:_0x4dd27c[_0x1a22ac(0xb5)](_0xfed992)?_0xfed992:null;if(!_0x30b859)continue;const _0x49f871=_0xa04446[_0x1a22ac(0xbb)](_0x30b859)??_0x1a22ac(0xa4);let _0x4361ff;if(_0x49f871===_0x1a22ac(0xb9)){const _0x5b2eea=Number(_0x58fbc8);if(isNaN(_0x5b2eea)||_0x58fbc8==='')continue;_0x4361ff=_0x5b2eea;}else{if(_0x49f871===_0x1a22ac(0xa6))continue;else{if(_0x58fbc8==='')continue;_0x4361ff=_0x58fbc8;}}_0x1346f9[_0x1a22ac(0xa7)]({'original':_0x4d1fd2,'corrected':_0x30b859+'='+_0x4361ff,'handler':'sticky'});break;}}return _0x1346f9;}export function correctFlags(_0x1fcc37,_0x37c0a4){const _0x4e5402=a86_0x18a8,_0x19375e=buildKnownFlags(_0x37c0a4),_0x425e16=buildFlagTypeMap(_0x37c0a4),_0x3f2577=aliasHandler(_0x1fcc37,_0x19375e),_0x252815=stickyHandler(_0x1fcc37,_0x19375e,_0x425e16),_0x822640=[..._0x3f2577,..._0x252815];if(_0x822640['length']===0x0)return{'flags':_0x1fcc37,'corrections':[]};const _0x53d85c={..._0x1fcc37},_0x17c0b4=new Set();for(const _0x377128 of _0x3f2577){_0x53d85c[_0x377128[_0x4e5402(0xaf)]]=_0x1fcc37[_0x377128['original']],_0x17c0b4['add'](_0x377128['original']);}for(const _0x4ffcab of _0x252815){const _0x5d58a3=_0x4ffcab[_0x4e5402(0xaf)][_0x4e5402(0xa8)]('='),_0x5aef73=_0x4ffcab['corrected'][_0x4e5402(0x9d)](0x0,_0x5d58a3),_0x4098ab=_0x4ffcab['corrected'][_0x4e5402(0x9d)](_0x5d58a3+0x1),_0x53d4a9=_0x425e16[_0x4e5402(0xbb)](_0x5aef73)??_0x4e5402(0xa4);_0x53d4a9===_0x4e5402(0xb9)?_0x53d85c[_0x5aef73]=Number(_0x4098ab):_0x53d85c[_0x5aef73]=_0x4098ab,_0x17c0b4[_0x4e5402(0xa0)](_0x4ffcab[_0x4e5402(0xad)]);}for(const _0x5b9571 of _0x17c0b4){delete _0x53d85c[_0x5b9571];}return{'flags':_0x53d85c,'corrections':_0x822640};}
1
+ (function(_0x5508e3,_0xd23bfa){const _0x1ee128=a86_0x30eb,_0x553cc9=_0x5508e3();while(!![]){try{const _0x33a050=-parseInt(_0x1ee128(0x18c))/0x1*(parseInt(_0x1ee128(0x189))/0x2)+-parseInt(_0x1ee128(0x179))/0x3*(-parseInt(_0x1ee128(0x17f))/0x4)+-parseInt(_0x1ee128(0x187))/0x5*(parseInt(_0x1ee128(0x18f))/0x6)+parseInt(_0x1ee128(0x197))/0x7*(parseInt(_0x1ee128(0x177))/0x8)+parseInt(_0x1ee128(0x190))/0x9*(parseInt(_0x1ee128(0x193))/0xa)+-parseInt(_0x1ee128(0x198))/0xb*(-parseInt(_0x1ee128(0x180))/0xc)+-parseInt(_0x1ee128(0x195))/0xd;if(_0x33a050===_0xd23bfa)break;else _0x553cc9['push'](_0x553cc9['shift']());}catch(_0xfa1999){_0x553cc9['push'](_0x553cc9['shift']());}}}(a86_0x1386,0xc0ef7));function toKebab(_0x13e294){const _0x3662e2=a86_0x30eb;return _0x13e294['replace'](/_/g,'-')['replace'](/-([A-Z]+)/g,(_0x4ccb13,_0x18277b)=>'-'+_0x18277b[_0x3662e2(0x181)]())[_0x3662e2(0x192)](/([a-z0-9])([A-Z])/g,(_0x482f17,_0x1363ae,_0x378ec5)=>_0x1363ae+'-'+_0x378ec5)[_0x3662e2(0x181)]();}function a86_0x30eb(_0x29c2d9,_0x2ef6aa){_0x29c2d9=_0x29c2d9-0x175;const _0x1386c9=a86_0x1386();let _0x30eb10=_0x1386c9[_0x29c2d9];return _0x30eb10;}function buildKnownFlags(_0x143322){const _0xdfc50b=a86_0x30eb,_0x15bf00=new Set();for(const _0x1fab3f of _0x143322){_0x15bf00[_0xdfc50b(0x18a)](_0x1fab3f[_0xdfc50b(0x19a)]),_0x15bf00[_0xdfc50b(0x18a)](toCamelCase(_0x1fab3f[_0xdfc50b(0x19a)]));}for(const _0xd87916 of[_0xdfc50b(0x178),_0xdfc50b(0x199),_0xdfc50b(0x185),'format']){_0x15bf00[_0xdfc50b(0x18a)](_0xd87916);}for(const _0x2708ae of['help','env',_0xdfc50b(0x17c),'app',_0xdfc50b(0x18e),_0xdfc50b(0x183),'ci',_0xdfc50b(0x19b),_0xdfc50b(0x176)]){_0x15bf00[_0xdfc50b(0x18a)](_0x2708ae);}return _0x15bf00;}function buildFlagTypeMap(_0x29c569){const _0x189d28=a86_0x30eb,_0x4490ff=new Map();for(const _0xb50abc of _0x29c569){_0x4490ff[_0x189d28(0x175)](_0xb50abc[_0x189d28(0x19a)],_0xb50abc[_0x189d28(0x188)]),_0x4490ff['set'](toCamelCase(_0xb50abc['name']),_0xb50abc[_0x189d28(0x188)]);}return _0x4490ff;}function toCamelCase(_0xe57d58){const _0x52c95e=a86_0x30eb;return _0xe57d58[_0x52c95e(0x192)](/-([a-z])/g,(_0x328327,_0x339a49)=>_0x339a49['toUpperCase']());}function aliasHandler(_0x1c63d5,_0x183937){const _0x525381=a86_0x30eb,_0x680e33=[];for(const _0x52df48 of Object['keys'](_0x1c63d5)){if(_0x183937[_0x525381(0x186)](_0x52df48))continue;const _0x189e69=toKebab(_0x52df48);_0x189e69!==_0x52df48&&_0x183937[_0x525381(0x186)](_0x189e69)&&_0x680e33[_0x525381(0x18b)]({'original':_0x52df48,'corrected':_0x189e69,'handler':_0x525381(0x18d)});}return _0x680e33;}function stickyHandler(_0x2618ee,_0x1b73f3,_0x5c291f){const _0x41d9d0=a86_0x30eb,_0x40f025=[];for(const [_0x5a2318,_0x2437a4]of Object['entries'](_0x2618ee)){if(_0x2437a4!==!![])continue;for(let _0x397871=_0x5a2318['length']-0x1;_0x397871>0x0;_0x397871--){const _0x4f1aa7=_0x5a2318[_0x41d9d0(0x17e)](0x0,_0x397871),_0x5e0c3f=_0x5a2318[_0x41d9d0(0x17e)](_0x397871),_0x1dc1aa=toKebab(_0x4f1aa7),_0x26c73d=toCamelCase(_0x4f1aa7),_0x1a3488=_0x1b73f3['has'](_0x4f1aa7)?_0x4f1aa7:_0x1b73f3[_0x41d9d0(0x186)](_0x1dc1aa)?_0x1dc1aa:_0x1b73f3[_0x41d9d0(0x186)](_0x26c73d)?_0x26c73d:null;if(!_0x1a3488)continue;const _0x350af1=_0x5c291f[_0x41d9d0(0x196)](_0x1a3488)??_0x41d9d0(0x184);let _0x516837;if(_0x350af1==='number'){const _0x22e718=Number(_0x5e0c3f);if(isNaN(_0x22e718)||_0x5e0c3f==='')continue;_0x516837=_0x22e718;}else{if(_0x350af1===_0x41d9d0(0x191))continue;else{if(_0x5e0c3f==='')continue;_0x516837=_0x5e0c3f;}}_0x40f025[_0x41d9d0(0x18b)]({'original':_0x5a2318,'corrected':_0x1a3488+'='+_0x516837,'handler':'sticky'});break;}}return _0x40f025;}export function correctFlags(_0x20039a,_0x125297){const _0x6debee=a86_0x30eb,_0x18cc02=buildKnownFlags(_0x125297),_0x53552d=buildFlagTypeMap(_0x125297),_0x29467c=aliasHandler(_0x20039a,_0x18cc02),_0x56f64f=stickyHandler(_0x20039a,_0x18cc02,_0x53552d),_0xf9fb58=[..._0x29467c,..._0x56f64f];if(_0xf9fb58[_0x6debee(0x194)]===0x0)return{'flags':_0x20039a,'corrections':[]};const _0x378ef8={..._0x20039a},_0x4fcdce=new Set();for(const _0x3d2403 of _0x29467c){_0x378ef8[_0x3d2403['corrected']]=_0x20039a[_0x3d2403['original']],_0x4fcdce['add'](_0x3d2403[_0x6debee(0x17b)]);}for(const _0x3ec9f5 of _0x56f64f){const _0x530d67=_0x3ec9f5[_0x6debee(0x17d)][_0x6debee(0x182)]('='),_0x23e7e2=_0x3ec9f5[_0x6debee(0x17d)][_0x6debee(0x17e)](0x0,_0x530d67),_0x5e8888=_0x3ec9f5['corrected'][_0x6debee(0x17e)](_0x530d67+0x1),_0x27012c=_0x53552d[_0x6debee(0x196)](_0x23e7e2)??_0x6debee(0x184);_0x27012c===_0x6debee(0x17a)?_0x378ef8[_0x23e7e2]=Number(_0x5e8888):_0x378ef8[_0x23e7e2]=_0x5e8888,_0x4fcdce['add'](_0x3ec9f5['original']);}for(const _0x47dc83 of _0x4fcdce){delete _0x378ef8[_0x47dc83];}return{'flags':_0x378ef8,'corrections':_0xf9fb58};}function a86_0x1386(){const _0x5ae661=['3459604auFfbU','16378140XnKtdd','toLowerCase','indexOf','non-interactive','string','yes','has','1545jdpGlC','type','4ikchLx','add','push','737227kQlPwQ','alias','nonInteractive','9198jmnPld','11912652bvTjkI','boolean','replace','10cEnbAr','length','25390599NfnZoA','get','612857JRzbSk','11QrIlnF','dryRun','name','global','set','version','104KKwWlR','dry-run','3DryHjD','number','original','appcode','corrected','slice'];a86_0x1386=function(){return _0x5ae661;};return a86_0x1386();}
@@ -1 +1 @@
1
- function a87_0x51bf(_0x572260,_0x2ac60d){_0x572260=_0x572260-0xe0;const _0x5554ab=a87_0x5554();let _0x51bf3f=_0x5554ab[_0x572260];return _0x51bf3f;}const a87_0x1f79f1=a87_0x51bf;(function(_0x50f1ab,_0xeac63e){const _0x2f0b81=a87_0x51bf,_0x5c0de2=_0x50f1ab();while(!![]){try{const _0x1aef7b=parseInt(_0x2f0b81(0xef))/0x1*(-parseInt(_0x2f0b81(0xe5))/0x2)+-parseInt(_0x2f0b81(0xf2))/0x3*(-parseInt(_0x2f0b81(0xfd))/0x4)+-parseInt(_0x2f0b81(0xed))/0x5*(parseInt(_0x2f0b81(0xf8))/0x6)+parseInt(_0x2f0b81(0xe3))/0x7+parseInt(_0x2f0b81(0xec))/0x8*(-parseInt(_0x2f0b81(0xfa))/0x9)+parseInt(_0x2f0b81(0xfe))/0xa*(parseInt(_0x2f0b81(0xf3))/0xb)+-parseInt(_0x2f0b81(0xe4))/0xc;if(_0x1aef7b===_0xeac63e)break;else _0x5c0de2['push'](_0x5c0de2['shift']());}catch(_0x1cf4ae){_0x5c0de2['push'](_0x5c0de2['shift']());}}}(a87_0x5554,0xab144));import{CliErrors}from'../errors.js';function a87_0x5554(){const _0x5617c5=['2352570ZKnRKu','isInteger','2ZmXcDU','has','EXCEED_MAX_QPS_LIMIT','2779638WVDUTq','2250809YjrUFU','Retry\x20after\x20a\x20short\x20delay.','entries','call','MAX_QPS_LIMIT','6zuQTPe','number','719091iDdZSL','Request\x20rate\x20limit\x20exceeded.','retryAfter','4eXOJya','10YgUcJB','Retry\x20after\x20','isArray','string','retryAfterSeconds','toLowerCase','Retry-After','retry-after','get','test','function','7230069hDunDr','1871184sONIzk','677048EcwBES','Wait\x20','IP_RATE_LIMIT_EXCEEDED','trim','object','errorCode','status','16IYqmEw'];a87_0x5554=function(){return _0x5617c5;};return a87_0x5554();}const RATE_LIMIT_ERROR_CODES=new Set([a87_0x1f79f1(0xf1),a87_0x1f79f1(0xf7),a87_0x1f79f1(0xe7)]);function nonEmptyString(_0x8de2ee){const _0x3b5a86=a87_0x1f79f1;if(typeof _0x8de2ee!==_0x3b5a86(0x101))return undefined;const _0x542e92=_0x8de2ee[_0x3b5a86(0xe8)]();return _0x542e92||undefined;}function buildRetryHint(_0x724b6a){const _0x4431f7=a87_0x1f79f1,_0x50c9b3=nonEmptyString(_0x724b6a),_0x257bf0=_0x50c9b3?/^\d+$/[_0x4431f7(0xe1)](_0x50c9b3)?_0x4431f7(0xe6)+_0x50c9b3+'\x20seconds\x20before\x20retrying.':_0x4431f7(0xff)+_0x50c9b3+'.':_0x4431f7(0xf4);return _0x257bf0+'\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.';}export function createRateLimitError(_0x235006){const _0xc860cf=a87_0x1f79f1,_0x1ed715=nonEmptyString(_0x235006[_0xc860cf(0xea)])?.['toUpperCase'](),_0xfa306a=Number(_0x235006[_0xc860cf(0xeb)])===0x1ad||_0x1ed715!==undefined&&RATE_LIMIT_ERROR_CODES[_0xc860cf(0xf0)](_0x1ed715);if(!_0xfa306a)return undefined;return CliErrors['rateLimited'](nonEmptyString(_0x235006['message'])??_0xc860cf(0xfb),buildRetryHint(_0x235006[_0xc860cf(0xfc)]));}export function readRetryAfter(_0x1d6749){const _0x39a788=a87_0x1f79f1;if(!_0x1d6749||typeof _0x1d6749!==_0x39a788(0xe9))return undefined;const _0x18b880=_0x1d6749[_0x39a788(0xe0)];if(typeof _0x18b880===_0x39a788(0xe2)){const _0x26a680=_0x18b880['call'](_0x1d6749,_0x39a788(0x104))??_0x18b880[_0x39a788(0xf6)](_0x1d6749,'retry-after');return nonEmptyString(_0x26a680);}for(const [_0x5836b9,_0x2dfdeb]of Object[_0x39a788(0xf5)](_0x1d6749)){if(_0x5836b9[_0x39a788(0x103)]()===_0x39a788(0x105))return nonEmptyString(_0x2dfdeb)??(typeof _0x2dfdeb===_0x39a788(0xf9)?String(_0x2dfdeb):undefined);}return undefined;}export function readRetryAfterSeconds(_0x276cc5){const _0xbdbcdc=a87_0x1f79f1;if(!_0x276cc5||typeof _0x276cc5!==_0xbdbcdc(0xe9)||Array[_0xbdbcdc(0x100)](_0x276cc5))return undefined;const _0x1c946b=_0x276cc5[_0xbdbcdc(0x102)];if(typeof _0x1c946b===_0xbdbcdc(0xf9))return Number[_0xbdbcdc(0xee)](_0x1c946b)&&_0x1c946b>=0x0?String(_0x1c946b):undefined;const _0xe963d7=nonEmptyString(_0x1c946b);return _0xe963d7&&/^\d+$/[_0xbdbcdc(0xe1)](_0xe963d7)?_0xe963d7:undefined;}
1
+ const a87_0x41f0f7=a87_0x500b;(function(_0x395af0,_0x3aea9f){const _0x4025d9=a87_0x500b,_0x4f15f2=_0x395af0();while(!![]){try{const _0xe1f417=-parseInt(_0x4025d9(0x16b))/0x1+parseInt(_0x4025d9(0x15f))/0x2+-parseInt(_0x4025d9(0x162))/0x3+-parseInt(_0x4025d9(0x165))/0x4*(-parseInt(_0x4025d9(0x172))/0x5)+parseInt(_0x4025d9(0x169))/0x6+parseInt(_0x4025d9(0x15c))/0x7*(parseInt(_0x4025d9(0x176))/0x8)+-parseInt(_0x4025d9(0x168))/0x9*(-parseInt(_0x4025d9(0x15e))/0xa);if(_0xe1f417===_0x3aea9f)break;else _0x4f15f2['push'](_0x4f15f2['shift']());}catch(_0x67689e){_0x4f15f2['push'](_0x4f15f2['shift']());}}}(a87_0x1b94,0xb5b15));import{CliErrors}from'../errors.js';const RATE_LIMIT_ERROR_CODES=new Set(['EXCEED_MAX_QPS_LIMIT','MAX_QPS_LIMIT',a87_0x41f0f7(0x177)]);function nonEmptyString(_0x62c6b2){const _0x3d22ca=a87_0x41f0f7;if(typeof _0x62c6b2!=='string')return undefined;const _0x4f389b=_0x62c6b2[_0x3d22ca(0x170)]();return _0x4f389b||undefined;}function a87_0x500b(_0x294df7,_0x1b10b1){_0x294df7=_0x294df7-0x157;const _0x1b94ec=a87_0x1b94();let _0x500b19=_0x1b94ec[_0x294df7];return _0x500b19;}function buildRetryHint(_0x25bc17){const _0x36d852=a87_0x41f0f7,_0x662147=nonEmptyString(_0x25bc17),_0x22c37a=_0x662147?/^\d+$/[_0x36d852(0x15d)](_0x662147)?'Wait\x20'+_0x662147+_0x36d852(0x16c):_0x36d852(0x15b)+_0x662147+'.':_0x36d852(0x16a);return _0x22c37a+_0x36d852(0x171);}export function createRateLimitError(_0x53fde6){const _0x4861cd=a87_0x41f0f7,_0x37aa62=nonEmptyString(_0x53fde6[_0x4861cd(0x166)])?.[_0x4861cd(0x160)](),_0x2f3cbc=Number(_0x53fde6['status'])===0x1ad||_0x37aa62!==undefined&&RATE_LIMIT_ERROR_CODES[_0x4861cd(0x159)](_0x37aa62);if(!_0x2f3cbc)return undefined;return CliErrors[_0x4861cd(0x16d)](nonEmptyString(_0x53fde6[_0x4861cd(0x158)])??_0x4861cd(0x174),buildRetryHint(_0x53fde6[_0x4861cd(0x16e)]));}function a87_0x1b94(){const _0x2dfdd7=['\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.','5155EmmoAt','call','Request\x20rate\x20limit\x20exceeded.','get','232040tmyGJK','IP_RATE_LIMIT_EXCEEDED','function','message','has','toLowerCase','Retry\x20after\x20','14mRfGcn','test','4284250HBXndV','657084LDuMfL','toUpperCase','number','3367722xRWrDE','entries','isArray','2804kZcZzr','errorCode','retry-after','9rahlnu','3271800TSORtH','Retry\x20after\x20a\x20short\x20delay.','216221QiyHQd','\x20seconds\x20before\x20retrying.','rateLimited','retryAfter','isInteger','trim'];a87_0x1b94=function(){return _0x2dfdd7;};return a87_0x1b94();}export function readRetryAfter(_0x5775c8){const _0x4bdce7=a87_0x41f0f7;if(!_0x5775c8||typeof _0x5775c8!=='object')return undefined;const _0x4e5d56=_0x5775c8[_0x4bdce7(0x175)];if(typeof _0x4e5d56===_0x4bdce7(0x157)){const _0x377f91=_0x4e5d56['call'](_0x5775c8,'Retry-After')??_0x4e5d56[_0x4bdce7(0x173)](_0x5775c8,'retry-after');return nonEmptyString(_0x377f91);}for(const [_0x1dc5a0,_0x17dbd1]of Object[_0x4bdce7(0x163)](_0x5775c8)){if(_0x1dc5a0[_0x4bdce7(0x15a)]()===_0x4bdce7(0x167))return nonEmptyString(_0x17dbd1)??(typeof _0x17dbd1==='number'?String(_0x17dbd1):undefined);}return undefined;}export function readRetryAfterSeconds(_0x1d6df4){const _0x25e685=a87_0x41f0f7;if(!_0x1d6df4||typeof _0x1d6df4!=='object'||Array[_0x25e685(0x164)](_0x1d6df4))return undefined;const _0x5d530e=_0x1d6df4['retryAfterSeconds'];if(typeof _0x5d530e===_0x25e685(0x161))return Number[_0x25e685(0x16f)](_0x5d530e)&&_0x5d530e>=0x0?String(_0x5d530e):undefined;const _0x5ae26c=nonEmptyString(_0x5d530e);return _0x5ae26c&&/^\d+$/[_0x25e685(0x15d)](_0x5ae26c)?_0x5ae26c:undefined;}
@@ -1 +1 @@
1
- (function(_0x3c61df,_0x473fd9){var _0x121921=a88_0x5971,_0x4897e6=_0x3c61df();while(!![]){try{var _0x213038=-parseInt(_0x121921(0x15e))/0x1+parseInt(_0x121921(0x15b))/0x2*(parseInt(_0x121921(0x15d))/0x3)+parseInt(_0x121921(0x164))/0x4*(-parseInt(_0x121921(0x163))/0x5)+parseInt(_0x121921(0x15c))/0x6+-parseInt(_0x121921(0x162))/0x7+parseInt(_0x121921(0x160))/0x8+-parseInt(_0x121921(0x15f))/0x9*(-parseInt(_0x121921(0x161))/0xa);if(_0x213038===_0x473fd9)break;else _0x4897e6['push'](_0x4897e6['shift']());}catch(_0xf6e9b4){_0x4897e6['push'](_0x4897e6['shift']());}}}(a88_0x19e8,0xa5d43));function a88_0x5971(_0x1c4377,_0x132d54){_0x1c4377=_0x1c4377-0x15b;var _0x19e8ed=a88_0x19e8();var _0x597187=_0x19e8ed[_0x1c4377];return _0x597187;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a88_0x19e8(){var _0x4c6f89=['126OBtLep','3912208rLFdnp','1152740yULwge','551271PjdYEc','105SnCQxG','204104oPyiev','250HmaLUo','4216116FtBBEQ','2994qlRXZM','1100764kgAOeV'];a88_0x19e8=function(){return _0x4c6f89;};return a88_0x19e8();}
1
+ function a88_0x1810(){var _0x447b55=['11398530AADuqb','1076409PVLgTu','1711005PYUNGE','1969216USAHtf','1101070fxGdTi','337748GBbbfk','55734dWwDSV','8pRobrV','162XYardK','1JghUur'];a88_0x1810=function(){return _0x447b55;};return a88_0x1810();}function a88_0x27ef(_0x53bc02,_0x15582a){_0x53bc02=_0x53bc02-0xf9;var _0x1810eb=a88_0x1810();var _0x27ef90=_0x1810eb[_0x53bc02];return _0x27ef90;}(function(_0x34715c,_0x1df064){var _0x410598=a88_0x27ef,_0x17a7b7=_0x34715c();while(!![]){try{var _0x298089=-parseInt(_0x410598(0x101))/0x1*(parseInt(_0x410598(0xfd))/0x2)+-parseInt(_0x410598(0xfa))/0x3+-parseInt(_0x410598(0xff))/0x4*(parseInt(_0x410598(0xfc))/0x5)+-parseInt(_0x410598(0x100))/0x6*(-parseInt(_0x410598(0xfe))/0x7)+parseInt(_0x410598(0xfb))/0x8+-parseInt(_0x410598(0xf9))/0x9+parseInt(_0x410598(0x102))/0xa;if(_0x298089===_0x1df064)break;else _0x17a7b7['push'](_0x17a7b7['shift']());}catch(_0x5e4255){_0x17a7b7['push'](_0x17a7b7['shift']());}}}(a88_0x1810,0x49aad));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x6d31e5,_0x419bdf){const _0x5326bf=a89_0x49c7,_0x15aa5c=_0x6d31e5();while(!![]){try{const _0x391121=-parseInt(_0x5326bf(0x103))/0x1*(-parseInt(_0x5326bf(0x101))/0x2)+parseInt(_0x5326bf(0xf5))/0x3+-parseInt(_0x5326bf(0xf9))/0x4+parseInt(_0x5326bf(0x10e))/0x5*(-parseInt(_0x5326bf(0x113))/0x6)+parseInt(_0x5326bf(0x116))/0x7*(-parseInt(_0x5326bf(0x100))/0x8)+-parseInt(_0x5326bf(0x104))/0x9+parseInt(_0x5326bf(0x119))/0xa;if(_0x391121===_0x419bdf)break;else _0x15aa5c['push'](_0x15aa5c['shift']());}catch(_0x5dc558){_0x15aa5c['push'](_0x15aa5c['shift']());}}}(a89_0x2858,0xc614f));function a89_0x2858(){const _0x360581=['--yes','channel=','kind=','affectedRecords','30920xGZUwx','kind','entries','join','name','1458WkWtwU','schedule-id','id=','21NiIzpY','push','\x20\x20\x20Affected:\x20','30096270ytQQim','stringify','commandLabel','params=','833250wdIuCx','channel','cron','scheduled-at=','4531092uRjcUY','cron=','length','params','description','⚠\x20\x20High-risk\x20operation:\x20','command','2003608TErnfZ','82MRgppI','title','26479YcNzWz','1573515ztzfBT','title=','service','code','scheduled-at','code='];a89_0x2858=function(){return _0x360581;};return a89_0x2858();}import{CLI_BIN_NAME}from'../constant/cli.js';function a89_0x49c7(_0x464ac3,_0x272539){_0x464ac3=_0x464ac3-0xf5;const _0x28581e=a89_0x2858();let _0x49c7ec=_0x28581e[_0x464ac3];return _0x49c7ec;}export function buildConfirmationLines(_0x20c2a8,_0x930076,_0x48d761){const _0x13a995=a89_0x49c7,_0x47824b=buildConfirmationContext(_0x20c2a8,_0x930076,_0x48d761),_0x340dd3=[_0x13a995(0xfe)+_0x47824b[_0x13a995(0x11b)]];return _0x47824b[_0x13a995(0xfd)]&&_0x340dd3[_0x13a995(0x117)]('\x20\x20\x20'+_0x47824b['description']),_0x47824b[_0x13a995(0x10d)]&&_0x340dd3[_0x13a995(0x117)](_0x13a995(0x118)+_0x47824b[_0x13a995(0x10d)]),_0x340dd3['push']('\x20\x20\x20Continue?\x20[y/N]\x20'),_0x340dd3;}export function reconstructCommandArgv(_0x3213da,_0x56bdf8){const _0x5c3677=a89_0x49c7,_0x37eed8=[CLI_BIN_NAME,_0x3213da[_0x5c3677(0x106)],_0x3213da[_0x5c3677(0xff)]];for(const [_0x244219,_0x1a772f]of Object[_0x5c3677(0x110)](_0x56bdf8)){if(_0x1a772f===!![])_0x37eed8[_0x5c3677(0x117)]('--'+_0x244219);else _0x1a772f!==![]&&_0x1a772f!==undefined&&_0x1a772f!==''&&_0x37eed8[_0x5c3677(0x117)]('--'+_0x244219+'\x20'+JSON[_0x5c3677(0x11a)](_0x1a772f));}return _0x37eed8[_0x5c3677(0x117)](_0x5c3677(0x10a)),_0x37eed8['join']('\x20');}function buildConfirmationContext(_0x3f3080,_0x231cc8,_0x377603){const _0x142f8e=extractAffectedRecords(_0x377603);return{'commandLabel':_0x231cc8,'description':_0x3f3080['description'],'affectedRecords':_0x142f8e};}function extractAffectedRecords(_0x2458c1){const _0x3c9f64=a89_0x49c7,_0x326012=[];if(_0x2458c1[_0x3c9f64(0x107)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x109)+_0x2458c1[_0x3c9f64(0x107)]);if(_0x2458c1['id'])_0x326012['push'](_0x3c9f64(0x115)+_0x2458c1['id']);if(_0x2458c1[_0x3c9f64(0x114)])_0x326012[_0x3c9f64(0x117)]('schedule-id='+_0x2458c1[_0x3c9f64(0x114)]);if(_0x2458c1[_0x3c9f64(0x112)])_0x326012[_0x3c9f64(0x117)]('name='+_0x2458c1['name']);if(_0x2458c1[_0x3c9f64(0x102)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x105)+_0x2458c1[_0x3c9f64(0x102)]);if(_0x2458c1[_0x3c9f64(0x10f)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x10c)+_0x2458c1['kind']);if(_0x2458c1[_0x3c9f64(0xf7)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0xfa)+_0x2458c1[_0x3c9f64(0xf7)]);if(_0x2458c1[_0x3c9f64(0x108)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0xf8)+_0x2458c1['scheduled-at']);if(_0x2458c1[_0x3c9f64(0xf6)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x10b)+_0x2458c1[_0x3c9f64(0xf6)]);if(_0x2458c1[_0x3c9f64(0xfc)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x11c)+_0x2458c1['params']);return _0x326012[_0x3c9f64(0xfb)]>0x0?_0x326012[_0x3c9f64(0x111)](',\x20'):undefined;}
1
+ (function(_0x4c6cda,_0xcd8bd6){const _0x4ef82f=a89_0x4420,_0x59f146=_0x4c6cda();while(!![]){try{const _0x4bdafe=-parseInt(_0x4ef82f(0xe0))/0x1*(parseInt(_0x4ef82f(0xf4))/0x2)+parseInt(_0x4ef82f(0xef))/0x3+parseInt(_0x4ef82f(0xe9))/0x4*(-parseInt(_0x4ef82f(0xea))/0x5)+-parseInt(_0x4ef82f(0xf9))/0x6*(-parseInt(_0x4ef82f(0xfc))/0x7)+parseInt(_0x4ef82f(0xd9))/0x8*(parseInt(_0x4ef82f(0xf3))/0x9)+-parseInt(_0x4ef82f(0xe6))/0xa*(parseInt(_0x4ef82f(0xf8))/0xb)+-parseInt(_0x4ef82f(0xd6))/0xc*(-parseInt(_0x4ef82f(0xe3))/0xd);if(_0x4bdafe===_0xcd8bd6)break;else _0x59f146['push'](_0x59f146['shift']());}catch(_0x300546){_0x59f146['push'](_0x59f146['shift']());}}}(a89_0x1965,0x62913));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x4c5c3,_0x252466,_0x362df4){const _0x4be8cb=a89_0x4420,_0x2a7825=buildConfirmationContext(_0x4c5c3,_0x252466,_0x362df4),_0x4c6942=['⚠\x20\x20High-risk\x20operation:\x20'+_0x2a7825[_0x4be8cb(0xd8)]];return _0x2a7825['description']&&_0x4c6942[_0x4be8cb(0xf2)]('\x20\x20\x20'+_0x2a7825['description']),_0x2a7825[_0x4be8cb(0xde)]&&_0x4c6942[_0x4be8cb(0xf2)](_0x4be8cb(0xfa)+_0x2a7825[_0x4be8cb(0xde)]),_0x4c6942[_0x4be8cb(0xf2)](_0x4be8cb(0xe8)),_0x4c6942;}export function reconstructCommandArgv(_0x470c20,_0x4807f6){const _0x7ef2fe=a89_0x4420,_0x33f229=[CLI_BIN_NAME,_0x470c20[_0x7ef2fe(0xe5)],_0x470c20[_0x7ef2fe(0xfb)]];for(const [_0x1b335a,_0x567526]of Object[_0x7ef2fe(0xe1)](_0x4807f6)){if(_0x567526===!![])_0x33f229[_0x7ef2fe(0xf2)]('--'+_0x1b335a);else _0x567526!==![]&&_0x567526!==undefined&&_0x567526!==''&&_0x33f229[_0x7ef2fe(0xf2)]('--'+_0x1b335a+'\x20'+JSON[_0x7ef2fe(0xe7)](_0x567526));}return _0x33f229['push'](_0x7ef2fe(0xed)),_0x33f229['join']('\x20');}function buildConfirmationContext(_0x21b4ba,_0x1bee32,_0xe0b491){const _0x3433cc=a89_0x4420,_0x2cc5c1=extractAffectedRecords(_0xe0b491);return{'commandLabel':_0x1bee32,'description':_0x21b4ba[_0x3433cc(0xec)],'affectedRecords':_0x2cc5c1};}function a89_0x4420(_0x4267cb,_0x41bfd9){_0x4267cb=_0x4267cb-0xd6;const _0x19655c=a89_0x1965();let _0x4420fe=_0x19655c[_0x4267cb];return _0x4420fe;}function a89_0x1965(){const _0x29c7fa=['channel=','params=','kind=','scheduled-at','affectedRecords','kind','2WNwBHR','entries','name','13wTgxbC','schedule-id=','service','6640dPfJmH','stringify','\x20\x20\x20Continue?\x20[y/N]\x20','529768cUztys','20MSescW','params','description','--yes','channel','735459lCujKc','schedule-id','title','push','17748QtjQQA','144228QnsZgk','cron','length','join','11264BkhYyf','54VlEqKe','\x20\x20\x20Affected:\x20','command','361333NGfFxr','12504276gTBtIq','title=','commandLabel','24bjxVwS'];a89_0x1965=function(){return _0x29c7fa;};return a89_0x1965();}function extractAffectedRecords(_0x2e9e99){const _0x18a262=a89_0x4420,_0x32252e=[];if(_0x2e9e99['code'])_0x32252e['push']('code='+_0x2e9e99['code']);if(_0x2e9e99['id'])_0x32252e[_0x18a262(0xf2)]('id='+_0x2e9e99['id']);if(_0x2e9e99[_0x18a262(0xf0)])_0x32252e['push'](_0x18a262(0xe4)+_0x2e9e99[_0x18a262(0xf0)]);if(_0x2e9e99[_0x18a262(0xe2)])_0x32252e[_0x18a262(0xf2)]('name='+_0x2e9e99[_0x18a262(0xe2)]);if(_0x2e9e99[_0x18a262(0xf1)])_0x32252e[_0x18a262(0xf2)](_0x18a262(0xd7)+_0x2e9e99['title']);if(_0x2e9e99[_0x18a262(0xdf)])_0x32252e[_0x18a262(0xf2)](_0x18a262(0xdc)+_0x2e9e99[_0x18a262(0xdf)]);if(_0x2e9e99[_0x18a262(0xf5)])_0x32252e[_0x18a262(0xf2)]('cron='+_0x2e9e99['cron']);if(_0x2e9e99[_0x18a262(0xdd)])_0x32252e[_0x18a262(0xf2)]('scheduled-at='+_0x2e9e99[_0x18a262(0xdd)]);if(_0x2e9e99[_0x18a262(0xee)])_0x32252e[_0x18a262(0xf2)](_0x18a262(0xda)+_0x2e9e99[_0x18a262(0xee)]);if(_0x2e9e99['params'])_0x32252e['push'](_0x18a262(0xdb)+_0x2e9e99[_0x18a262(0xeb)]);return _0x32252e[_0x18a262(0xf6)]>0x0?_0x32252e[_0x18a262(0xf7)](',\x20'):undefined;}
@@ -1 +1 @@
1
- function a90_0x2271(){const _0x323d19=['response','3253943obpwXq','601436nqjACP','24nBqyVQ','4083hldVJA','38310bzzKGX','189iebncS','trim','headers','3040212vXzReY','5879934ePUlru','status','66lOHInp','41792fEivxT','message','string','stringify','code','10clfHrq','590JvpZLt'];a90_0x2271=function(){return _0x323d19;};return a90_0x2271();}(function(_0x3c0984,_0x4e4602){const _0x51d6be=a90_0x55f8,_0x1f3260=_0x3c0984();while(!![]){try{const _0x5d0d5a=parseInt(_0x51d6be(0xcd))/0x1+-parseInt(_0x51d6be(0xde))/0x2*(-parseInt(_0x51d6be(0xcf))/0x3)+-parseInt(_0x51d6be(0xd4))/0x4+-parseInt(_0x51d6be(0xd0))/0x5*(-parseInt(_0x51d6be(0xd7))/0x6)+parseInt(_0x51d6be(0xd1))/0x7*(parseInt(_0x51d6be(0xd8))/0x8)+parseInt(_0x51d6be(0xd5))/0x9*(-parseInt(_0x51d6be(0xdd))/0xa)+parseInt(_0x51d6be(0xcc))/0xb*(parseInt(_0x51d6be(0xce))/0xc);if(_0x5d0d5a===_0x4e4602)break;else _0x1f3260['push'](_0x1f3260['shift']());}catch(_0x340ac7){_0x1f3260['push'](_0x1f3260['shift']());}}}(a90_0x2271,0x633ec));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';function a90_0x55f8(_0x23ea0d,_0x213b42){_0x23ea0d=_0x23ea0d-0xcb;const _0x227162=a90_0x2271();let _0x55f80e=_0x227162[_0x23ea0d];return _0x55f80e;}export function mapUserFacingExecuteError(_0x31bdbf){const _0x57f6ae=a90_0x55f8;if(_0x31bdbf instanceof LovrabetError){const _0x168d4a=userFacingLovrabetMessage(_0x31bdbf),_0x5f42eb=_0x31bdbf,_0x4a0a0c=createRateLimitError({'status':_0x5f42eb[_0x57f6ae(0xd6)],'errorCode':_0x5f42eb[_0x57f6ae(0xdc)],'message':_0x168d4a,'retryAfter':readRetryAfter(_0x5f42eb[_0x57f6ae(0xcb)]?.[_0x57f6ae(0xd3)])??readRetryAfterSeconds(_0x5f42eb[_0x57f6ae(0xcb)])});return _0x4a0a0c??CliErrors['validation'](_0x168d4a);}return _0x31bdbf;}function userFacingLovrabetMessage(_0xd487ac){const _0x20d5fe=a90_0x55f8,_0x33d62c=_0xd487ac['description'];if(_0x33d62c!==undefined&&_0x33d62c!==null){if(typeof _0x33d62c===_0x20d5fe(0xda)&&_0x33d62c[_0x20d5fe(0xd2)]())return _0x33d62c['trim']();try{return JSON[_0x20d5fe(0xdb)](_0x33d62c);}catch{}}return _0xd487ac[_0x20d5fe(0xd9)];}
1
+ (function(_0x32cbc0,_0x3e179f){const _0x338999=a90_0x3bda,_0x5f5a05=_0x32cbc0();while(!![]){try{const _0x58d50f=-parseInt(_0x338999(0x11e))/0x1*(parseInt(_0x338999(0x12c))/0x2)+parseInt(_0x338999(0x129))/0x3+parseInt(_0x338999(0x123))/0x4+parseInt(_0x338999(0x11d))/0x5*(-parseInt(_0x338999(0x125))/0x6)+parseInt(_0x338999(0x122))/0x7*(parseInt(_0x338999(0x126))/0x8)+-parseInt(_0x338999(0x127))/0x9*(-parseInt(_0x338999(0x120))/0xa)+-parseInt(_0x338999(0x124))/0xb*(-parseInt(_0x338999(0x128))/0xc);if(_0x58d50f===_0x3e179f)break;else _0x5f5a05['push'](_0x5f5a05['shift']());}catch(_0x319426){_0x5f5a05['push'](_0x5f5a05['shift']());}}}(a90_0x3e9a,0x816f2));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';function a90_0x3e9a(){const _0x4c52ad=['65IiXNsl','1FWdmNY','code','73930UpWaYL','message','497AEjdMB','404228XUnKIk','44ALLQXp','475458ieJfZq','80744zbPdjO','639yrZvBK','1146276bNaJYz','2092569lmwBlQ','string','response','1723714nNuwwW','stringify','description','trim','status'];a90_0x3e9a=function(){return _0x4c52ad;};return a90_0x3e9a();}import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';function a90_0x3bda(_0x572a87,_0x11e3ff){_0x572a87=_0x572a87-0x11d;const _0x3e9a81=a90_0x3e9a();let _0x3bdaf8=_0x3e9a81[_0x572a87];return _0x3bdaf8;}export function mapUserFacingExecuteError(_0x25a0ed){const _0x445343=a90_0x3bda;if(_0x25a0ed instanceof LovrabetError){const _0x11d277=userFacingLovrabetMessage(_0x25a0ed),_0x2a10e4=_0x25a0ed,_0x438aea=createRateLimitError({'status':_0x2a10e4[_0x445343(0x130)],'errorCode':_0x2a10e4[_0x445343(0x11f)],'message':_0x11d277,'retryAfter':readRetryAfter(_0x2a10e4[_0x445343(0x12b)]?.['headers'])??readRetryAfterSeconds(_0x2a10e4[_0x445343(0x12b)])});return _0x438aea??CliErrors['validation'](_0x11d277);}return _0x25a0ed;}function userFacingLovrabetMessage(_0x53d41d){const _0x5326f4=a90_0x3bda,_0x35e512=_0x53d41d[_0x5326f4(0x12e)];if(_0x35e512!==undefined&&_0x35e512!==null){if(typeof _0x35e512===_0x5326f4(0x12a)&&_0x35e512[_0x5326f4(0x12f)]())return _0x35e512[_0x5326f4(0x12f)]();try{return JSON[_0x5326f4(0x12d)](_0x35e512);}catch{}}return _0x53d41d[_0x5326f4(0x121)];}
@@ -1 +1 @@
1
- (function(_0x576672,_0x4c3fcc){const _0x255315=a91_0x129f,_0x5bc2c6=_0x576672();while(!![]){try{const _0x1c00cf=-parseInt(_0x255315(0x7a))/0x1*(-parseInt(_0x255315(0x8f))/0x2)+-parseInt(_0x255315(0xa1))/0x3+-parseInt(_0x255315(0x83))/0x4+parseInt(_0x255315(0x93))/0x5*(-parseInt(_0x255315(0x72))/0x6)+parseInt(_0x255315(0x77))/0x7+parseInt(_0x255315(0x8b))/0x8*(-parseInt(_0x255315(0xa0))/0x9)+-parseInt(_0x255315(0x95))/0xa*(-parseInt(_0x255315(0x6f))/0xb);if(_0x1c00cf===_0x4c3fcc)break;else _0x5bc2c6['push'](_0x5bc2c6['shift']());}catch(_0x3b720b){_0x5bc2c6['push'](_0x5bc2c6['shift']());}}}(a91_0x2965,0x870ad));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';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x1d32ac){return void _0x1d32ac,AUTH_MODE['ClientAk'];}let sdkClientInitialized=![];function a91_0x2965(){const _0x2378b0=['string','appCodeSource','9tIOElW','1106841SRHGmn','../commands/app/remote-source.js','configMissing','catch','name','object','../core/sdk-client.js','\x20\x20To\x20proceed:\x20','authRequired','defaultVerbose','appCode','has','rawFlags','cancelled','10558493XUJMEg','appcode','_notice','504798Ygtvlv','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','format','accessKey','confirmHighRisk','192136KlcBgE','error','appcode\x20\x22','19927HTnvNE','doctor','APPCODE','app','requiresAppCode','verbose','service','../core/api-client.js','.appcode\x20to\x20','1043768GAIkjK','local-alias','Set\x20accessKey\x20in\x20','trim','newConfigFileName','ACCESS_KEY','map','currentApp','3421192LYqaXc','\x20or\x20pass\x20','filter','pretty','76PxzZaL','mergedCli','items','includes','65UQaVBL','command','20uLvRbg','env','formatOutput','production','validation','pageSize','High-risk\x20operation\x20`','defaultApp','schema'];a91_0x2965=function(){return _0x2378b0;};return a91_0x2965();}export function createPipelineEnv(_0x4964a6,_0x547e84){const _0x3eaa2d=a91_0x129f,_0x13adcd=typeof _0x547e84['app']===_0x3eaa2d(0x9e)&&_0x547e84[_0x3eaa2d(0x7d)][_0x3eaa2d(0x86)]();return{'rawFlags':_0x547e84,'appCode':_0x4964a6[_0x3eaa2d(0x6b)]||productEnv(_0x3eaa2d(0x7c))||(_0x13adcd?undefined:readAppCodeFromConfig()),'appCodeSource':_0x4964a6[_0x3eaa2d(0x9f)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x547e84),'defaultFormat':_0x4964a6[_0x3eaa2d(0x74)],'defaultPageSize':_0x4964a6[_0x3eaa2d(0x9a)],'defaultVerbose':_0x4964a6[_0x3eaa2d(0x7f)],'riskLevel':_0x4964a6['riskLevel'],'accessKey':_0x4964a6['accessKey'],'env':_0x4964a6['env'],'mergedCli':{'defaultApp':_0x4964a6[_0x3eaa2d(0x9c)],'currentApp':_0x4964a6[_0x3eaa2d(0x8a)],'appCode':_0x4964a6[_0x3eaa2d(0x6b)]}};}export function createLovrabetRunnerAdapter(_0x7cbced={}){const _0x1f3c46=a91_0x129f,_0x231e3e={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x1f3c46(0x8d)](_0x412cfb=>PIPELINE_FLAG_NAMES[_0x1f3c46(0x6c)](_0x412cfb[_0x1f3c46(0xa5)]))[_0x1f3c46(0x89)](({name:_0xa94482,type:_0x43b0c5,description:_0x44b362})=>({'name':_0xa94482,'type':_0x43b0c5,'description':_0x44b362})),'formatOutput':_0x7cbced[_0x1f3c46(0x97)]??formatOutput,'getCommandLabel'(_0x2e6475){const _0x36b6b9=_0x1f3c46;return CLI_BIN_NAME+'\x20'+_0x2e6475[_0x36b6b9(0x80)]+'\x20'+_0x2e6475[_0x36b6b9(0x94)];},'riskPolicy':{'onViolation'(_0x121642){const _0x3c9cce=_0x1f3c46;console[_0x3c9cce(0x78)](_0x121642);},'createError'(_0x198122){return CliErrors['cancelled'](_0x198122);}},async 'prepare'(_0x395814,_0x3ae7bb){const _0x55e10c=_0x1f3c46,_0x461051=resolveAuthMode(_0x3ae7bb);if(_0x395814['requiresAuth']!==![]){if(!_0x3ae7bb['accessKey'])throw CliErrors[_0x55e10c(0x69)](_0x55e10c(0x85)+PRODUCT_CONFIG[_0x55e10c(0x87)]+_0x55e10c(0x8c)+productEnvName(_0x55e10c(0x88))+'.');const {setActiveAK:_0x30a4ff}=await import('../core/api-client.js');_0x30a4ff(_0x3ae7bb['accessKey']);}let _0x2035c5='';if(_0x395814[_0x55e10c(0x7e)]!==![]){_0x2035c5=_0x3ae7bb[_0x55e10c(0x6b)]??'',_0x2035c5=await resolveExplicitAppName(_0x395814,_0x3ae7bb,_0x2035c5);if(!_0x2035c5){await assertSelectedAppNameIsRuntimeAccessible(_0x395814,_0x3ae7bb);throw CliErrors[_0x55e10c(0xa3)]('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x55e10c(0x87)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x395814,_0x3ae7bb,_0x2035c5);}if(_0x2035c5){const {initSdkClient:_0x5a8c5f}=await import('../core/sdk-client.js');_0x5a8c5f({'appCode':_0x2035c5,'env':_0x3ae7bb['env']??'production','accessKey':_0x3ae7bb[_0x55e10c(0x75)],'authMode':_0x461051}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x3ae7bb[_0x55e10c(0x6a)]},'numbers':{'pagesize':_0x3ae7bb['defaultPageSize']}},'extras':{'appCode':_0x2035c5,'cookie':'','apiDomain':_0x3ae7bb['apiDomain'],'apiDir':'','accessKey':_0x3ae7bb[_0x55e10c(0x75)],'envName':_0x3ae7bb[_0x55e10c(0x96)],'mergedCli':_0x3ae7bb[_0x55e10c(0x90)]}};},'confirmHighRisk':_0x7cbced[_0x1f3c46(0x76)]??(async({def:_0x316a3b,env:_0xb7d244,flags:_0x2c7687,commandLabel:_0x40ee1f})=>{const _0x273290=_0x1f3c46;if(_0xb7d244['isNonInteractive']){const _0x5833ac=reconstructCommandArgv(_0x316a3b,_0x2c7687);throw CliErrors[_0x273290(0x99)](_0x273290(0x9b)+_0x40ee1f+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a'+(_0x273290(0x68)+_0x5833ac));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x316a3b,_0x40ee1f,_0x2c7687),'createCancelledError':_0x224768=>CliErrors[_0x273290(0x6e)](_0x224768)});}),'mapDryRunError'(_0x392783){return mapUserFacingExecuteError(_0x392783);},'mapExecuteError'(_0x439c56){return mapUserFacingExecuteError(_0x439c56);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x231e3e;}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x45a27b=a91_0x129f;try{if(sdkClientInitialized){const {clearSdkClient:_0x2f0faa}=await import(_0x45a27b(0x67));_0x2f0faa();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x2b5636}=await import(_0x45a27b(0x81));_0x2b5636();}}async function resolveExplicitAppName(_0xbd429b,_0x7068bc,_0x935db8){const _0x224c41=a91_0x129f;if(_0xbd429b[_0x224c41(0x7e)]===![])return _0x935db8;const _0x1d8659=typeof _0x7068bc['rawFlags']['app']===_0x224c41(0x9e)?_0x7068bc['rawFlags'][_0x224c41(0x7d)]['trim']():'';if(!_0x1d8659)return _0x935db8;const _0x22038e=typeof _0x7068bc[_0x224c41(0x6d)][_0x224c41(0x70)]===_0x224c41(0x9e)&&_0x7068bc[_0x224c41(0x6d)]['appcode'][_0x224c41(0x86)]()||productEnv('APPCODE');if(_0x22038e||_0x7068bc[_0x224c41(0x9f)]===_0x224c41(0x84))return _0x935db8;const {getRemoteAppList:_0x9a2212}=await import(_0x224c41(0xa2)),_0x36777c=await _0x9a2212({'env':_0x7068bc[_0x224c41(0x96)]??'production','accessKey':_0x7068bc[_0x224c41(0x75)]}),_0x47f62b=findAppByName(_0x36777c[_0x224c41(0x91)],_0x1d8659);if(_0x47f62b&&!isRuntimeAccessibleApp(_0x47f62b))throw runtimeInaccessibleAppError(_0x47f62b,'\x22'+_0x1d8659+'\x22');const _0xcb64c1=_0x47f62b?.[_0x224c41(0x6b)]?.[_0x224c41(0x86)]();if(_0xcb64c1)return _0xcb64c1;throw CliErrors[_0x224c41(0x99)]('Unknown\x20app:\x20'+_0x1d8659,'Run\x20`'+CLI_BIN_NAME+_0x224c41(0x73)+_0x1d8659+_0x224c41(0x82)+PRODUCT_CONFIG[_0x224c41(0x87)]+'.');}function a91_0x129f(_0x392fd6,_0x490a95){_0x392fd6=_0x392fd6-0x66;const _0x2965e0=a91_0x2965();let _0x129f5c=_0x2965e0[_0x392fd6];return _0x129f5c;}async function assertSelectedAppNameIsRuntimeAccessible(_0x466b53,_0xbef285){const _0x1a0f69=a91_0x129f;if(_0x466b53['requiresAppCode']===![]||!_0xbef285[_0x1a0f69(0x75)])return;const _0x11b2a0=(typeof _0xbef285[_0x1a0f69(0x6d)][_0x1a0f69(0x7d)]===_0x1a0f69(0x9e)&&_0xbef285[_0x1a0f69(0x6d)][_0x1a0f69(0x7d)]['trim']()?_0xbef285[_0x1a0f69(0x6d)]['app']:_0xbef285['mergedCli']?.[_0x1a0f69(0x8a)]??_0xbef285[_0x1a0f69(0x90)]?.[_0x1a0f69(0x9c)])?.[_0x1a0f69(0x86)]();if(!_0x11b2a0)return;const {getRemoteAppList:_0x4c7588}=await import('../commands/app/remote-source.js'),_0x52f498=await _0x4c7588({'env':_0xbef285[_0x1a0f69(0x96)]??_0x1a0f69(0x98),'accessKey':_0xbef285[_0x1a0f69(0x75)]}),_0x1102ab=findAppByName(_0x52f498['items'],_0x11b2a0);if(_0x1102ab&&!isRuntimeAccessibleApp(_0x1102ab))throw runtimeInaccessibleAppError(_0x1102ab,'\x22'+_0x11b2a0+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x4115c7,_0x4e5065,_0x22a298){const _0x3d4237=a91_0x129f;if(_0x4115c7[_0x3d4237(0x7e)]===![]||!_0x4e5065[_0x3d4237(0x75)])return;const {getRemoteAppList:_0x158ae2}=await import('../commands/app/remote-source.js'),_0x52b2ff=await _0x158ae2({'env':_0x4e5065[_0x3d4237(0x96)]??_0x3d4237(0x98),'accessKey':_0x4e5065[_0x3d4237(0x75)]}),_0x36a52a=findAppByCode(_0x52b2ff[_0x3d4237(0x91)],_0x22a298);if(_0x36a52a&&!isRuntimeAccessibleApp(_0x36a52a))throw runtimeInaccessibleAppError(_0x36a52a,_0x3d4237(0x79)+_0x22a298+'\x22');}export async function runCommand(_0xaea4c6,_0x53b310,_0x36f87=terminalRunnerAdapter){await runCommandWithAdapter(shouldAttachUpdateNotice(_0xaea4c6)?withUpdateNotice(_0xaea4c6):_0xaea4c6,_0x53b310,_0x36f87);}function shouldAttachUpdateNotice(_0x309433){const _0x53cf75=a91_0x129f;return!['update',_0x53cf75(0x9d),_0x53cf75(0x7b)][_0x53cf75(0x92)](_0x309433['service']);}function withUpdateNotice(_0x318b3f){return{..._0x318b3f,async 'execute'(_0x1f53e7){const _0x3d1221=a91_0x129f,_0x499e55=shouldResolveUpdateNotice(_0x1f53e7)?resolveLatestUpdateNotice()[_0x3d1221(0xa4)](()=>null):Promise['resolve'](null),_0x315d89=await _0x318b3f['execute'](_0x1f53e7);return attachUpdateNotice(_0x315d89,await _0x499e55);}};}function shouldResolveUpdateNotice(_0x12f4c8){const _0x53e2d5=a91_0x129f;return _0x12f4c8[_0x53e2d5(0x74)]===_0x53e2d5(0x8e)&&!_0x12f4c8['nonInteractive'];}function attachUpdateNotice(_0x3b5ee6,_0x1cac13){const _0x2b3ca7=a91_0x129f;if(!_0x1cac13||!_0x3b5ee6||typeof _0x3b5ee6!==_0x2b3ca7(0x66))return _0x3b5ee6;const _0x490bfe=_0x3b5ee6,_0x2a69eb=typeof _0x490bfe[_0x2b3ca7(0x71)]==='object'&&_0x490bfe[_0x2b3ca7(0x71)]!==null?_0x490bfe['_notice']:{};return{..._0x490bfe,'_notice':{..._0x2a69eb,'update':_0x1cac13}};}
1
+ (function(_0x489fb1,_0x56cab2){const _0x540c7a=a91_0x1c6d,_0x2b12a0=_0x489fb1();while(!![]){try{const _0x599674=parseInt(_0x540c7a(0xb4))/0x1*(parseInt(_0x540c7a(0xb2))/0x2)+parseInt(_0x540c7a(0xa2))/0x3+-parseInt(_0x540c7a(0xcc))/0x4*(-parseInt(_0x540c7a(0xcb))/0x5)+parseInt(_0x540c7a(0x86))/0x6+parseInt(_0x540c7a(0x9d))/0x7*(parseInt(_0x540c7a(0xbe))/0x8)+parseInt(_0x540c7a(0x96))/0x9*(parseInt(_0x540c7a(0xc0))/0xa)+-parseInt(_0x540c7a(0xc5))/0xb;if(_0x599674===_0x56cab2)break;else _0x2b12a0['push'](_0x2b12a0['shift']());}catch(_0x525df0){_0x2b12a0['push'](_0x2b12a0['shift']());}}}(a91_0x15c4,0xb9ea4));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';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x54da1d){const _0x56da42=a91_0x1c6d;return void _0x54da1d,AUTH_MODE[_0x56da42(0x9c)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x2169ee,_0x47ce21){const _0x1664e8=a91_0x1c6d,_0x33e7ae=typeof _0x47ce21[_0x1664e8(0x94)]===_0x1664e8(0x92)&&_0x47ce21['app']['trim']();return{'rawFlags':_0x47ce21,'appCode':_0x2169ee[_0x1664e8(0xbb)]||productEnv('APPCODE')||(_0x33e7ae?undefined:readAppCodeFromConfig()),'appCodeSource':_0x2169ee['appCodeSource'],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x47ce21),'defaultFormat':_0x2169ee[_0x1664e8(0xab)],'defaultPageSize':_0x2169ee['pageSize'],'defaultVerbose':_0x2169ee[_0x1664e8(0xb1)],'riskLevel':_0x2169ee[_0x1664e8(0xaf)],'accessKey':_0x2169ee['accessKey'],'env':_0x2169ee[_0x1664e8(0xa1)],'mergedCli':{'defaultApp':_0x2169ee[_0x1664e8(0x9b)],'currentApp':_0x2169ee[_0x1664e8(0xaa)],'appCode':_0x2169ee['appCode']}};}export function createLovrabetRunnerAdapter(_0x106b47={}){const _0xe7880c=a91_0x1c6d,_0x4f428a={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0xe7880c(0x91)](_0x112b0c=>PIPELINE_FLAG_NAMES[_0xe7880c(0xa8)](_0x112b0c[_0xe7880c(0xc8)]))['map'](({name:_0x2994b8,type:_0x5de9b5,description:_0x5939e9})=>({'name':_0x2994b8,'type':_0x5de9b5,'description':_0x5939e9})),'formatOutput':_0x106b47[_0xe7880c(0xad)]??formatOutput,'getCommandLabel'(_0x239a3c){const _0x562ee4=_0xe7880c;return CLI_BIN_NAME+'\x20'+_0x239a3c[_0x562ee4(0xbd)]+'\x20'+_0x239a3c[_0x562ee4(0xac)];},'riskPolicy':{'onViolation'(_0x1c516a){const _0x5524dc=_0xe7880c;console[_0x5524dc(0x8d)](_0x1c516a);},'createError'(_0x1d1acb){return CliErrors['cancelled'](_0x1d1acb);}},async 'prepare'(_0x2ae35a,_0x456aa6){const _0x4ff289=_0xe7880c,_0x116f15=resolveAuthMode(_0x456aa6);if(_0x2ae35a[_0x4ff289(0xa7)]!==![]){if(!_0x456aa6[_0x4ff289(0x8b)])throw CliErrors[_0x4ff289(0xbf)](_0x4ff289(0xb9)+PRODUCT_CONFIG[_0x4ff289(0xb0)]+_0x4ff289(0x9f)+productEnvName(_0x4ff289(0x8a))+'.');const {setActiveAK:_0x1e6725}=await import('../core/api-client.js');_0x1e6725(_0x456aa6[_0x4ff289(0x8b)]);}let _0x535f50='';if(_0x2ae35a[_0x4ff289(0xc4)]!==![]){_0x535f50=_0x456aa6['appCode']??'',_0x535f50=await resolveExplicitAppName(_0x2ae35a,_0x456aa6,_0x535f50);if(!_0x535f50){await assertSelectedAppNameIsRuntimeAccessible(_0x2ae35a,_0x456aa6);throw CliErrors[_0x4ff289(0xa6)](_0x4ff289(0xc2)+PRODUCT_CONFIG[_0x4ff289(0xb0)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x2ae35a,_0x456aa6,_0x535f50);}if(_0x535f50){const {initSdkClient:_0x371d29}=await import(_0x4ff289(0x89));_0x371d29({'appCode':_0x535f50,'env':_0x456aa6[_0x4ff289(0xa1)]??'production','accessKey':_0x456aa6['accessKey'],'authMode':_0x116f15}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x456aa6[_0x4ff289(0xba)]},'numbers':{'pagesize':_0x456aa6[_0x4ff289(0xc9)]}},'extras':{'appCode':_0x535f50,'cookie':'','apiDomain':_0x456aa6[_0x4ff289(0x87)],'apiDir':'','accessKey':_0x456aa6[_0x4ff289(0x8b)],'envName':_0x456aa6[_0x4ff289(0xa1)],'mergedCli':_0x456aa6['mergedCli']}};},'confirmHighRisk':_0x106b47[_0xe7880c(0x8e)]??(async({def:_0x24e33c,env:_0x5db239,flags:_0x2a0975,commandLabel:_0x105a2a})=>{const _0x4904dd=_0xe7880c;if(_0x5db239[_0x4904dd(0xb6)]){const _0x375a5b=reconstructCommandArgv(_0x24e33c,_0x2a0975);throw CliErrors[_0x4904dd(0xb3)](_0x4904dd(0x93)+_0x105a2a+_0x4904dd(0x9e)+(_0x4904dd(0xca)+_0x375a5b));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x24e33c,_0x105a2a,_0x2a0975),'createCancelledError':_0x634a9=>CliErrors['cancelled'](_0x634a9)});}),'mapDryRunError'(_0x258ef4){return mapUserFacingExecuteError(_0x258ef4);},'mapExecuteError'(_0x3decb8){return mapUserFacingExecuteError(_0x3decb8);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x4f428a;}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0xca9e1f=a91_0x1c6d;try{if(sdkClientInitialized){const {clearSdkClient:_0x4a13d1}=await import(_0xca9e1f(0x89));_0x4a13d1();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x1ce151}=await import(_0xca9e1f(0xc6));_0x1ce151();}}async function resolveExplicitAppName(_0x315eb7,_0x4aba6f,_0x4971f9){const _0x421dab=a91_0x1c6d;if(_0x315eb7[_0x421dab(0xc4)]===![])return _0x4971f9;const _0x4916f1=typeof _0x4aba6f[_0x421dab(0x8f)][_0x421dab(0x94)]===_0x421dab(0x92)?_0x4aba6f[_0x421dab(0x8f)]['app']['trim']():'';if(!_0x4916f1)return _0x4971f9;const _0x14c937=typeof _0x4aba6f[_0x421dab(0x8f)]['appcode']==='string'&&_0x4aba6f[_0x421dab(0x8f)]['appcode'][_0x421dab(0xa5)]()||productEnv(_0x421dab(0xbc));if(_0x14c937||_0x4aba6f[_0x421dab(0xa0)]===_0x421dab(0xc7))return _0x4971f9;const {getRemoteAppList:_0x2f35a3}=await import(_0x421dab(0xc1)),_0x5c1f6b=await _0x2f35a3({'env':_0x4aba6f[_0x421dab(0xa1)]??_0x421dab(0xae),'accessKey':_0x4aba6f[_0x421dab(0x8b)]}),_0x50767e=findAppByName(_0x5c1f6b['items'],_0x4916f1);if(_0x50767e&&!isRuntimeAccessibleApp(_0x50767e))throw runtimeInaccessibleAppError(_0x50767e,'\x22'+_0x4916f1+'\x22');const _0x2c26d3=_0x50767e?.[_0x421dab(0xbb)]?.[_0x421dab(0xa5)]();if(_0x2c26d3)return _0x2c26d3;throw CliErrors['validation'](_0x421dab(0xb8)+_0x4916f1,_0x421dab(0x88)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x4916f1+'.appcode\x20to\x20'+PRODUCT_CONFIG['newConfigFileName']+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x1b6c32,_0x183a10){const _0x2d76cc=a91_0x1c6d;if(_0x1b6c32[_0x2d76cc(0xc4)]===![]||!_0x183a10[_0x2d76cc(0x8b)])return;const _0x4a2a4b=(typeof _0x183a10[_0x2d76cc(0x8f)]['app']===_0x2d76cc(0x92)&&_0x183a10[_0x2d76cc(0x8f)][_0x2d76cc(0x94)][_0x2d76cc(0xa5)]()?_0x183a10['rawFlags']['app']:_0x183a10['mergedCli']?.['currentApp']??_0x183a10[_0x2d76cc(0xa3)]?.[_0x2d76cc(0x9b)])?.[_0x2d76cc(0xa5)]();if(!_0x4a2a4b)return;const {getRemoteAppList:_0x1ffbac}=await import(_0x2d76cc(0xc1)),_0x1ab042=await _0x1ffbac({'env':_0x183a10[_0x2d76cc(0xa1)]??'production','accessKey':_0x183a10['accessKey']}),_0x5f4970=findAppByName(_0x1ab042[_0x2d76cc(0x9a)],_0x4a2a4b);if(_0x5f4970&&!isRuntimeAccessibleApp(_0x5f4970))throw runtimeInaccessibleAppError(_0x5f4970,'\x22'+_0x4a2a4b+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0xe8c69f,_0x45801f,_0xb34a3){const _0x460fb0=a91_0x1c6d;if(_0xe8c69f[_0x460fb0(0xc4)]===![]||!_0x45801f['accessKey'])return;const {getRemoteAppList:_0x2ebcc9}=await import('../commands/app/remote-source.js'),_0x5fc7ba=await _0x2ebcc9({'env':_0x45801f[_0x460fb0(0xa1)]??_0x460fb0(0xae),'accessKey':_0x45801f[_0x460fb0(0x8b)]}),_0x48b911=findAppByCode(_0x5fc7ba[_0x460fb0(0x9a)],_0xb34a3);if(_0x48b911&&!isRuntimeAccessibleApp(_0x48b911))throw runtimeInaccessibleAppError(_0x48b911,_0x460fb0(0x85)+_0xb34a3+'\x22');}export async function runCommand(_0xb64d2a,_0x23acb5,_0x153def=terminalRunnerAdapter){await runCommandWithAdapter(shouldAttachUpdateNotice(_0xb64d2a)?withUpdateNotice(_0xb64d2a):_0xb64d2a,_0x23acb5,_0x153def);}function shouldAttachUpdateNotice(_0x253f8a){const _0xeef279=a91_0x1c6d;return![_0xeef279(0xb7),_0xeef279(0x8c),_0xeef279(0xc3)][_0xeef279(0x97)](_0x253f8a[_0xeef279(0xbd)]);}function a91_0x1c6d(_0x151518,_0x591b51){_0x151518=_0x151518-0x85;const _0x15c448=a91_0x15c4();let _0x1c6da9=_0x15c448[_0x151518];return _0x1c6da9;}function withUpdateNotice(_0x5b015d){return{..._0x5b015d,async 'execute'(_0x567994){const _0x54b3a6=a91_0x1c6d,_0x3b3e76=shouldResolveUpdateNotice(_0x567994)?resolveLatestUpdateNotice()[_0x54b3a6(0xa9)](()=>null):Promise[_0x54b3a6(0x98)](null),_0x240019=await _0x5b015d[_0x54b3a6(0x95)](_0x567994);return attachUpdateNotice(_0x240019,await _0x3b3e76);}};}function a91_0x15c4(){const _0x9a2fbb=['requiresAppCode','22847176nutLvI','../core/api-client.js','local-alias','name','defaultPageSize','\x20\x20To\x20proceed:\x20','368550gTaATu','12goHdbi','appcode\x20\x22','248088GyVJga','apiDomain','Run\x20`','../core/sdk-client.js','ACCESS_KEY','accessKey','schema','error','confirmHighRisk','rawFlags','object','filter','string','High-risk\x20operation\x20`','app','execute','88407rtPXtk','includes','resolve','nonInteractive','items','defaultApp','ClientAk','7WtWMAz','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','\x20or\x20pass\x20','appCodeSource','env','1176306pixlKm','mergedCli','_notice','trim','configMissing','requiresAuth','has','catch','currentApp','format','command','formatOutput','production','riskLevel','newConfigFileName','verbose','120wgRorf','validation','16794WFETrD','pretty','isNonInteractive','update','Unknown\x20app:\x20','Set\x20accessKey\x20in\x20','defaultVerbose','appCode','APPCODE','service','8860344KLEnXk','authRequired','70OiNkwZ','../commands/app/remote-source.js','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','doctor'];a91_0x15c4=function(){return _0x9a2fbb;};return a91_0x15c4();}function shouldResolveUpdateNotice(_0x110f11){const _0xc18b2e=a91_0x1c6d;return _0x110f11[_0xc18b2e(0xab)]===_0xc18b2e(0xb5)&&!_0x110f11[_0xc18b2e(0x99)];}function attachUpdateNotice(_0xe96ce3,_0x4a9911){const _0x32a6ea=a91_0x1c6d;if(!_0x4a9911||!_0xe96ce3||typeof _0xe96ce3!=='object')return _0xe96ce3;const _0x487e36=_0xe96ce3,_0x33af63=typeof _0x487e36[_0x32a6ea(0xa4)]===_0x32a6ea(0x90)&&_0x487e36[_0x32a6ea(0xa4)]!==null?_0x487e36[_0x32a6ea(0xa4)]:{};return{..._0x487e36,'_notice':{..._0x33af63,'update':_0x4a9911}};}
@@ -1 +1 @@
1
- (function(_0x8b8e79,_0x23897a){const _0x39f19c=a92_0x198f,_0x32475b=_0x8b8e79();while(!![]){try{const _0x1c21d8=parseInt(_0x39f19c(0xac))/0x1+parseInt(_0x39f19c(0xb4))/0x2+parseInt(_0x39f19c(0xb2))/0x3+parseInt(_0x39f19c(0xb5))/0x4*(-parseInt(_0x39f19c(0xa4))/0x5)+-parseInt(_0x39f19c(0xaf))/0x6*(parseInt(_0x39f19c(0xae))/0x7)+parseInt(_0x39f19c(0xb3))/0x8*(parseInt(_0x39f19c(0xa5))/0x9)+-parseInt(_0x39f19c(0xb1))/0xa*(parseInt(_0x39f19c(0xa9))/0xb);if(_0x1c21d8===_0x23897a)break;else _0x32475b['push'](_0x32475b['shift']());}catch(_0x440f8a){_0x32475b['push'](_0x32475b['shift']());}}}(a92_0xa88a,0x1ff88));function a92_0x198f(_0x328c65,_0x25bb0b){_0x328c65=_0x328c65-0xa4;const _0xa88a89=a92_0xa88a();let _0x198fea=_0xa88a89[_0x328c65];return _0x198fea;}import{buildSchemaPayload as a92_0x5a7d51}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0xa0bef3=a92_0x198f,{serviceRegistry:_0x18ae5b,findDefinition:_0x11cc23}=await import(_0xa0bef3(0xaa)),_0x51c66d=new Set(_0x18ae5b[_0xa0bef3(0xb6)](_0x1ae275=>_0x1ae275[_0xa0bef3(0xa6)])),_0x537d45=listDynamicServiceEntries()['filter'](_0x56d4f0=>!_0x51c66d[_0xa0bef3(0xa8)](_0x56d4f0['service'])),_0x596833=a92_0x5a7d51({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x18ae5b,_0x537d45),'buildAllFlags':buildAllFlags,'findDefinition':(_0xecb25,_0x39e9ac)=>_0x11cc23(_0xecb25,_0x39e9ac)??findDynamicServiceDefinition(_0xecb25,_0x39e9ac)});return normalizeSchemaPayload(_0x596833);}function a92_0xa88a(){const _0x310fe7=['required','337505eMigCE','6iruAij','services','299290NjHBkR','370056jMhRTl','48408YiBDAf','390782vAIdFF','930532jTMbEm','map','none','requiresAuth','5pUcSiM','18ClBLFk','service','commands','has','22YWjgJk','../commands/registry.js','auth','140813dggacx'];a92_0xa88a=function(){return _0x310fe7;};return a92_0xa88a();}function normalizeSchemaPayload(_0x56ab49){const _0x184ead=a92_0x198f;return{..._0x56ab49,'schemaVersion':0x2,'services':_0x56ab49[_0x184ead(0xb0)][_0x184ead(0xb6)](_0x13cc57=>({..._0x13cc57,'commands':_0x13cc57[_0x184ead(0xa7)][_0x184ead(0xb6)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x3b6b25){const _0x2eb104=a92_0x198f,_0x4a3790=_0x3b6b25;return{..._0x3b6b25,'auth':_0x4a3790[_0x2eb104(0xab)]??(_0x3b6b25[_0x2eb104(0xb8)]?_0x2eb104(0xad):_0x2eb104(0xb7))};}
1
+ (function(_0x1edf14,_0x2e9008){const _0x43826b=a92_0x1a0b,_0x3e11a6=_0x1edf14();while(!![]){try{const _0x1a8383=-parseInt(_0x43826b(0xc7))/0x1+-parseInt(_0x43826b(0xcd))/0x2+parseInt(_0x43826b(0xc4))/0x3+parseInt(_0x43826b(0xc0))/0x4+parseInt(_0x43826b(0xc1))/0x5*(-parseInt(_0x43826b(0xce))/0x6)+parseInt(_0x43826b(0xc9))/0x7*(-parseInt(_0x43826b(0xc8))/0x8)+parseInt(_0x43826b(0xd0))/0x9*(parseInt(_0x43826b(0xc6))/0xa);if(_0x1a8383===_0x2e9008)break;else _0x3e11a6['push'](_0x3e11a6['shift']());}catch(_0x475a4e){_0x3e11a6['push'](_0x3e11a6['shift']());}}}(a92_0x10a8,0x40d31));import{buildSchemaPayload as a92_0x101b58}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a92_0x10a8(){const _0x2240a3=['none','1278270VkJrqd','../commands/registry.js','10PGvQRR','378507LEnbyA','520ASBmzD','38528ZpXAZF','commands','auth','services','785820WERbiS','120EfDdBd','map','8852706EMWpRx','has','required','1712616afFuYc','110795MZgYAw','service'];a92_0x10a8=function(){return _0x2240a3;};return a92_0x10a8();}import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x1f6e9d=a92_0x1a0b,{serviceRegistry:_0x2e683f,findDefinition:_0x28a620}=await import(_0x1f6e9d(0xc5)),_0x4ddceb=new Set(_0x2e683f[_0x1f6e9d(0xcf)](_0x29e22e=>_0x29e22e[_0x1f6e9d(0xc2)])),_0x27fd1e=listDynamicServiceEntries()['filter'](_0xa03f44=>!_0x4ddceb[_0x1f6e9d(0xd1)](_0xa03f44['service'])),_0x51a7f1=a92_0x101b58({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x2e683f,_0x27fd1e),'buildAllFlags':buildAllFlags,'findDefinition':(_0x39c999,_0x19e92f)=>_0x28a620(_0x39c999,_0x19e92f)??findDynamicServiceDefinition(_0x39c999,_0x19e92f)});return normalizeSchemaPayload(_0x51a7f1);}function a92_0x1a0b(_0x5ebef9,_0x2e1f4f){_0x5ebef9=_0x5ebef9-0xbf;const _0x10a8f0=a92_0x10a8();let _0x1a0b4d=_0x10a8f0[_0x5ebef9];return _0x1a0b4d;}function normalizeSchemaPayload(_0x1bdfe8){const _0x3e3030=a92_0x1a0b;return{..._0x1bdfe8,'schemaVersion':0x2,'services':_0x1bdfe8[_0x3e3030(0xcc)][_0x3e3030(0xcf)](_0x5f133d=>({..._0x5f133d,'commands':_0x5f133d[_0x3e3030(0xca)][_0x3e3030(0xcf)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x377071){const _0x3b5497=a92_0x1a0b,_0x23ebae=_0x377071;return{..._0x377071,'auth':_0x23ebae[_0x3b5497(0xcb)]??(_0x377071['requiresAuth']?_0x3b5497(0xbf):_0x3b5497(0xc3))};}
@@ -1 +1 @@
1
- function a93_0x4899(_0x3c0589,_0x344df0){_0x3c0589=_0x3c0589-0xb2;const _0x31d741=a93_0x31d7();let _0x48990b=_0x31d741[_0x3c0589];return _0x48990b;}(function(_0x3b7ae8,_0x35945a){const _0x10936d=a93_0x4899,_0x2435ae=_0x3b7ae8();while(!![]){try{const _0x52bad9=parseInt(_0x10936d(0xbd))/0x1*(parseInt(_0x10936d(0xb5))/0x2)+parseInt(_0x10936d(0xb2))/0x3*(parseInt(_0x10936d(0xbe))/0x4)+-parseInt(_0x10936d(0xba))/0x5+-parseInt(_0x10936d(0xc0))/0x6*(-parseInt(_0x10936d(0xbb))/0x7)+parseInt(_0x10936d(0xc1))/0x8*(parseInt(_0x10936d(0xb3))/0x9)+-parseInt(_0x10936d(0xbc))/0xa*(parseInt(_0x10936d(0xb4))/0xb)+-parseInt(_0x10936d(0xbf))/0xc*(parseInt(_0x10936d(0xb9))/0xd);if(_0x52bad9===_0x35945a)break;else _0x2435ae['push'](_0x2435ae['shift']());}catch(_0x5ce1f6){_0x2435ae['push'](_0x2435ae['shift']());}}}(a93_0x31d7,0x83dae));export function insertDynamicServicesAfterServiceTree(_0x489b61,_0x4a9fc5){const _0x9fd63d=a93_0x4899;if(_0x4a9fc5['length']===0x0)return[..._0x489b61];const _0x183383=_0x489b61[_0x9fd63d(0xb6)](_0x18bee1=>_0x18bee1[_0x9fd63d(0xb8)]===_0x9fd63d(0xb8));if(_0x183383<0x0)return[..._0x489b61,..._0x4a9fc5];return[..._0x489b61[_0x9fd63d(0xb7)](0x0,_0x183383+0x1),..._0x4a9fc5,..._0x489b61['slice'](_0x183383+0x1)];}function a93_0x31d7(){const _0x4f82c7=['77TOmFbR','65456cGMXCo','findIndex','slice','service','882089rmdxtJ','1395885MLCVoZ','100926jroKGG','231690jEjzwW','14ugCMBq','421060gnYxYH','120WgROuG','114DOFSuG','8VvVkGh','12drZjUx','4560966BDIBLq'];a93_0x31d7=function(){return _0x4f82c7;};return a93_0x31d7();}
1
+ (function(_0x2b0054,_0x54b013){const _0x46f8bc=a93_0x4256,_0x27ca35=_0x2b0054();while(!![]){try{const _0x557824=parseInt(_0x46f8bc(0x6f))/0x1+-parseInt(_0x46f8bc(0x70))/0x2+parseInt(_0x46f8bc(0x73))/0x3+parseInt(_0x46f8bc(0x72))/0x4+parseInt(_0x46f8bc(0x6e))/0x5+-parseInt(_0x46f8bc(0x6c))/0x6+-parseInt(_0x46f8bc(0x6d))/0x7;if(_0x557824===_0x54b013)break;else _0x27ca35['push'](_0x27ca35['shift']());}catch(_0x4d0104){_0x27ca35['push'](_0x27ca35['shift']());}}}(a93_0x338f,0x40598));export function insertDynamicServicesAfterServiceTree(_0x10bfff,_0x5b0599){const _0x5342db=a93_0x4256;if(_0x5b0599['length']===0x0)return[..._0x10bfff];const _0x143a33=_0x10bfff[_0x5342db(0x71)](_0x6c9d4c=>_0x6c9d4c['service']===_0x5342db(0x74));if(_0x143a33<0x0)return[..._0x10bfff,..._0x5b0599];return[..._0x10bfff[_0x5342db(0x6b)](0x0,_0x143a33+0x1),..._0x5b0599,..._0x10bfff[_0x5342db(0x6b)](_0x143a33+0x1)];}function a93_0x4256(_0x17d63f,_0x5a213e){_0x17d63f=_0x17d63f-0x6b;const _0x338f22=a93_0x338f();let _0x4256c1=_0x338f22[_0x17d63f];return _0x4256c1;}function a93_0x338f(){const _0x20cf7a=['1035524DqdSNz','findIndex','324832LDSnIb','1481457lXTSzX','service','slice','1700148QhHeRv','1787877exuRFl','1616370GbCOch','421806FObqGm'];a93_0x338f=function(){return _0x20cf7a;};return a93_0x338f();}
@@ -1 +1 @@
1
- (function(_0x233f6e,_0x9ba1ec){var _0x405865=a94_0x22a9,_0x41afde=_0x233f6e();while(!![]){try{var _0x456dcb=-parseInt(_0x405865(0x160))/0x1+-parseInt(_0x405865(0x164))/0x2+parseInt(_0x405865(0x162))/0x3*(-parseInt(_0x405865(0x163))/0x4)+parseInt(_0x405865(0x166))/0x5+-parseInt(_0x405865(0x15f))/0x6*(-parseInt(_0x405865(0x165))/0x7)+-parseInt(_0x405865(0x168))/0x8*(parseInt(_0x405865(0x169))/0x9)+parseInt(_0x405865(0x161))/0xa*(parseInt(_0x405865(0x167))/0xb);if(_0x456dcb===_0x9ba1ec)break;else _0x41afde['push'](_0x41afde['shift']());}catch(_0x271f1e){_0x41afde['push'](_0x41afde['shift']());}}}(a94_0x2154,0x72751));function a94_0x2154(){var _0x5a8b20=['7KqXPBX','4159120ntxePm','121bpuIUj','8SBDBtl','8163387ZWMtIe','5330586SEPTZq','152466LbcesT','989180vCNHep','66dGUhPS','117932qNIqiR','1262802wwKPGs'];a94_0x2154=function(){return _0x5a8b20;};return a94_0x2154();}function a94_0x22a9(_0x38250f,_0x24a942){_0x38250f=_0x38250f-0x15f;var _0x2154d4=a94_0x2154();var _0x22a971=_0x2154d4[_0x38250f];return _0x22a971;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a94_0x3318(_0x1dc5e7,_0x57b3f3){_0x1dc5e7=_0x1dc5e7-0x9d;var _0x595486=a94_0x5954();var _0x3318a6=_0x595486[_0x1dc5e7];return _0x3318a6;}(function(_0x2732cb,_0x5b0d79){var _0x311a2a=a94_0x3318,_0x30b776=_0x2732cb();while(!![]){try{var _0x181478=-parseInt(_0x311a2a(0x9d))/0x1*(parseInt(_0x311a2a(0xa3))/0x2)+parseInt(_0x311a2a(0x9f))/0x3*(-parseInt(_0x311a2a(0xa4))/0x4)+parseInt(_0x311a2a(0xa6))/0x5+-parseInt(_0x311a2a(0xa1))/0x6+parseInt(_0x311a2a(0xa0))/0x7+parseInt(_0x311a2a(0xa2))/0x8*(-parseInt(_0x311a2a(0x9e))/0x9)+parseInt(_0x311a2a(0xa5))/0xa;if(_0x181478===_0x5b0d79)break;else _0x30b776['push'](_0x30b776['shift']());}catch(_0x262697){_0x30b776['push'](_0x30b776['shift']());}}}(a94_0x5954,0xf1055));function a94_0x5954(){var _0x2ef82a=['328542gGkdwa','4320916FRBjdP','17962040NdmKSQ','7887765GjaROF','7Dwshpk','52848usedXo','3rKptqN','7631001BCNUTi','6704214ZdCLph','176xmWSHM'];a94_0x5954=function(){return _0x2ef82a;};return a94_0x5954();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.1.18-beta.3";
1
+ export declare const VERSION = "2.1.18";
2
2
  export declare const GIT_TAG = "v2.1.18-beta.3";
3
- export declare const GIT_COMMIT = "25e5132";
4
- export declare const BUILD_TIME = "2026-07-29T12:17:37.409Z";
3
+ export declare const GIT_COMMIT = "835e653";
4
+ export declare const BUILD_TIME = "2026-07-30T11:21:19.193Z";
@@ -1 +1 @@
1
- const a95_0x5b8053=a95_0x29bd;(function(_0x2dd870,_0x4fec0d){const _0x25c488=a95_0x29bd,_0x5dfdc5=_0x2dd870();while(!![]){try{const _0x436cf2=parseInt(_0x25c488(0x1c5))/0x1*(parseInt(_0x25c488(0x1c8))/0x2)+-parseInt(_0x25c488(0x1c9))/0x3+-parseInt(_0x25c488(0x1c6))/0x4+-parseInt(_0x25c488(0x1cb))/0x5+parseInt(_0x25c488(0x1cf))/0x6+-parseInt(_0x25c488(0x1ce))/0x7*(parseInt(_0x25c488(0x1c4))/0x8)+parseInt(_0x25c488(0x1cc))/0x9*(parseInt(_0x25c488(0x1c3))/0xa);if(_0x436cf2===_0x4fec0d)break;else _0x5dfdc5['push'](_0x5dfdc5['shift']());}catch(_0x45daf9){_0x5dfdc5['push'](_0x5dfdc5['shift']());}}}(a95_0x122f,0x214bc));function a95_0x29bd(_0x27297c,_0x4740d6){_0x27297c=_0x27297c-0x1c3;const _0x122fbc=a95_0x122f();let _0x29bdd0=_0x122fbc[_0x27297c];return _0x29bdd0;}function a95_0x122f(){const _0x52c829=['528328KiQmju','1499TQHWYo','214752MUVjFS','25e5132','146kIYRjd','1899aMYYFv','2026-07-29T12:17:37.409Z','1199265TEEdov','36QXFwrC','2.1.18-beta.3','21MHOIkZ','782940tlenej','971900MVvnnO'];a95_0x122f=function(){return _0x52c829;};return a95_0x122f();}export const VERSION=a95_0x5b8053(0x1cd);export const GIT_TAG='v2.1.18-beta.3';export const GIT_COMMIT=a95_0x5b8053(0x1c7);export const BUILD_TIME=a95_0x5b8053(0x1ca);
1
+ const a95_0x44f9ec=a95_0x4418;(function(_0xeb906b,_0x592252){const _0x566ba2=a95_0x4418,_0x4009d3=_0xeb906b();while(!![]){try{const _0x29ebbb=parseInt(_0x566ba2(0x167))/0x1*(-parseInt(_0x566ba2(0x174))/0x2)+parseInt(_0x566ba2(0x168))/0x3+parseInt(_0x566ba2(0x172))/0x4+parseInt(_0x566ba2(0x16f))/0x5*(-parseInt(_0x566ba2(0x16c))/0x6)+-parseInt(_0x566ba2(0x16e))/0x7*(-parseInt(_0x566ba2(0x169))/0x8)+parseInt(_0x566ba2(0x170))/0x9*(-parseInt(_0x566ba2(0x16d))/0xa)+parseInt(_0x566ba2(0x171))/0xb;if(_0x29ebbb===_0x592252)break;else _0x4009d3['push'](_0x4009d3['shift']());}catch(_0x1e8621){_0x4009d3['push'](_0x4009d3['shift']());}}}(a95_0x41f7,0xc75f3));export const VERSION=a95_0x44f9ec(0x173);export const GIT_TAG=a95_0x44f9ec(0x166);function a95_0x41f7(){const _0x1fa976=['3062545MRuYVK','3303pGojSO','23365969MtsLyz','1272840hzRqRz','2.1.18','2RLuidE','v2.1.18-beta.3','1061569PcNsQp','404652fIXXUv','8zUwkho','835e653','2026-07-30T11:21:19.193Z','6NthMQr','17180wuPkGZ','3807566nCTctf'];a95_0x41f7=function(){return _0x1fa976;};return a95_0x41f7();}export const GIT_COMMIT=a95_0x44f9ec(0x16a);function a95_0x4418(_0x1584b0,_0x47f3ca){_0x1584b0=_0x1584b0-0x166;const _0x41f711=a95_0x41f7();let _0x4418de=_0x41f711[_0x1584b0];return _0x4418de;}export const BUILD_TIME=a95_0x44f9ec(0x16b);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a96_0x24c8(){const _0x4a221e=['1470978PZJiEC','\x20--help','green','1279597jNejAC','24842712OTgLGD','42KAqXNe','1335332cdcPgo','\x20to\x20view\x20available\x20commands.','939AvaIMb','column','126xMcsoa','433760FMOSPb','7894QeKHog','1240fInqol','30GOTYYl','\x20\x20Use\x20','15824NNcaUm'];a96_0x24c8=function(){return _0x4a221e;};return a96_0x24c8();}(function(_0x2f5c77,_0x3f6e4c){const _0x845a2e=a96_0x2ab3,_0x61db33=_0x2f5c77();while(!![]){try{const _0x184307=-parseInt(_0x845a2e(0x1e8))/0x1+-parseInt(_0x845a2e(0x1ee))/0x2*(parseInt(_0x845a2e(0x1ea))/0x3)+parseInt(_0x845a2e(0x1e1))/0x4*(parseInt(_0x845a2e(0x1ef))/0x5)+-parseInt(_0x845a2e(0x1e2))/0x6*(-parseInt(_0x845a2e(0x1e7))/0x7)+-parseInt(_0x845a2e(0x1ed))/0x8*(parseInt(_0x845a2e(0x1ec))/0x9)+parseInt(_0x845a2e(0x1f0))/0xa*(-parseInt(_0x845a2e(0x1e5))/0xb)+parseInt(_0x845a2e(0x1e6))/0xc;if(_0x184307===_0x3f6e4c)break;else _0x61db33['push'](_0x61db33['shift']());}catch(_0x34f0e2){_0x61db33['push'](_0x61db33['shift']());}}}(a96_0x24c8,0xcdee0));import{jsx as a96_0x1ac151,jsxs as a96_0x56979f}from'react/jsx-runtime';function a96_0x2ab3(_0x2dacc6,_0x4118d2){_0x2dacc6=_0x2dacc6-0x1e0;const _0x24c832=a96_0x24c8();let _0x2ab3ce=_0x24c832[_0x2dacc6];return _0x2ab3ce;}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 _0x80de0d=a96_0x2ab3,{exit:_0x5b3863}=useApp();return useEffect(()=>{_0x5b3863();},[_0x5b3863]),a96_0x56979f(Box,{'flexDirection':_0x80de0d(0x1eb),'marginTop':0x1,'marginBottom':0x1,'children':[a96_0x1ac151(Box,{'children':a96_0x1ac151(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a96_0x56979f(Box,{'marginTop':0x1,'children':[a96_0x1ac151(Text,{'dimColor':!![],'children':_0x80de0d(0x1e0)}),a96_0x1ac151(Text,{'bold':!![],'color':_0x80de0d(0x1e4),'children':CLI_BIN_NAME+_0x80de0d(0x1e3)}),a96_0x1ac151(Text,{'dimColor':!![],'children':_0x80de0d(0x1e9)})]})]});}
1
+ function a96_0x104c(_0xc0ae78,_0x374ad5){_0xc0ae78=_0xc0ae78-0x1b3;const _0x3fca2e=a96_0x3fca();let _0x104c87=_0x3fca2e[_0xc0ae78];return _0x104c87;}function a96_0x3fca(){const _0x4e37d7=['7fBIhfO','180DgBocv','\x20--help','\x20to\x20view\x20available\x20commands.','8469744pVKVIA','47905kGxlWu','1703256ejRALA','42579wFCCtx','215BQzUnb','\x20\x20Use\x20','265204NyZhDU','column','7HRNlNN','3489567XJgvSG','57534SjXnzs','4JdJfvc','green'];a96_0x3fca=function(){return _0x4e37d7;};return a96_0x3fca();}(function(_0x495536,_0x1c0077){const _0x3d3f05=a96_0x104c,_0x4446d3=_0x495536();while(!![]){try{const _0xdcbdf9=-parseInt(_0x3d3f05(0x1b4))/0x1*(-parseInt(_0x3d3f05(0x1c3))/0x2)+-parseInt(_0x3d3f05(0x1b5))/0x3*(parseInt(_0x3d3f05(0x1b7))/0x4)+-parseInt(_0x3d3f05(0x1c1))/0x5*(-parseInt(_0x3d3f05(0x1b6))/0x6)+parseInt(_0x3d3f05(0x1b9))/0x7*(-parseInt(_0x3d3f05(0x1bf))/0x8)+-parseInt(_0x3d3f05(0x1c0))/0x9+-parseInt(_0x3d3f05(0x1ba))/0xa*(parseInt(_0x3d3f05(0x1be))/0xb)+parseInt(_0x3d3f05(0x1bd))/0xc;if(_0xdcbdf9===_0x1c0077)break;else _0x4446d3['push'](_0x4446d3['shift']());}catch(_0x3882c6){_0x4446d3['push'](_0x4446d3['shift']());}}}(a96_0x3fca,0x8f580));import{jsx as a96_0x43d1ee,jsxs as a96_0x4f4330}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 _0x37f702=a96_0x104c,{exit:_0x2b16dd}=useApp();return useEffect(()=>{_0x2b16dd();},[_0x2b16dd]),a96_0x4f4330(Box,{'flexDirection':_0x37f702(0x1b3),'marginTop':0x1,'marginBottom':0x1,'children':[a96_0x43d1ee(Box,{'children':a96_0x43d1ee(Text,{'bold':!![],'color':_0x37f702(0x1b8),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a96_0x4f4330(Box,{'marginTop':0x1,'children':[a96_0x43d1ee(Text,{'dimColor':!![],'children':_0x37f702(0x1c2)}),a96_0x43d1ee(Text,{'bold':!![],'color':_0x37f702(0x1b8),'children':CLI_BIN_NAME+_0x37f702(0x1bb)}),a96_0x43d1ee(Text,{'dimColor':!![],'children':_0x37f702(0x1bc)})]})]});}
@@ -1 +1 @@
1
- (function(_0x4accc7,_0x235214){const _0x430fb4=a97_0x3a4a,_0x5e0abf=_0x4accc7();while(!![]){try{const _0x53be7b=parseInt(_0x430fb4(0x74))/0x1+-parseInt(_0x430fb4(0x81))/0x2*(parseInt(_0x430fb4(0x7a))/0x3)+parseInt(_0x430fb4(0x77))/0x4+parseInt(_0x430fb4(0x72))/0x5+-parseInt(_0x430fb4(0x7f))/0x6*(-parseInt(_0x430fb4(0x79))/0x7)+-parseInt(_0x430fb4(0x7d))/0x8*(-parseInt(_0x430fb4(0x78))/0x9)+-parseInt(_0x430fb4(0x80))/0xa;if(_0x53be7b===_0x235214)break;else _0x5e0abf['push'](_0x5e0abf['shift']());}catch(_0x1fd779){_0x5e0abf['push'](_0x5e0abf['shift']());}}}(a97_0x1d47,0x87947));export function canonicalLovrabetOperation(_0x369463){const _0x484322=a97_0x3a4a;return[_0x369463[_0x484322(0x73)],..._0x369463[_0x484322(0x7b)][_0x484322(0x82)]()[_0x484322(0x7e)](/\s+/)]['filter'](Boolean)[_0x484322(0x76)]('.');}function a97_0x1d47(){const _0x2816c5=['service','1076604eyAHqk','writeEventSubject','join','1642424mXGjEP','963747Urgtdv','1617847CPiUoK','3132rehyLs','command','write','16MSlSye','split','18hxwXEw','15855150vLGpRP','926zgWyiP','trim','lovrabet.write.completed','risk','1147415ymYvXC'];a97_0x1d47=function(){return _0x2816c5;};return a97_0x1d47();}function a97_0x3a4a(_0x12043d,_0x292e1b){_0x12043d=_0x12043d-0x72;const _0x1d4731=a97_0x1d47();let _0x3a4ab9=_0x1d4731[_0x12043d];return _0x3a4ab9;}export function createLovrabetWriteMetadata(_0xe715e5,_0x10e3c7,_0x28a479,_0x1da170){const _0x4b83e1=a97_0x3a4a;if(_0x1da170||_0x28a479['ok']!==!![]||_0xe715e5['risk']!==_0x4b83e1(0x7c)&&_0xe715e5[_0x4b83e1(0x84)]!=='high-risk-write')return undefined;const _0x255103=_0xe715e5[_0x4b83e1(0x75)]?.(_0x28a479),_0x50e797={'type':_0x4b83e1(0x83),'operation':_0x10e3c7,'risk':_0xe715e5['risk'],..._0x255103?{'subject':_0x255103}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x50e797}};}
1
+ function a97_0x3a09(){const _0x39266e=['write','33XlFaoM','1338560VIyJLX','command','487034aZtKMz','1867776AeGTyy','739022rRMLeN','9sVwMue','risk','service','filter','91kwPrSE','split','217254wtftTM','6fosUOa','writeEventSubject','2162624xKAhji','4077740bVcqhj','lovrabet.write.completed'];a97_0x3a09=function(){return _0x39266e;};return a97_0x3a09();}function a97_0x4f9e(_0x5a0725,_0x5bedd6){_0x5a0725=_0x5a0725-0x18a;const _0x3a09b6=a97_0x3a09();let _0x4f9e5f=_0x3a09b6[_0x5a0725];return _0x4f9e5f;}(function(_0x29c266,_0x52092d){const _0x4f81f9=a97_0x4f9e,_0x1385a2=_0x29c266();while(!![]){try{const _0x5a1529=parseInt(_0x4f81f9(0x18d))/0x1+-parseInt(_0x4f81f9(0x18b))/0x2*(-parseInt(_0x4f81f9(0x195))/0x3)+-parseInt(_0x4f81f9(0x197))/0x4+parseInt(_0x4f81f9(0x19c))/0x5+-parseInt(_0x4f81f9(0x194))/0x6*(-parseInt(_0x4f81f9(0x192))/0x7)+-parseInt(_0x4f81f9(0x18c))/0x8*(-parseInt(_0x4f81f9(0x18e))/0x9)+-parseInt(_0x4f81f9(0x198))/0xa*(parseInt(_0x4f81f9(0x19b))/0xb);if(_0x5a1529===_0x52092d)break;else _0x1385a2['push'](_0x1385a2['shift']());}catch(_0x205830){_0x1385a2['push'](_0x1385a2['shift']());}}}(a97_0x3a09,0x69f3b));export function canonicalLovrabetOperation(_0xcdd859){const _0x38dfa3=a97_0x4f9e;return[_0xcdd859[_0x38dfa3(0x190)],..._0xcdd859[_0x38dfa3(0x18a)]['trim']()[_0x38dfa3(0x193)](/\s+/)][_0x38dfa3(0x191)](Boolean)['join']('.');}export function createLovrabetWriteMetadata(_0xf29489,_0xdaee7c,_0x1997e8,_0x19682a){const _0x479017=a97_0x4f9e;if(_0x19682a||_0x1997e8['ok']!==!![]||_0xf29489[_0x479017(0x18f)]!==_0x479017(0x19a)&&_0xf29489[_0x479017(0x18f)]!=='high-risk-write')return undefined;const _0x2a3c6=_0xf29489[_0x479017(0x196)]?.(_0x1997e8),_0x50b38c={'type':_0x479017(0x199),'operation':_0xdaee7c,'risk':_0xf29489['risk'],..._0x2a3c6?{'subject':_0x2a3c6}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x50b38c}};}
@@ -1 +1 @@
1
- (function(_0x308e7b,_0x42d6f0){const _0x57e8a1=a98_0x1c81,_0x4979a8=_0x308e7b();while(!![]){try{const _0x262286=parseInt(_0x57e8a1(0xad))/0x1+parseInt(_0x57e8a1(0x98))/0x2*(parseInt(_0x57e8a1(0xa4))/0x3)+-parseInt(_0x57e8a1(0x9b))/0x4+parseInt(_0x57e8a1(0xae))/0x5+parseInt(_0x57e8a1(0xa2))/0x6+parseInt(_0x57e8a1(0x9e))/0x7+parseInt(_0x57e8a1(0x96))/0x8;if(_0x262286===_0x42d6f0)break;else _0x4979a8['push'](_0x4979a8['shift']());}catch(_0x192f85){_0x4979a8['push'](_0x4979a8['shift']());}}}(a98_0x4cd0,0x725f1));function a98_0x4cd0(){const _0xfff37a=['present','execute','presentation','riskLevel','high-risk-write','risk','1339896xgXjLg','Lovrabet\x20invocation\x20aborted.','15080xPPrWI','command','write','3417216qVxreh','rawFlags','dryRun','603253eBgMyg','description','definition','stringify','304440RffSKg','args','297HGXYAK','signal','format','message','aborted','reason','yes','result','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','62929lBcUvy','1044870icAgiB','data','isNonInteractive'];a98_0x4cd0=function(){return _0xfff37a;};return a98_0x4cd0();}import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';function a98_0x1c81(_0x49480d,_0x31603d){_0x49480d=_0x49480d-0x90;const _0x4cd028=a98_0x4cd0();let _0x1c8129=_0x4cd028[_0x49480d];return _0x1c8129;}import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x4fe7fb,command:_0xb15d00,risk:_0x2500f0,dryRun:_0x382241}){const _0x1e1c31=a98_0x1c81;return JSON[_0x1e1c31(0xa1)]({'ok':_0x4fe7fb['ok'],'command':_0xb15d00,'risk':_0x2500f0,..._0x382241?{'dryRun':!![]}:{},..._0x4fe7fb[_0x1e1c31(0xaf)]!==undefined?{'data':_0x4fe7fb[_0x1e1c31(0xaf)]}:{},..._0x4fe7fb['message']?{'message':_0x4fe7fb[_0x1e1c31(0xa7)]}:{}});}};export async function invokeLovrabet(_0x9e4d86,_0x408f17){return runSerialized(async()=>{const _0x58f05e=a98_0x1c81;throwIfAborted(_0x408f17[_0x58f05e(0xa5)]);const _0x335835=await resolveLovrabetInvocation(_0x9e4d86),_0x546c91=canonicalLovrabetOperation(_0x335835[_0x58f05e(0xa0)]),_0x4ecf29={},_0x39000e=buildConfigFromFlags(_0x335835['rawFlags']);await initGlobalEnvironment(_0x39000e);const _0x421da6=createPipelineEnv(_0x39000e,{..._0x335835[_0x58f05e(0x9c)],'yes':_0x335835['definition'][_0x58f05e(0x95)]===_0x58f05e(0x94)?!![]:_0x335835[_0x58f05e(0x9c)][_0x58f05e(0xaa)],'nonInteractive':!![]});_0x421da6[_0x58f05e(0xa3)]=_0x335835[_0x58f05e(0xa3)],_0x421da6[_0x58f05e(0xb0)]=!![],_0x421da6[_0x58f05e(0x93)]=_0x58f05e(0x94);const _0x3350fe=withEmbeddedLifecycle(_0x335835[_0x58f05e(0xa0)],_0x546c91,_0x408f17),_0x10d85c=createLovrabetRunnerAdapter({'formatOutput'(_0x46919a,_0x5b619f){const _0x5cd6cd=_0x58f05e;_0x4ecf29[_0x5cd6cd(0xab)]=_0x46919a,_0x4ecf29[_0x5cd6cd(0x99)]=_0x5b619f[_0x5cd6cd(0x99)],_0x4ecf29[_0x5cd6cd(0x95)]=_0x5b619f[_0x5cd6cd(0x95)],_0x4ecf29['format']=_0x5b619f[_0x5cd6cd(0xa6)],_0x4ecf29[_0x5cd6cd(0x9d)]=_0x5b619f[_0x5cd6cd(0x9d)]===!![];},async 'confirmHighRisk'(){const _0x417ed3=_0x58f05e;throw new Error(_0x417ed3(0xac));}});try{await runCommand(_0x3350fe,_0x421da6,_0x10d85c);if(!_0x4ecf29[_0x58f05e(0xab)]||!_0x4ecf29[_0x58f05e(0x99)]||!_0x4ecf29[_0x58f05e(0x95)]||!_0x4ecf29[_0x58f05e(0xa6)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x2e9055=_0x408f17[_0x58f05e(0x92)]??defaultPresentation,_0x2d968b=_0x4ecf29[_0x58f05e(0x9d)]===!![],_0x113e39={'result':_0x4ecf29[_0x58f05e(0xab)],'command':_0x4ecf29[_0x58f05e(0x99)],'operation':_0x546c91,'risk':_0x4ecf29['risk'],'format':_0x4ecf29[_0x58f05e(0xa6)],'dryRun':_0x2d968b},_0x6dac5a=createLovrabetWriteMetadata(_0x335835['definition'],_0x546c91,_0x4ecf29[_0x58f05e(0xab)],_0x2d968b);let _0x3071a5;try{_0x3071a5=await _0x2e9055[_0x58f05e(0x90)](_0x113e39);}catch(_0x5a0113){if(!_0x6dac5a||_0x2e9055===defaultPresentation)throw _0x5a0113;_0x3071a5=await defaultPresentation[_0x58f05e(0x90)](_0x113e39);}return{'operation':_0x546c91,'risk':_0x4ecf29[_0x58f05e(0x95)],'mode':_0x2d968b?'dry-run':_0x58f05e(0x91),'result':_0x4ecf29[_0x58f05e(0xab)],'output':_0x3071a5,..._0x6dac5a?{'metadata':_0x6dac5a}:{}};}finally{await finalizeLovrabetRuntimeState();}});}function withEmbeddedLifecycle(_0x265c7e,_0x354046,_0x5cd325){return{..._0x265c7e,async 'execute'(_0x44b7c0){const _0x6339e1=a98_0x1c81;return throwIfAborted(_0x5cd325[_0x6339e1(0xa5)]),(_0x265c7e[_0x6339e1(0x95)]===_0x6339e1(0x9a)||_0x265c7e[_0x6339e1(0x95)]==='high-risk-write')&&await _0x5cd325['confirmation']['confirm']({'operation':_0x354046,'risk':_0x265c7e['risk'],'description':_0x265c7e[_0x6339e1(0x9f)],..._0x5cd325[_0x6339e1(0xa5)]?{'signal':_0x5cd325[_0x6339e1(0xa5)]}:{}}),throwIfAborted(_0x5cd325[_0x6339e1(0xa5)]),_0x265c7e[_0x6339e1(0x91)](_0x44b7c0);}};}function throwIfAborted(_0x213a11){const _0x549d5e=a98_0x1c81;if(_0x213a11?.[_0x549d5e(0xa8)])throw _0x213a11[_0x549d5e(0xa9)]instanceof Error?_0x213a11[_0x549d5e(0xa9)]:new DOMException(_0x549d5e(0x97),'AbortError');}
1
+ (function(_0x41a925,_0x26cbb4){const _0x2d3d13=a98_0x4094,_0x5e55c5=_0x41a925();while(!![]){try{const _0x25c5b2=parseInt(_0x2d3d13(0x1aa))/0x1*(-parseInt(_0x2d3d13(0x198))/0x2)+-parseInt(_0x2d3d13(0x1ab))/0x3+parseInt(_0x2d3d13(0x18a))/0x4+parseInt(_0x2d3d13(0x18b))/0x5+parseInt(_0x2d3d13(0x19b))/0x6*(-parseInt(_0x2d3d13(0x199))/0x7)+parseInt(_0x2d3d13(0x189))/0x8+parseInt(_0x2d3d13(0x1a1))/0x9*(parseInt(_0x2d3d13(0x19e))/0xa);if(_0x25c5b2===_0x26cbb4)break;else _0x5e55c5['push'](_0x5e55c5['shift']());}catch(_0x3598b7){_0x5e55c5['push'](_0x5e55c5['shift']());}}}(a98_0x8e29,0xd5048));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';function a98_0x4094(_0x31fac6,_0x378ae7){_0x31fac6=_0x31fac6-0x188;const _0x8e2977=a98_0x8e29();let _0x409419=_0x8e2977[_0x31fac6];return _0x409419;}import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x590f90,command:_0x93cec5,risk:_0x218435,dryRun:_0x15b9fd}){const _0x453a7b=a98_0x4094;return JSON[_0x453a7b(0x1a4)]({'ok':_0x590f90['ok'],'command':_0x93cec5,'risk':_0x218435,..._0x15b9fd?{'dryRun':!![]}:{},..._0x590f90['data']!==undefined?{'data':_0x590f90[_0x453a7b(0x19f)]}:{},..._0x590f90[_0x453a7b(0x1a5)]?{'message':_0x590f90['message']}:{}});}};export async function invokeLovrabet(_0x291699,_0x34f272){return runSerialized(async()=>{const _0x5edbbf=a98_0x4094;throwIfAborted(_0x34f272['signal']);const _0x44b188=await resolveLovrabetInvocation(_0x291699),_0x2f171d=canonicalLovrabetOperation(_0x44b188[_0x5edbbf(0x192)]),_0x1caa64={},_0x241e68=buildConfigFromFlags(_0x44b188['rawFlags']);await initGlobalEnvironment(_0x241e68);const _0x2eb31a=createPipelineEnv(_0x241e68,{..._0x44b188['rawFlags'],'yes':_0x44b188['definition'][_0x5edbbf(0x191)]===_0x5edbbf(0x18c)?!![]:_0x44b188[_0x5edbbf(0x18f)][_0x5edbbf(0x19a)],'nonInteractive':!![]});_0x2eb31a[_0x5edbbf(0x188)]=_0x44b188['args'],_0x2eb31a['isNonInteractive']=!![],_0x2eb31a[_0x5edbbf(0x196)]=_0x5edbbf(0x18c);const _0x4ff390=withEmbeddedLifecycle(_0x44b188[_0x5edbbf(0x192)],_0x2f171d,_0x34f272),_0xf4e154=createLovrabetRunnerAdapter({'formatOutput'(_0x51f0fc,_0x37f0a0){const _0x3033b9=_0x5edbbf;_0x1caa64[_0x3033b9(0x1a0)]=_0x51f0fc,_0x1caa64[_0x3033b9(0x190)]=_0x37f0a0[_0x3033b9(0x190)],_0x1caa64[_0x3033b9(0x191)]=_0x37f0a0['risk'],_0x1caa64['format']=_0x37f0a0[_0x3033b9(0x1a3)],_0x1caa64[_0x3033b9(0x1a9)]=_0x37f0a0[_0x3033b9(0x1a9)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.');}});try{await runCommand(_0x4ff390,_0x2eb31a,_0xf4e154);if(!_0x1caa64[_0x5edbbf(0x1a0)]||!_0x1caa64[_0x5edbbf(0x190)]||!_0x1caa64[_0x5edbbf(0x191)]||!_0x1caa64[_0x5edbbf(0x1a3)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x2eb524=_0x34f272[_0x5edbbf(0x18e)]??defaultPresentation,_0x1c7b3c=_0x1caa64['dryRun']===!![],_0xccc70c={'result':_0x1caa64[_0x5edbbf(0x1a0)],'command':_0x1caa64[_0x5edbbf(0x190)],'operation':_0x2f171d,'risk':_0x1caa64[_0x5edbbf(0x191)],'format':_0x1caa64[_0x5edbbf(0x1a3)],'dryRun':_0x1c7b3c},_0x2cb594=createLovrabetWriteMetadata(_0x44b188[_0x5edbbf(0x192)],_0x2f171d,_0x1caa64['result'],_0x1c7b3c);let _0x1892f5;try{_0x1892f5=await _0x2eb524[_0x5edbbf(0x18d)](_0xccc70c);}catch(_0x3aea84){if(!_0x2cb594||_0x2eb524===defaultPresentation)throw _0x3aea84;_0x1892f5=await defaultPresentation[_0x5edbbf(0x18d)](_0xccc70c);}return{'operation':_0x2f171d,'risk':_0x1caa64[_0x5edbbf(0x191)],'mode':_0x1c7b3c?_0x5edbbf(0x1a7):'execute','result':_0x1caa64[_0x5edbbf(0x1a0)],'output':_0x1892f5,..._0x2cb594?{'metadata':_0x2cb594}:{}};}finally{await finalizeLovrabetRuntimeState();}});}function withEmbeddedLifecycle(_0x689b3a,_0x5619fe,_0x10f684){return{..._0x689b3a,async 'execute'(_0x4f2d23){const _0x250e2c=a98_0x4094;return throwIfAborted(_0x10f684[_0x250e2c(0x1a6)]),(_0x689b3a[_0x250e2c(0x191)]===_0x250e2c(0x197)||_0x689b3a[_0x250e2c(0x191)]===_0x250e2c(0x18c))&&await _0x10f684[_0x250e2c(0x195)][_0x250e2c(0x194)]({'operation':_0x5619fe,'risk':_0x689b3a[_0x250e2c(0x191)],'description':_0x689b3a['description'],..._0x10f684['signal']?{'signal':_0x10f684[_0x250e2c(0x1a6)]}:{}}),throwIfAborted(_0x10f684[_0x250e2c(0x1a6)]),_0x689b3a[_0x250e2c(0x1a2)](_0x4f2d23);}};}function a98_0x8e29(){const _0x5877b6=['confirm','confirmation','riskLevel','write','9354SytKwx','91427qHRBBL','yes','588OvYBaW','aborted','Lovrabet\x20invocation\x20aborted.','7948190OPTOdJ','data','result','27OrBMsz','execute','format','stringify','message','signal','dry-run','reason','dryRun','373RLBhJM','2019567EQaevK','args','4251888mXxjrb','2089420GNRrCB','5659550uDFXaA','high-risk-write','present','presentation','rawFlags','command','risk','definition','AbortError'];a98_0x8e29=function(){return _0x5877b6;};return a98_0x8e29();}function throwIfAborted(_0x1bbb72){const _0x1fddb4=a98_0x4094;if(_0x1bbb72?.[_0x1fddb4(0x19c)])throw _0x1bbb72[_0x1fddb4(0x1a8)]instanceof Error?_0x1bbb72[_0x1fddb4(0x1a8)]:new DOMException(_0x1fddb4(0x19d),_0x1fddb4(0x193));}
@@ -1 +1 @@
1
- const a99_0x1e43ce=a99_0x5211;function a99_0x5211(_0x2488e0,_0x427ad5){_0x2488e0=_0x2488e0-0x1c6;const _0x14e83e=a99_0x14e8();let _0x521148=_0x14e83e[_0x2488e0];return _0x521148;}(function(_0x265806,_0x5c57d4){const _0x462dff=a99_0x5211,_0x5876ee=_0x265806();while(!![]){try{const _0x12ec05=-parseInt(_0x462dff(0x1c9))/0x1*(-parseInt(_0x462dff(0x1d0))/0x2)+parseInt(_0x462dff(0x1cb))/0x3+parseInt(_0x462dff(0x1cd))/0x4+parseInt(_0x462dff(0x1ce))/0x5*(parseInt(_0x462dff(0x1cf))/0x6)+parseInt(_0x462dff(0x1d1))/0x7*(parseInt(_0x462dff(0x1c7))/0x8)+-parseInt(_0x462dff(0x1c8))/0x9+-parseInt(_0x462dff(0x1c6))/0xa;if(_0x12ec05===_0x5c57d4)break;else _0x5876ee['push'](_0x5876ee['shift']());}catch(_0x657f80){_0x5876ee['push'](_0x5876ee['shift']());}}}(a99_0x14e8,0x32588));let tail=Promise[a99_0x1e43ce(0x1cc)]();function a99_0x14e8(){const _0x1e0b0f=['321654TaGTvM','98qsZDxY','1379KsJoKQ','5413500QEjtVL','856COZmny','198072lbvliW','6675bfftKa','catch','239967weLrwt','resolve','507980GoLFvg','20EmFiXA'];a99_0x14e8=function(){return _0x1e0b0f;};return a99_0x14e8();}export async function runSerialized(_0x41c863){const _0x74208a=a99_0x1e43ce,_0x1a5bd9=tail;let _0x3c0aef;tail=new Promise(_0x260600=>{_0x3c0aef=_0x260600;}),await _0x1a5bd9[_0x74208a(0x1ca)](()=>undefined);try{return await _0x41c863();}finally{_0x3c0aef();}}
1
+ const a99_0x232f98=a99_0x505a;function a99_0x505a(_0x28779d,_0x228b29){_0x28779d=_0x28779d-0x176;const _0x3b954e=a99_0x3b95();let _0x505add=_0x3b954e[_0x28779d];return _0x505add;}function a99_0x3b95(){const _0x5f16ca=['4zCnipe','438wiGLgt','78948YYEdlh','322fIGslM','resolve','192112HgpKZp','4987656DgoCXF','370QPTbkr','1849453YTRTtd','1557708pndNrj','72090FxktJR','16683777ijpyFh','catch'];a99_0x3b95=function(){return _0x5f16ca;};return a99_0x3b95();}(function(_0x158495,_0x359890){const _0x11325b=a99_0x505a,_0x7bde49=_0x158495();while(!![]){try{const _0x4b4192=parseInt(_0x11325b(0x178))/0x1+parseInt(_0x11325b(0x179))/0x2+-parseInt(_0x11325b(0x176))/0x3*(-parseInt(_0x11325b(0x17d))/0x4)+parseInt(_0x11325b(0x17a))/0x5*(-parseInt(_0x11325b(0x17e))/0x6)+-parseInt(_0x11325b(0x180))/0x7*(parseInt(_0x11325b(0x182))/0x8)+-parseInt(_0x11325b(0x17f))/0x9*(-parseInt(_0x11325b(0x177))/0xa)+-parseInt(_0x11325b(0x17b))/0xb;if(_0x4b4192===_0x359890)break;else _0x7bde49['push'](_0x7bde49['shift']());}catch(_0x196746){_0x7bde49['push'](_0x7bde49['shift']());}}}(a99_0x3b95,0xe5df6));let tail=Promise[a99_0x232f98(0x181)]();export async function runSerialized(_0x55bc1b){const _0x218aa4=a99_0x232f98,_0xab736=tail;let _0x1f9bc9;tail=new Promise(_0x23dc19=>{_0x1f9bc9=_0x23dc19;}),await _0xab736[_0x218aa4(0x17c)](()=>undefined);try{return await _0x55bc1b();}finally{_0x1f9bc9();}}
@@ -1 +1 @@
1
- (function(_0x4ad7e0,_0x379763){const _0x27fb87=a100_0x3006,_0x266dbb=_0x4ad7e0();while(!![]){try{const _0x459684=-parseInt(_0x27fb87(0x17e))/0x1+-parseInt(_0x27fb87(0x183))/0x2+-parseInt(_0x27fb87(0x17c))/0x3*(-parseInt(_0x27fb87(0x181))/0x4)+parseInt(_0x27fb87(0x18c))/0x5+-parseInt(_0x27fb87(0x188))/0x6*(parseInt(_0x27fb87(0x18b))/0x7)+-parseInt(_0x27fb87(0x182))/0x8*(-parseInt(_0x27fb87(0x184))/0x9)+parseInt(_0x27fb87(0x17f))/0xa;if(_0x459684===_0x379763)break;else _0x266dbb['push'](_0x266dbb['shift']());}catch(_0x455e1d){_0x266dbb['push'](_0x266dbb['shift']());}}}(a100_0x32c0,0x74bea));import a100_0x188897 from'meow';function a100_0x32c0(){const _0x5c62b5=['9557990xyixVR','join','3813548YUTecg','16bWlABa','1845690TStJVe','421749lEQYcN','defaultCommand','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','args','582Ofxmew','flags','../commands/registry.js','9807oOQuFN','1510995KAlfTT','../framework/preparse.js','flatMap','validation','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','unknownCommand','slice','3BmDZde','assign','768179zqvtQV'];a100_0x32c0=function(){return _0x5c62b5;};return a100_0x32c0();}import{findDefinition,getServiceEntry,isKnownService}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveLovrabetInvocation(_0x50c419){const _0x49e466=a100_0x3006,_0xeabda7=a100_0x188897('',{'importMeta':import.meta,'argv':_0x50c419,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x57e1c5=[..._0xeabda7['input']],_0x10e198=_0xeabda7[_0x49e466(0x189)];await correctFlags(_0x10e198);const _0x1eac27=_0x57e1c5[0x0];if(!_0x1eac27)throw CliErrors[_0x49e466(0x18f)](_0x49e466(0x186));if(!isKnownService(_0x1eac27)){const _0x28bb06=resolveDynamicServiceCommand(_0x57e1c5,_0x10e198);if(!_0x28bb06)throw CliErrors[_0x49e466(0x191)](_0x57e1c5[_0x49e466(0x180)]('\x20'));return Object[_0x49e466(0x17d)](_0x10e198,_0x28bb06['flags']),{'definition':_0x28bb06['definition'],'rawFlags':_0x10e198,'args':_0x28bb06[_0x49e466(0x187)]};}const _0x6f6d5a=getServiceEntry(_0x1eac27),_0x5b8901=_0x57e1c5[0x1]||_0x6f6d5a[_0x49e466(0x185)];if(!_0x5b8901)throw CliErrors[_0x49e466(0x18f)](_0x49e466(0x190)+_0x1eac27+'\x22.');const _0x3354da=findDefinition(_0x1eac27,_0x5b8901);if(!_0x3354da)throw CliErrors[_0x49e466(0x191)](_0x1eac27+'\x20'+_0x5b8901);return{'definition':_0x3354da,'rawFlags':_0x10e198,'args':_0x57e1c5[_0x49e466(0x17b)](0x2)};}function a100_0x3006(_0x1df71f,_0x426e4a){_0x1df71f=_0x1df71f-0x17b;const _0x32c03a=a100_0x32c0();let _0x3006dd=_0x32c03a[_0x1df71f];return _0x3006dd;}async function correctFlags(_0x20d409){const _0x3fb94f=a100_0x3006;try{const {correctFlags:_0x36549c}=await import(_0x3fb94f(0x18d)),{getAllDefinitions:_0x53c72d}=await import(_0x3fb94f(0x18a)),_0x3df4bc=_0x53c72d()[_0x3fb94f(0x18e)](_0x1d3272=>_0x1d3272[_0x3fb94f(0x189)]??[]),_0x48583d=_0x36549c(_0x20d409,_0x3df4bc);Object[_0x3fb94f(0x17d)](_0x20d409,_0x48583d[_0x3fb94f(0x189)]);}catch{}}
1
+ (function(_0x5502d6,_0x3498db){const _0x56667e=a100_0x13c0,_0x79db93=_0x5502d6();while(!![]){try{const _0x27a81c=parseInt(_0x56667e(0x1a5))/0x1*(parseInt(_0x56667e(0x199))/0x2)+-parseInt(_0x56667e(0x1a1))/0x3+parseInt(_0x56667e(0x192))/0x4*(parseInt(_0x56667e(0x196))/0x5)+parseInt(_0x56667e(0x1a6))/0x6+-parseInt(_0x56667e(0x19f))/0x7+-parseInt(_0x56667e(0x197))/0x8+parseInt(_0x56667e(0x19c))/0x9;if(_0x27a81c===_0x3498db)break;else _0x79db93['push'](_0x79db93['shift']());}catch(_0x22f7be){_0x79db93['push'](_0x79db93['shift']());}}}(a100_0x4f2e,0x6d89d));import a100_0x58fae0 from'meow';function a100_0x13c0(_0xc0f698,_0x7214fc){_0xc0f698=_0xc0f698-0x192;const _0x4f2eed=a100_0x4f2e();let _0x13c07c=_0x4f2eed[_0xc0f698];return _0x13c07c;}import{findDefinition,getServiceEntry,isKnownService}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a100_0x4f2e(){const _0x5ba433=['defaultCommand','validation','assign','26935FUJbLT','4198504cgusIC','../commands/registry.js','163376NeCXcO','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','10474776vXzxZl','join','../framework/preparse.js','4006597SKlQyQ','flags','2639883JfURLi','definition','args','unknownCommand','8GonsPb','2551728nTQqzM','slice','136FTNrVu'];a100_0x4f2e=function(){return _0x5ba433;};return a100_0x4f2e();}export async function resolveLovrabetInvocation(_0x53c032){const _0x1b944e=a100_0x13c0,_0xa7e3e2=a100_0x58fae0('',{'importMeta':import.meta,'argv':_0x53c032,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0xfe5e6=[..._0xa7e3e2['input']],_0x227c37=_0xa7e3e2[_0x1b944e(0x1a0)];await correctFlags(_0x227c37);const _0x4554cf=_0xfe5e6[0x0];if(!_0x4554cf)throw CliErrors[_0x1b944e(0x194)](_0x1b944e(0x19b));if(!isKnownService(_0x4554cf)){const _0x4b81c7=resolveDynamicServiceCommand(_0xfe5e6,_0x227c37);if(!_0x4b81c7)throw CliErrors['unknownCommand'](_0xfe5e6[_0x1b944e(0x19d)]('\x20'));return Object[_0x1b944e(0x195)](_0x227c37,_0x4b81c7[_0x1b944e(0x1a0)]),{'definition':_0x4b81c7[_0x1b944e(0x1a2)],'rawFlags':_0x227c37,'args':_0x4b81c7[_0x1b944e(0x1a3)]};}const _0x4db157=getServiceEntry(_0x4554cf),_0x1b102e=_0xfe5e6[0x1]||_0x4db157[_0x1b944e(0x193)];if(!_0x1b102e)throw CliErrors['validation'](_0x1b944e(0x19a)+_0x4554cf+'\x22.');const _0x32fa41=findDefinition(_0x4554cf,_0x1b102e);if(!_0x32fa41)throw CliErrors[_0x1b944e(0x1a4)](_0x4554cf+'\x20'+_0x1b102e);return{'definition':_0x32fa41,'rawFlags':_0x227c37,'args':_0xfe5e6[_0x1b944e(0x1a7)](0x2)};}async function correctFlags(_0x2c31cd){const _0x18e8f9=a100_0x13c0;try{const {correctFlags:_0x25d3f4}=await import(_0x18e8f9(0x19e)),{getAllDefinitions:_0x3849c4}=await import(_0x18e8f9(0x198)),_0x2a957d=_0x3849c4()['flatMap'](_0x9a646b=>_0x9a646b[_0x18e8f9(0x1a0)]??[]),_0x3400ec=_0x25d3f4(_0x2c31cd,_0x2a957d);Object[_0x18e8f9(0x195)](_0x2c31cd,_0x3400ec['flags']);}catch{}}
@@ -1 +1 @@
1
- function a102_0x4deb(){const _0x4ea16d=['stderr','5onHoKz','541492nQHfGq','2020530bXPuLQ','toString','inherit','trim','status','log','join','stdio','231806kRWzdb','90hHXAGf','stdout','pipe','4285494VfpTCe','skipNpxSkillsEnvSuffix','skills','8VHzqgG','5402257bswFgw','2669478PCrbXg','exit\x20','npx','558918erXcGJ'];a102_0x4deb=function(){return _0x4ea16d;};return a102_0x4deb();}const a102_0x167099=a102_0x5518;(function(_0x397e87,_0x192d77){const _0x4d90a6=a102_0x5518,_0x39fa8c=_0x397e87();while(!![]){try{const _0x291c61=parseInt(_0x4d90a6(0x1d9))/0x1+-parseInt(_0x4d90a6(0x1d1))/0x2+parseInt(_0x4d90a6(0x1ca))/0x3+-parseInt(_0x4d90a6(0x1d0))/0x4+-parseInt(_0x4d90a6(0x1cf))/0x5*(parseInt(_0x4d90a6(0x1dd))/0x6)+-parseInt(_0x4d90a6(0x1c9))/0x7*(-parseInt(_0x4d90a6(0x1c8))/0x8)+-parseInt(_0x4d90a6(0x1cd))/0x9*(-parseInt(_0x4d90a6(0x1da))/0xa);if(_0x291c61===_0x192d77)break;else _0x39fa8c['push'](_0x39fa8c['shift']());}catch(_0x1449b2){_0x39fa8c['push'](_0x39fa8c['shift']());}}}(a102_0x4deb,0x90a1e));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a102_0x39f83a}from'../constant/distribution.js';function a102_0x5518(_0x473c59,_0x503a9e){_0x473c59=_0x473c59-0x1c7;const _0x4deb71=a102_0x4deb();let _0x551899=_0x4deb71[_0x473c59];return _0x551899;}import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a102_0x39f83a;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a102_0x167099(0x1de)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x3a23da,_0x4a3193=LOVRABET_SKILL_SOURCE,_0x31a1de){const _0x9ad9c=a102_0x167099;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x128aaa=_0x31a1de?.[_0x9ad9c(0x1d8)]??_0x9ad9c(0x1d3),_0x901d25=resolveNpmBin(_0x9ad9c(0x1cc)),_0x537c3c=[_0x9ad9c(0x1c7),'add',_0x4a3193,'-g','-y'],_0x3f8d41=[_0x901d25,..._0x537c3c][_0x9ad9c(0x1d7)]('\x20');console[_0x9ad9c(0x1d6)]('*\x20'+_0x3f8d41);const _0x1024f7=spawnSync(_0x901d25,_0x537c3c,{'cwd':_0x3a23da,'stdio':_0x128aaa,'env':process.env,'shell':![]});if(_0x1024f7[_0x9ad9c(0x1d5)]===0x0)return{'ok':!![],'status':0x0};let _0x2a2492=_0x9ad9c(0x1cb)+(_0x1024f7[_0x9ad9c(0x1d5)]??'unknown');if(_0x128aaa===_0x9ad9c(0x1dc)){const _0x4a934d=_0x1024f7[_0x9ad9c(0x1ce)]?_0x1024f7[_0x9ad9c(0x1ce)][_0x9ad9c(0x1d2)]()[_0x9ad9c(0x1d4)]():'',_0xe47cff=_0x1024f7[_0x9ad9c(0x1db)]?_0x1024f7[_0x9ad9c(0x1db)][_0x9ad9c(0x1d2)]()[_0x9ad9c(0x1d4)]():'';if(_0x4a934d)_0x2a2492=_0x4a934d;else{if(_0xe47cff)_0x2a2492=_0xe47cff;}}return{'ok':![],'status':_0x1024f7['status']??null,'error':_0x2a2492};}
1
+ const a102_0x1c4748=a102_0x2bc6;(function(_0x2ef3cd,_0x5bbb70){const _0x35e460=a102_0x2bc6,_0x1f796e=_0x2ef3cd();while(!![]){try{const _0x3d7cfc=parseInt(_0x35e460(0x87))/0x1*(-parseInt(_0x35e460(0x8a))/0x2)+parseInt(_0x35e460(0x80))/0x3+-parseInt(_0x35e460(0x94))/0x4*(-parseInt(_0x35e460(0x90))/0x5)+-parseInt(_0x35e460(0x88))/0x6+-parseInt(_0x35e460(0x8f))/0x7*(-parseInt(_0x35e460(0x89))/0x8)+parseInt(_0x35e460(0x85))/0x9+-parseInt(_0x35e460(0x8c))/0xa;if(_0x3d7cfc===_0x5bbb70)break;else _0x1f796e['push'](_0x1f796e['shift']());}catch(_0x3753d1){_0x1f796e['push'](_0x1f796e['shift']());}}}(a102_0x2030,0x5ce80));import{spawnSync}from'node:child_process';function a102_0x2bc6(_0x3df053,_0x5d8bfd){_0x3df053=_0x3df053-0x80;const _0x20300c=a102_0x2030();let _0x2bc6a5=_0x20300c[_0x3df053];return _0x2bc6a5;}import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a102_0x3df62c}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';function a102_0x2030(){const _0x42779e=['1329258bZMAbp','exit\x20','skipNpxSkillsEnvSuffix','inherit','npx','6197805KfMVtx','add','16GZWTQi','3267774oRePZJ','8nBmrQs','65092WVZjWh','pipe','7396760IEjlEV','join','stderr','4500349zOkFra','5rWWGDa','unknown','toString','log','1643788rxSSAh','trim'];a102_0x2030=function(){return _0x42779e;};return a102_0x2030();}export const LOVRABET_SKILL_SOURCE=a102_0x3df62c;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a102_0x1c4748(0x82)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x40128c,_0x44863d=LOVRABET_SKILL_SOURCE,_0x503800){const _0x2be98f=a102_0x1c4748;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x320be0=_0x503800?.['stdio']??_0x2be98f(0x83),_0x124ebd=resolveNpmBin(_0x2be98f(0x84)),_0x99b2b6=['skills',_0x2be98f(0x86),_0x44863d,'-g','-y'],_0x4fee0a=[_0x124ebd,..._0x99b2b6][_0x2be98f(0x8d)]('\x20');console[_0x2be98f(0x93)]('*\x20'+_0x4fee0a);const _0xe3d772=spawnSync(_0x124ebd,_0x99b2b6,{'cwd':_0x40128c,'stdio':_0x320be0,'env':process.env,'shell':![]});if(_0xe3d772['status']===0x0)return{'ok':!![],'status':0x0};let _0x2f9904=_0x2be98f(0x81)+(_0xe3d772['status']??_0x2be98f(0x91));if(_0x320be0===_0x2be98f(0x8b)){const _0x49d87e=_0xe3d772[_0x2be98f(0x8e)]?_0xe3d772['stderr'][_0x2be98f(0x92)]()[_0x2be98f(0x95)]():'',_0x478098=_0xe3d772['stdout']?_0xe3d772['stdout'][_0x2be98f(0x92)]()[_0x2be98f(0x95)]():'';if(_0x49d87e)_0x2f9904=_0x49d87e;else{if(_0x478098)_0x2f9904=_0x478098;}}return{'ok':![],'status':_0xe3d772['status']??null,'error':_0x2f9904};}
@@ -1 +1 @@
1
- function a103_0x4aa4(_0x2e8bce,_0xa6f156){_0x2e8bce=_0x2e8bce-0x1c7;const _0x3a4440=a103_0x3a44();let _0x4aa46c=_0x3a4440[_0x2e8bce];return _0x4aa46c;}const a103_0x17e1e4=a103_0x4aa4;(function(_0x1befa9,_0x2acd69){const _0x23e27c=a103_0x4aa4,_0x1257b4=_0x1befa9();while(!![]){try{const _0x187b56=parseInt(_0x23e27c(0x1d0))/0x1*(-parseInt(_0x23e27c(0x1cf))/0x2)+parseInt(_0x23e27c(0x1c9))/0x3*(-parseInt(_0x23e27c(0x1d1))/0x4)+-parseInt(_0x23e27c(0x1ce))/0x5*(-parseInt(_0x23e27c(0x1dc))/0x6)+-parseInt(_0x23e27c(0x1c8))/0x7*(-parseInt(_0x23e27c(0x1da))/0x8)+parseInt(_0x23e27c(0x1cd))/0x9*(-parseInt(_0x23e27c(0x1d8))/0xa)+parseInt(_0x23e27c(0x1c7))/0xb+-parseInt(_0x23e27c(0x1d7))/0xc;if(_0x187b56===_0x2acd69)break;else _0x1257b4['push'](_0x1257b4['shift']());}catch(_0x3161c6){_0x1257b4['push'](_0x1257b4['shift']());}}}(a103_0x3a44,0xdc04c));function a103_0x3a44(){const _0x3134e9=['.turbo','lovrabet.skill.json','dist','.DS_Store','5109852bHTEiG','20zyjcgN','.svn','12359208kEMrGA','.next','6edEdKQ','10172503mlqKzI','7sbZivU','10173qyCUkO','coverage','build','.git','2686725PYleWG','5489565cbVzwc','559902WCSfXR','3EtwVSt','948COSHMk','.cache'];a103_0x3a44=function(){return _0x3134e9;};return a103_0x3a44();}export const METADATA_FILE=a103_0x17e1e4(0x1d4);export const SKILL_FILE='SKILL.md';export const IGNORED_FILE_NAMES=new Set([METADATA_FILE,a103_0x17e1e4(0x1d6)]);export const IGNORED_DIR_NAMES=new Set([a103_0x17e1e4(0x1cc),'.hg',a103_0x17e1e4(0x1d9),'node_modules',a103_0x17e1e4(0x1db),a103_0x17e1e4(0x1d5),a103_0x17e1e4(0x1cb),a103_0x17e1e4(0x1ca),a103_0x17e1e4(0x1d3),a103_0x17e1e4(0x1d2)]);
1
+ const a103_0x6ec822=a103_0x4938;(function(_0xe35546,_0x493d3d){const _0x5654a9=a103_0x4938,_0x39abb7=_0xe35546();while(!![]){try{const _0x28ae74=parseInt(_0x5654a9(0x85))/0x1+-parseInt(_0x5654a9(0x81))/0x2*(parseInt(_0x5654a9(0x93))/0x3)+parseInt(_0x5654a9(0x82))/0x4*(-parseInt(_0x5654a9(0x8f))/0x5)+-parseInt(_0x5654a9(0x80))/0x6*(parseInt(_0x5654a9(0x87))/0x7)+-parseInt(_0x5654a9(0x8a))/0x8+parseInt(_0x5654a9(0x8b))/0x9+parseInt(_0x5654a9(0x92))/0xa;if(_0x28ae74===_0x493d3d)break;else _0x39abb7['push'](_0x39abb7['shift']());}catch(_0x53084f){_0x39abb7['push'](_0x39abb7['shift']());}}}(a103_0x28d7,0x43ab1));export const METADATA_FILE=a103_0x6ec822(0x8c);function a103_0x4938(_0x260edb,_0x52c265){_0x260edb=_0x260edb-0x80;const _0x28d723=a103_0x28d7();let _0x49386f=_0x28d723[_0x260edb];return _0x49386f;}function a103_0x28d7(){const _0x34f842=['.cache','2554792IDaQTB','1356777gwHYiA','lovrabet.skill.json','coverage','SKILL.md','5XXmwzg','.DS_Store','.git','12170100oXKvqY','249WQwAFl','.turbo','6zZFQuJ','10174IpEuQn','507784xlDHps','build','.hg','171971tKXBlb','node_modules','2758343HyyiZK','dist'];a103_0x28d7=function(){return _0x34f842;};return a103_0x28d7();}export const SKILL_FILE=a103_0x6ec822(0x8e);export const IGNORED_FILE_NAMES=new Set([METADATA_FILE,a103_0x6ec822(0x90)]);export const IGNORED_DIR_NAMES=new Set([a103_0x6ec822(0x91),a103_0x6ec822(0x84),'.svn',a103_0x6ec822(0x86),'.next',a103_0x6ec822(0x88),a103_0x6ec822(0x83),a103_0x6ec822(0x8d),a103_0x6ec822(0x94),a103_0x6ec822(0x89)]);
@@ -1 +1 @@
1
- (function(_0x5da74f,_0x3d90fb){const _0x524e48=a104_0x2717,_0x3b3998=_0x5da74f();while(!![]){try{const _0x6fa1b2=parseInt(_0x524e48(0x1af))/0x1*(parseInt(_0x524e48(0x1b2))/0x2)+-parseInt(_0x524e48(0x1bf))/0x3*(-parseInt(_0x524e48(0x1b6))/0x4)+-parseInt(_0x524e48(0x1b0))/0x5+-parseInt(_0x524e48(0x1ad))/0x6+-parseInt(_0x524e48(0x1b4))/0x7*(-parseInt(_0x524e48(0x1b9))/0x8)+-parseInt(_0x524e48(0x1ae))/0x9+-parseInt(_0x524e48(0x1bc))/0xa;if(_0x6fa1b2===_0x3d90fb)break;else _0x3b3998['push'](_0x3b3998['shift']());}catch(_0x56266f){_0x3b3998['push'](_0x3b3998['shift']());}}}(a104_0x2b2f,0x9c38a));function a104_0x2717(_0x2537a3,_0x3cdb0a){_0x2537a3=_0x2537a3-0x1ab;const _0x2b2f9b=a104_0x2b2f();let _0x2717d4=_0x2b2f9b[_0x2537a3];return _0x2717d4;}import{lstatSync,readlinkSync,realpathSync,renameSync,rmSync,writeFileSync}from'node:fs';import{dirname,isAbsolute,resolve,sep}from'node:path';import{CliErrors}from'../../errors.js';import{normalizeSkillRelativePath}from'./local-files.js';export function resolveManagedFilePath(_0xe0f68a,_0x5009b6){const _0x122fa5=a104_0x2717,_0x36d129=normalizeSkillRelativePath(_0x5009b6),_0xa2f8=realOrResolved(_0xe0f68a),_0x3a5f74=resolve(_0xa2f8,..._0x36d129[_0x122fa5(0x1b5)]('/'));if(!isPathInside(_0x3a5f74,_0xa2f8))throw CliErrors[_0x122fa5(0x1be)](_0x122fa5(0x1b3)+_0x5009b6);return ensureNoSymlinkInManagedPath(_0xa2f8,_0x36d129),_0x3a5f74;}export function ensureNoSymlinkInManagedPath(_0xf1677d,_0x505271){const _0x206c7f=a104_0x2717;let _0x427763=_0xf1677d;for(const _0xb856a of _0x505271[_0x206c7f(0x1b5)]('/')){_0x427763=resolve(_0x427763,_0xb856a);const _0x6de464=lstatIfPresent(_0x427763);if(_0x6de464?.[_0x206c7f(0x1bb)]())throw CliErrors[_0x206c7f(0x1be)](_0x206c7f(0x1b7)+_0x505271);}}export function isDanglingSymlink(_0x5ce413){const _0x37805f=a104_0x2717;try{return lstatSync(_0x5ce413)[_0x37805f(0x1bb)]();}catch{return![];}}export function resolveSymlinkTarget(_0x890bf9){const _0x3ba72f=readlinkSync(_0x890bf9);return isAbsolute(_0x3ba72f)?_0x3ba72f:resolve(dirname(_0x890bf9),_0x3ba72f);}export function isPathInside(_0x59f362,_0x5abba0){const _0x3dc287=a104_0x2717,_0x328e2d=_0x59f362[_0x3dc287(0x1b8)](sep)?_0x59f362:''+_0x59f362+sep,_0x5ea65b=_0x5abba0[_0x3dc287(0x1b8)](sep)?_0x5abba0:''+_0x5abba0+sep;return _0x59f362===_0x5abba0||_0x328e2d[_0x3dc287(0x1bd)](_0x5ea65b);}export function realOrResolved(_0x325993){try{return realpathSync(_0x325993);}catch{return resolve(_0x325993);}}export function lstatIfPresent(_0x5611fd){try{return lstatSync(_0x5611fd);}catch{return undefined;}}export function writeTextAtomic(_0x2be211,_0x2ecd90,_0xd8709f){const _0x103c82=a104_0x2717;writeBytesAtomic(_0x2be211,Buffer[_0x103c82(0x1b1)](_0x2ecd90,_0x103c82(0x1ab)),_0xd8709f);}export function writeBytesAtomic(_0x512ac7,_0x45d750,_0x3167a0){const _0x5230d6=a104_0x2717,_0x4ba35c=_0x512ac7+_0x5230d6(0x1ba);try{writeFileSync(_0x4ba35c,_0x45d750,{'mode':_0x3167a0}),renameSync(_0x4ba35c,_0x512ac7);}catch(_0x525bac){try{rmSync(_0x4ba35c,{'force':!![]});}catch{}throw _0x525bac;}}function a104_0x2b2f(){const _0x449c21=['52817qtJZnB','4946565RcUOza','from','46aDcffR','Unsafe\x20Skill\x20file\x20path:\x20','2475809JWYzCy','split','2324iOxgOS','Refusing\x20to\x20write\x20through\x20Skill\x20symlink\x20path:\x20','endsWith','8KPmrlw','.tmp','isSymbolicLink','839820StFlcz','startsWith','validation','2961fWLlWO','utf8','stringify','237396CuOsyB','3502638pryDMr'];a104_0x2b2f=function(){return _0x449c21;};return a104_0x2b2f();}export function writeJsonAtomic(_0x5e6b59,_0x4a4383){const _0x2f4e5e=a104_0x2717;writeTextAtomic(_0x5e6b59,JSON[_0x2f4e5e(0x1ac)](_0x4a4383,null,0x2)+'\x0a',0x180);}
1
+ (function(_0x524c13,_0xaac526){const _0x15fff4=a104_0x4b7f,_0x568072=_0x524c13();while(!![]){try{const _0x36a133=-parseInt(_0x15fff4(0x1e0))/0x1+-parseInt(_0x15fff4(0x1de))/0x2+parseInt(_0x15fff4(0x1dc))/0x3+-parseInt(_0x15fff4(0x1d3))/0x4+parseInt(_0x15fff4(0x1d5))/0x5+parseInt(_0x15fff4(0x1d6))/0x6+parseInt(_0x15fff4(0x1da))/0x7*(parseInt(_0x15fff4(0x1db))/0x8);if(_0x36a133===_0xaac526)break;else _0x568072['push'](_0x568072['shift']());}catch(_0x101ef3){_0x568072['push'](_0x568072['shift']());}}}(a104_0x7577,0xaeff1));import{lstatSync,readlinkSync,realpathSync,renameSync,rmSync,writeFileSync}from'node:fs';import{dirname,isAbsolute,resolve,sep}from'node:path';import{CliErrors}from'../../errors.js';import{normalizeSkillRelativePath}from'./local-files.js';export function resolveManagedFilePath(_0x161fd3,_0x5b4419){const _0x488d47=a104_0x4b7f,_0x1e3140=normalizeSkillRelativePath(_0x5b4419),_0x562208=realOrResolved(_0x161fd3),_0x1ee659=resolve(_0x562208,..._0x1e3140[_0x488d47(0x1d2)]('/'));if(!isPathInside(_0x1ee659,_0x562208))throw CliErrors[_0x488d47(0x1d9)](_0x488d47(0x1d7)+_0x5b4419);return ensureNoSymlinkInManagedPath(_0x562208,_0x1e3140),_0x1ee659;}export function ensureNoSymlinkInManagedPath(_0xa7d1e7,_0x49b752){const _0x28555c=a104_0x4b7f;let _0x3ac55f=_0xa7d1e7;for(const _0x50ec7d of _0x49b752['split']('/')){_0x3ac55f=resolve(_0x3ac55f,_0x50ec7d);const _0x487c3c=lstatIfPresent(_0x3ac55f);if(_0x487c3c?.[_0x28555c(0x1d8)]())throw CliErrors[_0x28555c(0x1d9)](_0x28555c(0x1df)+_0x49b752);}}export function isDanglingSymlink(_0x18cd49){const _0x4844b1=a104_0x4b7f;try{return lstatSync(_0x18cd49)[_0x4844b1(0x1d8)]();}catch{return![];}}export function resolveSymlinkTarget(_0x423519){const _0x59972b=readlinkSync(_0x423519);return isAbsolute(_0x59972b)?_0x59972b:resolve(dirname(_0x423519),_0x59972b);}export function isPathInside(_0x1e9a74,_0x58c43c){const _0x550382=_0x1e9a74['endsWith'](sep)?_0x1e9a74:''+_0x1e9a74+sep,_0x28d8be=_0x58c43c['endsWith'](sep)?_0x58c43c:''+_0x58c43c+sep;return _0x1e9a74===_0x58c43c||_0x550382['startsWith'](_0x28d8be);}function a104_0x7577(){const _0x299d96=['Unsafe\x20Skill\x20file\x20path:\x20','isSymbolicLink','validation','14yOqOio','4830392CSUWmh','4071786tJPAzC','.tmp','2771732FcXqnw','Refusing\x20to\x20write\x20through\x20Skill\x20symlink\x20path:\x20','1147204qenPqR','split','3769780NQEdBa','utf8','2303615nUnDXr','7000302cyIJFx'];a104_0x7577=function(){return _0x299d96;};return a104_0x7577();}function a104_0x4b7f(_0x29f7b4,_0x28d493){_0x29f7b4=_0x29f7b4-0x1d2;const _0x75772b=a104_0x7577();let _0x4b7f41=_0x75772b[_0x29f7b4];return _0x4b7f41;}export function realOrResolved(_0x2c9317){try{return realpathSync(_0x2c9317);}catch{return resolve(_0x2c9317);}}export function lstatIfPresent(_0xa78e90){try{return lstatSync(_0xa78e90);}catch{return undefined;}}export function writeTextAtomic(_0x3f4c5f,_0x5de3c7,_0x397dcb){const _0x324065=a104_0x4b7f;writeBytesAtomic(_0x3f4c5f,Buffer['from'](_0x5de3c7,_0x324065(0x1d4)),_0x397dcb);}export function writeBytesAtomic(_0x2ccd32,_0x3cd8b7,_0x5e46ef){const _0x497e29=a104_0x4b7f,_0x51f2f0=_0x2ccd32+_0x497e29(0x1dd);try{writeFileSync(_0x51f2f0,_0x3cd8b7,{'mode':_0x5e46ef}),renameSync(_0x51f2f0,_0x2ccd32);}catch(_0x1ec2a5){try{rmSync(_0x51f2f0,{'force':!![]});}catch{}throw _0x1ec2a5;}}export function writeJsonAtomic(_0x564cc5,_0x1f2430){writeTextAtomic(_0x564cc5,JSON['stringify'](_0x1f2430,null,0x2)+'\x0a',0x180);}
@@ -1 +1 @@
1
- function a105_0x4457(){const _0x2189ef=['15787790KWmCGV','698255vlnSbQ','6zwWVDS','digest','867052YjWPhO','634038WVbyNz','sha256','size','11CmRGTb','update','10eKSwpg','1547WiInGC','276020KJGmyo','4475574MPfuPY','272CDGvPk','hex'];a105_0x4457=function(){return _0x2189ef;};return a105_0x4457();}(function(_0x4ef727,_0x3399fc){const _0x530150=a105_0x57eb,_0x1c6e59=_0x4ef727();while(!![]){try{const _0xcb3659=-parseInt(_0x530150(0x1c1))/0x1+-parseInt(_0x530150(0x1bc))/0x2+parseInt(_0x530150(0x1c2))/0x3*(parseInt(_0x530150(0x1c4))/0x4)+parseInt(_0x530150(0x1ca))/0x5*(-parseInt(_0x530150(0x1c5))/0x6)+-parseInt(_0x530150(0x1cb))/0x7*(-parseInt(_0x530150(0x1be))/0x8)+-parseInt(_0x530150(0x1bd))/0x9+-parseInt(_0x530150(0x1c0))/0xa*(-parseInt(_0x530150(0x1c8))/0xb);if(_0xcb3659===_0x3399fc)break;else _0x1c6e59['push'](_0x1c6e59['shift']());}catch(_0x55784e){_0x1c6e59['push'](_0x1c6e59['shift']());}}}(a105_0x4457,0x73f2a));import{createHash}from'node:crypto';import{fileContent,normalizeManifestFiles}from'./local-files.js';function a105_0x57eb(_0x750f27,_0x4f1431){_0x750f27=_0x750f27-0x1bc;const _0x4457c6=a105_0x4457();let _0x57eb35=_0x4457c6[_0x750f27];return _0x57eb35;}export function contentHash(_0x2caefe){const _0x321ea5=a105_0x57eb;return createHash(_0x321ea5(0x1c6))[_0x321ea5(0x1c9)](_0x2caefe)['digest'](_0x321ea5(0x1bf));}export function fileHash(_0x591157){return bufferSha256(fileContent(_0x591157));}export function bufferSha256(_0xb467f7){const _0x107654=a105_0x57eb;return createHash('sha256')[_0x107654(0x1c9)](_0xb467f7)[_0x107654(0x1c3)](_0x107654(0x1bf));}export function fileTreeHash(_0x146af5){const _0x8e2636=a105_0x57eb,_0x5ea1d0=createHash('sha256');for(const _0x257a0c of normalizeManifestFiles(_0x146af5)){_0x5ea1d0[_0x8e2636(0x1c9)](_0x257a0c['path']),_0x5ea1d0[_0x8e2636(0x1c9)]('\x00'),_0x5ea1d0['update'](_0x257a0c['sha256']),_0x5ea1d0['update']('\x00'),_0x5ea1d0[_0x8e2636(0x1c9)](String(_0x257a0c[_0x8e2636(0x1c7)])),_0x5ea1d0['update']('\x00');}return _0x5ea1d0['digest'](_0x8e2636(0x1bf));}
1
+ (function(_0x247348,_0x23e48e){const _0x3aee19=a105_0x2b4d,_0xa3366b=_0x247348();while(!![]){try{const _0x36db7f=parseInt(_0x3aee19(0x12b))/0x1*(parseInt(_0x3aee19(0x123))/0x2)+parseInt(_0x3aee19(0x12a))/0x3*(-parseInt(_0x3aee19(0x130))/0x4)+-parseInt(_0x3aee19(0x12e))/0x5+parseInt(_0x3aee19(0x125))/0x6+parseInt(_0x3aee19(0x127))/0x7*(parseInt(_0x3aee19(0x124))/0x8)+parseInt(_0x3aee19(0x131))/0x9+-parseInt(_0x3aee19(0x12f))/0xa;if(_0x36db7f===_0x23e48e)break;else _0xa3366b['push'](_0xa3366b['shift']());}catch(_0x10f3ff){_0xa3366b['push'](_0xa3366b['shift']());}}}(a105_0x1537,0x47434));import{createHash}from'node:crypto';import{fileContent,normalizeManifestFiles}from'./local-files.js';function a105_0x2b4d(_0x124237,_0x1e9b8e){_0x124237=_0x124237-0x123;const _0x1537f2=a105_0x1537();let _0x2b4d75=_0x1537f2[_0x124237];return _0x2b4d75;}export function contentHash(_0x43134b){const _0x21e173=a105_0x2b4d;return createHash(_0x21e173(0x126))['update'](_0x43134b)[_0x21e173(0x128)](_0x21e173(0x12c));}function a105_0x1537(){const _0x37acb0=['path','780846lpBqpY','1dieZwk','hex','update','2754060PkRFIq','2443560GFlZQd','8lOhJHa','4829742YwOeSb','575332vzfeAW','5136aCobCw','1691508BIcyOA','sha256','5467DFEpwL','digest'];a105_0x1537=function(){return _0x37acb0;};return a105_0x1537();}export function fileHash(_0x4c8a52){return bufferSha256(fileContent(_0x4c8a52));}export function bufferSha256(_0xa2e759){const _0x4b864c=a105_0x2b4d;return createHash(_0x4b864c(0x126))[_0x4b864c(0x12d)](_0xa2e759)[_0x4b864c(0x128)](_0x4b864c(0x12c));}export function fileTreeHash(_0x53b7c0){const _0x1215c7=a105_0x2b4d,_0xfe9f68=createHash(_0x1215c7(0x126));for(const _0x3fcd23 of normalizeManifestFiles(_0x53b7c0)){_0xfe9f68[_0x1215c7(0x12d)](_0x3fcd23[_0x1215c7(0x129)]),_0xfe9f68['update']('\x00'),_0xfe9f68['update'](_0x3fcd23[_0x1215c7(0x126)]),_0xfe9f68[_0x1215c7(0x12d)]('\x00'),_0xfe9f68[_0x1215c7(0x12d)](String(_0x3fcd23['size'])),_0xfe9f68[_0x1215c7(0x12d)]('\x00');}return _0xfe9f68['digest']('hex');}