@lovrabet/rabetbase-cli 2.1.2-beta.3 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app/use.js +1 -1
  26. package/lib/commands/auth/index.js +1 -1
  27. package/lib/commands/bff/delete.js +1 -1
  28. package/lib/commands/bff/detail.js +1 -1
  29. package/lib/commands/bff/index.js +1 -1
  30. package/lib/commands/bff/list.js +1 -1
  31. package/lib/commands/bff/new.js +1 -1
  32. package/lib/commands/bff/pull.js +1 -1
  33. package/lib/commands/bff/push.js +1 -1
  34. package/lib/commands/bff/status.js +1 -1
  35. package/lib/commands/cli-update.js +1 -1
  36. package/lib/commands/codegen/index.js +1 -1
  37. package/lib/commands/codegen/sdk.js +1 -1
  38. package/lib/commands/codegen/sql.js +1 -1
  39. package/lib/commands/common/app-selector.js +1 -1
  40. package/lib/commands/common/flags.js +1 -1
  41. package/lib/commands/common/validate.js +1 -1
  42. package/lib/commands/config/get.js +1 -1
  43. package/lib/commands/config/index.js +1 -1
  44. package/lib/commands/config/list.js +1 -1
  45. package/lib/commands/config/set.js +1 -1
  46. package/lib/commands/config/shared.js +1 -1
  47. package/lib/commands/dataset/detail.js +1 -1
  48. package/lib/commands/dataset/index.js +1 -1
  49. package/lib/commands/dataset/links.js +1 -1
  50. package/lib/commands/dataset/list.js +1 -1
  51. package/lib/commands/dataset/operations.js +1 -1
  52. package/lib/commands/db/analyze-cancel.js +1 -1
  53. package/lib/commands/db/analyze-start.js +1 -1
  54. package/lib/commands/db/analyze-status.js +1 -1
  55. package/lib/commands/db/create.js +1 -1
  56. package/lib/commands/db/delete.js +1 -1
  57. package/lib/commands/db/detail.js +1 -1
  58. package/lib/commands/db/diff.js +1 -1
  59. package/lib/commands/db/index.js +1 -1
  60. package/lib/commands/db/list.js +1 -1
  61. package/lib/commands/db/shared.js +1 -1
  62. package/lib/commands/db/tables.js +1 -1
  63. package/lib/commands/db/test.js +1 -1
  64. package/lib/commands/db/update.js +1 -1
  65. package/lib/commands/doctor.js +1 -1
  66. package/lib/commands/init/index.js +1 -1
  67. package/lib/commands/logs/index.js +1 -1
  68. package/lib/commands/menu/index.js +1 -1
  69. package/lib/commands/menu/shared/compare-table.js +1 -1
  70. package/lib/commands/menu/shared/index.js +1 -1
  71. package/lib/commands/menu/shared/inquirer.js +1 -1
  72. package/lib/commands/menu/shared/local-pages.js +1 -1
  73. package/lib/commands/menu/shared/logic.js +1 -1
  74. package/lib/commands/menu/shared/service.js +1 -1
  75. package/lib/commands/menu/shared/sync-core.js +1 -1
  76. package/lib/commands/menu/shared/update-core.js +1 -1
  77. package/lib/commands/menu/shared/valid-url.js +1 -1
  78. package/lib/commands/menu/sync.js +1 -1
  79. package/lib/commands/menu/update.js +1 -1
  80. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  81. package/lib/commands/project/create/format-elapsed.js +1 -1
  82. package/lib/commands/project/create/main.js +1 -1
  83. package/lib/commands/project/create/non-interactive.js +1 -1
  84. package/lib/commands/project/create/project-template-path.js +1 -1
  85. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  86. package/lib/commands/project/create/use-format-code.js +1 -1
  87. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  88. package/lib/commands/project/index.js +1 -1
  89. package/lib/commands/project/init.js +1 -1
  90. package/lib/commands/project/upgrade.js +1 -1
  91. package/lib/commands/registry.js +1 -1
  92. package/lib/commands/run/index.js +1 -1
  93. package/lib/commands/schema.js +1 -1
  94. package/lib/commands/skill/index.js +1 -1
  95. package/lib/commands/sql/detail.js +1 -1
  96. package/lib/commands/sql/exec.js +1 -1
  97. package/lib/commands/sql/index.js +1 -1
  98. package/lib/commands/sql/list.js +1 -1
  99. package/lib/commands/sql/pull.js +1 -1
  100. package/lib/commands/sql/save.js +1 -1
  101. package/lib/commands/sql/shared.js +1 -1
  102. package/lib/commands/sql/validate.js +1 -1
  103. package/lib/config/schema.js +1 -1
  104. package/lib/constant/cli.js +1 -1
  105. package/lib/constant/defaults.js +1 -1
  106. package/lib/constant/domain.js +1 -1
  107. package/lib/constant/env.js +1 -1
  108. package/lib/constant/output.js +1 -1
  109. package/lib/constant/paths.js +1 -1
  110. package/lib/constant/risk.js +1 -1
  111. package/lib/context.js +1 -1
  112. package/lib/core/alias-resolver.js +1 -1
  113. package/lib/core/api-client.js +1 -1
  114. package/lib/core/bff/config.js +1 -1
  115. package/lib/core/bff/file-system.js +1 -1
  116. package/lib/core/bff/hash.js +1 -1
  117. package/lib/core/bff/lock.js +1 -1
  118. package/lib/core/bff/utils.js +1 -1
  119. package/lib/core/db-resolver.js +1 -1
  120. package/lib/core/sql-validator.js +1 -1
  121. package/lib/errors.js +1 -1
  122. package/lib/framework/build-all-flags.js +1 -1
  123. package/lib/framework/flags.js +1 -1
  124. package/lib/framework/help.js +1 -1
  125. package/lib/framework/index.js +1 -1
  126. package/lib/framework/output.js +1 -1
  127. package/lib/framework/response.js +1 -1
  128. package/lib/framework/runner-alias.js +1 -1
  129. package/lib/framework/runner.js +1 -1
  130. package/lib/framework/schema-export.js +1 -1
  131. package/lib/framework/types.js +1 -1
  132. package/lib/generated/build-info.js +1 -1
  133. package/lib/help.js +1 -1
  134. package/lib/skills/main.js +1 -1
  135. package/lib/skills/npx-skills-add.js +1 -1
  136. package/lib/telemetry/cli-command-trace.js +1 -1
  137. package/lib/telemetry/cli-help-trace.js +1 -1
  138. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  139. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  140. package/lib/telemetry/send-cli-trace-log.js +1 -1
  141. package/lib/utils/ai_config.js +1 -1
  142. package/lib/utils/apply-jq-filter.js +1 -1
  143. package/lib/utils/cdn-config.js +1 -1
  144. package/lib/utils/check-sdk-version.js +1 -1
  145. package/lib/utils/cli-version-check.js +1 -1
  146. package/lib/utils/config.js +1 -1
  147. package/lib/utils/copy-directory.js +1 -1
  148. package/lib/utils/entity-with-id.js +1 -1
  149. package/lib/utils/file-utils.js +1 -1
  150. package/lib/utils/guides-cdn.js +1 -1
  151. package/lib/utils/http-client.js +1 -1
  152. package/lib/utils/is-non-interactive.js +1 -1
  153. package/lib/utils/logger.js +1 -1
  154. package/lib/utils/platform.js +1 -1
  155. package/lib/utils/rules-cdn.js +1 -1
  156. package/lib/utils/sleep.js +1 -1
  157. package/lib/utils/template-replacer.js +1 -1
  158. package/lib/utils/version.js +1 -1
  159. package/lib/utils/with-active-cookie.js +1 -1
  160. package/lib/utils/write-cli-side-channel.js +1 -1
  161. package/package.json +1 -1
