@lovrabet/lovrabet-cli 2.1.19 → 2.1.20-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli.js +1 -1
- package/lib/commands/api-doc/index.js +1 -1
- package/lib/commands/app/cache.js +1 -1
- package/lib/commands/app/definitions.js +1 -1
- package/lib/commands/app/eligibility.js +1 -1
- package/lib/commands/app/mock-loader.js +1 -1
- package/lib/commands/app/remote-source.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/artifact/index.js +1 -1
- package/lib/commands/auth/device.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/auth/prompt.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/exec.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/common/config-policy.js +1 -1
- package/lib/commands/common/constraints.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/config/definitions.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/sdk-doc.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/personal-bff/index.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/schedule/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/service/dynamic.js +1 -1
- package/lib/commands/service/function-name-adapter.js +1 -1
- package/lib/commands/service/index.js +1 -1
- package/lib/commands/service/registry.js +1 -1
- package/lib/commands/skill/commands/create.js +1 -1
- package/lib/commands/skill/commands/install.js +1 -1
- package/lib/commands/skill/commands/list.js +1 -1
- package/lib/commands/skill/commands/push.js +1 -1
- package/lib/commands/skill/commands/validate.js +1 -1
- package/lib/commands/skill/flags.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/skill/manifest-helpers.js +1 -1
- package/lib/commands/skill/push-execute.js +1 -1
- package/lib/commands/skill/push-flow-helpers.js +1 -1
- package/lib/commands/skill/push-retarget.js +1 -1
- package/lib/commands/skill/scopes.js +1 -1
- package/lib/commands/skill/summary.js +1 -1
- package/lib/commands/skill/templates.js +1 -1
- package/lib/commands/skill/validate.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/update.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/app.js +1 -1
- package/lib/constant/auth-mode.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/distribution.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/product.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/url.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/sdk-client.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/dryrun.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/preparse.d.ts +12 -0
- package/lib/framework/preparse.js +1 -1
- package/lib/framework/rate-limit.js +1 -1
- package/lib/framework/raw-flags.d.ts +12 -0
- package/lib/framework/raw-flags.js +1 -0
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-confirmation.js +1 -1
- package/lib/framework/runner-error.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/service-order.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/help.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/runtime-skill-sync/constants.js +1 -1
- package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
- package/lib/skills/runtime-skill-sync/hashing.js +1 -1
- package/lib/skills/runtime-skill-sync/install-target.js +1 -1
- package/lib/skills/runtime-skill-sync/links.js +1 -1
- package/lib/skills/runtime-skill-sync/list-local.js +1 -1
- package/lib/skills/runtime-skill-sync/local-files.js +1 -1
- package/lib/skills/runtime-skill-sync/materialize.js +1 -1
- package/lib/skills/runtime-skill-sync/metadata.js +1 -1
- package/lib/skills/runtime-skill-sync/paths.js +1 -1
- package/lib/skills/runtime-skill-sync/push.js +1 -1
- package/lib/skills/runtime-skill-sync/scopes.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
- package/lib/skills/runtime-skill-sync.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/lossless-json.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
package/lib/errors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79_0x378349=a79_0xc9a7;(function(_0x5c85f2,_0x4b9996){const _0x579887=a79_0xc9a7,_0x25b661=_0x5c85f2();while(!![]){try{const _0x597c8a=parseInt(_0x579887(0x192))/0x1+parseInt(_0x579887(0x183))/0x2*(-parseInt(_0x579887(0x194))/0x3)+parseInt(_0x579887(0x185))/0x4*(parseInt(_0x579887(0x18f))/0x5)+parseInt(_0x579887(0x18d))/0x6*(parseInt(_0x579887(0x193))/0x7)+parseInt(_0x579887(0x189))/0x8*(parseInt(_0x579887(0x18e))/0x9)+parseInt(_0x579887(0x191))/0xa+parseInt(_0x579887(0x190))/0xb*(-parseInt(_0x579887(0x187))/0xc);if(_0x597c8a===_0x4b9996)break;else _0x25b661['push'](_0x25b661['shift']());}catch(_0x1a9f2d){_0x25b661['push'](_0x25b661['shift']());}}}(a79_0x2a1c,0xea557));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a79_0x2a1c(){const _0x12ee7c=['1381541yTVSLK','14aNpAsL','3EhsTdC','\x20or\x20run\x20`','1954GfeKfz','Configure\x20accessKey\x20in\x20','3085224uRejtV','\x20auth\x20login`.','12tKDnFP','Set\x20appcode\x20via\x20--appcode\x20or\x20','3832GwnbNI','newConfigFileName','rate_limited','Run\x20this\x20command\x20inside\x20a\x20directory\x20with\x20a\x20','5550966iAShld','5202XDXUPo','5OIYXPw','40374158EvNZts','3511550tRGkPk'];a79_0x2a1c=function(){return _0x12ee7c;};return a79_0x2a1c();}import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG}from'./constant/product.js';function a79_0xc9a7(_0x3c3f03,_0x3e911c){_0x3c3f03=_0x3c3f03-0x182;const _0x2a1c96=a79_0x2a1c();let _0xc9a772=_0x2a1c96[_0x3c3f03];return _0xc9a772;}export{CliError};const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a79_0x378349(0x184)+PRODUCT_CONFIG[a79_0x378349(0x18a)]+a79_0x378349(0x182)+CLI_BIN_NAME+a79_0x378349(0x186),'configMissingHint':a79_0x378349(0x188)+PRODUCT_CONFIG[a79_0x378349(0x18a)]+'.','notInProjectHint':a79_0x378349(0x18c)+PRODUCT_CONFIG['newConfigFileName']+'\x20file.'});export const CliErrors={...baseCliErrors,'rateLimited':(_0x56ecd2,_0x39472f)=>new CliError(a79_0x378349(0x18b),0x2,_0x56ecd2,_0x39472f)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2c1eaf,_0x25cdef){var _0x31efd3=a80_0x4c48,_0x274011=_0x2c1eaf();while(!![]){try{var _0x5b3bdd=parseInt(_0x31efd3(0x7c))/0x1*(parseInt(_0x31efd3(0x7a))/0x2)+parseInt(_0x31efd3(0x80))/0x3+-parseInt(_0x31efd3(0x83))/0x4*(-parseInt(_0x31efd3(0x7e))/0x5)+parseInt(_0x31efd3(0x79))/0x6+parseInt(_0x31efd3(0x82))/0x7*(parseInt(_0x31efd3(0x81))/0x8)+parseInt(_0x31efd3(0x7f))/0x9*(-parseInt(_0x31efd3(0x7b))/0xa)+-parseInt(_0x31efd3(0x7d))/0xb;if(_0x5b3bdd===_0x25cdef)break;else _0x274011['push'](_0x274011['shift']());}catch(_0x57950a){_0x274011['push'](_0x274011['shift']());}}}(a80_0x1e53,0xbab41));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a80_0x4c48(_0x204bbd,_0x5f3d05){_0x204bbd=_0x204bbd-0x79;var _0x1e534c=a80_0x1e53();var _0x4c48dd=_0x1e534c[_0x204bbd];return _0x4c48dd;}function a80_0x1e53(){var _0x15ef93=['16lomDWg','3721361THQJXB','4fWPybf','3626928okoJZK','4oAUKCf','10fWuGEw','336352GQeSNG','33687192msIDoW','6638740mpsYsK','4115835XrIyRG','1849014WeqojN'];a80_0x1e53=function(){return _0x15ef93;};return a80_0x1e53();}import{buildAllFlags as a80_0x58c21c}from'@lovrabet/cli-framework';export function buildAllFlags(_0x375e67){return a80_0x58c21c(_0x375e67,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
|
package/lib/framework/dryrun.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a81_0xca93(_0x33e952,_0x84f7ce){_0x33e952=_0x33e952-0xea;const _0x49479a=a81_0x4947();let _0xca93e9=_0x49479a[_0x33e952];return _0xca93e9;}function a81_0x4947(){const _0x426414=['8Iswobv','3209850CfIIQR','5555775ytNafw','body','34231SvwGIH','description','84mDjbsl','8282596tRUDpJ','5829594syWsrw','7302ceGTPj','22qFXizw','6120730MKTAFH'];a81_0x4947=function(){return _0x426414;};return a81_0x4947();}(function(_0x5b0e5a,_0x491f65){const _0x209634=a81_0xca93,_0x3e704f=_0x5b0e5a();while(!![]){try{const _0x52c9f2=-parseInt(_0x209634(0xec))/0x1*(-parseInt(_0x209634(0xf2))/0x2)+-parseInt(_0x209634(0xf1))/0x3*(parseInt(_0x209634(0xee))/0x4)+parseInt(_0x209634(0xea))/0x5+-parseInt(_0x209634(0xf0))/0x6+-parseInt(_0x209634(0xef))/0x7*(-parseInt(_0x209634(0xf4))/0x8)+-parseInt(_0x209634(0xf5))/0x9+-parseInt(_0x209634(0xf3))/0xa;if(_0x52c9f2===_0x491f65)break;else _0x3e704f['push'](_0x3e704f['shift']());}catch(_0xad62c){_0x3e704f['push'](_0x3e704f['shift']());}}}(a81_0x4947,0xa5e40));export function dryRun(_0x35a0aa,_0x436427){const _0x37a899={'method':_0x35a0aa,'url':_0x436427},_0x182578={'body'(_0x442c70){const _0x2331f1=a81_0xca93;return _0x37a899[_0x2331f1(0xeb)]=_0x442c70,_0x182578;},'description'(_0x1a4e9c){const _0x339644=a81_0xca93;return _0x37a899[_0x339644(0xed)]=_0x1a4e9c,_0x182578;},'build'(){return{..._0x37a899};}};return _0x182578;}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a82_0x2ab796=a82_0x173a;(function(_0x1ab027,_0x5534d1){const _0x280c96=a82_0x173a,_0x3d8d57=_0x1ab027();while(!![]){try{const _0x11e493=-parseInt(_0x280c96(0xe5))/0x1+-parseInt(_0x280c96(0xe1))/0x2*(parseInt(_0x280c96(0xeb))/0x3)+parseInt(_0x280c96(0xe3))/0x4*(parseInt(_0x280c96(0xe4))/0x5)+parseInt(_0x280c96(0xe0))/0x6*(-parseInt(_0x280c96(0xdf))/0x7)+-parseInt(_0x280c96(0xe7))/0x8*(-parseInt(_0x280c96(0xe6))/0x9)+-parseInt(_0x280c96(0xe8))/0xa*(parseInt(_0x280c96(0xe9))/0xb)+parseInt(_0x280c96(0xea))/0xc;if(_0x11e493===_0x5534d1)break;else _0x3d8d57['push'](_0x3d8d57['shift']());}catch(_0x319f91){_0x3d8d57['push'](_0x3d8d57['shift']());}}}(a82_0x11ac,0x7be70));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a82_0x11ac(){const _0x10f53c=['412xEjIsX','14195sagGeI','252776ggbLbJ','9rmVvdW','5594344iuHyLP','2553580vhaRWQ','11lPpkOi','18755136PtWvUf','3HanzIB','parseFlags','172522EVBwDL','222otfZbK','1254196VlBwIo','validateFlags'];a82_0x11ac=function(){return _0x10f53c;};return a82_0x11ac();}const helpers=createFlagHelpers(CliErrors);function a82_0x173a(_0x4e10b7,_0x34ccc3){_0x4e10b7=_0x4e10b7-0xde;const _0x11ac35=a82_0x11ac();let _0x173a06=_0x11ac35[_0x4e10b7];return _0x173a06;}export const parseFlags=helpers[a82_0x2ab796(0xde)];export const validateFlags=helpers[a82_0x2ab796(0xe2)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xda5c85,_0x3c783){const _0x122535=a83_0x4620,_0x1bfce0=_0xda5c85();while(!![]){try{const _0x2e1525=parseInt(_0x122535(0x19e))/0x1+-parseInt(_0x122535(0x195))/0x2*(parseInt(_0x122535(0x1a1))/0x3)+parseInt(_0x122535(0x196))/0x4+parseInt(_0x122535(0x1a3))/0x5*(-parseInt(_0x122535(0x19d))/0x6)+parseInt(_0x122535(0x19b))/0x7*(-parseInt(_0x122535(0x18e))/0x8)+parseInt(_0x122535(0x190))/0x9*(parseInt(_0x122535(0x194))/0xa)+parseInt(_0x122535(0x198))/0xb*(parseInt(_0x122535(0x199))/0xc);if(_0x2e1525===_0x3c783)break;else _0x1bfce0['push'](_0x1bfce0['shift']());}catch(_0xec0e83){_0x1bfce0['push'](_0x1bfce0['shift']());}}}(a83_0x338d,0x99b61));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';import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';function a83_0x338d(){const _0x2e6bfa=['18NaFNmi','service','Requires\x20appcode\x20(set\x20via\x20','filter','3200990ivrwic','135416EyIoOZ','2203984fqUpKQ','\x20or\x20--appcode).','3659007iUcRKi','12iEvYvq','newConfigFileName','56AADFeY','has','1494RQQcYk','1100659eqIxWV','generateCommandHelp','map','6aYvlsE','get','23725sCLext','generateFullHelp','677968ZlHtmT','generateServiceHelp'];a83_0x338d=function(){return _0x2e6bfa;};return a83_0x338d();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0xc8cece=a83_0x4620;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0xc8cece(0x192)+PRODUCT_CONFIG[_0xc8cece(0x19a)]+_0xc8cece(0x197)});}export function generateCommandHelp(_0x52b316){const _0x62a8dc=a83_0x4620;return createGenerators()[_0x62a8dc(0x19f)](_0x52b316);}export function generateServiceHelp(_0x22c31e){const _0x32fc1a=a83_0x4620;return createGenerators()[_0x32fc1a(0x18f)](_0x22c31e);}export function generateFullHelp(){const _0x4236aa=a83_0x4620;return createGenerators()[_0x4236aa(0x1a4)]();}function getAnyServiceEntry(_0x1ba3c9){const _0x494066=getServiceEntry(_0x1ba3c9);if(_0x494066)return _0x494066;try{return getDynamicServiceEntry(_0x1ba3c9);}catch{return undefined;}}function a83_0x4620(_0x383352,_0x43d606){_0x383352=_0x383352-0x18e;const _0x338df7=a83_0x338d();let _0x46206b=_0x338df7[_0x383352];return _0x46206b;}function getAnyServiceDefinitions(_0x2f74b7){const _0x1c473d=a83_0x4620,_0x4a614a=serviceGroups[_0x1c473d(0x1a2)](_0x2f74b7);if(_0x4a614a)return _0x4a614a;try{return getDynamicServiceDefinitions(_0x2f74b7);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x103722=a83_0x4620,_0x3e3618=new Set(serviceRegistry[_0x103722(0x1a0)](_0x4e1663=>_0x4e1663['service']));try{return listDynamicServiceEntries()[_0x103722(0x193)](_0x38f4bf=>!_0x3e3618[_0x103722(0x19c)](_0x38f4bf[_0x103722(0x191)]));}catch{return[];}}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1818d4,_0xefc675){var _0x51b574=a84_0x46e7,_0x51e8f7=_0x1818d4();while(!![]){try{var _0x5dff05=-parseInt(_0x51b574(0x126))/0x1+parseInt(_0x51b574(0x123))/0x2*(-parseInt(_0x51b574(0x120))/0x3)+parseInt(_0x51b574(0x11d))/0x4+parseInt(_0x51b574(0x127))/0x5+parseInt(_0x51b574(0x125))/0x6*(-parseInt(_0x51b574(0x11e))/0x7)+parseInt(_0x51b574(0x11f))/0x8*(parseInt(_0x51b574(0x121))/0x9)+parseInt(_0x51b574(0x124))/0xa*(-parseInt(_0x51b574(0x122))/0xb);if(_0x5dff05===_0xefc675)break;else _0x51e8f7['push'](_0x51e8f7['shift']());}catch(_0x246b9f){_0x51e8f7['push'](_0x51e8f7['shift']());}}}(a84_0x21cf,0x1b359));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a84_0x46e7(_0x130537,_0x5b8e38){_0x130537=_0x130537-0x11d;var _0x21cf77=a84_0x21cf();var _0x46e73b=_0x21cf77[_0x130537];return _0x46e73b;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a84_0x21cf(){var _0x437117=['8MOUefl','6rJJWYo','1082493XNOPYp','11hWQGor','63170vJIKtz','791870jCMHGN','438KuuQxa','24693JDVxJX','1111695YXCQVI','19180FhaaDW','6608FWxzrH'];a84_0x21cf=function(){return _0x437117;};return a84_0x21cf();}export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a85_0x5170(_0x13a3f7,_0x1bc863){_0x13a3f7=_0x13a3f7-0xa8;const _0x35f24f=a85_0x35f2();let _0x51708b=_0x35f24f[_0x13a3f7];return _0x51708b;}(function(_0x2918e1,_0x17f0ab){const _0x4f0d76=a85_0x5170,_0x9592be=_0x2918e1();while(!![]){try{const _0x247913=parseInt(_0x4f0d76(0xac))/0x1*(parseInt(_0x4f0d76(0xb4))/0x2)+parseInt(_0x4f0d76(0xad))/0x3+-parseInt(_0x4f0d76(0xaf))/0x4+parseInt(_0x4f0d76(0xaa))/0x5*(-parseInt(_0x4f0d76(0xa9))/0x6)+-parseInt(_0x4f0d76(0xab))/0x7*(-parseInt(_0x4f0d76(0xb8))/0x8)+-parseInt(_0x4f0d76(0xb7))/0x9*(parseInt(_0x4f0d76(0xb1))/0xa)+-parseInt(_0x4f0d76(0xae))/0xb*(parseInt(_0x4f0d76(0xb6))/0xc);if(_0x247913===_0x17f0ab)break;else _0x9592be['push'](_0x9592be['shift']());}catch(_0x49ef75){_0x9592be['push'](_0x9592be['shift']());}}}(a85_0x35f2,0x1a57c));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a85_0x35f2(){const _0x5f1f18=['update','format','278CFwPhU','url','556644YFIogk','9TcRQWY','64sNeDRq','pretty','25836lpRnmz','5paIroA','148169jDrHhM','1169gpvanR','276201WFipgC','33jtfxAs','408244DzYadz','message','704660bAfYVQ'];a85_0x35f2=function(){return _0x5f1f18;};return a85_0x35f2();}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x53e2a2,_0x8c704d){const _0x4e8421=a85_0x5170,_0x1006c3=_0x53e2a2['_notice'],{_notice:_0x4cd872,..._0x43155d}=_0x53e2a2;void _0x4cd872,baseFormatOutput(_0x43155d,_0x8c704d),_0x8c704d[_0x4e8421(0xb3)]===_0x4e8421(0xa8)&&printPrettyNotice(_0x1006c3);}function printPrettyNotice(_0x3ebd27){const _0x18456a=a85_0x5170;if(!_0x3ebd27?.['update'])return;console['error'](_0x3ebd27[_0x18456a(0xb2)][_0x18456a(0xb0)]+'\x20('+_0x3ebd27[_0x18456a(0xb2)][_0x18456a(0xb5)]+')');}
|
|
@@ -49,6 +49,18 @@ export interface CorrectionResult {
|
|
|
49
49
|
/** All individual corrections applied, in order. */
|
|
50
50
|
corrections: FlagCorrection[];
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Converts camelCase / snake_case / UPPER_CASE to kebab-case.
|
|
54
|
+
*
|
|
55
|
+
* Why multiple conversions in sequence: the order matters.
|
|
56
|
+
* We first collapse underscores (snake_case) before handling camelCase boundaries,
|
|
57
|
+
* so `page_size` → `page-size` (not `page_Size`). UPPER_CASE segments are
|
|
58
|
+
* lowercased last so `API_URL` → `api-url` (not `a-p-i-u-r-l`).
|
|
59
|
+
*
|
|
60
|
+
* @param s - Input flag name.
|
|
61
|
+
* @returns kebab-case equivalent.
|
|
62
|
+
*/
|
|
63
|
+
export declare function toKebab(s: string): string;
|
|
52
64
|
/**
|
|
53
65
|
* Corrects raw meow flags before they reach `parseFlags()`.
|
|
54
66
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a86_0x24e6(_0x49b939,_0xa6118f){_0x49b939=_0x49b939-0x1a3;const _0x31fd14=a86_0x31fd();let _0x24e63f=_0x31fd14[_0x49b939];return _0x24e63f;}(function(_0x584b4a,_0x52155b){const _0x47d796=a86_0x24e6,_0x94e012=_0x584b4a();while(!![]){try{const _0x647d59=-parseInt(_0x47d796(0x1aa))/0x1+parseInt(_0x47d796(0x1b2))/0x2*(-parseInt(_0x47d796(0x1c3))/0x3)+-parseInt(_0x47d796(0x1c2))/0x4+-parseInt(_0x47d796(0x1b7))/0x5*(-parseInt(_0x47d796(0x1c0))/0x6)+-parseInt(_0x47d796(0x1c4))/0x7+parseInt(_0x47d796(0x1be))/0x8*(parseInt(_0x47d796(0x1ac))/0x9)+parseInt(_0x47d796(0x1bf))/0xa;if(_0x647d59===_0x52155b)break;else _0x94e012['push'](_0x94e012['shift']());}catch(_0x57b46c){_0x94e012['push'](_0x94e012['shift']());}}}(a86_0x31fd,0x8c414));function a86_0x31fd(){const _0xc829fd=['replace','324004YbWcjT','toUpperCase','has','keys','get','4220OwfMCH','slice','entries','indexOf','set','appcode','global','400992IWbvQU','15234280lpUqle','3216iLVawK','add','317856OHbZki','21zZsriG','3629003BabSoW','format','corrected','version','string','original','toLowerCase','name','length','push','app','type','boolean','321033TZZxsI','non-interactive','117JGdqAY','sticky','dry-run','number','env'];a86_0x31fd=function(){return _0xc829fd;};return a86_0x31fd();}export function toKebab(_0x5e381e){const _0x2dc420=a86_0x24e6;return _0x5e381e[_0x2dc420(0x1b1)](/_/g,'-')[_0x2dc420(0x1b1)](/-([A-Z]+)/g,(_0x5afbaa,_0x338dc6)=>'-'+_0x338dc6[_0x2dc420(0x1a3)]())[_0x2dc420(0x1b1)](/([a-z0-9])([A-Z])/g,(_0x50fdf8,_0xf1b1e9,_0x346d2e)=>_0xf1b1e9+'-'+_0x346d2e)[_0x2dc420(0x1a3)]();}function buildKnownFlags(_0x1c7c70){const _0x316685=a86_0x24e6,_0x84719b=new Set();for(const _0x134947 of _0x1c7c70){_0x84719b[_0x316685(0x1c1)](_0x134947[_0x316685(0x1a4)]),_0x84719b[_0x316685(0x1c1)](toCamelCase(_0x134947[_0x316685(0x1a4)]));}for(const _0x3f8073 of[_0x316685(0x1ae),'dryRun','yes',_0x316685(0x1c5)]){_0x84719b[_0x316685(0x1c1)](_0x3f8073);}for(const _0x13e06c of['help',_0x316685(0x1b0),_0x316685(0x1bc),_0x316685(0x1a7),'nonInteractive',_0x316685(0x1ab),'ci',_0x316685(0x1bd),_0x316685(0x1c7)]){_0x84719b[_0x316685(0x1c1)](_0x13e06c);}return _0x84719b;}function buildFlagTypeMap(_0x5e9956){const _0x4c48b7=a86_0x24e6,_0x4a733c=new Map();for(const _0x4c4a57 of _0x5e9956){_0x4a733c[_0x4c48b7(0x1bb)](_0x4c4a57[_0x4c48b7(0x1a4)],_0x4c4a57[_0x4c48b7(0x1a8)]),_0x4a733c[_0x4c48b7(0x1bb)](toCamelCase(_0x4c4a57[_0x4c48b7(0x1a4)]),_0x4c4a57[_0x4c48b7(0x1a8)]);}return _0x4a733c;}function toCamelCase(_0x44e20c){const _0x3b213b=a86_0x24e6;return _0x44e20c[_0x3b213b(0x1b1)](/-([a-z])/g,(_0x1ec210,_0x59b768)=>_0x59b768[_0x3b213b(0x1b3)]());}function aliasHandler(_0x4f3a36,_0x2190ea){const _0x49faba=a86_0x24e6,_0x46ef0a=[];for(const _0x3fb5a5 of Object[_0x49faba(0x1b5)](_0x4f3a36)){if(_0x2190ea[_0x49faba(0x1b4)](_0x3fb5a5))continue;const _0x30c6e9=toKebab(_0x3fb5a5);_0x30c6e9!==_0x3fb5a5&&_0x2190ea[_0x49faba(0x1b4)](_0x30c6e9)&&_0x46ef0a['push']({'original':_0x3fb5a5,'corrected':_0x30c6e9,'handler':'alias'});}return _0x46ef0a;}function stickyHandler(_0x1479a7,_0x5aa1b4,_0x53582c){const _0x472e6c=a86_0x24e6,_0x22433f=[];for(const [_0x4ab73e,_0x1c6ad3]of Object[_0x472e6c(0x1b9)](_0x1479a7)){if(_0x1c6ad3!==!![])continue;for(let _0x2b83e7=_0x4ab73e['length']-0x1;_0x2b83e7>0x0;_0x2b83e7--){const _0x289c20=_0x4ab73e['slice'](0x0,_0x2b83e7),_0x31d586=_0x4ab73e[_0x472e6c(0x1b8)](_0x2b83e7),_0x24a4be=toKebab(_0x289c20),_0x40ce77=toCamelCase(_0x289c20),_0x34a0a1=_0x5aa1b4[_0x472e6c(0x1b4)](_0x289c20)?_0x289c20:_0x5aa1b4[_0x472e6c(0x1b4)](_0x24a4be)?_0x24a4be:_0x5aa1b4[_0x472e6c(0x1b4)](_0x40ce77)?_0x40ce77:null;if(!_0x34a0a1)continue;const _0x2b52d9=_0x53582c[_0x472e6c(0x1b6)](_0x34a0a1)??_0x472e6c(0x1c8);let _0x3044e0;if(_0x2b52d9==='number'){const _0x5667d4=Number(_0x31d586);if(isNaN(_0x5667d4)||_0x31d586==='')continue;_0x3044e0=_0x5667d4;}else{if(_0x2b52d9===_0x472e6c(0x1a9))continue;else{if(_0x31d586==='')continue;_0x3044e0=_0x31d586;}}_0x22433f[_0x472e6c(0x1a6)]({'original':_0x4ab73e,'corrected':_0x34a0a1+'='+_0x3044e0,'handler':_0x472e6c(0x1ad)});break;}}return _0x22433f;}export function correctFlags(_0x559c57,_0x4720c0){const _0x2b44a2=a86_0x24e6,_0xc751b0=buildKnownFlags(_0x4720c0),_0x3e07a5=buildFlagTypeMap(_0x4720c0),_0x4c89b5=aliasHandler(_0x559c57,_0xc751b0),_0x60595e=stickyHandler(_0x559c57,_0xc751b0,_0x3e07a5),_0x3104f3=[..._0x4c89b5,..._0x60595e];if(_0x3104f3[_0x2b44a2(0x1a5)]===0x0)return{'flags':_0x559c57,'corrections':[]};const _0x185905={..._0x559c57},_0x2294fa=new Set();for(const _0x309cc7 of _0x4c89b5){_0x185905[_0x309cc7['corrected']]=_0x559c57[_0x309cc7[_0x2b44a2(0x1c9)]],_0x2294fa[_0x2b44a2(0x1c1)](_0x309cc7[_0x2b44a2(0x1c9)]);}for(const _0xce189a of _0x60595e){const _0x4a14fb=_0xce189a[_0x2b44a2(0x1c6)][_0x2b44a2(0x1ba)]('='),_0x15596b=_0xce189a[_0x2b44a2(0x1c6)][_0x2b44a2(0x1b8)](0x0,_0x4a14fb),_0x2fa98c=_0xce189a['corrected']['slice'](_0x4a14fb+0x1),_0x20e9df=_0x3e07a5[_0x2b44a2(0x1b6)](_0x15596b)??'string';_0x20e9df===_0x2b44a2(0x1af)?_0x185905[_0x15596b]=Number(_0x2fa98c):_0x185905[_0x15596b]=_0x2fa98c,_0x2294fa['add'](_0xce189a['original']);}for(const _0x1235f0 of _0x2294fa){delete _0x185905[_0x1235f0];}return{'flags':_0x185905,'corrections':_0x3104f3};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87_0x5b7ecb=a87_0x1caf;(function(_0x494c73,_0x7c817f){const _0x2c9329=a87_0x1caf,_0x209aa2=_0x494c73();while(!![]){try{const _0x506c09=-parseInt(_0x2c9329(0xc0))/0x1+parseInt(_0x2c9329(0xca))/0x2+parseInt(_0x2c9329(0xd2))/0x3*(parseInt(_0x2c9329(0xc6))/0x4)+-parseInt(_0x2c9329(0xd8))/0x5+parseInt(_0x2c9329(0xc9))/0x6*(parseInt(_0x2c9329(0xc8))/0x7)+-parseInt(_0x2c9329(0xc7))/0x8*(-parseInt(_0x2c9329(0xd1))/0x9)+parseInt(_0x2c9329(0xd3))/0xa*(-parseInt(_0x2c9329(0xd6))/0xb);if(_0x506c09===_0x7c817f)break;else _0x209aa2['push'](_0x209aa2['shift']());}catch(_0x2613bb){_0x209aa2['push'](_0x209aa2['shift']());}}}(a87_0x4d58,0x47be7));import{CliErrors}from'../errors.js';const RATE_LIMIT_ERROR_CODES=new Set([a87_0x5b7ecb(0xcb),a87_0x5b7ecb(0xc3),a87_0x5b7ecb(0xcd)]);function nonEmptyString(_0x253440){const _0x338618=a87_0x5b7ecb;if(typeof _0x253440!==_0x338618(0xd0))return undefined;const _0x132f0f=_0x253440[_0x338618(0xda)]();return _0x132f0f||undefined;}function a87_0x4d58(){const _0x585a64=['112aKTufb','31884fkgHYg','856290kGwSxM','EXCEED_MAX_QPS_LIMIT','rateLimited','IP_RATE_LIMIT_EXCEEDED','Request\x20rate\x20limit\x20exceeded.','retry-after','string','2283345FSSAZd','996909zRiSgq','7545870pbPrOl','call','message','11rEzDfp','retryAfterSeconds','842865cENwPZ','number','trim','\x20seconds\x20before\x20retrying.','errorCode','Wait\x20','status','test','isInteger','135859WpYgJY','get','entries','MAX_QPS_LIMIT','toLowerCase','toUpperCase','4LGrAhX','16pPhksK'];a87_0x4d58=function(){return _0x585a64;};return a87_0x4d58();}function buildRetryHint(_0x3215aa){const _0x1829bb=a87_0x5b7ecb,_0x2308ad=nonEmptyString(_0x3215aa),_0x984a6a=_0x2308ad?/^\d+$/[_0x1829bb(0xdf)](_0x2308ad)?_0x1829bb(0xdd)+_0x2308ad+_0x1829bb(0xdb):'Retry\x20after\x20'+_0x2308ad+'.':'Retry\x20after\x20a\x20short\x20delay.';return _0x984a6a+'\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.';}export function createRateLimitError(_0x460762){const _0x332d8d=a87_0x5b7ecb,_0x2200bb=nonEmptyString(_0x460762[_0x332d8d(0xdc)])?.[_0x332d8d(0xc5)](),_0xb99d5a=Number(_0x460762[_0x332d8d(0xde)])===0x1ad||_0x2200bb!==undefined&&RATE_LIMIT_ERROR_CODES['has'](_0x2200bb);if(!_0xb99d5a)return undefined;return CliErrors[_0x332d8d(0xcc)](nonEmptyString(_0x460762[_0x332d8d(0xd5)])??_0x332d8d(0xce),buildRetryHint(_0x460762['retryAfter']));}export function readRetryAfter(_0x2ebb52){const _0xfd7ae9=a87_0x5b7ecb;if(!_0x2ebb52||typeof _0x2ebb52!=='object')return undefined;const _0x54263f=_0x2ebb52[_0xfd7ae9(0xc1)];if(typeof _0x54263f==='function'){const _0x19aeff=_0x54263f[_0xfd7ae9(0xd4)](_0x2ebb52,'Retry-After')??_0x54263f['call'](_0x2ebb52,_0xfd7ae9(0xcf));return nonEmptyString(_0x19aeff);}for(const [_0x4e1779,_0x290381]of Object[_0xfd7ae9(0xc2)](_0x2ebb52)){if(_0x4e1779[_0xfd7ae9(0xc4)]()===_0xfd7ae9(0xcf))return nonEmptyString(_0x290381)??(typeof _0x290381===_0xfd7ae9(0xd9)?String(_0x290381):undefined);}return undefined;}function a87_0x1caf(_0x42d01c,_0x5353c4){_0x42d01c=_0x42d01c-0xbf;const _0x4d58a5=a87_0x4d58();let _0x1caf89=_0x4d58a5[_0x42d01c];return _0x1caf89;}export function readRetryAfterSeconds(_0x2b33e1){const _0x1398f8=a87_0x5b7ecb;if(!_0x2b33e1||typeof _0x2b33e1!=='object'||Array['isArray'](_0x2b33e1))return undefined;const _0xfbfd88=_0x2b33e1[_0x1398f8(0xd7)];if(typeof _0xfbfd88===_0x1398f8(0xd9))return Number[_0x1398f8(0xbf)](_0xfbfd88)&&_0xfbfd88>=0x0?String(_0xfbfd88):undefined;const _0x167fbf=nonEmptyString(_0xfbfd88);return _0x167fbf&&/^\d+$/[_0x1398f8(0xdf)](_0x167fbf)?_0x167fbf:undefined;}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Command-level raw flag validation.
|
|
3
|
+
*
|
|
4
|
+
* `meow` accepts unknown long flags by default. Without a command-level check,
|
|
5
|
+
* an input such as `data filter --where '{...}'` reaches the runner, is omitted
|
|
6
|
+
* by the declarative flag parser, and executes as an unfiltered query. This
|
|
7
|
+
* module rejects flags that are neither global nor declared by the resolved
|
|
8
|
+
* command before authentication or execution begins.
|
|
9
|
+
*/
|
|
10
|
+
import type { CommandDefinition } from "../framework/types.js";
|
|
11
|
+
/** Rejects raw flags that the resolved command cannot consume. */
|
|
12
|
+
export declare function assertKnownCommandFlags(def: CommandDefinition, rawFlags: Record<string, unknown>): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a88_0x3edefe=a88_0x4f7c;(function(_0x2ab9cb,_0x2b29b9){const _0x48fbf9=a88_0x4f7c,_0x972e4e=_0x2ab9cb();while(!![]){try{const _0x1cfb3c=-parseInt(_0x48fbf9(0x1e2))/0x1+-parseInt(_0x48fbf9(0x1d7))/0x2+parseInt(_0x48fbf9(0x1e7))/0x3+-parseInt(_0x48fbf9(0x1ed))/0x4+-parseInt(_0x48fbf9(0x1dd))/0x5+parseInt(_0x48fbf9(0x1d4))/0x6*(parseInt(_0x48fbf9(0x1dc))/0x7)+parseInt(_0x48fbf9(0x1da))/0x8*(parseInt(_0x48fbf9(0x1eb))/0x9);if(_0x1cfb3c===_0x2b29b9)break;else _0x972e4e['push'](_0x972e4e['shift']());}catch(_0x35947a){_0x972e4e['push'](_0x972e4e['shift']());}}}(a88_0x1280,0x18f02));function a88_0x1280(){const _0x4645ef=['add','current-page','meowKey','52794WKDCMJ','active','name','where','815553cAYYha','service','26192hFlYUo','\x20--help`\x20to\x20see\x20accepted\x20flags.','validation','page-size','\x20data\x20filter\x20--code\x20<datasetCode>\x20--params\x20','Unknown\x20flag\x20--','currentpage','6sOWlJZ','no-','Put\x20where,\x20select,\x20orderBy,\x20currentPage,\x20and\x20pageSize\x20inside\x20one\x20--params\x20JSON\x20object.\x20','135300ieQHVI','version','entries','8MLvfMm','\x20is\x20not\x20a\x20CLI\x20flag\x20for\x20`','1079043YqQWMf','307770ymOZsb','asc','orderby','command','select','24466fZIPbV','pagesize'];a88_0x1280=function(){return _0x4645ef;};return a88_0x1280();}import{CliErrors}from'../errors.js';function a88_0x4f7c(_0xd7875d,_0x3cb988){_0xd7875d=_0xd7875d-0x1d3;const _0x128073=a88_0x1280();let _0x4f7c6e=_0x128073[_0xd7875d];return _0x4f7c6e;}import{CLI_BIN_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{toKebab}from'../framework/preparse.js';const FILTER_BODY_FIELDS=new Set([a88_0x3edefe(0x1ea),a88_0x3edefe(0x1e1),'order-by',a88_0x3edefe(0x1df),a88_0x3edefe(0x1e5),a88_0x3edefe(0x1d3),'page',a88_0x3edefe(0x1f0),a88_0x3edefe(0x1e3)]);export function assertKnownCommandFlags(_0x31757b,_0x432314){const _0x41b52f=a88_0x3edefe,_0x105d0=new Set([_0x41b52f(0x1d8)]);for(const _0x1784b6 of GLOBAL_FLAGS){_0x105d0[_0x41b52f(0x1e4)](_0x1784b6[_0x41b52f(0x1e9)]),_0x105d0[_0x41b52f(0x1e4)](toKebab(_0x1784b6[_0x41b52f(0x1e6)]));}for(const _0x36789e of _0x31757b['flags']??[]){_0x105d0[_0x41b52f(0x1e4)](_0x36789e[_0x41b52f(0x1e9)]);}for(const [_0xbf7673,_0x46d42c]of Object[_0x41b52f(0x1d9)](_0x432314)){const _0x5cb5ca=toKebab(_0xbf7673);if(_0x105d0['has'](_0x5cb5ca))continue;if(_0x46d42c===![]&&_0x105d0['has'](_0x41b52f(0x1d5)+_0x5cb5ca))continue;if(_0x31757b['service']==='data'&&_0x31757b[_0x41b52f(0x1e0)]==='filter'&&FILTER_BODY_FIELDS['has'](_0x5cb5ca))throw CliErrors[_0x41b52f(0x1ef)]('--'+_0x5cb5ca+_0x41b52f(0x1db)+CLI_BIN_NAME+'\x20data\x20filter`.',_0x41b52f(0x1d6)+('Example:\x20'+CLI_BIN_NAME+_0x41b52f(0x1f1))+('\x27'+JSON['stringify']({'where':{'status':{'$eq':_0x41b52f(0x1e8)}},'orderBy':[{'id':_0x41b52f(0x1de)}],'currentPage':0x1,'pageSize':0x14})+'\x27'));throw CliErrors[_0x41b52f(0x1ef)](_0x41b52f(0x1f2)+_0x5cb5ca+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x31757b[_0x41b52f(0x1ec)]+'\x20'+_0x31757b[_0x41b52f(0x1e0)]+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x31757b[_0x41b52f(0x1ec)]+'\x20'+_0x31757b[_0x41b52f(0x1e0)]+_0x41b52f(0x1ee));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a89_0x3ec9(_0xba4b16,_0x377025){_0xba4b16=_0xba4b16-0x1e8;var _0x206ad0=a89_0x206a();var _0x3ec96f=_0x206ad0[_0xba4b16];return _0x3ec96f;}(function(_0x43fb99,_0x1484ba){var _0x5d9087=a89_0x3ec9,_0x3ebcef=_0x43fb99();while(!![]){try{var _0x13221d=parseInt(_0x5d9087(0x1e9))/0x1*(-parseInt(_0x5d9087(0x1ed))/0x2)+parseInt(_0x5d9087(0x1ec))/0x3+-parseInt(_0x5d9087(0x1e8))/0x4*(-parseInt(_0x5d9087(0x1ef))/0x5)+parseInt(_0x5d9087(0x1f2))/0x6*(parseInt(_0x5d9087(0x1eb))/0x7)+parseInt(_0x5d9087(0x1f0))/0x8+parseInt(_0x5d9087(0x1f1))/0x9*(-parseInt(_0x5d9087(0x1ee))/0xa)+parseInt(_0x5d9087(0x1ea))/0xb*(parseInt(_0x5d9087(0x1f3))/0xc);if(_0x13221d===_0x1484ba)break;else _0x3ebcef['push'](_0x3ebcef['shift']());}catch(_0x8ee57b){_0x3ebcef['push'](_0x3ebcef['shift']());}}}(a89_0x206a,0x1fc82));function a89_0x206a(){var _0x27969b=['212854AKhXBW','23320pNdito','7JXogQO','64782cdTlBb','2gCgFKV','170870ZJMhVj','55pnrMrG','530560LIaxWU','27jGguyD','922218hdXTeQ','456jIjbXj','26224QeuASg'];a89_0x206a=function(){return _0x27969b;};return a89_0x206a();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a90_0x1a12(){const _0x30d380=['cron=','channel','params=','\x20\x20\x20Continue?\x20[y/N]\x20','command','push','3395510qCeKIh','32PWYeSe','description','commandLabel','2635885mizBCU','scheduled-at=','stringify','name=','params','cron','code=','kind','--yes','affectedRecords','24NINNgX','6676080jMcguM','4542628kndhPE','schedule-id','join','code','entries','scheduled-at','3240VmXuAd','\x20\x20\x20Affected:\x20','name','72hLrVuD','665562yOHHoH','4438326DzcWDB','kind='];a90_0x1a12=function(){return _0x30d380;};return a90_0x1a12();}(function(_0x38962f,_0x367087){const _0x22298b=a90_0x4a43,_0xea1469=_0x38962f();while(!![]){try{const _0x2e8746=-parseInt(_0x22298b(0x1b5))/0x1*(parseInt(_0x22298b(0x1c3))/0x2)+-parseInt(_0x22298b(0x1ba))/0x3+-parseInt(_0x22298b(0x1af))/0x4+-parseInt(_0x22298b(0x1c2))/0x5+-parseInt(_0x22298b(0x1b9))/0x6+parseInt(_0x22298b(0x1c6))/0x7*(-parseInt(_0x22298b(0x1ad))/0x8)+parseInt(_0x22298b(0x1b8))/0x9*(parseInt(_0x22298b(0x1ae))/0xa);if(_0x2e8746===_0x367087)break;else _0xea1469['push'](_0xea1469['shift']());}catch(_0x18b26b){_0xea1469['push'](_0xea1469['shift']());}}}(a90_0x1a12,0xb8237));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0xea95ec,_0x1d81e2,_0x2ebc0e){const _0xe0be77=a90_0x4a43,_0xc44471=buildConfirmationContext(_0xea95ec,_0x1d81e2,_0x2ebc0e),_0x37f143=['⚠\x20\x20High-risk\x20operation:\x20'+_0xc44471[_0xe0be77(0x1c5)]];return _0xc44471[_0xe0be77(0x1c4)]&&_0x37f143[_0xe0be77(0x1c1)]('\x20\x20\x20'+_0xc44471[_0xe0be77(0x1c4)]),_0xc44471['affectedRecords']&&_0x37f143[_0xe0be77(0x1c1)](_0xe0be77(0x1b6)+_0xc44471[_0xe0be77(0x1ac)]),_0x37f143['push'](_0xe0be77(0x1bf)),_0x37f143;}export function reconstructCommandArgv(_0x139c6b,_0x38887a){const _0x55bb4c=a90_0x4a43,_0x54f535=[CLI_BIN_NAME,_0x139c6b['service'],_0x139c6b[_0x55bb4c(0x1c0)]];for(const [_0x58763a,_0x32c246]of Object[_0x55bb4c(0x1b3)](_0x38887a)){if(_0x32c246===!![])_0x54f535[_0x55bb4c(0x1c1)]('--'+_0x58763a);else _0x32c246!==![]&&_0x32c246!==undefined&&_0x32c246!==''&&_0x54f535[_0x55bb4c(0x1c1)]('--'+_0x58763a+'\x20'+JSON[_0x55bb4c(0x1c8)](_0x32c246));}return _0x54f535[_0x55bb4c(0x1c1)](_0x55bb4c(0x1ab)),_0x54f535[_0x55bb4c(0x1b1)]('\x20');}function buildConfirmationContext(_0x2e4cbe,_0xee60b3,_0x184f4a){const _0x434bb5=a90_0x4a43,_0x3d2ac8=extractAffectedRecords(_0x184f4a);return{'commandLabel':_0xee60b3,'description':_0x2e4cbe[_0x434bb5(0x1c4)],'affectedRecords':_0x3d2ac8};}function a90_0x4a43(_0x153d5e,_0x475463){_0x153d5e=_0x153d5e-0x1aa;const _0x1a128e=a90_0x1a12();let _0x4a43ab=_0x1a128e[_0x153d5e];return _0x4a43ab;}function extractAffectedRecords(_0x2551d1){const _0xf3dbc8=a90_0x4a43,_0x2c3521=[];if(_0x2551d1[_0xf3dbc8(0x1b2)])_0x2c3521[_0xf3dbc8(0x1c1)](_0xf3dbc8(0x1cc)+_0x2551d1[_0xf3dbc8(0x1b2)]);if(_0x2551d1['id'])_0x2c3521[_0xf3dbc8(0x1c1)]('id='+_0x2551d1['id']);if(_0x2551d1[_0xf3dbc8(0x1b0)])_0x2c3521[_0xf3dbc8(0x1c1)]('schedule-id='+_0x2551d1['schedule-id']);if(_0x2551d1['name'])_0x2c3521[_0xf3dbc8(0x1c1)](_0xf3dbc8(0x1c9)+_0x2551d1[_0xf3dbc8(0x1b7)]);if(_0x2551d1['title'])_0x2c3521['push']('title='+_0x2551d1['title']);if(_0x2551d1[_0xf3dbc8(0x1aa)])_0x2c3521[_0xf3dbc8(0x1c1)](_0xf3dbc8(0x1bb)+_0x2551d1[_0xf3dbc8(0x1aa)]);if(_0x2551d1[_0xf3dbc8(0x1cb)])_0x2c3521['push'](_0xf3dbc8(0x1bc)+_0x2551d1[_0xf3dbc8(0x1cb)]);if(_0x2551d1[_0xf3dbc8(0x1b4)])_0x2c3521[_0xf3dbc8(0x1c1)](_0xf3dbc8(0x1c7)+_0x2551d1['scheduled-at']);if(_0x2551d1['channel'])_0x2c3521[_0xf3dbc8(0x1c1)]('channel='+_0x2551d1[_0xf3dbc8(0x1bd)]);if(_0x2551d1[_0xf3dbc8(0x1ca)])_0x2c3521[_0xf3dbc8(0x1c1)](_0xf3dbc8(0x1be)+_0x2551d1['params']);return _0x2c3521['length']>0x0?_0x2c3521[_0xf3dbc8(0x1b1)](',\x20'):undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1f4988,_0x2ce011){const _0x49f490=a91_0x3698,_0x37a91a=_0x1f4988();while(!![]){try{const _0x35226=-parseInt(_0x49f490(0x12b))/0x1+parseInt(_0x49f490(0x122))/0x2+-parseInt(_0x49f490(0x123))/0x3*(-parseInt(_0x49f490(0x128))/0x4)+parseInt(_0x49f490(0x12f))/0x5+-parseInt(_0x49f490(0x124))/0x6*(parseInt(_0x49f490(0x12d))/0x7)+parseInt(_0x49f490(0x125))/0x8+-parseInt(_0x49f490(0x121))/0x9;if(_0x35226===_0x2ce011)break;else _0x37a91a['push'](_0x37a91a['shift']());}catch(_0x42830f){_0x37a91a['push'](_0x37a91a['shift']());}}}(a91_0x5069,0x9b0bc));import{LovrabetError}from'@lovrabet/sdk';function a91_0x3698(_0x510c97,_0x1fd4d0){_0x510c97=_0x510c97-0x11e;const _0x50696e=a91_0x5069();let _0x36988c=_0x50696e[_0x510c97];return _0x36988c;}import{CliErrors}from'../errors.js';import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';export function mapUserFacingExecuteError(_0x28f034){const _0x161f37=a91_0x3698;if(_0x28f034 instanceof LovrabetError){const _0x414867=userFacingLovrabetMessage(_0x28f034),_0x4b2ea6=_0x28f034,_0x4121e6=createRateLimitError({'status':_0x4b2ea6['status'],'errorCode':_0x4b2ea6[_0x161f37(0x12a)],'message':_0x414867,'retryAfter':readRetryAfter(_0x4b2ea6[_0x161f37(0x11e)]?.[_0x161f37(0x127)])??readRetryAfterSeconds(_0x4b2ea6[_0x161f37(0x11e)])});return _0x4121e6??CliErrors[_0x161f37(0x12c)](_0x414867);}return _0x28f034;}function a91_0x5069(){const _0x167402=['18047358sIyNCC','2522436ZSUvVe','6ZDsklA','54rwOCDY','9904808HwtuqG','description','headers','1626772smlysQ','stringify','code','669316IREDRV','validation','785918quliPm','message','5037035ykkwCq','response','string','trim'];a91_0x5069=function(){return _0x167402;};return a91_0x5069();}function userFacingLovrabetMessage(_0x2d028b){const _0x4d3bd3=a91_0x3698,_0x3e47d9=_0x2d028b[_0x4d3bd3(0x126)];if(_0x3e47d9!==undefined&&_0x3e47d9!==null){if(typeof _0x3e47d9===_0x4d3bd3(0x11f)&&_0x3e47d9[_0x4d3bd3(0x120)]())return _0x3e47d9[_0x4d3bd3(0x120)]();try{return JSON[_0x4d3bd3(0x129)](_0x3e47d9);}catch{}}return _0x2d028b[_0x4d3bd3(0x12e)];}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4a5226,_0x2918a7){const _0x537369=a91_0x445e,_0x278634=_0x4a5226();while(!![]){try{const _0x2f8f71=-parseInt(_0x537369(0x1d1))/0x1*(-parseInt(_0x537369(0x1e0))/0x2)+-parseInt(_0x537369(0x1f5))/0x3*(-parseInt(_0x537369(0x1e7))/0x4)+-parseInt(_0x537369(0x1ca))/0x5*(parseInt(_0x537369(0x1cb))/0x6)+parseInt(_0x537369(0x1d7))/0x7+-parseInt(_0x537369(0x1f3))/0x8*(-parseInt(_0x537369(0x1e2))/0x9)+-parseInt(_0x537369(0x1eb))/0xa+-parseInt(_0x537369(0x200))/0xb;if(_0x2f8f71===_0x2918a7)break;else _0x278634['push'](_0x278634['shift']());}catch(_0x285097){_0x278634['push'](_0x278634['shift']());}}}(a91_0x17cc,0x1f64e));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a91_0x445e(_0x42c6b2,_0x4619e8){_0x42c6b2=_0x42c6b2-0x1c2;const _0x17cc6b=a91_0x17cc();let _0x445e11=_0x17cc6b[_0x42c6b2];return _0x445e11;}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(_0x2deab0){const _0xb3a6e4=a91_0x445e;return void _0x2deab0,AUTH_MODE[_0xb3a6e4(0x1c2)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x1b8656,_0x4ae398){const _0x402843=a91_0x445e,_0x17a49a=typeof _0x4ae398[_0x402843(0x1f0)]===_0x402843(0x1c6)&&_0x4ae398['app']['trim']();return{'rawFlags':_0x4ae398,'appCode':_0x1b8656[_0x402843(0x1f2)]||productEnv(_0x402843(0x1e3))||(_0x17a49a?undefined:readAppCodeFromConfig()),'appCodeSource':_0x1b8656[_0x402843(0x1f8)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x4ae398),'defaultFormat':_0x1b8656[_0x402843(0x1cc)],'defaultPageSize':_0x1b8656['pageSize'],'defaultVerbose':_0x1b8656[_0x402843(0x1d8)],'riskLevel':_0x1b8656[_0x402843(0x1ff)],'accessKey':_0x1b8656[_0x402843(0x1c9)],'env':_0x1b8656['env'],'mergedCli':{'defaultApp':_0x1b8656[_0x402843(0x1fe)],'currentApp':_0x1b8656[_0x402843(0x203)],'appCode':_0x1b8656[_0x402843(0x1f2)]}};}export function createLovrabetRunnerAdapter(_0x25bb64={}){const _0x580374=a91_0x445e,_0x455395={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x580374(0x1c8)](_0x43a2d9=>PIPELINE_FLAG_NAMES['has'](_0x43a2d9[_0x580374(0x1ce)]))['map'](({name:_0x42c7bd,type:_0x3eb194,description:_0x37a3b4})=>({'name':_0x42c7bd,'type':_0x3eb194,'description':_0x37a3b4})),'formatOutput':_0x25bb64[_0x580374(0x1fb)]??formatOutput,'getCommandLabel'(_0x4e0ae6){const _0x37b559=_0x580374;return CLI_BIN_NAME+'\x20'+_0x4e0ae6[_0x37b559(0x202)]+'\x20'+_0x4e0ae6['command'];},'riskPolicy':{'onViolation'(_0x31d628){console['error'](_0x31d628);},'createError'(_0x303a60){const _0x42bc8a=_0x580374;return CliErrors[_0x42bc8a(0x1e4)](_0x303a60);}},async 'prepare'(_0x4325dc,_0x5b6479){const _0x8f5976=_0x580374,_0x3bd884=resolveAuthMode(_0x5b6479);if(_0x4325dc[_0x8f5976(0x1f9)]!==![]){if(!_0x5b6479[_0x8f5976(0x1c9)])throw CliErrors[_0x8f5976(0x1ea)](_0x8f5976(0x1db)+PRODUCT_CONFIG['newConfigFileName']+'\x20or\x20pass\x20'+productEnvName(_0x8f5976(0x1c4))+'.');const {setActiveAK:_0x15c8f4}=await import(_0x8f5976(0x1c3));_0x15c8f4(_0x5b6479['accessKey']);}let _0x560cc0='';if(_0x4325dc['requiresAppCode']!==![]){_0x560cc0=_0x5b6479['appCode']??'',_0x560cc0=await resolveExplicitAppName(_0x4325dc,_0x5b6479,_0x560cc0);if(!_0x560cc0){await assertSelectedAppNameIsRuntimeAccessible(_0x4325dc,_0x5b6479);throw CliErrors['configMissing']('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x8f5976(0x1dc)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x4325dc,_0x5b6479,_0x560cc0);}if(_0x560cc0){const {initSdkClient:_0x152d1b}=await import('../core/sdk-client.js');_0x152d1b({'appCode':_0x560cc0,'env':_0x5b6479[_0x8f5976(0x1d4)]??_0x8f5976(0x1d3),'accessKey':_0x5b6479[_0x8f5976(0x1c9)],'authMode':_0x3bd884}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x5b6479['defaultVerbose']},'numbers':{'pagesize':_0x5b6479[_0x8f5976(0x1fc)]}},'extras':{'appCode':_0x560cc0,'cookie':'','apiDomain':_0x5b6479[_0x8f5976(0x1ec)],'apiDir':'','accessKey':_0x5b6479['accessKey'],'envName':_0x5b6479[_0x8f5976(0x1d4)],'mergedCli':_0x5b6479['mergedCli']}};},'confirmHighRisk':_0x25bb64[_0x580374(0x1c5)]??(async({def:_0x43f4d7,env:_0x41c028,flags:_0x56ebd6,commandLabel:_0x15b04b})=>{const _0x2cd050=_0x580374;if(_0x41c028[_0x2cd050(0x1ee)]){const _0x45297d=reconstructCommandArgv(_0x43f4d7,_0x56ebd6);throw CliErrors[_0x2cd050(0x1d9)](_0x2cd050(0x1c7)+_0x15b04b+_0x2cd050(0x1dd)+(_0x2cd050(0x1ef)+_0x45297d));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x43f4d7,_0x15b04b,_0x56ebd6),'createCancelledError':_0x465763=>CliErrors[_0x2cd050(0x1e4)](_0x465763)});}),'mapDryRunError'(_0x57e11b){return mapUserFacingExecuteError(_0x57e11b);},'mapExecuteError'(_0x4968c9){return mapUserFacingExecuteError(_0x4968c9);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x455395;}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x2763fa=a91_0x445e;try{if(sdkClientInitialized){const {clearSdkClient:_0x1c1708}=await import(_0x2763fa(0x1fa));_0x1c1708();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x280df6}=await import(_0x2763fa(0x1c3));_0x280df6();}}async function resolveExplicitAppName(_0x36a868,_0x42cdfe,_0x9d26ae){const _0x21036e=a91_0x445e;if(_0x36a868[_0x21036e(0x1ed)]===![])return _0x9d26ae;const _0x4b9297=typeof _0x42cdfe[_0x21036e(0x1fd)][_0x21036e(0x1f0)]===_0x21036e(0x1c6)?_0x42cdfe[_0x21036e(0x1fd)]['app'][_0x21036e(0x1d5)]():'';if(!_0x4b9297)return _0x9d26ae;const _0x513f4e=typeof _0x42cdfe[_0x21036e(0x1fd)][_0x21036e(0x1d6)]==='string'&&_0x42cdfe[_0x21036e(0x1fd)][_0x21036e(0x1d6)][_0x21036e(0x1d5)]()||productEnv(_0x21036e(0x1e3));if(_0x513f4e||_0x42cdfe[_0x21036e(0x1f8)]==='local-alias')return _0x9d26ae;const {getRemoteAppList:_0x34c9dd}=await import(_0x21036e(0x1e6)),_0x4f2d03=await _0x34c9dd({'env':_0x42cdfe[_0x21036e(0x1d4)]??'production','accessKey':_0x42cdfe[_0x21036e(0x1c9)]}),_0x39398b=findAppByName(_0x4f2d03['items'],_0x4b9297);if(_0x39398b&&!isRuntimeAccessibleApp(_0x39398b))throw runtimeInaccessibleAppError(_0x39398b,'\x22'+_0x4b9297+'\x22');const _0xfad608=_0x39398b?.[_0x21036e(0x1f2)]?.[_0x21036e(0x1d5)]();if(_0xfad608)return _0xfad608;throw CliErrors[_0x21036e(0x1d9)](_0x21036e(0x1e9)+_0x4b9297,_0x21036e(0x201)+CLI_BIN_NAME+_0x21036e(0x1f4)+_0x4b9297+_0x21036e(0x1da)+PRODUCT_CONFIG[_0x21036e(0x1dc)]+'.');}function a91_0x17cc(){const _0x49572b=['confirmHighRisk','string','High-risk\x20operation\x20`','filter','accessKey','80JHKPNT','72246aEUzLV','format','update','name','doctor','nonInteractive','8934kXEJFb','schema','production','env','trim','appcode','413861IFqlgN','verbose','validation','.appcode\x20to\x20','Set\x20accessKey\x20in\x20','newConfigFileName','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','mergedCli','appcode\x20\x22','14zhhZxY','_notice','1755423CWEUzh','APPCODE','cancelled','items','../commands/app/remote-source.js','515344eanOHC','resolve','Unknown\x20app:\x20','authRequired','663020WrHMmz','apiDomain','requiresAppCode','isNonInteractive','\x20\x20To\x20proceed:\x20','app','includes','appCode','8BBnyte','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','3ikdsHF','execute','pretty','appCodeSource','requiresAuth','../core/sdk-client.js','formatOutput','defaultPageSize','rawFlags','defaultApp','riskLevel','637956QPZfYC','Run\x20`','service','currentApp','ClientAk','../core/api-client.js','ACCESS_KEY'];a91_0x17cc=function(){return _0x49572b;};return a91_0x17cc();}async function assertSelectedAppNameIsRuntimeAccessible(_0x3b260f,_0x3c87c9){const _0x1c4c7e=a91_0x445e;if(_0x3b260f['requiresAppCode']===![]||!_0x3c87c9[_0x1c4c7e(0x1c9)])return;const _0x471d3f=(typeof _0x3c87c9[_0x1c4c7e(0x1fd)][_0x1c4c7e(0x1f0)]===_0x1c4c7e(0x1c6)&&_0x3c87c9['rawFlags'][_0x1c4c7e(0x1f0)][_0x1c4c7e(0x1d5)]()?_0x3c87c9['rawFlags'][_0x1c4c7e(0x1f0)]:_0x3c87c9['mergedCli']?.[_0x1c4c7e(0x203)]??_0x3c87c9[_0x1c4c7e(0x1de)]?.[_0x1c4c7e(0x1fe)])?.[_0x1c4c7e(0x1d5)]();if(!_0x471d3f)return;const {getRemoteAppList:_0x491c81}=await import(_0x1c4c7e(0x1e6)),_0x72b3c7=await _0x491c81({'env':_0x3c87c9[_0x1c4c7e(0x1d4)]??'production','accessKey':_0x3c87c9[_0x1c4c7e(0x1c9)]}),_0x45499e=findAppByName(_0x72b3c7[_0x1c4c7e(0x1e5)],_0x471d3f);if(_0x45499e&&!isRuntimeAccessibleApp(_0x45499e))throw runtimeInaccessibleAppError(_0x45499e,'\x22'+_0x471d3f+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x41afaf,_0x269baf,_0x359306){const _0x4217b2=a91_0x445e;if(_0x41afaf[_0x4217b2(0x1ed)]===![]||!_0x269baf['accessKey'])return;const {getRemoteAppList:_0x587bfc}=await import(_0x4217b2(0x1e6)),_0x1bb767=await _0x587bfc({'env':_0x269baf[_0x4217b2(0x1d4)]??_0x4217b2(0x1d3),'accessKey':_0x269baf['accessKey']}),_0x390328=findAppByCode(_0x1bb767['items'],_0x359306);if(_0x390328&&!isRuntimeAccessibleApp(_0x390328))throw runtimeInaccessibleAppError(_0x390328,_0x4217b2(0x1df)+_0x359306+'\x22');}export async function runCommand(_0x32518d,_0x234df4,_0x3166ef=terminalRunnerAdapter){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x32518d)?withUpdateNotice(_0x32518d):_0x32518d,_0x234df4,_0x3166ef);}function shouldAttachUpdateNotice(_0x21f136){const _0x53d1e6=a91_0x445e;return![_0x53d1e6(0x1cd),_0x53d1e6(0x1d2),_0x53d1e6(0x1cf)][_0x53d1e6(0x1f1)](_0x21f136[_0x53d1e6(0x202)]);}function withUpdateNotice(_0x419cf4){return{..._0x419cf4,async 'execute'(_0x5b895c){const _0x49619e=a91_0x445e,_0x2a8402=shouldResolveUpdateNotice(_0x5b895c)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x49619e(0x1e8)](null),_0x20fe39=await _0x419cf4[_0x49619e(0x1f6)](_0x5b895c);return attachUpdateNotice(_0x20fe39,await _0x2a8402);}};}function shouldResolveUpdateNotice(_0x5a9832){const _0x4aa630=a91_0x445e;return _0x5a9832[_0x4aa630(0x1cc)]===_0x4aa630(0x1f7)&&!_0x5a9832[_0x4aa630(0x1d0)];}function attachUpdateNotice(_0x22eff4,_0x822711){const _0x43031e=a91_0x445e;if(!_0x822711||!_0x22eff4||typeof _0x22eff4!=='object')return _0x22eff4;const _0x363072=_0x22eff4,_0x28a31b=typeof _0x363072[_0x43031e(0x1e1)]==='object'&&_0x363072[_0x43031e(0x1e1)]!==null?_0x363072[_0x43031e(0x1e1)]:{};return{..._0x363072,'_notice':{..._0x28a31b,'update':_0x822711}};}
|
|
1
|
+
(function(_0x1fcf23,_0x3243d9){const _0x4ea748=a92_0xb95b,_0x1abf37=_0x1fcf23();while(!![]){try{const _0x2b6c35=-parseInt(_0x4ea748(0xd2))/0x1*(parseInt(_0x4ea748(0xe1))/0x2)+-parseInt(_0x4ea748(0xec))/0x3*(parseInt(_0x4ea748(0xee))/0x4)+parseInt(_0x4ea748(0xf2))/0x5*(-parseInt(_0x4ea748(0xcf))/0x6)+parseInt(_0x4ea748(0xbf))/0x7*(-parseInt(_0x4ea748(0xc4))/0x8)+parseInt(_0x4ea748(0xf4))/0x9+-parseInt(_0x4ea748(0xbb))/0xa+parseInt(_0x4ea748(0xe3))/0xb;if(_0x2b6c35===_0x3243d9)break;else _0x1abf37['push'](_0x1abf37['shift']());}catch(_0x447e58){_0x1abf37['push'](_0x1abf37['shift']());}}}(a92_0x4e51,0x5d365));function a92_0x4e51(){const _0x73fd55=['includes','Unknown\x20app:\x20','service','resolve','ACCESS_KEY','appCode','schema','APPCODE','catch','command','trim','isNonInteractive','5118bFNwZV','requiresAppCode','36804636tPHbjU','pageSize','validation','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','apiDomain','local-alias','string','_notice','defaultApp','3BwgAJl','name','1433148QxgWGQ','object','appcode','requiresAuth','35BTSEfJ','verbose','3067047DkgCVG','items','configMissing','map','newConfigFileName','currentApp','../core/sdk-client.js','7565560qmMNeI','authRequired','appCodeSource','../core/api-client.js','140IhupSf','error','appcode\x20\x22','app','env','281376LOkTZg','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','pretty','mergedCli','cancelled','riskLevel','production','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','accessKey','filter','has','646890UWlNKR','.appcode\x20to\x20','rawFlags','286mNtwUL','../commands/app/remote-source.js','High-risk\x20operation\x20`'];a92_0x4e51=function(){return _0x73fd55;};return a92_0x4e51();}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';function a92_0xb95b(_0x5c9422,_0x542812){_0x5c9422=_0x5c9422-0xb8;const _0x4e51f7=a92_0x4e51();let _0xb95bd5=_0x4e51f7[_0x5c9422];return _0xb95bd5;}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{assertKnownCommandFlags}from'../framework/raw-flags.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x1d3cc1){return void _0x1d3cc1,AUTH_MODE['ClientAk'];}let sdkClientInitialized=![];export function createPipelineEnv(_0x53322f,_0x746637){const _0x14ec6f=a92_0xb95b,_0x186f0d=typeof _0x746637[_0x14ec6f(0xc2)]===_0x14ec6f(0xe9)&&_0x746637[_0x14ec6f(0xc2)][_0x14ec6f(0xdf)]();return{'rawFlags':_0x746637,'appCode':_0x53322f['appCode']||productEnv(_0x14ec6f(0xdc))||(_0x186f0d?undefined:readAppCodeFromConfig()),'appCodeSource':_0x53322f[_0x14ec6f(0xbd)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x746637),'defaultFormat':_0x53322f['format'],'defaultPageSize':_0x53322f[_0x14ec6f(0xe4)],'defaultVerbose':_0x53322f[_0x14ec6f(0xf3)],'riskLevel':_0x53322f[_0x14ec6f(0xc9)],'accessKey':_0x53322f[_0x14ec6f(0xcc)],'env':_0x53322f[_0x14ec6f(0xc3)],'mergedCli':{'defaultApp':_0x53322f[_0x14ec6f(0xeb)],'currentApp':_0x53322f[_0x14ec6f(0xb9)],'appCode':_0x53322f[_0x14ec6f(0xda)]}};}export function createLovrabetRunnerAdapter(_0x204da3={}){const _0x3bea74=a92_0xb95b,_0x190341={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x3bea74(0xcd)](_0x1d4ddc=>PIPELINE_FLAG_NAMES[_0x3bea74(0xce)](_0x1d4ddc[_0x3bea74(0xed)]))[_0x3bea74(0xf7)](({name:_0x2a27d6,type:_0x2d6b6d,description:_0xb8f6a4})=>({'name':_0x2a27d6,'type':_0x2d6b6d,'description':_0xb8f6a4})),'formatOutput':_0x204da3['formatOutput']??formatOutput,'getCommandLabel'(_0x4c47c4){const _0x83b824=_0x3bea74;return CLI_BIN_NAME+'\x20'+_0x4c47c4[_0x83b824(0xd7)]+'\x20'+_0x4c47c4[_0x83b824(0xde)];},'riskPolicy':{'onViolation'(_0x278a6d){const _0x307d7c=_0x3bea74;console[_0x307d7c(0xc0)](_0x278a6d);},'createError'(_0x3bcd3a){return CliErrors['cancelled'](_0x3bcd3a);}},async 'prepare'(_0x21a8c0,_0x57c3b1){const _0x558dad=_0x3bea74,_0x44e1d8=resolveAuthMode(_0x57c3b1);if(_0x21a8c0[_0x558dad(0xf1)]!==![]){if(!_0x57c3b1['accessKey'])throw CliErrors[_0x558dad(0xbc)]('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG['newConfigFileName']+'\x20or\x20pass\x20'+productEnvName(_0x558dad(0xd9))+'.');const {setActiveAK:_0x4abc38}=await import('../core/api-client.js');_0x4abc38(_0x57c3b1['accessKey']);}let _0x5d0cac='';if(_0x21a8c0[_0x558dad(0xe2)]!==![]){_0x5d0cac=_0x57c3b1[_0x558dad(0xda)]??'',_0x5d0cac=await resolveExplicitAppName(_0x21a8c0,_0x57c3b1,_0x5d0cac);if(!_0x5d0cac){await assertSelectedAppNameIsRuntimeAccessible(_0x21a8c0,_0x57c3b1);throw CliErrors[_0x558dad(0xf6)](_0x558dad(0xc5)+PRODUCT_CONFIG['newConfigFileName']+'.');}await assertAppCodeIsRuntimeAccessible(_0x21a8c0,_0x57c3b1,_0x5d0cac);}if(_0x5d0cac){const {initSdkClient:_0x578f2f}=await import(_0x558dad(0xba));_0x578f2f({'appCode':_0x5d0cac,'env':_0x57c3b1[_0x558dad(0xc3)]??_0x558dad(0xca),'accessKey':_0x57c3b1[_0x558dad(0xcc)],'authMode':_0x44e1d8}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x57c3b1['defaultVerbose']},'numbers':{'pagesize':_0x57c3b1['defaultPageSize']}},'extras':{'appCode':_0x5d0cac,'cookie':'','apiDomain':_0x57c3b1[_0x558dad(0xe7)],'apiDir':'','accessKey':_0x57c3b1[_0x558dad(0xcc)],'envName':_0x57c3b1[_0x558dad(0xc3)],'mergedCli':_0x57c3b1['mergedCli']}};},'confirmHighRisk':_0x204da3['confirmHighRisk']??(async({def:_0x2bdff0,env:_0x1e947b,flags:_0xf3e51d,commandLabel:_0x502e92})=>{const _0xe313cc=_0x3bea74;if(_0x1e947b[_0xe313cc(0xe0)]){const _0x3554fa=reconstructCommandArgv(_0x2bdff0,_0xf3e51d);throw CliErrors[_0xe313cc(0xe5)](_0xe313cc(0xd4)+_0x502e92+_0xe313cc(0xe6)+('\x20\x20To\x20proceed:\x20'+_0x3554fa));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x2bdff0,_0x502e92,_0xf3e51d),'createCancelledError':_0x56ee1d=>CliErrors[_0xe313cc(0xc8)](_0x56ee1d)});}),'mapDryRunError'(_0x186481){return mapUserFacingExecuteError(_0x186481);},'mapExecuteError'(_0xd9315d){return mapUserFacingExecuteError(_0xd9315d);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x190341;}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0xa1985b=a92_0xb95b;try{if(sdkClientInitialized){const {clearSdkClient:_0x12c148}=await import(_0xa1985b(0xba));_0x12c148();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x3a5c33}=await import(_0xa1985b(0xbe));_0x3a5c33();}}async function resolveExplicitAppName(_0x15ffad,_0xcc9bf7,_0x194bf3){const _0x1b1c17=a92_0xb95b;if(_0x15ffad[_0x1b1c17(0xe2)]===![])return _0x194bf3;const _0x2b4d21=typeof _0xcc9bf7[_0x1b1c17(0xd1)]['app']===_0x1b1c17(0xe9)?_0xcc9bf7[_0x1b1c17(0xd1)]['app'][_0x1b1c17(0xdf)]():'';if(!_0x2b4d21)return _0x194bf3;const _0x42ffe8=typeof _0xcc9bf7['rawFlags'][_0x1b1c17(0xf0)]===_0x1b1c17(0xe9)&&_0xcc9bf7[_0x1b1c17(0xd1)][_0x1b1c17(0xf0)]['trim']()||productEnv(_0x1b1c17(0xdc));if(_0x42ffe8||_0xcc9bf7[_0x1b1c17(0xbd)]===_0x1b1c17(0xe8))return _0x194bf3;const {getRemoteAppList:_0x11a20b}=await import(_0x1b1c17(0xd3)),_0x12fb98=await _0x11a20b({'env':_0xcc9bf7[_0x1b1c17(0xc3)]??_0x1b1c17(0xca),'accessKey':_0xcc9bf7[_0x1b1c17(0xcc)]}),_0x3ace53=findAppByName(_0x12fb98[_0x1b1c17(0xf5)],_0x2b4d21);if(_0x3ace53&&!isRuntimeAccessibleApp(_0x3ace53))throw runtimeInaccessibleAppError(_0x3ace53,'\x22'+_0x2b4d21+'\x22');const _0xf7d1bd=_0x3ace53?.[_0x1b1c17(0xda)]?.[_0x1b1c17(0xdf)]();if(_0xf7d1bd)return _0xf7d1bd;throw CliErrors[_0x1b1c17(0xe5)](_0x1b1c17(0xd6)+_0x2b4d21,'Run\x20`'+CLI_BIN_NAME+_0x1b1c17(0xcb)+_0x2b4d21+_0x1b1c17(0xd0)+PRODUCT_CONFIG[_0x1b1c17(0xb8)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x2e4925,_0x496547){const _0x106e15=a92_0xb95b;if(_0x2e4925[_0x106e15(0xe2)]===![]||!_0x496547[_0x106e15(0xcc)])return;const _0x45adcb=(typeof _0x496547[_0x106e15(0xd1)][_0x106e15(0xc2)]===_0x106e15(0xe9)&&_0x496547[_0x106e15(0xd1)][_0x106e15(0xc2)][_0x106e15(0xdf)]()?_0x496547[_0x106e15(0xd1)][_0x106e15(0xc2)]:_0x496547[_0x106e15(0xc7)]?.[_0x106e15(0xb9)]??_0x496547[_0x106e15(0xc7)]?.[_0x106e15(0xeb)])?.[_0x106e15(0xdf)]();if(!_0x45adcb)return;const {getRemoteAppList:_0x4b2abf}=await import('../commands/app/remote-source.js'),_0x463ba8=await _0x4b2abf({'env':_0x496547[_0x106e15(0xc3)]??'production','accessKey':_0x496547[_0x106e15(0xcc)]}),_0x11dc75=findAppByName(_0x463ba8['items'],_0x45adcb);if(_0x11dc75&&!isRuntimeAccessibleApp(_0x11dc75))throw runtimeInaccessibleAppError(_0x11dc75,'\x22'+_0x45adcb+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x1ddaf4,_0x5c93a5,_0x39f274){const _0x4e1ea2=a92_0xb95b;if(_0x1ddaf4[_0x4e1ea2(0xe2)]===![]||!_0x5c93a5['accessKey'])return;const {getRemoteAppList:_0x4dc17e}=await import(_0x4e1ea2(0xd3)),_0x17ecc5=await _0x4dc17e({'env':_0x5c93a5['env']??_0x4e1ea2(0xca),'accessKey':_0x5c93a5[_0x4e1ea2(0xcc)]}),_0x839c8e=findAppByCode(_0x17ecc5[_0x4e1ea2(0xf5)],_0x39f274);if(_0x839c8e&&!isRuntimeAccessibleApp(_0x839c8e))throw runtimeInaccessibleAppError(_0x839c8e,_0x4e1ea2(0xc1)+_0x39f274+'\x22');}export async function runCommand(_0x4f26e0,_0xd99b32,_0x1426a2=terminalRunnerAdapter){assertKnownCommandFlags(_0x4f26e0,_0xd99b32['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x4f26e0)?withUpdateNotice(_0x4f26e0):_0x4f26e0,_0xd99b32,_0x1426a2);}function shouldAttachUpdateNotice(_0x45e472){const _0x247ae1=a92_0xb95b;return!['update',_0x247ae1(0xdb),'doctor'][_0x247ae1(0xd5)](_0x45e472['service']);}function withUpdateNotice(_0x68beff){return{..._0x68beff,async 'execute'(_0x59ea4e){const _0xb3c1e5=a92_0xb95b,_0x3a9cf0=shouldResolveUpdateNotice(_0x59ea4e)?resolveLatestUpdateNotice()[_0xb3c1e5(0xdd)](()=>null):Promise[_0xb3c1e5(0xd8)](null),_0x3e08c4=await _0x68beff['execute'](_0x59ea4e);return attachUpdateNotice(_0x3e08c4,await _0x3a9cf0);}};}function shouldResolveUpdateNotice(_0x2776ea){const _0x42c1c5=a92_0xb95b;return _0x2776ea['format']===_0x42c1c5(0xc6)&&!_0x2776ea['nonInteractive'];}function attachUpdateNotice(_0x3b9ea1,_0x4c61da){const _0x5bb0d6=a92_0xb95b;if(!_0x4c61da||!_0x3b9ea1||typeof _0x3b9ea1!==_0x5bb0d6(0xef))return _0x3b9ea1;const _0x3b6bd6=_0x3b9ea1,_0x29e4ad=typeof _0x3b6bd6[_0x5bb0d6(0xea)]===_0x5bb0d6(0xef)&&_0x3b6bd6['_notice']!==null?_0x3b6bd6[_0x5bb0d6(0xea)]:{};return{..._0x3b6bd6,'_notice':{..._0x29e4ad,'update':_0x4c61da}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a93_0x43ee(_0x187234,_0x4850f){_0x187234=_0x187234-0x1c3;const _0x5f31eb=a93_0x5f31();let _0x43ee46=_0x5f31eb[_0x187234];return _0x43ee46;}(function(_0x436807,_0xe5374c){const _0x1356f4=a93_0x43ee,_0x21456d=_0x436807();while(!![]){try{const _0x49d7e4=-parseInt(_0x1356f4(0x1c7))/0x1+-parseInt(_0x1356f4(0x1cf))/0x2*(-parseInt(_0x1356f4(0x1c5))/0x3)+-parseInt(_0x1356f4(0x1cb))/0x4*(-parseInt(_0x1356f4(0x1cc))/0x5)+-parseInt(_0x1356f4(0x1d5))/0x6+parseInt(_0x1356f4(0x1d4))/0x7+parseInt(_0x1356f4(0x1d0))/0x8*(parseInt(_0x1356f4(0x1ca))/0x9)+parseInt(_0x1356f4(0x1c4))/0xa*(-parseInt(_0x1356f4(0x1ce))/0xb);if(_0x49d7e4===_0xe5374c)break;else _0x21456d['push'](_0x21456d['shift']());}catch(_0x4dff95){_0x21456d['push'](_0x21456d['shift']());}}}(a93_0x5f31,0x95e60));import{buildSchemaPayload as a93_0x5f541f}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';function a93_0x5f31(){const _0x4c6c17=['requiresAuth','429AJQGBS','62HEemZY','365544dGUavB','auth','services','commands','7437857BJtMiA','5885706lPHsvx','service','filter','136140xjXtaz','141nDVrVx','../commands/registry.js','252879eqvySg','map','none','225HveTce','689708xVubSZ','5aCGjbq'];a93_0x5f31=function(){return _0x4c6c17;};return a93_0x5f31();}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 _0x4605c6=a93_0x43ee,{serviceRegistry:_0x5a8b08,findDefinition:_0x252a1c}=await import(_0x4605c6(0x1c6)),_0x7a7955=new Set(_0x5a8b08[_0x4605c6(0x1c8)](_0x574789=>_0x574789['service'])),_0x9a6aaa=listDynamicServiceEntries()[_0x4605c6(0x1c3)](_0x2c9ff1=>!_0x7a7955['has'](_0x2c9ff1[_0x4605c6(0x1d6)])),_0x4476f0=a93_0x5f541f({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x5a8b08,_0x9a6aaa),'buildAllFlags':buildAllFlags,'findDefinition':(_0x4213bc,_0x967b9f)=>_0x252a1c(_0x4213bc,_0x967b9f)??findDynamicServiceDefinition(_0x4213bc,_0x967b9f)});return normalizeSchemaPayload(_0x4476f0);}function normalizeSchemaPayload(_0x44c90e){const _0x4d7a72=a93_0x43ee;return{..._0x44c90e,'schemaVersion':0x2,'services':_0x44c90e[_0x4d7a72(0x1d2)][_0x4d7a72(0x1c8)](_0x443272=>({..._0x443272,'commands':_0x443272[_0x4d7a72(0x1d3)][_0x4d7a72(0x1c8)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x1b37de){const _0xb94850=a93_0x43ee,_0x36d23f=_0x1b37de;return{..._0x1b37de,'auth':_0x36d23f[_0xb94850(0x1d1)]??(_0x1b37de[_0xb94850(0x1cd)]?'required':_0xb94850(0x1c9))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x30ac80,_0x20a8c2){const _0xdaf12e=a94_0x2c10,_0x43d70d=_0x30ac80();while(!![]){try{const _0x5cfb95=parseInt(_0xdaf12e(0x101))/0x1*(parseInt(_0xdaf12e(0x10a))/0x2)+-parseInt(_0xdaf12e(0x10b))/0x3*(-parseInt(_0xdaf12e(0x10e))/0x4)+parseInt(_0xdaf12e(0x10d))/0x5*(-parseInt(_0xdaf12e(0x104))/0x6)+-parseInt(_0xdaf12e(0x109))/0x7+parseInt(_0xdaf12e(0x10c))/0x8+-parseInt(_0xdaf12e(0x108))/0x9*(parseInt(_0xdaf12e(0x107))/0xa)+parseInt(_0xdaf12e(0x103))/0xb;if(_0x5cfb95===_0x20a8c2)break;else _0x43d70d['push'](_0x43d70d['shift']());}catch(_0x95679e){_0x43d70d['push'](_0x43d70d['shift']());}}}(a94_0xdcb0,0xc5984));function a94_0x2c10(_0x26568f,_0x2a34fe){_0x26568f=_0x26568f-0x101;const _0xdcb092=a94_0xdcb0();let _0x2c1033=_0xdcb092[_0x26568f];return _0x2c1033;}export function insertDynamicServicesAfterServiceTree(_0x4b233a,_0x74f8ab){const _0xd1b1f8=a94_0x2c10;if(_0x74f8ab[_0xd1b1f8(0x105)]===0x0)return[..._0x4b233a];const _0x3eba3d=_0x4b233a[_0xd1b1f8(0x102)](_0x405a3d=>_0x405a3d['service']==='service');if(_0x3eba3d<0x0)return[..._0x4b233a,..._0x74f8ab];return[..._0x4b233a[_0xd1b1f8(0x106)](0x0,_0x3eba3d+0x1),..._0x74f8ab,..._0x4b233a[_0xd1b1f8(0x106)](_0x3eba3d+0x1)];}function a94_0xdcb0(){const _0x93da07=['1Kfpmly','findIndex','10788602RQuCiG','6VaZDJG','length','slice','6426380KUAnjz','9MSgRLj','2417212LIFFEe','833974TiIsTG','2604bHBURC','5943760YcjoBC','3092965iSnVTO','1268fzjgIZ'];a94_0xdcb0=function(){return _0x93da07;};return a94_0xdcb0();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2fe352,_0x513dda){var _0x40e15f=a95_0x41ab,_0x369333=_0x2fe352();while(!![]){try{var _0x72879=-parseInt(_0x40e15f(0x13a))/0x1*(-parseInt(_0x40e15f(0x140))/0x2)+-parseInt(_0x40e15f(0x13b))/0x3+parseInt(_0x40e15f(0x138))/0x4*(parseInt(_0x40e15f(0x13e))/0x5)+parseInt(_0x40e15f(0x13f))/0x6+-parseInt(_0x40e15f(0x141))/0x7+-parseInt(_0x40e15f(0x142))/0x8*(parseInt(_0x40e15f(0x13d))/0x9)+-parseInt(_0x40e15f(0x139))/0xa*(-parseInt(_0x40e15f(0x13c))/0xb);if(_0x72879===_0x513dda)break;else _0x369333['push'](_0x369333['shift']());}catch(_0x1f9190){_0x369333['push'](_0x369333['shift']());}}}(a95_0x29ed,0xbbcc1));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a95_0x41ab(_0x2892ac,_0x42c64f){_0x2892ac=_0x2892ac-0x138;var _0x29ed2c=a95_0x29ed();var _0x41ab6e=_0x29ed2c[_0x2892ac];return _0x41ab6e;}function a95_0x29ed(){var _0x3e7008=['11931xxeVyi','783123lgfFKn','6721wQweYo','44415NuHGGj','33325sliNLh','4052730CMZRXL','12uwrUWv','5341238SlIZwT','2184cqBRGC','28BzndRP','38410urMOAN'];a95_0x29ed=function(){return _0x3e7008;};return a95_0x29ed();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.1.
|
|
2
|
-
export declare const GIT_TAG = "v2.1.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-08-
|
|
1
|
+
export declare const VERSION = "2.1.20-beta.1";
|
|
2
|
+
export declare const GIT_TAG = "v2.1.20-beta.1";
|
|
3
|
+
export declare const GIT_COMMIT = "82d5b35";
|
|
4
|
+
export declare const BUILD_TIME = "2026-08-03T11:20:44.394Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x5b44a1=a96_0x160f;function a96_0x160f(_0x17ab51,_0x1f1ae6){_0x17ab51=_0x17ab51-0xf7;const _0x806779=a96_0x8067();let _0x160f44=_0x806779[_0x17ab51];return _0x160f44;}(function(_0x5266a9,_0x22c5c9){const _0x3ce834=a96_0x160f,_0x4331d5=_0x5266a9();while(!![]){try{const _0x4cef4e=parseInt(_0x3ce834(0xff))/0x1*(parseInt(_0x3ce834(0x100))/0x2)+parseInt(_0x3ce834(0xfd))/0x3*(parseInt(_0x3ce834(0xfb))/0x4)+parseInt(_0x3ce834(0xfc))/0x5+parseInt(_0x3ce834(0xfe))/0x6+-parseInt(_0x3ce834(0x104))/0x7*(-parseInt(_0x3ce834(0xf9))/0x8)+-parseInt(_0x3ce834(0x103))/0x9+parseInt(_0x3ce834(0x102))/0xa*(-parseInt(_0x3ce834(0xf8))/0xb);if(_0x4cef4e===_0x22c5c9)break;else _0x4331d5['push'](_0x4331d5['shift']());}catch(_0x4861e0){_0x4331d5['push'](_0x4331d5['shift']());}}}(a96_0x8067,0xf1e52));function a96_0x8067(){const _0x7b1d74=['1454366FeUGUb','2.1.20-beta.1','11426330fpBgoB','2243880GpQelQ','14MIPGXu','2026-08-03T11:20:44.394Z','33oNHGrm','1933000MdDOEa','v2.1.20-beta.1','1892CDXcyU','6628930owRbEf','2919VKpupO','10029438YbmSDD','1rRybUV'];a96_0x8067=function(){return _0x7b1d74;};return a96_0x8067();}export const VERSION=a96_0x5b44a1(0x101);export const GIT_TAG=a96_0x5b44a1(0xfa);export const GIT_COMMIT='82d5b35';export const BUILD_TIME=a96_0x5b44a1(0xf7);
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a97_0x242a(){const _0x52ba17=['7326803mCptVC','green','2717267kGxKiH','13218mAXsvO','\x20--help','74708abkiKZ','\x20to\x20view\x20available\x20commands.','2387670wsUlwH','610698rCvzEX','\x20\x20Use\x20','8SkxLDG','10DqnwlP','115wdmRQy','3272130WlBRHY','38QvGhGS'];a97_0x242a=function(){return _0x52ba17;};return a97_0x242a();}(function(_0x167924,_0x2d0c12){const _0x303afd=a97_0x1b3f,_0x9fd84=_0x167924();while(!![]){try{const _0x39d366=-parseInt(_0x303afd(0x14a))/0x1*(parseInt(_0x303afd(0x146))/0x2)+-parseInt(_0x303afd(0x140))/0x3+-parseInt(_0x303afd(0x14c))/0x4*(-parseInt(_0x303afd(0x144))/0x5)+-parseInt(_0x303afd(0x13f))/0x6+parseInt(_0x303afd(0x149))/0x7*(-parseInt(_0x303afd(0x142))/0x8)+parseInt(_0x303afd(0x145))/0x9+-parseInt(_0x303afd(0x143))/0xa*(-parseInt(_0x303afd(0x147))/0xb);if(_0x39d366===_0x2d0c12)break;else _0x9fd84['push'](_0x9fd84['shift']());}catch(_0x2740e8){_0x9fd84['push'](_0x9fd84['shift']());}}}(a97_0x242a,0x3550c));import{jsx as a97_0x1d0a8b,jsxs as a97_0x512c62}from'react/jsx-runtime';import{useEffect}from'react';function a97_0x1b3f(_0xe65df2,_0x21d400){_0xe65df2=_0xe65df2-0x13f;const _0x242ada=a97_0x242a();let _0x1b3f42=_0x242ada[_0xe65df2];return _0x1b3f42;}import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x3f9f72=a97_0x1b3f,{exit:_0x48cd25}=useApp();return useEffect(()=>{_0x48cd25();},[_0x48cd25]),a97_0x512c62(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a97_0x1d0a8b(Box,{'children':a97_0x1d0a8b(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a97_0x512c62(Box,{'marginTop':0x1,'children':[a97_0x1d0a8b(Text,{'dimColor':!![],'children':_0x3f9f72(0x141)}),a97_0x1d0a8b(Text,{'bold':!![],'color':_0x3f9f72(0x148),'children':CLI_BIN_NAME+_0x3f9f72(0x14b)}),a97_0x1d0a8b(Text,{'dimColor':!![],'children':_0x3f9f72(0x14d)})]})]});}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a98_0x1a42(){const _0x518bc8=['join','59958JwuLud','split','lovrabet.write.completed','1730UYNjwu','write','203465IeXNph','service','trim','risk','2613336vbYGQF','36UyENYE','3387993QLQWQP','2772473OYpsYt','277926fsrTtd','210WUQSlv','178333PzEIiI','filter','command','4BtRbxw'];a98_0x1a42=function(){return _0x518bc8;};return a98_0x1a42();}function a98_0x1742(_0x4a19b5,_0x264495){_0x4a19b5=_0x4a19b5-0x1d1;const _0x1a42d4=a98_0x1a42();let _0x1742dc=_0x1a42d4[_0x4a19b5];return _0x1742dc;}(function(_0x4baf50,_0x2a80cf){const _0x2eb3eb=a98_0x1742,_0x56f5f6=_0x4baf50();while(!![]){try{const _0x475e67=-parseInt(_0x2eb3eb(0x1da))/0x1*(-parseInt(_0x2eb3eb(0x1dd))/0x2)+parseInt(_0x2eb3eb(0x1d6))/0x3+parseInt(_0x2eb3eb(0x1d5))/0x4*(-parseInt(_0x2eb3eb(0x1e4))/0x5)+parseInt(_0x2eb3eb(0x1d8))/0x6*(-parseInt(_0x2eb3eb(0x1d9))/0x7)+-parseInt(_0x2eb3eb(0x1d4))/0x8+parseInt(_0x2eb3eb(0x1df))/0x9*(parseInt(_0x2eb3eb(0x1e2))/0xa)+parseInt(_0x2eb3eb(0x1d7))/0xb;if(_0x475e67===_0x2a80cf)break;else _0x56f5f6['push'](_0x56f5f6['shift']());}catch(_0x1d60f8){_0x56f5f6['push'](_0x56f5f6['shift']());}}}(a98_0x1a42,0xc5460));export function canonicalLovrabetOperation(_0x9c4c6){const _0x288212=a98_0x1742;return[_0x9c4c6[_0x288212(0x1d1)],..._0x9c4c6[_0x288212(0x1dc)][_0x288212(0x1d2)]()[_0x288212(0x1e0)](/\s+/)][_0x288212(0x1db)](Boolean)[_0x288212(0x1de)]('.');}export function createLovrabetWriteMetadata(_0x2653f2,_0x574fd9,_0x4d255f,_0x3b6b37){const _0x300c49=a98_0x1742;if(_0x3b6b37||_0x4d255f['ok']!==!![]||_0x2653f2[_0x300c49(0x1d3)]!==_0x300c49(0x1e3)&&_0x2653f2[_0x300c49(0x1d3)]!=='high-risk-write')return undefined;const _0x239b2b=_0x2653f2['writeEventSubject']?.(_0x4d255f),_0x35343b={'type':_0x300c49(0x1e1),'operation':_0x574fd9,'risk':_0x2653f2['risk'],..._0x239b2b?{'subject':_0x239b2b}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x35343b}};}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1a32b1,_0x4c1f4c){const _0x1c078a=a99_0x4fc9,_0x1f6404=_0x1a32b1();while(!![]){try{const _0x4aaec7=-parseInt(_0x1c078a(0xa5))/0x1+parseInt(_0x1c078a(0xb9))/0x2+-parseInt(_0x1c078a(0xa9))/0x3+-parseInt(_0x1c078a(0xa3))/0x4+-parseInt(_0x1c078a(0xa6))/0x5+parseInt(_0x1c078a(0xaa))/0x6*(parseInt(_0x1c078a(0xba))/0x7)+parseInt(_0x1c078a(0xb3))/0x8*(parseInt(_0x1c078a(0xbc))/0x9);if(_0x4aaec7===_0x4c1f4c)break;else _0x1f6404['push'](_0x1f6404['shift']());}catch(_0x3e826d){_0x1f6404['push'](_0x1f6404['shift']());}}}(a99_0x43f0,0xad134));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';function a99_0x43f0(){const _0x47b115=['message','dry-run','confirmation','execute','reason','1591982MwRXpM','3178217DjgDXQ','format','9xofDPk','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','signal','data','risk','rawFlags','description','dryRun','confirm','1119628hijWur','definition','24115DrDQDG','1863515BxNZev','high-risk-write','presentation','2524689lxjfTy','6JHbVJk','args','aborted','result','write','AbortError','riskLevel','command','yes','7817456EjnxFa'];a99_0x43f0=function(){return _0x47b115;};return a99_0x43f0();}import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x3bbed0,command:_0x4f86fd,risk:_0x10fea1,dryRun:_0x4e8aa0}){const _0xdb043f=a99_0x4fc9;return JSON['stringify']({'ok':_0x3bbed0['ok'],'command':_0x4f86fd,'risk':_0x10fea1,..._0x4e8aa0?{'dryRun':!![]}:{},..._0x3bbed0[_0xdb043f(0x9d)]!==undefined?{'data':_0x3bbed0[_0xdb043f(0x9d)]}:{},..._0x3bbed0[_0xdb043f(0xb4)]?{'message':_0x3bbed0[_0xdb043f(0xb4)]}:{}});}};export async function invokeLovrabet(_0xb8bf0e,_0x5f09ec){return runSerialized(async()=>{const _0x296d28=a99_0x4fc9;throwIfAborted(_0x5f09ec[_0x296d28(0x9c)]);const _0x23ae33=await resolveLovrabetInvocation(_0xb8bf0e),_0x4c09b4=canonicalLovrabetOperation(_0x23ae33[_0x296d28(0xa4)]),_0x2375bd={},_0x54e31f=buildConfigFromFlags(_0x23ae33[_0x296d28(0x9f)]);await initGlobalEnvironment(_0x54e31f);const _0x815032=createPipelineEnv(_0x54e31f,{..._0x23ae33['rawFlags'],'yes':_0x23ae33[_0x296d28(0xa4)]['risk']==='high-risk-write'?!![]:_0x23ae33[_0x296d28(0x9f)][_0x296d28(0xb2)],'nonInteractive':!![]});_0x815032[_0x296d28(0xab)]=_0x23ae33[_0x296d28(0xab)],_0x815032['isNonInteractive']=!![],_0x815032[_0x296d28(0xb0)]=_0x296d28(0xa7);const _0x1d1dab=withEmbeddedLifecycle(_0x23ae33[_0x296d28(0xa4)],_0x4c09b4,_0x5f09ec),_0x3aca63=createLovrabetRunnerAdapter({'formatOutput'(_0x481a82,_0x524a34){const _0x3f202f=_0x296d28;_0x2375bd['result']=_0x481a82,_0x2375bd[_0x3f202f(0xb1)]=_0x524a34['command'],_0x2375bd[_0x3f202f(0x9e)]=_0x524a34['risk'],_0x2375bd['format']=_0x524a34['format'],_0x2375bd['dryRun']=_0x524a34['dryRun']===!![];},async 'confirmHighRisk'(){const _0x9483e3=_0x296d28;throw new Error(_0x9483e3(0xbd));}});try{await runCommand(_0x1d1dab,_0x815032,_0x3aca63);if(!_0x2375bd[_0x296d28(0xad)]||!_0x2375bd[_0x296d28(0xb1)]||!_0x2375bd[_0x296d28(0x9e)]||!_0x2375bd[_0x296d28(0xbb)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x50fec3=_0x5f09ec[_0x296d28(0xa8)]??defaultPresentation,_0x278667=_0x2375bd[_0x296d28(0xa1)]===!![],_0x2818a7={'result':_0x2375bd['result'],'command':_0x2375bd['command'],'operation':_0x4c09b4,'risk':_0x2375bd[_0x296d28(0x9e)],'format':_0x2375bd[_0x296d28(0xbb)],'dryRun':_0x278667},_0x51974e=createLovrabetWriteMetadata(_0x23ae33[_0x296d28(0xa4)],_0x4c09b4,_0x2375bd[_0x296d28(0xad)],_0x278667);let _0x267372;try{_0x267372=await _0x50fec3['present'](_0x2818a7);}catch(_0x41a0e7){if(!_0x51974e||_0x50fec3===defaultPresentation)throw _0x41a0e7;_0x267372=await defaultPresentation['present'](_0x2818a7);}return{'operation':_0x4c09b4,'risk':_0x2375bd[_0x296d28(0x9e)],'mode':_0x278667?_0x296d28(0xb5):_0x296d28(0xb7),'result':_0x2375bd[_0x296d28(0xad)],'output':_0x267372,..._0x51974e?{'metadata':_0x51974e}:{}};}finally{await finalizeLovrabetRuntimeState();}});}function withEmbeddedLifecycle(_0x5ceeab,_0x5b89a5,_0x20f062){return{..._0x5ceeab,async 'execute'(_0x850005){const _0x30a657=a99_0x4fc9;return throwIfAborted(_0x20f062[_0x30a657(0x9c)]),(_0x5ceeab[_0x30a657(0x9e)]===_0x30a657(0xae)||_0x5ceeab['risk']===_0x30a657(0xa7))&&await _0x20f062[_0x30a657(0xb6)][_0x30a657(0xa2)]({'operation':_0x5b89a5,'risk':_0x5ceeab[_0x30a657(0x9e)],'description':_0x5ceeab[_0x30a657(0xa0)],..._0x20f062[_0x30a657(0x9c)]?{'signal':_0x20f062[_0x30a657(0x9c)]}:{}}),throwIfAborted(_0x20f062[_0x30a657(0x9c)]),_0x5ceeab[_0x30a657(0xb7)](_0x850005);}};}function a99_0x4fc9(_0x16b497,_0x2da32d){_0x16b497=_0x16b497-0x9c;const _0x43f0fb=a99_0x43f0();let _0x4fc902=_0x43f0fb[_0x16b497];return _0x4fc902;}function throwIfAborted(_0x105a18){const _0x2c9790=a99_0x4fc9;if(_0x105a18?.[_0x2c9790(0xac)])throw _0x105a18[_0x2c9790(0xb8)]instanceof Error?_0x105a18['reason']:new DOMException('Lovrabet\x20invocation\x20aborted.',_0x2c9790(0xaf));}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100_0x1fdf6d=a100_0x32a8;(function(_0x193366,_0x4c26da){const _0xf8271c=a100_0x32a8,_0x1d1bde=_0x193366();while(!![]){try{const _0x164efd=parseInt(_0xf8271c(0x10d))/0x1*(parseInt(_0xf8271c(0x115))/0x2)+parseInt(_0xf8271c(0x10f))/0x3+parseInt(_0xf8271c(0x109))/0x4*(-parseInt(_0xf8271c(0x10c))/0x5)+-parseInt(_0xf8271c(0x10b))/0x6*(-parseInt(_0xf8271c(0x114))/0x7)+-parseInt(_0xf8271c(0x10a))/0x8*(parseInt(_0xf8271c(0x110))/0x9)+-parseInt(_0xf8271c(0x112))/0xa*(parseInt(_0xf8271c(0x108))/0xb)+-parseInt(_0xf8271c(0x111))/0xc*(-parseInt(_0xf8271c(0x10e))/0xd);if(_0x164efd===_0x4c26da)break;else _0x1d1bde['push'](_0x1d1bde['shift']());}catch(_0x117d69){_0x1d1bde['push'](_0x1d1bde['shift']());}}}(a100_0x2a3d,0x43f3e));function a100_0x2a3d(){const _0x33c81b=['1090SJofgJ','38455ZrsPUd','13dMWExS','1147326nlJuXY','36819hzmuAz','7851660ByTAhU','1096030zfziIz','resolve','1099wAxeBh','20DxHvRB','33QoSbQX','8656OfVNMB','824yLOUin','3018ZgJbRS'];a100_0x2a3d=function(){return _0x33c81b;};return a100_0x2a3d();}let tail=Promise[a100_0x1fdf6d(0x113)]();function a100_0x32a8(_0x272717,_0x64a963){_0x272717=_0x272717-0x108;const _0x2a3d24=a100_0x2a3d();let _0x32a8ec=_0x2a3d24[_0x272717];return _0x32a8ec;}export async function runSerialized(_0x7855bd){const _0x309200=tail;let _0x5d26b1;tail=new Promise(_0x41c21f=>{_0x5d26b1=_0x41c21f;}),await _0x309200['catch'](()=>undefined);try{return await _0x7855bd();}finally{_0x5d26b1();}}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x572e6f,_0x182b28){const _0x3ec52d=a101_0x28b5,_0x355757=_0x572e6f();while(!![]){try{const _0xd73c53=parseInt(_0x3ec52d(0x17c))/0x1+parseInt(_0x3ec52d(0x186))/0x2+parseInt(_0x3ec52d(0x183))/0x3*(parseInt(_0x3ec52d(0x17d))/0x4)+-parseInt(_0x3ec52d(0x173))/0x5*(-parseInt(_0x3ec52d(0x181))/0x6)+parseInt(_0x3ec52d(0x189))/0x7*(-parseInt(_0x3ec52d(0x177))/0x8)+parseInt(_0x3ec52d(0x174))/0x9+-parseInt(_0x3ec52d(0x187))/0xa;if(_0xd73c53===_0x182b28)break;else _0x355757['push'](_0x355757['shift']());}catch(_0x6cfd99){_0x355757['push'](_0x355757['shift']());}}}(a101_0xe023,0x247c6));import a101_0x4e1c36 from'meow';function a101_0xe023(){const _0x402690=['args','37368HmvenV','4796180IndArT','assign','19166lboTVC','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','5270RAKBQo','1363977QOhBvE','defaultCommand','flags','232nNXWlq','input','../commands/registry.js','definition','unknownCommand','86739dVnJRR','28vugxHP','../framework/preparse.js','join','flatMap','1392QMmrMQ','validation','88698gcFcys','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'];a101_0xe023=function(){return _0x402690;};return a101_0xe023();}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 a101_0x28b5(_0x52334e,_0x181958){_0x52334e=_0x52334e-0x172;const _0xe0230c=a101_0xe023();let _0x28b511=_0xe0230c[_0x52334e];return _0x28b511;}export async function resolveLovrabetInvocation(_0x120c28){const _0x6d0917=a101_0x28b5,_0x38f8a7=a101_0x4e1c36('',{'importMeta':import.meta,'argv':_0x120c28,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x15719c=[..._0x38f8a7[_0x6d0917(0x178)]],_0x44db01=_0x38f8a7[_0x6d0917(0x176)];await correctFlags(_0x44db01);const _0x489880=_0x15719c[0x0];if(!_0x489880)throw CliErrors[_0x6d0917(0x182)](_0x6d0917(0x172));if(!isKnownService(_0x489880)){const _0x2937ce=resolveDynamicServiceCommand(_0x15719c,_0x44db01);if(!_0x2937ce)throw CliErrors[_0x6d0917(0x17b)](_0x15719c[_0x6d0917(0x17f)]('\x20'));return Object[_0x6d0917(0x188)](_0x44db01,_0x2937ce[_0x6d0917(0x176)]),{'definition':_0x2937ce[_0x6d0917(0x17a)],'rawFlags':_0x44db01,'args':_0x2937ce[_0x6d0917(0x185)]};}const _0x37a9d6=getServiceEntry(_0x489880),_0x18ae87=_0x15719c[0x1]||_0x37a9d6[_0x6d0917(0x175)];if(!_0x18ae87)throw CliErrors['validation'](_0x6d0917(0x184)+_0x489880+'\x22.');const _0x30b53f=findDefinition(_0x489880,_0x18ae87);if(!_0x30b53f)throw CliErrors[_0x6d0917(0x17b)](_0x489880+'\x20'+_0x18ae87);return{'definition':_0x30b53f,'rawFlags':_0x44db01,'args':_0x15719c['slice'](0x2)};}async function correctFlags(_0x224007){const _0x33099b=a101_0x28b5;try{const {correctFlags:_0x5c3ff6}=await import(_0x33099b(0x17e)),{getAllDefinitions:_0x1bf72c}=await import(_0x33099b(0x179)),_0x42fbbf=_0x1bf72c()[_0x33099b(0x180)](_0x39616e=>_0x39616e[_0x33099b(0x176)]??[]),_0x40bcdf=_0x5c3ff6(_0x224007,_0x42fbbf);Object[_0x33099b(0x188)](_0x224007,_0x40bcdf[_0x33099b(0x176)]);}catch{}}
|