@lovrabet/rabetbase-cli 2.5.1-beta.2 → 2.5.1-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.
Files changed (314) 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/api/generate-sdk-config-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/members-list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/delete.js +1 -1
  53. package/lib/commands/config/get.js +1 -1
  54. package/lib/commands/config/index.js +1 -1
  55. package/lib/commands/config/init.d.ts +1 -1
  56. package/lib/commands/config/init.js +1 -1
  57. package/lib/commands/config/list.js +1 -1
  58. package/lib/commands/config/set.js +1 -1
  59. package/lib/commands/config/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/business-groups.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-restore.js +1 -1
  67. package/lib/commands/dataset/field-update.js +1 -1
  68. package/lib/commands/dataset/generate.js +1 -1
  69. package/lib/commands/dataset/index.js +1 -1
  70. package/lib/commands/dataset/list.js +1 -1
  71. package/lib/commands/dataset/operations.js +1 -1
  72. package/lib/commands/dataset/relation-audit.js +1 -1
  73. package/lib/commands/dataset/relation-create.js +1 -1
  74. package/lib/commands/dataset/relation-delete.js +1 -1
  75. package/lib/commands/dataset/relation-shared.js +1 -1
  76. package/lib/commands/dataset/relation-update.js +1 -1
  77. package/lib/commands/dataset/relations.js +1 -1
  78. package/lib/commands/dataset/rename.js +1 -1
  79. package/lib/commands/dataset/restore.js +1 -1
  80. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  81. package/lib/commands/db/analysis-batching.js +1 -1
  82. package/lib/commands/db/analyze-batch-plan.js +1 -1
  83. package/lib/commands/db/analyze-cancel.js +1 -1
  84. package/lib/commands/db/analyze-start.js +1 -1
  85. package/lib/commands/db/analyze-status.js +1 -1
  86. package/lib/commands/db/create.js +1 -1
  87. package/lib/commands/db/delete.js +1 -1
  88. package/lib/commands/db/detail.js +1 -1
  89. package/lib/commands/db/diff-refresh-start.js +1 -1
  90. package/lib/commands/db/diff-refresh-status.js +1 -1
  91. package/lib/commands/db/diff.js +1 -1
  92. package/lib/commands/db/index.js +1 -1
  93. package/lib/commands/db/list.js +1 -1
  94. package/lib/commands/db/shared.js +1 -1
  95. package/lib/commands/db/table-diff-shared.js +1 -1
  96. package/lib/commands/db/tables.js +1 -1
  97. package/lib/commands/db/test.js +1 -1
  98. package/lib/commands/db/update.js +1 -1
  99. package/lib/commands/deployment/auto-sync.js +1 -1
  100. package/lib/commands/deployment/index.js +1 -1
  101. package/lib/commands/deployment/sync.js +1 -1
  102. package/lib/commands/doctor.js +1 -1
  103. package/lib/commands/file/index.js +1 -1
  104. package/lib/commands/issue/index.js +1 -1
  105. package/lib/commands/issue/nudge.js +1 -1
  106. package/lib/commands/issue/report.js +1 -1
  107. package/lib/commands/issue/shared.js +1 -1
  108. package/lib/commands/kb/create.js +1 -1
  109. package/lib/commands/kb/delete.js +1 -1
  110. package/lib/commands/kb/detail.js +1 -1
  111. package/lib/commands/kb/index.js +1 -1
  112. package/lib/commands/kb/list.js +1 -1
  113. package/lib/commands/kb/search.js +1 -1
  114. package/lib/commands/kb/shared.js +1 -1
  115. package/lib/commands/kb/update.js +1 -1
  116. package/lib/commands/logs/index.js +1 -1
  117. package/lib/commands/menu/asset-update.js +1 -1
  118. package/lib/commands/menu/delete.js +1 -1
  119. package/lib/commands/menu/external-link-create.js +1 -1
  120. package/lib/commands/menu/external-link-update.js +1 -1
  121. package/lib/commands/menu/group-create.js +1 -1
  122. package/lib/commands/menu/group-update.js +1 -1
  123. package/lib/commands/menu/index.js +1 -1
  124. package/lib/commands/menu/list.js +1 -1
  125. package/lib/commands/menu/move.js +1 -1
  126. package/lib/commands/menu/regroup-start.js +1 -1
  127. package/lib/commands/menu/rename.js +1 -1
  128. package/lib/commands/menu/shared/compare-table.js +1 -1
  129. package/lib/commands/menu/shared/delete-plan.js +1 -1
  130. package/lib/commands/menu/shared/facts.js +1 -1
  131. package/lib/commands/menu/shared/index.js +1 -1
  132. package/lib/commands/menu/shared/inquirer.js +1 -1
  133. package/lib/commands/menu/shared/local-pages.js +1 -1
  134. package/lib/commands/menu/shared/logic.js +1 -1
  135. package/lib/commands/menu/shared/mutations.js +1 -1
  136. package/lib/commands/menu/shared/service.js +1 -1
  137. package/lib/commands/menu/shared/sync-core.js +1 -1
  138. package/lib/commands/menu/shared/update-core.js +1 -1
  139. package/lib/commands/menu/shared/valid-url.js +1 -1
  140. package/lib/commands/menu/sync.js +1 -1
  141. package/lib/commands/menu/visibility-update.js +1 -1
  142. package/lib/commands/notification/config-create.js +1 -1
  143. package/lib/commands/notification/config-delete.js +1 -1
  144. package/lib/commands/notification/config-list.js +1 -1
  145. package/lib/commands/notification/config-update.js +1 -1
  146. package/lib/commands/notification/index.js +1 -1
  147. package/lib/commands/notification/shared.js +1 -1
  148. package/lib/commands/ocr/index.js +1 -1
  149. package/lib/commands/page/create.js +1 -1
  150. package/lib/commands/page/custom/detail.js +1 -1
  151. package/lib/commands/page/custom/list.js +1 -1
  152. package/lib/commands/page/custom/publish.js +1 -1
  153. package/lib/commands/page/custom/shared.js +1 -1
  154. package/lib/commands/page/custom/syntax.js +1 -1
  155. package/lib/commands/page/custom/template.js +1 -1
  156. package/lib/commands/page/custom/update.js +1 -1
  157. package/lib/commands/page/data-list-status.js +1 -1
  158. package/lib/commands/page/generate-start.js +1 -1
  159. package/lib/commands/page/generate-status.js +1 -1
  160. package/lib/commands/page/index.js +1 -1
  161. package/lib/commands/page/pull.js +1 -1
  162. package/lib/commands/page/push.js +1 -1
  163. package/lib/commands/page/relation-audit.js +1 -1
  164. package/lib/commands/page/restore.js +1 -1
  165. package/lib/commands/page/shared.js +1 -1
  166. package/lib/commands/page/sync.js +1 -1
  167. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  168. package/lib/commands/project/create/format-elapsed.js +1 -1
  169. package/lib/commands/project/create/main.js +1 -1
  170. package/lib/commands/project/create/materialize-project-template.js +1 -1
  171. package/lib/commands/project/create/project-name.js +1 -1
  172. package/lib/commands/project/create/project-template-archive.js +1 -1
  173. package/lib/commands/project/create/project-template-path.js +1 -1
  174. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  175. package/lib/commands/project/create/use-format-code.js +1 -1
  176. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  177. package/lib/commands/project/index.js +1 -1
  178. package/lib/commands/project/upgrade.js +1 -1
  179. package/lib/commands/registry.js +1 -1
  180. package/lib/commands/role/delete.js +1 -1
  181. package/lib/commands/role/detail.js +1 -1
  182. package/lib/commands/role/index.js +1 -1
  183. package/lib/commands/role/list.js +1 -1
  184. package/lib/commands/role/shared.js +1 -1
  185. package/lib/commands/role/update.js +1 -1
  186. package/lib/commands/role/user-add.js +1 -1
  187. package/lib/commands/role/user-remove.js +1 -1
  188. package/lib/commands/role/user-resolve.js +1 -1
  189. package/lib/commands/run/index.js +1 -1
  190. package/lib/commands/schema.js +1 -1
  191. package/lib/commands/sql/create.js +1 -1
  192. package/lib/commands/sql/delete.js +1 -1
  193. package/lib/commands/sql/detail.js +1 -1
  194. package/lib/commands/sql/exec.js +1 -1
  195. package/lib/commands/sql/index.js +1 -1
  196. package/lib/commands/sql/list.js +1 -1
  197. package/lib/commands/sql/pull.js +1 -1
  198. package/lib/commands/sql/push.js +1 -1
  199. package/lib/commands/sql/shared.js +1 -1
  200. package/lib/commands/sql/status.js +1 -1
  201. package/lib/commands/sql/validate.js +1 -1
  202. package/lib/commands/task/index.js +1 -1
  203. package/lib/commands/task/status.js +1 -1
  204. package/lib/commands/tenant/index.js +1 -1
  205. package/lib/commands/tenant/members-list.js +1 -1
  206. package/lib/commands/tenant/shared.js +1 -1
  207. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  208. package/lib/commands/user-account/index.js +1 -1
  209. package/lib/commands/workspace/add.js +1 -1
  210. package/lib/commands/workspace/index.js +1 -1
  211. package/lib/commands/workspace/remove.js +1 -1
  212. package/lib/config/deployment-sync.js +1 -1
  213. package/lib/config/domain-config.d.ts +1 -1
  214. package/lib/config/domain-config.js +1 -1
  215. package/lib/config/project-routing.js +1 -1
  216. package/lib/config/schema.d.ts +1 -1
  217. package/lib/config/schema.js +1 -1
  218. package/lib/constant/cdn.js +1 -1
  219. package/lib/constant/cli.js +1 -1
  220. package/lib/constant/defaults.js +1 -1
  221. package/lib/constant/domain.d.ts +2 -0
  222. package/lib/constant/domain.js +1 -1
  223. package/lib/constant/env.js +1 -1
  224. package/lib/constant/output.js +1 -1
  225. package/lib/constant/paths.js +1 -1
  226. package/lib/constant/region.js +1 -1
  227. package/lib/constant/risk.js +1 -1
  228. package/lib/constant/routing-profile.js +1 -1
  229. package/lib/context/app-resolver.js +1 -1
  230. package/lib/context/auth-resolver.js +1 -1
  231. package/lib/context/config-loader.js +1 -1
  232. package/lib/context.js +1 -1
  233. package/lib/core/alias-resolver.js +1 -1
  234. package/lib/core/api-client.d.ts +0 -16
  235. package/lib/core/api-client.js +1 -1
  236. package/lib/core/bff/config.js +1 -1
  237. package/lib/core/bff/file-system.js +1 -1
  238. package/lib/core/bff/hash.js +1 -1
  239. package/lib/core/bff/lock.js +1 -1
  240. package/lib/core/bff/utils.js +1 -1
  241. package/lib/core/db-resolver.js +1 -1
  242. package/lib/core/kb-search-client.d.ts +30 -0
  243. package/lib/core/kb-search-client.js +1 -0
  244. package/lib/core/page/file-system.js +1 -1
  245. package/lib/core/page/hash.js +1 -1
  246. package/lib/core/page/lock.js +1 -1
  247. package/lib/core/sql-index-auditor.js +1 -1
  248. package/lib/core/sql-sync/config.js +1 -1
  249. package/lib/core/sql-sync/file-system.js +1 -1
  250. package/lib/core/sql-sync/hash.js +1 -1
  251. package/lib/core/sql-sync/lock.js +1 -1
  252. package/lib/core/sql-sync/utils.js +1 -1
  253. package/lib/core/sql-validator.js +1 -1
  254. package/lib/errors.js +1 -1
  255. package/lib/framework/build-all-flags.js +1 -1
  256. package/lib/framework/error-output.js +1 -1
  257. package/lib/framework/explicit-yes.js +1 -1
  258. package/lib/framework/flags.js +1 -1
  259. package/lib/framework/help.js +1 -1
  260. package/lib/framework/index.js +1 -1
  261. package/lib/framework/output.js +1 -1
  262. package/lib/framework/response.js +1 -1
  263. package/lib/framework/runner-alias.js +1 -1
  264. package/lib/framework/runner.js +1 -1
  265. package/lib/framework/schema-export.js +1 -1
  266. package/lib/framework/types.d.ts +1 -0
  267. package/lib/framework/types.js +1 -1
  268. package/lib/generated/build-info.d.ts +4 -4
  269. package/lib/generated/build-info.js +1 -1
  270. package/lib/help.js +1 -1
  271. package/lib/postinstall.js +1 -1
  272. package/lib/runtime/confirmation.js +1 -1
  273. package/lib/runtime/event.js +1 -1
  274. package/lib/runtime/index.js +1 -1
  275. package/lib/runtime/queue.js +1 -1
  276. package/lib/runtime/resolve.js +1 -1
  277. package/lib/skills/builtin-skill.js +1 -1
  278. package/lib/skills/main.js +1 -1
  279. package/lib/skills/npx-skills-add.js +1 -1
  280. package/lib/skills/skill-presence.js +1 -1
  281. package/lib/telemetry/cli-command-trace.js +1 -1
  282. package/lib/telemetry/cli-help-trace.js +1 -1
  283. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  284. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  285. package/lib/telemetry/send-cli-trace-log.js +1 -1
  286. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  287. package/lib/utils/ai_config.js +1 -1
  288. package/lib/utils/apply-jq-filter.js +1 -1
  289. package/lib/utils/cdn-config.js +1 -1
  290. package/lib/utils/check-sdk-version.js +1 -1
  291. package/lib/utils/cli-version-check.js +1 -1
  292. package/lib/utils/cli-version-policy.js +1 -1
  293. package/lib/utils/config.js +1 -1
  294. package/lib/utils/entity-with-id.js +1 -1
  295. package/lib/utils/file-utils.js +1 -1
  296. package/lib/utils/guides-cdn.js +1 -1
  297. package/lib/utils/http-client.js +1 -1
  298. package/lib/utils/is-non-interactive.js +1 -1
  299. package/lib/utils/logger.js +1 -1
  300. package/lib/utils/params.js +1 -1
  301. package/lib/utils/platform.js +1 -1
  302. package/lib/utils/sleep.js +1 -1
  303. package/lib/utils/template-replacer.js +1 -1
  304. package/lib/utils/update-notice.js +1 -1
  305. package/lib/utils/version.js +1 -1
  306. package/lib/utils/with-active-cookie.js +1 -1
  307. package/lib/utils/write-cli-side-channel.js +1 -1
  308. package/package.json +1 -1
  309. package/skills/rabetbase/SKILL.md +2 -2
  310. package/skills/rabetbase/references/rabetbase-config.md +4 -1
  311. package/skills/rabetbase/references/rabetbase-doctor.md +1 -1
  312. package/skills/rabetbase/references/rabetbase-init.md +2 -0
  313. package/skills/rabetbase/references/rabetbase-kb.md +7 -7
  314. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a216_0x5cad00=a216_0x31e4;function a216_0x31e4(_0x34a388,_0x2759d9){_0x34a388=_0x34a388-0xe9;const _0xf074fe=a216_0xf074();let _0x31e454=_0xf074fe[_0x34a388];return _0x31e454;}(function(_0x137cf6,_0x46da5b){const _0x53730d=a216_0x31e4,_0x5ae317=_0x137cf6();while(!![]){try{const _0x1d183f=parseInt(_0x53730d(0x12a))/0x1+parseInt(_0x53730d(0x119))/0x2*(parseInt(_0x53730d(0x10c))/0x3)+parseInt(_0x53730d(0x103))/0x4*(parseInt(_0x53730d(0x16d))/0x5)+-parseInt(_0x53730d(0x153))/0x6+-parseInt(_0x53730d(0x134))/0x7+parseInt(_0x53730d(0x178))/0x8+-parseInt(_0x53730d(0x147))/0x9*(-parseInt(_0x53730d(0x140))/0xa);if(_0x1d183f===_0x46da5b)break;else _0x5ae317['push'](_0x5ae317['shift']());}catch(_0x5ad464){_0x5ae317['push'](_0x5ae317['shift']());}}}(a216_0xf074,0xec572));function a216_0xf074(){const _0x7975c7=['parent-id','5465fRxVWj','Search\x20query','dryRun','<name>','fromEnv','codes','remote','string','value','sql-name','confirm','8684760RTDXav','locale','sqlname','reveal','Read\x20value\x20from\x20environment\x20variable','page','SQL\x20name','Use\x20global\x20config\x20scope','datasetcode','verbose','Expected\x20current\x20child\x20count','skip-imports','meowKey','params','Title','Preview\x20operation\x20without\x20executing','operation-type','Use\x20the\x20base\x20database\x20connection','Description','schemas','query','sqlcode','help','name','operation','expectPath','dbid','boolean','2684dSFETp','clear','targetEnv','production\x20|\x20daily','expected-count','Record\x20ID','label','force','stdin','19482SbsQLD','expectedCount','target-env','Skip\x20confirmation\x20for\x20high-risk\x20writes','task-id','Alias\x20for\x20--non-interactive','expectParentId','target','Function\x20node','sort','Show\x20help','all','Schemas','134AUoXEw','Clear','Force\x20non-interactive\x20mode\x20(CI)','title','fromEntries','expectedChildrenCount','tags','expected-children-count','menuIds','output','file','description','map','Environment','Type\x20filter','code','expect-path','521009ZXykfA','File\x20path','Read\x20value\x20from\x20stdin','DB\x20ID','Target\x20path','Skip\x20import\x20generation','from-env','project','Reveal\x20sensitive\x20value','yes','12970608qOszpV','Comma-separated\x20metadata\x20codes','appcode','keyword','Dataset\x20code','Watch\x20mode','taskId','SQL\x20code','@lovrabet/rabetbase-cli','global','dry-run','function-node','4691130HBzlWs','non-interactive','Confirm\x20destructive\x20action','db-id','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','SQL\x20string','env','27lhKOen','rabetbase','Override\x20appcode','Menu\x20sort\x20value','Comma-separated\x20menu\x20IDs','enableBffSave','pagesize','watch','Use\x20remote','Asynchronous\x20task\x20ID','zh-CN\x20|\x20en-US','skipImports','8168700vgGRoG','Page\x20number','app','type','Expected\x20affected\x20count','Enable\x20Backend\x20Function\x20save','Code\x20filter','menu-ids','<expr>','Output\x20format','Operation\x20type','functionNode','dbId','Use\x20project\x20config\x20scope','Page\x20size','parentId','Apply\x20to\x20all','Verbose\x20output','sqlName','direct','Maximum\x20search\x20hits','Tags','key','format','nonInteractive'];a216_0xf074=function(){return _0x7975c7;};return a216_0xf074();}export const CLI_BIN_NAME=a216_0x5cad00(0x148);export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a216_0x5cad00(0x13c);export const GLOBAL_FLAGS=[{'name':a216_0x5cad00(0x136),'meowKey':a216_0x5cad00(0x136),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x149),'hint':'<code>'},{'name':a216_0x5cad00(0x155),'meowKey':'app','type':a216_0x5cad00(0x174),'description':'Select\x20app\x20profile\x20by\x20name','hint':a216_0x5cad00(0x170)},{'name':'env','meowKey':a216_0x5cad00(0x146),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x126),'hint':a216_0x5cad00(0x106)},{'name':a216_0x5cad00(0x16a),'meowKey':a216_0x5cad00(0x16a),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x15c),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x144),'hint':a216_0x5cad00(0x15b)},{'name':a216_0x5cad00(0x13e),'meowKey':a216_0x5cad00(0x16f),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0xf6)},{'name':'yes','meowKey':a216_0x5cad00(0x133),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x10f)},{'name':a216_0x5cad00(0x141),'meowKey':a216_0x5cad00(0x16b),'type':'boolean','description':a216_0x5cad00(0x11b)},{'name':a216_0x5cad00(0x13d),'meowKey':a216_0x5cad00(0x13d),'type':'boolean','description':a216_0x5cad00(0xee)},{'name':a216_0x5cad00(0x131),'meowKey':a216_0x5cad00(0x131),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x160)},{'name':'ci','meowKey':'ci','type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x111),'hidden':!![]},{'name':'help','meowKey':a216_0x5cad00(0xfd),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x116)},{'name':a216_0x5cad00(0x179),'meowKey':a216_0x5cad00(0x179),'type':a216_0x5cad00(0x174),'description':'App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','hidden':!![],'hint':a216_0x5cad00(0x151)},{'name':'name','meowKey':a216_0x5cad00(0xfe),'type':a216_0x5cad00(0x174),'description':'Name','hidden':!![]},{'name':a216_0x5cad00(0x11c),'meowKey':'title','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xf5),'hidden':!![]},{'name':a216_0x5cad00(0xfb),'meowKey':a216_0x5cad00(0xfb),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x16e),'hidden':!![]},{'name':'topk','meowKey':'topk','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x167),'hidden':!![]},{'name':a216_0x5cad00(0x104),'meowKey':a216_0x5cad00(0x104),'type':'boolean','description':a216_0x5cad00(0x11a),'hidden':!![]},{'name':a216_0x5cad00(0x14e),'meowKey':a216_0x5cad00(0x14e),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x139),'hidden':!![]},{'name':a216_0x5cad00(0x122),'meowKey':a216_0x5cad00(0x122),'type':a216_0x5cad00(0x174),'description':'Output\x20path','hidden':!![]},{'name':a216_0x5cad00(0xf4),'meowKey':'params','type':a216_0x5cad00(0x174),'description':'JSON\x20params','hidden':!![]},{'name':a216_0x5cad00(0xef),'meowKey':'datasetcode','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x138),'hidden':!![]},{'name':'all','meowKey':a216_0x5cad00(0x117),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x163),'hidden':!![]},{'name':'enable-bff-save','meowKey':a216_0x5cad00(0x14c),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x158),'hidden':!![]},{'name':'id','meowKey':'id','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x108),'hidden':!![]},{'name':'type','meowKey':'type','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x127),'hidden':!![]},{'name':a216_0x5cad00(0x123),'meowKey':a216_0x5cad00(0x123),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12b),'hidden':!![]},{'name':a216_0x5cad00(0xfc),'meowKey':a216_0x5cad00(0xfc),'type':'string','description':a216_0x5cad00(0x13b),'hidden':!![]},{'name':a216_0x5cad00(0x176),'meowKey':a216_0x5cad00(0x165),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xed),'hidden':!![]},{'name':a216_0x5cad00(0xe9),'meowKey':a216_0x5cad00(0xe9),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xed),'hidden':!![]},{'name':a216_0x5cad00(0x143),'meowKey':a216_0x5cad00(0x15f),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12d),'hidden':!![]},{'name':a216_0x5cad00(0x101),'meowKey':'dbid','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12d),'hidden':!![]},{'name':a216_0x5cad00(0x124),'meowKey':a216_0x5cad00(0x124),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xf9),'hidden':!![]},{'name':'description-file','meowKey':'descriptionFile','type':'string','description':'Description\x20file','hidden':!![]},{'name':a216_0x5cad00(0xec),'meowKey':'page','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x154),'hidden':!![]},{'name':a216_0x5cad00(0x14d),'meowKey':'pagesize','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x161),'hidden':!![]},{'name':'keyword','meowKey':a216_0x5cad00(0x137),'type':'string','description':'Keyword\x20filter','hidden':!![]},{'name':a216_0x5cad00(0x128),'meowKey':a216_0x5cad00(0x128),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x159),'hidden':!![]},{'name':'sql','meowKey':'sql','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x145),'hidden':!![]},{'name':a216_0x5cad00(0xfa),'meowKey':a216_0x5cad00(0xfa),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x118),'hidden':!![]},{'name':a216_0x5cad00(0xff),'meowKey':'operation','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x15d),'hidden':!![]},{'name':'target','meowKey':a216_0x5cad00(0x113),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12e),'hidden':!![]},{'name':a216_0x5cad00(0xf2),'meowKey':a216_0x5cad00(0x152),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x12f),'hidden':!![]},{'name':a216_0x5cad00(0x169),'meowKey':a216_0x5cad00(0x169),'type':a216_0x5cad00(0x174),'description':'Config\x20key','hidden':!![]},{'name':a216_0x5cad00(0x175),'meowKey':a216_0x5cad00(0x175),'type':a216_0x5cad00(0x174),'description':'Config\x20value','hidden':!![]},{'name':a216_0x5cad00(0x11f),'meowKey':a216_0x5cad00(0x11f),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x168),'hidden':!![]},{'name':a216_0x5cad00(0x10b),'meowKey':a216_0x5cad00(0x10b),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x12c),'hidden':!![]},{'name':a216_0x5cad00(0x130),'meowKey':a216_0x5cad00(0x171),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xeb),'hidden':!![]},{'name':a216_0x5cad00(0xea),'meowKey':'reveal','type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x132),'hidden':!![]},{'name':a216_0x5cad00(0x10a),'meowKey':'force','type':a216_0x5cad00(0x102),'description':'Force\x20overwrite','hidden':!![]},{'name':'confirm','meowKey':a216_0x5cad00(0x177),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x142),'hidden':!![]},{'name':a216_0x5cad00(0x173),'meowKey':'remote','type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x14f),'hidden':!![]},{'name':a216_0x5cad00(0xf0),'meowKey':a216_0x5cad00(0xf0),'type':'boolean','description':a216_0x5cad00(0x164),'hidden':!![]},{'name':a216_0x5cad00(0x107),'meowKey':a216_0x5cad00(0x10d),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x157),'hidden':!![]},{'name':a216_0x5cad00(0x109),'meowKey':a216_0x5cad00(0x109),'type':a216_0x5cad00(0x174),'description':'Menu\x20label','hidden':!![]},{'name':a216_0x5cad00(0x16c),'meowKey':a216_0x5cad00(0x162),'type':a216_0x5cad00(0x174),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a216_0x5cad00(0x115),'meowKey':a216_0x5cad00(0x115),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x14a),'hidden':!![]},{'name':'expect-parent-id','meowKey':a216_0x5cad00(0x112),'type':a216_0x5cad00(0x174),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a216_0x5cad00(0x129),'meowKey':a216_0x5cad00(0x100),'type':a216_0x5cad00(0x174),'description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a216_0x5cad00(0x120),'meowKey':a216_0x5cad00(0x11e),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xf1),'hidden':!![]},{'name':a216_0x5cad00(0x15a),'meowKey':a216_0x5cad00(0x121),'type':'string','description':a216_0x5cad00(0x14b),'hidden':!![]},{'name':a216_0x5cad00(0x110),'meowKey':a216_0x5cad00(0x13a),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x150),'hidden':!![]},{'name':a216_0x5cad00(0xf7),'meowKey':'operationType','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x15d),'hidden':!![]},{'name':a216_0x5cad00(0x13f),'meowKey':a216_0x5cad00(0x15e),'type':'string','description':a216_0x5cad00(0x114),'hidden':!![]},{'name':a216_0x5cad00(0x10e),'meowKey':a216_0x5cad00(0x105),'type':a216_0x5cad00(0x174),'description':'Target\x20connection\x20environment','hidden':!![]},{'name':a216_0x5cad00(0x166),'meowKey':a216_0x5cad00(0x166),'type':'boolean','description':a216_0x5cad00(0xf8),'hidden':!![]},{'name':a216_0x5cad00(0x172),'meowKey':a216_0x5cad00(0x172),'type':'string','description':a216_0x5cad00(0x135),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a216_0x5cad00(0x136),a216_0x5cad00(0x155),a216_0x5cad00(0x146),a216_0x5cad00(0x16a),'jq',a216_0x5cad00(0x13e),'yes','non-interactive','ci']);export function buildMeowFlags(){const _0x54c340=a216_0x5cad00;return Object[_0x54c340(0x11d)](GLOBAL_FLAGS[_0x54c340(0x125)](_0x533c3c=>[_0x533c3c[_0x54c340(0xf3)],{'type':_0x533c3c[_0x54c340(0x156)]}]));}
1
+ const a216_0x2143f3=a216_0x5b5d;(function(_0x31b8eb,_0x5b56e8){const _0x212bbc=a216_0x5b5d,_0x5ee4d1=_0x31b8eb();while(!![]){try{const _0x13506a=parseInt(_0x212bbc(0xfe))/0x1*(parseInt(_0x212bbc(0xe5))/0x2)+-parseInt(_0x212bbc(0x164))/0x3+parseInt(_0x212bbc(0x121))/0x4+-parseInt(_0x212bbc(0x14b))/0x5*(parseInt(_0x212bbc(0x12a))/0x6)+-parseInt(_0x212bbc(0xde))/0x7*(-parseInt(_0x212bbc(0x155))/0x8)+-parseInt(_0x212bbc(0x106))/0x9+parseInt(_0x212bbc(0xe2))/0xa*(parseInt(_0x212bbc(0x102))/0xb);if(_0x13506a===_0x5b56e8)break;else _0x5ee4d1['push'](_0x5ee4d1['shift']());}catch(_0x1b977c){_0x5ee4d1['push'](_0x5ee4d1['shift']());}}}(a216_0x22ef,0x7e17b));function a216_0x22ef(){const _0xcbf66=['target','description-file','dryRun','7CLrZdQ','Maximum\x20search\x20hits','targetEnv','appcode','670vwGgTH','Watch\x20mode','sql-name','2JKRXVz','Schemas','operation','sqlcode','global','expectPath','functionNode','Description\x20file','env','Tags','expected-count','boolean','zh-CN\x20|\x20en-US','Confirm\x20destructive\x20action','skipImports','output','dry-run','page','confirm','JSON\x20params','Asynchronous\x20task\x20ID','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','topk','sqlname','target-env','473461qLsDNV','Force\x20non-interactive\x20mode\x20(CI)','dbId','title','5093ObXTQm','Use\x20global\x20config\x20scope','value','DB\x20ID','8682633AfZjuc','parentId','Menu\x20sort\x20value','map','SQL\x20string','pagesize','Comma-separated\x20metadata\x20codes','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Operation\x20type','stdin','<expr>','yes','query','Select\x20app\x20profile\x20by\x20name','nonInteractive','code','Target\x20connection\x20environment','operation-type','remote','help','keyword','Description','Record\x20ID','format','Use\x20project\x20config\x20scope','production\x20|\x20daily','<name>','3402200CeYMwz','non-interactive','descriptionFile','app','Force\x20overwrite','datasetcode','Config\x20key','Rabetbase\x20CLI','Read\x20value\x20from\x20environment\x20variable','1902nIyXPP','Menu\x20label','task-id','expectParentId','Config\x20value','Show\x20help','expect-path','Title','menuIds','rabetbase','expect-parent-id','all','Page\x20number','@lovrabet/rabetbase-cli','watch','description','locale','sql','enable-bff-save','Alias\x20for\x20--non-interactive','fromEnv','force','sort','project','Preview\x20operation\x20without\x20executing','meowKey','verbose','taskId','type','File\x20path','Enable\x20Backend\x20Function\x20save','Name','Expected\x20current\x20parent\x20menu\x20id','13385qdNauE','dbid','Reveal\x20sensitive\x20value','Skip\x20import\x20generation','Use\x20remote','Environment','SQL\x20code','label','file','expectedCount','8026328MTlbTt','codes','key','direct','expected-children-count','reveal','json\x20|\x20pretty\x20|\x20compress','tags','Keyword\x20filter','operationType','menu-ids','params','Dataset\x20code','Skip\x20confirmation\x20for\x20high-risk\x20writes','expectedChildrenCount','85506WeMkQY','schemas','Apply\x20to\x20all','string','Page\x20size','parent-id','name','Search\x20query','SQL\x20name','sqlName'];a216_0x22ef=function(){return _0xcbf66;};return a216_0x22ef();}export const CLI_BIN_NAME=a216_0x2143f3(0x133);export const CLI_DISPLAY_NAME=a216_0x2143f3(0x128);export const NPM_PACKAGE_NAME=a216_0x2143f3(0x137);export const GLOBAL_FLAGS=[{'name':a216_0x2143f3(0xe1),'meowKey':a216_0x2143f3(0xe1),'type':a216_0x2143f3(0x167),'description':'Override\x20appcode','hint':'<code>'},{'name':a216_0x2143f3(0x124),'meowKey':'app','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x113),'hint':a216_0x2143f3(0x120)},{'name':a216_0x2143f3(0xed),'meowKey':'env','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x150),'hint':a216_0x2143f3(0x11f)},{'name':'format','meowKey':a216_0x2143f3(0x11d),'type':'string','description':'Output\x20format','hint':a216_0x2143f3(0x15b)},{'name':'jq','meowKey':'jq','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x10d),'hint':a216_0x2143f3(0x110)},{'name':a216_0x2143f3(0xf5),'meowKey':a216_0x2143f3(0xdd),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x142)},{'name':a216_0x2143f3(0x111),'meowKey':a216_0x2143f3(0x111),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x162)},{'name':a216_0x2143f3(0x122),'meowKey':a216_0x2143f3(0x114),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0xff)},{'name':a216_0x2143f3(0xe9),'meowKey':a216_0x2143f3(0xe9),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x103)},{'name':a216_0x2143f3(0x141),'meowKey':'project','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x11e)},{'name':'ci','meowKey':'ci','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x13d),'hidden':!![]},{'name':a216_0x2143f3(0x119),'meowKey':a216_0x2143f3(0x119),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x12f)},{'name':a216_0x2143f3(0x13a),'meowKey':a216_0x2143f3(0x13a),'type':'string','description':a216_0x2143f3(0xfa),'hidden':!![],'hint':a216_0x2143f3(0xf1)},{'name':a216_0x2143f3(0x16a),'meowKey':'name','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x149),'hidden':!![]},{'name':'title','meowKey':a216_0x2143f3(0x101),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x131),'hidden':!![]},{'name':a216_0x2143f3(0x112),'meowKey':a216_0x2143f3(0x112),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xd8),'hidden':!![]},{'name':a216_0x2143f3(0xfb),'meowKey':a216_0x2143f3(0xfb),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xdf),'hidden':!![]},{'name':'clear','meowKey':'clear','type':a216_0x2143f3(0xf0),'description':'Clear','hidden':!![]},{'name':a216_0x2143f3(0x138),'meowKey':a216_0x2143f3(0x138),'type':'boolean','description':a216_0x2143f3(0xe3),'hidden':!![]},{'name':a216_0x2143f3(0xf4),'meowKey':a216_0x2143f3(0xf4),'type':a216_0x2143f3(0x167),'description':'Output\x20path','hidden':!![]},{'name':a216_0x2143f3(0x160),'meowKey':a216_0x2143f3(0x160),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xf8),'hidden':!![]},{'name':a216_0x2143f3(0x126),'meowKey':a216_0x2143f3(0x126),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x161),'hidden':!![]},{'name':a216_0x2143f3(0x135),'meowKey':'all','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x166),'hidden':!![]},{'name':a216_0x2143f3(0x13c),'meowKey':'enableBffSave','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x148),'hidden':!![]},{'name':'id','meowKey':'id','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x11c),'hidden':!![]},{'name':a216_0x2143f3(0x146),'meowKey':'type','type':a216_0x2143f3(0x167),'description':'Type\x20filter','hidden':!![]},{'name':a216_0x2143f3(0x153),'meowKey':a216_0x2143f3(0x153),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x147),'hidden':!![]},{'name':a216_0x2143f3(0xe8),'meowKey':a216_0x2143f3(0xe8),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x151),'hidden':!![]},{'name':a216_0x2143f3(0xe4),'meowKey':a216_0x2143f3(0xda),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xd9),'hidden':!![]},{'name':a216_0x2143f3(0xfc),'meowKey':a216_0x2143f3(0xfc),'type':'string','description':a216_0x2143f3(0xd9),'hidden':!![]},{'name':'db-id','meowKey':a216_0x2143f3(0x100),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x105),'hidden':!![]},{'name':a216_0x2143f3(0x14c),'meowKey':a216_0x2143f3(0x14c),'type':'string','description':'DB\x20ID','hidden':!![]},{'name':a216_0x2143f3(0x139),'meowKey':a216_0x2143f3(0x139),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x11b),'hidden':!![]},{'name':a216_0x2143f3(0xdc),'meowKey':a216_0x2143f3(0x123),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xec),'hidden':!![]},{'name':a216_0x2143f3(0xf6),'meowKey':a216_0x2143f3(0xf6),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x136),'hidden':!![]},{'name':a216_0x2143f3(0x10b),'meowKey':a216_0x2143f3(0x10b),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x168),'hidden':!![]},{'name':'keyword','meowKey':a216_0x2143f3(0x11a),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x15d),'hidden':!![]},{'name':a216_0x2143f3(0x115),'meowKey':a216_0x2143f3(0x115),'type':a216_0x2143f3(0x167),'description':'Code\x20filter','hidden':!![]},{'name':a216_0x2143f3(0x13b),'meowKey':a216_0x2143f3(0x13b),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x10a),'hidden':!![]},{'name':a216_0x2143f3(0x165),'meowKey':a216_0x2143f3(0x165),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xe6),'hidden':!![]},{'name':a216_0x2143f3(0xe7),'meowKey':'operation','type':'string','description':'Operation\x20type','hidden':!![]},{'name':a216_0x2143f3(0xdb),'meowKey':'target','type':'string','description':'Target\x20path','hidden':!![]},{'name':'skip-imports','meowKey':a216_0x2143f3(0xf3),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x14e),'hidden':!![]},{'name':'key','meowKey':a216_0x2143f3(0x157),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x127),'hidden':!![]},{'name':'value','meowKey':a216_0x2143f3(0x104),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x12e),'hidden':!![]},{'name':a216_0x2143f3(0x15c),'meowKey':a216_0x2143f3(0x15c),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xee),'hidden':!![]},{'name':a216_0x2143f3(0x10f),'meowKey':a216_0x2143f3(0x10f),'type':a216_0x2143f3(0xf0),'description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':'from-env','meowKey':a216_0x2143f3(0x13e),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x129),'hidden':!![]},{'name':a216_0x2143f3(0x15a),'meowKey':'reveal','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x14d),'hidden':!![]},{'name':a216_0x2143f3(0x13f),'meowKey':a216_0x2143f3(0x13f),'type':'boolean','description':a216_0x2143f3(0x125),'hidden':!![]},{'name':a216_0x2143f3(0xf7),'meowKey':a216_0x2143f3(0xf7),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0xf2),'hidden':!![]},{'name':a216_0x2143f3(0x118),'meowKey':a216_0x2143f3(0x118),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x14f),'hidden':!![]},{'name':a216_0x2143f3(0x144),'meowKey':a216_0x2143f3(0x144),'type':a216_0x2143f3(0xf0),'description':'Verbose\x20output','hidden':!![]},{'name':a216_0x2143f3(0xef),'meowKey':a216_0x2143f3(0x154),'type':a216_0x2143f3(0x167),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':'label','meowKey':a216_0x2143f3(0x152),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x12b),'hidden':!![]},{'name':a216_0x2143f3(0x169),'meowKey':a216_0x2143f3(0x107),'type':a216_0x2143f3(0x167),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a216_0x2143f3(0x140),'meowKey':a216_0x2143f3(0x140),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x108),'hidden':!![]},{'name':a216_0x2143f3(0x134),'meowKey':a216_0x2143f3(0x12d),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x14a),'hidden':!![]},{'name':a216_0x2143f3(0x130),'meowKey':a216_0x2143f3(0xea),'type':a216_0x2143f3(0x167),'description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a216_0x2143f3(0x159),'meowKey':a216_0x2143f3(0x163),'type':a216_0x2143f3(0x167),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a216_0x2143f3(0x15f),'meowKey':a216_0x2143f3(0x132),'type':'string','description':'Comma-separated\x20menu\x20IDs','hidden':!![]},{'name':a216_0x2143f3(0x12c),'meowKey':a216_0x2143f3(0x145),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xf9),'hidden':!![]},{'name':a216_0x2143f3(0x117),'meowKey':a216_0x2143f3(0x15e),'type':'string','description':a216_0x2143f3(0x10e),'hidden':!![]},{'name':'function-node','meowKey':a216_0x2143f3(0xeb),'type':a216_0x2143f3(0x167),'description':'Function\x20node','hidden':!![]},{'name':a216_0x2143f3(0xfd),'meowKey':a216_0x2143f3(0xe0),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x116),'hidden':!![]},{'name':a216_0x2143f3(0x158),'meowKey':a216_0x2143f3(0x158),'type':a216_0x2143f3(0xf0),'description':'Use\x20the\x20base\x20database\x20connection','hidden':!![]},{'name':a216_0x2143f3(0x156),'meowKey':a216_0x2143f3(0x156),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x10c),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a216_0x2143f3(0xe1),a216_0x2143f3(0x124),a216_0x2143f3(0xed),'format','jq',a216_0x2143f3(0xf5),'yes','non-interactive','ci']);function a216_0x5b5d(_0x37e3a2,_0x2d52ae){_0x37e3a2=_0x37e3a2-0xd8;const _0x22ef7d=a216_0x22ef();let _0x5b5d1a=_0x22ef7d[_0x37e3a2];return _0x5b5d1a;}export function buildMeowFlags(){const _0x265a9b=a216_0x2143f3;return Object['fromEntries'](GLOBAL_FLAGS[_0x265a9b(0x109)](_0x515cb0=>[_0x515cb0[_0x265a9b(0x143)],{'type':_0x515cb0[_0x265a9b(0x146)]}]));}
@@ -1 +1 @@
1
- const a217_0x28c8fa=a217_0x5db9;(function(_0x40da4a,_0x5779ea){const _0x3a0206=a217_0x5db9,_0x4bc23b=_0x40da4a();while(!![]){try{const _0x117e3b=parseInt(_0x3a0206(0x186))/0x1*(-parseInt(_0x3a0206(0x17f))/0x2)+-parseInt(_0x3a0206(0x184))/0x3*(-parseInt(_0x3a0206(0x17d))/0x4)+-parseInt(_0x3a0206(0x183))/0x5*(parseInt(_0x3a0206(0x185))/0x6)+-parseInt(_0x3a0206(0x17a))/0x7+parseInt(_0x3a0206(0x180))/0x8*(-parseInt(_0x3a0206(0x182))/0x9)+parseInt(_0x3a0206(0x17c))/0xa+parseInt(_0x3a0206(0x17b))/0xb;if(_0x117e3b===_0x5779ea)break;else _0x4bc23b['push'](_0x4bc23b['shift']());}catch(_0x1fb5c0){_0x4bc23b['push'](_0x4bc23b['shift']());}}}(a217_0x1728,0xe63cd));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a217_0x28c8fa(0x17e),'format':a217_0x28c8fa(0x181),'locale':'en-US','riskLevel':a217_0x28c8fa(0x179),'apiDir':DEFAULT_API_DIR};function a217_0x1728(){const _0xb9f90c=['20mTrfLl','6bAAJRv','225462VzxKSM','78671fhFHbU','write','11553843Tqebst','27125483pRTZce','13033400lbZEuz','3232712FAtGWE','production','28qGUcJi','12322760KblraN','compress','9zncCyz'];a217_0x1728=function(){return _0xb9f90c;};return a217_0x1728();}function a217_0x5db9(_0x167297,_0xdbfd1c){_0x167297=_0x167297-0x179;const _0x1728b9=a217_0x1728();let _0x5db97d=_0x1728b9[_0x167297];return _0x5db97d;}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a217_0x28c8fa(0x181);
1
+ function a217_0x5755(_0x4b6558,_0x565df3){_0x4b6558=_0x4b6558-0x1c9;const _0x2580cb=a217_0x2580();let _0x575594=_0x2580cb[_0x4b6558];return _0x575594;}const a217_0x56de83=a217_0x5755;(function(_0x2eb88b,_0x3b0f2e){const _0x4b1e1b=a217_0x5755,_0x591988=_0x2eb88b();while(!![]){try{const _0x510305=parseInt(_0x4b1e1b(0x1d2))/0x1*(parseInt(_0x4b1e1b(0x1d5))/0x2)+-parseInt(_0x4b1e1b(0x1c9))/0x3+-parseInt(_0x4b1e1b(0x1ca))/0x4*(-parseInt(_0x4b1e1b(0x1d7))/0x5)+-parseInt(_0x4b1e1b(0x1d3))/0x6+parseInt(_0x4b1e1b(0x1cb))/0x7*(parseInt(_0x4b1e1b(0x1ce))/0x8)+parseInt(_0x4b1e1b(0x1cf))/0x9+parseInt(_0x4b1e1b(0x1d0))/0xa*(-parseInt(_0x4b1e1b(0x1d4))/0xb);if(_0x510305===_0x3b0f2e)break;else _0x591988['push'](_0x591988['shift']());}catch(_0x54849f){_0x591988['push'](_0x591988['shift']());}}}(a217_0x2580,0xc9137));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a217_0x56de83(0x1d1),'format':'compress','locale':a217_0x56de83(0x1d6),'riskLevel':a217_0x56de83(0x1cd),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a217_0x56de83(0x1cc);function a217_0x2580(){const _0x1976b9=['1155642TxcifF','3205084tknadZ','346444qSMrCS','compress','write','184QaFIXr','3279051WJMrya','9353420yDnFpt','production','852227MKXSFA','5267514jNLPgj','22ofQnnh','2MHlvmD','en-US','10bQiOEN'];a217_0x2580=function(){return _0x1976b9;};return a217_0x2580();}
@@ -9,6 +9,7 @@ export declare function initDomains(domains?: {
9
9
  runtimeDomain?: string;
10
10
  skillDomain?: string;
11
11
  kbDomain?: string;
12
+ kbSearchDomain?: string;
12
13
  appDomain?: string;
13
14
  localDomain?: string;
14
15
  certificateDomain?: string;
@@ -19,6 +20,7 @@ export declare const getApiDomain: () => string;
19
20
  export declare const getRuntimeDomain: () => string;
20
21
  export declare const getSkillDomain: () => string;
21
22
  export declare const getKbDomain: () => string;
23
+ export declare function getKbSearchDomain(): string;
22
24
  export declare const getAppDomain: () => string;
23
25
  export declare const getActiveRegion: () => "global" | "id" | "cn";
24
26
  export declare const getLocalDomain: () => string | undefined;
@@ -1 +1 @@
1
- const a218_0x323d44=a218_0x515b;(function(_0x35e523,_0x549aaf){const _0x51b443=a218_0x515b,_0x41a0b0=_0x35e523();while(!![]){try{const _0x5e25a3=parseInt(_0x51b443(0x185))/0x1*(parseInt(_0x51b443(0x180))/0x2)+-parseInt(_0x51b443(0x18d))/0x3*(-parseInt(_0x51b443(0x178))/0x4)+parseInt(_0x51b443(0x182))/0x5*(parseInt(_0x51b443(0x184))/0x6)+-parseInt(_0x51b443(0x17a))/0x7+parseInt(_0x51b443(0x188))/0x8+-parseInt(_0x51b443(0x189))/0x9*(parseInt(_0x51b443(0x18a))/0xa)+-parseInt(_0x51b443(0x17b))/0xb;if(_0x5e25a3===_0x549aaf)break;else _0x41a0b0['push'](_0x41a0b0['shift']());}catch(_0x204eb4){_0x41a0b0['push'](_0x41a0b0['shift']());}}}(a218_0x489b,0xb7a39));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x45f522=a218_0x515b,_0x136d59=getOfficialRoutingProfile(activeRegion);return _0x136d59[_0x45f522(0x18e)][isProduction(getEnv())?_0x45f522(0x187):'preview'];}export function initDomains(_0x590ed6){const _0x5db555=a218_0x515b;customApiDomain=_0x590ed6?.['apiDomain'],customUserDomain=_0x590ed6?.['userDomain'],customRuntimeDomain=_0x590ed6?.['runtimeDomain'],customSkillDomain=_0x590ed6?.[_0x5db555(0x17c)],customKbDomain=_0x590ed6?.[_0x5db555(0x179)],customAppDomain=_0x590ed6?.[_0x5db555(0x17f)],customLocalDomain=_0x590ed6?.['localDomain'],customCertificateDomain=_0x590ed6?.['certificateDomain'],activeRegion=_0x590ed6?.[_0x5db555(0x18c)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a218_0x323d44(0x18b)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a218_0x323d44(0x18f)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a218_0x323d44(0x186)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a218_0x323d44(0x17d)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()['app'];function a218_0x489b(){const _0x21b625=['344488IdVHbs','2515626AEeiVf','20vxxhGe','user','region','3mLRVWV','serviceDomains','api','hostname','origin','2697196qLCScu','kbDomain','262962ovmPcA','16796274EgaJmS','skillDomain','skill','/app/','appDomain','1310fGVSSv','trim','2662895QImIbL','global','12DuQGiG','1669sRCyqe','runtime','primary'];a218_0x489b=function(){return _0x21b625;};return a218_0x489b();}export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x5ef6af=a218_0x323d44;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion==='id')return{'region':'id'};if(activeRegion===_0x5ef6af(0x183))return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x3ac69f=>{const _0x27ed5b=a218_0x323d44,_0x9cc99a=encodeURIComponent(_0x3ac69f[_0x27ed5b(0x181)]());return isProduction(getEnv())?getAppDomain()+_0x27ed5b(0x17e)+_0x9cc99a:getAppDomain()+'/web-app/app/'+_0x9cc99a;};function a218_0x515b(_0x36b8e1,_0x1079c3){_0x36b8e1=_0x36b8e1-0x177;const _0x489b70=a218_0x489b();let _0x515b11=_0x489b70[_0x36b8e1];return _0x515b11;}export const getPublishedAppDomain=_0x4fec37=>{const _0x4a9168=a218_0x323d44,_0x20eb2f=new URL(getAppDomain());return _0x20eb2f['hostname']=_0x4fec37['trim']()+'.'+_0x20eb2f[_0x4a9168(0x190)],_0x20eb2f[_0x4a9168(0x177)];};
1
+ const a218_0x2969bd=a218_0x54f3;(function(_0x57e07d,_0x39bcac){const _0x86db0a=a218_0x54f3,_0x2c1921=_0x57e07d();while(!![]){try{const _0x5a9ab3=-parseInt(_0x86db0a(0x126))/0x1*(-parseInt(_0x86db0a(0x12b))/0x2)+parseInt(_0x86db0a(0x130))/0x3+parseInt(_0x86db0a(0x137))/0x4*(-parseInt(_0x86db0a(0x131))/0x5)+parseInt(_0x86db0a(0x132))/0x6+parseInt(_0x86db0a(0x123))/0x7+-parseInt(_0x86db0a(0x134))/0x8*(-parseInt(_0x86db0a(0x11f))/0x9)+-parseInt(_0x86db0a(0x12a))/0xa;if(_0x5a9ab3===_0x39bcac)break;else _0x2c1921['push'](_0x2c1921['shift']());}catch(_0x1127f1){_0x2c1921['push'](_0x2c1921['shift']());}}}(a218_0x3306,0xbd08b));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';function a218_0x54f3(_0x272155,_0x40f5fb){_0x272155=_0x272155-0x11b;const _0x330600=a218_0x3306();let _0x54f32b=_0x330600[_0x272155];return _0x54f32b;}import{CliErrors}from'../errors.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbSearchDomain,customAppDomain,customLocalDomain,customCertificateDomain,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x36b823=a218_0x54f3,_0x5f4152=getOfficialRoutingProfile(activeRegion);return _0x5f4152[_0x36b823(0x11c)][isProduction(getEnv())?_0x36b823(0x12e):'preview'];}export function initDomains(_0x3fc56d){const _0x8996d=a218_0x54f3;customApiDomain=_0x3fc56d?.['apiDomain'],customUserDomain=_0x3fc56d?.['userDomain'],customRuntimeDomain=_0x3fc56d?.[_0x8996d(0x11e)],customSkillDomain=_0x3fc56d?.[_0x8996d(0x12f)],customKbDomain=_0x3fc56d?.[_0x8996d(0x129)],customKbSearchDomain=_0x3fc56d?.['kbSearchDomain'],customAppDomain=_0x3fc56d?.[_0x8996d(0x122)],customLocalDomain=_0x3fc56d?.['localDomain'],customCertificateDomain=_0x3fc56d?.[_0x8996d(0x139)],activeRegion=_0x3fc56d?.[_0x8996d(0x121)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a218_0x2969bd(0x120)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a218_0x2969bd(0x133)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a218_0x2969bd(0x136)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export function getKbSearchDomain(){const _0x47b2d1=a218_0x2969bd;if(customKbSearchDomain)return customKbSearchDomain;if(activeRegion==='cn')return isProduction(getEnv())?_0x47b2d1(0x12c):_0x47b2d1(0x11d);throw CliErrors[_0x47b2d1(0x135)]('Knowledge\x20search\x20is\x20not\x20registered\x20for\x20region\x20\x22'+activeRegion+'\x22.',_0x47b2d1(0x13a));}export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a218_0x2969bd(0x11b)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customKbSearchDomain||customAppDomain||customLocalDomain||customCertificateDomain);}function a218_0x3306(){const _0x44f24b=['trim','/web-app/app/','33tFuRSo','/app/','hostname','kbDomain','5344070nvYIew','69226qAQjIv','https://kb-service.lovrabet.com','origin','primary','skillDomain','635334SwjHcK','10ZPuFwS','2119602dqUOlD','api','169320wsVqml','validation','runtime','3056512JMQXQG','global','certificateDomain','Configure\x20an\x20explicit\x20kbSearchDomain\x20for\x20an\x20independent\x20deployment.','app','serviceDomains','https://kb-service-daily.lovrabet.com','runtimeDomain','117TtPvEv','user','region','appDomain','5981689NQhirk'];a218_0x3306=function(){return _0x44f24b;};return a218_0x3306();}export function getSdkClientRoutingConfig(){const _0x3c3b5e=a218_0x2969bd;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x3c3b5e(0x136)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion==='id')return{'region':'id'};if(activeRegion===_0x3c3b5e(0x138))return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x555e54=>{const _0x5454d0=a218_0x2969bd,_0x5a5b7a=encodeURIComponent(_0x555e54[_0x5454d0(0x124)]());return isProduction(getEnv())?getAppDomain()+_0x5454d0(0x127)+_0x5a5b7a:getAppDomain()+_0x5454d0(0x125)+_0x5a5b7a;};export const getPublishedAppDomain=_0x3deb5f=>{const _0x486943=a218_0x2969bd,_0x4e097e=new URL(getAppDomain());return _0x4e097e[_0x486943(0x128)]=_0x3deb5f[_0x486943(0x124)]()+'.'+_0x4e097e['hostname'],_0x4e097e[_0x486943(0x12d)];};
@@ -1 +1 @@
1
- const a219_0x146f02=a219_0x252a;(function(_0x2f56fb,_0x21cb1c){const _0xba4dca=a219_0x252a,_0x1c6838=_0x2f56fb();while(!![]){try{const _0x45790a=-parseInt(_0xba4dca(0x101))/0x1*(-parseInt(_0xba4dca(0x102))/0x2)+parseInt(_0xba4dca(0xfd))/0x3+parseInt(_0xba4dca(0x103))/0x4+-parseInt(_0xba4dca(0xfc))/0x5*(-parseInt(_0xba4dca(0x100))/0x6)+-parseInt(_0xba4dca(0xfb))/0x7+-parseInt(_0xba4dca(0x105))/0x8+parseInt(_0xba4dca(0xfa))/0x9*(-parseInt(_0xba4dca(0xf9))/0xa);if(_0x45790a===_0x21cb1c)break;else _0x1c6838['push'](_0x1c6838['shift']());}catch(_0x2504b8){_0x1c6838['push'](_0x1c6838['shift']());}}}(a219_0x1357,0x221e2));function a219_0x1357(){const _0x47b315=['162gdlgxf','7BnjNio','13174dojOtR','999224PPpkcJ','development','446512hYJXko','10zNcxPX','3961476MIlbhJ','1005123yVIJKy','47925OIZlev','673809BGSGAv','production','dev'];a219_0x1357=function(){return _0x47b315;};return a219_0x1357();}export const RABETBASE_ENV_VALUES=[a219_0x146f02(0xfe),'daily'];export function normalizeEnv(_0x35851c){const _0x4e1492=a219_0x146f02;return _0x35851c==='online'?_0x4e1492(0xfe):_0x35851c;}export function isProduction(_0xb86332){return normalizeEnv(_0xb86332)==='production';}export function isDaily(_0x4ef6d5){return normalizeEnv(_0x4ef6d5)==='daily';}export function isDev(_0x4e729f){const _0x4a8296=a219_0x146f02,_0x16c6b2=normalizeEnv(_0x4e729f);return _0x16c6b2===_0x4a8296(0x104)||_0x16c6b2===_0x4a8296(0xff);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}function a219_0x252a(_0x223b07,_0xe2a992){_0x223b07=_0x223b07-0xf9;const _0x1357d1=a219_0x1357();let _0x252a50=_0x1357d1[_0x223b07];return _0x252a50;}export function initEnv(_0x25cabf){env=normalizeEnv(_0x25cabf);}
1
+ const a219_0xc8a83b=a219_0x5bf4;(function(_0x2f466b,_0x243bd6){const _0x31dac8=a219_0x5bf4,_0x31225a=_0x2f466b();while(!![]){try{const _0x552b19=parseInt(_0x31dac8(0x1e8))/0x1+-parseInt(_0x31dac8(0x1e0))/0x2+parseInt(_0x31dac8(0x1e5))/0x3*(parseInt(_0x31dac8(0x1dd))/0x4)+-parseInt(_0x31dac8(0x1e9))/0x5*(parseInt(_0x31dac8(0x1e6))/0x6)+-parseInt(_0x31dac8(0x1e7))/0x7*(-parseInt(_0x31dac8(0x1dc))/0x8)+-parseInt(_0x31dac8(0x1ea))/0x9*(parseInt(_0x31dac8(0x1e3))/0xa)+-parseInt(_0x31dac8(0x1df))/0xb*(parseInt(_0x31dac8(0x1e1))/0xc);if(_0x552b19===_0x243bd6)break;else _0x31225a['push'](_0x31225a['shift']());}catch(_0x88c91f){_0x31225a['push'](_0x31225a['shift']());}}}(a219_0x327f,0x451ac));export const RABETBASE_ENV_VALUES=[a219_0xc8a83b(0x1eb),a219_0xc8a83b(0x1e2)];export function normalizeEnv(_0x19f154){const _0x15ef6c=a219_0xc8a83b;return _0x19f154===_0x15ef6c(0x1e4)?_0x15ef6c(0x1eb):_0x19f154;}export function isProduction(_0x2f80e3){const _0x1c7d26=a219_0xc8a83b;return normalizeEnv(_0x2f80e3)===_0x1c7d26(0x1eb);}export function isDaily(_0x83e976){const _0x264eef=a219_0xc8a83b;return normalizeEnv(_0x83e976)===_0x264eef(0x1e2);}export function isDev(_0xf391df){const _0x4fbfd9=a219_0xc8a83b,_0x248195=normalizeEnv(_0xf391df);return _0x248195===_0x4fbfd9(0x1de)||_0x248195==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a219_0xc8a83b(0x1eb));export function getEnv(){return env;}function a219_0x327f(){const _0x3bc276=['135TYfJsE','production','152UBDpZc','172vBOuZV','development','33KzXzEB','941336uVKpie','303192XBidsN','daily','37820AjsNIo','online','27624rEKZbr','165234LCmnWD','65254CIzTvn','340725DBhJri','5bANqjX'];a219_0x327f=function(){return _0x3bc276;};return a219_0x327f();}function a219_0x5bf4(_0x2d8590,_0x451a65){_0x2d8590=_0x2d8590-0x1dc;const _0x327f40=a219_0x327f();let _0x5bf41f=_0x327f40[_0x2d8590];return _0x5bf41f;}export function initEnv(_0xc97205){env=normalizeEnv(_0xc97205);}
@@ -1 +1 @@
1
- const a220_0x16a0b8=a220_0x3b9f;function a220_0x3b87(){const _0x4c76c8=['json','compress','49041MUVuIn','2946070XRhZVa','2cLMCMd','81PqHeRh','822410rHdTXp','13663620YezWYa','952lSRwQo','670aORvHw','127284gtcwTW','6254619irbERO','pretty','4994nrLUIV','6pBeExW'];a220_0x3b87=function(){return _0x4c76c8;};return a220_0x3b87();}(function(_0x4db0f3,_0x4d5493){const _0x1251a2=a220_0x3b9f,_0x40a774=_0x4db0f3();while(!![]){try{const _0x294e24=parseInt(_0x1251a2(0xf1))/0x1*(parseInt(_0x1251a2(0xef))/0x2)+parseInt(_0x1251a2(0xf0))/0x3*(-parseInt(_0x1251a2(0xe6))/0x4)+-parseInt(_0x1251a2(0xee))/0x5*(-parseInt(_0x1251a2(0xea))/0x6)+parseInt(_0x1251a2(0xe7))/0x7+parseInt(_0x1251a2(0xf3))/0x8*(parseInt(_0x1251a2(0xed))/0x9)+parseInt(_0x1251a2(0xe5))/0xa*(parseInt(_0x1251a2(0xe9))/0xb)+-parseInt(_0x1251a2(0xf2))/0xc;if(_0x294e24===_0x4d5493)break;else _0x40a774['push'](_0x40a774['shift']());}catch(_0x52113f){_0x40a774['push'](_0x40a774['shift']());}}}(a220_0x3b87,0xf0c4c));function a220_0x3b9f(_0x22047c,_0x202e26){_0x22047c=_0x22047c-0xe5;const _0x3b8780=a220_0x3b87();let _0x3b9f89=_0x3b8780[_0x22047c];return _0x3b9f89;}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a220_0x16a0b8(0xeb),a220_0x16a0b8(0xe8),a220_0x16a0b8(0xec)];
1
+ const a220_0x3bd8a5=a220_0x4b32;(function(_0x38310a,_0x5ac712){const _0x655bf4=a220_0x4b32,_0x51e138=_0x38310a();while(!![]){try{const _0x143bad=parseInt(_0x655bf4(0x7b))/0x1+-parseInt(_0x655bf4(0x81))/0x2*(-parseInt(_0x655bf4(0x7e))/0x3)+parseInt(_0x655bf4(0x77))/0x4+-parseInt(_0x655bf4(0x84))/0x5*(-parseInt(_0x655bf4(0x7f))/0x6)+-parseInt(_0x655bf4(0x76))/0x7*(parseInt(_0x655bf4(0x78))/0x8)+-parseInt(_0x655bf4(0x83))/0x9*(-parseInt(_0x655bf4(0x79))/0xa)+-parseInt(_0x655bf4(0x82))/0xb*(parseInt(_0x655bf4(0x7c))/0xc);if(_0x143bad===_0x5ac712)break;else _0x51e138['push'](_0x51e138['shift']());}catch(_0x194d45){_0x51e138['push'](_0x51e138['shift']());}}}(a220_0x4e63,0xc4ee0));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a220_0x3bd8a5(0x7d),a220_0x3bd8a5(0x7a),a220_0x3bd8a5(0x80)];function a220_0x4b32(_0x2a5148,_0x3b3daa){_0x2a5148=_0x2a5148-0x76;const _0x4e63f9=a220_0x4e63();let _0x4b32eb=_0x4e63f9[_0x2a5148];return _0x4b32eb;}function a220_0x4e63(){const _0x4848f4=['113710DjZJqU','pretty','1552983JyIHtr','411876afbtge','json','21IUjgtA','6dCdfit','compress','59308PVxcAR','99JmxmMb','45boRoOO','203275iBufxO','16135LrrmLC','1695160xNCCTH','4048bRBwRK'];a220_0x4e63=function(){return _0x4848f4;};return a220_0x4e63();}
@@ -1 +1 @@
1
- function a221_0x4a2a(_0x27416e,_0x157e4e){_0x27416e=_0x27416e-0x1a2;const _0x56aaef=a221_0x56aa();let _0x4a2afd=_0x56aaef[_0x27416e];return _0x4a2afd;}function a221_0x56aa(){const _0x15a965=['42MTTxqK','1972720EFZuGd','4442VcpLps','696ZWIaqL','46486SMBqZE','17409xabKRz','./src/api','6214113BizTAp','8zQEYVI','783850UaURfj','5980TJnMXB','574389BFeyFZ'];a221_0x56aa=function(){return _0x15a965;};return a221_0x56aa();}const a221_0xe52b24=a221_0x4a2a;(function(_0x337816,_0xca2670){const _0x286e06=a221_0x4a2a,_0x2fd14b=_0x337816();while(!![]){try{const _0x45d951=-parseInt(_0x286e06(0x1a4))/0x1*(parseInt(_0x286e06(0x1a6))/0x2)+-parseInt(_0x286e06(0x1a3))/0x3+-parseInt(_0x286e06(0x1a5))/0x4+-parseInt(_0x286e06(0x1ad))/0x5+parseInt(_0x286e06(0x1a7))/0x6*(-parseInt(_0x286e06(0x1a9))/0x7)+-parseInt(_0x286e06(0x1ac))/0x8*(parseInt(_0x286e06(0x1ab))/0x9)+-parseInt(_0x286e06(0x1a2))/0xa*(-parseInt(_0x286e06(0x1a8))/0xb);if(_0x45d951===_0xca2670)break;else _0x2fd14b['push'](_0x2fd14b['shift']());}catch(_0xbe7b0a){_0x2fd14b['push'](_0x2fd14b['shift']());}}}(a221_0x56aa,0x95c80));export const DEFAULT_API_DIR=a221_0xe52b24(0x1aa);
1
+ function a221_0x1788(_0x489cfc,_0x54e294){_0x489cfc=_0x489cfc-0x127;const _0x20dff3=a221_0x20df();let _0x178823=_0x20dff3[_0x489cfc];return _0x178823;}function a221_0x20df(){const _0x1b1e1f=['319847KxZIXD','13221DMPLTy','474kbSSpe','540741DZysvJ','./src/api','322730hjuMZn','408DCAfLZ','78466dcbqJg','33278heUVsL','1592840FBXKXy','6tNgBcJ','3940jhiQRB','8ZMnloI'];a221_0x20df=function(){return _0x1b1e1f;};return a221_0x20df();}const a221_0x7358c6=a221_0x1788;(function(_0x4a11a0,_0xd4146b){const _0x2b5394=a221_0x1788,_0x31562e=_0x4a11a0();while(!![]){try{const _0x10406b=-parseInt(_0x2b5394(0x130))/0x1*(parseInt(_0x2b5394(0x12d))/0x2)+parseInt(_0x2b5394(0x129))/0x3*(parseInt(_0x2b5394(0x132))/0x4)+parseInt(_0x2b5394(0x12b))/0x5+parseInt(_0x2b5394(0x128))/0x6*(-parseInt(_0x2b5394(0x12e))/0x7)+parseInt(_0x2b5394(0x12f))/0x8+parseInt(_0x2b5394(0x127))/0x9*(-parseInt(_0x2b5394(0x131))/0xa)+-parseInt(_0x2b5394(0x133))/0xb*(-parseInt(_0x2b5394(0x12c))/0xc);if(_0x10406b===_0xd4146b)break;else _0x31562e['push'](_0x31562e['shift']());}catch(_0x5323b1){_0x31562e['push'](_0x31562e['shift']());}}}(a221_0x20df,0x67465));export const DEFAULT_API_DIR=a221_0x7358c6(0x12a);
@@ -1 +1 @@
1
- (function(_0x41eda2,_0x192991){const _0x2bbad2=a222_0x2e56,_0x2f3954=_0x41eda2();while(!![]){try{const _0xfb15e4=-parseInt(_0x2bbad2(0x1fc))/0x1+parseInt(_0x2bbad2(0x1f7))/0x2*(parseInt(_0x2bbad2(0x1fa))/0x3)+-parseInt(_0x2bbad2(0x1fb))/0x4*(-parseInt(_0x2bbad2(0x1fe))/0x5)+parseInt(_0x2bbad2(0x1f5))/0x6+parseInt(_0x2bbad2(0x1fd))/0x7+-parseInt(_0x2bbad2(0x1f2))/0x8+-parseInt(_0x2bbad2(0x1f3))/0x9;if(_0xfb15e4===_0x192991)break;else _0x2f3954['push'](_0x2f3954['shift']());}catch(_0x29ddb2){_0x2f3954['push'](_0x2f3954['shift']());}}}(a222_0x35bd,0x62d48));export const LOVRABET_REGION_VALUES=['cn','id','global'];export const ENABLED_LOVRABET_REGION_VALUES=['cn','id'];export const DEFAULT_LOVRABET_REGION='cn';export function isLovrabetRegion(_0x5beaf9){const _0x5b9e34=a222_0x2e56;return typeof _0x5beaf9===_0x5b9e34(0x1f8)&&LOVRABET_REGION_VALUES['includes'](_0x5beaf9);}export function isEnabledLovrabetRegion(_0x6ae13){const _0x235d9a=a222_0x2e56;return typeof _0x6ae13===_0x235d9a(0x1f8)&&ENABLED_LOVRABET_REGION_VALUES[_0x235d9a(0x1f4)](_0x6ae13);}function a222_0x2e56(_0x21449a,_0x50755a){_0x21449a=_0x21449a-0x1f2;const _0x35bd31=a222_0x35bd();let _0x2e56bf=_0x35bd31[_0x21449a];return _0x2e56bf;}export function normalizeLovrabetRegion(_0x25a6ec){const _0x22a461=a222_0x2e56;if(_0x25a6ec===_0x22a461(0x1f9))return'cn';if(_0x25a6ec===_0x22a461(0x1f6))return'id';return isLovrabetRegion(_0x25a6ec)?_0x25a6ec:DEFAULT_LOVRABET_REGION;}function a222_0x35bd(){const _0xe1d21c=['1698208VJlyYX','322940NAVkdL','5531862eCwoPZ','5PPyVlX','4292552BAezZk','7947099LyGWet','includes','3298044UGbTET','indonesia','2hKafuA','string','china','1148508mJgwct'];a222_0x35bd=function(){return _0xe1d21c;};return a222_0x35bd();}
1
+ (function(_0x4538ac,_0xc5d2c0){const _0x491b6c=a222_0x2a4f,_0x21c04c=_0x4538ac();while(!![]){try{const _0x286bdd=-parseInt(_0x491b6c(0x82))/0x1+-parseInt(_0x491b6c(0x7d))/0x2*(-parseInt(_0x491b6c(0x7e))/0x3)+parseInt(_0x491b6c(0x7f))/0x4+-parseInt(_0x491b6c(0x85))/0x5*(parseInt(_0x491b6c(0x80))/0x6)+-parseInt(_0x491b6c(0x83))/0x7+-parseInt(_0x491b6c(0x7c))/0x8+parseInt(_0x491b6c(0x86))/0x9;if(_0x286bdd===_0xc5d2c0)break;else _0x21c04c['push'](_0x21c04c['shift']());}catch(_0x2963dd){_0x21c04c['push'](_0x21c04c['shift']());}}}(a222_0x2252,0x8582d));export const LOVRABET_REGION_VALUES=['cn','id','global'];export const ENABLED_LOVRABET_REGION_VALUES=['cn','id'];function a222_0x2a4f(_0x49e5a9,_0x490ae5){_0x49e5a9=_0x49e5a9-0x7c;const _0x2252f1=a222_0x2252();let _0x2a4fc9=_0x2252f1[_0x49e5a9];return _0x2a4fc9;}export const DEFAULT_LOVRABET_REGION='cn';function a222_0x2252(){const _0x476ddf=['4230oozXUK','20414871fjYMRK','2973776ZifIpg','390428TIfpfW','3uQzVec','2347452rnJbEN','6420GsEeCf','includes','471635xoPgSI','5284706eQzejQ','string'];a222_0x2252=function(){return _0x476ddf;};return a222_0x2252();}export function isLovrabetRegion(_0xc8bc74){const _0xad6a00=a222_0x2a4f;return typeof _0xc8bc74===_0xad6a00(0x84)&&LOVRABET_REGION_VALUES[_0xad6a00(0x81)](_0xc8bc74);}export function isEnabledLovrabetRegion(_0x37fdd5){const _0x3b32a1=a222_0x2a4f;return typeof _0x37fdd5===_0x3b32a1(0x84)&&ENABLED_LOVRABET_REGION_VALUES[_0x3b32a1(0x81)](_0x37fdd5);}export function normalizeLovrabetRegion(_0x3ef909){if(_0x3ef909==='china')return'cn';if(_0x3ef909==='indonesia')return'id';return isLovrabetRegion(_0x3ef909)?_0x3ef909:DEFAULT_LOVRABET_REGION;}
@@ -1 +1 @@
1
- const a223_0x2ae6a1=a223_0x36b8;(function(_0x3273cb,_0x560556){const _0x443f94=a223_0x36b8,_0x351253=_0x3273cb();while(!![]){try{const _0x584f8e=-parseInt(_0x443f94(0x1d6))/0x1+parseInt(_0x443f94(0x1d5))/0x2*(-parseInt(_0x443f94(0x1d8))/0x3)+parseInt(_0x443f94(0x1d7))/0x4*(-parseInt(_0x443f94(0x1d3))/0x5)+parseInt(_0x443f94(0x1d1))/0x6+parseInt(_0x443f94(0x1db))/0x7+parseInt(_0x443f94(0x1d9))/0x8*(-parseInt(_0x443f94(0x1dd))/0x9)+parseInt(_0x443f94(0x1d4))/0xa;if(_0x584f8e===_0x560556)break;else _0x351253['push'](_0x351253['shift']());}catch(_0x16065a){_0x351253['push'](_0x351253['shift']());}}}(a223_0xc519,0xf297f));function a223_0x36b8(_0x2704a4,_0x2556bd){_0x2704a4=_0x2704a4-0x1d1;const _0xc519d3=a223_0xc519();let _0x36b8fd=_0xc519d3[_0x2704a4];return _0x36b8fd;}function a223_0xc519(){const _0x5daafb=['38446350LhBsmV','2NhRkUg','971496jsKhff','3784892sqDfqA','3233082YPYWmm','640dyhsBa','write','1735335vGLtye','read','26739pDWRQI','805296Tsinjk','high-risk-write','5JpIfxx'];a223_0xc519=function(){return _0x5daafb;};return a223_0xc519();}export const RISK_LEVEL_VALUES=[a223_0x2ae6a1(0x1dc),a223_0x2ae6a1(0x1da),a223_0x2ae6a1(0x1d2)];
1
+ function a223_0x2cc9(_0x2ba30e,_0x41f366){_0x2ba30e=_0x2ba30e-0x1ee;const _0x5fd1f6=a223_0x5fd1();let _0x2cc9b8=_0x5fd1f6[_0x2ba30e];return _0x2cc9b8;}function a223_0x5fd1(){const _0x264de8=['21IsBeDX','1323090HvykTv','1131504kFaAiF','7477812ZaaPkZ','5058ykZJMF','3427JTLLpT','22030nFiNAH','92252NTqmUl','94xCHwVm','7208985uaBylw','high-risk-write'];a223_0x5fd1=function(){return _0x264de8;};return a223_0x5fd1();}const a223_0x32eb7e=a223_0x2cc9;(function(_0x4554d7,_0x13d418){const _0x50ea09=a223_0x2cc9,_0x3f2dab=_0x4554d7();while(!![]){try{const _0x4b7fe6=parseInt(_0x50ea09(0x1ef))/0x1*(-parseInt(_0x50ea09(0x1f2))/0x2)+-parseInt(_0x50ea09(0x1f5))/0x3*(-parseInt(_0x50ea09(0x1f1))/0x4)+-parseInt(_0x50ea09(0x1f6))/0x5+parseInt(_0x50ea09(0x1f8))/0x6+parseInt(_0x50ea09(0x1f3))/0x7+-parseInt(_0x50ea09(0x1f7))/0x8+parseInt(_0x50ea09(0x1ee))/0x9*(-parseInt(_0x50ea09(0x1f0))/0xa);if(_0x4b7fe6===_0x13d418)break;else _0x3f2dab['push'](_0x3f2dab['shift']());}catch(_0x4ecb21){_0x3f2dab['push'](_0x3f2dab['shift']());}}}(a223_0x5fd1,0x9a643));export const RISK_LEVEL_VALUES=['read','write',a223_0x32eb7e(0x1f4)];
@@ -1 +1 @@
1
- const a224_0x56f7e1=a224_0xa636;(function(_0x5c462c,_0x874f14){const _0x453f27=a224_0xa636,_0x4f0c7d=_0x5c462c();while(!![]){try{const _0x274899=parseInt(_0x453f27(0xcd))/0x1+-parseInt(_0x453f27(0xc9))/0x2+-parseInt(_0x453f27(0xb6))/0x3*(-parseInt(_0x453f27(0xbd))/0x4)+-parseInt(_0x453f27(0xb8))/0x5*(parseInt(_0x453f27(0xad))/0x6)+parseInt(_0x453f27(0xb5))/0x7*(-parseInt(_0x453f27(0xb2))/0x8)+-parseInt(_0x453f27(0xb4))/0x9+parseInt(_0x453f27(0xd0))/0xa;if(_0x274899===_0x874f14)break;else _0x4f0c7d['push'](_0x4f0c7d['shift']());}catch(_0x39bfa9){_0x4f0c7d['push'](_0x4f0c7d['shift']());}}}(a224_0x4fc2,0x429c1));function a224_0xa636(_0x2df029,_0x365c88){_0x2df029=_0x2df029-0xab;const _0x4fc2bd=a224_0x4fc2();let _0xa636ba=_0x4fc2bd[_0x2df029];return _0xa636ba;}function a224_0x4fc2(){const _0x142800=['https://user-daily.lovrabet.com','https://daily-api.lovrabet.com','https://skills-daily.lovrabet.ai','https://daily.lovrabet.ai','https://skills.lovrabet.id','108282HeHZVB','https://user.lovrabet.id','https://skills-daily.lovrabet.id','https://daily.lovrabet.id','https://app.lovrabet.com','1214776rLvqMP','https://g.lovrabet.com/cert/lovrabet-dev.json','2249721FEpVBu','21UAcuDv','21xBwtbv','https://user.lovrabet.ai','85vgpCDg','https://api.lovrabet.ai','https://daily.lovrabet.com','https://dev.lovrabet.com','https://runtime.lovrabet.com','127368RluXaj','https://app.lovrabet.ai','https://api.lovrabet.com','Global','https://daily-runtime.lovrabet.ai','https://user-daily.lovrabet.id','https://daily-runtime.lovrabet.id','https://daily-api.lovrabet.ai','https://skills.lovrabet.com','https://dev.lovrabet.ai','https://skills-daily.lovrabet.com','https://runtime.lovrabet.ai','812290AnOgpq','https://user.lovrabet.com','https://daily-runtime.lovrabet.com','cdn','7500urRlEY','https://dev.lovrabet.id','https://daily-api.lovrabet.id','14608930pDzmAj','https://app.lovrabet.id','https://user-daily.lovrabet.ai','https://g.alicdn.com','https://g.lovrabet.ai/cert/lovrabet-dev.json','https://g.lovrabet.id/cert/lovrabet-dev.json','https://api.lovrabet.id'];a224_0x4fc2=function(){return _0x142800;};return a224_0x4fc2();}export const OFFICIAL_ROUTING_PROFILES={'cn':{'label':'Mainland\x20China','serviceDomains':{'primary':{'user':a224_0x56f7e1(0xca),'api':a224_0x56f7e1(0xbf),'runtime':a224_0x56f7e1(0xbc),'skill':a224_0x56f7e1(0xc5),'kb':a224_0x56f7e1(0xbf),'app':a224_0x56f7e1(0xb1)},'preview':{'user':a224_0x56f7e1(0xd7),'api':a224_0x56f7e1(0xd8),'runtime':a224_0x56f7e1(0xcb),'skill':a224_0x56f7e1(0xc7),'kb':a224_0x56f7e1(0xd8),'app':a224_0x56f7e1(0xba)}},'assets':{'strategy':a224_0x56f7e1(0xcc),'origin':a224_0x56f7e1(0xd3)},'local':{'origin':a224_0x56f7e1(0xbb),'certificateUrl':a224_0x56f7e1(0xb3)}},'id':{'label':'Indonesia','serviceDomains':{'primary':{'user':a224_0x56f7e1(0xae),'api':'https://api.lovrabet.id','runtime':'https://runtime.lovrabet.id','skill':a224_0x56f7e1(0xac),'kb':a224_0x56f7e1(0xd6),'app':a224_0x56f7e1(0xd1)},'preview':{'user':a224_0x56f7e1(0xc2),'api':a224_0x56f7e1(0xcf),'runtime':a224_0x56f7e1(0xc3),'skill':a224_0x56f7e1(0xaf),'kb':'https://daily-api.lovrabet.id','app':a224_0x56f7e1(0xb0)}},'assets':{'strategy':'cdn','origin':a224_0x56f7e1(0xd3)},'local':{'origin':a224_0x56f7e1(0xce),'certificateUrl':a224_0x56f7e1(0xd5)}},'global':{'label':a224_0x56f7e1(0xc0),'serviceDomains':{'primary':{'user':a224_0x56f7e1(0xb7),'api':a224_0x56f7e1(0xb9),'runtime':a224_0x56f7e1(0xc8),'skill':'https://skills.lovrabet.ai','kb':a224_0x56f7e1(0xb9),'app':a224_0x56f7e1(0xbe)},'preview':{'user':a224_0x56f7e1(0xd2),'api':a224_0x56f7e1(0xc4),'runtime':a224_0x56f7e1(0xc1),'skill':a224_0x56f7e1(0xd9),'kb':a224_0x56f7e1(0xc4),'app':a224_0x56f7e1(0xab)}},'assets':{'strategy':'cdn','origin':'https://g.alicdn.com'},'local':{'origin':a224_0x56f7e1(0xc6),'certificateUrl':a224_0x56f7e1(0xd4)}}};export function getOfficialRoutingProfile(_0x5b42e0){return OFFICIAL_ROUTING_PROFILES[_0x5b42e0];}
1
+ const a224_0x251ad7=a224_0x3223;function a224_0x3223(_0x4ef491,_0xdb9467){_0x4ef491=_0x4ef491-0x1e9;const _0x5f131f=a224_0x5f13();let _0x322347=_0x5f131f[_0x4ef491];return _0x322347;}(function(_0xfd15,_0x370504){const _0x46e589=a224_0x3223,_0x56ffed=_0xfd15();while(!![]){try{const _0x6975bc=-parseInt(_0x46e589(0x206))/0x1+-parseInt(_0x46e589(0x20d))/0x2+parseInt(_0x46e589(0x1fd))/0x3+-parseInt(_0x46e589(0x1ef))/0x4+parseInt(_0x46e589(0x1f1))/0x5*(-parseInt(_0x46e589(0x20e))/0x6)+-parseInt(_0x46e589(0x1f2))/0x7*(parseInt(_0x46e589(0x202))/0x8)+parseInt(_0x46e589(0x1f7))/0x9;if(_0x6975bc===_0x370504)break;else _0x56ffed['push'](_0x56ffed['shift']());}catch(_0x557e2e){_0x56ffed['push'](_0x56ffed['shift']());}}}(a224_0x5f13,0x7dbed));export const OFFICIAL_ROUTING_PROFILES={'cn':{'label':'Mainland\x20China','serviceDomains':{'primary':{'user':a224_0x251ad7(0x1fa),'api':a224_0x251ad7(0x201),'runtime':'https://runtime.lovrabet.com','skill':'https://skills.lovrabet.com','kb':a224_0x251ad7(0x201),'app':'https://app.lovrabet.com'},'preview':{'user':'https://user-daily.lovrabet.com','api':a224_0x251ad7(0x1f0),'runtime':a224_0x251ad7(0x1ea),'skill':a224_0x251ad7(0x208),'kb':'https://daily-api.lovrabet.com','app':a224_0x251ad7(0x1f9)}},'assets':{'strategy':a224_0x251ad7(0x1ff),'origin':'https://g.alicdn.com'},'local':{'origin':a224_0x251ad7(0x1fb),'certificateUrl':a224_0x251ad7(0x203)}},'id':{'label':a224_0x251ad7(0x204),'serviceDomains':{'primary':{'user':'https://user.lovrabet.id','api':a224_0x251ad7(0x1f8),'runtime':a224_0x251ad7(0x1fc),'skill':a224_0x251ad7(0x1ed),'kb':a224_0x251ad7(0x1f8),'app':a224_0x251ad7(0x20b)},'preview':{'user':a224_0x251ad7(0x209),'api':a224_0x251ad7(0x1f3),'runtime':'https://daily-runtime.lovrabet.id','skill':a224_0x251ad7(0x1eb),'kb':a224_0x251ad7(0x1f3),'app':a224_0x251ad7(0x1f6)}},'assets':{'strategy':a224_0x251ad7(0x1ff),'origin':a224_0x251ad7(0x1f4)},'local':{'origin':a224_0x251ad7(0x1fe),'certificateUrl':a224_0x251ad7(0x205)}},'global':{'label':a224_0x251ad7(0x207),'serviceDomains':{'primary':{'user':'https://user.lovrabet.ai','api':a224_0x251ad7(0x20c),'runtime':a224_0x251ad7(0x20a),'skill':'https://skills.lovrabet.ai','kb':a224_0x251ad7(0x20c),'app':a224_0x251ad7(0x1e9)},'preview':{'user':'https://user-daily.lovrabet.ai','api':'https://daily-api.lovrabet.ai','runtime':a224_0x251ad7(0x200),'skill':a224_0x251ad7(0x1f5),'kb':a224_0x251ad7(0x20f),'app':a224_0x251ad7(0x1ee)}},'assets':{'strategy':a224_0x251ad7(0x1ff),'origin':a224_0x251ad7(0x1f4)},'local':{'origin':a224_0x251ad7(0x1ec),'certificateUrl':'https://g.lovrabet.ai/cert/lovrabet-dev.json'}}};function a224_0x5f13(){const _0x40bb82=['Global','https://skills-daily.lovrabet.com','https://user-daily.lovrabet.id','https://runtime.lovrabet.ai','https://app.lovrabet.id','https://api.lovrabet.ai','1208254zhimaR','6yBlxKe','https://daily-api.lovrabet.ai','https://app.lovrabet.ai','https://daily-runtime.lovrabet.com','https://skills-daily.lovrabet.id','https://dev.lovrabet.ai','https://skills.lovrabet.id','https://daily.lovrabet.ai','357260CGPBZG','https://daily-api.lovrabet.com','2085620nPZZAc','959fQKkZG','https://daily-api.lovrabet.id','https://g.alicdn.com','https://skills-daily.lovrabet.ai','https://daily.lovrabet.id','27536310VKSJAm','https://api.lovrabet.id','https://daily.lovrabet.com','https://user.lovrabet.com','https://dev.lovrabet.com','https://runtime.lovrabet.id','42999yWMLME','https://dev.lovrabet.id','cdn','https://daily-runtime.lovrabet.ai','https://api.lovrabet.com','52552OnJcJI','https://g.lovrabet.com/cert/lovrabet-dev.json','Indonesia','https://g.lovrabet.id/cert/lovrabet-dev.json','548351KONAsD'];a224_0x5f13=function(){return _0x40bb82;};return a224_0x5f13();}export function getOfficialRoutingProfile(_0x527d3e){return OFFICIAL_ROUTING_PROFILES[_0x527d3e];}
@@ -1 +1 @@
1
- (function(_0x543bbb,_0x53b1f7){const _0x9a3c5f=a225_0x17c5,_0x30313d=_0x543bbb();while(!![]){try{const _0x437431=-parseInt(_0x9a3c5f(0xbf))/0x1+-parseInt(_0x9a3c5f(0xc9))/0x2*(parseInt(_0x9a3c5f(0xd8))/0x3)+-parseInt(_0x9a3c5f(0xdd))/0x4+-parseInt(_0x9a3c5f(0xdb))/0x5+parseInt(_0x9a3c5f(0xca))/0x6*(-parseInt(_0x9a3c5f(0xd5))/0x7)+parseInt(_0x9a3c5f(0xbe))/0x8+parseInt(_0x9a3c5f(0xd6))/0x9;if(_0x437431===_0x53b1f7)break;else _0x30313d['push'](_0x30313d['shift']());}catch(_0x4cb85b){_0x30313d['push'](_0x30313d['shift']());}}}(a225_0x4e5d,0xd655a));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';function a225_0x4e5d(){const _0x271c1e=['find','read','length','format','locale','globalConfig','cookie','8231928bMFixL','1362688HdEkpR','COOKIE','VERBOSE','high-risk-write','string','keys','APP','production','trim','apps','4378tsATRD','6cATsZh','appcode','pageSize','accessKey','object','env','daily','RISK_LEVEL','projectConfig','apiDir','app','7745206KJVrvV','40866237nCPMCV','true','78nchBTq','entries','riskLevel','2827355WvtJmh','defaultApp','6400956KcOAJQ','projectPath'];a225_0x4e5d=function(){return _0x271c1e;};return a225_0x4e5d();}import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x3eb5e7){const _0x5c28b4=a225_0x17c5;return typeof _0x3eb5e7===_0x5c28b4(0xc3)&&_0x3eb5e7[_0x5c28b4(0xc7)]()?_0x3eb5e7[_0x5c28b4(0xc7)]():undefined;}function appProfiles(_0x56cbc8){const _0x52ca2a=a225_0x17c5;return _0x56cbc8['apps']&&typeof _0x56cbc8[_0x52ca2a(0xc8)]===_0x52ca2a(0xce)?_0x56cbc8[_0x52ca2a(0xc8)]:{};}function a225_0x17c5(_0x2ae5c6,_0x55c654){_0x2ae5c6=_0x2ae5c6-0xb9;const _0x4e5da5=a225_0x4e5d();let _0x17c52a=_0x4e5da5[_0x2ae5c6];return _0x17c52a;}function resolveDefaultAppName(_0xcf340b){const _0x4e868a=a225_0x17c5,_0x3d2680=stringConfigValue(_0xcf340b[_0x4e868a(0xdc)]);if(_0x3d2680)return _0x3d2680;const _0x358151=Object['keys'](appProfiles(_0xcf340b));return _0x358151[_0x4e868a(0xb9)]===0x1?_0x358151[0x0]:undefined;}function resolveTopLevelAppCode(_0x4e7b58){const _0x293f02=a225_0x17c5;return stringConfigValue(_0x4e7b58[_0x293f02(0xcb)])||stringConfigValue(_0x4e7b58[_0x293f02(0xd4)]);}function normalizeRiskCeiling(_0x14d2f9){const _0x20163e=a225_0x17c5;if(_0x14d2f9===undefined||_0x14d2f9===null)return undefined;if(_0x14d2f9===_0x20163e(0xe0)||_0x14d2f9==='write'||_0x14d2f9===_0x20163e(0xc2))return _0x14d2f9;return _0x20163e(0xe0);}function resolveRiskCeiling(..._0x26fcac){const _0x97c56c=a225_0x17c5;let _0x465c07;for(const _0x5e490b of _0x26fcac){const _0x238c78=normalizeRiskCeiling(_0x5e490b);_0x238c78&&(!_0x465c07||riskLevelOrder(_0x238c78)<riskLevelOrder(_0x465c07))&&(_0x465c07=_0x238c78);}return _0x465c07??DEFAULT_CONFIG_VALUES[_0x97c56c(0xda)];}export function resolveAppConfig({raw:_0x82c4e,flags:_0x46a58b,layers:_0x12f1da,readEnv:_0x337a3f}){const _0x2a5937=a225_0x17c5,_0x5dd129=_0x12f1da?.['projectConfig']??{},_0x2114f8=_0x12f1da?.['globalConfig']??{},_0x348214=!!_0x12f1da?.[_0x2a5937(0xde)]||Object[_0x2a5937(0xc4)](_0x5dd129)[_0x2a5937(0xb9)]>0x0,_0x5559c3=!_0x348214,_0x5923ed=_0x348214?resolveDefaultAppName(_0x5dd129):undefined,_0x49e9c2=_0x5559c3?resolveDefaultAppName(_0x2114f8):undefined,_0x48e83a=stringConfigValue(_0x46a58b[_0x2a5937(0xd4)]),_0x7d706=_0x337a3f(_0x2a5937(0xc5)),_0xcb32c7={};if(_0x82c4e[_0x2a5937(0xc8)]&&typeof _0x82c4e[_0x2a5937(0xc8)]===_0x2a5937(0xce))for(const [_0x173836,_0x4529b6]of Object['entries'](_0x82c4e[_0x2a5937(0xc8)])){_0x4529b6&&typeof _0x4529b6==='object'&&_0x4529b6['appcode']&&(_0xcb32c7[_0x173836]=_0x4529b6);}const _0x22a88d=_0x5923ed||_0x49e9c2||resolveDefaultAppName(_0x82c4e),_0x3068ac=Object['keys'](_0xcb32c7)[_0x2a5937(0xb9)]>0x0,_0x1e75f0=_0x48e83a||_0x5923ed||_0x7d706||_0x49e9c2||_0x22a88d||undefined,_0x20c141=stringConfigValue(_0x46a58b[_0x2a5937(0xcb)]),_0x5d2ba0=_0x20c141?Object[_0x2a5937(0xd9)](_0xcb32c7)[_0x2a5937(0xdf)](([,_0x3d7e28])=>_0x3d7e28?.[_0x2a5937(0xcb)]===_0x20c141):undefined,_0x536dbe=_0x5d2ba0?.[0x0],_0x4d6220=_0x5d2ba0?.[0x1],_0x2e8cbb=_0x20c141?_0x536dbe:_0x1e75f0;let _0x5e4466=_0x2e8cbb&&_0xcb32c7[_0x2e8cbb]?_0xcb32c7[_0x2e8cbb]:undefined;_0x20c141&&_0x4d6220&&(_0x5e4466=_0x4d6220);const _0x2dbd57=_0x20c141?_0x4d6220??_0x5e4466:_0x5e4466,_0xb819db=!_0x48e83a&&!_0x5923ed&&_0x7d706&&_0x2e8cbb===_0x7d706,_0x13c278=_0x48e83a||(_0xb819db?_0x7d706:undefined)||(_0x20c141?_0x536dbe:undefined),_0x284cd6=_0x2dbd57?.[_0x2a5937(0xcb)],_0x19c8ff=_0x348214?resolveTopLevelAppCode(_0x5dd129):undefined,_0x2e9773=_0x5559c3?resolveTopLevelAppCode(_0x2114f8):undefined,_0x155ccc=_0x48e83a||_0x5923ed?_0x284cd6:undefined,_0x52e5a5=!_0x48e83a&&!_0x5923ed?_0x284cd6:undefined,_0x4a2d22=_0x20c141||_0x155ccc||_0x19c8ff||_0x52e5a5||_0x2e9773||undefined,_0x470360=_0x348214?stringConfigValue(_0x5dd129[_0x2a5937(0xcf)]):undefined,_0x30bb25=_0x5559c3?stringConfigValue(_0x2114f8['env']):undefined,_0x1f5008=_0x46a58b[_0x2a5937(0xcf)]||_0x2dbd57?.[_0x2a5937(0xcf)]||_0x470360||_0x337a3f('ENV')||_0x30bb25||_0x82c4e[_0x2a5937(0xcf)]||DEFAULT_CONFIG_VALUES[_0x2a5937(0xcf)],_0x430454=_0x2dbd57?.[_0x2a5937(0xbb)]||_0x82c4e[_0x2a5937(0xbb)]||DEFAULT_CONFIG_VALUES[_0x2a5937(0xbb)],_0x7e6668=_0x337a3f(_0x2a5937(0xc0))||_0x2dbd57?.[_0x2a5937(0xbd)]||_0x82c4e[_0x2a5937(0xbd)]||undefined,_0x503ab5=_0x337a3f('ACCESS_KEY')||_0x2dbd57?.[_0x2a5937(0xcd)]||_0x82c4e[_0x2a5937(0xcd)]||undefined,_0x5ba79f=_0x46a58b['format']||_0x337a3f('FORMAT')||_0x2dbd57?.[_0x2a5937(0xba)]||_0x82c4e[_0x2a5937(0xba)],_0x536130=normalizeLegacyOutputFormat(_0x5ba79f),_0x26929e=_0x337a3f('PAGE_SIZE')||_0x2dbd57?.[_0x2a5937(0xcc)]||_0x82c4e[_0x2a5937(0xcc)],_0x577402=_0x26929e?Number(_0x26929e)||undefined:undefined,_0xfe20a=_0x12f1da?[_0x12f1da[_0x2a5937(0xbc)]['riskLevel'],_0x12f1da[_0x2a5937(0xd2)][_0x2a5937(0xda)]]:[_0x82c4e['riskLevel']],_0xd55456=resolveRiskCeiling(..._0xfe20a,_0x2dbd57?.[_0x2a5937(0xda)]),_0x44cfca=resolveRiskCeiling(_0xd55456,_0x337a3f(_0x2a5937(0xd1))),_0x9a75de=_0x337a3f(_0x2a5937(0xc1)),_0x497e05=_0x9a75de==='1'||_0x9a75de===_0x2a5937(0xd7),_0x3dcc4c=_0x2dbd57?.[_0x2a5937(0xd3)]||_0x82c4e['apiDir']||DEFAULT_CONFIG_VALUES[_0x2a5937(0xd3)],_0x14605a=isDaily(normalizeEnv(String(_0x1f5008)))?_0x2a5937(0xd0):_0x2a5937(0xc6);return{'appCode':typeof _0x4a2d22===_0x2a5937(0xc3)&&_0x4a2d22[_0x2a5937(0xc7)]()?_0x4a2d22['trim']():undefined,'env':_0x14605a,'locale':_0x430454,'cookie':_0x7e6668,'accessKey':_0x503ab5,'format':_0x536130,'pageSize':_0x577402,'riskLevel':_0x44cfca,'verbose':_0x497e05,'apiDir':_0x3dcc4c,'apps':_0xcb32c7,'defaultApp':_0x22a88d,'currentApp':_0x3068ac?_0x2e8cbb:undefined,'explicitAppName':_0x13c278};}
1
+ (function(_0x58aad7,_0x517b2f){const _0x531b50=a225_0x4e2c,_0x108249=_0x58aad7();while(!![]){try{const _0x498072=-parseInt(_0x531b50(0x1d3))/0x1*(-parseInt(_0x531b50(0x1cd))/0x2)+-parseInt(_0x531b50(0x1dd))/0x3*(parseInt(_0x531b50(0x1e3))/0x4)+-parseInt(_0x531b50(0x1d6))/0x5+-parseInt(_0x531b50(0x1e6))/0x6+-parseInt(_0x531b50(0x1c9))/0x7+parseInt(_0x531b50(0x1c8))/0x8*(parseInt(_0x531b50(0x1cf))/0x9)+parseInt(_0x531b50(0x1db))/0xa;if(_0x498072===_0x517b2f)break;else _0x108249['push'](_0x108249['shift']());}catch(_0x3f5323){_0x108249['push'](_0x108249['shift']());}}}(a225_0x5375,0xa5735));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x20fd26){const _0x3bdc18=a225_0x4e2c;return typeof _0x20fd26===_0x3bdc18(0x1e2)&&_0x20fd26[_0x3bdc18(0x1c7)]()?_0x20fd26[_0x3bdc18(0x1c7)]():undefined;}function appProfiles(_0x130357){const _0x40fc9b=a225_0x4e2c;return _0x130357[_0x40fc9b(0x1da)]&&typeof _0x130357[_0x40fc9b(0x1da)]==='object'?_0x130357[_0x40fc9b(0x1da)]:{};}function a225_0x4e2c(_0x2b508f,_0x4f412d){_0x2b508f=_0x2b508f-0x1c4;const _0x53757d=a225_0x5375();let _0x4e2c1d=_0x53757d[_0x2b508f];return _0x4e2c1d;}function resolveDefaultAppName(_0x4166e4){const _0x28b37f=a225_0x4e2c,_0x1062ed=stringConfigValue(_0x4166e4['defaultApp']);if(_0x1062ed)return _0x1062ed;const _0x3d8f39=Object[_0x28b37f(0x1dc)](appProfiles(_0x4166e4));return _0x3d8f39[_0x28b37f(0x1d0)]===0x1?_0x3d8f39[0x0]:undefined;}function resolveTopLevelAppCode(_0x28ab31){const _0x1bf5b3=a225_0x4e2c;return stringConfigValue(_0x28ab31[_0x1bf5b3(0x1d1)])||stringConfigValue(_0x28ab31[_0x1bf5b3(0x1df)]);}function normalizeRiskCeiling(_0x58208d){const _0x519765=a225_0x4e2c;if(_0x58208d===undefined||_0x58208d===null)return undefined;if(_0x58208d===_0x519765(0x1c4)||_0x58208d===_0x519765(0x1ce)||_0x58208d===_0x519765(0x1d5))return _0x58208d;return _0x519765(0x1c4);}function a225_0x5375(){const _0xa1686=['136216UUZhvi','6764429RnCAkg','env','cookie','true','1776UKuNnO','write','27ZHTQOA','length','appcode','accessKey','460TQzwKK','daily','high-risk-write','962525FtIdvG','projectConfig','production','globalConfig','apps','26520210gcquIe','keys','441dtBKLe','pageSize','app','VERBOSE','locale','string','34244qqiFVk','apiDir','object','99468TwAiun','format','read','riskLevel','entries','trim'];a225_0x5375=function(){return _0xa1686;};return a225_0x5375();}function resolveRiskCeiling(..._0x383f13){const _0x32bb3d=a225_0x4e2c;let _0xd6965;for(const _0x4a1836 of _0x383f13){const _0x14c138=normalizeRiskCeiling(_0x4a1836);_0x14c138&&(!_0xd6965||riskLevelOrder(_0x14c138)<riskLevelOrder(_0xd6965))&&(_0xd6965=_0x14c138);}return _0xd6965??DEFAULT_CONFIG_VALUES[_0x32bb3d(0x1c5)];}export function resolveAppConfig({raw:_0x246940,flags:_0x4dcb7f,layers:_0x354701,readEnv:_0x3741ad}){const _0x72bba8=a225_0x4e2c,_0x2bfe0c=_0x354701?.[_0x72bba8(0x1d7)]??{},_0x1c127b=_0x354701?.[_0x72bba8(0x1d9)]??{},_0x2e3791=!!_0x354701?.['projectPath']||Object[_0x72bba8(0x1dc)](_0x2bfe0c)[_0x72bba8(0x1d0)]>0x0,_0x482f0a=!_0x2e3791,_0x3579cc=_0x2e3791?resolveDefaultAppName(_0x2bfe0c):undefined,_0x2865c6=_0x482f0a?resolveDefaultAppName(_0x1c127b):undefined,_0x3b5f98=stringConfigValue(_0x4dcb7f['app']),_0x5417e4=_0x3741ad('APP'),_0x5a7fe3={};if(_0x246940[_0x72bba8(0x1da)]&&typeof _0x246940[_0x72bba8(0x1da)]===_0x72bba8(0x1e5))for(const [_0x20f67c,_0x4c8bd9]of Object[_0x72bba8(0x1c6)](_0x246940[_0x72bba8(0x1da)])){_0x4c8bd9&&typeof _0x4c8bd9===_0x72bba8(0x1e5)&&_0x4c8bd9[_0x72bba8(0x1d1)]&&(_0x5a7fe3[_0x20f67c]=_0x4c8bd9);}const _0x3d2967=_0x3579cc||_0x2865c6||resolveDefaultAppName(_0x246940),_0x26576b=Object[_0x72bba8(0x1dc)](_0x5a7fe3)[_0x72bba8(0x1d0)]>0x0,_0x454dd1=_0x3b5f98||_0x3579cc||_0x5417e4||_0x2865c6||_0x3d2967||undefined,_0x490942=stringConfigValue(_0x4dcb7f[_0x72bba8(0x1d1)]),_0xe55522=_0x490942?Object['entries'](_0x5a7fe3)['find'](([,_0x4288cb])=>_0x4288cb?.['appcode']===_0x490942):undefined,_0x2f6c00=_0xe55522?.[0x0],_0x55d2b2=_0xe55522?.[0x1],_0x16fd33=_0x490942?_0x2f6c00:_0x454dd1;let _0xc6d7d9=_0x16fd33&&_0x5a7fe3[_0x16fd33]?_0x5a7fe3[_0x16fd33]:undefined;_0x490942&&_0x55d2b2&&(_0xc6d7d9=_0x55d2b2);const _0x23fc80=_0x490942?_0x55d2b2??_0xc6d7d9:_0xc6d7d9,_0x369274=!_0x3b5f98&&!_0x3579cc&&_0x5417e4&&_0x16fd33===_0x5417e4,_0x21ea7e=_0x3b5f98||(_0x369274?_0x5417e4:undefined)||(_0x490942?_0x2f6c00:undefined),_0x2696a5=_0x23fc80?.[_0x72bba8(0x1d1)],_0x3f7d2d=_0x2e3791?resolveTopLevelAppCode(_0x2bfe0c):undefined,_0x3a7e7b=_0x482f0a?resolveTopLevelAppCode(_0x1c127b):undefined,_0x4cef0c=_0x3b5f98||_0x3579cc?_0x2696a5:undefined,_0x52b8c3=!_0x3b5f98&&!_0x3579cc?_0x2696a5:undefined,_0x1bfa5d=_0x490942||_0x4cef0c||_0x3f7d2d||_0x52b8c3||_0x3a7e7b||undefined,_0x539b0e=_0x2e3791?stringConfigValue(_0x2bfe0c['env']):undefined,_0x15d426=_0x482f0a?stringConfigValue(_0x1c127b['env']):undefined,_0x4e7223=_0x4dcb7f[_0x72bba8(0x1ca)]||_0x23fc80?.['env']||_0x539b0e||_0x3741ad('ENV')||_0x15d426||_0x246940[_0x72bba8(0x1ca)]||DEFAULT_CONFIG_VALUES[_0x72bba8(0x1ca)],_0x3b33c0=_0x23fc80?.[_0x72bba8(0x1e1)]||_0x246940[_0x72bba8(0x1e1)]||DEFAULT_CONFIG_VALUES[_0x72bba8(0x1e1)],_0xbe3998=_0x3741ad('COOKIE')||_0x23fc80?.[_0x72bba8(0x1cb)]||_0x246940['cookie']||undefined,_0x40faf1=_0x3741ad('ACCESS_KEY')||_0x23fc80?.[_0x72bba8(0x1d2)]||_0x246940[_0x72bba8(0x1d2)]||undefined,_0x3e3a81=_0x4dcb7f[_0x72bba8(0x1e7)]||_0x3741ad('FORMAT')||_0x23fc80?.[_0x72bba8(0x1e7)]||_0x246940['format'],_0x30be54=normalizeLegacyOutputFormat(_0x3e3a81),_0x3af8f2=_0x3741ad('PAGE_SIZE')||_0x23fc80?.[_0x72bba8(0x1de)]||_0x246940['pageSize'],_0x8da2d5=_0x3af8f2?Number(_0x3af8f2)||undefined:undefined,_0x288a72=_0x354701?[_0x354701[_0x72bba8(0x1d9)]['riskLevel'],_0x354701[_0x72bba8(0x1d7)][_0x72bba8(0x1c5)]]:[_0x246940[_0x72bba8(0x1c5)]],_0x2fc131=resolveRiskCeiling(..._0x288a72,_0x23fc80?.[_0x72bba8(0x1c5)]),_0x45ea1d=resolveRiskCeiling(_0x2fc131,_0x3741ad('RISK_LEVEL')),_0x2b0430=_0x3741ad(_0x72bba8(0x1e0)),_0x49cc5c=_0x2b0430==='1'||_0x2b0430===_0x72bba8(0x1cc),_0x504a47=_0x23fc80?.[_0x72bba8(0x1e4)]||_0x246940['apiDir']||DEFAULT_CONFIG_VALUES[_0x72bba8(0x1e4)],_0x4fd1d5=isDaily(normalizeEnv(String(_0x4e7223)))?_0x72bba8(0x1d4):_0x72bba8(0x1d8);return{'appCode':typeof _0x1bfa5d==='string'&&_0x1bfa5d[_0x72bba8(0x1c7)]()?_0x1bfa5d['trim']():undefined,'env':_0x4fd1d5,'locale':_0x3b33c0,'cookie':_0xbe3998,'accessKey':_0x40faf1,'format':_0x30be54,'pageSize':_0x8da2d5,'riskLevel':_0x45ea1d,'verbose':_0x49cc5c,'apiDir':_0x504a47,'apps':_0x5a7fe3,'defaultApp':_0x3d2967,'currentApp':_0x26576b?_0x16fd33:undefined,'explicitAppName':_0x21ea7e};}
@@ -1 +1 @@
1
- (function(_0x595a96,_0x413903){const _0x59ac59=a226_0x315c,_0x3bfbff=_0x595a96();while(!![]){try{const _0x44a979=parseInt(_0x59ac59(0x166))/0x1+-parseInt(_0x59ac59(0x15c))/0x2+parseInt(_0x59ac59(0x165))/0x3+-parseInt(_0x59ac59(0x15e))/0x4*(parseInt(_0x59ac59(0x164))/0x5)+-parseInt(_0x59ac59(0x15f))/0x6+parseInt(_0x59ac59(0x163))/0x7*(-parseInt(_0x59ac59(0x15d))/0x8)+-parseInt(_0x59ac59(0x160))/0x9*(-parseInt(_0x59ac59(0x167))/0xa);if(_0x44a979===_0x413903)break;else _0x3bfbff['push'](_0x3bfbff['shift']());}catch(_0x4d45fe){_0x3bfbff['push'](_0x3bfbff['shift']());}}}(a226_0x29b4,0xea534));function a226_0x315c(_0x4a34a9,_0x1ebece){_0x4a34a9=_0x4a34a9-0x15c;const _0x29b44b=a226_0x29b4();let _0x315cc3=_0x29b44b[_0x4a34a9];return _0x315cc3;}function a226_0x29b4(){const _0x43e00=['12741320BuVEAQ','1516432vjTRvY','2456472BdxjYF','118386oPjTSE','authRequired','../auth/get-cookie.js','7saIYET','15BTGUup','4953744PaoSQq','358295MecJPi','1960djVrPF','977060ORwxFH'];a226_0x29b4=function(){return _0x43e00;};return a226_0x29b4();}import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';export async function buildAuth(_0x51e906){const _0x5c23d0=a226_0x315c,{getCookie:_0x350d80}=await import(_0x5c23d0(0x162)),_0x37a93a=_0x51e906['cookie']||_0x350d80(),_0x448ebf=_0x37a93a?await getIsSessionValid():![];return{'cookie':_0x37a93a,'isLoggedIn':_0x448ebf,async 'getOrLogin'(){const _0x5e08fc=_0x5c23d0;if(_0x37a93a&&_0x448ebf)return _0x37a93a;throw CliErrors[_0x5e08fc(0x161)]();}};}
1
+ (function(_0x409b49,_0x54fd6a){const _0x2a7b36=a226_0x4d69,_0x36886b=_0x409b49();while(!![]){try{const _0x4f9c2e=-parseInt(_0x2a7b36(0xc4))/0x1*(parseInt(_0x2a7b36(0xbf))/0x2)+-parseInt(_0x2a7b36(0xc5))/0x3+-parseInt(_0x2a7b36(0xc6))/0x4*(parseInt(_0x2a7b36(0xc3))/0x5)+-parseInt(_0x2a7b36(0xbb))/0x6*(-parseInt(_0x2a7b36(0xb9))/0x7)+parseInt(_0x2a7b36(0xba))/0x8+-parseInt(_0x2a7b36(0xbd))/0x9*(parseInt(_0x2a7b36(0xbc))/0xa)+-parseInt(_0x2a7b36(0xc1))/0xb*(-parseInt(_0x2a7b36(0xc0))/0xc);if(_0x4f9c2e===_0x54fd6a)break;else _0x36886b['push'](_0x36886b['shift']());}catch(_0x2bcda6){_0x36886b['push'](_0x36886b['shift']());}}}(a226_0x32ea,0x42944));function a226_0x4d69(_0x34c167,_0x5ed29d){_0x34c167=_0x34c167-0xb9;const _0x32ea24=a226_0x32ea();let _0x4d699f=_0x32ea24[_0x34c167];return _0x4d699f;}import{getIsSessionValid}from'../auth/is-session-valid.js';function a226_0x32ea(){const _0x363e70=['404047KuyMkj','2722528SOmpXA','48XTOCYw','73380tiDmWw','657tZbfZh','authRequired','2136TiGUOP','5156388ZUJPqg','11NLOphi','cookie','5evRRRz','101KERFrP','750888bPTEpx','260948mwhgJv'];a226_0x32ea=function(){return _0x363e70;};return a226_0x32ea();}import{CliErrors}from'../errors.js';export async function buildAuth(_0x798748){const _0x1833b8=a226_0x4d69,{getCookie:_0x997f4d}=await import('../auth/get-cookie.js'),_0x46651f=_0x798748[_0x1833b8(0xc2)]||_0x997f4d(),_0x2257bd=_0x46651f?await getIsSessionValid():![];return{'cookie':_0x46651f,'isLoggedIn':_0x2257bd,async 'getOrLogin'(){const _0xb5d7c7=_0x1833b8;if(_0x46651f&&_0x2257bd)return _0x46651f;throw CliErrors[_0xb5d7c7(0xbe)]();}};}
@@ -1 +1 @@
1
- const a227_0x534e47=a227_0x3de5;(function(_0x3296a2,_0x533407){const _0x3f76d5=a227_0x3de5,_0x6c98b6=_0x3296a2();while(!![]){try{const _0x3e5e3a=-parseInt(_0x3f76d5(0x194))/0x1+-parseInt(_0x3f76d5(0x18b))/0x2*(parseInt(_0x3f76d5(0x18f))/0x3)+parseInt(_0x3f76d5(0x18d))/0x4+-parseInt(_0x3f76d5(0x176))/0x5+parseInt(_0x3f76d5(0x182))/0x6+-parseInt(_0x3f76d5(0x196))/0x7*(parseInt(_0x3f76d5(0x169))/0x8)+parseInt(_0x3f76d5(0x177))/0x9*(parseInt(_0x3f76d5(0x17c))/0xa);if(_0x3e5e3a===_0x533407)break;else _0x6c98b6['push'](_0x6c98b6['shift']());}catch(_0x5e5e9c){_0x6c98b6['push'](_0x6c98b6['shift']());}}}(a227_0x3551,0xa5d95));function a227_0x3de5(_0x5a5444,_0x463b1d){_0x5a5444=_0x5a5444-0x167;const _0x355150=a227_0x3551();let _0x3de50b=_0x355150[_0x5a5444];return _0x3de50b;}import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME=a227_0x534e47(0x184);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x3de59d){for(const _0x4d595b of CONFIG_NAMES){const _0x434ae7=resolve(_0x3de59d,_0x4d595b);if(existsSync(_0x434ae7))return _0x434ae7;}return undefined;}export function findProjectRootDirectory(_0x5b8aed=process['cwd']()){let _0x597bc1=resolve(_0x5b8aed);const {root:_0x3f27e1}=parse(_0x597bc1),_0xb1a043=homedir();while(!![]){if(resolveConfigPath(_0x597bc1)){if(_0x597bc1===_0xb1a043)break;return _0x597bc1;}if(_0x597bc1===_0x3f27e1||_0x597bc1===_0xb1a043)break;const _0xd061a5=dirname(_0x597bc1);if(_0xd061a5===_0x597bc1)break;_0x597bc1=_0xd061a5;}return resolve(_0x5b8aed);}export function getProjectConfigPath(){const _0x36cecb=a227_0x534e47;return resolveConfigPath(process[_0x36cecb(0x189)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x7d564a){const _0x267e3c=a227_0x534e47;if(!existsSync(_0x7d564a))return{'status':_0x267e3c(0x191)};try{const _0x4a51fc=readFileSync(_0x7d564a,{'encoding':'utf8'});if(!_0x4a51fc?.[_0x267e3c(0x16e)]())return{'status':_0x267e3c(0x17d)};const _0x157cbc=JSON['parse'](_0x4a51fc);return{'status':'ok','data':_0x157cbc};}catch(_0x165d0b){return{'status':'error','message':_0x165d0b instanceof Error?_0x165d0b['message']:String(_0x165d0b)};}}function parseCliConfigJsonFile(_0x4c709b,_0x1475df,_0xe8267b){const _0x1defba=a227_0x534e47,_0x33b489=inspectCliConfigJsonFile(_0x4c709b);if(_0x33b489[_0x1defba(0x18a)]==='missing'||_0x33b489[_0x1defba(0x18a)]===_0x1defba(0x17d))return{};if(_0x33b489['status']==='ok')return _0x33b489[_0x1defba(0x187)];return _0x1475df===_0x1defba(0x16a)&&_0xe8267b&&console[_0x1defba(0x188)](CLI_BIN_NAME+':\x20'+_0xe8267b+'\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20'+_0x4c709b+'\x0a\x20\x20'+_0x33b489['message']),{};}function normalizeLegacyConfigShape(_0x5ad7d0){const _0x596a77=a227_0x534e47;if(!_0x5ad7d0||typeof _0x5ad7d0!==_0x596a77(0x17a))return{'config':{},'migrated':![]};const _0x2405ad={..._0x5ad7d0},_0x3c35d2=_0x2405ad[_0x596a77(0x16d)]&&typeof _0x2405ad['apps']===_0x596a77(0x17a)?{..._0x2405ad[_0x596a77(0x16d)]}:{},_0xfafe54=Object[_0x596a77(0x17b)](_0x3c35d2)['length'],_0x35ac14=_0x2405ad['appcode']||_0x2405ad['app'];let _0x4fd92e=![];if(_0x35ac14&&_0xfafe54===0x0){const _0x3153d3=typeof _0x2405ad[_0x596a77(0x193)]===_0x596a77(0x199)&&_0x2405ad[_0x596a77(0x193)][_0x596a77(0x16e)]()?_0x2405ad[_0x596a77(0x193)]:String(_0x35ac14)['trim']();_0x3c35d2[_0x3153d3]={'appcode':String(_0x35ac14)[_0x596a77(0x16e)](),..._0x2405ad[_0x596a77(0x173)]!=null?{'env':_0x2405ad[_0x596a77(0x173)]}:{},..._0x2405ad['apiDir']!=null?{'apiDir':_0x2405ad['apiDir']}:{},..._0x2405ad[_0x596a77(0x183)]!=null?{'cookie':_0x2405ad[_0x596a77(0x183)]}:{},..._0x2405ad[_0x596a77(0x17e)]!=null?{'accessKey':_0x2405ad[_0x596a77(0x17e)]}:{},..._0x2405ad[_0x596a77(0x192)]!=null?{'format':_0x2405ad[_0x596a77(0x192)]}:{},..._0x2405ad['pageSize']!=null?{'pageSize':_0x2405ad['pageSize']}:{},..._0x2405ad[_0x596a77(0x190)]!=null?{'riskLevel':_0x2405ad[_0x596a77(0x190)]}:{},..._0x2405ad[_0x596a77(0x170)]!=null?{'locale':_0x2405ad['locale']}:{}},_0x2405ad[_0x596a77(0x16d)]=_0x3c35d2,delete _0x2405ad[_0x596a77(0x193)],_0x4fd92e=!![];}return(_0x596a77(0x180)in _0x2405ad||_0x596a77(0x167)in _0x2405ad)&&(delete _0x2405ad['appcode'],delete _0x2405ad[_0x596a77(0x167)],_0x4fd92e=!![]),{'config':_0x2405ad,'migrated':_0x4fd92e};}function writeNormalizedConfigIfNeeded(_0x58f502,_0x3e867a){const _0x4bd830=a227_0x534e47,_0x35bb53=JSON[_0x4bd830(0x16b)](_0x3e867a,null,0x2)+'\x0a';if(normalizedWriteCache['get'](_0x58f502)===_0x35bb53)return;writeConfigFile(_0x58f502,_0x3e867a),normalizedWriteCache[_0x4bd830(0x18c)](_0x58f502,_0x35bb53);}function parseAndNormalizeConfig(_0x1e4c35,_0x193b2e,_0x471752){const _0x1caa73=a227_0x534e47,_0x4cdba2=parseCliConfigJsonFile(_0x1e4c35,_0x193b2e,_0x471752),_0x2aaf8f=normalizeLegacyConfigShape(_0x4cdba2);if(_0x2aaf8f[_0x1caa73(0x19a)])try{writeNormalizedConfigIfNeeded(_0x1e4c35,_0x2aaf8f[_0x1caa73(0x168)]);}catch{}return _0x2aaf8f[_0x1caa73(0x168)];}export function loadRawConfigLayers(_0x591278){const _0x2abc43=a227_0x534e47;let _0x184459={},_0xfe213b={};const _0x23b70e=resolveConfigPath(homedir());_0x23b70e&&(_0x184459=parseAndNormalizeConfig(_0x23b70e,'warn',_0x2abc43(0x18e)));const _0x1ea58b=_0x591278??findProjectRootDirectory(),_0x37d4c2=resolveConfigPath(_0x1ea58b);return _0x37d4c2&&(_0xfe213b=parseAndNormalizeConfig(_0x37d4c2,'warn',_0x2abc43(0x171))),{'globalPath':_0x23b70e,'projectPath':_0x37d4c2,'globalConfig':_0x184459,'projectConfig':_0xfe213b};}const INHERIT_WHITELIST=[a227_0x534e47(0x183),'accessKey',a227_0x534e47(0x170),'format',a227_0x534e47(0x190),'pageSize',a227_0x534e47(0x16f),a227_0x534e47(0x178),a227_0x534e47(0x19b),'runtimeDomain',a227_0x534e47(0x195),a227_0x534e47(0x179),a227_0x534e47(0x197),a227_0x534e47(0x198),a227_0x534e47(0x174)];export function mergeRawConfigLayers(_0x10a7a7){const _0x4b031e=a227_0x534e47,{globalConfig:_0x3495c8,projectConfig:_0x43d33e}=_0x10a7a7,_0x49ea69=!!_0x10a7a7[_0x4b031e(0x185)]||Object['keys'](_0x43d33e)[_0x4b031e(0x186)]>0x0;if(!_0x49ea69)return mergeGlobalOnly(_0x3495c8);return mergeProjectFirst(_0x3495c8,_0x43d33e);}function mergeGlobalOnly(_0x13b55a){const _0x894c7a=a227_0x534e47,_0x47432={..._0x13b55a};delete _0x47432[_0x894c7a(0x175)];const _0x3cb1c3=_0x13b55a[_0x894c7a(0x16d)]&&typeof _0x13b55a[_0x894c7a(0x16d)]===_0x894c7a(0x17a)?_0x13b55a[_0x894c7a(0x16d)]:{};if(Object[_0x894c7a(0x17b)](_0x3cb1c3)[_0x894c7a(0x186)]>0x0)_0x47432[_0x894c7a(0x16d)]=_0x3cb1c3;if(_0x13b55a[_0x894c7a(0x193)])_0x47432[_0x894c7a(0x193)]=_0x13b55a[_0x894c7a(0x193)];return _0x47432;}function mergeProjectFirst(_0x3cd76e,_0x21cb8f){const _0x284fdb=a227_0x534e47,_0x44fffe={..._0x21cb8f};delete _0x44fffe['inherit'];for(const _0x371da1 of INHERIT_WHITELIST){!(_0x371da1 in _0x44fffe)&&_0x371da1 in _0x3cd76e&&(_0x44fffe[_0x371da1]=_0x3cd76e[_0x371da1]);}const _0x210c94=_0x21cb8f[_0x284fdb(0x16d)]&&typeof _0x21cb8f['apps']===_0x284fdb(0x17a)?_0x21cb8f[_0x284fdb(0x16d)]:{};return Object[_0x284fdb(0x17b)](_0x210c94)[_0x284fdb(0x186)]>0x0?_0x44fffe[_0x284fdb(0x16d)]=_0x210c94:delete _0x44fffe[_0x284fdb(0x16d)],'defaultApp'in _0x21cb8f?_0x44fffe[_0x284fdb(0x193)]=_0x21cb8f['defaultApp']:delete _0x44fffe[_0x284fdb(0x193)],_0x44fffe;}export function readRawConfigWithLayers(_0x29fe0d){const _0x5d4b52=loadRawConfigLayers(_0x29fe0d);return{'config':mergeRawConfigLayers(_0x5d4b52),'layers':_0x5d4b52};}export function readRawConfig(_0x19af53){return mergeRawConfigLayers(loadRawConfigLayers(_0x19af53));}export function readConfigFile(_0x1eeac1){const _0x3e9593=a227_0x534e47;return parseAndNormalizeConfig(_0x1eeac1,_0x3e9593(0x172));}export function writeConfigFile(_0x2303a9,_0xb0269e){const _0x5e71b2=a227_0x534e47,_0x1bfc9b=dirname(_0x2303a9);!existsSync(_0x1bfc9b)&&mkdirSync(_0x1bfc9b,{'recursive':!![]});const _0xb16f1=_0x2303a9+_0x5e71b2(0x16c);try{writeFileSync(_0xb16f1,JSON[_0x5e71b2(0x16b)](_0xb0269e,null,0x2)+'\x0a',{'encoding':_0x5e71b2(0x181),'mode':0x180}),renameSync(_0xb16f1,_0x2303a9);}catch(_0x26bc22){try{unlinkSync(_0xb16f1);}catch{}throw _0x26bc22;}}export function resolveWriteConfigPath(_0x2d56a2){const _0x3b1524=a227_0x534e47,_0x463ea1=_0x2d56a2===_0x3b1524(0x17f)?process['cwd']():homedir(),_0x5d6627=resolveConfigPath(_0x463ea1);return _0x5d6627??resolve(_0x463ea1,NEW_CONFIG_NAME);}function a227_0x3551(){const _0x45c59a=['set','4173168euLIkS','Global','2796MwxvhY','riskLevel','missing','format','defaultApp','863851waavgC','skillDomain','6665134sjvzAW','appDomain','localDomain','string','migrated','apiDomain','app','config','8Uszndb','warn','stringify','.tmp','apps','trim','region','locale','Project','silent','env','certificateDomain','inherit','309855ubeASF','1152306htDYOr','userDomain','kbDomain','object','keys','110aRDCRx','empty','accessKey','project','appcode','utf8','3692634DFZmwe','cookie','.rabetbase.json','projectPath','length','data','error','cwd','status','1094apdrGO'];a227_0x3551=function(){return _0x45c59a;};return a227_0x3551();}
1
+ const a227_0x43a38a=a227_0x4c6e;(function(_0x45db5,_0x55de86){const _0x11d21f=a227_0x4c6e,_0x167b75=_0x45db5();while(!![]){try{const _0x55c81c=parseInt(_0x11d21f(0x1dd))/0x1+parseInt(_0x11d21f(0x1e8))/0x2*(parseInt(_0x11d21f(0x1f2))/0x3)+parseInt(_0x11d21f(0x1c6))/0x4+parseInt(_0x11d21f(0x1d8))/0x5*(-parseInt(_0x11d21f(0x1e1))/0x6)+-parseInt(_0x11d21f(0x1db))/0x7*(parseInt(_0x11d21f(0x1ce))/0x8)+parseInt(_0x11d21f(0x1be))/0x9+-parseInt(_0x11d21f(0x1f0))/0xa*(-parseInt(_0x11d21f(0x1e7))/0xb);if(_0x55c81c===_0x55de86)break;else _0x167b75['push'](_0x167b75['shift']());}catch(_0x52b456){_0x167b75['push'](_0x167b75['shift']());}}}(a227_0x7104,0x5207d));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';import{homedir}from'node:os';function a227_0x7104(){const _0x36106f=['114hvzuMT','trim','missing','object','get','message','62007pYpAwD','2llJlIH','format','stringify','empty','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','pageSize','set','certificateDomain','110xRHBpo','warn','290277RJTVSV','apiDir','cwd','2839995YfdsrA','riskLevel','status','\x0a\x20\x20','inherit','length','string','utf8','1876996mXThBl','appcode','localDomain','runtimeDomain','silent','appDomain','locale','accessKey','8NCWkad','env','keys','error','region','projectPath','data','skillDomain','apps','app','164765ccluxn','cookie','defaultApp','528185bEHKfq','kbDomain','93989WbIRqi','userDomain','kbSearchDomain','Project'];a227_0x7104=function(){return _0x36106f;};return a227_0x7104();}import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME='.rabetbase.json';export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x518350){for(const _0x14b476 of CONFIG_NAMES){const _0x5989e9=resolve(_0x518350,_0x14b476);if(existsSync(_0x5989e9))return _0x5989e9;}return undefined;}export function findProjectRootDirectory(_0x573ff9=process[a227_0x43a38a(0x1f4)]()){let _0x43e013=resolve(_0x573ff9);const {root:_0x3884c3}=parse(_0x43e013),_0x584059=homedir();while(!![]){if(resolveConfigPath(_0x43e013)){if(_0x43e013===_0x584059)break;return _0x43e013;}if(_0x43e013===_0x3884c3||_0x43e013===_0x584059)break;const _0x26b56f=dirname(_0x43e013);if(_0x26b56f===_0x43e013)break;_0x43e013=_0x26b56f;}return resolve(_0x573ff9);}export function getProjectConfigPath(){const _0x743602=a227_0x43a38a;return resolveConfigPath(process[_0x743602(0x1f4)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x338e44){const _0x455ef1=a227_0x43a38a;if(!existsSync(_0x338e44))return{'status':'missing'};try{const _0x33ef79=readFileSync(_0x338e44,{'encoding':'utf8'});if(!_0x33ef79?.[_0x455ef1(0x1e2)]())return{'status':_0x455ef1(0x1eb)};const _0x43c38a=JSON['parse'](_0x33ef79);return{'status':'ok','data':_0x43c38a};}catch(_0x356fa3){return{'status':_0x455ef1(0x1d1),'message':_0x356fa3 instanceof Error?_0x356fa3[_0x455ef1(0x1e6)]:String(_0x356fa3)};}}function parseCliConfigJsonFile(_0x40c708,_0x214f8d,_0x1bac82){const _0xed66ab=a227_0x43a38a,_0x567283=inspectCliConfigJsonFile(_0x40c708);if(_0x567283[_0xed66ab(0x1c0)]===_0xed66ab(0x1e3)||_0x567283[_0xed66ab(0x1c0)]===_0xed66ab(0x1eb))return{};if(_0x567283[_0xed66ab(0x1c0)]==='ok')return _0x567283[_0xed66ab(0x1d4)];return _0x214f8d===_0xed66ab(0x1f1)&&_0x1bac82&&console[_0xed66ab(0x1d1)](CLI_BIN_NAME+':\x20'+_0x1bac82+_0xed66ab(0x1ec)+_0x40c708+_0xed66ab(0x1c1)+_0x567283['message']),{};}function normalizeLegacyConfigShape(_0x5c7996){const _0xd9faa4=a227_0x43a38a;if(!_0x5c7996||typeof _0x5c7996!==_0xd9faa4(0x1e4))return{'config':{},'migrated':![]};const _0x40a6b4={..._0x5c7996},_0x3b626f=_0x40a6b4[_0xd9faa4(0x1d6)]&&typeof _0x40a6b4[_0xd9faa4(0x1d6)]==='object'?{..._0x40a6b4[_0xd9faa4(0x1d6)]}:{},_0x385bf8=Object[_0xd9faa4(0x1d0)](_0x3b626f)[_0xd9faa4(0x1c3)],_0x497b23=_0x40a6b4[_0xd9faa4(0x1c7)]||_0x40a6b4[_0xd9faa4(0x1d7)];let _0x54f4b1=![];if(_0x497b23&&_0x385bf8===0x0){const _0xeacdba=typeof _0x40a6b4[_0xd9faa4(0x1da)]===_0xd9faa4(0x1c4)&&_0x40a6b4['defaultApp'][_0xd9faa4(0x1e2)]()?_0x40a6b4[_0xd9faa4(0x1da)]:String(_0x497b23)[_0xd9faa4(0x1e2)]();_0x3b626f[_0xeacdba]={'appcode':String(_0x497b23)[_0xd9faa4(0x1e2)](),..._0x40a6b4[_0xd9faa4(0x1cf)]!=null?{'env':_0x40a6b4[_0xd9faa4(0x1cf)]}:{},..._0x40a6b4[_0xd9faa4(0x1f3)]!=null?{'apiDir':_0x40a6b4[_0xd9faa4(0x1f3)]}:{},..._0x40a6b4[_0xd9faa4(0x1d9)]!=null?{'cookie':_0x40a6b4[_0xd9faa4(0x1d9)]}:{},..._0x40a6b4['accessKey']!=null?{'accessKey':_0x40a6b4[_0xd9faa4(0x1cd)]}:{},..._0x40a6b4[_0xd9faa4(0x1e9)]!=null?{'format':_0x40a6b4[_0xd9faa4(0x1e9)]}:{},..._0x40a6b4[_0xd9faa4(0x1ed)]!=null?{'pageSize':_0x40a6b4[_0xd9faa4(0x1ed)]}:{},..._0x40a6b4['riskLevel']!=null?{'riskLevel':_0x40a6b4['riskLevel']}:{},..._0x40a6b4[_0xd9faa4(0x1cc)]!=null?{'locale':_0x40a6b4['locale']}:{}},_0x40a6b4[_0xd9faa4(0x1d6)]=_0x3b626f,delete _0x40a6b4[_0xd9faa4(0x1da)],_0x54f4b1=!![];}return(_0xd9faa4(0x1c7)in _0x40a6b4||_0xd9faa4(0x1d7)in _0x40a6b4)&&(delete _0x40a6b4[_0xd9faa4(0x1c7)],delete _0x40a6b4[_0xd9faa4(0x1d7)],_0x54f4b1=!![]),{'config':_0x40a6b4,'migrated':_0x54f4b1};}function writeNormalizedConfigIfNeeded(_0x34b2b8,_0x525654){const _0xd710b1=a227_0x43a38a,_0x363d4e=JSON[_0xd710b1(0x1ea)](_0x525654,null,0x2)+'\x0a';if(normalizedWriteCache[_0xd710b1(0x1e5)](_0x34b2b8)===_0x363d4e)return;writeConfigFile(_0x34b2b8,_0x525654),normalizedWriteCache[_0xd710b1(0x1ee)](_0x34b2b8,_0x363d4e);}function parseAndNormalizeConfig(_0x536124,_0x150cc2,_0x12354e){const _0x5155d7=parseCliConfigJsonFile(_0x536124,_0x150cc2,_0x12354e),_0x3d5725=normalizeLegacyConfigShape(_0x5155d7);if(_0x3d5725['migrated'])try{writeNormalizedConfigIfNeeded(_0x536124,_0x3d5725['config']);}catch{}return _0x3d5725['config'];}export function loadRawConfigLayers(_0x43ab7f){const _0x4ecc4e=a227_0x43a38a;let _0x2259d4={},_0x61968f={};const _0x496315=resolveConfigPath(homedir());_0x496315&&(_0x2259d4=parseAndNormalizeConfig(_0x496315,'warn','Global'));const _0x11ed0d=_0x43ab7f??findProjectRootDirectory(),_0x29799d=resolveConfigPath(_0x11ed0d);return _0x29799d&&(_0x61968f=parseAndNormalizeConfig(_0x29799d,_0x4ecc4e(0x1f1),_0x4ecc4e(0x1e0))),{'globalPath':_0x496315,'projectPath':_0x29799d,'globalConfig':_0x2259d4,'projectConfig':_0x61968f};}const INHERIT_WHITELIST=[a227_0x43a38a(0x1d9),'accessKey',a227_0x43a38a(0x1cc),a227_0x43a38a(0x1e9),a227_0x43a38a(0x1bf),a227_0x43a38a(0x1ed),a227_0x43a38a(0x1d2),a227_0x43a38a(0x1de),'apiDomain',a227_0x43a38a(0x1c9),a227_0x43a38a(0x1d5),a227_0x43a38a(0x1dc),a227_0x43a38a(0x1df),a227_0x43a38a(0x1cb),a227_0x43a38a(0x1c8),a227_0x43a38a(0x1ef)];export function mergeRawConfigLayers(_0x55e57c){const _0x3c8bba=a227_0x43a38a,{globalConfig:_0x546910,projectConfig:_0x25d65e}=_0x55e57c,_0x1d94d6=!!_0x55e57c[_0x3c8bba(0x1d3)]||Object[_0x3c8bba(0x1d0)](_0x25d65e)['length']>0x0;if(!_0x1d94d6)return mergeGlobalOnly(_0x546910);return mergeProjectFirst(_0x546910,_0x25d65e);}function mergeGlobalOnly(_0x254e94){const _0x30f215=a227_0x43a38a,_0x1ed853={..._0x254e94};delete _0x1ed853[_0x30f215(0x1c2)];const _0x284d1e=_0x254e94['apps']&&typeof _0x254e94[_0x30f215(0x1d6)]===_0x30f215(0x1e4)?_0x254e94[_0x30f215(0x1d6)]:{};if(Object[_0x30f215(0x1d0)](_0x284d1e)[_0x30f215(0x1c3)]>0x0)_0x1ed853[_0x30f215(0x1d6)]=_0x284d1e;if(_0x254e94[_0x30f215(0x1da)])_0x1ed853[_0x30f215(0x1da)]=_0x254e94['defaultApp'];return _0x1ed853;}function mergeProjectFirst(_0x219d7e,_0x2df89f){const _0x139e4c=a227_0x43a38a,_0x850f88={..._0x2df89f};delete _0x850f88[_0x139e4c(0x1c2)];for(const _0x5f2468 of INHERIT_WHITELIST){!(_0x5f2468 in _0x850f88)&&_0x5f2468 in _0x219d7e&&(_0x850f88[_0x5f2468]=_0x219d7e[_0x5f2468]);}const _0x4252fe=_0x2df89f['apps']&&typeof _0x2df89f[_0x139e4c(0x1d6)]===_0x139e4c(0x1e4)?_0x2df89f[_0x139e4c(0x1d6)]:{};return Object['keys'](_0x4252fe)[_0x139e4c(0x1c3)]>0x0?_0x850f88[_0x139e4c(0x1d6)]=_0x4252fe:delete _0x850f88[_0x139e4c(0x1d6)],_0x139e4c(0x1da)in _0x2df89f?_0x850f88[_0x139e4c(0x1da)]=_0x2df89f[_0x139e4c(0x1da)]:delete _0x850f88['defaultApp'],_0x850f88;}export function readRawConfigWithLayers(_0x4e16d5){const _0x4c00a2=loadRawConfigLayers(_0x4e16d5);return{'config':mergeRawConfigLayers(_0x4c00a2),'layers':_0x4c00a2};}export function readRawConfig(_0xa4d6a9){return mergeRawConfigLayers(loadRawConfigLayers(_0xa4d6a9));}export function readConfigFile(_0x4d2312){const _0x4763b1=a227_0x43a38a;return parseAndNormalizeConfig(_0x4d2312,_0x4763b1(0x1ca));}function a227_0x4c6e(_0x25bc94,_0x2423ac){_0x25bc94=_0x25bc94-0x1be;const _0x7104d9=a227_0x7104();let _0x4c6e2c=_0x7104d9[_0x25bc94];return _0x4c6e2c;}export function writeConfigFile(_0xbab3d1,_0x2eeeed){const _0x1d269a=a227_0x43a38a,_0xb11819=dirname(_0xbab3d1);!existsSync(_0xb11819)&&mkdirSync(_0xb11819,{'recursive':!![]});const _0x5f5566=_0xbab3d1+'.tmp';try{writeFileSync(_0x5f5566,JSON[_0x1d269a(0x1ea)](_0x2eeeed,null,0x2)+'\x0a',{'encoding':_0x1d269a(0x1c5),'mode':0x180}),renameSync(_0x5f5566,_0xbab3d1);}catch(_0x4d64a4){try{unlinkSync(_0x5f5566);}catch{}throw _0x4d64a4;}}export function resolveWriteConfigPath(_0x41d6a6){const _0xc1607f=a227_0x43a38a,_0x339964=_0x41d6a6==='project'?process[_0xc1607f(0x1f4)]():homedir(),_0x5b4d6c=resolveConfigPath(_0x339964);return _0x5b4d6c??resolve(_0x339964,NEW_CONFIG_NAME);}
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a228_0x471789=a228_0x5bad;(function(_0x331b08,_0x4dbd9a){const _0x4a75a9=a228_0x5bad,_0x311cc3=_0x331b08();while(!![]){try{const _0x2f3a74=-parseInt(_0x4a75a9(0x7b))/0x1*(parseInt(_0x4a75a9(0x6f))/0x2)+-parseInt(_0x4a75a9(0x8c))/0x3+-parseInt(_0x4a75a9(0x8d))/0x4*(parseInt(_0x4a75a9(0x83))/0x5)+parseInt(_0x4a75a9(0x91))/0x6+parseInt(_0x4a75a9(0x6b))/0x7+-parseInt(_0x4a75a9(0x73))/0x8+parseInt(_0x4a75a9(0x7e))/0x9*(parseInt(_0x4a75a9(0x7d))/0xa);if(_0x2f3a74===_0x4dbd9a)break;else _0x311cc3['push'](_0x311cc3['shift']());}catch(_0xaeae7c){_0x311cc3['push'](_0x311cc3['shift']());}}}(a228_0x1af6,0x2af47));import{resolve}from'node:path';import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';function a228_0x5bad(_0x5f18c0,_0x29f1a3){_0x5f18c0=_0x5f18c0-0x65;const _0x1af62b=a228_0x1af6();let _0x5bad87=_0x1af62b[_0x5f18c0];return _0x5bad87;}import{normalizeLovrabetRegion}from'./constant/region.js';import{logger}from'./utils/logger.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0x2b8bea){return process.env[`RABETBASE_${_0x2b8bea}`]||process.env[`LOVRABET_${_0x2b8bea}`]||undefined;}function optionalString(_0x31c950){const _0xffee99=a228_0x5bad;return typeof _0x31c950===_0xffee99(0x90)&&_0x31c950[_0xffee99(0x86)]()?_0x31c950[_0xffee99(0x86)]():undefined;}function a228_0x1af6(){const _0x5ce82b=['setRawCommand','appDomain','skillDomain','apps','39855lsaHdJ','raw','cookie','trim','userDomain','join','platformDomain','keys','merged','131793PMLtBE','164ovxawY','apiDomain','env','string','1752222rsXZTV','project','kbDomain','object','skillHubDomain','cwd','appcode','globalConfig','1312003gNiQCf','projectConfig','./constant/env.js','certificateDomain','2FUQrJv','agentDomain','template_base_url','argv','2282480vYZGbz','length','apiDir','replace','./constant/domain.js','defaultApp','map','slice','283636QbdFDO','entries','50XgTGMe','1145097oBnhRb'];a228_0x1af6=function(){return _0x5ce82b;};return a228_0x1af6();}export async function createContext(_0x2d28b5){const _0x3904f0=a228_0x5bad,{config:_0x109cee,layers:_0x36c9bd}=readRawConfigWithLayers(),_0x1b03c8=buildConfig(_0x109cee,_0x2d28b5,_0x36c9bd);await initGlobalEnvironment(_0x1b03c8);const {getUserDomain:_0x6476a2,getApiDomain:_0x13ae9a}=await import('./constant/domain.js'),_0x44b3f6={'apiDomain':_0x13ae9a(),'userDomain':_0x6476a2()},_0x4b9f0c=await buildAuth(_0x1b03c8);logger['setLogPath'](process[_0x3904f0(0x68)]());const _0xd13511=(CLI_BIN_NAME+'\x20'+process[_0x3904f0(0x72)][_0x3904f0(0x7a)](0x2)[_0x3904f0(0x88)]('\x20'))[_0x3904f0(0x86)]();logger[_0x3904f0(0x7f)](_0xd13511);const {isNonInteractive:_0x1834b3}=await import('./utils/is-non-interactive.js'),_0x479abc=_0x1834b3(_0x2d28b5);return{'config':_0x1b03c8,'auth':_0x4b9f0c,'logger':logger,'env':_0x44b3f6,'nonInteractive':_0x479abc};}export function buildConfigFromFlags(_0x32364c){const {config:_0x101cfa,layers:_0x59d0b3}=readRawConfigWithLayers();return buildConfig(_0x101cfa,_0x32364c,_0x59d0b3);}export async function initGlobalEnvironment(_0x4c2c5a){const _0x5c6d99=a228_0x5bad,{initEnv:_0x4364bb}=await import(_0x5c6d99(0x6d));_0x4364bb(_0x4c2c5a['env']);const {initDomains:_0x24f0cb}=await import(_0x5c6d99(0x77));_0x24f0cb({'region':normalizeLovrabetRegion(_0x4c2c5a[_0x5c6d99(0x84)]?.['region']),'apiDomain':optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x8e)]),'userDomain':optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x87)]),'runtimeDomain':optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.['runtimeDomain']),'skillDomain':optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x81)])||optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x67)])||optionalString(_0x4c2c5a['raw']?.[_0x5c6d99(0x70)])||optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x89)]),'kbDomain':optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x65)])||optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x70)])||optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x89)]),'appDomain':optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.[_0x5c6d99(0x80)]),'localDomain':optionalString(_0x4c2c5a[_0x5c6d99(0x84)]?.['localDomain']),'certificateDomain':optionalString(_0x4c2c5a['raw']?.[_0x5c6d99(0x6e)])});}export function getConfigAppCode(_0x5d22c5){const _0x28fc6e=a228_0x5bad,_0x25fec3=readRawConfig(_0x5d22c5);if(_0x25fec3[_0x28fc6e(0x82)]&&typeof _0x25fec3['apps']==='object'){const _0x2c1112=_0x25fec3['defaultApp'];if(_0x2c1112)return _0x25fec3[_0x28fc6e(0x82)][_0x2c1112]?.[_0x28fc6e(0x69)]?String(_0x25fec3['apps'][_0x2c1112]['appcode'])[_0x28fc6e(0x86)]():undefined;const _0x833546=Object['values'](_0x25fec3[_0x28fc6e(0x82)]);if(_0x833546[_0x28fc6e(0x74)]===0x1&&_0x833546[0x0]?.['appcode'])return String(_0x833546[0x0][_0x28fc6e(0x69)])[_0x28fc6e(0x86)]();}const _0x123d69=_0x25fec3['appcode']||_0x25fec3['app'];if(typeof _0x123d69!==_0x28fc6e(0x90)||_0x123d69[_0x28fc6e(0x86)]()==='')return undefined;return _0x123d69[_0x28fc6e(0x86)]();}export function getMultiAppConfigs(_0x2f4072=a228_0x471789(0x92),_0x3a230c){const _0x4c1c52=a228_0x471789,_0x7e5125=loadRawConfigLayers(_0x3a230c);let _0x514167,_0x5e0f1e;if(_0x2f4072===_0x4c1c52(0x8b)){const _0x4a7362=_0x7e5125[_0x4c1c52(0x6a)][_0x4c1c52(0x82)]&&typeof _0x7e5125[_0x4c1c52(0x6a)][_0x4c1c52(0x82)]===_0x4c1c52(0x66)?_0x7e5125[_0x4c1c52(0x6a)][_0x4c1c52(0x82)]:{},_0x4ac96c=_0x7e5125[_0x4c1c52(0x6c)][_0x4c1c52(0x82)]&&typeof _0x7e5125['projectConfig'][_0x4c1c52(0x82)]===_0x4c1c52(0x66)?_0x7e5125[_0x4c1c52(0x6c)][_0x4c1c52(0x82)]:{};_0x514167={..._0x4a7362,..._0x4ac96c};const _0x1b46e3=readRawConfig(_0x3a230c);_0x5e0f1e=_0x1b46e3[_0x4c1c52(0x78)];}else _0x514167=_0x7e5125['projectConfig'][_0x4c1c52(0x82)],_0x5e0f1e=_0x7e5125[_0x4c1c52(0x6c)]['defaultApp'];!_0x5e0f1e&&_0x514167&&typeof _0x514167===_0x4c1c52(0x66)&&Object[_0x4c1c52(0x8a)](_0x514167)[_0x4c1c52(0x74)]===0x1&&(_0x5e0f1e=Object[_0x4c1c52(0x8a)](_0x514167)[0x0]);if(!_0x514167||typeof _0x514167!==_0x4c1c52(0x66)||Object[_0x4c1c52(0x8a)](_0x514167)[_0x4c1c52(0x74)]===0x0)return null;return Object['entries'](_0x514167)[_0x4c1c52(0x79)](([_0x213843,_0x437a60])=>({'name':_0x213843,'appcode':_0x437a60?.[_0x4c1c52(0x69)]||'','isDefault':_0x213843===_0x5e0f1e,'env':_0x437a60?.[_0x4c1c52(0x8f)],'apiDir':_0x437a60?.['apiDir'],'cookie':_0x437a60?.[_0x4c1c52(0x85)]||undefined}))['filter'](_0x414cd4=>_0x414cd4[_0x4c1c52(0x69)]);}export function getTemplateBaseUrl(_0x160c11){const _0x23d9f2=a228_0x471789,_0x2c0768=readRawConfig(_0x160c11);if(_0x2c0768[_0x23d9f2(0x71)]&&typeof _0x2c0768['template_base_url']==='string')return _0x2c0768['template_base_url'][_0x23d9f2(0x76)](/\/$/,'');return'https://g.lovrabet.com/dist/lovrabet-skill';}function buildConfig(_0x191abd,_0x54f965,_0x310b43){return{...resolveAppConfig({'raw':_0x191abd,'flags':_0x54f965,'layers':_0x310b43,'readEnv':env}),'raw':_0x191abd};}export function resolveApiFilePath(_0x3a902e,_0x27f6d6){const _0x44215c=a228_0x471789,_0x2663b2=resolve(process[_0x44215c(0x68)](),_0x3a902e),_0x3ff7ed=resolve(_0x2663b2,'api.ts');if(!_0x27f6d6)return _0x3ff7ed;const _0x1c37c6=readRawConfig(),_0x3c8dc7=_0x1c37c6[_0x44215c(0x82)]&&typeof _0x1c37c6[_0x44215c(0x82)]===_0x44215c(0x66)?_0x1c37c6[_0x44215c(0x82)]:{},_0x294630=Object[_0x44215c(0x7c)](_0x3c8dc7)['find'](([,_0x234378])=>_0x234378?.[_0x44215c(0x69)]===_0x27f6d6);if(!_0x294630)return _0x3ff7ed;const [_0x268702,_0x141333]=_0x294630,_0x10d16a=typeof _0x1c37c6[_0x44215c(0x78)]==='string'?_0x1c37c6[_0x44215c(0x78)]:undefined;if(_0x141333?.[_0x44215c(0x75)])return _0x3ff7ed;if(_0x10d16a&&_0x268702!==_0x10d16a)return resolve(_0x2663b2,_0x268702+'-api.ts');return _0x3ff7ed;}
1
+ const a228_0x43cce3=a228_0xbb8b;(function(_0x2c024e,_0x2ec505){const _0x4f3d6c=a228_0xbb8b,_0x19eb8a=_0x2c024e();while(!![]){try{const _0x495c60=parseInt(_0x4f3d6c(0x165))/0x1*(-parseInt(_0x4f3d6c(0x168))/0x2)+parseInt(_0x4f3d6c(0x155))/0x3*(parseInt(_0x4f3d6c(0x150))/0x4)+parseInt(_0x4f3d6c(0x161))/0x5+-parseInt(_0x4f3d6c(0x13f))/0x6*(-parseInt(_0x4f3d6c(0x13c))/0x7)+parseInt(_0x4f3d6c(0x154))/0x8+-parseInt(_0x4f3d6c(0x142))/0x9*(-parseInt(_0x4f3d6c(0x152))/0xa)+-parseInt(_0x4f3d6c(0x15b))/0xb;if(_0x495c60===_0x2ec505)break;else _0x19eb8a['push'](_0x19eb8a['shift']());}catch(_0x4540f4){_0x19eb8a['push'](_0x19eb8a['shift']());}}}(a228_0x5ab7,0x70546));import{resolve}from'node:path';import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';import{normalizeLovrabetRegion}from'./constant/region.js';import{logger}from'./utils/logger.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0x7a83f1){return process.env[`RABETBASE_${_0x7a83f1}`]||process.env[`LOVRABET_${_0x7a83f1}`]||undefined;}function a228_0xbb8b(_0x55532,_0x47b156){_0x55532=_0x55532-0x134;const _0x5ab70e=a228_0x5ab7();let _0xbb8b92=_0x5ab70e[_0x55532];return _0xbb8b92;}function optionalString(_0x43f2a2){const _0x229541=a228_0xbb8b;return typeof _0x43f2a2===_0x229541(0x14c)&&_0x43f2a2[_0x229541(0x13a)]()?_0x43f2a2[_0x229541(0x13a)]():undefined;}export async function createContext(_0x295ff9){const _0x479e71=a228_0xbb8b,{config:_0x3fcb29,layers:_0x1152ee}=readRawConfigWithLayers(),_0x470e72=buildConfig(_0x3fcb29,_0x295ff9,_0x1152ee);await initGlobalEnvironment(_0x470e72);const {getUserDomain:_0x545e9e,getApiDomain:_0x90a86e}=await import(_0x479e71(0x15e)),_0x36cc09={'apiDomain':_0x90a86e(),'userDomain':_0x545e9e()},_0x5682f1=await buildAuth(_0x470e72);logger[_0x479e71(0x14f)](process['cwd']());const _0x93fac1=(CLI_BIN_NAME+'\x20'+process['argv'][_0x479e71(0x134)](0x2)[_0x479e71(0x164)]('\x20'))[_0x479e71(0x13a)]();logger[_0x479e71(0x167)](_0x93fac1);const {isNonInteractive:_0x3bfd03}=await import('./utils/is-non-interactive.js'),_0x946ca6=_0x3bfd03(_0x295ff9);return{'config':_0x470e72,'auth':_0x5682f1,'logger':logger,'env':_0x36cc09,'nonInteractive':_0x946ca6};}export function buildConfigFromFlags(_0x91a3f){const {config:_0x297eea,layers:_0x4d4d9e}=readRawConfigWithLayers();return buildConfig(_0x297eea,_0x91a3f,_0x4d4d9e);}export async function initGlobalEnvironment(_0x42e94d){const _0x1dd932=a228_0xbb8b,{initEnv:_0x26c103}=await import(_0x1dd932(0x14e));_0x26c103(_0x42e94d[_0x1dd932(0x157)]);const {initDomains:_0xc9b3d1}=await import(_0x1dd932(0x15e));_0xc9b3d1({'region':normalizeLovrabetRegion(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x169)]),'apiDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x14a)]),'userDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x15c)]),'runtimeDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x159)]),'skillDomain':optionalString(_0x42e94d['raw']?.['skillDomain'])||optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x146)])||optionalString(_0x42e94d['raw']?.[_0x1dd932(0x158)])||optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x148)]),'kbDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.['kbDomain'])||optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x158)])||optionalString(_0x42e94d['raw']?.['platformDomain']),'kbSearchDomain':optionalString(_0x42e94d['raw']?.[_0x1dd932(0x144)]),'appDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x151)]),'localDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x160)]),'certificateDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x153)])});}export function getConfigAppCode(_0x59a7a1){const _0x129fa3=a228_0xbb8b,_0x1742f9=readRawConfig(_0x59a7a1);if(_0x1742f9[_0x129fa3(0x145)]&&typeof _0x1742f9['apps']===_0x129fa3(0x15d)){const _0x4448c4=_0x1742f9[_0x129fa3(0x13e)];if(_0x4448c4)return _0x1742f9[_0x129fa3(0x145)][_0x4448c4]?.[_0x129fa3(0x163)]?String(_0x1742f9['apps'][_0x4448c4][_0x129fa3(0x163)])['trim']():undefined;const _0x2f5f79=Object[_0x129fa3(0x15f)](_0x1742f9[_0x129fa3(0x145)]);if(_0x2f5f79[_0x129fa3(0x137)]===0x1&&_0x2f5f79[0x0]?.[_0x129fa3(0x163)])return String(_0x2f5f79[0x0]['appcode'])[_0x129fa3(0x13a)]();}const _0x99d7a4=_0x1742f9[_0x129fa3(0x163)]||_0x1742f9[_0x129fa3(0x156)];if(typeof _0x99d7a4!=='string'||_0x99d7a4[_0x129fa3(0x13a)]()==='')return undefined;return _0x99d7a4[_0x129fa3(0x13a)]();}export function getMultiAppConfigs(_0x24f819=a228_0x43cce3(0x162),_0x85c75e){const _0x2ad20a=a228_0x43cce3,_0xe6eafb=loadRawConfigLayers(_0x85c75e);let _0x4dca78,_0x126861;if(_0x24f819==='merged'){const _0x5680d8=_0xe6eafb['globalConfig'][_0x2ad20a(0x145)]&&typeof _0xe6eafb['globalConfig'][_0x2ad20a(0x145)]===_0x2ad20a(0x15d)?_0xe6eafb[_0x2ad20a(0x136)][_0x2ad20a(0x145)]:{},_0x52b2a4=_0xe6eafb[_0x2ad20a(0x149)][_0x2ad20a(0x145)]&&typeof _0xe6eafb[_0x2ad20a(0x149)][_0x2ad20a(0x145)]==='object'?_0xe6eafb['projectConfig'][_0x2ad20a(0x145)]:{};_0x4dca78={..._0x5680d8,..._0x52b2a4};const _0x1d208f=readRawConfig(_0x85c75e);_0x126861=_0x1d208f[_0x2ad20a(0x13e)];}else _0x4dca78=_0xe6eafb[_0x2ad20a(0x149)][_0x2ad20a(0x145)],_0x126861=_0xe6eafb[_0x2ad20a(0x149)]['defaultApp'];!_0x126861&&_0x4dca78&&typeof _0x4dca78===_0x2ad20a(0x15d)&&Object['keys'](_0x4dca78)['length']===0x1&&(_0x126861=Object['keys'](_0x4dca78)[0x0]);if(!_0x4dca78||typeof _0x4dca78!==_0x2ad20a(0x15d)||Object[_0x2ad20a(0x13b)](_0x4dca78)['length']===0x0)return null;return Object[_0x2ad20a(0x139)](_0x4dca78)['map'](([_0x9f5f4f,_0x18fa94])=>({'name':_0x9f5f4f,'appcode':_0x18fa94?.['appcode']||'','isDefault':_0x9f5f4f===_0x126861,'env':_0x18fa94?.[_0x2ad20a(0x157)],'apiDir':_0x18fa94?.[_0x2ad20a(0x13d)],'cookie':_0x18fa94?.[_0x2ad20a(0x143)]||undefined}))[_0x2ad20a(0x135)](_0xab69c0=>_0xab69c0[_0x2ad20a(0x163)]);}function a228_0x5ab7(){const _0x569126=['app','env','agentDomain','runtimeDomain','-api.ts','4485162wYMfLR','userDomain','object','./constant/domain.js','values','localDomain','728845uVKmdv','project','appcode','join','807541hVMOci','raw','setRawCommand','2XQAzeh','region','slice','filter','globalConfig','length','replace','entries','trim','keys','2364187igneYg','apiDir','defaultApp','6Ztnahy','template_base_url','find','9SnkcoV','cookie','kbSearchDomain','apps','skillHubDomain','api.ts','platformDomain','projectConfig','apiDomain','cwd','string','https://g.lovrabet.com/dist/lovrabet-skill','./constant/env.js','setLogPath','788WVcHsR','appDomain','2759870INYrnB','certificateDomain','6072608LWSUSx','2388vEiWNA'];a228_0x5ab7=function(){return _0x569126;};return a228_0x5ab7();}export function getTemplateBaseUrl(_0x519a57){const _0x5ef20f=a228_0x43cce3,_0x251326=readRawConfig(_0x519a57);if(_0x251326[_0x5ef20f(0x140)]&&typeof _0x251326[_0x5ef20f(0x140)]==='string')return _0x251326['template_base_url'][_0x5ef20f(0x138)](/\/$/,'');return _0x5ef20f(0x14d);}function buildConfig(_0x30e506,_0x8e79e4,_0x5d4a97){return{...resolveAppConfig({'raw':_0x30e506,'flags':_0x8e79e4,'layers':_0x5d4a97,'readEnv':env}),'raw':_0x30e506};}export function resolveApiFilePath(_0x4463f9,_0x8cf050){const _0x35e4fc=a228_0x43cce3,_0x994c90=resolve(process[_0x35e4fc(0x14b)](),_0x4463f9),_0x35e38c=resolve(_0x994c90,_0x35e4fc(0x147));if(!_0x8cf050)return _0x35e38c;const _0x3e0ce5=readRawConfig(),_0x5e786b=_0x3e0ce5[_0x35e4fc(0x145)]&&typeof _0x3e0ce5[_0x35e4fc(0x145)]==='object'?_0x3e0ce5[_0x35e4fc(0x145)]:{},_0x2e2b72=Object['entries'](_0x5e786b)[_0x35e4fc(0x141)](([,_0x363a5e])=>_0x363a5e?.[_0x35e4fc(0x163)]===_0x8cf050);if(!_0x2e2b72)return _0x35e38c;const [_0x4f2a5c,_0x2f0017]=_0x2e2b72,_0x52683e=typeof _0x3e0ce5[_0x35e4fc(0x13e)]===_0x35e4fc(0x14c)?_0x3e0ce5[_0x35e4fc(0x13e)]:undefined;if(_0x2f0017?.['apiDir'])return _0x35e38c;if(_0x52683e&&_0x4f2a5c!==_0x52683e)return resolve(_0x994c90,_0x4f2a5c+_0x35e4fc(0x15a));return _0x35e38c;}
@@ -1 +1 @@
1
- (function(_0x43acce,_0x335b59){const _0x4bf2f8=a229_0x2f10,_0x580e76=_0x43acce();while(!![]){try{const _0x46d611=parseInt(_0x4bf2f8(0x139))/0x1*(-parseInt(_0x4bf2f8(0x144))/0x2)+parseInt(_0x4bf2f8(0x13d))/0x3*(parseInt(_0x4bf2f8(0x138))/0x4)+parseInt(_0x4bf2f8(0x13b))/0x5+-parseInt(_0x4bf2f8(0x141))/0x6+parseInt(_0x4bf2f8(0x148))/0x7*(-parseInt(_0x4bf2f8(0x143))/0x8)+parseInt(_0x4bf2f8(0x13f))/0x9*(parseInt(_0x4bf2f8(0x14a))/0xa)+parseInt(_0x4bf2f8(0x149))/0xb;if(_0x46d611===_0x335b59)break;else _0x580e76['push'](_0x580e76['shift']());}catch(_0x39ae62){_0x580e76['push'](_0x580e76['shift']());}}}(a229_0x10e7,0xa62bb));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';const cache=new Map();function a229_0x10e7(){const _0x280960=['exec','api.ts','23988UJKmqT','1305owPILA','get','5542115OxNTIX','push','3GdeIzL','datasetCode','470115XCzsPc','has','5426532dEPXDg','alias','264SNXILS','700xhequD','cwd','set','find','141883xJyGoF','4343449cClwtJ','230oFlXMc'];a229_0x10e7=function(){return _0x280960;};return a229_0x10e7();}function parseApiFile(_0x1b95dc){const _0x107012=a229_0x2f10,_0x3fe99e=[],_0x55270f=/\{\s*datasetCode:\s*"([^"]+)"\s*,\s*tableName:\s*"([^"]+)"\s*,\s*name:\s*"([^"]*?)"\s*,\s*alias:\s*"([^"]+)"\s*,?\s*\}/g;let _0x572284;while((_0x572284=_0x55270f[_0x107012(0x14b)](_0x1b95dc))!==null){_0x3fe99e[_0x107012(0x13c)]({'datasetCode':_0x572284[0x1],'tableName':_0x572284[0x2],'name':_0x572284[0x3],'alias':_0x572284[0x4]});}return _0x3fe99e;}function a229_0x2f10(_0x379bb1,_0x4d1ce7){_0x379bb1=_0x379bb1-0x137;const _0x10e73a=a229_0x10e7();let _0x2f10f2=_0x10e73a[_0x379bb1];return _0x2f10f2;}export function loadAliasMap(_0x483872,_0x269fe9,_0x51333e){const _0x4a996a=a229_0x2f10,_0x3cda9=_0x51333e??resolve(process[_0x4a996a(0x145)](),_0x483872,_0x4a996a(0x137));if(cache[_0x4a996a(0x140)](_0x3cda9))return cache[_0x4a996a(0x13a)](_0x3cda9);if(!existsSync(_0x3cda9))return cache[_0x4a996a(0x146)](_0x3cda9,[]),[];try{const _0x1fea3f=readFileSync(_0x3cda9,'utf-8'),_0x5080ef=parseApiFile(_0x1fea3f);return cache[_0x4a996a(0x146)](_0x3cda9,_0x5080ef),_0x5080ef;}catch{return cache[_0x4a996a(0x146)](_0x3cda9,[]),[];}}export function resolveAlias(_0x8985a1,_0x5dc7cc,_0x480ddd,_0x56a65a){const _0xf1a115=a229_0x2f10;if(!_0x5dc7cc)return undefined;const _0x5557fa=loadAliasMap(_0x8985a1,_0x480ddd,_0x56a65a),_0x1c4e63=_0x5557fa[_0xf1a115(0x147)](_0xbb9e0e=>_0xbb9e0e[_0xf1a115(0x142)]===_0x5dc7cc);return _0x1c4e63?.[_0xf1a115(0x13e)];}export function listAliases(_0x5d9acf,_0x43c521,_0x22ef2b){return loadAliasMap(_0x5d9acf,_0x43c521,_0x22ef2b);}
1
+ (function(_0x58ab18,_0x2cde06){const _0x198971=a229_0x234b,_0xe7fd71=_0x58ab18();while(!![]){try{const _0x3dee8c=-parseInt(_0x198971(0x87))/0x1*(-parseInt(_0x198971(0x80))/0x2)+-parseInt(_0x198971(0x7d))/0x3+-parseInt(_0x198971(0x7e))/0x4+parseInt(_0x198971(0x7b))/0x5+-parseInt(_0x198971(0x84))/0x6+parseInt(_0x198971(0x85))/0x7+parseInt(_0x198971(0x7f))/0x8;if(_0x3dee8c===_0x2cde06)break;else _0xe7fd71['push'](_0xe7fd71['shift']());}catch(_0x4bbe99){_0xe7fd71['push'](_0xe7fd71['shift']());}}}(a229_0x8b9c,0xec27e));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';function a229_0x8b9c(){const _0x125c56=['6401605eeGWfj','datasetCode','21211FMJqSk','exec','has','push','alias','6011855wkkRDG','api.ts','2974311rRUeUw','6513188TFyeCF','4248240zmvlcd','134hOqTVU','get','set','cwd','2892150bzmZQT'];a229_0x8b9c=function(){return _0x125c56;};return a229_0x8b9c();}const cache=new Map();function a229_0x234b(_0x4de6c8,_0x3eea93){_0x4de6c8=_0x4de6c8-0x7b;const _0x8b9c27=a229_0x8b9c();let _0x234b86=_0x8b9c27[_0x4de6c8];return _0x234b86;}function parseApiFile(_0x27caf5){const _0xb2c001=a229_0x234b,_0x558dc8=[],_0x50b847=/\{\s*datasetCode:\s*"([^"]+)"\s*,\s*tableName:\s*"([^"]+)"\s*,\s*name:\s*"([^"]*?)"\s*,\s*alias:\s*"([^"]+)"\s*,?\s*\}/g;let _0x358337;while((_0x358337=_0x50b847[_0xb2c001(0x88)](_0x27caf5))!==null){_0x558dc8[_0xb2c001(0x8a)]({'datasetCode':_0x358337[0x1],'tableName':_0x358337[0x2],'name':_0x358337[0x3],'alias':_0x358337[0x4]});}return _0x558dc8;}export function loadAliasMap(_0x3358a1,_0x250993,_0x29aa5d){const _0x10fbc1=a229_0x234b,_0x5d7516=_0x29aa5d??resolve(process[_0x10fbc1(0x83)](),_0x3358a1,_0x10fbc1(0x7c));if(cache[_0x10fbc1(0x89)](_0x5d7516))return cache[_0x10fbc1(0x81)](_0x5d7516);if(!existsSync(_0x5d7516))return cache['set'](_0x5d7516,[]),[];try{const _0x28c79f=readFileSync(_0x5d7516,'utf-8'),_0x573d2d=parseApiFile(_0x28c79f);return cache[_0x10fbc1(0x82)](_0x5d7516,_0x573d2d),_0x573d2d;}catch{return cache[_0x10fbc1(0x82)](_0x5d7516,[]),[];}}export function resolveAlias(_0x356158,_0x152857,_0x18fdf4,_0xbae97b){const _0x23e3a5=a229_0x234b;if(!_0x152857)return undefined;const _0x3db7b7=loadAliasMap(_0x356158,_0x18fdf4,_0xbae97b),_0xef7208=_0x3db7b7['find'](_0x35b44d=>_0x35b44d[_0x23e3a5(0x8b)]===_0x152857);return _0xef7208?.[_0x23e3a5(0x86)];}export function listAliases(_0x592215,_0x2ca18e,_0x1a89f3){return loadAliasMap(_0x592215,_0x2ca18e,_0x1a89f3);}
@@ -110,22 +110,6 @@ export declare function updateEnterpriseKnowledgeBase(cookie: string, input: {
110
110
  content?: string;
111
111
  }): Promise<KnowledgeBaseRecord>;
112
112
  export declare function deleteEnterpriseKnowledgeBase(cookie: string, id: number): Promise<void>;
113
- export type CompanyPublicKnowledgeScope = "COMPANY" | "PUBLIC";
114
- export interface CompanyPublicKnowledgeSearchHit {
115
- scope: CompanyPublicKnowledgeScope;
116
- title: string | null;
117
- docId: string | null;
118
- score: number;
119
- weightedScore: number;
120
- content: string | null;
121
- jsonPath: string | null;
122
- jsonData: string | null;
123
- }
124
- export declare function searchCompanyPublicKnowledge(cookie: string, input: {
125
- query: string;
126
- appCode: string;
127
- topK?: number;
128
- }): Promise<CompanyPublicKnowledgeSearchHit[]>;
129
113
  /**
130
114
  * 获取研发态数据集模型列表。
131
115
  */