@lovrabet/lovrabet-cli 2.1.8-beta.2 → 2.1.8-beta.3
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/app-config/shared.js +1 -1
- package/lib/commands/artifact/index.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/schema.js +1 -1
- package/lib/commands/service/dynamic.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.js +1 -1
- 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.js +1 -1
- package/lib/help.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/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/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
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a108_0x25fe(){const _0x24e9f6=['Runtime\x20Skill\x20package\x20entry\x20list\x20mismatch.','Runtime\x20Skill\x20package\x20size\x20mismatch.','get','15699dGHUKm','zipSize','4992114kzOmHi','isSafeInteger','length','Runtime\x20Skill\x20manifest\x20is\x20missing\x20','544SXQtsZ','bytes','object','19083911lcBqgp','toLowerCase','Runtime\x20Skill\x20package\x20is\x20missing\x20entry:\x20','base64','Runtime\x20Skill\x20package\x20file\x20sha256\x20mismatch:\x20','Runtime\x20Skill\x20file\x20tree\x20sha256\x20mismatch.','validation','files','map','8PtoqfJ','Runtime\x20Skill\x20package\x20size\x20is\x20invalid.','zipSha256','push','Missing\x20','Runtime\x20Skill\x20package\x20manifest\x20is\x20missing.','trim','Runtime\x20Skill\x20package\x20is\x20required\x20for\x20Skill\x20install:\x20','has','path','sha256','7683714tCJxaa','12FLPzIM','Runtime\x20Skill\x20package\x20file\x20size\x20mismatch:\x20','treeSha256','requireOssPath','5xGCZnS','4827893Qakodq','isArray','Runtime\x20Skill\x20package\x20sha256\x20is\x20invalid.','\x20in\x20Skill\x20file\x20package.','ossPath','set','591TjovmX','912800IelAXv','8fjJgBm','some','string'];a108_0x25fe=function(){return _0x24e9f6;};return a108_0x25fe();}(function(_0x53c394,_0x3223f6){const _0x372e30=a108_0x50b8,_0x3fc92b=_0x53c394();while(!![]){try{const _0x133434=parseInt(_0x372e30(0x139))/0x1*(-parseInt(_0x372e30(0x14b))/0x2)+-parseInt(_0x372e30(0x162))/0x3*(-parseInt(_0x372e30(0x13f))/0x4)+-parseInt(_0x372e30(0x15b))/0x5*(parseInt(_0x372e30(0x13b))/0x6)+parseInt(_0x372e30(0x15c))/0x7*(parseInt(_0x372e30(0x164))/0x8)+-parseInt(_0x372e30(0x156))/0x9+parseInt(_0x372e30(0x163))/0xa+parseInt(_0x372e30(0x142))/0xb*(parseInt(_0x372e30(0x157))/0xc);if(_0x133434===_0x3223f6)break;else _0x3fc92b['push'](_0x3fc92b['shift']());}catch(_0x53ed43){_0x3fc92b['push'](_0x3fc92b['shift']());}}}(a108_0x25fe,0xc1dff));import{CliErrors}from'../../errors.js';import{SKILL_FILE}from'./constants.js';function a108_0x50b8(_0x30126a,_0x56e9fd){_0x30126a=_0x30126a-0x135;const _0x25fe95=a108_0x25fe();let _0x50b831=_0x25fe95[_0x30126a];return _0x50b831;}import{bufferSha256,fileHash,fileTreeHash}from'./hashing.js';import{fileContent,isSha256Hex,normalizeLocalFiles,normalizeManifestFiles}from'./local-files.js';import{createDeterministicZipPackage,parseZipPackage}from'./zip-codec.js';export function buildSkillPackage(_0x382ec3){const _0x4faeb8=a108_0x50b8,_0x5c1dc7=normalizeLocalFiles(_0x382ec3);if(!_0x5c1dc7[_0x4faeb8(0x165)](_0x30e81b=>_0x30e81b[_0x4faeb8(0x154)]===SKILL_FILE))throw CliErrors[_0x4faeb8(0x148)](_0x4faeb8(0x14f)+SKILL_FILE+_0x4faeb8(0x15f));const _0x2eb5be=localFilesToManifestFiles(_0x5c1dc7),_0x4a9e9f=createDeterministicZipPackage(_0x5c1dc7);return{'manifest':{'schemaVersion':0x2,'treeSha256':fileTreeHash(_0x2eb5be),'zipSha256':bufferSha256(_0x4a9e9f),'zipSize':_0x4a9e9f[_0x4faeb8(0x13d)],'files':_0x2eb5be},'packageBytes':_0x4a9e9f,'packageBase64':_0x4a9e9f['toString'](_0x4faeb8(0x145))};}export function verifyRuntimeSkillPackage(_0xa98144,_0x5c2712){const _0x44d43a=a108_0x50b8,_0x30dc00=normalizePackageManifest(_0xa98144,{'requireOssPath':![]});if(!_0x30dc00)throw CliErrors['validation'](_0x44d43a(0x150));return extractAndVerifyPackage(_0x30dc00,_0x5c2712);}export function verifyRuntimeSkillBundle(_0x259928,_0x471d1d){const _0x45ceb4=a108_0x50b8,_0x5e7a8d=normalizePackageManifest(_0x259928,{'requireOssPath':![]});if(!_0x5e7a8d)throw CliErrors['validation'](_0x45ceb4(0x150));return extractAndVerifyPackageFiles(_0x5e7a8d,_0x471d1d);}export function tryNormalizePackageManifest(_0x2613ee){return normalizePackageManifest(_0x2613ee,{'requireOssPath':![]});}export function requirePackageBytes(_0x3db0e2,_0x29eb12){const _0x3dbd36=a108_0x50b8;if(!_0x29eb12||_0x29eb12['length']===0x0)throw CliErrors[_0x3dbd36(0x148)](_0x3dbd36(0x152)+_0x3db0e2);return _0x29eb12;}export function extractDownloadedPackage(_0xe02f1b){const _0x3207d1=a108_0x50b8,_0x1d0574=parseZipPackage(_0xe02f1b)['map'](_0x5b2ade=>({'path':_0x5b2ade[_0x3207d1(0x154)],'bytes':_0x5b2ade[_0x3207d1(0x140)]}));if(!_0x1d0574[_0x3207d1(0x165)](_0x595894=>_0x595894['path']===SKILL_FILE))throw CliErrors[_0x3207d1(0x148)]('Runtime\x20Skill\x20package\x20is\x20missing\x20'+SKILL_FILE+'.');return normalizeLocalFiles(_0x1d0574);}export function localFilesToManifestFiles(_0x5439ed){const _0x19fcee=a108_0x50b8;return normalizeLocalFiles(_0x5439ed)[_0x19fcee(0x14a)](_0x397bd6=>({'path':_0x397bd6['path'],'sha256':fileHash(_0x397bd6),'size':fileContent(_0x397bd6)[_0x19fcee(0x13d)]}));}function normalizePackageManifest(_0xb114a1,_0x5359df){const _0x43dd48=a108_0x50b8;if(!_0xb114a1||typeof _0xb114a1!==_0x43dd48(0x141)||Array[_0x43dd48(0x15d)](_0xb114a1))return undefined;const _0x497da5=_0xb114a1,_0x5a49ad=typeof _0x497da5[_0x43dd48(0x160)]===_0x43dd48(0x135)?_0x497da5[_0x43dd48(0x160)][_0x43dd48(0x151)]():undefined;if(_0x5359df[_0x43dd48(0x15a)]&&!_0x5a49ad)return undefined;if(!Array[_0x43dd48(0x15d)](_0x497da5[_0x43dd48(0x149)])||_0x497da5[_0x43dd48(0x149)][_0x43dd48(0x13d)]===0x0)return undefined;if(!isSha256Hex(_0x497da5[_0x43dd48(0x159)]))throw CliErrors[_0x43dd48(0x148)]('Runtime\x20Skill\x20file\x20tree\x20sha256\x20is\x20invalid.');if(!isSha256Hex(_0x497da5['zipSha256']))throw CliErrors[_0x43dd48(0x148)](_0x43dd48(0x15e));if(!Number[_0x43dd48(0x13c)](_0x497da5[_0x43dd48(0x13a)])||_0x497da5['zipSize']<0x0)throw CliErrors[_0x43dd48(0x148)](_0x43dd48(0x14c));const _0x54eff7=normalizeManifestFiles(_0x497da5['files']);if(!_0x54eff7[_0x43dd48(0x165)](_0x36e2a5=>_0x36e2a5[_0x43dd48(0x154)]===SKILL_FILE))throw CliErrors['validation'](_0x43dd48(0x13e)+SKILL_FILE+'.');const _0x9972ce=fileTreeHash(_0x54eff7);if(_0x9972ce!==_0x497da5['treeSha256'][_0x43dd48(0x143)]())throw CliErrors[_0x43dd48(0x148)](_0x43dd48(0x147));return{'schemaVersion':Number['isSafeInteger'](_0x497da5['schemaVersion'])?_0x497da5['schemaVersion']:0x2,'ossPath':_0x5a49ad,'treeSha256':_0x9972ce,'zipSha256':_0x497da5['zipSha256'][_0x43dd48(0x143)](),'zipSize':_0x497da5[_0x43dd48(0x13a)],'files':_0x54eff7};}function extractAndVerifyPackage(_0x27064a,_0x2c561e){const _0x2d049b=a108_0x50b8,_0xc49222=normalizePackageManifest(_0x27064a,{'requireOssPath':![]});if(!_0xc49222)throw CliErrors[_0x2d049b(0x148)](_0x2d049b(0x150));if(_0x2c561e[_0x2d049b(0x13d)]!==_0xc49222[_0x2d049b(0x13a)])throw CliErrors['validation'](_0x2d049b(0x137));const _0x2ea241=bufferSha256(_0x2c561e);if(_0x2ea241!==_0xc49222[_0x2d049b(0x14d)])throw CliErrors[_0x2d049b(0x148)]('Runtime\x20Skill\x20package\x20sha256\x20mismatch.');return extractAndVerifyPackageFiles(_0xc49222,_0x2c561e);}function extractAndVerifyPackageFiles(_0x396c46,_0x557110){const _0x2b1a3f=a108_0x50b8,_0x211ca3=parseZipPackage(_0x557110);if(_0x211ca3['length']!==_0x396c46[_0x2b1a3f(0x149)]['length'])throw CliErrors['validation'](_0x2b1a3f(0x136));const _0x5b92c0=new Map();for(const _0x474cfb of _0x211ca3){if(_0x5b92c0[_0x2b1a3f(0x153)](_0x474cfb[_0x2b1a3f(0x154)]))throw CliErrors[_0x2b1a3f(0x148)]('Duplicate\x20Skill\x20package\x20entry:\x20'+_0x474cfb['path']);_0x5b92c0[_0x2b1a3f(0x161)](_0x474cfb[_0x2b1a3f(0x154)],_0x474cfb);}const _0x45eadf=[];for(const _0x187b43 of _0x396c46[_0x2b1a3f(0x149)]){const _0x1add80=_0x5b92c0[_0x2b1a3f(0x138)](_0x187b43[_0x2b1a3f(0x154)]);if(!_0x1add80)throw CliErrors['validation'](_0x2b1a3f(0x144)+_0x187b43[_0x2b1a3f(0x154)]);if(_0x1add80['bytes'][_0x2b1a3f(0x13d)]!==_0x187b43['size'])throw CliErrors['validation'](_0x2b1a3f(0x158)+_0x187b43['path']);const _0xaa76c=bufferSha256(_0x1add80[_0x2b1a3f(0x140)]);if(_0xaa76c!==_0x187b43[_0x2b1a3f(0x155)])throw CliErrors[_0x2b1a3f(0x148)](_0x2b1a3f(0x146)+_0x187b43['path']);_0x45eadf[_0x2b1a3f(0x14e)]({'path':_0x187b43['path'],'bytes':_0x1add80['bytes']});}return normalizeLocalFiles(_0x45eadf);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xb96cc6,_0x1e475e){var _0x2ac52f=a109_0x5050,_0x11cfc0=_0xb96cc6();while(!![]){try{var _0x4fd76b=-parseInt(_0x2ac52f(0x188))/0x1+-parseInt(_0x2ac52f(0x185))/0x2*(-parseInt(_0x2ac52f(0x18c))/0x3)+-parseInt(_0x2ac52f(0x18b))/0x4*(-parseInt(_0x2ac52f(0x18d))/0x5)+-parseInt(_0x2ac52f(0x183))/0x6*(parseInt(_0x2ac52f(0x18a))/0x7)+parseInt(_0x2ac52f(0x184))/0x8+-parseInt(_0x2ac52f(0x186))/0x9*(parseInt(_0x2ac52f(0x189))/0xa)+parseInt(_0x2ac52f(0x18e))/0xb*(parseInt(_0x2ac52f(0x187))/0xc);if(_0x4fd76b===_0x1e475e)break;else _0x11cfc0['push'](_0x11cfc0['shift']());}catch(_0x2aa7dd){_0x11cfc0['push'](_0x11cfc0['shift']());}}}(a109_0x3cd0,0x6509f));function a109_0x3cd0(){var _0x59f71=['1922NCjbyx','81LIfGCk','12528KVpZJU','289664BYOlnG','880830xuerMy','154FGyICo','604KsONLC','1371ChPwPn','12515OBxlQc','7183uQoKSm','52878RuHOEj','1530320ZNVHCx'];a109_0x3cd0=function(){return _0x59f71;};return a109_0x3cd0();}function a109_0x5050(_0x3cc561,_0x5a6e22){_0x3cc561=_0x3cc561-0x183;var _0x3cd0fc=a109_0x3cd0();var _0x5050fe=_0x3cd0fc[_0x3cc561];return _0x5050fe;}export{contentHash,fileTreeHash}from'./runtime-skill-sync/hashing.js';export{linkEffectiveRuntimeSkills,linkGlobalRuntimeSkills,pruneStaleRuntimeSkillCache,pruneStaleRuntimeSkillLinks}from'./runtime-skill-sync/links.js';export{listLocalRuntimeSkills}from'./runtime-skill-sync/list-local.js';export{materializeRuntimeSkill}from'./runtime-skill-sync/materialize.js';export{readMetadataIfPresent}from'./runtime-skill-sync/metadata.js';export{getRuntimeSkillCacheRoot,getRuntimeSkillDir,resolveSkillSyncPaths}from'./runtime-skill-sync/paths.js';export{deriveSkillCodeFromDirectory,readPushDirectory,refreshPushDirectoryMetadataFromRemote,recordPushedRuntimeSkill,resolvePushDirectoryIdentity}from'./runtime-skill-sync/push.js';export{buildSkillPackage,verifyRuntimeSkillBundle,verifyRuntimeSkillPackage}from'./runtime-skill-sync/zip-package.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x349269,_0x25aa46){const _0x383bb5=a110_0x5ef8,_0x1374c3=_0x349269();while(!![]){try{const _0x465020=-parseInt(_0x383bb5(0x1c2))/0x1+parseInt(_0x383bb5(0x1ba))/0x2*(-parseInt(_0x383bb5(0x1bb))/0x3)+parseInt(_0x383bb5(0x1b7))/0x4*(-parseInt(_0x383bb5(0x1c1))/0x5)+parseInt(_0x383bb5(0x1b9))/0x6*(parseInt(_0x383bb5(0x1bc))/0x7)+parseInt(_0x383bb5(0x1be))/0x8*(-parseInt(_0x383bb5(0x1bf))/0x9)+parseInt(_0x383bb5(0x1c0))/0xa*(parseInt(_0x383bb5(0x1b6))/0xb)+parseInt(_0x383bb5(0x1b8))/0xc*(parseInt(_0x383bb5(0x1bd))/0xd);if(_0x465020===_0x25aa46)break;else _0x1374c3['push'](_0x1374c3['shift']());}catch(_0xfde112){_0x1374c3['push'](_0x1374c3['shift']());}}}(a110_0x204a,0xc0d27));function a110_0x204a(){const _0x319aef=['601850aYGzGA','128843DewfvR','114356nrTrFH','360vCLSuI','150ArUHhl','2qHeXvQ','3390753uVvqsK','208397puvWao','867113fnemKl','12120YdjSah','3996qxrReE','530bLsPQs','30SszOAz'];a110_0x204a=function(){return _0x319aef;};return a110_0x204a();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a110_0x5ef8(_0x2278fe,_0x39e961){_0x2278fe=_0x2278fe-0x1b6;const _0x204a39=a110_0x204a();let _0x5ef8f2=_0x204a39[_0x2278fe];return _0x5ef8f2;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x23f4a9=a111_0x1f0e;(function(_0x95aad2,_0x4af239){const _0x21cb36=a111_0x1f0e,_0x190a5c=_0x95aad2();while(!![]){try{const _0x51187a=parseInt(_0x21cb36(0x123))/0x1+-parseInt(_0x21cb36(0x126))/0x2*(-parseInt(_0x21cb36(0x124))/0x3)+-parseInt(_0x21cb36(0x11c))/0x4*(parseInt(_0x21cb36(0x136))/0x5)+-parseInt(_0x21cb36(0x140))/0x6*(parseInt(_0x21cb36(0x114))/0x7)+parseInt(_0x21cb36(0x125))/0x8*(-parseInt(_0x21cb36(0x12a))/0x9)+-parseInt(_0x21cb36(0x132))/0xa*(-parseInt(_0x21cb36(0x13d))/0xb)+parseInt(_0x21cb36(0x12d))/0xc;if(_0x51187a===_0x4af239)break;else _0x190a5c['push'](_0x190a5c['shift']());}catch(_0x5341b8){_0x190a5c['push'](_0x190a5c['shift']());}}}(a111_0x33df,0x29e38));function a111_0x33df(){const _0x603369=['File','1422852GVpnDa','readLogs','transports','Failed:\x20','logFilePath','380uvCAvM','message','toISOString','errors','15lMjBaM','green','Failed\x20to\x20read\x20logs:','winstonLogger','utf8','format','printf','5687bhbbaI','setRawCommand','error','6AuuWWS','success','filter','setLogPath','duration','combine','blue','map','existsSync','writeFileSync','details','initWinstonLogger','1226218eNDhMv','unknown','timestamp','trim','currentRawCommand','stringify','red','now','110108NgwxBY','Starting:\x20','logFileName','info','log','dirname','getWinstonInstance','238534hFacsm','93AGkrct','8GXdhcf','7622umcrWy','level','Failed\x20to\x20clear\x20logs:','readFileSync','590049VvrYQR','warn'];a111_0x33df=function(){return _0x603369;};return a111_0x33df();}function a111_0x1f0e(_0x47b90d,_0x2efb56){_0x47b90d=_0x47b90d-0x10b;const _0x33df66=a111_0x33df();let _0x1f0e0a=_0x33df66[_0x47b90d];return _0x1f0e0a;}import a111_0x11c43b from'winston';import a111_0x265596 from'node:fs';import a111_0x19df83 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{['winstonLogger'];[a111_0x23f4a9(0x131)]='';['currentRawCommand']='';constructor(){}[a111_0x23f4a9(0x13e)](_0x52d99a){this['currentRawCommand']=_0x52d99a;}[a111_0x23f4a9(0x10b)](_0x245e3c){const _0x4e16be=a111_0x23f4a9;this[_0x4e16be(0x131)]=a111_0x19df83['join'](_0x245e3c,PRODUCT_CONFIG[_0x4e16be(0x11e)]),this[_0x4e16be(0x139)]&&this[_0x4e16be(0x139)]['clear'](),this[_0x4e16be(0x113)]();}[a111_0x23f4a9(0x113)](){const _0x55218e=a111_0x23f4a9,_0x486a74=a111_0x19df83[_0x55218e(0x121)](this[_0x55218e(0x131)]);!a111_0x265596[_0x55218e(0x110)](_0x486a74)&&a111_0x265596['mkdirSync'](_0x486a74,{'recursive':!![]});const _0x4de344=a111_0x11c43b[_0x55218e(0x13b)][_0x55218e(0x10d)](a111_0x11c43b[_0x55218e(0x13b)][_0x55218e(0x116)](),a111_0x11c43b[_0x55218e(0x13b)][_0x55218e(0x135)]({'stack':!![]}),a111_0x11c43b[_0x55218e(0x13b)][_0x55218e(0x13c)](_0x20a74b=>{const _0xce83ca=_0x55218e,_0x42c39b={'timestamp':_0x20a74b[_0xce83ca(0x116)]||new Date()[_0xce83ca(0x134)](),'level':_0x20a74b[_0xce83ca(0x127)]||_0xce83ca(0x11f),'command':_0x20a74b['command']||_0xce83ca(0x115),'rawCommand':_0x20a74b['rawCommand']||this[_0xce83ca(0x118)]||undefined,'message':_0x20a74b[_0xce83ca(0x133)]||'','duration':_0x20a74b[_0xce83ca(0x10c)]||undefined,'details':_0x20a74b[_0xce83ca(0x112)]||undefined};return JSON[_0xce83ca(0x119)](_0x42c39b);}));this[_0x55218e(0x139)]=a111_0x11c43b['createLogger']({'level':'info','format':_0x4de344,'transports':[new a111_0x11c43b[(_0x55218e(0x12f))][(_0x55218e(0x12c))]({'filename':this[_0x55218e(0x131)],'level':_0x55218e(0x11f)})],'silent':![]}),a111_0x11c43b['addColors']({'success':_0x55218e(0x137),'error':_0x55218e(0x11a),'warn':'yellow','info':_0x55218e(0x10e)});}['info'](_0x2a3f0c,_0x5483f3,_0x22170e){const _0x1b41ee=a111_0x23f4a9;if(!this[_0x1b41ee(0x131)]||!this['winstonLogger'])return;this[_0x1b41ee(0x139)]['info'](_0x5483f3,{'command':_0x2a3f0c,'details':_0x22170e});}[a111_0x23f4a9(0x141)](_0x575734,_0x478a77,_0x5bc5e8,_0x1f5ddf){const _0x318227=a111_0x23f4a9;if(!this[_0x318227(0x131)]||!this[_0x318227(0x139)])return;this['winstonLogger'][_0x318227(0x120)](_0x318227(0x11f),_0x478a77,{'level':_0x318227(0x141),'command':_0x575734,'duration':_0x5bc5e8,'details':_0x1f5ddf});}[a111_0x23f4a9(0x13f)](_0x4e4505,_0xa7bac6,_0x54c0c7){const _0x4f6d80=a111_0x23f4a9;if(!this[_0x4f6d80(0x131)]||!this[_0x4f6d80(0x139)])return;this['winstonLogger']['error'](_0xa7bac6,{'command':_0x4e4505,'details':_0x54c0c7});}[a111_0x23f4a9(0x12b)](_0x3365e5,_0x43685b,_0x5e3eec){const _0x4c5992=a111_0x23f4a9;if(!this[_0x4c5992(0x131)]||!this[_0x4c5992(0x139)])return;this['winstonLogger'][_0x4c5992(0x12b)](_0x43685b,{'command':_0x3365e5,'details':_0x5e3eec});}async['logTask'](_0x3a3a52,_0x26d5a3,_0x5d3e03){const _0x11205d=a111_0x23f4a9,_0x161b71=Date[_0x11205d(0x11b)]();this[_0x11205d(0x11f)](_0x3a3a52,_0x11205d(0x11d)+_0x26d5a3);try{const _0x1f2494=await _0x5d3e03(),_0x44de8c=Date[_0x11205d(0x11b)]()-_0x161b71;return this[_0x11205d(0x141)](_0x3a3a52,'Completed:\x20'+_0x26d5a3,_0x44de8c),_0x1f2494;}catch(_0x59d268){const _0xf407fb=Date[_0x11205d(0x11b)]()-_0x161b71;this[_0x11205d(0x13f)](_0x3a3a52,_0x11205d(0x130)+_0x26d5a3,{'error':_0x59d268 instanceof Error?_0x59d268[_0x11205d(0x133)]:String(_0x59d268),'duration':_0xf407fb});throw _0x59d268;}}[a111_0x23f4a9(0x12e)](){const _0x5d799b=a111_0x23f4a9;try{if(!a111_0x265596[_0x5d799b(0x110)](this['logFilePath']))return[];const _0x10f8a5=a111_0x265596[_0x5d799b(0x129)](this[_0x5d799b(0x131)],_0x5d799b(0x13a));return _0x10f8a5['split'](/\r?\n/)[_0x5d799b(0x142)](_0x216196=>_0x216196[_0x5d799b(0x117)]())[_0x5d799b(0x10f)](_0x2c6fa3=>JSON['parse'](_0x2c6fa3));}catch(_0x3fed22){return console[_0x5d799b(0x12b)](_0x5d799b(0x138),_0x3fed22),[];}}['clearLogs'](){const _0x19cc85=a111_0x23f4a9;try{a111_0x265596[_0x19cc85(0x110)](this[_0x19cc85(0x131)])&&a111_0x265596[_0x19cc85(0x111)](this[_0x19cc85(0x131)],'',_0x19cc85(0x13a));}catch(_0x209416){console[_0x19cc85(0x12b)](_0x19cc85(0x128),_0x209416);}}[a111_0x23f4a9(0x122)](){const _0x5efb8b=a111_0x23f4a9;return this[_0x5efb8b(0x139)];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1ccd13,_0x31df1c){var _0x136e65=a112_0x5bde,_0x1c7be9=_0x1ccd13();while(!![]){try{var _0x876cb9=parseInt(_0x136e65(0x164))/0x1*(parseInt(_0x136e65(0x15c))/0x2)+parseInt(_0x136e65(0x15f))/0x3*(-parseInt(_0x136e65(0x168))/0x4)+parseInt(_0x136e65(0x169))/0x5+parseInt(_0x136e65(0x160))/0x6*(parseInt(_0x136e65(0x15e))/0x7)+parseInt(_0x136e65(0x166))/0x8*(parseInt(_0x136e65(0x15d))/0x9)+parseInt(_0x136e65(0x167))/0xa*(-parseInt(_0x136e65(0x15a))/0xb)+-parseInt(_0x136e65(0x165))/0xc*(parseInt(_0x136e65(0x162))/0xd);if(_0x876cb9===_0x31df1c)break;else _0x1c7be9['push'](_0x1c7be9['shift']());}catch(_0x1e3032){_0x1c7be9['push'](_0x1c7be9['shift']());}}}(a112_0x2cd1,0x635c0));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x80ec70){var _0x5b5b82=a112_0x5bde;if(!_0x80ec70)return undefined;try{return JSON[_0x5b5b82(0x163)](_0x80ec70);}catch{throw CliErrors['validation']('Invalid\x20JSON\x20for\x20--params:\x20'+_0x80ec70);}}function a112_0x5bde(_0x900904,_0x4568a2){_0x900904=_0x900904-0x159;var _0x2cd176=a112_0x2cd1();var _0x5bde9a=_0x2cd176[_0x900904];return _0x5bde9a;}export function parseJsonParamsValue(_0xcba1ea){var _0x2d1eab=a112_0x5bde;if(!_0xcba1ea)return undefined;try{return JSON[_0x2d1eab(0x163)](_0xcba1ea);}catch{throw CliErrors[_0x2d1eab(0x161)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0xcba1ea);}}function a112_0x2cd1(){var _0x3f43c5=['4456767PCDuaf','177jklGuh','6rzRQXo','validation','230113KFRHkz','parse','1XlsLoW','696tubAUK','28264ElLjYV','300FHsLGL','29416FSEuta','966175qpnxTs','object','items','7359OLXOjz','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','935326UHKiKg','1503xoQVhS'];a112_0x2cd1=function(){return _0x3f43c5;};return a112_0x2cd1();}export function parseBatchCreateItemsFromParams(_0x45cae7){var _0x1cb98d=a112_0x5bde;if(Array['isArray'](_0x45cae7))return _0x45cae7;if(_0x45cae7!==null&&_0x45cae7!==undefined&&typeof _0x45cae7===_0x1cb98d(0x16a)&&Array['isArray'](_0x45cae7[_0x1cb98d(0x159)]))return _0x45cae7[_0x1cb98d(0x159)];throw CliErrors[_0x1cb98d(0x161)](_0x1cb98d(0x15b),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113_0x5015bb=a113_0x8938;(function(_0x4bd17a,_0x4c383b){const _0x5360e8=a113_0x8938,_0x3f9d2c=_0x4bd17a();while(!![]){try{const _0x567eb5=-parseInt(_0x5360e8(0x71))/0x1*(parseInt(_0x5360e8(0x6c))/0x2)+-parseInt(_0x5360e8(0x67))/0x3*(-parseInt(_0x5360e8(0x68))/0x4)+parseInt(_0x5360e8(0x70))/0x5*(-parseInt(_0x5360e8(0x6e))/0x6)+-parseInt(_0x5360e8(0x66))/0x7+-parseInt(_0x5360e8(0x69))/0x8+parseInt(_0x5360e8(0x6b))/0x9*(parseInt(_0x5360e8(0x72))/0xa)+parseInt(_0x5360e8(0x6f))/0xb;if(_0x567eb5===_0x4c383b)break;else _0x3f9d2c['push'](_0x3f9d2c['shift']());}catch(_0x3ddcc2){_0x3f9d2c['push'](_0x3f9d2c['shift']());}}}(a113_0x5ebf,0x5b8ba));function a113_0x5ebf(){const _0x369163=['24HDKtnq','3802688DpfCcP','win32','36GeHliU','604202MZBpIG','.cmd','85398OFuhCy','17318334mBdboh','155FCFiCM','2cfDEHG','216650vxGCfh','2804389DzAcGZ','317652pKntZE'];a113_0x5ebf=function(){return _0x369163;};return a113_0x5ebf();}function a113_0x8938(_0x4bded5,_0x58dc8b){_0x4bded5=_0x4bded5-0x66;const _0x5ebf46=a113_0x5ebf();let _0x89381c=_0x5ebf46[_0x4bded5];return _0x89381c;}export const isWindows=process['platform']===a113_0x5015bb(0x6a);export function resolveNpmBin(_0x52b225){const _0x420c16=a113_0x5015bb;return isWindows?_0x52b225+_0x420c16(0x6d):_0x52b225;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x423c7e,_0x2aab35){const _0x331ea9=a114_0x5612,_0xb9db4=_0x423c7e();while(!![]){try{const _0xac01a6=-parseInt(_0x331ea9(0x13f))/0x1+parseInt(_0x331ea9(0x144))/0x2+parseInt(_0x331ea9(0x13e))/0x3+parseInt(_0x331ea9(0x15b))/0x4*(-parseInt(_0x331ea9(0x142))/0x5)+parseInt(_0x331ea9(0x14b))/0x6*(parseInt(_0x331ea9(0x149))/0x7)+parseInt(_0x331ea9(0x13b))/0x8*(-parseInt(_0x331ea9(0x152))/0x9)+-parseInt(_0x331ea9(0x141))/0xa*(parseInt(_0x331ea9(0x14c))/0xb);if(_0xac01a6===_0x2aab35)break;else _0xb9db4['push'](_0xb9db4['shift']());}catch(_0x137397){_0xb9db4['push'](_0xb9db4['shift']());}}}(a114_0x4b56,0x8c72e));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';function a114_0x4b56(){const _0x3b355d=['.cache','/dist-tags','/v/','string','prerelease','4SsKztN','utf8','match','latest','8lyglsB','number','fromEntries','2761023AvrDVl','58761Wresof','lastNotifiedAt','6087990QvezKQ','3604425XRHKqo','object','1459382wiKtsP','Invalid\x20semver','yes','minor','lastNotifiedVersion','994oMxdds',',\x20run:\x20','17922VqnYDJ','11jrkBGi','entries','update-check.json','major','trim','checkedAt','994167OJliDj','\x20available,\x20current\x20','/-/package/','timeout'];a114_0x4b56=function(){return _0x3b355d;};return a114_0x4b56();}import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x2f4922){const _0x35dd5c=a114_0x5612,_0x5cd23b=_0x2f4922['trim']()[_0x35dd5c(0x139)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x5cd23b)return null;return{'major':Number(_0x5cd23b[0x1]),'minor':Number(_0x5cd23b[0x2]),'patch':Number(_0x5cd23b[0x3]),'prerelease':_0x5cd23b[0x4]};}function compareSemver(_0x430d03,_0x55d28d){const _0x2a418e=a114_0x5612,_0xc54934=parseSemver(_0x430d03),_0x8e4dd=parseSemver(_0x55d28d);if(!_0xc54934||!_0x8e4dd)throw new Error(_0x2a418e(0x145));for(const _0x1205eb of[_0x2a418e(0x14f),_0x2a418e(0x147),'patch']){if(_0xc54934[_0x1205eb]<_0x8e4dd[_0x1205eb])return-0x1;if(_0xc54934[_0x1205eb]>_0x8e4dd[_0x1205eb])return 0x1;}if(!_0xc54934[_0x2a418e(0x15a)]&&!_0x8e4dd['prerelease'])return 0x0;if(!_0xc54934[_0x2a418e(0x15a)])return 0x1;if(!_0x8e4dd[_0x2a418e(0x15a)])return-0x1;if(_0xc54934[_0x2a418e(0x15a)]===_0x8e4dd[_0x2a418e(0x15a)])return 0x0;return _0xc54934[_0x2a418e(0x15a)]<_0x8e4dd[_0x2a418e(0x15a)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x1467ca=a114_0x5612,_0x347361=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x1467ca(0x150)]()['toLowerCase']();return _0x347361==='1'||_0x347361==='true'||_0x347361===_0x1467ca(0x146);}function cacheRoot(){const _0x1e7ea6=a114_0x5612;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x1e7ea6(0x156));}export function getUpdateNoticeCachePath(){const _0x7682e9=a114_0x5612;return join(cacheRoot(),'lovrabet-cli',_0x7682e9(0x14e));}async function readUpdateNoticeCache(){const _0x2b4637=a114_0x5612;try{const _0x254bb3=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x2adb47=JSON['parse'](_0x254bb3);if(!_0x2adb47||typeof _0x2adb47!==_0x2b4637(0x143))return{};return _0x2adb47;}catch{return{};}}async function writeUpdateNoticeCache(_0x37ee32){const _0x3ba8c2=a114_0x5612;try{const _0xbf3293=getUpdateNoticeCachePath();await mkdir(dirname(_0xbf3293),{'recursive':!![]}),await writeFile(_0xbf3293,JSON['stringify'](_0x37ee32,null,0x2)+'\x0a',_0x3ba8c2(0x138));}catch{}}function isFreshCheck(_0x69e29a,_0x3752f9){const _0x2ae48e=a114_0x5612;return typeof _0x69e29a[_0x2ae48e(0x151)]===_0x2ae48e(0x13c)&&_0x3752f9-_0x69e29a['checkedAt']<UPDATE_CHECK_TTL_MS;}function a114_0x5612(_0x36b230,_0x14ab4b){_0x36b230=_0x36b230-0x138;const _0x4b56b3=a114_0x4b56();let _0x561205=_0x4b56b3[_0x36b230];return _0x561205;}function isRecentlyNotified(_0x368b85,_0x44a41b,_0x5cf0ef){const _0x179655=a114_0x5612;return _0x368b85[_0x179655(0x148)]===_0x44a41b&&typeof _0x368b85[_0x179655(0x140)]===_0x179655(0x13c)&&_0x5cf0ef-_0x368b85['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0xc0a45c=0x5dc){const _0x24dc28=a114_0x5612;try{const _0x3c24d0=NPM_REGISTRY_BASE_URL+_0x24dc28(0x154)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x24dc28(0x157),_0x2642c1=await fetch(_0x3c24d0,{'signal':AbortSignal[_0x24dc28(0x155)](_0xc0a45c)});if(!_0x2642c1['ok'])return null;const _0x49ed5a=await _0x2642c1['json']();if(!_0x49ed5a||typeof _0x49ed5a!==_0x24dc28(0x143))return null;return Object[_0x24dc28(0x13d)](Object[_0x24dc28(0x14d)](_0x49ed5a)['filter'](([,_0x148345])=>typeof _0x148345===_0x24dc28(0x159)&&_0x148345[_0x24dc28(0x150)]())['map'](([_0x154c61,_0x5a8a00])=>[_0x154c61,String(_0x5a8a00)[_0x24dc28(0x150)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x33db1e){const _0x4dd6a4=a114_0x5612;return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+_0x4dd6a4(0x158)+_0x33db1e;}export async function resolveLatestUpdateNotice(){const _0x1883a8=a114_0x5612;if(isUpdateNoticeDisabled())return null;try{const _0x202881=Date['now'](),_0x4a10dd=getCliVersion(),_0x5a61d6=await readUpdateNoticeCache();let _0x30a226=isFreshCheck(_0x5a61d6,_0x202881)?_0x5a61d6[_0x1883a8(0x13a)]?.[_0x1883a8(0x150)]():undefined;if(!_0x30a226&&!isFreshCheck(_0x5a61d6,_0x202881)){const _0x21bc16=await fetchNpmDistTags();_0x30a226=_0x21bc16?.['latest']?.[_0x1883a8(0x150)](),await writeUpdateNoticeCache({..._0x5a61d6,'checkedAt':_0x202881,'latest':_0x30a226,'failed':!_0x30a226});}if(!_0x30a226||compareSemver(_0x4a10dd,_0x30a226)>=0x0)return null;if(isRecentlyNotified(_0x5a61d6,_0x30a226,_0x202881))return null;const _0x36e2c9=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x5a61d6,'checkedAt':isFreshCheck(_0x5a61d6,_0x202881)?_0x5a61d6[_0x1883a8(0x151)]:_0x202881,'latest':_0x30a226,'failed':![],'lastNotifiedVersion':_0x30a226,'lastNotifiedAt':_0x202881}),{'command':_0x36e2c9,'current':_0x4a10dd,'latest':_0x30a226,'url':buildNpmVersionUrl(_0x30a226),'message':CLI_BIN_NAME+'\x20'+_0x30a226+_0x1883a8(0x153)+_0x4a10dd+_0x1883a8(0x14a)+_0x36e2c9};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x32ed39,_0x472043){const _0x59b80b=a115_0x4d0d,_0x378d58=_0x32ed39();while(!![]){try{const _0x326cef=-parseInt(_0x59b80b(0x8e))/0x1+-parseInt(_0x59b80b(0x91))/0x2*(-parseInt(_0x59b80b(0x8c))/0x3)+parseInt(_0x59b80b(0x89))/0x4*(-parseInt(_0x59b80b(0x92))/0x5)+-parseInt(_0x59b80b(0x87))/0x6+-parseInt(_0x59b80b(0x90))/0x7*(parseInt(_0x59b80b(0x8f))/0x8)+-parseInt(_0x59b80b(0x8d))/0x9+parseInt(_0x59b80b(0x8b))/0xa*(parseInt(_0x59b80b(0x88))/0xb);if(_0x326cef===_0x472043)break;else _0x378d58['push'](_0x378d58['shift']());}catch(_0x17ba8b){_0x378d58['push'](_0x378d58['shift']());}}}(a115_0x3b02,0xd7d06));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a115_0x4d0d(_0x1e834a,_0x572529){_0x1e834a=_0x1e834a-0x87;const _0x3b027f=a115_0x3b02();let _0x4d0d13=_0x3b027f[_0x1e834a];return _0x4d0d13;}function a115_0x3b02(){const _0x2a411a=['504704TUAaYt','8MUKIZq','1500709dZTxNz','855722TbBTjr','5wKzCsJ','9039774DHkmzw','11fWLBAd','855964dFTsvC','unknown','37877440phZnsx','3JjOJIg','8027280tVlekd'];a115_0x3b02=function(){return _0x2a411a;};return a115_0x3b02();}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x32cf8a=a115_0x4d0d,_0x18df58=String(GIT_COMMIT);return _0x18df58&&_0x18df58!==_0x32cf8a(0x8a)?_0x18df58:'';}export function getCliVersionDisplay(){const _0x2f9f05=getCliGitCommit(),_0x18fd1c=BUILD_TIME['slice'](0x0,0xa);if(!_0x2f9f05||!_0x18fd1c)return VERSION;return VERSION+'\x20('+_0x2f9f05+',\x20'+_0x18fd1c+')';}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xf7da1a,_0x15eac6){var _0x528673=a116_0x24f0,_0x360f91=_0xf7da1a();while(!![]){try{var _0x2e176f=-parseInt(_0x528673(0x99))/0x1+parseInt(_0x528673(0x9d))/0x2*(-parseInt(_0x528673(0x9e))/0x3)+-parseInt(_0x528673(0xa2))/0x4+parseInt(_0x528673(0xa1))/0x5+-parseInt(_0x528673(0x9c))/0x6+-parseInt(_0x528673(0x9b))/0x7*(parseInt(_0x528673(0x98))/0x8)+-parseInt(_0x528673(0xa0))/0x9*(-parseInt(_0x528673(0xa3))/0xa);if(_0x2e176f===_0x15eac6)break;else _0x360f91['push'](_0x360f91['shift']());}catch(_0x57d9a5){_0x360f91['push'](_0x360f91['shift']());}}}(a116_0xace1,0x24a3e));function a116_0xace1(){var _0x515d6f=['989810npWmQv','400700tjhYYd','160XpqxJQ','8lYMhah','202356oilXqS','write','1910867hHyxZA','384396KqbbaE','205604xvJhak','3YukCcm','stderr','390654GbBjHZ'];a116_0xace1=function(){return _0x515d6f;};return a116_0xace1();}function a116_0x24f0(_0x3709eb,_0x110616){_0x3709eb=_0x3709eb-0x98;var _0xace110=a116_0xace1();var _0x24f0bb=_0xace110[_0x3709eb];return _0x24f0bb;}export function writeCliSideChannelLine(_0x1910e9){var _0x408d63=a116_0x24f0;process[_0x408d63(0x9f)][_0x408d63(0x9a)](_0x1910e9+'\x0a');}
|