@@ -1 +1 @@
1
- const a19_0x1ebfb5=a19_0x1dfe;(function(_0x38b5ea,_0x42ae89){const _0x408ba9=a19_0x1dfe,_0x5ac3ee=_0x38b5ea();while(!![]){try{const _0x14a186=parseInt(_0x408ba9(0x1f4))/0x1*(parseInt(_0x408ba9(0x1ee))/0x2)+-parseInt(_0x408ba9(0x1fb))/0x3*(-parseInt(_0x408ba9(0x1fc))/0x4)+parseInt(_0x408ba9(0x1f9))/0x5+parseInt(_0x408ba9(0x1f7))/0x6+-parseInt(_0x408ba9(0x1f3))/0x7*(parseInt(_0x408ba9(0x1f8))/0x8)+-parseInt(_0x408ba9(0x1ed))/0x9+-parseInt(_0x408ba9(0x1ec))/0xa*(parseInt(_0x408ba9(0x1f2))/0xb);if(_0x14a186===_0x42ae89)break;else _0x5ac3ee['push'](_0x5ac3ee['shift']());}catch(_0xa040a3){_0x5ac3ee['push'](_0x5ac3ee['shift']());}}}(a19_0x1b8f,0x26138));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';function a19_0x1dfe(_0x30fc67,_0x23fdbf){_0x30fc67=_0x30fc67-0x1ec;const _0x1b8fea=a19_0x1b8f();let _0x1dfe57=_0x1b8fea[_0x30fc67];return _0x1dfe57;}import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x572110=a19_0x1dfe,_0x42b708=getTemplateBaseUrl();return _0x42b708+_0x572110(0x1ef);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a19_0x1ebfb5(0x1f1));export async function fetchRulesFromCDN(){const _0x27458b=a19_0x1ebfb5,_0x41ec7b=getRulesCdnUrl(),_0x2bc0c9=await fetch(_0x41ec7b,{'headers':{'Accept':'application/json'}});if(!_0x2bc0c9['ok'])throw new Error(_0x27458b(0x1fa)+_0x2bc0c9[_0x27458b(0x1f0)]+'\x20'+_0x2bc0c9['statusText']);const _0x59a001=await _0x2bc0c9['json']();if(!_0x59a001[_0x27458b(0x1f6)]||typeof _0x59a001[_0x27458b(0x1f6)]!=='string')throw new Error('CDN\x20返回数据格式错误');return _0x59a001;}export async function getRulesContent(){try{const _0x1c8215=await fetchRulesFromCDN();return _0x1c8215['content'];}catch{return readLocalTemplate();}}export function readLocalTemplate(){if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,'utf-8');throw new Error('本地模板文件不存在:\x20'+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x505ecb){const _0x36c236=a19_0x1ebfb5,_0x26eef0=await fetchRulesFromCDN()['catch'](()=>null);let _0x4096e9;_0x26eef0?(_0x4096e9=_0x26eef0[_0x36c236(0x1f6)],_0x26eef0[_0x36c236(0x1f5)]&&(_0x4096e9=appendUpdateTime(_0x4096e9,_0x26eef0['lastUpdated']))):_0x4096e9=readLocalTemplate();const _0x5f3437=dirname(_0x505ecb);!existsSync(_0x5f3437)&&mkdirSync(_0x5f3437,{'recursive':!![]}),writeFileSync(_0x505ecb,_0x4096e9,'utf-8');}function a19_0x1b8f(){const _0x397e00=['661236xyUykW','104EpOvFJ','1132100ZJmaKy','CDN\x20请求失败:\x20','213vUsqpl','2060MFwoOp','1570uBNswn','2395323pZrHSd','51844TTQuuZ','/rules/rules.json','status','../../templates/rules/lovrabet_rules.mdc.tpl','4609XjnDKs','77819SCWKeK','10ehuDYU','lastUpdated','content'];a19_0x1b8f=function(){return _0x397e00;};return a19_0x1b8f();}export async function copyRulesToCursor(_0x50551b){const _0x4caa86=join(_0x50551b,'.cursor/rules'),_0x3473cc=join(_0x4caa86,'lovrabet_rules.mdc');if(existsSync(_0x3473cc))return![];return await writeRulesFile(_0x3473cc),!![];}export async function copyRulesToAgentsMd(_0x18f232){const _0x205636=join(_0x18f232,'agents.md');if(existsSync(_0x205636))return![];return await writeRulesFile(_0x205636),!![];}
1
+ (function(_0x55fe5f,_0x3ea5b9){const _0x32dd72=a19_0x3d94,_0x22ab94=_0x55fe5f();while(!![]){try{const _0x516249=parseInt(_0x32dd72(0x1e5))/0x1*(-parseInt(_0x32dd72(0x1e6))/0x2)+-parseInt(_0x32dd72(0x1e3))/0x3+parseInt(_0x32dd72(0x1e7))/0x4+parseInt(_0x32dd72(0x1e8))/0x5*(parseInt(_0x32dd72(0x1da))/0x6)+parseInt(_0x32dd72(0x1db))/0x7*(-parseInt(_0x32dd72(0x1dd))/0x8)+-parseInt(_0x32dd72(0x1f0))/0x9*(parseInt(_0x32dd72(0x1ed))/0xa)+parseInt(_0x32dd72(0x1e4))/0xb*(parseInt(_0x32dd72(0x1f1))/0xc);if(_0x516249===_0x3ea5b9)break;else _0x22ab94['push'](_0x22ab94['shift']());}catch(_0x121632){_0x22ab94['push'](_0x22ab94['shift']());}}}(a19_0x3b73,0x18ae1));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x3e9764=a19_0x3d94,_0x4b5de9=getTemplateBaseUrl();return _0x4b5de9+_0x3e9764(0x1de);}function a19_0x3d94(_0x23e7d6,_0x24ee9e){_0x23e7d6=_0x23e7d6-0x1da;const _0x3b7334=a19_0x3b73();let _0x3d9435=_0x3b7334[_0x23e7d6];return _0x3d9435;}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');export async function fetchRulesFromCDN(){const _0x432442=a19_0x3d94,_0x1c68e3=getRulesCdnUrl(),_0x229ac5=await fetch(_0x1c68e3,{'headers':{'Accept':'application/json'}});if(!_0x229ac5['ok'])throw new Error(_0x432442(0x1dc)+_0x229ac5[_0x432442(0x1eb)]+'\x20'+_0x229ac5[_0x432442(0x1ee)]);const _0xdbfedf=await _0x229ac5['json']();if(!_0xdbfedf[_0x432442(0x1e9)]||typeof _0xdbfedf['content']!=='string')throw new Error(_0x432442(0x1e0));return _0xdbfedf;}function a19_0x3b73(){const _0x56f28c=['773144BhMTZt','/rules/rules.json','catch','CDN\x20返回数据格式错误','lovrabet_rules.mdc','lastUpdated','477117eSMqtP','60467nGDtxU','12527oTAdMT','2vqDtNu','470132TkZOCc','55405yBoKhX','content','utf-8','status','本地模板文件不存在:\x20','80KdMVKs','statusText','agents.md','206289VcvsNB','708EdQCXC','60bRfwtp','7MgzpSX','CDN\x20请求失败:\x20'];a19_0x3b73=function(){return _0x56f28c;};return a19_0x3b73();}export async function getRulesContent(){const _0x4b19ad=a19_0x3d94;try{const _0x2b2305=await fetchRulesFromCDN();return _0x2b2305[_0x4b19ad(0x1e9)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x50cb9f=a19_0x3d94;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x50cb9f(0x1ea));throw new Error(_0x50cb9f(0x1ec)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x1ebaed){const _0x449bdc=a19_0x3d94,_0x455c5=await fetchRulesFromCDN()[_0x449bdc(0x1df)](()=>null);let _0x119170;_0x455c5?(_0x119170=_0x455c5[_0x449bdc(0x1e9)],_0x455c5[_0x449bdc(0x1e2)]&&(_0x119170=appendUpdateTime(_0x119170,_0x455c5[_0x449bdc(0x1e2)]))):_0x119170=readLocalTemplate();const _0x300f3d=dirname(_0x1ebaed);!existsSync(_0x300f3d)&&mkdirSync(_0x300f3d,{'recursive':!![]}),writeFileSync(_0x1ebaed,_0x119170,_0x449bdc(0x1ea));}export async function copyRulesToCursor(_0x27279c){const _0xf116f5=a19_0x3d94,_0x4dc37b=join(_0x27279c,'.cursor/rules'),_0x529b86=join(_0x4dc37b,_0xf116f5(0x1e1));if(existsSync(_0x529b86))return![];return await writeRulesFile(_0x529b86),!![];}export async function copyRulesToAgentsMd(_0x995cd7){const _0x10bbbf=a19_0x3d94,_0x1dc519=join(_0x995cd7,_0x10bbbf(0x1ef));if(existsSync(_0x1dc519))return![];return await writeRulesFile(_0x1dc519),!![];}
@@ -1 +1 @@
1
- export function sleep(_0x196b58){return new Promise(_0x59a00b=>setTimeout(_0x59a00b,_0x196b58));}
1
+ export function sleep(_0x31456f){return new Promise(_0x1d30cb=>setTimeout(_0x1d30cb,_0x31456f));}
@@ -1 +1 @@
1
- function a7_0x5a6e(_0x2980fc,_0xd81cff){_0x2980fc=_0x2980fc-0xa0;const _0x11d132=a7_0x11d1();let _0x5a6e19=_0x11d132[_0x2980fc];return _0x5a6e19;}function a7_0x11d1(){const _0x41bf79=['pad','replaceContent','endsWith','4244051UGInvq','.tpl','name:\x20\x22','3WPNlkm','error','.scss','padStart','join','name','info','toISOString','promises','readFile','datasetCode:\x20\x22','push','formatLocalTimestamp','template','10333310APqRao','toDisplayTitle','YourModel','toComponentName','getFullYear','.ts','isDirectory','6613264EPtjLQ','\x20},','5674584zPVECD','slice','.css','replaceApiContent','processFile','processDirectory','999384nqgVMu','getMonth','9MjXWkS','replace','getMinutes','datasetCode','split','pop','api','12822997sttKXO','copyFile','mkdir','5rVagCm','getSeconds','模板内容替换失败','tableName','readdir','582770yCjbvO','getDate','3gIfNMH','utf8','alias','now','charAt','toLowerCase','.md','.jsx','LOVRABET'];a7_0x11d1=function(){return _0x41bf79;};return a7_0x11d1();}const a7_0x35fbdd=a7_0x5a6e;(function(_0x54c93e,_0x14b4ec){const _0x5a119d=a7_0x5a6e,_0xced29c=_0x54c93e();while(!![]){try{const _0x13a97f=-parseInt(_0x5a119d(0xbc))/0x1*(-parseInt(_0x5a119d(0xab))/0x2)+parseInt(_0x5a119d(0xad))/0x3*(parseInt(_0x5a119d(0xd9))/0x4)+parseInt(_0x5a119d(0xa6))/0x5*(-parseInt(_0x5a119d(0xd3))/0x6)+-parseInt(_0x5a119d(0xb9))/0x7+parseInt(_0x5a119d(0xd1))/0x8+parseInt(_0x5a119d(0xdb))/0x9*(-parseInt(_0x5a119d(0xca))/0xa)+parseInt(_0x5a119d(0xa3))/0xb;if(_0x13a97f===_0x14b4ec)break;else _0xced29c['push'](_0xced29c['shift']());}catch(_0x2ac9b3){_0xced29c['push'](_0xced29c['shift']());}}}(a7_0x11d1,0x81a36));import a7_0x53f399 from'node:fs';import a7_0x2aa8a5 from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a7_0x35fbdd(0xb6)](_0x53a29b){const _0x48a631=a7_0x35fbdd;return String(_0x53a29b)[_0x48a631(0xbf)](0x2,'0');}static[a7_0x35fbdd(0xc8)](_0x52fefd){const _0xb6745c=a7_0x35fbdd,_0x3339bd=_0x52fefd[_0xb6745c(0xce)](),_0x42903a=this['pad'](_0x52fefd[_0xb6745c(0xda)]()+0x1),_0xeab321=this[_0xb6745c(0xb6)](_0x52fefd[_0xb6745c(0xac)]()),_0x2daf66=this[_0xb6745c(0xb6)](_0x52fefd['getHours']()),_0x548fcd=this[_0xb6745c(0xb6)](_0x52fefd[_0xb6745c(0xdd)]()),_0xfc6df7=this[_0xb6745c(0xb6)](_0x52fefd[_0xb6745c(0xa7)]());return{'createdAt':_0x3339bd+'-'+_0x42903a+'-'+_0xeab321+'\x20'+_0x2daf66+':'+_0x548fcd+':'+_0xfc6df7,'createdDate':_0x3339bd+'-'+_0x42903a+'-'+_0xeab321,'createdTime':_0x2daf66+':'+_0x548fcd+':'+_0xfc6df7};}static[a7_0x35fbdd(0xcd)](_0x5d4914){const _0x225fe9=a7_0x35fbdd,_0x5770ab=_0x5d4914[_0x225fe9(0xa0)]('/')[_0x225fe9(0xa1)]()||_0x5d4914;return _0x5770ab['split']('-')['map'](_0x639f90=>_0x639f90[_0x225fe9(0xb1)](0x0)['toUpperCase']()+_0x639f90[_0x225fe9(0xd4)](0x1)['toLowerCase']())[_0x225fe9(0xc0)]('');}static[a7_0x35fbdd(0xcb)](_0xc60b29){const _0x160e32=a7_0x35fbdd,_0x1dce06=_0xc60b29[_0x160e32(0xa0)]('/')['pop']()||_0xc60b29;return _0x1dce06[_0x160e32(0xa0)]('-')['map'](_0x53761d=>_0x53761d[_0x160e32(0xb1)](0x0)['toUpperCase']()+_0x53761d[_0x160e32(0xd4)](0x1)[_0x160e32(0xb2)]())[_0x160e32(0xc0)]('\x20');}static[a7_0x35fbdd(0xb7)](_0x66108c,_0x24b019,_0xb42a88){const _0x1c93f3=a7_0x35fbdd,_0xe18e72=this[_0x1c93f3(0xcd)](_0x24b019),_0x43addc=this[_0x1c93f3(0xcb)](_0x24b019),{createdAt:_0x5cd6dc,createdDate:_0xab50f1,createdTime:_0x4659e8}=this[_0x1c93f3(0xc8)](new Date());let _0x276232=_0x66108c[_0x1c93f3(0xdc)](/\{CliVersion\}/g,CLI_VERSION)[_0x1c93f3(0xdc)](/\{ComponentName\}/g,_0xe18e72)[_0x1c93f3(0xdc)](/\{DisplayTitle\}/g,_0x43addc)['replace'](/\{PageName\}/g,_0x24b019)['replace'](/\{TemplateName\}/g,_0xb42a88)[_0x1c93f3(0xdc)](/\{CreatedAt\}/g,_0x5cd6dc)[_0x1c93f3(0xdc)](/\{CreatedDate\}/g,_0xab50f1)[_0x1c93f3(0xdc)](/\{CreatedTime\}/g,_0x4659e8);return _0x276232;}static[a7_0x35fbdd(0xd6)](_0x2aac46,_0x166d40,_0x9c32b1,_0x1f6634,_0x210b28,_0x4f8502,_0x461113,_0x58f3f4){const _0xe8a899=a7_0x35fbdd,_0x1a00cc=new Date(),_0x53fa25=_0x1a00cc[_0xe8a899(0xc3)](),_0x57a951=_0x9c32b1['map'](_0x146548=>{const _0x1031ac=_0xe8a899,_0x66c72b=[_0x1031ac(0xc6)+_0x146548[_0x1031ac(0xde)]+'\x22','tableName:\x20\x22'+_0x146548[_0x1031ac(0xa9)]+'\x22',_0x1031ac(0xbb)+_0x146548[_0x1031ac(0xc1)]+'\x22'];return _0x146548['alias']&&_0x66c72b[_0x1031ac(0xc7)]('alias:\x20\x22'+_0x146548['alias']+'\x22'),'\x0a\x20\x20\x20\x20{\x20'+_0x66c72b[_0x1031ac(0xc0)](',\x20')+_0x1031ac(0xd2);})['join'](''),_0x40df58=_0x1f6634||_0x9c32b1[0x0]?.[_0xe8a899(0xaf)]||_0xe8a899(0xcc);let _0x28d46f=_0x2aac46[_0xe8a899(0xdc)](/\{AppCode\}/g,_0x166d40)['replace'](/\{ModelConfigs\}/g,_0x57a951)['replace'](/\{ExampleModelName\}/g,_0x40df58)[_0xe8a899(0xdc)](/\{ApiFileName\}/g,_0x210b28||_0xe8a899(0xa2))[_0xe8a899(0xdc)](/\{ConfigName\}/g,_0x4f8502||'default')[_0xe8a899(0xdc)](/\{ClientConfigParam\}/g,_0x461113||'')[_0xe8a899(0xdc)](/\{VarPrefix\}/g,_0x58f3f4||_0xe8a899(0xb5))['replace'](/\{CreatedAt\}/g,_0x53fa25);return _0x28d46f;}static async['processTemplate'](_0x4b34bc,_0x73422c,_0x101a9b,_0x11afbc,_0x3cdaeb=!![]){const _0xf461c2=a7_0x35fbdd,_0x488fd5=Date['now']();try{_0x3cdaeb&&logger[_0xf461c2(0xc2)](_0xf461c2(0xc9),'开始处理模板内容替换',{'templatePath':_0x4b34bc,'targetPath':_0x73422c,'pageName':_0x101a9b,'templateName':_0x11afbc});await a7_0x53f399[_0xf461c2(0xc4)][_0xf461c2(0xa5)](_0x73422c,{'recursive':!![]}),await this[_0xf461c2(0xd8)](_0x4b34bc,_0x73422c,_0x101a9b,_0x11afbc);if(_0x3cdaeb){const _0x4bf84b=Date[_0xf461c2(0xb0)]()-_0x488fd5;logger['success'](_0xf461c2(0xc9),'模板内容替换完成',_0x4bf84b,{'pageName':_0x101a9b,'templateName':_0x11afbc});}}catch(_0x1cd8a7){if(_0x3cdaeb){const _0x44bda3=Date[_0xf461c2(0xb0)]()-_0x488fd5;logger[_0xf461c2(0xbd)](_0xf461c2(0xc9),_0xf461c2(0xa8),{'templatePath':_0x4b34bc,'targetPath':_0x73422c,'pageName':_0x101a9b,'templateName':_0x11afbc,'error':_0x1cd8a7 instanceof Error?_0x1cd8a7['message']:String(_0x1cd8a7),'duration':_0x44bda3});}throw _0x1cd8a7;}}static async[a7_0x35fbdd(0xd8)](_0x494708,_0x2f5d29,_0x5a7d61,_0x3c4fb2){const _0x4b67ee=a7_0x35fbdd,_0x28b52d=await a7_0x53f399[_0x4b67ee(0xc4)][_0x4b67ee(0xaa)](_0x494708,{'withFileTypes':!![]});for(const _0x129c1d of _0x28b52d){const _0xb261e0=a7_0x2aa8a5['join'](_0x494708,_0x129c1d['name']);let _0x38bec3=a7_0x2aa8a5['join'](_0x2f5d29,_0x129c1d[_0x4b67ee(0xc1)]);_0x129c1d['name'][_0x4b67ee(0xb8)](_0x4b67ee(0xba))&&(_0x38bec3=a7_0x2aa8a5[_0x4b67ee(0xc0)](_0x2f5d29,_0x129c1d['name'][_0x4b67ee(0xdc)](/\.tpl$/,'')));if(_0x129c1d[_0x4b67ee(0xd0)]())await a7_0x53f399[_0x4b67ee(0xc4)][_0x4b67ee(0xa5)](_0x38bec3,{'recursive':!![]}),await this[_0x4b67ee(0xd8)](_0xb261e0,_0x38bec3,_0x5a7d61,_0x3c4fb2);else _0x129c1d['isFile']()&&await this[_0x4b67ee(0xd7)](_0xb261e0,_0x38bec3,_0x5a7d61,_0x3c4fb2);}}static async[a7_0x35fbdd(0xd7)](_0x127f28,_0x35acc3,_0x4d2607,_0xe2f5f1){const _0x351dae=a7_0x35fbdd,_0x14d322=a7_0x2aa8a5['extname'](_0x127f28)[_0x351dae(0xb2)]();_0x127f28['endsWith'](_0x351dae(0xba))&&(_0x35acc3=_0x35acc3[_0x351dae(0xdc)](/\.tpl$/,''));const _0x4199b8=['.tsx',_0x351dae(0xcf),_0x351dae(0xb4),'.js','.json',_0x351dae(0xb3),_0x351dae(0xd5),_0x351dae(0xbe),_0x351dae(0xba)];if(_0x4199b8['includes'](_0x14d322)||_0x127f28[_0x351dae(0xb8)]('.tpl')){const _0x1257ad=await a7_0x53f399['promises'][_0x351dae(0xc5)](_0x127f28,'utf8'),_0x48f484=this[_0x351dae(0xb7)](_0x1257ad,_0x4d2607,_0xe2f5f1);await a7_0x53f399[_0x351dae(0xc4)]['writeFile'](_0x35acc3,_0x48f484,_0x351dae(0xae));}else await a7_0x53f399[_0x351dae(0xc4)][_0x351dae(0xa4)](_0x127f28,_0x35acc3);}}
1
+ const a7_0x1b5381=a7_0x5b15;(function(_0x545400,_0x546915){const _0x4638f4=a7_0x5b15,_0x58f89c=_0x545400();while(!![]){try{const _0x5ac94e=parseInt(_0x4638f4(0x1b2))/0x1*(parseInt(_0x4638f4(0x198))/0x2)+parseInt(_0x4638f4(0x1cb))/0x3*(-parseInt(_0x4638f4(0x1ae))/0x4)+parseInt(_0x4638f4(0x1bf))/0x5+-parseInt(_0x4638f4(0x19a))/0x6*(parseInt(_0x4638f4(0x1b5))/0x7)+parseInt(_0x4638f4(0x1c3))/0x8*(parseInt(_0x4638f4(0x1a5))/0x9)+-parseInt(_0x4638f4(0x19d))/0xa*(-parseInt(_0x4638f4(0x1c8))/0xb)+parseInt(_0x4638f4(0x1b0))/0xc;if(_0x5ac94e===_0x546915)break;else _0x58f89c['push'](_0x58f89c['shift']());}catch(_0x490ef0){_0x58f89c['push'](_0x58f89c['shift']());}}}(a7_0x4b5f,0xee8d0));function a7_0x5b15(_0x1a0bae,_0x4e4f85){_0x1a0bae=_0x1a0bae-0x18d;const _0x4b5fed=a7_0x4b5f();let _0x5b1560=_0x4b5fed[_0x1a0bae];return _0x5b1560;}import a7_0x5aa1bc from'node:fs';import a7_0x1af889 from'node:path';function a7_0x4b5f(){const _0x1ba8b2=['toUpperCase','.json','alias','slice','writeFile','pop','readFile','LOVRABET','toLowerCase','api','map','message','template','.tpl','pad','\x0a\x20\x20\x20\x20{\x20','processDirectory','getHours','.jsx','padStart','processFile','datasetCode','1324WOYIpE','extname','12KlrvUa','now','mkdir','2385210GxuFAe','.tsx','includes','info','tableName','name','join','\x20},','139419ImPojG','开始处理模板内容替换','.scss','模板内容替换失败','formatLocalTimestamp','tableName:\x20\x22','alias:\x20\x22','replaceContent','getFullYear','26132uKJbHX','getMonth','1916136MPoWJs','模板内容替换完成','1945vgVKWZ','.css','copyFile','2843869iABBef','YourModel','replaceApiContent','name:\x20\x22','success','.md','toComponentName','promises','error','replace','5084260JNUGFF','endsWith','split','.ts','48Ejagja','utf8','getSeconds','toISOString','toDisplayTitle','33QoUtXp','getDate','isFile','681OxgXde'];a7_0x4b5f=function(){return _0x1ba8b2;};return a7_0x4b5f();}import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a7_0x1b5381(0x190)](_0x1904aa){const _0x23cad1=a7_0x1b5381;return String(_0x1904aa)[_0x23cad1(0x195)](0x2,'0');}static[a7_0x1b5381(0x1a9)](_0x2faa50){const _0x1ac7d9=a7_0x1b5381,_0x102b4e=_0x2faa50[_0x1ac7d9(0x1ad)](),_0x7bb6f3=this['pad'](_0x2faa50[_0x1ac7d9(0x1af)]()+0x1),_0x1ba677=this[_0x1ac7d9(0x190)](_0x2faa50[_0x1ac7d9(0x1c9)]()),_0x39d33c=this[_0x1ac7d9(0x190)](_0x2faa50[_0x1ac7d9(0x193)]()),_0x1fd73c=this[_0x1ac7d9(0x190)](_0x2faa50['getMinutes']()),_0x299468=this['pad'](_0x2faa50[_0x1ac7d9(0x1c5)]());return{'createdAt':_0x102b4e+'-'+_0x7bb6f3+'-'+_0x1ba677+'\x20'+_0x39d33c+':'+_0x1fd73c+':'+_0x299468,'createdDate':_0x102b4e+'-'+_0x7bb6f3+'-'+_0x1ba677,'createdTime':_0x39d33c+':'+_0x1fd73c+':'+_0x299468};}static[a7_0x1b5381(0x1bb)](_0x40d1f3){const _0xcf29e2=a7_0x1b5381,_0x10f9ff=_0x40d1f3[_0xcf29e2(0x1c1)]('/')[_0xcf29e2(0x1d1)]()||_0x40d1f3;return _0x10f9ff['split']('-')[_0xcf29e2(0x1d6)](_0x2e99ce=>_0x2e99ce['charAt'](0x0)['toUpperCase']()+_0x2e99ce[_0xcf29e2(0x1cf)](0x1)[_0xcf29e2(0x1d4)]())[_0xcf29e2(0x1a3)]('');}static[a7_0x1b5381(0x1c7)](_0x1384b0){const _0x579d09=a7_0x1b5381,_0x1368cb=_0x1384b0['split']('/')[_0x579d09(0x1d1)]()||_0x1384b0;return _0x1368cb['split']('-')[_0x579d09(0x1d6)](_0xd0b4ec=>_0xd0b4ec['charAt'](0x0)[_0x579d09(0x1cc)]()+_0xd0b4ec['slice'](0x1)['toLowerCase']())['join']('\x20');}static[a7_0x1b5381(0x1ac)](_0x85219,_0xd9c0e4,_0x273694){const _0x200143=a7_0x1b5381,_0x2c23f3=this[_0x200143(0x1bb)](_0xd9c0e4),_0x4c3806=this[_0x200143(0x1c7)](_0xd9c0e4),{createdAt:_0x37a2a1,createdDate:_0x46467a,createdTime:_0x5e6b90}=this[_0x200143(0x1a9)](new Date());let _0x3b4279=_0x85219['replace'](/\{CliVersion\}/g,CLI_VERSION)['replace'](/\{ComponentName\}/g,_0x2c23f3)[_0x200143(0x1be)](/\{DisplayTitle\}/g,_0x4c3806)[_0x200143(0x1be)](/\{PageName\}/g,_0xd9c0e4)[_0x200143(0x1be)](/\{TemplateName\}/g,_0x273694)[_0x200143(0x1be)](/\{CreatedAt\}/g,_0x37a2a1)[_0x200143(0x1be)](/\{CreatedDate\}/g,_0x46467a)[_0x200143(0x1be)](/\{CreatedTime\}/g,_0x5e6b90);return _0x3b4279;}static[a7_0x1b5381(0x1b7)](_0x2ed87b,_0x2b8a7a,_0x6bf9b9,_0x58a440,_0x478b33,_0xf04f59,_0x5d6d64,_0x499d49){const _0x576d9a=a7_0x1b5381,_0x110701=new Date(),_0x4806ad=_0x110701[_0x576d9a(0x1c6)](),_0x4b512b=_0x6bf9b9[_0x576d9a(0x1d6)](_0x278cfd=>{const _0x111748=_0x576d9a,_0x4ee3ea=['datasetCode:\x20\x22'+_0x278cfd[_0x111748(0x197)]+'\x22',_0x111748(0x1aa)+_0x278cfd[_0x111748(0x1a1)]+'\x22',_0x111748(0x1b8)+_0x278cfd['name']+'\x22'];return _0x278cfd[_0x111748(0x1ce)]&&_0x4ee3ea['push'](_0x111748(0x1ab)+_0x278cfd[_0x111748(0x1ce)]+'\x22'),_0x111748(0x191)+_0x4ee3ea[_0x111748(0x1a3)](',\x20')+_0x111748(0x1a4);})[_0x576d9a(0x1a3)](''),_0x36c0b5=_0x58a440||_0x6bf9b9[0x0]?.[_0x576d9a(0x1ce)]||_0x576d9a(0x1b6);let _0x108851=_0x2ed87b['replace'](/\{AppCode\}/g,_0x2b8a7a)[_0x576d9a(0x1be)](/\{ModelConfigs\}/g,_0x4b512b)[_0x576d9a(0x1be)](/\{ExampleModelName\}/g,_0x36c0b5)['replace'](/\{ApiFileName\}/g,_0x478b33||_0x576d9a(0x1d5))[_0x576d9a(0x1be)](/\{ConfigName\}/g,_0xf04f59||'default')[_0x576d9a(0x1be)](/\{ClientConfigParam\}/g,_0x5d6d64||'')['replace'](/\{VarPrefix\}/g,_0x499d49||_0x576d9a(0x1d3))[_0x576d9a(0x1be)](/\{CreatedAt\}/g,_0x4806ad);return _0x108851;}static async['processTemplate'](_0x272036,_0x1ffc56,_0x133506,_0x2830cc,_0x176153=!![]){const _0x366350=a7_0x1b5381,_0x158931=Date[_0x366350(0x19b)]();try{_0x176153&&logger[_0x366350(0x1a0)](_0x366350(0x18e),_0x366350(0x1a6),{'templatePath':_0x272036,'targetPath':_0x1ffc56,'pageName':_0x133506,'templateName':_0x2830cc});await a7_0x5aa1bc['promises']['mkdir'](_0x1ffc56,{'recursive':!![]}),await this[_0x366350(0x192)](_0x272036,_0x1ffc56,_0x133506,_0x2830cc);if(_0x176153){const _0x117766=Date[_0x366350(0x19b)]()-_0x158931;logger[_0x366350(0x1b9)](_0x366350(0x18e),_0x366350(0x1b1),_0x117766,{'pageName':_0x133506,'templateName':_0x2830cc});}}catch(_0x59bab6){if(_0x176153){const _0x242a95=Date[_0x366350(0x19b)]()-_0x158931;logger[_0x366350(0x1bd)](_0x366350(0x18e),_0x366350(0x1a8),{'templatePath':_0x272036,'targetPath':_0x1ffc56,'pageName':_0x133506,'templateName':_0x2830cc,'error':_0x59bab6 instanceof Error?_0x59bab6[_0x366350(0x18d)]:String(_0x59bab6),'duration':_0x242a95});}throw _0x59bab6;}}static async['processDirectory'](_0x23c6e2,_0x4188f3,_0xdda36d,_0x189558){const _0x1c0e48=a7_0x1b5381,_0x2c25d9=await a7_0x5aa1bc['promises']['readdir'](_0x23c6e2,{'withFileTypes':!![]});for(const _0xf46474 of _0x2c25d9){const _0x1ac10b=a7_0x1af889[_0x1c0e48(0x1a3)](_0x23c6e2,_0xf46474[_0x1c0e48(0x1a2)]);let _0x56cce8=a7_0x1af889[_0x1c0e48(0x1a3)](_0x4188f3,_0xf46474['name']);_0xf46474[_0x1c0e48(0x1a2)][_0x1c0e48(0x1c0)]('.tpl')&&(_0x56cce8=a7_0x1af889[_0x1c0e48(0x1a3)](_0x4188f3,_0xf46474[_0x1c0e48(0x1a2)][_0x1c0e48(0x1be)](/\.tpl$/,'')));if(_0xf46474['isDirectory']())await a7_0x5aa1bc[_0x1c0e48(0x1bc)][_0x1c0e48(0x19c)](_0x56cce8,{'recursive':!![]}),await this[_0x1c0e48(0x192)](_0x1ac10b,_0x56cce8,_0xdda36d,_0x189558);else _0xf46474[_0x1c0e48(0x1ca)]()&&await this[_0x1c0e48(0x196)](_0x1ac10b,_0x56cce8,_0xdda36d,_0x189558);}}static async[a7_0x1b5381(0x196)](_0x21f041,_0x17cb6b,_0xdabc14,_0x5bd4f4){const _0x590247=a7_0x1b5381,_0x18d1ac=a7_0x1af889[_0x590247(0x199)](_0x21f041)[_0x590247(0x1d4)]();_0x21f041[_0x590247(0x1c0)](_0x590247(0x18f))&&(_0x17cb6b=_0x17cb6b[_0x590247(0x1be)](/\.tpl$/,''));const _0x19e790=[_0x590247(0x19e),_0x590247(0x1c2),_0x590247(0x194),'.js',_0x590247(0x1cd),_0x590247(0x1ba),_0x590247(0x1b3),_0x590247(0x1a7),_0x590247(0x18f)];if(_0x19e790[_0x590247(0x19f)](_0x18d1ac)||_0x21f041[_0x590247(0x1c0)](_0x590247(0x18f))){const _0x13c430=await a7_0x5aa1bc[_0x590247(0x1bc)][_0x590247(0x1d2)](_0x21f041,_0x590247(0x1c4)),_0x53e1fe=this[_0x590247(0x1ac)](_0x13c430,_0xdabc14,_0x5bd4f4);await a7_0x5aa1bc[_0x590247(0x1bc)][_0x590247(0x1d0)](_0x17cb6b,_0x53e1fe,_0x590247(0x1c4));}else await a7_0x5aa1bc[_0x590247(0x1bc)][_0x590247(0x1b4)](_0x21f041,_0x17cb6b);}}
@@ -1 +1 @@
1
- function a11_0x3555(_0x43ece5,_0x1f0954){_0x43ece5=_0x43ece5-0x77;var _0xc8cc4e=a11_0xc8cc();var _0x3555d6=_0xc8cc4e[_0x43ece5];return _0x3555d6;}function a11_0xc8cc(){var _0x1309cc=['10101fwSkqk','2ZRYNwd','810517LpcXIG','1026390ComVrE','2142XjYjzb','3594fgOmvc','11576ARPYnN','828ZFdvkF','3899VeCmFN','3060550yhvvbV','10685180PCPvMH'];a11_0xc8cc=function(){return _0x1309cc;};return a11_0xc8cc();}(function(_0xb5f41c,_0x1f090b){var _0x26f945=a11_0x3555,_0x2d6caa=_0xb5f41c();while(!![]){try{var _0x1f6239=parseInt(_0x26f945(0x7e))/0x1*(parseInt(_0x26f945(0x7d))/0x2)+-parseInt(_0x26f945(0x7c))/0x3*(parseInt(_0x26f945(0x78))/0x4)+-parseInt(_0x26f945(0x7f))/0x5+parseInt(_0x26f945(0x81))/0x6*(parseInt(_0x26f945(0x79))/0x7)+-parseInt(_0x26f945(0x77))/0x8*(parseInt(_0x26f945(0x80))/0x9)+-parseInt(_0x26f945(0x7a))/0xa+parseInt(_0x26f945(0x7b))/0xb;if(_0x1f6239===_0x1f090b)break;else _0x2d6caa['push'](_0x2d6caa['shift']());}catch(_0x3b02db){_0x2d6caa['push'](_0x2d6caa['shift']());}}}(a11_0xc8cc,0x896a4));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ (function(_0x45dfe8,_0x29e3e8){var _0x115c76=a11_0x5c6f,_0x3387bc=_0x45dfe8();while(!![]){try{var _0x2e9a8c=parseInt(_0x115c76(0x1f4))/0x1*(parseInt(_0x115c76(0x1f0))/0x2)+-parseInt(_0x115c76(0x1f1))/0x3+-parseInt(_0x115c76(0x1f7))/0x4*(-parseInt(_0x115c76(0x1f3))/0x5)+parseInt(_0x115c76(0x1ef))/0x6+-parseInt(_0x115c76(0x1f2))/0x7+parseInt(_0x115c76(0x1f5))/0x8+-parseInt(_0x115c76(0x1f6))/0x9;if(_0x2e9a8c===_0x29e3e8)break;else _0x3387bc['push'](_0x3387bc['shift']());}catch(_0x234f38){_0x3387bc['push'](_0x3387bc['shift']());}}}(a11_0x17af,0x5af23));function a11_0x5c6f(_0xac09fd,_0x2f4b69){_0xac09fd=_0xac09fd-0x1ef;var _0x17af53=a11_0x17af();var _0x5c6f91=_0x17af53[_0xac09fd];return _0x5c6f91;}function a11_0x17af(){var _0x1ece9b=['4673389odobaW','35275KbgWre','1mTJgRn','2938904EzBIgm','2070963dEuIsA','24PiAqDj','2400180NyLGKl','1171000hXQHdh','374922dbNwzG'];a11_0x17af=function(){return _0x1ece9b;};return a11_0x17af();}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a10_0x429b(){var _0x32fbcd=['777COOrCH','735915IVKIxW','30288tzYXwe','10734KAosyE','1376658DfkCeI','2150190aUsOxI','519678dDVARu','13442920EFECOu','4iwjECn','16blEEXw'];a10_0x429b=function(){return _0x32fbcd;};return a10_0x429b();}function a10_0x1dd6(_0x1afa66,_0x2401f4){_0x1afa66=_0x1afa66-0x137;var _0x429bed=a10_0x429b();var _0x1dd642=_0x429bed[_0x1afa66];return _0x1dd642;}(function(_0x2db039,_0x32ae1e){var _0x12621d=a10_0x1dd6,_0x269267=_0x2db039();while(!![]){try{var _0x1b74f9=-parseInt(_0x12621d(0x13c))/0x1+parseInt(_0x12621d(0x13e))/0x2*(-parseInt(_0x12621d(0x137))/0x3)+-parseInt(_0x12621d(0x138))/0x4+parseInt(_0x12621d(0x13b))/0x5+parseInt(_0x12621d(0x139))/0x6*(parseInt(_0x12621d(0x140))/0x7)+parseInt(_0x12621d(0x13f))/0x8*(-parseInt(_0x12621d(0x13a))/0x9)+parseInt(_0x12621d(0x13d))/0xa;if(_0x1b74f9===_0x32ae1e)break;else _0x269267['push'](_0x269267['shift']());}catch(_0x26fa74){_0x269267['push'](_0x269267['shift']());}}}(a10_0x429b,0x9e7a5));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x51af6d,_0x3811f2){setActiveCookie(_0x51af6d);try{return await _0x3811f2();}finally{clearActiveCookie();}}
1
+ function a10_0x271f(){var _0x17282b=['3236002ozGgUa','961509SYiuYO','16KAHwix','8vzCuCS','33470KojyZp','17972052irRWUN','9330552HrJMRS','459DGXtIn','177875WedBMW','11lbkfGq','2201fJTcjw','1022sOPMAx'];a10_0x271f=function(){return _0x17282b;};return a10_0x271f();}(function(_0x33e36e,_0x3d9134){var _0x53951c=a10_0x3927,_0x41fb41=_0x33e36e();while(!![]){try{var _0x4c7552=parseInt(_0x53951c(0x12d))/0x1*(parseInt(_0x53951c(0x12e))/0x2)+parseInt(_0x53951c(0x130))/0x3*(parseInt(_0x53951c(0x132))/0x4)+-parseInt(_0x53951c(0x12b))/0x5+-parseInt(_0x53951c(0x129))/0x6+-parseInt(_0x53951c(0x12f))/0x7*(parseInt(_0x53951c(0x131))/0x8)+-parseInt(_0x53951c(0x12a))/0x9*(-parseInt(_0x53951c(0x133))/0xa)+parseInt(_0x53951c(0x12c))/0xb*(parseInt(_0x53951c(0x128))/0xc);if(_0x4c7552===_0x3d9134)break;else _0x41fb41['push'](_0x41fb41['shift']());}catch(_0x2096e5){_0x41fb41['push'](_0x41fb41['shift']());}}}(a10_0x271f,0xe053e));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a10_0x3927(_0x359d6e,_0x40422d){_0x359d6e=_0x359d6e-0x128;var _0x271f06=a10_0x271f();var _0x392799=_0x271f06[_0x359d6e];return _0x392799;}export async function withActiveCookie(_0x9b4687,_0x1fc8db){setActiveCookie(_0x9b4687);try{return await _0x1fc8db();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- (function(_0x2048e6,_0x317669){var _0x5c12c8=a4_0xdcfe,_0x3339f8=_0x2048e6();while(!![]){try{var _0x505955=-parseInt(_0x5c12c8(0xb6))/0x1+-parseInt(_0x5c12c8(0xba))/0x2*(-parseInt(_0x5c12c8(0xbb))/0x3)+-parseInt(_0x5c12c8(0xb4))/0x4+-parseInt(_0x5c12c8(0xb9))/0x5+parseInt(_0x5c12c8(0xb5))/0x6*(parseInt(_0x5c12c8(0xbc))/0x7)+parseInt(_0x5c12c8(0xb7))/0x8+-parseInt(_0x5c12c8(0xb8))/0x9;if(_0x505955===_0x317669)break;else _0x3339f8['push'](_0x3339f8['shift']());}catch(_0x3803bb){_0x3339f8['push'](_0x3339f8['shift']());}}}(a4_0x66e6,0x5ed8c));export function writeCliSideChannelLine(_0xf3d8d8){var _0x11e119=a4_0xdcfe;process['stderr'][_0x11e119(0xbd)](_0xf3d8d8+'\x0a');}function a4_0xdcfe(_0x2ac79b,_0x331fe3){_0x2ac79b=_0x2ac79b-0xb4;var _0x66e690=a4_0x66e6();var _0xdcfef2=_0x66e690[_0x2ac79b];return _0xdcfef2;}function a4_0x66e6(){var _0x14f9e0=['6beczvN','189511gQEQym','3736688GfrBuR','996759hQDMKR','1593870VxmKGU','118548VvTzWd','15IPpmwu','3499503pxfcRl','write','1023428eOUXVL'];a4_0x66e6=function(){return _0x14f9e0;};return a4_0x66e6();}
1
+ function a4_0x29d4(_0x12ea76,_0x331668){_0x12ea76=_0x12ea76-0xdb;var _0x3b72fe=a4_0x3b72();var _0x29d446=_0x3b72fe[_0x12ea76];return _0x29d446;}function a4_0x3b72(){var _0x1c4a85=['2204576ebuInB','368457mgRACv','827710LcLunD','954380BzFeKs','write','34jvHvpV','2602422Ejrlsr','4901701zsWZEJ','18duuCrM','6774phrFlC'];a4_0x3b72=function(){return _0x1c4a85;};return a4_0x3b72();}(function(_0x3a16c5,_0x4d5d03){var _0x1e330b=a4_0x29d4,_0x13db1f=_0x3a16c5();while(!![]){try{var _0x7f2adf=-parseInt(_0x1e330b(0xdd))/0x1*(parseInt(_0x1e330b(0xe1))/0x2)+parseInt(_0x1e330b(0xe3))/0x3+-parseInt(_0x1e330b(0xdb))/0x4+-parseInt(_0x1e330b(0xe4))/0x5+-parseInt(_0x1e330b(0xde))/0x6+parseInt(_0x1e330b(0xdf))/0x7+-parseInt(_0x1e330b(0xe2))/0x8*(-parseInt(_0x1e330b(0xe0))/0x9);if(_0x7f2adf===_0x4d5d03)break;else _0x13db1f['push'](_0x13db1f['shift']());}catch(_0x2adf77){_0x13db1f['push'](_0x13db1f['shift']());}}}(a4_0x3b72,0x66d36));export function writeCliSideChannelLine(_0x5c1fb4){var _0x34b783=a4_0x29d4;process['stderr'][_0x34b783(0xdc)](_0x5c1fb4+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.1.2-beta.3",
3
+ "version": "2.1.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "repository": {
6
6
  "type": "git",